/* ===== Header ===== */
.vd-header {
    background: var(--vd-white);
    border-bottom: 3px solid var(--vd-navy);
    position: sticky;
    top: 0;
    z-index: 100;
}
.vd-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
}
.vd-logo { height: 48px; width: auto; }

/* Agrupa nav + redes y los empuja al extremo derecho del header */
.vd-header-right {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.vd-nav { display: flex; gap: 28px; }
.vd-nav a {
    font-family: var(--font-condensed);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
    color: var(--vd-ink);
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 3px solid transparent;
    transition: border-color 0.2s;
}
.vd-nav a:hover, .vd-nav a.active {
    color: var(--vd-navy);
    border-bottom-color: var(--vd-red);
}

.vd-social {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: 32px;
    padding-left: 32px;
    border-left: 1px solid #e0e0e0;
}
.vd-social a {
    color: var(--vd-navy);
    display: flex;
    align-items: center;
    transition: color 0.2s, transform 0.2s;
}
.vd-social a svg {
    width: 24px;
    height: 24px;
}
.vd-social a:hover {
    color: var(--vd-red);
    transform: translateY(-2px);
}

/* ===== Franja de partidos (arriba, entre header y video hero) ===== */
.vd-matches-strip {
    background: var(--vd-white);
    border-bottom: 1px solid #e8e9ec;
    padding-bottom: 8px;
}
.vd-hero-compact {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px 8px;
}
.vd-hero-compact h1 { font-size: 15px; letter-spacing: 0.5px; }
.vd-matches-strip .vd-hero-compact h1 { font-size: 15px; letter-spacing: 0.5px; }
.vd-hero-compact p { color: #666; font-size: 13px; margin-top: 2px; }

.vd-matches-strip .vd-matches {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 24px 16px;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}
.vd-matches-strip .vd-matches::-webkit-scrollbar { height: 6px; }
.vd-matches-strip .vd-matches::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
.vd-matches-strip .scoreboard-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
}

/* ===== Video Hero ===== */
.vd-video-hero {
    position: relative;
    height: 460px;
    overflow: hidden;
    background: var(--vd-ink);
}
.vd-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}
.vd-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20,23,31,0.88) 0%, rgba(20,23,31,0.55) 55%, rgba(20,23,31,0.3) 100%);
}
.vd-video-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 24px;
    max-width: 640px;
}
.vd-video-content .label-condensed { font-size: 13px; letter-spacing: 2px; margin-bottom: 12px; }
.vd-video-title {
    color: var(--vd-white);
    font-size: 44px;
    line-height: 1.1;
    margin-bottom: 16px;
}
.vd-video-subtitle {
    color: #dcdde3;
    font-family: var(--font-narrow);
    font-size: 16px;
    line-height: 1.5;
}

/* ===== Hero (usado en otras páginas, ej. noticias.php) ===== */
.vd-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px 16px;
}
.vd-hero h1 { font-size: 32px; }
.vd-hero p { color: #666; font-size: 15px; margin-top: 4px; }

/* ===== Matches grid (calendario, etc.) ===== */
.vd-matches {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px 60px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.scoreboard-card {
    background: var(--vd-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(27,42,94,0.08);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.15s, box-shadow 0.15s;
    border: 1px solid #e8e9ec;
}
.scoreboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(27,42,94,0.15);
}
.scoreboard-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: var(--vd-navy);
    font-family: var(--font-condensed);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #cbd2e6;
}
.status-badge {
    padding: 2px 9px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    color: white;
}
.status-en_vivo { background: #1a9e4c; animation: pulse 1.5s infinite; }
.status-finalizado { background: #4a4f5c; }
.status-planeacion, .status-preparacion { background: var(--vd-gray); }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.6; } }

.scoreboard-table {
    width: 100%;
    border-collapse: collapse;
}
.scoreboard-table thead th {
    font-family: var(--font-condensed);
    font-size: 10px;
    font-weight: 700;
    color: #999;
    text-align: center;
    padding: 6px 4px 2px;
    width: 28px;
}
.scoreboard-table thead th.team-col { width: auto; }
.scoreboard-table thead th.total-col { color: var(--vd-navy); }
.scoreboard-table tbody td {
    padding: 6px 4px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 14px;
    color: #444;
    border-top: 1px solid #f0f1f3;
}
.scoreboard-table tbody tr:first-child td { border-top: none; }
.scoreboard-table td.team-col {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
}
.scoreboard-table td.team-col img { width: 26px; height: 26px; object-fit: contain; flex-shrink: 0; }
.scoreboard-table td.team-col span {
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 13px;
    color: var(--vd-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.scoreboard-table td.total-col {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 18px;
    color: var(--vd-navy);
    width: 36px;
}

.scoreboard-bottom {
    padding: 6px 12px;
    border-top: 1px solid #eee;
    font-family: var(--font-narrow);
    font-size: 11px;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== Columnas de contenido (debajo del video hero) ===== */
.vd-content-columns {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px 60px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
}
@media (max-width: 960px) {
    .vd-content-columns { grid-template-columns: 1fr; }
}

.vd-col-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 88px;
}
@media (max-width: 960px) {
    .vd-col-right { position: static; }
}


/* ===== Bloques de publicidad propia (house ads) ===== */
.vd-house-ad {
    background: var(--vd-navy);
    border-radius: 10px;
    padding: 22px 20px;
    color: var(--vd-white);
}
.vd-house-ad .label-condensed { font-size: 11px; letter-spacing: 1.5px; margin-bottom: 6px; display: block; }
.vd-house-ad h3 {
    color: var(--vd-white);
    font-size: 19px;
    margin-bottom: 10px;
    line-height: 1.15;
}
.vd-house-ad p.label-narrow {
    color: #cbd2e6;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 14px;
}
.vd-house-ad-social {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.vd-house-ad-social a {
    color: var(--vd-white);
    transition: color 0.2s, transform 0.2s;
}
.vd-house-ad-social a:hover {
    color: var(--vd-red);
    transform: translateY(-2px);
}
.vd-house-ad-cta {
    display: inline-block;
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--vd-white);
    text-decoration: none;
    border-bottom: 2px solid var(--vd-red);
    padding-bottom: 2px;
    transition: opacity 0.15s;
}
.vd-house-ad-cta:hover { opacity: 0.8; }

/* Variante de fondo para el bloque promocional de la derecha */
.vd-house-ad--promo {
    background: var(--vd-ink);
}

/* ===== Columna central: nota destacada + notas con foto ===== */
.vd-col-center {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.vd-noticia-destacada {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--vd-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(27,42,94,0.08);
    border: 1px solid #e8e9ec;
    margin-bottom: 20px;
    transition: transform 0.15s, box-shadow 0.15s;
}
.vd-noticia-destacada:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(27,42,94,0.14);
}
.vd-noticia-destacada img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    background: var(--vd-gray-light);
}
.vd-noticia-destacada-body { padding: 20px 22px; }
.vd-noticia-badge {
    display: inline-block;
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--vd-red);
    margin-bottom: 8px;
}
.vd-noticia-destacada h2 {
    font-size: 24px;
    line-height: 1.15;
    margin-bottom: 10px;
}
.vd-noticia-destacada p.excerpt {
    font-family: var(--font-body);
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 10px;
}
.vd-noticia-meta {
    font-family: var(--font-narrow);
    font-size: 12px;
    color: #999;
}

.vd-noticias-foto-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (max-width: 700px) {
    .vd-noticias-foto-grid { grid-template-columns: 1fr; }
}
.vd-noticia-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--vd-white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e8e9ec;
    transition: transform 0.15s, box-shadow 0.15s;
}
.vd-noticia-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27,42,94,0.12);
}
.vd-noticia-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
    background: var(--vd-gray-light);
}
.vd-noticia-card-body { padding: 12px 14px; }
.vd-noticia-card h3 {
    font-size: 14px;
    line-height: 1.25;
    margin-bottom: 6px;
}
.vd-noticia-card .vd-noticia-meta { font-size: 11px; }

