/* Folio Souq — guide pages */
/* =====================================================================
   Guide pages (every page inside the guides folder)
   ===================================================================== */
:root { --pro: #2B8A3E; --con: #C92A2A; }

.article-hero { padding-block: 40px 28px; }
@media (min-width: 960px) { .article-hero { padding-block: 64px 40px; } }
.article-hero h1 { font-size: clamp(1.9rem, 1.2rem + 3vw, 3.2rem); max-width: 20em; margin-top: 14px; }
.article-hero .lead { max-width: 40em; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--o-ink); }
.crumbs [aria-current] { color: var(--ink); font-weight: 700; }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.meta-row li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: .9rem; font-weight: 700; }
.meta-row svg { width: 17px; height: 17px; color: var(--o-2); flex: none; }

.article-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 40px; }
@media (min-width: 1040px) { .article-grid { grid-template-columns: minmax(0, 1fr) 270px; gap: 48px; align-items: start; } }
.article-body { min-width: 0; max-width: 820px; }
.article-body > section { padding-top: 40px; scroll-margin-top: 110px; }
.article-body > section:first-of-type { padding-top: 28px; }
.article-body h2 { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2rem); }
.article-body p, .article-body li { font-size: 1.02rem; }
.article-body ul.plain { margin: 0; padding-inline-start: 1.2em; }
.article-body ul.plain li { margin-bottom: 8px; }
.article-body ul.plain li::marker { color: var(--o-2); }

/* Table of contents: sticky sidebar on desktop, swipeable chips on phones */
.toc { order: -1; min-width: 0; border-radius: var(--radius); padding: 16px 18px; }
.toc strong { display: block; font-size: .85rem; color: var(--o-ink); margin-bottom: 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.toc ol::-webkit-scrollbar { display: none; }
.toc a { display: block; white-space: nowrap; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .92rem; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); }
.toc a small { color: var(--muted); font-weight: 600; margin-inline-start: 4px; }
.toc a:hover { color: var(--o-ink); background: var(--o-soft); }
@media (min-width: 1040px) {
  .toc { order: 0; position: sticky; top: 110px; padding: 20px; }
  .toc ol { flex-direction: column; gap: 2px; overflow: visible; }
  .toc a { white-space: normal; background: none; border: 0; padding: 7px 10px; border-radius: 12px; }
}

/* Callouts */
.note { border-radius: 18px; padding: 16px 20px; background: var(--o-soft); border: 1px solid rgba(247, 103, 7, .2); font-size: .95rem; display: flex; gap: 12px; align-items: flex-start; }
.note p { margin: 0; font-size: .95rem; }
.note svg { width: 22px; height: 22px; color: var(--o-2); flex: none; margin-top: 3px; }
.note + .note { margin-top: 12px; }

/* Problem → tool table */
.fit-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--radius); overflow: hidden; font-size: .98rem; }
.fit-table th, .fit-table td { padding: 12px 16px; text-align: start; vertical-align: middle; border-bottom: 1px solid var(--line); }
.fit-table thead th { background: var(--o-soft); color: var(--o-ink); font-size: .88rem; font-weight: 800; }
.fit-table tbody tr:last-child td { border-bottom: 0; }
.fit-table td:last-child { white-space: nowrap; width: 1%; }
.num-link { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; margin: 2px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 800; font-size: .88rem; text-decoration: none; box-shadow: 0 4px 10px -3px var(--glow); }

/* Zones and items */
.zone-head { margin-bottom: 18px; }
.zone-head .kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 800; color: var(--o-ink); margin-bottom: 6px; }
.zone-head .kicker::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--grad); }
.zone-head p { color: var(--muted); margin: 0; }
.items { display: grid; gap: 18px; }
.item { border-radius: var(--radius); padding: 22px; scroll-margin-top: 110px; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 720px) { .item { padding: 28px; } }
.item-head { display: flex; align-items: center; gap: 14px; }
.item-head .icon { position: relative; margin: 0; flex: none; }
.item-head .n { position: absolute; top: -8px; inset-inline-start: -8px; min-width: 24px; height: 24px; padding: 0 5px; border-radius: 999px; background: #fff; color: var(--o-ink); font-size: .8rem; font-weight: 900; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(28, 20, 15, .15); }
.item-head h3 { margin: 0; font-size: clamp(1.12rem, 1rem + .5vw, 1.3rem); }
.item-intro { margin: 0; color: var(--ink); }
.verdict { display: grid; gap: 10px; margin: 0; }
@media (min-width: 720px) { .verdict { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.verdict > div { border-radius: 16px; padding: 12px 14px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); }
.verdict dt { font-size: .82rem; font-weight: 800; display: flex; align-items: center; gap: 6px; margin-bottom: 2px; color: var(--o-ink); }
.verdict dt::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.verdict .pro dt { color: var(--pro); }
.verdict .con dt { color: var(--con); }
.verdict dd { margin: 0; font-size: .95rem; line-height: 1.7; color: var(--ink); }
.check-first { margin: 0; font-size: .97rem; color: var(--muted); }
.check-first strong { color: var(--ink); }
.facts { border-radius: 18px; padding: 16px; background: var(--o-soft); border: 1px solid rgba(247, 103, 7, .16); display: grid; gap: 14px; }
@media (min-width: 720px) { .facts { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 16px 18px; } }
.facts dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
.facts dt { font-size: .78rem; font-weight: 800; color: var(--o-ink); }
.facts dd { margin: 0; font-size: .95rem; font-weight: 700; line-height: 1.5; }
.buy { min-height: 48px; font-size: 1rem; }
/* More guides */
.more-grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .more-grid { grid-template-columns: repeat(2, 1fr); } }


/* Product photo beside each tool title */
.item-head .item-img { margin-inline-start: auto; width: 76px; height: 76px; flex: none; object-fit: contain; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
@media (min-width: 720px) { .item-head .item-img { width: 92px; height: 92px; } }
.facts dd a { color: var(--ink); text-decoration-color: rgba(247, 103, 7, .45); text-underline-offset: 3px; }
.facts dd a:hover { color: var(--o-ink); }
.facts dd small { font-size: .78rem; color: var(--muted); font-weight: 700; }
.article-body [data-share] { margin-top: 22px; }
