/* ==========================================================================
   enflowers.com — Guide article page module (/{country}/guide/{slug}/)
   Page-specific styles extracted verbatim from ui/assets/seo-page-guide.css
   (the shared chrome — breadcrumb, header, footer, FAQ — lives in base.css).
   Load order: base.css → guide.css. Zero visual change.
   ========================================================================== */

/* ---------- Article head (centered, 46rem measure) ---------- */

.article-head {
  max-width: 46rem;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md) var(--space-xl);
  text-align: center;
}

.article-head h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.3rem);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.article-meta {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: var(--space-lg);
}

/* Direct-answer lede — the paragraph AI answer engines quote. */
.article-lede {
  font-size: 1.13rem;
  line-height: 1.65;
  color: var(--ink);
  text-align: left;
  border-left: 2px solid var(--accent);
  padding-left: var(--space-md);
  margin-bottom: 0;
}

/* ---------- Article hero (full-width editorial) ---------- */

.article-hero {
  max-width: var(--max-width);
  margin: 0 auto var(--space-xl);
  padding: 0 var(--space-md);
}

.article-hero img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.article-hero figcaption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--ink-soft);
  border-left: 2px solid var(--accent);
  padding-left: var(--space-sm);
  margin-top: var(--space-sm);
}

@media (max-width: 40rem) {
  .article-hero img { aspect-ratio: 4 / 3; }
}

/* ---------- Article body (46rem measure, editorial typography) ---------- */

.article-body {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* TOC box */
.toc {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.toc-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 var(--space-sm);
}

.toc ol {
  list-style: none;
  counter-reset: toc;
  margin: 0;
  padding: 0;
}

.toc li {
  counter-increment: toc;
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
}

.toc li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--accent);
  margin-right: var(--space-sm);
}

.toc a {
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.toc a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Body sections */
.article-section {
  scroll-margin-top: var(--space-md);
  margin-bottom: var(--space-xl);
}

.article-section h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.1rem);
  margin-bottom: var(--space-md);
}

.article-section p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.article-section p strong,
.article-section li strong {
  color: var(--ink);
}

.article-section ul {
  margin: 0 0 1em;
  padding-left: 1.3rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.article-section li { margin-bottom: 0.4rem; }

.article-section .zh {
  font-style: normal;
  color: var(--ink);
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-band-inner {
  max-width: 46rem;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.7rem, 3.8vw, 2.4rem);
  margin-bottom: var(--space-sm);
}

.cta-band p {
  color: var(--ink-soft);
  max-width: 32rem;
  margin: 0 auto var(--space-lg);
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
}

/* ---------- More guides strip ---------- */

.more-guides {
  max-width: 46rem;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md) 0;
}

.more-guides-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.more-guides ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.more-guides a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-decoration: none;
  padding: var(--space-sm) 0;
  border-top: 1px solid var(--line-strong);
  transition: color 0.2s ease;
}

.more-guides a::after {
  content: "→";
  font-size: 0.95rem;
  color: var(--accent);
}

.more-guides a:hover { color: var(--accent); }
