/* ============================================================
   NOTICIA.CSS — Artículo de noticias
   Mismo lenguaje que el resto de la web: fondo oscuro, esquinas
   biseladas, titulares en la fuente de marca y acento cian/azul.
   ============================================================ */

.art {
    flex: 1;
    min-height: 0;
    margin-top: var(--header-height);
    overflow-y: auto;
    background:
        linear-gradient(rgba(10, 11, 14, 0.9), rgba(10, 11, 14, 0.97)),
        url('../img/fondo.webp') center top / cover no-repeat fixed;
    scrollbar-width: thin;
    scrollbar-color: var(--brand-primary) rgba(255, 255, 255, 0.06);
}

/* ── Cabecera del artículo ── */
.art-hero {
    position: relative;
    min-height: clamp(260px, 46vh, 460px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #0b0c0f;
    border-bottom: 1px solid rgba(0, 204, 255, 0.22);
}
.art-hero-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.art-hero::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(8, 9, 12, 0.98) 4%, rgba(8, 9, 12, 0.7) 45%, rgba(8, 9, 12, 0.25) 100%);
}
.art-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    padding: 28px 24px 34px;
}
.art-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-family: "Courier New", monospace;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    transition: var(--transition);
}
.art-back:hover { color: #00ccff; }
.art-hero .news-chip { display: table; margin-bottom: 14px; }
.art-title {
    font-size: clamp(1.6rem, 3.6vw, 3.1rem);
    line-height: 1.06;
    letter-spacing: 0;
    color: #fff;
    text-wrap: balance;
}
.art-meta {
    margin-top: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

/* ── Cuerpo ── */
.art-body {
    max-width: 780px;
    margin: 0 auto;
    padding: clamp(26px, 5vh, 52px) 24px 70px;
    color: #d9dde3;
    font-size: 1.08rem;
    line-height: 1.8;
}
.art-body > * + * { margin-top: 1.25em; }
.art-lead {
    padding-left: 18px;
    border-left: 3px solid var(--cal-val, #ff4655);
    font-size: 1.22rem;
    font-weight: 600;
    line-height: 1.6;
    color: #fff;
}
.art-body h2 {
    margin-top: 2em;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    letter-spacing: 0.5px;
    color: #fff;
}
.art-body strong { color: #fff; font-weight: 800; }
.art-body em { color: #e8ebf0; }
.art-body a { color: #00ccff; text-decoration: underline; text-underline-offset: 3px; }
.art-body a:hover { color: #fff; }

.art-body ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    padding: 0;
}
.art-body li {
    padding: 12px 16px;
    font-size: 0.98rem;
    line-height: 1.4;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--brand-bright, #8576ff);
}

.art-body blockquote {
    padding: 20px 22px;
    background: rgba(46, 15, 215, 0.14);
    border: 1px solid rgba(133, 118, 255, 0.35);
    clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}
.art-body blockquote p { font-size: 1.02rem; color: #e6e8f5; }

.art-gallery { display: grid; gap: 16px; margin-top: 2em; }
.art-gallery-2 { grid-template-columns: 1fr 1fr; }
.art-gallery figure { margin: 0; }
.art-gallery img {
    width: 100%;
    height: clamp(200px, 34vh, 380px);
    object-fit: cover;
    background: #0f1012;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.art-gallery-2 img { height: clamp(180px, 26vh, 280px); }
.art-gallery figcaption {
    margin-top: 8px;
    font-size: 0.82rem;
    font-style: italic;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.6);
}

/* ── Anterior / siguiente ── */
.art-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 3.2em;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.art-body a.art-nav-card {
    display: flex;
    gap: 14px;
    align-items: stretch;
    padding: 10px;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}
.art-body a.art-nav-card:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--brand-bright, #8576ff); }
.art-nav-next { flex-direction: row-reverse; text-align: right; }
.art-nav-card img { width: 96px; height: 72px; object-fit: cover; flex-shrink: 0; }
.art-nav-text { display: flex; flex-direction: column; gap: 3px; justify-content: center; min-width: 0; line-height: 1.3; }
.art-nav-label { font-family: "Courier New", monospace; font-size: 0.66rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #00ccff; }
.art-nav-title { font-size: 0.92rem; font-weight: 800; color: #fff; }
.art-nav-date { font-size: 0.76rem; color: rgba(255, 255, 255, 0.6); }

/* ── Modo claro: el artículo sigue siendo oscuro, como las secciones de la portada ── */

/* ── Móvil ── */
@media (max-width: 1200px) {
    .art { overflow: visible; }
}
@media (max-width: 700px) {
    .art-body { font-size: 1rem; padding-left: 18px; padding-right: 18px; }
    .art-lead { font-size: 1.08rem; }
    .art-gallery-2, .art-nav { grid-template-columns: 1fr; }
    .art-nav-next { flex-direction: row; text-align: left; }
}
