/* Blog (18/11/2026). Só o que o blog tem de novo; o resto vem do site.css.
   Ao mudar este arquivo, trocar o ?v= nas páginas de /blog (cache de 7 dias no _headers). */

/* Linha de autoria no topo do post */
.byline { margin-top: 22px; font-size: var(--t-small); font-weight: 600; color: var(--mare-light); }
.byline a { color: inherit; text-underline-offset: 3px; }
.byline a:hover { color: #fff; }

/* Lista de posts, por seção: título à esquerda, posts à direita (mesma grade do FAQ) */
.blog-list { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.blog-list .head { grid-column: 1 / 5; position: sticky; top: 110px; }
.blog-list h2 { font-size: clamp(30px, 3.4vw, 56px); }
.blog-list .intro { margin-top: 18px; font-size: 18px; line-height: 1.5; color: var(--mare); max-width: 30ch; }
.posts { grid-column: 5 / 13; list-style: none; display: grid; gap: 8px; }
.posts a { display: block; padding: 26px 28px 24px; border-radius: var(--radius); background: var(--white); text-decoration: none; transition: background .25s ease, color .25s ease; }
.field-white .posts a { background: var(--nevoa); }
.posts h3 { font-size: clamp(22px, 2vw, 30px); line-height: 1.12; }
.posts p { margin-top: 10px; max-width: 60ch; color: var(--mare); transition: color .25s ease; }
.posts .meta { display: block; margin-top: 16px; font-size: var(--t-small); font-weight: 600; }
.posts .arrow { display: inline-block; margin-left: 6px; transition: transform .25s var(--ease); }
@media (hover: hover) {
  .posts a:hover { background: var(--oceano); color: #fff; }
  .posts a:hover p { color: var(--mare-light); }
  .posts a:hover .arrow { transform: translateX(4px); }
}

/* Fonte citada embaixo de um número de mercado */
.source { margin-top: 16px; font-size: var(--t-small); color: var(--mare); }
.source a { color: inherit; text-underline-offset: 3px; }

/* Bio de autora no fim de todo post */
.author { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: center; max-width: 760px; }
.author .photo { position: relative; width: 120px; height: 120px; border-radius: 50%; overflow: hidden; background: var(--nevoa); }
.author .photo img { position: absolute; width: 260%; height: auto; max-width: none; left: 50%; top: -4%; transform: translateX(-50%); }
.author .who { font-family: 'Inter Tight', sans-serif; font-size: 22px; font-weight: 600; }
.author p + p { margin-top: 8px; color: var(--mare); }
.author .links { display: flex; flex-wrap: wrap; gap: 20px; }
@media (max-width: 760px) { .author { grid-template-columns: 1fr; gap: 18px; } .author .photo { width: 88px; height: 88px; } }

/* "Keep reading" no fim do post */
.reading { margin-top: 8px; display: grid; gap: 10px; list-style: none; }

@media (max-width: 760px) {
  .blog-list .head { grid-column: 1 / -1; position: static; }
  .posts { grid-column: 1 / -1; }
  .posts a { padding: 22px 20px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .posts a, .posts p, .posts .arrow { transition: none; }
}
