/* News Detail CSS */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--text-muted);
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.article-main {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.article-header {
    padding: 30px;
}

.article-category {
    display: inline-block;
    padding: 5px 15px;
    background: var(--secondary);
    color: var(--primary-dark);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.article-header h1 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.5;
}

.article-meta {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-image {
    width: 100%;
}

.article-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.article-content {
    padding: 30px;
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-secondary);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    border-top: 1px solid var(--border-color);
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-light);
    transition: var(--transition);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn:hover {
    transform: scale(1.1);
}

.article-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.related-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.related-image {
    width: 80px;
    height: 60px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-content h4 {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.related-content span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* =========================================
   Responsive - News Detail
   ========================================= */

@media (max-width: 992px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .breadcrumb {
        padding: 15px;
        font-size: 0.85rem;
    }

    .article-header {
        padding: 20px;
    }

    .article-header h1 {
        font-size: 1.4rem;
    }

    .article-meta {
        gap: 12px;
        font-size: 0.8rem;
        flex-wrap: wrap;
    }

    .article-content {
        padding: 20px;
        font-size: 1rem;
        line-height: 1.8;
    }

    .article-share {
        padding: 15px 20px;
    }
}

@media (max-width: 576px) {
    .breadcrumb {
        padding: 12px;
        font-size: 0.8rem;
        margin-bottom: 20px;
    }

    .article-header {
        padding: 15px;
    }

    .article-header h1 {
        font-size: 1.2rem;
    }

    .article-image img {
        max-height: 300px;
    }

    .article-content {
        padding: 15px;
        font-size: 0.95rem;
    }

    .article-share {
        flex-wrap: wrap;
        padding: 12px 15px;
    }

    .share-btn {
        width: 35px;
        height: 35px;
    }

    .related-item {
        gap: 10px;
    }

    .related-image {
        width: 65px;
        height: 50px;
    }

    .related-content h4 {
        font-size: 0.8rem;
    }
}