/* Encabezado con la misma foto del blog (oscura / clara según el tema, ver
   page/blog.css) en lugar de la franja negra, sin breadcrumb: solo la foto,
   con el final desvanecido en el fondo de la página. Más baja que antes
   (440 -> 300) para que el contenido suba más. */
.tc-article-hero {
    --tc-hero-img: url('/img/page/search/size-hero.jpg');
    background-color: #101018;
    background-image: var(--tc-hero-img);
    background-repeat: no-repeat;
    background-position: center 70%;
    background-size: cover;
    min-height: 300px;
    -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 65%, transparent 100%);
}
:root[data-theme="light"] .tc-article-hero {
    --tc-hero-img: url('/img/page/search/size-hero-light.jpg');
    background-color: #f4f4f6;
}
@media (max-width: 767.98px) {
    .tc-article-hero {
        background-position: 82% bottom;
        min-height: 220px;
    }
}

/* ===== Formato revista (tipo NYT) ===== */
.tc-article-page { padding: 40px 0 80px; }

.tc-article-headline {
    max-width: 760px;
    margin: 0 auto 32px;
    text-align: center;
}
.tc-article-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--tc-p-orange, #ff5c00);
    background: rgba(255, 92, 0, .1);
    border-radius: 999px;
    padding: 4px 12px;
    margin-bottom: 14px;
}
.tc-article-title {
    font-size: clamp(1.6rem, 3.2vw, 2.6rem);
    line-height: 1.2;
    margin: 0 0 14px;
}
.tc-article-hook {
    font-size: 18px;
    font-style: italic;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 16px;
}
:root:not([data-theme="light"]) .tc-article-hook { color: rgba(255,255,255,.6); }
.tc-article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: #9ca3af;
}
.tc-article-date { display: inline-flex; align-items: center; gap: 6px; }
.tc-article-date i { color: var(--tc-p-orange, #ff5c00); }
.tc-article-photo-credit::before { content: '·'; margin-right: 14px; }

/* ── Dos columnas: contenido + sidebar "Más artículos" ── */
.tc-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 48px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}
@media (max-width: 991.98px) {
    .tc-article-layout { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
    .tc-article-page { padding-left: 20px; padding-right: 20px; }
}

.tc-article-cover {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 20px;
}

.tc-article-lead {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 20px;
}

.tc-article-highlight {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(255, 92, 0, .08);
    border-left: 3px solid var(--tc-p-orange, #ff5c00);
    border-radius: 8px;
    padding: 14px 18px;
    margin: 0 0 20px;
    font-weight: 600;
}
.tc-article-highlight i {
    color: var(--tc-p-orange, #ff5c00);
    margin-top: 2px;
}

.tc-article-body {
    font-size: 16px;
    line-height: 1.9;
}
.tc-article-body p { margin: 0 0 18px; }

.tc-article-attribution {
    margin-top: 28px;
    padding-top: 14px;
    border-top: 1px solid rgba(128,128,128,.25);
    font-size: 12px;
    color: #9ca3af;
}

/* ── Sidebar "Más artículos" ── */
.tc-article-sidebar { position: sticky; top: 24px; }
.tc-article-sidebar-title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--tc-p-orange, #ff5c00);
}
.tc-article-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.tc-article-sidebar-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}
.tc-article-sidebar-thumb {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(155deg, #2a2a35, #111116);
    display: flex;
    align-items: center;
    justify-content: center;
}
.tc-article-sidebar-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tc-article-sidebar-thumb i { color: rgba(255,255,255,.25); font-size: 22px; }
.tc-article-sidebar-item-body { min-width: 0; }
.tc-article-sidebar-date {
    display: block;
    font-size: 11px;
    color: #9ca3af;
    margin-bottom: 3px;
}
.tc-article-sidebar-item h3 {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    color: inherit;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tc-article-sidebar-item:hover h3 { color: var(--tc-p-orange, #ff5c00); }

@media (max-width: 991.98px) {
    .tc-article-sidebar { position: static; }
}

.compact-html {
    white-space: normal;
}
