:root {
    --bg: #f5f0e8;
    --dark: #2a2a2a;
    --accent: #a67c52;
    --text: #1a1a1a;
    --muted: #555;
    --line: #d8d0c4;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.site-header {
    --social-band-h: 2rem;
    background: var(--dark);
    color: #fff;
    position: relative;
}
.header-band--social {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--social-band-h);
    background: #1f1f1f;
    border-bottom: 1px solid #333;
    z-index: 0;
    pointer-events: none;
}
.header-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: var(--social-band-h) auto;
    align-items: stretch;
    column-gap: 1.25rem;
    min-height: max(56px, calc(var(--logo-max, 40px) + 8px));
}
.header-brand {
    grid-column: 1;
    grid-row: 1 / 3;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    min-width: 0;
    padding: .35rem 0;
}
.header-row {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-width: 0;
}
.header-row--social {
    grid-column: 2;
    grid-row: 1;
    justify-content: center;
    height: var(--social-band-h);
    padding: 0;
    background: transparent;
}
.header-row--nav {
    grid-column: 2;
    grid-row: 2;
    justify-content: center;
    align-items: flex-end;
    padding: .35rem 0 .55rem;
}
.logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
    min-width: 0;
}
.logo-link--logo-only { max-width: none; }
.logo-mark {
    width: var(--logo-max, 40px);
    height: var(--logo-max, 40px);
    border-radius: 6px;
    background: #444;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .05em;
    flex-shrink: 0;
}
.logo-img {
    display: block;
    width: var(--logo-max, 40px);
    height: var(--logo-max, 40px);
    max-width: var(--logo-max, 40px);
    max-height: var(--logo-max, 40px);
    object-fit: contain;
    object-position: center center;
    flex-shrink: 0;
}
.logo-link--logo-only .logo-img {
    width: var(--logo-max, 40px);
    height: var(--logo-max, 40px);
    max-width: var(--logo-max, 40px);
    max-height: var(--logo-max, 40px);
}
.logo-text {
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.main-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .35rem .85rem;
    margin-left: 0;
}
.nav-link {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    color: #c8c8c8;
    white-space: nowrap;
    padding: .2rem 0;
    border-bottom: 1px solid transparent;
    transition: color .15s ease, border-color .15s ease;
}
.nav-link:hover,
.nav-link.is-active {
    color: #fff;
    border-bottom-color: var(--accent);
}

.page-section { padding: 3rem 0; border-bottom: 1px solid var(--line); }
.page-section:last-child { border-bottom: 0; }
.page-heading { font-size: 2.5rem; margin: 0 0 1.5rem; }
.home-topics-count {
    display: inline-block;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: .85rem;
    font-weight: 600;
    color: var(--muted);
    background: rgba(0, 0, 0, 0.06);
    padding: .25rem .6rem;
    border-radius: 999px;
    margin: 0 0 .35rem;
    vertical-align: middle;
}
.home-topics-more { margin-top: 2rem; }

.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.hero-image { width: 100%; aspect-ratio: 1; object-fit: cover; background: #ccc; }
.hero-title { font-size: 2.75rem; margin: 0 0 .5rem; line-height: 1.1; }
.hero-subtitle { font-size: 1.1rem; font-weight: 700; margin: 0 0 1rem; }
.hero-body { margin: 0 0 1.5rem; color: var(--muted); }

.about-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 2rem; align-items: start; }
.about-grid h2 { font-size: 2.25rem; margin: 0; }

.topic-row {
    display: grid; grid-template-columns: 220px 1fr; gap: 2rem;
    padding: 2rem 0; border-bottom: 1px solid var(--line); align-items: center;
}
.topic-row:last-child { border-bottom: 0; }
.topic-thumb { width: 100%; aspect-ratio: 1; object-fit: cover; background: #ccc; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.card {
    background: #fff; border: 1px solid var(--line); padding: 1rem;
}
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 1rem; }

