/*
Theme Name: RC News — Revista Catarinense News
Theme URI: https://rcnews.com.br
Author: Redação RC News
Description: Tema editorial de portal de notícias, elegante e moderno, com carrossel de destaques, ticker de última hora, seções por editoria e espaços para anunciantes. Réplica fiel do design PULSO/RC News. compatível com WordPress.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rcnews
Tags: news, magazine, editorial, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready, two-columns, three-columns
*/

/* ============================================================
   RC NEWS — Folha de estilo do tema
   Espelha o design React/Tailwind (variáveis CSS + Fraunces/Archivo)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Archivo:ital,wght@0,400..800;1,400..700&display=swap');

:root {
  --background: hsl(40 33% 96%);
  --foreground: hsl(240 9% 9%);
  --card: hsl(0 0% 100%);
  --primary: hsl(8 82% 46%);
  --primary-foreground: hsl(40 33% 97%);
  --secondary: hsl(40 14% 90%);
  --muted: hsl(40 12% 91%);
  --muted-foreground: hsl(240 4% 42%);
  --border: hsl(240 6% 84%);
  --ink: hsl(240 10% 7%);
  --ink-foreground: hsl(40 25% 93%);
  --radius: 0.25rem;
  --maxw: 80rem;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Archivo", sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.font-display { font-family: "Fraunces", serif; font-optical-sizing: auto; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 640px) { .container { padding-inline: 1.5rem; } }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--background) 95%, transparent);
  backdrop-filter: blur(8px);
}
.top-strip { border-bottom: 1px solid var(--border); }
.top-strip .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.4rem;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-foreground);
}
.top-strip .date { text-transform: none; letter-spacing: normal; }
.top-strip .live { display: none; align-items: center; gap: 0.4rem; }
.top-strip .live::before {
  content: "";
  width: 0.45rem; height: 0.45rem; border-radius: 999px;
  background: var(--primary);
}
@media (min-width: 640px) { .top-strip .live { display: inline-flex; } }

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}
.masthead .logo { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.masthead .logo .mark {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 2.5rem;
  letter-spacing: -0.02em;
}
@media (min-width: 640px) { .masthead .logo .mark { font-size: 3rem; } }
.masthead .logo .sub {
  margin-top: 0.25rem;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--muted-foreground);
}
@media (min-width: 640px) { .masthead .logo .sub { font-size: 11px; } }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
  transition: background 0.2s;
}
.icon-btn:hover { background: var(--secondary); }
.menu-toggle { display: inline-flex; }
@media (min-width: 1024px) { .menu-toggle { visibility: hidden; pointer-events: none; } }

.main-nav { border-top: 1px solid var(--border); display: none; }
@media (min-width: 1024px) { .main-nav { display: block; } }
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem;
}
.main-nav a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: color-mix(in srgb, var(--foreground) 80%, transparent);
  transition: color 0.2s;
}
.main-nav a:hover,
.main-nav .current-cat > a { color: var(--primary); }
.main-nav li:first-child a { color: var(--primary); }

.mobile-nav { display: none; border-top: 1px solid var(--border); }
.mobile-nav.open { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
.mobile-nav a {
  background: var(--background);
  padding: 1rem 1.25rem;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.mobile-nav a:hover { background: var(--secondary); }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

/* ---------- Ticker ---------- */
.ticker { background: var(--ink); color: var(--ink-foreground); }
.ticker .row { display: flex; align-items: stretch; }
.ticker .label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: none;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.6rem 1rem;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.ticker .label .bolt { width: 0.85rem; height: 0.85rem; }
.ticker .label span { display: none; }
@media (min-width: 640px) { .ticker .label span { display: inline; } }
.ticker .viewport { flex: 1; overflow: hidden; position: relative; }
.ticker .track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  align-items: center;
  padding-block: 0.6rem;
  animation: ticker-scroll 42s linear infinite;
}
.ticker .viewport:hover .track { animation-play-state: paused; }
.ticker .track span.item { display: inline-flex; align-items: center; font-size: 13px; }
.ticker .track span.item .txt { padding-inline: 1.25rem; }
.ticker .track span.item .dot { width: 0.25rem; height: 0.25rem; border-radius: 999px; background: var(--primary); }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker .track { animation: none; } }

