:root {
    --primary: #1d4ed8;
    --primary-dark: #12367a;
    --primary-soft: #e8efff;
    --accent: #38bdf8;
    --footer-bg: #101b34;
    --footer-border: rgba(255, 255, 255, .16);
    --footer-muted: rgba(255, 255, 255, .76);
    --ink: #172033;
    --muted: #60708a;
    --surface: #ffffff;
    --surface-alt: #f3f6fb;
    --line: #dfe6f1;
    --shadow: 0 18px 48px rgba(18, 54, 122, .11);
    --radius: 18px;
    --container: 1180px;
}

.theme-amarelo {
    --primary: #b45309;
    --primary-dark: #78350f;
    --primary-soft: #fff4db;
    --accent: #f59e0b;
    --footer-bg: #5c2c08;
    --footer-border: rgba(255, 228, 183, .22);
    --footer-muted: rgba(255, 247, 233, .82);
    --shadow: 0 18px 48px rgba(120, 53, 15, .12);
}

.theme-roxo {
    --primary: #6d28d9;
    --primary-dark: #3b176f;
    --primary-soft: #f0eaff;
    --accent: #c084fc;
    --footer-bg: #2b1050;
    --footer-border: rgba(234, 217, 255, .22);
    --footer-muted: rgba(246, 239, 255, .82);
    --shadow: 0 18px 48px rgba(59, 23, 111, .12);
}

