:root {
    /* =========================================================
1. DESIGN TOKENS
========================================================= */


    --primary: #875053;
    --primary-dark: #663b3e;

    --gold: #fdd071;
    --gold-light: #fff1d5;

    --cream: #ebe9e1;
    --cream-light: #faf8f2;

    --charcoal: #1a1a1a;
    --text: #333333;
    --muted: #6d6d6d;

    --white: #ffffff;

    --topbar-height: 70px;

    --border-radius: 10px;
    --border-radius-large: 18px;

    --box-shadow-default: 0 4px 14px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 10px 28px rgba(0, 0, 0, 0.13);


}

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

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Lexend', sans-serif;
    color: var(--text);
    background: var(--cream);
}

a {
    color: inherit;
}

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

/* =========================================================
3. PAGE STRUCTURE
========================================================= */

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

.main-container {
    position: relative;
    z-index: 1;
    padding-top: var(--topbar-height);
}

/* =========================================================
4. FIXED BACKGROUND
========================================================= */

.far-background {
    position: fixed;
    inset: 0;


    background:
        linear-gradient(rgba(235, 233, 225, 0.72),
            rgba(235, 233, 225, 0.72)),
        url("../images/SAGITTA_BG.jpg") center / cover no-repeat;

    filter: blur(0.5px);
    transform: scale(1.02);

    z-index: -1;


}

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

.top-bar {
    position: fixed;
    top: 0;
    left: 0;


    width: 100%;
    min-height: var(--topbar-height);

    background: rgba(253, 208, 113, 0.97);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);

    z-index: 1000;


}

.top-bar-inner {
    width: 100%;
    max-width: 1400px;
    min-height: var(--topbar-height);


    margin: 0 auto;
    padding: 0 2rem;

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


}

.top-bar-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;


    color: var(--charcoal);
    text-decoration: none;


}

.top-bar-brand:hover {
    color: var(--charcoal);
    text-decoration: none;
}

.top-bar-logo {
    width: auto;
    height: 45px;
    display: block;
}

.top-bar-label {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.top-bar-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-bar-nav a,
.logout-form button {
    border: 0;
    padding: 0;


    background: transparent;

    color: var(--charcoal);
    font-size: 0.9rem;
    font-weight: 600;

    text-decoration: none;
    cursor: pointer;

    transition: opacity 0.15s ease;


}

.top-bar-nav a:hover,
.logout-form button:hover {
    opacity: 0.6;
}

.logout-form {
    margin: 0;
    padding: 0;
}

/* =========================================================
6. MOBILE NAVIGATION
========================================================= */

.mobile-nav-toggle {
    display: none;

    width: 42px;
    height: 42px;
    padding: 8px;

    border: 0;
    border-radius: 7px;

    background: var(--cream);
    cursor: pointer;
}

.mobile-nav-toggle span {
    display: block;


    width: 100%;
    height: 2px;

    margin: 5px 0;

    border-radius: 2px;
    background: var(--charcoal);

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;


}

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

.hero-section {
    position: relative;


    min-height: min(720px, calc(100vh - var(--topbar-height)));

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

    padding: 6rem 1.5rem;

    background:
        linear-gradient(rgba(253, 208, 113, 0.05),
            rgba(235, 233, 225, 0.05)),
        url("../images/SAGITTA_BG.jpg") center / cover no-repeat;

    overflow: hidden;
background-attachment: fixed;


}

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


    background:
        linear-gradient(135deg,
            rgba(255, 241, 213, 0.05),
            rgba(253, 208, 113, 0.05));


}

.hero-content {
    position: relative;
    z-index: 1;


    width: 100%;
    max-width: 850px;

    text-align: center;


}

.hero-logo {
    width: 110px;
    height: 110px;


    margin-bottom: 1.5rem;

    object-fit: contain;

    filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.12));


}

.hero-eyebrow,
.section-eyebrow {
    margin: 0 0 0.6rem;


    color: var(--primary);

    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;


}

.hero-content h1 {
    max-width: 850px;


    margin: 0 auto 1rem;

    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.3rem, 6vw, 4.8rem);
    font-weight: 800;
    line-height: 1.02;

    color: var(--charcoal);


}

.hero-intro {
    margin: 0 auto 2rem;


    font-size: 1.1rem;
    color: #444;


}

.hero-button,
.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;


    min-height: 44px;
    padding: 0.7rem 1.2rem;

    border-radius: 7px;

    font-size: 0.9rem;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;


}

.hero-button,
.primary-button {
    background: var(--charcoal);
    color: var(--white);
}

.hero-button:hover,
.primary-button:hover {
    color: var(--white);
    text-decoration: none;


    transform: translateY(-2px);

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


}

.secondary-button {
    background: transparent;
    border: 1px solid #bbb;


    color: var(--charcoal);


}

.secondary-button:hover {
    background: var(--white);
    color: var(--charcoal);


    text-decoration: none;

    transform: translateY(-1px);


}

/* =========================================================
   ABOUT PAGE — HERO
   ========================================================= */

.about-hero {
    position: relative;

    min-height: 48vh;

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

    background:
        linear-gradient(rgba(20, 20, 20, 0.55),
            rgba(20, 20, 20, 0.65)),
        url("../images/Foto1.jpg") center center / cover no-repeat;

    color: var(--white);
}

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

    width: 100%;
    max-width: 1000px;

    padding: 6rem 2rem;

    text-align: center;
}

.about-hero-content h1 {
    margin: 0 0 1rem;

    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.about-hero-content p:last-child {
    max-width: 600px;

    margin: 0 auto;

    color: rgba(255, 255, 255, 0.85);

    font-size: 1.05rem;
    line-height: 1.7;
}


/* =========================================================
   ABOUT PAGE — INTRODUCTION
   ========================================================= */

.about-introduction {
    background: var(--cream);
}

.about-introduction-inner {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
    padding: 6rem 2rem;

    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 5rem;

    align-items: center;
}


/* Carousel */

.about-carousel {
    overflow: hidden;

    border-radius: 4px;

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
}

.about-carousel .carousel-item {
    height: 520px;
}

.about-carousel .carousel-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.about-carousel .carousel-indicators {
    margin-bottom: 1rem;
}

.about-carousel .carousel-control-prev,
.about-carousel .carousel-control-next {
    width: 12%;
}


/* Text */

.about-introduction-text {
    max-width: 520px;
}

.about-introduction-text h2 {
    margin: 0 0 1.5rem;

    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 750;
    line-height: 1.1;

    color: var(--charcoal);
}

.about-introduction-text p {
    color: #555;
    line-height: 1.8;
}

.about-introduction-text .about-lead {
    margin-bottom: 1.25rem;

    font-size: 1.05rem;
    font-weight: 500;

    color: #333;
}


/* =========================================================
   ABOUT PAGE — RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .about-introduction-inner {
        grid-template-columns: 1fr;
        gap: 3rem;

        padding: 4rem 1.5rem;
    }

    .about-introduction-text {
        max-width: none;
    }

    .about-carousel .carousel-item {
        height: 420px;
    }
}


@media (max-width: 768px) {

    .about-hero {
        min-height: 40vh;
    }

    .about-hero-content {
        padding: 5rem 1.25rem;
    }

    .about-introduction-inner {
        padding: 3.5rem 1.25rem;
    }

    .about-carousel .carousel-item {
        height: 320px;
    }
}

/* =========================================================
   ABOUT PAGE — PRINCIPLES
   ========================================================= */

.principles-section {
    background: var(--white);

    padding: 6rem 2rem;

    text-align: center;
}

.principles-section .section-heading {
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.principles-section .section-heading h2 {
    margin: 0 0 1rem;

    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 750;
    line-height: 1.1;

    color: var(--charcoal);
}

.principles-section .section-heading p:last-child {
    margin: 0;

    color: #666;
    line-height: 1.7;
}


/* Coat of arms area */

.principles-container {
    position: relative;

    width: min(600px, 90vw);
    height: 600px;

    margin: 0 auto;

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

.principles-image {
    position: relative;
    z-index: 2;

    width: 260px;
    max-width: 45%;

    object-fit: contain;

    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.12));

    transition: transform 0.3s ease;
}

.principles-container:hover .principles-image {
    transform: scale(1.03);
}


/* Invisible hover areas */

.principles-container .hover-box {
    position: absolute;
    z-index: 3;

    width: 130px;
    height: 130px;

    border-radius: 50%;

    cursor: pointer;
}


/* Individual positions */

#amicitia {
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
}

