/* ==========================================================================
   SWECC — Southwest Chiefs Conference
   Front-end design system
   ========================================================================== */

:root {
    --green: #108669;
    --green-dark: #0b5f4b;
    --green-deep: #074536;
    --green-soft: #e7f2ee;
    --yellow: #e9c522;
    --yellow-soft: #fbf2c4;
    --dark: #020910;
    --dark-2: #06131c;
    --dark-3: #0b1c27;
    --red: #94110f;
    --text: #16231e;
    --muted: #5b6662;
    --cream: #f6f5ef;
    --light: #ececec;
    --line: rgba(2, 9, 16, .10);
    --white: #fff;
    --radius: 18px;
    --radius-sm: 10px;
    --shadow: 0 18px 50px rgba(4, 24, 18, .10);
    --shadow-lg: 0 28px 70px rgba(4, 24, 18, .17);
    --font-head: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --font-accent: 'Ropa Sans', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection {
    background: var(--yellow);
    color: #000;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--green);
    text-decoration: none;
    transition: color .2s ease, opacity .2s ease;
}

a:hover {
    color: var(--green-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--green);
    font-weight: 600;
    line-height: 1.22;
    margin: 0 0 .8rem;
}

p {
    margin: 0 0 1.1rem;
}

:focus-visible {
    outline: 3px solid rgba(233, 197, 34, .75);
    outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
    border-radius: 6px;
    font-family: var(--font-accent);
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: .84rem;
    padding: .82rem 1.45rem;
    border-width: 2px;
    transition: all .22s ease;
}

.btn-lg {
    padding: 1rem 1.8rem;
    font-size: .9rem;
}

.btn-sm {
    padding: .55rem .95rem;
    font-size: .75rem;
}

.btn-brand {
    background: var(--yellow);
    border-color: var(--yellow);
    color: #050505;
}

.btn-brand:hover,
.btn-brand:focus {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(16, 134, 105, .28);
}

.btn-green {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.btn-green:hover,
.btn-green:focus {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-brand {
    border-color: var(--yellow);
    color: var(--yellow);
    background: transparent;
}

.btn-outline-brand:hover {
    background: var(--yellow);
    color: #000;
}

.btn-outline-white {
    border-color: rgba(255, 255, 255, .65);
    color: #fff;
    background: transparent;
}

.btn-outline-white:hover {
    background: #fff;
    color: var(--dark);
    border-color: #fff;
}

.btn-dark-green {
    background: var(--dark);
    border-color: var(--dark);
    color: #fff;
}

.btn-dark-green:hover {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.btn-link-arrow {
    font-family: var(--font-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: .82rem;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: 0;
}

.btn-link-arrow i {
    transition: transform .2s ease;
}

.btn-link-arrow:hover i {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */

.site-topbar {
    background: var(--dark);
    color: rgba(255, 255, 255, .78);
    font-size: .78rem;
    padding: .45rem 0;
    position: relative;
    z-index: 1100;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.topbar-info a,
.topbar-info span {
    color: rgba(255, 255, 255, .78);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.topbar-info a:hover {
    color: var(--yellow);
}

.topbar-info i {
    color: var(--yellow);
    font-size: .8rem;
}

.topbar-social {
    gap: .15rem;
}

.topbar-social a {
    color: rgba(255, 255, 255, .72);
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    font-size: .78rem;
}

.topbar-social a:hover {
    color: var(--yellow);
    background: rgba(255, 255, 255, .06);
}

.topbar-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, .18);
}

.topbar-actions {
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: .8rem;
    flex-wrap: wrap;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .76rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.lang-switch a {
    color: rgba(255, 255, 255, .72);
    text-decoration: none;
}

.lang-switch a:hover,
.lang-switch a.is-active {
    color: var(--yellow);
}

.topbar-auth {
    color: rgba(255, 255, 255, .82);
    font-size: .76rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.topbar-auth:hover {
    color: var(--yellow);
}

.topbar-contribute {
    background: var(--yellow);
    color: #050505;
    font-family: var(--font-accent);
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: .7rem;
    padding: .28rem .7rem;
    border-radius: 4px;
    font-weight: 600;
}

.topbar-contribute:hover {
    background: var(--green);
    color: #fff;
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: var(--dark);
    border-bottom: 3px solid var(--green);
    box-shadow: 0 8px 34px rgba(0, 0, 0, .28);
}

.header-pattern,
.footer-pattern {
    position: absolute;
    inset: 0;
    background-image: url('../images/pattern.png');
    background-size: 350px auto;
    opacity: .15;
    pointer-events: none;
}

.site-header .container {
    z-index: 2;
}

.site-header .navbar {
    min-height: 84px;
    transition: min-height .25s ease;
}

.site-header.is-scrolled .navbar {
    min-height: 70px;
}

.brand-seal {
    background: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .55rem .8rem;
    border-radius: 0 0 22px 0;
    margin-right: .9rem;
    transition: padding .25s ease;
}

.brand-seal img {
    width: 58px;
    height: auto;
    display: block;
    transition: width .25s ease;
}

.site-header.is-scrolled .brand-seal img {
    width: 46px;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    padding: 0;
    margin-right: 1.5rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    color: #fff;
}

.brand-text strong {
    font-family: var(--font-head);
    font-size: 1.32rem;
    letter-spacing: .06em;
    font-weight: 600;
}

.brand-text small {
    font-family: var(--font-accent);
    font-size: .62rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .65);
    margin-top: 5px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, .92);
    font-family: var(--font-accent);
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .045em;
    padding: .6rem .8rem !important;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: .8rem;
    right: .8rem;
    bottom: .15rem;
    height: 2px;
    background: var(--yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--yellow);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after,
.navbar-nav .show > .nav-link::after {
    transform: scaleX(1);
}

.navbar-nav .dropdown-toggle::before {
    display: none;
}

.navbar-nav .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.nav-caret {
    display: inline-block;
    width: .35rem;
    height: .35rem;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    margin-top: -.1rem;
    transition: transform .2s ease;
}

.navbar-nav .show > .dropdown-toggle .nav-caret,
.navbar-nav .dropdown-toggle[aria-expanded="true"] .nav-caret {
    transform: rotate(-135deg);
    margin-top: .15rem;
}

.dropdown-menu {
    border: 0;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 24px 55px rgba(2, 9, 16, .18);
    padding: .5rem;
    min-width: 230px;
    margin-top: .35rem;
}

.dropdown-item {
    font-family: var(--font-body);
    font-size: .88rem;
    padding: .55rem .8rem;
    border-radius: 7px;
    color: var(--text);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--green);
    color: #fff;
}

.header-actions {
    gap: .6rem;
}

.search-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .22);
    background: transparent;
    color: #fff;
    display: inline-grid;
    place-items: center;
    transition: all .2s ease;
}

.search-toggle:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    color: #000;
}

.user-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .15);
    color: #fff;
    border-radius: 40px;
    padding: .28rem .7rem .28rem .3rem;
    font-family: var(--font-accent);
    text-transform: uppercase;
    font-size: .72rem;
    letter-spacing: .05em;
}

.user-avatar {
    width: 32px;
    height: 32px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--yellow);
    color: #000;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .85rem;
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, .25);
    padding: .4rem .55rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

