/* Guides: long-form pages under /guides/, on top of mvp-theme.css (nav, footer). */
.guide-main { max-width: 760px; margin: 0 auto; padding: 32px 22px 24px; color: #1e293b; font: 17px/1.75 var(--font-sans); }
.guide-kicker { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #0369a1; margin: 0 0 10px; }
.guide-main h1 { font-size: clamp(28px, 4.4vw, 40px); line-height: 1.18; letter-spacing: -.015em; color: #0f172a; margin: 0 0 14px; }
.guide-lede { font-size: 19px; line-height: 1.65; color: #334155; margin: 0 0 16px; }
.guide-byline { font-size: 13px; color: #64748b; margin: 0 0 26px; padding-bottom: 18px; border-bottom: 1px solid #e2e8f0; }
.guide-main h2 { font-size: 25px; line-height: 1.3; letter-spacing: -.01em; color: #0f172a; margin: 44px 0 12px; scroll-margin-top: 72px; }
.guide-main h3 { font-size: 19px; line-height: 1.4; color: #0f172a; margin: 28px 0 8px; }
.guide-main p { margin: 0 0 16px; }
.guide-main ul, .guide-main ol { margin: 0 0 18px; padding-left: 24px; }
.guide-main li + li { margin-top: 8px; }
.guide-main a { color: #1d4ed8; text-underline-offset: 3px; overflow-wrap: anywhere; }
.guide-main strong { color: #0f172a; }

.guide-answer { margin: 0 0 28px; padding: 18px 20px; border-radius: 14px; background: #f0f9ff; border: 1px solid #bae6fd; }
.guide-answer p:last-child { margin-bottom: 0; }
.guide-answer-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #0369a1; margin-bottom: 6px; }

.guide-toc { margin: 0 0 8px; padding: 16px 20px; border-radius: 14px; background: #f8fafc; border: 1px solid #e2e8f0; font-size: 15px; }
.guide-toc strong { display: block; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: #475569; margin-bottom: 6px; }
.guide-toc ol { margin: 0; padding-left: 20px; }
.guide-toc li + li { margin-top: 4px; }

.guide-figure { margin: 26px 0 30px; }
.guide-figure img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid #e2e8f0; background: #f8fafc; }
.guide-figure figcaption { font-size: 14px; line-height: 1.6; color: #64748b; margin-top: 10px; }

.guide-note { margin: 22px 0; padding: 16px 18px; border-radius: 12px; background: #fffbeb; border: 1px solid #fde68a; font-size: 15.5px; line-height: 1.7; }
.guide-note p:last-child { margin-bottom: 0; }

.guide-table-wrap { overflow-x: auto; margin: 0 0 22px; }
.guide-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.guide-table th, .guide-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid #e2e8f0; }
.guide-table th { font-size: 13px; letter-spacing: .03em; text-transform: uppercase; color: #475569; background: #f8fafc; }
.guide-table td:first-child { font-weight: 600; color: #0f172a; white-space: nowrap; }

.guide-checklist { list-style: none; padding-left: 0 !important; counter-reset: check; }
.guide-checklist > li { position: relative; padding: 16px 18px 16px 58px; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; counter-increment: check; }
.guide-checklist > li + li { margin-top: 12px; }
.guide-checklist > li::before { content: counter(check); position: absolute; left: 16px; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: #0c4a6e; color: #fff; font: 600 14px/28px var(--font-sans); text-align: center; }
.guide-checklist h3 { margin: 0 0 6px; font-size: 18px; }
.guide-checklist p { margin: 0 0 8px; }
.guide-checklist p:last-child { margin-bottom: 0; }
.guide-check-how { font-size: 15px; color: #475569; }

.guide-cta { margin: 40px 0 8px; padding: 24px; border-radius: 18px; background: linear-gradient(135deg, #0c4a6e, #0369a1); color: #e0f2fe; }
.guide-cta h2 { color: #fff; margin: 0 0 8px; font-size: 22px; }
.guide-cta p { margin: 0 0 16px; color: #e0f2fe; }
.guide-cta a.guide-cta-btn { display: inline-block; padding: 11px 18px; border-radius: 10px; background: #fff; color: #0c4a6e; font-weight: 600; text-decoration: none; }
.guide-cta a.guide-cta-btn:hover { background: #e0f2fe; }

.guide-sources { margin-top: 36px; padding-top: 18px; border-top: 1px solid #e2e8f0; font-size: 14.5px; line-height: 1.65; color: #475569; }
.guide-sources h2 { font-size: 18px; margin: 0 0 10px; }
.guide-sources li + li { margin-top: 4px; }

.guide-related { margin-top: 28px; }
.guide-related h2 { font-size: 18px; margin: 0 0 12px; }
.guide-related .guide-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guide-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.guide-card { display: block; padding: 18px; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; text-decoration: none !important; transition: border-color .15s, box-shadow .15s; }
.guide-card:hover { border-color: #93c5fd; box-shadow: 0 6px 20px rgba(15, 23, 42, .06); }
.guide-card strong { display: block; color: #0f172a; font-size: 16.5px; line-height: 1.4; margin-bottom: 6px; }
.guide-card span { display: block; color: #64748b; font-size: 14px; line-height: 1.55; }

/* Hub page: one full-width guide at a time; swipe, arrows or dots for the rest. */
.guides-hub { max-width: 1000px; }
.guide-carousel { margin: 8px 0 12px; }
.guide-track { position: relative; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.guide-track::-webkit-scrollbar { display: none; }
.guide-slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); border: 1px solid #e2e8f0; border-radius: 18px; overflow: hidden; background: #fff; color: inherit; text-decoration: none !important; transition: border-color .15s; }
.guide-slide:hover { border-color: #93c5fd; }
.guide-slide img { display: block; width: 100%; height: 100%; aspect-ratio: 1200 / 630; object-fit: cover; background: #f0f9ff; border-right: 1px solid #e2e8f0; }
.guide-slide-body { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 22px 28px; }
.guide-slide-kicker { margin: 0 !important; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #0369a1; }
.guide-slide strong { font-size: 22px; line-height: 1.3; color: #0f172a; }
.guide-slide span { font-size: 15.5px; line-height: 1.6; color: #475569; }
.guide-slide .guide-slide-more { margin-top: 4px; font-weight: 600; color: #1d4ed8; }
.guide-carousel-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; }
.guide-carousel-nav[hidden] { display: none; }
.guide-carousel-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #e2e8f0; background: #fff; color: #0f172a; font-size: 17px; line-height: 1; cursor: pointer; transition: border-color .15s, background .15s; }
.guide-carousel-btn:hover { border-color: #93c5fd; background: #f0f9ff; }
.guide-dots { display: flex; align-items: center; gap: 8px; }
.guide-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: #cbd5e1; cursor: pointer; transition: width .2s, background .2s; }
.guide-dot[aria-current="true"] { width: 22px; background: #0369a1; }

@media (max-width: 640px) {
  .guide-slide { grid-template-columns: 1fr; }
  .guide-slide img { height: auto; border-right: 0; border-bottom: 1px solid #e2e8f0; }
  .guide-slide-body { padding: 16px 18px 18px; }
  .guide-slide strong { font-size: 19px; }
}

@media (max-width: 560px) {
  .guide-related .guide-cards { grid-template-columns: 1fr; }
  .guide-main { font-size: 16.5px; padding-top: 22px; }
  .guide-lede { font-size: 17.5px; }
  .guide-main h2 { font-size: 22px; }
  .guide-checklist > li { padding-left: 52px; }
  .guide-table td:first-child { white-space: normal; }
}

.guide-disclaimer { margin: 28px 0 0; padding: 14px 16px; border-radius: 12px; background: #f8fafc; border: 1px solid #e2e8f0; font-size: 13.5px; line-height: 1.65; color: #64748b; }