#religio {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

#scientia {
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
}

#libertas {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}


/* Principle labels */

.principles-container .hover-box::before {
    content: "";

    position: absolute;

    width: 10px;
    height: 10px;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    border: 2px solid var(--gold);
    border-radius: 50%;

    background: var(--white);

    transition:
        width 0.25s ease,
        height 0.25s ease,
        background 0.25s ease;
}

.principles-container .hover-box:hover::before {
    width: 18px;
    height: 18px;

    background: var(--gold);
}


/* Tooltip */

.principles-container .hover-box::after {
    content: attr(data-hover-text);

    position: absolute;

    width: 230px;

    padding: 1rem 1.1rem;

    border-radius: 4px;

    background: var(--charcoal);
    color: var(--cream);

    font-size: 0.78rem;
    line-height: 1.6;

    text-align: left;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.principles-container .hover-box:hover::after {
    opacity: 1;
    visibility: visible;
}


/* Tooltip positioning */

#amicitia::after {
    left: 50%;
    bottom: calc(100% + 15px);

    transform: translateX(-50%) translateY(8px);
}

#amicitia:hover::after {
    transform: translateX(-50%) translateY(0);
}

#religio::after {
    left: calc(100% + 15px);
    top: 50%;

    transform: translateY(-50%) translateX(-8px);
}

#religio:hover::after {
    transform: translateY(-50%) translateX(0);
}

#scientia::after {
    left: 50%;
    top: calc(100% + 15px);

    transform: translateX(-50%) translateY(-8px);
}

#scientia:hover::after {
    transform: translateX(-50%) translateY(0);
}

#libertas::after {
    right: calc(100% + 15px);
    top: 50%;

    transform: translateY(-50%) translateX(8px);
}

#libertas:hover::after {
    transform: translateY(-50%) translateX(0);
}


/* =========================================================
   PRINCIPLES — MOBILE
   ========================================================= */

@media (max-width: 768px) {

    #amicitia,
    #religio,
    #scientia,
    #libertas {
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        transform: none !important;
    }

    .principles-section {
        padding: 4rem 1.25rem;
    }

    .principles-container {
        width: 100%;
        max-width: 420px;
        height: auto;

        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;

        gap: 1rem;

        margin: 2rem auto 0;
    }

    .principles-image {
        grid-column: 1 / 3;
        grid-row: 2;

        width: 190px;
        max-width: none;

        margin: 1rem auto;
    }

    .principles-container .hover-box {
        position: static;

        width: auto;
        height: auto;

        min-height: 80px;

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

        padding: 1rem;

        border: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 4px;

        background: var(--cream);

        cursor: default;

        transform: none !important;
    }

    .principles-container .hover-box {
        flex-direction: column;
        gap: 0.4rem;
    }

    .principles-container .hover-box strong {
        display: block;

        color: var(--charcoal);

        font-family: 'Outfit', sans-serif;
        font-size: 0.95rem;
        font-weight: 700;
    }

    /*
     * Use the four existing hover boxes as visible
     * principle cards on mobile.
     */

    #amicitia {
        grid-column: 1;
        grid-row: 1;
    }

    #religio {
        grid-column: 2;
        grid-row: 1;
    }

    #scientia {
        grid-column: 1;
        grid-row: 3;
    }

    #libertas {
        grid-column: 2;
        grid-row: 3;
    }


    /*
     * Hide the desktop hover dot.
     */

    .principles-container .hover-box::before {
        display: none;
    }


    /*
     * Show the explanation directly inside
     * each principle card.
     */

    .principles-container .hover-box::after {
        position: static;

        width: auto;

        padding: 0;

        background: transparent;
        color: #555;

        opacity: 1;
        visibility: visible;

        box-shadow: none;

        transform: none !important;

        font-size: 0.72rem;
        line-height: 1.5;

        text-align: center;
    }

    .principles-container .hover-box strong {
        display: none;
    }

}

/* =========================================================
   ABOUT PAGE — CHARGEN
   ========================================================= */

.chargen-section {
    background: var(--cream);
    padding: 6rem 2rem;
}

.chargen-section .section-heading {
    max-width: 700px;
    margin: 0 auto 4rem;
    text-align: center;
}

.chargen-section .section-heading h2 {
    margin: 0 0 1rem;

    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 750;
    line-height: 1.1;

    color: var(--charcoal);
}

.chargen-section .section-heading p:last-child {
    margin: 0;

    color: #666;
    line-height: 1.7;
}


/* Main layout */

.hexagon-layout {
    width: min(1000px, 100%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}


/* Charge cards */

.hex-item {
    position: static;

    width: auto;
    min-height: 155px;

    padding: 1.5rem 1rem;

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

    background: var(--white);

    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);

    text-align: center;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.hex-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
}


/* Charge symbols */

.hex-symbol {
    margin-bottom: 0.45rem;

    color: var(--gold);

    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
}


/* Charge names */

.hex-label {
    margin-bottom: 0.4rem;

    color: var(--charcoal);

    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
}


/* Email */

.hex-email {
    color: #777;

    font-size: 0.7rem;
    line-height: 1.4;

    text-decoration: none;
    word-break: break-word;

    transition: color 0.2s ease;
}

.hex-email:hover {
    color: var(--gold);
    text-decoration: none;
}

/* =========================================================
   CHARGEN — MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .chargen-section {
        padding: 4rem 1.25rem;
    }

    .chargen-section .section-heading {
        margin-bottom: 2.5rem;
    }

    .hexagon-layout {
        width: 100%;

        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .hex-item {
        min-height: 125px;
    }

    .hex-symbol {
        font-size: 1.05rem;
    }

    .hex-label {
        font-size: 0.9rem;
    }

    .hex-email {
        font-size: 0.65rem;
    }

}

/* =========================================================
8. PUBLIC EVENTS
========================================================= */