@media (max-width: 991.98px) {
    .site-header .navbar {
        min-height: 72px;
    }
    .navbar-collapse {
        background: var(--dark-2);
        margin: .8rem -12px 0;
        padding: 1rem;
        border-radius: 0 0 14px 14px;
        border-top: 1px solid rgba(255, 255, 255, .08);
        max-height: calc(100vh - 170px);
        overflow-y: auto;
    }
    .navbar-nav .nav-link {
        padding: .7rem .2rem !important;
    }
    .navbar-nav .nav-link::after {
        left: .2rem;
        right: auto;
        width: 28px;
    }
    .dropdown-menu {
        background: rgba(255, 255, 255, .04);
        box-shadow: none;
        padding-left: .5rem;
        margin-top: 0;
    }
    .dropdown-item {
        color: rgba(255, 255, 255, .82);
    }
    .header-actions {
        margin-top: .7rem;
        padding-top: .7rem;
        border-top: 1px solid rgba(255, 255, 255, .08);
    }
}

/* --------------------------------------------------------------------------
   Announcement marquee
   -------------------------------------------------------------------------- */

.announcement-bar {
    background: var(--green);
    color: #fff;
    overflow: hidden;
    font-size: .9rem;
    line-height: 1.45;
}

.announcement-track {
    overflow: hidden;
    padding: .55rem 0;
}

.announcement-track a {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    color: #fff;
    font-weight: 600;
    animation: swecc-marquee 38s linear infinite;
}

.announcement-track a:hover {
    animation-play-state: paused;
    color: #fff;
}

.announcement-track i {
    color: var(--yellow);
    margin-right: .5rem;
}

.announcement-more {
    text-decoration: underline;
    text-underline-offset: 4px;
    margin-left: 1.4rem;
    color: var(--yellow-soft);
    font-weight: 400;
}

@keyframes swecc-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* --------------------------------------------------------------------------
   Flash messages
   -------------------------------------------------------------------------- */

.flash-wrap {
    position: relative;
    z-index: 20;
}

.flash-wrap:not(:empty) {
    padding-top: 1rem;
}

.flash-wrap .alert {
    border: 0;
    border-left: 5px solid currentColor;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .08);
    font-size: .92rem;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.home-hero {
    position: relative;
    min-height: min(860px, calc(100vh - 126px));
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    background: var(--dark);
}

.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.2s ease, transform 8s ease;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 9, 16, .93) 0%, rgba(2, 9, 16, .74) 48%, rgba(2, 9, 16, .36) 100%),
        linear-gradient(0deg, rgba(2, 9, 16, .72) 0%, transparent 45%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 6.5rem 0 7.5rem;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .9rem;
    font-family: var(--font-accent);
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: .82rem;
    color: var(--yellow);
    margin-bottom: 1.3rem;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
    content: "";
    width: 46px;
    height: 1px;
    background: var(--yellow);
    opacity: .8;
}

.hero-eyebrow::after {
    width: 18px;
}

