:root {
  --green: #2fa84f;
  --green-dark: #1f7a3a;
  --orange: #f7941e;
  --orange-dark: #e07b00;
  --dark: #1c2b1f;
  --text: #333;
  --muted: #6b7280;
  --bg: #f5f6f4;
  --white: #ffffff;
  --radius: 4px;
  --shadow: 0 1px 3px rgba(0,0,0,.07);
  --border: 1px solid #e7e7e5;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
h1, h2, h3, h4, .logo__text strong, .card__tag, .btn, .btn-admin, .nav a {
  font-family: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
}
input, textarea, select, button { font-family: inherit; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--dark); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 3px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}
.btn--outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn--outline:hover { background: var(--white); color: var(--green-dark); }

/* Barra do player visual removida a pedido — a rádio continua tocando em segundo
   plano (autoplay em script.js), só sem interface visível. display:none aqui não
   pausa o <audio> interno, então a transmissão não é interrompida. */
.live-bar {
  display: none;
}
.live-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 20px;
}
.live-bar__play {
  background: var(--orange);
  color: var(--dark);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.live-bar__info { display: flex; align-items: center; gap: 10px; flex: 1; overflow: hidden; }
.live-bar__badge {
  background: #e63946;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: .5px;
  flex-shrink: 0;
}
.live-bar__text { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-bar__volume input { width: 90px; }

/* =================== Header (padrão BR104) =================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--white);
  z-index: 1000;
  border-bottom: 3px solid var(--green-dark);
}
.top-bar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}
.top-left, .top-right { display: flex; align-items: center; gap: 15px; }
.menu-button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}
.menu-button__icon { font-size: 24px; display: block; }
.menu-button__label { font-size: 11px; display: block; font-weight: 600; }

.search-button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.search-button svg { color: var(--green-dark); }

.top-left { min-width: 0; }
/* Logo bem maior à esquerda (padrão UOL): vira o elemento dominante do cabeçalho,
   destacado do restante da barra em vez de dividir espaço igual com menu/busca. */
.logo { display: flex; align-items: center; gap: 16px; min-width: 0; }
.logo img { height: 96px; width: auto; object-fit: contain; display: block; flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.logo__text strong { color: var(--green-dark); font-size: 32px; font-weight: 800; font-family: "Baloo 2", "Poppins", "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: .2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo__text span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 768px) {
  .top-left { gap: 10px; }
  .logo { gap: 10px; }
  .logo img { height: 76px; width: auto; }
  .logo__text strong { font-size: 22px; }
  .logo__text span { font-size: 10px; }
  /* Logo bem maior agora domina a barra — some só o rótulo de texto do
     botão do YouTube abaixo do desktop cheio, pra sobrar espaço pro nome. */
  .btn--studio span:not(.btn--studio__dot) { display: none; }
}

@media (max-width: 480px) {
  .menu-button__label,
  .search-button span { display: none; }
  .top-left, .top-right { gap: 8px; }
}

@media (max-width: 420px) {
  .logo__text span { display: none; }
  .logo__text strong { font-size: 20px; }
  .logo img { height: 60px; }
}

/* Botão "No Estúdio" (live do YouTube) */
.btn--studio {
  display: flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 1.5px solid var(--orange);
  color: var(--dark);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 3px;
  white-space: nowrap;
}
.btn--studio:hover { background: var(--orange); }
.btn--studio__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e63946;
  flex-shrink: 0;
  animation: pulse-dot 1.4s infinite;
}
.btn--studio__yt { flex-shrink: 0; }
@media (max-width: 768px) {
  .btn--studio { gap: 5px; }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.7); }
}
@media (max-width: 480px) {
  .btn--studio { padding: 8px 12px; font-size: 12px; }
}

/* Slider do cabeçalho (banner principal) — fotos reais da equipe/programação da AG FM,
   troca automática com fade, setas e indicadores. Fica logo abaixo do header fixo. */
/* Esteira de notícias do cabeçalho — cards reais rolando em faixa contínua e suave
   (sem parada entre um card e outro, loop via translateX -50% numa trilha duplicada),
   pausa só quando o mouse passa por cima. Substitui a esteira antiga (mais simples)
   e o slider de crossfade — um único carrossel, maior e mais elegante. */