/* ---------- Espaços publicitários ---------- */
.ad-slot { margin-block: 0.5rem; }
.ad-slot .ad-label {
  text-align: center;
  margin-bottom: 0.4rem;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: color-mix(in srgb, var(--muted-foreground) 60%, transparent);
}
.ad-slot .ad-box {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--secondary) 40%, transparent);
  aspect-ratio: 10 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  text-align: center;
}
.ad-slot.format-rectangle .ad-box { aspect-ratio: 4 / 3; }
.ad-slot.format-skyscraper .ad-box { aspect-ratio: 2 / 3; max-width: 300px; margin-inline: auto; }
.ad-slot .ad-box .ph-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em;
  color: color-mix(in srgb, var(--muted-foreground) 70%, transparent);
}
.ad-slot .ad-box .ph-size { font-family: "Fraunces", serif; font-weight: 700; font-size: 1.1rem; color: color-mix(in srgb, var(--muted-foreground) 50%, transparent); }
.ad-slot .ad-box .ph-mail { font-size: 11px; color: color-mix(in srgb, var(--muted-foreground) 50%, transparent); }
.ad-slot .ad-box.has-ad { border-style: solid; }
.ad-slot .ad-box.has-ad img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero / Carrossel ---------- */
.hero { position: relative; background: var(--ink); color: var(--ink-foreground); }
.hero .viewport { overflow: hidden; }
.hero .track { display: flex; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.hero .slide { position: relative; min-width: 100%; }
.hero .slide .frame { position: relative; min-height: 70vh; }
@media (min-width: 640px) { .hero .slide .frame { min-height: 78vh; } }
.hero .slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .slide .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.2)); }
.hero .slide .content {
  position: relative;
  min-height: 70vh;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 6rem 1rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
@media (min-width: 640px) { .hero .slide .content { min-height: 78vh; padding-inline: 1.5rem; } }
.hero .kicker {
  align-self: flex-start;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.25rem 0.75rem;
  margin-bottom: 1rem;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.hero h1 {
  margin: 0;
  max-width: 56rem;
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 2.5rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
@media (min-width: 640px) { .hero h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 4.5rem; } }
.hero .excerpt { margin-top: 1.25rem; max-width: 42rem; font-size: 1.05rem; line-height: 1.7; color: rgba(255,255,255,0.75); }
@media (min-width: 640px) { .hero .excerpt { font-size: 1.125rem; } }
.hero .meta { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.3rem 1.25rem; font-size: 13px; color: rgba(255,255,255,0.6); }
.hero .meta .author { font-weight: 500; color: rgba(255,255,255,0.9); }
.hero .meta .clock { display: inline-flex; align-items: center; gap: 0.35rem; }

.hero-controls { position: absolute; inset-inline: 0; bottom: 0; }
.hero-controls .inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 640px) { .hero-controls .inner { padding-inline: 1.5rem; } }
.hero-dots { display: flex; align-items: center; gap: 0.75rem; }
.hero-dots button { background: none; border: none; padding: 0; cursor: pointer; display: flex; height: 2rem; align-items: center; }
.hero-dots .bar {
  position: relative;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,0.25);
  transition: width 0.5s;
  width: 2rem;
  overflow: hidden;
}
.hero-dots .bar.active { width: 4rem; }
.hero-dots .bar.active .fill {
  position: absolute; inset: 0; background: var(--primary);
  transform-origin: left;
  animation: hero-progress 6.5s linear forwards;
}
@keyframes hero-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-dots .count { margin-left: 0.5rem; font-family: "Fraunces", serif; font-style: italic; font-size: 14px; color: rgba(255,255,255,0.6); }
.hero-arrows { display: flex; gap: 0.5rem; }
.hero-arrows button {
  width: 2.75rem; height: 2.75rem;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.hero-arrows button:hover { border-color: var(--primary); background: var(--primary); }
@media (prefers-reduced-motion: reduce) { .hero-dots .bar.active .fill { animation: none; transform: scaleX(1); } }

/* ---------- Cabeçalhos de seção ---------- */
.section-heading { margin-bottom: 2.5rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.section-heading .eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em; color: var(--primary); }
.section-heading h2 { margin: 0.5rem 0 0; font-family: "Fraunces", serif; font-weight: 900; font-size: 1.875rem; letter-spacing: -0.02em; }
@media (min-width: 640px) { .section-heading h2 { font-size: 3rem; } }
.section-heading .rule { display: none; flex: 1; height: 1px; background: var(--border); }
@media (min-width: 640px) { .section-heading .rule { display: block; } }
.section-heading.dark h2 { color: var(--ink-foreground); }
.section-heading.dark .rule { background: rgba(255,255,255,0.15); }

/* ---------- Cartões / listas ---------- */
.headline-link {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 96%;
  transition: background-size 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
article.card:hover .headline-link,
.headline-link:hover { background-size: 100% 2px; }

.zoom-img img { transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.zoom-img:hover img { transform: scale(1.05); }

.lead-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .lead-grid { grid-template-columns: 1.15fr 1fr; } }

.lead-article .img-wrap { position: relative; overflow: hidden; border-radius: var(--radius); }
.lead-article .img-wrap img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
.lead-article .badge {
  position: absolute; left: 1rem; top: 1rem;
  background: var(--primary); color: var(--primary-foreground);
  padding: 0.25rem 0.75rem;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em;
}
.lead-article h3 { margin: 1.25rem 0 0; font-family: "Fraunces", serif; font-weight: 700; font-size: 1.5rem; line-height: 1.3; }
@media (min-width: 640px) { .lead-article h3 { font-size: 1.875rem; } }
.lead-article p { margin: 0.75rem 0 0; max-width: 36rem; font-size: 15px; line-height: 1.7; color: var(--muted-foreground); }
.lead-article .byline { margin-top: 1rem; display: flex; gap: 1rem; font-size: 12px; color: var(--muted-foreground); }
.lead-article .byline .author { font-weight: 500; color: var(--foreground); }

.news-list { display: flex; flex-direction: column; border-block: 1px solid var(--border); }
.news-list .item { display: flex; gap: 1rem; padding-block: 1.25rem; border-bottom: 1px solid var(--border); }
.news-list .item:last-child { border-bottom: none; }
.news-list .num { margin-top: 0.25rem; font-family: "Fraunces", serif; font-style: italic; font-size: 14px; color: var(--primary); flex: none; }
.news-list .kicker { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted-foreground); }
.news-list h3 { margin: 0.25rem 0 0; font-family: "Fraunces", serif; font-weight: 700; font-size: 1.125rem; line-height: 1.35; }
.news-list .time { margin-top: 0.5rem; display: inline-flex; align-items: center; gap: 0.35rem; font-size: 12px; color: var(--muted-foreground); }

/* Grade de 4 (escolha dos editores) */
.picks-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .picks-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .picks-grid { grid-template-columns: repeat(4, 1fr); } }
.pick .img-wrap { overflow: hidden; border-radius: var(--radius); }
.pick .img-wrap img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
.pick .kicker { margin-top: 1rem; display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: var(--primary); }
.pick h3 { margin: 0.5rem 0 0; font-family: "Fraunces", serif; font-weight: 700; font-size: 1.25rem; line-height: 1.3; }
.pick .meta { margin-top: 0.75rem; font-size: 12px; color: var(--muted-foreground); }
@media (min-width: 1024px) { .pick.offset { transform: translateY(2rem); } }

