/* ==================== HERO STORIES ==================== */
.hero-section {
    margin-bottom: 2.5rem;
}

/* Wrapper with tap zones */
.hero-slides-wrapper {
    position: relative;
    width: 100%;
}

/* Slides */
.hero-slide {
    display: none;
    width: 100%;
}
.hero-slide.active {
    display: block;
    animation: heroFadeIn .4s ease;
}
@keyframes heroFadeIn {
    0% { opacity: .5; }
    100% { opacity: 1; }
}

/* Card with gradient backgrounds */
.hero-card {
    border-radius: 22px;
    min-height: 270px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .7rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
html.light .hero-card {
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* Gradient classes – radial overlays on dark base */
.hero-grad-0 {
    background: radial-gradient(ellipse at 20% 30%, rgba(255,106,0,0.45) 0%, transparent 60%), #131416;
}
.hero-grad-1 {
    background: radial-gradient(ellipse at 80% 20%, rgba(59,130,246,0.45) 0%, transparent 60%), #131416;
}
.hero-grad-2 {
    background: radial-gradient(ellipse at 50% 80%, rgba(34,197,94,0.45) 0%, transparent 60%), #131416;
}
.hero-grad-3 {
    background: radial-gradient(ellipse at 20% 70%, rgba(168,85,247,0.45) 0%, transparent 60%), #131416;
}
.hero-grad-4 {
    background: radial-gradient(ellipse at 80% 60%, rgba(236,72,153,0.45) 0%, transparent 60%), #131416;
}
html.light .hero-grad-0 { background: radial-gradient(ellipse at 20% 30%, rgba(255,106,0,0.12) 0%, transparent 60%), #ffffff; }
html.light .hero-grad-1 { background: radial-gradient(ellipse at 80% 20%, rgba(59,130,246,0.12) 0%, transparent 60%), #ffffff; }
html.light .hero-grad-2 { background: radial-gradient(ellipse at 50% 80%, rgba(34,197,94,0.12) 0%, transparent 60%), #ffffff; }
html.light .hero-grad-3 { background: radial-gradient(ellipse at 20% 70%, rgba(168,85,247,0.12) 0%, transparent 60%), #ffffff; }
html.light .hero-grad-4 { background: radial-gradient(ellipse at 80% 60%, rgba(236,72,153,0.12) 0%, transparent 60%), #ffffff; }

/* Empty state */
.hero-card-empty { align-items: center; justify-content: center; background: #131416; }

/* Badges row */
.hero-badges-row {
    display: flex;
    gap: 6px;
    align-items: center;
}
.hero-badge-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,59,59,0.12);
    padding: 3px 10px;
    border-radius: 30px;
    font-size: .62rem;
    font-weight: 800;
    color: #FF3B3B;
    text-transform: uppercase;
    letter-spacing: .8px;
}
html.light .hero-badge-live { color: #d92b2b; background: rgba(217,43,43,0.1); }
.hero-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    animation: heroPulse 1.4s ease-in-out infinite;
}
@keyframes heroPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .35; transform: scale(.7); }
}
.hero-badge-region {
    background: rgba(255,255,255,0.1);
    padding: 3px 10px;
    border-radius: 30px;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: var(--text-muted);
}
html.light .hero-badge-region { background: rgba(0,0,0,0.06); color: #555; }

/* Competition name */
.hero-competition {
    font-family: var(--font-display);
    font-size: .85rem;
    font-weight: 600;
    color: var(--text);
}

/* Scoreboard central */
.hero-scoreboard {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    flex: 1;
}
.hero-team-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.hero-shield {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 3px 8px rgba(0,0,0,0.25));
}
.hero-shield-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    font-weight: 700;
    font-size: .85rem;
    color: var(--text-muted);
    flex-shrink: 0;
}
.hero-team-name {
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .3px;
    text-align: center;
    color: var(--text);
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Score central column */
.hero-score-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 70px;
}
.hero-score-num {
    font-family: var(--font-score);
    font-size: 2.6rem;
    font-weight: 700;
    color: #FF6A00;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 2px;
}
html.light .hero-score-num { color: #E85D00; }
.hero-score-sep {
    color: var(--text-dim);
    font-size: 1.8rem;
    font-weight: 400;
    margin: 0 1px;
}
.hero-clock {
    font-size: .65rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 30px;
    white-space: nowrap;
    font-family: var(--font-body);
}
.hero-clock-live {
    color: #FF3B3B;
    background: rgba(255,59,59,0.12);
}
html.light .hero-clock-live { background: rgba(217,43,43,0.1); }

/* Broadcast chips */
.hero-broadcasts {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}
.bcast-chip {
    background: rgba(255,255,255,0.08);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: .65rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}
html.light .bcast-chip { background: rgba(0,0,0,0.06); color: #555; }

/* CTA */
.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    padding: 12px 0;
    background: linear-gradient(135deg, #FF6A00, #E85D00);
    border-radius: 999px;
    color: #0a0a0a;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: transform .18s, box-shadow .18s;
    border: none;
    cursor: pointer;
    text-decoration: none;
}
html.light .hero-cta { color: #ffffff; }
.hero-cta:hover { transform: scale(.97); }
.hero-cta:active { transform: scale(.95); }
.hero-cta i { font-size: .75rem; }

/* Dots */
.hero-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}
.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid #FF6A00;
    cursor: pointer;
    position: relative;
    transition: border-color .2s;
    flex-shrink: 0;
}
.hero-dot.active,
.hero-dot.done {
    border-color: #FF6A00;
    background: #FF6A00;
}
.hero-dot.active {
    background: transparent;
}
.hero-dot.active::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(#FF6A00 var(--dot-pct, 0%), transparent var(--dot-pct, 0%));
    -webkit-mask: radial-gradient(circle at 50% 50%, transparent 3px, #000 3px);
    mask: radial-gradient(circle at 50% 50%, transparent 3px, #000 3px);
}

/* Hint below carousel */
.hero-hint {
    text-align: center;
    font-size: .68rem;
    color: var(--text-dim);
    margin-top: 8px;
    padding: 0 1rem;
}

/* Tap zones */
.hero-tap-left,
.hero-tap-right {
    position: absolute;
    top: 0;
    width: 35%;
    height: 100%;
    z-index: 5;
    cursor: pointer;
}
.hero-tap-left { left: 0; }
.hero-tap-right { right: 0; }

/* Desktop arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 10;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--card-border);
    color: var(--text);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: .7;
    transition: opacity .2s, background .2s;
}
.hero-arrow:hover { opacity: 1; background: var(--primary); color: #0a0a0a; border-color: var(--primary); }
.hero-arrow-prev { left: -20px; }
.hero-arrow-next { right: -20px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-live-dot { animation: none; }
    .hero-dot.active::after { display: none; }
    .hero-slide.active { animation: none; }
    .hero-cta { transition: none; }
    .hero-cta:hover { transform: none; }
}

/* ===================== RESPONSIVO ===================== */
@media (max-width: 768px) {
    .hero-card { padding: 1rem; min-height: 240px; border-radius: 20px; }
    .hero-shield, .hero-shield-fallback { width: 44px; height: 44px; }
    .hero-shield-fallback { font-size: .75rem; }
    .hero-team-name { font-size: .72rem; max-width: 90px; }
    .hero-score-num { font-size: 2.2rem; }
    .hero-score-sep { font-size: 1.5rem; }
    .hero-score-col { min-width: 60px; }
    .hero-competition { font-size: .78rem; }
    .hero-cta { font-size: .78rem; padding: 11px 0; max-width: 300px; }
    .bcast-chip { font-size: .6rem; padding: 3px 10px; }
    .hero-badge-live { font-size: .58rem; }
    .hero-badge-region { font-size: .6rem; }
    .hero-hint { font-size: .65rem; }
}
@media (max-width: 480px) {
    .hero-card { padding: .85rem .7rem; min-height: 220px; gap: .6rem; border-radius: 18px; }
    .hero-shield, .hero-shield-fallback { width: 36px; height: 36px; }
    .hero-shield-fallback { font-size: .65rem; }
    .hero-team-name { font-size: .65rem; max-width: 70px; }
    .hero-score-num { font-size: 1.8rem; }
    .hero-score-sep { font-size: 1.2rem; }
    .hero-score-col { min-width: 50px; gap: 2px; }
    .hero-clock { font-size: .58rem; padding: 2px 8px; }
    .hero-competition { font-size: .7rem; }
    .hero-badge-live { font-size: .52rem; padding: 2px 8px; }
    .hero-live-dot { width: 5px; height: 5px; }
    .hero-badge-region { font-size: .55rem; padding: 2px 8px; }
    .hero-cta { font-size: .68rem; padding: 10px 0; gap: 5px; max-width: 260px; }
    .hero-cta i { font-size: .65rem; }
    .bcast-chip { font-size: .55rem; padding: 2px 8px; }
    .hero-dots { gap: 6px; margin-top: 10px; }
    .hero-dot { width: 10px; height: 10px; }
    .hero-dot.active::after { -webkit-mask: radial-gradient(circle at 50% 50%, transparent 2.5px, #000 2.5px); mask: radial-gradient(circle at 50% 50%, transparent 2.5px, #000 2.5px); }
    .hero-hint { font-size: .6rem; }
}
@media (min-width: 720px) {
    .hero-section { max-width: 680px; margin-left: auto; margin-right: auto; }
    .hero-card { min-height: 290px; padding: 1.5rem; gap: .85rem; }
    .hero-shield, .hero-shield-fallback { width: 60px; height: 60px; }
    .hero-shield-fallback { font-size: .9rem; }
    .hero-team-name { font-size: .85rem; max-width: 140px; }
    .hero-score-num { font-size: 2.9rem; }
    .hero-score-col { min-width: 80px; }
    .hero-cta { font-size: .9rem; padding: 14px 0; max-width: 340px; }
    .hero-comp { font-size: .78rem; }
    .hero-hint { font-size: .75rem; }
    .hero-arrow { display: flex; }
}
.matches-day-section {
    margin: 2.5rem 0;
}



/* ==================== PRÓXIMOS JOGOS (LISTA) ==================== */

/* Card container */
.upcoming-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
}

/* Divider between groups and between rows */
.upcoming-divider {
    height: 1px;
    background: var(--card-border);
    margin: 0;
}

/* Day header */
.upcoming-day-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}
.upcoming-day-label {
    font-family: var(--font-display);
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--text-muted);
}
.upcoming-day-date {
    font-family: var(--font-body);
    font-size: .65rem;
    color: var(--text-dim);
}

/* Row (clickable) */
.upcoming-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s;
}
.upcoming-row:hover {
    background: rgba(255,106,0,0.06);
}

/* Time column */
.upcoming-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 44px;
    flex-shrink: 0;
}
.upcoming-hour {
    font-family: var(--font-score);
    font-size: .85rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}
.upcoming-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FF6A00;
    flex-shrink: 0;
}

/* Main content */
.upcoming-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.upcoming-competition {
    font-family: var(--font-body);
    font-size: .6rem;
    font-weight: 700;
    color: #FF6A00;
    text-transform: uppercase;
    letter-spacing: .4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.upcoming-teams {
    display: flex;
    align-items: center;
    gap: 6px;
}
.upcoming-team {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}
.upcoming-shield {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: contain;
    flex-shrink: 0;
}
.upcoming-shield-fallback {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: .55rem;
    font-weight: 700;
    color: var(--text-muted);
    flex-shrink: 0;
}
html.light .upcoming-shield-fallback { background: rgba(0,0,0,0.06); }
.upcoming-team-name {
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}
.upcoming-vs {
    font-size: .65rem;
    color: var(--text-dim);
    font-weight: 400;
    flex-shrink: 0;
}

/* Channel + chevron */
.upcoming-channel {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.upcoming-chip {
    font-family: var(--font-body);
    font-size: .58rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255,255,255,0.06);
    padding: 2px 8px;
    border-radius: 30px;
    white-space: nowrap;
}
html.light .upcoming-chip { background: rgba(0,0,0,0.05); }
.upcoming-chevron {
    font-size: .7rem;
    color: var(--text-dim);
}

/* Empty state */
.upcoming-empty {
    padding: 2rem 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: .85rem;
}

/* Responsivo */
@media (max-width: 480px) {
    .upcoming-chip { display: none; }
    .upcoming-team-name { max-width: 70px; font-size: .72rem; }
    .upcoming-hour { font-size: .78rem; }
    .upcoming-row { padding: 8px 12px; gap: 10px; }
    .upcoming-day-header { padding: 10px 12px; }
    .upcoming-competition { font-size: .55rem; }
    .upcoming-time { min-width: 38px; }
}
@media (min-width: 720px) {
    .upcoming-team-name { max-width: 160px; }
    .upcoming-row { padding: 12px 20px; }
    .upcoming-day-header { padding: 14px 20px; }
}
.news-section {
    margin: 3rem 0;
}

/* Carrossel horizontal com scroll-snap */
.news-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 0 1rem 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.news-scroll::-webkit-scrollbar { display: none; }

/* Cada slide do carrossel */
.news-slide {
    flex: 0 0 78%;
    max-width: 320px;
    scroll-snap-align: start;
    text-decoration: none;
    display: block;
}

/* Card com proporção 4:5 */
.news-card {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    overflow: hidden;
    background: var(--card-bg);
}

/* Imagem cobre o card inteiro */
.news-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder quando não há imagem */
.news-card-img-placeholder {
    position: absolute;
    inset: 0;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2.5rem;
}

/* Overlay gradiente escuro para contraste */
.news-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0) 78%);
    pointer-events: none;
}

