/* ================= Blog: lista de posts e página de cada post ================= */

/* ---------- Lista: topo escuro, post em destaque atravessando para a área creme ---------- */
.bl-topo { position: relative; padding: 150px var(--pad) 52px; background: radial-gradient(60% 80% at 20% 0%, rgba(201, 161, 74, 0.14), transparent 70%), var(--night); }
.bl-topo .kicker { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.bl-topo h1 { margin-top: 10px; font-size: clamp(40px, 4.2vw, 64px); line-height: 1; }
.bl-topo .sub { margin: 12px 0 0; font-size: 17px; line-height: 1.55; color: var(--mute); max-width: 48ch; }
.bl-topo .cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.bl-busca { position: relative; flex: 0 1 340px; }
.bl-busca input { width: 100%; height: 50px; padding: 0 46px 0 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.05);
                  color: var(--cream); font: inherit; font-size: 15px; transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.bl-busca input::placeholder { color: rgba(246, 241, 233, 0.45); }
.bl-busca input:focus { outline: none; border-color: rgba(201, 161, 74, 0.8); box-shadow: 0 0 0 3px rgba(201, 161, 74, 0.18); }
.bl-busca svg { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--mute); }

/* post em destaque */
.bl-destaque { position: relative; z-index: 2; display: block; margin-top: 48px; border-radius: 28px; overflow: hidden; aspect-ratio: 2.35 / 1; min-height: 360px; color: #fff;
               box-shadow: 0 30px 60px -34px rgba(40, 28, 14, 0.55); margin: 0 0 56px; }
.bl-destaque .img { position: absolute; inset: 0; background: #1a1613 center / cover no-repeat; transform: scale(1.02); transition: transform 1.2s var(--out); }
.bl-destaque:hover .img, .bl-destaque:focus-visible .img { transform: scale(1.06); }
.bl-destaque::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 7, 6, 0.92) 0%, rgba(8, 7, 6, 0.55) 34%, rgba(8, 7, 6, 0) 62%); }
.bl-destaque .tx { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(24px, 3.4vw, 48px); }
.bl-destaque .selo { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; background: rgba(201, 161, 74, 0.9); color: #1a1613; font-weight: 600; }
.bl-destaque h2 { margin-top: 14px; font-size: clamp(30px, 3.4vw, 54px); line-height: 1.02; max-width: 22ch; }
.bl-destaque p { margin: 12px 0 0; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, 0.82); max-width: 60ch; }
.bl-destaque .meta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, 0.72); }
.bl-destaque .meta .cat { padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.4); }
.bl-destaque .seta { position: absolute; z-index: 1; right: clamp(20px, 3vw, 40px); top: clamp(20px, 3vw, 40px); width: 50px; height: 50px; border-radius: 50%;
                     background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; place-items: center;
                     transition: background 0.3s ease, box-shadow 0.35s var(--out); }
.bl-destaque:hover .seta { background: rgba(255, 255, 255, 0.24); box-shadow: 0 0 0 3px rgba(11, 10, 9, 0.5), 0 0 0 5px var(--gold); }

/* ---------- área creme: arquivo, categorias e grade ---------- */
.bl-lista { background: var(--cream); color: var(--ink); padding: 56px var(--pad) clamp(90px, 10vw, 140px); }
.bl-lista.sem-destaque { padding-top: 56px; }
.bl-filtros { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid rgba(26, 22, 19, 0.12); }
.bl-cats { display: flex; gap: 6px; flex-wrap: wrap; }
.bl-cats button { padding: 9px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-soft); font: inherit; font-size: 15px; cursor: pointer;
                  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.3s var(--out); }
