/* ===========================================================================
   Tank Battle Guide — /guides/ section styles (hub, article, CTA, FAQ).
   Extends the LP theme (uses its CSS custom properties).
   =========================================================================== */

.guide-body { background: var(--bg); }

/* ---- Guides header (static variant of the LP header) ---- */
.guide-body .site-header { position: sticky; background: rgba(10,12,15,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.guide-body .header-inner { display: flex; align-items: center; gap: 1.4rem; }
.brand { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.25rem; letter-spacing: .03em; color: var(--ink); }
.brand span { color: var(--gold); }
.header-nav { display: flex; gap: 1.2rem; margin-left: auto; }
.header-nav a { color: var(--muted); font-size: .92rem; font-weight: 500; }
.header-nav a:hover, .header-nav a[aria-current="page"] { color: var(--gold); }
.header-cta { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: .88rem;
  background: var(--grad); color: #1c0d00; padding: .6rem 1.2rem; border-radius: 6px; }
.header-cta:hover { filter: brightness(1.06); }

.guide-main { padding: 2.2rem 0 4rem; }

/* ---- Breadcrumbs ---- */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0 0 1.6rem; padding: 0; font-size: .85rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: .45rem; color: var(--line); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs [aria-current] { color: var(--ink); }

/* ---- Article layout ---- */
.article { max-width: 860px; }
.article-cat { font-family: var(--display); text-transform: uppercase; letter-spacing: .22em; font-size: .8rem; color: var(--gold); font-weight: 600; margin-bottom: .5rem; }
.article-head h1, .hub-head h1 { font-size: clamp(1.9rem, 5vw, 3rem); margin-bottom: .8rem; }
.article-meta { color: var(--muted); font-size: .88rem; margin-bottom: 1.2rem; }
.article-lead { font-size: 1.13rem; color: #cfd3d8; margin-bottom: 1.6rem; }

/* ---- TOC ---- */
.toc { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 1.2rem 1.4rem; margin: 0 0 1.8rem; }
.toc h2 { font-size: .95rem; letter-spacing: .12em; color: var(--gold); margin-bottom: .6rem; }
.toc ul { columns: 2; list-style: none; }
.toc li { margin: .25rem 0; break-inside: avoid; }
.toc a { color: #cfd3d8; font-size: .94rem; }
.toc a:hover { color: var(--gold); }
@media (max-width: 640px) { .toc ul { columns: 1; } }

/* ---- Body typography ---- */
.article-body h2 { font-size: clamp(1.3rem, 3vw, 1.75rem); margin: 2.4rem 0 .9rem; color: var(--ink); }
.article-body h2::before { content: ""; display: block; width: 46px; height: 3px; background: var(--grad); border-radius: 2px; margin-bottom: .6rem; }
.article-body h3 { font-size: 1.12rem; margin: 1.6rem 0 .6rem; color: var(--ink); text-transform: none; letter-spacing: 0; }
.article-body p { margin-bottom: 1rem; color: #d7dae0; }
.article-body ul, .article-body ol { margin: 0 0 1.1rem 1.3rem; color: #d7dae0; }
.article-body li { margin-bottom: .45rem; }
.article-body strong { color: var(--ink); }
.article-body a { text-decoration: underline; text-underline-offset: 3px; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.2rem 0 1.6rem; font-size: .94rem; }
.article-body th { font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; color: var(--gold);
  text-align: left; padding: .6rem .8rem; border-bottom: 2px solid var(--line); }
.article-body td { padding: .6rem .8rem; border-bottom: 1px solid var(--line); color: #d7dae0; vertical-align: top; }
.article-body tr:nth-child(even) td { background: rgba(255,255,255,.02); }

/* ---- CTA box ---- */
.cta-box { background: linear-gradient(135deg, rgba(240,169,43,.12), rgba(255,90,31,.08)); border: 1px solid rgba(240,169,43,.35);
  border-radius: 12px; padding: 1.8rem; margin: 2.2rem 0; text-align: center; }
.cta-box-title { font-size: 1.35rem; margin-bottom: .5rem; }
.cta-box-text { color: #d7dae0; max-width: 620px; margin: 0 auto 1.1rem; }
.cta-box-btn { display: inline-block; font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  font-size: 1rem; background: var(--grad); color: #1c0d00; padding: .95rem 2rem; border-radius: 6px;
  box-shadow: 0 10px 30px -8px rgba(255,90,31,.6); }
.cta-box-btn:hover { transform: translateY(-3px); filter: brightness(1.05); }
.cta-box-note { margin-top: .8rem; font-size: .8rem; color: var(--muted); }

/* ---- FAQ ---- */
.faq { margin-top: 2.6rem; }
.faq h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.faq-item { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; margin-bottom: .7rem; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: .95rem 1.2rem; font-weight: 600; list-style: none; position: relative; padding-right: 2.6rem; }
.faq-item summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--gold); }
.faq-item[open] summary::after { content: "–"; }
.faq-answer { padding: 0 1.2rem 1rem; color: #d7dae0; }

/* ---- Related / hub cards ---- */
.related { margin-top: 2.8rem; }
.related h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.related-card, .hub-card { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 1.3rem;
  transition: transform .15s ease, border-color .15s ease; }
.related-card:hover, .hub-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.related-cat, .hub-card-cat { font-family: var(--display); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; color: var(--gold); }
.related-title { display: block; font-family: var(--display); font-weight: 600; font-size: 1.05rem; margin: .4rem 0; color: var(--ink); line-height: 1.25; }
.related-meta, .hub-card-meta { font-size: .8rem; color: var(--muted); }

.hub-head { max-width: 860px; margin-bottom: 2rem; }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; margin-bottom: 2rem; }
.hub-card h2 { font-size: 1.2rem; margin: .45rem 0 .5rem; line-height: 1.2; }
.hub-card p { color: #c4c9d1; font-size: .94rem; margin-bottom: .9rem; }
.hub-card { color: inherit; }

/* ---- Teaser on the LP homepage ---- */
.guides-teaser { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 3.2rem 0; }
.guides-teaser-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.guides-teaser-list a { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 1.1rem 1.2rem; color: inherit; }
.guides-teaser-list a:hover { border-color: var(--gold); transform: translateY(-3px); }
.guides-teaser-list span { display: block; }
.guides-teaser-cat { font-family: var(--display); text-transform: uppercase; letter-spacing: .18em; font-size: .7rem; color: var(--gold); }
.guides-teaser-title { font-family: var(--display); font-weight: 600; font-size: 1rem; margin: .35rem 0 .25rem; line-height: 1.25; }
.guides-teaser-meta { font-size: .78rem; color: var(--muted); }
.guides-teaser .teaser-more { display: inline-block; margin-top: 1.4rem; font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; }

@media (max-width: 720px) {
  .header-nav { display: none; }
  .article { max-width: 100%; }
}
