/* ===== Noticias: hero destacado ===== */
.noticia-hero {
    display: block;
    max-width: 1200px;
    margin: 0 auto 24px;
    background: linear-gradient(160deg, var(--vd-navy) 0%, var(--vd-navy-light) 100%);
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    color: var(--vd-white);
    text-decoration: none;
    overflow: hidden;
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
}
.noticia-hero.has-photo {
    background-blend-mode: normal;
}
.noticia-hero.has-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20,23,31,.35) 0%, rgba(20,23,31,.8) 45%, rgba(15,17,23,.97) 100%);
    pointer-events: none;
}
.noticia-hero:not(.has-photo)::after {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(228,35,44,.35), transparent 70%);
    pointer-events: none;
    z-index: 1;
}
.noticia-hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 44px;
    max-width: 720px;
}
.noticia-hero h1 {
    color: var(--vd-white);
    font-size: 32px;
    line-height: 1.15;
    margin: 10px 0 16px;
}
.noticia-hero.has-photo h1 {
    text-shadow: 0 2px 12px rgba(0,0,0,.6);
}

.noticia-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-condensed);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #f2b705;
}
.noticia-eyebrow .sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.4); }

.noticia-matchup {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 13px;
    color: rgba(255,255,255,.8);
}
.noticia-matchup img { width: 22px; height: 22px; object-fit: contain; background: #fff; border-radius: 50%; padding: 2px; }

.noticia-excerpt {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255,255,255,.85);
    margin: 0;
}
.noticia-hero .noticia-excerpt { color: rgba(255,255,255,.85); }

.noticia-meta {
    margin-top: 18px;
    font-family: var(--font-narrow);
    font-size: 12px;
    color: rgba(0,0,0,.4);
}
.noticia-hero .noticia-meta { color: rgba(255,255,255,.45); }

/* ===== Grid de tarjetas secundarias (con foto miniatura) ===== */
.noticias-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 24px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}
.noticia-card {
    display: block;
    background: var(--vd-white);
    border-radius: 8px;
    border: 1px solid #e8e9ec;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .15s ease, box-shadow .15s ease;
}
.noticia-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(27,42,94,.12);
}
.noticia-card-photo {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    background: var(--vd-gray-light);
}
.noticia-card-body { padding: 18px 20px; }
.noticia-badge {
    display: inline-block;
    font-family: var(--font-condensed);
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--vd-red);
    background: #fdeceb;
    padding: 3px 9px;
    border-radius: 5px;
    margin-bottom: 10px;
}
.noticia-card h2 {
    font-size: 17px;
    line-height: 1.35;
    margin: 0 0 10px;
    color: var(--vd-ink);
    text-transform: none;
    letter-spacing: normal;
    font-weight: 700;
}
.noticia-card .noticia-matchup { color: #666; font-size: 12px; }
.noticia-card .noticia-excerpt { color: #444; font-size: 13.5px; }
.noticia-card .noticia-meta { color: #999; }

/* ===== Lista de solo texto (las siguientes 10) ===== */
.noticias-text-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 60px;
}
.noticias-text-list-inner {
    background: var(--vd-white);
    border: 1px solid #e8e9ec;
    border-radius: 10px;
    padding: 4px 0;
}
.noticia-text-item {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 14px 22px;
    border-bottom: 1px solid #f0f1f3;
    transition: background .15s ease;
}
.noticia-text-item:last-child { border-bottom: none; }
.noticia-text-item:hover { background: var(--vd-gray-light); }
.noticia-text-item h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.35;
    color: var(--vd-ink);
    text-transform: none;
    letter-spacing: normal;
    margin: 0 0 4px;
}
.noticia-text-item:hover h3 { color: var(--vd-red); }
.noticia-text-item .noticia-meta { margin-top: 0; color: #999; }

/* Hero: contenedor superior de noticias.php necesita padding lateral igual al grid */
#noticias-container { padding: 16px 24px 0; }
#noticias-container .noticia-hero { margin-left: 0; margin-right: 0; }
#noticias-container .noticias-grid { padding-left: 0; padding-right: 0; }
#noticias-container .noticias-text-list { padding-left: 0; padding-right: 0; }

/* ===== Nota: vista de detalle ===== */
.nota-detalle {
    max-width: 760px;
    margin: 24px auto 60px;
    padding: 0 24px;
}
.nota-photo {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}
.nota-photo-figure { margin: 0 0 24px; }
.nota-photo-caption {
    font-family: var(--font-narrow);
    font-size: 12px;
    color: #999;
    margin-top: 6px;
    text-align: right;
}
.nota-detalle h1 {
    font-size: 34px;
    line-height: 1.15;
    margin: 10px 0 12px;
}
.nota-matchup {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    padding: 12px 16px;
    background: var(--vd-white);
    border: 1px solid #e8e9ec;
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 14px;
    color: var(--vd-ink);
}
.nota-matchup img { width: 28px; height: 28px; object-fit: contain; }
.nota-score {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--vd-navy);
    margin: 0 4px;
}
.nota-body {
    margin-top: 24px;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
    color: var(--vd-ink);
}
.nota-body p { margin-bottom: 18px; }

/* ===== Galeria de fotos en nota.php ===== */
.nota-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 28px;
}
.nota-gallery-thumb {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity .15s ease, transform .15s ease;
    display: block;
}
.nota-gallery-thumb:hover {
    opacity: .85;
    transform: scale(1.03);
}
/* ===== Botones de compartir en nota.php ===== */
.nota-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #e8e9ec;
}
.nota-share-label {
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--vd-ink);
    margin-right: 4px;
}
.nota-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--vd-white);
    border: none;
    cursor: pointer;
    transition: opacity .15s ease, transform .15s ease;
}
.nota-share-btn:hover {
    opacity: .88;
    transform: translateY(-1px);
}
.nota-share-whatsapp { background: #25D366; }
.nota-share-x { background: #000000; }
.nota-share-facebook { background: #1877F2; }
.nota-share-copy { background: var(--vd-navy); }

/* ===== Lightbox ===== */
.nota-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10,11,15,.92);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.nota-lightbox.open { display: flex; }
.nota-lightbox-inner { max-width: 100%; }
.nota-lightbox img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0,0,0,.5);
    display: block;
}
.nota-lightbox-caption {
    color: rgba(255,255,255,.8);
    font-family: var(--font-narrow);
    font-size: 13px;
    text-align: center;
    margin-top: 12px;
}
.nota-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--vd-white);
    font-size: 36px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
}
.nota-lightbox-close:hover { color: var(--vd-red); }


/* ===== Notas relacionadas (nota.php) ===== */
.nota-related {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #e8e9ec;
}
.nota-related-title {
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--vd-navy);
    margin: 0 0 16px;
}
.nota-related-grid {
    max-width: none;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.nota-related-grid .noticia-card-photo { height: 110px; }
.nota-related-grid .noticia-card h2 { font-size: 14px; margin-bottom: 4px; }
.nota-related-grid .noticia-card-body { padding: 14px 16px; }


/* ===== Miniaturas junto a H2 en el cuerpo de la nota ===== */
.nota-h2-thumb {
    width: 260px;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 6px;
}
.nota-h2-thumb--left {
    float: left;
    margin-right: 16px;
}
.nota-h2-thumb--right {
    float: right;
    margin-left: 16px;
}
.nota-body h2 { clear: none; }
.nota-body::after { content: ''; display: table; clear: both; }

@media (max-width: 600px) {
    .nota-h2-thumb {
        width: 100%;
        height: 160px;
        float: none;
        margin: 12px 0;
    }
}
