/* ── Guide pages shared styles ── */

.guide-hero {
  background: #f5ede0;
  background-image: radial-gradient(ellipse 75% 60% at 50% 0%, rgba(212,160,80,0.32) 0%, transparent 65%);
  padding: 3.5rem 1.5rem 3rem;
  border-bottom: 1px solid rgba(212,160,80,0.18);
  position: relative;
  overflow: hidden;
}
.guide-hero .breadcrumb,
.guide-hero .breadcrumb a { color: rgba(180,120,40,0.8); }
.guide-hero .breadcrumb .sep { color: rgba(180,120,40,0.4); }
.guide-eyebrow {
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #a07030;
  margin-bottom: .65rem;
}
.guide-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: #1c1410;
  letter-spacing: -.03em;
  margin-bottom: .85rem;
  line-height: 1.15;
}
.guide-meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  color: #6b7280;
  font-family: var(--sans);
  flex-wrap: wrap;
}

/* Layout */
.guide-layout {
  max-width: 1040px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 760px) {
  .guide-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .guide-toc { position: static !important; }
}

/* Sticky TOC */
.guide-toc { position: sticky; top: 80px; }
.guide-toc-inner {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(0,0,0,.07);
  padding: 1.25rem 1.25rem 1.5rem;
}
.guide-toc-label {
  font-family: var(--sans);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: .75rem;
}
.guide-toc ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.guide-toc ul li a {
  display: block;
  font-size: .82rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: .3rem .5rem;
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: color .15s, background .15s, border-color .15s;
  line-height: 1.4;
}
.guide-toc ul li a:hover {
  color: #d4a050;
  background: rgba(212,160,80,.07);
  border-left-color: #d4a050;
}

/* Article body */
.guide-body { min-width: 0; }
.guide-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text);
  margin: 2rem 0 .75rem;
  padding-top: .25rem;
}
.guide-body h2:first-child { margin-top: 0; }
.guide-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 1.5rem 0 .5rem;
}
.guide-body p {
  font-size: .925rem;
  line-height: 1.75;
  color: #3a2e26;
  margin-bottom: 1rem;
}
.guide-body ul, .guide-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.guide-body li {
  font-size: .925rem;
  line-height: 1.7;
  color: #3a2e26;
  margin-bottom: .3rem;
}

/* Callout box */
.guide-callout {
  background: rgba(212,160,80,.1);
  border-left: 3px solid #d4a050;
  border-radius: 0 8px 8px 0;
  padding: .9rem 1.1rem;
  margin-bottom: 1.75rem;
  font-size: .875rem;
  color: #5c3d10;
  line-height: 1.6;
}
.guide-callout strong { color: #a87838; }

/* Warning box */
.guide-warning {
  background: rgba(239,68,68,.06);
  border-left: 3px solid #ef4444;
  border-radius: 0 8px 8px 0;
  padding: .9rem 1.1rem;
  margin: 1rem 0;
}
.guide-warning ul { margin-bottom: 0; }
.guide-warning li { font-size: .875rem; color: #7f1d1d; margin-bottom: .5rem; }
.guide-warning li:last-child { margin-bottom: 0; }

/* Table */
.guide-table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; border-radius: 10px; box-shadow: 0 1px 8px rgba(0,0,0,.07); }
.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .85rem;
  background: #fff;
}
.guide-table th {
  background: #f5efe6;
  color: #5c3d10;
  font-weight: 700;
  padding: .7rem 1rem;
  text-align: left;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 2px solid #e8ddd0;
}
.guide-table td {
  padding: .65rem 1rem;
  border-bottom: 1px solid #f0ebe2;
  color: #3a2e26;
  vertical-align: top;
}
.guide-table tr:last-child td { border-bottom: none; }
.guide-table tr:hover td { background: #faf5ed; }

/* Interactive checklist */
.guide-checklist {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(0,0,0,.07);
  padding: 1.25rem 1.5rem;
  margin: 1rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.guide-checklist label {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .875rem;
  color: #3a2e26;
  cursor: pointer;
  line-height: 1.5;
}
.guide-checklist input[type="checkbox"] {
  accent-color: #d4a050;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: .1rem;
}
