.news-page{--nm-green:#0b3024;--nm-gold:#bd914d;--nm-ink:#202d27;--nm-muted:#647168}
.nm-container{width:min(1180px,calc(100% - 48px));margin-inline:auto}
.nm-hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:clamp(520px,74vh,760px);overflow:hidden;background:#08271c;color:white}
.nm-hero-image,.nm-hero-overlay{position:absolute;inset:0;width:100%;height:100%}
.nm-hero-image{z-index:-2;object-fit:cover;object-position:center 42%;animation:nmZoom 18s ease-in-out infinite alternate}
.nm-hero-overlay{z-index:-1;background:linear-gradient(90deg,#041910ef 0%,#062419c9 48%,#06241945 100%),linear-gradient(0deg,#04191085,transparent 65%)}
.nm-hero-content{width:min(1180px,calc(100% - 48px));margin:auto;padding:85px 0 110px;animation:nmRise .8s ease both}
.nm-kicker{color:#a77c3b;font-size:11px;font-weight:800;letter-spacing:.17em;line-height:1.8;text-transform:uppercase}
.nm-hero .nm-kicker{color:#d8b777}
.nm-hero h1{margin:18px 0;color:white;font:700 clamp(48px,7.5vw,91px)/1.02 Georgia,serif;letter-spacing:-.04em}
.nm-hero h1 span{color:#d8b777}
.nm-hero-content>p:not(.nm-kicker){max-width:650px;color:#dce6df;font-size:16px;line-height:1.9}
.nm-button{display:inline-flex;align-items:center;gap:16px;margin-top:20px;padding:14px 20px;background:#c39a59;color:#16291f;text-decoration:none;font-size:13px;font-weight:800;transition:transform .25s,background .25s}
.nm-button:hover{transform:translateY(-3px);background:#e0bf86}
.nm-button span{font-size:20px}
.nm-hero-label{position:absolute;bottom:24px;right:25px;color:white;font-size:10px;letter-spacing:.15em}
.nm-intro{padding:clamp(65px,8vw,100px) 0;background:white}
.nm-intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(35px,6vw,85px)}
.nm-intro h2,.nm-section-heading h2,.nm-media h2{font:700 clamp(32px,4.2vw,51px)/1.15 Georgia,serif;color:var(--nm-ink);margin:10px 0 20px;letter-spacing:-.025em}
.nm-intro h2 span,.nm-section-heading h2 span,.nm-media h2 span{color:#a77c3b}
.nm-intro-grid>div:last-child p,.nm-media-grid>div:first-child>p:not(.nm-kicker){color:var(--nm-muted);font-size:15px;line-height:1.9}
.nm-featured{padding:65px 0 80px;background:#f2f5f1}
.nm-section-heading{max-width:800px;margin:0 auto 36px;text-align:center}
.nm-section-heading>p:last-child{color:var(--nm-muted);line-height:1.8}
.nm-feature-card{display:grid;grid-template-columns:1.1fr .9fr;background:white;border:1px solid #e1e7e0;box-shadow:0 18px 45px #102a1c0b}
.nm-feature-image{position:relative;min-height:360px;overflow:hidden;background:#e8eee8}
.nm-feature-image img{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover}
.nm-feature-image>span{position:absolute;left:16px;bottom:16px;background:#fffdf0e8;color:#67522f;padding:8px 10px;font-size:10px;font-weight:800}
.nm-feature-content{padding:clamp(24px,4vw,48px);align-self:center}
.nm-category{display:inline-block;padding:7px 9px;background:#eaf0e9;color:#244c37;font-size:9px;font-weight:800;letter-spacing:.08em}
.nm-date{color:#78847b;font-size:11px;margin:15px 0}
.nm-feature-content h3{font:700 clamp(26px,3vw,36px)/1.2 Georgia,serif;color:#20372b;margin:14px 0}
.nm-feature-content>p:not(.nm-date):not(.nm-pending){color:#65746a;line-height:1.9;font-size:14px}
.nm-pending{font-size:11px;color:#89662f;font-weight:700}
.nm-text-link{display:inline-flex;gap:10px;align-items:center;margin-top:10px;color:#17432f;text-decoration:none;font-weight:800;font-size:13px}
.nm-text-link:hover{color:#a77c3b}
.nm-news-centre{padding:clamp(65px,8vw,105px) 0;background:white}
.nm-search-panel{padding:23px;background:#f4f6f3;border:1px solid #e1e6e0;margin-bottom:30px}
.nm-search-panel label{display:block;font-size:13px;font-weight:800;color:#20372b;margin-bottom:9px}
.nm-search-panel input{width:100%;min-height:49px;padding:12px 14px;border:1px solid #cbd5cc;background:white;font:inherit}
.nm-search-panel input:focus{outline:2px solid #bd914d;outline-offset:2px}
.nm-filter-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}
.nm-filter{padding:10px 12px;border:1px solid #d5ddd5;background:white;color:#30483a;font-size:12px;font-weight:700;cursor:pointer}
.nm-filter.active,.nm-filter:hover{background:#0b3024;border-color:#0b3024;color:white}
#nm-search-status{font-size:12px;color:#6a786e;margin:14px 0 0}
.nm-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.nm-news-card{min-width:0;border:1px solid #e0e6df;background:white;overflow:hidden;box-shadow:0 9px 28px #102a1c08;transition:transform .35s,border-color .35s,box-shadow .35s}
.nm-news-card:hover{transform:translateY(-5px);border-color:#c3a16a;box-shadow:0 18px 38px #102a1c12}
.nm-news-card[hidden]{display:none!important}
.nm-card-image{height:210px;position:relative;overflow:hidden;background:#e9eee8}
.nm-card-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s}
.nm-news-card:hover .nm-card-image img{transform:scale(1.035)}
.nm-card-image .nm-category{position:absolute;left:13px;top:13px;background:#0b3024;color:white}
.nm-card-content{padding:20px}
.nm-card-content h3{font:700 21px/1.25 Georgia,serif;color:#20372b;margin:10px 0}
.nm-card-content>p:not(.nm-date):not(.nm-pending){color:#65746a;font-size:13px;line-height:1.8}
.nm-read-more{display:flex;justify-content:space-between;align-items:center;width:100%;margin-top:14px;padding:12px 0 0;border:0;border-top:1px solid #dfe5de;background:transparent;color:#214c37;font-weight:800;font-size:13px;cursor:pointer}
.nm-read-more:hover{color:#a77c3b}
.nm-read-more span{font-size:19px}
.nm-extra{padding:10px 0 0;color:#65746a;font-size:13px;line-height:1.8}
.nm-extra[hidden],.nm-empty[hidden]{display:none!important}
.nm-empty{padding:25px;text-align:center;background:#f4f6f3;color:#526458}
.nm-media{padding:clamp(65px,8vw,100px) 0;background:#f2f5f1}
.nm-media-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(35px,6vw,80px);align-items:center}
.nm-media-grid ul{padding-left:20px;color:#586b5e;font-size:14px;line-height:2.1}
.nm-media-visual{position:relative;min-height:380px;overflow:hidden;background:#e8eee8}
.nm-media-visual img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.nm-media-visual>span{position:absolute;bottom:0;left:0;right:0;padding:16px;background:#0b3024eF;color:white;font-size:10px;font-weight:800;letter-spacing:.1em}
.nm-button-dark{background:#0b3024;color:white}
.nm-button-dark:hover{background:#a77c3b}
.nm-cta{padding:clamp(65px,8vw,100px) 0;text-align:center;color:white;background:linear-gradient(120deg,#08271c,#174a35)}
.nm-cta>.nm-container{max-width:900px}
.nm-cta h2{font:700 clamp(32px,5vw,54px)/1.15 Georgia,serif;color:white;margin:10px 0 18px}
.nm-cta p:not(.nm-kicker){color:#d7e1da;line-height:1.8}
.nm-button-light{background:white;color:#123a2b}
.nm-footer-grid{width:min(1180px,calc(100% - 48px));margin:auto;padding:35px 0 45px;display:grid;grid-template-columns:1.2fr .8fr 1fr;gap:40px}
.nm-footer-grid h3{color:white;font-size:16px;margin:0 0 13px}
.nm-footer-grid p,.nm-footer-grid a{color:#cbd8d0;font-size:14px;line-height:1.8}
.nm-footer-grid a{display:block;text-decoration:none}
.nm-footer-grid a:hover{color:#e0bd80}
.nm-news-card,.nm-feature-image,.nm-media-visual{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .7s ease}
.nm-news-card.nm-visible,.nm-feature-image.nm-visible,.nm-media-visual.nm-visible{opacity:1;transform:none}
@keyframes nmRise{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
@keyframes nmZoom{to{transform:scale(1.06)}}
@media(max-width:900px){.nm-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nm-intro-grid,.nm-media-grid{grid-template-columns:1fr}.nm-feature-card{grid-template-columns:1fr}.nm-feature-image{min-height:300px}}
@media(max-width:600px){.nm-container,.nm-hero-content{width:calc(100% - 36px)}.nm-hero{min-height:570px}.nm-hero-image{object-position:60% center}.nm-hero-overlay{background:linear-gradient(90deg,#041910e8,#062419a6),linear-gradient(0deg,#04191080,transparent)}.nm-hero-label{left:18px;right:auto;font-size:9px}.nm-news-grid{grid-template-columns:1fr}.nm-card-image{height:230px}.nm-footer-grid{width:calc(100% - 36px);grid-template-columns:1fr;gap:22px}.nm-search-panel{padding:15px}.nm-filter-row{gap:6px}.nm-filter{padding:9px 10px}.nm-feature-image{min-height:245px}.nm-media-visual{min-height:300px}}
@media(prefers-reduced-motion:reduce){.nm-hero-image{animation:none}.nm-news-card,.nm-feature-image,.nm-media-visual{opacity:1;transform:none;transition:none}}

/* =====================================================
   NEWS PAGE — FULL-WIDTH LAYOUT AND HEADER REPAIR
   ===================================================== */

.news-page,
.news-page *,
.news-page *::before,
.news-page *::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
}

body.news-page {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: clip;
}

.news-page > header,
.news-page > main,
.news-page > footer,
.news-page main > section {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex-shrink: 0;
}

.news-page .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
}

.news-page .site-header .nav-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px;
    width: calc(100% - 48px) !important;
    max-width: 1500px !important;
    min-height: 88px;
    margin-inline: auto !important;
    padding: 12px 0 !important;
}

.news-page .site-header .brand {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px;
    flex: 0 0 auto;
    width: auto !important;
    min-width: 0;
    max-width: none !important;
    text-decoration: none;
}

.news-page .site-header .brand-mark {
    display: grid !important;
    place-items: center;
    flex: 0 0 44px;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50%;
    font-size: 16px !important;
}

.news-page .site-header .brand-name {
    display: block !important;
    width: auto !important;
    min-width: max-content;
    max-width: none !important;
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    letter-spacing: 1px;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

.news-page .site-header .brand-name strong {
    display: inline !important;
    font-weight: 800;
}

.news-page .site-header .main-nav {
    display: flex !important;
    position: static !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: wrap;
    flex: 1 1 auto;
    gap: clamp(10px, 1.5vw, 24px);
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.news-page .site-header .main-nav > a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 10px 0 !important;
    border: 0 !important;
    background: transparent;
    color: #304438;
    font-size: clamp(12px, 0.9vw, 14px) !important;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.news-page .site-header .main-nav > a:hover {
    color: #a77c3b !important;
    transform: translateY(-2px);
}

.news-page .site-header .main-nav > a[aria-current="page"] {
    color: #0b3024 !important;
    border-bottom: 2px solid #bd914d !important;
}

.news-page .site-header .menu-toggle {
    display: none !important;
}

/* Full-width hero and consistent section sizing */
.news-page .nm-hero {
    display: flex;
    position: relative;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    min-height: clamp(500px, 72vh, 740px);
    margin: 0 !important;
    overflow: hidden;
}

.news-page .nm-hero-content {
    width: min(1180px, calc(100% - 48px)) !important;
    max-width: 1180px !important;
    margin-inline: auto !important;
}

.news-page .nm-hero h1 {
    max-width: 950px;
    font-size: clamp(44px, 6.3vw, 82px);
    line-height: 1.06;
    overflow-wrap: normal;
}

.news-page .nm-container {
    width: min(1180px, calc(100% - 48px)) !important;
    max-width: 1180px !important;
    margin-inline: auto !important;
}

.news-page .nm-intro,
.news-page .nm-featured,
.news-page .nm-news-centre,
.news-page .nm-media,
.news-page .nm-cta {
    display: block;
    clear: both;
}

.news-page img {
    max-width: 100%;
}

/* Tablet */
@media (max-width: 1050px) {
    .news-page .site-header .nav-wrapper {
        width: calc(100% - 32px) !important;
        gap: 14px;
    }

    .news-page .site-header .main-nav {
        gap: 10px;
    }

    .news-page .site-header .main-nav > a {
        font-size: 12px !important;
    }

    .news-page .nm-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile navigation */
@media (max-width: 760px) {
    .news-page .site-header .nav-wrapper {
        min-height: 76px;
        width: calc(100% - 32px) !important;
    }

    .news-page .site-header .menu-toggle {
        display: flex !important;
        flex: 0 0 44px;
        align-items: center;
        justify-content: center;
    }

    .news-page .site-header .main-nav {
        display: none !important;
        position: absolute !important;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0;
        padding: 12px 20px !important;
        background: #ffffff !important;
        border-bottom: 1px solid #e0e6df !important;
        box-shadow: 0 12px 25px #102a1c15 !important;
    }

    .news-page .site-header .main-nav.open {
        display: flex !important;
    }

    .news-page .site-header .main-nav > a {
        justify-content: flex-start;
        padding: 13px 8px !important;
        font-size: 14px !important;
        white-space: normal;
    }

    .news-page .nm-intro-grid,
    .news-page .nm-media-grid,
    .news-page .nm-feature-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .news-page .nm-news-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .news-page .nm-hero h1 {
        font-size: clamp(42px, 10vw, 64px);
    }

    .news-page .nm-hero-content,
    .news-page .nm-container {
        width: calc(100% - 36px) !important;
    }

    .news-page .nm-feature-image {
        min-height: 260px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-page .nm-hero-image {
        animation: none !important;
    }
}

/* News and Media photographic gallery */
.nm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    padding-top: 28px;
    padding-bottom: 64px;
}

.nm-gallery-card {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(18, 58, 43, .12);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(4, 31, 23, .07);
}

.nm-gallery-card img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.nm-gallery-card figcaption {
    display: grid;
    gap: 7px;
    padding: 17px;
}

.nm-gallery-card figcaption strong {
    color: #123a2b;
    font-size: 16px;
}

.nm-gallery-card figcaption span {
    color: #65736b;
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 760px) {
    .nm-gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .nm-gallery-card img {
        height: 240px;
    }
}
/* =========================================================
   NEWS & MEDIA — CONSOLIDATED RESPONSIVE LAYOUT
   Page-specific overrides; shared header remains unchanged.
   ========================================================= */

.news-page .nm-container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.news-page .nm-section-heading {
    max-width: 760px;
    margin: 0 auto 34px;
}

.news-page .nm-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    align-items: stretch;
}

.news-page .nm-news-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e9e5;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(9, 39, 28, 0.07);
}

.news-page .nm-card-image {
    position: relative;
    height: 245px;
    overflow: hidden;
    background: #e9eee9;
}

.news-page .nm-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.news-page .nm-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 23px;
}

.news-page .nm-card-content h3 {
    margin: 10px 0 12px;
    color: #123a2b;
    font-family: Georgia, serif;
    font-size: 22px;
    line-height: 1.35;
}

.news-page .nm-card-content > p {
    line-height: 1.75;
}

.news-page .nm-card-content .nm-extra {
    width: 100%;
    margin-top: 12px;
}

.news-page .nm-card-content .nm-read-more {
    margin-top: auto;
    padding: 12px 0 0;
}

.news-page .nm-card-content .nm-extra[hidden],
.news-page .nm-news-card[hidden],
.news-page .nm-empty[hidden] {
    display: none !important;
}

.news-page .nm-feature-card {
    overflow: hidden;
    border-radius: 14px;
}

.news-page .nm-feature-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.news-page .nm-search-panel {
    margin-bottom: 32px;
}

.news-page .nm-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.news-page .nm-filter {
    cursor: pointer;
}

.news-page .nm-search-panel input:focus-visible,
.news-page .nm-filter:focus-visible,
.news-page .nm-read-more:focus-visible,
.news-page a:focus-visible {
    outline: 3px solid #b58a45;
    outline-offset: 3px;
}

.news-page .nm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.news-page .nm-gallery-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 10px;
}

.news-page .nm-gallery-card img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

@media (max-width: 900px) {
    .news-page .nm-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .news-page .nm-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-page .nm-card-image {
        height: 225px;
    }
}

@media (max-width: 600px) {
    .news-page .nm-container {
        width: calc(100% - 32px);
    }

    .news-page .nm-news-grid,
    .news-page .nm-gallery-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .news-page .nm-card-image {
        height: 235px;
    }

    .news-page .nm-card-content {
        padding: 20px;
    }

    .news-page .nm-feature-image img {
        min-height: 230px;
    }

    .news-page .nm-filter-row {
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-page .nm-news-card,
    .news-page .nm-feature-image,
    .news-page .nm-media-visual {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}
/* NEWS & MEDIA — GALLERY CARD CAPTIONS */
.news-page .nm-gallery-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e3e9e3;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(8, 39, 28, 0.07);
}

.news-page .nm-gallery-card img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center;
}

.news-page .nm-gallery-card figcaption {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 18px 20px 21px;
    background: #ffffff;
    line-height: 1.6;
}

.news-page .nm-gallery-card figcaption strong {
    display: block;
    color: #123a2b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
}

.news-page .nm-gallery-card figcaption span {
    display: block;
    color: #5d6b62;
    font-size: 13px;
    line-height: 1.65;
}

@media (max-width: 600px) {
    .news-page .nm-gallery-card img {
        height: 225px;
    }

    .news-page .nm-gallery-card figcaption {
        padding: 16px 18px 19px;
    }
}

/* FINAL NEWS GALLERY — ALIGNED IMAGE ROW */
.news-page .nm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
    width: 100%;
    margin: 34px auto 0;
}

.news-page .nm-gallery-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e1e7e1;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(8, 39, 28, .08);
}

.news-page .nm-gallery-card img {
    display: block;
    width: 100%;
    height: 250px;
    flex: 0 0 250px;
    object-fit: cover;
    object-position: center;
}

.news-page .nm-gallery-card figcaption {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 20px;
    background: #fff;
}

.news-page .nm-gallery-card figcaption strong {
    color: #123a2b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    line-height: 1.4;
}

.news-page .nm-gallery-card figcaption span {
    color: #5d6b62;
    font-size: 14px;
    line-height: 1.65;
}

@media (max-width: 850px) {
    .news-page .nm-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 560px) {
    .news-page .nm-gallery-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        margin-top: 24px;
    }

    .news-page .nm-gallery-card img {
        height: 230px;
        flex-basis: 230px;
    }

    .news-page .nm-gallery-card figcaption {
        padding: 18px;
    }
}

/* NIWA chairman article: show the upper part of the photograph */
#ojema-niwa-chairman-2023 .nm-card-image img {
    object-fit: cover;
    object-position: center top !important;
}
/* NIWA article: show the complete original photograph */
#ojema-niwa-chairman-2023 .nm-card-image {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    overflow: hidden;
}

#ojema-niwa-chairman-2023 .nm-card-image img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
}

/* NIWA article: larger frame with the full portrait visible */
#ojema-niwa-chairman-2023 .nm-card-image {
    height: 560px !important;
    min-height: 560px !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    background: #f4f4f1;
}

#ojema-niwa-chairman-2023 .nm-card-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
}

/* AGATU JETTY ARTICLE GALLERY */
#agatu-jetty-terminal-2024 .nm-story-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0;
}

#agatu-jetty-terminal-2024 .nm-story-gallery figure {
    margin: 0;
    min-width: 0;
}

#agatu-jetty-terminal-2024 .nm-story-gallery img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    border-radius: 10px;
    background: #f3f3f0;
}

#agatu-jetty-terminal-2024 .nm-story-gallery figcaption {
    padding-top: 7px;
    font-size: 0.85rem;
    color: #68746f;
}

@media (max-width: 600px) {
    #agatu-jetty-terminal-2024 .nm-story-gallery {
        grid-template-columns: 1fr;
    }
}
/* UTUGOLUGWU BRIDGE STORY GALLERY */

#utugolugwu-bridge-completion-2026 .ojema-bridge-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0;
}

#utugolugwu-bridge-completion-2026 .ojema-bridge-gallery figure {
    margin: 0;
    min-width: 0;
}

#utugolugwu-bridge-completion-2026 .ojema-bridge-gallery img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}

#utugolugwu-bridge-completion-2026 .ojema-bridge-gallery figcaption {
    margin-top: 8px;
    color: #5d6b62;
    font-size: 14px;
}

#utugolugwu-bridge-completion-2026 .nm-card-image {
    height: 280px;
}

#utugolugwu-bridge-completion-2026 .nm-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 600px) {
    #utugolugwu-bridge-completion-2026 .ojema-bridge-gallery {
        grid-template-columns: 1fr;
    }
}
/* OJEMA TRANSFORMER STORY GALLERY */
#ojema-transformer-donation-2026 .ojema-transformer-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0;
}

#ojema-transformer-donation-2026 .ojema-transformer-gallery figure {
    margin: 0;
    min-width: 0;
}

#ojema-transformer-donation-2026 .ojema-transformer-gallery img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 430px;
    object-fit: contain;
    border-radius: 10px;
}

#ojema-transformer-donation-2026 .ojema-transformer-gallery figcaption {
    margin-top: 7px;
    color: #64736a;
    font-size: 14px;
}

#ojema-transformer-donation-2026 .nm-card-image {
    height: 320px;
    overflow: hidden;
}

#ojema-transformer-donation-2026 .nm-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #eef1ed;
}

@media (max-width: 600px) {
    #ojema-transformer-donation-2026 .ojema-transformer-gallery {
        grid-template-columns: 1fr;
    }
}
/* AGRO TRAINEES 2026 GALLERY */

#ojema-413-agro-trainees-2026 .ojema-agro-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin: 24px 0;
}

#ojema-413-agro-trainees-2026 .ojema-agro-gallery figure {
    margin: 0;
    min-width: 0;
}

#ojema-413-agro-trainees-2026 .ojema-agro-gallery img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}

#ojema-413-agro-trainees-2026 .nm-card-image {
    height: 320px;
    overflow: hidden;
}

#ojema-413-agro-trainees-2026 .nm-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #eef1ed;
}

@media (max-width: 600px) {
    #ojema-413-agro-trainees-2026 .ojema-agro-gallery {
        grid-template-columns: 1fr;
    }
}
/* OJEMA APA THANK YOU TOUR GALLERY */

#ojema-apa-thank-you-tour-october-2026 .ojema-tour-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin: 24px 0;
}

#ojema-apa-thank-you-tour-october-2026 .ojema-tour-gallery figure {
    margin: 0;
    min-width: 0;
}

#ojema-apa-thank-you-tour-october-2026 .ojema-tour-gallery img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    border-radius: 10px;
}

#ojema-apa-thank-you-tour-october-2026 .ojema-tour-gallery figcaption {
    margin-top: 7px;
    font-size: 13px;
    color: #68736d;
}

#ojema-apa-thank-you-tour-october-2026 .nm-card-image {
    height: 320px;
    overflow: hidden;
}

#ojema-apa-thank-you-tour-october-2026 .nm-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #eef1ed;
}

@media (max-width: 600px) {
    #ojema-apa-thank-you-tour-october-2026 .ojema-tour-gallery {
        grid-template-columns: 1fr;
    }
}
/* OBAGAJI HOSPITAL SCANNING MACHINE COVER */

#ojema-obagaji-hospital-scanning-machine-2026 .nm-card-image {
    height: 320px;
    min-height: 320px;
    overflow: hidden;
    background: #edf1ee;
}

#ojema-obagaji-hospital-scanning-machine-2026 .nm-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}