.news-list {
    color: #F28301;
    font-size: 24px;
    font-weight: 700;
    margin: 20px;
}

.news-title {
    color: #1C1C1C;
    font-size: 54px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
    margin-top: 0;
}

.news-content {
    color: #1C1C1C;
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.news-banner {
    margin: 0 20px;
    background: #379993;
    border-radius: 10px;
    position: relative;
    overflow: visible;
}

/* inner container and layout */
.news-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 32px 40px; */
    /* min-height: 310px; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.news-banner-text {
    color: #FFFFFF;
    font-size: 16px;
    line-height: 1.8;
    flex: 0 1 770px;
    /* prefer up to 770px width */
    max-width: 770px;
    width: 100%;
    overflow-wrap: anywhere;
}

.news-banner-text p {
    margin: 0 0 10px;
}

.news-banner-illustration {
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
}

.news-banner-illustration img {
    display: block;
    height: 388px;
    width: auto;
    object-fit: contain;
    margin-top: -76px;
}

/* responsive */
@media (max-width: 768px) {
    .news-banner-inner {
        flex-direction: column;
        text-align: left;
        padding: 20px;
        min-height: unset;
        gap: 24px;
    }

    .news-banner-text {
        max-width: 100%;
        flex: 1;
    }

    .news-banner-illustration img {
        height: 180px;
        margin-top: -12px;
    }
}

/* =====================
   Pagination (shared style with topic)
   ===================== */
.pagination {
    display: flex;
    justify-content: center;
    /* center the inner container */
    background: #F2FCFC;
}

.pagination__inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    /* align list to the right inside 1200px */
}

.pagination__list {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 15px 0;
    margin: 0;
    /* reset margins; handled by inner */
    list-style: none;
}

.pagination__item {
    min-height: 0;
}

.pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #E6F0EF;
    border-radius: 8px;
    text-decoration: none;
    color: #1C1C1C;
    background: #fff;
    font-size: 14px;
}

.pagination__arrow {
    min-width: 75px;
    padding: 0;
}

.pagination__link:hover {
    border-color: #0E7C6B99;
}

.pagination__link.is-current {
    background: #0E7C6B;
    color: #fff;
    border-color: #0E7C6B;
}

.pagination__link.is-disabled {
    color: #9AA3A8;
    background: #F7F9F9;
    pointer-events: none;
}

.pagination__ellipsis {
    padding: 0 6px;
    color: #9AA3A8;
}

/* =====================
   Sections below banner
   ===================== */

.container-v2 {
    background-color: #F2FCFC;
}

.news-sections {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    gap: 40px;
}

.news-card {
    /* background: #F6FBFA; */
    border-radius: 16px;
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 28px;
    position: relative;
    overflow: hidden;
}


.news-card__media img {
    width: 460px;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.news-card__text {
    flex: 1 1 0;
}

.news-card__title {
    color: #1C1C1C;
    font-size: 40px;
    line-height: 1.5;
    margin: 0 0 16px;
    font-weight: 700;
}

.news-card__desc {
    color: #1C1C1C;
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 16px;
}

.news-card__btn {
    display: inline-block;
    margin-top: 8px;
    background: #2BA39C;
    color: #FFFFFF;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
}

.news-card__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    gap: 16px;
}

.news-card__author {
    width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    align-items: flex-end;
    margin-bottom: 90px;
}

.news-card__author__list {
    /* margin: 0 auto; */
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    align-items: flex-end;
}

.news-card__author-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-card__author-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.news-card__author-text {
    color: #9AA3A8;
    font-size: 14px;
    line-height: 1.5;
}

/* reverse layout */
.news-card.is-alt {
    flex-direction: row;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .news-card__btn {
        padding: 15px 18px;
        width: 34%;
    }

    .news-sections {
        padding: 0;
    }

    .news-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 16px;
    }

    .news-card.is-alt {
        flex-direction: column-reverse;
        width: auto;
    }

    .news-card__media img {
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center;
        border-radius: 15px;
    }

    .news-card__title {
        font-size: 24px;
        line-height: 1.4;
    }

    .news-card__desc {
        font-size: 14px;
    }

    .news-card__actions {
        /* flex-direction: column; */
        align-items: flex-start;
        gap: 12px;
    }

    .news-card__author {
        align-items: flex-end;
        width: 100%;
    }

    /* .news-card::after, .news-card::before { display: none; } */
}

/* =====================
   Footer-like banner
   ===================== */
