/* ============================================================
   SECCIÓN DE BLOG/NOTICIAS
   ============================================================ */

.blog-section {
    padding: 80px 0;
    background: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.blog-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f0f0f0;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
    font-size: 48px;
}

.blog-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #999;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-content h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 600;
}

.blog-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
    text-align: justify;
    flex-grow: 1;
}

.blog-actions {
    text-align: center;
    margin-top: auto;
    padding-top: 10px;
}

/* ============================================================
   SECCIÓN DE FAQ
   ============================================================ */

.faq-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: white;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f9f9f9;
    color: var(--primary-color);
}

.faq-question i {
    font-size: 14px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #fafafa;
}

.faq-answer.active {
    max-height: 500px;
    padding: 20px 25px;
    border-top: 1px solid #e0e0e0;
}

.faq-answer p {
    color: #666;
    line-height: 1.8;
    margin: 0;
    font-size: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-section,
    .faq-section {
        padding: 60px 0;
    }
    
    .blog-content h3 {
        font-size: 20px;
    }
    
    .faq-question {
        padding: 18px 20px;
        font-size: 15px;
    }
    
    .faq-answer.active {
        padding: 18px 20px;
    }
}
