/* Stage Pages — theatre aesthetic
 * Deep curtain reds, midnight ink, cream paper, gold accents
 * Playfair Display headings, Inter body, Cormorant for the script
 */

:root {
  --ink:        #15100c;        /* near-black, warm */
  --ink-2:      #2a1d15;
  --ink-soft:   #4d3e34;
  --paper:      #f6efe1;        /* soft cream */
  --paper-2:    #ebe1ca;
  --cream:      #fbf7ec;
  --cream-warm: #f1e7cc;
  --curtain:    #6f1612;        /* deep curtain red */
  --curtain-2:  #8b1f1c;
  --burgundy:   #5a1414;
  --gold:       #b88a3a;        /* footlight gold */
  --gold-soft:  #d9b566;
  --rule:       #c9b791;
  --rule-soft:  #ddc9a1;
  --max:        1200px;
  --serif:      "Playfair Display", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --serif-alt:  "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans:       "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono:       "JetBrains Mono", "Menlo", monospace;
  --shadow-1:   0 1px 2px rgba(21,16,12,0.08);
  --shadow-2:   6px 6px 0 var(--rule-soft);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(ellipse at top, #fbf6e6 0%, #f6efe1 50%, #f0e7ce 100%);
  background-attachment: fixed;
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--curtain); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

.skip-link {
  position: absolute; left: -1000px; top: 0;
  background: var(--ink); color: var(--cream); padding: 8px 14px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

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

/* ============================================================
 * Header — playbill style
 * ============================================================ */
.site-header {
  background:
    linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 2px 0 rgba(184,138,58,0.12), 0 4px 12px rgba(21,16,12,0.04);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; gap: 22px; padding: 14px 24px; flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--ink) !important;
  font-family: var(--serif); font-weight: 800;
}
.brand:hover { text-decoration: none; color: var(--curtain) !important; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  background: var(--curtain);
  color: var(--gold-soft);
  border-radius: 3px;
  box-shadow: inset 0 -3px 0 var(--burgundy), 2px 2px 0 var(--ink);
}
.brand-name { font-size: 26px; letter-spacing: 0.5px; }
.primary-nav { display: flex; gap: 22px; margin-left: 4px; flex-wrap: wrap; }
.primary-nav a {
  font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-soft);
  position: relative; padding-bottom: 2px;
}
.primary-nav a::after {
  content: ""; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s ease;
}
.primary-nav a:hover { color: var(--curtain); text-decoration: none; }
.primary-nav a:hover::after { transform: scaleX(1); }

.search-form { margin-left: auto; display: flex; }
.search-form input {
  font-family: var(--sans); font-size: 14px;
  padding: 9px 14px; min-width: 230px;
  background: var(--cream); border: 1px solid var(--rule); border-right: none;
  outline: none; color: var(--ink);
}
.search-form input:focus { border-color: var(--curtain); }
.search-form button {
  font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 9px 18px;
  background: var(--ink); color: var(--gold-soft);
  border: 1px solid var(--ink); cursor: pointer;
}
.search-form button:hover { background: var(--curtain); }

/* ============================================================
 * Main
 * ============================================================ */
.site-main { padding: 36px 24px 64px; }

/* ============================================================
 * Hero — playbill panel
 * ============================================================ */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px;
  align-items: center; padding: 24px 0 56px;
  border-bottom: 1px solid var(--rule); margin-bottom: 36px;
  position: relative;
}
.hero-eyebrow {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--curtain);
  margin-bottom: 16px; display: inline-flex; align-items: center; gap: 10px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ""; display: inline-block; width: 28px; height: 1px; background: var(--gold);
}
.hero h1 {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(40px, 6vw, 76px); line-height: 1.0; margin: 0 0 22px;
  letter-spacing: -0.02em; color: var(--ink);
}
.hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--curtain); }
.hero p.lead {
  font-family: var(--serif-alt); font-weight: 500;
  font-size: 22px; line-height: 1.5; color: var(--ink-2);
  max-width: 56ch; margin: 0 0 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 13px 24px;
  font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; transition: all 0.15s ease;
}
.btn-primary {
  background: var(--curtain); color: var(--cream);
  border: 1px solid var(--curtain);
  box-shadow: 3px 3px 0 var(--ink);
}
.btn-primary:hover {
  background: var(--burgundy); text-decoration: none; color: var(--gold-soft);
  transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink);
}
.btn-ghost {
  color: var(--ink); border: 1px solid var(--ink); background: transparent;
}
.btn-ghost:hover { background: var(--ink); color: var(--gold-soft); text-decoration: none; }

