/* ============================================================
   09-NEWS.CSS — Páginas de Noticias / Artículos
   dimonix.gg
   ============================================================ */

/* ── 1. LAYOUT PRINCIPAL ── */
.news-layout-wrapper {
    display: flex; flex-direction: column;
    height: 100vh;
    overflow: hidden;
    background-color: #f8f9fa;
}
.news-scroll-area {
    flex: 1; overflow-y: auto;
    scroll-behavior: smooth;
}
.news-scroll-area::-webkit-scrollbar       { width: 8px; }
.news-scroll-area::-webkit-scrollbar-track { background: rgba(0,0,0,0.1); }
.news-scroll-area::-webkit-scrollbar-thumb { background: var(--brand-primary); border-radius: 4px; }

/* ── 2. HERO DE LA NOTICIA ── */
.news-hero {
    position: relative; height: 60vh; width: 100%;
    overflow: hidden; background-color: #333;
}
.news-hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.news-hero-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 40px 10% 80px 10%;
    color: #fff; z-index: 1;
}
.news-tag {
    background-color: #e63946; color: white;
    padding: 5px 12px; font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; border-radius: 4px; letter-spacing: 1px;
}
.news-tag-result { background-color: #e74c3c; color: white; }
.news-title   { font-size: 3.5rem; margin: 15px 0; line-height: 1.1; font-family: "Oswald", sans-serif; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.news-meta    { font-size: 1rem; opacity: 0.9; font-weight: 300; }

/* ── 3. CONTENIDO ARTÍCULO ── */
.news-content-container {
    max-width: 960px;
    margin: -40px auto 60px auto;
    background: white;
    padding: 60px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-radius: 8px;
    z-index: 10;
}
.news-lead {
    font-size: 1.35rem; font-weight: 500; line-height: 1.5;
    margin-bottom: 35px; color: #222;
    border-left: 5px solid #e63946; padding-left: 25px;
}
.news-body p  { font-size: 1.15rem; line-height: 1.8; color: #444; margin-bottom: 25px; }
.news-body h3 { font-size: 1.8rem; margin-top: 45px; margin-bottom: 20px; color: #111; border-bottom: 2px solid #f0f0f0; padding-bottom: 10px; }

/* ── 4. GALERÍA ── */
.news-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 40px 0; }
.gallery-item img { width: 100%; height: 280px; object-fit: cover; border-radius: 6px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); background-color: #eee; }
.gallery-item figcaption { font-size: 0.9rem; color: #777; margin-top: 10px; text-align: center; font-style: italic; }

/* ── 5. SECCIÓN CC (DESPLIEGUE MEDIOS) ── */
.news-divider { border: 0; height: 1px; background: #e0e0e0; margin: 50px 0; }
.media-coverage-section { background-color: #f4f6f8; padding: 40px; border-radius: 10px; border-left: 5px solid #333; }

.creators-list {
    list-style: none; padding: 0; margin-top: 30px;
    display: flex; flex-direction: row; justify-content: space-between; gap: 15px;
}
.creators-list li {
    background: #fff; padding: 20px 10px; border-radius: 8px;
    text-align: center; box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e1e4e8; flex: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.creators-list li:hover { transform: translateY(-5px); box-shadow: 0 8px 15px rgba(0,0,0,0.1); border-color: #ccc; }
.cc-name  { display: block; font-weight: 800; font-size: 1.1rem; color: #000; margin-bottom: 5px; }
.cc-role  { display: block; font-size: 0.8rem; color: #666; text-transform: uppercase; letter-spacing: 0.5px; }
.pm-box   { margin-top: 30px; padding-top: 25px; border-top: 1px dashed #c0c0c0; font-style: italic; color: #555; text-align: center; font-size: 1.05rem; }
.pm-box strong { color: #e63946; font-weight: 800; font-size: 1.2em; }
.news-footer-note { margin-top: 50px; font-size: 0.95rem; text-align: center; color: #888; }

/* ── 6. NAVEGACIÓN ENTRE NOTICIAS ── */
.news-navigation { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.nav-label       { font-size: 0.85rem; text-transform: uppercase; color: #888; margin-bottom: 15px; letter-spacing: 1px; }
.nav-link-card {
    display: flex; align-items: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px; overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px;
}
.nav-link-card:hover { background: rgba(255,255,255,0.1); transform: translateX(5px); border-color: #666; }
.nav-thumbnail      { width: 80px; height: 60px; flex-shrink: 0; border-radius: 4px; overflow: hidden; margin-right: 15px; }
.nav-thumbnail img  { width: 100%; height: 100%; object-fit: cover; }
.nav-info           { display: flex; flex-direction: column; flex-grow: 1; }
.nav-date           { font-size: 0.75rem; color: #aaa; margin-bottom: 4px; }
.nav-title          { font-size: 1rem; font-weight: 700; color: #fff; line-height: 1.2; }
.nav-arrow          { padding: 0 15px; font-size: 1.5rem; color: #666; font-weight: bold; }

/* ── 7. RESPONSIVE NEWS ── */

/* 4K */
@media (min-width: 3840px) {
    .news-hero         { height: 55vh; }
    .news-title        { font-size: 6rem; }
    .news-content-container { max-width: 1400px; padding: 80px; }
    .news-body p       { font-size: 1.4rem; }
}

/* 2K */
@media (min-width: 1921px) {
    .news-hero-overlay { padding: 60px 12% 100px 12%; }
    .news-title        { font-size: 5rem; }
    .news-content-container { max-width: 1200px; }
}

/* Tablet (≤ 992px) */
@media (max-width: 992px) {
    .news-title        { font-size: 2.5rem; }
    .news-content-container { padding: 40px; margin-top: -20px; }
    .news-hero-overlay { padding-bottom: 50px; }
    .creators-list     { flex-wrap: wrap; justify-content: center; }
    .creators-list li  { flex: 0 0 30%; margin-bottom: 10px; }
}

/* iPad Air (820px) */
@media (max-width: 912px) and (min-width: 600px) {
    .news-hero         { height: 45vh; }
    .news-title        { font-size: 2.2rem; }
    .news-gallery      { gap: 15px; }
    .gallery-item img  { height: 230px; }
    .creators-list li  { flex: 0 0 45%; }
}

/* Móvil (≤ 600px) */
@media (max-width: 600px) {
    .news-hero         { height: 50vh; }
    .news-title        { font-size: 1.8rem; }
    .news-hero-overlay { padding: 20px 5% 40px 5%; }
    .news-content-container { margin: 0; width: 100%; padding: 25px; border-radius: 0; }
    .news-gallery      { grid-template-columns: 1fr; }
    .gallery-item img  { height: 220px; }
    .creators-list li  { flex: 0 0 45%; }
    .nav-thumbnail     { width: 60px; height: 45px; }
}

/* iPhone SE (≤ 375px) */
@media (max-width: 375px) {
    .news-title        { font-size: 1.5rem; }
    .news-lead         { font-size: 1.1rem; }
    .news-body p       { font-size: 1rem; }
    .creators-list li  { flex: 0 0 100%; }
}
