/*
Theme Name: Nativa TV Studio
Theme URI: https://nativatv.com.br
Author: Maria Derzi
Author URI: https://nativatv.com.br
Description: Tema oficial da Nativa TV para WebTV, notícias, vídeos, podcasts e programação.
Version: 4.1.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.1
License: GNU General Public License v2 or later
Text Domain: nativatv-studio
Tags: news, entertainment, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ==========================================================
   1. VARIÁVEIS DO TEMA CLARO
   ========================================================== */
:root {
    --bg: #f5f7fa;
    --card: #ffffff;
    --text: #171a1f;
    --muted: #68717d;
    --border: #dfe4ea;
    --red: #e51e2a;
    --green: #0aa84f;
    --header-bg: #ffffff;
    --header-text: #20242a;
    --header-border: #e5e7eb;
    --header-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    --control-bg: #eef1f4;
    --control-text: #20242a;
    --radius: 18px;
    --shadow: 0 12px 35px rgba(10, 18, 30, 0.08);
    --max: 1280px;
}

/* ==========================================================
   2. BASE
   ========================================================== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

.ntv-container {
    width: min(calc(100% - 32px), var(--max));
    margin-inline: auto;
}

/* ==========================================================
   3. CABEÇALHO — BRANCO NO TEMA CLARO
   ========================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--header-bg);
    color: var(--header-text);
    border-bottom: 1px solid var(--header-border);
    box-shadow: var(--header-shadow);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.admin-bar .site-header {
    top: 32px;
}

.ntv-header-inner {
    display: flex;
    align-items: center;
    gap: 26px;
    min-height: 96px;
}

.site-branding {
    margin-right: auto;
}

.custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.custom-logo {
    width: auto;
    max-height: 82px;
}

.ntv-site-name {
    color: var(--header-text);
    font-size: 1.3rem;
    font-weight: 800;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation a {
    color: var(--header-text);
    font-weight: 750;
    transition: color 0.2s ease;
}

.main-navigation a:hover,
.main-navigation a:focus-visible {
    color: var(--green);
}

.ntv-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ntv-theme-toggle,
.ntv-menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--header-border);
    border-radius: 999px;
    background: var(--control-bg);
    color: var(--control-text);
    cursor: pointer;
    font-size: 1.15rem;
}

.ntv-menu-toggle {
    display: none;
}

.ntv-live-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 20px;
    border-radius: 999px;
    background: var(--red);
    color: #ffffff;
    font-weight: 850;
}

.ntv-live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ffffff;
}

/* ==========================================================
   4. ESTRUTURA PRINCIPAL
   ========================================================== */
.site-main {
    padding: 38px 0 64px;
}

.ntv-broadcast-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.72fr) minmax(280px, 0.83fr);
    gap: 20px;
}

.ntv-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow);
}

/* ==========================================================
   5. PLAYER E PAINEL BROADCAST
   ========================================================== */
.ntv-player-card {
    display: flex;
    flex-direction: column;
    min-height: 520px;
    background: #07090b;
}