/* Seção opinião (fundo escuro) */
.opinion-section { background: var(--ink); color: var(--ink-foreground); }
.opinion-grid { display: grid; gap: 3rem; }
@media (min-width: 768px) { .opinion-grid { grid-template-columns: repeat(2, 1fr); } }
.opinion figure { position: relative; border-left: 2px solid var(--primary); padding-left: 1.5rem; }
@media (min-width: 640px) { .opinion figure { padding-left: 2rem; } }
.opinion .qmark {
  position: absolute; left: -0.75rem; top: -0.25rem;
  width: 1.5rem; height: 1.5rem; border-radius: 999px;
  background: var(--primary); color: var(--primary-foreground);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "Fraunces", serif; font-weight: 700; font-size: 14px;
}
.opinion blockquote { margin: 0; font-family: "Fraunces", serif; font-style: italic; font-weight: 500; font-size: 1.5rem; line-height: 1.35; color: rgba(255,255,255,0.9); }
@media (min-width: 640px) { .opinion blockquote { font-size: 1.7rem; } }
.opinion figcaption { margin-top: 1.5rem; display: flex; align-items: center; gap: 1rem; }
.opinion figcaption img { width: 3.5rem; height: 3.5rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.2); object-fit: cover; }
.opinion figcaption .name { font-size: 14px; font-weight: 700; }
.opinion figcaption .role { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(255,255,255,0.5); }

