/* Estilos específicos para o Blog */

/* Hero Section */
.blog-header {
    background: linear-gradient(45deg, #1a237e 0%, #283593 100%);
    padding: 5rem 0;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.blog-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png');
    opacity: 0.1;
}

.blog-header h1 {
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.blog-header .lead {
    font-size: 1.25rem;
    opacity: 0.9;
    position: relative;
}

/* Blog Cards */
.blog-card {
    height: 100%;
    transition: all 0.3s ease;
    border: none;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    background: #fff;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.blog-card .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .card-img-top {
    transform: scale(1.05);
}

.blog-card .card-body {
    padding: 1.5rem;
}

.blog-card .card-title {
    color: #1a237e;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card .card-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

.blog-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-meta i {
    color: #1a237e;
}

/* Botões */
.btn-blog {
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: #1a237e;
    color: white;
    border: 2px solid #1a237e;
}

.btn-blog:hover {
    background-color: #283593;
    border-color: #283593;
    transform: translateY(-2px);
}

/* Artigo Individual */
.blog-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.blog-article h1 {
    color: #1a237e;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.blog-article .article-meta {
    color: #666;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.blog-article .article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.blog-article .article-content h2 {
    color: #1a237e;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-article .article-content p {
    margin-bottom: 1.5rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .blog-header {
        padding: 3rem 0;
    }
    
    .blog-header h1 {
        font-size: 2rem;
    }
    
    .blog-card .card-img-top {
        height: 180px;
    }
    
    .blog-article h1 {
        font-size: 2rem;
    }
} 