:root {
    --bdf-green-900: #273018;
    --bdf-green-700: #35451f;
    --bdf-olive-500: #63733a;
    --bdf-brown-600: #7a5432;
    --bdf-brown-dark: #3f2a1b;
    --bdf-khaki-300: #d8c49b;
    --bdf-khaki-100: #f2ead7;
    --bdf-cream: #fbfaf5;
    --bdf-sand: #f3eedf;
    --bdf-orange: #c45c00;
    --bdf-red: #9b1f2e;
    --bdf-white: #ffffff;
    --bdf-ink: #1f241d;
    --bdf-muted: #5f654f;
    --font-body: 'Open Sans', system-ui, sans-serif;
    --font-display: 'Raleway', system-ui, sans-serif;
    --bdf-gradient-premium: linear-gradient(135deg, #273018, #35451f, #63733a, #7a5432);
    --bdf-gradient-btn: linear-gradient(145deg, #ffffff 0%, #f8f3e6 45%, #d8c49b 100%);
    --bdf-gradient-ribbon: linear-gradient(180deg, #ffffff 0%, #fbfaf5 52%, #f3eedf 100%);
    --bdf-gradient-nav-hover: linear-gradient(135deg, rgba(39, 48, 24, 0.92), rgba(53, 69, 31, 0.94), rgba(99, 115, 58, 0.9));
    --bdf-shadow-ribbon: 0 2px 4px rgba(39, 48, 24, 0.05), 0 12px 36px rgba(63, 42, 27, 0.16);
    --bdf-shadow-nav-hover: 0 6px 18px rgba(31, 36, 29, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    --bdf-shadow-nav-active: 0 8px 24px rgba(31, 36, 29, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.16);
    --bdf-shadow-card: 0 18px 45px rgba(63, 42, 27, 0.10), 0 0 22px rgba(216, 196, 155, 0.12);
    --bdf-shadow-card-hover: 0 28px 62px rgba(63, 42, 27, 0.16), 0 0 28px rgba(216, 196, 155, 0.18);
    --bdf-transition-premium: all 0.28s ease;
    --bdf-transition-nav: color 0.32s ease, background 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease, font-weight 0.2s ease;
    --bdf-ease-cinematic: cubic-bezier(0.22, 0.61, 0.36, 1);
    --bdf-header-offset: 72px;
    --bdf-hero-slide-duration: 0.5s;
    --bdf-hero-radius: clamp(20px, 2.2vw, 28px);
    --bdf-hero-inset-x: clamp(1.25rem, 5vw, 2rem);
    --bdf-hero-inset-y: clamp(1.25rem, 3vh, 2rem);
    --bdf-hero-card-radius: clamp(10px, 1.2vw, 14px);
    --bdf-hero-content-offset: 50%;
    --bdf-hero-featured-shadow: 0 18px 42px rgba(26, 34, 16, 0.38), 0 4px 14px rgba(0, 0, 0, 0.2);
}

* { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--bdf-ink);
    background:
        radial-gradient(circle at 12% 8%, rgba(216, 196, 155, 0.26), transparent 24%),
        radial-gradient(circle at 90% 12%, rgba(99, 115, 58, 0.18), transparent 25%),
        radial-gradient(circle at 50% 95%, rgba(122, 84, 50, 0.12), transparent 28%),
        linear-gradient(135deg, #ffffff, var(--bdf-cream), var(--bdf-khaki-100));
    margin: 0;
    line-height: 1.65;
    padding-top: var(--bdf-header-offset);
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--bdf-green-900);
}
h1 { font-weight: 900; line-height: 1.12; }
h2 { font-weight: 900; line-height: 1.18; }
h3 { font-weight: 800; line-height: 1.22; }
h4, h5, h6 { font-weight: 800; }
a { color: var(--bdf-green-700); text-decoration: none; }
a:hover { color: var(--bdf-orange); }

.navbar-bdf {
    background: var(--bdf-gradient-ribbon);
    border-bottom: none;
    box-shadow: var(--bdf-shadow-ribbon);
}
.navbar-bdf.fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    width: 100%;
}
.navbar-bdf > .container {
    position: relative;
    z-index: 1;
}
.navbar-bdf::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--bdf-gradient-premium);
    pointer-events: none;
    z-index: 2;
}
.navbar-bdf .container-fluid {
    position: relative;
    z-index: 1;
}
.navbar-bdf .navbar-brand {
    font-family: var(--font-display);
    font-weight: 900;
    color: var(--bdf-green-900) !important;
    font-size: 0.95rem;
    line-height: 1.15;
    max-width: 280px;
    letter-spacing: -0.02em;
    transition: var(--bdf-transition-nav);
}
.navbar-bdf .navbar-brand:hover {
    color: var(--bdf-green-700) !important;
}
.bdf-header-emblem {
    height: 48px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.bdf-header-flag {
    height: 32px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(31, 36, 29, 0.18);
}
.navbar-bdf .navbar-brand:hover .bdf-header-emblem,
.navbar-bdf .navbar-brand:hover .bdf-header-flag {
    transform: scale(1.05);
}
.navbar-bdf .navbar-brand-text {
    min-width: 0;
}
.navbar-brand-motto {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: #b9a16b !important;
    display: block;
}
.navbar-bdf .navbar-nav {
    flex-wrap: nowrap;
}
.navbar-bdf .nav-item {
    white-space: nowrap;
}
.navbar-bdf .nav-link {
    color: var(--bdf-green-900) !important;
    font-weight: 500;
    font-size: 0.88rem;
    padding: 0.55rem 0.72rem !important;
    letter-spacing: 0.04em;
    border-bottom: 2px solid transparent;
    border-radius: 0.35rem 0.35rem 0 0;
    transition: var(--bdf-transition-nav);
}
.navbar-bdf .nav-link:hover,
.navbar-bdf .nav-link:focus-visible {
    color: #fff !important;
    font-weight: 600;
    background: var(--bdf-gradient-nav-hover);
    border-bottom-color: var(--bdf-khaki-300);
    box-shadow: var(--bdf-shadow-nav-hover);
    outline: none;
}
.navbar-bdf .nav-link.active {
    color: #fff !important;
    font-weight: 800;
    background: var(--bdf-gradient-premium);
    border-bottom: 3px solid var(--bdf-khaki-300);
    box-shadow: var(--bdf-shadow-nav-active);
}
.site-footer {
    position: relative;
    color: var(--bdf-khaki-100);
    padding: 1rem 0 0.35rem;
    overflow: hidden;
    isolation: isolate;
}
.site-footer-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: var(--bdf-green-900);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
}
.site-footer-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        120deg,
        rgba(26, 34, 16, 0.82) 0%,
        rgba(26, 34, 16, 0.78) 50%,
        rgba(31, 36, 29, 0.80) 100%
    );
}
.site-footer-content {
    position: relative;
    z-index: 2;
}
.site-footer h5 {
    color: #fff;
    font-size: 0.92rem;
    margin-bottom: 0.35rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.site-footer a { color: var(--bdf-khaki-300); }
.site-footer a:hover { color: #fff; }
.site-footer p,
.site-footer-contact {
    font-size: 0.82rem;
    line-height: 1.35;
    margin-bottom: 0.2rem;
    color: var(--bdf-khaki-100);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}
.site-footer-motto {
    font-size: 0.78rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}
.copyright-bar {
    background: #1a2210;
    color: var(--bdf-khaki-300);
    padding: 0.35rem 0;
    font-size: 0.75rem;
    text-align: center;
}

.section-camouflage {
    background:
        linear-gradient(180deg, rgba(242, 234, 215, 0.55), rgba(251, 250, 245, 0.9)),
        repeating-linear-gradient(
            135deg,
            rgba(216, 196, 155, 0.08) 0,
            rgba(216, 196, 155, 0.08) 12px,
            rgba(99, 115, 58, 0.05) 12px,
            rgba(99, 115, 58, 0.05) 24px
        );
}

.highlight-card-image,
.news-card-thumb {
    width: 100%;
    background: var(--bdf-khaki-100);
}
.highlight-card-image {
    height: 180px;
    object-fit: contain;
    object-position: center top;
}
.news-card-thumb {
    object-fit: contain;
    object-position: center top;
    height: 200px;
}
.commands-summary-list {
    font-size: 0.92rem;
    color: var(--bdf-ink);
}
.footer-links li {
    margin-bottom: 0.12rem;
}
.footer-links a {
    font-size: 0.82rem;
    line-height: 1.35;
}
.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}
@media (min-width: 992px) {
    .footer-social-links {
        justify-content: flex-start;
    }
}
.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: rgba(216, 196, 155, 0.15);
    border: 1px solid rgba(216, 196, 155, 0.35);
    color: var(--bdf-khaki-300) !important;
    font-size: 0.95rem;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.footer-social-link:hover {
    background: rgba(216, 196, 155, 0.28);
    border-color: var(--bdf-khaki-300);
    color: #fff !important;
}
@media (max-width: 991px) {
    .site-footer-bg {
        background-position: center 35%;
    }
}
@media (max-width: 575px) {
    .site-footer-bg {
        background-position: center 25%;
    }
}
.join-us-strip-bg {
    background:
        linear-gradient(180deg, rgba(251, 250, 245, 0.94), rgba(242, 234, 215, 0.9)),
        url("../images/hero/bdf-troops-training.svg") center/cover no-repeat;
    border-left: 4px solid var(--bdf-olive-500);
}
.join-us-requirements {
    list-style: none;
    padding-left: 0;
}
.site-footer p {
    font-size: 0.82rem;
    line-height: 1.35;
}

.hero-banner-shell {
    width: 100%;
    padding-block: clamp(0.5rem, 1.25vh, 0.85rem);
}
.hero-banner-shell > .hero-banner-container {
    width: 100%;
    max-width: 100%;
    padding-inline: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 65vh;
    max-height: 78vh;
    height: clamp(546px, 71.5vh, 832px);
    overflow: hidden;
    border-radius: var(--bdf-hero-radius);
    border: 1px solid rgba(216, 196, 155, 0.35);
    box-shadow: var(--bdf-shadow-card);
    container-type: size;
    container-name: hero;
}
.hero-banner-media {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.hero-banner-carousel,
.hero-banner-carousel .carousel-inner,
.hero-banner-carousel .carousel-item {
    height: 100%;
}
.hero-banner-carousel.carousel-fade .carousel-item {
    transition: opacity 0.5s ease-in-out;
}
.hero-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-banner-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(26, 34, 16, 0.82) 0%,
        rgba(39, 48, 24, 0.68) 42%,
        rgba(39, 48, 24, 0.42) 68%,
        rgba(26, 34, 16, 0.55) 100%
    );
    pointer-events: none;
}
.hero-banner-foreground {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    pointer-events: none;
}
.hero-banner-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100%;
    height: 100%;
    padding: 0 var(--bdf-hero-inset-x) var(--bdf-hero-inset-y);
    box-sizing: border-box;
}
.hero-banner-inner::before {
    content: "";
    flex: 0 0 var(--bdf-hero-content-offset);
    min-height: 0;
    pointer-events: none;
}
.hero-banner-copy,
.hero-banner-copy a,
.hero-featured-panel {
    pointer-events: auto;
}
.hero-banner-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 1rem;
    width: 100%;
    flex: 0 1 auto;
    min-height: 0;
    max-height: calc(100% - var(--bdf-hero-content-offset));
}
.hero-banner-copy {
    display: flex;
    flex-direction: column;
    width: 100%;
    color: #fff;
    min-height: 0;
    max-height: 100%;
}
.hero-banner-text-stage {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}
.hero-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
    flex: 0 0 auto;
}
.hero-banner-slide-copy {
    display: none;
}
.hero-banner-slide-copy.is-active {
    display: block;
}
[data-hero-content-mode="per-slide"] .hero-banner-text-stage {
    min-height: 0;
}
[data-hero-content-mode="per-slide"] .hero-banner-slide-copy {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--bdf-hero-slide-duration) ease-in-out, visibility var(--bdf-hero-slide-duration) ease-in-out;
}
[data-hero-content-mode="per-slide"] .hero-banner-slide-copy.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.hero-banner-copy .hero-banner-title {
    color: var(--hero-title-color, #fff);
}
.hero-banner-copy .hero-banner-motto {
    color: var(--hero-subtitle-color, #efe4cc);
}
.hero-banner-copy .hero-banner-intro {
    color: var(--hero-intro-color, rgba(255, 255, 255, 0.96));
}
.hero-banner-title {
    font-size: clamp(1.6rem, 4.2vw + 0.5rem, 5rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 0.45rem;
    overflow-wrap: anywhere;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.42), 0 1px 2px rgba(0, 0, 0, 0.28);
}
.hero-banner-motto {
    font-size: clamp(1rem, 1.55vw + 0.4rem, 1.75rem);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.55rem;
    line-height: 1.35;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.38), 0 1px 2px rgba(0, 0, 0, 0.22);
}
.hero-banner-intro {
    font-size: clamp(1rem, 1.35vw + 0.35rem, 1.65rem);
    font-weight: 600;
    line-height: 1.45;
    max-width: 48ch;
    margin-bottom: 0;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.38), 0 1px 2px rgba(0, 0, 0, 0.22);
}
.hero-banner--compact .hero-banner-title {
    font-size: clamp(1.35rem, 3.4vw + 0.4rem, 3.25rem);
    line-height: 1.08;
    margin-bottom: 0.35rem;
}
.hero-banner--compact .hero-banner-motto {
    font-size: clamp(0.85rem, 1.2vw + 0.35rem, 1.35rem);
    letter-spacing: 0.12em;
    margin-bottom: 0.4rem;
}
.hero-banner--compact .hero-banner-intro {
    font-size: clamp(0.9rem, 1.1vw + 0.3rem, 1.25rem);
    line-height: 1.38;
    max-width: 42ch;
}
.hero-banner--compact .hero-banner-actions {
    margin-top: 0.5rem;
    gap: 0.5rem;
}
@supports (container-type: size) {
    @container hero (max-height: 620px) {
        .hero-banner-title {
            font-size: clamp(1.4rem, 6.2cqi, 3.35rem);
        }
        .hero-banner-motto {
            font-size: clamp(0.9rem, 3.2cqi, 1.35rem);
        }
        .hero-banner-intro {
            font-size: clamp(0.95rem, 3.4cqi, 1.3rem);
            line-height: 1.38;
        }
    }
    @container hero (max-height: 520px) {
        .hero-banner-title {
            font-size: clamp(1.25rem, 5.8cqi, 2.85rem);
        }
        .hero-banner-intro {
            max-width: 38ch;
        }
    }
}
@keyframes bdfHeroReveal {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.988);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@keyframes bdfHeroFade {
    from { opacity: 0; }
    to { opacity: 1; }
}
.hero-banner-slide-copy.is-animating[data-animation="fade-up"] .hero-banner-title,
.hero-banner-slide-copy.is-animating[data-animation="fade-up"] .hero-banner-motto,
.hero-banner-slide-copy.is-animating[data-animation="fade-up"] .hero-banner-intro {
    animation: bdfHeroReveal var(--bdf-hero-slide-duration) var(--bdf-ease-cinematic) both;
    will-change: opacity, transform;
}
.hero-banner-slide-copy.is-animating[data-animation="fade-up"] .hero-banner-motto {
    animation-delay: 0.08s;
}
.hero-banner-slide-copy.is-animating[data-animation="fade-up"] .hero-banner-title {
    animation-delay: 0s;
}
.hero-banner-slide-copy.is-animating[data-animation="fade-up"] .hero-banner-intro {
    animation-delay: 0.16s;
}
.hero-banner-slide-copy.is-animating[data-animation="fade"] .hero-banner-title,
.hero-banner-slide-copy.is-animating[data-animation="fade"] .hero-banner-motto,
.hero-banner-slide-copy.is-animating[data-animation="fade"] .hero-banner-intro {
    animation: bdfHeroFade var(--bdf-hero-slide-duration) ease both;
}
.hero-banner-slide-copy.is-animating[data-animation="fade"] .hero-banner-motto {
    animation-delay: 0.08s;
}
.hero-banner-slide-copy.is-animating[data-animation="fade"] .hero-banner-intro {
    animation-delay: 0.16s;
}
.hero-banner-actions.is-animating {
    animation: bdfHeroReveal var(--bdf-hero-slide-duration) var(--bdf-ease-cinematic) both;
    animation-delay: 0.24s;
    will-change: opacity, transform;
}
.btn-bdf-red {
    background: var(--bdf-red);
    border: 2px solid var(--bdf-red);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.55rem 1.35rem;
    font-size: 0.85rem;
    border-radius: 999px;
    transition: var(--bdf-transition-premium);
}
.btn-bdf-red:hover {
    background: #7f1824;
    border-color: #7f1824;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(31, 36, 29, 0.28);
}
.btn-hero-news {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(216, 196, 155, 0.52);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.55rem 1.35rem;
    font-size: 0.85rem;
    border-radius: 999px;
    transition: var(--bdf-transition-premium);
}
.btn-hero-news:hover {
    transform: translateY(-3px);
    color: #fff !important;
    background: var(--bdf-gradient-premium);
    border-color: var(--bdf-khaki-300);
    box-shadow: 0 24px 48px rgba(31, 36, 29, 0.30), 0 0 22px rgba(216, 196, 155, 0.20);
}
.btn-join-us {
    background: var(--bdf-orange);
    border: 2px solid var(--bdf-orange);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.55rem 1.35rem;
    font-size: 0.85rem;
    border-radius: 999px;
    transition: var(--bdf-transition-premium);
}
.btn-join-us:hover {
    background: #a34d00;
    border-color: #a34d00;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(31, 36, 29, 0.28);
}
.hero-featured-panel {
    width: 100%;
    max-width: 100%;
    margin: 0;
    align-self: start;
    border-radius: var(--bdf-hero-card-radius);
    overflow: hidden;
    box-shadow: var(--bdf-hero-featured-shadow);
    border: 1px solid rgba(216, 196, 155, 0.42);
}
.hero-featured-panel-image {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
    border: none;
    border-radius: 0;
    box-shadow: none;
}
.hero-banner-indicators {
    margin-bottom: 1rem;
    z-index: 5;
    pointer-events: auto;
}
.hero-banner-indicators [data-bs-target] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.65);
}
.hero-banner-indicators .active {
    background-color: var(--bdf-khaki-300);
}
.hero-banner-control {
    width: 6%;
    z-index: 5;
    pointer-events: auto;
}
.hero-banner-control .carousel-control-prev-icon,
.hero-banner-control .carousel-control-next-icon {
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

@media (min-width: 768px) {
    :root {
        --bdf-hero-radius: clamp(18px, 2vw, 24px);
        --bdf-hero-inset-x: clamp(2.5rem, 7vw, 5.5rem);
        --bdf-hero-content-offset: 44%;
    }
    .hero-banner-layout--with-panel {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.76fr);
        align-items: start;
        gap: 1.5rem;
    }
    .hero-banner-layout--with-panel .hero-banner-copy {
        grid-column: 1;
    }
    .hero-banner-layout--with-panel .hero-featured-panel {
        grid-column: 2;
        align-self: start;
        justify-self: end;
        width: 100%;
        max-width: 100%;
    }
    .hero-banner-layout:not(.hero-banner-layout--with-panel) .hero-banner-intro {
        max-width: min(56ch, 100%);
    }
}
@media (min-width: 992px) {
    :root {
        --bdf-hero-radius: clamp(20px, 2.2vw, 28px);
        --bdf-hero-inset-x: clamp(5.5rem, 7vw, 7.5rem);
        --bdf-hero-content-offset: 50%;
    }
    .hero-banner-layout--with-panel {
        gap: 2rem;
    }
}
@media (max-width: 767px) {
    :root {
        --bdf-hero-radius: clamp(14px, 1.8vw, 18px);
        --bdf-hero-inset-x: clamp(0.85rem, 4vw, 1.15rem);
        --bdf-hero-inset-y: clamp(0.85rem, 2vh, 1.25rem);
        --bdf-hero-content-offset: 32%;
    }
    .hero-banner {
        height: auto;
        min-height: clamp(520px, 62vh, 620px);
        max-height: none;
    }
    .hero-banner-actions .btn {
        flex: 1 1 calc(50% - 0.375rem);
        text-align: center;
    }
    .hero-banner-layout--with-panel .hero-featured-panel {
        grid-column: 1;
        width: 80%;
        max-width: 80%;
        margin-inline: auto;
    }
    .hero-featured-panel-image {
        width: 100%;
        max-width: 100%;
    }
}

