/* Programs Carousel Styles */
.ys-programs-carousel-wrapper {
	position: relative;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;
	/* Space for navigation arrows */
}

.ys-programs-carousel {
	overflow: hidden;
}

.ys-programs-carousel:not(.swiper-initialized) .swiper-wrapper {
	display: flex;
	flex-wrap: nowrap;
	gap: 30px;
	overflow: hidden;
}

.ys-programs-carousel:not(.swiper-initialized) .swiper-slide {
	height: auto;
	box-sizing: border-box;
	flex-shrink: 0;
	width: calc(33.333% - 20px);
	/* Strict 3 column default with gap compensation */
}

@media (max-width: 1024px) {
	.ys-programs-carousel:not(.swiper-initialized) .swiper-slide {
		width: calc(50% - 15px);
	}
}

@media (max-width: 768px) {
	.ys-programs-carousel:not(.swiper-initialized) .swiper-slide {
		width: 100%;
	}
}

.ys-program-card {
	background: #f4f3f0;
	border-radius: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
	text-decoration: none !important;
	transition: transform 0.3s ease;
}

.ys-program-card:hover {
	transform: translateY(-5px);
}

.ys-program-image {
	width: 100%;
	height: 220px;
	/* Reduced fixed height for image to match aspect ratio */
	object-fit: cover;
	display: block;
}

.ys-program-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
	background-color: #e5e5e0;
	/* Match the gray bottom strip from design */
}

.ys-program-title {
	font-size: 1.2rem;
	font-weight: 600;
	color: #333;
	margin: 0;
	font-family: 'Fira Sans', sans-serif;
	/* Explicitly use Fira Sans */
}

.ys-program-btn {
	background-color: #ffd15c;
	/* Yellow button */
	color: #333;
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	display: inline-block;
	transition: background-color 0.2s;
}

.ys-program-btn:hover {
	background-color: #ffc433;
}

/* Pagination Number */
.ys-carousel-pagination {
	text-align: center;
	margin-top: 20px;
	color: #fff;
	font-size: 1rem;
	font-weight: 400;
}

/* Navigation Arrows */
.ys-swiper-button-prev,
.ys-swiper-button-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	background: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	z-index: 10;
	color: #333;
	font-size: 1.2rem;
}

.ys-swiper-button-prev {
	left: 0;
}

.ys-swiper-button-next {
	right: 0;
}

.ys-swiper-button-prev.swiper-button-disabled,
.ys-swiper-button-next.swiper-button-disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.ys-swiper-button-prev.swiper-button-lock,
.ys-swiper-button-next.swiper-button-lock {
	display: none !important;
}

.ys-swiper-button-prev svg,
.ys-swiper-button-next svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

/* Program Benefits Section (Single Page) */
.ys-benefits-section {
	padding: 40px 0;
	text-align: center;
}

.ys-benefits-title {
	font-size: 2rem;
	font-weight: 600;
	color: #333;
	margin-bottom: 15px;
	font-family: 'Fira Sans', sans-serif;
}

.ys-program-hero-btn {
	background-color: #f7a600;
	color: #fff !important;
	padding: 12px 30px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.1rem;
	display: inline-block;
	transition: all 0.3s ease;
}

.ys-program-hero-btn:hover {
	background-color: #26459c !important;
	color: #fff !important;
}

.ys-benefits-divider {
	margin-bottom: 40px;
}

/* Ensure swiper wrapper flex default */
.ys-articles-carousel .swiper-wrapper {
	display: flex;
	flex-wrap: nowrap;
}

.ys-articles-carousel .swiper-slide {
	flex-shrink: 0;
	box-sizing: border-box;
}

@media (max-width: 768px) {
	.ys-benefits-grid {
		grid-template-columns: 1fr;
	}
}

.ys-benefits-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
	max-width: 1000px;
	margin: 0 auto;
}

.ys-benefit-item {
	flex: 1 1 250px;
	max-width: 300px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.ys-benefit-icon {
	width: 80px;
	height: 80px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ys-benefit-icon img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.ys-benefit-text {
	font-size: 1rem;
	color: #555;
	line-height: 1.5;
	margin: 0;
}