:root {
    --bg: #0f1014;
    --panel: #181a22;
    --panel-soft: #20232d;
    --text: #f3f0e8;
    --muted: #b8b0a2;
    --accent: #f0b35a;
    --accent-strong: #ffcf7a;
    --border: rgba(255, 255, 255, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(240, 179, 90, 0.18), transparent 34rem),
        radial-gradient(circle at top right, rgba(87, 72, 190, 0.18), transparent 34rem),
        linear-gradient(180deg, #0d0e13 0%, #111219 42%, #0c0d11 100%);
    color: var(--text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
}

.container {
    width: min(1100px, calc(100% - 2rem));
    margin: 0 auto;
}

/* Header */

.site-header {
    border-bottom: 1px solid var(--border);
    background: rgba(8, 9, 13, 0.88);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.22);
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
    padding: 1rem 0;
}

.brand {
    text-decoration: none;
}

.brand-main {
    display: block;
    color: var(--text);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-sub {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    letter-spacing: 0.02em;
}

.main-nav,
.footer-nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.main-nav a,
.footer-nav a {
    position: relative;
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.main-nav a:hover,
.footer-nav a:hover {
    color: var(--accent-strong);
}

.main-nav a::after,
.footer-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -0.25rem;
    height: 2px;
    background: var(--accent);
    transition: right 160ms ease;
}

.main-nav a:hover::after,
.footer-nav a:hover::after {
    right: 0;
}

/* Hero */

.hero {
    padding: 4rem 0 2rem;
}

.hero-photo {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    padding: 4.5rem 0;
    border-bottom: 1px solid rgba(240, 179, 90, 0.35);
    background:
        linear-gradient(90deg, rgba(5, 7, 11, 0.96) 0%, rgba(5, 7, 11, 0.82) 35%, rgba(5, 7, 11, 0.42) 68%, rgba(5, 7, 11, 0.66) 100%),
        url('/assets/img/jerbo-upright.jpg');
    background-size: cover;
    background-position: 58% center;
    background-repeat: no-repeat;
}

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

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 2rem;
    align-items: center;
}

.hero-copy {
    max-width: 700px;
}

.eyebrow {
    color: var(--accent-strong);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 800;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}

.hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.95;
    letter-spacing: -0.08em;
    margin: 0.25rem 0 1.1rem;
    max-width: 740px;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.65);
}

.hero p {
    color: rgba(243, 240, 232, 0.86);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    max-width: 42rem;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}

.hero-copy strong {
    color: var(--accent-strong);
}

/* Cards and buttons */

.card {
    background: linear-gradient(180deg, var(--panel), var(--panel-soft));
    border: 1px solid var(--border);
    border-radius: 1.4rem;
    padding: 1.4rem;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.next-show-card {
    background: rgba(12, 14, 19, 0.84);
    backdrop-filter: blur(10px);
    border-color: rgba(240, 179, 90, 0.45);
    box-shadow:
        0 26px 80px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.next-show-label {
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
}

.next-show-title {
    font-size: 1.8rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin: 0.35rem 0 1rem;
}

.event-meta {
    color: var(--muted);
    margin: 0.35rem 0;
}

.button-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    text-decoration: none;
    font-weight: 800;
    transition:
        transform 160ms ease,
        background 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease;
}

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

.button.primary {
    background: var(--accent);
    color: #14100a;
    border-color: transparent;
    box-shadow: 0 12px 28px rgba(240, 179, 90, 0.22);
}

.button.primary:hover {
    background: var(--accent-strong);
    box-shadow: 0 16px 34px rgba(240, 179, 90, 0.3);
}

.button.secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.button.secondary:hover {
    border-color: rgba(240, 179, 90, 0.6);
    background: rgba(240, 179, 90, 0.08);
}

/* Sections */

.section {
    padding: 2.75rem 0;
}

.section h2 {
    font-size: 2rem;
    margin: 0 0 1rem;
    letter-spacing: -0.04em;
}

.section-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

/* Event rows */

.event-list {
    display: grid;
    gap: 0.85rem;
}

.event-row {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 1rem;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background:
        linear-gradient(90deg, rgba(240, 179, 90, 0.08), transparent 24rem),
        rgba(255, 255, 255, 0.045);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.16);
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        background 160ms ease;
}