.btn-bdf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: var(--bdf-gradient-btn);
    border: 1px solid rgba(255, 255, 255, 0.72);
    color: var(--bdf-green-900) !important;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    box-shadow: 0 16px 34px rgba(31, 36, 29, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.92);
    transition: var(--bdf-transition-premium);
}
.btn-bdf:hover {
    transform: translateY(-3px);
    background: var(--bdf-gradient-premium);
    border-color: rgba(216, 196, 155, 0.52);
    color: #fff !important;
    box-shadow: 0 24px 48px rgba(31, 36, 29, 0.30), 0 0 22px rgba(216, 196, 155, 0.20);
}
.btn-bdf-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: 1px solid rgba(122, 84, 50, 0.28);
    color: var(--bdf-green-900) !important;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    background: #fff;
    transition: var(--bdf-transition-premium);
}
.btn-bdf-outline:hover {
    transform: translateY(-3px);
    background: var(--bdf-gradient-premium);
    border-color: var(--bdf-khaki-300);
    color: #fff !important;
    box-shadow: 0 24px 48px rgba(31, 36, 29, 0.30), 0 0 22px rgba(216, 196, 155, 0.20);
}
.btn-bdf.btn-sm,
.btn-bdf-outline.btn-sm {
    padding: 0.4rem 0.85rem;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}
