/* Blog index and posts. Linked only from nl/blog/** and en/blog/**. */

/* index */
.blog-list-sec { padding-top: 88px; }
.blog-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.blog-filter[hidden] { display: none; }
.blog-chip { height: 34px; padding: 0 14px; border-radius: 17px; font: inherit; font-size: 13.5px; color: var(--ink-2); background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; transition: color .2s, background-color .2s, box-shadow .2s; }
.blog-chip:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-3); }
.blog-chip[aria-pressed="true"] { color: var(--accent-fg); background: var(--accent); box-shadow: none; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.blog-card { position: relative; display: flex; flex-direction: column; padding: 28px 28px 26px; border-radius: var(--radius); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.blog-card:hover, .blog-card:focus-within { box-shadow: inset 0 0 0 1px var(--line-3); }
.blog-card[hidden] { display: none; }
.blog-card-img { margin: -28px -28px 24px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--bg); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 13px; color: var(--ink-3); }
.blog-pill { display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-hi); }
.blog-card-t { margin-top: 18px; font-size: 21px; font-weight: 500; letter-spacing: -.018em; line-height: 1.3; color: var(--ink); text-wrap: balance; }
.blog-card-t a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.blog-card-t a:focus-visible { outline: none; }
.blog-card-t a:focus-visible::after { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.blog-card-x { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--ink-2); flex: 1; }
.blog-card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; font-weight: 500; color: var(--ink); }
.blog-card-more .ar svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.blog-card-more .ar svg + svg { display: none; }
.blog-empty { padding: 40px; border-radius: var(--radius); background: var(--bg-2); color: var(--ink-2); text-align: center; }
.blog-empty[hidden] { display: none; }

/* post */
.blog-ph .h1 { font-size: clamp(36px, 4.4vw, 60px); max-width: 16em; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 24px; font-size: 14px; color: var(--ink-3); }
.blog-post-sec { padding-top: 72px; padding-bottom: 104px; }
.blog-post-sec .wrap-narrow > * + * { margin-top: 40px; }
.blog-cover { border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.blog-cover img { width: 100%; height: auto; display: block; }
.blog-answer { padding: 24px 26px 26px; border-radius: var(--radius); background: rgba(var(--accent-rgb), .12); box-shadow: inset 3px 0 0 var(--accent); }
.blog-answer p { margin-top: 10px; font-size: 18px; line-height: 1.6; color: var(--ink); }
.blog-takeaways { padding: 24px 26px 26px; border-radius: var(--radius); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.blog-takeaways h2 { display: block; }
.blog-takeaways ul { margin-top: 12px; }
.blog-takeaways li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.blog-takeaways li + li { margin-top: 8px; }
.blog-takeaways li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 6px; height: 1px; background: var(--ink-3); }
.blog-body { max-width: none; }
.blog-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.blog-body img { max-width: 100%; height: auto; border-radius: var(--radius); }
.blog-body blockquote { margin-top: 14px; padding-left: 18px; border-left: 2px solid var(--line-2); color: var(--ink); }
.blog-body code { font-size: .92em; padding: 1px 5px; border-radius: 4px; background: var(--bg-2); }
.blog-body table { display: block; overflow-x: auto; }
.blog-faq h2, .blog-sources h2 { color: var(--ink); font-size: 23px; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; margin-bottom: 18px; }
.blog-faq .faq-a > div { padding-right: 0; }
.blog-sources ol { counter-reset: s; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.blog-sources li { position: relative; padding-left: 26px; overflow-wrap: anywhere; }
.blog-sources li + li { margin-top: 8px; }
.blog-sources li::before { counter-increment: s; content: counter(s) "."; position: absolute; left: 0; color: var(--ink-3); font-size: 14px; }
.blog-sources a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; }
.blog-sources a:hover { text-decoration-color: var(--ink); }
.blog-editorial { font-size: 13.5px; color: var(--ink-3); }
.blog-back { padding-top: 28px; border-top: 1px solid var(--line); font-size: 15px; }
.blog-back a { color: var(--ink-2); transition: color .2s; }
.blog-back a:hover { color: var(--ink); }

@media (max-width: 1100px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .blog-grid { grid-template-columns: 1fr; gap: 16px; }
  .blog-card { padding: 22px 20px 22px; }
  .blog-card-img { margin: -22px -20px 20px; }
  .blog-list-sec { padding-top: 56px; }
  .blog-ph .h1 { font-size: 30px; letter-spacing: -.03em; hyphens: auto; }
  .blog-post-sec { padding-top: 48px; padding-bottom: 72px; }
  .blog-answer p { font-size: 17px; }
  .blog-body { font-size: 16px; }
  .blog-body h2 { font-size: 21px; }
}