.event-row:hover {
    transform: translateY(-2px);
    border-color: rgba(240, 179, 90, 0.42);
    background:
        linear-gradient(90deg, rgba(240, 179, 90, 0.13), transparent 26rem),
        rgba(255, 255, 255, 0.06);
}

.event-date {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 1rem 0.75rem;
    background: rgba(240, 179, 90, 0.12);
    border-right: 1px solid rgba(240, 179, 90, 0.24);
    color: var(--accent-strong);
    font-weight: 900;
    line-height: 1.25;
}

.event-row > div:last-child {
    padding: 1rem 1rem 1rem 0.25rem;
}

.event-row h3 {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.event-row h3 a {
    color: var(--text);
    text-decoration: none;
}

.event-row h3 a:hover {
    color: var(--accent-strong);
}

.event-row p {
    margin: 0.2rem 0;
    color: var(--muted);
}

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

.mini-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(240, 179, 90, 0.12);
    border: 1px solid rgba(240, 179, 90, 0.32);
    color: var(--accent-strong);
    font-size: 0.85rem;
    font-weight: 900;
    text-decoration: none;
}

.mini-link:hover {
    background: rgba(240, 179, 90, 0.2);
    border-color: rgba(240, 179, 90, 0.55);
}

/* Page heroes */

.page-hero {
    padding: 3.5rem 0 2rem;
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(circle at top left, rgba(240, 179, 90, 0.18), transparent 30rem),
        radial-gradient(circle at top right, rgba(87, 72, 190, 0.12), transparent 28rem),
        rgba(255, 255, 255, 0.025);
}

.page-hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.4rem, 7vw, 4.6rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    margin: 0.4rem 0 0.8rem;
}

.page-hero p {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 42rem;
}

/* Detail pages */

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 1.5rem;
    align-items: start;
}

.detail-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.035)),
        var(--panel);
}

.detail-card h2 {
    margin-top: 0;
}

.detail-card h2,
.detail-card h3 {
    letter-spacing: -0.03em;
}

.detail-card h3 {
    color: var(--accent-strong);
    margin-top: 1.6rem;
}

.detail-card p {
    color: var(--muted);
}

.detail-card strong {
    color: var(--text);
}

.description {
    margin-top: 1.2rem;
    color: var(--muted);
}

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

.link-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.link-list a {
    display: block;
    color: var(--accent-strong);
    font-weight: 800;
    text-decoration: none;
}

.link-list span {
    color: var(--muted);
    font-size: 0.85rem;
    text-transform: capitalize;
}

/* Entity cards */

.entity-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.entity-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--panel), var(--panel-soft));
    border: 1px solid var(--border);
    border-radius: 1.2rem;
    padding: 1.25rem;
    min-height: 100%;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.16);
}

.entity-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(240, 179, 90, 0.10), transparent 13rem);
    pointer-events: none;
}

.entity-card > * {
    position: relative;
}

.entity-card-topline {
    color: var(--accent);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 0.12em;
    margin-bottom: 0.5rem;
}

.entity-card h2 {
    margin: 0 0 0.75rem;
    line-height: 1.05;
    font-size: 1.6rem;
    letter-spacing: -0.04em;
}

.entity-card h2 a {
    text-decoration: none;
}

.entity-card h2 a:hover {
    color: var(--accent-strong);
}

.entity-card p {
    color: var(--muted);
}

.entity-meta {
    color: var(--accent-strong);
    font-weight: 700;
    margin-top: 0.5rem;
}

