/* Steffen Friis | Liberal Alliance - shared theme
   Palette matched from a screenshot of the real steffenfriis.dk homepage:
   white/cream backgrounds, deep navy for headings and dark sections,
   warm gold as the campaign accent color, a muted tan for secondary CTAs. */

:root {
    --navy: #0b2a4a;
    --navy-deep: #081f38;
    --navy-text: #24405c;
    --cream: #f5f2ea;
    --white: #ffffff;
    --border: #e6e1d3;
    --gold: #e8a93c;
    --gold-dark: #d1912a;
    --tan: #ae9270;
    --tan-dark: #937a5c;
    --muted: #6b7a8c;
    --danger: #c0392b;
    --success: #1f8a4c;
    --radius: 10px;
    --max-width: 1080px;
    --font: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

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

body {
    background-color: var(--white);
    color: var(--navy-text);
    font-family: var(--font);
    font-weight: 400;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--navy);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--navy);
    margin: 0 0 0.5em;
}

p {
    margin: 0 0 1em;
}

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

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Public site chrome ---------- */

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.brand-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.brand-logo.placeholder {
    background: var(--gold);
    border: 2px solid var(--navy);
    color: var(--navy);
    font-weight: 800;
    font-size: 13px;
}

.site-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
}

.site-title .divider {
    color: var(--gold);
    margin: 0 4px;
    font-weight: 400;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.site-nav {
    display: flex;
    gap: 22px;
}

.site-nav a {
    color: var(--navy);
    font-weight: 600;
    font-size: 14px;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--gold-dark);
    text-decoration: none;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 14px;
}

.social-icons a {
    display: flex;
    color: var(--navy);
}

.social-icons svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.social-icons a:hover {
    color: var(--gold-dark);
}

.site-footer .social-icons a {
    color: var(--white);
}

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

.site-main {
    flex: 1;
}

.site-footer {
    background: var(--navy);
    padding: 28px 0;
    color: #cfd9e4;
    text-align: center;
}

.site-footer .social-icons {
    justify-content: center;
    margin-bottom: 14px;
}

.site-footer .copyright {
    font-size: 13px;
    color: #9fb0c2;
}

.footer-privacy-link {
    margin-top: 10px;
}

.footer-privacy-link a {
    font-size: 12px;
    color: #9fb0c2;
    text-decoration: underline;
}

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

.ga-notice {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy-deep);
    color: #cfd9e4;
    font-size: 14px;
    padding: 14px 0;
    z-index: 100;
}

.ga-notice-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.ga-notice a {
    color: var(--gold);
    text-decoration: underline;
}

.ga-notice button {
    background: var(--gold);
    color: var(--navy-deep);
    border: none;
    border-radius: var(--radius);
    padding: 6px 14px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    flex-shrink: 0;
}

.ga-notice button:hover {
    background: var(--gold-dark);
}

.admin-banner {
    background: var(--gold);
    color: var(--navy-deep);
    text-align: center;
    font-weight: 700;
    padding: 10px;
    font-size: 14px;
}

.admin-banner a {
    color: var(--navy-deep);
    text-decoration: underline;
}

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

