/**
 * Homepage Hero Section Styles
 * 
 * @package Bootscore Child
 * @version 6.0.0
 */

/* ===========================
   Homepage Hero Container - CSS Grid Layout
   =========================== */
.homepage-hero {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin: 0 0 2rem 0;
}

/* Tablets (lg breakpoint): 2 columns with most popular wrapping below */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .homepage-hero {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .hero-most-popular {
        grid-column: 1 / -1; /* Span both columns */
		padding: 1rem 0 !important;
    }
    
    /* Make secondary posts fill their container */
    .hero-latest-secondary .hero-post-secondary {
        min-height: 190px;
    }
    
    .hero-latest-secondary .hero-post-thumbnail {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .hero-latest-secondary .hero-post-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Mobile: Stack all sections vertically */
@media (max-width: 991.98px) {
    .homepage-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ===========================
   Primary Latest Post
   =========================== */
.hero-latest-primary .hero-post-primary {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.hero-latest-primary .hero-post-link {
    display: block;
    position: relative;
    height: 100%;
    text-decoration: none;
    overflow: hidden;
}

.hero-latest-primary .hero-post-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-latest-primary .hero-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-latest-primary .hero-post-link:hover .hero-post-image {
    transform: scale(1.05);
}

.hero-latest-primary .hero-post-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
    padding: 2rem 1.5rem 1.5rem;
    z-index: 2;
}

.hero-latest-primary .hero-post-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-latest-primary .hero-post-category {
    font-size: 0.875rem;
    font-weight: 300;
    text-transform: uppercase;
    color: #fff;
}

.hero-latest-primary .hero-post-title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    font-family: "Source Sans Pro", sans-serif;
    color: #fff;
}

.hero-latest-primary .hero-post-meta {
    display: flex;
    align-items: center;
}

.hero-latest-primary .author-byline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: #fff;
}

.hero-latest-primary .author-name {
    font-weight: 300;
}

/* Mobile adjustments for primary */
@media (max-width: 991.98px) {
    .hero-latest-primary .hero-post-primary {
        min-height: 300px;
    }
    
    .hero-latest-primary .hero-post-title {
        font-size: 1.5rem;
    }
}

/* ===========================
   Secondary Latest Posts
   =========================== */
.hero-latest-secondary {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-latest-secondary .hero-post-secondary {
    position: relative;
    height: 100%;
    min-height: 190px;
    flex: 1;
}

.hero-latest-secondary .hero-post-link {
    display: block;
    position: relative;
    height: 100%;
    text-decoration: none;
    overflow: hidden;
}

.hero-latest-secondary .hero-post-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-latest-secondary .hero-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-latest-secondary .hero-post-link:hover .hero-post-image {
    transform: scale(1.05);
}

.hero-latest-secondary .hero-post-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
    padding: 1.5rem 1rem 1rem;
    z-index: 2;
}

.hero-latest-secondary .hero-post-content {
    display: flex;
    flex-direction: column;
}

.hero-latest-secondary .hero-post-title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    font-family: "Source Sans Pro", sans-serif;
    color: #fff;
}

/* Mobile adjustments for secondary */
@media (max-width: 991.98px) {
    .hero-latest-secondary .hero-post-secondary {
        min-height: 250px;
    }
    
    .hero-latest-secondary .hero-post-title {
        font-size: 1.25rem;
    }
}

/* ===========================
   Most Popular Posts
   =========================== */
.hero-most-popular {
    padding: 1rem;
}

.hero-most-popular .popular-heading {
    margin: 0 0 1rem;
    font-size: 2rem;
    font-weight: 700;
    text-transform: capitalize;
    color: #141c36;
}

.hero-most-popular .popular-posts-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.hero-most-popular .popular-post-item {
    margin-bottom: 2rem;
    line-height: 1.5;
	position: relative;
}

.hero-most-popular .popular-post-item:not(:last-child):after {
	content: "";
	background-image: repeating-linear-gradient(to right, rgba(20, 28, 54, 0.5), rgba(20, 28, 54, 0.5) 2px, transparent 2px, transparent 10px);
	background-size: 10px 100%;
	background-repeat: repeat-x;
	height: 2px;
	position: absolute;
	bottom: -1rem;
	left: 0;
	width: 100%;
}

