:root {
    --brand-green: #11532f;
    --icon-bg: #e6f2eb;
    --text-dark: #111111;
    --text-muted: #555555;
    --divider-color: #e5e7eb;
    --brand-green: #0d4b26;
    --bg-light-green: #f8faf8;
    --card-border: #e8ede9;
    --text-dark: #111827;
    --text-muted: #555555;
    --brand-green: #0d4b26;
    --brand-green-hover: #083319;
    --bg-light-gray: #f8faf8;
    --border-color: #e5e7eb;
    --text-dark: #111827;
    --text-muted: #6b7280;
    --banner-bg: #033618;
    --banner-bg-hover: #022b13;
    --text-white: #ffffff;
    --text-sub: rgba(255, 255, 255, 0.85);
    --btn-text: #033618;
}

i.fa.fa-arrow-right {
    font-size: 12px;
    margin-top: 2px;
}

.topBanerMedia .media-card {
    background-color: #fafbfc;
    /* border: 1px solid #e2e8f0; */
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

/* Left Content Section */
.topBanerMedia .media-content {
    padding: 2.5rem;
    z-index: 2;
}

.topBanerMedia .sub-title {
    color: var(--brand-green);
    font-weight: 800;
    font-size: 0.825rem;
    letter-spacing: 0.8px;
}

.topBanerMedia .heading {
    color: var(--text-dark);
    font-weight: 800;
    font-size: 52px;
    line-height: 1.12;
    letter-spacing: -0.5px;
    margin: 16px auto;
}

.topBanerMedia .heading span {
    color: var(--brand-green);
}

.topBanerMedia .description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 480px;
}

/* Bottom Feature Links Layout */
.topBanerMedia .features-row {
    display: flex;
    align-items: stretch;
    padding-top: 1rem;
    position: absolute;
    bottom: 40px;
    left: 30px;
}

.topBanerMedia .feature-item {
    flex: 1;
    position: relative;
    padding-right: 15px;
    padding-left: 15px;
    text-align: center;
}

.topBanerMedia .feature-item:first-child {
    padding-left: 0;
}

/* Vertical Divider Lines */
.topBanerMedia .feature-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: var(--divider-color);
}

.topBanerMedia .icon-badge {
    width: 52px;
    height: 52px;
    background-color: var(--icon-bg);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: all 0.2s ease-in-out;
}

.topBanerMedia .icon-badge svg {
    width: 24px;
    height: 24px;
    stroke: var(--brand-green);
}

.topBanerMedia .feature-item:hover .icon-badge {
    background-color: var(--brand-green);
}

.topBanerMedia .feature-item:hover .icon-badge svg {
    stroke: #ffffff;
}

.topBanerMedia .feature-title {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.topBanerMedia .feature-text {
    font-size: 0.78rem;
    color: #242424;
    line-height: 1.35;
    margin: 0;
}

/* Right Image with Fade Effect */
.topBanerMedia .media-img-wrapper {
    position: relative;
    height: 100%;
    min-height: auto;
}

.topBanerMedia .media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center left;
}

.topBanerMedia .toBabanner {
    position: relative;
}

/* Gradient Blend to Seamlessly Match Background */
@media (min-width: 992px) {
    .topBanerMedia .media-img-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: -1px;
        bottom: 0;
        width: 25%;
        background: linear-gradient(to right, #fafbfc 0%, rgba(250, 251, 252, 0) 100%);
        z-index: 1;
    }
}

/* Mobile / Tablet Adjustments */
@media (max-width: 991px) {
    .topBanerMedia .heading {
        font-size: 2.2rem;
    }

    .topBanerMedia .features-row {
        flex-wrap: wrap;
        gap: 20px 0;
    }

    .topBanerMedia .feature-item {
        flex: 0 0 50%;
        text-align: center;
        padding: 0 10px !important;
    }

    .topBanerMedia .feature-item:not(:last-child)::after {
        display: none;
    }
}

