/* ═══════════════════════════════════════════════════════
   FOTORADIO — main.css
   Tema: scuro, minimalista, typography-first
═══════════════════════════════════════════════════════ */

/* ── RESET & CUSTOM PROPERTIES ─────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0a0a0a;
  --surface:   #141414;
  --border:    #222222;
  --border-hi: #333333;
  --text:      #ede8d8;
  --muted:     #666666;
  --accent:    #d9b96a;   /* giallo logo */
  --blue:      #3b4a8c;   /* blu logo */
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --max:       1100px;
  --gap:       2rem;
  --header-h:  64px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* ── HEADER ─────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(10,10,10,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gap);
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
}

.site-logo img {
  height: 52px;
  width: auto;
}

/* Desktop nav */
.nav-desktop {
  display: flex; gap: 2rem; align-items: center;
}

.nav-desktop a {
  font-family: var(--font-head);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-desktop a:hover,
.nav-desktop a.active { color: var(--text); }

.nav-search-btn {
  background: none; border: none; cursor: pointer;
  color: var(--muted); display: flex; align-items: center;
  transition: color 0.2s; padding: 0;
}
.nav-search-btn:hover { color: var(--accent); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center;
  gap: 5px; width: 36px; height: 36px;
  background: none; border: none; cursor: pointer; padding: 4px;
}

.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.nav-mobile {
  display: none;
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: rgba(10,10,10,0.98);
  z-index: 150;
  flex-direction: column;
  padding: 2.5rem var(--gap);
  overflow-y: auto;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-family: var(--font-head);
  font-size: 1.6rem; font-weight: 700;
  color: var(--muted);
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.nav-mobile a:first-child { border-top: 1px solid var(--border); }
.nav-mobile a:hover { color: var(--accent); }

.mobile-search-input {
  margin-top: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: var(--font-body); font-size: 1rem;
  outline: none; width: 100%;
}

.mobile-search-input::placeholder { color: var(--muted); }
.mobile-search-input:focus { border-color: var(--accent); }

/* ── SECTION DIVIDER ─────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── SECTION HEADER ─────────────────────────────────── */
.section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 2rem;
}

.section-label {
  font-family: var(--font-head);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}

.section-more {
  font-family: var(--font-head);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
  transition: opacity 0.2s;
}
.section-more:hover { opacity: 0.7; }

/* ── TAG ─────────────────────────────────────────────── */
.tag {
  display: inline-block;
  font-size: 0.65rem; font-family: var(--font-head);
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); background: #1e1e1e;
  border: 1px solid var(--border);
  padding: 0.15rem 0.5rem; border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.tag:hover { border-color: var(--accent); color: var(--accent); }

.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }


/* ═══════════════════════════════════════════════════════
   HOMEPAGE
═══════════════════════════════════════════════════════ */

/* ORA IN ONDA */
.ora-in-onda {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0;
}

.ora-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

.ora-label::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

.ora-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: start;
}

.ora-ep-num {
  font-family: var(--font-head);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.75rem;
}

.ora-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700; line-height: 1.15;
  margin-bottom: 0.75rem;
}

.ora-date {
  font-size: 0.85rem; color: var(--muted);
  margin-bottom: 1.25rem;
}

.ora-desc {
  font-size: 0.95rem; color: #aaa; line-height: 1.7;
  margin-bottom: 2rem; max-width: 480px;
}

.ora-read-more {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  margin-bottom: 2rem;
  transition: opacity 0.2s;
}
.ora-read-more:hover { opacity: 0.7; }

/* Foto preview homepage */
.ora-photos {}
.photo-grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
}
.photo-grid-2 img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  filter: grayscale(15%); transition: filter 0.3s;
}
.photo-grid-2 img:hover { filter: grayscale(0%); }
.photo-caption {
  font-size: 0.75rem; color: var(--muted);
  margin-top: 0.5rem; font-style: italic; line-height: 1.4;
}

/* Intro block */
.home-intro {
  padding: 5rem 0 3rem; max-width: 620px;
}
.home-intro p {
  font-size: 1.05rem; line-height: 1.75; color: #aaa;
}
.home-intro p + p { margin-top: 1rem; }

/* Bottom grid: puntate + blog */
.home-bottom {
  padding: 4rem 0;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem; align-items: start;
}

.home-bottom-blog {
  border-left: 1px solid var(--border);
  padding-left: 3rem;
}

/* Episode cards (grid 3 col) */
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
}

.ep-card {
  background: var(--surface);
  display: flex; flex-direction: column;
  transition: background 0.2s; cursor: pointer;
}
.ep-card:hover { background: #1c1c1c; }

.ep-card-thumb {
  aspect-ratio: 16/9; overflow: hidden; background: #1a1a1a;
}
.ep-card-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(20%); transition: filter 0.3s, transform 0.4s;
}
.ep-card:hover .ep-card-thumb img {
  filter: grayscale(0%); transform: scale(1.03);
}
.ep-card-thumb-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #222 100%);
}

