/* =========================================================
   OLD SCHOOL ASSOCIATION
   PREMIUM MODERN RESPONSIVE STYLESHEET
   ========================================================= */


/* =========================================================
   1. ROOT VARIABLES
   ========================================================= */

:root {

    --primary: #0b1f3a;
    --primary-dark: #061426;
    --primary-light: #16365f;

    --gold: #c9a227;
    --gold-light: #e4c45a;
    --gold-dark: #9c7815;

    --white: #ffffff;
    --black: #000000;

    --background: #f5f7fa;
    --surface: #ffffff;
    --surface-soft: #f8fafc;

    --text: #243247;
    --text-dark: #111c2d;
    --text-muted: #687589;
    --text-light: #94a0b2;

    --border: #e4e8ee;
    --border-dark: #cfd6df;

    --success: #16834b;
    --success-bg: #e9f8f0;

    --danger: #c62828;
    --danger-bg: #fff0f0;

    --warning: #a66a00;
    --warning-bg: #fff7df;

    --info: #1769aa;
    --info-bg: #edf6ff;

    --shadow-sm:
        0 3px 12px rgba(6, 20, 38, .06);

    --shadow:
        0 10px 35px rgba(6, 20, 38, .09);

    --shadow-lg:
        0 20px 60px rgba(6, 20, 38, .15);

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --container: 1180px;

    --transition:
        all .3s ease;

}


/* =========================================================
   2. RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: var(--background);
    color: var(--text);

    line-height: 1.6;

    min-height: 100vh;

    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

ul,
ol {
    list-style: none;
}


/* =========================================================
   3. GLOBAL
   ========================================================= */

.container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-left: auto;
    margin-right: auto;
}

.section {
    padding: 90px 0;
}

.section-sm {
    padding: 55px 0;
}

.section-dark {
    background: var(--primary-dark);
    color: var(--white);
}

.center {
    text-align: center;
}

.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.text-gold {
    color: var(--gold);
}

.w-100 {
    width: 100%;
}

.event-cover-image {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 14px 14px 0 0;
}

/* =========================================================
   4. TOP BAR
   ========================================================= */

.topbar {
    background: var(--primary-dark);
    color: rgba(255,255,255,.75);

    font-size: .78rem;
}

.topbar .container {
    min-height: 38px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.topbar a:hover {
    color: var(--gold-light);
}


/* =========================================================
   5. NAVIGATION
   ========================================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255,255,255,.96);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(14px);

    box-shadow:
        0 4px 20px rgba(6,20,38,.05);
}

.navbar .container {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;

    min-width: 0;
}

.logo-mark {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-light)
        );

    color: var(--gold-light);

    font-weight: 900;

    box-shadow:
        0 8px 20px rgba(11,31,58,.18);
}

.logo h1,
.logo strong {
    color: var(--primary);
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.1;
}

.logo small {
    display: block;
    margin-top: 2px;

    color: var(--text-muted);

    font-size: .68rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu a {
    position: relative;

    padding: 10px 12px;

    color: var(--text);

    font-size: .88rem;
    font-weight: 700;

    border-radius: 8px;

    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    background: rgba(11,31,58,.05);
}

.nav-menu a.active::after {
    content: "";

    position: absolute;

    left: 12px;
    right: 12px;
    bottom: 3px;

    height: 2px;

    background: var(--gold);

    border-radius: 20px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid var(--border);

    border-radius: 10px;

    background: var(--white);

    color: var(--primary);

    font-size: 1.35rem;
}


/* =========================================================
   HEADER & NAVIGATION
========================================================= */

.site-header {
    position: relative;
    z-index: 1000;
    background: #ffffff;
}


/* TOP BAR */

.topbar {
    background: #061426;
    color: #ffffff;
    font-size: 13px;
}

.topbar-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar-left {
    font-weight: 600;
}

.topbar-right {
    color: #c9a227;
}


/* NAVBAR */

.navbar {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e6e9ee;
    box-shadow: 0 3px 15px rgba(0,0,0,.06);
}

.navbar-inner {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;

    text-decoration: none;

    color: #0b1f3a;

    flex-shrink: 0;
}

.logo:hover {
    text-decoration: none;
}

.logo-mark {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #0b1f3a;
    color: #c9a227;

    border: 2px solid #c9a227;

    border-radius: 12px;

    font-size: 16px;
    font-weight: 900;

    letter-spacing: 1px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text strong {
    color: #0b1f3a;
    font-size: 17px;
    font-weight: 800;
}

.logo-text small {
    margin-top: 3px;

    color: #8a94a6;

    font-size: 10px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 1px;
}


/* NAVIGATION */

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 5px;
}

.nav-menu a {
    position: relative;

    display: inline-flex;
    align-items: center;

    padding: 12px 13px;

    color: #243247;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    border-radius: 8px;

    transition:
        color .25s ease,
        background .25s ease;
}

.nav-menu a:hover {
    color: #9c7815;
    background: #faf7ed;
    text-decoration: none;
}


/* ADMIN */

.nav-menu .nav-admin {
    color: #9c7815;
}


/* JOIN BUTTON */

.nav-menu .nav-register {
    margin-left: 8px;

    padding: 11px 18px;

    background: #c9a227;
    color: #061426;

    border-radius: 8px;

    font-weight: 800;
}

.nav-menu .nav-register:hover {
    background: #e4c45a;
    color: #061426;
}


/* LOGOUT */

.nav-menu .nav-login {
    color: #0b1f3a;
}


/* MOBILE BUTTON */

.mobile-menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    border: 1px solid #dce1e8;

    background: #ffffff;

    color: #0b1f3a;

    border-radius: 9px;

    font-size: 22px;

    cursor: pointer;
}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

