/* Estilos del Blog - María José Collantes - Versión Actualizada */

/* Contenedor principal - FONDO CAMBIADO A BLANCO/MARFIL */
.mjc-blog-container {
    max-width: 100%;
    margin: 0 auto;
    padding-left:20vw; /* REDUCCIÓN DE ESPACIOS INICIALES: de 80px a 60px */
	padding-right:20vw;
    font-family: "Cormorant Garamond", serif;
    background-color: #FFFFFF; /* CAMBIADO: de #F3EDE4 a blanco */
	padding-top:50px;
	padding-bottom:100px;
}

/* Título principal del blog mejorado */
.mjc-blog-header {
    text-align: center;
    margin-bottom: 40px; /* REDUCCIÓN DE ESPACIOS: margin más compacto */
}

.mjc-blog-main-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: #5D4037;
    margin-bottom: 15px; /* REDUCIDO: para menos separación */
    line-height: 1.2;
}

.mjc-blog-subtitle {
    font-size: 1.6rem; /* AUMENTO DE PRESENCIA: de 1.4rem a 1.6rem */
    color: #C4976B; /* DORADO MÁS CÁLIDO */
    font-weight: 400;
    font-style: italic;
    margin-bottom: 25px; /* REDUCIDO: menos separación con contenido */
    text-shadow: 0 1px 3px rgba(178, 143, 90, 0.2); /* SOMBRA SUTIL AÑADIDA */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Filtros de secciones - NUEVOS */
.mjc-blog-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.mjc-filter-btn {
    padding: 12px 25px;
    background: rgba(178, 143, 90, 0.1);
    border: 2px solid #B28F5A;
    color: #5D4037;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mjc-filter-btn:hover,
.mjc-filter-btn.active {
    background: #B28F5A;
    color: #F3EDE4;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(178, 143, 90, 0.3);
}

/* Secciones diferenciadas - NUEVO */
.mjc-blog-section {
    margin-bottom: 60px;
}

.mjc-section-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: #5D4037;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.mjc-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #B28F5A, #C4976B);
    border-radius: 2px;
}

.mjc-section-title.mujer::after {
    background: linear-gradient(90deg, #D4A574, #E8C4A0); /* Tono dorado cálido para sección mujer */
}

.mjc-section-title.marcas::after {
    background: linear-gradient(90deg, #B28F5A, #8B6914); /* Tono más intenso para marcas */
}

/* Grid de artículos mejorado */
.mjc-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px; /* REDUCCIÓN DE MARGEN ENTRE TARJETAS: de 40px a 30px */
    margin-bottom: 60px; /* REDUCIDO: de 80px a 60px */
}

/* Artículo individual en grid - TARJETAS MANTIENEN TONO ROSA/BEIGE */
.mjc-blog-post {
    background: rgba(220, 193, 165, 0.3); /* MANTENIDO: tono rosa/beige para contraste */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(93, 64, 55, 0.08);
    border: 1px solid rgba(178, 143, 90, 0.15);
    transition: all 0.4s ease;
    position: relative;
}

.mjc-blog-post:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(93, 64, 55, 0.15);
    border-color: rgba(178, 143, 90, 0.3);
}

/* Imagen destacada con overlay */
.mjc-post-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.mjc-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mjc-blog-post:hover .mjc-post-image img {
    transform: scale(1.08);
}

/* Overlay sutil en imagen */
.mjc-post-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(93, 64, 55, 0.1) 0%, rgba(178, 143, 90, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mjc-blog-post:hover .mjc-post-image::after {
    opacity: 1;
}

/* Contenido del post */
.mjc-post-content {
    padding: 35px 30px 40px;
    position: relative;
}

/* Categorías mejoradas con diferenciación por color */
.mjc-post-categories {
    margin-bottom: 20px;
    position: absolute;
    top: -15px;
    left: 30px;
    z-index: 2;
}

.mjc-category {
    display: inline-block;
    background: linear-gradient(135deg, #B28F5A 0%, #5D4037 100%);
    color: #F3EDE4;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 25px;
    margin-right: 8px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(178, 143, 90, 0.25);
}

/* DIFERENCIACIÓN POR CATEGORÍA */
.mjc-category.transformacion-personal {
    background: linear-gradient(135deg, #D4A574 0%, #B8956A 100%); /* Dorado cálido para transformación */
}

.mjc-category.branding-emocional {
    background: linear-gradient(135deg, #8B6914 0%, #5D4037 100%); /* Más intenso para branding */
}

/* Título del post mejorado */
.mjc-post-title {
    font-size: 1.9rem;
    font-weight: 500;
    margin-bottom: 15px;
    line-height: 1.3;
    margin-top: 15px;
    min-height: 65px;
}

.mjc-post-title a {
    color: #5D4037;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.mjc-post-title a:hover {
    color: #B28F5A;
    transform: translateX(3px);
}

/* Metadatos elegantes */
.mjc-post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #5D4037;
    opacity: 0.7;
    font-style: italic;
}

.mjc-post-author,
.mjc-post-date {
    position: relative;
}

.mjc-post-author::before {
    content: "✍️";
    margin-right: 5px;
}

.mjc-post-date::before {
    content: "📅";
    margin-right: 5px;
}

.mjc-post-author::after {
    content: "•";
    position: absolute;
    right: -9px;
    color: #B28F5A;
    font-weight: bold;
}

/* Excerpt mejorado */
.mjc-post-excerpt {
    font-size: 1.05rem;
    color: #5D4037;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.85;
    min-height: 48px;
}

/* Botón leer más elegante */
.mjc-read-more {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background: transparent;
    border: 2px solid #B28F5A;
    color: #B28F5A;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.mjc-read-more::after {
    content: "→";
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.mjc-read-more:hover {
    background-color: #B28F5A;
    color: #F3EDE4;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(178, 143, 90, 0.3);
}

.mjc-read-more:hover::after {
    transform: translateX(3px);
}

/* ============================================
   ESTILOS PARA ARTÍCULO INDIVIDUAL
   ============================================ */

/* Hero del artículo individual */
.mjc-single-post-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.mjc-single-post-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(93, 64, 55, 0.7) 0%, rgba(178, 143, 90, 0.5) 50%, rgba(243, 237, 228, 0.3) 100%);
    z-index: 1;
}

.mjc-single-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.mjc-single-post-categories {
    margin-bottom: 20px;
}

.mjc-single-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.9);
    color: #5D4037;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 25px;
    margin-right: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mjc-single-post-title {
    font-size: 3.5rem;
    font-weight: 400;
    color: #F3EDE4;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.mjc-single-post-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 1.1rem;
    color: #F3EDE4;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Contenido del artículo individual - FONDO BLANCO PARA LECTURA */
.mjc-single-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 40px;
    background-color: #FFFFFF; /* CAMBIADO: de #F3EDE4 a blanco para facilitar lectura */
    font-family: "Cormorant Garamond", serif;
}

.mjc-single-post-content h1,
.mjc-single-post-content h2,
.mjc-single-post-content h3,
.mjc-single-post-content h4,
.mjc-single-post-content h5,
.mjc-single-post-content h6 {
    color: #5D4037;
    font-weight: 500;
    margin: 40px 0 20px 0;
    line-height: 1.3;
}

.mjc-single-post-content h2 {
    font-size: 2.2rem;
    border-bottom: 2px solid rgba(178, 143, 90, 0.3);
    padding-bottom: 10px;
}

.mjc-single-post-content h3 {
    font-size: 1.8rem;
    color: #B28F5A;
}

.mjc-single-post-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #5D4037;
    margin-bottom: 25px;
    opacity: 0.9;
}

.mjc-single-post-content blockquote {
    background: rgba(178, 143, 90, 0.1);
    border-left: 4px solid #B28F5A;
    padding: 25px 30px;
    margin: 40px 0;
    font-style: italic;
    font-size: 1.3rem;
    color: #5D4037;
    border-radius: 0 8px 8px 0;
}

.mjc-single-post-content ul,
.mjc-single-post-content ol {
    padding-left: 30px;
    margin-bottom: 25px;
}

.mjc-single-post-content li {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #5D4037;
    margin-bottom: 10px;
    opacity: 0.9;
}

.mjc-single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 8px 30px rgba(93, 64, 55, 0.1);
}