.ep-card-meta { padding: 1.1rem 1.2rem 1.4rem; flex: 1; }

.ep-card-num {
  font-family: var(--font-head);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.4rem;
}
.ep-card-title {
  font-family: var(--font-head);
  font-size: 0.95rem; font-weight: 600;
  line-height: 1.3; color: var(--text); margin-bottom: 0.5rem;
}
.ep-card-date { font-size: 0.75rem; color: var(--muted); }

/* Blog list (homepage) */
.blog-list { display: flex; flex-direction: column; }

.blog-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.blog-item:first-child { border-top: 1px solid var(--border); }
.blog-item:hover .blog-item-title { color: var(--accent); }

.blog-item-title {
  font-family: var(--font-head);
  font-size: 0.92rem; font-weight: 500;
  line-height: 1.35; margin-bottom: 0.3rem;
  transition: color 0.2s;
}
.blog-item-date { font-size: 0.75rem; color: var(--muted); }


/* ═══════════════════════════════════════════════════════
   PLAYER
═══════════════════════════════════════════════════════ */
.player-wrap {
  background: #1a1a1a;
  border: 1px solid var(--border);
  border-radius: 4px; overflow: hidden;
}

.player-tabs { display: flex; border-bottom: 1px solid var(--border); }

.player-tab {
  flex: 1; padding: 0.6rem 1rem;
  font-family: var(--font-head);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); background: transparent;
  border: none; cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px; transition: all 0.2s; text-align: center;
}
.player-tab.active { color: var(--accent); border-bottom-color: var(--accent); }

.player-embed { display: none; }
.player-embed.active { display: block; }
.player-embed iframe { width: 100%; height: 152px; border: none; display: block; }

.listen-links { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

.listen-link {
  font-family: var(--font-head);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--border);
  padding: 0.4rem 0.9rem; border-radius: 2px; transition: all 0.2s;
}
.listen-link:hover { border-color: var(--accent); color: var(--accent); }


/* ═══════════════════════════════════════════════════════
   ARCHIVIO PUNTATE
═══════════════════════════════════════════════════════ */
.archive-page { padding: 3rem 0; }

.archive-header {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem; gap: 2rem; flex-wrap: wrap;
}
.archive-header h1 {
  font-family: var(--font-head);
  font-size: 1.6rem; font-weight: 700;
}

/* Search (Pagefind) */
.search-wrap { position: relative; flex: 0 0 320px; }

.search-input {
  width: 100%; background: var(--surface);
  border: 1px solid var(--border); border-radius: 3px;
  padding: 0.65rem 1rem 0.65rem 2.5rem;
  color: var(--text); font-family: var(--font-body);
  font-size: 0.9rem; outline: none; transition: border-color 0.2s;
}
.search-input::placeholder { color: var(--muted); }
.search-input:focus { border-color: var(--accent); }

.search-icon {
  position: absolute; left: 0.85rem; top: 50%;
  transform: translateY(-50%); color: var(--muted);
  pointer-events: none; display: flex; align-items: center;
}

/* Pagefind UI overrides */
.pagefind-ui { --pagefind-ui-scale: 0.85; }
#search { margin-bottom: 2rem; }
#search .pagefind-ui__form { position: relative; }
#search .pagefind-ui__search-input {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 3px !important;
  color: var(--text) !important;
  font-family: var(--font-body) !important;
}
#search .pagefind-ui__search-input:focus { border-color: var(--accent) !important; }
#search .pagefind-ui__result {
  border-color: var(--border) !important;
  background: var(--surface) !important;
}
#search .pagefind-ui__result-title { color: var(--text) !important; }
#search .pagefind-ui__result-excerpt { color: var(--muted) !important; }

/* Year filter */
.year-filter {
  display: flex; margin-bottom: 2.5rem;
  border: 1px solid var(--border); border-radius: 3px;
  overflow: hidden; width: fit-content;
}