.events-section {
    padding: 6rem 1.5rem;


    background:
        linear-gradient(rgba(255, 241, 213, 0.94),
            rgba(255, 241, 213, 0.94));


}

.section-heading {
    max-width: 760px;


    margin: 0 auto 3rem;

    text-align: center;


}

.section-heading h2 {
    margin: 0 0 0.75rem;


    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;

    color: var(--charcoal);


}

.section-heading>p:last-child {
    max-width: 600px;


    margin: 0 auto;

    color: var(--muted);
    line-height: 1.6;


}

/* Event showcase */

.events-showcase {
    width: 100%;
    max-width: 1250px;


    margin: 0 auto;

    display: flex;
    align-items: center;
    gap: 1rem;


}

.events-viewport {
    flex: 1;
    min-width: 0;


    overflow: hidden;


}

.events-track {
    display: flex;
    gap: 1.25rem;
    transition: transform 0.35s ease;
}

/* Event card */

.event-card {
    flex: 0 0 calc((100% - 2.5rem) / 3);
    min-width: 0;


    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: var(--white);

    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius-large);

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

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;


}

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

/* Date */

.event-date {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: baseline;
    gap: 0.4rem;


    padding: 1.2rem 1.3rem;

    background: var(--charcoal);
    color: var(--white);


}

.event-date-weekday {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.7;
}

.event-date-day {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.event-date-month {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.75;
}

/* Event content */

.event-card-content {
    flex: 1;
    overflow: hidden;


    display: flex;
    flex-direction: column;

    padding: 1.4rem;


}

.event-category {
    margin: 0 0 0.6rem;


    color: var(--primary);

    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;


}

.event-card h3 {
    margin: 0 0 0.8rem;
    overflow: hidden;


    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    line-height: 1.2;

    color: var(--charcoal);


}

.events-showcase .event-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;


    margin-top: auto;
    padding-top: 1rem;

    border-top: 1px solid #eeeeee;

    color: #555;

    font-size: 0.8rem;
    font-weight: 600;


}

/* Event navigation */

.event-nav-button {
    flex: 0 0 44px;


    width: 44px;
    height: 44px;

    border: 1px solid #d3d0c8;
    border-radius: 50%;

    background: var(--white);
    color: var(--charcoal);

    font-size: 1.2rem;

    cursor: pointer;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);

    transition:
        background 0.15s ease,
        transform 0.15s ease;


}

.event-nav-button:hover {
    background: var(--gold);
    transform: scale(1.04);
}

.event-nav-button:disabled {
    opacity: 0.35;
    cursor: default;
    transform: none;
}

/* Events footer */

.events-footer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;


    margin-top: 2.5rem;


}

/* Empty state */

.events-empty {
    max-width: 700px;


    margin: 0 auto;
    padding: 3rem 1.5rem;

    background: var(--white);

    border: 1px dashed #c9c5ba;
    border-radius: var(--border-radius);

    text-align: center;

    color: var(--muted);


}

/* =========================================================
9. ABOUT TEASER
========================================================= */

.about-teaser {
    padding: 6rem 1.5rem;


    background:
        linear-gradient(rgba(26, 26, 26, 0.9),
            rgba(26, 26, 26, 0.9)),
        url("../images/SAGITTA_BG.jpg") center / cover no-repeat;

    color: var(--white);


}

.about-teaser-content {
    max-width: 700px;


    margin: 0 auto;

    text-align: center;


}

.about-teaser .section-eyebrow {
    color: var(--gold);
}

.about-teaser h2 {
    margin: 0 0 1rem;


    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;


}

.about-teaser p:not(.section-eyebrow) {
    margin: 0 auto 2rem;


    max-width: 600px;

    color: #ddd;
    line-height: 1.7;


}

/* =========================================================
   ABOUT PAGE — CONTACT
   ========================================================= */

.contact-section {
    background: var(--white);
    color: var(--charcoal);

    padding: 5rem 2rem;

    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-section-inner {
    width: 100%;
    max-width: 1000px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;

    align-items: center;
}


/* Heading */

.contact-section .section-eyebrow {
    margin-bottom: 0.75rem;
}

.contact-section h2 {
    margin: 0;

    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 750;
    line-height: 1.05;

    color: var(--charcoal);
}


/* Details */

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-details p {
    margin: 0;

    color: #666;

    font-size: 0.85rem;
    line-height: 1.6;
}

.contact-details strong {
    display: block;

    margin-bottom: 0.2rem;

    color: var(--gold);

    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-details a {
    color: var(--charcoal);

    text-decoration: none;

    transition: color 0.2s ease;
}

.contact-details a:hover {
    color: var(--gold);
}


/* =========================================================
   CONTACT — MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .contact-section {
        padding: 4rem 1.25rem;
    }

    .contact-section-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

}

/* =========================================================
PUBLIC FOOTER
========================================================= */

.site-footer {
    background: var(--charcoal);
    color: var(--cream);
}

.site-footer-inner {
    width: 100%;
    max-width: 1200px;


    margin: 0 auto;
    padding: 4rem 2rem;

    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;


}

/* Brand */

.site-footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.site-footer-logo {
    width: 58px;
    height: 58px;


    object-fit: contain;

    flex-shrink: 0;

    filter: invert(1);


}

.site-footer-brand h2 {
    margin: 0 0 0.4rem;


    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;

    color: var(--white);


}

.site-footer-brand p {
    margin: 0;


    color: #aaa;

    font-size: 0.8rem;
    line-height: 1.5;


}

/* Footer columns */

.site-footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-footer-column h3 {
    margin: 0 0 1rem;


    color: var(--gold);

    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;


}

.site-footer-column a,
.site-footer-column p {
    margin: 0 0 0.55rem;


    color: #bbb;

    font-size: 0.8rem;
    line-height: 1.5;

    text-decoration: none;


}

.site-footer-column a:hover {
    color: var(--gold);
}

.site-footer-column p {
    margin-bottom: 0.9rem;
}

/* Bottom bar */

.site-footer-bottom {
    width: 100%;
    max-width: 1200px;


    margin: 0 auto;
    padding: 1.25rem 2rem;

    display: flex;
    justify-content: space-between;
    gap: 1rem;

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

    color: #777;

    font-size: 0.7rem;


}

/* Footer mobile */

@media (max-width: 768px) {


    .site-footer-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;

        padding: 3rem 1.25rem;
    }

    .site-footer-bottom {
        padding: 1.25rem;

        flex-direction: column;
        gap: 0.35rem;
    }


}


/* =========================================================
11. GLOBAL BUTTON BASE
========================================================= */

.btn {
    display: inline-block;


    padding: 0.6rem 1rem;

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

    text-decoration: none;


}

/* =========================================================
12. SOCIAL BUTTONS
========================================================= */

#social-media-buttons {
    position: fixed;


    right: 1rem;
    bottom: 1rem;

    display: flex;
    flex-direction: column;
    gap: 0.75rem;

    z-index: 900;


}

.social-button {
    width: 48px;
    height: 48px;


    border-radius: 50%;

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

    color: white;
    text-decoration: none;

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

    transition: transform 0.15s ease;


}

