/*
Theme Name: Rita Cadiz
Theme URI: https://draritacadiz.com.br
Author: Market ID
Description: Tema do site da Dra. Rita Cadiz (nutricionista e psicanalista clínica). Página inicial, artigos e WhatsApp.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: rita-cadiz
*/

/* Layout: a Dra. Rita é a estrela. Fundo claro e quente, retrato grande dentro de um arco,
   seções calmas com cantos suaves e verde-sálvia como cor de cuidado. Quase sem efeitos. */
:root {
  --bg: #faf8f4;
  --sand: #f0e9dd;
  --sage-100: #e8eee4;
  --sage-200: #d2dfcd;
  --sage-500: #6f8f79;
  --green: #2c5143;
  --green-deep: #1d3a2f;
  --ink: #23322b;
  --ink-soft: #5b6a62;
  --honey: #c4934f;
  --honey-deep: #94692a;
  --on-dark: #f4f1ea;
  --on-dark-soft: #b9c8bf;
  --line: rgba(35, 50, 43, .14);
  --line-dark: rgba(244, 241, 234, .2);

  --f-display: "Fraunces", "Georgia", "Times New Roman", serif;
  --f-body: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --r-card: 28px;
  --header-h: 72px;
}
* { box-sizing: border-box; }
body { margin: 0; }
html { scroll-behavior: smooth; color-scheme: light; }
body { background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--bg); z-index: 60; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.12; letter-spacing: -.012em; margin: 0; text-wrap: balance; color: var(--green-deep); }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
p { margin: 0; }
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }
:focus-visible { outline: 2px solid var(--honey); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-left: max(22px, env(safe-area-inset-left, 0px)); padding-right: max(22px, env(safe-area-inset-right, 0px)); }
.band { padding-block: clamp(72px, 9vw, 120px); }
.soft { color: var(--ink-soft); }

.btn { display: inline-flex; align-items: center; gap: .6em; background: var(--green); color: #fff; font-weight: 600; font-size: 1rem; text-decoration: none; padding: .95rem 1.6rem; border-radius: 999px; transition: background .25s, transform .25s; }
.btn:hover { background: var(--green-deep); transform: translateY(-1px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn.light { background: var(--bg); color: var(--green-deep); }
.btn.light:hover { background: #fff; }
.link { font-weight: 600; color: var(--green); text-decoration: none; border-bottom: 1.5px solid var(--honey); padding-bottom: 2px; }
.link:hover { color: var(--green-deep); }

/* Cabeçalho */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(250, 248, 244, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand b { font-family: var(--f-display); font-weight: 500; font-size: 1.5rem; color: var(--green-deep); }
.brand span { font-size: .8rem; color: var(--ink-soft); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 30px; font-size: .97rem; }
.nav a { text-decoration: none; color: var(--ink-soft); transition: color .2s; }
.nav a:hover { color: var(--green-deep); }
.nav .btn { padding: .65rem 1.2rem; font-size: .93rem; color: #fff; }
.nav .btn:hover { color: #fff; }
.menu-toggle { display: none; align-items: center; background: none; border: 1px solid var(--line); color: var(--ink); padding: .55rem 1rem; font: inherit; font-size: .93rem; border-radius: 999px; cursor: pointer; }

/* Retrato em arco */
.arch { position: relative; margin: 0; }
.arch::before { content: ""; position: absolute; inset: 0; border-radius: 999px 999px var(--r-card) var(--r-card); background: linear-gradient(180deg, var(--sage-200), var(--sage-100)); }
.arch::after { content: ""; position: absolute; inset: 0; border-radius: 999px 999px var(--r-card) var(--r-card); border: 1.5px solid var(--honey); translate: 16px 14px; z-index: -1; opacity: .7; }
.arch img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; border-radius: 0 0 var(--r-card) var(--r-card); }

/* Hero */
.hero { padding-block: clamp(36px, 6vw, 84px) clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.1vw, 4.5rem); line-height: 1.07; letter-spacing: -.02em; }
.hero .lead { margin-top: 26px; max-width: 34rem; font-size: 1.2rem; color: var(--ink-soft); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 34px; }
.hero .arch { width: min(100%, 500px); aspect-ratio: 651 / 860; justify-self: center; margin-right: 16px; }
.hero-tag { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .93rem; color: var(--ink-soft); max-width: 34rem; }
.hero-tag b { color: var(--green-deep); font-weight: 600; }

/* Confiança */
.trust { border-block: 1px solid var(--line); background: var(--sand); }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust li { padding: 26px 24px; font-size: .97rem; line-height: 1.4; border-left: 1px solid var(--line); }
.trust li:first-child { border-left: 0; padding-left: 0; }
.trust b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 1.15rem; color: var(--green-deep); margin-bottom: 4px; }
.trust span { color: var(--ink-soft); }

/* Duas formas de cuidar */
.care-head { max-width: 40rem; margin-bottom: clamp(36px, 5vw, 56px); }
.care-head p { margin-top: 18px; font-size: 1.15rem; }
.care { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.care > div { border-radius: var(--r-card); padding: clamp(30px, 4vw, 52px); }
.care .n { background: var(--sage-200); }
.care .p { background: var(--sand); }
.care h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 16px; }
.care p + p { margin-top: 14px; }
.care blockquote { margin: 26px 0 0; padding-left: 18px; border-left: 2px solid var(--honey); font-family: var(--f-display); font-style: italic; font-size: 1.22rem; line-height: 1.45; color: var(--green-deep); }

/* Sobre */
.about { background: var(--sage-100); }
.about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 7vw, 100px); align-items: center; }
.about .arch { width: min(100%, 440px); aspect-ratio: 1 / 1.08; justify-self: center; margin-right: 16px; }
.about .arch img { object-fit: cover; object-position: 50% 100%; }
.about h2 { margin-bottom: 22px; }
.about .intro { font-size: 1.2rem; max-width: 36rem; color: var(--ink-soft); }
.cred { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.cred li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 4px 24px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cred b { font-weight: 600; color: var(--honey-deep); }

/* Especialidades */
.spec-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 90px); }
.spec-intro { position: sticky; top: calc(var(--header-h) + 36px); align-self: start; }
.spec-intro p { margin-top: 20px; max-width: 24rem; }
.spec-list details { border-bottom: 1px solid var(--line); }
.spec-list details:first-child { border-top: 1px solid var(--line); }
.spec-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; }
.spec-list summary::-webkit-details-marker { display: none; }
.spec-list summary h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); transition: color .2s; }
.spec-list summary:hover h3 { color: var(--honey-deep); }
.pm { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--sage-100); transition: background .25s; }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: var(--green); translate: -50% -50%; transition: transform .3s; }
.pm::after { transform: rotate(90deg); }
.spec-list details[open] .pm { background: var(--sage-200); }
.spec-list details[open] .pm::after { transform: rotate(0); }
.spec-list details p { color: var(--ink-soft); padding: 0 56px 26px 0; max-width: 40rem; }