/* Paginación mejorada */
.mjc-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 60px; /* REDUCIDO: de 80px a 60px */
    flex-wrap: wrap;
}

.mjc-page-prev,
.mjc-page-next,
.mjc-page-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    color: #5D4037;
    text-decoration: none;
    border: 2px solid rgba(178, 143, 90, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.5);
}

.mjc-page-prev:hover,
.mjc-page-next:hover,
.mjc-page-number:hover {
    background-color: #B28F5A;
    color: #F3EDE4;
    border-color: #B28F5A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(178, 143, 90, 0.3);
}

.mjc-page-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #B28F5A 0%, #5D4037 100%);
    color: #F3EDE4;
    border: 2px solid #B28F5A;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(178, 143, 90, 0.3);
}

/* Sin posts mejorado */
.mjc-no-posts {
    text-align: center;
    font-size: 1.4rem;
    color: #5D4037;
    opacity: 0.7;
    font-style: italic;
    padding: 80px 20px;
    background: rgba(220, 193, 165, 0.2); /* MANTENIDO: tono rosa/beige */
    border-radius: 12px;
    border: 2px dashed rgba(178, 143, 90, 0.3);
}

/* Responsive mejorado */
@media (max-width: 1024px) {
    .mjc-blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px; /* REDUCIDO también en responsive */
    }
    
    .mjc-blog-filters {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .mjc-blog-container {
        padding: 40px 15px; /* REDUCIDO: espacios iniciales más compactos */
    }
    
    .mjc-blog-main-title {
        font-size: 2.8rem;
    }
    
    .mjc-blog-subtitle {
        font-size: 1.4rem;
    }
    
    .mjc-blog-grid {
        grid-template-columns: 1fr;
        gap: 20px; /* MÁS REDUCIDO en móvil */
    }
    
    .mjc-blog-filters {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .mjc-filter-btn {
        width: 200px;
        text-align: center;
    }
    
    .mjc-post-content {
        padding: 25px 20px 30px;
    }
    
    .mjc-post-title {
        font-size: 1.6rem;
        min-height: auto;
    }
    
    .mjc-post-meta {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .mjc-post-author::after {
        display: none;
    }
    
    .mjc-post-image {
        height: 220px;
    }
    
    .mjc-post-categories {
        position: static;
        margin-bottom: 15px;
    }
    
    /* Single post responsive */
    .mjc-single-post-hero {
        height: 50vh;
        min-height: 400px;
        background-attachment: scroll;
    }
    
    .mjc-single-post-title {
        font-size: 2.5rem;
    }
    
    .mjc-single-post-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .mjc-single-post-content {
        padding: 40px 20px;
    }
    
    .mjc-single-post-content h2 {
        font-size: 1.8rem;
    }
    
    .mjc-single-post-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .mjc-blog-main-title {
        font-size: 2.2rem;
    }
    
    .mjc-post-title {
        font-size: 1.4rem;
    }
    
    .mjc-post-content {
        padding: 20px 15px 25px;
    }
    
    .mjc-post-image {
        height: 180px;
    }
    
    .mjc-single-post-title {
        font-size: 2rem;
    }
    
    .mjc-single-post-content {
        padding: 30px 15px;
    }
    
    .mjc-pagination {
        gap: 8px;
    }
    
    .mjc-page-prev,
    .mjc-page-next,
    .mjc-page-number,
    .mjc-page-current {
        min-width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

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

.mjc-blog-post {
    animation: fadeInUp 0.6s ease forwards;
}

.mjc-blog-post:nth-child(1) { animation-delay: 0.1s; }
.mjc-blog-post:nth-child(2) { animation-delay: 0.2s; }
.mjc-blog-post:nth-child(3) { animation-delay: 0.3s; }
.mjc-blog-post:nth-child(4) { animation-delay: 0.4s; }
.mjc-blog-post:nth-child(5) { animation-delay: 0.5s; }
.mjc-blog-post:nth-child(6) { animation-delay: 0.6s; }

/* Ocultar elementos no deseados */
#respond {
    display: none;
}

.comment-navigation .nav-links, 
.posts-navigation .nav-links, 
.post-navigation .nav-links {
    display: none;
}