.compact-list {
    margin-bottom: 1.5rem;
}

.compact-list .event-row {
    grid-template-columns: 7rem 1fr;
}

/* Media */

.media-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.media-card {
    overflow: hidden;
    background: linear-gradient(180deg, var(--panel), var(--panel-soft));
    border: 1px solid var(--border);
    border-radius: 1.2rem;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.16);
}

.media-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.05);
}

.media-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 14rem;
    color: var(--accent-strong);
    font-weight: 900;
    background:
        radial-gradient(circle at top left, rgba(240, 179, 90, 0.14), transparent 16rem),
        rgba(255, 255, 255, 0.04);
}

.media-card-body {
    padding: 1rem;
}

.media-card-body h2 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
}

.media-card-body p {
    color: var(--muted);
}

.credit-line {
    font-size: 0.92rem;
}

.credit-line a {
    color: var(--accent-strong);
    font-weight: 800;
    text-decoration: none;
}

.empty-state {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

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

/* Contact */

.contact-callout {
    margin: 1.25rem 0;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(240, 179, 90, 0.1);
    border: 1px solid rgba(240, 179, 90, 0.28);
}

.contact-callout span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.contact-callout a {
    color: var(--accent-strong);
    font-size: 1.25rem;
    font-weight: 900;
    text-decoration: none;
}

.plain-list {
    color: var(--muted);
    padding-left: 1.2rem;
}

.plain-list li {
    margin: 0.35rem 0;
}

/* Footer */

.site-footer {
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    color: var(--muted);
    text-align: center;
    background: rgba(5, 6, 9, 0.42);
}

.footer-nav {
    justify-content: center;
    margin-bottom: 0.75rem;
}

.footer-credit {
    margin: 0;
    color: rgba(184, 176, 162, 0.86);
    font-size: 0.92rem;
}

.footer-credit a {
    color: var(--accent-strong);
    font-weight: 700;
    text-decoration: none;
}

/* Responsive */

@media (max-width: 900px) {
    .entity-grid,
    .media-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .site-header {
        position: relative;
    }

    .header-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 0.9rem 0;
        gap: 0.8rem;
    }

    .brand-main {
        font-size: 1.25rem;
    }

    .main-nav {
        gap: 0.75rem;
    }

    .main-nav a {
        font-size: 0.9rem;
    }

    .hero-photo {
        min-height: auto;
        display: block;
        padding: 0 0 2rem;
        background:
            linear-gradient(180deg, rgba(5, 7, 11, 0.05) 0%, rgba(5, 7, 11, 0.18) 26%, rgba(5, 7, 11, 0.82) 58%, rgba(5, 7, 11, 1) 78%, rgba(5, 7, 11, 1) 100%),
            url('/assets/img/jerbo-upright.jpg');
        background-size: 100% auto;
        background-position: center top;
        background-repeat: no-repeat;
    }

    .hero-photo .hero-grid {
        display: block;
        padding-top: min(92vw, 520px);
    }

    .hero-copy {
        max-width: none;
    }

    .hero-copy h1 {
        font-size: clamp(3.5rem, 17vw, 5rem);
        margin-bottom: 0.8rem;
        text-shadow: 0 8px 30px rgba(0, 0, 0, 0.85);
    }

    .hero-copy p {
        max-width: 34rem;
        font-size: 1rem;
    }

    .next-show-card {
        margin-top: 1.25rem;
        background: rgba(12, 14, 19, 0.9);
    }

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

    .event-row,
    .compact-list .event-row {
        grid-template-columns: 1fr;
    }

    .event-date {
        display: block;
        text-align: left;
        border-right: none;
        border-bottom: 1px solid rgba(240, 179, 90, 0.24);
    }

    .event-row > div:last-child {
        padding: 1rem;
    }

    .page-hero {
        padding: 2.5rem 0 1.4rem;
    }

    .footer-nav {
        gap: 0.8rem;
    }
}