@media (max-width: 900px) {

    .topbar-right {
        display: none;
    }

    .navbar-inner {
        min-height: 68px;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu {
        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        display: none;

        flex-direction: column;
        align-items: stretch;

        padding: 12px 20px 20px;

        background: #ffffff;

        border-top: 1px solid #e6e9ee;

        box-shadow:
            0 15px 30px rgba(0,0,0,.10);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        width: 100%;

        padding: 14px 12px;

        border-radius: 8px;
    }

    .nav-menu .nav-register {
        margin-left: 0;
        margin-top: 5px;

        justify-content: center;
    }

    .logo-text strong {
        font-size: 15px;
    }

    .logo-mark {
        width: 43px;
        height: 43px;
    }
}

/* =========================================================
   6. BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 46px;

    padding: 11px 20px;

    border: 1px solid transparent;

    border-radius: 10px;

    font-weight: 800;
    font-size: .86rem;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease,
        color .25s ease;

    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background:
        linear-gradient(
            135deg,
            var(--gold),
            var(--gold-light)
        );

    color: #111;

    box-shadow:
        0 8px 25px rgba(201,162,39,.20);
}

.btn-primary:hover {
    box-shadow:
        0 12px 30px rgba(201,162,39,.30);
}

.btn-outline {
    border-color: rgba(255,255,255,.45);
    background: transparent;
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-dark {
    background: var(--primary);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
}

.btn-light:hover {
    background: #f0f3f7;
}

.btn-small {
    min-height: 38px;
    padding: 8px 14px;
    font-size: .76rem;
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-warning {
    background: var(--warning);
    color: var(--white);
}

.btn-block {
    width: 100%;
}


/* =========================================================
   7. HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 610px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary)
        );

    color: var(--white);
}

.hero::before {
    content: "";

    position: absolute;

    width: 650px;
    height: 650px;

    right: -260px;
    top: -280px;

    border:
        1px solid
        rgba(201,162,39,.20);

    border-radius: 50%;
}

.hero::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -100px;
    bottom: -260px;

    border:
        1px solid
        rgba(201,162,39,.14);

    border-radius: 50%;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(6,20,38,.98),
            rgba(6,20,38,.76),
            rgba(6,20,38,.35)
        );
}

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

.hero-text {
    max-width: 760px;
}

.hero-badge {
    display: inline-flex;

    align-items: center;
    gap: 10px;

    padding: 8px 14px;

    border:
        1px solid
        rgba(201,162,39,.35);

    border-radius: 999px;

    background:
        rgba(201,162,39,.08);

    color: var(--gold-light);

    font-size: .72rem;
    font-weight: 900;

    letter-spacing: .09em;
    text-transform: uppercase;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--gold);

    box-shadow:
        0 0 0 5px
        rgba(201,162,39,.12);
}

.hero h1 {
    margin-top: 22px;

    font-size:
        clamp(
            2.5rem,
            6vw,
            5rem
        );

    line-height: 1.02;

    letter-spacing: -.04em;
}

.hero h2 {
    margin-top: 15px;

    color: var(--gold-light);

    font-size:
        clamp(
            1.15rem,
            2.5vw,
            1.7rem
        );
}

.hero p {
    max-width: 680px;

    margin-top: 22px;

    color:
        rgba(255,255,255,.72);

    font-size: 1.02rem;

    line-height: 1.85;
}

.hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 25px;

    margin-top: 45px;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-item strong {
    color: var(--gold-light);

    font-size: 1.45rem;
    line-height: 1.2;
}

.trust-item span {
    margin-top: 4px;

    color:
        rgba(255,255,255,.60);

    font-size: .76rem;
}

.trust-line {
    width: 1px;
    height: 35px;

    background:
        rgba(255,255,255,.20);
}


/* =========================================================
   8. SECTION HEADINGS
   ========================================================= */

.section-heading {
    margin-bottom: 45px;
}

.section-heading > span {
    display: inline-block;

    margin-bottom: 9px;

    color: var(--gold-dark);

    font-size: .72rem;
    font-weight: 900;

    letter-spacing: .16em;

    text-transform: uppercase;
}

.section-heading h2 {
    color: var(--primary);

    font-size:
        clamp(
            1.9rem,
            4vw,
            3rem
        );

    line-height: 1.15;
}

.section-heading p {
    max-width: 650px;

    margin-top: 12px;

    color: var(--text-muted);
}

.section-heading-center {
    text-align: center;
}

.section-heading-center p {
    margin-left: auto;
    margin-right: auto;
}

.section-heading-light h2 {
    color: var(--white);
}

.section-heading-light p {
    color:
        rgba(255,255,255,.62);
}

.section-eyebrow {
    display: inline-block;

    color: var(--gold-dark);

    font-size: .72rem;
    font-weight: 900;

    letter-spacing: .16em;
}


/* =========================================================
   9. INTRO SECTION
   ========================================================= */

.intro-section {
    background: var(--white);
}

.intro-grid {
    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    gap: 70px;

    align-items: center;
}

.intro-content h2 {
    margin:
        12px 0 22px;

    color: var(--primary);

    font-size:
        clamp(
            2rem,
            4vw,
            3.3rem
        );

    line-height: 1.12;
}

.intro-content h2 span {
    color: var(--gold-dark);
}

.intro-content > p {
    max-width: 620px;

    color: var(--text-muted);

    line-height: 1.9;
}

.text-link {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-top: 25px;

    color: var(--primary);

    font-weight: 800;
}

.text-link:hover {
    color: var(--gold-dark);
}

.intro-cards {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;
}

.intro-card {
    padding: 28px;

    background:
        var(--surface-soft);

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-lg);

    transition: var(--transition);
}

.intro-card:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow);

    border-color:
        rgba(201,162,39,.35);
}

.intro-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    background:
        rgba(201,162,39,.12);

    border-radius: 14px;

    font-size: 1.4rem;

    margin-bottom: 18px;
}

.intro-card h3 {
    color: var(--primary);

    margin-bottom: 9px;
}

.intro-card p {
    color: var(--text-muted);

    line-height: 1.65;

    font-size: .9rem;
}