.hero-image {
  position: relative;
  border: 6px solid var(--ink);
  box-shadow: 14px 14px 0 var(--curtain), 14px 14px 0 1px var(--ink);
  overflow: hidden; aspect-ratio: 4/3;
}
.hero-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: contrast(1.06) saturate(1.05);
}

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .hero-image { box-shadow: 8px 8px 0 var(--curtain), 8px 8px 0 1px var(--ink); }
}

/* ============================================================
 * Sections
 * ============================================================ */
.section { margin: 56px 0; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 28px;
  position: relative;
}
.section-head::before {
  content: ""; position: absolute; bottom: -6px; left: 0;
  width: 64px; height: 2px; background: var(--gold);
}
.section-head h2 {
  font-family: var(--serif); margin: 0; font-size: 34px; font-weight: 800;
  letter-spacing: -0.01em; color: var(--ink);
}
.section-head .more {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--curtain); font-weight: 600;
}

/* ============================================================
 * Play card grid
 * ============================================================ */
.play-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.play-card {
  background: var(--cream); border: 1px solid var(--rule);
  padding: 24px 22px; display: flex; flex-direction: column; min-height: 200px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  position: relative;
}
.play-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--curtain), var(--gold));
  opacity: 0; transition: opacity 0.15s ease;
}
.play-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 var(--rule);
  border-color: var(--ink);
}
.play-card:hover::before { opacity: 1; }
.play-card .kicker {
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--curtain); margin-bottom: 10px; font-weight: 700;
}
.play-card h3 {
  font-family: var(--serif); font-size: 22px; line-height: 1.18; margin: 0 0 10px;
  font-weight: 700;
}
.play-card h3 a { color: var(--ink); }
.play-card h3 a:hover { color: var(--curtain); text-decoration: none; }
.play-card .by {
  font-family: var(--serif-alt); font-style: italic; color: var(--ink-soft);
  margin-bottom: 14px; font-size: 16px;
}
.play-card .meta {
  font-family: var(--sans); font-size: 11px; color: var(--ink-soft);
  margin-top: auto; letter-spacing: 0.06em; text-transform: uppercase;
}

/* ============================================================
 * Author cards
 * ============================================================ */
.author-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.author-card {
  background: var(--cream); border: 1px solid var(--rule); padding: 20px;
  border-left: 4px solid var(--curtain);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.author-card:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--rule-soft); }
.author-card h3 {
  font-family: var(--serif); margin: 0 0 6px; font-size: 20px; font-weight: 700;
}
.author-card h3 a { color: var(--ink); }
.author-card h3 a:hover { color: var(--curtain); text-decoration: none; }
.author-card .meta {
  font-family: var(--sans); font-size: 11px; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* ============================================================
 * Two-column layout (play / author / list / etc.)
 * ============================================================ */
.layout-two {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px;
  margin-top: 24px;
}
.sidebar { font-family: var(--sans); font-size: 14px; }
.sidebar .panel {
  background: var(--cream); border: 1px solid var(--rule);
  padding: 20px; margin-bottom: 22px;
  position: relative;
}
.sidebar .panel::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--curtain);
}
.sidebar .panel h4 {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--curtain); margin: 0 0 14px; font-weight: 700;
}
.sidebar dl { margin: 0; }
.sidebar dt {
  font-weight: 600; color: var(--ink-soft); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em; margin-top: 12px;
}
.sidebar dt:first-child { margin-top: 0; }
.sidebar dd { margin: 3px 0 0; color: var(--ink); font-size: 14px; }
.sidebar ul { padding-left: 18px; margin: 0; }
.sidebar ul li { padding: 3px 0; }

