/* ================= TV PLAYER ================= */

.tv-section{
padding:40px 0;
display:flex;
justify-content:center;
}

.container{
width:100%;
max-width:1200px;
margin:auto;
padding:0 16px;
}

/* ================= GRID DESKTOP ================= */

.tv-grid-desktop{
display:flex;
gap:24px;
align-items:flex-start;
}

/* PLAYER CARD */

.tv-player-card{
flex:1;
background:#fff;
border-radius:14px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,0.15);
border:1px solid #e5e7eb;
}

/* PLAYER */

.tv-player-wrapper{
position:relative;
width:100%;
padding-bottom: 60.25%; /* 16:9 */
height:0;
overflow:hidden;
}

.tv-player-iframe{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
}

/* ================= BANNERS LATERAIS ================= */

.tv-side-banners{
display:flex;
flex-direction:column;
gap:20px;
width:320px;
}

/* ================= BANNERS ABAIXO ================= */

.tv-bottom-banners{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
margin-top:20px;
}

/* ================= AD BOX ================= */

.tv-ad-box{
height:120px;
background:#fff;
border-radius:10px;
box-shadow:0 6px 15px rgba(0,0,0,0.1);
display:flex;
align-items:center;
justify-content:center;
transition:.3s;
overflow:hidden;
}

.tv-ad-box:hover{
transform:translateY(-3px);
box-shadow:0 10px 20px rgba(0,0,0,0.15);
}

.tv-ad-box img{
width:100%;
height:100%;
object-fit:contain;
display:block;
}

/* ================= MOBILE LAYOUT ================= */

.tv-mobile{
display:none;
}

/* ================= RESPONSIVO ================= */

@media(max-width:900px){

/* ESCONDE COMPLETAMENTE O LAYOUT DESKTOP */

.tv-grid-desktop{
display:none !important;
}

.tv-side-banners{
display:none !important;
}

.tv-bottom-banners{
display:none !important;
}

/* MOSTRA LAYOUT MOBILE */

.tv-mobile{
display:block;
width:100%;
max-width:100%;
margin:auto;
}

/* PLAYER FULL WIDTH */

.tv-mobile .tv-player-card{
width:100%;
}

/* GRID BANNERS MOBILE */

.tv-mobile-banners{
display:grid;
grid-template-columns:1fr 1fr;
gap:14px;
margin-top:20px;
}

/* BANNERS */

.tv-ad-box{
height:110px;
}

}

/* ================= MOBILE PEQUENO ================= */

@media(max-width:500px){

.tv-mobile-banners{
grid-template-columns:1fr;
gap:12px;
}

.tv-ad-box{
height:100px;
}

}

/* ================= MOBILE MUITO PEQUENO ================= */

@media(max-width:360px){

.tv-ad-box{
height:90px;
}

}
/* ── BANNER DESTAQUE (carrossel fullwidth, 1 por vez) ── */
.premium-banner-section {
    display: flex;
    justify-content: center;
    padding: 18px;
}
.premium-banner-container {
    position: relative;
    width: 100%;
    max-width: 1164px;
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0,0,0,.14);
}
.premium-banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .9s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    text-decoration: none;
}
.premium-banner-slide.active { opacity: 1; z-index: 2; }

.premium-banner-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 3;
}
.banner-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    cursor: pointer;
    transition: all .3s;
}
.banner-dot.active {
    background: #fff;
    width: 22px;
    border-radius: 4px;
}

/* mini-banners substituídos por pub-banners */

@media(max-width: 768px) {
    .premium-banner-container { height: calc(100vw * .38); border-radius: 10px; }
    .mini-banner-item { width: 180px; height: 66px; }
}

/* Transição nos grupos do carrossel de mini-banners */




/* ── PUB BANNERS (publicidade/secundários) — maiores, slide individual ── */
.pub-banners-wrap {
    background: #fff;
    border-top: 1px solid #f1f5f9;
    padding: 16px 0;
}

