/* ============================================================
   Allingo — Article (blog detail) styles
   ============================================================ */

.article-hero { padding: 52px 0 0; position: relative; overflow: hidden; }
.article-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .9; }
.article-hero .container { position: relative; z-index: 1; max-width: 800px; }
.art-crumb { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; font-size: 13px; font-weight: 500; flex-wrap: wrap; }
.art-crumb a { color: var(--text-mut); transition: color .15s; }
.art-crumb a:hover { color: var(--text); }
.art-crumb svg { width: 14px; height: 14px; color: var(--text-faint); flex: none; }
.art-crumb span[aria-current] { color: var(--text); font-weight: 600; }

.art-cat { display: inline-flex; align-items: center; font-family: var(--mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 5px 12px; border-radius: 7px; color: var(--accent); background: var(--accent-soft); margin-bottom: 18px; }
.article-hero h1 { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -.032em; line-height: 1.08; max-width: 22ch; }
.art-meta { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.art-meta .av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #5b8bff); color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 700; flex: none; }
.art-meta .mn { font-size: 14.5px; font-weight: 700; color: var(--text); line-height: 1.25; }
.art-meta .md { font-size: 13px; color: var(--text-mut); }
.art-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border-strong); display: inline-block; margin: 0 7px; vertical-align: middle; }

/* ---------- prose ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose > * + * { margin-top: 22px; }
.article-lead { font-size: 20px; line-height: 1.6; color: var(--text-sec); font-weight: 450; letter-spacing: -.01em; }
.prose h2 { font-size: clamp(24px, 3vw, 30px); letter-spacing: -.025em; line-height: 1.18; margin-top: 48px; }
.prose h3 { font-size: 20px; letter-spacing: -.015em; margin-top: 34px; }
.prose h2 .ord, .prose h3 .ord { color: var(--accent); font-variant-numeric: tabular-nums; margin-right: 8px; }
.prose p { font-size: 16.5px; line-height: 1.72; color: var(--text-sec); }
.prose a { color: var(--accent); font-weight: 550; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--accent-press); }
.prose strong { color: var(--text); font-weight: 680; }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.prose li { position: relative; padding-left: 30px; font-size: 16.5px; line-height: 1.65; color: var(--text-sec); }
.prose ul > li::before { content: ""; position: absolute; left: 6px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.prose ol { counter-reset: li; }
.prose ol > li { counter-increment: li; }
.prose ol > li::before { content: counter(li); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-family: var(--mono); font-size: 11.5px; font-weight: 700; display: grid; place-items: center; }
.prose li strong { color: var(--text); }

/* hero cover banner */
.art-hero-cover { margin: 30px 0 4px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); line-height: 0; }
.art-hero-cover img { width: 100%; height: auto; display: block; }

/* figure / image placeholder */
.art-figure { margin: 32px 0; }
.art-figure img { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--border); }
.art-imgph { position: relative; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-subtle); aspect-ratio: 16 / 7; display: grid; place-items: center; overflow: hidden; }
.art-imgph::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 0%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 70%); }
.art-imgph svg { width: 40px; height: 40px; color: var(--text-faint); position: relative; z-index: 1; }
.art-figure figcaption { margin-top: 10px; font-size: 13.5px; color: var(--text-mut); text-align: center; }

/* blockquote */
.prose blockquote { margin: 34px 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--accent); }
.prose blockquote p { font-size: 19px; line-height: 1.6; color: var(--text); font-weight: 450; font-style: italic; }
.prose blockquote p + p { margin-top: 14px; }
.prose blockquote cite { display: block; margin-top: 14px; font-style: normal; font-size: 14px; font-weight: 650; color: var(--text-mut); }

/* table */
.art-table-wrap { margin: 30px 0; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.art-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
.art-table th { text-align: left; font-weight: 700; color: var(--text); background: var(--bg-subtle); padding: 13px 16px; border-bottom: 1px solid var(--border); }
.art-table td { padding: 13px 16px; color: var(--text-sec); line-height: 1.5; border-bottom: 1px solid var(--border); vertical-align: top; }
.art-table tr:last-child td { border-bottom: none; }
.art-table td:first-child { color: var(--text); font-weight: 600; }
.art-table-note { font-size: 13.5px; color: var(--text-mut); margin-top: 12px; line-height: 1.5; }

/* cta block */
.art-cta { margin: 38px 0; padding: 30px 32px; border-radius: var(--radius-lg); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
.art-cta h3 { font-size: 21px; letter-spacing: -.02em; margin-bottom: 8px; }
.art-cta p { font-size: 15px; color: var(--text-sec); line-height: 1.55; margin-bottom: 18px; }

/* faq */
.art-faq { margin-top: 30px; }
.art-faq h3 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 18px; }
.art-faq details { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 0; margin-bottom: 10px; overflow: hidden; }
.art-faq summary { list-style: none; cursor: pointer; padding: 16px 20px; font-size: 15.5px; font-weight: 650; color: var(--text); display: flex; align-items: center; gap: 12px; }
.art-faq summary::-webkit-details-marker { display: none; }
.art-faq summary::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-right: 2px solid var(--text-mut); border-bottom: 2px solid var(--text-mut); transform: rotate(45deg); transition: transform .2s; flex: none; }
.art-faq details[open] summary::after { transform: rotate(-135deg); }
.art-faq .faq-ans { padding: 0 20px 18px; font-size: 15px; line-height: 1.65; color: var(--text-sec); }

/* end / share row */
.art-foot { max-width: 760px; margin: 48px auto 0; padding-top: 28px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.art-foot .by { display: flex; align-items: center; gap: 11px; }
.art-foot .av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #5b8bff); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.art-foot .mn { font-size: 14px; font-weight: 700; }
.art-foot .md { font-size: 12.5px; color: var(--text-mut); }

@media (max-width: 600px) {
  .article-hero { padding-top: 32px; }
  .prose p, .prose li { font-size: 16px; }
  .article-lead { font-size: 18px; }
  .art-cta { padding: 24px; }
}