.header-slider {
  background: var(--white);
  position: relative;
  overflow: hidden;
  padding: 22px 0;
}
.header-slider::before,
.header-slider::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.header-slider::before { left: 0; background: linear-gradient(90deg, var(--white), transparent); }
.header-slider::after { right: 0; background: linear-gradient(270deg, var(--white), transparent); }
.header-slider__track {
  display: flex;
  width: max-content;
  animation-name: header-slider-scroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.header-slider:hover .header-slider__track { animation-play-state: paused; }
@keyframes header-slider-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.header-slider__card {
  display: block;
  width: 340px;
  flex-shrink: 0;
  margin-right: 24px;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  transition: transform .25s ease;
}
.header-slider__card:hover { transform: translateY(-3px); }
.header-slider__media { position: relative; width: 100%; height: 190px; overflow: hidden; background: #000; }
.header-slider__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.header-slider__card:hover .header-slider__media img { transform: scale(1.05); }
.header-slider__body { padding: 12px 16px 16px; }
.header-slider__tag {
  display: inline-block;
  background: var(--orange);
  color: var(--dark);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .3px;
  padding: 3px 9px;
  border-radius: 3px;
  margin-bottom: 8px;
}
.header-slider__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: "Baloo 2", "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
}
@media (max-width: 768px) {
  .header-slider { padding: 16px 0; }
  .header-slider::before, .header-slider::after { width: 48px; }
  .header-slider__card { width: 250px; margin-right: 16px; }
  .header-slider__media { height: 140px; }
  .header-slider__title { font-size: 14px; }
}

.main-nav {
  background: var(--white);
  border-top: 1px solid #eee;
  display: none;
}
.main-nav ul { display: flex; justify-content: center; align-items: center; list-style: none; padding: 10px 0; margin: 0; flex-wrap: nowrap; }
.main-nav ul li { margin: 0 8px; }
.main-nav ul li a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.main-nav ul li a:hover { color: var(--green-dark); border-color: var(--orange); }

@media (min-width: 769px) {
  .main-nav { display: block; }
}

/* Mobile slide menu */
.overlay {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(4px);
  background: rgba(0,0,0,.25);
  z-index: 1099;
  display: none;
}
.overlay.active { display: block; }

.mobile-menu {
  position: fixed;
  top: 0;
  left: -280px;
  width: 260px;
  height: 100vh;
  background: var(--white);
  box-shadow: 2px 0 12px rgba(0,0,0,.25);
  padding: 20px;
  transition: left .3s ease;
  z-index: 1100;
  overflow-y: auto;
}
.mobile-menu.open { left: 0; }
.close-button, .close-search {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  margin-bottom: 16px;
  color: var(--dark);
  line-height: 1;
}
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav ul li { border-bottom: 1px solid #eee; }
.mobile-nav ul li a { display: block; padding: 13px 4px; text-decoration: none; color: var(--dark); font-size: 16px; font-weight: 600; }
.mobile-nav ul li a:hover { color: var(--green-dark); }

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,.85);
  z-index: 1101;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.search-overlay.active { display: flex; }
.search-overlay .close-search { position: absolute; top: 20px; right: 24px; font-size: 40px; }
.search-form-wrapper { text-align: center; width: 100%; }
.search-form-wrapper h2 { font-size: 16px; color: var(--green-dark); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 20px; }
.search-form-wrapper form { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.search-form-wrapper input[type="text"] {
  border: none;
  border-bottom: 2px solid var(--dark);
  background: transparent;
  font-size: 22px;
  padding: 10px;
  outline: none;
  width: 320px;
  max-width: 80%;
}
.search-form-wrapper button[type="submit"] {
  background: none;
  border: 2px solid var(--green-dark);
  color: var(--green-dark);
  padding: 10px 22px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 4px;
  transition: background .2s, color .2s;
}
.search-form-wrapper button[type="submit"]:hover { background: var(--green-dark); color: var(--white); }

/* No ar agora — faixa compacta e editorial, não hero gigante */
.onair { background: var(--dark); color: var(--white); }
.onair__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.onair__center {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  text-align: center;
}
.onair__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e63946;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 8px 26px;
  border-radius: 3px;
  flex-shrink: 0;
  animation: blink-label 1.2s ease-in-out infinite;
}
@keyframes blink-label {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}
.onair__label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
  animation: pulse-dot 1.4s infinite;
}
.onair__photo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,.35));
  animation: float-logo 4.5s ease-in-out infinite;
}
@keyframes float-logo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.onair__text { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.onair h2 { color: var(--orange); font-size: 16px; margin: 0; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.onair p { opacity: .7; margin: 0; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.onair .btn--outline {
  padding: 6px 16px;
  font-size: 12px;
  border-width: 1px;
  flex-shrink: 0;
}

/* Main layout */
.main__content { max-width: 1200px; margin: 0 auto; padding: 30px 20px 60px; }

/* Programação na home — coluna fixa à esquerda, cards um abaixo do outro */
.home-layout { display: flex; align-items: flex-start; gap: 32px; }
.home-main-col { flex: 1; min-width: 0; }
.home-programacao { width: 260px; flex-shrink: 0; }
.home-programacao__list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.home-schedule-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: var(--border);
  border-left: 4px solid var(--accent, var(--green));
  border-radius: var(--radius);
  padding: 10px 12px;
}
.home-schedule-card--live { box-shadow: 0 0 0 2px var(--accent, var(--orange)); }
.home-schedule-card__photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--bg); }
.home-schedule-card__body { min-width: 0; }
.home-schedule-card__program { margin: 0; font-size: 13px; font-weight: 700; color: var(--dark); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-schedule-card__presenters { margin: 1px 0 0; font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-schedule-card__time { margin: 2px 0 0; font-size: 11px; font-weight: 700; color: var(--accent, var(--green)); }
.home-schedule-card__live { display: inline-block; margin-top: 3px; background: #e63946; color: var(--white); font-size: 9px; font-weight: 800; letter-spacing: .3px; padding: 1px 6px; border-radius: 3px; animation: pulse-dot 1.4s infinite; }
.home-schedule-card__live-btn { display: inline-flex; align-items: center; margin-top: 4px; margin-left: 4px; padding: 3px 10px; font-size: 9px; font-weight: 800; letter-spacing: .2px; color: var(--white); background: var(--orange); border-radius: 14px; }
.home-schedule-card__live-btn:hover { background: var(--orange-dark); }

@media (max-width: 900px) {
  .home-layout { flex-direction: column; }
  .home-programacao { width: 100%; }
  .home-programacao__list { flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .home-schedule-card { flex-direction: column; align-items: flex-start; min-width: 160px; }
}
.section { margin-bottom: 46px; }
.section__title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--muted);
  padding: 6px 0;
  margin-bottom: 18px;
  border-bottom: 1px solid #e5e5e5;
}
.section__title--highlight {
  font-size: 22px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--green-dark);
  font-weight: 800;
  border-bottom: none;
  border-left: 6px solid var(--orange);
  padding-left: 12px;
}
.link-more {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  color: var(--green-dark);
}
.link-more:hover { color: var(--orange-dark); }
.section--split { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }

/* Hero (destaque) - padrão BR104: história principal + laterais empilhadas */
.hero { display: flex; gap: 28px; align-items: stretch; }
/* #featuredBig é um wrapper vazio (js/news.js injeta o <a class="hero__main"> dentro dele) —
   sem isso ele vira o item real do flex e o filho .hero__main nunca recebe a proporção 1.6:1 */
#featuredBig { display: contents; }
.hero__main {
  flex: 1.6;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}
.hero__main-media { position: relative; }
.hero__main-media img { width: 100%; height: 260px; object-fit: cover; object-position: center; border-radius: var(--radius); }
.hero__cat { text-transform: uppercase; font-size: 12px; color: var(--muted); margin: 0 0 6px; font-weight: 700; }
.hero__title { font-size: 28px; font-weight: 800; line-height: 1.15; margin-bottom: 8px; }
.hero__title a { color: var(--dark); }
.hero__date { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.hero__summary { font-size: 14px; color: var(--muted); margin: 0; }

.hero__side { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.hero__side-item { display: flex; gap: 12px; }
.hero__side-media { position: relative; width: 42%; flex-shrink: 0; aspect-ratio: 16/9; overflow: hidden; border-radius: 8px; background: rgba(0,0,0,.05); }
.hero__side-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__side-content { width: 58%; min-width: 0; }
.hero__side-cat { text-transform: uppercase; font-size: 11px; color: var(--muted); font-weight: 700; margin: 0 0 4px; }
.hero__side-title { font-size: 15px; font-weight: 700; margin: 0; line-height: 1.3; }
.hero__side-title a { color: var(--dark); }

@media (max-width: 900px) {
  .hero { flex-direction: column; }
  .hero__main { grid-template-columns: 1fr; }
}

.grid { display: grid; gap: 20px; }
.grid--list { display: grid; gap: 16px; }
.grid--four { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--border);
  box-shadow: var(--shadow);
  transition: box-shadow .15s ease;
}
.card:hover { box-shadow: 0 3px 10px rgba(0,0,0,.1); }
.card__body { padding: 14px; }
.card__tag {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.card--row { display: flex; gap: 14px; box-shadow: none; background: transparent; border-bottom: 1px solid #e5e5e5; border-radius: 0; padding-bottom: 14px; }
.card--row img { width: 140px; height: 96px; object-fit: cover; object-position: center; border-radius: 8px; }
.card--row h3 { font-size: 15px; }

/* Cards em grade (Autoridades, União dos Palmares, Alagoas) - padrão BR104: foto uniforme e centralizada */
.grid--four .card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.grid--four .card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }

/* Sidebar "MAIS OUVIDAS" (padrão BR104: numeros grandes) */
.sticky-sidebar { position: sticky; top: 130px; }
.trending-box { background: #f8f8f8; border-radius: var(--radius); padding: 16px; }
.ranking { list-style: none; margin: 0; padding: 0; }
.ranking li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid #e5e5e5; }
.ranking li:last-child { border-bottom: none; }
.ranking li .rank-number { font-weight: 800; color: var(--orange); font-size: 34px; font-family: Georgia, serif; line-height: 1; flex-shrink: 0; }
.ranking li a { font-size: 14px; font-weight: 600; color: var(--dark); }
.ranking li a:hover { text-decoration: underline; }

.social-box { margin-top: 30px; background: var(--white); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.social-link {
  display: inline-block;
  margin: 6px 8px 0 0;
  padding: 8px 16px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}
.social-link--instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.social-link--whatsapp { background: #25D366; }

/* =================== Footer (padrão BR104) =================== */
.site-footer { background: var(--white); margin-top: 40px; font-size: 14px; }
.expediente-wrap { max-width: 800px; margin: 0 auto; padding: 40px 20px 0; }
.expediente-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.expediente-card__header { background: var(--dark); color: var(--white); padding: 16px 22px; }
.expediente-card__header h2 { color: var(--white); font-size: 18px; margin: 0; }
.expediente-card__body { padding: 22px; }
.expediente-card__org { color: var(--muted); margin-bottom: 18px; }
.expediente-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 0; }
.expediente-dl dt { font-weight: 700; color: rgba(0,0,0,.75); }
.expediente-dl dd { margin: 0; color: rgba(0,0,0,.9); }
.expediente-dl a { color: var(--green-dark); font-weight: 700; }
.expediente-card__body hr { border: 0; border-top: 1px solid #eee; margin: 18px 0; }
@media (max-width: 560px) {
  .expediente-dl { grid-template-columns: 1fr; }
  .expediente-dl dd { margin-bottom: 8px; }
}

.footer-bar { height: 5px; background-color: var(--orange); margin-top: 30px; }
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 20px;
  text-align: center;
}
.footer-links { flex: 1; text-align: center; }
.footer-links a { text-decoration: none; color: var(--dark); margin: 0 8px; font-weight: 700; font-size: 12px; text-transform: uppercase; white-space: nowrap; }
.footer-links a:hover { color: var(--green-dark); }
.footer-copy { flex-shrink: 0; font-size: 11px; color: #555; font-weight: 700; white-space: nowrap; }
.footer-address { text-align: center; font-size: 12px; color: var(--muted); padding: 0 20px 26px; margin: 0; }

@media (max-width: 768px) {
  .footer-content { flex-direction: column; }
  .footer-copy { order: -1; }
  .site-footer { padding-bottom: 90px; }
}

/* Cookie notice (padrão BR104) */
.cookie-notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--dark);
  color: var(--white);
  z-index: 1200;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
}
.cookie-notice.hidden { display: none; }
.cookie-notice a { color: var(--white); text-decoration: underline; }
.cookie-notice__btn {
  background: var(--white);
  color: var(--dark);
  border: none;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
  z-index: 200;
}

/* Aviso flutuante de "ligar o som" — só aparece quando o autoplay com áudio é
   bloqueado pelo navegador (comum em celular). Some assim que a rádio liga. */
.radio-play-hint {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--dark);
  border: none;
  padding: 13px 18px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  font-family: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
  animation: radio-hint-pulse 1.8s infinite;
}
.radio-play-hint[hidden] { display: none; }
.radio-play-hint svg { flex-shrink: 0; }
@keyframes radio-hint-pulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(0,0,0,.3); }
  50% { box-shadow: 0 4px 14px rgba(0,0,0,.3), 0 0 0 6px rgba(247,148,30,.35); }
}
@media (max-width: 480px) {
  .radio-play-hint span { display: none; }
  .radio-play-hint { padding: 13px; }
}

/* Programação page — grade de cards por apresentador */
.schedule-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-bottom: 40px; }
.schedule-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  border-left: 5px solid var(--accent, var(--green));
}
.schedule-card__photo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--accent, var(--green));
  background: var(--bg);
  padding: 4px;
}
.schedule-card__body { min-width: 0; }
.schedule-card__program { font-size: 15px; margin: 0 0 4px; color: var(--dark); }
.schedule-card__presenters { font-size: 13px; color: var(--muted); margin: 0 0 4px; font-weight: 600; }
.schedule-card__time { font-size: 12px; color: var(--accent, var(--green)); font-weight: 700; margin: 0; }
.schedule-card--live { box-shadow: 0 0 0 2px var(--accent, var(--orange)), var(--shadow); }
.schedule-card__live {
  display: inline-block;
  background: #e63946;
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .3px;
  padding: 2px 8px;
  border-radius: 3px;
  margin-top: 6px;
  margin-right: 8px;
  animation: pulse-dot 1.4s infinite;
}
.schedule-card__live-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .3px;
  color: var(--white);
  background: var(--orange);
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.schedule-card__live-btn:hover { background: var(--orange-dark); }

