/* ========================================
   ARTICLE PAGE STYLES
   Max-width 1200px, centered layout
   ======================================== */

/* Breadcrumb */
.breadcrumb {
    padding: 15px 0;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #203e78;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 8px;
    color: #999;
}

/* Article Container */
.article-page {
    padding: 20px 0;
}

.article-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin-bottom: 40px;
}

/* Main Article */
.article-main {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.article-category {
    margin-bottom: 15px;
}

.category-badge {
    display: inline-block;
    background: linear-gradient(135deg, #203e78 0%, #1a3366 100%);
    color: #fff;
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-badge:hover {
    background: linear-gradient(135deg, #1a3366 0%, #203e78 100%);
}

.article-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: #222;
    margin: 0 0 20px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
    font-size: 13px;
    color: #666;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-item a {
    color: #203e78;
    text-decoration: none;
}

.meta-item a:hover {
    text-decoration: underline;
}

.article-image {
    margin: 25px 0;
    border-radius: 8px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-summary {
    background: #f8f9fa;
    padding: 20px;
    border-left: 4px solid #203e78;
    margin: 25px 0;
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    font-weight: 500;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 25px 0;
}

.article-content p {
    margin-bottom: 15px;
}

.article-tags {
    padding: 20px 0;
    border-top: 1px solid #eee;
    margin-top: 30px;
}

.article-tags strong {
    color: #222;
    margin-right: 10px;
}

.tag-badge {
    display: inline-block;
    background: #f0f0f0;
    color: #203e78;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 13px;
    text-decoration: none;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: all 0.2s;
}

.tag-badge:hover {
    background: #203e78;
    color: #fff;
}

.article-share {
    padding: 20px 0;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

.article-share strong {
    color: #222;
    margin-right: 15px;
}

.share-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    margin-right: 8px;
    transition: all 0.2s;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.facebook:hover {
    background: #145dbf;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.twitter:hover {
    background: #0c85d0;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.whatsapp:hover {
    background: #1da851;
}

/* Sidebar */
.article-sidebar {
    position: sticky;
    top: 20px;
    align-self: start;
}

.sidebar-box {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #203e78;
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-item a {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s;
}

.related-item a:hover {
    opacity: 0.8;
}

.related-item img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.related-content {
    flex: 1;
}

.related-content h4 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 8px;
    color: #222;
}

.related-category {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
}

.sidebar-ad {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

.sidebar-ad img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .article-container {
        grid-template-columns: 1fr;
    }

    .article-main {
        padding: 20px;
    }

    .article-title {
        font-size: 24px;
    }

    .article-meta {
        flex-direction: column;
        gap: 8px;
    }

    .article-sidebar {
        position: static;
    }

    .breadcrumb {
        font-size: 12px;
    }
}