/* ============================================================
   BARS for KINGS — extensions beyond the design package.
   Same tokens, same type scale. Covers patterns the real site
   needs that the package's example pages did not include:
   ranked-list descriptions, visible FAQ blocks, long-form
   article prose, sources/citations, closed-bar banner.
   ============================================================ */

/* ---- Ranked list: editorial description under each row ---- */
.rank-row.has-desc { grid-template-rows: auto auto; }

.rank-desc {
  grid-column: 2 / -1;
  font-size: 15px;
  line-height: 1.65;
  color: #3c3830;
  max-width: 62ch;
  margin-top: 6px;
  text-wrap: pretty;
}

.rank-row .rank-info a { transition: color 0.25s; }
.rank-row .rank-info a:hover { color: var(--accent-deep); }

/* ---- Visible FAQ block (matches FAQPage schema content) ---- */
.faq-block { padding: 96px 0; background: var(--cream); }

.faq-list { max-width: 760px; border-top: 1px solid var(--line); margin-top: 8px; }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.25;
  transition: color 0.25s;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 28px; flex: none; transition: transform 0.3s var(--ease-out); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--accent-deep); }

.faq-item .faq-a {
  padding: 0 4px 26px;
  font-size: 16px;
  line-height: 1.7;
  color: #3c3830;
  max-width: 64ch;
  text-wrap: pretty;
}

/* ---- Long-form article prose (blog pillars) ---- */
.prose { max-width: 720px; margin: 0 auto; }

.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1.1; margin: 64px 0 20px; text-wrap: balance; }
.prose h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 44px 0 16px; }
.prose p { font-size: 17.5px; line-height: 1.78; color: #3c3830; margin-bottom: 20px; text-wrap: pretty; }
.prose .lede { font-family: var(--serif); font-size: 26px; line-height: 1.45; color: var(--ink); }
.prose a { border-bottom: 1px solid var(--accent); transition: color 0.25s; }
.prose a:hover { color: var(--accent-deep); }
.prose ul, .prose ol { margin: 0 0 20px 22px; font-size: 17px; line-height: 1.7; color: #3c3830; }
.prose li { margin-bottom: 8px; }
.prose img { border-radius: 18px; margin: 36px 0; }
.prose blockquote {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.4;
  border-left: 2px solid var(--accent);
  padding-left: 28px;
  margin: 40px 0;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  font-size: 13.5px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.article-meta a { color: var(--accent-deep); }
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }

/* ---- Sources / citations on bar profiles ---- */
.sources {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}

.sources h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.sources a { border-bottom: 1px solid var(--line); transition: color 0.25s, border-color 0.25s; }
.sources a:hover { color: var(--accent-deep); border-color: var(--accent); }

/* ---- Verified / updated line ---- */
.verified-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.verified-line::before { content: "✓"; font-size: 13px; }

/* ---- Permanently closed banner ---- */
.closed-banner {
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 18px 26px;
  font-size: 15px;
  line-height: 1.6;
  margin: 24px 0;
}

.closed-banner strong { color: var(--accent); }

/* ---- Pagination ---- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 72px; }

.pagination a, .pagination span {
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  padding: 0 14px;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}

.pagination a:hover { border-color: var(--ink); }
.pagination .is-current { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---- Occasion grid: slots 7 and 8 (the site has 8 categories) ---- */
.occasion-card:nth-child(7) { grid-column: span 3; grid-row: span 3; }
.occasion-card:nth-child(8) { grid-column: span 3; grid-row: span 3; }

/* ---- Footer: five-column variant (brand + 4 link groups) ---- */
.footer-inner.five { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }

/* ---- Hero quick tags ---- */
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-tags .btn-ghost { font-size: 12.5px; padding: 9px 16px; }

/* ---- Mobile menu (the package has no small-screen nav) ---- */
.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
}

body[data-hero="full"] .nav:not(.is-solid) .menu-btn { border-color: rgba(255,255,255,0.45); color: #fff; }

.mob-panel {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--paper);
  overflow-y: auto;
  padding: 96px 32px 48px;
  display: none;
}

.mob-panel.is-open { display: block; }

.mob-panel .mob-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 28px 0 10px;
}

.mob-panel a {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.mob-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 210;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 18px;
}

body.mob-locked { overflow: hidden; }

@media (max-width: 960px) {
  .rank-desc { grid-column: 1 / -1; }
  .prose h2 { font-size: 30px; }
  .menu-btn { display: inline-flex; }
  .footer-inner.five { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   POLISH PASS — tightened vertical rhythm sitewide
   (this sheet loads last, so these win over the package values)
   ============================================================ */
.page-section { padding: 64px 0; }
.page-section.tight { padding: 36px 0 64px; }
.page-hero { padding: 148px 0 56px; }
.bar-head { padding: 140px 0 36px; }
.bar-body { padding: 48px 0 72px; }
.also-ranked { padding: 0 0 88px; }
.faq-block { padding: 64px 0; }
.newsletter { padding: 80px 0; }
.cta-band { padding: 80px 0; }
.principles { padding: 64px 0; }
.stat-band { padding: 64px 0; }
.local-take { padding: 80px 0; }
.about-note { padding: 24px 0 80px; }
.manifesto { padding: 156px 0 64px; }
.occasions { padding: 88px 0 48px; }
.rankings { padding: 88px 0; }
.cities { padding: 88px 0; }
.journal { padding: 24px 0 88px; }
.section-head { margin-bottom: 40px; }
.prose h2 { margin: 44px 0 16px; }
.region-block { margin-top: 48px; }

/* ---- Fix: media wrappers must be block (spans collapse and rows overlap) ---- */
.story-card .media,
.story-feature .media,
.journal-item .thumb,
.bar-gallery .shot { display: block; }

/* ---- Fix: hero text readability over bright photos ---- */
.hero-full .hero-scrim {
  background: linear-gradient(180deg, rgba(10,9,7,0.55) 0%, rgba(10,9,7,0.4) 40%, rgba(10,9,7,0.8) 100%);
}
.hero-full .hero-content { text-shadow: 0 2px 18px rgba(0,0,0,0.55); }
.hero-full .eyebrow { color: #F2D27C; font-weight: 700; }
.hero-full .eyebrow::before { background: #F2D27C; height: 2px; }
.hero-full .hero-sub { color: #ffffff; }
.city-hero .eyebrow { color: #F2D27C; font-weight: 700; }
.city-hero .wrap { text-shadow: 0 2px 18px rgba(0,0,0,0.5); }