@media (max-width: 620px) {
    .entity-grid,
    .media-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 430px) {
    .container {
        width: min(100% - 1.2rem, 1100px);
    }

    .button-row {
        gap: 0.55rem;
    }

    .button {
        width: 100%;
    }

    .next-show-card .button {
        width: 100%;
    }
}
@media (max-width: 760px) {
    .hero-photo {
        background:
            linear-gradient(180deg, rgba(5, 7, 11, 0.05) 0%, rgba(5, 7, 11, 0.18) 34%, rgba(5, 7, 11, 0.82) 66%, rgba(5, 7, 11, 1) 86%, rgba(5, 7, 11, 1) 100%),
            url('/assets/img/jerbo-upright-mobile.jpg');
        background-size: 100% auto;
        background-position: center top;
        background-repeat: no-repeat;
    }

    .hero-photo .hero-grid {
        padding-top: min(115vw, 560px);
    }
}
/* Final mobile hero image treatment */

@media (max-width: 760px) {
    .hero-photo {
        display: block;
        min-height: auto;
        padding: 0 0 2rem;
        background:
            linear-gradient(
                180deg,
                rgba(5, 7, 11, 0.00) 0%,
                rgba(5, 7, 11, 0.06) 35%,
                rgba(5, 7, 11, 0.72) 78%,
                rgba(5, 7, 11, 1.00) 100%
            ),
            url('/assets/img/jerbo-upright-mobile.jpg');
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-position: center top;
    }

    .hero-photo .hero-grid {
        display: block;
        padding-top: 112vw;
    }

    .hero-copy {
        padding-top: 0;
    }

    .next-show-card {
        margin-top: 1.25rem;
    }
}

@media (max-width: 430px) {
    .hero-photo .hero-grid {
        padding-top: 118vw;
    }
}
/* Guaranteed mobile hero image */

.mobile-hero-image {
    display: none;
}

@media (max-width: 760px) {
    .hero-photo {
        background:
            linear-gradient(180deg, rgba(5, 7, 11, 0.72), rgba(5, 7, 11, 1));
        padding-top: 0;
    }

    .mobile-hero-image {
        display: block;
        width: 100%;
        max-height: 520px;
        overflow: hidden;
        border-bottom: 1px solid rgba(240, 179, 90, 0.28);
    }

    .mobile-hero-image img {
        display: block;
        width: 100%;
        height: auto;
    }

    .hero-photo .hero-grid {
        padding-top: 2rem;
    }
}
/* Mobile hero image sizing refinement */

@media (max-width: 760px) {
    .mobile-hero-image {
        height: 42vh;
        max-height: 360px;
        min-height: 260px;
        overflow: hidden;
    }

    .mobile-hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 18%;
    }

    .hero-photo .hero-grid {
        padding-top: 1.5rem;
    }
}

@media (max-width: 430px) {
    .mobile-hero-image {
        height: 38vh;
        max-height: 330px;
        min-height: 240px;
    }

    .mobile-hero-image img {
        object-position: center 14%;
    }
}
/* Mobile mockup-style hero: image behind text */