.related-panel { border-top: 3px solid var(--curtain) !important; }
.resource-list { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.resource-list li {
  padding: 10px 0 !important; border-bottom: 1px solid var(--rule-soft); font-size: 14px;
}
.resource-list li:last-child { border-bottom: none; }
.resource-list a { color: var(--ink); }
.resource-list a:hover { color: var(--curtain); }

@media (max-width: 920px) { .layout-two { grid-template-columns: 1fr; gap: 32px; } }

/* ============================================================
 * Play page
 * ============================================================ */
.play-header {
  border-bottom: 3px double var(--ink); padding-bottom: 28px; margin-bottom: 32px;
  background:
    linear-gradient(180deg, var(--cream) 0%, transparent 100%);
  padding-top: 8px; padding-left: 4px; padding-right: 4px;
  position: relative;
}
.play-header .kicker {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--curtain); font-weight: 700;
}
.play-header h1 {
  font-family: var(--serif); font-size: clamp(36px, 5vw, 60px);
  margin: 10px 0 12px; line-height: 1.05; font-weight: 800; letter-spacing: -0.01em;
}
.play-header .author-line {
  font-family: var(--serif-alt); font-style: italic; color: var(--ink-soft);
  font-size: 21px; font-weight: 500;
}
.play-header .author-line a { color: var(--ink); }
.play-header .author-line a:hover { color: var(--curtain); }

.tag-row { margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 5px 11px;
  background: var(--ink); color: var(--gold-soft);
  border-radius: 2px; font-weight: 600;
}
.tag.tag-genre { background: var(--curtain); color: var(--cream); }
.tag.tag-era   { background: var(--ink); color: var(--gold-soft); }
.tag.tag-tag   { background: var(--cream-warm); color: var(--ink); border: 1px solid var(--rule); }
.tag a { color: inherit; }

.play-summary {
  background: var(--cream); border-left: 4px solid var(--curtain);
  padding: 20px 24px; margin: 24px 0; font-size: 18px;
  font-family: var(--serif-alt); font-weight: 500; line-height: 1.55;
}
.play-summary p { margin: 0; }

.section-h2 {
  font-family: var(--serif); margin: 36px 0 14px;
  font-size: 28px; font-weight: 800; letter-spacing: -0.005em;
  position: relative; padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}
.section-h2::after {
  content: ""; position: absolute; bottom: -1px; left: 0;
  width: 48px; height: 1px; background: var(--curtain);
}

.prose-body p { margin: 0 0 16px; font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.prose-body p:last-child { margin-bottom: 0; }

/* The script itself */
.script {
  font-family: var(--serif-alt), Georgia, serif;
  font-size: 17px; line-height: 1.78;
  background:
    linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
  color: var(--ink-2);
  padding: 38px 46px; margin: 24px 0;
  border: 1px solid var(--rule); border-top: 4px solid var(--curtain);
  white-space: pre-wrap;
  max-height: 1200px; overflow: auto;
  box-shadow: inset 0 0 0 1px rgba(184,138,58,0.08);
}
.script-actions {
  font-family: var(--sans); font-size: 12px; color: var(--ink-soft);
  margin-bottom: 12px; letter-spacing: 0.06em; text-transform: uppercase;
}
@media (max-width: 600px) { .script { padding: 24px 18px; font-size: 16px; } }

/* Character roll */
.char-list {
  list-style: none; padding: 0; margin: 8px 0 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px 14px;
}
.char-list li {
  font-family: var(--serif-alt); font-style: italic; color: var(--ink-2);
  padding: 4px 0;
}

/* ============================================================
 * AdSense placeholders
 * ============================================================ */
.adslot {
  background:
    repeating-linear-gradient(45deg, var(--paper-2) 0 12px, var(--cream) 12px 24px);
  border: 1px dashed var(--rule);
  text-align: center; font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft);
  padding: 18px; margin: 28px 0;
}

