/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    background-color: #fafafa;
    color: #363737;
    line-height: 1.6;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Logos */
.logos {
    text-align: center;
    margin-bottom: 30px;
}

.logo-gif {
    max-width: 150px;
    height: auto;
    margin-bottom: 0px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.logo-static {
    max-width: 200px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Cabecera */
header {
    text-align: center;
    margin-bottom: 50px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 40px;
}

h1 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
    color: #363737;
    letter-spacing: -0.5px;
}

.manifiesto {
    font-size: 1.1em;
    line-height: 1.8;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* Botones */
.acciones {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.boton {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.boton-primario {
    background-color: #e11d48;
    color: #ffffff;
    border-color: #e11d48;
}

.boton-primario:hover {
    background-color: #be123c;
    border-color: #be123c;
}

.boton-secundario {
    background-color: transparent;
    color: #e11d48;
    border-color: #e11d48;
}

.boton-secundario:hover {
    background-color: #e11d48;
    color: #ffffff;
}

/* Textos destacados */
.destacados {
    margin-bottom: 80px;
}

.destacados h2 {
    font-size: 1.8em;
    font-weight: 500;
    margin-bottom: 40px;
    color: #363737;
    text-align: center;
}

.grid-articulos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.articulo {
    background-color: #fafafa;
    border-radius: 0px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}



.articulo:hover .articulo-footer {
    opacity: 1;
}

.articulo a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.articulo-imagen {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: #f0f0f0;
    border-radius: 8px;
}

.articulo-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.articulo-contenido {
    padding: 16px;
}

.articulo h3 {
    font-size: 1.1em;
    font-weight: 500;
    line-height: 1.4;
    color: #363737;
    margin-bottom: 8px;
}

.articulo-descripcion {
    font-size: 0.9em;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.articulo-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85em;
    color: #999;
    margin-bottom: 8px;
}

.articulo-fecha {
    text-transform: uppercase;
    text-align: center;
    font-weight: 400;
}

.articulo-autor {
    color: #666;
}

.articulo-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 16px 16px 16px;
    font-size: 0.85em;
    color: #999;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.articulo-stat {
    display: flex;
    align-items: center;
    gap: 6px;
}

.articulo-stat svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-articulos {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .grid-articulos {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .articulo-footer {
        opacity: 1; /* En móvil siempre visible */
    }
}

/* Footer */
footer {
    text-align: center;
    padding-top: 60px;
    border-top: 1px solid #e5e5e5;
    color: #999;
    font-size: 0.9em;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-articulos {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2em;
    }
    
    .manifiesto {
        font-size: 1em;
    }
    
    .acciones {
        flex-direction: column;
    }
    
    .boton {
        width: 100%;
        text-align: center;
    }
    
    .grid-articulos {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .logo-gif,
    .logo-static {
        max-width: 120px;
    }
}