.social-button:hover {
    transform: scale(1.1);
}

/* =========================================================
13. EXISTING EVENT SUPPORT
========================================================= */

.event-thumbnail {
    width: 120px;
    height: 120px;


    object-fit: cover;

    border-radius: 10px;


}

.term-block.closed .events {
    display: none;
}

.event-card.cancelled {
    opacity: 0.5;
    text-decoration: line-through;
}

/* =========================================================
14. ADMIN PANEL
========================================================= */

/* =========================================================
   ADMIN - NAVBAR
   ========================================================= */

.admin-navbar {
    width: 100%;
    background: var(--charcoal);
    color: var(--white);
    border-bottom: 3px solid var(--gold);
}

.admin-navbar-inner {
    width: 100%;
    max-width: 1200px;
    min-height: 68px;
    margin: 0 auto;
    padding: 0 2rem;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.admin-brand {
    flex-shrink: 0;

    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 750;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.admin-brand:hover {
    color: var(--gold);
    text-decoration: none;
}

.admin-links {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.admin-links a {
    padding: 0.55rem 0.7rem;

    color: #c8c8c8;
    font-size: 0.72rem;
    font-weight: 650;
    text-decoration: none;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.admin-links a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.07);
    text-decoration: none;
}

.admin-nav-divider {
    width: 1px;
    height: 22px;
    margin: 0 0.35rem;
    background: rgba(255, 255, 255, 0.15);
}

.admin-links form {
    margin: 0;
}

.admin-nav-logout {
    margin-left: 0.3rem;
    padding: 0.55rem 0.8rem;

    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #c8c8c8;

    font-family: 'Lexend', sans-serif;
    font-size: 0.7rem;
    font-weight: 650;

    cursor: pointer;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.admin-nav-logout:hover {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--charcoal);
}

@media (max-width: 900px) {

    .admin-navbar-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem 1.25rem;
    }

    .admin-links {
        width: 100%;
        flex-wrap: wrap;
    }

}

@media (max-width: 600px) {

    .admin-links {
        gap: 0.15rem;
    }

    .admin-links a {
        padding: 0.45rem 0.55rem;
        font-size: 0.68rem;
    }

    .admin-nav-divider {
        display: none;
    }

}

/* =========================================================
15. ADMIN EVENT EDITOR
========================================================= */

.event-editor {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
}

.event-editor-header {
    margin-bottom: 2rem;
}

.event-editor-eyebrow {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.6;
}

.event-editor-header h1 {
    margin: 0 0 0.5rem;
    font-size: 2.2rem;
    font-weight: 700;
}

.event-editor-header p {
    margin: 0;
    opacity: 0.65;
}

.event-form-alert {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    border: 1px solid #e5aeb5;
    border-radius: 8px;
    background: #f8d7da;
    color: #721c24;
}

.event-form-alert strong {
    display: block;
    margin-bottom: 0.5rem;
}

.event-form-alert ul {
    margin: 0;
    padding-left: 1.25rem;
}

.event-form-section {
    margin-bottom: 1.5rem;
    padding: 1.75rem;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.event-form-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eeeeee;
}

.event-form-section-header h2 {
    margin: 0 0 0.25rem;
    font-size: 1.2rem;
}

.event-form-section-header p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.6;
}

.event-form-field {
    margin-bottom: 1.25rem;
}

.event-form-field:last-child {
    margin-bottom: 0;
}

.event-form-field label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.event-form-field input,
.event-form-field textarea,
.event-form-field select {
    box-sizing: border-box;
    width: 100%;
    padding: 0.7rem 0.8rem;
    border: 1px solid #cccccc;
    border-radius: 6px;
    background: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.event-form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.event-form-field input:focus,
.event-form-field textarea:focus,
.event-form-field select:focus {
    outline: none;
    border-color: #777;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.07);
}

.event-form-field small {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.8rem;
    opacity: 0.55;
}

.event-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.event-form-grid:last-child {
    margin-bottom: 0;
}

.event-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid #e5e5e5;
    border-radius: 7px;
    background: #fafafa;
    cursor: pointer;
}

.event-form-checkbox input {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.event-form-checkbox span {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.event-form-checkbox strong {
    font-size: 0.9rem;
}

.event-form-checkbox small {
    font-size: 0.8rem;
    opacity: 0.6;
}

.event-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.event-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;


    min-height: 42px;
    padding: 0.65rem 1.25rem;

    border-radius: 6px;

    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;

    text-decoration: none;
    cursor: pointer;

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        transform 0.1s ease;


}

.event-button:hover {
    transform: translateY(-1px);
}

.event-button-primary {
    border: 1px solid #222;
    background: #222;
    color: #fff;
}

.event-button-primary:hover {
    background: #000;
}

.event-button-secondary {
    border: 1px solid #ccc;
    background: #fff;
    color: #333;
}

.event-button-secondary:hover {
    background: #f5f5f5;
}

/* =========================================================
16. ADMIN EVENTS INDEX
========================================================= */

.admin-events-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
}

.admin-events-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.admin-events-eyebrow {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.55;
}

.admin-events-header h1 {
    margin: 0 0 0.4rem;
    font-size: 2.2rem;
}

.admin-events-header p {
    margin: 0;
    opacity: 0.6;
}

.event-success-message {
    margin-bottom: 2rem;
    padding: 1rem 1.25rem;
    border: 1px solid #b7dfc1;
    border-radius: 8px;
    background: #dff3e4;
    color: #285c35;
}

.admin-term-block {
    margin-bottom: 3rem;
}

.admin-term-header {
    width: 100%;

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

    margin: 0 0 1rem;
    padding: 1.25rem 1.5rem;

    border: 1px solid #e2e2df;
    border-radius: 8px;

    background: #fff;
    color: #222;

    font-family: inherit;
    text-align: left;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.admin-term-header:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.admin-term-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-term-title h2 {
    margin: 0;

    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 750;

    color: #222;
}

.admin-term-status {
    padding: 0.3rem 0.6rem;

    border-radius: 4px;

    background: #f0f0ed;
    color: #777;

    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    font-weight: 750;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-term-header-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.admin-term-event-count {
    color: #888;

    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
}

.admin-term-chevron {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    border-radius: 50%;

    background: #f3f3f0;
    color: #555;

    font-size: 0.7rem;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.admin-term-header[aria-expanded="true"] .admin-term-chevron {
    transform: rotate(180deg);
    background: var(--gold);
    color: #fff;
}

.admin-term-status-active {
    background: #e5f3e9;
    color: #287a43;
}

.admin-term-status-closed {
    background: #eeeeeb;
    color: #777;
}

.admin-term-status-inactive {
    background: #f3f3f0;
    color: #999;
}

.admin-events-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.admin-event-card {
    display: flex;
    overflow: hidden;
    min-height: 260px;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.admin-event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.09);
}

.admin-event-image {
    position: relative;
    flex: 0 0 190px;
    min-height: 260px;
    overflow: hidden;
}

.admin-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.admin-event-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #eeeeee;
    color: #999;
    font-size: 0.8rem;
}

.category-hochoff {
    font-weight: 800;
}

.category-offiz {
    font-weight: 700;
}

.admin-event-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    padding: 1.25rem;
}

