/* Elysian RP — Western/RDR2-Theme, reines CSS ohne Build-Step */

:root {
    --color-bg: #1b140d;
    --color-bg-alt: #251b12;
    --color-surface: #2c2015;
    --color-surface-raised: #362817;
    --color-border: #4a3820;
    --color-text: #ede1c8;
    --color-text-muted: #b8a582;
    --color-gold: #c9982f;
    --color-gold-bright: #e0b653;
    --color-red: #7a2222;
    --color-red-bright: #a52d2d;
    --color-green: #4c6b3f;
    --color-parchment: #e9dcbb;
    --color-parchment-ink: #362a17;
    --font-display: 'Rye', serif;
    --font-body: 'PT Serif', Georgia, 'Times New Roman', serif;
    --radius: 4px;
    --shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-bg);
    background-image:
        radial-gradient(ellipse at top, rgba(201, 152, 47, 0.08), transparent 60%),
        repeating-linear-gradient(45deg, rgba(0,0,0,0.15) 0, rgba(0,0,0,0.15) 2px, transparent 2px, transparent 4px);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: var(--color-gold-bright);
    text-decoration: none;
}
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.03em;
    color: var(--color-gold-bright);
    margin-top: 0;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.4rem; }

/* --- Header / Nav --- */
.site-header {
    background: linear-gradient(180deg, var(--color-bg-alt), var(--color-bg));
    border-bottom: 3px solid var(--color-gold);
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand:hover { text-decoration: none; }

.brand__mark {
    color: var(--color-gold);
    font-size: 1.6rem;
}

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

.brand__name {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--color-text);
}

.brand__tagline {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.brand__logo {
    height: 60px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--color-text);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a.is-active {
    color: var(--color-gold-bright);
    border-bottom-color: var(--color-gold);
    text-decoration: none;
}

.nav-cta {
    background: var(--color-red);
    color: #fff !important;
    padding: 8px 16px !important;
    border-radius: var(--radius);
    border-bottom: none !important;
}
.nav-cta:hover { background: var(--color-red-bright); }

.nav-acp {
    border: 1px solid var(--color-gold);
    padding: 6px 14px !important;
    border-radius: var(--radius);
}

.nav-account {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--color-border);
    padding: 6px 14px !important;
    border-radius: var(--radius);
}
.nav-account:hover { border-color: var(--color-gold); }
.nav-account__avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--color-gold-bright);
}

/* --- Hero --- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0 60px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 2.2s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.is-active { opacity: 1; }

.hero-slide--sunset {
    background:
        radial-gradient(ellipse at 50% 15%, rgba(197, 90, 17, 0.5), transparent 60%),
        linear-gradient(180deg, #1b140d 0%, #2c1810 45%, #1b140d 100%);
}
.hero-slide--campfire {
    background:
        radial-gradient(circle at 50% 90%, rgba(216, 122, 29, 0.45), transparent 55%),
        linear-gradient(180deg, #10161f 0%, #1b140d 75%);
}
.hero-slide--saloon {
    background:
        radial-gradient(ellipse at 50% 25%, rgba(201, 152, 47, 0.35), transparent 60%),
        linear-gradient(180deg, #241a10 0%, #1b140d 100%);
}
.hero-slide--dawn {
    background:
        radial-gradient(ellipse at 50% 5%, rgba(122, 150, 168, 0.3), transparent 55%),
        linear-gradient(180deg, #141a1f 0%, #1b140d 100%);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 35%, transparent 25%, rgba(27, 20, 13, 0.8) 100%);
    z-index: 1;
    pointer-events: none;
}

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

.hero__logo {
    width: 100%;
    max-width: 260px;
    height: auto;
    margin: 0 auto 8px;
    display: block;
}

.hero__eyebrow {
    display: inline-block;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.8rem;
    margin-bottom: 18px;
}

.hero-dots {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--color-gold);
    background: transparent;
    padding: 0;
    cursor: pointer;
}
.hero-dot.is-active { background: var(--color-gold); }

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 18px;
}

.hero p {
    max-width: 620px;
    margin: 0 auto 34px;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.button-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-family: var(--font-display);
    letter-spacing: 0.05em;
    font-size: 1.05rem;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--color-gold);
    color: #1b140d;
}
.btn-primary:hover { background: var(--color-gold-bright); text-decoration: none; }

.btn-outline {
    border-color: var(--color-gold);
    color: var(--color-gold-bright);
}
.btn-outline:hover { background: rgba(201,152,47,0.1); text-decoration: none; }

.btn-discord {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #5865F2;
    color: #fff;
}
.btn-discord:hover { background: #4752c4; text-decoration: none; }
.btn-discord svg { width: 20px; height: 20px; }

.ucp-profile-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 24px 28px;
    flex-wrap: wrap;
}
.ucp-profile-card__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
}
.ucp-profile-card h2 { margin-bottom: 4px; font-size: 1.4rem; }
.ucp-profile-card__meta { margin: 0; color: var(--color-text-muted); font-size: 0.9rem; }

/* --- Ornament divider (Linie-Stern-Linie, passend zum Logo) --- */
.ornament-divider {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 420px;
    margin: 32px auto 0;
}
.ornament-divider span {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), var(--color-gold));
}
.ornament-divider span:last-child {
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold), transparent);
}
.ornament-divider i {
    font-style: normal;
    color: var(--color-gold);
    font-size: 1rem;
}