.home-hero h1 {
    color: #fff;
    font-size: clamp(2.6rem, 5.4vw, 4.45rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.02em;
    margin-bottom: 1.3rem;
}

.home-hero .hero-subtitle {
    font-size: clamp(1rem, 1.3vw, 1.18rem);
    line-height: 1.85;
    color: rgba(255, 255, 255, .82);
    max-width: 640px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 3.2rem;
    color: rgba(255, 255, 255, .68);
    font-size: .82rem;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.hero-meta i {
    color: var(--yellow);
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 2.1rem;
    transform: translateX(-50%);
    display: flex;
    gap: .55rem;
    z-index: 3;
}

.hero-dot {
    width: 34px;
    height: 4px;
    border: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, .28);
    padding: 0;
    transition: background .25s ease, width .25s ease;
}

.hero-dot.is-active {
    background: var(--yellow);
    width: 54px;
}

.hero-scroll {
    position: absolute;
    right: 2.2rem;
    bottom: 2rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: .7rem;
    color: rgba(255, 255, 255, .65);
    font-family: var(--font-accent);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .66rem;
    writing-mode: vertical-rl;
}

@media (max-width: 991.98px) {
    .home-hero {
        min-height: 720px;
    }
    .hero-scroll {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .home-hero {
        min-height: 650px;
    }
    .hero-content {
        padding: 4.5rem 0 6rem;
    }
    .hero-eyebrow::before {
        width: 26px;
    }
}

/* --------------------------------------------------------------------------
   Event spotlight / countdown
   -------------------------------------------------------------------------- */

.event-spotlight-wrap {
    position: relative;
    z-index: 10;
    margin-top: -78px;
}

.event-spotlight {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.event-spotlight .row {
    min-height: 220px;
}

.event-spotlight-media {
    position: relative;
    height: 100%;
    min-height: 220px;
    background-size: cover;
    background-position: center;
}

.event-spotlight-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 9, 16, .05), rgba(2, 9, 16, .45));
}

.event-date-chip {
    position: absolute;
    left: 1.4rem;
    bottom: 1.4rem;
    z-index: 2;
    background: var(--yellow);
    color: #06110d;
    border-radius: 10px;
    padding: .6rem .85rem;
    text-align: center;
    line-height: 1;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .22);
}

.event-date-chip strong {
    display: block;
    font-family: var(--font-head);
    font-size: 1.7rem;
    font-weight: 700;
}

.event-date-chip span {
    display: block;
    text-transform: uppercase;
    font-family: var(--font-accent);
    font-size: .68rem;
    letter-spacing: .12em;
    margin-top: .28rem;
}

.event-spotlight-body {
    padding: 1.5rem 2rem;
}

.event-spotlight-body .eyebrow {
    margin-bottom: .4rem;
}

.event-spotlight-body h2 {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    margin-bottom: .4rem;
}

.event-spotlight-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.4rem;
    color: var(--muted);
    font-size: .84rem;
    margin: .7rem 0 .9rem;
}

.event-spotlight-meta span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.event-spotlight-meta i {
    color: var(--green);
}

.event-spotlight-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: .9rem 1.5rem;
    margin-top: 1rem;
}

.event-spotlight-timer {
    min-width: 0;
}

.event-spotlight-cta {
    white-space: nowrap;
}

.countdown {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin: 0;
    max-width: 420px;
}

.countdown-box {
    background: var(--dark);
    color: #fff;
    border-radius: 8px;
    min-width: 58px;
    padding: .4rem .35rem;
    text-align: center;
    line-height: 1.1;
}

.countdown-box strong {
    display: block;
    font-family: var(--font-head);
    font-size: 1.25rem;
    color: var(--yellow);
    font-weight: 600;
}

.countdown-box span {
    display: block;
    text-transform: uppercase;
    font-family: var(--font-accent);
    font-size: .6rem;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .6);
}

.countdown-caption {
    font-family: var(--font-accent);
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--muted);
    font-size: .68rem;
    margin: .45rem 0 0;
}

@media (max-width: 575.98px) {
    .event-spotlight-body {
        padding: 1.25rem 1.4rem;
    }
    .event-spotlight-footer {
        grid-template-columns: 1fr;
        align-items: start;
    }
    .event-spotlight-cta {
        justify-self: start;
    }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
    padding: clamp(3.5rem, 7vw, 6.5rem) 0;
    position: relative;
}

.section-cream {
    background: var(--cream);
}

.section-light {
    background: var(--light);
}

.section-dark {
    background: var(--dark);
    color: rgba(255, 255, 255, .78);
    position: relative;
    overflow: hidden;
}

.section-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../images/pattern.png');
    background-size: 350px auto;
    opacity: .13;
    pointer-events: none;
}

.section-dark > .container {
    position: relative;
    z-index: 2;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: #fff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    font-family: var(--font-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: .72rem;
    color: var(--green);
    margin-bottom: .9rem;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--yellow);
}

.eyebrow-light {
    color: var(--yellow);
}

.section-head {
    max-width: 760px;
    margin: 0 auto clamp(2.4rem, 4vw, 3.5rem);
}

.section-head.text-start {
    margin-left: 0;
}

.section-head h2 {
    font-size: clamp(1.9rem, 3.2vw, 2.7rem);
    margin-bottom: .7rem;
}

.section-head p {
    color: var(--muted);
    font-size: 1.02rem;
    margin-bottom: 0;
}

.section-head .rule {
    display: block;
    width: 74px;
    height: 3px;
    margin: 1.2rem auto 0;
    background: repeating-linear-gradient(90deg, var(--green) 0 18px, transparent 18px 24px);
    border-radius: 3px;
}

.section-head.text-start .rule {
    margin-left: 0;
}

.section-head.on-dark p {
    color: rgba(255, 255, 255, .7);
}

/* --------------------------------------------------------------------------
   Intro / about block
   -------------------------------------------------------------------------- */

.intro-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: clamp(2.2rem, 5vw, 4.5rem);
    align-items: center;
}

.intro-media {
    position: relative;
    padding: 0 1.8rem 1.8rem 0;
}

.intro-media::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 72%;
    height: 72%;
    border-radius: var(--radius);
    background: var(--green);
}

.intro-media::after {
    content: "";
    position: absolute;
    left: -.9rem;
    top: -.9rem;
    width: 100px;
    height: 100px;
    border-top: 6px solid var(--yellow);
    border-left: 6px solid var(--yellow);
    border-radius: 10px 0 0 0;
}

