/* Bavaria On Tap — Beer hall meets modern travel mag */
:root {
  --cream: #FAF6EE;
  --parchment: #F2E9D3;
  --deep: #1A1410;
  --ink: #2B211A;
  --wood: #5B3A1E;
  --wood-dark: #3D2511;
  --amber: #D4A236;
  --amber-dark: #A67B22;
  --beer: #E8A13A;
  --foam: #F8E9B8;
  --accent: #8A3324;   /* Bavarian red */
  --accent-dim: #6B2619;
  --muted: #8A7C6B;
  --rule: rgba(26,20,16,.12);
  --shadow: 0 10px 30px rgba(26,20,16,.08), 0 2px 6px rgba(26,20,16,.05);
}

*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Georgia", "Iowan Old Style", "Source Serif Pro", serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Header ─────────────────────────────────────────── */
.site-header {
  background: var(--deep);
  color: var(--foam);
  padding: 1.1rem 0;
  border-bottom: 4px solid var(--amber);
  position: sticky; top: 0; z-index: 50;
}
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--foam); }
.brand-mark { font-size: 1.75rem; }
.brand-name { font-family: "Fraktur", "UnifrakturCook", Georgia, serif; font-size: 1.5rem; font-weight: 700; letter-spacing: .02em; }
.brand-name em { color: var(--amber); font-style: italic; font-weight: 400; }
nav { display: flex; gap: 1.75rem; }
nav a {
  color: var(--foam); text-decoration: none; font-family: system-ui, sans-serif;
  font-size: .95rem; font-weight: 500; letter-spacing: .02em;
  padding-bottom: 3px; border-bottom: 2px solid transparent; transition: .15s;
}
nav a:hover, nav a.active { color: var(--amber); border-color: var(--amber); }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  background:
    linear-gradient(180deg, rgba(26,20,16,.55), rgba(26,20,16,.7)),
    radial-gradient(1200px 600px at 20% 10%, rgba(212,162,54,.4), transparent 60%),
    radial-gradient(900px 500px at 90% 80%, rgba(138,51,36,.3), transparent 60%),
    linear-gradient(135deg, #2B211A, #1A1410);
  color: var(--cream);
  padding: 7rem 0 6rem;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 700;
  margin: 0 0 1.5rem;
  font-family: "Playfair Display", "Georgia", serif;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero .lede {
  font-size: 1.15rem; max-width: 680px; margin: 0 auto 2.5rem;
  color: rgba(250,246,238,.92);
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.page-hero {
  background: linear-gradient(135deg, #2B211A, #1A1410);
  color: var(--cream);
  padding: 4rem 0 3rem;
  text-align: center;
}
.page-hero h1 { font-size: 2.5rem; margin: 0 0 .75rem; font-family: "Playfair Display", Georgia, serif; }
.page-hero .lede { max-width: 600px; margin: 0 auto; color: rgba(250,246,238,.88); }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-block; padding: .75rem 1.75rem;
  background: var(--amber); color: var(--deep);
  border-radius: 999px; text-decoration: none;
  font-family: system-ui, sans-serif; font-weight: 600; font-size: .95rem;
  letter-spacing: .02em;
  transition: transform .15s, background .15s, box-shadow .15s;
  border: 2px solid var(--amber);
}
.btn:hover { background: var(--beer); border-color: var(--beer); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,161,58,.3); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(250,246,238,.4); }
.btn-ghost:hover { background: rgba(250,246,238,.1); color: var(--amber); border-color: var(--amber); }

/* ── Sections ────────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-light { background: var(--parchment); }
.section h2 {
  font-size: 2rem; margin: 0 0 .5rem;
  font-family: "Playfair Display", Georgia, serif;
  color: var(--deep);
}
.section-sub { color: var(--muted); margin: 0 0 2.5rem; font-size: 1.05rem; }

/* ── Event cards ─────────────────────────────────────── */
.events-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.event-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--amber);
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column; gap: .75rem;
}
.event-card:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(26,20,16,.12); }
.event-card.featured { border-left-color: var(--accent); background: linear-gradient(180deg, #fff, var(--parchment)); }

.event-head { display: flex; gap: .85rem; align-items: flex-start; }
.cat-emoji { font-size: 2rem; line-height: 1; flex-shrink: 0; }
.event-title-block { flex: 1; min-width: 0; }
.event-title-block h3 {
  margin: 0 0 .25rem; font-size: 1.2rem;
  font-family: "Playfair Display", Georgia, serif;
  color: var(--deep); line-height: 1.25;
}
.event-meta {
  display: flex; gap: .5rem; flex-wrap: wrap; align-items: center;
  font-size: .85rem; color: var(--muted);
  font-family: system-ui, sans-serif;
}
.event-meta .date { font-weight: 600; color: var(--wood); }
.event-meta .dot { opacity: .5; }
.countdown {
  margin-left: auto;
  padding: .15rem .55rem;
  background: var(--foam); color: var(--wood-dark);
  border-radius: 999px; font-size: .75rem; font-weight: 600;
}
.countdown.live { background: var(--accent); color: var(--cream); }

.event-desc { margin: 0; color: var(--ink); font-size: .98rem; }
.event-card .history {
  background: var(--parchment); border-radius: 8px;
  padding: .65rem .9rem; font-size: .88rem; margin: 0;
}
.event-card .history summary {
  cursor: pointer; font-family: system-ui, sans-serif;
  font-weight: 600; color: var(--wood-dark); user-select: none;
}
.event-card .history p { margin: .5rem 0 0; color: var(--ink); line-height: 1.55; }

.event-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.tag {
  display: inline-block; padding: .15rem .5rem;
  font-size: .7rem; font-family: system-ui, sans-serif;
  background: var(--parchment); color: var(--wood);
  border-radius: 4px; letter-spacing: .02em;
}
.event-link {
  margin-top: auto;
  font-family: system-ui, sans-serif; font-size: .85rem;
  color: var(--accent); text-decoration: none; font-weight: 600;
  align-self: flex-start;
}
.event-link:hover { color: var(--accent-dim); text-decoration: underline; }

/* ── Filters ─────────────────────────────────────────── */
.filters {
  display: flex; flex-wrap: wrap; gap: .5rem;
  justify-content: center; margin-top: 1.5rem;
}
.chip {
  padding: .45rem 1rem; border-radius: 999px;
  background: rgba(250,246,238,.1); color: var(--cream);
  border: 1px solid rgba(250,246,238,.25);
  font-family: system-ui, sans-serif; font-size: .88rem;
  cursor: pointer; transition: .15s;
}
.chip:hover { background: rgba(250,246,238,.2); }
.chip.active { background: var(--amber); color: var(--deep); border-color: var(--amber); font-weight: 600; }

/* -- Podcast episode cards -- */
.episode-placeholder {
  text-align: center; padding: 4rem 2rem;
  background: var(--parchment); border-radius: 16px;
  max-width: 600px; margin: 0 auto;
}
.episode-placeholder h2 { font-size: 1.6rem; margin: 0 0 1rem; }
.platforms { list-style: none; padding: 0; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 1.5rem 0 0; }
.platforms a {
  display: inline-block; padding: .6rem 1.2rem;
  background: var(--wood); color: var(--cream);
  border-radius: 8px; text-decoration: none;
  font-family: system-ui, sans-serif; font-size: .9rem;
}
.platforms a:hover { background: var(--wood-dark); }

.episode-card {
  background: #fff; border-radius: 14px; padding: 2rem;
  box-shadow: var(--shadow); border: 1px solid var(--rule);
  margin-bottom: 1.5rem;
}
.episode-card h3 { margin: 0 0 .5rem; font-size: 1.3rem; color: var(--deep); }
.episode-card .episode-meta { color: var(--muted); margin: 0 0 1rem; font-size: .9rem; }
.episode-card .episode-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.25rem; }

/* -- Detail pages, AEO, calendar, entry info -- */
.event-card h3 a { color: var(--deep); text-decoration: none; }
.event-card h3 a:hover { color: var(--accent); }

.entry-badge {
  display: inline-block; padding: .2rem .6rem;
  background: var(--parchment); color: var(--wood-dark);
  border-radius: 4px; font-size: .78rem; font-family: system-ui, sans-serif;
  margin-bottom: .25rem;
}

.entry-info {
  display: flex; gap: .75rem; padding: 1rem 1.25rem;
  border-radius: 10px; margin: 1rem 0;
  align-items: flex-start;
}
.entry-info.entry-free { background: #e8f5e9; border: 1px solid #a5d6a7; }
.entry-info.entry-paid { background: #fff3e0; border: 1px solid #ffcc80; }
.entry-info .entry-icon { font-size: 1.4rem; flex-shrink: 0; }
.entry-info strong { display: block; margin-bottom: .25rem; font-size: 1.05rem; }
.entry-info p { margin: 0; font-size: .95rem; line-height: 1.5; }

.aeo-quick-answer {
  background: linear-gradient(135deg, #f0f7ff, #e8f0fe);
  border: 1px solid #b3d4fc; border-left: 4px solid #4a90d9;
  border-radius: 10px; padding: 1.25rem 1.5rem; margin: 1.5rem 0;
}
.aeo-quick-answer h3 { margin: 0 0 .5rem; font-size: 1.1rem; color: #1a5276; font-family: system-ui, sans-serif; }
.aeo-quick-answer p { margin: 0; line-height: 1.6; }

.aeo-faq { margin: 2rem 0; }
.aeo-faq h2 { font-family: "Playfair Display", Georgia, serif; font-size: 1.6rem; margin: 0 0 1.25rem; }
.faq-item {
  background: #fff; border: 1px solid var(--rule); border-radius: 8px;
  margin-bottom: .5rem; padding: 0; overflow: hidden;
}
.faq-item summary {
  padding: 1rem 1.25rem; cursor: pointer; font-weight: 600;
  font-family: system-ui, sans-serif; font-size: .95rem;
  list-style: none; user-select: none; transition: background .15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "▸ "; color: var(--muted); transition: transform .15s; }
.faq-item[open] summary::before { content: "▾ "; }
.faq-item summary:hover { background: var(--parchment); }
.faq-item p { padding: 0 1.25rem 1rem; margin: 0; line-height: 1.6; color: var(--ink); }

.dates-table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.dates-table th, .dates-table td { padding: .6rem 1rem; text-align: left; border-bottom: 1px solid var(--rule); }
.dates-table th { font-family: system-ui, sans-serif; font-weight: 600; font-size: .85rem; color: var(--muted); }

.detail-source-btn {
  display: inline-block; padding: .65rem 1.5rem;
  background: var(--accent); color: #fff; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-family: system-ui, sans-serif;
  margin: 2rem 0 .5rem; transition: background .15s;
}
.detail-source-btn:hover { background: var(--accent-dim); }
.source-note { font-size: .82rem; color: var(--muted); margin: 0 0 2rem; }
.source-note a { color: var(--accent); }

/* Calendar */
.cal-sidebar { min-width: 220px; }
.cal-sidebar h3 { margin: 0 0 1rem; font-size: 1.1rem; }
.filter-item {
  display: block; padding: .55rem .9rem; border-radius: 8px;
  cursor: pointer; font-family: system-ui, sans-serif; font-size: .9rem;
  margin-bottom: .25rem; user-select: none; transition: background .15s;
}
.filter-item:hover { background: var(--parchment); }
.filter-item.active { background: var(--amber); color: var(--deep); font-weight: 600; }
.filter-item .count { float: right; opacity: .6; font-size: .8rem; }
/* -- Prose pages -- */
.prose { max-width: 720px; margin: 0 auto; font-size: 1.08rem; }
.prose h2 { font-family: "Playfair Display", Georgia, serif; font-size: 1.6rem; margin: 2.5rem 0 .75rem; color: var(--deep); }
.prose ul { padding-left: 1.25rem; }
.prose li { margin: .5rem 0; }
.prose a { color: var(--accent); }

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
  background: var(--deep); color: rgba(250,246,238,.7);
  text-align: center; padding: 2.5rem 0; margin-top: 4rem;
  border-top: 4px solid var(--amber);
  font-family: system-ui, sans-serif; font-size: .9rem;
}
.site-footer p { margin: .3rem 0; }
.site-footer .small { font-size: .8rem; opacity: .6; }

/* ── Mobile ──────────────────────────────────────────── */
@media (max-width: 640px) {
  nav { gap: 1rem; font-size: .85rem; }
  .brand-name { font-size: 1.2rem; }
  .hero { padding: 4rem 0 3rem; }
  .section { padding: 3rem 0; }
  .events-grid { grid-template-columns: 1fr; }
  .countdown { margin-left: 0; }
}

/* ── Ad Slots / Sponsor Placeholders ──────────────────── */
.ad-slot {
  background: var(--parchment);
  border: 2px dashed var(--rule);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-family: system-ui, sans-serif;
  font-size: .85rem; font-weight: 500;
  margin: 1.5rem 0;
  min-height: 90px;
  position: relative;
  overflow: hidden;
}
.ad-slot::before {
  content: "Ad / Sponsor Space";
  opacity: .5;
  text-align: center;
}
.ad-slot.ad-full-width { width: 100%; max-width: 728px; margin: 1.5rem auto; min-height: 90px; }
.ad-slot.ad-sidebar { width: 100%; max-width: 300px; min-height: 250px; margin: 2rem auto; }
.ad-slot.ad-mid-content { width: 100%; max-width: 728px; margin: 2rem auto; min-height: 90px; }
.ad-slot.ad-half-width { width: 100%; max-width: 468px; margin: 1.5rem auto; min-height: 60px; }

/* ── Calendar Month Headers ───────────────────────────── */
.cal-month-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.3rem; color: var(--deep);
  margin: 2rem 0 1rem; padding-bottom: .5rem;
  border-bottom: 3px solid var(--amber);
  white-space: nowrap; overflow: visible;
}
.cal-group { margin-bottom: 1rem; }

/* ── Newsletter Signup ─────────────────────────────────── */
.newsletter-signup {
  background: linear-gradient(135deg, var(--cream), var(--parchment));
  border: 2px solid var(--amber); border-radius: 14px;
  padding: 2rem; margin: 2.5rem 0; text-align: center;
}
.newsletter-signup h3 { margin: 0 0 .5rem; font-size: 1.3rem; }
.newsletter-signup p { margin: 0 0 1.25rem; color: var(--ink); }
.newsletter-signup .newsletter-form {
  display: flex; gap: .5rem; justify-content: center; margin: 0 0 .75rem;
  flex-wrap: wrap;
}
.newsletter-signup .newsletter-form input[type="email"] {
  padding: .65rem 1rem; border: 2px solid var(--rule); border-radius: 999px;
  min-width: 250px; font-size: .95rem; outline: none;
  font-family: system-ui, sans-serif;
}
.newsletter-signup .newsletter-form input[type="email"]:focus { border-color: var(--amber); }
.newsletter-signup .newsletter-form .btn { font-family: system-ui, sans-serif; }
.newsletter-signup .small { font-size: .78rem; color: var(--muted); margin: 0; }

/* ── List View ─────────────────────────────────────────── */
.list-page .events-grouped { max-width: 900px; margin: 0 auto; }
.list-page .time-group { margin: 2.5rem 0 1rem; }
.list-page .time-group h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.4rem; margin: 0 0 0.75rem; padding-bottom: .5rem;
  border-bottom: 2px solid var(--amber); color: var(--deep);
}
.list-page .group-count {
  font-size: .85rem; font-family: system-ui, sans-serif;
  color: var(--muted); font-weight: 400; margin-left: .5rem;
}
.list-page .list-event {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.15rem 0; border-bottom: 1px solid var(--rule);
  transition: background .15s; text-decoration: none; color: inherit;
}
.list-page .list-event:hover { background: var(--parchment); margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem; border-radius: 8px; }
.list-page .list-date {
  flex-shrink: 0; width: 85px; text-align: center;
  font-family: system-ui, sans-serif;
}
.list-page .list-date .ld-month {
  display: block; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; color: var(--accent); letter-spacing: .05em;
}
.list-page .list-date .ld-day {
  display: block; font-size: 1.6rem; font-weight: 700; color: var(--deep); line-height: 1;
}
.list-page .list-date .ld-year {
  display: block; font-size: .7rem; color: var(--muted);
}
.list-page .list-info { flex: 1; min-width: 0; }
.list-page .list-info h4 { margin: 0 0 .2rem; font-size: 1.05rem; font-family: "Playfair Display", Georgia, serif; }
.list-page .list-info h4 a { color: var(--deep); text-decoration: none; }
.list-page .list-info h4 a:hover { color: var(--accent); }
.list-page .list-info .list-meta {
  font-size: .82rem; color: var(--muted); font-family: system-ui, sans-serif;
}
.list-page .list-info .list-desc { font-size: .9rem; color: var(--ink); margin: .35rem 0 0; }
.list-page .list-badge {
  flex-shrink: 0; padding: .25rem .65rem; border-radius: 999px;
  font-size: .72rem; font-family: system-ui, sans-serif; font-weight: 600;
  align-self: flex-start; margin-top: .1rem;
}
.list-page .list-badge.now { background: var(--accent); color: #fff; }
.list-page .list-badge.soon { background: var(--foam); color: var(--wood-dark); }
.list-page .list-badge.future { background: var(--parchment); color: var(--muted); }
.list-page .list-badge.entry-free { background: #e8f5e9; color: #2e7d32; }
.list-page .list-badge.entry-paid { background: #fff3e0; color: #e65100; }

/* ── Map View ──────────────────────────────────────────── */
#map { height: 520px; width: 100%; border-radius: 14px; margin: 1rem 0; z-index: 1; }
.map-layout { display: grid; grid-template-columns: 1fr 320px; gap: 1.5rem; }
.map-sidebar {
  max-height: 520px; overflow-y: auto; padding-right: .5rem;
  scrollbar-width: thin;
}
.map-event-mini {
  display: block; padding: .75rem; border-radius: 8px; margin-bottom: .5rem;
  border: 1px solid var(--rule); text-decoration: none; color: inherit;
  transition: .15s; cursor: pointer;
}
.map-event-mini:hover, .map-event-mini.active { border-color: var(--amber); background: var(--parchment); }
.map-event-mini h4 { margin: 0 0 .15rem; font-size: .92rem; }
.map-event-mini .mem { font-size: .78rem; color: var(--muted); }
.map-filters { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1rem 0 .5rem; }
.map-filter-btn {
  padding: .4rem .85rem; border-radius: 999px; border: 1px solid var(--rule);
  background: #fff; cursor: pointer; font-family: system-ui, sans-serif;
  font-size: .82rem; transition: .15s;
}
.map-filter-btn:hover { border-color: var(--amber); }
.map-filter-btn.active { background: var(--amber); color: var(--deep); border-color: var(--amber); font-weight: 600; }

/* ── Giveaway CTA ──────────────────────────────────────── */
.giveaway-cta {
  background: linear-gradient(135deg, #fff9e6, #fff3cc);
  border: 2px solid var(--amber); border-radius: 14px;
  padding: 1.5rem 2rem; margin: 2rem 0;
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
}
.giveaway-cta .gc-text { flex: 1; min-width: 200px; }
.giveaway-cta .gc-text h4 { margin: 0 0 .25rem; font-size: 1.1rem; }
.giveaway-cta .gc-text p { margin: 0; font-size: .92rem; }

@media (max-width: 768px) {
  .map-layout { grid-template-columns: 1fr; }
  #map { height: 350px; }
  .map-sidebar { max-height: none; overflow: visible; }
  .detail-hero h1 { font-size: 1.8rem; }
}

/* ═══════════════════════════════════════════
   EVENT DETAIL — Modern Constrained Layout
   ═══════════════════════════════════════════ */

/* Breadcrumb */
.breadcrumb {
  font-family: system-ui, sans-serif; font-size: .9rem; color: var(--ink);
  padding: 1rem 0 0; font-weight: 500;
}
.breadcrumb a { color: var(--accent); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--muted); margin: 0 .25rem; }

/* Hero */
.detail-hero {
  background: linear-gradient(135deg, #2B211A, #1A1410);
  color: var(--cream); padding: 2rem 0 1.5rem;
}
.detail-hero .wrap { display: flex; flex-direction: column; gap: .75rem; }
.detail-cat-emoji { font-size: 2.5rem; line-height: 1; }
.detail-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.2rem; margin: 0; line-height: 1.2;
}
.detail-subtitle {
  font-family: system-ui, sans-serif; font-size: 1rem;
  color: rgba(250,246,238,.7); margin: 0;
}
.detail-hero-meta {
  display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: .5rem;
}
.dhm {
  font-family: system-ui, sans-serif; font-size: .88rem;
  color: rgba(250,246,238,.85);
}

/* Main layout: content + sidebar */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  padding: 2.5rem 1.5rem 4rem;
  max-width: 1080px;
  margin: 0 auto;
}

/* Content column — constrained for readability */
.detail-content {
  max-width: 720px;
  min-width: 0;
}
.detail-content h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem; margin: 2rem 0 .75rem; color: var(--deep);
}
.detail-content h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem; margin: 1.5rem 0 .5rem; color: var(--deep);
}
.detail-content p {
  line-height: 1.75; font-size: 1.05rem; margin: 0 0 1rem; color: var(--ink);
}
.detail-content ul {
  margin: .5rem 0 1rem; padding-left: 1.5rem;
}
.detail-content li {
  line-height: 1.65; font-size: 1rem; margin: .3rem 0; color: var(--ink);
}
.detail-content a { color: var(--accent); }
.detail-content .aeo-quick-answer { margin: 1.5rem 0; }
.detail-content .source-link { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--rule); }

/* Sidebar */
.detail-sidebar {
  position: relative;
}
.detail-sidebar > div {
  margin-bottom: 1.25rem;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 1.25rem;
}

/* Quick facts */
.quick-facts .fact {
  display: flex; gap: .75rem; align-items: flex-start; padding: .6rem 0;
  border-bottom: 1px solid var(--rule);
}
.quick-facts .fact:last-child { border-bottom: none; }
.fact-icon { font-size: 1.2rem; flex-shrink: 0; }
.fact-text { display: flex; flex-direction: column; }
.fact-label {
  font-family: system-ui, sans-serif; font-size: .72rem; font-weight: 600;
  text-transform: uppercase; color: var(--muted); letter-spacing: .04em;
}
.fact-value {
  font-family: system-ui, sans-serif; font-size: .92rem; color: var(--deep); margin-top: .1rem;
}
.sidebar-h3 {
  font-family: system-ui, sans-serif; font-size: .78rem; font-weight: 700;
  text-transform: uppercase; color: var(--accent); letter-spacing: .05em;
  margin: 0 0 .75rem !important; border-bottom: 2px solid var(--amber); padding-bottom: .5rem;
}

/* Entry + directions cards */
.entry-card p {
  font-size: .9rem; color: var(--ink); margin: 0; line-height: 1.5;
}
.directions-card .dir-venue {
  font-family: system-ui, sans-serif; font-size: .92rem; margin: 0 0 .75rem; color: var(--ink);
}
.directions-btn {
  background: var(--amber) !important; color: var(--deep) !important;
  text-decoration: none; font-family: system-ui, sans-serif;
  padding: .55rem 1rem; border-radius: 8px;
  font-size: .88rem; font-weight: 600; display: block; text-align: center;
  border: 2px solid var(--amber);
}
.directions-btn:hover { background: var(--beer) !important; }

/* Sidebar newsletter */
.sidebar-newsletter {
  background: linear-gradient(135deg, var(--cream), var(--parchment)) !important;
  border-color: var(--amber) !important;
  text-align: center;
}
.sidebar-newsletter h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem; margin: 0 0 .4rem !important; color: var(--deep);
  border: none !important; text-transform: none !important; letter-spacing: 0 !important;
}
.sidebar-newsletter p {
  font-size: .85rem; color: var(--ink); margin: 0 0 .75rem;
  font-family: system-ui, sans-serif;
}
.sidebar-newsletter input[type="email"] {
  width: 100%; padding: .5rem .75rem; border: 1px solid var(--rule);
  border-radius: 8px; margin-bottom: .5rem; font-size: .88rem;
  font-family: system-ui, sans-serif; box-sizing: border-box;
}
.sidebar-subscribe {
  width: 100%; padding: .55rem; font-size: .88rem !important;
  border-radius: 8px !important;
}