/* Simple content page */
.page-content { max-width: 900px; margin: 0 auto; padding: 40px 20px 70px; }
.page-content h1 { border-left: 5px solid var(--orange); padding-left: 12px; }
.page-content p { margin-bottom: 16px; }

/* Card links */
.card-link { display: block; color: inherit; }
.card-link .card { height: 100%; }
.card-link.hero__main-media,
.card-link.hero__side-media { display: block; }

/* Article page */
.article .card__tag { margin-bottom: 10px; }
.article h1 { font-size: 28px; margin-bottom: 6px; }
.article__meta { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.article__image { width: 100%; max-height: 420px; object-fit: cover; object-position: center; border-radius: var(--radius); margin-bottom: 8px; }
.article__video { width: 100%; max-height: 640px; border-radius: var(--radius); margin-bottom: 8px; background: #000; display: block; }
.article__gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin: 16px 0 24px; }
.article__gallery img { width: 100%; height: 160px; object-fit: cover; border-radius: 8px; }
.article__image-caption { font-size: 12px; color: var(--muted); font-style: italic; margin: 0 0 20px; }
.article__summary { font-size: 18px; font-weight: 600; color: var(--dark); margin-bottom: 16px; }

/* AI-generated image badge */
.card__media { position: relative; }
.ai-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(28,43,31,.85);
  color: #fff;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .3px;
  padding: 1px 4px;
  border-radius: 3px;
  z-index: 2;
  line-height: 1.4;
}
.article__body p { margin-bottom: 14px; line-height: 1.7; }