.intro-media img {
    position: relative;
    z-index: 2;
    width: 100%;
    display: block;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    aspect-ratio: 1 / 1.02;
}

.intro-badge {
    position: absolute;
    z-index: 3;
    right: .3rem;
    bottom: 2.7rem;
    background: var(--yellow);
    color: #04110c;
    border-radius: 10px;
    padding: .85rem 1rem;
    font-family: var(--font-accent);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .72rem;
    text-align: center;
    box-shadow: 0 18px 35px rgba(0, 0, 0, .2);
    line-height: 1.3;
}

.intro-badge strong {
    display: block;
    font-family: var(--font-head);
    font-size: 1.35rem;
    letter-spacing: 0;
}

.intro-copy h2 {
    font-size: clamp(2rem, 3.5vw, 2.85rem);
    margin-bottom: 1.2rem;
}

.intro-copy p {
    color: var(--muted);
    font-size: 1.01rem;
}

.intro-lead {
    font-size: 1.07rem;
    color: var(--text);
    font-weight: 500;
}

.intro-signature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.7rem 0 1.9rem;
    padding: 1rem 1.1rem;
    border-left: 4px solid var(--yellow);
    background: var(--cream);
    border-radius: 0 10px 10px 0;
}

.intro-signature .sig-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--green);
}

.intro-signature strong {
    display: block;
    font-family: var(--font-head);
    color: var(--green);
    font-size: 1rem;
    line-height: 1.3;
}

.intro-signature span {
    font-size: .8rem;
    color: var(--muted);
}

.intro-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
    margin-top: 1.8rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--line);
}

.intro-stat strong {
    display: block;
    font-family: var(--font-head);
    font-size: 1.8rem;
    color: var(--green);
    line-height: 1;
}

.intro-stat span {
    font-family: var(--font-accent);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
}

@media (max-width: 991.98px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }
    .intro-media {
        max-width: 480px;
        margin: 0 auto;
    }
}

/* --------------------------------------------------------------------------
   Division cards
   -------------------------------------------------------------------------- */

.division-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(2, 9, 16, .06);
    border-radius: var(--radius);
    padding: 2rem 1.5rem 1.7rem;
    box-shadow: 0 12px 40px rgba(4, 24, 18, .05);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    position: relative;
    overflow: hidden;
}

.division-card::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 64px;
    height: 4px;
    border-radius: 0 0 4px 4px;
    background: var(--yellow);
    transition: width .28s ease, background .28s ease;
}

.division-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: rgba(16, 134, 105, .22);
}

.division-card:hover::before {
    width: 100%;
    background: var(--green);
}

.division-emblem {
    width: 104px;
    height: 104px;
    display: grid;
    place-items: center;
    background: var(--cream);
    border-radius: 50%;
    margin-bottom: 1.2rem;
    transition: background .28s ease;
}

.division-emblem img {
    max-width: 68px;
    max-height: 68px;
    object-fit: contain;
}

.division-card:hover .division-emblem {
    background: var(--green-soft);
}

.division-card h3,
.division-card h4 {
    font-size: 1.18rem;
    margin-bottom: .55rem;
}

.division-card p {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.75;
    flex: 1;
}

.division-card .btn-link-arrow {
    margin-top: .5rem;
}

/* --------------------------------------------------------------------------
   Post / news cards
   -------------------------------------------------------------------------- */

.post-carousel {
    position: relative;
    padding-top: 3.25rem;
}

.post-carousel-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: .35rem;
}

.post-carousel-track::-webkit-scrollbar {
    display: none;
}

.post-carousel-item {
    flex: 0 0 calc((100% - 3rem) / 3);
    min-width: 0;
    scroll-snap-align: start;
}

.post-carousel-item .post-card {
    height: 100%;
}

.post-carousel-controls {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    gap: .5rem;
}

.post-carousel.is-static {
    padding-top: 0;
}

.post-carousel.is-static .post-carousel-controls {
    display: none;
}

