/* News Detail Page Styles */

.news-detail-page {
    background: linear-gradient(180deg, #fff 0%, #efefef 100%);
    min-height: 100vh;
}

/* Page Header */
.news-detail-header {
    padding: 120px 60px 0;
}

.news-detail-header__inner {
    max-width: 1161px;
    margin: 0 auto;
}

.news-detail-header__title {
    font-family: 'Futura', 'Noto Sans', sans-serif;
    font-weight: 500;
    font-size: 35px;
    letter-spacing: 0;
    background: linear-gradient(90deg, #452b92 0%, #f00466 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 75px;
}

/* Content Section */
.news-detail-content {
    padding: 15px 60px 80px;
}

.news-detail-container {
    max-width: 1161px;
    margin: 0 auto;
}

/* Article */
.news-detail-article {
    padding: 0;
}

.news-detail-article__header {
    margin-bottom: 30px;
}

.news-detail-article__title {
    font-family: 'A-OTF Gothic MB101 Pr6N', 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 63px;
    color: #312d96;
    letter-spacing: 2.4px;
    font-feature-settings: 'pkna' 1, 'palt' 1;
    margin: 0 0 20px 0;
}

.news-detail-article__category {
    font-family: 'A-OTF Gothic MB101 Pr6N', 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #151515;
    margin-bottom: 0;
    line-height: 40px;
    letter-spacing: -0.8px;
}

.news-detail-article__body {
    max-width: 1056px;
    margin: 0 auto;
    font-family: 'A-OTF Gothic MB101 Pr6N', 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 30px;
    color: #061840;
}

.news-detail-article__body p {
    margin-bottom: 0;
}

/* Q&A Style Headings */
.news-detail-article__body h3,
.news-detail-article__body h4 {
    font-family: 'A-OTF Gothic MB101 Pr6N', 'Noto Sans JP', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #061840;
    line-height: 36px;
    margin: 10px 0 10px 0;
    padding: 0;
    border: none;
}

.news-detail-article__body ul,
.news-detail-article__body ol {
    margin: 1.5em 0;
    padding-left: 2em;
}

.news-detail-article__body li {
    margin-bottom: 0.5em;
}

.news-detail-article__body img {
    max-width: 100%;
    height: auto;
    margin: 1em 0;
}

.news-detail-article__body a {
    color: #312D96;
    text-decoration: underline;
}

.news-detail-article__body a:hover {
    text-decoration: none;
}

/* Not Found */
.news-detail-notfound {
    text-align: center;
    padding: 100px 20px;
}

.news-detail-notfound p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.news-detail-back__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #312D96;
    text-decoration: none;
    padding: 16px 32px;
    border: 2px solid #312D96;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.news-detail-back__btn:hover {
    background-color: #312D96;
    color: #fff;
}

/* ========================================
   Responsive - Tablet
======================================== */
@media screen and (max-width: 1024px) {
    .news-detail-header {
        padding: 118px 40px 0;
    }

    .news-detail-header__title {
        font-size: 35px;
    }

    .news-detail-content {
        padding: 18px 40px 80px;
    }

    .news-detail-article__title {
        font-size: 32px;
        line-height: 50px;
    }
}

/* ========================================
   Responsive - Mobile (375px base)
======================================== */
@media screen and (max-width: 768px) {
    .news-detail-header {
        padding: 111px 16px 0;
    }

    .news-detail-header__title {
        font-size: 35px;
        line-height: 32px;
    }

    .news-detail-content {
        padding: 20px 16px 80px;
    }

    .news-detail-article__header {
        margin-bottom: 35px;
    }

    .news-detail-article__title {
        font-size: 22px;
        line-height: 35px;
        letter-spacing: 1.32px;
        margin-bottom: 14px;
    }

    .news-detail-article__category {
        font-size: 12px;
        line-height: 40px;
        letter-spacing: -0.48px;
    }

    .news-detail-article__body {
        font-size: 16px;
        line-height: 36px;
    }

    .news-detail-article__body h3,
    .news-detail-article__body h4 {
        font-size: 24px;
        line-height: 36px;
        margin: 20px 0 20px 0;
    }

    .news-detail-back__btn {
        font-size: 14px;
        padding: 12px 24px;
    }
}
