/**
 * Blog Page Clean - White Hero Design (Matching FAQ/Pricing/Contact)
 * Version: 2.0.0
 */

.blog-page-clean {
    background: #ffffff;
    min-height: 100vh;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   HERO SECTION - White Clean Design
   ========================================================================== */

.blog-hero-clean {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle pattern background */
.blog-hero-clean::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 145, 77, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(23, 70, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.blog-hero-clean .blog-container {
    position: relative;
    z-index: 1;
}

.blog-hero-clean .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.blog-title-clean {
    font-size: 3rem;
    font-weight: 700;
    color: #2d3436;
    margin: 0 0 20px;
    line-height: 1.2;
}

.blog-subtitle-clean {
    font-size: 1.2rem;
    color: #636e72;
    line-height: 1.6;
    margin: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   POSTS SECTION
   ========================================================================== */

.blog-posts-clean {
    padding: 50px 0 80px; /* Reducido padding top de 60px a 50px */
}

.posts-grid-clean {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

/* Post Cards - Same as archive */
.post-card-clean {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
}

.post-card-clean:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: #FF914D;
}

.post-thumbnail-link {
    display: block;
    overflow: hidden;
    background: #f8f9fa;
}

.post-thumb-clean {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card-clean:hover .post-thumb-clean {
    transform: scale(1.05);
}

.post-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-grow: 1;
}

.post-category-badge {
    display: inline-block;
    background: rgba(255, 145, 77, 0.1);
    color: #FF914D;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
}

.post-title-clean {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.post-title-clean a {
    color: #2d3436;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title-clean a:hover {
    color: #FF914D;
}

.post-excerpt-clean {
    color: #636e72;
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

.post-meta-clean {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.6rem;
    color: #636e72;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    margin-top: auto;
}

.post-meta-clean time::before {
    content: '📅';
    margin-right: 6px;
}

/* Pagination */
.blog-pagination-clean {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.blog-pagination-clean .page-numbers {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-pagination-clean .page-numbers a,
.blog-pagination-clean .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    color: #2d3436;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-pagination-clean .page-numbers a:hover {
    background: #FF914D;
    border-color: #FF914D;
    color: #ffffff;
    transform: translateY(-2px);
}

.blog-pagination-clean .page-numbers .current {
    background: #FF914D;
    border-color: #FF914D;
    color: #ffffff;
}

/* No Posts */
.no-posts-clean {
    text-align: center;
    padding: 80px 20px;
}

.no-posts-clean p {
    font-size: 1.2rem;
    color: #636e72;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 992px) {
    .posts-grid-clean {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .blog-title-clean {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .blog-hero-clean {
        padding: 105px 20px 40px; /* Aumentado padding top para mobile */
    }

    .blog-title-clean {
        font-size: 2.2rem;
    }

    .blog-subtitle-clean {
        font-size: 1rem;
    }

    .posts-grid-clean {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .blog-posts-clean {
        padding: 40px 0 60px; /* Menos padding arriba para que posts suban */
    }

    .post-card-content {
        padding: 24px;
    }

    .post-title-clean {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .blog-title-clean {
        font-size: 1.8rem;
    }
    
    .blog-subtitle-clean {
        font-size: 0.95rem;
    }

    .post-card-content {
        padding: 20px;
    }
}