/* Método */
.method { background: var(--bg); }
.method-head { max-width: 40rem; margin-bottom: clamp(36px, 5vw, 56px); }
.method-head p { margin-top: 16px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px 26px 32px; }
.steps .k { display: block; font-family: var(--f-display); font-style: italic; color: var(--honey-deep); font-size: 1.05rem; margin-bottom: 26px; }
.steps h3 { font-size: 1.55rem; margin-bottom: 10px; }
.steps p { color: var(--ink-soft); font-size: 1rem; }

/* Livro */
.book-panel { background: var(--sand); border-radius: 36px; padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.book-panel img { width: min(260px, 64vw); margin-inline: auto; border-radius: 3px 8px 8px 3px; box-shadow: 0 24px 44px -20px rgba(29, 58, 47, .5); }
.book-panel h2 { margin-bottom: 18px; }
.book-panel p { max-width: 34rem; color: var(--ink-soft); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 26px 0 32px; }
.tags li { background: rgba(255, 255, 255, .7); padding: .4rem .95rem; border-radius: 999px; font-size: .93rem; }

/* Fotos do consultório */
.photo { margin: 0; border-radius: var(--r-card); overflow: hidden; background: var(--sage-100); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.method-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.method-top .method-head { margin-bottom: 0; }
.method-top .photo { aspect-ratio: 4 / 3; }
.method-top .photo img { object-position: 50% 30%; }
.duo-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.duo-photos .photo { aspect-ratio: 3 / 2; }
.book-visual { position: relative; }
.book-panel .book-visual .shot { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-card); box-shadow: none; margin: 0; }
.book-panel .book-visual .cover { position: absolute; right: -14px; bottom: -22px; width: clamp(96px, 28%, 130px); margin: 0; }

/* Convênios */
.plans { text-align: center; padding-bottom: clamp(60px, 8vw, 100px); }
.plans h2 { font-family: var(--f-body); font-size: .95rem; font-weight: 600; color: var(--ink-soft); letter-spacing: 0; margin-bottom: 28px; }
.plans ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px clamp(24px, 5vw, 64px); }
.plans img { height: 92px; width: auto; }