.episode-list-item {
    display: grid; grid-template-columns: 240px 1fr; gap: 1.5rem;
    padding: 1.5rem 0; border-bottom: 1px solid var(--line);
    align-items: start;
}
.episode-list-item img,
.episode-list-item .episode-thumb-placeholder {
    width: 240px;
    height: 240px;
    object-fit: cover;
    display: block;
    background: #ccc;
}
.episode-list-item--compact img,
.episode-list-item--compact .episode-thumb-placeholder {
    width: 120px;
    height: 120px;
}
.episode-list-item--compact {
    grid-template-columns: 120px 1fr;
    gap: 1rem;
    padding: 1rem 0;
}
.episode-list-item--compact h2 { font-size: 1.15rem; margin: 0; }
.episode-inline-player { margin: .75rem 0 1rem; max-width: 640px; }
.cc-player-embed iframe { max-width: 100%; width: 100%; min-height: 152px; border: 0; }
.cc-player-fallback { margin: .75rem 0; }

/* Branded audio player */
.cc-player {
    --cc-progress: 0%;
    display: flex;
    gap: 1rem;
    align-items: stretch;
    background: #2a2a2a;
    color: #f5f0e8;
    border-radius: 12px;
    overflow: hidden;
    margin: .85rem 0 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.cc-player--inline { max-width: 640px; }
.cc-player--full {
    max-width: 820px;
    margin: 1.75rem 0;
    padding: 0;
}
.cc-player__art {
    width: 112px;
    flex-shrink: 0;
    background: #1a1a1a;
}
.cc-player__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cc-player__body {
    flex: 1;
    min-width: 0;
    padding: .85rem 1rem .9rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .55rem;
}
.cc-player--inline .cc-player__body { padding: .7rem .85rem .75rem; }
.cc-player__eyebrow {
    margin: 0;
    font-size: .65rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
}
.cc-player__title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    line-height: 1.25;
    color: #fff;
}
.cc-player__controls {
    display: grid;
    grid-template-columns: auto auto auto 1fr auto;
    align-items: center;
    gap: .45rem .55rem;
}
.cc-player__play {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cc-player__play:hover { filter: brightness(1.08); }
.cc-player__icon {
    display: block;
    width: 0;
    height: 0;
}
.cc-player__icon--play {
    border-style: solid;
    border-width: 7px 0 7px 12px;
    border-color: transparent transparent transparent #fff;
    margin-left: 3px;
}
.cc-player__icon--pause {
    width: 12px;
    height: 14px;
    border: none;
    background:
        linear-gradient(#fff, #fff) left / 4px 100% no-repeat,
        linear-gradient(#fff, #fff) right / 4px 100% no-repeat;
}
.cc-player__skip,
.cc-player__speed {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    color: #ddd;
    border-radius: 999px;
    min-width: 40px;
    height: 30px;
    padding: 0 .45rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
}
.cc-player__skip:hover,
.cc-player__speed:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}
.cc-player__platforms {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem .65rem;
    margin-top: .65rem;
    padding-top: .55rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
}
.cc-player__platforms-label {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #999;
}
.cc-player .social-icon--platform {
    width: 1.55rem;
    height: 1.55rem;
    background: rgba(255, 255, 255, .08);
    color: #eee;
}
.cc-player .social-icon--platform i { font-size: .75rem; }
.cc-player .social-icon--platform:hover {
    background: var(--accent);
    color: #fff;
}
.episode-platform-links {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-top: .75rem;
}
.social-icon--platform {
    width: 1.75rem;
    height: 1.75rem;
    background: rgba(42, 42, 42, .08);
    color: var(--dark);
}
.social-icon--platform:hover {
    background: var(--accent);
    color: #fff;
}
.cc-player__timeline {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}
.cc-player__scrub {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(to right, var(--accent) var(--cc-progress), rgba(255,255,255,.22) var(--cc-progress));
    outline: none;
    cursor: pointer;
    margin: 0;
}
.cc-player__scrub::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--accent);
    box-shadow: 0 1px 4px rgba(0,0,0,.35);
}
.cc-player__scrub::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--accent);
}
.cc-player__times {
    display: flex;
    justify-content: space-between;
    font-size: .7rem;
    color: #aaa;
    font-variant-numeric: tabular-nums;
}
.cc-player.is-playing .cc-player__play {
    box-shadow: 0 0 0 3px rgba(166, 124, 82, 0.35);
}

