/* Article Detail Section */

.article-detail-section {
    padding: 60px 60px 100px;
    background: radial-gradient(107.69% 169.3% at 8% 12%, rgba(190, 147, 11, 0.05) 0%, rgba(190, 147, 11, 0.00) 28%), radial-gradient(107.69% 169.3% at 92% 88%, rgba(8, 39, 64, 0.04) 0%, rgba(8, 39, 64, 0.00) 30%), #FCFCFB;
}

.article-detail-container {
    display: flex;
    gap: 60px;
}

.article-detail-main {
    flex: 1;
    min-width: 0;
}

/* Breadcrumb */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    font-size: 14px;
    flex-wrap: wrap;
}

.breadcrumb-link {
    color: #BE930B;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #a07d09;
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #999;
}

.breadcrumb-current {
    color: #666;
}

/* Article Header */

.article-header {
    margin-bottom: 30px;
}

.article-label {
    display: inline-block;
    color: #BE930B;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.article-title {
    color: #082740;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

/* Article Summary */

.article-summary {
    margin-bottom: 24px;
}

.article-summary p {
    color: #536579;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.8px;
    line-height: 1.6;
}

/* Article Meta Info */

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    font-size: 16px;
    color: #666;
}

.meta-item {
    display: inline-flex;
    align-items: center;
}

.meta-divider {
    color: #BE930B;
    font-weight: 500;
}

/* Cover Image */

.article-cover {
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
}

.cover-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Article Content */

.article-content {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: #082740;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.article-content h1 {
    font-size: 32px;
}

.article-content h2 {
    font-size: 28px;
}

.article-content h3 {
    font-size: 24px;
}

.article-content h4 {
    font-size: 20px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.article-content ul {
    list-style-type: disc;
}

.article-content ul li {
    list-style-type: disc;
    margin-bottom: 8px;
}

.article-content ol li {
    margin-bottom: 8px;
}

.article-content a {
    color: #BE930B;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.article-content a:hover {
    color: #a07d09;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.article-content blockquote {
    border-left: 4px solid #BE930B;
    padding: 16px 24px;
    margin: 20px 0;
    background: rgba(190, 147, 11, 0.05);
    border-radius: 0 8px 8px 0;
}

.article-content code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
}

.article-content pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

.article-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.article-content th,
.article-content td {
    background-color: white;
    border: 1px solid #e5e7eb;
    padding: 12px 16px;
    text-align: left;
}

.article-content th {
    background: #f9fafb;
    font-weight: 600;
}

/* Article Navigation */

.article-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(8, 39, 64, 0.08);
}

.nav-card {
    display: flex;
    align-items: center;
    padding: 24px;
    border: 1px solid rgba(8, 39, 64, 0.12);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #fff;
    gap: 16px;
}

.nav-card:hover {
    border-color: #BE930B;
    box-shadow: 0 4px 12px rgba(190, 147, 11, 0.1);
}

.nav-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #BE930B;
    transition: all 0.3s ease;
}

.nav-card:hover .nav-arrow {
    color: #a07d09;
}

.nav-arrow svg {
    width: 24px;
    height: 24px;
}

.nav-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.nav-label {
    display: block;
    color: #666;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #082740;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-card-prev .nav-arrow {
    order: -1;
}

.nav-card-next .nav-arrow {
    order: 1;
}

.article-navigation:has(.nav-card-prev):not(:has(.nav-card-next)) .nav-card-prev,
.article-navigation:has(.nav-card-next):not(:has(.nav-card-prev)) .nav-card-next {
    grid-column: 1 / -1;
}

/* Articles Sidebar */

.articles-sidebar {
    width: 320px;
    flex-shrink: 0;
}

.articles-sidebar .sidebar-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    position: sticky;
    top: 100px;
}

.articles-sidebar .sidebar-header {
    margin-bottom: 20px;
    width: 100%;
    padding-bottom: 16px;
    border-bottom: 2px solid #BE930B;
}

.articles-sidebar .sidebar-title {
    color: #082740;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.articles-sidebar .sidebar-nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.articles-sidebar .sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0px;
    color: #586579;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid rgba(8, 39, 64, 0.08);
    transition: all 0.3s ease;
}

.articles-sidebar .sidebar-link:hover {
    background: #F5F0E0;
    color: #0A2540;
}

.articles-sidebar .sidebar-link.active {
    color: #082740;
    font-weight: 600;
}

.articles-sidebar .sidebar-link.active svg {
    color: #FFFFFF;
}

.articles-sidebar .sidebar-link span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.articles-sidebar .sidebar-link svg {
    flex-shrink: 0;
    margin-left: 8px;
    opacity: 0.6;
}

.see-all-link {
    display: inline-block;
    color: #BE930B;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.3s ease;
    text-decoration: underline;
}

.see-all-link:hover {
    color: #a07d09;
}

/* Responsive */

@media (max-width: 1024px) {
    .article-detail-section {
        padding: 40px 30px;
    }

    .article-detail-container {
        flex-direction: column-reverse;
        gap: 36px;
    }

    .articles-sidebar {
        width: 100%;
    }

    .articles-sidebar .sidebar-content {
        position: static;
    }

    .article-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .article-detail-section {
        padding: 30px 20px;
    }

    .article-title {
        font-size: 28px;
    }

    .article-content {
        font-size: 15px;
    }

    .article-content h1 {
        font-size: 26px;
    }

    .article-content h2 {
        font-size: 22px;
    }

    .article-content h3 {
        font-size: 20px;
    }

    .breadcrumb {
        font-size: 12px;
        margin-bottom: 28px;
    }
}