/* ============================================================================
   Long-Form SEO Guide Pages (public/guides/*.html)
   Shared editorial typography, tables, TOC, callouts & related guides strip
   ============================================================================ */
.guide-shell {
  width: min(100%, 960px);
  padding: clamp(28px, 4vw, 48px) var(--gutter) 84px;
  margin-inline: auto;
}

.guide-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.guide-breadcrumb a {
  color: var(--ink-soft);
  font-weight: 500;
  transition: color 0.16s ease;
}

.guide-breadcrumb a:hover { color: var(--coral-deep); }
.guide-breadcrumb span[aria-hidden="true"] { color: var(--muted-light); }

.guide-hero {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-card);
}

.guide-hero h1 {
  margin-top: 14px;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.guide-lead {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.guide-meta-row {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 12.5px;
  color: var(--muted-light);
}

.guide-toc {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.guide-toc-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 10px;
}

.guide-toc ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.guide-toc a {
  font-size: 13px;
  font-weight: 600;
  color: var(--coral-deep);
}

.guide-toc a:hover { text-decoration: underline; text-underline-offset: 3px; }

.guide-article {
  margin-top: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-card);
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.88;
}

.guide-article section + section {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.guide-article h2 {
  font-size: clamp(20px, 2.5vw, 25px);
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  scroll-margin-top: 88px;
}

.guide-article h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 18px 0 8px;
}

.guide-article p + p { margin-top: 10px; }

.guide-article ul,
.guide-article ol {
  margin-top: 10px;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.guide-article code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--surface-warm);
  border: 1px solid var(--line);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.9em;
  color: var(--ink);
}

.guide-callout {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff9f3 0%, #f4f9f6 100%);
  border: 1px solid var(--coral-border);
  font-size: 13.8px;
  line-height: 1.78;
}

.guide-callout--warn {
  background: #fdf4f1;
  border-color: rgba(191, 93, 61, 0.34);
}

.guide-callout strong { color: var(--ink); }

.guide-table-wrap {
  margin-top: 16px;
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
}

.guide-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 13.5px;
}

.guide-table th,
.guide-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.guide-table thead th {
  background: var(--surface-warm);
  color: var(--ink);
  font-weight: 700;
  font-size: 12.5px;
}

.guide-table tbody tr:last-child th,
.guide-table tbody tr:last-child td { border-bottom: 0; }
.guide-table tbody th { font-weight: 700; color: var(--ink); }
.guide-price { font-family: var(--font-num); font-weight: 700; color: var(--coral-deep); white-space: nowrap; }

.guide-cards-2 {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.guide-mini-card {
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.guide-mini-card h3 { margin: 0 0 6px; font-size: 15px; }
.guide-mini-card p { font-size: 13.3px; color: var(--muted); line-height: 1.72; }

.guide-cta-box {
  margin-top: 28px;
  padding: 24px 26px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fffaf4 0%, #f4f9f6 100%);
  border: 1px solid var(--coral-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.guide-cta-copy { flex: 1 1 380px; }
.guide-cta-copy h2 { font-size: 20px; color: var(--ink); }
.guide-cta-copy p { margin-top: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.guide-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.related-guides {
  margin-top: 32px;
}

.related-guides h2 {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 14px;
}

.related-guides-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.guide-figure {
  margin-top: 12px;
  max-width: 100%;
  min-width: 0;
}

.guide-shot {
  overflow: hidden;
  max-width: 100%;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-warm);
}

.guide-shot img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 7px;
}

.guide-figure figcaption {
  margin-top: 8px;
  font-size: 12.8px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.guide-figure figcaption strong {
  color: var(--ink);
  margin-right: 4px;
}

.guide-proof-list {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.guide-proof-item {
  min-width: 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.guide-proof-item p {
  font-size: 13.8px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.guide-proof-item strong {
  color: var(--ink);
}

.guide-faq-list {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.guide-faq-item {
  min-width: 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.guide-faq-item h3 {
  margin: 0 0 8px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}

.guide-faq-item p {
  font-size: 13.8px;
  line-height: 1.78;
  color: var(--ink-soft);
}

@media (max-width: 780px) {
  .guide-cards-2,
  .related-guides-grid { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .guide-shot { padding: 6px; }
  .guide-proof-item,
  .guide-faq-item { padding: 14px 15px; }
}