.btn-cta {
    background: var(--bdf-orange);
    border-color: var(--bdf-orange);
    color: #fff;
    font-weight: 800;
    border-radius: 999px;
    transition: var(--bdf-transition-premium);
}
.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(31, 36, 29, 0.24);
    color: #fff;
}
.badge-bdf {
    background: var(--bdf-gradient-premium);
    color: #fff;
    font-weight: 900;
    letter-spacing: 0.04em;
    box-shadow: 0 8px 18px rgba(63, 42, 27, 0.16);
}
.text-bdf-olive { color: var(--bdf-olive-500) !important; }
.alert-bdf {
    background: var(--bdf-khaki-100);
    border: 1px solid var(--bdf-khaki-300);
    color: var(--bdf-ink);
}

.section-label {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    font-weight: 900;
    color: #fff;
    background: var(--bdf-gradient-premium);
    padding: 0.4rem 0.9rem;
    border-radius: 0.35rem;
    box-shadow: 0 10px 24px rgba(63, 42, 27, 0.14);
}
.section-label.text-white-50,
.internal-page-hero .section-label,
.lead-commander-feature .section-label,
.lead-org-feature .section-label,
.about-bdf-org .section-label,
.about-bdf-cta .section-label,
.pub-cta .section-label,
.recruit-process-feature .section-label,
.recruit-cta .section-label,
.lead-cta .section-label,
.contact-strip-bg .section-label {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(216, 196, 155, 0.42);
    box-shadow: none;
}
.card-bdf {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(122, 84, 50, 0.14);
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--bdf-shadow-card);
    transition: var(--bdf-transition-premium);
    height: 100%;
}
.card-bdf > * {
    position: relative;
    z-index: 2;
}
.card-bdf:hover {
    transform: translateY(-7px);
    box-shadow: var(--bdf-shadow-card-hover);
}
.card-bdf .card-img-top {
    height: 180px;
    object-fit: cover;
    background: var(--bdf-khaki-100);
}
.news-meta {
    font-size: 0.8rem;
    color: var(--bdf-muted);
}
.leader-card {
    text-align: center;
    padding: 1.5rem;
}
.leader-avatar {
    width: 120px;
    height: 140px;
    background: var(--bdf-khaki-100);
    border-radius: 0.5rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--bdf-olive-500);
}
img.leader-avatar {
    object-fit: contain;
    object-position: center top;
    display: block;
}
.lead-portrait-profile {
    width: 200px;
    height: 240px;
    object-fit: contain;
    object-position: center top;
    background: var(--bdf-khaki-100);
    border-radius: 0.5rem;
    display: block;
}
.page-header {
    background: linear-gradient(135deg, var(--bdf-green-700), var(--bdf-olive-500));
    color: #fff;
    padding: 2.5rem 0;
    margin-bottom: 2rem;
}
.page-header h1 { color: #fff; margin: 0; font-weight: 900; }

/* Internal page hero — compact dimensions aligned with .page-header (Mission Areas reference) */
.internal-page-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    border-bottom: 3px solid var(--bdf-green-700);
}
.internal-page-hero-carousel {
    position: absolute;
    inset: 0;
    height: 100%;
}
.internal-page-hero-carousel .carousel-inner,
.internal-page-hero-carousel .carousel-item {
    height: 100%;
}
.internal-page-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.internal-page-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(105deg, rgba(26, 34, 16, 0.82), rgba(39, 48, 24, 0.58));
}
.internal-page-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 2.5rem 0;
}
.internal-page-hero h1 {
    color: #fff;
    margin: 0;
    font-weight: 900;
}
.internal-page-hero .breadcrumb-bdf {
    margin-bottom: 0.5rem;
}
.internal-page-hero .breadcrumb-bdf a {
    color: var(--bdf-khaki-300);
}
.internal-page-hero-subtitle {
    color: rgba(242, 234, 215, 0.95);
    font-size: 1rem;
    margin-top: 0.5rem;
    max-width: 60ch;
}
.internal-page-hero-indicators {
    z-index: 3;
}
.internal-page-hero-indicators [data-bs-target] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.65);
    background-color: rgba(255, 255, 255, 0.45);
}
.internal-page-hero-indicators .active {
    background-color: var(--bdf-khaki-300);
}