/* Conteúdo textual sobre o overlay */
.news-card-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Badge de categoria */
.news-badge {
    display: inline-block;
    background: var(--primary);
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.15rem 0.6rem;
    border-radius: 12px;
    letter-spacing: 0.5px;
    align-self: flex-start;
    margin-bottom: 0.15rem;
}

/* Título sempre branco */
.news-card-text .news-title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
    margin: 0;
    color: #fff !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Descrição sempre branca com opacidade */
.news-excerpt {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.85) !important;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Metadados (fonte + tempo) */
.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.8) !important;
    margin-top: 0.15rem;
    gap: 0.5rem;
}
.news-source,
.news-time {
    color: rgba(255,255,255,0.8) !important;
}
.news-source i {
    margin-right: 0.25rem;
}

/* Empty state */
.news-empty {
    text-align: center;
    padding: 2rem;
    color: var(--muted);
}

/* --- Card especial "Ver todas" --- */
.news-card-last {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background:
        repeating-linear-gradient(
            45deg,
            rgba(255,107,0,0.08) 0px,
            rgba(255,107,0,0.08) 10px,
            transparent 10px,
            transparent 20px
        ),
        var(--card-bg);
    border: 2px dashed var(--primary);
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s;
}
.news-card-last:hover {
    border-color: var(--primary-dark);
    background:
        repeating-linear-gradient(
            45deg,
            rgba(255,107,0,0.14) 0px,
            rgba(255,107,0,0.14) 10px,
            transparent 10px,
            transparent 20px
        ),
        var(--card-bg);
}