/* ================================================================== */
.secndSecPad {
    padding: 40px 0 0px;
}

.press-kit-container {
    background-color: var(--bg-light-green);
    border-radius: 16px;
    padding: 20px 20px;
    border: 1px solid var(--card-border);
}

/* Left Heading Section */
.press-kit-title {
    color: var(--brand-green);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.press-kit-desc {
    color: var(--text-dark);
    font-size: 0.875rem;
    line-height: 1.45;
    margin-bottom: 0;
    max-width: 240px;
}

/* Download Card */
.resource-card {
    background-color: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 12px 12px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    height: 100%;
    margin: 1px 4px;
}

.resource-card:hover {
    border-color: var(--brand-green);
    box-shadow: 0 4px 12px rgba(13, 75, 38, 0.08);
    transform: translateY(-2px);
}

.card-icon {
    font-size: 1.75rem;
    color: var(--brand-green);
    line-height: 1;
    margin-right: 0.75rem;
}

.card-info {
    flex: 1;
}

.card-title {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 2px;
    white-space: nowrap;
}

.card-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    margin: 0;
}

.download-icon {
    font-size: 1.1rem;
    color: var(--brand-green);
    margin-left: 0.5rem;
}

.preekitIcon {
    background-color: #F0F0F0;
    padding: 4px 11px;
    border-radius: 100px;
    margin-right: 8px;
    color: #0a4b28;
    font-size: 24px;
}

.resource-card i {
    color: #0a4b28;
}

/* Layout Custom Grid Fixes */
@media (min-width: 1200px) {
    .col-xl-custom-title {
        flex: 0 0 20%;
        max-width: 20%;
    }

    .col-xl-custom-cards {
        flex: 0 0 80%;
        max-width: 80%;
    }
}

/* ================================================================== */
.section-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.section-title {
    font-weight: 800;
    font-size: 26px;
    color: var(--text-dark);
    margin: 0;
    position: relative;
}

/* Small Green Underline accent on titles */
.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--brand-green);
    margin-top: 4px;
    border-radius: 2px;
}

.view-all-link {
    color: var(--brand-green);
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.view-all-link:hover {
    color: var(--brand-green-hover);
    gap: 10px;
}

/* Press Release Items */
.press-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #d7d6d6;
}

.press-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.date-badge {
    background-color: #e7f3e7;
    border-radius: 12px;
    padding: 0.75rem 0.5rem;
    text-align: center;
    min-width: 65px;
    flex-shrink: 0;
}

.date-day {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--brand-green);
}

.date-month {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--brand-green);
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.date-year {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 2px;
}

.press-content {
    flex: 1;
}

.press-heading {
    font-weight: 700;
    font-size: 0.925rem;
    line-height: 1.35;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

.press-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 0.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: var(--brand-green);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: var(--brand-green-hover);
}