.year-btn {
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; padding: 0.5rem 1.1rem;
  background: transparent; border: none;
  border-right: 1px solid var(--border);
  color: var(--muted); cursor: pointer; transition: all 0.2s;
}
.year-btn:last-child { border-right: none; }
.year-btn:hover { background: var(--surface); color: var(--text); }
.year-btn.active { background: var(--accent); color: #0a0a0a; font-weight: 700; }

/* Archive list */
.archive-list { display: flex; flex-direction: column; gap: 1.5px; }

.archive-item {
  background: var(--surface);
  display: grid; grid-template-columns: 100px 1fr auto;
  gap: 1.5rem; align-items: center;
  padding: 0.75rem 1.25rem 0.75rem 0;
  transition: background 0.15s;
}
.archive-item:hover { background: #1c1c1c; }

.archive-thumb { width: 100px; height: 62px; object-fit: cover; filter: grayscale(20%); }
.archive-thumb-ph { width: 100px; height: 62px; background: #1e1e1e; flex-shrink: 0; }

.archive-info .num {
  font-family: var(--font-head); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.2rem;
}
.archive-info .title {
  font-family: var(--font-head); font-size: 0.95rem;
  font-weight: 500; color: var(--text); margin-bottom: 0.35rem;
}

.archive-date { font-size: 0.78rem; color: var(--muted); white-space: nowrap; }

/* Hidden items (year filter) */
.archive-item[hidden] { display: none; }


/* ═══════════════════════════════════════════════════════
   SINGOLA PUNTATA
═══════════════════════════════════════════════════════ */
.ep-page { padding-bottom: 6rem; }

.breadcrumb {
  padding: 1.5rem 0 0;
  font-size: 0.78rem; color: var(--muted);
  font-family: var(--font-head); letter-spacing: 0.05em;
}
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { margin: 0 0.4rem; }

.ep-hero {
  padding: 2.5rem 0 3rem;
  border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr 420px;
  gap: 3rem; align-items: start;
}

.ep-hero-season {
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.75rem;
}

.ep-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700; line-height: 1.15; margin-bottom: 0.75rem;
}

.ep-hero-date { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.5rem; }

.ep-hero-desc {
  font-size: 1rem; line-height: 1.75;
  color: #aaa; max-width: 520px;
}

/* Content + sidebar */
.ep-content {
  padding: 3.5rem 0;
  display: grid; grid-template-columns: 1fr 280px;
  gap: 4rem; align-items: start;
}

/* Body (foto + testo) */
.ep-body { }

.ep-body h2 {
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
  margin: 2.5rem 0 1.5rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.ep-body h2:first-child { margin-top: 0; }

.ep-body p {
  font-size: 1rem; line-height: 1.8; color: #bbb;
  margin-bottom: 1.1rem;
}

.ep-body img {
  width: 100%;
  border: 1px solid var(--border);
  margin: 1.5rem 0 0;
}

/* Corsivo normale — inline, non toccare */
.ep-body em {
  font-style: italic;
}

/* Didascalia foto: em immediatamente dopo img nello stesso paragrafo */
.ep-body p > img + em,
.ep-body p > img + br + em {
  display: block;
  font-size: 0.8rem; color: var(--muted); font-style: italic;
  line-height: 1.5; margin-top: 0.4rem; margin-bottom: 1.5rem;
  padding-left: 0.75rem; border-left: 2px solid var(--border);
}

/* Paragrafo che contiene solo una em (riga di didascalia standalone) */
.ep-body p:has(> em:only-child) {
  font-size: 0.8rem; color: var(--muted);
  padding-left: 0.75rem; border-left: 2px solid var(--border);
  margin-top: -0.5rem; margin-bottom: 1.5rem;
}

/* Sidebar */
.ep-sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); }

.sidebar-box {
  background: var(--surface); border: 1px solid var(--border);
  padding: 1.25rem; margin-bottom: 1.5rem; border-radius: 2px;
}
.sidebar-box-label {
  font-family: var(--font-head); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1rem;
}

.sidebar-listen-links { display: flex; flex-direction: column; gap: 0.5rem; }

.sidebar-listen-link {
  font-size: 0.82rem; font-family: var(--font-head); color: var(--text);
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.75rem; background: #1a1a1a;
  border: 1px solid var(--border); border-radius: 2px; transition: all 0.2s;
}
.sidebar-listen-link:hover { border-color: var(--accent); color: var(--accent); }

.sidebar-nav {
  display: flex; flex-direction: column; gap: 0.5rem;
}
.sidebar-nav a {
  font-family: var(--font-head); font-size: 0.82rem; color: var(--muted);
  transition: color 0.2s; line-height: 1.4;
}
.sidebar-nav a:hover { color: var(--accent); }

/* Commenti Giscus */
.comments-section {
  margin-top: 4rem; padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.comments-label {
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.5rem;
}
.giscus-wrap { min-height: 100px; }


/* ═══════════════════════════════════════════════════════
   BLOG
═══════════════════════════════════════════════════════ */
.blog-page { padding: 3rem 0 6rem; }

.blog-page h1 {
  font-family: var(--font-head);
  font-size: 1.6rem; font-weight: 700; margin-bottom: 2.5rem;
}

.blog-archive-list { display: flex; flex-direction: column; }

.blog-archive-item {
  display: flex; align-items: baseline;
  justify-content: space-between; gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}
.blog-archive-item:first-child { border-top: 1px solid var(--border); }
.blog-archive-item:hover .blog-archive-title { color: var(--accent); }

.blog-archive-title {
  font-family: var(--font-head); font-size: 1rem; font-weight: 500;
  transition: color 0.2s; flex: 1;
}
.blog-archive-date { font-size: 0.78rem; color: var(--muted); white-space: nowrap; }

/* Single blog post */
.blog-single { padding: 3rem 0 6rem; max-width: 720px; margin: 0 auto; }

.blog-single-header { margin-bottom: 3rem; }

.blog-single-date { font-size: 0.82rem; color: var(--muted); margin-bottom: 1rem; }

.blog-single h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700; line-height: 1.15; margin-bottom: 1rem;
}

.blog-single .tags { margin-top: 1rem; }

.blog-body { padding-top: 0.5rem; }

.blog-body h2, .blog-body h3 {
  font-family: var(--font-head); font-weight: 700;
  margin: 2.5rem 0 1rem; line-height: 1.2;
}
.blog-body h2 { font-size: 1.3rem; }
.blog-body h3 { font-size: 1.1rem; }

.blog-body p {
  font-size: 1rem; line-height: 1.8; color: #bbb;
  margin-bottom: 1.25rem;
}

.blog-body img {
  width: 100%; border: 1px solid var(--border);
  margin: 1.5rem 0;
}

.blog-body em { font-style: italic; color: var(--muted); }
.blog-body strong { font-weight: 600; color: var(--text); }

.blog-body a {
  color: var(--accent);
  border-bottom: 1px solid rgba(217,185,106,0.3);
  transition: border-color 0.2s;
}
.blog-body a:hover { border-color: var(--accent); }

.blog-body blockquote {
  border-left: 2px solid var(--accent);
  padding-left: 1.25rem; margin: 2rem 0;
  color: var(--muted); font-style: italic;
}


/* ═══════════════════════════════════════════════════════
   PAGINE STATICHE (chi siamo, contatti, fair use)
═══════════════════════════════════════════════════════ */
.static-page { padding: 4rem 0 6rem; max-width: 720px; }

.static-page h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700; line-height: 1.1; margin-bottom: 2.5rem;
}