/* ============================================================
 * Author hero
 * ============================================================ */
.author-hero {
  display: grid; grid-template-columns: 200px 1fr; gap: 36px;
  border-bottom: 3px double var(--ink); padding-bottom: 32px; margin-bottom: 32px;
}
.author-portrait {
  background:
    linear-gradient(135deg, var(--ink) 0%, var(--burgundy) 100%);
  color: var(--gold-soft);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 800; font-size: 78px;
  aspect-ratio: 1/1;
  box-shadow: 8px 8px 0 var(--curtain);
  border: 4px solid var(--ink);
}
.author-hero h1 {
  font-family: var(--serif); font-size: clamp(36px, 4.5vw, 50px);
  margin: 0 0 8px; font-weight: 800; letter-spacing: -0.01em;
}
.author-hero .yrs {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--curtain); font-weight: 700;
}
.author-bio {
  margin-top: 16px; font-family: var(--serif-alt); font-weight: 500;
  font-size: 19px; line-height: 1.6; color: var(--ink-2);
}
@media (max-width: 700px) {
  .author-hero { grid-template-columns: 1fr; }
  .author-portrait { width: 140px; }
}

/* ============================================================
 * List / row layouts
 * ============================================================ */
.row-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.row-list li {
  border-bottom: 1px solid var(--rule); padding: 18px 4px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
}
.row-list .title {
  font-family: var(--serif); font-size: 19px; font-weight: 600;
}
.row-list .title em {
  font-family: var(--serif-alt); font-weight: 400; color: var(--ink-soft);
  font-size: 16px;
}
.row-list .meta {
  font-family: var(--sans); font-size: 11px; color: var(--ink-soft);
  letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
}

/* Numbered editorial list */
.editorial-list { list-style: none; counter-reset: itm; padding: 0; margin: 24px 0; }
.editorial-list li {
  counter-increment: itm;
  position: relative; padding: 18px 0 18px 64px;
  border-bottom: 1px solid var(--rule);
}
.editorial-list li::before {
  content: counter(itm, decimal-leading-zero);
  position: absolute; left: 0; top: 16px;
  font-family: var(--serif); font-weight: 800; font-size: 32px;
  color: var(--curtain); line-height: 1;
}
.editorial-list h3 {
  font-family: var(--serif); margin: 0 0 4px; font-size: 21px; font-weight: 700;
}
.editorial-list h3 a { color: var(--ink); }
.editorial-list h3 a:hover { color: var(--curtain); }
.editorial-list .by {
  font-family: var(--serif-alt); font-style: italic; color: var(--ink-soft); font-size: 16px;
}
.editorial-list .why { font-size: 15px; color: var(--ink-2); margin-top: 8px; }

/* ============================================================
 * Tablist / pills
 * ============================================================ */
.tablist {
  display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 0; padding: 0;
  list-style: none; font-family: var(--sans);
}
.tablist li a {
  display: inline-block; padding: 8px 14px; font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; background: var(--cream); color: var(--ink);
  border: 1px solid var(--rule); font-weight: 600;
}
.tablist li a:hover { background: var(--ink); color: var(--gold-soft); text-decoration: none; }

/* ============================================================
 * Pagination
 * ============================================================ */