.breadcrumb-bdf {
    background: transparent;
    padding: 0;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}
.breadcrumb-bdf a { color: var(--bdf-khaki-300); }
.article-body { font-size: 1.05rem; }
.article-body p { margin-bottom: 1.25rem; }
.search-box {
    max-width: 160px;
    flex-shrink: 0;
}
.search-box .form-control {
    border-color: var(--bdf-khaki-300);
    background: var(--bdf-cream);
    font-size: 0.78rem;
}
.search-box .form-control:focus {
    border-color: var(--bdf-olive-500);
    box-shadow: 0 0 0 0.15rem rgba(99, 115, 58, 0.2);
}

.about-bdf-intro {
    border-left: 4px solid var(--bdf-olive-500);
}
.about-bdf-tile-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 115, 58, 0.12);
    color: var(--bdf-olive-500);
}
.about-bdf-stat {
    border: 1px solid rgba(99, 115, 58, 0.18);
}
.about-bdf-stat-value {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--bdf-green-700);
    line-height: 1.2;
}
.about-bdf-org,
.about-bdf-cta {
    background: rgba(251, 250, 245, 0.92);
}

@media (min-width: 1200px) {
    .navbar-bdf .navbar-brand {
        max-width: none;
    }
    .navbar-bdf .nav-link {
        padding: 0.5rem 0.7rem !important;
    }
    .search-box {
        max-width: 180px;
    }
}
@media (max-width: 1199px) {
    .navbar-bdf .navbar-collapse {
        background: linear-gradient(180deg, #fbfaf5 0%, #f5f0e4 100%);
        border-top: 1px solid rgba(216, 196, 155, 0.5);
        padding: 1rem;
        margin-top: 0.5rem;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    }
    .navbar-bdf .navbar-nav {
        flex-wrap: wrap;
        gap: 0.15rem;
    }
    .navbar-bdf .nav-link {
        padding: 0.55rem 0.75rem !important;
    }
    .search-box {
        max-width: 100%;
        margin-top: 0.75rem;
    }
    .bdf-header-emblem {
        height: 40px;
    }
}
@media (max-width: 575px) {
    .navbar-bdf .navbar-brand {
        font-size: 0.8rem;
    }
    .bdf-header-emblem {
        height: 36px;
    }
    .navbar-brand-motto {
        font-size: 0.55rem;
    }
    .highlight-card-image {
        height: 150px;
    }
    .news-card-thumb {
        height: 170px;
    }
    .site-footer {
        padding: 0.75rem 0 0.25rem;
        text-align: center;
    }
    .site-footer .ms-4 {
        margin-left: 0 !important;
        display: block;
        margin-top: 0.25rem;
    }
    .about-bdf-stat-value {
        font-size: 1.5rem;
    }
}

/* About page visual enhancement overrides */
.about-bdf-strip-bg {
    background:
        linear-gradient(180deg, rgba(251, 250, 245, 0.94), rgba(242, 234, 215, 0.9)),
        url("../images/hero/bdf-aircraft.svg") center/cover no-repeat;
}
.about-bdf-tile {
    overflow: hidden;
}
.about-bdf-tile-image {
    height: 170px;
    object-fit: cover;
}
.about-bdf-glance {
    position: relative;
    background: url("../images/hero/bdf-armour-ceremonial.svg") center/cover no-repeat;
    overflow: hidden;
}
.about-bdf-glance::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(26, 34, 16, 0.78), rgba(39, 48, 24, 0.58));
}
.about-bdf-glance > * {
    position: relative;
    z-index: 2;
}
.about-bdf-stat {
    background: rgba(251, 250, 245, 0.93);
    box-shadow: 0 6px 18px rgba(26, 34, 16, 0.14);
}
.about-bdf-stat-icon {
    color: var(--bdf-olive-500);
}
.about-bdf-org {
    position: relative;
    background: url("../images/hero/bdf-troops-training.svg") center/cover no-repeat;
    overflow: hidden;
    border-radius: 0.5rem;
}
.about-bdf-org-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(26, 34, 16, 0.82), rgba(39, 48, 24, 0.55));
}
.about-bdf-org-content {
    position: relative;
    z-index: 2;
}
.about-bdf-cta {
    position: relative;
    background: url("../images/hero/bdf-aircraft.svg") center/cover no-repeat;
    overflow: hidden;
    border-radius: 0.5rem;
}
.about-bdf-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(39, 48, 24, 0.78), rgba(99, 115, 58, 0.5));
}
.about-bdf-cta-content {
    position: relative;
    z-index: 2;
}
@media (max-width: 575px) {
    .about-bdf-tile-image {
        height: 150px;
    }
}