/* =========================================================
   10. MEMBER SLIDER
   ========================================================= */

.members-home-section {
    background: var(--background);
}

.member-slider-wrapper {
    position: relative;

    display: flex;

    align-items: center;

    gap: 18px;
}

.member-slider {
    position: relative;

    flex: 1;

    width: 100%;

    min-height: 500px;

    border-radius:
        var(--radius-xl);

    overflow: hidden;

    background:
        var(--primary-dark);

    box-shadow:
        var(--shadow-lg);
}

.member-slide {
    position: absolute;

    inset: 0;

    width: 100%;
    min-height: 500px;

    display: flex;

    align-items: flex-end;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    color: var(--white);

    transition:
        opacity .7s ease,
        visibility .7s ease;
}

.member-slide.active {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    z-index: 2;
}

.member-slide-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-light)
        );
}

.member-slide-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5,18,35,.96) 0%,
            rgba(5,18,35,.72) 45%,
            rgba(5,18,35,.16) 100%
        );
}

.member-slide-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 1s ease;
}

.member-slide.active
.member-slide-image img {
    transform: scale(1.03);
}

.avatar-placeholder {
    width: 100%;
    height: 100%;

    display: grid;
    place-items: center;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-light)
        );

    color: var(--gold-light);

    font-size: 7rem;
    font-weight: 900;
}

.member-slide-content {
    position: relative;

    z-index: 3;

    max-width: 650px;

    padding:
        55px;

    text-shadow:
        0 2px 8px
        rgba(0,0,0,.15);
}

.member-label {
    display: inline-block;

    margin-bottom: 13px;

    color: var(--gold-light);

    font-size: .68rem;
    font-weight: 900;

    letter-spacing: .15em;
}

.member-slide-content h3 {
    margin-bottom: 12px;

    color: var(--white);

    font-size:
        clamp(
            1.8rem,
            4vw,
            3.2rem
        );

    line-height: 1.08;
}

.member-slide-content p {
    margin-top: 7px;

    color:
        rgba(255,255,255,.76);

    font-size: .94rem;
}

.member-slide-content strong {
    color: var(--white);
}

.member-info-row {
    display: flex;

    align-items: flex-start;

    gap: 9px;

    margin-top: 9px;

    color:
        rgba(255,255,255,.78);
}

.info-icon {
    width: 22px;

    flex: 0 0 22px;
}

.view-member {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-top: 28px;

    padding-bottom: 5px;

    border-bottom:
        1px solid
        rgba(201,162,39,.55);

    color: var(--gold-light);

    font-weight: 900;

    transition: var(--transition);
}

.view-member:hover {
    gap: 14px;

    color: var(--white);
}

.member-control {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    display: grid;
    place-items: center;

    border:
        1px solid
        var(--border);

    border-radius: 50%;

    background: var(--white);

    color: var(--primary);

    font-size: 2rem;

    line-height: 1;

    cursor: pointer;

    z-index: 10;

    transition: var(--transition);

    box-shadow:
        0 5px 20px
        rgba(0,0,0,.08);
}

.member-control:hover {
    background: var(--primary);

    color: var(--white);

    border-color:
        var(--primary);

    transform: scale(1.06);
}

.slider-dots {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 7px;
}

.member-slider-footer {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 25px;

    margin-top: 22px;
}

.slider-dots button {
    width: 8px;
    height: 8px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background:
        #cbd2dc;

    transition: var(--transition);
}

.slider-dots button.active {
    width: 28px;

    border-radius: 20px;

    background:
        var(--gold);
}

.member-counter {
    display: flex;

    gap: 7px;

    color: var(--text-muted);

    font-size: .85rem;

    font-weight: 800;
}

.member-counter span:first-child {
    color: var(--primary);
}

.member-all-link {
    margin-top: 25px;
}


/* =========================================================
   11. EVENTS
   ========================================================= */

.events-home-section {
    position: relative;

    overflow: hidden;
}

.events-home-section::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    top: -250px;
    right: -150px;

    border:
        1px solid
        rgba(255,255,255,.04);

    border-radius: 50%;
}

.section-heading-light {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 30px;
}

.section-heading-link {
    color: var(--gold-light);

    font-weight: 800;

    white-space: nowrap;
}

.cards-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}

.card {
    background: var(--surface);

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-lg);

    overflow: hidden;

    box-shadow:
        var(--shadow-sm);

    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow);
}

.section-dark .card {
    background:
        rgba(255,255,255,.055);

    border-color:
        rgba(255,255,255,.10);

    color: var(--white);
}

.card-body {
    padding: 25px;
}

.card h3 {
    color: var(--primary);

    font-size: 1.1rem;

    line-height: 1.3;
}

.section-dark .card h3 {
    color: var(--white);
}

.card p {
    margin-top: 10px;

    color: var(--text-muted);

    line-height: 1.7;
}

.section-dark .card p {
    color:
        rgba(255,255,255,.65);
}

.event-image {
    position: relative;

    height: 220px;

    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .5s ease;
}

.event-card:hover
.event-image img {
    transform: scale(1.06);
}

.event-image-badge {
    position: absolute;

    top: 15px;
    left: 15px;

    padding: 7px 11px;

    border-radius: 999px;

    background:
        var(--gold);

    color: #111;

    font-size: .68rem;

    font-weight: 900;

    letter-spacing: .08em;
}

.event-image-placeholder {
    display: grid;

    place-items: center;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-light)
        );
}

.event-image-placeholder span {
    font-size: 4rem;

    opacity: .8;
}

.event-card .card-body {
    display: flex;

    gap: 18px;
}

.event-date {
    flex: 0 0 58px;

    width: 58px;
    height: 68px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    margin: 0;

    border-radius: 12px;

    background:
        rgba(201,162,39,.12);

    color:
        var(--gold-light);
}

.event-day {
    font-size: 1.5rem;

    font-weight: 900;

    line-height: 1;
}

