/* News * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */




.slider-dots {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 20px 0;
	padding: 0;
	list-style: none;
	gap: 10px;
	position: absolute;
	left: 0;
	z-index: 500;
	margin-left: 22px;
}

.dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: #ddd;
	cursor: pointer;
	transition: all 0.3s ease;
	border: none;
	padding: 0;
	margin: 0;
}

.dot:hover {
	background-color: #bbb;
	transform: scale(1.1);
}

.dot.active {
	background-color: #fff;
	transform: scale(1.2);
	box-shadow: 0 0 4px rgba(74, 144, 226, 0.5);
}

/* For Webkit browsers (Chrome, Safari) */
div::-webkit-scrollbar {
	width: 5px;
	/* width of the scrollbar */
}

div::-webkit-scrollbar-track {
	background: #888;
	/* color of the track */
}

div::-webkit-scrollbar-thumb {
	background: #1a3a7a;
	/* color of the scroll thumb */
	border-radius: 5px;
	/* roundedness of the scroll thumb */
}

div::-webkit-scrollbar-thumb:hover {
	background: #555;
	/* color of the scroll thumb on hover */
}

.ads-container {
	padding: 30px 0;
}

.ads-slider {
	margin: 0 -15px;
}

.ad-b {
	background-color: transparent ;
	color: white;
}


.ad-b:hover{

	background-color: #ffffff;
    color: #1b58a5 !important;
	border:none;
}

.content-sec {
	padding: 2rem 1rem !important;
}

.container-new {
	max-width: 1500px;
	margin: 0 auto;
	padding: 0 15px;
}

.events-container {
	padding: 30px 0;
}

.events-slider {
	margin: 0 -15px;
}

.slick-list {
	padding: 15px 10px !important;
}

.event-card {
	display: block;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
	background-color: white;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	height: 100%;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	margin: 15px;
}

