/* ============================================================
   BLOG — Raquel Mergulhão
   Reaproveita style.css (variáveis, fontes, nav, botões, footer).
   Aqui: overrides do tema claro (data-v2, que no site estão inline)
   + componentes próprios do blog.
   ============================================================ */

/* ---- Tema claro herdado (data-v2) ---- */
/* overscroll-behavior-y: none — impede o "salto" do fundo escuro no scroll rápido
   (mesma correção que o index.html já usa). */
html[data-v2] { font-size: 17.5px; background-color: #3F4239; overscroll-behavior-y: none; }
[data-v2] body {
  background:
    radial-gradient(ellipse 80% 40% at 15% 10%, rgba(181,128,127,.07) 0%, transparent 55%),
    radial-gradient(ellipse 65% 35% at 85% 55%, rgba(92,96,84,.05) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 50% 85%, rgba(181,128,127,.05) 0%, transparent 50%),
    linear-gradient(160deg, #ECEEE3 0%, #E4E6D8 25%, #DDDECD 55%, #E0E2D5 80%, #ECEEE3 100%);
  /* SEM background-attachment: fixed — no scroll rápido ele gerava repintura
     atrasada e o fundo escuro do html "saltava". As camadas fixas ficam por
     conta do .blog-bg (position: fixed), então nada se perde no visual. */
  color: #3A3D35;
  min-height: 100vh;
  /* cria um contexto de empilhamento: assim as camadas decorativas
     (.blog-bg, z-index:-1) pintam ACIMA do fundo do body e ABAIXO do conteúdo.
     Sem isto, o gradiente opaco do body cobria as camadas. */
  position: relative;
  z-index: 0;
}

/* nav mantém o padrão escuro do site */
[data-v2] .nav-monogram { height: 54px; }
[data-v2] .nav-wordmark { height: 27px; }
[data-v2] .nav-links { gap: 22px; }
[data-v2] .nav-inner { gap: 18px; max-width: 1230px; }
[data-v2] .nav-links a { font-size: 11px; white-space: nowrap; }
[data-v2] .nav-links a.active { color: #FACCC3; }
[data-v2] .nav-cta { font-size: 12px; white-space: nowrap; }

[data-v2] .nav-mobile-menu {
  display: block; opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .28s ease, transform .28s ease, visibility 0s linear .28s;
  pointer-events: none;
}
[data-v2] .nav-mobile-menu.open {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .28s ease, transform .28s ease, visibility 0s linear 0s;
  pointer-events: auto;
}

/* footer igual ao site */
[data-v2] .footer { background: #3F4239; overflow: clip; }
[data-v2] .footer-monogram { filter: none; bottom: 10px; }
[data-v2] .footer-tagline, [data-v2] .footer-contact p { color: #EDEEE5; font-size: 1.05rem; }
[data-v2] .footer-links a, [data-v2] .footer-social a { color: #EDEEE5; }
[data-v2] .footer-brand-sub, [data-v2] .footer-col-title { color: #D3D5C4; }
[data-v2] .footer-copy, [data-v2] .footer-credit { color: #D3D5C4; }
[data-v2] .footer-logo { height: 64px; }

/* ============================================================
   Camadas do fundo (blobs da marca, folha e grão)
   Ficam atrás de todo o conteúdo e não capturam cliques.
   ============================================================ */
.blog-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.blog-bg span { position: absolute; display: block; }

/* Blobs: usam o gradiente (5).png, que é uma forma orgânica solta (com
   transparência em volta). Evitamos o gradiente.png e afins: são artes de
   1920x1080 feitas para página inteira e, recortadas, mostram borda reta. */

/* blob rosado, canto superior direito */
.bg-blob-1 {
  top: -180px; right: -220px; width: 760px; height: 760px;
  background: url("/assets/gradiente%20(5).png") center / contain no-repeat;
  opacity: .20;
}
/* mesmo blob à esquerda, espelhado e girado para não parecer cópia */
.bg-blob-2 {
  bottom: -260px; left: -280px; width: 820px; height: 820px;
  background: url("/assets/gradiente%20(5).png") center / contain no-repeat;
  opacity: .15; transform: scaleX(-1) rotate(14deg);
}
/* ramo de folhas, lateral direita */
.bg-leaf {
  bottom: 6%; right: -80px; width: 340px; height: 580px;
  background: url("/assets/gradiente%20(7).png") center / contain no-repeat;
  opacity: .10; transform: rotate(-8deg);
}
/* ramo botânico, lateral esquerda (espelhado, para não repetir o da direita) */
.bg-leaf-left {
  top: 10%; left: -110px; width: 360px; height: 600px;
  background: url("/assets/gradiente%20(2).png") center / contain no-repeat;
  opacity: .13; transform: rotate(6deg) scaleX(-1);
}
/* grão sutil por cima, dá textura de papel */
.bg-grain {
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: .055;
}

@media (max-width: 768px) {
  /* seletor com .blog-bg na frente: precisa vencer ".blog-bg span { display:block }",
     que tem especificidade maior que ".bg-leaf" sozinho */
  .blog-bg .bg-blob-1 { width: 430px; height: 430px; top: -100px; right: -150px; }
  .blog-bg .bg-blob-2 { width: 470px; height: 470px; bottom: -150px; left: -170px; }
  /* os ramos de linha ficam grandes demais na tela pequena e competem com o texto */
  .blog-bg .bg-leaf,
  .blog-bg .bg-leaf-left { display: none; }
}

/* ============================================================
   Layout do blog
   ============================================================ */
.blog-wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.blog-wrap--article { max-width: 1500px; padding: 0 26px; }
.blog-main { padding-top: 118px; padding-bottom: 90px; }

/* Cabeçalho da página */
.blog-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.blog-head .tag { margin-bottom: 18px; }
[data-v2] .blog-head .tag {
  background: rgba(92,96,84,.1); color: #5C6054; border-color: rgba(92,96,84,.22);
}
.blog-head h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem); line-height: 1.04; letter-spacing: -.02em;
  color: #2A2D24; margin-bottom: 16px;
}
.blog-head h1 em { color: #9A5250; font-style: italic; }
.blog-head p { font-family: var(--font-body); font-size: 1.08rem; color: #5C6054; line-height: 1.6; }

/* Filtro de categorias */
.cat-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 52px; }
.cat-chip {
  font-family: var(--font-body); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 18px; border-radius: 999px; border: 1px solid rgba(92,96,84,.2);
  color: #5C6054; background: rgba(255,255,255,.5); transition: all .2s ease;
}
.cat-chip:hover { border-color: #B5807F; color: #9A5250; }
.cat-chip.active { background: #B5807F; color: #fff; border-color: #B5807F; }

/* ---- Listagem: posts à esquerda, aside (busca + categorias) à direita ---- */
.blog-wrap--list { max-width: 1440px; padding: 0 24px; }
.list-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px; align-items: start;
}
.list-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px; }
/* com a sidebar ao lado, os cards ficam em 3 colunas */
.list-main .posts-grid { grid-template-columns: repeat(3, 1fr); gap: 26px 22px; }
/* telas médias: cai para 2 colunas antes de ficar apertado */
@media (max-width: 1160px) { .list-main .posts-grid { grid-template-columns: repeat(2, 1fr); } }

/* Busca dentro do aside */
.side-search { position: relative; display: flex; align-items: center; }
.side-search svg { position: absolute; left: 15px; width: 17px; height: 17px; color: #A0A392; pointer-events: none; }
.side-search input {
  width: 100%; padding: 13px 36px 13px 42px; border-radius: 999px;
  border: 1px solid rgba(92,96,84,.2); background: rgba(255,255,255,.8);
  font-family: var(--font-body); font-size: .94rem; color: #2A2D24;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.side-search input::placeholder { color: #A0A392; }
.side-search input:focus {
  outline: none; border-color: #B5807F; background: #fff; box-shadow: 0 0 0 4px rgba(181,128,127,.12);
}
.side-search-clear { position: absolute; right: 14px; color: #A0A392; font-size: 1.2rem; line-height: 1; text-decoration: none; }
.side-search-clear:hover { color: #9A5250; }

/* Cabeçalho do acordeão: no desktop é só um título (a seta some e o clique não faz nada) */
.side-acc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: none; border: none; text-align: left; cursor: default;
  padding: 0 0 12px; margin: 0 0 14px; border-bottom: 1px solid rgba(92,96,84,.12);
}
.side-acc-title { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; color: #2A2D24; }
.side-acc-chev { width: 18px; height: 18px; color: #5C6054; flex-shrink: 0; display: none; transition: transform .25s ease; }

/* categoria ativa na lista lateral */
.side-cats a.is-active { color: #9A5250; font-weight: 500; }
.side-cats a.is-active span:last-child { background: rgba(154,82,80,.12); border-radius: 999px; padding: 1px 8px; }

.blog-search-info {
  font-family: var(--font-body); font-size: .9rem; color: #5C6054; margin: 0 0 24px;
}

/* Tablet/mobile: aside vai para cima (busca e categorias antes dos posts) */
@media (max-width: 980px) {
  .list-grid { grid-template-columns: 1fr; gap: 30px; }
  .list-side { position: static; order: -1; }
  .blog-wrap--list { padding: 0 20px; }

  /* Categorias viram acordeão: fechadas por padrão, abrem no toque */
  .side-acc-head { cursor: pointer; }
  .side-acc-chev { display: block; }
  .side-acc .side-cats { display: none; }
  .side-acc.open .side-cats { display: block; }
  .side-acc.open .side-acc-chev { transform: rotate(180deg); }
  /* fechado: o título não precisa de linha nem espaço embaixo */
  .side-acc:not(.open) .side-acc-head { padding-bottom: 0; margin-bottom: 0; border-bottom: none; }
}
@media (max-width: 600px) {
  .list-main .posts-grid { grid-template-columns: 1fr; }
}

/* Placeholder de capa (posts sem imagem) */
.post-cover { position: absolute; inset: 0; background-size: cover; background-position: center; }
.post-cover--ph {
  background:
    radial-gradient(circle at 30% 25%, rgba(250,204,195,.55), transparent 60%),
    linear-gradient(135deg, #5C6054 0%, #6F7367 45%, #B5807F 100%);
}
.post-cover--ph::after {
  content: ""; position: absolute; inset: 0;
  background: url('/assets/RM_monograma-1.webp') center / 120px no-repeat;
  opacity: .18; filter: brightness(0) invert(1);
}

/* Destaque */
.featured {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  border-radius: 24px; overflow: hidden; margin-bottom: 60px; background: #fff;
  border: 1px solid rgba(92,96,84,.14); box-shadow: 0 20px 60px -30px rgba(63,66,57,.4);
}
.featured-media { position: relative; min-height: 400px; }
.featured-body { padding: 52px 48px; display: flex; flex-direction: column; justify-content: center; }
.featured-body .post-cat { margin-bottom: 16px; }
.featured-body h2 {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.08; letter-spacing: -.02em; color: #2A2D24; margin-bottom: 18px;
}
.featured-body h2 a { color: inherit; }
.featured-body h2 a:hover { color: #9A5250; }
.featured-body p { font-family: var(--font-body); font-size: 1.05rem; color: #5C6054; line-height: 1.6; margin-bottom: 26px; }

/* Grade de artigos */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 30px; }
.post-card {
  position: relative;
  display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(92,96,84,.12); box-shadow: 0 10px 30px -20px rgba(63,66,57,.35);
  transition: transform .28s var(--ease), box-shadow .28s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 22px 45px -25px rgba(63,66,57,.5); }

/* Link que cobre o card inteiro (clicar em qualquer parte abre o post) */
.card-link { position: absolute; inset: 0; z-index: 3; cursor: pointer; }
.post-card:hover h3, .featured:hover h2 { color: #9A5250; }
.post-card h3, .featured-body h2 { transition: color .2s ease; }
.post-card-media { position: relative; aspect-ratio: 16 / 10; }
.post-card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }

.post-cat {
  font-family: var(--font-body); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase;
  color: #9A5250; font-weight: 600;
}
/* contador "+N" quando o post tem mais categorias do que cabem no card */
.post-cat-mais {
  display: inline-block; background: rgba(154,82,80,.12); color: #9A5250;
  padding: 1px 6px; border-radius: 999px; font-size: .58rem; letter-spacing: .08em; margin-left: 2px;
}
/* categorias no topo do artigo (clicáveis) */
.article-cats { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; margin: 0 0 20px; }
.article-cats .post-cat-mais { cursor: help; }
.article-cats a.post-cat { transition: color .2s ease; }
.article-cats a.post-cat:hover { color: #7d3f3d; text-decoration: underline; }
.post-card h3 {
  font-family: var(--font-display); font-weight: 400; font-size: 1.36rem; line-height: 1.15;
  letter-spacing: -.01em; color: #2A2D24; margin: 12px 0;
}
.post-card h3 a { color: inherit; }
.post-card h3 a:hover { color: #9A5250; }
.post-card .excerpt { font-family: var(--font-body); font-size: .96rem; color: #5C6054; line-height: 1.55; margin-bottom: 20px; flex: 1; }

/* Meta autor + data */
.post-meta { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(92,96,84,.1); }
.post-meta .avatar {
  width: 34px; height: 34px; border-radius: 50%; background: #B5807F; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: .9rem; flex-shrink: 0;
}
.post-meta .meta-txt { font-family: var(--font-body); font-size: .8rem; color: #5C6054; line-height: 1.3; }
.post-meta .meta-txt strong { color: #3A3D35; font-weight: 500; display: block; }

/* Paginação */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 60px; }
.pagination a, .pagination span {
  font-family: var(--font-body); font-size: .9rem; min-width: 42px; height: 42px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 10px;
  border: 1px solid rgba(92,96,84,.2); color: #5C6054; background: rgba(255,255,255,.6);
}
.pagination a:hover { border-color: #B5807F; color: #9A5250; }
.pagination .current { background: #B5807F; color: #fff; border-color: #B5807F; }

/* Estado vazio */
.blog-empty { text-align: center; padding: 60px 0; color: #5C6054; font-family: var(--font-body); font-size: 1.05rem; }

/* ============================================================
   Página do artigo (post.php)
   ============================================================ */
/* sem max-width: assim ele começa na mesma borda esquerda do grid,
   alinhado com o card "Sobre a autora" */
.article-back { margin: 0 0 22px; }
.article-back a {
  font-family: var(--font-body); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #5C6054;
}
.article-back a:hover { color: #9A5250; }

.article-head { max-width: 820px; margin: 0 auto 34px; text-align: center; }
.article-head .post-cat { display: block; margin-bottom: 14px; }
.article-head h1 {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.08; letter-spacing: -.02em; color: #2A2D24; margin-bottom: 16px;
}
.article-meta { justify-content: center; border-top: none; padding-top: 0; }

/* Card branco do conteúdo: mesmos valores do .side-box, para casar com os laterais */
.article-card {
  background: #fff; border: 1px solid rgba(92,96,84,.12); border-radius: 16px;
  padding: 26px 30px 34px; box-shadow: 0 10px 30px -22px rgba(63,66,57,.35);
}

.article-cover {
  position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 0 0 30px;
  border-radius: 12px; overflow: hidden;
}

/* Grade de 3 colunas: sobre · conteúdo · categorias/recentes */
.article-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 270px;
  grid-template-areas: "left center right";
  gap: 44px; max-width: 1500px; margin: 0 auto; align-items: start;
}
.article-aside-left  { grid-area: left; }
.article-main        { grid-area: center; }
.article-aside-right { grid-area: right; }

/* Corpo do artigo */
.article-body { font-family: var(--font-body); font-size: 1.12rem; line-height: 1.8; color: #3A3D35; }
.article-body h2 {
  font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1.2;
  color: #2A2D24; margin: 40px 0 16px;
}
.article-body p { margin-bottom: 22px; }
.article-body blockquote {
  border-left: 3px solid #B5807F; padding: 4px 0 4px 26px; margin: 32px 0;
  font-family: var(--font-display); font-style: italic; font-size: 1.4rem; line-height: 1.4; color: #5C6054;
}
.article-body ul, .article-body ol { margin: 0 0 22px 22px; }
.article-body li { margin-bottom: 10px; }
.article-body a { color: #9A5250; text-decoration: underline; }

/* Imagens inseridas no meio do texto pelo editor.
   margin auto: se o editor definiu uma largura menor, a imagem centraliza. */
.article-body img {
  display: block; max-width: 100%; height: auto;
  border-radius: 12px; margin: 26px auto;
}
.article-body figure { margin: 26px 0; }
.article-body figure img { margin: 0; }
.article-body figcaption {
  font-size: .85rem; color: #878A7C; text-align: center; margin-top: 10px; font-style: italic;
}
/* Vídeos incorporados (YouTube etc.) inseridos via HTML */
.article-body iframe { display: block; max-width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: 12px; margin: 26px 0; }
/* Tabelas inseridas via HTML */
.article-body table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: .95rem; }
.article-body th, .article-body td { border: 1px solid rgba(92,96,84,.18); padding: 10px 12px; text-align: left; }
.article-body th { background: rgba(92,96,84,.07); font-weight: 600; }

/* Asides laterais */
.article-aside-left, .article-aside-right {
  position: sticky; top: 100px; display: flex; flex-direction: column; gap: 28px;
}
.side-box {
  background: #fff; border: 1px solid rgba(92,96,84,.12); border-radius: 16px; padding: 26px 24px;
  box-shadow: 0 10px 30px -22px rgba(63,66,57,.35);
}
.side-box h4 {
  font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; color: #2A2D24;
  margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(92,96,84,.12);
}
.side-cats { list-style: none; }
.side-cats a {
  display: flex; justify-content: space-between; font-family: var(--font-body); font-size: .95rem;
  color: #5C6054; padding: 9px 0; border-bottom: 1px solid rgba(92,96,84,.08);
}
.side-cats li:last-child a { border-bottom: none; }
.side-cats a:hover { color: #9A5250; }
.side-cats a span:last-child { color: #9A5250; font-size: .82rem; }

.side-recent { display: flex; flex-direction: column; gap: 16px; }
.side-recent a { display: flex; gap: 12px; align-items: center; }
.side-recent .mini-cover { position: relative; width: 60px; height: 60px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.side-recent .mini-cover .post-cover--ph::after { background-size: 40px; }
.side-recent .mini-txt { font-family: var(--font-display); font-size: 0.875em; line-height: 1.2; color: #2A2D24; }
.side-recent a:hover .mini-txt { color: #9A5250; }

/* Caixa "Sobre" (aside esquerdo) */
.side-author { text-align: center; }
.side-author .avatar-lg {
  width: 78px; height: 78px; border-radius: 50%; background: #B5807F; color: #fff; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.9rem;
}
.side-author h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; color: #2A2D24; }
.side-author .role { font-family: var(--font-body); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: #9A5250; margin: 5px 0 12px; }
.side-author-bio { font-family: var(--font-body); font-size: .95rem; color: #5C6054; line-height: 1.6; margin-bottom: 16px; }
.side-author-link { font-family: var(--font-body); font-size: .82rem; letter-spacing: .04em; color: #9A5250; }
.side-author-link:hover { color: #7d3f3d; }

/* Anterior / próximo (fora do card branco, direto sobre o fundo) */
.post-nav { margin: 24px 0 0; display: flex; justify-content: space-between; gap: 20px; }
.post-nav a { flex: 1; background: rgba(255,255,255,.6); border: 1px solid rgba(92,96,84,.14); border-radius: 14px; padding: 18px 22px; transition: border-color .2s; }
.post-nav a:hover { border-color: #B5807F; }
.post-nav .dir { font-family: var(--font-body); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: #9A5250; }
.post-nav .t { font-family: var(--font-display); font-size: 1.05rem; color: #2A2D24; margin-top: 6px; display: block; }
.post-nav .next { text-align: right; }

/* CTA no aside esquerdo, logo abaixo do card da autora */
.side-cta {
  background: linear-gradient(135deg, #5C6054, #4A4D43);
  border-color: transparent; text-align: center;
}
.side-cta h4 {
  font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; line-height: 1.25;
  color: #ECEEE3; margin: 0 0 10px; padding: 0; border-bottom: none;
}
.side-cta p { font-family: var(--font-body); font-size: .9rem; line-height: 1.5; color: #C4C6B7; margin: 0 0 18px; }
.side-cta .btn { width: 100%; justify-content: center; font-size: .68rem; padding: 12px 10px; }

/* Responsivo */
/* Tablet: 2 colunas (conteúdo + categorias), "sobre" vai para baixo */
@media (max-width: 1120px) {
  .article-grid {
    grid-template-columns: minmax(0, 1fr) 290px;
    grid-template-areas: "center right" "left right";
    gap: 40px;
  }
  .article-aside-left, .article-aside-right { position: static; }
  .side-author { text-align: left; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
  .side-author .avatar-lg { margin: 0; }
  .side-author h4 { width: calc(100% - 94px); }
  .side-author .role { width: 100%; margin: 0 0 6px; }
}
@media (max-width: 900px) {
  .featured { grid-template-columns: 1fr; }
  .featured-media { min-height: 240px; }
  .featured-body { padding: 36px 30px; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}
/* Mobile: coluna única — imagem+texto, depois categorias, depois sobre */
@media (max-width: 760px) {
  .article-grid { grid-template-columns: 1fr; grid-template-areas: "center" "right" "left"; gap: 36px; }
  .side-author { text-align: center; flex-direction: column; }
  .side-author .avatar-lg { margin: 0 auto 14px; }
  .side-author h4, .side-author .role { width: auto; }
}
@media (max-width: 600px) {
  .posts-grid { grid-template-columns: 1fr; }
  .blog-wrap { padding: 0 20px; }
  .featured-body { padding: 30px 24px; }
  .article-cover { aspect-ratio: 16 / 10; }
  .post-nav { flex-direction: column; }
  .post-nav .next { text-align: left; }
}
