/* =========================================================================
   Snap Shoot Share — blog & comparison articles
   Builds on styles.css (tokens, body, nav, footer, buttons, atmosphere).
   ========================================================================= */

/* ---------- Shared page width for blog ---------- */
.wrap { width: min(100% - 2.4rem, 1080px); margin-inline: auto; }

/* ---------- Breadcrumb ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
  font-size: .82rem; color: var(--text-faint); margin: 1.2rem 0 0; }
.crumbs a { color: var(--text-dim); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-hidden] { opacity: .5; }

/* =========================================================================
   BLOG INDEX
   ========================================================================= */
.blog-hero { text-align: center; padding: clamp(3.5rem,9vw,6rem) 0 1.5rem; }
.blog-hero .eyebrow { justify-content: center; }
.blog-hero h1 {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em;
  font-size: clamp(2.2rem,5.5vw,3.6rem); line-height: 1.05; margin: .6rem 0 .8rem;
}
.blog-hero p { color: var(--text-dim); max-width: 60ch; margin: 0 auto; font-size: 1.06rem; }

.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr));
  gap: 1.3rem; padding: 2rem 0 4rem; }
.post-card {
  display: flex; flex-direction: column; gap: .7rem; padding: 1.5rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); text-decoration: none; color: inherit;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.post-card:hover { transform: translateY(-4px); border-color: var(--border-strong);
  box-shadow: var(--shadow); }
.post-card__kicker { font-size: .76rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--accent); }
.post-card h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem;
  line-height: 1.2; letter-spacing: -.01em; }
.post-card p { color: var(--text-dim); font-size: .95rem; flex: 1; }
.post-card__meta { font-size: .8rem; color: var(--text-faint); margin-top: .2rem; }

/* ---------- Tag chips ---------- */
.tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.tag {
  font-size: .74rem; font-weight: 500; letter-spacing: .01em;
  padding: .28rem .66rem; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-dim); text-decoration: none; white-space: nowrap;
}
a.tag:hover { border-color: var(--accent); color: var(--accent); }

/* =========================================================================
   ARTICLE
   ========================================================================= */
.article { padding: 0 0 3rem; }
.article__head { max-width: 760px; margin: 0 auto; padding: 1.6rem 0 1.2rem; text-align: left; }
.article__kicker { font-size: .8rem; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; color: var(--accent); }
.article__head h1 {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em;
  font-size: clamp(2rem,4.6vw,3rem); line-height: 1.08; margin: .6rem 0 .9rem;
}
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem;
  color: var(--text-faint); font-size: .85rem; margin-bottom: 1rem; }
.byline strong { color: var(--text-dim); font-weight: 600; }
.byline span[aria-hidden] { opacity: .5; }

/* Prose */
.prose { max-width: 760px; margin: 0 auto; color: var(--text); font-size: 1.05rem; line-height: 1.72; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.015em;
  font-size: clamp(1.5rem,3vw,2rem); line-height: 1.2; margin-top: 2.6rem; scroll-margin-top: 90px; }
.prose h3 { font-weight: 600; font-size: 1.22rem; margin-top: 1.8rem; }
.prose p, .prose li { color: var(--text); }
.prose a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(255,122,69,.35); }
.prose a:hover { border-bottom-color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: .45rem; }
.prose strong { color: var(--text); font-weight: 600; }
.prose blockquote { border-left: 3px solid var(--accent); padding: .2rem 0 .2rem 1.1rem;
  color: var(--text-dim); font-style: italic; }

/* Verdict / callout */
.verdict { margin: 1.6rem auto; padding: 1.3rem 1.4rem; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--glow-a), transparent 70%), var(--surface);
  border: 1px solid var(--border-strong); }
.verdict strong { color: var(--accent); }
.callout { padding: 1.1rem 1.3rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); }

/* ---------- Comparison table ---------- */
.cmp { max-width: 880px; margin: 1.8rem auto; overflow-x: auto;
  border: 1px solid var(--border); border-radius: var(--radius); }
.cmp table { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 520px; }
.cmp caption { text-align: left; padding: .9rem 1.1rem; font-size: .82rem;
  color: var(--text-faint); }
.cmp th, .cmp td { padding: .8rem 1.05rem; text-align: left; vertical-align: top;
  border-top: 1px solid var(--border); }
.cmp thead th { background: var(--surface-2); color: var(--text); font-weight: 600;
  border-top: none; position: sticky; top: 0; }
.cmp tbody tr:nth-child(even) { background: var(--surface); }
.cmp th[scope="row"] { font-weight: 600; color: var(--text-dim); }
.cmp .col-us { color: var(--text); }
.cmp thead .col-us { color: var(--accent); }
.yes { color: var(--teal); font-weight: 600; }
.no { color: #ff6b6b; font-weight: 600; }
.partial { color: var(--accent-2); font-weight: 600; }

/* Pros / cons */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  max-width: 880px; margin: 1.6rem auto; }
@media (max-width: 620px) { .proscons { grid-template-columns: 1fr; } }
.proscons > div { padding: 1.2rem 1.3rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); }
.proscons h3 { margin: 0 0 .6rem; font-size: 1.05rem; }
.proscons .pros h3 { color: var(--teal); }
.proscons .cons h3 { color: #ff8a8a; }
.proscons ul { list-style: none; padding: 0; }
.proscons li { padding-left: 1.5rem; position: relative; }
.proscons li + li { margin-top: .5rem; }
.proscons .pros li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.proscons .cons li::before { content: "✕"; position: absolute; left: 0; color: #ff6b6b; font-weight: 700; }

/* FAQ */
.faq { max-width: 760px; margin: 1.4rem auto 0; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius);
  padding: .2rem 1.1rem; margin-top: .7rem; background: var(--surface); }
.faq summary { cursor: pointer; padding: .9rem 0; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { border-bottom: 1px solid var(--border); }
.faq p { color: var(--text-dim); padding: .8rem 0 1rem; line-height: 1.65; }

/* Article footer CTA + related */
.article-cta { max-width: 760px; margin: 2.8rem auto 0; text-align: center;
  padding: 2rem 1.5rem; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--glow-a), var(--glow-c) 90%), var(--surface);
  border: 1px solid var(--border-strong); }
.article-cta h2 { font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.5rem,3vw,2rem); margin-bottom: .6rem; }
.article-cta p { color: var(--text-dim); max-width: 46ch; margin: 0 auto 1.3rem; }

.related { max-width: 760px; margin: 2.4rem auto 0; }
.related h2 { font-size: 1.1rem; color: var(--text-dim); font-family: var(--font-body);
  font-weight: 600; margin-bottom: .8rem; }
.related ul { list-style: none; padding: 0; display: grid; gap: .5rem; }
.related a { color: var(--accent); text-decoration: none; }
.related a:hover { text-decoration: underline; }

.updated-note { max-width: 760px; margin: 1.4rem auto 0; font-size: .82rem; color: var(--text-faint); }