/* Tema Rosa: cor principal #FF00C4 */
.theme-rosa {
    --primary: #ff00c4;
    --primary-dark: #970073;
    --primary-soft: #ffe5f8;
    --accent: #ff79dd;
    --footer-bg: #4b003b;
    --footer-border: rgba(255, 205, 243, .24);
    --footer-muted: rgba(255, 237, 251, .84);
    --shadow: 0 18px 48px rgba(151, 0, 115, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    background: var(--surface-alt);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
}
img, video, iframe, embed, object { max-width: 100%; }
img { height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; transform: translateY(-150%); border-radius: 8px; background: var(--primary-dark); color: #fff; }
.skip-link:focus { transform: translateY(0); }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 6px; color: var(--primary); font-size: .74rem; font-weight: 800; letter-spacing: .105em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 99px; background: #20c178; box-shadow: 0 0 0 4px rgba(32, 193, 120, .18); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 16px; border: 0; border-radius: 10px; background: var(--primary); color: #fff; font-weight: 750; cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { color: #fff; background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 10px 20px rgba(0, 0, 0, .15); }
.button--light { background: #fff; color: var(--primary-dark); }
.button--light:hover { background: #f8fafc; color: var(--primary-dark); }
.text-link { display: inline-flex; align-items: center; gap: 5px; font-size: .88rem; font-weight: 800; white-space: nowrap; }
.card, .section-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }

/* Cabeçalho e navegação */
.site-header { background: #fff; }
.header-top { background: var(--primary-dark); color: rgba(255, 255, 255, .88); font-size: .8rem; }
.header-top__content { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 18px; }
.now-playing { display: flex; align-items: center; gap: 7px; margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.now-playing strong { color: #fff; }
.now-playing__program, .now-playing__schedule { color: #fff !important; text-decoration: none; border-radius: 4px; transition: color .18s ease, background .18s ease, box-shadow .18s ease; }
.now-playing__program:hover, .now-playing__schedule:hover, .now-playing__program:focus-visible, .now-playing__schedule:focus-visible { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }
.now-playing__program:focus-visible, .now-playing__schedule:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.separator { color: rgba(255, 255, 255, .45); }
.theme-picker { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.theme-choice { width: 17px; height: 17px; padding: 0; border: 2px solid rgba(255, 255, 255, .8); border-radius: 50%; cursor: pointer; transition: transform .15s ease, outline-color .15s ease; }
.theme-choice:hover, .theme-choice:focus-visible, .theme-choice.is-selected { transform: scale(1.15); outline: 2px solid #fff; outline-offset: 2px; }
.theme-choice--azul { background: #1d4ed8; }
.theme-choice--amarelo { background: #f59e0b; }
.theme-choice--roxo { background: #6d28d9; }
.brand-row { display: grid; grid-template-columns: minmax(155px, 220px) 1fr auto; align-items: center; gap: 30px; min-height: 112px; }
.brand { display: inline-block; line-height: 0; }
.brand img { display: block; max-width: 210px; max-height: 90px; object-fit: contain; object-position: left center; }
.header-ad { display: flex; justify-content: center; align-items: center; min-width: 0; overflow: hidden; }
.header-ad img, .header-ad iframe { max-height: 76px; width: auto; }
.live-cta { position: relative; display: inline-flex; align-items: center; gap: 11px; min-width: 166px; padding: 11px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--primary-soft); color: var(--primary-dark); transition: transform .18s ease, box-shadow .18s ease; }
.live-cta:hover { color: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.live-cta__action { display: inline-flex; align-items: center; gap: 11px; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.live-cta__action:hover { color: inherit; }
.site-radio-audio,
.live-cta.is-playing .site-radio-audio { display: none !important; }
.live-cta.is-playing { border-color: var(--accent); box-shadow: 0 8px 20px rgba(18, 54, 122, .16); }
.live-cta__status { display: none; }
.live-cta__icon { display: grid; place-items: center; width: 31px; height: 31px; padding-left: 2px; border-radius: 50%; background: var(--primary); color: #fff; font-size: .72rem; }
.live-cta strong, .live-cta small { display: block; line-height: 1.2; }
.live-cta strong { font-size: .86rem; }
.live-cta small { margin-top: 3px; color: var(--muted); font-size: .7rem; }
.nav-wrap { background: var(--primary-dark); box-shadow: 0 4px 12px rgba(12, 33, 80, .14); }
.nav-container { position: relative; }
.main-nav { display: flex; align-items: stretch; justify-content: space-between; min-height: 52px; }
.main-nav li { display: contents; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: inline-flex; align-items: center; padding: 0 13px; color: rgba(255, 255, 255, .9); font-size: .88rem; font-weight: 700; transition: background .18s ease, color .18s ease; }
.main-nav a:hover, .main-nav a:focus-visible { background: rgba(255, 255, 255, .14); color: #fff; }
.menu-toggle { display: none; }

/* Página inicial */
.home-content { padding-block: 28px 54px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(270px, .85fr); gap: 22px; }
.hero-slider { position: relative; min-height: 328px; overflow: hidden; background: #e7edf8; }
.hero-slider > a { display: none; height: 100%; min-height: 328px; }
.hero-slider > a:first-child, .hero-slider > a.is-active { display: block; }
.hero-slider img { display: block; width: 100%; height: 328px; object-fit: cover; }
.hero-slider > a::after { content: attr(title); position: absolute; inset: auto 0 0; padding: 48px 24px 22px; background: linear-gradient(transparent, rgba(7, 16, 35, .83)); color: #fff; font-size: clamp(1rem, 2.2vw, 1.4rem); font-weight: 800; }
.live-card { display: flex; flex-direction: column; justify-content: center; min-height: 328px; padding: 32px; border-radius: var(--radius); background: linear-gradient(150deg, var(--primary), var(--primary-dark)); color: #fff; box-shadow: var(--shadow); }
.live-card .eyebrow { color: rgba(255, 255, 255, .72); }
.live-card h1 { max-width: 17ch; margin: 0 0 6px; color: #fff; font-size: clamp(1.55rem, 2.4vw, 2.2rem); line-height: 1.12; }
.live-card > p { margin: 0 0 24px; color: rgba(255, 255, 255, .82); }
.weather { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-top: auto; padding-top: 26px; color: rgba(255, 255, 255, .86); font-size: .82rem; }
.weather__city { max-width: 13ch; }
.weather__temperature { color: #fff; font-size: 1.22rem; font-weight: 800; white-space: nowrap; }
.weather__temperature small { font-size: .62rem; font-weight: 650; text-transform: uppercase; }
.ad-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px; min-height: 90px; margin: 25px 0; padding: 10px; overflow: hidden; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.ad-row > * { max-width: 100%; }
.ad-row img { display: block; max-height: 100px; width: auto; }
.homepage-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(280px, .85fr); gap: 22px; }
.content-column, .sidebar-column { display: grid; align-content: start; gap: 22px; }
.section-card { padding: 25px; overflow: hidden; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.section-heading h2, .request-card h2, .site-footer h2 { margin: 0; color: var(--ink); font-size: 1.35rem; line-height: 1.2; }
.latest-list { display: grid; gap: 4px; }
.latest-list > * { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
.latest-list > *:last-child { border-bottom: 0; }
.latest-list a { color: var(--ink); font-weight: 700; }
.latest-list a:hover { color: var(--primary); }
.latest-list img { float: left; width: 82px; height: 58px; margin: 0 14px 5px 0; border-radius: 8px; object-fit: cover; }
.latest-list .data, .latest-list time, .latest-list small { color: var(--muted); font-size: .76rem; }
.video-frame, .youtube-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: #0c1220; }
.video-frame iframe, .video-frame object, .video-frame embed, .video-frame video, .youtube-embed iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.media-caption { margin: 14px 0 0; color: var(--ink); font-size: .92rem; }
.media-caption span { color: var(--muted); font-size: .8rem; }
.photo-feed { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; }
.photo-feed > * { min-width: 0; margin: 0 !important; }
.photo-feed a { display: block; overflow: hidden; border-radius: 10px; background: var(--surface-alt); color: var(--ink); font-weight: 700; }
.photo-feed img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s ease; }
.photo-feed a:hover img { transform: scale(1.04); }
.request-card { background: linear-gradient(145deg, #fff, var(--primary-soft)); }
.request-card > p { margin: 8px 0 19px; color: var(--muted); font-size: .9rem; }
.request-form { display: grid; gap: 12px; }
.request-form label { display: grid; gap: 5px; color: var(--ink); font-size: .78rem; font-weight: 750; }
.request-form input, .internal-main input[type="text"], .internal-main input[type="email"], .internal-main input[type="password"], .internal-main select, .internal-main textarea { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid #c9d4e4; border-radius: 9px; outline: 0; background: #fff; color: var(--ink); }
.request-form input:focus, .internal-main input:focus, .internal-main select:focus, .internal-main textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.request-form .button { width: 100%; margin-top: 4px; }
.social-card { min-height: 100px; }
.social-card iframe { width: 100% !important; max-width: 100% !important; }
.community-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mural-feed { max-height: 330px; overflow: auto; scrollbar-color: var(--primary) var(--surface-alt); scrollbar-width: thin; }
.mural-feed > * { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); }
.mural-feed > *:last-child { border-bottom: 0; }
.top-list > * { display: block; min-height: 38px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.top-list > *:last-child { border-bottom: 0; }
.top-list img { float: left; width: 46px; height: 38px; margin-right: 10px; border-radius: 6px; object-fit: cover; }
.ad-row--lower, .ad-row--footer { margin-top: 22px; }

/* Páginas internas e conteúdo legado */
.internal-content { padding-block: 32px 56px; }
.internal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 22px; align-items: start; }
.internal-main { min-width: 0; padding: 30px; }
.internal-main h1, .internal-main h2, .internal-main h3 { color: var(--ink); line-height: 1.25; }
.internal-main #bloco-esq { width: auto !important; margin: 0 !important; float: none !important; }
.internal-main #bloco-esq > .tit-sem-barra { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.35rem; font-weight: 800; }
.internal-main #bloco-esq > .tit-sem-barra img { width: 28px; height: 28px; margin: 0 !important; object-fit: contain; }
.internal-main #agora-no-ar, .internal-main #peca-sua-musica, .internal-main .banner300x100 { display: none !important; }
.internal-main h1 { margin-top: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.internal-main h2 { font-size: 1.35rem; }
.internal-main p { color: #36445a; }
.internal-main table { display: block; width: 100% !important; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.internal-main th, .internal-main td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; }
.internal-main iframe { max-width: 100%; }
.internal-main .titulo, .internal-main .tit-pag, .internal-main .tit-interna, .internal-main .tit-noticia, .internal-main .titulo-pagina { margin-top: 0; color: var(--ink); font-size: 1.7rem; font-weight: 800; }
.internal-main .paginacao, .internal-main .paginacao a, .internal-main .pagination { display: flex; flex-wrap: wrap; gap: 7px; }
.internal-main .paginacao a, .internal-main .pagination a { padding: 6px 10px; border: 1px solid var(--line); border-radius: 7px; }
.internal-main .bt_enviar, .internal-main input[type="submit"], .internal-main button { min-height: 42px; padding: 9px 14px; border: 0; border-radius: 9px; background: var(--primary); color: #fff; font-weight: 750; cursor: pointer; }
.internal-main .noticias, .internal-main .noticia, .internal-main .item-noticia, .internal-main .equipe-item, .internal-main .item-equipe { padding: 17px 0; border-bottom: 1px solid var(--line); }
.internal-main .noticias img, .internal-main .noticia img, .internal-main .item-noticia img { float: left; width: 175px; max-height: 116px; margin: 0 18px 9px 0; border-radius: 10px; object-fit: cover; }
.internal-main .noticias::after, .internal-main .noticia::after, .internal-main .item-noticia::after { content: ""; display: block; clear: both; }
.internal-main .linha-video { display: grid; grid-template-columns: minmax(230px, 350px) minmax(0, 1fr); gap: 20px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.internal-main .linha-video .iframe-video { min-width: 0; }
.internal-main .linha-video .video-dados { min-width: 0; }
.internal-main .linha-video .data { color: var(--muted); font-size: .78rem; }
.internal-main .linha-video .tit { margin-top: 7px; color: var(--ink); font-weight: 800; }
.internal-main .linha-video .desc { margin-top: 7px; color: var(--muted); }
.internal-sidebar { display: grid; gap: 18px; }
.sidebar-live { padding: 25px; border-radius: var(--radius); background: linear-gradient(145deg, var(--primary), var(--primary-dark)); color: #fff; box-shadow: var(--shadow); }
.sidebar-live .eyebrow { color: rgba(255, 255, 255, .7); }
.sidebar-live strong { display: block; font-size: 1.3rem; line-height: 1.2; }
.sidebar-live p { margin: 7px 0 20px; color: rgba(255,255,255,.8); font-size: .88rem; }
.sidebar-ad { display: flex; justify-content: center; overflow: hidden; padding: 12px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.sidebar-ad img { max-width: 100%; }

/* Rodapé */
.site-footer { margin-top: auto; padding-top: 46px; border-top: 4px solid var(--accent); background: linear-gradient(135deg, var(--footer-bg), var(--primary-dark)); color: var(--footer-muted); transition: background .25s ease, border-color .25s ease, color .25s ease; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 50px; padding-bottom: 38px; }
.footer-brand img { max-width: 205px; max-height: 76px; object-fit: contain; object-position: left center; }
.footer-brand p { max-width: 34ch; margin: 15px 0 0; font-size: .88rem; }
.site-footer h2 { margin-bottom: 13px; color: #fff; font-size: 1rem; }
.site-footer p { margin: 0 0 13px; font-size: .86rem; }
.site-footer strong { color: #fff; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.footer-links a, .footer-bottom a { color: var(--footer-muted); font-size: .86rem; }
.footer-links a:hover, .footer-bottom a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; padding-block: 18px; border-top: 1px solid var(--footer-border); font-size: .76rem; }

/* WhatsApp */
.whatsapp-float { position: fixed; z-index: 90; right: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 9px; min-height: 52px; padding: 10px 16px 10px 11px; border: 2px solid rgba(255, 255, 255, .92); border-radius: 999px; background: #1fa855; color: #fff; box-shadow: 0 14px 28px rgba(12, 84, 42, .28); font-size: .9rem; font-weight: 800; line-height: 1; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.whatsapp-float:hover { color: #fff; background: #168342; transform: translateY(-3px); box-shadow: 0 18px 32px rgba(12, 84, 42, .34); }
.whatsapp-float:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.whatsapp-float__icon { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .18); font-size: 1.15rem; }

/* Player e Ao vivo */
.player-page, .live-page { display: grid; min-height: 100vh; place-items: center; padding: 24px; background: radial-gradient(circle at 20% 15%, var(--primary) 0, var(--primary-dark) 43%, #10172b 100%); }
.player-shell, .live-window { width: min(100%, 760px); overflow: hidden; border: 1px solid rgba(255,255,255,.17); border-radius: 22px; background: rgba(255,255,255,.98); box-shadow: 0 24px 70px rgba(4, 10, 28, .35); }
.player-shell { display: grid; grid-template-columns: 190px 1fr; }
.player-brand { display: grid; min-height: 240px; place-items: center; padding: 25px; background: var(--primary-soft); }
.player-brand img { max-height: 100px; object-fit: contain; }
.player-main { padding: 32px; }
.player-main h1, .live-window h1 { margin: 4px 0 18px; color: var(--ink); font-size: 1.5rem; line-height: 1.18; }
.native-player { display: block; width: 100%; margin-top: 13px; }
.player-links, .player-clipping { grid-column: 1 / -1; padding: 17px 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.player-links > span { display: block; margin-bottom: 7px; color: var(--ink); font-weight: 800; }
.player-links a { display: inline-block; margin: 3px 8px 3px 0; }
.player-clipping ul { margin: 0; padding-left: 18px; }
.live-window { text-align: center; }
.live-window__brand { display: grid; min-height: 118px; place-items: center; padding: 22px; background: var(--primary-soft); }
.live-window__brand img { max-height: 76px; object-fit: contain; }
.live-window__content { padding: 30px; }
.live-window__content p { margin: 0; color: var(--muted); }
.live-window__ad { display: flex; justify-content: center; padding: 14px; border-top: 1px solid var(--line); }
.live-window__ad img { max-width: 100%; }

/* Ajustes responsivos */
@media (max-width: 1050px) {
    .brand-row { gap: 18px; }
    .main-nav { justify-content: flex-start; overflow-x: auto; }
    .main-nav a { padding-inline: 11px; white-space: nowrap; }
    .hero-grid, .homepage-grid { grid-template-columns: minmax(0, 1.5fr) minmax(255px, .8fr); }
    .internal-layout { grid-template-columns: minmax(0, 1fr) 250px; }
}

@media (max-width: 800px) {
    .container { width: min(calc(100% - 30px), var(--container)); }
    .header-top__content { min-height: 40px; }
    .theme-picker span { display: none; }
    .brand-row { grid-template-columns: 1fr auto; min-height: 88px; }
    .brand img { max-width: 172px; max-height: 65px; }
    .header-ad { display: none; }
    .menu-toggle { display: grid; place-content: center; gap: 4px; width: 54px; min-height: 52px; margin-left: -8px; padding: 0; border: 0; background: transparent; color: #fff; cursor: pointer; }
    .menu-toggle__bar { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
    .menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .main-nav { display: none; position: absolute; z-index: 30; top: 52px; right: 0; left: 0; min-height: 0; max-height: calc(100vh - 90px); padding: 9px 15px 16px; overflow: auto; border-radius: 0 0 14px 14px; background: var(--primary-dark); box-shadow: 0 14px 24px rgba(11, 23, 53, .22); }
    .main-nav.is-open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .main-nav a { min-height: 44px; padding: 9px; border-bottom: 1px solid rgba(255,255,255,.1); }
    .hero-grid, .homepage-grid, .community-grid, .internal-layout { grid-template-columns: 1fr; }
    .hero-slider, .hero-slider > a { min-height: 280px; }
    .hero-slider img { height: 280px; }
    .live-card { min-height: 215px; }
    .sidebar-column { grid-template-columns: 1fr 1fr; }
    .request-card { grid-column: 1 / -1; }
    .internal-sidebar { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
    body { font-size: 15px; }
    .container { width: min(calc(100% - 24px), var(--container)); }
    .now-playing { max-width: 235px; }
    .separator { display: none; }
    .now-playing > :last-child:not(.status-dot) { display: none; }
    .brand-row { min-height: 76px; }
    .brand img { max-width: 145px; max-height: 53px; }
    .live-cta { min-width: auto; padding: 9px; }
    .live-cta small, .live-cta strong { display: none; }
    .live-cta__icon { width: 30px; height: 30px; }
    .home-content, .internal-content { padding-top: 18px; }
    .hero-slider, .hero-slider > a { min-height: 230px; }
    .hero-slider img { height: 230px; }
    .hero-slider > a::after { padding: 38px 16px 15px; font-size: .98rem; }
    .live-card, .section-card, .internal-main { padding: 20px; }
    .ad-row { min-height: 60px; margin-block: 17px; }
    .ad-row img { max-height: 75px; }
    .sidebar-column, .internal-sidebar { grid-template-columns: 1fr; }
    .section-heading { align-items: start; }
    .section-heading h2, .request-card h2 { font-size: 1.2rem; }
    .photo-feed { grid-template-columns: repeat(2, 1fr); }
    .internal-main .noticias img, .internal-main .noticia img, .internal-main .item-noticia img { width: 105px; max-height: 75px; margin-right: 12px; }
    .internal-main .linha-video { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: auto; }
    .footer-bottom { display: grid; }
    .player-shell { grid-template-columns: 1fr; }
    .player-brand { min-height: 126px; }
    .whatsapp-float { right: 16px; bottom: 16px; min-height: 48px; padding-right: 13px; }
    .whatsapp-float__label { font-size: .82rem; }
    .player-main, .live-window__content { padding: 24px; }
}


/* Ranking Top 10 */
.top10-page { max-width: 850px; }
.top10-page__header { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.top10-page__header h1 { margin: 0; color: var(--ink); font-size: clamp(1.75rem, 4vw, 2.35rem); line-height: 1.15; }
.top10-page__header p { max-width: 58ch; margin: 9px 0 0; color: var(--muted); }
.top10-list { display: grid; gap: 10px; }
.top10-item { display: grid; grid-template-columns: 48px 70px minmax(0, 1fr) minmax(215px, 290px); align-items: center; gap: 15px; min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(125deg, #fff, var(--primary-soft)); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.top10-item:hover { border-color: color-mix(in srgb, var(--primary) 32%, var(--line)); box-shadow: 0 10px 24px rgba(20, 37, 68, .09); transform: translateY(-1px); }
.top10-item__position { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: var(--primary); color: #fff; font-size: 1rem; font-weight: 850; line-height: 1; }
.top10-item__cover { display: block; width: 60px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--surface-alt); box-shadow: 0 3px 8px rgba(20, 37, 68, .12); }
.top10-item__details { min-width: 0; }
.top10-item__details h2 { margin: 0; overflow: hidden; color: var(--ink); font-size: 1rem; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.top10-item__details p { margin: 4px 0 0; overflow: hidden; color: var(--muted); font-size: .88rem; text-overflow: ellipsis; white-space: nowrap; }
.top10-item__audio { min-width: 0; }
.top10-item__audio audio { display: block; width: 100%; height: 34px; }
.top10-item__unavailable { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.3; }
.top10-empty { margin: 0; padding: 22px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); text-align: center; }

@media (max-width: 700px) {
    .top10-item { grid-template-columns: 42px 60px minmax(0, 1fr); gap: 12px; padding: 12px; }
    .top10-item__position { width: 36px; height: 36px; font-size: .9rem; }
    .top10-item__audio { grid-column: 2 / -1; }
}

@media (max-width: 420px) {
    .top10-page__header { margin-bottom: 18px; }
    .top10-item { grid-template-columns: 38px 54px minmax(0, 1fr); gap: 10px; padding: 10px; }
    .top10-item__position { width: 32px; height: 32px; font-size: .82rem; }
    .top10-item__cover { width: 54px; height: 40px; }
    .top10-item__details h2 { font-size: .92rem; }
    .top10-item__details p { font-size: .8rem; }
    .top10-item__audio { grid-column: 1 / -1; }
}


/* Redes sociais na barra superior */
.header-top__content .now-playing { min-width: 0; }
.social-links { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; margin-left: auto; }
.social-links__link { display: grid; width: 26px; height: 26px; place-items: center; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff !important; font-size: .75rem; font-weight: 850; line-height: 1; text-decoration: none; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.social-links__link:hover, .social-links__link:focus-visible { border-color: rgba(255, 255, 255, .75); color: #fff !important; transform: translateY(-2px); box-shadow: 0 5px 12px rgba(4, 15, 38, .24); }
.social-links__link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.social-links__link--facebook:hover, .social-links__link--facebook:focus-visible { background: #1877f2; }
.social-links__link--twitter:hover, .social-links__link--twitter:focus-visible { background: #111827; }
.social-links__link--youtube { background: #ff0033; border-color: rgba(255, 0, 51, .8); }.social-links__link--youtube:hover, .social-links__link--youtube:focus-visible { background: #cc0029; }
.social-links__link--instagram:hover, .social-links__link--instagram:focus-visible { background: linear-gradient(135deg, #f9ce34, #ee2a7b 48%, #6228d7); }
.social-links__link--whatsapp:hover, .social-links__link--whatsapp:focus-visible { background: #1fa855; }

@media (max-width: 520px) {
    .header-top__content { gap: 9px; }
    .header-top__content .now-playing { overflow: hidden; }
    .social-links { flex: 0 0 auto; gap: 4px; }
    .social-links__link { width: 23px; height: 23px; font-size: .68rem; }
}


/* Ícones vetoriais de redes sociais e botão WhatsApp */
.brand-icon { display: block; width: 1em; height: 1em; }
.social-links__icon { display: grid; width: 100%; height: 100%; place-items: center; }
.social-links__icon .brand-icon { width: 15px; height: 15px; }
.social-links__link--youtube .brand-icon { width: 18px; height: 18px; }
.social-links__link--instagram .brand-icon { width: 16px; height: 16px; }
.social-links__link--whatsapp .brand-icon { width: 17px; height: 17px; }

.whatsapp-float { right: 24px; bottom: 24px; display: grid; width: 60px; min-width: 60px; height: 60px; min-height: 60px; padding: 0; border: 0; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 25px rgba(20, 150, 78, .42); }
.whatsapp-float:hover { background: #20bd5a; color: #fff; transform: translateY(-3px) scale(1.03); box-shadow: 0 15px 30px rgba(20, 150, 78, .48); }
.whatsapp-float__icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 0; background: transparent; }
.whatsapp-float__icon .brand-icon { width: 34px; height: 34px; }
.whatsapp-float::after { position: absolute; right: calc(100% + 10px); padding: 7px 10px; border-radius: 7px; background: rgba(12, 25, 20, .9); color: #fff; content: "WhatsApp"; font-size: .75rem; font-weight: 750; line-height: 1; opacity: 0; pointer-events: none; transform: translateX(6px); transition: opacity .18s ease, transform .18s ease; }
.whatsapp-float:hover::after, .whatsapp-float:focus-visible::after { opacity: 1; transform: translateX(0); }

@media (max-width: 520px) {
    .whatsapp-float { right: 16px; bottom: 16px; width: 56px; min-width: 56px; height: 56px; min-height: 56px; padding: 0; }
    .whatsapp-float__icon, .whatsapp-float__icon .brand-icon { width: 31px; height: 31px; }
}


/* Cartão Siga nossa Rádio */
.follow-card { background: linear-gradient(145deg, #fff 0%, var(--primary-soft) 100%); }
.follow-card h2 { margin: 0; color: var(--ink); font-size: 1.3rem; line-height: 1.2; }
.follow-card > p { margin: 8px 0 0; color: var(--muted); font-size: .88rem; }
.follow-card__links .social-links { justify-content: flex-start; gap: 9px; margin: 18px 0 0; }
.follow-card__links .social-links__link { width: 40px; height: 40px; border: 0; color: #fff !important; box-shadow: 0 7px 14px rgba(20, 37, 68, .13); }
.follow-card__links .social-links__link:hover, .follow-card__links .social-links__link:focus-visible { border: 0; transform: translateY(-3px) scale(1.04); }
.follow-card__links .social-links__icon .brand-icon { width: 20px; height: 20px; }
.follow-card__links .social-links__link--youtube .brand-icon,
.follow-card__links .social-links__link--whatsapp .brand-icon { width: 23px; height: 23px; }
.follow-card__links .social-links__link--facebook { background: #1877f2; }
.follow-card__links .social-links__link--twitter { background: #111827; }
.follow-card__links .social-links__link--youtube { background: #ff0033; }
.follow-card__links .social-links__link--instagram { background: linear-gradient(135deg, #f9ce34, #ee2a7b 48%, #6228d7); }
.follow-card__links .social-links__link--whatsapp { background: #25d366; }

@media (max-width: 520px) {
    .follow-card__links .social-links__link { width: 38px; height: 38px; }
}


/* Contador de visitantes e links do rodapé */
.footer-links { grid-template-columns: 1fr; gap: 9px; }
.footer-bottom { align-items: center; }
.visitor-counter { display: inline-flex; align-items: center; gap: 11px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; }
.visitor-counter__item { display: inline-flex; align-items: center; gap: 7px; }
.visitor-counter__item > span:last-child { display: grid; gap: 1px; }
.visitor-counter__icon { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.14); color: var(--accent); font-size: .72rem; }
.visitor-counter__item--online .visitor-counter__icon { color: #73e5a2; }
.visitor-counter strong { color: #fff; font-size: .82rem; line-height: 1; }
.visitor-counter small { color: var(--footer-muted); font-size: .61rem; line-height: 1.15; text-transform: uppercase; letter-spacing: .045em; }
.visitor-counter__divider { width: 1px; height: 26px; background: rgba(255,255,255,.2); }

@media (max-width: 800px) {
    .footer-bottom { flex-wrap: wrap; justify-content: flex-start; }
    .visitor-counter { order: 3; }
}
@media (max-width: 520px) {
    .footer-bottom { gap: 13px; }
    .visitor-counter { width: 100%; justify-content: space-around; }
}


/* Aplicativos da rádio */
.apps-card { overflow: hidden; border: 0; background: linear-gradient(145deg, var(--primary-dark), var(--primary)); color: rgba(255,255,255,.82); box-shadow: var(--shadow); }
.apps-card .eyebrow { color: rgba(255,255,255,.68); }
.apps-card h2 { margin: 5px 0 7px; color: #fff; font-size: 1.36rem; }
.apps-card > p { margin: 0; font-size: .82rem; line-height: 1.5; }
.apps-card__links { display: grid; gap: 9px; margin-top: 17px; }
.apps-card__link { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 9px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; background: rgba(255,255,255,.1); color: #fff !important; text-decoration: none; transition: background .18s ease, transform .18s ease, border-color .18s ease; }
.apps-card__link:hover { border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.18); color: #fff !important; transform: translateY(-2px); }
.apps-card__icon { display: grid; flex: 0 0 auto; width: 34px; height: 34px; place-items: center; border-radius: 9px; background: rgba(255,255,255,.16); }
.apps-card__icon svg { width: 23px; height: 23px; }
.apps-card__link--google-play .apps-card__icon { background: #fff; }
.apps-card__link--app-store .apps-card__icon { background: #fff; color: #171d2c; }
.apps-card__label { display: grid; min-width: 0; gap: 1px; }
.apps-card__label small { color: rgba(255,255,255,.72); font-size: .62rem; line-height: 1.1; }
.apps-card__label strong { color: #fff; font-size: 1rem; line-height: 1.1; }
.apps-card__arrow { margin-left: auto; color: rgba(255,255,255,.7); font-size: .95rem; }

@media (max-width: 800px) {
    .apps-card { grid-column: auto; }
}


/* Botão flutuante do WhatsApp: círculo compacto */
.whatsapp-float { right: 24px; bottom: 24px; display: grid; width: 60px; min-width: 60px; height: 60px; min-height: 60px; padding: 0; place-items: center; border: 0; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 24px rgba(10, 142, 67, .34); }
.whatsapp-float:hover { background: #25d366; color: #fff; transform: translateY(-2px) scale(1.035); box-shadow: 0 14px 30px rgba(10, 142, 67, .42); }
.whatsapp-float__icon { display: grid; width: 32px; height: 32px; place-items: center; background: transparent; }
.whatsapp-float__brand { display: block; width: 32px; height: 32px; color: #fff; }
.whatsapp-float::after { display: none; }

@media (max-width: 520px) {
    .whatsapp-float { right: 16px; bottom: 16px; width: 58px; min-width: 58px; height: 58px; min-height: 58px; }
    .whatsapp-float__icon, .whatsapp-float__brand { width: 31px; height: 31px; }
}


/* Top 10 da página inicial: sem player Flash legado */
.top-list .top10-home-item { display: grid; grid-template-columns: 28px 50px minmax(0, 1fr); align-items: center; gap: 11px; min-height: 66px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.top-list .top10-home-item:last-child { border-bottom: 0; }
.top10-home-item__position { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 850; }
.top10-home-item__cover { display: block; width: 50px; height: 50px; border-radius: 8px; object-fit: cover; background: #edf1f6; box-shadow: 0 2px 7px rgba(24, 52, 90, .12); transition: transform .18s ease, box-shadow .18s ease; }
.top10-home-item__title { min-width: 0; margin: 0; color: #536177; font-size: 12px; line-height: 1.4; }
.top10-home-item__title strong, .top10-home-item__title span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top10-home-item__title strong { color: var(--ink); font-size: 13px; font-weight: 780; }
.top10-home-item__title span { color: var(--muted); }
.top-list .top10-home-item:hover .top10-home-item__cover { transform: translateY(-1px); box-shadow: 0 5px 12px rgba(24, 52, 90, .18); }


/* Hero principal: impede estiramento do cartão de programação */
@media (min-width: 801px) {
    .hero-grid { align-items: start; }
    .hero-slider { height: 328px; min-height: 0; }
    .hero-slider > a { height: 328px; min-height: 0; }
    .hero-slider img { height: 328px; }
    .live-card { height: 328px; min-height: 0; }
}


/* Faixa inferior de publicidade: não reserva espaço sem anúncios ativos */
.ad-row--footer:empty { display: none; }


/* Página comercial Anuncie Aqui */
.advertise-page { display: grid; gap: 22px; }
.advertise-page__hero { padding: clamp(26px, 5vw, 48px); border-radius: 16px; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; overflow: hidden; }
.advertise-page__hero .eyebrow { color: rgba(255, 255, 255, .72); }
.advertise-page__hero h1 { margin: 0; color: #fff; font-size: clamp(2rem, 4vw, 3.05rem); line-height: 1.05; }
.advertise-page__hero p { max-width: 52ch; margin: 13px 0 0; color: rgba(255, 255, 255, .84); font-size: 1.02rem; }
.advertise-page__body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(245px, .8fr); gap: 22px; align-items: start; }
.advertise-page__content { padding: 4px 3px; color: #36445a; font-size: 1rem; line-height: 1.75; }
.advertise-page__content > :first-child { margin-top: 0; }
.advertise-page__content h2, .advertise-page__content h3 { color: var(--ink); }
.advertise-page__contact { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg, #fff, var(--primary-soft)); }
.advertise-page__contact h2 { margin: 0; color: var(--ink); font-size: 1.25rem; }
.advertise-page__contact > p { margin: 7px 0 17px; color: var(--muted); font-size: .9rem; }
.advertise-contact-list { display: grid; gap: 10px; }
.advertise-contact { display: grid; gap: 2px; padding: 13px 14px; border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--line)); border-radius: 10px; background: #fff; color: var(--ink); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.advertise-contact:hover { color: var(--primary-dark); border-color: var(--primary); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(18, 54, 122, .12); }
.advertise-contact__label { color: var(--primary); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.advertise-contact strong { overflow-wrap: anywhere; font-size: .93rem; }
@media (max-width: 700px) { .advertise-page__body { grid-template-columns: 1fr; } .advertise-page__hero { padding: 26px 22px; } }


/* Menu público: mantém rótulos curtos alinhados em desktop */
@media (min-width: 1101px) {
    .main-nav { justify-content: center; }
    .main-nav a { flex: 0 0 auto; padding-inline: 10px; white-space: nowrap; font-size: .84rem; }
}


/* Banner lateral 300x250 */
.banner-side-card { padding-bottom: 20px; }
.banner-side-card .section-heading { margin-bottom: 16px; }
.banner-side-slot { display: flex; justify-content: center; align-items: center; min-height: 120px; padding: 4px; overflow: hidden; border-radius: 10px; background: color-mix(in srgb, var(--primary-soft) 42%, #fff); }
.banner-side-slot > a { display: block; max-width: 100%; }
.banner-side-slot img { display: block; width: min(100%, 300px); height: auto; max-height: 250px; object-fit: contain; border-radius: 6px; }
.banner-side-slot:empty { display: none; }
.banner-side-card:has(.banner-side-slot:empty) { display: none; }

@media (max-width: 760px) {
    .banner-side-slot img { width: min(100%, 300px); }
}


/* Programação pública moderna */
.schedule-public-page { align-items: start; }
.schedule-public-page .internal-page__main { min-width: 0; }
.schedule-public__hero { margin-bottom: 18px; padding: 24px 26px; border: 1px solid rgba(24, 65, 130, .12); border-radius: 18px; background: linear-gradient(135deg, rgba(37, 99, 235, .1), rgba(255, 255, 255, .9)); }
.schedule-public__eyebrow { display: block; margin-bottom: 6px; color: var(--primary); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.schedule-public__hero h1 { margin: 0; color: var(--ink); font-size: clamp(26px, 4vw, 38px); line-height: 1.1; }
.schedule-public__hero p { max-width: 650px; margin: 10px 0 16px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.schedule-public__hero-meta { display: inline-flex; align-items: center; gap: 9px; padding: 8px 11px; border-radius: 999px; background: rgba(255, 255, 255, .8); color: var(--muted); font-size: 11px; }
.schedule-public__hero-meta strong { color: var(--primary); font-size: 18px; line-height: 1; }
.schedule-public__week { display: grid; gap: 14px; }
.schedule-public__day { overflow: hidden; border: 1px solid rgba(24, 65, 130, .1); border-radius: 15px; background: #fff; box-shadow: 0 10px 24px rgba(15, 46, 90, .055); }
.schedule-public__day-head { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 10px 15px; border-bottom: 1px solid rgba(24, 65, 130, .08); background: linear-gradient(90deg, rgba(37, 99, 235, .07), rgba(255, 255, 255, .9)); }
.schedule-public__day-marker { width: 7px; height: 26px; border-radius: 99px; background: var(--primary); }
.schedule-public__day-head h2 { margin: 0; color: var(--ink); font-size: 16px; }
.schedule-public__day-count { margin-left: auto; padding: 5px 8px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 10px; font-weight: 800; }
.schedule-public__items { display: grid; }
.schedule-public__item { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 16px; border-bottom: 1px solid #edf1f6; }
.schedule-public__item:last-child { border-bottom: 0; }
.schedule-public__time { display: grid; align-content: center; gap: 2px; min-height: 66px; padding-right: 16px; border-right: 1px solid #e3eaf3; color: #61748e; }
.schedule-public__time strong { color: var(--primary); font-size: 22px; line-height: 1; }
.schedule-public__time span { font-size: 12px; font-weight: 700; }
.schedule-public__item-content { display: flex; align-items: center; gap: 12px; min-width: 0; }
.schedule-public__item-content img, .schedule-public__item-icon { flex: 0 0 auto; width: 66px; height: 55px; border-radius: 10px; object-fit: cover; }
.schedule-public__item-icon { display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-size: 18px; }
.schedule-public__item-content h3 { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.25; }
.schedule-public__genre { display: inline-flex; margin-top: 5px; padding: 4px 7px; border-radius: 999px; background: #f0f5fb; color: #60748f; font-size: 10px; font-weight: 750; }
.schedule-public__item-content p { max-width: 600px; margin: 6px 0 0; color: #667891; font-size: 12px; line-height: 1.45; }
.schedule-public__empty { display: flex; align-items: center; gap: 8px; padding: 15px 16px; color: #8190a4; font-size: 12px; }
.schedule-public__empty span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 7px; background: #f1f4f8; color: #8a9ab0; font-weight: 850; }
.schedule-public__empty p { margin: 0; }
@media (max-width: 700px) {
    .schedule-public__hero { padding: 19px; border-radius: 14px; }
    .schedule-public__item { grid-template-columns: 82px minmax(0, 1fr); gap: 10px; padding: 13px; }
    .schedule-public__time { padding-right: 10px; }
    .schedule-public__time strong { font-size: 18px; }
    .schedule-public__item-content img, .schedule-public__item-icon { width: 54px; height: 48px; }
    .schedule-public__item-content h3 { font-size: 14px; }
}
@media (max-width: 430px) {
    .schedule-public__day-head { padding: 9px 11px; }
    .schedule-public__day-head h2 { font-size: 14px; }
    .schedule-public__day-count { font-size: 9px; }
    .schedule-public__item { grid-template-columns: 1fr; gap: 9px; }
    .schedule-public__time { display: flex; align-items: baseline; gap: 5px; min-height: auto; padding: 0 0 7px; border-right: 0; border-bottom: 1px solid #e3eaf3; }
    .schedule-public__time strong { font-size: 20px; }
}


/* Inscrição pública da Newsletter */
.newsletter-card { background: linear-gradient(145deg, var(--surface), var(--primary-soft)); }
.newsletter-card h2 { margin: 0; color: var(--ink); font-size: 1.35rem; line-height: 1.2; }
.newsletter-card > p { margin: 8px 0 19px; color: var(--muted); font-size: .9rem; }
.newsletter-form { display: grid; gap: 12px; }
.newsletter-form label { display: grid; gap: 5px; color: var(--ink); font-size: .78rem; font-weight: 750; }
.newsletter-form input { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid #c9d4e4; border-radius: 9px; outline: 0; background: #fff; color: var(--ink); }
.newsletter-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.newsletter-form .button { width: 100%; margin-top: 4px; }
.newsletter-form__trap { position: absolute !important; left: -10000px; width: 1px !important; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.newsletter-card__privacy { display: block; margin-top: 13px; color: var(--muted); font-size: .7rem; line-height: 1.45; }


/* Google AdSense */
.adsense-slot { width: 100%; margin: 0 0 22px; padding: 10px; border: 1px solid color-mix(in srgb, var(--primary) 18%, #dbe6f4); border-radius: 14px; background: rgba(255,255,255,.78); overflow: hidden; text-align: center; }
.adsense-slot ins, .adsense-slot iframe { max-width: 100%; }
.adsense-slot--home-sidebar { margin-top: 0; }
.adsense-slot--home-footer { margin-top: 18px; }
.adsense-slot:empty { display: none; }
@media (max-width: 760px) { .adsense-slot { margin-bottom: 16px; padding: 7px; border-radius: 11px; } }