/* Ícone circular com seta */
.news-card-last-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #000;
    transition: transform 0.3s;
}
.news-card-last:hover .news-card-last-icon {
    transform: scale(1.1);
}

.news-card-last-text {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary);
    text-align: center;
}

/* --- Dots de paginação --- */
.news-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 0.75rem;
}

.news-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
}
.news-dot.active {
    width: 18px;
    border-radius: 9px;
    background: var(--primary);
}

/* Desktop: cards um pouco maiores */
@media (min-width: 768px) {
    .news-slide {
        flex: 0 0 280px;
    }
}

.videos-section {
    margin: 2.5rem 0;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

/* Card de vídeo */
.video-card {
    background: var(--card-bg);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--primary-glow);
    border-color: var(--primary);
}

/* Thumbnail com proporção 16:9 */
.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    background: var(--bg-elevated);
    overflow: hidden;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumbnail .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #0a0a0a;
    transition: all 180ms cubic-bezier(.4,0,.2,1);
    box-shadow: 0 4px 20px var(--primary-glow);
    opacity: .92;
}

.video-card:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--primary-dark);
    opacity: 1;
}

/* Duração */
.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    backdrop-filter: blur(2px);
}

/* Informações do vídeo */
.video-info {
    padding: 0.75rem;
}