.static-page h2 {
  font-family: var(--font-head);
  font-size: 1.1rem; font-weight: 600;
  margin: 2rem 0 0.75rem;
}

.static-page p {
  font-size: 1rem; line-height: 1.8; color: #aaa;
  margin-bottom: 1.25rem;
}

.static-page strong { color: var(--text); font-weight: 500; }

.static-page a { color: var(--accent); }
.static-page a:hover { text-decoration: underline; }

/* Contatti: form */
.contact-form { margin-top: 2rem; }

.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%; background: var(--surface);
  border: 1px solid var(--border); border-radius: 3px;
  padding: 0.75rem 1rem; color: var(--text);
  font-family: var(--font-body); font-size: 0.95rem;
  outline: none; transition: border-color 0.2s;
}
.form-input:focus,
.form-textarea:focus { border-color: var(--accent); }
.form-input::placeholder,
.form-textarea::placeholder { color: var(--muted); }

.form-textarea { resize: vertical; min-height: 140px; }

.form-submit {
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--accent); color: #0a0a0a;
  border: none; border-radius: 2px;
  padding: 0.75rem 2rem; cursor: pointer;
  transition: opacity 0.2s;
}
.form-submit:hover { opacity: 0.85; }


/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: 4rem;
}

.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gap);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}

.footer-left { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.footer-logo img { height: 20px; filter: brightness(0.6); }

.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a {
  font-family: var(--font-head); font-size: 0.72rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

.footer-copy { font-size: 0.75rem; color: var(--muted); }


/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .home-bottom          { grid-template-columns: 1fr; gap: 0; }
  .home-bottom-blog     { border-left: none; padding-left: 0; padding-top: 3rem; border-top: 1px solid var(--border); }
  .episodes-grid        { grid-template-columns: 1fr 1fr; }
  .ep-hero              { grid-template-columns: 1fr; }
  .ep-content           { grid-template-columns: 1fr; }
  .ep-sidebar           { position: static; }
}

@media (max-width: 720px) {
  .nav-desktop  { display: none; }
  .hamburger    { display: flex; }
  .ora-grid     { grid-template-columns: 1fr; }
  .episodes-grid { grid-template-columns: 1fr; }
  .archive-item { grid-template-columns: 80px 1fr; }
  .archive-date { display: none; }
  :root         { --gap: 1.25rem; }
}

@media (max-width: 480px) {
  .search-wrap  { flex: 0 0 100%; }
  .archive-header { flex-direction: column; align-items: flex-start; }
}