.admin-event-main {
    flex: 1;
}

.admin-event-main h3 {
    margin: 0 0 0.6rem;
    font-size: 1.25rem;
    line-height: 1.25;
}

.admin-event-description {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.admin-event-meta {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eeeeee;
}

.admin-event-meta-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.45rem;
    font-size: 0.82rem;
}

.admin-event-meta-row:last-child {
    margin-bottom: 0;
}

.admin-event-meta-icon {
    width: 18px;
    text-align: center;
}

.admin-event-status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.admin-event-published,
.admin-event-picture-status {
    display: inline-block;
    padding: 0.25rem 0.55rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.admin-event-published.published {
    background: #e2f2e6;
    color: #317342;
}

.admin-event-published.unpublished {
    background: #f1f1f1;
    color: #777;
}

.admin-event-picture-status {
    background: #f1f1f1;
    color: #777;
}

.admin-event-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.admin-event-actions .event-button {
    min-height: 36px;
    padding: 0.45rem 0.8rem;
    font-size: 0.8rem;
}

.admin-event-actions form {
    margin: 0;
}

.event-button-danger {
    border: 1px solid #e1b4b4;
    background: #fff;
    color: #9c3535;
}

.event-button-danger:hover {
    background: #fbeaea;
}

.event-empty-state {
    padding: 4rem 2rem;
    border: 1px dashed #ccc;
    border-radius: 10px;
    text-align: center;
}

.event-empty-state h2 {
    margin-top: 0;
}

.event-empty-state p {
    margin-bottom: 0;
    opacity: 0.6;
}

.admin-term-events {
    overflow: hidden;
    transition:
        max-height 0.3s ease,
        opacity 0.2s ease;
}

.admin-term-events.expanded {
    max-height: 5000px;
    opacity: 1;
}

.admin-term-events.collapsed {
    max-height: 0;
    opacity: 0;
}

.admin-term-header[aria-expanded="true"] .admin-term-chevron {
    transform: rotate(180deg);
}

.admin-event-category-row {
    margin-top: 0.75rem;
}

.admin-event-category {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    background: #eeeeee;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.category-offiz {
    background: #e5e5e5;
}

.category-hochoff {
    background: #d8d8d8;
    font-weight: 800;
}

/* =========================================================
   ADMIN - PICTURE COLLECTIONS
   ========================================================= */

.admin-collection-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: rgba(0, 0, 0, 0.08);
}

.admin-collection-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.5rem;
    background: var(--white);
}

.admin-collection-main {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.admin-collection-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--cream);
    color: var(--gold);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.admin-collection-details {
    min-width: 0;
}

.admin-collection-details h3 {
    margin: 0 0 0.35rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--charcoal);
}

.admin-collection-description {
    max-width: 650px;
    margin: 0 0 0.65rem;
    color: #666;
    font-size: 0.78rem;
    line-height: 1.5;
}

.admin-collection-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    color: #888;
    font-size: 0.68rem;
}

.admin-collection-meta a {
    color: var(--gold);
    font-weight: 700;
    text-decoration: none;
}

.admin-collection-meta a:hover {
    color: var(--charcoal);
}

.admin-collection-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.admin-collection-actions form {
    margin: 0;
}

.admin-success-message {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    color: var(--charcoal);
    border-left: 3px solid var(--gold);
}

@media (max-width: 768px) {

    .admin-collection-card {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.25rem;
    }

    .admin-collection-actions {
        width: 100%;
    }

}

/* =========================================================
   ADMIN - FORMS
   ========================================================= */

.admin-form-card {
    max-width: 750px;
    padding: 2rem;
}

.admin-form-group {
    margin-bottom: 1.5rem;
}

.admin-form-label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--charcoal);
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-textarea {
    min-height: 120px;
    resize: vertical;
}

.admin-form-error {
    display: block;
    margin-top: 0.4rem;
    color: #a33;
    font-size: 0.7rem;
}

.admin-form-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {

    .admin-form-card {
        padding: 1.5rem;
    }

    .admin-form-actions {
        align-items: stretch;
        flex-direction: column;
    }

}

/* =========================================================
17. USERS
========================================================= */

.admin-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 0 50px;
}

.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.admin-page-header h1 {
    margin: 0;
    font-size: 32px;
}

.admin-page-header p {
    margin: 6px 0 0;
    color: #777;
}

.admin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;


    border: 0;
    border-radius: 6px;

    padding: 9px 15px;

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

    text-decoration: none;
    cursor: pointer;

    white-space: nowrap;


}

.admin-btn-primary {
    background: #333;
    color: #fff;
}

.admin-btn-primary:hover {
    background: #222;
    color: #fff;
}

.admin-btn-secondary {
    background: #e9e9e9;
    color: #333;
}

.admin-btn-secondary:hover {
    background: #ddd;
    color: #222;
}

.admin-btn-light {
    background: #f5f5f5;
    color: #555;
    border: 1px solid #ddd;
}

.admin-btn-light:hover {
    background: #eaeaea;
    color: #333;
}

.admin-btn-warning {
    background: #d9a441;
    color: #fff;
}

.admin-btn-warning:hover {
    background: #bd8d32;
    color: #fff;
}

.admin-card {
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 30px;
}

.admin-search-form {
    display: flex;
    gap: 10px;
}

.admin-search-form .admin-input {
    flex: 1;
}

.admin-input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #d4d4d4;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    color: #333;
}

.admin-input:focus {
    outline: none;
    border-color: #999;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.admin-section {
    margin-bottom: 35px;
}

.admin-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.admin-section-header h2 {
    margin: 0;
    font-size: 20px;
}

.admin-section-header span {
    display: block;
    margin-top: 3px;
    color: #888;
    font-size: 13px;
}

.admin-user-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-user-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;


    padding: 16px 18px;

    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 8px;

    transition: box-shadow 0.15s ease;


}

.admin-user-card:hover {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

.admin-user-main {
    display: flex;
    align-items: center;
    min-width: 0;
}

.admin-user-avatar {
    width: 44px;
    height: 44px;


    flex: 0 0 44px;

    margin-right: 14px;

    border-radius: 50%;

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

    background: #eee;
    color: #555;

    font-weight: 700;
    font-size: 17px;


}

.admin-user-details {
    min-width: 0;
}

.admin-user-name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-user-name-row h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.admin-user-email {
    margin-top: 3px;
    color: #666;
    font-size: 14px;
}

.admin-user-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 5px;
    color: #999;
    font-size: 12px;
}

.admin-user-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.admin-user-actions form {
    margin: 0;
}

.admin-role-badge {
    display: inline-flex;
    align-items: center;


    padding: 3px 8px;

    border-radius: 10px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;

    background: #eee;
    color: #666;


}

.admin-role-badge.admin {
    background: #e8e8e8;
    color: #333;
}

.admin-role-badge.root {
    background: #333;
    color: #fff;
}

.admin-role-badge.member {
    background: #eee;
    color: #555;
}