.hero-section {
    padding: 64px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-copy h1 {
    font-size: 42px;
    margin-bottom: 22px;
}

.hero-copy p {
    color: var(--navy-text);
    font-size: 17px;
}

.hero-copy .hero-cta {
    font-weight: 700;
    color: var(--navy);
}

.hero-photos {
    position: relative;
    min-height: 320px;
}

.hero-photos .photo-primary {
    width: 62%;
    margin-left: auto;
    border-radius: var(--radius);
    box-shadow: 0 12px 28px rgba(11, 42, 74, 0.18);
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.hero-photos .photo-secondary {
    width: 64%;
    position: absolute;
    left: 0;
    bottom: -24px;
    transform: translate(-30%, 30%);
    border-radius: var(--radius);
    box-shadow: 0 12px 28px rgba(11, 42, 74, 0.18);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 4px solid var(--white);
}

/* ---------- Quote banner ---------- */

.quote-banner {
    background: var(--navy);
    color: var(--white);
    padding: 64px 0;
    text-align: center;
}

.quote-mark {
    color: var(--gold);
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}

.quote-image {
    max-width: 100%;
    height: auto;
    margin: 0 auto 20px;
}

.quote-banner blockquote {
    margin: 0 auto 28px;
    max-width: 760px;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.35;
}

.quote-banner blockquote .accent {
    color: var(--gold);
    text-decoration: underline;
    text-decoration-color: rgba(232, 169, 60, 0.55);
}

.quote-attribution {
    color: var(--gold);
    font-size: 20px;
    font-weight: 700;
}

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

.section {
    padding: 64px 0;
}

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

.section-title {
    text-align: center;
    margin-bottom: 36px;
}

.section-title.left {
    text-align: left;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

/* ---------- Cards / grids ---------- */

.card-grid {
    display: grid;
    /* auto-fill (not auto-fit): keeps unused column tracks instead of
       stretching existing cards to fill the row when there are only one
       or two items - otherwise a single article's image ends up
       full-width on desktop. */
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
}

.card img {
    border-radius: var(--radius);
    margin-bottom: 12px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.policy-card {
    background: transparent;
}

.policy-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.policy-card img {
    border-radius: var(--radius);
    margin-bottom: 12px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.card .meta {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 6px;
}

.card h3 {
    font-size: 18px;
}

.center {
    text-align: center;
    margin-top: 36px;
}

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

.button {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 6px;
    background: var(--gold);
    color: var(--navy-deep);
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    font-size: 15px;
}

.button:hover {
    background: var(--gold-dark);
    text-decoration: none;
}

.button.secondary {
    background: var(--tan);
    color: var(--white);
}

.button.secondary:hover {
    background: var(--tan-dark);
}

.button.outline {
    background: transparent;
    color: var(--navy);
    border: 1px solid var(--border);
}

.button.outline:hover {
    border-color: var(--navy);
    text-decoration: none;
}

/* For use on dark backgrounds (e.g. the admin sidebar) where .outline's
   navy-on-navy text/border would be invisible. */
.button.ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.button.ghost:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

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

/* ---------- Elections widget ---------- */

.election-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.election-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}

.election-card h3 {
    font-size: 17px;
    margin: 8px 0 14px;
}

.election-row {
    font-size: 14px;
    margin-bottom: 6px;
}

.election-row-label {
    color: var(--muted);
    font-weight: 600;
    margin-right: 4px;
}


.countdown {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 10px 0 16px;
}

.countdown-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--cream);
    border-radius: 6px;
    padding: 8px 6px;
    min-width: 48px;
}

.countdown-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--gold-dark);
    font-variant-numeric: tabular-nums;
}

.countdown-unit {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--muted);
    margin-top: 2px;
}

@media (max-width: 480px) {
    .countdown {
        gap: 6px;
    }

    .countdown-segment {
        min-width: 40px;
        padding: 6px 4px;
    }

    .countdown-value {
        font-size: 16px;
    }
}

/* ---------- Support / donation ---------- */

.support-box {
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius);
    padding: 48px;
    text-align: center;
}

.support-box h3 {
    color: var(--white);
    font-size: 20px;
}

.support-box img {
    margin: 20px auto;
    max-width: 200px;
    border-radius: 6px;
}

.support-box .support-tagline {
    color: var(--gold);
    font-weight: 700;
    margin-top: 12px;
}

/* ---------- About page pulled-quote callout ---------- */

.about-quote-box {
    display: flex;
    align-items: center;
    gap: 28px;
    background: var(--cream);
    border-radius: var(--radius);
    padding: 32px;
    margin: 40px 0;
}

.about-quote-photo {
    flex-shrink: 0;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
}

.about-quote-content {
    border-left: 3px solid var(--gold);
    padding-left: 24px;
}

.about-quote-content blockquote {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
    font-style: italic;
    color: var(--navy);
    line-height: 1.4;
}

.about-quote-attribution {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
}

@media (max-width: 600px) {
    .about-quote-box {
        flex-direction: column;
        text-align: center;
    }

    .about-quote-content {
        border-left: none;
        border-top: 3px solid var(--gold);
        padding-left: 0;
        padding-top: 20px;
    }
}

/* ---------- Article body ---------- */

.article-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 10px 0 24px;
}

