.experiences-slideshow-container {
	display: flex;
	margin: 0 auto;
	max-width: none;
	max-height: 640px;
}

@media (max-width: 1400px) {
    .experiences-slideshow-container {
		max-height: none;
	}
}

.featured-main {
	flex: 2;
	position: relative;
	width: 100%;
	min-width: 0; /* Added to prevent flex overflow */
}

.featured-main:hover{
	opacity: 0.9;
	transition: all 0.3s ease;
	cursor: pointer;
}

.featured-main:before {
	content: "";
	display: block;
	padding-top: 56.25%; /* 16:9 aspect ratio */
}

.featured-slide {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.featured-slide.active {
	display: block;
}

.featured-slide-link {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
	color: inherit;
	position: relative;
}

.featured-slide-link:hover {
	color: inherit;
}

.featured-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}

.featured-content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 0 2rem 1.25rem 2rem;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
	color: white;
	z-index: 1;
}

.featured-pager {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 1rem; /* gap between individual pager slides */
	min-width: 300px;
	max-width: 500px;
	padding: 0 1rem; /* added padding inside pager section */
	background-color: transparent; /* transparent background */
}

.pager-slide {
	display: flex;
	background: white;
	cursor: pointer;
	border: 2px solid #e0e0e0;
	transition: all 0.3s ease;
	align-items: center;
	position: relative;
	height: 140px; /* Set fixed height for all pager slides */
	/* height: 100%; */
}

.pager-slide:hover {
	background: #f5f5f5;
}

.pager-slide.active {
	border-color: #ff0000;
	background: #fff5f5;
}

.pager-image {
	position: relative;
	width: 140px;
	flex: 0 0 140px;
	height: 100%; /* Just add a fixed height here */
}

@media (max-width: 1300px) {
	.pager-image {
		width: 120px;
		flex: 0 0 120px;
	}
}

.pager-image:before {
	content: "";
	display: block;
	padding-top: 100%;
}

.pager-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}

.pager-content {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 1rem;
}

.featured-aplus-icon{
	width: 34px;
	margin:0 0 0 10px;
	vertical-align: middle !important;
}

.featured-type {
	background: #ed2024;
	padding: 0.35em 1.25em;
	text-transform: uppercase;
	font-family: 'brandon-grotesque';
	font-weight: bold;
	letter-spacing: 1px;
	margin: 0 0 0.5rem 0;
	display:inline-block;
}

.featured-title {
	font-size: 2rem;
	margin-bottom: 0rem;
	color: white;
}

.featured-excerpt {
	font-size: 1.1rem;
}

.featured-link {
	display: inline-block;
	padding: 0.5rem 1rem;
	background-color: #ff0000;
	color: white !important;
	text-decoration: none;
	transition: background-color 0.3s ease;
}

.featured-link:hover {
	background-color: #cc0000;
}

.pager-type {
	font-size:0.85em;
	line-height:1.5em;
	text-transform: uppercase;
	font-family: 'brandon-grotesque';
	font-weight: bold;
	letter-spacing: 1px;
	color:#ed2024;
}

.pager-title {
	font-size: 1.2rem;
	margin-bottom: 0.15rem;
}

.pager-excerpt {
	font-size: 0.9rem;
	color: #292929;
	line-height: 22px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2; /* Limit to 2 lines */
	-webkit-box-orient: vertical;
}

.slideshow-controls {
	position: absolute;
	bottom: 20px;
	right: 20px;
	z-index: 2;
}

.control-button {
	background: rgba(0, 0, 0, 0.6);
	border: none;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.3s ease;
}

.control-button:hover {
	background: rgba(0, 0, 0, 0.8);
}

.control-button .dashicons {
	color: white;
	width: 24px;
	height: 24px;
	font-size: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.featured-image-container {
	position: relative;
	width: 100%;
	height: 100%;
}

.aplus-icon {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 40px;
	height: auto;
	z-index: 1;
}

.pager-aplus-icon {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 20px;
	height: auto;
	z-index: 1;
}

/* Media query for mobile */
@media (max-width: 1200px) {
    .experiences-slideshow-container {
		flex-direction: column;
	}

	.featured-main:before {
		padding-top: 75%; /* 4:3 aspect ratio on mobile */
	}

	.featured-main {
		min-height: 400px;
	}

	.featured-pager {
		max-width: none;
		padding: 1rem 0; /* added padding inside pager section */
	}

	.featured-title {
		font-size: 1.5rem;
	}

	.featured-excerpt {
		font-size: 1rem;
	}

	.pager-title {
		font-size: 1rem;
	}

	.pager-slide {
		min-height: 120px; /* Set minimum height for the slide */
		height: 120px;
	}

	.pager-image {
		width: 120px; /* Slightly wider than before */
		flex: 0 0 120px;
	}

	.pager-content {
		overflow: hidden; /* Prevent content from expanding */
		min-width: 0; /* Allow content to shrink */
	}

	.pager-excerpt {
		font-size: 0.8rem;
		overflow: hidden;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2; /* Keep consistent on mobile */
	}
}

@media (max-width: 400px) {
	.pager-image {
		width: 100px; /* Slightly wider than before */
		flex: 0 0 100px;
	}
}