.admin-role-badge.editor {
    background: #e5e5e5;
    color: #444;
}

.admin-role-badge.guest {
    background: #f3f3f3;
    color: #888;
}

.admin-handover-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;


    padding: 22px;

    border: 1px solid #dfd1b5;
    border-radius: 8px;

    background: #faf8f2;


}

.admin-handover-content {
    max-width: 600px;
}

.admin-handover-label {
    display: block;
    margin-bottom: 5px;
    color: #a17a2d;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.admin-handover-content h2 {
    margin: 0 0 7px;
    font-size: 19px;
}

.admin-handover-content p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.admin-handover-action form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-handover-action .admin-input {
    min-width: 260px;
}

.admin-form-page {
    max-width: 900px;
}

.admin-form-card {
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    overflow: hidden;
}

.admin-form-section {
    padding: 25px;
    border-bottom: 1px solid #e5e5e5;
}

.admin-form-section h2 {
    margin: 0 0 20px;
    font-size: 19px;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.admin-form-group {
    display: flex;
    flex-direction: column;
}

.admin-form-group label {
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.admin-form-hint {
    margin-top: 7px;
    color: #888;
    font-size: 12px;
}

.admin-form-error {
    margin-top: 5px;
    color: #b33;
    font-size: 12px;
}

.admin-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 20px 25px;
}

.admin-current-role {
    padding: 15px;
    background: #f7f7f7;
    border-radius: 6px;
}

.admin-current-role-label {
    display: block;
    margin-bottom: 8px;
    color: #777;
    font-size: 12px;
}

.admin-current-role p {
    margin: 10px 0 0;
    color: #888;
    font-size: 13px;
}

.admin-danger-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;


    padding: 22px 25px;

    background: #fafafa;
    border-top: 1px solid #e5e5e5;


}

.admin-danger-section h2 {
    margin: 0 0 5px;
    font-size: 17px;
}

.admin-danger-section p {
    margin: 0;
    color: #777;
    font-size: 13px;
}

.admin-empty-state {
    padding: 35px;
    text-align: center;
    border: 1px dashed #ddd;
    border-radius: 8px;
    color: #777;
}

.admin-empty-state strong,
.admin-empty-state span {
    display: block;
}

.admin-empty-state span {
    margin-top: 5px;
    font-size: 13px;
}

.admin-pagination {
    margin-top: 25px;
}

/* =========================================================
18. AUTH / LOGIN
========================================================= */

.auth-page {
    min-height: calc(100vh - 40px);


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

    padding: 40px 20px;

    box-sizing: border-box;


}

.auth-card {
    width: 100%;
    max-width: 430px;


    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 8px;

    padding: 35px 40px 30px;

    box-sizing: border-box;


}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo {
    margin-bottom: 20px;
}

.auth-logo img {
    max-width: 110px;
    max-height: 110px;
    object-fit: contain;
}

.auth-header h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 600;
    color: #333;
}

.auth-header p {
    margin: 8px 0 0;
    color: #777;
    font-size: 14px;
}

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

.auth-label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

.auth-input {
    width: 100%;
    box-sizing: border-box;


    padding: 11px 12px;

    border: 1px solid #d4d4d4;
    border-radius: 6px;

    background: #fff;
    color: #333;

    font-size: 15px;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;


}

.auth-input:focus {
    outline: none;
    border-color: #999;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;


    margin: 5px 0 22px;


}

.auth-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;


    color: #666;
    font-size: 14px;

    cursor: pointer;


}

.auth-checkbox input {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: #333;
}

.auth-forgot {
    color: #555;
    font-size: 13px;
    text-decoration: none;
}

.auth-forgot:hover {
    color: #222;
    text-decoration: underline;
}

.auth-submit {
    width: 100%;
    min-height: 44px;
    font-size: 15px;
}

.auth-error {
    display: block;
    margin-top: 6px;
    color: #b42318;
    font-size: 13px;
}

.auth-status {
    margin-bottom: 20px;
    padding: 10px 12px;
    border: 1px solid #d6e4d6;
    border-radius: 6px;
    background: #f4faf4;
    color: #456b45;
    font-size: 14px;
}

.auth-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.auth-footer a {
    color: #777;
    font-size: 13px;
    text-decoration: none;
}

.auth-footer a:hover {
    color: #333;
    text-decoration: underline;
}

/* =========================================================
19. TERMS
========================================================= */

.term-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.term-card {
    margin-bottom: 0;
}

.term-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.term-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.term-title-row h2 {
    margin: 0;
    font-size: 21px;
    font-weight: 600;
    color: #333;
}

.term-label {
    margin: 6px 0 0;
    color: #777;
    font-size: 14px;
}

.term-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

.term-status-active {
    background: #e6f2e6;
    color: #3f6b3f;
}

.term-status-closed {
    background: #eeeeee;
    color: #666;
}

.term-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.term-actions form {
    margin: 0;
}

.term-empty {
    text-align: center;
    padding: 45px 20px;
}

.term-empty h2 {
    margin: 0;
    font-size: 20px;
}

.term-empty p {
    margin: 8px 0 20px;
    color: #777;
}

.admin-alert {
    padding: 11px 14px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 14px;
}

.admin-alert-success {
    background: #f1f8f1;
    border: 1px solid #d6e8d6;
    color: #456b45;
}

/* =========================================================
20. ADMIN DASHBOARD
========================================================= */

.admin-dashboard-intro h2 {
    margin: 0 0 12px;
    font-size: 21px;
    color: #333;
}

.admin-dashboard-intro p {
    margin: 8px 0;
    color: #666;
    line-height: 1.6;
}

.admin-dashboard-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}

.admin-dashboard-link {
    display: flex;
    flex-direction: column;
    gap: 6px;


    padding: 18px;

    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 8px;

    color: #333;
    text-decoration: none;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;


}

.admin-dashboard-link:hover {
    border-color: #bbb;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.05);
    color: #222;
}

.admin-dashboard-link strong {
    font-size: 17px;
}

.admin-dashboard-link span {
    color: #777;
    font-size: 14px;
    line-height: 1.45;
}

.admin-dashboard-section {
    margin-top: 10px;
}

.admin-dashboard-section>h2 {
    margin: 0 0 15px;
    font-size: 23px;
    color: #333;
}

