@import "../../../../themes/recast2025/style.css";

/* Featured Resource Widget */
.featured-resource {
	width: 100%;
	padding: var(--margins-base-vert, 100px) var(--margins-base-hori, 100px);
	background: var(--neutrals-grey-1, #e1e9f9);
}

.featured-resource__container {
	max-width: var(--global-maxwidth-maxwidth-l, 1600px);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--gap-base, 56px);
	align-items: center;
}

/* Left Column: Image */
.featured-resource__image-column {
	display: flex;
	justify-content: center;
	align-items: center;
}

.featured-resource__image {
	width: 100%;
}

.featured-resource__image img {
	width: 100%;
	display: block;
	aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* Right Column: Content */
.featured-resource__content-column {
	display: flex;
	flex-direction: column;
	gap: var(--gap-l, 32px);
}

/* Top Label */
.featured-resource__top-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px;
	background: var(--neutrals-black, #161f5b);
	color: var(--neutrals-white, #ffffff);
	width: fit-content;
}

.featured-resource__top-label-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
}

.featured-resource__top-label-icon svg,
.featured-resource__top-label-icon i {
	width: 18px;
	height: 19px;
	color: var(--neutrals-white, #ffffff);
}

.featured-resource__top-label-text {
	color: var(--neutrals-white);
	line-height: 100%;
}
.featured-resource__top-label-text a {
	color: var(--neutrals-white);
}

.featured-resource__inner-content {
	display: flex;
	flex-direction: column;
	gap: var(--gap-s, 16px);
}

/* Title */
.featured-resource__title {
	margin: 0;
	color: var(--neutrals-black, #161f5b);
	font-size: var(--size-heading-m, 40px);
	letter-spacing: calc(var(--size-heading-m, 40px) * 0.03);
}

/* Description */
.featured-resource__description {
	color: var(--neutrals-black, #161f5b);
	margin: 0;
	font-weight: 300;
	line-height: 100%;
}

/* CTA Button */
.featured-resource__cta a {
	display: inline-block;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.featured-resource__container {
		grid-template-columns: 1fr;
	}

	.featured-resource__cta a {
		display: block;
		text-align: center;
	}

	.featured-resources-slider .swiper-pagination {
		left: 80px !important;
	}
}

@media (max-width: 600px) {
	.featured-resources-slider .swiper-pagination {
		left: 60px !important;
	}
}

.featured-resources-slider {
	position: relative;
	width: 100%;
}

.featured-resources-slider .swiper-pagination {
	position: absolute !important;
    bottom: 0px !important;
    left: 50%;
    top: inherit;
}

/* swiper bullets */
.featured-resources-slider span.swiper-pagination-bullet {
    border-radius: 0;
    height: 4px !important;
    width: 4px !important;
    background: var(--neutrals-black) !important;
    opacity: 1;
}
.featured-resources-slider span.swiper-pagination-bullet-active {
  background: var(--primary-recast-blue) !important;
  height: 12px !important;
  width: 12px !important;
  position: relative;
  top: 4px;
}