.carousel-btn {
    width: 2.6rem;
    height: 2.6rem;
    border: 1px solid rgba(16, 134, 105, .25);
    border-radius: 50%;
    background: #fff;
    color: var(--green-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, color .2s ease, opacity .2s ease;
}

.carousel-btn:hover:not(:disabled) {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.carousel-btn:disabled {
    opacity: .35;
    cursor: not-allowed;
}

@media (max-width: 1199.98px) {
    .post-carousel-item {
        flex-basis: calc((100% - 1.5rem) / 2);
    }
}

@media (max-width: 991.98px) {
    .post-carousel-item {
        flex-basis: calc((100% - 1.5rem) / 2);
    }
}

@media (max-width: 575.98px) {
    .post-carousel-track {
        gap: 1rem;
    }

    .post-carousel-item {
        flex-basis: calc(100% - 1rem);
    }
}

.post-card {
    height: 100%;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(2, 9, 16, .06);
    box-shadow: 0 12px 38px rgba(4, 24, 18, .06);
    display: flex;
    flex-direction: column;
    transition: transform .28s ease, box-shadow .28s ease;
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.post-card-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--light);
}

.post-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.post-card:hover .post-card-media img {
    transform: scale(1.06);
}

.post-card-cat {
    position: absolute;
    left: .9rem;
    top: .9rem;
    background: var(--yellow);
    color: #06110d;
    border-radius: 4px;
    padding: .28rem .55rem;
    font-family: var(--font-accent);
    text-transform: uppercase;
    font-size: .63rem;
    letter-spacing: .1em;
    font-weight: 600;
}

.post-card-date {
    position: absolute;
    right: .9rem;
    bottom: .9rem;
    background: rgba(2, 9, 16, .82);
    color: #fff;
    border-radius: 6px;
    padding: .35rem .6rem;
    font-size: .7rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.post-card-date i {
    color: var(--yellow);
}

.post-card-body {
    padding: 1.35rem 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-card-body h3 {
    font-size: 1.06rem;
    line-height: 1.45;
    margin-bottom: .55rem;
}

.post-card-body h3 a {
    color: var(--green);
}

.post-card-body h3 a:hover {
    color: var(--green-dark);
}

.post-card-body p {
    color: var(--muted);
    font-size: .87rem;
    line-height: 1.7;
    flex: 1;
    margin-bottom: .9rem;
}

.post-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    border-top: 1px solid var(--line);
    padding-top: .8rem;
    font-size: .72rem;
    color: var(--muted);
}

.post-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

/* --------------------------------------------------------------------------
   Events
   -------------------------------------------------------------------------- */

.event-card {
    display: flex;
    gap: 0;
    height: 100%;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(2, 9, 16, .07);
    box-shadow: 0 12px 38px rgba(4, 24, 18, .06);
    transition: transform .28s ease, box-shadow .28s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.event-card-date {
    flex: 0 0 92px;
    background: var(--green);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    padding: 1rem .5rem;
}

.event-card-date strong {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 700;
    color: var(--yellow);
}

.event-card-date span {
    font-family: var(--font-accent);
    text-transform: uppercase;
    font-size: .68rem;
    letter-spacing: .12em;
    margin-top: .3rem;
}

.event-card-body {
    padding: 1.2rem 1.3rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.event-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: .4rem;
}

.event-card-body h3 a {
    color: var(--green);
}

.event-card-body p {
    font-size: .86rem;
    color: var(--muted);
    margin-bottom: .7rem;
    flex: 1;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem 1.1rem;
    font-size: .76rem;
    color: var(--muted);
    margin-bottom: .75rem;
}

.event-meta span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.event-meta i {
    color: var(--green);
}

.event-past {
    opacity: .82;
}

.event-past .event-card-date {
    background: var(--muted);
}

/* --------------------------------------------------------------------------
   Video highlight
   -------------------------------------------------------------------------- */

.video-section {
    color: #fff;
}

.video-frame {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-poster {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    display: grid;
    place-items: center;
    border: 0;
    width: 100%;
    padding: 0;
}

.video-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 9, 16, .25), rgba(2, 9, 16, .72));
}

.video-play {
    position: relative;
    z-index: 2;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--yellow);
    color: #000;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    box-shadow: 0 0 0 12px rgba(233, 197, 34, .2);
    transition: transform .25s ease;
}

.video-poster:hover .video-play {
    transform: scale(1.08);
}

.video-section h2 {
    color: #fff;
}

/* --------------------------------------------------------------------------
   CTA cards
   -------------------------------------------------------------------------- */

.cta-card {
    height: 100%;
    border-radius: var(--radius);
    padding: 2.2rem 1.8rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 240px;
    transition: transform .28s ease, box-shadow .28s ease;
}

.cta-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.cta-card::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 24px solid rgba(255, 255, 255, .08);
}

.cta-card-green {
    background: var(--green);
    color: rgba(255, 255, 255, .82);
}

.cta-card-yellow {
    background: var(--yellow);
    color: rgba(0, 0, 0, .72);
}

.cta-card-dark {
    background: var(--dark);
    color: rgba(255, 255, 255, .72);
}

.cta-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    margin-bottom: 1.2rem;
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.cta-card-yellow .cta-icon {
    background: rgba(0, 0, 0, .1);
    color: #000;
}

.cta-card h3 {
    font-size: 1.3rem;
    color: inherit;
    margin-bottom: .5rem;
}

.cta-card p {
    font-size: .9rem;
    flex: 1;
}

.cta-card .btn-link-arrow {
    color: #fff;
}

.cta-card-yellow .btn-link-arrow {
    color: #000;
}

/* --------------------------------------------------------------------------
   Map section
   -------------------------------------------------------------------------- */

.map-wrap {
    position: relative;
    max-width: 430px;
    margin: 0 auto;
}

.map-wrap img {
    width: 100%;
    display: block;
    filter: drop-shadow(0 24px 40px rgba(4, 24, 18, .18));
}

.map-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    background: #fff;
    color: var(--green);
    border-radius: 30px;
    padding: .28rem .55rem;
    font-family: var(--font-accent);
    font-size: .62rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
    white-space: nowrap;
}

.map-pin::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 0 0 rgba(233, 197, 34, .7);
    animation: pin-pulse 2.2s infinite;
}

.map-pin:hover {
    background: var(--green);
    color: #fff;
}

@keyframes pin-pulse {
    0% { box-shadow: 0 0 0 0 rgba(233, 197, 34, .8); }
    70% { box-shadow: 0 0 0 9px rgba(233, 197, 34, 0); }
    100% { box-shadow: 0 0 0 0 rgba(233, 197, 34, 0); }
}

/* --------------------------------------------------------------------------
   Inner page hero
   -------------------------------------------------------------------------- */

.page-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: flex-end;
    padding: 5rem 0 3.2rem;
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 9, 16, .5), rgba(2, 9, 16, .88));
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero .eyebrow {
    color: var(--yellow);
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: .6rem;
}

.page-hero p {
    color: rgba(255, 255, 255, .75);
    max-width: 680px;
    margin-bottom: 0;
}

.breadcrumb {
    --bs-breadcrumb-divider-color: rgba(255, 255, 255, .45);
    margin-bottom: 1rem;
    font-size: .78rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, .7);
}

