/* Listado de noticias — ver_noticias.php (paleta ámbar, alineada con Del día) */

.vn-page {
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
}

.vn-page > .td-page-ambient--amber {
    opacity: 0.7;
}

.vn-page-hero {
    margin-bottom: 2px;
}

.vn-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
}

.vn-crumb a {
    color: var(--td-muted, #64748b);
    text-decoration: none;
}

.vn-crumb a:hover,
.vn-crumb a:focus-visible {
    color: #b45309;
    outline: none;
}

.vn-crumb span[aria-current="page"] {
    color: var(--td-text, #0f172a);
}

.vn-crumb span[aria-hidden="true"] {
    color: var(--td-line, #cbd5e1);
}

/* Tarjetas de noticias (mismo diseño para todas) */
.vn-feed {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 12px 0 12px;
}

.vn-spot {
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff 0%, #ffffff 55%, #fffbeb 100%);
    border: 1px solid #fde68a;
    box-shadow: 0 10px 28px -8px rgba(245, 158, 11, 0.18);
}

.vn-spot__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.vn-spot__media {
    position: relative;
    margin: 0;
    aspect-ratio: 16 / 9;
    background: #1c1917;
    overflow: hidden;
}

.vn-spot__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.vn-spot__link:active .vn-spot__media img {
    transform: scale(1.03);
}

.vn-spot__ribbon {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #92400e;
    background: rgba(255, 251, 235, 0.95);
    border: 1px solid #fde68a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.vn-spot__body {
    padding: 18px 18px 20px;
    border-top: 3px solid #fbbf24;
}

.vn-spot__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--td-muted, #64748b);
}

.vn-spot__date,
.vn-spot__read {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.vn-spot__read {
    color: #b45309;
    font-weight: 700;
}

.vn-spot__title {
    margin: 0;
    font-size: clamp(1.2rem, 4.8vw, 1.45rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--td-text, #0f172a);
    text-wrap: balance;
}

.vn-spot__lead {
    margin: 10px 0 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--td-muted, #475569);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vn-spot__cta {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 800;
    color: #b45309;
}

.vn-spot__cta i {
    font-size: 22px;
    margin-top: 1px;
}

.vn-empty {
    margin: 24px 0 8px;
    padding: 36px 22px;
    text-align: center;
    border-radius: 22px;
    border: 1px dashed #fde68a;
    background: linear-gradient(145deg, #ffffff 0%, #fffbeb 100%);
}

.vn-empty__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #d97706;
    background: #fef3c7;
}

.vn-empty__title {
    margin: 14px 0 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--td-text, #0f172a);
}

.vn-empty__text {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--td-muted, #64748b);
}

.vn-back {
    margin-top: 18px;
}

.vn-back a {
    font-weight: 700;
    color: #b45309;
    text-decoration: none;
}

.vn-back a:hover {
    text-decoration: underline;
}

@media (min-width: 640px) {
    .vn-spot__body {
        padding: 22px 24px 24px;
    }

    .vn-feed {
        gap: 18px;
    }
}

@media (min-width: 900px) {
    .vn-spot__media {
        aspect-ratio: 21 / 9;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vn-spot__media img {
        transition: none;
    }
}

/* Modo oscuro */
html[data-theme="dark"] .vn-spot {
    background: linear-gradient(145deg, #1e293b 0%, #172033 55%, #1a1f2e 100%);
    border-color: #92400e;
}

html[data-theme="dark"] .vn-spot__ribbon {
    color: #fde68a;
    background: rgba(120, 53, 15, 0.65);
    border-color: #b45309;
}

html[data-theme="dark"] .vn-empty {
    background: linear-gradient(145deg, #1e293b 0%, #172033 100%);
    border-color: #92400e;
}