.icon-clock {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    fill: currentColor;
    color: var(--muted);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.article-body {
    font-size: 17px;
}

/* Spacing fallback for any article whose paragraphs are still bare <div>
   (pre-dating the <p> switch in trix-extensions.js) - no text-align here,
   the old "center text" feature and its CSS were removed after it ended up
   centering every article's text. */
.article-body > div {
    margin: 0 0 1em;
}

.article-body hr {
    border: none;
    border-top: 1px solid var(--border);
    max-width: 200px;
    margin: 32px auto;
}

.article-cover,
.article-body img {
    display: block;
    max-width: min(720px, 100%);
    max-height: 479px;
    width: auto;
    height: auto;
    margin: 24px auto;
    border-radius: var(--radius);
}

.article-cta {
    background: var(--cream);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius);
    padding: 28px 24px;
    margin: 40px 0;
    text-align: center;
}

.article-cta p:first-child {
    margin-top: 0;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.article-cta-buttons {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.article-cta-buttons .button {
    margin: 0;
}

.tip-highlight {
    position: relative;
    display: inline-block;
    margin-bottom: 90px;
}

.handwritten-note {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 210px;
    margin-top: 6px;
    transform: translateX(4px);
    font-family: 'Caveat', cursive;
    font-size: 22px;
    line-height: 1.2;
    color: #1e3a8a;
    text-align: left;
}

.handwritten-arrow {
    display: block;
    width: 36px;
    height: 42px;
    margin: 0 0 2px 70px;
    color: #1e3a8a;
    transform: scaleY(-1);
}

@media (max-width: 640px) {
    .tip-highlight {
        margin-bottom: 0;
    }

    .handwritten-note {
        position: static;
        display: block;
        width: auto;
        max-width: 260px;
        margin: 0 auto 4px;
        transform: none;
        text-align: center;
    }

    .handwritten-arrow {
        display: none;
    }
}

.page-header {
    padding: 48px 0 8px;
}

/* ---------- Mærkesager (policy) page ---------- */

.policy-body-wrap {
    overflow: hidden;
}

.policy-image {
    float: left;
    width: 320px;
    max-width: 45%;
    height: auto;
    border-radius: var(--radius);
    margin: 4px 24px 16px 0;
}

@media (max-width: 640px) {
    .policy-image {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 0 20px;
    }
}

/* ---------- Kontakt ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-direct {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 28px;
}

.contact-detail {
    margin-bottom: 20px;
}

.contact-detail:last-child {
    margin-bottom: 0;
}

.contact-detail a {
    font-size: 17px;
    font-weight: 700;
}

.phone-reveal {
    filter: blur(5px);
    transition: filter 0.15s ease;
    cursor: pointer;
    user-select: none;
}

.phone-reveal.revealed {
    filter: none;
    cursor: pointer;
    user-select: auto;
}

input[type="file"] {
    width: 100%;
    padding: 8px 0;
    font-family: var(--font);
    font-size: 14px;
    color: var(--navy-text);
}

/* Honeypot anti-spam field - never shown to real visitors */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 800px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.pagination {
    margin-top: 32px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination a,
.pagination span {
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid var(--border);
    color: var(--navy);
}

.pagination a:hover {
    border-color: var(--gold);
    text-decoration: none;
}

/* ---------- Maintenance page ---------- */

.maintenance-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    background: var(--navy);
    color: var(--white);
}

.maintenance-screen .container {
    max-width: 600px;
}

.maintenance-screen h1 {
    font-size: 36px;
    color: var(--white);
}

.maintenance-screen p {
    color: #cfd9e4;
    font-size: 17px;
}

/* ---------- Auth / forms ---------- */

.auth-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--cream);
}

.auth-card {
    width: 100%;
    max-width: 380px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 12px 28px rgba(11, 42, 74, 0.08);
}

.auth-card h1 {
    font-size: 22px;
    text-align: center;
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.field .hint {
    font-size: 13px;
    color: var(--muted);
    margin-top: 4px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="number"],
input[type="datetime-local"],
textarea,
select {
    width: 100%;
    padding: 10px 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--navy-text);
    font-family: var(--font);
    font-size: 15px;
}

input:focus,
textarea:focus,
select:focus,
trix-editor:focus {
    outline: none;
    border-color: var(--gold);
}

