/* Necrológicas en la portada: compacto, claro, sin caja dentro de caja. */

.td-home-necro {
    padding: 4px 0 8px;
    border-top: 1px solid var(--td-home-section-divider, #e2e8f0);
    background: transparent;
}

.td-home-necro__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 6px var(--td-home-edge-pad-r, 16px) 4px var(--td-home-edge-pad, 16px);
}

.td-home-necro__head-txt {
    min-width: 0;
    flex: 1;
}

.td-home-necro__kicker {
    margin: 0 0 2px;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.td-home-necro__title {
    margin: 0;
    padding: 0;
    font-size: clamp(1.15rem, 2vw + 0.9rem, 1.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--td-brand-navy, #0d1b2a);
}

.td-home-necro__all {
    flex-shrink: 0;
    margin: 0 0 2px;
    padding: 4px 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-decoration: none;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

.td-home-necro__all:hover,
.td-home-necro__all:focus-visible {
    color: #0f172a;
    text-decoration: underline;
}

.td-home-necro__all:focus-visible {
    outline: 3px solid var(--td-brand-orange, #ff8a00);
    outline-offset: 2px;
}

.td-home-necro__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.td-home-necro__link {
    display: block;
    padding: 10px var(--td-home-edge-pad-r, 16px) 10px var(--td-home-edge-pad, 16px);
    text-decoration: none !important;
    color: inherit;
    border-bottom: 1px solid var(--td-home-section-divider, #e2e8f0);
    -webkit-tap-highlight-color: transparent;
    transition: background 0.12s ease;
}

.td-home-necro__item:last-child .td-home-necro__link {
    border-bottom: none;
}

.td-home-necro__link:hover,
.td-home-necro__link:active {
    background: var(--td-home-row-hover, rgba(148, 163, 184, 0.1));
}

.td-home-necro__link:focus-visible {
    outline: 3px solid var(--td-brand-orange, #ff8a00);
    outline-offset: -2px;
}

.td-home-necro__name-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 8px;
}

.td-home-necro__name {
    font-size: 0.9375rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--td-text, #0f172a);
}

.td-home-necro__age {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}

.td-home-necro__meta {
    display: block;
    margin-top: 2px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
    color: #475569;
}

.td-home-necro__meta strong {
    font-weight: 700;
    color: #334155;
}

@media (max-width: 480px) {
    .td-home-necro__name {
        font-size: 0.875rem;
    }
}

html[data-theme="dark"] .td-home-necro {
    border-top-color: rgba(148, 163, 184, 0.22);
}

html[data-theme="dark"] .td-home-necro__kicker,
html[data-theme="dark"] .td-home-necro__age,
html[data-theme="dark"] .td-home-necro__all {
    color: #94a3b8;
}

html[data-theme="dark"] .td-home-necro__title,
html[data-theme="dark"] .td-home-necro__name {
    color: #f8fafc;
}

html[data-theme="dark"] .td-home-necro__all:hover,
html[data-theme="dark"] .td-home-necro__all:focus-visible {
    color: #e2e8f0;
}

html[data-theme="dark"] .td-home-necro__link {
    border-bottom-color: rgba(148, 163, 184, 0.22);
}

html[data-theme="dark"] .td-home-necro__meta {
    color: #cbd5e1;
}

html[data-theme="dark"] .td-home-necro__meta strong {
    color: #e2e8f0;
}

/* La portada ordena el hub con flex + order (hero 0, hoy 2, para vos hoy 3, accesos 4).
   Sin order propio este bloque queda en 0 y se ve debajo del hero, no antes de Accesos rápidos. */
.td-portada-nueva .td-home-necro,
body.td-portada-nueva-plus .td-home-necro {
    order: 4;
    width: 100%;
}
