/* News Detail Page Styles */

/* Header Section */
.news-detail-header {
    background: rgba(227, 229, 232, 0.3);
}

.header-container {
    max-width: 1680px;
    margin: 0 auto;
    display: flex;
    gap: 64px;
    min-height: 600px;
}

.header-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 48px;
    padding: 96px 0 96px 80px;
}

/* Breadcrumb */
.breadcrumb-navigation {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item svg {
    width: 16px;
    height: 16px;
}

.breadcrumb-item a {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4286;
    color: #67717E;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.breadcrumb-item a:hover {
    color: #3D5AA8;
}

.breadcrumb-item a:hover svg path {
    stroke: #3D5AA8;
}

.breadcrumb-item.active {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4286;
    color: #1D2530;
}

.breadcrumb-separator svg {
    width: 16px;
    height: 16px;
}

/* Article Header */
.article-header {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.article-title-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.article-header h1 {
    font-family: 'DM Sans', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #3D5AA8;
    margin: 0;
}

.article-description {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    color: #67717E;
    margin: 0;
}

.article-meta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.article-badge-wrapper {
    display: flex;
}

.article-badge {
    display: inline-flex;
    align-items: center;
    padding: 2.545px 12.727px;
    border-radius: 12726px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15.273px;
    font-weight: 500;
    line-height: 1.3333;
}

.article-badge.highlights {
    background: rgba(61, 90, 168, 0.05);
    border: 1.273px solid rgba(61, 90, 168, 0.2);
    color: #3D5AA8;
}

.article-date-wrapper {
    display: flex;
    align-items: center;
}

.article-date {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4286;
    color: #67717E;
}

/* Hero Image */
.hero-image {
    flex: 1;
    width: 100%;
    height: 100%;
    min-height: 600px;
    overflow: hidden;
    align-self: stretch;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content Section */
.news-detail-content {
    padding: 64px 64px 80px;
    background: #fff;
}

.content-container {
    max-width: 1280px;
    margin: 0 auto;
}

.content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

/* Article Body */
.article-body {
    flex: 1;
}

.article-body p {
    font-size: 16px;
    color: #67717E;
    margin: 0 0 24px 0;
}

.article-body p:last-child {
    margin-bottom: 0;
}
.article-body .article-list {
    list-style: disc;
    margin-left: 24px;
    margin-bottom: 24px;
    color: #67717E;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.01875em;
}

/* Related Articles Sidebar */
.related-articles {
    flex: 0 0 339px;
    width: 339px;
    padding: 24px 20px 24px 22px;
    background: #FFFFFF;
    border: 1px solid #CDD6E4;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.related-articles h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.302;
    letter-spacing: -0.02em;
    color: #1D2530;
    margin: 0;
}

.related-articles-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-article-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.2s;
}

.related-article-item:hover {
    transform: translateX(4px);
}

.related-article-item img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.related-article-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 2px 0;
    width: 221px;
}

.related-article-content h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2857;
    letter-spacing: -0.02em;
    color: #1D2530;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-article-date {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.302;
    letter-spacing: -0.02em;
    color: #67717E;
}

/* Responsive Design */
@media (max-width: 1440px) {
    .header-content {
        padding: 96px 0 96px 40px;
    }

    .header-container {
        gap: 48px;
    }
}

@media (max-width: 1280px) {
    .header-container {
        flex-direction: column;
        min-height: auto;
    }

    .header-content {
        padding: 64px 32px;
        justify-content: flex-start;
    }

    .hero-image {
        width: 100%;
        height: 400px;
        min-height: 400px;
    }

    .news-detail-content {
        padding: 48px 32px 64px;
    }

    .content-wrapper {
        flex-direction: column;
    }

    .related-articles {
        width: 100%;
        max-width: 100%;
        flex: none;
    }

    .related-articles-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 16px;
    }

    .related-article-content {
        width: auto;
    }
}

@media (max-width: 992px) {
    .article-header h1 {
        font-size: 40px;
    }

    .article-description {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .header-container {
        gap: 32px;
    }

    .header-content {
        padding: 48px 24px;
        gap: 32px;
    }

    .article-header h1 {
        font-size: 32px;
    }

    .article-description {
        font-size: 16px;
    }

    .article-meta-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .hero-image {
        height: 300px;
    }

    .news-detail-content {
        padding: 40px 24px 56px;
    }

    .article-body p {
        font-size: 15px;
    }

    .related-articles-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .header-container {
        gap: 24px;
    }

    .header-content {
        padding: 32px 16px;
        gap: 24px;
    }

    .breadcrumb-navigation {
        flex-wrap: wrap;
    }

    .article-header h1 {
        font-size: 28px;
    }

    .article-description {
        font-size: 15px;
    }

    .hero-image {
        height: 240px;
    }

    .news-detail-content {
        padding: 32px 16px 48px;
    }

    .content-wrapper {
        gap: 32px;
    }

    .related-articles {
        padding: 20px 16px;
        gap: 24px;
    }

    .related-articles h2 {
        font-size: 18px;
    }
}