.checkbox-field {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-field input {
    width: auto;
}

/* ---------- Image upload + crop field ---------- */

.image-crop-field {
    display: flex;
    align-items: center;
    gap: 14px;
}

.image-crop-preview {
    width: 64px;
    height: 64px;
    flex: none;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--cream);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-crop-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-crop-empty {
    font-size: 11px;
    color: var(--muted);
    text-align: center;
    padding: 4px;
}

.image-crop-controls {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.image-crop-choose {
    align-self: flex-start;
    padding: 8px 16px;
    font-size: 13px;
}

.image-crop-status {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
}

.image-crop-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(11, 42, 74, 0.55);
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.image-crop-modal-backdrop.open {
    display: flex;
}

.image-crop-modal {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    max-width: 92vw;
    box-shadow: 0 20px 48px rgba(11, 42, 74, 0.3);
}

.image-crop-viewport {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #111;
    cursor: grab;
    touch-action: none;
}

.image-crop-viewport:active {
    cursor: grabbing;
}

.image-crop-target {
    position: absolute;
    top: 0;
    left: 0;
    max-width: none;
    user-select: none;
    -webkit-user-drag: none;
}

.image-crop-zoom-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    font-size: 13px;
    color: var(--muted);
}

.image-crop-zoom-row input[type="range"] {
    flex: 1;
}

.image-crop-hint {
    font-size: 12px;
    color: var(--muted);
    margin: 8px 0 0;
}

.image-crop-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
}

.error-text {
    color: var(--danger);
    font-size: 13px;
    margin-top: 4px;
}

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

.alert-success {
    background: rgba(31, 138, 76, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.alert-error {
    background: rgba(192, 57, 43, 0.1);
    border: 1px solid var(--danger);
    color: var(--danger);
}

/* ---------- Admin shell ---------- */

.admin-shell {
    display: flex;
    min-height: 100vh;
    background: var(--cream);
}

.admin-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: var(--navy);
    padding: 24px 16px;
}

.admin-sidebar .brand {
    font-weight: 700;
    font-size: 16px;
    display: block;
    margin-bottom: 28px;
    color: var(--white);
}

.admin-sidebar .brand span {
    color: var(--gold);
}

.admin-nav a {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    color: #b9c6d6;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

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

.admin-content {
    flex: 1;
    padding: 32px 40px;
    max-width: 900px;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
}

.stat-card .value {
    font-size: 28px;
    font-weight: 800;
    color: var(--navy);
}

.stat-card .label {
    color: var(--muted);
    font-size: 13px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.admin-table th,
.admin-table td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.admin-table th {
    color: var(--muted);
    font-weight: 700;
    font-size: 13px;
    background: var(--cream);
}

.badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.badge.published {
    background: rgba(31, 138, 76, 0.12);
    color: var(--success);
}

.badge.draft {
    background: rgba(107, 122, 140, 0.12);
    color: var(--muted);
}

.badge.on,
.badge.upcoming {
    background: rgba(232, 169, 60, 0.18);
    color: var(--gold-dark);
}

.badge.success {
    background: rgba(31, 138, 76, 0.12);
    color: var(--success);
}

.badge.warning {
    background: rgba(230, 126, 34, 0.15);
    color: #b9600f;
}

.table-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

fieldset {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin: 0 0 24px;
    background: var(--white);
}

fieldset legend {
    padding: 0 8px;
    font-weight: 700;
    color: var(--gold-dark);
}

trix-editor {
    min-height: 220px;
    background: var(--white);
    color: var(--navy-text);
    border: 1px solid var(--border);
    border-radius: 6px;
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-photos {
        order: -1;
        min-height: 260px;
    }
}

@media (max-width: 720px) {
    .admin-shell {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
    }

    .admin-nav {
        display: flex;
        gap: 8px;
        overflow-x: auto;
    }

    .admin-content {
        padding: 24px 20px;
    }

    .header-right {
        gap: 12px;
    }

    .site-nav {
        gap: 14px;
        flex-wrap: wrap;
    }

    .hero-copy h1 {
        font-size: 32px;
    }

    .quote-banner blockquote {
        font-size: 22px;
    }

    .support-box {
        padding: 28px;
    }
}

/* ---------- Mailsignatur ---------- */

.signature-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.signature-preview {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 16px;
    overflow-x: auto;
}

.signature-raw {
    width: 100%;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 12px;
    margin-top: 12px;
}

@media (max-width: 900px) {
    .signature-layout {
        grid-template-columns: 1fr;
    }
}