/* Leadership & Structure redesign */
.lead-commander-feature {
    position: relative;
    background: url("../images/leadership/organisation-overview.svg") center/cover no-repeat;
    overflow: hidden;
    border-radius: 0.5rem;
}
.lead-commander-feature-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(26, 34, 16, 0.82), rgba(39, 48, 24, 0.58));
}
.lead-commander-feature-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
}
.lead-commander-image {
    width: 100%;
    max-width: 250px;
    max-height: 320px;
    object-fit: contain;
    object-position: center top;
    border: 2px solid rgba(216, 196, 155, 0.75);
    border-radius: 0.4rem;
    box-shadow: 0 8px 24px rgba(26, 34, 16, 0.3);
    background: rgba(242, 234, 215, 0.08);
    display: block;
    margin: 0 auto;
}
.lead-commander-image--formal {
    max-width: 280px;
    max-height: 360px;
}
.lead-cic-feature-card {
    position: relative;
    max-width: 720px;
    background: url("../images/leadership/organisation-overview.svg") center/cover no-repeat;
    overflow: hidden;
    border-radius: 0.5rem;
}
.lead-cic-feature-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 34, 16, 0.88), rgba(39, 48, 24, 0.72));
}
.lead-cic-feature-content {
    position: relative;
    z-index: 2;
    padding: 2rem 1.5rem;
}
.lead-cic-title {
    font-size: 1.05rem;
}
.lead-cic-summary {
    max-width: 540px;
    font-size: 0.95rem;
    line-height: 1.6;
}
.lead-profile-image {
    height: 190px;
    object-fit: contain;
    object-position: center top;
}
.lead-command-image {
    height: 150px;
    object-fit: contain;
    object-position: center;
}

.lead-org-feature {
    position: relative;
    background: url("../images/leadership/organisation-overview.svg") center/cover no-repeat;
    border-radius: 0.5rem;
    overflow: hidden;
}
.lead-org-feature-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(26, 34, 16, 0.82), rgba(39, 48, 24, 0.55));
}
.lead-org-feature-content {
    position: relative;
    z-index: 2;
}
.lead-principles {
    background:
        linear-gradient(180deg, rgba(242, 234, 215, 0.75), rgba(251, 250, 245, 0.92)),
        url("../images/leadership/principles-bg.svg") center/cover no-repeat;
}
.lead-cta {
    position: relative;
    background: url("../images/hero/bdf-aircraft.svg") center/cover no-repeat;
    border-radius: 0.5rem;
    overflow: hidden;
}
.lead-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(39, 48, 24, 0.78), rgba(99, 115, 58, 0.5));
}
.lead-cta-content {
    position: relative;
    z-index: 2;
}

/* Phase 9 — News */
.news-featured {
    overflow: hidden;
    border-radius: 0.65rem;
    box-shadow: var(--bdf-shadow-card);
    transition: var(--bdf-transition-premium);
}
.news-featured:hover {
    transform: translateY(-6px);
    box-shadow: var(--bdf-shadow-card-hover);
}
.news-featured-image,
.news-grid-thumb {
    width: 100%;
    object-fit: contain;
    object-position: center top;
    display: block;
    background: var(--bdf-khaki-100);
}
.news-featured-image {
    min-height: 280px;
    height: 100%;
}
.news-grid-thumb {
    height: 190px;
}
.news-featured-content {
    border-left: 4px solid var(--bdf-olive-500);
}
.news-meta {
    font-size: 0.88rem;
    color: var(--bdf-muted);
}
.news-article-title {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    font-weight: 900;
    line-height: 1.2;
}
.news-article-featured-image {
    width: 100%;
    border-radius: 0.5rem;
    object-fit: contain;
    object-position: center top;
    max-height: 480px;
    background: var(--bdf-khaki-100);
}
.news-article-body {
    font-size: 1.08rem;
    line-height: 1.75;
}
.news-article-lead {
    font-size: 1.15rem;
}
.news-inline-image {
    width: 100%;
}
.search-form-wide {
    max-width: 720px;
}

/* Phase 9 — Media Centre */
.media-featured-panel {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    background: url("../images/hero/bdf-armour-ceremonial.svg") center/cover no-repeat;
}
.media-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(26, 34, 16, 0.84), rgba(39, 48, 24, 0.62));
}
.media-featured-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
}
.media-featured-image,
.media-gallery-thumb {
    width: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: var(--bdf-khaki-100);
}
.media-featured-image {
    min-height: 260px;
}
.media-gallery-thumb {
    height: 160px;
}
.media-gallery-tile {
    overflow: hidden;
}
.gallery-lightbox-trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    text-align: left;
}
.gallery-lightbox-trigger:focus-visible {
    outline: 2px solid var(--bdf-olive-500);
    outline-offset: 2px;
}
.gallery-lightbox-trigger .media-gallery-thumb {
    pointer-events: none;
}
.media-video-placeholder {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bdf-green-900), var(--bdf-green-700));
    color: var(--bdf-khaki-300);
}
.media-recent-thumb {
    width: 72px;
    height: 72px;
    object-fit: contain;
    object-position: center;
    background: var(--bdf-khaki-100);
}
.media-recent-icon {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bdf-khaki-100);
    border-radius: 0.35rem;
    color: var(--bdf-olive-500);
    font-size: 1.4rem;
}

/* Phase 9 — Publications */
.pub-cover-wrap {
    overflow: hidden;
}
.pub-cover-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    background: var(--bdf-khaki-100);
}
.pub-cover-image-sm {
    min-height: 100%;
}
.pub-card {
    overflow: hidden;
    transition: var(--bdf-transition-premium);
}
.pub-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--bdf-shadow-card-hover);
}
.pub-cta {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    background: url("../images/hero/bdf-aircraft.svg") center/cover no-repeat;
}
.pub-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(39, 48, 24, 0.78), rgba(99, 115, 58, 0.5));
}
.pub-cta-content {
    position: relative;
    z-index: 2;
}