/* Mais lidas + newsletter */
.twocol { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .twocol { grid-template-columns: 1fr 1.1fr; } }
.most-read-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 2rem; }
.most-read-head .flame { width: 1.25rem; height: 1.25rem; color: var(--primary); }
.most-read-head h2 { margin: 0; font-family: "Fraunces", serif; font-weight: 900; font-size: 1.875rem; letter-spacing: -0.02em; }
.most-read ol { list-style: none; margin: 0; padding: 0; border-block: 1px solid var(--border); }
.most-read li { display: flex; gap: 1.25rem; align-items: baseline; padding-block: 1.25rem; border-bottom: 1px solid var(--border); }
.most-read li:last-child { border-bottom: none; }
.most-read .big { font-family: "Fraunces", serif; font-weight: 900; font-size: 2.25rem; color: color-mix(in srgb, var(--primary) 25%, transparent); transition: color 0.2s; }
.most-read li:hover .big { color: var(--primary); }
.most-read .kicker { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted-foreground); }
.most-read h3 { margin: 0.25rem 0 0; font-family: "Fraunces", serif; font-weight: 700; font-size: 1.125rem; line-height: 1.35; }

/* Newsletter */
.newsletter {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--primary); color: var(--primary-foreground);
  padding: 2rem;
}
@media (min-width: 640px) { .newsletter { padding: 2.5rem; } }
.newsletter .deco { position: absolute; right: -2.5rem; top: -2.5rem; width: 12rem; height: 12rem; border-radius: 999px; border: 22px solid rgba(255,255,255,0.15); pointer-events: none; }
.newsletter .mail-icon { width: 1.75rem; height: 1.75rem; }
.newsletter h3 { margin: 1rem 0 0; font-family: "Fraunces", serif; font-weight: 900; font-size: 1.875rem; line-height: 1.2; }
.newsletter p { margin: 0.75rem 0 0; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.85); }
.newsletter form { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
@media (min-width: 640px) { .newsletter form { flex-direction: row; } }
.newsletter input {
  height: 3rem; flex: 1; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.1);
  padding-inline: 1rem; color: #fff; font-size: 14px;
}
.newsletter input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter input:focus { outline: none; border-color: #fff; }
.newsletter button {
  height: 3rem; border: none; border-radius: var(--radius);
  background: var(--ink); color: var(--ink-foreground);
  padding-inline: 1.5rem; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  cursor: pointer; transition: transform 0.1s;
}
.newsletter button:active { transform: scale(0.98); }
.newsletter .ok { margin-top: 1.5rem; border-radius: var(--radius); background: rgba(255,255,255,0.15); padding: 0.75rem 1rem; font-size: 14px; font-weight: 500; }

/* ---------- Páginas de editoria (categoria) ---------- */
.section-masthead { border-bottom: 1px solid var(--border); }
.section-masthead .inner { padding-block: 3rem; }
@media (min-width: 640px) { .section-masthead .inner { padding-block: 4rem; } }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted-foreground); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .current { color: var(--primary); }
.section-masthead h1 { margin: 1rem 0 0; font-family: "Fraunces", serif; font-weight: 900; font-size: 3rem; letter-spacing: -0.02em; }
@media (min-width: 640px) { .section-masthead h1 { font-size: 4.5rem; } }
.section-masthead .desc { margin: 1rem 0 0; max-width: 42rem; font-size: 1.125rem; line-height: 1.7; color: var(--muted-foreground); }

