/* ================================================================
   BLOG - Estilo Premium Patek
   Coherente con páginas estáticas
   Incluye soporte para thumbnail e imágenes
   ================================================================ */

/* CONTENEDOR PRINCIPAL ========================================= */
.page-content {
    background: #f8f7f4;
    min-height: 100vh;
    padding: 3rem 1.5rem;
}

.page-title {
    font-size: 3rem;
    color: #B19B6D;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 300;
    font-family: 'Lato', sans-serif;
    letter-spacing: 0.08em;
}

/* LISTADO DE POSTS ============================================= */
.blog-list {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    gap: 3rem;
}

/* TARJETA DE POST ============================================== */
.blog-item {
    background: #ffffff;
    border: 1px solid rgba(177, 155, 109, 0.15);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.blog-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(177, 155, 109, 0.15);
    border-color: rgba(177, 155, 109, 0.3);
}

/* THUMBNAIL EN TARJETA ========================================= */
.blog-thumbnail {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #e8e6e1;
    position: relative;
}

.blog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.blog-item:hover .blog-thumbnail img {
    transform: scale(1.05);
}

/* CONTENIDO DE TARJETA ========================================= */
.blog-item-content {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* TÍTULO DEL POST ============================================== */
.blog-title {
    font-size: 2rem;
    color: #2F435A;
    font-weight: 400;
    font-family: 'Lato', sans-serif;
    margin: 0 0 1rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.blog-item:hover .blog-title {
    color: #B19B6D;
}

/* META (FECHA Y CHIPS) ========================================= */
.blog-meta {
    margin-bottom: 1.5rem;
}

.blog-fecha {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 0;
    font-size: 1.3rem;
    color: #999;
    font-family: 'Lato', sans-serif;
}

.blog-fecha small {
    color: #999;
}

.chip {
    display: inline-block;
    background: rgba(177, 155, 109, 0.1);
    color: #B19B6D;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.chip-etiqueta {
    background: rgba(74, 144, 226, 0.1);
    color: #4A90E2;
}

/* RESUMEN ====================================================== */
.blog-resumen {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #2F435A;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    margin-bottom: 1.5rem;
    flex: 1;
}

/* BOTÓN LEER MÁS =============================================== */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #6284AB 0%, #357ABD 100%);
    color: #ffffff;
    padding: 0.75rem 2rem;
    border-radius: 100px;
    font-family: 'Lato', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    align-self: flex-start;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

/* ALERTA DE BLOQUEO ============================================ */
.abund-alert {
    background: rgba(255, 152, 0, 0.1);
    border-left: 4px solid #FF9800;
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.abund-alert p {
    font-size: 1.5rem;
    color: #2F435A;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    margin-bottom: 1rem;
}

/* PÁGINA DE DETALLE ============================================ */

/* Thumbnail en detalle (full width) */
.blog-detail-thumbnail {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    margin-bottom: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.blog-detail-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Contenido del post */
.blog-content {
    max-width: 800px;
    margin: 3rem auto;
    font-size: 1.6rem;
    line-height: 1.9;
    color: #2F435A;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

/* RESPONSIVE =================================================== */
@media (max-width: 768px) {
    .page-content {
        padding: 2rem 1rem;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .blog-thumbnail {
        height: 200px;
    }

    .blog-item-content {
        padding: 2rem;
    }

    .blog-title {
        font-size: 1.6rem;
    }

    .blog-fecha {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .blog-detail-thumbnail {
        max-height: 300px;
        margin-bottom: 2rem;
    }
}