.event-month {
    margin-top: 4px;

    font-size: .65rem;

    font-weight: 800;
}

.event-main-content {
    min-width: 0;

    padding-left: 0;
}

.event-main-content h3 {
    margin-bottom: 8px;
}

.event-main-content p {
    font-size: .88rem;
}

.event-location {
    display: flex;

    align-items: flex-start;

    gap: 7px;

    margin-top: 13px;

    color: var(--text-muted);

    font-size: .8rem;

    line-height: 1.5;
}

.section-dark .event-location {
    color:
        rgba(255,255,255,.60);
}

.event-link {
    display: inline-flex;

    gap: 8px;

    margin-top: 18px;

    color: var(--gold-light);

    font-weight: 800;
}

.event-link:hover {
    color: var(--white);
}


/* =========================================================
   12. ANNOUNCEMENTS
   ========================================================= */

.announcements-grid {
    grid-template-columns:
        repeat(3, 1fr);
}

.announcement-card {
    border-top:
        3px solid
        var(--gold);
}

.announcement-top {
    display: flex;

    justify-content: space-between;

    align-items: center;

    padding:
        22px 22px 0;
}

.announcement-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background:
        rgba(201,162,39,.12);
}

.announcement-date {
    color: var(--text-muted);

    font-size: .75rem;

    font-weight: 700;
}

.announcement-card
.card-body p {
    color: var(--text-muted);

    font-size: .9rem;

    line-height: 1.7;
}


/* =========================================================
   13. COMMUNITY BANNER
   ========================================================= */

.community-banner {
    position: relative;

    overflow: hidden;

    padding: 90px 0;

    background:
        linear-gradient(
            110deg,
            var(--primary-dark),
            var(--primary)
        );

    color: var(--white);
}

.community-banner-pattern {
    position: absolute;

    width: 500px;
    height: 500px;

    right: -180px;
    top: -220px;

    border:
        1px solid
        rgba(201,162,39,.20);

    border-radius: 50%;
}

.community-banner-content {
    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;
}

.community-banner h2 {
    margin:
        12px 0 18px;

    font-size:
        clamp(
            2rem,
            4vw,
            3.1rem
        );

    line-height: 1.15;
}

.community-banner p {
    max-width: 680px;

    color:
        rgba(255,255,255,.70);

    line-height: 1.8;
}

.community-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}


/* =========================================================
   14. CTA
   ========================================================= */

.cta-section {
    position: relative;

    overflow: hidden;

    padding: 90px 0;

    background:
        linear-gradient(
            135deg,
            var(--gold),
            var(--gold-light)
        );

    color: #111;
}

.cta-section::before {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    right: -180px;
    top: -200px;

    border:
        1px solid
        rgba(255,255,255,.35);

    border-radius: 50%;
}

.cta-section::after {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    left: -160px;
    bottom: -160px;

    border:
        1px solid
        rgba(255,255,255,.25);

    border-radius: 50%;
}

.cta-content {
    position: relative;

    z-index: 2;

    text-align: center;
}

.cta-small {
    display: block;

    margin-bottom: 12px;

    font-size: .72rem;

    font-weight: 900;

    letter-spacing: .18em;
}

.cta-content h2 {
    max-width: 800px;

    margin:
        0 auto 15px;

    color: var(--primary);

    font-size:
        clamp(
            2rem,
            4vw,
            3.1rem
        );

    line-height: 1.15;
}

.cta-content p {
    max-width: 600px;

    margin:
        0 auto;

    color:
        rgba(6,20,38,.70);
}

.cta-actions {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 25px;
}


/* =========================================================
   15. PAGE HEADER
   ========================================================= */

.page-header {
    padding: 75px 0;

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary)
        );

    color: var(--white);

    text-align: center;
}

.page-header h1 {
    font-size:
        clamp(
            2rem,
            5vw,
            3.4rem
        );

    line-height: 1.1;
}

.page-header p {
    max-width: 650px;

    margin:
        14px auto 0;

    color:
        rgba(255,255,255,.68);
}

.breadcrumbs {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 15px;

    color:
        rgba(255,255,255,.55);

    font-size: .8rem;
}

.breadcrumbs a {
    color: var(--gold-light);
}


/* =========================================================
   16. MEMBER GRID
   ========================================================= */

.members-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.member-card {
    position: relative;

    background: var(--white);

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-lg);

    overflow: hidden;

    box-shadow:
        var(--shadow-sm);

    transition: var(--transition);
}

.member-card:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow);
}

.member-card-image {
    position: relative;

    height: 260px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-light)
        );
}

.member-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.member-card-content {
    padding: 23px;
}

.member-card-content h3 {
    color: var(--primary);

    font-size: 1.15rem;
}

.member-card-content p {
    margin-top: 7px;

    color: var(--text-muted);

    font-size: .85rem;
}

.member-card-footer {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 10px;

    margin-top: 18px;
}


/* =========================================================
   17. MEMBER PROFILE
   ========================================================= */

.member-profile {
    display: grid;

    grid-template-columns:
        360px 1fr;

    gap: 45px;

    align-items: start;
}

.profile-photo {
    overflow: hidden;

    border-radius:
        var(--radius-xl);

    background:
        var(--primary);

    box-shadow:
        var(--shadow-lg);
}

.profile-photo img {
    width: 100%;
    aspect-ratio: 1 / 1;

    object-fit: cover;
}

.profile-info {
    padding: 10px 0;
}

.profile-info h1 {
    color: var(--primary);

    font-size:
        clamp(
            2rem,
            4vw,
            3rem
        );

    line-height: 1.1;
}

.profile-class {
    margin-top: 8px;

    color: var(--gold-dark);

    font-weight: 800;
}

.profile-details {
    margin-top: 28px;

    display: grid;

    gap: 15px;
}

.profile-detail {
    padding: 18px;

    border:
        1px solid
        var(--border);

    border-radius: 12px;

    background:
        var(--white);
}