.admin-faq-item {
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.admin-faq-item summary {
    padding: 16px 18px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    user-select: none;
}

.admin-faq-item summary:hover {
    background: #fafafa;
}

.admin-faq-item[open] summary {
    border-bottom: 1px solid #eee;
}

.admin-faq-content {
    padding: 17px 18px 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.admin-faq-content p {
    margin: 0 0 12px;
}

.admin-faq-content p:last-child {
    margin-bottom: 0;
}

.admin-faq-content ul {
    margin: 8px 0 0;
    padding-left: 22px;
}

.admin-faq-content li {
    margin: 5px 0;
}

.admin-faq-content .admin-btn {
    margin-top: 5px;
}

/* =========================================================
21. RESPONSIVE PUBLIC LAYOUT
========================================================= */

@media (max-width: 900px) {

    .event-card {
        flex-basis: calc((100% - 1.25rem) / 2);
        overflow: hidden;
    }

    .top-bar-inner {
        padding: 0 1.25rem;
    }


}

@media (max-width: 768px) {

    .event-card {
        flex-basis: 100%;
        overflow: hidden;
    }

    .top-bar-inner {
        position: relative;
    }

    .top-bar-label {
        font-size: 0.95rem;
    }

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

    .top-bar-nav {
        position: absolute;

        top: var(--topbar-height);
        left: 0;
        right: 0;

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

        gap: 0;

        padding: 0.75rem 1.25rem 1rem;

        background: var(--gold);

        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    }

    .top-bar-nav.is-open {
        display: flex;
    }

    .top-bar-nav a,
    .logout-form button {
        display: block;

        width: 100%;

        padding: 0.75rem 0;

        text-align: left;
    }

    .hero-section {
        min-height: 600px;
        padding: 5rem 1.25rem;
    }

    .hero-logo {
        width: 90px;
        height: 90px;
    }

    .events-section,
    .about-teaser {
        padding: 4.5rem 1.25rem;
    }

    .events-track {
        grid-template-columns: 1fr;
    }

    .events-showcase {
        gap: 0.5rem;
    }

    .event-nav-button {
        flex: 0 0 38px;

        width: 38px;
        height: 38px;
    }

    .impressum-container {
        grid-template-columns: 1fr;
    }

    .impressum p:first-child {
        grid-column: auto;
    }


}

@media (max-width: 700px) {


    .event-editor {
        padding: 1.5rem 1rem 3rem;
    }

    .event-editor-header h1 {
        font-size: 1.8rem;
    }

    .event-form-section {
        padding: 1.25rem;
    }

    .event-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .event-form-actions {
        flex-direction: column-reverse;
    }

    .event-button {
        width: 100%;
    }

    .admin-events-grid {
        grid-template-columns: 1fr;
    }

    .admin-events-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .admin-events-header .event-button {
        width: 100%;
    }

    .admin-event-card {
        flex-direction: column;
        overflow: hidden;
    }

    .admin-event-image {
        flex: none;
        width: 100%;
        height: 190px;
        min-height: 190px;
    }

    .admin-page {
        padding-left: 15px;
        padding-right: 15px;
    }

    .admin-page-header {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-search-form {
        flex-wrap: wrap;
    }

    .admin-user-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-user-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .admin-handover-card {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-handover-action form {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-handover-action .admin-input {
        min-width: 0;
    }

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

    .admin-danger-section {
        flex-direction: column;
        align-items: stretch;
    }

    .term-card-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .term-actions {
        width: 100%;
        justify-content: flex-start;
    }

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


}

@media (max-width: 600px) {


    .top-bar-inner {
        padding: 0 1rem;
    }

    .top-bar-logo {
        height: 40px;
    }

    .top-bar-label {
        font-size: 0.85rem;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-intro {
        font-size: 1rem;
    }

    .events-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .events-footer .secondary-button {
        width: 100%;
    }

    .auth-page {
        padding: 20px 15px;
        align-items: flex-start;
        padding-top: 40px;
    }

    .auth-card {
        padding: 30px 25px 25px;
    }

    .auth-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .auth-forgot {
        align-self: flex-end;
    }

}

/* =========================================================
   EVENTS PAGE
   ========================================================= */

.events-page {
    background: var(--white);
    color: var(--charcoal);
    padding-bottom: 5rem;
}


/* ---------------------------------------------------------
   PAGE HEADER
   --------------------------------------------------------- */

.events-page-header {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 5rem 2rem 4rem;
}

.events-page-header h1 {
    margin: 0 0 1rem;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 750;
    line-height: 1;
    color: var(--charcoal);
}

.events-page-header>p:last-child {
    max-width: 600px;
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   EVENT LIST
   --------------------------------------------------------- */

.events-list {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.term-section {
    margin-bottom: 4rem;
}

.term-heading {
    margin-bottom: 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--charcoal);
}

.term-heading h2 {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    color: var(--charcoal);
}


/* ---------------------------------------------------------
   EVENT ROW
   --------------------------------------------------------- */

.events-list-item {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 2.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.events-list-date {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.1rem;
}

.events-list-weekday {
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.events-list-day {
    margin-top: 0.15rem;
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 750;
    line-height: 0.95;
    color: var(--charcoal);
}

.events-list-month {
    margin-top: 0.35rem;
    color: #777;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
}


/* ---------------------------------------------------------
   EVENT CONTENT
   --------------------------------------------------------- */

.events-list-content {
    min-width: 0;
}

.events-list-content .event-category {
    margin: 0 0 0.45rem;
    color: var(--gold);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.events-list-content h3 {
    margin: 0 0 0.7rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--charcoal);
}

.events-list-content .event-description {
    max-width: 700px;
    margin: 0 0 1rem;
    color: #666;
    font-size: 0.85rem;
    line-height: 1.65;
    overflow: hidden;
}

.events-list-content .event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    color: #555;
    font-size: 0.75rem;
    font-weight: 600;
}

.events-list-content .event-meta span {
    position: relative;
}

.events-list-content .event-meta span+span::before {
    content: '•';
    position: absolute;
    left: -0.9rem;
    color: var(--gold);
}


/* ---------------------------------------------------------
   EMPTY STATE
   --------------------------------------------------------- */

.events-empty {
    padding: 3rem 0;
    color: #777;
    text-align: center;
}

.events-empty p {
    margin: 0;
    font-size: 0.9rem;
}


/* ---------------------------------------------------------
   PAGE FOOTER
   --------------------------------------------------------- */

.events-page-footer {
    width: 100%;
    max-width: 1000px;
    margin: 1rem auto 0;
    padding: 0 2rem;
    display: flex;
    justify-content: flex-start;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 768px) {

    .events-page {
        padding-bottom: 4rem;
    }

    .events-page-header {
        padding: 4rem 1.25rem 3rem;
    }

    .events-page-header h1 {
        font-size: clamp(2.5rem, 12vw, 3.5rem);
    }

    .events-list {
        padding: 0 1.25rem;
    }

    .term-section {
        margin-bottom: 3rem;
    }

    .events-list-item {
        grid-template-columns: 75px 1fr;
        gap: 1.25rem;
        padding: 1.5rem 0;
    }

    .events-list-day {
        font-size: 2.35rem;
    }

    .events-list-month {
        font-size: 0.65rem;
    }

    .events-list-content h3 {
        font-size: 1.25rem;
    }

    .events-list-content .event-description {
        font-size: 0.8rem;
    }

    .events-list-content .event-meta {
        flex-direction: column;
        gap: 0.35rem;
    }

    .events-list-content .event-meta span+span::before {
        display: none;
    }

    .events-page-footer {
        padding: 0 1.25rem;
    }
}

/* =========================================================
   AUTH / LOGIN
   ========================================================= */

.auth-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 1.5rem;
    background: var(--cream);
}

.auth-card {
    width: 100%;
    max-width: 440px;
    padding: 3.5rem;
    background: var(--white);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.auth-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.auth-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.auth-header .section-eyebrow {
    margin-bottom: 0.6rem;
}

.auth-header h1 {
    margin: 0 0 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 750;
    line-height: 1;
    color: var(--charcoal);
}

.auth-intro {
    margin: 0;
    color: #777;
    font-size: 0.85rem;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   FORM
   --------------------------------------------------------- */

.auth-form-group {
    margin-bottom: 1.4rem;
}

.auth-label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--charcoal);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.auth-input {
    width: 100%;
    min-height: 46px;
    padding: 0.7rem 0.85rem;
    border: 1px solid #d8d8d8;
    border-radius: 0;
    background: var(--white);
    color: var(--charcoal);
    font-family: 'Lexend', sans-serif;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(190, 150, 50, 0.12);
}

.auth-error {
    margin-top: 0.4rem;
    color: #a33;
    font-size: 0.7rem;
}


/* ---------------------------------------------------------
   OPTIONS
   --------------------------------------------------------- */

.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0.25rem 0 1.75rem;
}

.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    color: #666;
    font-size: 0.72rem;
    cursor: pointer;
}

.auth-checkbox input {
    width: 14px;
    height: 14px;
    accent-color: var(--gold);
}

.auth-forgot {
    color: #666;
    font-size: 0.72rem;
    text-decoration: none;
}

.auth-forgot:hover {
    color: var(--gold);
}


/* ---------------------------------------------------------
   BUTTON
   --------------------------------------------------------- */

.auth-submit {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 0;
    background: var(--charcoal);
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.auth-submit:hover {
    background: var(--gold);
    color: var(--charcoal);
}

.auth-submit:active {
    transform: translateY(1px);
}


/* ---------------------------------------------------------
   FOOTER LINK
   --------------------------------------------------------- */

.auth-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
}

.auth-footer a {
    color: #777;
    font-size: 0.75rem;
    text-decoration: none;
}

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


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 768px) {

    .auth-page {
        min-height: calc(100vh - 64px);
        padding: 3rem 1.25rem;
    }

    .auth-card {
        padding: 2.5rem 1.5rem;
    }

    .auth-header h1 {
        font-size: 2.2rem;
    }

    .auth-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
    }

}

.auth-status {
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background: rgba(190, 150, 50, 0.08);
    color: var(--charcoal);
    font-size: 0.75rem;
    line-height: 1.5;
}

/* =========================================================
   USER DASHBOARD
   ========================================================= */

.user-dashboard {
    background: var(--white);
    color: var(--charcoal);
    min-height: calc(100vh - 80px);
    padding: 5rem 2rem;
}

.user-dashboard-header {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.user-dashboard-header h1 {
    margin: 0 0 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 750;
    line-height: 1;
}

.user-dashboard-header>p:last-child {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.user-dashboard-grid {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.user-dashboard-card {
    min-height: 220px;
    padding: 2rem;
    background: var(--white);
    color: var(--charcoal);
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.user-dashboard-card:hover {
    background: var(--cream);
    color: var(--charcoal);
    text-decoration: none;
}

.user-dashboard-card-label {
    display: block;
    margin-bottom: 1rem;
    color: var(--gold);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.user-dashboard-card h2 {
    margin: 0 0 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
}

.user-dashboard-card p {
    max-width: 350px;
    margin: 0 0 2rem;
    color: #666;
    font-size: 0.82rem;
    line-height: 1.6;
}

.user-dashboard-card-link {
    color: var(--charcoal);
    font-size: 0.75rem;
    font-weight: 750;
}

.user-dashboard-card:hover .user-dashboard-card-link {
    color: var(--gold);
}

.user-dashboard-card-admin {
    background: var(--charcoal);
    color: var(--white);
}

.user-dashboard-card-admin p {
    color: #aaa;
}

.user-dashboard-card-admin:hover {
    background: #333;
    color: var(--white);
}

.user-dashboard-card-admin .user-dashboard-card-link {
    color: var(--white);
}

@media (max-width: 768px) {

    .user-dashboard {
        padding: 4rem 1.25rem;
    }

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

    .user-dashboard-card {
        min-height: 190px;
    }

}

/* =========================================================
   MEDIA PAGE
   ========================================================= */

.media-page {
    min-height: calc(100vh - 80px);
    background: var(--white);
    color: var(--charcoal);
    padding: 5rem 2rem;
}

.media-page-header {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.media-page-header h1 {
    margin: 0 0 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 750;
    line-height: 1;
}

.media-page-header>p:last-child {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.media-grid {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.media-card {
    background: var(--cream);
}

.media-card-placeholder {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8e5dc;
    color: #888;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.media-card-content {
    padding: 1.5rem;
}

.media-card-content h2 {
    margin: 0 0 0.65rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
}

.media-card-content p {
    margin: 0 0 1.25rem;
    color: #666;
    font-size: 0.8rem;
    line-height: 1.6;
}

.media-card-link {
    color: var(--charcoal);
    font-size: 0.75rem;
    font-weight: 750;
    text-decoration: none;
}

.media-card-link:hover {
    color: var(--gold);
    text-decoration: none;
}

.media-empty {
    grid-column: 1 / -1;
    padding: 4rem 0;
    color: #777;
    text-align: center;
}

.media-empty p {
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {

    .media-page {
        padding: 4rem 1.25rem;
    }

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

    .media-card-placeholder {
        min-height: 180px;
    }

}

.profile-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 1.25rem;
    background: var(--white);
    color: var(--charcoal);
}

.profile-placeholder {
    width: 100%;
    max-width: 650px;
    text-align: center;
}

.profile-placeholder h1 {
    margin: 0 0 1rem;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 750;
    line-height: 1;
}

.profile-placeholder p:not(.section-eyebrow) {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 650;
}

.profile-placeholder span {
    display: block;
    margin-bottom: 2rem;
    color: #777;
    font-size: 0.8rem;
}

/* =========================================================
   PAST EVENTS
   ========================================================= */

.past-events-divider {
    margin: 2.5rem 0 1.25rem;
    padding-top: 1.5rem;

    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.past-events-divider span {
    color: #999;

    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 750;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.events-list-item-past {
    background: #f5f5f3;
}

.events-list-item-past .events-list-date,
.events-list-item-past .events-list-content {
    opacity: 0.65;
}

/* =========================================================
   FLOATING CONTACT LINKS
   ========================================================= */

.floating-contact-links {
    position: fixed;

    right: 1.5rem;
    bottom: 1.5rem;

    z-index: 1000;

    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.floating-contact-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    border-radius: 50%;

    background: var(--charcoal);
    color: var(--white);

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.floating-contact-button svg {
    width: 21px;
    height: 21px;

    fill: currentColor;
}

.floating-contact-button:hover {
    background: var(--gold);
    color: var(--white);

    transform: translateY(-2px);

    text-decoration: none;
}

@media (max-width: 768px) {

    .floating-contact-links {
        right: 1rem;
        bottom: 1rem;
    }

    .floating-contact-button {
        width: 44px;
        height: 44px;
    }
}

.media-card-placeholder {
    height: 220px;
    overflow: hidden;
}

.media-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

html {
    color-scheme: light !important;
}

body {
    background: #faf8f2 !important;
    color: #333333 !important;
}