@media (max-width: 640px) {
    .cc-player--full .cc-player__art { display: none; }
    .cc-player__controls {
        grid-template-columns: auto auto auto 1fr;
        grid-template-areas:
            "back play fwd speed"
            "timeline timeline timeline timeline";
    }
    .cc-player__skip[data-skip="-15"] { grid-area: back; }
    .cc-player__play { grid-area: play; }
    .cc-player__skip[data-skip="30"] { grid-area: fwd; }
    .cc-player__speed { grid-area: speed; justify-self: end; }
    .cc-player__timeline { grid-area: timeline; }
}

.demo-banner {
    background: #3d342a; color: #f5f0e8; padding: 1rem 1.25rem;
    border-left: 4px solid var(--accent); margin-bottom: 2rem;
}

.btn {
    display: inline-block; padding: .75rem 1.5rem; text-decoration: none;
    background: var(--dark); color: #fff; border: none; cursor: pointer; font-size: .95rem;
}
.btn:hover { background: #444; }
.btn-outline { background: transparent; border: 1px solid #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-accent { background: var(--accent); }

.site-footer { background: var(--dark); color: #fff; padding: 3rem 0 2rem; margin-top: 2rem; }
.footer-inner { text-align: center; }
.newsletter-block h2 { font-family: Georgia, serif; font-weight: 400; margin: 0 0 1.25rem; }
.newsletter-form { max-width: 420px; margin: 0 auto 2rem; display: grid; gap: .75rem; }
.newsletter-form input[type=email] {
    width: 100%; padding: .75rem 1rem; border: none; font-size: 1rem;
}
.consent-label { font-size: .85rem; color: #ccc; display: flex; gap: .5rem; align-items: flex-start; text-align: left; }
.footer-copy { color: #999; font-size: .85rem; margin: 0; }

.flash { padding: .75rem 1rem; margin: 1rem 0; border-radius: 4px; }
.flash-success { background: #d4edda; color: #155724; }
.flash-error { background: #f8d7da; color: #721c24; }

.prose p { margin: 0 0 1rem; }
.prose h2, .prose h3 { margin: 2rem 0 .75rem; font-size: 1.25rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose img { max-width: 100%; height: auto; }
.prose iframe { max-width: 100%; border: 0; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.25rem; }
.prose li { margin-bottom: .35rem; }

.listen-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.btn-outline-dark { background: transparent; border: 1px solid var(--dark); color: var(--dark); }
.btn-outline-dark:hover { background: var(--dark); color: #fff; }

.about-page { max-width: 720px; }
.about-intro { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.about-logo {
    display: block;
    width: var(--logo-max, 40px);
    height: var(--logo-max, 40px);
    max-width: var(--logo-max, 40px);
    max-height: var(--logo-max, 40px);
    object-fit: contain;
    object-position: left center;
    margin-bottom: 1.25rem;
}
.about-tagline { font-size: 1.15rem; font-weight: 600; color: var(--accent); margin: 0 0 .5rem; }
.about-host { font-size: 1rem; color: var(--muted); margin: 0; }
.about-prose { margin-bottom: 2.5rem; }
.about-themes { margin-bottom: 2.5rem; padding-top: .5rem; }
.about-themes h2, .about-listen h2 { font-size: 1.5rem; margin: 0 0 1rem; }
.about-themes ul { margin: 0 0 1.25rem; padding-left: 1.25rem; }
.about-themes li { margin-bottom: .5rem; }
.about-note { color: var(--muted); font-size: .95rem; }
.about-listen { padding-top: 1.5rem; border-top: 1px solid var(--line); }

.social-links { margin-top: 2rem; }
.social-links__heading { font-size: 1.5rem; margin: 0 0 1rem; }
.social-links__group { margin-bottom: 1.25rem; }
.social-links__group:last-child { margin-bottom: 0; }
.social-links__group-label {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 .65rem;
}
.social-links--footer {
    margin: 0 0 1.5rem;
    padding-top: 0.25rem;
}
.social-links--footer .social-links__group-label { color: #999; }
.social-links--footer .social-links__list {
    justify-content: center;
    gap: .65rem 1rem;
}
.social-links__link {
    color: #ddd;
    text-decoration: none;
    font-size: .85rem;
}
.social-links__link:hover { color: var(--accent); text-decoration: underline; }

.social-links--header {
    margin: 0;
    background: transparent;
    border-bottom: 0;
    padding: 0;
    width: 100%;
}
.social-links__header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .35rem .75rem;
}
.social-links__group--inline {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin: 0;
}
.social-links--header .social-links__group-label {
    margin: 0;
    color: #888;
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.social-links__list--icons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    margin: 0;
}
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 999px;
    color: #eee;
    background: rgba(255, 255, 255, .06);
    text-decoration: none;
    transition: background .15s ease, color .15s ease, transform .15s ease;
}
.social-icon i { font-size: .7rem; line-height: 1; }
.social-icon:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-1px);
}
.social-icon--footer {
    width: auto;
    height: auto;
    padding: .35rem .7rem;
    gap: .4rem;
    border-radius: 999px;
    font-size: .8rem;
}
.social-icon--footer i { font-size: .85rem; }
.social-icon--footer .social-icon__label { line-height: 1; }
.social-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}
.social-btn i { font-size: .95em; }

@media (max-width: 700px) {
    .site-header { --social-band-h: 2.15rem; }
    .header-band--social { display: none; }
    .header-shell {
        grid-template-columns: 1fr;
        grid-template-rows: var(--social-band-h) auto auto;
        min-height: 0;
        column-gap: 0;
    }
    .header-row--social {
        grid-column: 1;
        grid-row: 1;
        justify-content: center;
        background: #1f1f1f;
        border-bottom: 1px solid #333;
    }
    .header-brand {
        grid-column: 1;
        grid-row: 2;
        justify-content: center;
        padding: .55rem 0 .35rem;
    }
    .header-row--nav {
        grid-column: 1;
        grid-row: 3;
        justify-content: center;
        align-items: center;
        padding: .35rem 0 .55rem;
    }
    .social-links--header .social-links__group-label { display: none; }
    .social-icon { width: 1.4rem; height: 1.4rem; }
}

.topic-resources { max-width: 720px; }
.topic-page { max-width: 900px; margin: 0 auto; }
.topic-page-title { font-size: 2.75rem; margin: 0 0 1.5rem; line-height: 1.1; }
.topic-hero-banner { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; margin-bottom: 2rem; background: #ccc; display: block; }
.topic-lead { font-size: 1.05rem; color: var(--muted); margin: 0 0 1.5rem; max-width: 720px; }
.topic-article { max-width: 720px; margin-bottom: 2rem; }
.topic-section-heading { font-size: 1.5rem; margin: 0 0 1rem; }
.topic-sources { max-width: 720px; }
.topic-source-list { list-style: none; margin: 0; padding: 0; }
.topic-source-item { margin-bottom: 1.5rem; }
.topic-source-citation { margin: 0 0 .25rem; line-height: 1.5; }
.topic-source-url { color: var(--accent); text-decoration: underline; word-break: break-all; font-size: .95rem; }
.topic-link-list { list-style: none; margin: 0; padding: 0; }
.topic-link-list li { margin-bottom: 1.25rem; }
.topic-link-list a { color: var(--accent); text-decoration: underline; font-weight: 600; }
.topic-resource-desc { margin: .35rem 0 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.topic-resource-item { margin-bottom: 1.25rem; }
.topic-media-list { display: flex; flex-direction: column; gap: 1.75rem; }
.topic-media-item h3 { font-size: 1.1rem; margin: 0 0 .35rem; }
.topic-media-player { width: 100%; max-width: 640px; margin-top: .5rem; }
.btn-secondary { background: #fff; border: 1px solid var(--dark); color: var(--dark); }
.btn-secondary:hover { background: var(--dark); color: #fff; }

.contact-page { max-width: 960px; }
.contact-intro { color: var(--muted); max-width: 640px; margin: 0 0 2rem; }
.contact-forms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}
.contact-form-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 1.5rem;
}
.contact-form-title { font-size: 1.5rem; margin: 0 0 .5rem; }
.contact-form-desc { color: var(--muted); margin: 0 0 1.25rem; font-size: .95rem; }
.contact-form { display: grid; gap: 1rem; }
.contact-field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; }
.contact-field input,
.contact-field textarea {
    width: 100%;
    padding: .65rem .75rem;
    border: 1px solid var(--line);
    font: inherit;
    background: #fff;
}
.contact-field-error { color: #721c24; font-size: .85rem; margin: .35rem 0 0; }
.spam-honeypot {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.spam-check-field input { max-width: 8rem; }
.spam-check-hint { margin: .35rem 0 0; font-size: .8rem; color: #777; }

/* Admin front-end edit mode (logged-in Admin/Editor only) */
.admin-edit-card {
    position: fixed;
    z-index: 9999;
    width: min(240px, calc(100vw - 2rem));
    display: flex;
    flex-direction: column;
    gap: .55rem;
    padding: .85rem 1rem;
    background: #1f1f1f;
    color: #f5f0e8;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    font-size: .8rem;
    line-height: 1.35;
    transition: top .2s ease, right .2s ease, bottom .2s ease, left .2s ease;
}
.admin-edit-card[data-corner="br"] { bottom: 1.25rem; right: 1.25rem; top: auto; left: auto; }
.admin-edit-card[data-corner="bl"] { bottom: 1.25rem; left: 1.25rem; top: auto; right: auto; }
.admin-edit-card[data-corner="tl"] { top: 1.25rem; left: 1.25rem; bottom: auto; right: auto; }
.admin-edit-card[data-corner="tr"] { top: 1.25rem; right: 1.25rem; bottom: auto; left: auto; }
.admin-edit-card.is-on {
    border-color: var(--accent);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--accent);
}
.admin-edit-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}
.admin-edit-card__badge {
    display: inline-block;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: #444;
    color: #fff;
    padding: .2rem .45rem;
    border-radius: 999px;
}
.admin-edit-card.is-on .admin-edit-card__badge {
    background: var(--accent);
}
.admin-edit-card__move {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ddd;
    border-radius: 999px;
    padding: .15rem .55rem;
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
}
.admin-edit-card__move:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}
.admin-edit-card__user {
    margin: 0;
    color: #bbb;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.admin-edit-card__form { margin: 0; }
.admin-edit-card__btn {
    width: 100%;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: .55rem .75rem;
    cursor: pointer;
    font-size: .8rem;
    font-weight: 600;
}
.admin-edit-card__btn:hover { filter: brightness(1.08); }
.admin-edit-card__link {
    color: #ccc;
    text-align: center;
    text-decoration: none;
    font-size: .75rem;
}
.admin-edit-card__link:hover { color: #fff; text-decoration: underline; }
.admin-edit-heading-row {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem .75rem;
}
.admin-edit-chip {
    display: inline-block; font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: .7rem; font-weight: 700; letter-spacing: .03em;
    text-transform: uppercase; text-decoration: none !important;
    background: #c45c26; color: #fff !important;
    padding: .2rem .45rem; border-radius: 3px; line-height: 1.3;
    white-space: nowrap; vertical-align: middle;
}
.admin-edit-chip:hover { background: #a3481a; color: #fff !important; }
button.admin-edit-chip {
    border: none;
    cursor: pointer;
    font: inherit;
}

/* Front-edit popup */
.front-edit-modal {
    position: fixed; inset: 0; z-index: 10000;
    display: flex; align-items: flex-start; justify-content: center;
    padding: 4.5rem 1rem 2rem;
}
.front-edit-modal[hidden] { display: none !important; }
.front-edit-modal__backdrop {
    position: absolute; inset: 0; background: rgba(0,0,0,.55);
}
.front-edit-modal__dialog {
    position: relative;
    width: min(860px, 100%);
    max-height: calc(100vh - 6rem);
    overflow: auto;
    background: #fff;
    color: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.front-edit-modal__header {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; padding: 1rem 1.25rem;
    border-bottom: 1px solid #e5e5e5;
    position: sticky; top: 0; background: #fff; z-index: 2;
}
.front-edit-modal__header h2 {
    margin: 0; font-size: 1.15rem; font-family: "Helvetica Neue", Arial, sans-serif;
}
.front-edit-modal__close {
    background: transparent; border: 0; font-size: 1.5rem;
    line-height: 1; cursor: pointer; color: #666;
}
.front-edit-modal__body { padding: 1rem 1.25rem 1.25rem; }
.front-edit-modal__status { margin: 1rem 0; color: #666; }
.front-edit-modal__error {
    margin: .75rem 0 0; color: #721c24; background: #f8d7da;
    border: 1px solid #f5c6cb; padding: .6rem .75rem; border-radius: 4px;
}
.front-edit-field { margin-bottom: 1.1rem; }
.front-edit-field label {
    display: block; font-size: .85rem; font-weight: 700;
    margin-bottom: .35rem; font-family: "Helvetica Neue", Arial, sans-serif;
}
.front-edit-text,
.front-edit-textarea,
.front-edit-select {
    width: 100%; box-sizing: border-box;
    border: 1px solid #ccc; border-radius: 4px;
    padding: .55rem .7rem; font: inherit;
    background: #fff;
}
.front-edit-textarea { min-height: 7rem; resize: vertical; }
.front-edit-image-row {
    display: flex; gap: 1rem; align-items: flex-start; flex-wrap: wrap;
}
.front-edit-image-preview {
    width: 140px; height: 140px; border: 1px solid #ddd; border-radius: 6px;
    background: #f5f5f5; overflow: hidden;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.front-edit-image-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.front-edit-image-empty { font-size: .75rem; color: #888; padding: .5rem; text-align: center; }
.front-edit-image-side { flex: 1; min-width: 180px; }
.front-edit-help { margin: .4rem 0 0; font-size: .8rem; color: #666; }
.front-edit-modal__actions {
    display: flex; justify-content: flex-end; gap: .6rem;
    margin-top: 1rem; padding-top: .75rem; border-top: 1px solid #eee;
}
.front-edit-btn {
    border: none; cursor: pointer; border-radius: 4px;
    padding: .55rem 1rem; font-size: .9rem;
}
.front-edit-btn--ghost { background: #eee; color: #222; }
.front-edit-btn--primary { background: var(--accent); color: #fff; }
.front-edit-btn:disabled { opacity: .55; cursor: wait; }
.front-edit-modal .note-editor.note-frame { border: 1px solid #ccc; border-radius: 4px; }
.front-edit-modal .note-editable { background: #fff; min-height: 200px; }

@media (max-width: 768px) {
    .hero-grid, .about-grid, .topic-row, .episode-list-item, .contact-forms-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2rem; }
    .episode-list-item img,
    .episode-list-item .episode-thumb-placeholder {
        width: 100%;
        max-width: 320px;
        height: auto;
        aspect-ratio: 1;
    }
    .header-shell { gap: .65rem 1rem; padding-top: .4rem; padding-bottom: .4rem; }
    .logo-text { font-size: .72rem; }
    .main-nav { gap: .35rem .65rem; }
    .nav-link { font-size: .68rem; letter-spacing: .06em; }
}