.press-img-thumb {
    width: 180px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

/* Bottom Outline Button */
.btn-outline-green {
    border: 1px solid var(--brand-green);
    color: var(--brand-green);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    background: transparent;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-green:hover {
    background-color: var(--brand-green);
    color: #ffffff;
}

/* Photo Gallery Grid Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
    position: relative;
}

.gallery-img-box {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-img-box:hover .gallery-img {
    transform: scale(1.03);
}

.gallery-box-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    height: 200px;
}

.gallery-box-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    height: 200px;
}

.gallery-box-3 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    height: 200px;
}

.gallery-box-4 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    height: 200px;
}

.gallery-box-5 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    height: 200px;
    display: none;
    /* Alternate layout space */
}

/* Floating Center Overlay Badge */
.gallery-overlay-badge {
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    background-color: #0d4b26d9;
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
    font-weight: 700;
    font-size: 0.85rem;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.gallery-overlay-badge:hover {
    color: #ffffff;
    background-color: var(--brand-green-hover);
    transform: translate(-50%, -50%) scale(1.04);
}

.gallery-overlay-badge i {
    font-size: 1.2rem;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .press-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .press-img-thumb {
        width: 100%;
        height: 160px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-box-1,
    .gallery-box-2,
    .gallery-box-3,
    .gallery-box-4 {
        grid-column: auto;
        grid-row: auto;
        height: 200px;
    }

    .gallery-overlay-badge {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-top: 10px;
        justify-content: center;
    }
}

/* ================================================================== */
.videos-section-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 22px;
}

/* Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.section-title {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-dark);
    margin: 0;
}

.view-all-link {
    color: var(--brand-green);
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease, color 0.2s ease;
}

.view-all-link:hover {
    color: var(--brand-green-hover);
    gap: 10px;
}

/* Video Card */
.video-card {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.video-card:hover {
    color: inherit;
}

.video-thumb-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    margin-bottom: 0.85rem;
    background-color: #000000;
}

.video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.video-card:hover .video-thumb {
    transform: scale(1.04);
    opacity: 1;
}

/* Play Button Center Overlay */
.play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
    background: rgba(0, 0, 0, 0.45);
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1rem;
    backdrop-filter: blur(2px);
    transition: all 0.2s ease;
    z-index: 2;
}

.play-btn-overlay i {
    margin-left: 2px;
    /* Visual center alignment for play triangle */
}

.video-card:hover .play-btn-overlay {
    background: var(--brand-green);
    border-color: var(--brand-green);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Time Duration Badge Bottom-Left */
.duration-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.3px;
    z-index: 2;
}

/* Content Styling */
.video-title {
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.35;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

.video-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 576px) {
    .videos-section-card {
        padding: 1.25rem 1rem;
    }
}

/* ================================================================== */
.section-card {
    background-color: var(--bg-light-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

/* Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.section-title {
    font-weight: 800;
    font-size: 26px;
    color: var(--text-dark);
    margin: 0;
}

.view-all-link {
    color: var(--brand-green);
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.view-all-link:hover {
    color: var(--brand-green-hover);
    gap: 10px;
}

/* Slick Media Coverage Card Items */
.media-coverage-slider {
    margin: 0 -8px;
}

.media-card-item {
    padding: 0 8px;
}

.media-card-inner {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.2rem 1rem;
    background-color: #ffffff;
    height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.media-card-inner:hover {
    border-color: var(--brand-green);
    box-shadow: 0 4px 12px rgba(13, 75, 38, 0.06);
}

.media-card-inner a {
    width: 100%;
    height: 170px;
}

.media-card-inner a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-logo {
    height: 28px;
    object-fit: contain;
    object-position: left;
    margin-bottom: 0.75rem;
}

.media-card-title {
    font-weight: 700;
    font-size: 0.825rem;
    line-height: 1.35;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.media-card-date {
    font-size: 0.725rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.read-article {
    color: var(--brand-green);
    font-weight: 700;
    font-size: 0.78rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.read-article:hover {
    color: var(--brand-green-hover);
}

/* Slick Custom Navigation Arrows */
.slick-prev-custom,
.slick-next-custom {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.slick-prev-custom {
    left: -18px;
}

.slick-next-custom {
    right: -18px;
}

.slick-prev-custom:hover,
.slick-next-custom:hover {
    background-color: var(--brand-green);
    color: #ffffff;
    border-color: var(--brand-green);
}

/* Bottom Button */
.btn-outline-green {
    border: 1px solid var(--brand-green);
    color: var(--brand-green);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    background: transparent;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-green:hover {
    background-color: var(--brand-green);
    color: #ffffff;
}

/* Right Side: In The News Section */
.quote-box {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    height: 100%;
}

.quote-content {
    flex: 1;
}

.quote-icon {
    color: #0d4b2647;
    font-size: 23px;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.quote-text {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.quote-author {
    color: var(--brand-green);
    font-weight: 800;
    font-size: 0.825rem;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.quote-author::before {
    content: '—';
}

.quote-date {
    font-size: 0.725rem;
    color: var(--text-muted);
    font-weight: 500;
}

.quote-img-box {
    width: 220px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.quote-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Custom Dots Styling */
.news-slider .slick-dots {
    bottom: -25px;
    text-align: center;
}

.news-slider .slick-dots li {
    margin: 0 3px;
    width: 10px;
    height: 10px;
}

.news-slider .slick-dots li button {
    width: 10px;
    height: 10px;
    padding: 0;
}

/* .news-slider .slick-dots li button:before {
        font-size: 10px;
        color: #cbd5e1;
        opacity: 1;
    } */

.news-slider .slick-dots li.slick-active button:before {
    color: var(--brand-green);
}

@media (max-width: 768px) {
    .quote-box {
        flex-direction: column-reverse;
    }

    .quote-img-box {
        width: 100%;
        height: 180px;
    }

    .slick-prev-custom {
        left: 0;
    }

    .slick-next-custom {
        right: 0;
    }
}

/* ================================================================== */
.media-inquiries-banner {
    background-color: var(--banner-bg);
    /* Subtle leaf pattern background effect */
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 20%);
    border-radius: 14px;
    color: var(--text-white);
    padding: 1.25rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Left Icon Overlay / Megaphone */
.megaphone-icon-wrapper {
    font-size: 2.5rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Heading & Paragraph */
.inquiry-title {
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    letter-spacing: -0.2px;
}

.inquiry-desc {
    font-size: 0.825rem;
    color: var(--text-sub);
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

/* Contact Button */
.btn-contact-media {
    background-color: #ffffff;
    color: var(--btn-text);
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 8px;
    padding: 0.65rem 1.25rem;
    border: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-contact-media:hover {
    background-color: #f0fdf4;
    color: var(--btn-text);
    transform: translateY(-1px);
}

/* Vertical Divider Line */
.vertical-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.25);
    margin: 0 1.25rem;
}

/* Contact Info Details */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.contact-info-item:hover {
    color: var(--text-sub);
}

.contact-info-item i {
    font-size: 0.95rem;
    width: 16px;
    text-align: center;
}

/* Right Illustration/Microphone Watermark Icon */
.right-illustration {
    font-size: 4.5rem;
    color: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: auto;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .vertical-divider {
        display: none;
    }

    .media-inquiries-banner {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .right-illustration {
        display: none;
    }
}

/* ================================================================== */
/* ================================================================== */
/* ================================================================== */
/* ================================================================== */

.photo-gallery-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.photo-gallery-card .section-header {
    flex-shrink: 0;
}

.photo-gallery-card .gallery-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: repeat(3, minmax(180px, 1fr));
    gap: 12px;
    position: relative;
    flex: 1;
    width: 100%;
}

.photo-gallery-card .gallery-img-box {
    display: block;
    grid-column: auto;
    grid-row: auto;
    height: auto;
    min-height: 180px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.photo-gallery-card .gallery-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.photo-gallery-card .gallery-img-box:hover .gallery-img {
    transform: scale(1.06);
}

/* Overlay Button */
.photo-gallery-card .gallery-overlay-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    z-index: 10;
}

/* Laptop */
@media (min-width: 992px) and (max-width: 1199px) {
    .photo-gallery-card .gallery-grid {
        grid-template-rows: repeat(3, minmax(160px, 1fr));
    }

    .photo-gallery-card .gallery-img-box {
        min-height: 160px;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .photo-gallery-card .gallery-grid {
        grid-template-columns: 1.6fr 1fr;
        grid-template-rows: repeat(3, 200px);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .photo-gallery-card {
        padding: 15px;
    }

    .photo-gallery-card .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(3, 140px) auto;
        gap: 8px;
    }

    .photo-gallery-card .gallery-img-box {
        min-height: 140px;
        border-radius: 8px;
    }

    .photo-gallery-card .gallery-overlay-badge,
    .photo-gallery-card .gallery-overlay-badge:hover {
        position: static;
        grid-column: 1 / -1;
        transform: none;
        justify-content: center;
        margin-top: 5px;
    }
}