.pagination {
  display: flex; gap: 16px; align-items: center; justify-content: center;
  margin: 36px 0; font-family: var(--sans); font-size: 13px;
}
.pagination .pg {
  padding: 9px 18px; border: 1px solid var(--ink); color: var(--ink); font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.pagination .pg:hover { background: var(--ink); color: var(--gold-soft); text-decoration: none; }
.pagination .pg-info { color: var(--ink-soft); letter-spacing: 0.05em; }

/* ============================================================
 * Footer
 * ============================================================ */
.site-footer {
  background:
    linear-gradient(180deg, var(--ink) 0%, #0a0705 100%);
  color: var(--cream); margin-top: 72px;
  border-top: 4px solid var(--curtain);
  position: relative;
}
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--gold); opacity: 0.5;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px;
  padding: 56px 24px 36px;
}
.footer-brand {
  font-family: var(--serif); font-size: 26px; font-weight: 800; margin-bottom: 8px;
  color: var(--gold-soft);
}
.footer-tag { color: #c5b9a3; max-width: 40ch; font-size: 14px; }
.footer-tag a { color: var(--gold-soft); }
.site-footer h4 {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 14px; font-weight: 700;
}
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { padding: 5px 0; }
.footer-list a { color: var(--cream); font-size: 14px; }
.footer-list a:hover { color: var(--gold-soft); }
.footer-related h4 { color: var(--gold-soft); }

.footer-meta {
  border-top: 1px solid #2c2017; padding: 22px 24px;
  font-family: var(--sans); font-size: 13px; color: #b3a48a;
}
.footer-lists { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-lists strong { color: var(--gold-soft); margin-right: 6px; font-weight: 600; }
.footer-lists a { color: #c5b9a3; }
.footer-lists a:hover { color: var(--gold-soft); }

.footer-bottom {
  border-top: 1px solid #2c2017; padding: 18px 24px;
  font-family: var(--sans); font-size: 12px; color: #8a7c66;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-bottom a { color: #b3a48a; }
.footer-bottom a:hover { color: var(--gold-soft); }

@media (max-width: 850px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; padding: 36px 24px 24px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
 * Prose / about / privacy
 * ============================================================ */
.prose { max-width: 70ch; }
.prose h1 {
  font-family: var(--serif); font-size: clamp(36px, 4vw, 50px);
  margin: 0 0 18px; font-weight: 800; letter-spacing: -0.01em;
}
.prose h2 {
  font-family: var(--serif); margin-top: 38px; font-size: 28px; font-weight: 700;
}
.prose p { margin: 0 0 16px; font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.prose ul { padding-left: 22px; }

/* ============================================================
 * Era cards
 * ============================================================ */
.era-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.era-card {
  background: var(--cream); border: 1px solid var(--rule); padding: 24px;
  border-top: 4px solid var(--curtain);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.era-card:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--rule-soft); }
.era-card h3 {
  font-family: var(--serif); margin: 0 0 6px; font-size: 24px; font-weight: 700;
}
.era-card h3 a { color: var(--ink); }
.era-card h3 a:hover { color: var(--curtain); }
.era-card .yrs {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--curtain); font-weight: 700;
}
.era-card p {
  color: var(--ink-soft); margin: 12px 0 0; font-size: 15px; font-family: var(--serif-alt);
}

/* Genre / topic grids */
.genre-grid, .topic-grid, .list-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px;
}
.genre-card, .topic-card, .list-card {
  background: var(--cream); border: 1px solid var(--rule); padding: 22px;
  display: flex; flex-direction: column; gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.genre-card:hover, .topic-card:hover, .list-card:hover {
  transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--rule-soft);
}
.genre-card h3, .topic-card h3, .list-card h3 {
  font-family: var(--serif); margin: 0; font-size: 20px; font-weight: 700;
}
.genre-card h3 a, .topic-card h3 a, .list-card h3 a { color: var(--ink); }
.genre-card .count, .topic-card .count {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--curtain); font-weight: 600;
}
.genre-card p, .topic-card p, .list-card p {
  margin: 4px 0 0; font-size: 14px; color: var(--ink-soft); line-height: 1.55;
}

/* ============================================================
 * Search results
 * ============================================================ */
.search-results { margin-top: 24px; }
.search-results .meta {
  font-family: var(--sans); color: var(--ink-soft); font-size: 13px; margin-bottom: 16px;
  letter-spacing: 0.04em; text-transform: uppercase;
}

/* ============================================================
 * Topic cloud (compact list of tags on play page)
 * ============================================================ */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-cloud a {
  font-family: var(--sans); font-size: 11px; padding: 4px 10px;
  background: var(--cream-warm); color: var(--ink); border: 1px solid var(--rule);
  letter-spacing: 0.04em;
}
.tag-cloud a:hover { background: var(--ink); color: var(--gold-soft); text-decoration: none; }
