/*
Theme Name: Grande Vera Cruz
Theme URI: https://grandeveracruz.com/
Description: Tema próprio do portal Grande Vera Cruz, com a identidade do Mídia Kit 2026: azul índigo, faixa de cinco cores, ranhuras do logo, animação da logomarca e relógio em tempo real.
Version: 1.0.28
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: grandeveracruz
License: GNU General Public License v2 or later
*/

/* Identidade Grande Vera Cruz — baseada no Mídia Kit 2026
   Azul índigo + faixa de 5 cores (as cores do "PRADO") + amarelo de destaque.
   Ranhuras: ondas suaves sobre o azul e linhas finas coloridas sobre o branco, como no logo. */
:root {
  --indigo-900: #0a0c46;
  --indigo-800: #0f1160;
  --indigo-700: #1d2188;
  --indigo-600: #293a9f;
  --ink-navy: #1f1682;
  --sky-200: #9db8ff;
  --yellow: #ffc845;

  --green: #1eb35b;
  --blue: #2089d4;
  --red: #ea4a45;
  --orange: #f99b3b;
  --teal: #15c2c6;

  --ink: #14143a;
  --ink-2: #4a4b68;
  --ink-3: #7c7d96;
  --line: #e6e7f0;
  --bg: #ffffff;
  --bg-2: #f4f5fb;
  --surface: #ffffff;
  --body-ink: #22223f;

  --display: "Poppins", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --radius: 14px;

  /* Ranhura escura: ondas largas e suaves, brancas e bem discretas (fundo azul do kit). */
  --waves-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='22'%3E%3Cpath d='M0 11 Q80 1 160 11 T320 11' fill='none' stroke='%23ffffff' stroke-opacity='.09' stroke-width='1.6'/%3E%3C/svg%3E");
  /* Ranhura clara: linhas finas e onduladas nas cores do logo (placa branca do logo). */
  --waves-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='50' fill='none' stroke-width='1' stroke-opacity='.32'%3E%3Cpath d='M0 5 Q35 0 70 5 T140 5' stroke='%231eb35b'/%3E%3Cpath d='M0 15 Q35 10 70 15 T140 15' stroke='%232089d4'/%3E%3Cpath d='M0 25 Q35 20 70 25 T140 25' stroke='%23ea4a45'/%3E%3Cpath d='M0 35 Q35 30 70 35 T140 35' stroke='%23f99b3b'/%3E%3Cpath d='M0 45 Q35 40 70 45 T140 45' stroke='%2315c2c6'/%3E%3C/svg%3E");
  /* Máscara de uma linha ondulada, pintada com a cor que quiser. */
  --wave-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='10'%3E%3Cpath d='M0 5 Q10 0 20 5 T40 5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  --stripe: linear-gradient(90deg, var(--green) 0 20%, var(--blue) 20% 40%, var(--red) 40% 60%, var(--orange) 60% 80%, var(--teal) 80% 100%);
}

/* cor de cada editoria (vem da faixa do kit) */
.c-geral, .c-nenhum { --c: var(--blue); }
.c-politica { --c: var(--red); }
.c-cidades { --c: var(--green); }
.c-seguranca { --c: var(--orange); }
.c-atualidade { --c: var(--teal); }
.c-musica { --c: var(--orange); }
.c-saude { --c: var(--teal); }
.c-educacao { --c: var(--green); }
.c-mundo { --c: var(--blue); }
.c-esporte { --c: var(--green); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

.dark-waves {
  background-color: var(--indigo-800);
  background-image: var(--waves-dark), radial-gradient(120% 140% at 85% 0%, var(--indigo-700) 0%, var(--indigo-800) 45%, var(--indigo-900) 100%);
  background-size: 320px 22px, cover;
  color: #fff;
}
.light-waves { background-image: var(--waves-light); background-size: 140px 50px; }
.stripe { height: 5px; background: var(--stripe); }
.eyebrow { font-family: var(--display); font-size: 11.5px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--blue); }
.dark-waves .eyebrow { color: var(--sky-200); }

