/* blog.css: the blog (fix round, 3 Dec 2026): its index and its posts (each post's own CSS imports this file).
   The index: a short intro on the white lattice ground, a card per post (a photo the site already has, the title,
   one line, "Read the post"), a navy close with the main button. A post: its title on the lattice, one wide photo,
   the words in a reading column with the site's orange diamonds as bullets, a navy card with the main button, and
   the other two posts. Only the tokens. */

/* ---------- the index's header ---------- */
.blog-hero { padding-block: clamp(56px, 8vw, 104px) clamp(8px, 2vw, 24px); }
.blog-hero__in { display: grid; justify-items: start; gap: 18px; }
.blog-hero__title { max-width: 760px; font-size: var(--fs-h1); }
.blog-hero__lead { max-width: 640px; margin: 0; font-size: var(--fs-lead); line-height: 1.55; color: var(--c-ink-soft); }

/* ---------- the cards ---------- */
.blog-posts { padding-top: clamp(32px, 4vw, 48px); }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.blog-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.blog-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--radius-l); background: var(--c-paper); box-shadow: var(--shadow-m); color: var(--c-ink); text-decoration: none; transition: box-shadow var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.blog-card:hover { box-shadow: var(--shadow-l); transform: translateY(-2px); }
.blog-card:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 3px; }
.blog-card__pic { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-paper-alt); }
.blog-card__pic img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--pos, 50% 50%); }
.blog-card__text { display: grid; align-content: start; gap: 10px; padding: 22px 24px 24px; }
.blog-card__title { font: 600 var(--fs-h3)/1.25 var(--font-display); letter-spacing: -0.01em; color: var(--c-ink); }
.blog-card__summary { font-size: var(--fs-body); line-height: 1.55; color: var(--c-ink-soft); }
.blog-card__go { margin-top: 6px; }
.blog-card:hover .blog-card__go .button__arrow { transform: translateX(3px); }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .blog-grid, .blog-grid--two { grid-template-columns: 1fr; } }

/* ---------- the index's close ---------- */
.blog-close__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.blog-close__copy { display: grid; gap: var(--space-3); max-width: 620px; }

/* ---------- a post ---------- */
.post { padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 104px); }
.post__head { display: grid; justify-items: start; gap: 16px; max-width: calc(820px + 2 * var(--gutter)); }
.post__back { display: inline-flex; align-items: center; gap: 8px; font: 700 var(--fs-small)/1.2 var(--font-ui); color: var(--c-brand-text); text-decoration: none; }
.post__back:hover { text-decoration: underline; }
.post__title { font-size: var(--fs-h1); }
.post__meta { margin: 0; font: 600 var(--fs-small)/1.3 var(--font-ui); color: var(--c-ink-soft); }
.post__figure { max-width: calc(1040px + 2 * var(--gutter)); margin-block: clamp(28px, 4vw, 44px) clamp(32px, 4vw, 48px); }
.post__pic { position: relative; aspect-ratio: 16 / 8; overflow: hidden; border-radius: var(--radius-l); background: var(--c-paper-alt); box-shadow: var(--shadow-l); }
.post__pic img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--pos, 50% 50%); }
@media (max-width: 640px) { .post__pic { aspect-ratio: 4 / 3; } }

/* the reading column */
.post__body { max-width: calc(720px + 2 * var(--gutter)); font-size: 1.125rem; line-height: 1.7; color: var(--c-ink); }
.post__body > p { margin: 0 0 1.1em; }
.post__body > h2 { margin: 1.9em 0 0.6em; font: 600 clamp(1.375rem, 1.15rem + 0.8vw, 1.75rem)/1.25 var(--font-display); letter-spacing: -0.015em; }
.post__body > :first-child { margin-top: 0; }
.post__body b { font-weight: 700; }
.post__body .dia-list { gap: 10px; margin: 0 0 1.3em; }
.post__body .dia-list li { position: relative; display: block; padding-left: 24px; }
.post__body .dia-list li::before { position: absolute; left: 2px; top: 0.72em; width: 8px; height: 8px; transform: rotate(45deg); }

/* the main button at the end of every post */
.post__cta { display: grid; justify-items: start; gap: 14px; margin-top: clamp(40px, 5vw, 56px); padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-l); background: var(--c-ink); color: var(--c-on-ink); box-shadow: var(--shadow-l); }
.post__cta-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--c-on-ink); }
.post__cta-line { margin: 0; font-size: var(--fs-body); line-height: 1.55; color: var(--c-on-ink-soft); }
.post__cta .cta-row { margin-top: 6px; }

/* the other two posts */
.post-more__title { margin-bottom: clamp(24px, 3vw, 36px); font-size: var(--fs-h2); }
