/* ==========================================
   PALETA DE COLORES (Inspirada en el Logo)
========================================== */

:root {

    --oro-principal: #CCA12C;
    --verde-oscuro: #1D3528;
    --fondo-claro: #F9F9F7;
    --blanco-puro: #FFFFFF;
    --texto-suave: #4A554A;

}

/* ==========================================
   ESTILOS GENERALES
========================================== */

body {

    font-family: 'Playfair Display', 'Georgia', serif;
    background-color: var(--fondo-claro);
    color: var(--verde-oscuro);
    margin: 0;
    padding: 0;
    line-height: 1.6;

}

.container {

    width: 90%;
    max-width: 700px;
    margin: 40px auto;
    padding: 20px;
    box-sizing: border-box;

}

/* ==========================================
   ELEMENTOS DE LA ANTESALA (index.php)
========================================== */

.logo-container {

    text-align: center;
    margin-bottom: 40px;

}

.logo-container img {

    max-width: 300px;
    width: 100%;
    height: auto;

}

/* Línea divisoria */

.linea-divisoria {

    height: 2px;
    background: radial-gradient(circle, var(--oro-principal) 0%, transparent 70%);
    margin: 20px auto;
    width: 60%;

}

h1,
h2,
h3 {

    font-weight: 400;
    color: var(--verde-oscuro);
    text-align: center;

}

/* ==========================================
   BOTONES DE LA ANTESALA
========================================== */

.opciones-container {

    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;

}

.btn-proyecto {

    display: inline-block;
    padding: 15px 35px;
    background-color: var(--blanco-puro);
    color: var(--verde-oscuro);
    text-decoration: none;
    border: 2px solid var(--oro-principal);
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(29, 53, 40, 0.05);
    text-align: center;

}

.btn-proyecto:hover {

    background-color: var(--verde-oscuro);
    color: var(--blanco-puro);
    border-color: var(--verde-oscuro);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(29, 53, 40, 0.15);

}


/* ==========================================
   ESTILOS DEL LECTOR RSS
========================================== */

.btn-volver {

    display: inline-block;
    color: var(--oro-principal);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 30px;
    font-weight: bold;
    transition: color 0.2s;

}

.btn-volver:hover {

    color: var(--verde-oscuro);

}

/* Tarjetas */

.tarjeta-noticia {

    background: var(--blanco-puro);
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 4px;
    border-top: 3px solid var(--oro-principal);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s;

}

.tarjeta-noticia:hover {

    transform: scale(1.01);

}

.tarjeta-noticia h3 {

    text-align: left;
    margin-top: 0;
    font-size: 1.4rem;

}

.tarjeta-noticia h3 a {

    color: var(--verde-oscuro);
    text-decoration: none;
    transition: color 0.2s;

}

.tarjeta-noticia h3 a:hover {

    color: var(--oro-principal);

}

.tarjeta-noticia .fecha {

    font-size: 0.85rem;
    color: var(--oro-principal);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;

}

.tarjeta-noticia .descripcion {

    color: var(--texto-suave);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;

}

/* ==========================================
   VERSIÓN MÓVIL
========================================== */

@media (max-width: 768px) {

    .container {
        width: 95%;
        margin: 20px auto;
        padding: 15px;
    }

    .logo-container img {
        max-width: 180px;
    }

    .linea-divisoria {
        width: 80%;
    }

  .opciones-container {
        display: flex;
        flex-direction: column ;
        align-items: center;
        gap: 15px;
    }
    
     .btn-proyecto {
        width: auto;
        max-width: none;
    }

    h2 {
        font-size: 1.3rem;
    }

    .tarjeta-noticia {
        padding: 18px;
    }

    .tarjeta-noticia h3 {
        font-size: 1.2rem;
    }

}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.whatsapp-icon {
    display: flex;
    align-items: center;
}