/* ====================================
   SINGLE POST MODERN - PÁGINA DE NOTÍCIA
   ==================================== */

/* Hero Section */
.single-hero {
    background: linear-gradient(135deg, #02243d 0%, #023859 100%);
    padding: 40px 0 30px;
    margin-top: 80px;
}

.single-hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb-modern {
    margin: 0;
}

.breadcrumb-modern .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.breadcrumb-modern .breadcrumb-item {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.breadcrumb-modern .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-modern .breadcrumb-item a:hover {
    color: #ffffff;
}

.breadcrumb-modern .breadcrumb-item.active {
    color: #ffffff;
}

.breadcrumb-modern .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.5);
    padding: 0 8px;
}

.breadcrumb-modern .breadcrumb-item i {
    margin-right: 5px;
}

/* Article Container */
.single-post-modern {
    padding: 80px 0;
    background: #ffffff;
}

.single-post-modern .container {
    max-width: 900px;
}

/* Post Header */
.post-header-modern {
    margin-bottom: 50px;
}

.post-meta-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.post-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #02243d 0%, #023859 100%);
    color: #ffffff;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.post-reading-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.post-title-modern {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    color: #02243d;
    margin: 0 0 30px;
    letter-spacing: -0.5px;
}

.post-meta-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

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

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

.author-name {
    font-size: 15px;
    font-weight: 600;
    color: #02243d;
}

.post-date {
    font-size: 13px;
    color: #666;
}

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

.post-share-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.share-label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

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

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

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

.share-btn.linkedin {
    background: #0a66c2;
}

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

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

/* Featured Image */
.post-featured-image-modern {
    margin-bottom: 50px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.post-featured-image-modern figure {
    margin: 0;
}

.post-featured-image-modern img {
    width: 100%;
    height: auto;
    display: block;
}

.post-featured-image-modern figcaption {
    padding: 15px 20px;
    background: #f8f9fa;
    color: #666;
    font-size: 14px;
    font-style: italic;
    text-align: center;
}

/* Post Content */
.post-content-modern {
    margin-bottom: 60px;
}

.content-wrapper {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.content-wrapper p {
    margin-bottom: 25px;
}

.content-wrapper h2,
.content-wrapper h3,
.content-wrapper h4 {
    color: #02243d;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
}

.content-wrapper h2 {
    font-size: 32px;
}

.content-wrapper h3 {
    font-size: 26px;
}

.content-wrapper h4 {
    font-size: 22px;
}

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

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

.content-wrapper blockquote {
    border-left: 4px solid #02243d;
    padding: 20px 30px;
    margin: 30px 0;
    background: #f8f9fa;
    font-style: italic;
    font-size: 20px;
    color: #555;
}

.content-wrapper a {
    color: #02243d;
    font-weight: 600;
    text-decoration: underline;
}

.content-wrapper a:hover {
    color: #023859;
}

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

/* Post Tags */
.post-tags-modern {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 30px 0;
    border-top: 1px solid #e0e0e0;
    margin-top: 40px;
}

.post-tags-modern i {
    color: #02243d;
    font-size: 18px;
}

.post-tags-modern .tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.post-tags-modern .tags-list a {
    display: inline-block;
    padding: 6px 16px;
    background: #f0f0f0;
    color: #333;
    border-radius: 50px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-tags-modern .tags-list a:hover {
    background: #02243d;
    color: #ffffff;
}

/* Post Footer */
.post-footer-modern {
    padding: 50px 0;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 60px;
}

.post-share-bottom h4 {
    font-size: 20px;
    font-weight: 700;
    color: #02243d;
    margin-bottom: 20px;
}

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

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

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

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

.share-btn-large.linkedin {
    background: #0a66c2;
}

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

.share-btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Post Navigation */
.post-navigation-modern {
    margin-bottom: 80px;
}

.nav-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.nav-item {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background: #02243d;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(2, 36, 61, 0.2);
}

.nav-item .nav-link {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 25px;
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.nav-item:hover .nav-link {
    color: #ffffff;
}

.nav-direction {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.nav-prev .nav-link {
    text-align: left;
}

.nav-next .nav-link {
    text-align: right;
}

/* Related Posts */
.related-posts-modern {
    padding: 60px 0;
    background: #f8f9fa;
    border-radius: 20px;
    margin: 80px -40px 0;
    padding: 60px 40px;
}

.section-header-related {
    text-align: center;
    margin-bottom: 50px;
}

.section-header-related h3 {
    font-size: 36px;
    font-weight: 800;
    color: #02243d;
    margin-bottom: 10px;
}

.section-header-related p {
    font-size: 16px;
    color: #666;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.related-post-card-modern {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.related-post-thumbnail {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16/10;
}

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

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

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(2, 36, 61, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-post-card-modern:hover .thumbnail-overlay {
    opacity: 1;
}

.thumbnail-overlay i {
    color: #ffffff;
    font-size: 32px;
}

.related-post-body {
    padding: 25px;
}

.related-post-category {
    display: inline-block;
    padding: 5px 12px;
    background: #e8f4ff;
    color: #02243d;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.related-post-title a {
    color: #02243d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-title a:hover {
    color: #023859;
}

.related-post-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.related-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.related-post-date {
    font-size: 13px;
    color: #999;
}

.related-post-date i {
    margin-right: 5px;
}

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

.read-more-link:hover {
    gap: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .single-hero {
        padding: 30px 0 20px;
        margin-top: 60px;
    }
    
    .breadcrumb-modern .breadcrumb-item {
        font-size: 12px;
    }
    
    .single-post-modern {
        padding: 50px 0;
    }
    
    .post-title-modern {
        font-size: 32px;
    }
    
    .post-meta-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .post-share-top {
        width: 100%;
        justify-content: flex-start;
    }
    
    .content-wrapper {
        font-size: 16px;
    }
    
    .content-wrapper h2 {
        font-size: 26px;
    }
    
    .content-wrapper h3 {
        font-size: 22px;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn-large {
        width: 100%;
        justify-content: center;
    }
    
    .related-posts-modern {
        margin: 60px -20px 0;
        padding: 40px 20px;
    }
    
    .section-header-related h3 {
        font-size: 28px;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}