@media (max-width: 760px) {
    .hero-photo {
        position: relative;
        overflow: hidden;
        display: block;
        min-height: 820px;
        padding: 0;
        background: #07080c;
        border-bottom: 1px solid rgba(240, 179, 90, 0.35);
    }

    .hero-photo::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background:
            linear-gradient(
                180deg,
                rgba(5, 7, 11, 0.12) 0%,
                rgba(5, 7, 11, 0.24) 24%,
                rgba(5, 7, 11, 0.58) 46%,
                rgba(5, 7, 11, 0.92) 70%,
                rgba(5, 7, 11, 1.00) 100%
            ),
            linear-gradient(
                90deg,
                rgba(5, 7, 11, 0.88) 0%,
                rgba(5, 7, 11, 0.48) 46%,
                rgba(5, 7, 11, 0.18) 100%
            );
        pointer-events: none;
    }

    .mobile-hero-image {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 0;
        width: 100%;
        height: 100%;
        max-height: none;
        min-height: 0;
        overflow: hidden;
        border-bottom: none;
    }

    .mobile-hero-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }

    .hero-photo .hero-grid {
        position: relative;
        z-index: 2;
        display: block;
        padding-top: 9rem;
        padding-bottom: 2rem;
    }

    .hero-copy {
        max-width: none;
        padding-top: 0;
    }

    .hero-copy h1 {
        font-size: clamp(4rem, 18vw, 5.6rem);
        line-height: 0.9;
        margin-bottom: 1rem;
    }

    .hero-copy p {
        max-width: 34rem;
        color: rgba(243, 240, 232, 0.9);
    }

    .next-show-card {
        margin-top: 2rem;
        background: rgba(12, 14, 19, 0.88);
        backdrop-filter: blur(10px);
    }
}

@media (max-width: 430px) {
    .hero-photo {
        min-height: 800px;
    }

    .hero-photo .hero-grid {
        padding-top: 8rem;
    }

    .hero-copy h1 {
        font-size: clamp(4.2rem, 20vw, 5.4rem);
    }
}
/* Mobile hero face-position adjustment */

@media (max-width: 760px) {
    .mobile-hero-image img {
        object-position: center -70px;
    }

    .hero-photo .hero-grid {
        padding-top: 11.5rem;
    }
}

@media (max-width: 430px) {
    .mobile-hero-image img {
        object-position: center -85px;
    }

    .hero-photo .hero-grid {
        padding-top: 12rem;
    }
}
/* Admin v1 */

.narrow-container {
    max-width: 520px;
}

.admin-form {
    display: grid;
    gap: 1rem;
}

.admin-form label {
    display: grid;
    gap: 0.35rem;
    color: var(--muted);
    font-weight: 800;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.7rem 0.85rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font: inherit;
}

.admin-form textarea {
    min-height: 8rem;
    resize: vertical;
}

.form-error {
    padding: 0.8rem 1rem;
    border-radius: 0.8rem;
    background: rgba(255, 80, 80, 0.14);
    border: 1px solid rgba(255, 80, 80, 0.32);
    color: #ffd8d8;
    font-weight: 800;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-stat-card {
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    background:
        radial-gradient(circle at top right, rgba(240, 179, 90, 0.13), transparent 12rem),
        rgba(255, 255, 255, 0.045);
}

.admin-stat-card span {
    display: block;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-stat-card strong {
    display: block;
    margin-top: 0.35rem;
    color: var(--accent-strong);
    font-size: 2rem;
    line-height: 1;
}

.admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 1.5rem;
}

.admin-action-list {
    display: grid;
    gap: 0.75rem;
}

.admin-action-list a {
    display: block;
    padding: 0.9rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.045);
    color: var(--text);
    font-weight: 900;
    text-decoration: none;
}

.admin-action-list a:hover {
    border-color: rgba(240, 179, 90, 0.5);
    background: rgba(240, 179, 90, 0.09);
    color: var(--accent-strong);
}

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

.admin-simple-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border);
}

.admin-simple-list strong,
.admin-simple-list span {
    display: block;
}

.admin-simple-list span {
    color: var(--muted);
    margin-top: 0.2rem;
}

@media (max-width: 900px) {
    .admin-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 520px) {
    .admin-stat-grid {
        grid-template-columns: 1fr;
    }
}
/* Admin content managers */

.narrow-admin-container {
    max-width: 760px;
}

.admin-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.035);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.admin-table th,
.admin-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: middle;
}