.ntv-player-frame {
    flex: 1;
    min-height: 340px;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.ntv-player-frame iframe,
.ntv-player-frame video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.ntv-player-empty {
    display: grid;
    place-items: center;
    min-height: 340px;
    height: 100%;
    padding: 30px;
    color: #aab2bd;
    text-align: center;
}

.ntv-player-caption {
    padding: 20px 22px 24px;
    background: #11151a;
    color: #ffffff;
}

.ntv-player-caption h1 {
    margin: 8px 0 4px;
    font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.ntv-eyebrow {
    display: inline-flex;
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ntv-clock-column {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

.ntv-clock-card,
.ntv-info-card {
    padding: 24px;
    background: #11151a;
    color: #ffffff;
}

.ntv-location,
.ntv-date {
    color: #b8c3cf;
}

.ntv-clock {
    margin: 14px 0;
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: 900;
    line-height: 1;
}

/* ==========================================================
   6. ÚLTIMAS NOTÍCIAS E TICKER
   ========================================================== */
.ntv-news-rail {
    display: flex;
    flex-direction: column;
    padding: 22px;
}

.ntv-news-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ntv-news-list li {
    padding: 14px 0;
    border-top: 1px solid var(--border);
}

.ntv-news-list li:first-child {
    padding-top: 0;
    border-top: 0;
}

.ntv-news-list a {
    display: block;
    font-weight: 800;
    line-height: 1.28;
}

.ntv-news-list time,
.ntv-meta {
    color: var(--muted);
    font-size: 0.8rem;
}

.ntv-more-link {
    margin-top: auto;
    padding-top: 16px;
    color: var(--green);
    font-weight: 850;
}

.ntv-ticker {
    display: flex;
    overflow: hidden;
    min-height: 48px;
    margin-top: 20px;
    border: 1px solid rgba(10, 168, 79, 0.38);
    border-radius: 14px;
    background: rgba(10, 168, 79, 0.18);
}

.ntv-ticker-label {
    display: flex;
    align-items: center;
    padding: 13px 18px;
    background: var(--green);
    color: #ffffff;
    font-weight: 900;
}

.ntv-ticker-window {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.ntv-ticker-track {
    display: inline-block;
    padding-left: 100%;
    font-weight: 750;
    animation: ntvTicker 42s linear infinite;
}

@keyframes ntvTicker {
    to {
        transform: translateX(-100%);
    }
}

/* ==========================================================
   7. SEÇÕES, CARDS E CONTEÚDO
   ========================================================== */
.ntv-section {
    margin-top: 42px;
}

.ntv-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 18px;
}

.ntv-section-heading h2 {
    margin: 0;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.ntv-post-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.ntv-post-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card);
    box-shadow: var(--shadow);
}

.ntv-post-thumb {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #dfe5eb;
}

.ntv-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ntv-post-body {
    padding: 17px;
}

.ntv-post-body h3 {
    margin: 8px 0 7px;
    font-size: 1.05rem;
    line-height: 1.3;
}

.ntv-content-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.ntv-feature-box {
    min-height: 210px;
    padding: 24px;
}

.ntv-ad-slot {
    display: grid;
    place-items: center;
    min-height: 140px;
    padding: 24px;
    border: 2px dashed #cbd3dc;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.5);
    color: var(--muted);
    text-align: center;
}

.entry-shell {
    padding: clamp(22px, 4vw, 48px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow);
}

/* ==========================================================
   8. RODAPÉ
   ========================================================== */
.site-footer {
    padding: 54px 0 22px;
    background: #080b0e;
    color: #ffffff;
}

.ntv-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 42px;
}

.ntv-footer-text {
    color: #b6c0ca;
}

.ntv-footer-menu {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ntv-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ntv-socials a {
    padding: 9px 13px;
    border-radius: 999px;
    background: #181d22;
}

.ntv-copyright {
    margin-top: 38px;
    padding-top: 20px;
    border-top: 1px solid #1c232a;
    color: #8f9aa5;
}

/* ==========================================================
   9. TEMA ESCURO — AUTOMÁTICO À NOITE OU PELO BOTÃO
   ========================================================== */
body.ntv-dark {
    --bg: #080b0e;
    --card: #11151a;
    --text: #f1f4f7;
    --muted: #aeb8c3;
    --border: #252c33;
    --header-bg: #111315;
    --header-text: #ffffff;
    --header-border: #252c33;
    --header-shadow: 0 3px 15px rgba(0, 0, 0, 0.28);
    --control-bg: #20252b;
    --control-text: #ffffff;
    --shadow: 0 12px 35px rgba(0, 0, 0, 0.24);
}

body.ntv-dark .ntv-ad-slot {
    background: rgba(255, 255, 255, 0.03);
}

/* ==========================================================
   10. RESPONSIVIDADE
   ========================================================== */
@media (max-width: 1100px) {
    .ntv-broadcast-grid {
        grid-template-columns: 1.45fr 0.75fr;
    }

    .ntv-news-rail {
        grid-column: 1 / -1;
    }

    .ntv-post-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-navigation {
        display: none;
    }

    .ntv-menu-toggle {
        display: inline-grid;
    }

    .site-header.ntv-menu-open .main-navigation {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: block;
        padding: 20px;
        border-top: 1px solid var(--header-border);
        background: var(--header-bg);
        box-shadow: var(--header-shadow);
    }

    .site-header.ntv-menu-open .main-navigation ul {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 720px) {
    .admin-bar .site-header {
        top: 46px;
    }

    .ntv-container {
        width: min(calc(100% - 20px), var(--max));
    }

    .ntv-header-inner {
        min-height: 80px;
        gap: 10px;
    }

    .custom-logo {
        max-height: 62px;
    }

    .ntv-live-button {
        padding: 11px 14px;
        font-size: 0.82rem;
    }

    .ntv-broadcast-grid,
    .ntv-post-grid,
    .ntv-content-grid,
    .ntv-footer-grid {
        grid-template-columns: 1fr;
    }

    .ntv-clock-column {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .ntv-player-card {
        min-height: 0;
    }

    .ntv-player-frame {
        min-height: 230px;
    }
}

.ntv-single-featured{margin:24px 0;border-radius:14px;overflow:hidden}.ntv-entry-content{font-size:1.05rem}.ntv-entry-content p{margin:0 0 1.35em}


/* ==========================================================
   11. HOME EDITÁVEL E CARDS DE NOTÍCIAS — VERSÃO 4.0.3
   ========================================================== */
.ntv-home-editor-content {
    margin-top: 32px;
}

.ntv-home-editor-content:empty {
    display: none;
}

.ntv-news-rail > h2 {
    margin: 0 0 16px;
    font-size: 1.35rem;
}

.ntv-news-list {
    display: grid;
    gap: 0;
}

.ntv-rail-item {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 13px;
    padding: 15px 0;
    border-top: 1px solid var(--border);
}

.ntv-rail-item:first-child {
    padding-top: 0;
    border-top: 0;
}

.ntv-rail-thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    border-radius: 10px;
    background: #dfe5eb;
}

.ntv-rail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ntv-rail-item:hover .ntv-rail-thumb img,
.ntv-post-card:hover .ntv-post-thumb img {
    transform: scale(1.04);
}

.ntv-rail-content {
    min-width: 0;
}

.ntv-rail-content .ntv-eyebrow {
    margin-bottom: 3px;
    font-size: 0.68rem;
}

.ntv-rail-content h3 {
    margin: 0 0 5px;
    font-size: 0.94rem;
    line-height: 1.25;
}

.ntv-rail-content h3 a:hover,
.ntv-post-body h3 a:hover {
    color: var(--green);
}

.ntv-rail-content time {
    display: block;
    color: var(--muted);
    font-size: 0.72rem;
}

.ntv-rail-content p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.35;
}

.ntv-thumb-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 8px;
    background: linear-gradient(135deg, #141a20, #303943);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-align: center;
}

.ntv-thumb-placeholder--large {
    font-size: 1rem;
}

.ntv-post-card {
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ntv-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(10, 18, 30, 0.14);
}

.ntv-post-body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.ntv-post-excerpt {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.ntv-card-link {
    margin-top: auto;
    padding-top: 15px;
    color: var(--green);
    font-weight: 850;
}

.ntv-empty-message {
    margin: 0;
    color: var(--muted);
}

.ntv-ticker-track {
    padding-block: 12px;
    animation-duration: 78s;
}

.ntv-ticker:hover .ntv-ticker-track {
    animation-play-state: paused;
}

.ntv-shortcode-grid {
    margin-block: 20px;
}

body.ntv-dark .ntv-post-card:hover {
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
}

@media (max-width: 1100px) {
    .ntv-news-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 22px;
    }

    .ntv-rail-item:nth-child(2) {
        padding-top: 0;
        border-top: 0;
    }
}

@media (max-width: 720px) {
    .ntv-news-list {
        grid-template-columns: 1fr;
    }

    .ntv-rail-item:nth-child(2) {
        padding-top: 15px;
        border-top: 1px solid var(--border);
    }

    .ntv-rail-item {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .ntv-rail-content p {
        display: none;
    }
}

/* ==========================================================
   NATIVA TV STUDIO — HOME 4.1.1
   Ticker + Ao Vivo 65% + Broadcast 35%
   ========================================================== */

/* TICKER DA HOME */
.ntv-ticker {
    width: 100%;
    display: flex;
    align-items: center;
    min-height: 52px;
    margin: 0 0 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 180, 80, 0.45);
    border-radius: 12px;
    background: rgba(0, 80, 38, 0.30);
}

.ntv-ticker-label {
    flex: 0 0 auto;
    align-self: stretch;
    display: flex;
    align-items: center;
    padding: 0 22px;
    background: #00a94f;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .03em;
}

.ntv-ticker-window {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
}

.ntv-ticker-track {
    display: inline-block;
    min-width: 100%;
    padding-left: 35px;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

/* ==========================================================
   PAINEL PRINCIPAL DA HOME
   ========================================================== */

.ntv-broadcast-grid--home {
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(300px, 1fr);
    gap: 18px;
    width: 100%;
    align-items: stretch;
}

/* TRANSMISSÃO AO VIVO — DESTAQUE PRINCIPAL */
.ntv-broadcast-grid--home .ntv-player-card {
    width: 100%;
    min-width: 0;
}

/* BROADCAST */
.ntv-broadcast-grid--home .ntv-clock-column {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Mantém os cards das duas colunas alinhados */
.ntv-broadcast-grid--home .ntv-card {
    box-sizing: border-box;
}

/* ==========================================================
   ÁREA LIVRE DO ELEMENTOR
   ========================================================== */

.ntv-home-editor-content {
    width: 100%;
    margin-top: 26px;
}

/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1024px) {

    .ntv-broadcast-grid--home {
        grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr);
        gap: 16px;
    }

}

/* ==========================================================
   CELULAR
   ========================================================== */

@media (max-width: 768px) {

    .ntv-ticker {
        min-height: 46px;
        border-radius: 9px;
    }

    .ntv-ticker-label {
        padding: 0 14px;
        font-size: 12px;
    }

    .ntv-ticker-track {
        padding-left: 18px;
        font-size: 12px;
    }

    .ntv-broadcast-grid--home {
        grid-template-columns: 1fr;
    }

    .ntv-broadcast-grid--home .ntv-player-card {
        order: 1;
    }

    .ntv-broadcast-grid--home .ntv-clock-column {
        order: 2;
    }

}
/* ==========================================================
   NATIVA TV HOME — PAINEL 60 / 40
   ========================================================== */

.ntv-broadcast-grid--home{
    display:grid;
    grid-template-columns:minmax(0,3fr) minmax(0,2fr);
    gap:14px;
    align-items:start;
}

/* AO VIVO */
.ntv-broadcast-grid--home .ntv-player-card{
    position:relative;
    min-width:0;
    padding:46px 10px 10px;
    background:#0c1115;
    border:1px solid rgba(255,255,255,.12);
    border-radius:12px;
    overflow:hidden;
}

.ntv-broadcast-grid--home .ntv-player-card::before{
    content:"● AO VIVO   Transmissão ao vivo";
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:46px;
    display:flex;
    align-items:center;
    padding:0 14px;
    color:#fff;
    font-size:16px;
    font-weight:800;
}

.ntv-broadcast-grid--home .ntv-player-caption{
    display:none;
}

.ntv-broadcast-grid--home .ntv-player-frame{
    width:100%;
    aspect-ratio:16/9;
    overflow:hidden;
    border-radius:7px;
}

/* BROADCAST CENTER */
.ntv-home-broadcast{
    position:relative;
    min-width:0;
    padding:46px 10px 10px;
    background:#0c1115;
    border:1px solid rgba(255,255,255,.12);
    border-radius:12px;
    overflow:hidden;
}

.ntv-home-broadcast::before{
    content:"Broadcast Center";
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:46px;
    display:flex;
    align-items:center;
    padding:0 14px;
    color:#fff;
    font-size:16px;
    font-weight:800;
}

/* FORÇA O BROADCAST A SER HORIZONTAL */
.ntv-home-broadcast .ntv-broadcast-widget{
    width:100%;
    height:auto;
    aspect-ratio:16/9;
    min-height:0;
    border-radius:7px;
}

/* Vídeo sempre preenche o painel */
.ntv-home-broadcast .ntv-broadcast-video{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* TABLET */
@media(max-width:900px){
    .ntv-broadcast-grid--home{
        grid-template-columns:1fr;
    }

    .ntv-home-broadcast{
        width:100%;
    }
}

/* ==========================================================
   NATIVA TV — MAIS ESPAÇO PARA O BROADCAST CENTER
   ========================================================== */

.ntv-broadcast-grid--home{
    grid-template-columns:minmax(0, 1.25fr) minmax(0, 1fr) !important;
    gap:14px !important;
}

.ntv-home-broadcast{
    width:100% !important;
    min-width:0 !important;
}

.ntv-home-broadcast .ntv-broadcast-widget{
    width:100% !important;
    max-width:none !important;
}

.ntv-broadcast-widget--home .ntv-broadcast-clock{
    font-size:clamp(38px, 4vw, 64px) !important;
    white-space:nowrap !important;
    letter-spacing:-2px;
}
/* ==========================================================
   NATIVA TV — ALTURA DO BROADCAST CENTER
   ========================================================== */

.ntv-home-broadcast .ntv-broadcast-widget--home{
    aspect-ratio:auto !important;
    height:390px !important;
    min-height:390px !important;
}

.ntv-broadcast-widget--home .ntv-broadcast-home-panel{
    top:18% !important;
    bottom:16% !important;
}
/* ==========================================================
   NATIVA TV — HOME FAIXA PRINCIPAL DEFINITIVA
   AO VIVO 16:9 + BROADCAST RETANGULAR
   ========================================================== */

/* Aproveita praticamente toda a largura disponível */
.ntv-container{
    width:min(96%, 1600px) !important;
    max-width:1600px !important;
}

/* AO VIVO maior / Broadcast menor */
.ntv-broadcast-grid--home{
    display:grid !important;
    grid-template-columns:minmax(0, 1.65fr) minmax(0, 1fr) !important;
    gap:14px !important;
    align-items:start !important;
}

/* PLAYER AO VIVO */
.ntv-broadcast-grid--home .ntv-player-card{
    width:100% !important;
    min-width:0 !important;
}

.ntv-broadcast-grid--home .ntv-player-frame{
    width:100% !important;
    aspect-ratio:16 / 9 !important;
    height:auto !important;
    overflow:hidden !important;
}

/* BROADCAST */
.ntv-home-broadcast{
    width:100% !important;
    min-width:0 !important;
}

.ntv-home-broadcast .ntv-broadcast-widget--home{
    width:100% !important;
    max-width:none !important;

    /* retangular, mas um pouco menos largo que 16:9 */
    aspect-ratio:1.55 / 1 !important;

    height:auto !important;
    min-height:0 !important;
}

/* Relógio adapta-se ao painel */
.ntv-broadcast-widget--home .ntv-broadcast-clock{
    font-size:clamp(38px, 4vw, 68px) !important;
    white-space:nowrap !important;
    letter-spacing:-2px !important;
}

/* Tablet/celular */
@media(max-width:900px){

    .ntv-container{
        width:94% !important;
    }

    .ntv-broadcast-grid--home{
        grid-template-columns:1fr !important;
    }

    .ntv-home-broadcast .ntv-broadcast-widget--home{
        aspect-ratio:16 / 9 !important;
    }
}
/* ==========================================================
   NATIVA TV — AMPLIAÇÃO FINAL DA FAIXA PRINCIPAL
   ========================================================== */

/* Usa praticamente toda a largura da tela */
.ntv-container{
    width:calc(100% - 32px) !important;
    max-width:1800px !important;
    margin-left:auto !important;
    margin-right:auto !important;
}

/* Player grande + Broadcast proporcional */
.ntv-broadcast-grid--home{
    width:100% !important;
    grid-template-columns:minmax(0, 1.75fr) minmax(420px, 1fr) !important;
    gap:16px !important;
}

/* AO VIVO permanece 16:9 */
.ntv-broadcast-grid--home .ntv-player-frame{
    width:100% !important;
    aspect-ratio:16/9 !important;
    height:auto !important;
}

/* Broadcast ocupa toda a coluna direita */
.ntv-home-broadcast{
    width:100% !important;
}

.ntv-home-broadcast .ntv-broadcast-widget--home{
    width:100% !important;
    max-width:none !important;
    aspect-ratio:1.60/1 !important;
    height:auto !important;
}

/* Em telas menores */
@media(max-width:1000px){
    .ntv-container{
        width:94% !important;
    }

    .ntv-broadcast-grid--home{
        grid-template-columns:1fr !important;
    }

    .ntv-home-broadcast .ntv-broadcast-widget--home{
        aspect-ratio:16/9 !important;
    }
}