.profile-detail span {
    display: block;

    color: var(--text-muted);

    font-size: .72rem;

    text-transform: uppercase;

    letter-spacing: .08em;

    font-weight: 800;
}

.profile-detail strong {
    display: block;

    margin-top: 4px;

    color: var(--primary);
}


/* =========================================================
   18. EVENTS PAGE
   ========================================================= */

.events-grid {
    grid-template-columns:
        repeat(3, 1fr);
}

.event-details {
    max-width: 900px;

    margin: auto;
}

.event-details-image {
    width: 100%;

    max-height: 500px;

    object-fit: cover;

    border-radius:
        var(--radius-xl);

    box-shadow:
        var(--shadow);
}

.event-details-content {
    margin-top: 35px;

    background: var(--white);

    padding: 35px;

    border-radius:
        var(--radius-lg);

    border:
        1px solid
        var(--border);
}

.event-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 12px 25px;

    margin-bottom: 25px;

    color: var(--text-muted);

    font-size: .86rem;
}

.event-description {
    color: var(--text);

    line-height: 1.9;
}

.event-description p {
    margin-bottom: 15px;
}


/* =========================================================
   19. EVENT MEDIA
   ========================================================= */

.media-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.media-item {
    position: relative;

    overflow: hidden;

    border-radius:
        var(--radius);

    background:
        var(--primary-dark);

    aspect-ratio: 16 / 10;
}

.media-item img,
.media-item video {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.media-item:hover img {
    transform: scale(1.04);
}


/* =========================================================
   20. GALLERY
   ========================================================= */

.gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;
}

.gallery-item {
    position: relative;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    border-radius:
        var(--radius);

    background:
        var(--primary-dark);
}

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-caption {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 35px 14px 14px;

    background:
        linear-gradient(
            transparent,
            rgba(0,0,0,.75)
        );

    color: #fff;

    font-size: .8rem;
}


/* =========================================================
   21. VIDEO
   ========================================================= */

.video-wrapper {
    position: relative;

    overflow: hidden;

    border-radius:
        var(--radius-lg);

    background:
        #000;

    aspect-ratio: 16 / 9;
}

.video-wrapper video,
.video-wrapper iframe {
    width: 100%;
    height: 100%;

    border: 0;
}


/* =========================================================
   22. FORMS
   ========================================================= */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    color: var(--text-dark);

    font-size: .83rem;

    font-weight: 800;
}

.form-control,
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;

    min-height: 48px;

    padding:
        11px 14px;

    border:
        1px solid
        var(--border-dark);

    border-radius: 10px;

    background: var(--white);

    color: var(--text);

    outline: none;

    transition:
        border .25s ease,
        box-shadow .25s ease;
}

.form-control:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color:
        var(--gold-dark);

    box-shadow:
        0 0 0 4px
        rgba(201,162,39,.10);
}

.form-group textarea {
    min-height: 140px;

    resize: vertical;
}

.form-help {
    margin-top: 6px;

    color: var(--text-muted);

    font-size: .74rem;
}

.form-row {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;
}

.checkbox-group {
    display: flex;

    align-items: flex-start;

    gap: 10px;
}

.checkbox-group input {
    width: 18px;
    height: 18px;

    margin-top: 3px;
}

.checkbox-group label {
    margin: 0;

    font-weight: 600;
}


/* =========================================================
   23. AUTH
   ========================================================= */

.auth-section {
    min-height:
        calc(100vh - 150px);

    display: flex;

    align-items: center;

    padding: 70px 0;
}

.auth-wrapper {
    width: 100%;
    max-width: 480px;

    margin: auto;
}

.auth-card {
    background: var(--white);

    padding: 38px;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-xl);

    box-shadow:
        var(--shadow-lg);
}

.auth-header {
    text-align: center;

    margin-bottom: 30px;
}

.auth-header h1 {
    color: var(--primary);

    font-size: 1.8rem;
}

.auth-header p {
    margin-top: 7px;

    color: var(--text-muted);

    font-size: .88rem;
}

.auth-footer {
    margin-top: 22px;

    text-align: center;

    color: var(--text-muted);

    font-size: .84rem;
}

.auth-footer a {
    color: var(--gold-dark);

    font-weight: 800;
}


/* =========================================================
   24. ALERTS
   ========================================================= */

.alert {
    margin-bottom: 20px;

    padding:
        13px 15px;

    border-radius: 10px;

    border: 1px solid transparent;

    font-size: .84rem;
}

.alert-success {
    color: var(--success);

    background:
        var(--success-bg);

    border-color:
        rgba(22,131,75,.18);
}

.alert-danger,
.alert-error {
    color: var(--danger);

    background:
        var(--danger-bg);

    border-color:
        rgba(198,40,40,.18);
}

.alert-warning {
    color: var(--warning);

    background:
        var(--warning-bg);

    border-color:
        rgba(166,106,0,.18);
}

.alert-info {
    color: var(--info);

    background:
        var(--info-bg);

    border-color:
        rgba(23,105,170,.18);
}


/* =========================================================
   25. DASHBOARD
   ========================================================= */

.dashboard-layout {
    display: grid;

    grid-template-columns:
        250px 1fr;

    gap: 30px;

    align-items: start;
}

.dashboard-sidebar {
    position: sticky;

    top: 100px;

    background:
        var(--primary);

    padding: 18px;

    border-radius:
        var(--radius-lg);

    color: #fff;

    box-shadow:
        var(--shadow);
}

.dashboard-user {
    padding:
        15px;

    margin-bottom: 15px;

    border-bottom:
        1px solid
        rgba(255,255,255,.12);
}

.dashboard-user strong {
    display: block;

    color: #fff;
}

.dashboard-user span {
    color:
        rgba(255,255,255,.58);

    font-size: .75rem;
}

.dashboard-menu {
    display: grid;

    gap: 5px;
}