/* Phase 9 — Contact */
.contact-strip-bg {
    background:
        linear-gradient(180deg, rgba(251, 250, 245, 0.94), rgba(242, 234, 215, 0.9)),
        url("../images/hero/bdf-aircraft.svg") center/cover no-repeat;
    border-left: 4px solid var(--bdf-olive-500);
}
.contact-card-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 115, 58, 0.12);
    color: var(--bdf-olive-500);
    font-size: 1.25rem;
}
.contact-office-feature {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    background: url("../images/leadership/organisation-overview.svg") center/cover no-repeat;
}
.contact-office-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(26, 34, 16, 0.82), rgba(39, 48, 24, 0.58));
}
.contact-office-content {
    position: relative;
    z-index: 2;
}
.contact-map-placeholder {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    background: url("../images/hero/bdf-troops-training.svg") center/cover no-repeat;
}
.contact-map-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(251, 250, 245, 0.88), rgba(242, 234, 215, 0.92));
}
.contact-map-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.contact-methods {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    background: url("../images/hero/bdf-armour-ceremonial.svg") center/cover no-repeat;
}
.contact-methods-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(39, 48, 24, 0.78), rgba(99, 115, 58, 0.5));
}
.contact-methods-content {
    position: relative;
    z-index: 2;
}

/* Phase 9 — Recruitment */
.recruit-strip-bg {
    background:
        linear-gradient(180deg, rgba(251, 250, 245, 0.94), rgba(242, 234, 215, 0.9)),
        url("../images/hero/bdf-troops-training.svg") center/cover no-repeat;
    border-left: 4px solid var(--bdf-olive-500);
}
.recruit-tile {
    overflow: hidden;
}
.recruit-tile-image {
    height: 150px;
    object-fit: cover;
}
.recruit-tile-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 115, 58, 0.12);
    color: var(--bdf-olive-500);
}
.recruit-process-feature {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    background: url("../images/leadership/commander-feature.svg") center/cover no-repeat;
}
.recruit-process-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(26, 34, 16, 0.82), rgba(39, 48, 24, 0.58));
}
.recruit-process-content {
    position: relative;
    z-index: 2;
}
.recruit-step-label {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--bdf-olive-500);
    font-size: 0.85rem;
}
.recruit-cta {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    background: url("../images/hero/bdf-aircraft.svg") center/cover no-repeat;
}
.recruit-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(39, 48, 24, 0.78), rgba(99, 115, 58, 0.5));
}
.recruit-cta-content {
    position: relative;
    z-index: 2;
}
.lead-profile-card {
    border-top: 3px solid var(--bdf-olive-500);
    transition: var(--bdf-transition-premium);
}
.lead-profile-card:hover,
.lead-command-tile:hover,
.leader-card:hover,
.highlight-card:hover,
.news-card:hover,
.news-grid-card:hover,
.about-bdf-tile:hover,
.recruit-tile:hover {
    transform: translateY(-7px);
    box-shadow: var(--bdf-shadow-card-hover);
}
.highlight-card.card-bdf::before,
.news-card.card-bdf::before,
.news-grid-card.card-bdf::before,
.pub-card.card-bdf::before,
.lead-profile-card.card-bdf::before,
.lead-command-tile.card-bdf::before,
.leader-card.card-bdf::before,
.media-gallery-tile.card-bdf::before,
.about-bdf-tile.card-bdf::before,
.recruit-tile.card-bdf::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-130%);
    background: linear-gradient(115deg, transparent 0%, rgba(216, 196, 155, 0.25) 45%, transparent 70%);
    pointer-events: none;
    transition: transform 0.75s ease;
    z-index: 3;
}
.highlight-card.card-bdf:hover::before,
.news-card.card-bdf:hover::before,
.news-grid-card.card-bdf:hover::before,
.pub-card.card-bdf:hover::before,
.lead-profile-card.card-bdf:hover::before,
.lead-command-tile.card-bdf:hover::before,
.leader-card.card-bdf:hover::before,
.media-gallery-tile.card-bdf:hover::before,
.about-bdf-tile.card-bdf:hover::before,
.recruit-tile.card-bdf:hover::before {
    transform: translateX(130%);
}
.highlight-card,
.news-card,
.news-grid-card,
.pub-card,
.lead-profile-card,
.lead-command-tile,
.leader-card,
.media-gallery-tile,
.about-bdf-tile,
.recruit-tile {
    will-change: transform;
}