.bl-cats button:hover { color: var(--ink); background: rgba(26, 22, 19, 0.05); }
.bl-cats button[aria-pressed="true"] { color: var(--ink); background: #fff; box-shadow: 0 0 0 1.5px var(--gold); }
.bl-cats button small { margin-left: 6px; font-size: 12px; color: var(--ink-soft); font-variant-numeric: lining-nums; }

/* arquivo: linha do tempo com um ponto por mês que teve post */
.bl-arquivo { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.bl-arquivo .rot { margin-right: 8px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.bl-arquivo .ano { display: flex; align-items: center; gap: 2px; padding: 4px 6px 4px 12px; border-radius: 999px; background: rgba(26, 22, 19, 0.04); }
.bl-arquivo .ano > b { margin-right: 4px; font-family: var(--serif); font-size: 19px; font-weight: 500; font-variant-numeric: lining-nums; cursor: pointer; }
.bl-arquivo .mes { position: relative; width: 22px; height: 26px; border: 0; padding: 0; background: none; cursor: pointer; }
.bl-arquivo .mes::before { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: #c9bfb2; transition: background 0.25s ease, transform 0.3s var(--out), box-shadow 0.3s ease; }
.bl-arquivo .mes:hover::before { background: #8d8174; transform: scale(1.3); }
.bl-arquivo .mes[aria-pressed="true"]::before, .bl-arquivo .ano.on > b + .mes:not([aria-pressed])::before { }
.bl-arquivo .mes[aria-pressed="true"]::before { background: var(--gold); transform: scale(1.45); box-shadow: 0 0 0 3px rgba(201, 161, 74, 0.25); }
.bl-arquivo .ano.on { background: #fff; box-shadow: 0 0 0 1.5px var(--gold); }
.bl-arquivo .mes .dica { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translate(-50%, 4px); padding: 5px 10px; border-radius: 8px; background: var(--ink); color: var(--cream);
                         font-size: 12px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; }
.bl-arquivo .mes:hover .dica, .bl-arquivo .mes:focus-visible .dica { opacity: 1; transform: translate(-50%, 0); }
.bl-estado { margin: 22px 0 0; font-size: 15px; color: var(--ink-soft); min-height: 1.4em; }
.bl-estado button { margin-left: 8px; border: 0; background: none; color: var(--ink); font: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; cursor: pointer; }

/* cartões */
.b-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 3vw, 44px) clamp(20px, 2.4vw, 36px); margin-top: 34px; }
.b-card { display: block; color: inherit; text-decoration: none; }
.b-card .img { display: block; aspect-ratio: 4 / 3; border-radius: 20px; background: #d9d0c3 center / cover no-repeat; transition: transform 0.6s var(--out), box-shadow 0.4s var(--out); }
.b-card:hover .img, .b-card:focus-visible .img { transform: translateY(-4px); box-shadow: 0 22px 40px -22px rgba(40, 28, 14, 0.55), 0 0 0 3px var(--cream), 0 0 0 5px var(--gold); }
.b-card:focus-visible { outline: none; }
.b-card .cat { display: block; margin-top: 18px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #a07c2c; }
.b-card h3 { margin-top: 8px; font-size: clamp(24px, 2vw, 30px); line-height: 1.1; color: var(--ink); }
.b-card p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.b-card .meta { display: block; margin-top: 12px; font-size: 13.5px; color: #8d8174; }
.b-card mark { background: rgba(201, 161, 74, 0.3); color: inherit; border-radius: 3px; }
.bl-mais [hidden], .bl-destaque[hidden] { display: none; }
.bl-mais { display: flex; justify-content: center; margin-top: 54px; }
.bl-vazio { margin: 60px 0 0; text-align: center; font-family: var(--serif); font-size: 28px; color: var(--ink-soft); }

/* ---------- Página do post ---------- */
.b-progresso { position: fixed; z-index: 55; left: 0; right: 0; top: 0; height: 3px; pointer-events: none; }
.b-progresso i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--gold), #f0d58a); box-shadow: 0 0 10px rgba(201, 161, 74, 0.7); }
.b-topo { padding: 150px var(--pad) 52px; text-align: center; background: radial-gradient(60% 80% at 50% 0%, rgba(201, 161, 74, 0.13), transparent 70%), var(--night); }
.b-topo .voltar { display: inline-block; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); }
.b-topo .voltar:hover { color: var(--cream); }
.b-topo .cat { display: block; margin-top: 22px; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.b-topo h1 { max-width: 24ch; margin: 10px auto 0; font-size: clamp(40px, 4.2vw, 64px); line-height: 1.02; }
.b-topo .resumo { max-width: 40ch; margin: 16px auto 0; font-family: var(--sans); font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; color: rgba(246, 241, 233, 0.85); }
.b-topo .meta { margin: 16px 0 0; font-size: 14px; color: var(--mute); }
/* imagem principal: de ponta a ponta, como um banner, com a mesma altura de antes */
.b-post > .capa { margin: -56px calc(-1 * var(--pad)) 64px; height: calc(min(1240px, 100vw - 2 * var(--pad)) / 2.35); overflow: hidden; }
.b-post > .capa img { width: 100%; height: 100%; object-fit: cover; }
.b-post { background: var(--cream); color: var(--ink); padding: 56px var(--pad) clamp(90px, 10vw, 140px); }
.b-texto { --col: 680px; max-width: var(--col); margin: 0 auto; font-size: 19px; line-height: 1.75; color: #2f2924; }
.b-texto > * + * { margin-top: 1.1em; }
.b-texto p { margin: 0; }
.b-texto > * + p { margin-top: 1.1em; }   /* o espaço entre parágrafos (a regra de cima zerava) */
/* o parágrafo com a capitular segura a letra dentro dele (sem empurrar fotos e galerias para o lado) */
.b-texto > p:first-of-type { display: flow-root; }
.b-texto > p:first-of-type::first-letter { float: left; margin: 0.1em 0.1em 0 -0.02em; font-family: var(--serif); font-size: 3.55em; line-height: 0.78; color: #a07c2c; }
/* capitular da altura de duas linhas: o topo na primeira linha, a base na segunda; a terceira volta para a margem (Dom, 16/11) */
@supports (initial-letter: 2) or (-webkit-initial-letter: 2) {
  .b-texto > p:first-of-type::first-letter { float: none; margin: 0 0.12em 0 0; font-size: inherit; line-height: inherit; -webkit-initial-letter: 2; initial-letter: 2; }
}
/* bloco Título: Cinzel; o primeiro, logo depois do banner, sem o espaço extra em cima */
.b-texto .b-titulo { font-family: "Cinzel Decorative", var(--serif); font-weight: 400; letter-spacing: 0.01em; font-size: clamp(32px, 4.2vw, 50px); line-height: 1.12; color: #a07c2c; text-align: center; }
/* centralizado entre dois fios dourados (opção D, 16/11) */
.b-texto .b-titulo span { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 22px); }
.b-texto .b-titulo span::before, .b-texto .b-titulo span::after { content: ""; flex: 1; max-width: 110px; min-width: 24px; height: 1px; background: #b8924a; }
.b-texto .b-titulo + * { margin-top: 2.6em; }   /* uma linha a mais de distância do texto (Dom, 16/11) */
.b-texto > .b-titulo:first-child { margin-top: 0; }
/* texto justificado */
.b-texto > p, .b-texto li { text-align: justify; -webkit-hyphens: manual; hyphens: manual; }   /* sem quebrar palavras (Dom, 16/11) */
/* entre dois blocos de texto seguidos: um fio dourado curto, com o mesmo espaço acima e abaixo */
.b-texto > .b-sep { display: block; width: 44px; height: 2px; margin: 2.2em auto 0; background: #b8924a; }   /* 2px inteiros: com 1,5px a tela arredondava cada fio para um lado */
.b-texto > .b-sep + * { margin-top: 2.2em; }
.b-texto h2 { margin-top: 1.9em; font-size: clamp(32px, 2.8vw, 42px); line-height: 1.08; color: var(--ink); }
.b-texto h3 { margin-top: 1.6em; font-size: clamp(25px, 2.1vw, 31px); line-height: 1.15; color: var(--ink); }
.b-texto h2 + *, .b-texto h3 + * { margin-top: 0.6em; }
.b-texto a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.b-texto strong { color: var(--ink); }
.b-texto ul, .b-texto ol { margin: 1.1em 0 0; padding-left: 1.3em; }
.b-texto li + li { margin-top: 0.4em; }
.b-texto li::marker { color: #a07c2c; }
.b-texto blockquote { margin: 1.8em 0; padding: 0 0 0 28px; border-left: 2px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.3vw, 34px); line-height: 1.3; color: var(--ink); }
.b-texto blockquote p { margin: 0; }
.b-texto blockquote p + p { margin-top: 0.6em; }
.b-texto blockquote cite { display: block; margin-top: 14px; font-family: var(--sans); font-style: normal; font-size: 15px; letter-spacing: 0.04em; color: #8d8174; }
.b-texto blockquote cite::before { content: "— "; }
.b-texto hr { margin: 2.6em auto; width: 60px; height: 2px; border: 0; background: var(--gold); }
.b-texto code { padding: 2px 6px; border-radius: 6px; background: rgba(26, 22, 19, 0.06); font-size: 0.88em; }

/* fotos: na coluna, larga (sai um pouco da coluna) ou cheia (largura grande) */
.b-foto, .b-galeria, .b-video { margin: 2em 0; }
.b-foto img { display: block; width: 100%; height: auto; border-radius: 18px; cursor: zoom-in; }
.b-texto figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: #8d8174; text-align: center; }
.b-foto.larga, .b-galeria, .b-video { margin-left: calc(50% - min(50vw - var(--padx, 24px), 520px)); margin-right: calc(50% - min(50vw - var(--padx, 24px), 520px)); }
.b-galeria.coluna { margin-left: 0; margin-right: 0; }
.b-foto.cheia, .b-galeria.cheia { margin-left: calc(50% - min(50vw - var(--padx, 24px), 680px)); margin-right: calc(50% - min(50vw - var(--padx, 24px), 680px)); }
.b-foto.cheia img { border-radius: 24px; }

/* galerias */
.b-galeria figure { margin: 0; }
.b-galeria img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 14px; cursor: zoom-in; transition: transform 0.5s var(--out), filter 0.4s ease; }
.b-galeria.grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.b-galeria.grade[data-n="2"], .b-galeria.grade[data-n="4"] { grid-template-columns: repeat(2, 1fr); }
.b-galeria.grade figure { aspect-ratio: 1; }
.b-galeria.grade figcaption, .b-galeria.mosaico figcaption { display: none; }
.b-galeria.grade figure:hover img, .b-galeria.mosaico figure:hover img { transform: scale(1.02); filter: brightness(1.06); }
.b-galeria.mosaico { columns: 3 220px; column-gap: 12px; }
.b-galeria.mosaico figure { break-inside: avoid; margin-bottom: 12px; }
.b-galeria.mosaico img { height: auto; }
.b-galeria.carrossel { outline: none; }
.b-galeria.carrossel .palco { position: relative; }
.b-galeria.carrossel .trilho { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 18px; }
.b-galeria.carrossel .trilho::-webkit-scrollbar { display: none; }
.b-galeria.carrossel figure { flex: 0 0 100%; scroll-snap-align: center; }
.b-galeria.carrossel figure img { aspect-ratio: 16 / 9; height: auto; border-radius: 18px; }
.b-galeria.carrossel .ant, .b-galeria.carrossel .prox, .b-luz .ant, .b-luz .prox { position: absolute; top: 50%; width: 50px; height: 50px; margin-top: -25px; border-radius: 50%; border: 0; cursor: pointer;
     background: rgba(246, 241, 233, 0.9); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.5); transition: box-shadow 0.35s var(--out), opacity 0.3s ease; }
.b-galeria.carrossel .palco .ant, .b-galeria.carrossel .palco .prox { top: calc(50% - 17px); }
.b-galeria.carrossel .ant { left: 14px; } .b-galeria.carrossel .prox { right: 14px; }
.b-galeria.carrossel .ant::after, .b-galeria.carrossel .prox::after, .b-luz .ant::after, .b-luz .prox::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border: solid var(--ink); border-width: 0 0 2px 2px; }
.b-galeria.carrossel .ant::after, .b-luz .ant::after { transform: translate(-30%, -50%) rotate(45deg); }
.b-galeria.carrossel .prox::after, .b-luz .prox::after { transform: translate(-70%, -50%) rotate(-135deg); }
.b-galeria.carrossel .ant:hover, .b-galeria.carrossel .prox:hover { box-shadow: 0 0 0 3px var(--cream), 0 0 0 5px var(--gold); }
.b-galeria.carrossel button[disabled], .b-luz button[disabled] { opacity: 0; pointer-events: none; }
/* miniaturas de todas as fotos embaixo do carrossel */
.b-galeria.carrossel .miniaturas { display: flex; justify-content: center; gap: 10px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; padding: 4px; }
.b-galeria.carrossel .miniaturas::-webkit-scrollbar { display: none; }
.b-galeria.carrossel .miniaturas button { flex: none; width: 84px; height: 56px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: pointer; background: #d9d0c3;
     opacity: 0.5; transition: opacity 0.3s ease, box-shadow 0.35s var(--out); }
.b-galeria.carrossel .miniaturas button:hover { opacity: 0.85; }
.b-galeria.carrossel .miniaturas button.on { opacity: 1; box-shadow: 0 0 0 2px var(--cream), 0 0 0 3.5px var(--gold); }
.b-galeria.carrossel .miniaturas img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; cursor: pointer; }

/* vídeo */
.b-video { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #0d0b09; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.b-video iframe, .b-video video, .b-video .play, .b-video .play img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.b-video video { object-fit: contain; background: #000; }
/* animações do post: o quadro segue o formato do próprio vídeo (16:9, 21:9...) */
.b-video.b-anim { aspect-ratio: auto; }
.b-anim video { position: static; display: block; width: 100%; height: auto; background: #0b0a09; cursor: pointer; }
.b-video:has(+ .b-leg) { margin-bottom: 0; }
.b-texto .b-leg { margin: 10px 0 2em; font-size: 14px; line-height: 1.5; color: #8d8174; text-align: center; }
.b-video .play { padding: 0; cursor: pointer; background: #000; }
.b-video .play img { object-fit: cover; opacity: 0.88; transition: opacity 0.4s ease, transform 0.8s var(--out); }
.b-video .play:hover img { opacity: 1; transform: scale(1.02); }
.b-video .tri { position: absolute; left: 50%; top: 50%; width: 80px; height: 80px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(246, 241, 233, 0.92);
                box-shadow: 0 0 0 8px rgba(246, 241, 233, 0.18); transition: box-shadow 0.3s ease, transform 0.3s var(--out); }
.b-video .tri::after { content: ""; position: absolute; left: 34px; top: 25px; border-left: 20px solid #1a1613; border-top: 15px solid transparent; border-bottom: 15px solid transparent; }
.b-video .play:hover .tri { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 0 0 10px rgba(201, 161, 74, 0.35); }

/* fim do post */
.b-fim { max-width: 680px; margin: 70px auto 0; padding-top: 30px; border-top: 1px solid rgba(26, 22, 19, 0.12); }
/* compartilhar: botão do sistema (celular e alguns navegadores) e as redes */
.b-partilha { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; }
.b-partilha .rot { flex-basis: 100%; text-align: center; margin: 0 0 4px !important; }
.b-partilha .rot { margin-right: 6px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: #8d8174; }
.b-partilha a, .b-partilha button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; min-width: 44px; padding: 0 12px;
     border-radius: 999px; border: 1px solid rgba(26, 22, 19, 0.16); background: #fff; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; text-decoration: none;
     transition: box-shadow 0.35s var(--out), border-color 0.3s ease, transform 0.2s ease; }
.b-partilha a { padding: 0; width: 44px; }
.b-partilha a:hover, .b-partilha button:hover, .b-partilha a:focus-visible, .b-partilha button:focus-visible { border-color: transparent; box-shadow: 0 0 0 1.5px var(--gold); outline: none; }
.b-partilha a:active, .b-partilha button:active { transform: scale(0.96); }
.b-partilha .nativo { padding: 0; width: 44px; }
.b-partilha [hidden] { display: none; }
.b-navega { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.b-navega a { display: block; padding: 20px 22px; border-radius: 18px; background: #fff; color: var(--ink); transition: box-shadow 0.35s var(--out); }
.b-navega a:hover { box-shadow: 0 0 0 1.5px var(--gold); }
.b-navega .prox { text-align: right; }
.b-navega span { display: block; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #8d8174; }
.b-navega b { display: block; margin-top: 6px; font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.15; }
.b-mais { max-width: 1240px; margin: clamp(80px, 9vw, 120px) auto 0; text-align: center; }
.b-mais h2 { font-size: clamp(36px, 3.4vw, 52px); }
.b-mais .b-grade { text-align: left; }
.b-mais .btn { margin-top: 50px; }

/* foto ampliada */
.b-luz { position: fixed; z-index: 90; inset: 0; display: grid; place-items: center; padding: 60px 90px; background: rgba(8, 7, 6, 0.97); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: luz 0.3s ease; }
.b-luz[hidden] { display: none; }
@keyframes luz { from { opacity: 0; } }
.b-luz figure { margin: 0; text-align: center; }
.b-luz img { display: block; max-width: 100%; max-height: calc(100svh - 170px); margin: 0 auto; border-radius: 12px; animation: luz 0.25s ease; }
.b-luz figcaption { display: flex; justify-content: center; gap: 18px; margin-top: 16px; font-size: 15px; color: var(--mute); }
.b-luz .num { color: rgba(246, 241, 233, 0.5); font-variant-numeric: lining-nums tabular-nums; }
.b-luz .ant { left: 24px; } .b-luz .prox { right: 24px; }
.b-luz .ant:hover, .b-luz .prox:hover { box-shadow: 0 0 0 3px rgba(8, 7, 6, 0.95), 0 0 0 5px var(--gold); }
.b-luz .fecha { position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); background: transparent; cursor: pointer; transition: border-color 0.3s ease; }
.b-luz .fecha:hover { border-color: var(--gold); }
.b-luz .fecha::before, .b-luz .fecha::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 1.5px; background: #fff; transform: translate(-50%, -50%) rotate(45deg); }
.b-luz .fecha::after { transform: translate(-50%, -50%) rotate(-45deg); }
@media (max-width: 640px) { .b-luz { padding: 60px 12px 90px; } .b-luz .ant, .b-luz .prox { top: auto; bottom: 22px; margin-top: 0; } .b-luz .ant { left: calc(50% - 64px); } .b-luz .prox { right: calc(50% - 64px); } }
.b-luz .fecha::after { transform: translate(-50%, -50%) rotate(-45deg); }

@media (max-width: 960px) { .b-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .b-grade { grid-template-columns: 1fr; }
  .bl-destaque { aspect-ratio: auto; min-height: 460px; }
  .bl-busca { flex-basis: 100%; }
  .b-navega { grid-template-columns: 1fr; }
  .b-galeria.grade { grid-template-columns: repeat(2, 1fr); }
  .b-texto { font-size: 18px; }
}


/* ---------- Banner: mesma altura na lista e no post; pode ter uma ilustração de fundo ---------- */
.bl-topo, .b-topo { min-height: 520px; display: flex; flex-direction: column; justify-content: center; }
.bl-topo .cab { width: 100%; }
.bl-topo.ilustrado, .b-topo.ilustrado { background: var(--night) var(--banner) center / cover no-repeat; }
/* lista com ilustração: tudo centralizado, sobre a área vazia do meio da ilustração */
.bl-topo.ilustrado .cab { flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.bl-topo.ilustrado .sub { margin-left: auto; margin-right: auto; }
.bl-topo.ilustrado .bl-busca { flex: 0 1 auto; width: min(420px, 100%); }
/* ilustração clara: textos escuros */
.ilustrado.claro { color: var(--ink); }
.ilustrado.claro h1 { color: var(--ink); }
.ilustrado.claro .kicker, .ilustrado.claro .cat { color: #9a7428; }
.ilustrado.claro .sub, .ilustrado.claro .meta, .ilustrado.claro .voltar { color: #5b544d; }
.ilustrado.claro .voltar:hover { color: var(--ink); }
.ilustrado.claro .resumo { color: #3a332d; }
.ilustrado.claro .bl-busca input { background: rgba(255, 255, 255, 0.72); border-color: rgba(26, 22, 19, 0.18); color: var(--ink); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ilustrado.claro .bl-busca input::placeholder { color: rgba(26, 22, 19, 0.5); }
.ilustrado.claro .bl-busca svg { color: #5b544d; }
@media (max-width: 640px) { .bl-topo, .b-topo { min-height: 440px; } .bl-topo.ilustrado, .b-topo.ilustrado { background-position: 30% center; } }
/* banner dos posts: a mesma altura em todos, a do post da IA (Dom, 16/11) */
.b-topo { min-height: 600px; }
@media (max-width: 640px) { .b-topo { min-height: 520px; } }

/* escrever para o autor: formulário no fim do post (vai direto para o e-mail de leitores) */
.b-carta { margin-top: 56px; padding: clamp(28px, 4vw, 44px); border-radius: 24px; background: #fff; box-shadow: 0 1px 0 rgba(26, 22, 19, 0.04), 0 18px 50px -30px rgba(26, 22, 19, 0.35); text-align: center; }
.b-carta h2 { font-size: clamp(30px, 3vw, 40px); line-height: 1.05; }
.b-carta > p { margin: 12px auto 0; max-width: 40ch; font-size: 16px; line-height: 1.55; color: var(--ink-soft); }
.b-carta form { margin-top: 28px; text-align: left; }
.b-carta .duas { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .b-carta .duas { grid-template-columns: 1fr; } }
.b-carta .campo { margin-bottom: 14px; }
.b-carta .campo label { display: block; margin: 0 0 7px 4px; font-size: 13px; letter-spacing: 0.04em; color: var(--ink-soft); }
.b-carta .campo input, .b-carta .campo textarea { display: block; width: 100%; padding: 13px 16px; border-radius: 14px; border: 1px solid rgba(26, 22, 19, 0.14); background: var(--cream);
     color: var(--ink); font: inherit; font-size: 16px; transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease; }
.b-carta .campo textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.b-carta .campo textarea::placeholder { color: rgba(26, 22, 19, 0.38); }
.b-carta .campo input:focus, .b-carta .campo textarea:focus { outline: none; border-color: rgba(201, 161, 74, 0.8); box-shadow: 0 0 0 3px rgba(201, 161, 74, 0.18); background: #fff; }
.b-carta .pote { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.b-carta .envio { display: flex; align-items: center; justify-content: flex-end; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.b-carta .aviso { flex: 1; min-width: 200px; font-size: 14px; color: var(--ink-soft); }
.b-carta .aviso.ok { color: #8a6a1f; }
.b-carta button[disabled] { opacity: 0.6; cursor: progress; }
.b-carta .duas { margin-bottom: 14px; } .b-carta .duas .campo { margin-bottom: 0; }

/* banner do post: a imagem principal, com o texto à esquerda (alinhado ao menu) ou no centro;
   o sombreado fica só atrás do texto, escuro (texto claro) ou claro (texto escuro) */
.b-topo.esquerda { text-align: left; align-items: flex-start; }
.b-topo.esquerda h1, .b-topo.esquerda .resumo { margin-left: 0; }
.b-topo.esquerda h1 { max-width: 18ch; }
.b-topo.esquerda .resumo { max-width: 32ch; }
.b-topo.com-capa { --sombra: linear-gradient(90deg, rgba(8, 7, 6, 0.8) 0%, rgba(8, 7, 6, 0.55) 30%, rgba(8, 7, 6, 0) 55%);
     background: var(--sombra), var(--night) var(--capa) center / cover no-repeat; color: var(--cream); }
.b-topo.com-capa.centro { --sombra: radial-gradient(ellipse 42% 58% at 50% 56%, rgba(8, 7, 6, 0.62), rgba(8, 7, 6, 0) 100%); }
.b-topo.com-capa.claro { --sombra: linear-gradient(90deg, rgba(246, 241, 233, 0.85) 0%, rgba(246, 241, 233, 0.6) 30%, rgba(246, 241, 233, 0) 55%); color: var(--ink); }
.b-topo.com-capa.claro.centro { --sombra: radial-gradient(ellipse 42% 58% at 50% 56%, rgba(246, 241, 233, 0.72), rgba(246, 241, 233, 0) 100%); }
.b-topo.com-capa > * { text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45); }
.b-topo.com-capa h1 { color: var(--cream); }
.b-topo.com-capa .resumo { color: rgba(246, 241, 233, 0.88); }
.b-topo.com-capa .voltar, .b-topo.com-capa .meta { color: rgba(246, 241, 233, 0.72); }
.b-topo.com-capa .voltar:hover { color: var(--cream); }
.b-topo.com-capa.claro > * { text-shadow: 0 1px 16px rgba(246, 241, 233, 0.6); }
.b-topo.com-capa.claro h1 { color: var(--ink); }
.b-topo.com-capa.claro .cat { color: #9a7428; }
.b-topo.com-capa.claro .resumo { color: #3a332d; }
.b-topo.com-capa.claro .voltar, .b-topo.com-capa.claro .meta { color: #5b544d; }
.b-topo.com-capa.claro .voltar:hover { color: var(--ink); }
@media (max-width: 640px) {
  .b-topo.com-capa { background-position: center, 60% center; }
  .b-topo.com-capa.esquerda { --sombra: linear-gradient(90deg, rgba(8, 7, 6, 0.75) 0%, rgba(8, 7, 6, 0.45) 60%, rgba(8, 7, 6, 0.15) 100%); }
  .b-topo.com-capa.claro.esquerda { --sombra: linear-gradient(90deg, rgba(246, 241, 233, 0.82) 0%, rgba(246, 241, 233, 0.55) 60%, rgba(246, 241, 233, 0.2) 100%); }
  .b-topo.com-capa.centro { --sombra: radial-gradient(ellipse 80% 60% at 50% 56%, rgba(8, 7, 6, 0.6), rgba(8, 7, 6, 0) 100%); }
  .b-topo.com-capa.claro.centro { --sombra: radial-gradient(ellipse 80% 60% at 50% 56%, rgba(246, 241, 233, 0.72), rgba(246, 241, 233, 0) 100%); }
}


/* "Acompanhe Dom Bloch" abaixo do bloco "Escreva para o autor" */
.b-post .segue { margin-top: 56px; }

/* tablets e telas menores: o destaque e as dicas do arquivo não passam da tela (Dom, 16/11); 1440 e 1280 ficam como estão */
@media (max-width: 1279px), (hover: none) { .bl-destaque { max-width: 100%; } .bl-lista { overflow-x: clip; } }