.breadcrumb a:hover {
    color: var(--yellow);
}

.breadcrumb-item.active {
    color: var(--yellow);
}

/* --------------------------------------------------------------------------
   Article / rich content
   -------------------------------------------------------------------------- */

.article-wrap {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: clamp(1.5rem, 4vw, 3.3rem);
    margin-top: -70px;
    position: relative;
    z-index: 4;
}

.article-header {
    margin-bottom: 1.6rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid var(--line);
}

.article-header h1 {
    font-size: clamp(1.75rem, 3.2vw, 2.7rem);
    margin-bottom: .8rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem 1.3rem;
    color: var(--muted);
    font-size: .8rem;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.article-meta i {
    color: var(--green);
}

.article-cover {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.article-cover img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.rich-content {
    font-size: 1.02rem;
    color: #26342f;
}

.rich-content h2,
.rich-content h3,
.rich-content h4 {
    margin-top: 2.2rem;
    margin-bottom: .9rem;
}

.rich-content h2 {
    font-size: 1.75rem;
}

.rich-content h3 {
    font-size: 1.35rem;
}

.rich-content p {
    margin-bottom: 1.15rem;
}

.rich-content ul,
.rich-content ol {
    margin: 0 0 1.2rem 1.1rem;
    padding-left: .6rem;
}

.rich-content li {
    margin-bottom: .45rem;
}

.rich-content blockquote {
    border-left: 4px solid var(--yellow);
    background: var(--cream);
    padding: 1.2rem 1.4rem;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    margin: 1.8rem 0;
}

.rich-content img {
    border-radius: 12px;
    margin: 1rem 0;
}

.rich-content a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rich-content iframe {
    border-radius: 12px;
}

.share-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.share-row span {
    font-family: var(--font-accent);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .72rem;
    color: var(--muted);
    margin-right: .3rem;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: var(--cream);
    color: var(--green);
    font-size: .85rem;
    border: 0;
}

.share-btn:hover {
    background: var(--green);
    color: #fff;
}

.sidebar-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 10px 34px rgba(4, 24, 18, .06);
    padding: 1.4rem;
    margin-bottom: 1.3rem;
    border: 1px solid rgba(2, 9, 16, .05);
}

.sidebar-card h3 {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    padding-bottom: .7rem;
    border-bottom: 1px solid var(--line);
}

.sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-list li {
    padding: .6rem 0;
    border-bottom: 1px dashed var(--line);
}

.sidebar-list li:last-child {
    border-bottom: 0;
}

.sidebar-list a {
    color: var(--text);
    font-size: .87rem;
    display: flex;
    gap: .6rem;
    align-items: flex-start;
}

.sidebar-list a:hover {
    color: var(--green);
}

.sidebar-list i {
    color: var(--yellow);
    margin-top: .35rem;
}

.sidebar-event-date {
    font-family: var(--font-accent);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--green);
    display: block;
}

/* --------------------------------------------------------------------------
   Comments
   -------------------------------------------------------------------------- */

.comments-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}

.comments-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.3rem;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.comment-item {
    display: flex;
    gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--line);
}

.comment-avatar {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green);
    display: grid;
    place-items: center;
    font-family: var(--font-head);
    font-weight: 700;
}

.comment-body strong {
    font-family: var(--font-head);
    color: var(--green);
    font-size: .95rem;
}

.comment-body time {
    font-size: .72rem;
    color: var(--muted);
    margin-left: .5rem;
}

.comment-body p {
    margin: .35rem 0 0;
    font-size: .9rem;
    color: var(--muted);
}

.comment-form-wrap {
    background: var(--cream);
    border-radius: var(--radius);
    padding: clamp(1.3rem, 3vw, 2rem);
    margin-top: 1.5rem;
}

.comment-form-wrap h3 {
    font-size: 1.2rem;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form-label {
    font-family: var(--font-accent);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .72rem;
    color: var(--text);
    font-weight: 600;
    margin-bottom: .35rem;
}

.form-control,
.form-select {
    border: 1px solid rgba(2, 9, 16, .14);
    border-radius: 8px;
    padding: .72rem .9rem;
    font-size: .92rem;
    color: var(--text);
    background-color: #fff;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 .2rem rgba(16, 134, 105, .12);
}

.form-control::placeholder {
    color: #9aa39f;
}

textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.form-text {
    font-size: .75rem;
    color: var(--muted);
}

.form-feedback {
    font-size: .82rem;
    margin-top: .6rem;
}

.form-feedback.is-success {
    color: var(--green);
}

.form-feedback.is-error {
    color: #b02a37;
}

.input-group .form-control {
    border-right: 0;
}

.input-group .btn {
    border-radius: 0 8px 8px 0;
}

.contact-card {
    height: 100%;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid rgba(2, 9, 16, .06);
    box-shadow: 0 10px 34px rgba(4, 24, 18, .05);
    padding: 1.7rem;
    text-align: center;
}

.contact-card .contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green);
    display: grid;
    place-items: center;
    font-size: 1.3rem;
}

.contact-card h3 {
    font-size: 1.05rem;
    margin-bottom: .45rem;
}

.contact-card p,
.contact-card a {
    color: var(--muted);
    font-size: .88rem;
    margin-bottom: 0;
    display: block;
}

.contact-card a:hover {
    color: var(--green);
}

.contact-form-panel {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: clamp(1.6rem, 4vw, 2.8rem);
}

.contact-form-panel h2 {
    font-size: 1.9rem;
}

/* --------------------------------------------------------------------------
   Members
   -------------------------------------------------------------------------- */