@media (max-width: 767px) {
    .news-featured-image {
        min-height: 200px;
    }
    .news-grid-thumb {
        height: 170px;
    }
    .media-featured-image {
        min-height: 200px;
    }
    .pub-cover-image {
        height: 180px;
    }
    .site-footer {
        padding: 0.75rem 0 0.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .hero-banner-title,
    .hero-banner-motto,
    .hero-banner-intro,
    .hero-banner-actions,
    .hero-banner-slide-copy.is-animating .hero-banner-title,
    .hero-banner-slide-copy.is-animating .hero-banner-motto,
    .hero-banner-slide-copy.is-animating .hero-banner-intro {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        will-change: auto;
    }
    [data-hero-content-mode="per-slide"] .hero-banner-slide-copy {
        transition: none !important;
    }
    .hero-banner-carousel.carousel-fade .carousel-item {
        transition: none !important;
    }
    .navbar-bdf .nav-link {
        transition: none !important;
    }
    .card-bdf,
    .btn-bdf,
    .btn-bdf-outline,
    .btn-bdf-red,
    .btn-hero-news,
    .btn-join-us,
    .btn-cta,
    .news-featured,
    .pub-card,
    .highlight-card,
    .news-card,
    .news-grid-card,
    .lead-profile-card,
    .lead-command-tile,
    .leader-card,
    .media-gallery-tile,
    .about-bdf-tile,
    .recruit-tile {
        animation: none !important;
        transition: none !important;
    }
    .card-bdf:hover,
    .news-featured:hover,
    .pub-card:hover,
    .highlight-card:hover,
    .news-card:hover,
    .news-grid-card:hover,
    .lead-profile-card:hover,
    .lead-command-tile:hover,
    .leader-card:hover,
    .about-bdf-tile:hover,
    .recruit-tile:hover,
    .btn-bdf:hover,
    .btn-bdf-outline:hover,
    .btn-bdf-red:hover,
    .btn-hero-news:hover,
    .btn-join-us:hover,
    .btn-cta:hover {
        transform: none;
    }
    .bdf-collapsible-group .accordion-collapse {
        transition: none !important;
    }
    .highlight-card.card-bdf::before,
    .news-card.card-bdf::before,
    .news-grid-card.card-bdf::before,
    .pub-card.card-bdf::before,
    .lead-profile-card.card-bdf::before,
    .lead-command-tile.card-bdf::before,
    .leader-card.card-bdf::before,
    .media-gallery-tile.card-bdf::before,
    .about-bdf-tile.card-bdf::before,
    .recruit-tile.card-bdf::before {
        display: none;
    }
}

/* Gallery lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.gallery-lightbox[hidden] {
    display: none !important;
}
.gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 34, 16, 0.92);
}
.gallery-lightbox-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 960px);
    max-height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
.gallery-lightbox-image-wrap {
    position: relative;
    width: 100%;
    max-height: calc(100vh - 8rem);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 0.5rem;
    overflow: hidden;
}
.gallery-lightbox-image {
    max-width: 100%;
    max-height: calc(100vh - 8rem);
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.gallery-lightbox-caption {
    color: #fff;
    font-size: 0.9rem;
    text-align: center;
    margin: 0;
    max-width: 60ch;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.gallery-lightbox-close,
.gallery-lightbox-prev,
.gallery-lightbox-next {
    position: absolute;
    border: 0;
    background: rgba(26, 34, 16, 0.75);
    color: #fff;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.15s ease;
}
.gallery-lightbox-close:hover,
.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover,
.gallery-lightbox-close:focus-visible,
.gallery-lightbox-prev:focus-visible,
.gallery-lightbox-next:focus-visible {
    background: var(--bdf-olive-500);
    outline: none;
}
.gallery-lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
}
.gallery-lightbox-prev {
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
}
.gallery-lightbox-next {
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
}
@media (max-width: 575px) {
    .gallery-lightbox {
        padding: 0.5rem;
    }
    .gallery-lightbox-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 2.5rem;
        height: 2.5rem;
    }
    .gallery-lightbox-prev,
    .gallery-lightbox-next {
        width: 2.5rem;
        height: 2.5rem;
    }
    .gallery-lightbox-image-wrap,
    .gallery-lightbox-image {
        max-height: calc(100vh - 6rem);
    }
}

/* Collapsible sections */
.bdf-collapsible-group {
    --bs-accordion-border-color: rgba(39, 48, 24, 0.12);
    --bs-accordion-btn-bg: #fff;
    --bs-accordion-active-bg: #f8f6ef;
    --bs-accordion-active-color: var(--bdf-olive-900, #273018);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(99, 115, 58, 0.2);
}
.bdf-collapsible-group .bdf-collapsible-item {
    border: 1px solid rgba(39, 48, 24, 0.1);
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.bdf-collapsible-group .bdf-collapsible-item:last-child {
    margin-bottom: 0;
}
.bdf-collapsible-trigger {
    font-family: inherit;
    padding: 1rem 1.25rem;
    gap: 0.75rem;
}
.bdf-collapsible-trigger:not(.collapsed) {
    box-shadow: inset 0 -1px 0 rgba(39, 48, 24, 0.08);
}
.bdf-collapsible-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--bdf-olive-900, #273018);
}
.bdf-collapsible-section--reference .bdf-collapsible-title {
    font-size: 1rem;
}
.bdf-collapsible-body {
    padding: 1.25rem;
}
.bdf-collapsible-section:target {
    scroll-margin-top: calc(var(--bdf-header-offset, 80px) + 1rem);
}
.about-bdf-tile--prominent .about-bdf-tile-image {
    min-height: 180px;
}

/* Heritage — Bagaka ba Pele */
.bagaka-ba-pele-hero {
    position: relative;
    min-height: 280px;
    background:
        linear-gradient(115deg, rgba(26, 34, 16, 0.88), rgba(39, 48, 24, 0.72)),
        url('../images/leadership/commander-feature.svg') center/cover no-repeat;
}
.bagaka-ba-pele-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(26, 34, 16, 0.35) 100%);
    pointer-events: none;
}
.bagaka-ba-pele-hero-content {
    position: relative;
    z-index: 1;
}
.bagaka-hero-card-image {
    height: 160px;
    object-fit: cover;
}
.bagaka-hero-card {
    box-shadow: 0 8px 24px rgba(26, 34, 16, 0.12);
}
.hall-of-honour-placeholder {
    border-left: 4px solid var(--bdf-olive-500, #63733a);
    background: linear-gradient(180deg, #fff, #f8f6ef);
}
.bdf-reference-block:last-child {
    border-bottom: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Explore BDF floating panel */
.bdf-explore-panel {
    --bdf-explore-tab-width: 3.25rem;
    --bdf-explore-preview-width: 17rem;
    --bdf-explore-expanded-width: 26rem;
    position: fixed;
    top: calc(var(--bdf-header-offset, 72px) + 1rem);
    right: 0;
    bottom: 1.5rem;
    z-index: 1025;
    pointer-events: none;
}
.bdf-explore-panel-shell {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    height: 100%;
    pointer-events: auto;
}
.bdf-explore-tab {
    position: relative;
    z-index: 2;
    flex: 0 0 var(--bdf-explore-tab-width);
    width: var(--bdf-explore-tab-width);
    border: 0;
    border-radius: 0.65rem 0 0 0.65rem;
    background: var(--bdf-gradient-ribbon);
    box-shadow: var(--bdf-shadow-ribbon);
    color: var(--bdf-green-900);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 1rem 0.35rem;
    cursor: pointer;
    transition: var(--bdf-transition-nav);
}
.bdf-explore-tab::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--bdf-gradient-premium);
    border-radius: 0 0 0 0.65rem;
}
.bdf-explore-tab:hover,
.bdf-explore-tab:focus-visible {
    background: var(--bdf-gradient-nav-hover);
    color: #fff;
    outline: none;
    box-shadow: var(--bdf-shadow-nav-hover);
}
.bdf-explore-tab-icon {
    font-size: 1.15rem;
    line-height: 1;
}
.bdf-explore-tab-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.1;
    max-height: 9rem;
}
.bdf-explore-panel-body {
    position: absolute;
    top: 0;
    right: var(--bdf-explore-tab-width);
    width: 0;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    background: linear-gradient(180deg, #fff, var(--bdf-cream));
    border: 1px solid rgba(39, 48, 24, 0.12);
    border-right: 0;
    border-radius: 0.75rem 0 0 0.75rem;
    box-shadow: var(--bdf-shadow-card);
    transition:
        width 0.28s var(--bdf-ease-cinematic),
        opacity 0.24s ease,
        visibility 0.24s ease;
}
.bdf-explore-panel.is-preview .bdf-explore-panel-body {
    width: var(--bdf-explore-preview-width);
    opacity: 1;
    visibility: visible;
}
.bdf-explore-panel.is-expanded .bdf-explore-panel-body {
    width: var(--bdf-explore-expanded-width);
    opacity: 1;
    visibility: visible;
}
.bdf-explore-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid rgba(39, 48, 24, 0.08);
}
.bdf-explore-close {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.bdf-explore-nav {
    height: calc(100% - 4.75rem);
    overflow: auto;
    padding: 0.75rem;
}
.bdf-explore-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.5rem;
    color: var(--bdf-ink);
    font-weight: 600;
    transition: var(--bdf-transition-nav);
}
.bdf-explore-nav-link-main {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}
.bdf-explore-nav-icon {
    width: 1.25rem;
    color: var(--bdf-olive-500);
    text-align: center;
    flex-shrink: 0;
}
.bdf-explore-nav-label {
    line-height: 1.35;
}
.bdf-explore-nav-chevron {
    color: var(--bdf-muted);
    font-size: 0.75rem;
    flex-shrink: 0;
}
.bdf-explore-nav-link:hover,
.bdf-explore-nav-link:focus-visible {
    background: rgba(99, 115, 58, 0.08);
    color: var(--bdf-green-900);
    outline: none;
}
.bdf-explore-nav-link.active {
    background: linear-gradient(135deg, rgba(39, 48, 24, 0.92), rgba(53, 69, 31, 0.94));
    color: #fff;
    box-shadow: var(--bdf-shadow-nav-active);
}
.bdf-explore-nav-link.active .bdf-explore-nav-icon,
.bdf-explore-nav-link.active .bdf-explore-nav-chevron {
    color: rgba(255, 255, 255, 0.88);
}
.bdf-explore-nav-children {
    margin: 0.25rem 0 0.35rem;
    padding-left: 0.35rem;
    border-left: 2px solid rgba(99, 115, 58, 0.18);
}
.bdf-explore-nav-children .bdf-explore-nav-link {
    padding: 0.5rem 0.65rem;
    font-size: 0.92rem;
    font-weight: 600;
}
.bdf-explore-nav-children--depth-2 .bdf-explore-nav-link {
    font-size: 0.86rem;
    padding-left: 0.5rem;
}
.bdf-explore-nav-children--depth-3 .bdf-explore-nav-link {
    font-size: 0.82rem;
}
.bdf-explore-nav-row {
    display: flex;
    align-items: stretch;
    gap: 0.25rem;
}
.bdf-explore-nav-row .bdf-explore-nav-link {
    flex: 1 1 auto;
}
.bdf-explore-branch-toggle {
    flex: 0 0 2rem;
    border: 0;
    border-radius: 0.45rem;
    background: rgba(99, 115, 58, 0.08);
    color: var(--bdf-olive-500);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--bdf-transition-nav);
}
.bdf-explore-branch-toggle:hover,
.bdf-explore-branch-toggle:focus-visible {
    background: rgba(99, 115, 58, 0.16);
    outline: none;
}
.bdf-explore-branch-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}
.bdf-explore-nav-link.is-branch-active {
    color: var(--bdf-green-900);
    font-weight: 700;
}
.bdf-explore-panel.is-preview .bdf-explore-nav-children,
.bdf-explore-panel.is-preview .bdf-explore-branch,
.bdf-explore-panel.is-preview .bdf-explore-nav-chevron,
.bdf-explore-panel.is-preview .bdf-explore-branch-toggle,
.bdf-explore-panel.is-preview .bdf-explore-close {
    display: none;
}
.bdf-explore-panel.is-preview .bdf-explore-panel-header {
    padding-bottom: 0.5rem;
}
.bdf-explore-mobile-trigger {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1025;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border: 0;
    border-radius: 999px;
    padding: 0.75rem 1rem;
    background: var(--bdf-gradient-premium);
    color: #fff;
    box-shadow: var(--bdf-shadow-card);
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: var(--bdf-transition-nav);
}
.bdf-explore-mobile-trigger:hover,
.bdf-explore-mobile-trigger:focus-visible {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--bdf-shadow-card-hover);
    outline: none;
}
.bdf-explore-offcanvas {
    --bs-offcanvas-width: min(100vw, 26rem);
    border-left: 3px solid var(--bdf-olive-500);
}
.bdf-explore-offcanvas-header {
    background: linear-gradient(180deg, #fff, var(--bdf-cream));
    border-bottom: 1px solid rgba(39, 48, 24, 0.08);
}
.bdf-explore-offcanvas-body {
    background: var(--bdf-cream);
    padding-top: 0.75rem;
}
@media (prefers-reduced-motion: reduce) {
    .bdf-explore-panel-body,
    .bdf-explore-mobile-trigger {
        transition: none !important;
    }
}
@media (max-width: 991.98px) {
    .bdf-explore-panel {
        display: none !important;
    }
}
@media (min-width: 992px) {
    .bdf-explore-mobile-trigger {
        display: none !important;
    }
}

/* Circular portrait standard */
.bdf-portrait-circle {
    --bdf-portrait-size: 160px;
    width: var(--bdf-portrait-size);
    height: var(--bdf-portrait-size);
    border-radius: 50%;
    object-fit: cover;
    object-position: center 15%;
    border: 3px solid rgba(216, 196, 155, 0.85);
    box-shadow: 0 8px 24px rgba(26, 34, 16, 0.16);
    background: var(--bdf-khaki-100);
    display: block;
}
.bdf-portrait-circle--sm {
    --bdf-portrait-size: 120px;
}
.bdf-portrait-circle--md {
    --bdf-portrait-size: 160px;
}
.bdf-portrait-circle--lg {
    --bdf-portrait-size: 220px;
}
.bdf-portrait-circle-wrap {
    display: flex;
    justify-content: center;
    padding: 1.25rem 1rem 0.5rem;
    background: linear-gradient(180deg, var(--bdf-khaki-100), #fff);
}
.lead-profile-card .bdf-portrait-circle-wrap,
.home-leadership-card .bdf-portrait-circle-wrap {
    border-radius: 0.5rem 0.5rem 0 0;
}
.bagaka-hero-card-portrait-wrap {
    background: transparent;
    padding-top: 1.5rem;
}
.bagaka-hero-card-portrait {
    object-fit: cover;
}

/* Homepage News & Events */
.home-recent-news-thumb {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}
.home-recent-news-item:last-child {
    margin-bottom: 0 !important;
}
@media (min-width: 992px) {
    .home-news-events-column-header {
        min-height: 2.375rem;
    }
}
.home-event-card {
    border-left: 3px solid var(--bdf-olive-500);
}
.home-event-date {
    color: var(--bdf-green-700);
    letter-spacing: 0.04em;
}
.home-leadership-card {
    overflow: hidden;
}
.section-page-anchor {
    scroll-margin-top: calc(var(--bdf-header-offset, 72px) + 1rem);
}

/* Homepage Quick Actions & Discover BDF */
.home-quick-actions {
    background: linear-gradient(180deg, #fff 0%, var(--bdf-cream) 100%);
    border-top: 1px solid rgba(39, 48, 24, 0.06);
}
.home-quick-action-link {
    color: inherit;
    transition: var(--bdf-transition-premium);
}
.home-quick-action-link:hover,
.home-quick-action-link:focus-visible {
    color: inherit;
    transform: translateY(-4px);
    box-shadow: var(--bdf-shadow-card-hover);
    outline: none;
}
.home-quick-action-link:focus-visible {
    box-shadow: 0 0 0 0.2rem rgba(99, 115, 58, 0.25), var(--bdf-shadow-card-hover);
}
.home-quick-action-label {
    color: var(--bdf-green-900);
    line-height: 1.35;
}
.home-quick-action-icon {
    transition: transform 0.24s ease, background-color 0.24s ease;
}
.home-quick-action-link:hover .home-quick-action-icon,
.home-quick-action-link:focus-visible .home-quick-action-icon {
    transform: scale(1.05);
    background: rgba(99, 115, 58, 0.18);
}
.home-discover-bdf {
    border-top: 1px solid rgba(39, 48, 24, 0.06);
}
.home-discover-card-link {
    color: inherit;
    display: block;
}
.home-discover-card-link:hover,
.home-discover-card-link:focus-visible {
    color: inherit;
    outline: none;
}
.home-discover-card-image {
    min-height: 190px;
    object-fit: cover;
}
.home-discover-card-link .btn {
    pointer-events: none;
}
@media (max-width: 575px) {
    .home-discover-card-image {
        min-height: 160px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .home-quick-action-link,
    .home-quick-action-icon {
        transition: none !important;
    }
    .home-quick-action-link:hover,
    .home-quick-action-link:focus-visible {
        transform: none;
    }
}
