/* Blog-specific styles */
.blog-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.6)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    margin-bottom: 2rem;
}

.blog-post-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.267);
    margin-bottom: 30px;
}

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

.blog-post-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

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

.blog-post-date {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(78, 115, 223, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.blog-post-content {
    padding: 20px;
}

.blog-post-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.blog-post-excerpt {
    color: #6c757d;
    margin-bottom: 15px;
}

.blog-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #6c757d;
}

.blog-post-author {
    display: flex;
    align-items: center;
}

.blog-post-author i {
    margin-right: 5px;
}

.read-more-btn {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more-btn:hover {
    color: var(--secondary-color);
}

/* Pagination and load more button styling */
#load-more-posts {
    margin-top: 20px;
    padding: 10px 30px;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-post-card {
        margin-bottom: 20px;
    }
    
    .blog-post-image {
        height: 150px;
    }
    
    .blog-post-title {
        font-size: 1.1rem;
    }
}

footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
}

footer p {
    color: #adb5bd;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Links sociais no rodapé - Versão flexbox */
.social-link {
    color: #fff;
    text-decoration: none;
    display: block; /* Usa flexbox */
    align-items: left; /* Alinha ícone e texto verticalmente */
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-bottom: 8px; /* Espaçamento entre os links */
}

.social-link i {
    margin-right: 8px; /* Espaçamento entre ícone e texto */
    font-size: 1.1rem;
    flex-shrink: 0; /* Impede que o ícone encolha */
    width: 20px; /* Largura fixa para alinhamento */
    text-align: left;
}

.social-link:hover {
    color: var(--accent-color);
}

.social-link:hover i {
    color: #fff;
    background: var(--accent-color);
    border-radius: 50%;
    padding: 3px;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
}

/* Responsividade */
@media (max-width: 768px) {
    .social-link {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    footer .col-md-6.text-md-end {
        text-align: left !important;
    }
}