.member-card {
    height: 100%;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(2, 9, 16, .06);
    box-shadow: 0 12px 38px rgba(4, 24, 18, .06);
    transition: transform .28s ease, box-shadow .28s ease;
}

.member-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.member-photo {
    aspect-ratio: 1 / 1.05;
    overflow: hidden;
    background: var(--cream);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-body {
    padding: 1.3rem;
    text-align: center;
}

.member-body h3 {
    font-size: 1.1rem;
    margin-bottom: .25rem;
}

.member-role {
    font-family: var(--font-accent);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .68rem;
    color: var(--yellow);
    background: var(--dark);
    display: inline-block;
    border-radius: 4px;
    padding: .22rem .55rem;
    margin-bottom: .7rem;
}

.member-division {
    font-size: .78rem;
    color: var(--muted);
    margin-bottom: .6rem;
}

.member-bio {
    font-size: .85rem;
    color: var(--muted);
    line-height: 1.7;
}

.member-card.is-featured {
    border-top: 4px solid var(--yellow);
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
    background: linear-gradient(120deg, var(--green-dark), var(--green));
    color: #fff;
    border-radius: var(--radius);
    padding: clamp(2rem, 5vw, 3.4rem);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.cta-band::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 40px solid rgba(255, 255, 255, .08);
}

.cta-band h2 {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: .5rem;
}

.cta-band p {
    color: rgba(255, 255, 255, .8);
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Values / info cards
   -------------------------------------------------------------------------- */

.value-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid rgba(2, 9, 16, .06);
    box-shadow: 0 10px 34px rgba(4, 24, 18, .05);
    padding: 1.8rem;
    border-top: 4px solid var(--yellow);
}

.value-card h3 {
    font-size: 1.3rem;
}

.value-card p {
    color: var(--muted);
    font-size: .92rem;
    margin-bottom: 0;
}

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

.gallery-grid a {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.gallery-grid a:hover img {
    transform: scale(1.07);
}

@media (max-width: 767.98px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --------------------------------------------------------------------------
   Newsletter band
   -------------------------------------------------------------------------- */

.footer-newsletter-band {
    background: var(--yellow);
    color: #04110c;
    padding: 2.6rem 0;
    position: relative;
    overflow: hidden;
}

.footer-newsletter-band::after {
    content: "";
    position: absolute;
    left: -50px;
    bottom: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 34px solid rgba(0, 0, 0, .06);
}

.newsletter-inner {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.newsletter-copy .eyebrow {
    color: #0a3328;
}

.newsletter-copy .eyebrow::before {
    background: #0a3328;
}

.newsletter-copy h2 {
    color: #04110c;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: .3rem;
}

.newsletter-copy p {
    margin-bottom: 0;
    color: rgba(0, 0, 0, .68);
    font-size: .9rem;
}

.newsletter-form .input-group {
    box-shadow: 0 14px 36px rgba(0, 0, 0, .14);
    border-radius: 9px;
    overflow: hidden;
}

.newsletter-form .form-control {
    border: 0;
    padding: .95rem 1.1rem;
}

.newsletter-form .btn-brand {
    background: var(--dark);
    border-color: var(--dark);
    color: #fff;
}

.newsletter-form .btn-brand:hover {
    background: var(--green);
    border-color: var(--green);
}

.newsletter-form .form-feedback {
    color: #0a3328;
}

@media (max-width: 767.98px) {
    .newsletter-inner {
        grid-template-columns: 1fr;
        gap: 1.3rem;
    }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, .66);
    padding: 4.5rem 0 0;
    position: relative;
    overflow: hidden;
}

.site-footer .container {
    z-index: 2;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    margin-bottom: 1.2rem;
    color: #fff;
}

.footer-brand img {
    width: 58px;
    height: auto;
    background: var(--green);
    padding: .5rem .65rem;
    border-radius: 0 0 16px 0;
}

.footer-brand strong {
    display: block;
    font-family: var(--font-head);
    font-size: 1.25rem;
    letter-spacing: .06em;
    color: #fff;
}

.footer-brand small {
    display: block;
    font-family: var(--font-accent);
    font-size: .6rem;
    text-transform: uppercase;
    letter-spacing: .13em;
    color: rgba(255, 255, 255, .55);
    margin-top: 3px;
}

.footer-about {
    font-size: .86rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, .6);
    max-width: 340px;
}

.footer-title {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    padding-bottom: .6rem;
    position: relative;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--yellow);
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: .5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, .6);
    font-size: .85rem;
    position: relative;
    padding-left: 0;
    transition: all .2s ease;
}

.footer-links a:hover {
    color: var(--yellow);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    font-size: .85rem;
    margin-bottom: .7rem;
    color: rgba(255, 255, 255, .6);
}

.footer-contact i {
    color: var(--yellow);
    margin-top: .35rem;
    width: 15px;
    text-align: center;
}

.footer-contact a {
    color: rgba(255, 255, 255, .6);
}

.footer-contact a:hover {
    color: var(--yellow);
}

.footer-social {
    display: flex;
    gap: .4rem;
    margin-top: 1.2rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, .07);
    font-size: .85rem;
}

.footer-social a:hover {
    background: var(--yellow);
    color: #000;
}

.footer-donate {
    display: inline-flex;
    align-items: center;
    margin-top: .9rem;
    background: var(--yellow);
    color: #04110c;
    border-radius: 5px;
    padding: .5rem .9rem;
    font-family: var(--font-accent);
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: .72rem;
    font-weight: 600;
}

.footer-donate:hover {
    background: var(--green);
    color: #fff;
}