.admin-table th {
    color: var(--accent-strong);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-table td {
    color: var(--muted);
}

.admin-table td strong {
    display: block;
    color: var(--text);
}

.admin-table td span {
    display: block;
    font-size: 0.86rem;
}

.table-actions {
    white-space: nowrap;
}

.table-actions .mini-link {
    margin: 0.1rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.65rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
}

.status-pill.active {
    color: #ddffdf;
    background: rgba(72, 180, 97, 0.18);
    border: 1px solid rgba(72, 180, 97, 0.34);
}

.status-pill.inactive {
    color: #ffd8d8;
    background: rgba(180, 72, 72, 0.18);
    border: 1px solid rgba(180, 72, 72, 0.34);
}

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

.checkbox-label {
    display: flex !important;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.6rem !important;
}

.checkbox-label input {
    width: auto;
    min-height: auto;
}

@media (max-width: 620px) {
    .admin-form-grid.two {
        grid-template-columns: 1fr;
    }
}
/* Event status pills */

.status-pill.featured {
    margin-top: 0.35rem;
    width: fit-content;
    color: #14100a;
    background: var(--accent);
    border: 1px solid rgba(255, 207, 122, 0.55);
}

.status-pill.status-scheduled {
    color: #ddffdf;
    background: rgba(72, 180, 97, 0.18);
    border: 1px solid rgba(72, 180, 97, 0.34);
}

.status-pill.status-cancelled {
    color: #ffd8d8;
    background: rgba(180, 72, 72, 0.18);
    border: 1px solid rgba(180, 72, 72, 0.34);
}

.status-pill.status-postponed {
    color: #fff1bf;
    background: rgba(240, 179, 90, 0.16);
    border: 1px solid rgba(240, 179, 90, 0.34);
}

.status-pill.status-draft,
.status-pill.status-hidden {
    color: #d8dcff;
    background: rgba(107, 117, 255, 0.16);
    border: 1px solid rgba(107, 117, 255, 0.34);
}
/* Ticket / admission display */

.ticket-info-box {
    margin: 1.25rem 0;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(240, 179, 90, 0.28);
    background: rgba(240, 179, 90, 0.09);
}

.ticket-info-box strong,
.ticket-info-box span {
    display: block;
}

.ticket-info-box strong {
    color: var(--text);
    margin-bottom: 0.25rem;
}

.ticket-info-box span {
    color: var(--accent-strong);
    font-weight: 900;
}

.ticket-info-box p {
    margin: 0.45rem 0 0;
    color: var(--muted);
}

.ticket-mini-note {
    display: inline-flex;
    margin-top: 0.8rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(240, 179, 90, 0.32);
    background: rgba(240, 179, 90, 0.11);
    color: var(--accent-strong);
    font-size: 0.88rem;
    font-weight: 900;
}
/* Admin media manager */

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

.admin-media-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 1.2rem;
    background: linear-gradient(180deg, var(--panel), var(--panel-soft));
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.16);
}

.admin-media-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 12rem;
    background:
        radial-gradient(circle at top left, rgba(240, 179, 90, 0.14), transparent 16rem),
        rgba(255, 255, 255, 0.04);
}

.admin-media-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.admin-media-thumb span {
    color: var(--accent-strong);
    font-weight: 900;
}

.admin-media-body {
    padding: 1rem;
}

.admin-media-body h2 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
}

.admin-media-body p {
    color: var(--muted);
}

.current-media-preview {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.04);
}

.current-media-preview img {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: contain;
}

.admin-divider {
    width: 100%;
    border: none;
    border-top: 1px solid var(--border);
    margin: 0.5rem 0;
}

@media (max-width: 900px) {
    .admin-media-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .admin-media-grid {
        grid-template-columns: 1fr;
    }
}
/* Event detail media */

.event-primary-media {
    margin: 0 0 1.5rem;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.04);
}

.event-primary-media img {
    display: block;
    width: 100%;
    max-height: 720px;
    object-fit: contain;
    background: #05060a;
}

.event-primary-media figcaption {
    display: grid;
    gap: 0.25rem;
    padding: 0.8rem 1rem;
    color: var(--muted);
    font-size: 0.92rem;
    border-top: 1px solid var(--border);
}

