/* ==========================================================================
   Prensa — port de PrensaView.vue
   Se mantiene el listado editorial (revista / titular / extracto / enlace
   externo). El modal de lectura del SPA se descarta: duplicaba el extracto y el
   enlace ya abre la publicación original.
   ========================================================================== */

.prensa-view {
    --bg: #faf8f5;
    --surface: #ffffff;
    --fg: var(--md-ink);
    --muted: var(--md-muted);
    --border: var(--md-line);
    --accent: var(--md-accent);
    --font-display: var(--md-serif);
    --font-brand: var(--md-display);
    --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;

    background-color: var(--bg);
    color: var(--fg);
    min-height: calc(100vh - 76px);
}

.prensa-view .page-main {
    max-width: 980px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 5rem;
}

/* Encabezado editorial */
.prensa-view .page-header {
    margin-bottom: 3.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.prensa-view .page-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.prensa-view .eyebrow {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-block;
    margin-bottom: 0.5rem;
}

.prensa-view .page-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--fg);
    letter-spacing: -0.01em;
}

.prensa-view .page-subtitle {
    max-width: 480px;
    font-size: 1.05rem;
    color: var(--muted);
    font-style: italic;
    font-family: var(--font-display);
    line-height: 1.5;
}

/* Sección de vídeo */
.prensa-view .video-section {
    margin-bottom: 4rem;
}

.prensa-view .video-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.prensa-view .video-player-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #121212;
}

.prensa-view .video-player-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Listado de artículos */
.prensa-view .articles-section {
    margin-bottom: 4rem;
}

.prensa-view .section-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prensa-view .section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--border);
}

.prensa-view .articles-empty-state {
    padding: 3rem 0;
    text-align: center;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.88rem;
}

.prensa-view .articles-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border);
}

.prensa-view .article-item {
    padding: 1.85rem 0;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: 2rem;
    align-items: baseline;
    transition: background-color 0.15s ease;
}

.prensa-view .article-meta-col {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.prensa-view .article-outlet {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--fg);
}

.prensa-view .article-date {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--muted);
}

.prensa-view .article-content-col {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.prensa-view .article-headline {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.35;
    color: var(--fg);
    transition: color 0.2s ease;
}

.prensa-view .article-item:hover .article-headline {
    color: var(--accent);
}

.prensa-view .article-excerpt {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.6;
}

.prensa-view .article-action-col {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.prensa-view .btn-read {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    color: var(--fg);
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    background-color: var(--surface);
    transition: all 0.2s ease;
    min-height: 44px;
    white-space: nowrap;
    cursor: pointer;
}

.prensa-view .btn-read:hover {
    border-color: var(--accent);
    color: var(--accent);
    background-color: var(--bg);
}

.prensa-view .btn-read svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.prensa-view .btn-read:hover svg {
    transform: translateX(2px);
}

/* Artículo sin URL válida: se muestra como texto, no como botón. */
.prensa-view .article-no-link {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--muted);
    padding: 0.5rem 0.25rem;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 820px) {
    .prensa-view .article-item {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .prensa-view .article-action-col {
        justify-content: flex-start;
        margin-top: 0.5rem;
    }
}