.article__share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 20px 0; padding: 14px 16px; background: var(--white); border: var(--border); border-radius: var(--radius); }
.article__share-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.article__share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 3px; font-size: 13px; font-weight: 700; border: 1.5px solid var(--green); background: transparent; color: var(--green-dark); cursor: pointer; font-family: inherit; }
.article__share-btn--whatsapp { border-color: #25d366; color: #1a9e4f; }
.article__share-btn--whatsapp:hover { background: #25d366; color: var(--white); }
.article__share-btn--copy:hover { background: var(--green); color: var(--white); }
.article__share-btn--done { border-color: var(--green-dark); background: var(--green-dark); color: var(--white); }

.btn--back { background: var(--green); color: var(--white); margin-top: 10px; }
.btn--back:hover { background: var(--green-dark); }

/* Contact form */
.contact-form { display: grid; gap: 14px; max-width: 500px; }
.contact-form input, .contact-form textarea {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
}
.contact-form button {
  background: var(--green);
  color: var(--white);
  padding: 12px;
  border-radius: 8px;
  border: none;
  font-weight: 700;
  cursor: pointer;
}
.contact-form button:hover { background: var(--green-dark); }

@media (max-width: 900px) {
  .section--split { grid-template-columns: 1fr; }
  .grid--four { grid-template-columns: repeat(2, 1fr); }
  .card--row img { width: 110px; height: 80px; }
}

@media (max-width: 760px) {
  .site-header { top: 0; }
  .live-bar__volume { display: none; }
  .onair__inner { padding: 10px 16px; gap: 10px; }
  .onair h2 { font-size: 14px; }
  .onair p { display: none; }
  .onair .btn--outline { padding: 5px 12px; }
  .section__title--highlight { font-size: 19px; }
  .grid--four { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .grid--four { grid-template-columns: 1fr; }
}

/* Prevent iOS Safari from zooming in on input focus (requires >=16px font-size) */
@media (max-width: 760px) {
  .search-form-wrapper input,
  .contact-form input,
  .contact-form textarea,
  .admin-login__box input,
  #newsForm input,
  #newsForm select,
  #newsForm textarea,
  #passwordForm input {
    font-size: 16px;
  }
}