.dashboard-menu a {
    display: flex;

    align-items: center;

    gap: 10px;

    padding:
        11px 12px;

    border-radius: 9px;

    color:
        rgba(255,255,255,.72);

    font-size: .82rem;

    font-weight: 700;
}

.dashboard-menu a:hover,
.dashboard-menu a.active {
    background:
        rgba(255,255,255,.10);

    color: var(--gold-light);
}

.dashboard-content {
    min-width: 0;
}

.dashboard-header {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    margin-bottom: 28px;
}

.dashboard-header h1 {
    color: var(--primary);

    font-size:
        clamp(
            1.6rem,
            3vw,
            2.4rem
        );
}


/* =========================================================
   26. DASHBOARD STATS
========================================================= */

.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;

    margin-bottom: 30px;
}

.stat-card {
    padding: 23px;

    background: var(--white);

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-lg);

    box-shadow:
        var(--shadow-sm);
}

.stat-icon {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background:
        rgba(201,162,39,.12);

    margin-bottom: 15px;
}

.stat-card strong {
    display: block;

    color: var(--primary);

    font-size: 1.8rem;

    line-height: 1.1;
}

.stat-card span {
    display: block;

    margin-top: 5px;

    color: var(--text-muted);

    font-size: .76rem;
}


/* =========================================================
   27. TABLES
   ========================================================= */

.table-wrapper {
    overflow-x: auto;

    background: var(--white);

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-lg);

    box-shadow:
        var(--shadow-sm);
}

.table {
    width: 100%;

    border-collapse: collapse;

    min-width: 700px;
}

.table th,
.table td {
    padding:
        14px 16px;

    border-bottom:
        1px solid
        var(--border);

    text-align: left;

    vertical-align: middle;
}

.table th {
    background:
        #f8fafc;

    color: var(--primary);

    font-size: .74rem;

    text-transform: uppercase;

    letter-spacing: .06em;
}

.table td {
    color: var(--text);

    font-size: .82rem;
}

.table tr:last-child td {
    border-bottom: 0;
}

.table tr:hover td {
    background:
        rgba(11,31,58,.025);
}

.table-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;
}


/* =========================================================
   28. BADGES
   ========================================================= */

.badge {
    display: inline-flex;

    align-items: center;

    padding:
        5px 9px;

    border-radius: 999px;

    font-size: .66rem;

    font-weight: 900;

    letter-spacing: .03em;
}

.badge-success {
    background:
        var(--success-bg);

    color:
        var(--success);
}

.badge-danger {
    background:
        var(--danger-bg);

    color:
        var(--danger);
}

.badge-warning {
    background:
        var(--warning-bg);

    color:
        var(--warning);
}

.badge-info {
    background:
        var(--info-bg);

    color:
        var(--info);
}

.badge-gold {
    background:
        rgba(201,162,39,.13);

    color:
        var(--gold-dark);
}


/* =========================================================
   29. ABOUT
   ========================================================= */

.about-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 55px;

    align-items: center;
}

.about-image {
    overflow: hidden;

    border-radius:
        var(--radius-xl);

    box-shadow:
        var(--shadow-lg);
}

.about-image img {
    width: 100%;

    min-height: 400px;

    object-fit: cover;
}

.about-content h2 {
    color: var(--primary);

    font-size:
        clamp(
            2rem,
            4vw,
            3rem
        );

    line-height: 1.15;
}

.about-content p {
    margin-top: 16px;

    color: var(--text-muted);

    line-height: 1.85;
}

.about-list {
    margin-top: 25px;

    display: grid;

    gap: 12px;
}

.about-list li {
    display: flex;

    gap: 10px;

    align-items: flex-start;

    color: var(--text);
}

.about-list li::before {
    content: "✓";

    flex: 0 0 24px;

    width: 24px;
    height: 24px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        rgba(201,162,39,.13);

    color:
        var(--gold-dark);

    font-weight: 900;

    font-size: .75rem;
}


/* =========================================================
   30. ANNOUNCEMENTS
   ========================================================= */

.announcement-list {
    display: grid;

    gap: 18px;
}

.announcement-item {
    padding: 24px;

    background: var(--white);

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-lg);
}

.announcement-item h3 {
    color: var(--primary);
}

.announcement-item .date {
    display: block;

    margin-bottom: 8px;

    color: var(--gold-dark);

    font-size: .74rem;

    font-weight: 800;
}

.announcement-item p {
    margin-top: 10px;

    color: var(--text-muted);

    line-height: 1.8;
}


/* =========================================================
   31. EMPTY STATE
   ========================================================= */

.empty-state {
    padding:
        60px 30px;

    text-align: center;

    background: var(--white);

    border:
        1px dashed
        var(--border-dark);

    border-radius:
        var(--radius-lg);
}

.empty-state h3 {
    margin-top: 10px;

    color: var(--primary);
}

.empty-state p {
    margin-top: 5px;

    color: var(--text-muted);
}

.empty-icon {
    font-size: 2.7rem;

    opacity: .75;
}

.empty-state-dark {
    background:
        rgba(255,255,255,.045);

    border-color:
        rgba(255,255,255,.12);
}

.empty-state-dark h3 {
    color: var(--white);
}

.empty-state-dark p {
    color:
        rgba(255,255,255,.60);
}


/* =========================================================
   32. PAGINATION
   ========================================================= */

.pagination {
    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 35px;
}

.pagination a,
.pagination span {
    min-width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    padding: 0 10px;

    border:
        1px solid
        var(--border);

    border-radius: 9px;

    background: var(--white);

    color: var(--primary);

    font-size: .78rem;

    font-weight: 800;
}

.pagination a:hover,
.pagination .active {
    background: var(--primary);

    color: var(--white);

    border-color:
        var(--primary);
}


/* =========================================================
   33. FOOTER
   ========================================================= */

.site-footer {
    background:
        var(--primary-dark);

    color:
        rgba(255,255,255,.68);

    padding-top: 65px;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.4fr 1fr 1fr 1fr;

    gap: 45px;
}

