/* Vezora Pro blog (vezora.app/<lang>/blog). Loaded after landing.css and
   uses its tokens, header, footer and buttons; this file only adds the
   article list and the article text. */
.blog { padding: 24px 0 72px; }
@media (min-width: 1024px) { .blog { padding: 40px 0 96px; } }
.blog-wrap { max-width: 800px; }
@media (min-width: 1200px) { .blog-wrap { max-width: 880px; } }

/* Breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: #57534e; margin-bottom: 28px; }
.crumbs li { display: inline-flex; gap: 6px; min-width: 0; }
.crumbs li + li::before { content: '/'; color: #c4c0b8; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs li[aria-current] { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
/* On a phone the article title is the H1 right below: the trail stops at "Blog". */
@media (max-width: 639px) { .crumbs li[aria-current]:not(:nth-child(2)) { display: none; } }

/* List */
.blog-head h1 { font-size: clamp(30px, 6vw, 46px); line-height: 1.1; margin: 0 0 14px; }
.blog-head .lead { margin-bottom: 32px; }
.post-list { display: grid; gap: 16px; }
.post-card a { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; text-decoration: none; transition: border-color .15s; }
.post-card a:hover { border-color: #cfcac2; }
.post-card h3 { font-size: 21px; line-height: 1.25; margin: 10px 0 8px; }
.post-card p { color: var(--ink-2); font-size: 15px; }
.post-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); }
.chip { background: var(--mint); color: var(--teal-ink); font-weight: 600; padding: 4px 9px; border-radius: 999px; }

/* Article */
.post-head h1 { font-size: clamp(30px, 6.4vw, 48px); line-height: 1.1; margin: 0 0 16px; overflow-wrap: break-word; }
.post-meta { font-size: 14px; color: var(--ink-3); }
.toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 24px; margin: 28px 0 8px; }
.toc h2 { font: 600 13px var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.toc ol { list-style: decimal; padding-inline-start: 20px; display: grid; gap: 6px; font-size: 15px; }
.toc a { color: var(--teal-ink); text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.prose { font-size: 17px; line-height: 1.7; color: var(--ink); overflow-wrap: break-word; }
@media (min-width: 768px) { .prose { font-size: 18px; } }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(24px, 4.4vw, 30px); line-height: 1.2; margin-top: 1.8em; scroll-margin-top: 88px; }
.prose h3 { font-size: clamp(19px, 3.4vw, 22px); line-height: 1.3; margin-top: 1.5em; scroll-margin-top: 88px; }
.prose ul { list-style: disc; padding-inline-start: 1.3em; }
.prose ol { list-style: decimal; padding-inline-start: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--teal-ink); }
.prose strong { font-weight: 700; }
.prose blockquote { margin: 1.4em 0; padding: 16px 20px; background: var(--mint); border-radius: 14px; color: var(--teal-ink); }
.prose blockquote > * + * { margin-top: .6em; }
.prose code { font-size: .9em; background: var(--sand); padding: 1px 5px; border-radius: 5px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.5; }
.prose th, .prose td { text-align: start; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); min-width: 120px; }
.prose th { background: var(--sand); font-weight: 600; }
.prose tr:last-child td { border-bottom: 0; }

/* Call to action and more articles */
.post-cta { background: var(--mint); border-radius: 28px; padding: 32px 24px; margin-top: 48px; }
@media (min-width: 768px) { .post-cta { padding: 40px; } }
.post-cta h2 { font-size: clamp(24px, 4.4vw, 30px); line-height: 1.2; margin-bottom: 10px; }
.post-cta p { color: var(--ink-2); margin-bottom: 22px; }
.more { margin-top: 56px; }
.more > h2 { font-size: 24px; margin-bottom: 18px; }

/* Interactive tools embedded in an article (tools/render.ts) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tool { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 20px; margin: 28px 0 8px; }
@media (min-width: 768px) { .tool { padding: 32px; } }
.tool h2 { font-size: clamp(22px, 4vw, 28px); line-height: 1.2; margin-bottom: 6px; }
.tool-intro { color: var(--ink-2); margin-bottom: 20px; }
.tool-grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .tool-grid { grid-template-columns: 1fr 1fr; } }
.tool-group { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 16px; margin: 0; min-width: 0; display: grid; gap: 12px; align-content: start; }
.tool-group legend { font: 600 14px var(--body); color: var(--teal-ink); padding: 0 6px; }
.tool-field { display: grid; gap: 4px; }
.tool-input:has(input[aria-invalid]) { border-color: #c2410c; }
.tool-format { margin-top: 12px; }
.tool-label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.tool-input { display: flex; align-items: center; border: 1px solid #d6d3cd; border-radius: 10px; background: var(--bg); }
.tool-input:focus-within { border-color: var(--teal); outline: 2px solid var(--mint); }
.tool-input input { flex: 1; min-width: 0; border: 0; background: transparent; font: 500 16px var(--body); color: var(--ink); padding: 10px 12px; }
.tool-input input:focus { outline: none; }
.tool-suffix { padding: 0 12px; color: var(--ink-3); font-size: 15px; }
.tool-hint { font-size: 13px; color: var(--ink-3); }
.tool-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.tool-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--teal); flex: none; }
.tool-base { margin: 20px 0 10px; font-size: 15px; color: var(--ink-2); }
.tool-results { border-collapse: collapse; width: 100%; font-size: 15px; }
.tool-results th, .tool-results td { text-align: start; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tool-results thead th { background: var(--sand); font-weight: 600; white-space: normal; min-width: 110px; }
.tool-results tbody td { font-variant-numeric: tabular-nums; }
.tool-results tbody tr:last-child th, .tool-results tbody tr:last-child td { border-bottom: 0; }
.tool-row-off td { color: var(--ink-3); text-decoration: line-through; }
.tool-error { margin-top: 10px; color: #9a3412; font-size: 14px; }
.tool-error[hidden] { display: none; }
.tool-note { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.tool-note a { color: var(--teal); }
/* Phones: each model is a card with labelled amounts instead of a wide table. */
@media (max-width: 599px) {
  .tool .table-wrap.tool-cards { border: 0; background: transparent; overflow: visible; }
  .tool-results:not(.tool-results-2) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tool-results:not(.tool-results-2), .tool-results:not(.tool-results-2) tbody, .tool-results:not(.tool-results-2) tr, .tool-results:not(.tool-results-2) th, .tool-results:not(.tool-results-2) td { display: block; }
  .tool-results:not(.tool-results-2) tr { border: 1px solid var(--line); border-radius: 14px; padding: 4px 14px; margin-bottom: 10px; background: var(--white); }
  .tool-results:not(.tool-results-2) tbody th { padding: 10px 0 6px; border-bottom: 1px solid var(--line); }
  .tool-results:not(.tool-results-2) td { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 0; }
  .tool-results:not(.tool-results-2) td::before { content: attr(data-label); color: var(--ink-3); }
  .tool-results:not(.tool-results-2) tbody tr:last-child th { border-bottom: 1px solid var(--line); }
}
.tool-results-2 th { font-weight: 500; color: var(--ink-2); white-space: normal; }
.tool-results-2 td { text-align: end; font-weight: 600; }
