/* Custom CSS Variables for easier theme management */
:root {
    --primary-purple: #6a1b9a; /* Deep Purple */
    --dark-purple: #4a148c;   /* Darker Purple for hover/accents */
    --light-purple: #f0f0ff;  /* Very Light Purple/Lavender */
    --accent-gold: #ffd700;   /* Gold/Yellow Accent */
    --text-dark: #333;
    --text-medium: #555;
    --text-light: #bbb;
    --bg-white: #ffffff;
    --bg-light-gray: #f8f9fa;
    --bg-light-blue: #e0f7fa;
    --bg-light-orange: #fff3e0;
    --footer-bg: #2c3e50;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-member-count: 'Montserrat', sans-serif;
}

/* --- General Aesthetic Improvements --- */
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* Section Titles */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    color: var(--dark-purple);
    text-transform: uppercase;
    display: inline-block;
    padding-bottom: 12px;
    margin-bottom: 3.5rem !important;
    position: relative;
    text-align: center;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background-color: var(--accent-gold);
    border-radius: 3px;
}

/* --- Header Specific Styles (Logo, Company Title, Tagline) --- */
header .d-flex img {
    margin-left: -15px;
}

.header-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.company-title {
    color: var(--primary-purple);
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 2.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.2rem !important;
    line-height: 1.2;
    text-align: left;
}

.tagline {
    color: var(--text-medium);
    font-family: var(--font-heading);
    letter-spacing: 0.8px;
    font-weight: 400;
    line-height: 1.4;
    font-size: 1.15rem;
    margin-top: 0 !important;
    text-align: left;
}

.company-description {
    color: var(--text-medium);
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
}

/* --- Ashok Chakra Background --- */
.ashok-chakra-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    background-image: url('Images/ashoka-chakra-png.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    opacity: 0.04;
    z-index: -1;
    pointer-events: none;
}

/* --- Navbar Enhancements --- */
.navbar {
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.navbar-nav .nav-link {
    color: var(--primary-purple) !important;
    font-weight: 500;
    padding: 0.85rem 1.3rem;
    transition: all 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--dark-purple) !important;
    background-color: var(--bg-light-gray);
    border-radius: 5px;
}

/* --- Carousel Section --- */
.bg-lightblue-custom {
    background-color: var(--bg-light-blue) !important;
    border-radius: 12px !important;
    overflow: hidden;
}

.carousel-img-custom {
    max-height: 500px;
    object-fit: cover;
    width: 100%;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.65);
    padding: 12px 20px;
    border-radius: 10px;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
}

.carousel-caption h5 {
    color: var(--bg-white);
    font-weight: 700;
    font-size: 1.4rem;
}

.carousel-caption p {
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.5;
}

/* --- President's Message Card --- */
#president-message .card {
    background-color: var(--light-purple) !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

#president-message img {
    border: 6px solid var(--bg-white) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#president-message .card-title {
    color: var(--dark-purple);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
}

#president-message blockquote {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-medium);
}

#president-message .blockquote-footer {
    color: var(--bg-white);
    font-size: 0.95rem;
    background-color: var(--dark-purple);
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
}

/* --- Member Count Section Styling --- */
.member-section {
    background-color: var(--bg-light-orange);
    border: 1px solid #ffcc80;
    padding: 2rem 1.5rem;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease-in-out;
    border-radius: 12px;
}

.member-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.member-count {
    font-size: 3.5rem;
    color: #e67e22;
    font-family: var(--font-member-count);
    font-weight: 700;
}

.member-count-suffix {
    font-size: 2.2rem;
    color: #e67e22;
    vertical-align: super;
    margin-left: -8px;
}

/* --- Our Aims / Services Card Enhancements --- */
.service-card {
    border: none;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    background-color: var(--bg-light-gray);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2) !important;
}

.service-icon {
    font-size: 4.5rem !important;
    color: var(--primary-purple) !important;
    margin-bottom: 1.5rem;
    filter: drop-shadow(3px 3px 5px rgba(0,0,0,0.25));
}