.footer-brand h2 {
    color: var(--white);

    font-size: 1.15rem;
}

.footer-brand p {
    margin-top: 13px;

    max-width: 380px;

    color:
        rgba(255,255,255,.55);

    font-size: .84rem;

    line-height: 1.8;
}

.footer-column h3 {
    margin-bottom: 17px;

    color: var(--gold-light);

    font-size: .82rem;

    text-transform: uppercase;

    letter-spacing: .08em;
}

.footer-links {
    display: grid;

    gap: 9px;
}

.footer-links a {
    color:
        rgba(255,255,255,.58);

    font-size: .82rem;
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    margin-top: 55px;

    padding:
        20px 0;

    border-top:
        1px solid
        rgba(255,255,255,.08);

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    font-size: .75rem;
}

.footer-bottom a {
    color: var(--gold-light);
}


/* =========================================================
   34. MODAL
   ========================================================= */

.modal {
    position: fixed;

    inset: 0;

    z-index: 2000;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 20px;

    background:
        rgba(0,0,0,.72);

    backdrop-filter:
        blur(5px);
}

.modal.active,
.modal.show {
    display: flex;
}

.modal-content {
    width: 100%;

    max-width: 600px;

    max-height: 90vh;

    overflow-y: auto;

    background: var(--white);

    border-radius:
        var(--radius-xl);

    box-shadow:
        0 30px 80px
        rgba(0,0,0,.25);
}

.modal-header {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

    padding: 20px 25px;

    border-bottom:
        1px solid
        var(--border);
}

.modal-header h2 {
    color: var(--primary);

    font-size: 1.2rem;
}

.modal-close {
    width: 36px;
    height: 36px;

    border: 0;

    border-radius: 50%;

    background:
        #f1f3f6;

    color: var(--primary);

    font-size: 1.1rem;
}

.modal-body {
    padding: 25px;
}


/* =========================================================
   35. LOADING
   ========================================================= */

.loading {
    display: flex;

    justify-content: center;

    align-items: center;

    min-height: 150px;
}

.spinner {
    width: 38px;
    height: 38px;

    border:
        3px solid
        var(--border);

    border-top-color:
        var(--gold);

    border-radius: 50%;

    animation:
        spin .8s linear infinite;
}

@keyframes spin {

    to {
        transform: rotate(360deg);
    }

}


/* =========================================================
   36. BACK TO TOP
   ========================================================= */

.back-to-top {
    position: fixed;

    right: 20px;
    bottom: 20px;

    z-index: 900;

    width: 44px;
    height: 44px;

    display: none;

    place-items: center;

    border: 0;

    border-radius: 50%;

    background: var(--primary);

    color: var(--white);

    box-shadow:
        var(--shadow);

    font-size: 1.1rem;
}

.back-to-top.show {
    display: grid;
}

.back-to-top:hover {
    background: var(--gold);

    color: #111;
}


/* =========================================================
   37. FILE UPLOAD
   ========================================================= */

.file-upload {
    position: relative;

    padding: 28px;

    text-align: center;

    border:
        2px dashed
        var(--border-dark);

    border-radius:
        var(--radius);

    background:
        var(--surface-soft);

    transition: var(--transition);
}

.file-upload:hover {
    border-color:
        var(--gold);

    background:
        rgba(201,162,39,.04);
}

.file-upload input[type="file"] {
    width: 100%;

    cursor: pointer;
}


/* =========================================================
   38. PROFILE EDIT
   ========================================================= */

.profile-edit-card {
    max-width: 850px;

    margin: auto;

    padding: 30px;

    background: var(--white);

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-lg);

    box-shadow:
        var(--shadow-sm);
}

.current-photo {
    width: 120px;
    height: 120px;

    overflow: hidden;

    border-radius: 50%;

    background:
        var(--primary);

    margin-bottom: 20px;
}

.current-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   39. ADMIN
   ========================================================= */

.admin-header {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    margin-bottom: 25px;
}

.admin-header h1 {
    color: var(--primary);

    font-size:
        clamp(
            1.6rem,
            3vw,
            2.4rem
        );
}

.admin-card {
    background: var(--white);

    padding: 25px;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-lg);

    box-shadow:
        var(--shadow-sm);

    margin-bottom: 25px;
}

.admin-card h2 {
    color: var(--primary);

    margin-bottom: 20px;

    font-size: 1.15rem;
}


/* =========================================================
   40. SEARCH
   ========================================================= */

.search-box {
    position: relative;

    max-width: 500px;
}

.search-box input {
    width: 100%;

    min-height: 48px;

    padding:
        10px 45px 10px 15px;

    border:
        1px solid
        var(--border);

    border-radius: 10px;

    background: var(--white);

    outline: none;
}

.search-box button {
    position: absolute;

    right: 6px;
    top: 6px;

    width: 36px;
    height: 36px;

    border: 0;

    border-radius: 8px;

    background: var(--primary);

    color: var(--white);
}


/* =========================================================
   41. DASHBOARD CONTENT CARDS
   ========================================================= */

.content-card {
    padding: 25px;

    background: var(--white);

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-lg);

    box-shadow:
        var(--shadow-sm);

    margin-bottom: 25px;
}

.content-card-header {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

    margin-bottom: 20px;
}

.content-card-header h2 {
    color: var(--primary);

    font-size: 1.1rem;
}


/* =========================================================
   42. HERO RESPONSIVE DECORATION
========================================================= */

.hero-text,
.intro-content,
.community-banner-content {
    animation:
        heroFade .7s ease both;
}