.event-card:hover {
	text-decoration: none;
	transform: translateY(-5px);
	box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.event-image {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.event-info {
	position: relative;
	height: calc(100% - 200px);
	display: flex;
	flex-direction: column;
}

.event-title {
	font-size: 1.2rem;
	font-weight: bold;
	color: #333;
	margin-bottom: 15px;
	line-height: 1.4;
	height: 85px;
	padding: 15px;
	overflow: hidden;
}

.event-meta {
	color: #666;
	font-size: 0.9rem;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
}

.event-meta i {
	width: 40px;
	padding: 8px;
	font-size: 18px;
	text-align: center;
	margin-left: 5px;
	color: #fff;
	border-radius: 10px 0px 0px 10px;
	background-color: #1a5bb5;
}

.event-tag {
	display: inline-block;
	background-color: #1a5bb5;
	color: white;
	padding: 5px 15px;
	border-radius: 0px 10px 10px 0px;
	font-size: 0.8rem;
	margin-top: auto;
	align-self: flex-end;
	margin-bottom: 20px;
}

/* Slick slider custom styles */
.slick-prev,
.slick-next {
	z-index: 1;
	width: 40px;
	height: 40px;
}

.slick-prev {
	left: 10px;
}

.slick-next {
	right: 10px;
}

.slick-prev:before,
.slick-next:before {
	font-size: 30px;
}

.slick-dots {
	bottom: -40px;
}

.slick-dots li button:before {
	font-size: 12px;
}

/* Maintain card height */
.slick-track {
	display: flex !important;
}

.slick-slide {
	height: auto !important;
	align-items: center !important;
}

.slick-slide>div {
	height: 100%;
}



@media (max-width: 992px) {
	.event-title {
		min-height: auto;
	}
}


.news {
	padding: 0.2rem 1rem;
	height: 15vh;
	background: #e7f5f6;
	display: flex;
	align-items: center;
	border: 2px solid #cce7e9;
}

.news .content {
	position: relative;
}

.news .buttons {
	position: absolute;
	top: 1.9rem;
	left: 1.9rem;
}

.news a {
	color: #000;
	display: block;
}

.icon-and-text span {
	color: #2a56a7;
}

.events-button {

	text-align: center;
	display: block;
	margin: 0 auto;
	outline: 2px solid white;
	margin-top: 100px;
	max-width: 200px;
	border: none;
	color: white;
	background-color: #2a56a7;
	outline-offset: -5px;
	padding: 12px 22px;
	text-decoration: none !important;
	position: relative;
	z-index: 1000;
}


.events-button:hover {
background: transparent;
color:#2a56a7 !important;
border:1px solid #2a56a7;
}

.title .allnews {
	border: 0;
	background: #9cd9e2;
	color: #2a56a7 !important;
	font-size: 1rem;
	cursor: pointer;
	border: 1px solid #2a56a7;
	border-radius: 25px;
	margin-top: 10px;
}

.allnews:hover {
	color: #fff !important;
}

.news .icon-and-text {
	display: flex;
	align-items: center;
	gap: 1px;
}

@media (min-width: 768px) {
	.news a {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}


.news-header-icon {
	width: 40px;
	height: 40px;
	background-color: #2a56a7;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: 10px;
	background-image: url('../assets/design/icon-mivzakim.svg');
	background-size: 60%;
	background-repeat: no-repeat;
	background-position: center;
}


.news .title {

	color: #fff;
	font-size: 1.2rem;
	font-weight: bold;
	min-width: 200px;
	top: 0;
	right: 0;
	padding: .219rem .75rem;
	margin: 0;
	border-radius: 2rem;
	z-index: 5;
}

.news .title a {
	color: inherit;
}

@media (max-width: 991px) {
	.news .title {
		display: none;
	}
}

@media (min-width: 992px) {
	.bn-news {
		padding-right: 100px;
	}
}

.bn-news ul li a {
	font-size: 1.2rem;
	line-height: 1.2rem;
	padding: .36rem 0;
	color: inherit;
	display: inline-grid;
	max-width: 300px;
	vertical-align: middle;
}

.bn-news ul li a span {
	width: 300px;
	white-space: wrap;
	line-height: 20px;
	max-height: 32px;
}


.breaking-news-ticker {
	height: 100px !important;
}


.bn-news ul li a:hover {
	color: #000;
}

.bn-controls {
	align-content: center;
	align-self: center;
	background-color: #2a56a7;
	height: 30px;
	border-radius: 5px;

}

.bn-controls button {

	background: transparent !important;
	border: 0 !important;


}

.bn-controls button span {
	color: white !important;


}

.bn-effect-scroll .bn-news ul li {
	padding: 8px 3rem;
	border-left: #9cd9e2 2px solid;
}

.news .date {
	font-weight: normal;
	font-size: small;
	color: rgb(105, 104, 104);
}

.news .date:after {
	/* content: ' | '; */
	margin: 0 10px;
}

.news-toggle {
	width: 26px;
	height: 26px;
	border: 1px solid #fff;
	border-radius: 50%;
	background: #111;
	color: #fff;
	background: none;
	font-size: 14px;
}

.bn-controls {
	left: 0;
	right: auto;
}

.bn-pause {
	margin-bottom: 12px;
}

.bn-controls button {
	border: 0;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #111;
	color: #fff;
	padding: 0;
	margin-right: 5px;
	/* display: none; */
}

.bn-arrow {
	top: -15px;
}

.bn-pause::before,
.bn-pause::after {
	background-color: #fff;
}

.bn-play::after {
	border-left-color: #fff;
}

.bn-controls button:hover {
	background-color: #111;
	color: #fff;
	box-shadow: 0 0 5px rgb(255 255 0 / 90%);
}



/* YouTube Embed Link Styles */
.youtube-embed-link {
    display: block;
    width: 100%;
    height: 200px; /* Adjust based on your needs */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    position: relative;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.youtube-embed-link:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Dark overlay for better play button visibility */
.youtube-embed-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease;
}

.youtube-embed-link:hover::before {
    background: rgba(0, 0, 0, 0.4);
}

/* Play Button */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s ease;
    z-index: 1;
}

.play-button:hover {
    background: rgba(255, 0, 0, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button svg {
    width: 24px;
    height: 24px;
    margin-left: 3px; /* Slight offset to center the triangle visually */
}

/* Video Item Container */
.video-item {
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .youtube-embed-link {
        height: 180px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-button svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .youtube-embed-link {
        height: 160px;
    }
    
    .play-button {
        width: 45px;
        height: 45px;
    }
    
    .play-button svg {
        width: 18px;
        height: 18px;
    }
}
/**/



.slick-prev, .slick-next {
       font-family: 'FontAwesome';
    background: #3facbf;
    border-radius: 50%;
}
.slick-prev:before, .slick-next:before {
    font-family: 'FontAwesome';
	font-size: 18px;
	color: #fff;
	opacity: 1;
}

.slick-prev:hover, .slick-prev:focus, .slick-next:hover, .slick-next:focus {
    color: transparent;
    outline: none;
    background: #2c95a7;
}



@media (max-width: 991px) {
	.video-section {
		margin: 0 -15px;
	}
	.footer {
		width: 100%;
	}
}