.video-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.video-meta .channel-name {
    color: var(--primary);
    font-weight: 600;
}

/* Botão "Ver canal completo" já está com a classe .see-all */

/* Responsivo */
@media (max-width: 992px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .video-title {
        font-size: 0.85rem;
    }
    .video-thumbnail .play-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

.news-carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: transparent;
    padding: 0.5rem 0;
}

.news-carousel-container {
    position: relative;
    overflow: hidden;
    touch-action: pan-y;
}

.news-carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 0.5rem;
}

.news-slide {
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 0.5rem;
}

/* Responsivo: mostra 2 cards em telas maiores */
@media (min-width: 768px) {
    .news-slide {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 1024px) {
    .news-slide {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

/* Botões de navegação */
.news-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: var(--bg-elevated);
    backdrop-filter: blur(4px);
    border: 1px solid var(--card-border);
    color: var(--text);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 180ms cubic-bezier(.4,0,.2,1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
}

.news-carousel-btn:hover {
    background: var(--primary);
    color: #0a0a0a;
    border-color: var(--primary);
    opacity: 1;
}

.news-carousel-btn.prev {
    left: 0.5rem;
}

.news-carousel-btn.next {
    right: 0.5rem;
}

@media (max-width: 480px) {
    .news-carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

/* Barra de progresso */
.news-carousel-progress {
    width: 100%;
    height: 4px;
    background: var(--card-border);
    border-radius: 10px;
    margin-top: 0.75rem;
    overflow: hidden;
}

.news-progress-bar {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--primary);
    border-radius: 10px;
    transition: width 0.4s ease;
}

.videos-carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: transparent;
    padding: 0.5rem 0;
}

.videos-carousel-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 0.5rem 0;
}

.videos-carousel-track .video-card {
    flex: 0 0 calc(100% / 1.2);
    min-width: 200px;
    max-width: 300px;
}

/* Responsivo para vídeos */
@media (min-width: 768px) {
    .videos-carousel-track .video-card {
        flex: 0 0 calc(100% / 2.2);
    }
}
@media (min-width: 1024px) {
    .videos-carousel-track .video-card {
        flex: 0 0 calc(100% / 3.2);
    }
}
@media (min-width: 1200px) {
    .videos-carousel-track .video-card {
        flex: 0 0 calc(100% / 4.2);
    }
}

.icon-youtube { color: #ff0000; margin-right: .5rem; }

/* Scroll-row sizing for home cards */
.scroll-row > .news-card {
    flex: 0 0 300px;
    min-width: 260px;
}
.scroll-row > .video-card {
    flex: 0 0 280px;
    min-width: 240px;
}
@media (max-width: 600px) {
    .scroll-row > .news-card {
        flex: 0 0 260px;
        min-width: 220px;
    }
    .scroll-row > .video-card {
        flex: 0 0 240px;
        min-width: 200px;
    }
}
