/* ===============================================
   📰 STATIC.CSS — Slow Step · Estilo Noticia Fluido
   📱 Full responsive + Cinemático + Legible
=============================================== */

@import url('comon.css');

/* 🌍 Fondo base */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    font-family: 'Roboto', sans-serif;
    background: radial-gradient(circle at 25% 20%, #16243a, #0e1a2b 70%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

/* 💠 Contenedor principal */
.article-wrapper {
    background: rgba(34, 51, 74, 0.85);
    border: 1px solid rgba(178,142,93,0.25);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
    width: min(92vw, 850px);
    margin: 8vh auto 4vh;
    padding: 2.5rem 2rem;
    animation: fadeUp 1s ease-out;
    box-sizing: border-box;
    backdrop-filter: blur(6px);
    text-align: justify;
    line-height: 1.75;
}

/* 🖼 Imagen superior */
.article-wrapper img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 1.8rem;
    box-shadow: 0 0 20px rgba(178,142,93,0.25);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1.2s ease-out 0.2s forwards;
}

/* 📰 Titular */
.article-wrapper h1 {
    color: var(--gold);
    text-align: center;
    font-size: clamp(2rem, 6vw, 2.8rem);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(178,142,93,0.35);
    margin: 0 0 1.5rem;
    opacity: 0;
    animation: fadeUp 1.2s ease-out 0.4s forwards;
}

/* 📖 Párrafos y listas */
.article-wrapper p,
.article-wrapper ul {
    font-size: clamp(1rem, 2.8vw, 1.2rem);
    color: #dbe2eb;
    margin-bottom: 1.2rem;
    opacity: 0;
    animation: fadeUp 1s ease-out 0.6s forwards;
}

.article-wrapper ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}
.article-wrapper li::before {
    content: "• ";
    color: var(--gold);
    font-weight: bold;
}

/* 🔗 Enlaces */
a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
}
a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* 🧾 Footer */
footer {
    text-align: center;
    font-size: clamp(0.85rem, 3vw, 1rem);
    color: #9ba5b2;
    margin: 1rem 0 2rem;
    opacity: 0.9;
}

/* ✨ Animaciones */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 🌠 Barrido de luz dorado */
.article-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,240,200,0.15) 45%,
        rgba(255,240,200,0.25) 50%,
        rgba(255,240,200,0.15) 55%,
        rgba(255,255,255,0) 100%
    );
    animation: lightSweep 8s ease-in-out infinite;
    pointer-events: none;
    border-radius: 18px;
    opacity: 0.15;
}

@keyframes lightSweep {
    0%, 90%, 100% { transform: translateX(-120%); }
    40% { transform: translateX(120%); }
}

/* 🌟 Responsive móvil */
@media (max-width: 768px) {
    .article-wrapper {
        padding: 1.8rem 1.2rem;
        border-radius: 14px;
        margin: 5vh auto;
        text-align: left;
    }

    .article-wrapper h1 {
        font-size: clamp(2.2rem, 8vw, 2.6rem);
        line-height: 1.25;
        margin-bottom: 1.2rem;
    }

    .article-wrapper p {
        font-size: clamp(1.05rem, 4vw, 1.3rem);
        line-height: 1.65;
    }
}
/* 🧾 Justificar textos principales */
.article-wrapper p,
.article-wrapper li {
    text-align: justify;
    text-justify: inter-word;
}

/* ==========================================
   🌐 ICONOS DE REDES SOCIALES — Centrados y 60%
========================================== */
.redes {
  margin-top: 2rem;
  text-align: center;           /* ✅ centra todo el contenido */
  font-size: 1.1rem;
  color: #e0e6ee;
}

.redes a {
  display: inline-block;
  margin: 0 0.6rem;
  text-decoration: none;
}

.redes img {
  width: 60%;
  max-width: 60px;              /* 🔹 límite superior en escritorio */
  height: auto;
  vertical-align: middle;
  filter: brightness(0.9) drop-shadow(0 0 6px rgba(178,142,93,0.3));
  border-radius: 8px;
  transition: transform 0.25s ease, filter 0.3s ease;
}

.redes a:hover img {
  transform: scale(1.15);
  filter: brightness(1.2) drop-shadow(0 0 10px rgba(178,142,93,0.6));
}