.event-primary-media figcaption a {
    color: var(--accent-strong);
    font-weight: 800;
    text-decoration: none;
}
/* Event thumbnails */

.event-row.has-thumb {
    grid-template-columns: 8.5rem 7.5rem 1fr;
}

.event-thumb {
    align-self: stretch;
    min-height: 8rem;
    background: rgba(255, 255, 255, 0.04);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.event-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 8rem;
    object-fit: cover;
}

.event-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 8rem;
    padding: 0.75rem;
    color: var(--accent-strong);
    text-align: center;
    font-weight: 900;
    background:
        radial-gradient(circle at top left, rgba(240, 179, 90, 0.16), transparent 10rem),
        rgba(255, 255, 255, 0.04);
}

.next-show-image {
    margin: -0.4rem -0.4rem 1rem;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
}

.next-show-image img {
    display: block;
    width: 100%;
    max-height: 260px;
    object-fit: cover;
}

@media (max-width: 760px) {
    .event-row.has-thumb,
    .compact-list .event-row.has-thumb {
        grid-template-columns: 1fr;
    }

    .event-thumb {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        max-height: 260px;
    }

    .event-thumb img {
        max-height: 260px;
    }

    .event-date {
        border-bottom: 1px solid rgba(240, 179, 90, 0.24);
    }
}
/* Related links grouping */

.related-link-group {
    padding-top: 0.25rem;
    margin-top: 1.25rem;
}

.related-link-group:first-of-type {
    margin-top: 0;
}

.related-link-group h3 {
    color: var(--accent-strong);
    font-size: 1rem;
    margin: 0 0 0.4rem;
    letter-spacing: 0.02em;
}

.related-links-card .link-list + .link-list {
    margin-top: 0.35rem;
}
/* Event context panels */

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

.context-card {
    overflow: hidden;
}

.context-card-image {
    margin: -1.4rem -1.4rem 1rem;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
}

.context-card-image img {
    display: block;
    width: 100%;
    max-height: 280px;
    object-fit: cover;
}

.context-card h3 {
    margin: 0.25rem 0 0.75rem;
    font-size: 1.65rem;
    letter-spacing: -0.04em;
}

.context-card p {
    color: var(--muted);
}

.context-card strong {
    color: var(--text);
}

@media (max-width: 760px) {
    .context-grid {
        grid-template-columns: 1fr;
    }
}
/* Submission statuses */

.status-pill.status-new {
    color: #14100a;
    background: var(--accent);
    border: 1px solid rgba(255, 207, 122, 0.55);
}

.status-pill.status-reviewing {
    color: #d8dcff;
    background: rgba(107, 117, 255, 0.16);
    border: 1px solid rgba(107, 117, 255, 0.34);
}

.status-pill.status-approved {
    color: #ddffdf;
    background: rgba(72, 180, 97, 0.18);
    border: 1px solid rgba(72, 180, 97, 0.34);
}

.status-pill.status-rejected,
.status-pill.status-archived {
    color: #ffd8d8;
    background: rgba(180, 72, 72, 0.18);
    border: 1px solid rgba(180, 72, 72, 0.34);
}
/* Very discreet footer admin link */

.footer-admin-link {
    margin: 0.45rem 0 0;
    font-size: 0.72rem;
}

.footer-admin-link a {
    color: rgba(184, 176, 162, 0.28);
    text-decoration: none;
}

.footer-admin-link a:hover {
    color: rgba(255, 207, 122, 0.65);
}
/* Admin dashboard attention state */

.admin-stat-card.attention {
    border-color: rgba(255, 207, 122, 0.55);
    background:
        radial-gradient(circle at top right, rgba(240, 179, 90, 0.24), transparent 12rem),
        rgba(240, 179, 90, 0.07);
}

.admin-stat-card.attention span {
    color: var(--accent-strong);
}