.grid-section { border-top: 1px solid var(--border); background: color-mix(in srgb, var(--secondary) 50%, transparent); }
.cards-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }
.card .img-wrap { overflow: hidden; border-radius: var(--radius); }
.card .img-wrap img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
.card .kicker { margin-top: 1rem; display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: var(--primary); }
.card h3 { margin: 0.5rem 0 0; font-family: "Fraunces", serif; font-weight: 700; font-size: 1.25rem; line-height: 1.3; }
.card p { margin: 0.5rem 0 0; font-size: 14px; line-height: 1.6; color: var(--muted-foreground); }
.card .meta { margin-top: 0.75rem; font-size: 12px; color: var(--muted-foreground); }

.other-sections h2 { margin: 0 0 2rem; font-family: "Fraunces", serif; font-weight: 900; font-size: 1.5rem; letter-spacing: -0.02em; }
.chips { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.chips a {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0.75rem 1.25rem; font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em;
  transition: border-color 0.2s, color 0.2s;
}
.chips a:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- Single (post) ---------- */
.single-wrap { max-width: 48rem; margin-inline: auto; padding-block: 3rem; }
.single-wrap .kicker { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: var(--primary); }
.single-wrap h1 { margin: 0.75rem 0 0; font-family: "Fraunces", serif; font-weight: 900; font-size: 2.5rem; line-height: 1.1; letter-spacing: -0.02em; }
@media (min-width: 640px) { .single-wrap h1 { font-size: 3.5rem; } }
.single-wrap .byline { margin: 1.25rem 0; display: flex; flex-wrap: wrap; gap: 1rem; font-size: 13px; color: var(--muted-foreground); }
.single-wrap .byline .author { font-weight: 600; color: var(--foreground); }
.single-wrap .cover { border-radius: var(--radius); overflow: hidden; margin-block: 1.5rem; }
.single-wrap .cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.single-wrap .entry { font-size: 1.0625rem; line-height: 1.8; }
.single-wrap .entry p { margin: 0 0 1.25rem; }
.single-wrap .entry h2 { font-family: "Fraunces", serif; font-weight: 800; font-size: 1.75rem; margin: 2rem 0 1rem; }
.single-wrap .entry blockquote { margin: 1.5rem 0; padding-left: 1.5rem; border-left: 3px solid var(--primary); font-family: "Fraunces", serif; font-style: italic; font-size: 1.3rem; color: var(--muted-foreground); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: var(--ink-foreground); }
.site-footer .inner { padding-block: 3.5rem; }
.site-footer .grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer .grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .brand { font-family: "Fraunces", serif; font-weight: 900; font-size: 2.5rem; letter-spacing: -0.02em; }
.site-footer .about { margin-top: 1rem; max-width: 24rem; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.6); }
.site-footer h3 { margin: 0; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(255,255,255,0.4); }
.site-footer ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.site-footer .editorias { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 1rem; }
.site-footer .editorias a, .site-footer .inst a { color: rgba(255,255,255,0.75); font-size: 14px; transition: color 0.2s; }
.site-footer .editorias a:hover, .site-footer .inst a:hover { color: var(--primary); }
.site-footer .inst li { margin-bottom: 0.6rem; }
.site-footer .bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-direction: column; gap: 0.5rem; font-size: 12px; color: rgba(255,255,255,0.4);
}
@media (min-width: 640px) { .site-footer .bottom { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- Utilitários de seção ---------- */
.section { padding-block: 4rem; }
@media (min-width: 640px) { .section { padding-block: 5rem; } }
.section.bordered { border-block: 1px solid var(--border); }
.section.tinted { background: color-mix(in srgb, var(--secondary) 50%, transparent); }
.section.dark { background: var(--ink); color: var(--ink-foreground); }
.mt-ad { padding-block: 1.5rem; }
.mb-ad { padding-block: 3rem; }

/* Reveal (scroll) — simples, sem JS pesado */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Acessibilidade */
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--primary); color: var(--primary-foreground);
  padding: 0.75rem 1rem; font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* WordPress core */
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--muted-foreground); margin-top: 0.5rem; }
.sticky { }
.bypostauthor { }