/* ---------- topo ---------- */
.topbar { background: var(--indigo-900); color: #b8bde8; font-size: 12.5px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; height: 34px; }
#hoje::first-letter { text-transform: uppercase; }
.social { display: flex; gap: 16px; }
.social a:hover { color: var(--yellow); }

.masthead-in { display: flex; align-items: center; gap: 20px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.brand img { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px rgba(255,255,255,.75), 0 8px 24px rgba(0,0,0,.35); }
.brand-text strong { display: block; font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.05; letter-spacing: -.5px; color: #fff; }
.brand-text strong em { font-style: normal; color: var(--yellow); }
.brand-text small { display: block; margin-top: 4px; }
.busca { display: flex; align-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 4px 4px 4px 18px; width: 320px; backdrop-filter: blur(4px); }
.busca input { border: 0; background: transparent; color: #fff; font: inherit; font-size: 14px; flex: 1; min-width: 0; outline: none; }
.busca input::placeholder { color: #c6cbf3; }
.busca button { border: 0; background: var(--yellow); color: var(--indigo-900); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2.5px; border-radius: 2px; background: #fff; margin: 5px 0; }

/* menu de editorias */
.catnav { background: var(--surface); position: sticky; top: 0; z-index: 10; box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(15,17,96,.06); }
.catnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.catnav ul::-webkit-scrollbar { display: none; }
.catnav a { position: relative; display: block; padding: 14px 12px; font-family: var(--display); font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.catnav a:hover { color: var(--ink-navy); }
.catnav a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 7px; background: var(--c, var(--ink-navy)); -webkit-mask: var(--wave-line) repeat-x center / 20px 7px; mask: var(--wave-line) repeat-x center / 20px 7px; opacity: 0; transition: opacity .2s; }
.catnav a:hover::after, .catnav a.active::after { opacity: 1; }
.catnav a.active { color: var(--ink-navy); }

main { padding-top: 30px; padding-bottom: 60px; min-height: 60vh; }
.loading, .empty { padding: 80px 0; text-align: center; color: var(--ink-3); }

/* ---------- peças comuns ---------- */
.kicker { display: inline-flex; align-items: center; gap: 7px; font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-navy); }
.kicker::before { content: ""; width: 4px; height: 13px; border-radius: 2px; background: var(--c, var(--blue)); }
.meta { font-size: 12.5px; color: var(--ink-3); }
.thumb { position: relative; aspect-ratio: 16/10; background: var(--bg-2); overflow: hidden; border-radius: var(--radius); }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .5s; }
a:hover .thumb img { transform: scale(1.04); }
.thumb.ph { display: grid; place-items: center; }
.thumb.ph span { font-family: var(--display); font-weight: 700; color: #fff; font-size: 20px; padding: 0 16px; text-align: center; }
.title { font-family: var(--display); font-weight: 700; line-height: 1.22; letter-spacing: -.2px; color: var(--ink); margin: 6px 0; }
a:hover .title { color: var(--ink-navy); }

/* título de seção com ranhura colorida embaixo */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; padding-bottom: 14px; position: relative; }
.sec-head::after { content: ""; position: absolute; left: 0; bottom: 0; width: 120px; height: 9px; background: var(--c, var(--stripe)); -webkit-mask: var(--wave-line) repeat-x left center / 24px 9px; mask: var(--wave-line) repeat-x left center / 24px 9px; }
.sec-head::before { content: ""; position: absolute; left: 132px; right: 0; bottom: 4px; height: 1px; background: var(--line); }
.sec-head h2 { font-family: var(--display); font-weight: 800; font-size: 24px; margin: 0; color: var(--ink-navy); letter-spacing: -.3px; }
.sec-head a { font-family: var(--display); font-size: 13px; font-weight: 600; color: var(--blue); }

/* ---------- manchete ---------- */
.hero { display: grid; grid-template-columns: 1.7fr 1fr; gap: 28px; }
.lead .card { display: block; }
.lead .thumb { aspect-ratio: 16/9; border-radius: 18px; }
.lead .title { font-size: 34px; font-weight: 800; letter-spacing: -.6px; margin-top: 14px; }
.lead p { font-size: 17px; color: var(--ink-2); margin: 8px 0 10px; }
.hero-side { display: flex; flex-direction: column; gap: 22px; }
.hero-side .card + .card { padding-top: 22px; border-top: 1px solid var(--line); }
.hero-side .title { font-size: 19px; }
.hero-side .thumb { margin-bottom: 10px; }

.section { padding-top: 44px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid4 .title { font-size: 17px; }
.grid4 .thumb { margin-bottom: 12px; }

.two-col { display: grid; grid-template-columns: 1fr 340px; gap: 40px; }
.list .item { display: grid; grid-template-columns: 220px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.list .item:first-child { padding-top: 0; }
.list .title { font-size: 20px; margin-top: 4px; }
.list p { margin: 4px 0 6px; color: var(--ink-2); font-size: 15px; }

/* caixa "Em destaque": placa escura com ranhuras, como os cards do kit */
aside .box { border-radius: 18px; padding: 24px; position: sticky; top: 76px; overflow: hidden; }
aside h3 { font-family: var(--display); font-weight: 800; font-size: 20px; margin: 4px 0 10px; color: #fff; }
.ranked { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.ranked li { counter-increment: r; display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.12); }
.ranked li:first-child { border-top: 0; }
.ranked li::before { content: counter(r); font-family: var(--display); font-size: 26px; font-weight: 800; color: var(--yellow); line-height: 1; }
.ranked .title { font-size: 15px; font-weight: 600; margin: 0; color: #fff; }
.ranked a:hover .title { color: var(--yellow); }

/* editorias em três colunas */
.cat-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.cat-col > .card:first-of-type .thumb { margin-bottom: 12px; }
.cat-col > .card:first-of-type .title { font-size: 19px; }
.cat-col .mini { display: block; padding: 12px 0; border-top: 1px solid var(--line); }
.cat-col .mini .title { font-size: 15.5px; font-weight: 600; margin: 0 0 2px; }

.more-btn { display: block; margin: 28px auto 0; background: var(--surface); border: 2px solid var(--ink-navy); color: var(--ink-navy); font-family: var(--display); font-weight: 700; font-size: 14px; padding: 12px 28px; border-radius: 999px; cursor: pointer; }
.more-btn:hover { background: var(--ink-navy); color: #fff; }

/* faixa "Anuncie" (do Mídia Kit) */
.ad-band { margin-top: 52px; border-radius: 22px; overflow: hidden; }
.ad-in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: center; padding: 38px 40px; }
.ad-band h2 { font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 1.12; letter-spacing: -.5px; margin: 8px 0 10px; }
.ad-band h2 em { font-style: normal; color: var(--yellow); }
.ad-band p { color: #cfd3f6; margin: 0 0 20px; max-width: 460px; }
.btn-wa { display: inline-flex; align-items: center; gap: 10px; background: var(--green); color: #fff; font-family: var(--display); font-weight: 700; padding: 13px 22px; border-radius: 999px; }
.btn-wa:hover { filter: brightness(1.08); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { position: relative; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 16px 16px 16px 22px; overflow: hidden; }
.stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c); }
.stat strong { display: block; font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.1; }
.stat span { font-size: 13px; color: #cfd3f6; }

/* ---------- editoria e busca ---------- */
.page-head { border-radius: 20px; padding: 30px 32px 26px; margin-bottom: 30px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--c, var(--stripe)); }
.page-head h1 { font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: -.8px; color: var(--ink-navy); margin: 6px 0 2px; }

/* ---------- matéria ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article h1 { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1.14; letter-spacing: -.8px; color: var(--ink); margin: 12px 0 18px; }
.byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.byline .autor { display: flex; align-items: center; gap: 12px; }
.byline .autor-mini { width: 44px; height: 44px; border-radius: 50%; flex: none; object-fit: cover; }
.byline strong { display: block; font-family: var(--display); font-size: 14px; color: var(--ink-navy); }
.share { display: flex; flex-wrap: wrap; gap: 8px; }
.share a, .share button { font-family: var(--display); font-size: 13px; font-weight: 600; border: 1px solid var(--line); background: var(--surface); color: var(--ink-navy); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.share .wa { background: var(--green); border-color: var(--green); color: #fff; }
.article figure.hero-img { margin: 0 0 26px; }
.article figure.hero-img img { width: 100%; border-radius: 18px; }
.body { font-size: 18.5px; line-height: 1.75; color: var(--body-ink); }
.body p { margin: 0 0 1.1em; }
.body img, .body figure { max-width: 100%; height: auto; border-radius: 14px; margin: 1.3em 0; }
.body figure img { margin: 0; }
.body figcaption { font-size: 13px; color: var(--ink-3); margin-top: 6px; }
.body h2, .body h3 { font-family: var(--display); font-weight: 700; color: var(--ink-navy); line-height: 1.25; margin: 1.5em 0 .5em; }
.body a { color: var(--blue); text-decoration: underline; }
.body blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 5px solid var(--yellow); background: var(--bg-2); border-radius: 0 12px 12px 0; color: var(--ink-2); }
.body iframe { max-width: 100%; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.tags span { font-size: 12.5px; background: var(--bg-2); border-radius: 999px; padding: 5px 12px; color: var(--ink-2); }
.back { display: inline-block; font-family: var(--display); font-size: 13.5px; font-weight: 600; color: var(--blue); margin-bottom: 18px; }
.ranhura-sep { height: 12px; margin: 36px 0 8px; background: var(--stripe); -webkit-mask: var(--wave-line) repeat-x center / 30px 12px; mask: var(--wave-line) repeat-x center / 30px 12px; opacity: .85; }

/* ---------- rodapé ---------- */
.footer { padding-top: 48px; font-size: 14px; color: #c6cbf3; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; padding-bottom: 34px; }
.f-brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: 22px; color: #fff; }
.f-brand img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,.7); }
.footer h4 { font-family: var(--display); color: #fff; margin: 0 0 12px; font-size: 12px; text-transform: uppercase; letter-spacing: 2.5px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 7px; }
.footer a:hover { color: var(--yellow); }
.news-form { display: flex; gap: 6px; }
.news-form input { flex: 1; min-width: 0; border: 0; border-radius: 999px; padding: 11px 16px; font: inherit; }
.news-form button { border: 0; background: var(--yellow); color: var(--indigo-900); font-family: var(--display); font-weight: 700; border-radius: 999px; padding: 0 18px; cursor: pointer; }
.copy { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; padding-bottom: 22px; font-size: 12.5px; color: #9ea3dc; }

/* ---------- telas menores ---------- */
@media (max-width: 1000px) {
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  aside .box { position: static; }
  .cat-trio { grid-template-columns: 1fr; }
  .ad-in { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .topbar .social { display: none; }
  .masthead-in { flex-wrap: wrap; gap: 14px; padding-top: 14px; padding-bottom: 16px; }
  .menu-btn { display: block; order: 2; }
  .brand { order: 1; gap: 10px; }
  .brand img { width: 52px; height: 52px; }
  .brand-text strong { font-size: 21px; }
  .brand-text small { display: none; }
  .busca { order: 3; width: 100%; }
  .catnav.open ul { flex-wrap: wrap; }
  .hero { grid-template-columns: 1fr; }
  .lead .title { font-size: 25px; }
  .lead p { font-size: 15.5px; }
  .grid4 { grid-template-columns: 1fr; gap: 18px; }
  .grid4 .card { display: grid; grid-template-columns: 116px 1fr; gap: 12px; }
  .grid4 .thumb { margin: 0; aspect-ratio: 1/1; }
  .grid4 .thumb.ph span { font-size: 12px; }
  .grid4 .title { font-size: 15.5px; margin-top: 4px; }
  .list .item { grid-template-columns: 110px 1fr; gap: 12px; }
  .list .item .thumb { aspect-ratio: 1/1; }
  .list .title { font-size: 16px; }
  .list p { display: none; }
  .ad-in { padding: 28px 22px; }
  .ad-band h2 { font-size: 25px; }
  .stat strong { font-size: 23px; }
  .article h1 { font-size: 28px; }
  .body { font-size: 17.5px; }
  .page-head { padding: 22px 20px 20px; }
  .page-head h1 { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- animação da logomarca ----------
   Ao passar o cursor: o selo cresce e balança, um anel com as 5 cores do "PRADO" gira em volta,
   ondas saem do selo (as ranhuras do logo) e uma linha ondulada colorida se desenha sob o nome. */
.logo-wrap { position: relative; display: grid; place-items: center; width: 74px; height: 74px; flex: none; }
.logo-wrap img { position: relative; z-index: 2; transition: transform .55s cubic-bezier(.34, 1.56, .64, 1), box-shadow .4s; }
.logo-wrap::before { /* anel colorido */
  content: ""; position: absolute; inset: -7px; border-radius: 50%; z-index: 1;
  background: conic-gradient(var(--green), var(--blue), var(--red), var(--orange), var(--teal), var(--green));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px));
  opacity: 0; scale: .8; transition: opacity .35s, scale .5s cubic-bezier(.34, 1.56, .64, 1);
}
.logo-wrap::after { /* ondas saindo do selo */
  content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: 0;
  border: 2px solid rgba(255, 255, 255, .55); opacity: 0;
}
.brand-text strong { position: relative; padding-bottom: 6px; }
.brand-text strong::after { /* ranhura que se desenha sob o nome */
  content: ""; position: absolute; left: 0; bottom: -4px; height: 8px; width: 100%;
  background: var(--stripe);
  -webkit-mask: var(--wave-line) repeat-x left center / 22px 8px; mask: var(--wave-line) repeat-x left center / 22px 8px;
  clip-path: inset(0 100% 0 0); transition: clip-path .6s cubic-bezier(.65, 0, .35, 1);
}

.brand:hover .logo-wrap img, .brand:focus-visible .logo-wrap img {
  transform: scale(1.08); animation: logo-wiggle .7s ease-in-out;
  box-shadow: 0 0 0 3px #fff, 0 12px 30px rgba(0, 0, 0, .45);
}
.brand:hover .logo-wrap::before, .brand:focus-visible .logo-wrap::before { opacity: 1; scale: 1; animation: logo-spin 3s linear infinite; }
.brand:hover .logo-wrap::after, .brand:focus-visible .logo-wrap::after { animation: logo-ripple 1.6s ease-out infinite; }
.brand:hover .brand-text strong::after, .brand:focus-visible .brand-text strong::after { clip-path: inset(0 0 0 0); }
.brand:focus-visible { outline: 2px solid var(--yellow); outline-offset: 6px; border-radius: 12px; }

@keyframes logo-spin { to { rotate: 360deg; } }
@keyframes logo-wiggle {
  0% { rotate: 0deg; } 25% { rotate: -9deg; } 50% { rotate: 6deg; } 75% { rotate: -3deg; } 100% { rotate: 0deg; }
}
@keyframes logo-ripple {
  0% { opacity: .7; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.7); }
}

@media (max-width: 760px) {
  .logo-wrap { width: 52px; height: 52px; }
}
/* quem prefere menos movimento vê só o anel e a linha, sem giro nem ondas */
@media (prefers-reduced-motion: reduce) {
  .brand:hover .logo-wrap img, .brand:hover .logo-wrap::before, .brand:hover .logo-wrap::after,
  .brand:focus-visible .logo-wrap img, .brand:focus-visible .logo-wrap::before, .brand:focus-visible .logo-wrap::after { animation: none; }
  .logo-wrap img, .logo-wrap::before, .brand-text strong::after { transition-duration: .01s; }
}

/* ---------- data e hora em tempo real ---------- */
.when { display: flex; align-items: center; gap: 12px; }
.clock { display: inline-flex; align-items: center; gap: 7px; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .2);
  font-family: var(--display); font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: .3px; }
.clock .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(30, 179, 91, .6); animation: clock-pulse 2s ease-out infinite; }
@keyframes clock-pulse { 0% { box-shadow: 0 0 0 0 rgba(30, 179, 91, .6); } 100% { box-shadow: 0 0 0 7px rgba(30, 179, 91, 0); } }
@media (prefers-reduced-motion: reduce) { .clock .dot { animation: none; } }
@media (max-width: 380px) { .when { gap: 8px; } .clock { padding-left: 8px; } }

/* ---------- peças do WordPress ---------- */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; margin: 0; left: 12px; top: 12px; z-index: 100; background: var(--yellow); color: var(--indigo-900); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.admin-bar .catnav { top: 32px; }
@media (max-width: 782px) { .admin-bar .catnav { top: 0; } }
.body .alignleft { float: left; margin: .3em 1.2em 1em 0; }
.body .alignright { float: right; margin: .3em 0 1em 1.2em; }
.body .aligncenter { margin-left: auto; margin-right: auto; }
.body .wp-caption-text, .body .wp-element-caption { font-size: 13px; color: var(--ink-3); margin-top: 6px; text-align: left; }
.body .wp-block-embed, .body .wp-block-video { margin: 1.3em 0; }
.body .wp-block-embed iframe { width: 100%; }
.body::after { content: ""; display: table; clear: both; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 30px; }
.pagination .page-numbers { min-width: 42px; height: 42px; padding: 0 14px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--ink-navy); }
.pagination a.page-numbers:hover { border-color: var(--ink-navy); }
.pagination .current { background: var(--ink-navy); border-color: var(--ink-navy); color: #fff; }
.pagination .dots { border: 0; }
a.more-btn { display: table; text-align: center; }
.page-article .body { font-size: 17.5px; }
.empty .busca { margin: 20px auto 0; background: var(--bg-2); border-color: var(--line); }
.empty .busca input { color: var(--ink); }
.empty .busca input::placeholder { color: var(--ink-3); }
.footer-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--yellow); color: var(--indigo-900); font-family: var(--display); font-weight: 700; padding: 11px 18px; border-radius: 999px; margin-top: 4px; }
.footer-cta:hover { filter: brightness(1.05); color: var(--indigo-900) !important; }
.footer p { margin: 10px 0 0; }

/* Contatos: redação, comercial, grupo */
.social { align-items: center; }
.social a { display: inline-flex; align-items: center; gap: 5px; }
.social .tip { color: #fff; font-weight: 600; }
.social .tip svg { color: var(--green); }
.social .icons { display: inline-flex; gap: 10px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.18); }
.social .icons a { color: #fff; opacity: .85; }
.social .icons a:hover { opacity: 1; color: var(--yellow); }
.tip-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 0 8px; padding: 18px 20px; border-radius: 14px; background: #eefaf3; border: 1px solid #bfe9d0; }
.tip-box strong { display: block; font-family: var(--display); color: var(--ink-navy); font-size: 17px; }
.tip-box span { font-size: 14px; color: var(--ink-2); }
.btn-wa { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; background: var(--green); color: #fff; font-family: var(--display); font-weight: 700; padding: 11px 18px; border-radius: 999px; }
.btn-wa:hover { filter: brightness(1.06); color: #fff; }
.footer .contacts { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.footer .contacts a { display: flex; gap: 10px; align-items: flex-start; }
.footer .contacts svg { color: var(--green); margin-top: 3px; flex-shrink: 0; }
.footer .contacts small { display: block; font-size: 12px; opacity: .7; }
.footer-cta.wa { background: var(--green); color: #fff; }
.footer-cta.wa:hover { color: #fff !important; }
.f-icons { display: flex; gap: 12px; margin-top: 14px; }
.f-icons a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; }
.f-icons a:hover { background: var(--yellow); color: var(--indigo-900) !important; }
.wa-float { display: none; }
@media (max-width: 720px) {
  .tip-box { flex-direction: column; align-items: flex-start; }
  .wa-float { display: grid; place-items: center; position: fixed; right: 16px; bottom: 16px; z-index: 50; width: 54px; height: 54px; border-radius: 50%; background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(10,12,70,.3); }
}

/* Logo sem corte nem distorção: a imagem é retangular (selo + placa), então mostra inteira. */
.brand img, .f-brand img {
  width: auto; border-radius: 0; object-fit: contain; box-shadow: none;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35));
}
.brand img { height: 74px; }
.f-brand img { height: 60px; }
.logo-wrap { width: auto; height: 74px; }
.logo-wrap::before, .logo-wrap::after { inset: auto; width: 84px; height: 84px; left: 50%; top: 50%; margin: -42px 0 0 -42px; }
.brand:hover .logo-wrap img, .brand:focus-visible .logo-wrap img {
  box-shadow: none; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .5));
}
@media (max-width: 760px) {
  .brand img { width: auto; height: 52px; }
  .logo-wrap { width: auto; height: 52px; }
  .logo-wrap::before, .logo-wrap::after { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
}

/* ---------- tema escuro ----------
   Chavinha no topo. Sem escolha salva, segue o celular/computador da pessoa. */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0d2e;
  --bg-2: #161a4d;
  --surface: #11143f;
  --ink: #eef0fc;
  --ink-2: #c2c6e8;
  --ink-3: #8f94bf;
  --line: #262a66;
  --ink-navy: #b4c4ff;
  --body-ink: #e1e4f8;
}
body { transition: background-color .25s, color .25s; }
html[data-theme="dark"] .pagination .current,
html[data-theme="dark"] .more-btn:hover { background: var(--yellow); border-color: var(--yellow); color: var(--indigo-900); }
html[data-theme="dark"] .catnav { box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(0,0,0,.35); }
html[data-theme="dark"] .tip-box { background: rgba(30,179,91,.1); border-color: rgba(30,179,91,.35); }
html[data-theme="dark"] .page-head { background-color: var(--surface); }
html[data-theme="dark"] .body a { color: var(--sky-200); }

.tb-right { display: flex; align-items: center; gap: 16px; }
.theme-switch { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; color: #b8bde8; font: inherit; font-size: 12px; cursor: pointer; }
.theme-switch:hover { color: #fff; }
.theme-switch .track { position: relative; width: 40px; height: 22px; border-radius: 999px; background: rgba(255,255,255,.2); transition: background .25s; }
.theme-switch .knob { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--orange); transition: transform .25s cubic-bezier(.34,1.56,.64,1); }
.theme-switch .moon { display: none; }
html[data-theme="dark"] .theme-switch .track { background: var(--indigo-600); }
html[data-theme="dark"] .theme-switch .knob { transform: translateX(18px); color: var(--indigo-800); }
html[data-theme="dark"] .theme-switch .sun { display: none; }
html[data-theme="dark"] .theme-switch .moon { display: block; }
.theme-switch:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 999px; }
@media (max-width: 480px) { .theme-switch .lbl { display: none; } }
@media (prefers-reduced-motion: reduce) { body, .theme-switch .knob, .theme-switch .track { transition: none; } }

/* ---------- compartilhar no fim da matéria ---------- */
.share-bar { margin: 34px 0 6px; padding: 20px 22px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.share-bar > strong { display: block; font-family: var(--display); font-size: 16px; color: var(--ink-navy); margin-bottom: 12px; }
.share-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.sb { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 0; cursor: pointer; font-family: var(--display); font-size: 14px; font-weight: 600; color: #fff; transition: transform .15s, filter .15s; }
.sb:hover { transform: translateY(-1px); filter: brightness(1.08); color: #fff; }
.sb-wa { background: #25d366; }
.sb-fb { background: #1877f2; }
.sb-x { background: #111; }
.sb-tg { background: #229ed9; }
.sb-native { background: linear-gradient(45deg, #f9a03b, #ea4a45 45%, #c13584 75%, #833ab4); }
.sb-copy { background: var(--surface); color: var(--ink-navy); border: 1px solid var(--line); }
.sb-copy:hover { color: var(--ink-navy); }
.share-hint { display: none; margin: 10px 0 0; font-size: 12.5px; color: var(--ink-3); }
.share-bar.has-native .share-hint { display: block; }
html[data-theme="dark"] .sb-x { background: #000; box-shadow: inset 0 0 0 1px #333; }
@media (max-width: 480px) {
  .share-btns { display: grid; grid-template-columns: 1fr 1fr; }
  .sb { justify-content: center; }
}

/* ---------- patrocinadores no cabeçalho: um por vez, trocando a cada 3 s ----------
   Discreto e na mesma linha da logo e da busca: título pequeno à esquerda, logo à direita. */
@media (min-width: 761px) { .masthead-in:has(.sponsors) .brand { margin-right: 0; } }
.sponsors { flex: 1; display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 0; }
.sp-label { font-family: var(--display); font-size: 9.5px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--sky-200); opacity: .8; line-height: 1.3; text-align: right; max-width: 70px; }
.sp-slot { position: relative; width: 160px; height: 54px; flex: none; }
.sp { position: absolute; inset: 0; display: grid; place-items: center; padding: 0; border-radius: 10px; background: none;
  opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.sp.is-on { opacity: 1; visibility: visible; transition: opacity .6s ease, visibility 0s; }
.sp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
a.sp img { transition: transform .25s ease; }
a.sp:hover img { transform: scale(1.05); }
.sp img { filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.sp-cta { background: rgba(255,255,255,.06); border: 1px dashed rgba(255,255,255,.35); box-shadow: none; text-align: center; line-height: 1.2; color: #fff; padding: 4px 8px; }
.sp-cta b { display: block; font-family: var(--display); font-size: 12.5px; font-weight: 600; }
.sp-cta small { display: block; font-size: 10.5px; color: var(--yellow); }
a.sp-cta:hover { border-color: var(--yellow); box-shadow: none; }
@media (max-width: 1100px) { .sp-label { display: none; } .busca { width: 260px; } }
@media (max-width: 760px) {
  .sponsors { order: 4; flex-basis: 100%; gap: 10px; }
  .sp-label { display: block; font-size: 8.5px; letter-spacing: 1.5px; }
  .sp-slot { width: 140px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .sp, .sp.is-on { transition: none; } }

/* ---------- programa de TV ---------- */
.programa { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px; align-items: center; padding: 30px 32px; border-radius: 22px; overflow: hidden; }
.pg-info .eyebrow { display: block; margin-bottom: 12px; }
.pg-logo { width: 100%; max-width: 360px; height: auto; filter: drop-shadow(0 6px 16px rgba(0,0,0,.35)); }
.pg-name { font-family: var(--display); font-size: 34px; margin: 0; color: #fff; }
.pg-tag { color: #d3d7f7; font-size: 15.5px; margin: 14px 0 12px; max-width: 440px; }
.pg-when { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.pg-when li { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 6px 13px; font-family: var(--display); font-size: 13px; font-weight: 600; color: #fff; }
.pg-when .pg-ch { background: var(--yellow); border-color: var(--yellow); color: var(--indigo-900); }
.pg-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(234,74,69,.3); }
.pg-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.pg-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: 14px; color: #fff; transition: transform .15s, filter .15s; }
.pg-btn:hover { transform: translateY(-1px); filter: brightness(1.08); color: #fff; }
.pg-yt { background: #ff0033; }
.pg-ig { background: linear-gradient(45deg, #f9a03b, #ea4a45 45%, #c13584 75%, #833ab4); }
.pg-video { min-width: 0; }
.yt-lite, .yt-frame { display: block; width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 34px rgba(0,0,0,.4); }
.yt-lite { position: relative; padding: 0; cursor: pointer; background: #000; }
.yt-lite img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .3s; opacity: .92; }
.yt-lite:hover img { transform: scale(1.03); opacity: 1; }
.yt-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.yt-play svg { width: 74px; height: 74px; color: #ff0033; filter: drop-shadow(0 4px 12px rgba(0,0,0,.5)); }
.yt-play svg path { fill: #ff0033; }
.yt-lite:hover .yt-play svg { transform: scale(1.08); }
.pg-vtitle { margin: 12px 2px 0; color: #fff; font-family: var(--display); font-weight: 600; font-size: 15px; line-height: 1.35; }
.pg-vtitle span { display: block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--sky-200); margin-bottom: 3px; }
.pg-card { display: flex; align-items: center; gap: 22px; margin: 26px 0 6px; padding: 20px 22px; border-radius: 16px; }
.pg-card .pg-logo { max-width: 190px; flex: none; }
.pg-card .eyebrow { display: block; margin-bottom: 10px; }
.pg-card .pg-when { margin-bottom: 12px; }
@media (max-width: 860px) {
  .programa { grid-template-columns: 1fr; padding: 24px 18px; gap: 22px; }
  .pg-logo { max-width: 280px; }
  .pg-card { flex-direction: column; align-items: flex-start; }
  .pg-card .pg-logo { max-width: 220px; }
}

/* ---------- canal no YouTube ---------- */
.canal { padding: 26px 28px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); }
.cn-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cn-ico { flex: none; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: #ff0033; color: #fff; box-shadow: 0 8px 20px rgba(255,0,51,.3); }
.cn-ico svg path { fill: #fff; }
.cn-txt { flex: 1 1 320px; min-width: 0; }
.cn-txt .eyebrow { display: block; margin-bottom: 4px; }
.cn-txt h2 { font-family: var(--display); font-size: 26px; line-height: 1.15; margin: 0; color: var(--ink-navy); }
.cn-txt p { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; }
.cn-cta { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cn-sub { display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border-radius: 999px; background: #ff0033; color: #fff; font-family: var(--display); font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform .15s, filter .15s; }
.cn-sub:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.08); }
.cn-sub svg path { fill: #fff; }
.cn-handle { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.cn-vids { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.cn-vid { min-width: 0; }
.cn-vid .yt-lite, .cn-vid .yt-frame { aspect-ratio: 9/16; box-shadow: 0 8px 22px rgba(10,12,70,.18); border-radius: 14px; }
.yt-lite.is-short, .yt-frame.is-short { aspect-ratio: 9/16; }
.cn-vid .yt-lite:not(.is-short) img { position: absolute; left: 0; top: -16.7%; width: 100%; height: 133.4%; object-fit: cover; }
.cn-vid .yt-play svg { width: 54px; height: 54px; }
.cn-vid p { margin: 10px 2px 0; font-family: var(--display); font-weight: 600; font-size: 14px; line-height: 1.35; color: var(--ink-navy); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cn-card { display: flex; align-items: center; gap: 16px; margin: 26px 0 6px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.cn-card .cn-ico { width: 48px; height: 48px; border-radius: 13px; }
.cn-card div { flex: 1; min-width: 0; }
.cn-card strong { display: block; font-family: var(--display); font-size: 17px; color: var(--ink-navy); }
.cn-card p { margin: 3px 0 0; font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 860px) {
  .canal { padding: 22px 16px; }
  .cn-cta { width: 100%; }
  .cn-sub { justify-content: center; width: 100%; }
  .cn-vids { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-right: -16px; padding-right: 16px; padding-bottom: 6px; }
  .cn-vid { flex: 0 0 46%; scroll-snap-align: start; }
  .cn-card { flex-wrap: wrap; }
  .cn-card .cn-sub { width: 100%; justify-content: center; }
}

/* ---------- ao vivo ---------- */
.live-bar { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 16px; background: #e0102e; color: #fff; font-family: var(--display); font-size: 14px; text-align: center; flex-wrap: wrap; }
.live-bar[hidden] { display: none; }
.live-bar b { letter-spacing: 1.5px; }
.live-bar .live-name { font-weight: 600; }
.live-bar .live-cta { background: #fff; color: #e0102e; border-radius: 999px; padding: 3px 12px; font-weight: 700; font-size: 12.5px; }
.live-bar:hover .live-cta { background: var(--yellow); color: var(--indigo-900); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; display: inline-block; animation: live-pulse 1.2s ease-in-out infinite; }
@keyframes live-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.8); } }
.live-frame { position: relative; }
.live-badge { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 7px; background: #e0102e; color: #fff; font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: 1.5px; padding: 5px 11px; border-radius: 6px; pointer-events: none; }
.pg-video.is-live .yt-frame { box-shadow: 0 0 0 3px #e0102e, 0 14px 34px rgba(0,0,0,.4); }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* ---------- autor e aviso de cookies ---------- */
.autor-box { display: flex; gap: 16px; align-items: flex-start; margin: 26px 0 6px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.autor-box .autor-foto { width: 72px; height: 72px; border-radius: 50%; flex: none; object-fit: cover; border: 3px solid var(--yellow); }
.autor-box strong { display: block; font-family: var(--display); font-size: 17px; color: var(--ink-navy); margin: 2px 0 4px; }
.autor-box p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.autor-box p a { color: var(--blue); font-weight: 600; }
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 14px; background: var(--indigo-900); color: #e3e6fb; box-shadow: 0 10px 30px rgba(0,0,0,.35); font-size: 14px; }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; flex: 1; }
.cookie-bar a { color: var(--yellow); text-decoration: underline; }
.cookie-bar button { flex: none; border: 0; border-radius: 999px; padding: 10px 18px; background: var(--yellow); color: var(--indigo-900); font-family: var(--display); font-weight: 700; cursor: pointer; }
@media (max-width: 600px) { .cookie-bar { flex-direction: column; align-items: stretch; text-align: left; bottom: 84px; } }