/* --- Sections / Cards --- */
section { padding: 64px 0; }

.section-heading {
    text-align: center;
    margin-bottom: 44px;
}
.section-heading p {
    color: var(--color-text-muted);
    max-width: 560px;
    margin: 10px auto 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow-soft);
}

.card {
    transition: transform 0.35s ease, border-color 0.35s ease;
}
.card:hover {
    transform: translateY(-6px);
    border-color: var(--color-gold);
}

.card__icon {
    width: 44px;
    height: 44px;
    color: var(--color-gold);
    margin-bottom: 16px;
}
.card__icon svg { width: 100%; height: 100%; }

.card h3 { margin-bottom: 10px; }
.card p { color: var(--color-text-muted); margin: 0; }

.section-alt {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

/* --- Fraktionen: Steckbrief-/Wanted-Poster-Karten --- */
.wanted-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 34px;
    margin-top: 10px;
}

.wanted-card {
    position: relative;
    background: var(--color-parchment);
    color: var(--color-parchment-ink);
    padding: 34px 28px 28px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
    clip-path: polygon(0% 1.5%, 6% 0%, 14% 1%, 23% 0%, 32% 1%, 41% 0%, 50% 1%, 59% 0%, 68% 1%, 77% 0%, 86% 1%, 94% 0%, 100% 1.5%, 100% 100%, 0% 100%);
    transition: transform 0.35s ease;
}
.wanted-grid > *:nth-child(odd) { transform: rotate(-1.1deg); }
.wanted-grid > *:nth-child(even) { transform: rotate(1deg); }
.wanted-card:hover { transform: rotate(0deg) translateY(-4px); }

.wanted-card::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px dashed rgba(54, 42, 23, 0.45);
    pointer-events: none;
}

.wanted-card__label {
    display: inline-block;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    color: var(--color-red);
    margin-bottom: 10px;
}

.wanted-card h3 {
    color: var(--color-parchment-ink);
    font-size: 1.5rem;
    margin-bottom: 12px;
}
.wanted-card p {
    color: #4a3d28;
    margin: 0;
    line-height: 1.55;
}

/* --- Scroll-Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* --- Eck-Ornamente (z.B. Newsletter-Box) --- */
.framed {
    position: relative;
}
.framed::before, .framed::after,
.framed .frame-corner::before, .framed .frame-corner::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border: 2px solid var(--color-gold);
}
.framed::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.framed::after { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.framed .frame-corner::before { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.framed .frame-corner::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

/* --- Newsletter --- */
.newsletter-box {
    max-width: 620px;
    margin: 0 auto;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 40px 36px;
    text-align: center;
}
.newsletter-box h2 { margin-bottom: 10px; }
.newsletter-box p { color: var(--color-text-muted); margin-bottom: 26px; }
.newsletter-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 16px;
}
.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 220px;
    margin-bottom: 0;
}
.newsletter-form button {
    margin-bottom: 0;
    white-space: nowrap;
}
.newsletter-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    max-width: 480px;
    margin: 0 auto;
}
.newsletter-consent input { width: auto; margin: 3px 0 0; }
.newsletter-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* --- Regeln / Gesetze content --- */
.page-header {
    padding: 60px 0 30px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}
.page-header p {
    color: var(--color-text-muted);
    max-width: 620px;
    margin: 12px auto 0;
}

.rule-category,
.law-category {
    margin-bottom: 46px;
}

.rule-category h2,
.law-category h2 {
    border-bottom: 2px solid var(--color-gold);
    padding-bottom: 10px;
    margin-bottom: 22px;
}

.rule-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-gold);
    border-radius: var(--radius);
    padding: 18px 22px;
    margin-bottom: 14px;
}
.rule-item h3 { font-size: 1.15rem; margin-bottom: 6px; }
.rule-item p { margin: 0; color: var(--color-text-muted); }

.law-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
}
.law-table th, .law-table td {
    text-align: left;
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
}
.law-table th {
    background: var(--color-surface-raised);
    color: var(--color-gold-bright);
    font-family: var(--font-display);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}
.law-table tr:last-child td { border-bottom: none; }
.law-table .punishment {
    color: var(--color-gold-bright);
    white-space: nowrap;
}