/* ===== Columna derecha: lista de notas en solo texto ===== */
.vd-noticias-list {
    background: var(--vd-white);
    border-radius: 10px;
    border: 1px solid #e8e9ec;
    padding: 6px 0;
}
.vd-noticias-list-item {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 12px 18px;
    border-bottom: 1px solid #f0f1f3;
}
.vd-noticias-list-item:last-child { border-bottom: none; }
.vd-noticias-list-item h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    line-height: 1.35;
    color: var(--vd-ink);
    margin-bottom: 4px;
}
.vd-noticias-list-item:hover h4 { color: var(--vd-red); }
.vd-noticias-list-item .vd-noticia-meta { font-size: 10px; }

/* ===== Layout de página interior (contenido + columna lateral de anuncios) ===== */
/* Usado en calendario.php, noticias.php, standings.php, partido.php */
.vd-page-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
}
@media (max-width: 900px) {
    .vd-page-layout { grid-template-columns: 1fr; }
}
.vd-page-content { min-width: 0; }
.vd-page-ads {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 88px;
}
@media (max-width: 900px) {
    .vd-page-ads { position: static; }
}

/* Slot reservado para AdSense — placeholder neutro y discreto hasta que se apruebe la cuenta */
.vd-ad-slot {
    background: var(--vd-white);
    border: 1px dashed #e2e3e7;
    border-radius: 8px;
    padding: 8px 10px;
    min-height: 90px;
    display: flex;
    flex-direction: column;
}
.vd-ad-slot-label {
    font-family: var(--font-condensed);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ccc;
    margin-bottom: 4px;
}
.vd-ad-slot-box {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Variante alta y angosta (formato skyscraper clásico, 300x600) */
.vd-ad-slot--skyscraper {
    min-height: 600px;
}

/* Banner horizontal ancho (formato leaderboard clásico, 728x90) — usado antes del footer en páginas con más tiempo de permanencia (Game Center) */
.vd-ad-leaderboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 32px;
}
.vd-ad-leaderboard .vd-ad-slot {
    min-height: 90px;
    max-width: 728px;
    margin: 0 auto;
}

/* ===== Paginación de noticias ===== */
.noticias-pagination {
    display: flex;
    justify-content: center;
    padding: 32px 0 16px;
}
.noticias-pag-controls {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}
.noticias-pag-btn {
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 13px;
    color: var(--vd-navy);
    background: var(--vd-white);
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 8px 14px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.noticias-pag-btn:hover:not(:disabled) {
    background: var(--vd-gray-light);
}
.noticias-pag-btn.active {
    background: var(--vd-navy);
    color: var(--vd-white);
    border-color: var(--vd-navy);
}
.noticias-pag-btn:disabled {
    opacity: 0.4;
    cursor: default;
}

/* ===== Pestañas de filtro por deporte (noticias.php) ===== */
.noticias-sport-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    max-width: 1200px;
    padding: 0 0 20px;
}
.noticias-sport-tab {
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--vd-navy);
    background: var(--vd-white);
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 7px 13px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    white-space: nowrap;
}
.noticias-sport-tab:hover {
    background: var(--vd-gray-light);
}
.noticias-sport-tab.active {
    background: var(--vd-navy);
    color: var(--vd-white);
    border-color: var(--vd-navy);
}

/* ===== Footer ===== */
.vd-footer {
    text-align: center;
    padding: 24px;
    color: #999;
    font-size: 13px;
}