.hero-most-popular .popular-post-item:last-child {
    margin-bottom: 0;
}

.hero-most-popular .popular-post-item a {
    text-decoration: none;
    color: #141c36;
	font-size: 1.25rem;
}

.hero-most-popular .no-popular-posts {
    margin: 0;
    color: #6c757d;
    font-style: italic;
}

@media (min-width: 768px) and (max-width: 991.98px) {
	.hero-latest-secondary {
		flex-direction: row;
	}

	.hero-latest-secondary .hero-post-thumbnail {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.hero-most-popular {
		padding: 0;
	}
}

/* Tablets (below lg breakpoint but above mobile) */
@media (max-width: 991.98px) {
    /* Ensure overlays are disabled on tablets/mobile */
    .hero-latest-primary .hero-post-primary,
    .hero-latest-secondary .hero-post-secondary {
        position: static;
    }
    
    .hero-latest-primary .hero-post-content,
    .hero-latest-secondary .hero-post-content {
        position: static;
        width: 100%;
        padding: 0;
        background-color: transparent;
        box-shadow: none;
    }
    
    .hero-latest-primary .hero-post-thumbnail {
        margin-bottom: 1rem;
    }
}

/* Mobile devices */
@media (max-width: 767.98px) {
    .hero-latest-primary .hero-post-title {
        font-size: 1.25rem;
    }
    
    .hero-latest-secondary .hero-post-secondary {
        flex-direction: column;
    }
    
    .hero-latest-secondary .hero-post-thumbnail {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
    
    .hero-latest-secondary .hero-post-title {
        font-size: 1.1rem;
    }
    
    .hero-most-popular {
        padding: 0;
    }
}

@media (max-width: 575.98px) {
	.hero-most-popular {
		padding: 0 !important;
	}
}

/* ===========================
   Today's News Section
   =========================== */
.todays-news-container {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.todays-news {
    flex: 1;
}

.todays-news-heading {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
    text-transform: capitalize;
}

.todays-news-article-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Individual News Item */

.todays-news-item.sponsoredcontent,
.todays-news-item--sponsored {
	background-color: #f0f0f0;
	padding: 1rem 0;
}

.todays-news-item:last-child {
    border-bottom: none;
}

/* Thumbnail */
.todays-news-thumbnail {
    width: 180px;
    max-width: 180px;
    overflow: hidden;
}

.todays-news-thumbnail img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.todays-news-thumbnail:hover img {
    transform: scale(1.05);
}

/* Content */
.todays-news-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
	justify-content: space-between;
}

.todays-news-category .category-link {
    display: inline-block;
    font-size: 1rem;
    font-weight: 300;
    text-transform: capitalize;
    text-decoration: none;
    color: #141c36;
}

.todays-news-title {
    margin: 0;
    font-size: 1.25rem;
	font-family: "Source Sans Pro", sans-serif;
    font-weight: 600;
    line-height: 1.4;
}

.todays-news-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.todays-news-author {
    font-size: 1rem;
    color: #141c36;
}

.todays-news-author .author-name {
    font-weight: 300;
}

/* Ad Space */
.todays-news-ad-space {
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Newsletter Subscription */

.wp-omeda-newsletter-subscription {
	margin: 2rem auto;
	padding: 0;
	background-color: transparent;
	border: none;
	box-shadow: none;
}

.wp-omeda-newsletter-heading {
	text-align: left;
}

.wp-omeda-newsletter-heading h2 {
	font-size: 2rem;
	color: #141c36;
}

.wp-omeda-newsletter-option {
	border: none;
	background: transparent;
	padding: 0;
}

.wp-omeda-newsletter-option:hover {
	background: transparent;
}

.wp-omeda-newsletter-option input[type="checkbox"] {
	width: 30px;
	height: 30px;
}

.wp-omeda-newsletter-option .wp-omeda-newsletter-title {
	font-size: 1.5rem;
	color: #141c36;
}

.wp-omeda-newsletter-form {
	padding: 0;
	background: transparent;
	border: none;
}

#wp-omeda-newsletter-form .wp-omeda-form-field label {
	display: none;
}

#wp-omeda-newsletter-form .wp-omeda-form-field .wp-omeda-input {
	border: 2px solid #141c36;
	border-radius: 3px;
	padding: .5rem;
	font-size: 1.5rem;
	font-family: "Suez One", serif;
}

#wp-omeda-newsletter-form .wp-omeda-form-field .wp-omeda-submit-button {
	height: 50px;
	font-family: "Suez One", serif;
	font-size: 1.5rem;
	background-color: #141c36;
	border-radius: 25px;
	border: 3px solid #141c36;
	transition: color 0.2s ease, background-color 0.2s ease;
	padding: .5rem 1.5rem;
	line-height: 2rem;
}