.footer-bottom {
    margin-top: 3.2rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 1.4rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .7rem;
    font-size: .76rem;
    color: rgba(255, 255, 255, .45);
}

.footer-bottom-links {
    display: flex;
    gap: 1.2rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, .45);
}

.footer-bottom-links a:hover {
    color: var(--yellow);
}

/* --------------------------------------------------------------------------
   Back to top & toast
   -------------------------------------------------------------------------- */

.back-to-top {
    position: fixed;
    right: 1.3rem;
    bottom: 1.3rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: var(--green);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .25s ease;
    z-index: 1200;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--yellow);
    color: #000;
}

.toast-container .toast {
    background: #fff;
    border: 0;
    border-left: 5px solid var(--green);
    box-shadow: var(--shadow);
}

/* --------------------------------------------------------------------------
   Search modal / results
   -------------------------------------------------------------------------- */

.search-modal .modal-content {
    border: 0;
    border-radius: var(--radius);
    overflow: hidden;
}

.search-modal .modal-header {
    background: var(--dark);
    color: #fff;
    border: 0;
    padding: 1.2rem 1.5rem;
}

.search-modal .modal-header .modal-title {
    color: #fff;
}

.search-modal .modal-header .btn-close {
    filter: invert(1) grayscale(1);
}

.search-modal .modal-body {
    padding: 1.5rem;
}

.search-results {
    max-height: 340px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    gap: .8rem;
    padding: .7rem;
    border-radius: 8px;
    color: var(--text);
    align-items: center;
}

.search-result-item:hover {
    background: var(--cream);
    color: var(--green);
}

.search-result-item img {
    width: 56px;
    height: 46px;
    object-fit: cover;
    border-radius: 6px;
    flex: 0 0 56px;
}

.search-result-item strong {
    display: block;
    font-family: var(--font-head);
    font-size: .86rem;
    font-weight: 600;
    line-height: 1.4;
}

.search-result-item span {
    font-size: .7rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.search-empty {
    color: var(--muted);
    font-size: .88rem;
    padding: .5rem;
}

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */

.swecc-pagination {
    margin-top: 2.5rem;
}

.swecc-pagination .page-link {
    color: var(--green);
    border: 1px solid rgba(2, 9, 16, .1);
    margin: 0 .18rem;
    border-radius: 7px;
    font-family: var(--font-accent);
    font-weight: 600;
    min-width: 38px;
    text-align: center;
    padding: .45rem .7rem;
}

.swecc-pagination .page-item.active .page-link {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.swecc-pagination .page-link:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    color: #000;
}

/* --------------------------------------------------------------------------
   Contributor area
   -------------------------------------------------------------------------- */

.auth-wrap {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: var(--cream);
    position: relative;
}

.auth-card {
    max-width: 520px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: clamp(1.6rem, 4vw, 2.6rem);
    border-top: 5px solid var(--green);
}

.auth-card h1 {
    font-size: 1.9rem;
}

.auth-card .lead {
    color: var(--muted);
    font-size: .92rem;
}

.dashboard-sidebar {
    background: var(--dark);
    border-radius: var(--radius);
    padding: 1.3rem;
    position: sticky;
    top: 100px;
}

.dashboard-user {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.dashboard-user .user-avatar {
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
}

.dashboard-user strong {
    color: #fff;
    display: block;
    font-family: var(--font-head);
    font-size: .95rem;
}

.dashboard-user span {
    color: rgba(255, 255, 255, .55);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.dashboard-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dashboard-nav a {
    display: flex;
    align-items: center;
    gap: .7rem;
    color: rgba(255, 255, 255, .7);
    padding: .62rem .75rem;
    border-radius: 7px;
    font-size: .85rem;
}

.dashboard-nav a:hover,
.dashboard-nav a.active {
    background: var(--green);
    color: #fff;
}

.dashboard-nav i {
    width: 18px;
    text-align: center;
    color: var(--yellow);
}

.dashboard-nav a.active i {
    color: #fff;
}

.stat-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 10px 34px rgba(4, 24, 18, .06);
    padding: 1.3rem;
    height: 100%;
    border-left: 4px solid var(--green);
}

.stat-card .stat-value {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--green);
    line-height: 1;
}

.stat-card .stat-label {
    font-family: var(--font-accent);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .68rem;
    color: var(--muted);
    margin-top: .3rem;
}

.status-note {
    background: var(--cream);
    border-left: 4px solid var(--yellow);
    padding: .7rem .9rem;
    border-radius: 0 8px 8px 0;
    font-size: .82rem;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   Utilities / reveal animations
   -------------------------------------------------------------------------- */

.bg-cream { background: var(--cream) !important; }
.text-green { color: var(--green) !important; }
.text-muted-swecc { color: var(--muted) !important; }
.text-yellow { color: var(--yellow) !important; }
.border-radius-swecc { border-radius: var(--radius) !important; }
.shadow-swecc { box-shadow: var(--shadow) !important; }
.object-fit-cover { object-fit: cover; }

html.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

html.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    html.js .reveal {
        opacity: 1;
        transform: none;
    }
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    background: var(--cream);
    border-radius: var(--radius);
    color: var(--muted);
}

.empty-state i {
    font-size: 2.2rem;
    color: var(--green);
    margin-bottom: .8rem;
    display: block;
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */

@media print {
    .site-topbar,
    .site-header,
    .announcement-bar,
    .site-footer,
    .footer-newsletter-band,
    .back-to-top,
    .share-row,
    .comments-section {
        display: none !important;
    }
    .article-wrap {
        box-shadow: none;
        margin-top: 0;
    }
}
