@charset "UTF-8";

.index_news.home-news {
    padding: 68px 0 76px;
    border-top: 1px solid #edf1f2;
    border-bottom: 1px solid #e4eaec;
    background: #f7f9fa;
    color: #172a35;
}

.home-news,
.home-news *,
.home-news *::before,
.home-news *::after {
    box-sizing: border-box;
}

.home-news-heading {
    text-align: center;
}

.home-news-heading h2 {
    margin: 0;
    color: #121b20;
    font-size: 43px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0;
}

.home-news-heading p {
    margin: 2px 0 0;
    color: #111;
    font-size: 35px;
    line-height: 1.4;
}

.home-news-heading p span {
    padding-left: 10px;
    color: #0aa1c0;
}

.home-news-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 40px;
    padding-bottom: 16px;
    border-bottom: 1px solid #d6e0e3;
}

.home-news-categories {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 28px;
}

.home-news-categories a {
    position: relative;
    flex: 0 0 auto;
    padding: 4px 0;
    color: #51656f;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.home-news-categories a:hover,
.home-news-categories a.active {
    color: #087fb8;
}

.home-news-categories a.active::after {
    position: absolute;
    right: 0;
    bottom: -17px;
    left: 0;
    height: 3px;
    background: #087fb8;
    content: "";
}

.home-news-more {
    flex: 0 0 auto;
    padding: 4px 0;
    border-bottom: 1px solid currentColor;
    color: #087fb8;
    font-size: 14px;
    font-weight: 700;
}

.home-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(440px, .92fr);
    gap: 34px;
    align-items: stretch;
    margin-top: 28px;
}

.home-news-feature-wrap {
    min-width: 0;
}

.home-news-feature {
    height: 100%;
    overflow: hidden;
    border: 1px solid #d9e2e5;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(24, 47, 59, .07);
}

.home-news-feature-media {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #edf3f4;
}

.home-news-feature-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.home-news-feature:hover .home-news-feature-media img {
    transform: scale(1.025);
}

.home-news-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #eaf2f4;
    color: #087fb8;
}

.home-news-placeholder strong {
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
}

.home-news-placeholder small {
    margin-top: 8px;
    color: #5f7b86;
    font-size: 11px;
}

.home-news-feature-content {
    padding: 24px 26px 27px;
}

.home-news-meta {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
    color: #7a8a91;
    font-size: 12px;
    line-height: 1.5;
}

.home-news-meta span {
    color: #087fb8;
    font-weight: 700;
}

.home-news-meta time {
    white-space: nowrap;
}

.home-news-feature h3 {
    margin: 12px 0 0;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0;
}

.home-news-feature h3 a {
    color: #172a35;
}

.home-news-feature h3 a:hover {
    color: #087fb8;
}

.home-news-feature-content > p {
    display: -webkit-box;
    margin: 12px 0 0;
    overflow: hidden;
    color: #64747c;
    font-size: 14px;
    line-height: 1.8;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-news-read {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin-top: 17px;
    border-bottom: 1px solid currentColor;
    color: #087fb8;
    font-size: 14px;
    font-weight: 700;
}

.home-news-list {
    display: grid;
    min-width: 0;
    align-content: stretch;
    border-top: 1px solid #d9e2e5;
}

.home-news-item {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 18px;
    min-width: 0;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #d9e2e5;
}

.home-news-item-media {
    display: block;
    width: 132px;
    height: 86px;
    overflow: hidden;
    border-radius: 4px;
    background: #eaf2f4;
}

.home-news-item-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.home-news-item:hover .home-news-item-media img {
    transform: scale(1.035);
}

.home-news-placeholder-small strong {
    font-size: 20px;
}

.home-news-item-content {
    min-width: 0;
}

.home-news-item h3 {
    display: -webkit-box;
    margin: 8px 0 0;
    overflow: hidden;
    font-size: 17px;
    font-weight: 650;
    line-height: 1.55;
    letter-spacing: 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-news-item h3 a {
    color: #263942;
}

.home-news-item h3 a:hover {
    color: #087fb8;
}

@media (max-width: 1100px) {
    .home-news-layout {
        grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr);
        gap: 28px;
    }

    .home-news-item {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 14px;
    }

    .home-news-item-media {
        width: 112px;
        height: 78px;
    }

    .home-news-item h3 {
        font-size: 15px;
    }
}

@media (max-width: 790px) {
    .index_news.home-news {
        padding: 50px 0 58px;
    }

    .home-news-heading h2 {
        font-size: 30px;
    }

    .home-news-heading p {
        font-size: 24px;
    }

    .home-news-toolbar {
        align-items: flex-end;
        margin-top: 28px;
    }

    .home-news-categories {
        padding-bottom: 4px;
        gap: 22px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .home-news-categories::-webkit-scrollbar {
        display: none;
    }

    .home-news-categories a {
        font-size: 14px;
    }

    .home-news-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    .home-news-feature-content {
        padding: 21px 20px 23px;
    }

    .home-news-feature h3 {
        font-size: 20px;
    }

    .home-news-list {
        background: transparent;
    }
}

@media (max-width: 480px) {
    .home-news-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .home-news-categories a.active::after {
        bottom: -13px;
    }

    .home-news-more {
        align-self: flex-start;
    }

    .home-news-feature-media {
        aspect-ratio: 16 / 10;
    }

    .home-news-feature h3 {
        font-size: 18px;
    }

    .home-news-item {
        grid-template-columns: 102px minmax(0, 1fr);
        gap: 13px;
        padding: 13px 0;
    }

    .home-news-item-media {
        width: 102px;
        height: 72px;
    }

    .home-news-item h3 {
        margin-top: 5px;
        font-size: 14px;
    }
}

/* 2026-07 homepage density pass: keep the article logic, reduce visual weight. */
@media (min-width: 791px) {
    .index_news.home-news {
        padding: 48px 0 54px;
    }

    .home-news-heading h2 {
        font-size: 32px;
    }

    .home-news-heading p {
        margin-top: 5px;
        font-size: 24px;
    }

    .home-news-toolbar {
        margin-top: 26px;
        padding-bottom: 12px;
    }

    .home-news-categories {
        gap: 22px;
    }

    .home-news-categories a,
    .home-news-more {
        font-size: 14px;
    }

    .home-news-layout {
        margin-top: 22px;
        gap: 24px;
    }

    .home-news-feature-media {
        aspect-ratio: 16 / 8.5;
    }

    .home-news-feature-content {
        padding: 18px 20px 20px;
    }

    .home-news-feature h3 {
        margin-top: 8px;
        font-size: 19px;
        line-height: 1.45;
    }

    .home-news-feature-description {
        margin-top: 8px;
        line-height: 1.65;
        -webkit-line-clamp: 2;
    }

    .home-news-feature-read {
        min-height: 28px;
        margin-top: 10px;
    }

    .home-news-item {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 14px;
        padding: 11px 0;
    }

    .home-news-item-media {
        width: 112px;
        height: 72px;
    }

    .home-news-item h3 {
        margin-top: 5px;
        font-size: 15px;
        line-height: 1.45;
    }
}

@media (max-width: 790px) {
    .index_news.home-news {
        padding: 44px 0 50px;
    }

    .home-news-heading h2 {
        font-size: 27px;
    }

    .home-news-heading p {
        font-size: 20px;
    }

    .home-news-toolbar {
        margin-top: 22px;
    }

    .home-news-layout {
        gap: 20px;
    }
}