#wp-omeda-newsletter-form .wp-omeda-form-field .wp-omeda-submit-button:hover {
	color: #141c36;
	background-color: #fff;
	border: 3px solid #141c36;
	box-shadow:	0 3px 10px 2px rgba(20, 28, 54, 0.25);
}

.wp-omeda-newsletter-logged-in-message {
	max-width: 100%;
}

.wp-omeda-newsletter-logged-in-message .wp-omeda-message-text {
	font-family: "Suez One", serif;
	font-size: 2rem;
}

.wp-omeda-newsletter-logged-in-message .wp-omeda-dashboard-link {
	display: none;
	visibility: hidden;
}

/* Responsive: Stack ads below content on smaller screens */
@media (max-width: 991.98px) {
    .todays-news-container {
        flex-direction: column;
    }
    
    .todays-news-ad-space {
        width: 100%;
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
	.todays-news-thumbnail a {
		width: 100%;
	}
	.todays-news-item--sponsored {
		padding: 1.5rem;
	}
}

/* Small devices (sm breakpoint) */
@media (max-width: 575.98px) {
    .todays-news-item {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .todays-news-thumbnail {
        width: 100% !important;
        max-width: 100% !important;
        flex-shrink: 1 !important; /* Override Bootstrap's flex-shrink-0 */
    }
    
    .todays-news-thumbnail img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9;
    }

	.todays-news-item--sponsored {
		padding: 1rem !important;
	}
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
    
    .todays-news-item {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .todays-news-thumbnail {
        width: 100%;
        max-width: 100%;
    }
    
    .todays-news-thumbnail img {
        aspect-ratio: 16 / 9;
    }
    
    .todays-news-title {
        font-size: 1.5rem;
    }
}

/* ===========================
   Video Spotlight Section
   =========================== */
.video-spotlight-section {
    margin-top: 2rem;
    margin-bottom: 2rem;
	padding: 1.5rem;
	background-color: #f0f0f0;
}

.video-spotlight-heading {
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 700;
    text-transform: capitalize;
}

.video-spotlight-grid {
    display: flex;
}

/* Individual Video Item */
.video-spotlight-item {
    display: flex;
    flex-direction: column;
    flex: 1 1 0 !important;
    min-width: 0;
}

/* Video Thumbnail */
.video-spotlight-thumbnail {
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
}

.video-spotlight-thumbnail a {
	padding: 0;
}

.video-spotlight-thumbnail img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-spotlight-thumbnail:hover img {
    transform: scale(1.05);
}

/* Video Play Overlay */
.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

.video-spotlight-thumbnail:hover .video-play-overlay {
    background-color: rgba(0, 0, 0, 0.5);
}

.video-play-icon {
    color: #fff;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.video-spotlight-thumbnail:hover .video-play-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* Sponsored Badge */
.sponsored-badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background-color: rgba(102,102,102,0.75);
    color: #fff;
    z-index: 10;
}

/* Video Content */
.video-spotlight-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.video-spotlight-title {
    margin: 0;
	font-family: "Source Sans Pro", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.5;
}

.video-spotlight-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.video-spotlight-excerpt p {
	font-size: 1.25rem;
	font-weight: 300;
}

@media (max-width: 991.98px) {
    .video-spotlight-grid {
        flex-direction: row;
    }
    
    .video-spotlight-item {
        width: 100%; /* Ensure consistent full width */
        flex: 0 0 auto; /* Don't grow or shrink */
        margin-bottom: 2rem;
    }
    
    .video-spotlight-item:last-child {
        margin-bottom: 0;
    }
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
    .video-spotlight-heading {
        font-size: 1.5rem;
    }
    
    .video-spotlight-title {
        font-size: 1.5rem;
    }

	.video-spotlight-grid {
		flex-direction: column;
	}
    
    .video-spotlight-item {
        width: 100%; /* Maintain consistent full width */
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 575.98px) {
	.video-spotlight-grid {
		flex-direction: column;
	}
}

/* ===========================
   Opinions Section
   =========================== */
.opinions-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.opinions-heading {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
    text-transform: capitalize;
}

.opinions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
	gap: 3rem;
}

/* Individual Opinion Item */
.opinions-item {
    min-width: 0; /* Prevents flex item overflow */
    display: flex;
    flex-direction: column;
	position: relative;
}

/* Vertical dividers - hidden by default for mobile */
.opinions-item:after {
	content: "";
	position: absolute;
	right: -1.5rem;
	height: 100%;
	background-image: repeating-linear-gradient(
			to bottom,
			rgba(20,28,54,0.5),
			rgba(20,28,54,0.5) 2px,
			transparent 2px,
			transparent 10px
	);
	background-size: 10px 100%;
	background-repeat: repeat-y;
	width: 2px;
	display: none;
}

/* Opinion Thumbnail */
.opinions-thumbnail {
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
}

.opinions-thumbnail a {
	padding: 0;
}

.opinions-thumbnail img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.opinions-thumbnail:hover img {
    transform: scale(1.05);
}

/* Opinion Content */
.opinions-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.opinions-title {
    margin: 0;
	font-family: "Source Sans Pro", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
}

.opinions-title a {
    text-decoration: none;
    color: inherit;
}

.opinions-meta {
    font-size: 1rem;
    color: #141c36;
}

.opinions-meta .opinions-author {
    font-weight: 300;
}

.no-opinions {
    width: 100%;
    padding: 2rem;
    text-align: center;
    color: #6c757d;
    font-style: italic;
}

/* Responsive: 2x2 grid for md to lg viewport (768px to 992px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .opinions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Show dividers only on 1st and 3rd items (left column in 2x2 grid) */
    .opinions-item:nth-child(odd):after {
        display: block;
    }
}

/* Desktop: Show dividers on all items except the last */
@media (min-width: 992px) {
    .opinions-item:not(:last-child):after {
        display: block;
    }
}

/* Mobile: Single column below md breakpoint */
@media (max-width: 767.98px) {
    .opinions-grid {
        grid-template-columns: 1fr;
    }
    
    .opinions-heading {
        font-size: 1.5rem;
    }
    
    .opinions-title {
        font-size: 1.5rem;
    }
}

/* ===========================
   Featured Stories Section
   =========================== */
.featured-stories-container {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.featured-stories {
    flex: 1;
}

.featured-stories-heading {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
    text-transform: capitalize;
}

.featured-stories-article-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Individual Featured Story Item */

.featured-stories-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Thumbnail */
.featured-stories-thumbnail {
    width: 180px;
    max-width: 180px;
    overflow: hidden;
}

.featured-stories-thumbnail img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-stories-thumbnail:hover img {
    transform: scale(1.05);
}

/* Content */
.featured-stories-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
	justify-content: space-between;
}

.featured-stories-category .category-link {
    display: inline-block;
    font-size: 1rem;
    font-weight: 300;
    text-transform: capitalize;
    text-decoration: none;
    color: #141c36;
}

.featured-stories-title {
    margin: 0;
    font-size: 1.25rem;
	font-family: "Source Sans Pro", sans-serif;
    font-weight: 600;
    line-height: 1.4;
}

.featured-stories-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.featured-stories-author {
    font-size: 1rem;
    color: #141c36;
}

.featured-stories-author .author-name {
    font-weight: 300;
}

/* Ad Space */
.featured-stories-ad-space {
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Responsive: Stack ads below content on smaller screens */
@media (max-width: 991.98px) {
    .featured-stories-container {
        flex-direction: column;
    }
    
    .featured-stories-ad-space {
        width: 100%;
        margin-top: 2rem;
    }
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
    .featured-stories-heading {
        font-size: 1.5rem;
    }
    
    .featured-stories-item {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .featured-stories-thumbnail {
        width: 100%;
        max-width: 100%;
    }
	.featured-stories-thumbnail a {
		width: 100%;
	}
    
    .featured-stories-thumbnail img {
        aspect-ratio: 16 / 9;
    }
    
    .featured-stories-title {
        font-size: 1.5rem;
    }
}

/* ===========================
   Product Showcase Section
   =========================== */
.product-showcase-section {
	margin-top: 2rem;
	margin-bottom: 2rem;
	padding: 1.5rem;
	background-color: #f0f0f0;
}

.product-showcase-heading {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
    text-transform: capitalize;
}

.product-showcase-grid {
    display: flex;
}

/* Individual Product Showcase Item */
.product-showcase-item {
    flex: 1 1 calc(33% - 1rem); /* 4 columns above 991px */
    min-width: 0; /* Prevents flex item overflow */
    display: flex;
    flex-direction: column;
}

/* Product Showcase Thumbnail */
.product-showcase-thumbnail {
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
}

.product-showcase-thumbnail a {
	padding: 0;
}

.product-showcase-thumbnail img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-showcase-thumbnail:hover img {
    transform: scale(1.05);
}

/* Product Showcase Content */
.product-showcase-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-showcase-title {
    margin: 0;
    font-size: 1.5rem;
	font-family: "Source Sans Pro", sans-serif;
    font-weight: 600;
    line-height: 1.4;
}

.product-showcase-title a {
    text-decoration: none;
    color: inherit;
}

.product-showcase-excerpt p {
	font-size: 1.25rem;
	font-weight: 300;
}

/* Responsive: Single column at 576px (small breakpoint) */
@media (max-width: 575.98px) {
    .product-showcase-item {
        flex: 1 1 100%; /* 1 column */
    }
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
    .product-showcase-heading {
        font-size: 1.5rem;
    }
    
    .product-showcase-title {
        font-size: 1.5rem;
    }
	.product-showcase-grid {
		flex-direction: column;
	}
}

/* ===========================
   Category Showcase Section
   =========================== */
.category-showcase-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

/* Desktop Grid (default, hidden on mobile) */
.category-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Mobile Swiper (hidden on desktop) */
.category-showcase-swiper {
    display: none;
}

/* Category Showcase Item (Desktop) */
.category-showcase-item {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Category Header with Colors */
.category-showcase-header {
    padding: .5rem 1rem;
}

.category-showcase-category {
    margin: 0;
    font-size: 1.5rem;
	font-family: "Source Sans Pro", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
}

/* Category Color Backgrounds */
.category-showcase-item--gnss .category-showcase-header {
    background-color: #b6151a;
}

.category-showcase-item--receivers .category-showcase-header {
    background-color: #467d9c;
}

.category-showcase-item--autonomous .category-showcase-header {
    background-color: #458070;
}

.category-showcase-item--survey .category-showcase-header {
    background-color: #ca7a29;
}

.category-showcase-item--mapping .category-showcase-header {
    background-color: #9d4022;
}

.category-showcase-item--defense .category-showcase-header {
    background-color: #561d23;
}

/* Content */
.category-showcase-content {
    padding: 1rem 0;
    flex: 1;
}

.category-showcase-title {
    margin: 0;
	font-family: "Source Sans Pro", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
}

.category-showcase-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

/* Mobile Swiper Cards */
@media (max-width: 767.98px) {
    /* Hide grid, show swiper */
    .category-showcase-grid {
        display: none;
    }

	.category-showcase-section {
		margin-top: 1rem;
		margin-bottom: 1rem;
	}
    
    .category-showcase-swiper {
        display: block;
        width: calc(100% - 80px);
        padding: 2rem 0 3rem;
    }
    
    .category-showcase-heading {
        font-size: 1.5rem;
        text-align: center;
    }
    
    /* Swiper Card Styling */
    .category-showcase-card {
        display: flex;
        flex-direction: column;
        border-radius: 6px;
        overflow: hidden;
        background: #fff;
    }
    
    .category-showcase-card-header {
        padding: 1.5rem;
    }
    
    .category-showcase-card-category {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 700;
        text-transform: uppercase;
        color: #fff;
        text-align: center;
		font-family: "Source Sans Pro", sans-serif;
    }
    
    /* Card Category Colors */
    .category-showcase-card--gnss .category-showcase-card-header,
	.category-showcase-card--gnss .category-showcase-card-content {
        background-color: #b6151a;
    }
    
    .category-showcase-card--receivers .category-showcase-card-header,
	.category-showcase-card--receivers .category-showcase-card-content {
        background-color: #467d9c;
    }
    
    .category-showcase-card--autonomous .category-showcase-card-header,
	.category-showcase-card--autonomous .category-showcase-card-content {
        background-color: #458070;
    }
    
    .category-showcase-card--survey .category-showcase-card-header,
	.category-showcase-card--survey .category-showcase-card-content {
        background-color: #ca7a29;
    }
    
    .category-showcase-card--mapping .category-showcase-card-header,
	.category-showcase-card--mapping .category-showcase-card-content {
        background-color: #9d4022;
    }
    
    .category-showcase-card--defense .category-showcase-card-header,
	.category-showcase-card--defense .category-showcase-card-content {
        background-color: #561d23;
    }
    
    .category-showcase-card-thumbnail img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }
    
    .category-showcase-card-content {
        padding: 1.5rem;
		font-family: "Source Sans Pro", sans-serif;
    }
    
    .category-showcase-card-title {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 600;
        line-height: 1.4;
		color: #fff;
		font-family: "Source Sans Pro", sans-serif;
    }
    
    .category-showcase-card-title a {
        text-decoration: none;
        color: inherit;
    }
}

/* Tablet: 2 columns */
@media (min-width: 768px) and (max-width: 991.98px) {
    .category-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===========================
   Listen and Learn Section
   =========================== */
.listen-and-learn-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.listen-and-learn-heading {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
    text-transform: capitalize;
}

.listen-and-learn-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Individual Listen and Learn Item */
.listen-and-learn-item {
    display: flex;
}

/* Audio Thumbnail */
.listen-and-learn-thumbnail {
    width: 180px;
    max-width: 180px;
    position: relative;
    overflow: hidden;
}

.listen-and-learn-thumbnail a {
    display: block;
    padding: 0;
}

.listen-and-learn-thumbnail img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.listen-and-learn-thumbnail:hover img {
    transform: scale(1.05);
}

/* Audio Play Overlay */
.audio-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

.listen-and-learn-thumbnail:hover .audio-play-overlay {
    background-color: rgba(0, 0, 0, 0.5);
}

.audio-play-icon {
    color: #fff;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.listen-and-learn-thumbnail:hover .audio-play-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* Content */
.listen-and-learn-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: space-between;
}

.listen-and-learn-title {
    margin: 0;
    font-size: 1.25rem;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 600;
    line-height: 1.4;
}

.listen-and-learn-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.listenup-audio-player {
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.listenup-player-header {
	display: none;
}

.listenup-player-controls .listenup-play-button,
.listenup-player-controls .listenup-download-button {
	width: 50px;
	height: 50px;
	border-radius: 25px;
	background-color: #141c36 !important;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .listen-and-learn-heading {
        font-size: 1.5rem;
    }
    
    .listen-and-learn-item {
        gap: 1rem !important;
		flex-direction: column;
    }
    
    .listen-and-learn-thumbnail {
        width: 100%;
        max-width: 100%;
    }
    
    .listen-and-learn-thumbnail img {
        aspect-ratio: 16 / 9;
    }
    
    .listen-and-learn-title {
        font-size: 1.5rem;
    }

	.listenup-player-controls {
		flex-direction: row !important;
	}
}

.digital-editions-archive {
	margin-top: 3rem;
}

.digital-editions-archive h2 {
	font-size: 2rem;
}

.digital-editions-archive .hr {
	display: none;
	visibility: hidden;
}