/* Editorial layouts reuse the site's local fonts, tokens and badge. */
.guide { --display: 'Nunito', var(--font); max-width: 800px; overflow-wrap: anywhere; }
.guide h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin: 18px 0 22px; }
.guide h2 { font-family: var(--display); font-weight: 900; font-size: 26px; line-height: 1.25; }
.guide h3 { font-family: var(--display); font-size: 20px; font-weight: 800; line-height: 1.3; margin: 26px 0 10px; }
.guide .guide-kicker { margin-bottom: 12px; font-weight: 600; }
.guide .guide-intro { font-size: 19px; line-height: 1.65; }
.guide .guide-byline { font-size: 13px; color: var(--text-muted); margin: 20px 0 28px; }
.guide-contents { border-block: 1px solid var(--border); padding: 20px 0 8px; margin: 26px 0 36px; }
.guide-contents ul { list-style: none; margin-left: 0; }
.guide li { margin-bottom: 14px; }
.guide blockquote { border-left: 3px solid var(--primary); margin: 22px 0; padding-left: 20px; }
.guide-table { margin: 24px 0; }
.guide table { min-width: 0; table-layout: fixed; font-size: 14px; }
.guide caption { text-align: left; font-weight: 600; margin-bottom: 10px; }
.guide th { white-space: normal; }
.guide th, .guide td { padding: 12px 10px; overflow-wrap: anywhere; }
.guide-option { border-block: 1px solid var(--border); margin-top: 42px; padding: 28px 0; display: grid; grid-template-columns: minmax(0, 1fr) 190px; align-items: center; gap: 30px; }
.guide-option h2 { margin-top: 0; }
.guide-option .store-badge { margin-top: 12px; color: #FFF; text-decoration: none; }
.guide-app-shot { display: block; width: 100%; height: auto; border-radius: 16px; }
.guide-related { margin-top: 36px; }
.guide-faq { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); }
.guide-faq h3 { margin-top: 24px; }
.has-guides { flex-wrap: wrap; }
.guide-directory { flex-basis: 100%; text-align: left; margin-bottom: 24px; }
.guide-directory h2 { font-family: var(--display); font-size: 28px; font-weight: 900; }
.guide-directory p { margin: 8px 0 18px; color: var(--text-body); }
.guide-directory ul { columns: 2; column-gap: 40px; list-style: none; }
.guide-directory li { break-inside: avoid; margin-bottom: 12px; }
.guide-directory a { color: var(--text); text-underline-offset: 3px; }
.guide-shot-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0; }
.guide-shot-row img, .guide-feature img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: var(--shadow-md); background: var(--surface-soft); }
.guide-feature { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 32px; align-items: center; margin: 36px 0; }
.guide-feature:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) 210px; }
.guide-feature:nth-of-type(even) img { order: 2; }
.guide-art { display: block; width: 100%; height: auto; margin: 26px 0; border-radius: 22px; box-shadow: var(--shadow-md); }
.guide-hero { margin: 4px 0 24px; }
.guide-breadcrumb li:last-child { display: none; }
.guide-cta-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 0 0 30px; }
.guide-cta-top span { font-size: 14.5px; color: var(--text-muted); margin: 0; }
.guide .store-badge, .guide .store-badge:hover { color: #FFF; text-decoration: none; }
.app-badge { display: inline-block; line-height: 0; border-radius: 9px; transition: transform 0.15s; }
.app-badge img { display: block; height: 50px; width: auto; }
.app-badge:hover { transform: translateY(-2px); }
.app-badge-lg img { height: 58px; }
.hero .app-badge, .closing .app-badge { margin-top: 32px; }
.guide-option .app-badge { margin-top: 12px; }
.app-fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; filter: drop-shadow(0 8px 18px rgba(16, 35, 84, 0.30)); }
.app-fab img { height: 54px; }
body:has(.app-fab) footer { padding-bottom: 96px; }
@media (max-width: 600px) { .app-fab img { height: 48px; } }
.guide h2, .guide h3 { scroll-margin-top: 24px; }
.guide-art.plain, .guide-feature img.plain { border-radius: 0; box-shadow: none; background: none; }
.guide-art.narrow { max-width: 460px; margin-inline: auto; }
.guide-feature.art { grid-template-columns: 300px minmax(0, 1fr); }
.guide-feature.art:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) 300px; }
.guide-feature h3 { font-size: 24px; font-weight: 900; margin-top: 0; color: var(--text); }
@media (max-width: 600px) {
  .guide { padding-inline: 20px; }
  .guide-shot-row { gap: 8px; }
  .guide-shot-row img { border-radius: 12px; }
  .guide-feature, .guide-feature:nth-of-type(even) { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .guide-feature img { max-width: 220px; margin-inline: auto; order: 0 !important; }
  .guide-feature.art, .guide-feature.art:nth-of-type(even) { grid-template-columns: 1fr; }
  .guide-feature.art img { max-width: 300px; }
  .guide h2 { font-size: 23px; }
  .guide .guide-intro { font-size: 17px; }
  .guide table { font-size: 14px; }
  .guide th, .guide td { padding: 10px 6px; }
  .guide-option { grid-template-columns: 1fr; }
  .guide-app-shot { max-width: 250px; margin-inline: auto; }
  .guide-directory ul { columns: 1; }
}
@media print {
  header, footer, .skip-link, .guide-contents, .guide-option, .guide-related { display: none; }
  body { background: #FFF; }
  .guide { max-width: none; padding: 0; }
  .guide h2, .guide h1 { break-after: avoid; }
  .guide tr { break-inside: avoid; }
  .guide a { color: inherit; }
}

/* Shared guide navigation and discovery pages. */
.guide-breadcrumb { font-size: 13px; line-height: 1.6; margin-bottom: 24px; }
.guide-breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.guide-breadcrumb li { margin: 0; }
.guide-breadcrumb li + li::before { content: "›"; margin-right: 10px; }
.guide-breadcrumb li:last-child { flex-basis: 100%; }
.guide-byline a { color: var(--text); }
.hub-guides { padding-left: 22px; }
.hub-guides li { margin-bottom: 24px; }
.hub-guides a { font-weight: 600; }
.hub-guides p { margin-top: 6px; }
.about-confirm { border-left: 3px solid var(--primary); padding-left: 16px; }

/* Guides hub: illustrated cards. */
.guide.hub { max-width: 1080px; }
.hub-top { max-width: 720px; margin-bottom: 18px; }
.hub-top .guide-intro { margin-bottom: 22px; }
.hub-section { margin-top: 46px; }
.guide.hub .hub-section h2 { font-size: 28px; margin: 0 0 18px; }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 22px; }
.hub-grid-3 { grid-template-columns: repeat(3, 1fr); }
.guide.hub a.hub-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm); transition: transform 0.18s, box-shadow 0.18s; }
.guide.hub a.hub-card:hover { transform: translateY(-4px); box-shadow: var(--lift); color: var(--text); }
.hub-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--surface-soft); }
.hub-card .hub-tag { align-self: flex-start; margin: 14px 16px 0; padding: 2px 9px 3px; border-radius: 7px; background: var(--primary); color: #FFF; font-family: var(--display); font-weight: 900; font-size: 12px; }
.hub-card strong { font-family: var(--display); font-weight: 900; font-size: 19px; line-height: 1.25; margin: 9px 16px 0; color: var(--text); }
.hub-card .hub-hook { font-size: 14.5px; line-height: 1.5; color: var(--text-body); margin: 6px 16px 18px; }
.hub-card-big strong { font-size: 22px; }
.hub-by { margin-top: 44px; font-size: 14px; color: var(--text-muted); }
@media (max-width: 760px) { .hub-grid-3 { grid-template-columns: 1fr; } .hub-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } .hub-card strong { font-size: 16px; margin: 8px 12px 0; } .hub-card .hub-tag { margin: 12px 12px 0; font-size: 11px; } .hub-card .hub-hook { font-size: 13px; margin: 5px 12px 14px; } .hub-card-big strong { font-size: 20px; } }

/* Caption lists: two tidy columns of short lines. */
.guide ul.caption-list { list-style: none; margin: 14px 0 22px; columns: 2; column-gap: 26px; }
.guide ul.caption-list li { break-inside: avoid; margin: 0 0 10px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; font-size: 15px; color: var(--text); }
@media (max-width: 600px) { .guide ul.caption-list { columns: 1; } }