@keyframes heroFade {

    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   43. MOBILE NAVIGATION
========================================================= */

@media (max-width: 1000px) {

    .nav-menu {
        position: absolute;

        left: 20px;
        right: 20px;
        top: calc(100% + 8px);

        display: none;

        flex-direction: column;

        align-items: stretch;

        padding: 12px;

        background: var(--white);

        border:
            1px solid
            var(--border);

        border-radius:
            var(--radius-lg);

        box-shadow:
            var(--shadow-lg);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 12px;
    }

    .nav-menu a.active::after {
        display: none;
    }

    .menu-toggle {
        display: grid;

        place-items: center;
    }

    .nav-actions {
        margin-left: auto;
    }

}


/* =========================================================
   44. TABLET
========================================================= */

@media (max-width: 900px) {

    .section {
        padding: 70px 0;
    }

    .intro-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .about-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .member-profile {
        grid-template-columns: 280px 1fr;

        gap: 30px;
    }

    .cards-grid,
    .events-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .members-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .stats-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .dashboard-layout {
        grid-template-columns:
            210px 1fr;
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .community-banner-content {
        flex-direction: column;

        align-items: flex-start;
    }

}


/* =========================================================
   45. TABLET / SMALL LAPTOP
========================================================= */

@media (max-width: 760px) {

    .container {
        width:
            min(
                calc(100% - 30px),
                var(--container)
            );
    }

    .hero {
        min-height: 590px;
    }

    .hero h1 {
        font-size:
            clamp(
                2.3rem,
                10vw,
                3.8rem
            );
    }

    .hero-trust {
        gap: 16px;
    }

    .member-slider-wrapper {
        display: block;
    }

    .member-control {
        position: absolute;

        top: 50%;

        transform:
            translateY(-50%);

        z-index: 20;
    }

    .member-control:hover {
        transform:
            translateY(-50%)
            scale(1.06);
    }

    .member-prev {
        left: 12px;
    }

    .member-next {
        right: 12px;
    }

    .member-slide-content {
        padding: 40px;
    }

    .section-heading-light {
        flex-direction: column;

        align-items: flex-start;
    }

    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: static;
    }

    .dashboard-menu {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =========================================================
   46. MOBILE
========================================================= */

@media (max-width: 600px) {

    .topbar {
        display: none;
    }

    .navbar .container {
        min-height: 68px;
    }

    .logo-mark {
        width: 39px;
        height: 39px;
    }

    .logo h1,
    .logo strong {
        font-size: .95rem;
    }

    .nav-actions .btn {
        display: none;
    }

    .section {
        padding: 60px 0;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .intro-cards {
        grid-template-columns: 1fr;
    }

    .cards-grid,
    .events-grid,
    .members-grid,
    .announcements-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .member-profile {
        grid-template-columns: 1fr;
    }

    .profile-photo {
        max-width: 350px;

        margin: auto;
    }

    .member-slider {
        min-height: 520px;
    }

    .member-slide {
        min-height: 520px;
    }

    .member-slide-content {
        padding:
            30px 25px;
    }

    .member-slide-content h3 {
        font-size: 1.65rem;
    }

    .event-card .card-body {
        flex-direction: column;

        gap: 12px;
    }

    .event-date {
        flex-direction: row;

        width: fit-content;

        height: auto;

        padding:
            8px 12px;

        gap: 7px;
    }

    .event-month {
        margin-top: 0;
    }

    .event-main-content {
        padding-left: 0;
    }

    .community-banner {
        padding: 65px 0;
    }

    .community-actions,
    .community-actions .btn {
        width: 100%;
    }

    .community-actions .btn {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;

        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 25px;
    }

    .dashboard-menu {
        grid-template-columns: 1fr;
    }

    .dashboard-header,
    .admin-header,
    .content-card-header {
        flex-direction: column;

        align-items: flex-start;
    }

}


/* =========================================================
   47. SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    .container {
        width:
            calc(100% - 24px);
    }

    .hero {
        min-height: 650px;
    }

    .hero-actions {
        flex-direction: column;

        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;

        justify-content: center;
    }

    .hero-trust {
        justify-content:
            space-between;

        margin-top: 30px;
    }

    .trust-line {
        display: none;
    }

    .trust-item strong {
        font-size: 1.05rem;
    }

    .trust-item span {
        font-size: .68rem;
    }

    .member-slider {
        min-height: 545px;

        border-radius:
            var(--radius-lg);
    }

    .member-slide {
        min-height: 545px;
    }

    .member-slide-content {
        padding:
            25px 22px;
    }

    .member-slide-content h3 {
        font-size: 1.5rem;
    }

    .member-label {
        font-size: .6rem;
    }

    .member-info-row {
        font-size: .82rem;
    }

    .member-slider-footer {
        margin-top: 15px;
    }

    .member-control {
        width: 42px;
        height: 42px;

        flex-basis: 42px;

        font-size: 1.7rem;
    }

    .event-image {
        height: 200px;
    }

    .cta-section {
        padding: 65px 0;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .gallery-grid {
        gap: 10px;
    }

}


/* =========================================================
   48. VERY SMALL PHONES
========================================================= */

@media (max-width: 360px) {

    .hero h1 {
        font-size: 2.15rem;
    }

    .hero h2 {
        font-size: 1.05rem;
    }

    .hero p {
        font-size: .88rem;
    }

    .member-slider {
        min-height: 570px;
    }

    .member-slide {
        min-height: 570px;
    }

    .member-slide-content {
        padding:
            23px 18px;
    }

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

}


/* =========================================================
   49. ACCESSIBILITY
========================================================= */

:focus-visible {
    outline:
        3px solid
        rgba(201,162,39,.45);

    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;
    }

}


/* =========================================================
   50. PRINT
========================================================= */

@media print {

    .navbar,
    .topbar,
    .hero-actions,
    .member-control,
    .slider-dots,
    .community-banner,
    .cta-section,
    .site-footer,
    .btn {
        display: none !important;
    }

    body {
        background: #fff;

        color: #000;
    }

    .section {
        padding: 25px 0;
    }

    .card,
    .content-card,
    .profile-detail {
        box-shadow: none;

        border:
            1px solid #ddd;
    }

}