/* Past dates table in sidebar */
.dates-table { font-size: .82rem; width: 100%; border-collapse: collapse; }
.dates-table th {
  font-size: .72rem; padding: .4rem .6rem; text-align: left;
  color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--rule);
}
.dates-table td {
  padding: .35rem .6rem; font-family: system-ui, sans-serif;
  border-bottom: 1px solid var(--rule); color: var(--ink);
}
.sidebar-section {
  margin-bottom: 1.25rem;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 1.25rem;
}
.sidebar-section h3 {
  font-family: system-ui, sans-serif; font-size: .78rem; font-weight: 700;
  text-transform: uppercase; color: var(--accent); letter-spacing: .05em;
  margin: 0 0 .75rem !important; border-bottom: 2px solid var(--amber); padding-bottom: .5rem;
}

/* Source link */
.source-link { margin-top: 2rem; padding-top: 1.25rem; border-top: 2px solid var(--amber); }
.detail-source-btn {
  display: inline-block; padding: .7rem 1.8rem;
  background: var(--amber); color: var(--deep);
  border-radius: 999px; text-decoration: none; font-weight: 600;
  font-family: system-ui, sans-serif; font-size: .92rem;
  transition: background .15s, transform .15s;
  border: 2px solid var(--amber);
}
.detail-source-btn:hover { background: var(--beer); transform: translateY(-2px); }
.source-note {
  font-size: .75rem; color: var(--muted); font-family: system-ui, sans-serif;
  margin-top: .5rem;
}

/* Mobile: single column */
@media (max-width: 860px) {
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .detail-sidebar {
    order: -1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
  }
  .detail-sidebar .ad-slot { display: none; }
  .detail-hero h1 { font-size: 1.8rem; }
  .detail-content { max-width: 100%; }
}