/* Contato */
.contact { background: var(--green-deep); color: var(--on-dark); border-radius: 44px 44px 0 0; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 6vw, 80px); align-items: end; }
.contact-copy { padding-block: clamp(64px, 9vw, 110px); }
.contact h2 { color: var(--on-dark); font-size: clamp(2.3rem, 4.8vw, 4rem); margin-bottom: 20px; }
.contact .lead { color: var(--on-dark-soft); font-size: 1.15rem; max-width: 30rem; }
.contact .cta-row { margin-top: 30px; }
.phone { font-size: .93rem; color: var(--on-dark-soft); }
.phone b { color: var(--on-dark); font-weight: 600; user-select: all; font-variant-numeric: tabular-nums; }
.units { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; border-top: 1px solid var(--line-dark); padding-top: 28px; }
.units h3 { color: var(--on-dark); font-size: 1.35rem; margin-bottom: 8px; }
.units address { font-style: normal; color: var(--on-dark-soft); font-size: .97rem; line-height: 1.55; margin-bottom: 10px; }
.units a { color: var(--honey); text-underline-offset: 3px; }
.contact .arch { width: min(100%, 400px); aspect-ratio: 1 / 1.04; justify-self: center; align-self: end; margin-right: 0; }
.contact .arch::before { background: linear-gradient(180deg, #355b4b, #284a3c); border-radius: 999px 999px 0 0; }
.contact .arch::after { display: none; }
.contact .arch img { object-fit: cover; border-radius: 0; }

/* Rodapé */
.foot { background: var(--green-deep); color: var(--on-dark-soft); padding-block: 34px 40px; font-size: .9rem; border-top: 1px solid var(--line-dark); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 40px; }
.foot b { font-family: var(--f-display); font-weight: 500; font-size: 1.3rem; color: var(--on-dark); display: block; }
.foot p.note { flex-basis: 100%; max-width: 46rem; }

/* WhatsApp fixo */
.wa-float { position: fixed; z-index: 55; right: calc(max(16px, env(safe-area-inset-right, 0px)) + 4px); bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); display: inline-flex; align-items: center; gap: .55em; background: var(--green); color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; padding: .85rem 1.25rem; border-radius: 999px; box-shadow: 0 10px 26px -10px rgba(29, 58, 47, .6); }
.wa-float:hover { background: var(--green-deep); }
.wa-float svg { width: 1.2em; height: 1.2em; }

/* Entrada suave do topo (termina em 0,7 s) */
@media (prefers-reduced-motion: no-preference) {
  .hero-grid > * { animation: in .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-grid > *:nth-child(2) { animation-delay: .1s; }
  @keyframes in { from { transform: translateY(18px); } }
}

/* Responsivo */
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 6px max(22px, env(safe-area-inset-right, 0px)) 22px max(22px, env(safe-area-inset-left, 0px)); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .btn { margin-top: 18px; justify-content: center; }
  .hero-grid, .about-grid, .spec-grid, .contact-grid, .book-panel, .method-top { grid-template-columns: minmax(0, 1fr); }
  .method-top { align-items: start; }
  .book-panel .book-visual { max-width: 460px; margin-bottom: 18px; }
  .spec-intro { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust li:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .care { grid-template-columns: minmax(0, 1fr); }
  .contact-copy { padding-bottom: 8px; }
  .contact .arch { margin-top: 24px; }
}
@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .brand span { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .duo-photos { grid-template-columns: minmax(0, 1fr); }
  .book-panel .book-visual .cover { right: 8px; }
  .cred li { grid-template-columns: minmax(0, 1fr); }
  .units { grid-template-columns: minmax(0, 1fr); }
  .spec-list details p { padding-right: 0; }
  .contact { border-radius: 32px 32px 0 0; }
  .wa-float span { display: none; }
  .wa-float { padding: .95rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Capa */
.cover { background: var(--sand); padding-block: clamp(56px, 8vw, 104px) clamp(44px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.cover h1 { font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: -.025em; }
.cover p { margin-top: 20px; max-width: 34rem; font-size: 1.2rem; color: var(--ink-soft); }
.sample-note { margin-top: 26px; display: inline-block; font-size: .85rem; color: var(--green); background: var(--sage-200); padding: .4rem .9rem; border-radius: 999px; }

/* Filtros */
.filters { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 36px 8px; }
.chip { font: inherit; font-size: .95rem; background: none; color: var(--ink); border: 1px solid var(--line); padding: .5rem 1.1rem; border-radius: 999px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.chip:hover { border-color: var(--green); }
.chip[aria-pressed="true"] { background: var(--green); color: #fff; border-color: var(--green); }

/* Destaque */
.featured { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 6vw, 80px); align-items: center; padding-block: 40px; border-bottom: 1px solid var(--line); text-decoration: none; }
.featured .art { aspect-ratio: 4 / 3; background: var(--sage-200); border-radius: var(--r-card); display: grid; place-items: center; transition: background .3s; }
.featured:hover .art { background: #c8d8c2; }
.featured .art b { font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: clamp(3rem, 7vw, 5.6rem); color: var(--green); letter-spacing: -.02em; }
.featured h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); margin-block: 12px 14px; }
.meta { font-size: .9rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.meta .cat { color: var(--honey-deep); font-weight: 600; }
.read { display: inline-block; margin-top: 20px; font-weight: 600; color: var(--green); border-bottom: 1.5px solid var(--honey); padding-bottom: 2px; }

/* Lista */
.list { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); gap: 12px 40px; align-items: baseline; padding: 32px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.row h3 { font-size: 1.6rem; transition: color .2s; }
.row:hover h3 { color: var(--honey-deep); }
.row p { color: var(--ink-soft); font-size: 1rem; }
.row .meta { flex-direction: column; }
.empty { padding: 60px 0; color: var(--ink-soft); }

/* Leitura */
.article-head { background: var(--sand); border-bottom: 1px solid var(--line); padding-block: clamp(40px, 6vw, 80px) clamp(36px, 5vw, 64px); }
.back { display: inline-block; color: var(--ink-soft); text-decoration: none; font-size: .95rem; margin-bottom: 32px; }
.back:hover { color: var(--green-deep); }
.article-head h1 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.02em; max-width: 17em; }
.article-head .meta { margin-top: 22px; }
.article-body { padding-block: clamp(44px, 6vw, 80px); }
.prose { max-width: 40rem; margin-inline: auto; padding-inline: max(22px, env(safe-area-inset-left, 0px)); }
.prose p { font-size: 1.15rem; line-height: 1.8; margin-bottom: 1.3em; }
.prose p.lede { font-family: var(--f-display); font-size: 1.65rem; line-height: 1.36; letter-spacing: -.01em; color: var(--green-deep); margin-bottom: 1.3em; }
.prose h2 { font-size: 1.85rem; margin: 1.8em 0 .6em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.4em; font-size: 1.15rem; line-height: 1.75; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--honey); }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--honey); font-family: var(--f-display); font-style: italic; font-size: 1.5rem; line-height: 1.4; color: var(--green-deep); }
.prose .disclaimer { font-size: .95rem; color: var(--ink-soft); background: var(--sage-100); border-radius: 16px; padding: 18px 22px; margin-top: 2.2em; line-height: 1.6; }
.author { display: flex; align-items: center; gap: 18px; max-width: 40rem; margin: 0 auto; padding: 26px max(22px, env(safe-area-inset-right, 0px)); border-top: 1px solid var(--line); }
.author img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: 50% 14%; background: var(--sage-200); flex: none; }
.author b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 1.3rem; color: var(--green-deep); }
.author span { font-size: .93rem; color: var(--ink-soft); }
.cta-box .wrap > div { background: var(--sage-100); border-radius: 36px; padding: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; }
.cta-box h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 18em; }
.more { padding-block: 64px 90px; }
.more > .wrap > h2 { font-size: 1.9rem; margin-bottom: 8px; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 6px max(22px, env(safe-area-inset-right, 0px)) 22px max(22px, env(safe-area-inset-left, 0px)); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a[aria-current] { border-bottom: 1px solid var(--line); padding-bottom: 15px; }
  .nav .btn { margin-top: 18px; justify-content: center; }
  .featured { grid-template-columns: minmax(0, 1fr); }
  .row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .row .meta { flex-direction: row; order: -1; }
}
@media (max-width: 600px) { .brand span { display: none; } :root { --header-h: 64px; } }

/* ---- Artigos (blog) ---- */
.nav a[aria-current] { color: var(--green-deep); border-bottom: 1.5px solid var(--honey); padding-bottom: 2px; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.prose blockquote p { font: inherit; margin: 0; }
.prose a { color: var(--green); text-underline-offset: 3px; }
.prose img { border-radius: 16px; margin: 1.6em 0; }
.prose h3 { font-size: 1.4rem; margin: 1.6em 0 .5em; }
.prose ol { padding-left: 1.2em; font-size: 1.15rem; line-height: 1.75; margin: 0 0 1.4em; }
.prose .wp-block-image figcaption { font-size: .9rem; color: var(--ink-soft); text-align: center; }
.chip { text-decoration: none; display: inline-block; }
.chip.is-on { background: var(--green); color: #fff; border-color: var(--green); }
.pager { display: flex; gap: 12px; flex-wrap: wrap; padding-block: 36px 0; }
.pager a, .pager span { padding: .5rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .95rem; }
.pager .current { background: var(--green); color: #fff; border-color: var(--green); }
.featured .art img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-card); }
.featured .art.has-img { overflow: hidden; }
.screen-reader-text { position: absolute; left: -9999px; }