.pub-banners-viewport {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 18px;
    overflow: hidden;         /* Esconde o que sai pela esquerda */
    position: relative;
}

.pub-banners-track {
    display: flex;
    gap: 14px;
    transition: transform .6s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}

.pub-banner-item {
    flex: 0 0 calc(25% - 11px);  /* 4 visíveis, descontando gap */
    min-width: calc(25% - 11px);
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/6;           /* Altura proporcional e maior */
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
    transition: transform .2s;
}

.pub-banner-item:hover { transform: translateY(-2px); }
.pub-banner-item a    { display: block; height: 100%; }
.pub-banner-item img  { width: 100%; height: 100%; object-fit: cover; display: block; }

@media(max-width: 900px) {
    .pub-banner-item { flex: 0 0 calc(50% - 7px); min-width: calc(50% - 7px); }
}
@media(max-width: 580px) {
    .pub-banner-item { flex: 0 0 calc(100%); min-width: 100%; }
    .pub-banners-wrap { padding: 12px 0; }
}
:root {
      --primary: <?= $primaryColor ?>;
      --secondary: <?= $secondaryColor ?>;
      --accent: <?= $accentColor ?>;
      --gradient: <?= $titleGradient ?>;
    }

    .news-container {
      max-width: 1200px;
      margin: auto;
      padding: 40px 20px;
    }

    .gradient-text {
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      color: transparent;
    }

    .news-featured {
      position: relative;
      border-radius: 14px;
      overflow: hidden;
      margin-bottom: 30px;
    }

    .news-featured img {
      width: 100%;
      height: 420px;
      object-fit: cover;
    }

    .news-featured-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 30px;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
      color: #fff;
    }

    .news-featured-title {
      font-size: 28px;
      background: var(--gradient);
      background-clip: text;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      font-weight: 800;
      margin-bottom: 10px;
    }

    .news-featured-meta {
      font-size: 13px;
      opacity: 0.9;
    }

    .news-layout {
      display: flex;
      gap: 20px;
      align-items: flex-start;
    }

    .news-sidebar {
      width: 260px;
    }

    .news-sidebar-item {
      display: flex;
      gap: 10px;
      background: #fff;
      padding: 10px;
      border-radius: 8px;
      margin-bottom: 10px;
    }

    .news-sidebar-item img {
      width: 60px;
      height: 60px;
      object-fit: cover;
      border-radius: 6px;
    }

    .news-sidebar-title {
      font-size: 13px;
      font-weight: 600;
    }

    .news-cards {
      flex: 1;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .news-card {
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
      transition: .2s;
    }

    .news-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
    }

    .news-card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }

    .news-card-body {
      padding: 15px;
    }

    .news-category {
      font-size: 11px;
      font-weight: 700;
      margin-bottom: 6px;
      background: var(--gradient);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .news-card-title {
      font-size: 15px;
      font-weight: 700;
      margin-bottom: 6px;
    }

    .news-card-excerpt {
      font-size: 13px;
      color: #666;
      margin-bottom: 8px;
    }

    .news-meta {
      font-size: 12px;
      color: #888;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
    }

    .news-pagination {
      display: flex;
      justify-content: center;
      margin-top: 40px;
      gap: 6px;
      flex-wrap: wrap;
    }

    .news-pagination a {
      padding: 8px 12px;
      border-radius: 6px;
      background: #fff;
      border: 1px solid #ddd;
      text-decoration: none;
      color: #333;
      font-size: 14px;
    }

    .news-pagination a.active {
      background: var(--gradient);
      color: #fff;
      border: none;
    }

    .news-pagination a:hover {
      background: #f2f2f2;
    }

    @media(max-width:900px) {
      .news-layout {
        flex-direction: column;
      }

      .news-sidebar {
        width: 100%;
      }

      .news-cards {
        grid-template-columns: 1fr;
      }
    }