/* Nex Stay Collabs — guide/article layout. Extends css/styles.css. */

.article-hero { padding: 72px 0 36px; }
.article-hero .eyebrow {
  font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px;
}
.article-hero h1 {
  font-family: var(--serif); font-weight: 600; letter-spacing: -.02em;
  font-size: clamp(34px, 5vw, 54px); line-height: 1.08; margin: 0 0 18px; max-width: 20ch;
}
.article-hero .lede { font-size: 19px; line-height: 1.65; color: var(--muted); max-width: 62ch; margin: 0; }
.article-meta { margin-top: 22px; font-size: 13px; color: var(--muted); }
.article-meta b { color: var(--ink); }

.article { padding: 12px 0 80px; }
.article .wrap { max-width: 760px; }
.article h2 {
  font-family: var(--serif); font-weight: 600; letter-spacing: -.015em;
  font-size: clamp(24px, 3vw, 32px); line-height: 1.2; margin: 52px 0 16px;
}
.article h3 { font: 600 18px/1.35 var(--sans); margin: 34px 0 10px; }
.article p, .article li { font-size: 16.5px; line-height: 1.72; }
.article p { margin: 0 0 18px; }
.article ul, .article ol { padding-left: 24px; margin: 0 0 18px; }
.article li { margin-bottom: 8px; }
.article li::marker { color: var(--red); }
.article strong { font-weight: 600; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 44px 0; }

/* Key-fact callout */
.callout {
  background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin: 26px 0;
  box-shadow: var(--shadow);
}
.callout p { margin: 0; font-size: 15.5px; }
.callout p + p { margin-top: 10px; }

/* Data tables */
.article table {
  width: 100%; border-collapse: collapse; margin: 26px 0; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  font-size: 14.5px; box-shadow: var(--shadow);
}
.article table th, .article table td {
  text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top;
}
.article table th {
  font: 600 12px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); background: var(--cream-deep);
}
.article table tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }
.table-scroll table { min-width: 560px; }

/* Stat band (reuses bignum look) */
.statband {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin: 30px 0; box-shadow: var(--shadow);
}
.statband > div { background: var(--card); padding: 20px 18px; }
.statband b { display: block; font-family: var(--serif); font-weight: 600; font-size: 28px; letter-spacing: -.02em; }
.statband span { font-size: 12.5px; color: var(--muted); line-height: 1.45; display: block; margin-top: 4px; }

/* FAQ */
.faq { margin: 30px 0; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 22px; margin-bottom: 10px; box-shadow: var(--shadow);
}
.faq summary {
  font: 600 16px/1.4 var(--sans); padding: 18px 0; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::after { content: "+"; color: var(--red); font-size: 20px; flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--muted); font-size: 15.5px; }

/* In-article CTA */
.article-cta {
  background: var(--ink); color: var(--cream); border-radius: var(--radius);
  padding: 34px 32px; margin: 48px 0 0; box-shadow: var(--shadow-lg);
}
.article-cta h2 { color: var(--cream); margin: 0 0 10px; font-size: 26px; }
.article-cta p { color: rgba(245,240,224,.75); margin: 0 0 20px; font-size: 15.5px; }
.article-cta .btn-primary { background: var(--red); color: #fff; }
.article-cta .btn-primary:hover { background: var(--red-deep); }

/* Guide hub cards */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin: 36px 0 70px; }
.guide-card {
  display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 22px; color: var(--ink); box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .2s ease;
}
.guide-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--ink); border-color: #D8CFAF; }
.guide-card::after {
  content: "Read the guide →"; display: inline-block; margin-top: 16px;
  font: 600 13px/1 var(--sans); color: var(--red); opacity: .6;
  transition: opacity .15s ease, transform .15s ease;
}
.guide-card:hover::after { opacity: 1; transform: translateX(3px); }
.guide-card:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.guide-card .tag {
  font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); display: block; margin-bottom: 12px;
}
.guide-card h2 { font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.25; margin: 0 0 10px; letter-spacing: -.015em; }
.guide-card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin: 0; }

/* Related guides footer block */
.related { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 28px; }
.related h2 { font-size: 22px; margin: 0 0 16px; }
.related ul { list-style: none; padding: 0; margin: 0; }
.related li { margin-bottom: 10px; font-size: 15.5px; }
.related li::marker { content: none; }

/* .site-nav moved to css/styles.css (shared with homepage) */

/* Sticky mobile CTA bar (guide articles) */
.mobile-cta { display: none; }

@media (max-width: 640px) {
  .article-hero { padding: 48px 0 24px; }
  .mobile-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: rgba(245,240,224,.94); backdrop-filter: saturate(150%) blur(8px);
    border-top: 1px solid var(--line);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  }
  .mobile-cta .btn { flex: 1; }
  body:has(.mobile-cta) { padding-bottom: 72px; }
}
