/* ============================================
   BLOG MODERNO - EMANUELA SILVA MENTORIA
   ============================================ */

/* Blog Header Section */
.blog-header-section {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    padding: 120px 0 60px;
    margin-top: 60px;
    text-align: center;
}

.blog-main-title {
    font-size: 3rem;
    font-weight: 900;
    color: #ffd700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.blog-subtitle {
    font-size: 1.25rem;
    color: #fff;
    opacity: 0.9;
}

/* Blog Content Section */
.blog-content-section {
    background-color: #fff;
    color: #000;
    min-height: 60vh;
}

/* Blog Posts Grid */
.blog-posts-grid {
    display: grid;
    gap: 30px;
}

/* Blog Card */
.blog-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.blog-card-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

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

.blog-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover .blog-card-overlay {
    opacity: 1;
}

.btn-read-more {
    width: 60px;
    height: 60px;
    background: #ffd700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    background: #fff;
    transform: scale(1.1);
    color: #000;
}

.blog-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.blog-meta-date,
.blog-meta-read-time {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-meta-date i,
.blog-meta-read-time i {
    color: #ffd700;
}

.blog-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-card-title a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: #ffd700;
}

.blog-card-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.btn-blog-read {
    background: #ffd700;
    color: #000;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-blog-read:hover {
    background: #000;
    color: #ffd700;
    transform: translateX(5px);
}

.blog-share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #fff;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

/* Blog Empty State */
.blog-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.blog-empty-state i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.blog-empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #000;
}

/* Blog Pagination */
.blog-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.blog-pagination .pagination {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.blog-pagination .page-item {
    margin: 0;
}

.blog-pagination .page-link {
    padding: 10px 15px;
    border: 2px solid #ffd700;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.blog-pagination .page-link:hover,
.blog-pagination .page-item.active .page-link {
    background: #ffd700;
    color: #000;
    border-color: #ffd700;
}

/* Blog Sidebar */
.blog-sidebar {
    padding-left: 30px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.sidebar-widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ffd700;
}

/* Sidebar CTA */
.sidebar-cta {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #000;
    text-align: center;
}

.sidebar-cta .sidebar-widget-title {
    color: #000;
    border-bottom-color: #000;
}

.btn-cta-sidebar {
    display: inline-block;
    background: #000;
    color: #ffd700;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.btn-cta-sidebar:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Recent Posts List */
.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-post-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.recent-post-item:last-child {
    border-bottom: none;
}

.recent-post-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-content {
    flex: 1;
}

.recent-post-content h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.recent-post-content h4 a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-post-content h4 a:hover {
    color: #ffd700;
}

.recent-post-date {
    font-size: 0.8rem;
    color: #666;
}

/* Newsletter */
.sidebar-newsletter {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    color: #fff;
}

.sidebar-newsletter .sidebar-widget-title {
    color: #ffd700;
    border-bottom-color: #ffd700;
}

.newsletter-form {
    margin-top: 20px;
}

.newsletter-form .form-group {
    margin-bottom: 15px;
}

.newsletter-form .form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid #ffd700;
    border-radius: 5px;
    background: #fff;
    color: #000;
}

.newsletter-form .form-control:focus {
    outline: none;
    border-color: #ffed4e;
}

.btn-newsletter {
    width: 100%;
    background: #ffd700;
    color: #000;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-newsletter:hover {
    background: #ffed4e;
    transform: translateY(-2px);
}

/* Social Links */
.sidebar-social .social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #000;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
}

.social-link.whatsapp {
    background: #25d366;
    color: #fff;
}

.social-link:hover {
    transform: translateX(5px);
    opacity: 0.9;
}

.social-link i {
    font-size: 1.5rem;
}

/* ============================================
   POST INDIVIDUAL
   ============================================ */

/* Post Header */
.blog-post-header {
    margin-top: 60px;
    position: relative;
}

.post-featured-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-header-content {
    background: #fff;
    padding: 40px;
    margin-top: -50px;
    border-radius: 15px 15px 0 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 0.9rem;
}

.post-meta-item i {
    color: #ffd700;
}

.post-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #000;
    margin-bottom: 30px;
    line-height: 1.2;
}

.post-author {
    display: flex;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #ffd700;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-details strong {
    color: #000;
    font-size: 1.1rem;
}

.author-details span {
    color: #666;
    font-size: 0.9rem;
}

/* Post Content */
.blog-post-content {
    background: #fff;
}

.post-article {
    background: #fff;
    padding: 40px;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    color: #000;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.post-content h2 {
    font-size: 2rem;
    border-bottom: 3px solid #ffd700;
    padding-bottom: 10px;
}

.post-content h3 {
    font-size: 1.5rem;
}

.post-content p {
    margin-bottom: 20px;
}

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

.post-content li {
    margin-bottom: 10px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px 0;
}

.post-content blockquote {
    border-left: 4px solid #ffd700;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #666;
}

.post-content a {
    color: #ffd700;
    text-decoration: underline;
}

.post-content a:hover {
    color: #000;
}

/* Post Share */
.post-share {
    padding: 30px 0;
    border-top: 2px solid #eee;
    border-bottom: 2px solid #eee;
    margin: 40px 0;
}

.post-share h4 {
    margin-bottom: 20px;
    color: #000;
}

.share-buttons-large {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn-large {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.share-btn-large.facebook {
    background: #1877f2;
}

.share-btn-large.whatsapp {
    background: #25d366;
}

.share-btn-large.twitter {
    background: #1da1f2;
}

.share-btn-large.linkedin {
    background: #0077b5;
}

.share-btn-large.copy-link {
    background: #666;
    border: none;
    cursor: pointer;
}

.share-btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

/* Post CTA */
.post-cta {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin: 40px 0;
}

.cta-content h3 {
    font-size: 1.8rem;
    color: #000;
    margin-bottom: 15px;
}

.cta-content p {
    color: #333;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.btn-cta-post {
    display: inline-block;
    background: #000;
    color: #ffd700;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-cta-post:hover {
    background: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Related Posts */
.related-posts-section {
    background: #f8f9fa;
}

.section-title {
    font-size: 2rem;
    font-weight: 900;
    color: #000;
    margin-bottom: 40px;
    text-align: center;
}

.related-post-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.related-post-image {
    height: 200px;
    overflow: hidden;
}

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

.related-post-card:hover .related-post-image img {
    transform: scale(1.1);
}

.related-post-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-post-date {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
}

.related-post-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.related-post-content h3 a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-content h3 a:hover {
    color: #ffd700;
}

.related-post-content p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
    flex: 1;
}

.read-more-link {
    color: #ffd700;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.read-more-link:hover {
    color: #000;
    transform: translateX(5px);
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

@media (max-width: 991px) {
    .blog-sidebar {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .blog-main-title {
        font-size: 2rem;
    }
    
    .post-title {
        font-size: 1.8rem;
    }
    
    .post-header-content {
        padding: 25px;
    }
    
    .post-article {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .blog-header-section {
        padding: 100px 0 40px;
    }
    
    .blog-card {
        margin-bottom: 20px;
    }
    
    .blog-card-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .post-featured-image {
        height: 250px;
    }
    
    .post-title {
        font-size: 1.5rem;
    }
    
    .share-buttons-large {
        flex-direction: column;
    }
    
    .share-btn-large {
        width: 100%;
        justify-content: center;
    }
}