.legal-content {
    max-width: 760px;
    color: var(--color-text);
}
.legal-content h2 {
    font-size: 1.25rem;
    margin-top: 36px;
    margin-bottom: 12px;
}
.legal-content p, .legal-content ul {
    color: var(--color-text-muted);
    margin-bottom: 14px;
}
.legal-content ul { padding-left: 22px; }
.legal-content a { text-decoration: underline; }
.legal-hint {
    background: rgba(201, 152, 47, 0.12);
    border: 1px solid var(--color-gold);
    border-radius: var(--radius);
    padding: 16px 20px;
    color: var(--color-gold-bright) !important;
    font-size: 0.92rem;
    margin-bottom: 30px !important;
}

.empty-state {
    color: var(--color-text-muted);
    font-style: italic;
    padding: 20px 0;
}

/* --- Footer --- */
.site-footer {
    border-top: 3px solid var(--color-gold);
    background: var(--color-bg-alt);
    padding: 26px 0;
}
.site-footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}
.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 14px;
}
.site-footer__brand p { margin: 0; }
.footer__logo {
    height: 36px;
    width: auto;
    opacity: 0.85;
}
.footer-nav { display: flex; gap: 18px; }

/* --- Flash messages (shared with ACP) --- */
.flash-list { list-style: none; padding: 0; margin: 0 0 24px; }
.flash {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 10px;
    font-size: 0.95rem;
}
.flash-success { background: rgba(76,107,63,0.25); border: 1px solid var(--color-green); color: #cfe3c3; }
.flash-error { background: rgba(122,34,34,0.25); border: 1px solid var(--color-red-bright); color: #f0c9c9; }
.flash-list--floating { margin: 24px auto 0; max-width: 720px; }

/* --- Forms (shared with ACP) --- */
label { display: block; margin-bottom: 6px; color: var(--color-text-muted); font-size: 0.9rem; }
input[type="text"], input[type="password"], input[type="number"], textarea, select {
    width: 100%;
    padding: 10px 12px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 18px;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--color-gold);
}
button, input[type="submit"] {
    font-family: var(--font-display);
    letter-spacing: 0.04em;
    cursor: pointer;
}

/* --- ACP layout --- */
.acp-body {
    display: flex;
    min-height: 100vh;
}
.acp-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: var(--color-bg-alt);
    border-right: 1px solid var(--color-border);
    padding: 24px 0;
}
.acp-sidebar__brand {
    padding: 0 22px 22px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 18px;
}
.acp-sidebar__brand strong {
    font-family: var(--font-display);
    color: var(--color-gold-bright);
    font-size: 1.3rem;
}
.acp-sidebar nav a {
    display: block;
    padding: 12px 22px;
    color: var(--color-text);
    border-left: 3px solid transparent;
}
.acp-sidebar nav a:hover,
.acp-sidebar nav a.is-active {
    background: var(--color-surface);
    border-left-color: var(--color-gold);
    color: var(--color-gold-bright);
    text-decoration: none;
}
.acp-sidebar__footer {
    padding: 18px 22px 0;
    margin-top: 18px;
    border-top: 1px solid var(--color-border);
    font-size: 0.85rem;
    color: var(--color-text-muted);
}
.acp-main {
    flex: 1;
    padding: 34px 40px;
    max-width: 1000px;
}
.acp-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}
.acp-panel {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 26px;
    margin-bottom: 26px;
}
.acp-table {
    width: 100%;
    border-collapse: collapse;
}
.acp-table th, .acp-table td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--color-border);
}
.acp-table th {
    color: var(--color-text-muted);
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
}
.acp-actions { display: flex; gap: 10px; }
.acp-actions a, .acp-actions button {
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    background: var(--color-surface-raised);
    color: var(--color-text);
}
.acp-actions a:hover, .acp-actions button:hover {
    border-color: var(--color-gold);
    text-decoration: none;
}
.acp-actions .danger:hover { border-color: var(--color-red-bright); color: #f0c9c9; }

.btn-danger-inline {
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    background: var(--color-surface-raised);
    color: var(--color-text);
}
.btn-danger-inline:hover { border-color: var(--color-red-bright); color: #f0c9c9; }

.acp-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.acp-stat {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 20px;
}
.acp-stat__value {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--color-gold-bright);
}
.acp-stat__label {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.login-card {
    width: 100%;
    max-width: 380px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-soft);
}
.login-card h1 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.badge-admin { background: rgba(201,152,47,0.2); color: var(--color-gold-bright); border: 1px solid var(--color-gold); }
.badge-moderator { background: rgba(184,165,130,0.15); color: var(--color-text-muted); border: 1px solid var(--color-border); }

@media (max-width: 820px) {
    .brand__logo { height: 46px; }
    .hero__logo { max-width: 190px; }
    .site-footer__inner { flex-direction: column; align-items: flex-start; }
    .wanted-grid > *:nth-child(odd),
    .wanted-grid > *:nth-child(even) { transform: none; }
    .newsletter-form { flex-direction: column; }
    .newsletter-box { padding: 30px 22px; }
    .nav-toggle { display: flex; }
    .main-nav {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 4px;
        padding-top: 14px;
    }
    .main-nav.is-open { display: flex; }
    .site-header__inner { flex-wrap: wrap; }
    .acp-body { flex-direction: column; }
    .acp-sidebar { width: 100%; }
    .acp-main { padding: 24px; }
}

/* Modern frontier: shared visual refresh, no build tooling required. */
:root {
    --color-bg: #141715;
    --color-bg-alt: #1b201d;
    --color-surface: #222823;
    --color-surface-raised: #2b322c;
    --color-border: #41473b;
    --color-text: #f3eee3;
    --color-text-muted: #bbc0b3;
    --color-gold: #c5a66b;
    --color-gold-bright: #e5c58b;
    --color-parchment: #e9dfc9;
    --font-body: system-ui, -apple-system, 'Segoe UI', sans-serif;
    --radius: 12px;
    --shadow-soft: 0 16px 40px rgba(0,0,0,.16);
}
body { background-image: radial-gradient(ellipse at 80% 0, #a58c4c12, transparent 48%); }
.container { max-width: 1200px; }
h1,h2 { line-height: 1.25; text-wrap: balance; }
h2 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.8rem, 3vw, 2.7rem); letter-spacing: -.025em; color: var(--color-text); }
h3,h4 { font-family: Georgia, 'Times New Roman', serif; letter-spacing: 0; color: var(--color-text); }
p { line-height: 1.8; }
section { padding: clamp(48px, 7vw, 96px) 0; }
:target { scroll-margin-top: 110px; }
:focus-visible { outline: 2px solid var(--color-gold-bright); outline-offset: 5px; }
input:focus-visible,textarea:focus-visible,select:focus-visible { outline: 2px solid var(--color-gold-bright); outline-offset: 2px; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 100; padding: 12px 20px; background: var(--color-gold-bright); color: var(--color-bg); }
.skip-link:focus { top: 12px; }
.site-header { background: rgba(20,23,21,.96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--color-border); }
.site-header__inner { min-height: 88px; }
.brand__logo { height: 56px; }
.main-nav { gap: 18px; }
.main-nav a { font-size: .78rem; font-weight: 600; letter-spacing: .055em; }
.nav-cta { background: #394639; border: 1px solid #53604b !important; }
.nav-cta:hover { background: #49583f; }
.nav-account { max-width: 220px; overflow-wrap: anywhere; text-transform: none !important; }
.nav-toggle { min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
.hero { padding: clamp(64px, 9vw, 120px) 0 32px; text-align: left; background: #191e19; }
.hero > .container { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(220px,.8fr); align-items: center; gap: 24px 64px; }
.hero__logo { grid-column: 2; grid-row: 1 / span 4; max-width: 340px; filter: drop-shadow(0 20px 50px #0008); }
.hero h1 { grid-column: 1; font-size: clamp(2.4rem, 5vw, 4.6rem); color: #f2e6c9; margin: 0; }
.hero p { grid-column: 1; margin: 0; font-size: 1.06rem; }
.hero .button-row { grid-column: 1; justify-content: flex-start; }
.hero__eyebrow { grid-column: 1; margin: 0; font-size: .72rem; font-weight: 700; }
.hero-slide--sunset { background: radial-gradient(ellipse at 85% 40%, #97734255, transparent 55%), linear-gradient(135deg,#18221e,#28271e); }
.hero-slide--campfire { background: radial-gradient(ellipse at 85% 70%, #99593655, transparent 60%), linear-gradient(135deg,#18221e,#241d19); }
.hero-slide--saloon { background: radial-gradient(ellipse at 85% 40%, #ae975244, transparent 55%), linear-gradient(135deg,#18221e,#28281e); }
.hero-slide--dawn { background: radial-gradient(ellipse at 85% 20%, #698b8655, transparent 55%), linear-gradient(135deg,#18221e,#1c292b); }
.hero::after { background: linear-gradient(0deg,#141715,transparent 35%); }
.hero-dots { margin-top: 64px; align-items: center; }
.hero-dot { width: 32px; height: 32px; border: 0; border-radius: 0; background: linear-gradient(var(--color-border),var(--color-border)) center / 24px 3px no-repeat; }
.hero-dot.is-active { background: linear-gradient(var(--color-gold),var(--color-gold)) center / 24px 3px no-repeat; }
.btn,button,input[type=submit] { font-family: var(--font-body); font-weight: 650; letter-spacing: .015em; }
.btn { font-size: .92rem; padding: 13px 23px; min-height: 48px; transition: background .2s, border-color .2s; }
.btn-outline { border-color: #797559; }
.ornament-divider { max-width: 200px; opacity: .65; }
.section-heading { margin-bottom: 40px; }
.section-heading p { max-width: 650px; }
.card { padding: 32px; box-shadow: none; background: linear-gradient(145deg,#272e27,#1e241f); }
.card:hover { transform: translateY(-3px); }
.card__icon { width: 42px; height: 42px; padding: 7px; border: 1px solid #85734a; border-radius: 10px; margin-bottom: 24px; }
.card h3 { font-size: 1.45rem; }
.card p { font-size: .95rem; }
.section-alt { background: #1a201b; }
.wanted-grid { gap: 24px; }
.wanted-card { padding: 38px 32px; clip-path: none; border-radius: 3px; box-shadow: none; border-top: 4px solid #b99760; }
.wanted-grid > *:nth-child(n) { transform: none; }
.wanted-card::before { border-style: solid; border-color: #362a1726; }
.wanted-card__label { font-family: var(--font-body); font-weight: 700; font-size: .68rem; }
.wanted-card h3 { font-size: 1.7rem; }
.wanted-card p { font-size: .95rem; line-height: 1.8; }
.newsletter-box { max-width: 780px; padding: 48px; border-radius: var(--radius); background: linear-gradient(135deg,#2d352b,#202721); }
.newsletter-form input[type=email] { padding: 13px 16px; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 8px; color: var(--color-text); font: inherit; min-width: 0; }
.newsletter-consent { flex-basis: 100%; max-width: none; margin-top: 12px; line-height: 1.7; }
.page-header { padding: 64px 0 42px; background: radial-gradient(ellipse at top,#b9985420,transparent 70%); }
.page-header h1 { font-size: clamp(1.8rem,4vw,2.8rem); }
.rule-item { border-left-width: 2px; padding: 24px 28px; }
.rule-category h2,.law-category h2 { border-bottom-width: 1px; padding-bottom: 18px; }
.legal-content { max-width: 840px; }
.legal-content h2 { font-family: var(--font-body); font-weight: 650; font-size: 1.2rem; }
.site-footer { border-top: 1px solid var(--color-border); padding: 38px 0; }
.site-footer__inner { gap: 24px; }
.site-footer__brand { max-width: 540px; font-size: .8rem; }
.footer-nav { flex-wrap: wrap; gap: 12px 20px; font-size: .8rem; }
.ucp-profile-card { padding: 28px; background: linear-gradient(110deg,#30382c,#202721); }
.acp-main { min-width: 0; max-width: 1440px; }
.acp-panel { overflow-x: auto; }
.acp-stat { border-top: 2px solid #a98d57; padding: 26px; }
.acp-stat__value { font-family: var(--font-body); font-weight: 600; font-variant-numeric: tabular-nums; }
.acp-stat__label { font-size: .72rem; margin-top: 8px; }
.acp-topbar,.acp-actions { flex-wrap: wrap; gap: 12px; }
.acp-sidebar nav a { margin: 4px 12px; border-radius: 6px; font-size: .9rem; }
.acp-table th,.law-table th { font-family: var(--font-body); font-size: .72rem; font-weight: 650; letter-spacing: .07em; }
.acp-table td,.law-table td { padding: 18px 16px; font-size: .9rem; }
.acp-table tbody tr:hover,.law-table tbody tr:hover { background: #ffffff04; }
.law-table { table-layout: fixed; }
.law-table td { overflow-wrap: anywhere; }
.law-table .punishment { white-space: normal; }
.reveal { opacity: 1; transform: none; }
@media (min-width: 821px) { .acp-sidebar { position: sticky; top: 0; align-self: flex-start; height: 100vh; overflow-y: auto; } }
@media (max-width: 1200px) {
    .nav-toggle { display: flex; }
    .site-header__inner { flex-wrap: wrap; }
    .main-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 6px; padding: 12px 0; }
    .main-nav.is-open { display: flex; }
    .main-nav a { padding: 12px; }
    .nav-account { max-width: none; }
}
@media (max-width: 640px) {
    .container { padding-left: 20px; padding-right: 20px; }
    .hero { text-align: center; padding-top: 40px; }
    .hero > .container { grid-template-columns: minmax(0,1fr); gap: 22px; }
    .hero__logo { grid-column: 1; grid-row: 1; max-width: 180px; }
    .hero .button-row { justify-content: center; }
    .hero p { font-size: 1rem; }
    .hero-dots { margin-top: 32px; }
    .newsletter-box { padding: 30px 22px; }
    .newsletter-form input[type=email] { width: 100%; }
    .card-grid,.wanted-grid { grid-template-columns: minmax(0,1fr); }
    .law-table th,.law-table td { padding: 12px 8px; font-size: .78rem; }
    .ucp-profile-card { padding: 20px; gap: 16px; }
    .ucp-profile-card form { margin-left: 0 !important; width: 100%; }
    .acp-main { padding: 20px; }
    .acp-panel { padding: 18px; }
    .acp-table { min-width: 560px; }
}
@media (prefers-reduced-motion: reduce) {
    *,*::before,*::after { transition: none !important; animation: none !important; }
    .card:hover { transform: none; }
}
/* ACP-configured photo/video backgrounds */
.hero--media { isolation: isolate; }
.hero--media .hero-slide { background: #19221b; transition: opacity var(--slide-transition,800ms) ease, transform var(--slide-transition,800ms) ease; }
.hero--media .hero-slide > img,.hero--media .hero-slide > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focal-x,50%) var(--focal-y,50%); }
.hero--media .hero-slide > video { opacity: 0; }
.hero--media .hero-slide.video-playing > video { opacity: 1; }
.hero--media .hero-slide::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,var(--overlay,.5)); }
.hero--media[data-effect="slide"] .hero-slide { transform: translateX(100%); }
.hero--media[data-effect="slide"] .hero-slide.is-active { transform: translateX(0); }
.hero--media::after { background: linear-gradient(0deg,#141715 0%,transparent 30%); }
.hero--media h1,.hero--media p,.hero--media .hero__eyebrow { text-shadow: 0 2px 12px #0009; }
.hero--media p { color: #eee9dd; }
.hero--media .btn-outline { background: #141715b3; }
.hero-controls { position: relative; z-index: 2; display: none; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; margin: 48px 20px 0; }
.slider-ready .hero-controls { display: flex; }
.hero-controls button { min-width: 44px; min-height: 44px; border: 1px solid #ffffff40; border-radius: 8px; color: #f3eee3; background-color: #141715c9; padding: 8px 12px; }
.hero-controls .hero-dot { padding: 0; }
.hero-controls button:hover { border-color: var(--color-gold); }
.slider-fields,.slider-admin-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.slider-fields > div { min-width: 0; }
.slider-fields input[type="file"] { max-width: 100%; margin-bottom: 20px; color: var(--color-text-muted); }
.slider-preview { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #141715; border-radius: 8px; margin-bottom: 20px; }
@media (max-width: 640px) { .slider-fields,.slider-admin-grid { grid-template-columns: minmax(0,1fr); } }
/* The Elysian Gazette */
.news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.news-card { overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-surface); display: flex; flex-direction: column; }
.news-cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.news-cover--blank { display: grid; place-items: center; background: linear-gradient(135deg,#303b2e,#19221c); color: var(--color-gold); font-family: var(--font-display); font-size: 2rem; letter-spacing: .2em; border-bottom: 1px solid var(--color-border); }
.news-card__body { padding: 26px; display: flex; flex-direction: column; flex: 1; overflow-wrap: anywhere; }
.news-card h3 { margin: 18px 0 12px; font-size: 1.5rem; }
.news-card h3 a { color: var(--color-text); }
.news-card p { color: var(--color-text-muted); margin-top: 0; }
.news-read { margin-top: auto; padding-top: 12px; font-size: .9rem; }
.news-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; color: var(--color-gold-bright); }
.news-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px; margin-top: 32px; }
.news-article,.news-back { max-width: 900px; overflow-wrap: anywhere; }
.news-back { margin-bottom: 32px; }
.news-article h1 { font-family: Georgia,serif; font-size: clamp(2rem,5vw,3.8rem); margin: 24px 0; }
.news-lead { color: var(--color-text-muted); font-size: 1.2rem; }
.news-article__cover { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); margin: 24px 0; }
.news-prose { line-height: 1.9; margin-top: 24px; }
.news-editor { min-height: 340px; }
.news-editor-actions { justify-content: flex-start; margin-top: 24px; }
.news-admin-cover { display: block; max-width: 360px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media(max-width:900px) { .news-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .news-grid { grid-template-columns: minmax(0,1fr); } }
/* Einsteiger-Leitfaden */
.guide-layout { display: grid; grid-template-columns: 260px minmax(0,1fr); align-items: start; gap: 40px; }
.guide-index { position: sticky; top: 110px; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-surface); padding: 24px; }
.guide-index h2 { font-size: 1.35rem; }
.guide-index ol { padding-left: 22px; margin-bottom: 0; }
.guide-index li { padding: 8px 0; color: var(--color-gold); }
.guide-index a { overflow-wrap: anywhere; font-size: .9rem; }
.guide-steps { min-width: 0; }
.guide-step { padding: 32px; margin-bottom: 28px; background: var(--color-surface); border: 1px solid var(--color-border); border-top: 2px solid var(--color-gold); border-radius: var(--radius); scroll-margin-top: 120px; overflow-wrap: anywhere; }
.guide-step h2 { font-size: clamp(1.5rem,3vw,2.2rem); }
.guide-prose { line-height: 1.9; color: var(--color-text-muted); }
.guide-video { margin-top: 28px; }
.guide-video-notice { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 8px; padding: 24px; text-align: center; }
.guide-video-notice p { font-size: .9rem; }
.guide-video-player { aspect-ratio: 16/9; min-height: 200px; background: #000; }
.guide-video-player iframe { width: 100%; height: 100%; min-height: 200px; border: 0; display: block; }
.guide-video-unload { margin-top: 12px; }
.guide-video [hidden] { display: none !important; }
@media(max-width:900px) { .guide-layout { grid-template-columns: minmax(0,1fr); gap: 24px; } .guide-index { position: static; } }
@media(max-width:600px) { .guide-step { padding: 20px; } .guide-video-notice { padding: 16px; } }
/* Private character dossiers */
.character-back { display: inline-block; margin-bottom: 28px; }
.character-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid var(--color-border); padding-bottom: 32px; margin-bottom: 32px; }
.character-heading h1 { font-family: Georgia,serif; font-size: clamp(2rem,5vw,3.6rem); margin: 8px 0; overflow-wrap: anywhere; }
.character-heading p { color: var(--color-text-muted); margin-bottom: 0; }
.character-status { border: 1px solid #637759; color: #d2e0c6; background: #334331; padding: 8px 18px; border-radius: 30px; white-space: nowrap; }
.character-status--dead { border-color: #956957; background: #493329; color: #f0d1ba; }
.character-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-bottom: 28px; }
.character-date { color: var(--color-gold-bright); font-size: clamp(1.2rem,3vw,1.8rem); padding-top: 8px; font-variant-numeric: tabular-nums; }
.character-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.character-panel { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 32px; margin-bottom: 28px; overflow-wrap: anywhere; }
.character-panel h2 { font-size: 1.8rem; }
.character-facts { margin: 0; }
.character-facts > div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--color-border); }
.character-facts > div:last-child { border-bottom: 0; }
.character-facts dt { color: var(--color-text-muted); }
.character-facts dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.character-note { color: var(--color-text-muted); font-size: .88rem; }
.character-description { line-height: 1.9; }
.character-bank-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 20px; }
.character-bank { padding: 24px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-bg-alt); }
.character-bank h3 { color: var(--color-gold-bright); }
.character-link span { display: block; margin-top: 4px; color: var(--color-text-muted); font-size: .75rem; }
.character-stats .acp-stat { overflow-wrap: anywhere; }
@media(max-width:700px) { .character-heading { align-items: flex-start; flex-direction: column; } .character-columns,.character-stats,.character-bank-grid { grid-template-columns: minmax(0,1fr); } .character-panel { padding: 24px 20px; } }

/* Der Aushang: event calendar and agenda, usable without JavaScript. */
.maintenance-mode { min-height: 100vh; display: flex; flex-direction: column; }
.maintenance-mode main { flex: 1; }
.maintenance-status { color: var(--color-gold-bright); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.maintenance-page { padding: clamp(48px,9vw,110px) 0; }
.maintenance-card { max-width: 800px; margin: auto; text-align: center; padding: clamp(28px,6vw,64px) clamp(20px,5vw,56px); border: 1px solid var(--color-border); border-top: 2px solid var(--color-gold); border-radius: var(--radius); background: radial-gradient(ellipse at top,#c5a66b14,transparent 65%),var(--color-bg-alt); }
.maintenance-emblem { font-size: 2.4rem; color: var(--color-gold); margin: 20px 0; }
.maintenance-card h1 { font-family: Georgia,serif; font-size: clamp(2rem,5vw,3.5rem); line-height: 1.2; }
.maintenance-card p { color: var(--color-text-muted); }
.maintenance-card .maintenance-note { font-size: .85rem; margin: 24px auto 30px; max-width: 430px; }
.maintenance-mode .legal-content { overflow-wrap: anywhere; }
.maintenance-mode .site-footer p { margin: 0; font-size: .85rem; }
.maintenance-mode .site-header__inner { flex-wrap: nowrap; }
.maintenance-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 20px; flex-wrap: wrap; }
.maintenance-card h1,.maintenance-card p { overflow-wrap: anywhere; }
@media(max-width:600px) { .maintenance-header-actions { gap: 8px; flex-direction: column; align-items: flex-end; } .maintenance-header-actions .btn { font-size: .82rem; padding: 10px 14px !important; } }

.event-heading { border-left: 3px solid var(--color-gold); padding-left: 28px; margin-bottom: 48px; }
.event-heading h1 { font-family: Georgia,serif; font-size: clamp(2.1rem,5vw,3.6rem); margin: 16px 0; }
.event-heading p { color: var(--color-text-muted); margin-bottom: 0; }
.event-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.event-month-nav { display: flex; align-items: center; gap: 18px; }
.event-month-nav h2 { margin: 0; font-family: Georgia,serif; font-size: clamp(1.2rem,3vw,1.75rem); }
.event-month-nav > a { display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--color-border); border-radius: 50%; }
.event-month-nav > a:hover { background: var(--color-surface-raised); }
.event-today { font-size: .82rem; }
.event-month-form { margin-left: auto; display: flex; align-items: center; gap: 10px; }
input[type=month],input[type=datetime-local] { color-scheme: dark; width: 100%; min-width: 0; min-height: 48px; padding: 12px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-bg); color: var(--color-text); font: inherit; }
.event-month-form input { width: 180px; }
.event-month-form .btn { padding: 12px 16px; background: transparent; }
.event-month-form .btn:hover { background: var(--color-surface-raised); }
.event-timezone { color: var(--color-text-muted); font-size: .8rem; margin: 18px 0 24px; }
.event-calendar { border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; background: var(--color-bg-alt); }
.event-calendar table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.event-calendar th { padding: 14px; background: var(--color-surface); color: var(--color-text-muted); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.event-calendar abbr { text-decoration: none; }
.event-calendar td { height: 116px; vertical-align: top; padding: 10px; border: 1px solid var(--color-border); }
.event-calendar td:first-child { border-left: 0; }
.event-calendar td:last-child { border-right: 0; }
.event-calendar tr:last-child td { border-bottom: 0; }
.event-calendar td > time { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 6px; color: var(--color-text-muted); font-size: .8rem; font-variant-numeric: tabular-nums; }
.event-calendar .is-today > time { background: var(--color-gold-bright); border-radius: 50%; color: var(--color-bg); font-weight: 700; }
.event-calendar .event-calendar__empty { background: #101410; }
.event-calendar__entry { display: block; margin-top: 6px; border-left: 2px solid var(--color-gold); background: #c5a66b12; border-radius: 3px; padding: 7px; font-size: .75rem; line-height: 1.5; overflow-wrap: anywhere; color: var(--color-text); }
.event-calendar__entry span { display: block; color: var(--color-gold-bright); font-size: .65rem; }
.event-calendar__entry:hover { background: #c5a66b28; }
.event-calendar__entry.is-cancelled { border-color: #c88b7e; }
.event-calendar__entry.is-cancelled span { color: #efb8ab; }
.event-calendar__more { display: block; font-size: .7rem; padding: 8px 0; }
.event-agenda-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin: 42px 0 24px; }
.event-agenda-heading h2 { margin: 0; font-family: Georgia,serif; font-size: 1.7rem; }
.event-agenda-heading > span { font-size: .8rem; color: var(--color-text-muted); }
.event-list { display: grid; gap: 18px; }
.event-card { display: flex; align-items: center; gap: 28px; padding: 26px; background: linear-gradient(110deg,#293127,#1e251f); border: 1px solid var(--color-border); border-radius: var(--radius); }
.event-date { flex: 0 0 84px; text-align: center; padding: 12px 10px; border: 1px solid #766344; border-radius: 6px; background: #181e18; color: var(--color-gold-bright); }
.event-date strong { display: block; font: 2.7rem/1.15 Georgia,serif; }
.event-date span { font-size: .68rem; letter-spacing: .035em; }
.event-card__body { min-width: 0; overflow-wrap: anywhere; }
.event-card h3 { font-family: Georgia,serif; font-size: 1.6rem; margin: 8px 0; }
.event-card h3 a { color: var(--color-text); }
.event-card p { color: var(--color-text-muted); font-size: .85rem; margin: 4px 0; }
.event-badge { font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; color: var(--color-gold-bright); }
.event-badge--cancelled { color: #efb8ab; }
.event-card__link { display: flex; align-items: center; gap: 12px; margin-left: auto; flex-shrink: 0; font-size: .85rem; padding: 12px 0; }
.event-card--cancelled { border-color: #805b50; background: #2c2521; }
.event-detail { max-width: 860px; margin: 0 auto; overflow-wrap: anywhere; }
.event-detail > .hero__eyebrow { display: block; }
.event-detail h1 { font-family: Georgia,serif; font-size: clamp(2rem,5vw,3.6rem); margin: 20px 0 32px; }
.event-facts { padding: 8px 28px; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-surface); }
.event-facts > div { display: grid; grid-template-columns: 70px minmax(0,1fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--color-border); }
.event-facts > div:last-child { border: 0; }
.event-facts dt { color: var(--color-gold-bright); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; padding-top: 3px; }
.event-facts dd { margin: 0; }
.event-facts small { display: block; color: var(--color-text-muted); margin-top: 6px; }
.event-description { line-height: 1.9; margin: 36px 0; }
.event-cancellation { border-left: 3px solid #c88b7e; background: #382722; padding: 16px 20px; color: #efb8ab; }
.event-admin-time { display: block; margin-top: 6px; color: var(--color-text-muted); }
@media(max-width:760px) {
    .event-calendar { display: none; }
    .event-heading { padding-left: 20px; }
    .event-toolbar { align-items: flex-start; }
    .event-month-form { margin: 0; width: 100%; }
    .event-month-form input { flex: 1; width: auto; }
    .event-today { padding: 12px 0; }
    .event-card { gap: 18px; flex-wrap: wrap; padding: 22px; align-items: flex-start; }
    .event-date { flex-basis: 64px; padding: 10px 4px; }
    .event-date strong { font-size: 2.1rem; }
    .event-date span { font-size: .6rem; }
    .event-card__body { flex: 1; }
    .event-card h3 { font-size: 1.35rem; }
    .event-card__link { flex-basis: 100%; justify-content: flex-end; border-top: 1px solid var(--color-border); padding-top: 16px; padding-bottom: 0; }
    .event-facts { padding: 8px 20px; }
    .event-facts > div { grid-template-columns: minmax(0,1fr); gap: 8px; }
}