.service-title {
    color: var(--dark-purple);
    font-weight: 700;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-description {
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn-primary.custom-button {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
    padding: 14px 32px;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-primary.custom-button:hover {
    background-color: var(--dark-purple);
    border-color: var(--dark-purple);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.btn-outline-primary {
    color: var(--primary-purple);
    border-color: var(--primary-purple);
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
}

.btn-outline-primary:hover {
    background-color: var(--primary-purple);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* --- Custom Event Card Styling --- */
.event-card {
    border: 1px solid #e0e0e0; /* Subtle border for definition */
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    background-color: var(--bg-white);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08); /* Slightly softer shadow */
}

.event-card:hover {
    transform: translateY(-5px); /* Less intense lift */
    box-shadow: 0 15px 35px rgba(0,0,0,0.15); /* More pronounced hover shadow */
}

.event-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.event-card .card-body {
    padding: 1.5rem; /* Added padding to the card body */
}

.event-title {
    font-family: var(--font-heading);
    color: var(--dark-purple);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem; /* More space below title */
}

.event-description {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1.75rem; /* More space below description */
}

.event-details li {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 0.6rem; /* Slightly more space between details */
}

.event-details li strong {
    color: var(--text-dark);
}

.event-card .text-center.mt-3 {
    margin-top: 2rem !important; /* Increased top margin for the button container */
    padding-bottom: 1rem; /* Added padding at the bottom of the card body for button space */
}

.custom-button-small {
    padding: 10px 22px; /* Slightly more padding */
    font-size: 0.95rem; /* Slightly larger font */
    border-radius: 25px; /* More rounded buttons */
    font-weight: 500;
    transition: all 0.3s ease;
}

.custom-button-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}


/* --- Footer Styling --- */
footer {
    background-color: var(--footer-bg) !important;
    border-top: 6px solid var(--primary-purple);
    padding-top: 4rem;
    padding-bottom: 2.5rem;
}

.footer-heading {
    color: var(--bg-white);
    font-weight: 700;
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 10px;
    font-size: 1.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 4px;
    background-color: var(--accent-gold);
    border-radius: 2px;
}

.footer-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.map-container {
    border: 4px solid var(--primary-purple);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

.social-links .social-icon {
    width: 45px;
    height: 45px;
    background-color: var(--dark-purple);
    color: var(--bg-white);
    border-radius: 50%;
    margin-right: 12px;
    font-size: 1.35rem;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.social-links .social-icon:hover {
    background-color: var(--accent-gold);
    color: var(--text-dark);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* --- Committee Card (if used on committee.html) --- */
.committee-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--bg-light-gray);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.committee-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

/* --- Custom Download Button (from your previous HTML snippet) --- */
.custom-button-download {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
    font-weight: 600;
    padding: 14px 35px;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
    font-size: 1.3rem;
}

.custom-button-download:hover {
    background-color: var(--dark-purple);
    border-color: var(--dark-purple);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}


/* --- Responsive Adjustments --- */
@media (max-width: 991.98px) {
    .section-title {
        font-size: 1.8rem;
        letter-spacing: 1.5px;
    }
    .company-title {
        font-size: 1.8rem;
    }
    .tagline {
        font-size: 1rem;
    }
    .carousel-img-custom {
        max-height: 400px;
    }
    .carousel-caption h5 {
        font-size: 1.2rem;
    }
    .carousel-caption p {
        font-size: 0.85rem;
    }
    .member-count {
        font-size: 3rem;
    }
    .member-count-suffix {
        font-size: 1.8rem;
    }
    .btn-primary.custom-button, .custom-button-download {
        padding: 12px 28px;
        font-size: 1.1rem;
    }
    .service-icon {
        font-size: 3.8rem !important;
    }

    /* Event card adjustments for medium screens */
    .event-img {
        height: 180px;
    }
    .event-title {
        font-size: 1.4rem;
    }
    .event-card .card-body {
        padding: 1rem;
    }
    .event-description {
        margin-bottom: 1.25rem;
    }
    .event-card .text-center.mt-3 {
        margin-top: 1.5rem !important;
        padding-bottom: 0.75rem;
    }
    .custom-button-small {
        padding: 8px 18px;
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.6rem;
        letter-spacing: 1px;
        margin-bottom: 2.5rem !important;
    }
    .section-title::after {
        width: 60px;
        height: 3px;
    }
    /* Header Specific Mobile Adjustments */
    header .d-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    header .d-flex img {
        margin-bottom: 1rem;
        margin-left: 0 !important;
        max-height: 80px;
    }
    .header-text-container {
        align-items: center;
    }
    .company-title {
        font-size: 1.6rem;
        white-space: normal;
        text-overflow: clip;
        text-align: center;
    }
    .tagline {
        font-size: 0.95rem;
        text-align: center;
    }

    .carousel-img-custom {
        max-height: 300px;
    }
    .carousel-caption {
        padding: 8px 15px;
        bottom: 15px;
    }
    .carousel-caption h5 {
        font-size: 1rem;
    }
    .carousel-caption p {
        font-size: 0.8rem;
    }
    #president-message .col-md-8 {
        text-align: center !important;
    }
    .member-section {
        flex-direction: column;
    }
    .member-section .col-md-6 {
        text-align: center !important;
    }
    .member-section .btn-primary {
        width: 100%;
        margin-top: 1rem;
    }
    .service-icon {
        font-size: 3.2rem !important;
    }
    .footer-heading {
        text-align: center;
    }
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .social-links {
        text-align: center;
    }
    /* Event card adjustments for small screens */
    .event-img {
        height: 160px;
    }
    .event-title {
        font-size: 1.3rem;
    }
    .event-description {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    .event-details li {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
    }
    .event-card .card-body {
        padding: 1rem;
    }
    .event-card .text-center.mt-3 {
        margin-top: 1rem !important;
        padding-bottom: 0.5rem;
    }
    .custom-button-small {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 575.98px) {
    .company-title {
        font-size: 1.3rem;
    }
    .section-title {
        font-size: 1.4rem;
        letter-spacing: 0.8px;
    }
    .member-count {
        font-size: 2.5rem;
    }
    .member-count-suffix {
        font-size: 1.5rem;
    }
    .event-img {
        height: 140px;
    }
    .event-title {
        font-size: 1.2rem;
    }
    .event-card .card-body {
        padding: 0.75rem;
    }
    .event-description {
        margin-bottom: 0.75rem;
    }
    .event-card .text-center.mt-3 {
        margin-top: 0.75rem !important;
        padding-bottom: 0.25rem;
    }
    .custom-button-small {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
}

/* --- New CSS for News Section --- */
.news-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    background-color: var(--bg-white);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.news-img {
    height: 220px; /* Adjust as needed */
    object-fit: cover;
    width: 100%;
}

.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.2) 50%, transparent 100%);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1.5rem;
    pointer-events: none; /* Allows clicks to pass through to the image for any link */
    transition: background 0.3s ease;
}

.news-card:hover .news-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.3) 50%, transparent 100%);
}

.news-tagline {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    padding: 10px;
    background-color: rgba(106, 27, 154, 0.7); /* Primary purple with transparency */
    border-radius: 8px;
    margin-top: 1rem; /* Adjust position */
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    max-width: 90%;
}

.news-body {
    padding: 1.25rem;
}

.news-description {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* --- New CSS for Events Page (past events) --- */
.event-listing-card {
    background-color: var(--bg-white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.event-listing-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.event-carousel-img {
    height: 280px; /* Adjust height for horizontal layout */
    width: 100%;
    object-fit: cover;
    border-radius: 15px 0 0 15px; /* Rounded corners on the left for the image */
}

.event-listing-card .card-body {
    padding: 2rem;
}

.event-listing-title {
    font-family: var(--font-heading);
    color: var(--dark-purple);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.event-listing-description {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.event-listing-details li {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.event-listing-details li i {
    font-size: 1.1rem;
}

/* For reversed layout */
.event-listing-card .flex-md-row-reverse .event-carousel-img {
    border-radius: 0 15px 15px 0; /* Rounded corners on the right for reversed image */
}
@media (max-width: 767.98px) {
    .event-listing-card .event-carousel-img {
        border-radius: 15px 15px 0 0; /* Full top rounding on mobile */
    }
    .event-listing-card .flex-md-row-reverse .event-carousel-img {
        border-radius: 15px 15px 0 0; /* Also full top rounding on mobile */
    }
}


/* --- New CSS for Gallery Page --- */
.gallery-folder-section {
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 2rem;
    background-color: var(--bg-light-gray);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.gallery-folder-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 1.5rem !important;
}

.gallery-folder-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent-gold);
    border-radius: 2px;
}

.gallery-img {
    height: 180px; /* Uniform height for thumbnails */
    width: 100%;
    object-fit: cover;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

/* Modal specific styling (optional, but good for larger previews) */
#imageModal .modal-content {
    border-radius: 15px;
    overflow: hidden;
    background-color: #f8f9fa;
}

#modalImage {
    max-height: 80vh; /* Limit height of modal image */
    width: auto; /* Allow width to adjust */
    display: block; /* Remove extra space below image */
    margin: 0 auto; /* Center the image */
}

#modalImageCaption {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-medium);
}


/* --- New CSS for Reach Us Section --- */
.bg-light-gray-custom {
    background-color: var(--bg-light-gray);
}

.contact-info li {
    font-size: 1.05rem;
    color: var(--text-dark);
}

.contact-info li a {
    color: var(--text-dark);
}

.contact-info li a:hover {
    color: var(--primary-purple);
    text-decoration: underline !important;
}

.social-icon-sm {
    width: 40px;
    height: 40px;
    background-color: var(--primary-purple);
    color: var(--bg-white);
    border-radius: 50%;
    margin-right: 10px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon-sm:hover {
    background-color: var(--accent-gold);
    color: var(--text-dark);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}


/* Responsive adjustments for new sections */
@media (max-width: 991.98px) {
    .event-carousel-img {
        height: 250px;
    }
    .event-listing-title {
        font-size: 1.6rem;
    }
    .event-listing-description {
        font-size: 0.95rem;
    }
    .gallery-folder-title {
        font-size: 1.7rem;
    }
    .gallery-img {
        height: 160px;
    }
    .news-tagline {
        font-size: 1.1rem;
    }
    .news-img {
        height: 200px;
    }
}

@media (max-width: 767.98px) {
    .event-listing-card .card-body {
        text-align: center;
        padding-top: 1.5rem; /* Adjust padding for mobile text */
    }
    .event-listing-title {
        font-size: 1.4rem;
    }
    .event-listing-description {
        font-size: 0.9rem;
    }
    .event-listing-details {
        text-align: left; /* Align list items to left */
        margin-left: auto;
        margin-right: auto;
        max-width: fit-content; /* Helps center the list */
    }
    .event-listing-card .text-end,
    .event-listing-card .text-start.text-md-end {
        text-align: center !important; /* Center buttons on mobile */
    }
    .gallery-folder-title {
        font-size: 1.5rem;
        text-align: center;
    }
    .gallery-folder-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .gallery-img {
        height: 140px;
    }
    .news-tagline {
        font-size: 1rem;
        padding: 8px;
    }
    .news-img {
        height: 180px;
    }
    .contact-info, .social-links {
        text-align: center;
    }
    .contact-info li {
        justify-content: center; /* Center content of list items */
        display: flex;
        align-items: center;
    }
}

@media (max-width: 575.98px) {
    .event-carousel-img {
        height: 200px;
    }
    .event-listing-title {
        font-size: 1.2rem;
    }
    .event-listing-description {
        font-size: 0.85rem;
    }
    .gallery-folder-title {
        font-size: 1.3rem;
    }
    .gallery-img {
        height: 120px;
    }
    .news-tagline {
        font-size: 0.9rem;
        padding: 6px;
    }
    .news-img {
        height: 160px;
    }
}

/* Styling for news cards as clickable elements */
.news-card-link {
    text-decoration: none; /* Remove underline */
    color: inherit;        /* Inherit text color from parent */
    display: block;        /* Make the entire link a block element */
    height: 100%;          /* Ensure link takes full height of column */
}

.news-card-link:hover .news-card {
    transform: translateY(-5px); /* Keep hover effect on the card */
    box-shadow: 0 15px 35px rgba(0,0,0,0.15); /* Keep hover shadow */
}

/* Ensure the news-overlay does not block clicks on the card itself */
.news-overlay {
    pointer-events: none; /* This is crucial: allows clicks to pass through to the underlying link */
}