.news-footer-banner {
    /* margin: 40px 20px 0; */
    background: #F2FCFC;
    border-radius: 12px;
    position: relative;
    overflow: visible;
    padding-bottom: 50px;
    display: none;
}

.news-footer-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0px 32px 64px -12px #0000000F;
    background: #FFFFFF;
    border-radius: 10px;
    position: relative;
    overflow: visible;
}

.news-footer-banner__text {
    color: #1C1C1C;
    line-height: 1.8;
    padding: 20px;
}

.news-footer-banner__text p {
    margin: 0 0 10px;
}

.news-footer-banner__illustration {
    position: absolute;
    right: 40px;
    /* overflow out of the white card */
    bottom: 0;
    z-index: 1;
}

.news-footer-banner__illustration img {
    /* height: 220px; */
    width: auto;
    display: block;
}

.profile-image {
    width: 100% !important;
}

.medal-icon {
    width: 28px !important;
    height: 40px !important;
    margin: 0 !important;
}

.comparison-header {
    display: none;
}

.column-detail-container p {
    font-family: 'Noto Sans JP' !important;
}

.column-detail-container span {
    font-family: 'Noto Sans JP' !important;
}

@media (max-width: 768px) {
    .news-footer-banner__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-footer-banner__illustration {
        right: 0;
        bottom: 0;
    }

    .news-footer-banner__illustration img {
        height: 190px;
    }

    .news-footer-banner__text {
        z-index: 2;
    }

    .news-footer-banner {
        /* display: block; */
    }

    .news-footer-banner__text p {
        font-size: 14px;
        line-height: 1.5;
        color: #1C1C1C;
        margin: 0 0 10px;
    }
}

/* Additional mobile tweaks */
@media (max-width: 768px) {
    .news-title {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .news-content {
        font-size: 16px;
        margin-bottom: 16px;
    }
}

/* =====================
   Column Detail Page
   ===================== */

.column-detail-container {
    /* max-width: 1000px; */
    margin: 0 auto;
    /* padding: 20px; */
}

.column-detail-header {
    width: 1000px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.column-detail-label {
    color: #F28301;
    font-size: 24px;
    font-weight: 700;
    display: block;
    margin-bottom: 16px;
}

.column-detail-title {
    color: #1C1C1C;
    font-size: 40px;
    line-height: 1.5;
    font-weight: 700;
    margin: 0;
}

.column-detail-article {
    background: #FFFFFF;
}

.article-content {
    max-width: 1000px;
    margin: 20px auto;
    padding: 0;
}

.article-content strong {
    font-weight: 600;
    padding-top: 20px;
    padding-bottom: 10px;
}

.article-content p {
    color: #1C1C1C;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.article-content h1 {
    color: #1C1C1C;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.5;
    margin: 40px 0 20px;
    padding: 0;
    display: flex;
    /* left: 50%; */
    /* transform: translateX(-50%); */
}

.article-content h1::before {
    content: '';
    width: 4px;
    height: 40px;
    background-color: #F28301;
    border-radius: 2px;
    flex-shrink: 0;
}

.article-content h2 {
    color: #1C1C1C;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    margin: 40px 0 20px;
    padding: 0;
}

.article-content img {
    width: 1000px;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 20px 0;
}

.article-content li {
    /* margin-left: 20px; */
    display: flex;
    align-items: center;
    list-style: none;
    position: relative;
    padding-left: 20px;
}

.article-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    line-height: 1.5;
    color: #1C1C1C;
    top: 50%;
    transform: translateY(-50%);
}

.article-paragraph {
    color: #1C1C1C;
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 24px;
}

.article-heading {
    color: #1C1C1C;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.5;
    margin: 40px 0 20px;
    padding: 0;
}

.article-image {
    margin: 32px 0;
    text-align: center;
}

.article-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}

.box-check-icon {
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
}

.agency-description p {
    line-height: 1.5 !important;
    margin: 0 !important;
}

/* Responsive for column detail */
@media (max-width: 768px) {
    .column-detail-container {
        padding: 16px;
    }

    .column-detail-label {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .column-detail-title {
        font-size: 24px;
        line-height: 1.4;
    }

    .article-content {
        padding: 0;
    }

    .article-paragraph {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 20px;
    }

    .article-heading {
        font-size: 20px;
        margin: 32px 0 16px;
    }

    .article-image {
        margin: 24px 0;
    }

    .article-content img {
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center;
        border-radius: 15px;
    }
    
    .column-detail-header {
        width: 100%;
    }

    .comparison-container {
        padding: 0;
    }

    .detective-container {
        padding: 0;
    }
}