/* Tema 04 — Gospel. Azul-marinho, verde-petróleo e detalhes dourados.
   A identidade é isolada; conteúdos, player e formulários são compartilhados. */
:root[data-site-theme="tema04"] {
 --primary:#0b6b72; --primary-dark:#0b6b72; --secondary:#0b2943;
 --page-bg:#f7f8fa; --card-bg:#fff; --surface:#eef1f5;
 --ink:#10243b; --muted:#526274; --border:#d6dde5;
 --input-bg:#fff; --input-border:#526274; --accent-surface:#eef1f5;
 --on-primary:#fff; --on-secondary:#fff; --gospel-gold:#a67c32;
 --gospel-champagne:#e7c981; --radius:10px;
}
:root[data-site-theme="tema04"][data-theme="dark"] {
 --primary:#82d9ce; --primary-dark:#82d9ce; --secondary:#173b50;
 --page-bg:#101c28; --card-bg:#172637; --surface:#213449;
 --ink:#f5f7fb; --muted:#b8c8d8; --border:#465c70;
 --input-bg:#172637; --input-border:#b8c8d8; --accent-surface:#213449;
 --on-primary:#121212; --gospel-gold:#e7c981;
}
:root[data-site-theme="tema04"] body { background:var(--page-bg); color:var(--ink); }
:root[data-site-theme="tema04"] h1,
:root[data-site-theme="tema04"] h2,
:root[data-site-theme="tema04"] h3 { font-family:var(--font-heading,Georgia,'Times New Roman',serif); letter-spacing:-.025em; font-weight:700; }
/* O áudio permanece no topo, com a mesma instância e integração de metadados. */
:root[data-site-theme="tema04"] .player-bar { background:#071f37; border-bottom:1px solid #ffffff24; box-shadow:0 4px 18px #0002; }
:root[data-site-theme="tema04"] .album-art { color:var(--gospel-champagne); border-color:#ffffff24; }
:root[data-site-theme="tema04"] .album-art svg { color:var(--gospel-champagne); stroke-width:2.3; }
:root[data-site-theme="tema04"] .play-button { background:transparent; color:#fff; border:2px solid var(--gospel-champagne); box-shadow:none; }
:root[data-site-theme="tema04"] .play-button:hover { background:var(--gospel-champagne); color:#10243b; }
:root[data-site-theme="tema04"] .metadata-heading strong { color:#f8f5ed; font-family:var(--font-heading,Georgia,serif); font-size:calc(15px * var(--text-scale,1)); }
:root[data-site-theme="tema04"] .metadata-heading .live-label { color:#f3dfb4; }
:root[data-site-theme="tema04"] .metadata-heading .live-dot { background:var(--gospel-champagne); }
:root[data-site-theme="tema04"] .metadata-heading .live-dot::after { border-color:var(--gospel-champagne); }
:root[data-site-theme="tema04"] .song-ticker { color:#fff; }
:root[data-site-theme="tema04"] .presenter-line[data-presenter-mode="automatic"] :is(.presenter-ticker,.icon) { color:#e6dfc8; }
:root[data-site-theme="tema04"] .player-waveform { color:var(--gospel-champagne); }
:root[data-site-theme="tema04"] .radio-app { color:#fff; border-color:#ffffff24; }
:root[data-site-theme="tema04"] .radio-app small { color:#c8d3df; }
/* Marca, menu com ícones e convite para pedir uma música. */
:root[data-site-theme="tema04"] .site-header { background:var(--page-bg); }
:root[data-site-theme="tema04"] .brand-wave { color:var(--gospel-gold); stroke-width:2.4; }
:root[data-site-theme="tema04"] .brand b { font-family:var(--font-heading,Georgia,serif); color:var(--ink); font-size:calc(23px * var(--text-scale,1)); font-weight:700; letter-spacing:-.025em; }
:root[data-site-theme="tema04"] .brand .gospel-brand-caption { font-family:var(--font-heading,Georgia,serif); color:var(--muted); font-size:calc(15px * var(--text-scale,1)); font-weight:400; margin:5px 0 0; letter-spacing:0; }
:root[data-site-theme="tema04"] .site-navigation { border:0; border-radius:0; background:transparent; padding:0; }
:root[data-site-theme="tema04"] .site-navigation a,
:root[data-site-theme="tema04"] .nav-more summary { color:var(--ink); font-size:calc(11px * var(--text-scale,1)); border-radius:5px; }
:root[data-site-theme="tema04"] .site-navigation .icon { color:var(--primary-dark); }
:root[data-site-theme="tema04"] .site-navigation a:hover,
:root[data-site-theme="tema04"] .nav-more summary:hover,
:root[data-site-theme="tema04"] .nav-more[open] summary { background:var(--surface); color:var(--primary-dark); transform:none; }
:root[data-site-theme="tema04"] .site-navigation a[aria-current="page"] { background:transparent; color:var(--ink); box-shadow:inset 0 -2px var(--gospel-gold); }
:root[data-site-theme="tema04"] .site-navigation a[aria-current="page"] .icon { color:var(--primary-dark); }
:root[data-site-theme="tema04"] .request-header { border-radius:6px; animation:gospel-request 3.2s ease-out infinite; }
@keyframes gospel-request { 0%,65%,100% {box-shadow:0 0 0 0 #0b6b7200;} 30% {box-shadow:0 0 0 6px #0b6b7218;} 55% {box-shadow:0 0 0 10px #0b6b7200;} }
:root[data-site-theme="tema04"] .theme-toggle,
:root[data-site-theme="tema04"] .menu-toggle { background:var(--surface); color:var(--ink); border-color:var(--border); }
/* Fotografia de celebração e programa no ar ao lado, com composição própria. */
:root[data-site-theme="tema04"] .hero-layout { grid-template-columns:minmax(0,2.6fr) minmax(280px,1fr); gap:18px; }
:root[data-site-theme="tema04"] .hero-carousel { height:430px; border-radius:10px; }
:root[data-site-theme="tema04"] .slide-studio { background-image:url('../../img/gospel-celebracao.jpg'); background-position:62% center; }
:root[data-site-theme="tema04"] .hero-slide::before { background:linear-gradient(90deg,#071f37b8,#071f3755 65%,#071f3720); }
:root[data-site-theme="tema04"] .hero-copy { padding:32px 48px; max-width:650px; }
:root[data-site-theme="tema04"] .hero-copy h1,
:root[data-site-theme="tema04"] .hero-copy h2 { font-size:clamp(calc(35px * var(--text-scale,1)),calc(3.5vw * var(--text-scale,1)),calc(49px * var(--text-scale,1))); letter-spacing:-.035em; line-height:1.07; color:#fff; }
:root[data-site-theme="tema04"] .hero-copy .eyebrow { color:#f3dba7; letter-spacing:.18em; font-size:calc(10px * var(--text-scale,1)); }
:root[data-site-theme="tema04"] .hero-copy p { color:#f5f3ef; font-size:calc(16px * var(--text-scale,1)); margin-bottom:24px; }
:root[data-site-theme="tema04"] .hero-copy .button { border-radius:6px; }
:root[data-site-theme="tema04"] .carousel-dots button[aria-pressed="true"]::before { background:var(--gospel-champagne); }
:root[data-site-theme="tema04"] .on-air-card { background:var(--secondary); color:var(--on-secondary); border:0; border-radius:10px; padding:24px 22px 12px; box-shadow:none; }
:root[data-site-theme="tema04"] .on-air-card .live-label { background:transparent; color:var(--on-secondary); border:0; padding:0; font-size:calc(11px * var(--text-scale,1)); margin-bottom:17px; }
:root[data-site-theme="tema04"] .on-air-card .live-dot { background:var(--gospel-champagne); box-shadow:none; }
:root[data-site-theme="tema04"] .on-air-card .host-photo { width:104px; height:104px; box-shadow:0 0 0 4px #e7c98133; }
:root[data-site-theme="tema04"] .on-air-card h2 { font-size:calc(28px * var(--text-scale,1)); color:var(--on-secondary); }
:root[data-site-theme="tema04"] .on-air-card p,
:root[data-site-theme="tema04"] .on-air-card p strong,
:root[data-site-theme="tema04"] .on-air-kicker { color:var(--on-secondary); }
:root[data-site-theme="tema04"] .on-air-kicker { opacity:.8; }
:root[data-site-theme="tema04"] .on-air-info { margin-top:16px; }
:root[data-site-theme="tema04"] .program-time { color:var(--on-secondary); font-size:calc(18px * var(--text-scale,1)); }
:root[data-site-theme="tema04"] .on-air-equalizer { color:var(--on-secondary); }
:root[data-site-theme="tema04"] .on-air-timing { margin:13px 0 17px; gap:14px; }
:root[data-site-theme="tema04"] .on-air-next { background:var(--gospel-champagne); color:#10243b; border-radius:6px; padding:13px; }
:root[data-site-theme="tema04"] .on-air-next:hover { background:#f2dca7; }
:root[data-site-theme="tema04"] .on-air-next strong { font-size:calc(14px * var(--text-scale,1)); }
:root[data-site-theme="tema04"] .on-air-card .content-badge { background:transparent; color:var(--on-secondary); opacity:.8; font-size:calc(8px * var(--text-scale,1)); }
/* Notícias, ranking e faixa local. */
:root[data-site-theme="tema04"] .gospel-editorial { display:grid; grid-template-columns:minmax(0,2.6fr) minmax(280px,1fr); gap:24px; margin:30px 0; align-items:start; }
:root[data-site-theme="tema04"] .gospel-news-column,
:root[data-site-theme="tema04"] .gospel-ranking-column { min-width:0; }
:root[data-site-theme="tema04"] .section-heading h2 { font-size:calc(28px * var(--text-scale,1)); color:var(--ink); }
:root[data-site-theme="tema04"] .heading-with-icon>.icon { color:var(--gospel-gold); }
:root[data-site-theme="tema04"] .news-card { background:var(--card-bg); border-color:var(--border); border-radius:8px; }
:root[data-site-theme="tema04"] .gospel-news-column .news-card img { height:175px; }
:root[data-site-theme="tema04"] .gospel-news-column .news-card-body { padding:18px; }
:root[data-site-theme="tema04"] .gospel-news-column .news-card h3 { font-size:calc(21px * var(--text-scale,1)); }
:root[data-site-theme="tema04"] .category-tag { background:var(--surface); color:var(--primary-dark); }
:root[data-site-theme="tema04"] .gospel-ranking-column { border-left:1px solid var(--border); padding-left:23px; }
:root[data-site-theme="tema04"] .gospel-ranking-column .top-section { margin:0; }
:root[data-site-theme="tema04"] .gospel-ranking-column .top-heading h2 { font-size:calc(25px * var(--text-scale,1)); }
:root[data-site-theme="tema04"] .gospel-ranking-column .top-heading { align-items:flex-start; gap:8px; }
:root[data-site-theme="tema04"] .gospel-ranking-column .top-grid { grid-template-columns:minmax(0,1fr); grid-template-rows:none; grid-auto-flow:row; }
:root[data-site-theme="tema04"] .gospel-ranking-column .top-track { grid-template-columns:30px minmax(0,1fr); min-height:46px; gap:10px; border-bottom:1px solid var(--border); }
:root[data-site-theme="tema04"] .gospel-ranking-column .top-track:last-child { border:0; }
:root[data-site-theme="tema04"] .gospel-ranking-column .cover-art { display:none; }
:root[data-site-theme="tema04"] .rank { display:grid; place-items:center; width:26px; height:26px; color:var(--muted); background:var(--surface); border-radius:50%; font-family:var(--font-heading,Georgia,serif); font-size:calc(17px * var(--text-scale,1)); }
:root[data-site-theme="tema04"] .top-track:first-child .rank { background:var(--primary); color:var(--on-primary); }
:root[data-site-theme="tema04"] .gospel-ranking-column .track-info strong { font-size:calc(12px * var(--text-scale,1)); }
:root[data-site-theme="tema04"] .gospel-ranking-column .track-info span { font-size:calc(10px * var(--text-scale,1)); }
:root[data-site-theme="tema04"] .gospel-local-strip { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:16px; margin-top:24px; }
/* Ícone grande à esquerda, com destaque; o símbolo acompanha a condição. */
:root[data-site-theme="tema04"] .gospel-local-strip .weather-card { display:grid; grid-template-columns:56px minmax(0,1fr); column-gap:14px; padding:18px; border-radius:8px; min-width:0; }
:root[data-site-theme="tema04"] .gospel-local-strip .weather-card h3 { grid-column:2; grid-row:2; font-family:var(--font-body,Manrope,Arial,sans-serif); font-size:calc(18px * var(--text-scale,1)); margin-top:8px; }
:root[data-site-theme="tema04"] .gospel-local-strip .weather-reading { display:contents; }
:root[data-site-theme="tema04"] .gospel-local-strip .weather-reading strong { grid-column:2; grid-row:3; font-size:calc(36px * var(--text-scale,1)); margin-top:6px; }
:root[data-site-theme="tema04"] .gospel-local-strip .weather-reading .icon { grid-column:1; grid-row:1/6; width:56px; height:56px; align-self:center; --weather-sun-fill:#ffc33d; --weather-sun-stroke:#ed9d12; --weather-cloud-fill:#f8fbff; --weather-cloud-stroke:#7296af; }
:root[data-site-theme="tema04"] .gospel-local-strip .weather-card p { grid-column:2; grid-row:4; }
:root[data-site-theme="tema04"] .gospel-local-strip .weather-range { grid-column:2; grid-row:5; flex-wrap:wrap; margin-top:10px; gap:5px 12px; font-size:calc(11px * var(--text-scale,1)); }
:root[data-site-theme="tema04"] .gospel-local-strip .widget-kicker { grid-column:2; grid-row:1; font-size:calc(8px * var(--text-scale,1)); letter-spacing:.04em; }
:root[data-site-theme="tema04"] .gospel-local-strip .widget-note { grid-column:2; grid-row:6; margin-top:6px; }
:root[data-site-theme="tema04"] .gospel-local-strip .ad-bottom { margin:0; padding:30px 22px 20px; flex-direction:column; align-items:flex-start; justify-content:center; gap:14px; }
:root[data-site-theme="tema04"] .gospel-local-strip .ad-bottom h2 { font-size:calc(23px * var(--text-scale,1)); }
:root[data-site-theme="tema04"] .gospel-local-strip .ad-bottom p { font-size:calc(11px * var(--text-scale,1)); }
/* Anunciantes e a programação mantêm seus dados próprios. */
:root[data-site-theme="tema04"] .ad-banner { background:var(--surface); border:1px solid var(--border); border-radius:8px; }
:root[data-site-theme="tema04"] .ad-label { color:var(--muted); }
:root[data-site-theme="tema04"] .ad-landscape { background:linear-gradient(145deg,transparent 59%,#a67c3210 59%,#a67c321c 80%,#0b6b7215 80%); }
:root[data-site-theme="tema04"] .ad-landscape::before { background:#a67c3220; }
:root[data-site-theme="tema04"] .ad-landscape::after { background:#0b6b7215; }
:root[data-site-theme="tema04"] .ad-bottom { background:var(--surface); }
:root[data-site-theme="tema04"] .sponsor { background:var(--card-bg); border:1px solid var(--border); border-radius:8px; }
:root[data-site-theme="tema04"] .sponsor h3 { font-size:calc(22px * var(--text-scale,1)); }
:root[data-site-theme="tema04"] .sponsor p,
:root[data-site-theme="tema04"] .sponsor-art { color:var(--muted); }
:root[data-site-theme="tema04"] .schedule-preview { background:transparent; padding:0; margin-top:32px; }
:root[data-site-theme="tema04"] .schedule-mini { gap:18px; }
:root[data-site-theme="tema04"] .mini-program { background:var(--surface); border:0; border-left:3px solid var(--gospel-gold); padding:22px; border-radius:6px; gap:16px; }
:root[data-site-theme="tema04"] .mini-program:first-child,
:root[data-site-theme="tema04"] .mini-program:last-child { padding:22px; border-left:3px solid var(--gospel-gold); }
:root[data-site-theme="tema04"] .mini-program strong { color:var(--primary-dark); }
/* Promoções, galeria, agenda e enquete, lado a lado no desktop. */
:root[data-site-theme="tema04"] .gospel-discover { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px; margin:34px 0; align-items:start; }
:root[data-site-theme="tema04"] .gospel-discover>section { min-width:0; overflow-wrap:anywhere; }
:root[data-site-theme="tema04"] .gospel-discover .section-heading { flex-direction:column; align-items:flex-start; justify-content:flex-start; gap:7px; min-height:57px; margin-bottom:16px; }
:root[data-site-theme="tema04"] .gospel-discover .section-heading h2 { font-size:calc(22px * var(--text-scale,1)); }
:root[data-site-theme="tema04"] .gospel-discover .text-link { font-size:calc(11px * var(--text-scale,1)); }
:root[data-site-theme="tema04"] .retro-promo { display:block; background:var(--secondary); color:var(--on-secondary); padding:26px; border-radius:8px; }
:root[data-site-theme="tema04"] .retro-promo>.icon { width:34px; height:34px; margin-bottom:22px; }
:root[data-site-theme="tema04"] .retro-promo h3 { font-size:calc(29px * var(--text-scale,1)); }
:root[data-site-theme="tema04"] .retro-promo p { font-size:calc(12px * var(--text-scale,1)); line-height:1.7; margin:15px 0 22px; }
:root[data-site-theme="tema04"] .retro-promo>span { display:flex; align-items:center; gap:8px; font-size:calc(11px * var(--text-scale,1)); font-weight:700; }
:root[data-site-theme="tema04"] .retro-albums { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
:root[data-site-theme="tema04"] .retro-album { border-radius:6px; background:var(--card-bg); border:1px solid var(--border); overflow:hidden; }
:root[data-site-theme="tema04"] .retro-album img { width:100%; height:120px; object-fit:cover; }
:root[data-site-theme="tema04"] .retro-album span { display:block; padding:11px; font-size:calc(11px * var(--text-scale,1)); line-height:1.5; }
:root[data-site-theme="tema04"] .retro-event { display:grid; grid-template-columns:56px minmax(0,1fr) 17px; align-items:center; gap:12px; border-bottom:1px solid var(--border); padding:16px 0; }
:root[data-site-theme="tema04"] .retro-event:first-of-type { border-top:1px solid var(--border); }
:root[data-site-theme="tema04"] .retro-event>div { min-width:0; }
:root[data-site-theme="tema04"] .retro-event strong { display:block; font-size:calc(12px * var(--text-scale,1)); line-height:1.5; }
:root[data-site-theme="tema04"] .retro-event small { display:block; color:var(--muted); font-size:calc(10px * var(--text-scale,1)); margin-top:5px; }
:root[data-site-theme="tema04"] .retro-event>.icon { width:17px; height:17px; }
:root[data-site-theme="tema04"] .poll-card { background:var(--card-bg); border-color:var(--border); border-radius:8px; }
:root[data-site-theme="tema04"] .gospel-poll-column .poll-card { padding:20px; }
:root[data-site-theme="tema04"] .gospel-poll-column .widget-kicker { display:none; }
:root[data-site-theme="tema04"] .gospel-poll-column h3 { font-size:calc(22px * var(--text-scale,1)); margin:0; }
:root[data-site-theme="tema04"] .poll-subtitle,
:root[data-site-theme="tema04"] .poll-card .widget-note,
:root[data-site-theme="tema04"] .poll-feedback { color:var(--muted); }
:root[data-site-theme="tema04"] .poll-options { grid-template-columns:minmax(0,1fr); gap:0; border:1px solid var(--border); border-radius:6px; overflow:hidden; }
:root[data-site-theme="tema04"] .poll-options label { background:var(--input-bg); color:var(--ink); border:0; border-bottom:1px solid var(--border); border-radius:0; padding:12px; min-height:48px; }
:root[data-site-theme="tema04"] .poll-options label:last-child { border:0; }
:root[data-site-theme="tema04"] .poll-options label:hover,
:root[data-site-theme="tema04"] .poll-options label:has(input:checked) { background:var(--surface); }
:root[data-site-theme="tema04"] .poll-result>div:first-child span { color:var(--primary-dark); }
:root[data-site-theme="tema04"] .poll-bar { background:var(--surface); }
:root[data-site-theme="tema04"] .gospel-poll-column .poll-result strong { min-width:0; }
:root[data-site-theme="tema04"] .gospel-poll-column .button { font-size:calc(12px * var(--text-scale,1)); padding:12px 14px; }
:root[data-site-theme="tema04"] .content-badge { background:var(--surface); color:var(--muted); }
/* O acabamento acompanha a rádio também no claro/escuro das páginas internas. */
:root[data-site-theme="tema04"] .promotions-hero .heading-with-icon>.icon { color:inherit; }
:root[data-site-theme="tema04"] .site-footer { background:var(--card-bg); }
:root[data-site-theme="tema04"] .site-footer .brand b { font-size:calc(21px * var(--text-scale,1)); }
:root[data-site-theme="tema04"] .site-footer .brand .gospel-brand-caption { font-size:calc(13px * var(--text-scale,1)); }
@media(max-width:1380px) and (min-width:1281px) {
 :root[data-site-theme="tema04"] .brand b { font-size:calc(20px * var(--text-scale,1)); }
 :root[data-site-theme="tema04"] .brand-wave { width:35px; }
}
@media(max-width:1280px) {
 :root[data-site-theme="tema04"] .site-navigation { background:var(--card-bg); border:1px solid var(--border); border-radius:8px; padding:10px; }
 :root[data-site-theme="tema04"] .site-navigation a { background:var(--surface); font-size:calc(12px * var(--text-scale,1)); }
 :root[data-site-theme="tema04"] .site-navigation a[aria-current="page"] { background:var(--primary); color:var(--on-primary); box-shadow:none; }
 :root[data-site-theme="tema04"] .site-navigation a[aria-current="page"] .icon { color:var(--on-primary); }
}
@media(max-width:1200px) {
 :root[data-site-theme="tema04"] .gospel-discover { grid-template-columns:repeat(2,minmax(0,1fr)); gap:26px; }
 :root[data-site-theme="tema04"] .gospel-discover .section-heading { min-height:57px; }
 :root[data-site-theme="tema04"] .gospel-local-strip { grid-template-columns:minmax(0,1fr); }
 :root[data-site-theme="tema04"] .hero-copy { padding:32px 40px; }
 :root[data-site-theme="tema04"] .hero-copy h1,
 :root[data-site-theme="tema04"] .hero-copy h2 { font-size:calc(38px * var(--text-scale,1)); }
 :root[data-site-theme="tema04"] .on-air-card h2 { font-size:calc(26px * var(--text-scale,1)); }
}
@media(max-width:950px) {
 :root[data-site-theme="tema04"] .hero-layout { grid-template-columns:minmax(0,1.8fr) minmax(240px,1fr); }
 :root[data-site-theme="tema04"] .hero-copy { padding:30px 38px; }
 :root[data-site-theme="tema04"] .hero-copy h1,
 :root[data-site-theme="tema04"] .hero-copy h2 { font-size:calc(34px * var(--text-scale,1)); }
 :root[data-site-theme="tema04"] .hero-copy p { font-size:calc(14px * var(--text-scale,1)); }
 :root[data-site-theme="tema04"] .gospel-editorial { grid-template-columns:minmax(0,1fr); }
 :root[data-site-theme="tema04"] .gospel-ranking-column { border:0; padding:0; }
 :root[data-site-theme="tema04"] .gospel-ranking-column .top-grid { grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:repeat(5,minmax(46px,auto)); grid-auto-flow:column; gap:0 24px; }
 :root[data-site-theme="tema04"] .gospel-ranking-column .top-track:nth-child(5) { border:0; }
 :root[data-site-theme="tema04"] .gospel-local-strip { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); }
 :root[data-site-theme="tema04"] .mini-program { padding:18px; }
 :root[data-site-theme="tema04"] .mini-program:first-child,
 :root[data-site-theme="tema04"] .mini-program:last-child { padding:18px; }
}
@media(max-width:760px) {
 :root[data-site-theme="tema04"] .hero-layout { grid-template-columns:minmax(0,1fr); gap:16px; }
 :root[data-site-theme="tema04"] .hero-carousel { height:405px; }
 :root[data-site-theme="tema04"] .hero-copy { padding:34px 40px; }
 :root[data-site-theme="tema04"] .hero-copy h1,
 :root[data-site-theme="tema04"] .hero-copy h2 { font-size:calc(38px * var(--text-scale,1)); }
 :root[data-site-theme="tema04"] .hero-copy p { font-size:calc(15px * var(--text-scale,1)); }
 :root[data-site-theme="tema04"] .on-air-card { grid-template-columns:72px minmax(0,1fr); padding:22px; gap:0 16px; }
 :root[data-site-theme="tema04"] .on-air-card .live-label { margin:0 0 9px; font-size:calc(10px * var(--text-scale,1)); }
 :root[data-site-theme="tema04"] .on-air-info { margin:0; }
 :root[data-site-theme="tema04"] .on-air-card .host-photo { width:64px; height:64px; }
 :root[data-site-theme="tema04"] .on-air-card h2 { font-size:calc(25px * var(--text-scale,1)); }
 :root[data-site-theme="tema04"] .on-air-timing { margin:10px 0 0; }
 :root[data-site-theme="tema04"] .gospel-discover { grid-template-columns:minmax(0,1fr); gap:28px; }
 :root[data-site-theme="tema04"] .gospel-discover .section-heading { min-height:0; flex-direction:row; align-items:center; justify-content:space-between; }
 :root[data-site-theme="tema04"] .gospel-discover .section-heading h2 { font-size:calc(24px * var(--text-scale,1)); }
 :root[data-site-theme="tema04"] .gospel-poll-column .poll-card { padding:24px; }
 :root[data-site-theme="tema04"] .gospel-poll-column h3 { font-size:calc(24px * var(--text-scale,1)); }
 :root[data-site-theme="tema04"] .mini-program,
 :root[data-site-theme="tema04"] .mini-program:first-child,
 :root[data-site-theme="tema04"] .mini-program:last-child { padding:20px !important; border-left:3px solid var(--gospel-gold); }
}
@media(max-width:440px) {
 :root[data-site-theme="tema04"] .brand b { font-size:calc(18px * var(--text-scale,1)); }
 :root[data-site-theme="tema04"] .brand .gospel-brand-caption { font-size:calc(12px * var(--text-scale,1)); }
 :root[data-site-theme="tema04"] .hero-carousel { height:400px; }
 :root[data-site-theme="tema04"] .hero-copy { padding:30px 32px; }
 :root[data-site-theme="tema04"] .hero-copy h1,
 :root[data-site-theme="tema04"] .hero-copy h2 { font-size:calc(33px * var(--text-scale,1)); }
 :root[data-site-theme="tema04"] .hero-copy p { font-size:calc(14px * var(--text-scale,1)); }
 :root[data-site-theme="tema04"] .gospel-local-strip { grid-template-columns:minmax(0,1fr); }
 :root[data-site-theme="tema04"] .gospel-local-strip .weather-card { padding:20px; }
 :root[data-site-theme="tema04"] .gospel-ranking-column .top-grid { grid-template-columns:minmax(0,1fr); grid-template-rows:none; grid-auto-flow:row; }
 :root[data-site-theme="tema04"] .gospel-ranking-column .top-track:nth-child(5) { border-bottom:1px solid var(--border); }
 :root[data-site-theme="tema04"] .on-air-card { grid-template-columns:58px minmax(0,1fr); padding:18px; gap:0 14px; }
 :root[data-site-theme="tema04"] .on-air-card .host-photo { width:52px; height:52px; }
 :root[data-site-theme="tema04"] .on-air-card h2 { font-size:calc(22px * var(--text-scale,1)); }
 :root[data-site-theme="tema04"] .program-time { font-size:calc(16px * var(--text-scale,1)); }
 :root[data-site-theme="tema04"] .metadata-heading strong { font-size:calc(10px * var(--text-scale,1)); }
}
@media(prefers-reduced-motion:reduce) { :root[data-site-theme="tema04"] .request-header { animation:none; } }

:root[data-site-theme="tema04"] .button { border-radius:10px; }
:root[data-site-theme="tema04"] .button-primary,
:root[data-site-theme="tema04"] .request-header { background:var(--primary); color:var(--on-primary); border-color:var(--primary); }
:root[data-site-theme="tema04"] .button-primary:hover,
:root[data-site-theme="tema04"] .request-header:hover { background:var(--primary); color:var(--on-primary); filter:brightness(1.08); box-shadow:0 6px 20px #0002; }
:root[data-site-theme="tema04"] .button-outline { color:var(--primary-dark); border-color:var(--primary-dark); }
:root[data-site-theme="tema04"] .button-outline:hover,
:root[data-site-theme="tema04"] .icon-button:hover { background:var(--surface); color:var(--primary-dark); }
:root[data-site-theme="tema04"] :is(a,button,input,textarea,select,summary):focus-visible { outline:3px solid var(--primary-dark); outline-offset:4px; }
:root[data-site-theme="tema04"] .eyebrow { color:var(--primary-dark); letter-spacing:.17em; }
:root[data-site-theme="tema04"] .content-badge { color:var(--muted); background:var(--surface); }

/* Páginas internas, pesquisa, filtros e formulários. */
:root[data-site-theme="tema04"] .page-heading { border-bottom:1px solid var(--border); margin-bottom:28px; }
:root[data-site-theme="tema04"] :is(.program-card,.presenter-card,.values-grid article,.promotion-card,.collection-card,.ad-format-card,.promotion-summary) { background:var(--card-bg); border-color:var(--border); }
:root[data-site-theme="tema04"] :is(.day-tabs button,.filter-buttons button,.promotion-filters button) { background:var(--card-bg); color:var(--ink); border-color:var(--border); }
:root[data-site-theme="tema04"] :is(.day-tabs button,.filter-buttons button,.promotion-filters button):hover { background:var(--surface); }
:root[data-site-theme="tema04"] :is(.day-tabs button,.filter-buttons button,.promotion-filters button)[aria-pressed="true"] { background:var(--primary); color:var(--on-primary); border-color:var(--primary); }
:root[data-site-theme="tema04"] .prose p,
:root[data-site-theme="tema04"] .article-content .article-excerpt,
:root[data-site-theme="tema04"] .promotion-card p,
:root[data-site-theme="tema04"] .promotion-detail-copy>p,
:root[data-site-theme="tema04"] .promotion-rules :is(ol,ul),
:root[data-site-theme="tema04"] .promotion-date,
:root[data-site-theme="tema04"] .promotion-summary dt { color:var(--muted); }
:root[data-site-theme="tema04"] .promotion-date b { color:var(--ink); }
:root[data-site-theme="tema04"] :is(.promotion-prize,.promotion-detail-notice,.promotion-empty) { background:var(--surface); color:var(--ink); }
:root[data-site-theme="tema04"] :is(.promotion-prize .icon,.promotion-back,.promotion-summary .eyebrow,.promotion-summary-icon) { color:var(--primary-dark); }
:root[data-site-theme="tema04"] .promotion-summary-icon { background:var(--surface); }
:root[data-site-theme="tema04"] :is(.promotion-summary dl div,.promotion-rules) { border-color:var(--border); }
:root[data-site-theme="tema04"] .presenter-portrait,
:root[data-site-theme="tema04"] .presenter-programs a,
:root[data-site-theme="tema04"] .team-callout { background:var(--surface); }
:root[data-site-theme="tema04"] .presenter-portrait>span { background:var(--primary); border-color:var(--surface); color:var(--on-primary); }
:root[data-site-theme="tema04"] .presenter-programs a:hover { background:var(--card-bg); }
:root[data-site-theme="tema04"] .host-photo { box-shadow:0 0 0 4px var(--surface); }
:root[data-site-theme="tema04"] .host-music { color:var(--primary-dark); background:var(--surface); }
:root[data-site-theme="tema04"] :is(.advertising-hero,.promotions-hero) { background:var(--secondary); color:var(--on-secondary); }
:root[data-site-theme="tema04"] :is(.advertising-intro .eyebrow,.advertising-intro>p,.advertising-wave,.advertising-visual-label,.promotions-hero .eyebrow,.promotions-hero p,.promotion-note,.promotions-hero-art svg,.promotions-hero-art span) { color:var(--on-secondary); }
:root[data-site-theme="tema04"] .advertising-orbit { border-color:currentColor; }
:root[data-site-theme="tema04"] .promotions-hero .heading-with-icon>.icon { color:inherit; }
:root[data-site-theme="tema04"] .promotion-coral { background:var(--primary); color:var(--on-primary); }
:root[data-site-theme="tema04"] .promotion-peach { background:var(--surface); color:var(--ink); }
:root[data-site-theme="tema04"] .promotion-plum { background:var(--secondary); color:var(--on-secondary); }
:root[data-site-theme="tema04"] :is(form input,form select,form textarea,#share-link) { background:var(--input-bg); border-color:var(--input-border); color:var(--ink); }
:root[data-site-theme="tema04"] :is(input,textarea)::placeholder { color:var(--muted); opacity:1; }
:root[data-site-theme="tema04"] .search-field { background:var(--card-bg); border-color:var(--border); }
:root[data-site-theme="tema04"] .search-field input { color:var(--ink); background:transparent; }
:root[data-site-theme="tema04"] .share-button { background:var(--surface); border-color:var(--border); color:var(--ink); }
:root[data-site-theme="tema04"] .share-button:hover { background:var(--card-bg); color:var(--primary-dark); }
:root[data-site-theme="tema04"] .dialog { border-radius:18px; }
:root[data-site-theme="tema04"] .player-reconnect { background:var(--card-bg); border-color:var(--border); border-left-color:var(--primary); color:var(--ink); }
:root[data-site-theme="tema04"] .player-reconnect button { background:var(--surface); border-color:var(--border); color:var(--ink); }
:root[data-site-theme="tema04"] .player-reconnect button:first-child { background:var(--primary); color:var(--on-primary); }
:root[data-site-theme="tema04"] .site-footer { background:var(--card-bg); margin-top:28px; }
:root[data-site-theme="tema04"] .footer-bottom { border-color:var(--border); color:var(--muted); }
:root[data-site-theme="tema04"] .skip-link { background:var(--card-bg); color:var(--ink); }

/* Rodapé: conteúdo afastado das bordas e distribuição consistente por largura. */
:root[data-site-theme="tema04"] .site-footer {
 padding:28px 28px 0;
 border:1px solid var(--border);
 border-radius:18px;
}
:root[data-site-theme="tema04"] .footer-main {
 display:grid;
 grid-template-columns:max-content max-content minmax(0,1fr) max-content;
 grid-template-areas:"identity share social technology";
 align-items:center;
 gap:20px;
}
:root[data-site-theme="tema04"] .footer-main>.brand { grid-area:identity; }
:root[data-site-theme="tema04"] .footer-share { grid-area:share; width:fit-content; }
:root[data-site-theme="tema04"] .footer-main>.social-links { grid-area:social; margin:0; justify-self:center; }
:root[data-site-theme="tema04"] .footer-main>.powered { grid-area:technology; justify-self:end; padding-left:20px; }
:root[data-site-theme="tema04"] .footer-contact-links { gap:14px 24px; }
:root[data-site-theme="tema04"] .footer-bottom { flex-wrap:wrap; gap:8px 20px; }
@media(max-width:950px) {
 :root[data-site-theme="tema04"] .footer-main {
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:"identity share" "social technology";
 }
 :root[data-site-theme="tema04"] .footer-main>.social-links { justify-self:start; }
}
@media(max-width:760px) {
 :root[data-site-theme="tema04"] .site-footer { padding:22px 18px 0; border-radius:14px; }
 :root[data-site-theme="tema04"] .footer-main {
  grid-template-areas:"identity social" "share share" "technology technology";
  gap:16px;
 }
 :root[data-site-theme="tema04"] .footer-main>.social-links { justify-self:end; }
 :root[data-site-theme="tema04"] .footer-main>.powered { justify-self:start; padding-left:0; }
 :root[data-site-theme="tema04"] .footer-contact-links { gap:12px 16px; }
}
/* Ajustes finais do cartão de rodapé e controles no celular. */
:root[data-site-theme="tema04"] .button { border-radius:6px; }
@media(max-width:440px) {
 :root[data-site-theme="tema04"] .site-footer .brand b { font-size:calc(18px * var(--text-scale,1)); }
 :root[data-site-theme="tema04"] .site-footer .brand-wave { width:31px; }
}
@media(max-width:380px) {
 :root[data-site-theme="tema04"] .footer-main {
  grid-template-columns:minmax(0,1fr);
  grid-template-areas:"identity" "social" "share" "technology";
 }
 :root[data-site-theme="tema04"] .footer-main>.social-links { justify-self:start; }
}
@media(min-width:1281px) {
 :root[data-site-theme="tema04"] .site-navigation { gap:1px; }
 :root[data-site-theme="tema04"] .site-navigation a { padding:11px 7px; }
}

@media(min-width:1201px) and (max-width:1350px) {
 :root[data-site-theme="tema04"] .gospel-discover .section-heading { min-height:82px; }
}
@media(max-width:360px) {
 :root[data-site-theme="tema04"] .header-inner { gap:6px; }
 :root[data-site-theme="tema04"] .site-header .brand { gap:6px; }
 :root[data-site-theme="tema04"] .site-header .brand b { font-size:calc(17px * var(--text-scale,1)); }
 :root[data-site-theme="tema04"] .site-header .brand-wave { width:27px; }
}

/* Novas informações do tempo ocupam a coluna de leitura, sem células estreitas. */
:root[data-site-theme="tema04"] .gospel-local-strip .weather-details{grid-column:2;grid-row:6}
:root[data-site-theme="tema04"] .gospel-local-strip .weather-update{grid-column:2;grid-row:7}
:root[data-site-theme="tema04"] .gospel-local-strip .weather-status{grid-column:2;grid-row:8}
:root[data-site-theme="tema04"] .gospel-local-strip .weather-source{grid-column:2;grid-row:9}
