/* Bowen News & Resources — editorial hub rather than a generic card grid. */

.news-hub {
    --news-ink: #16283d;
    --news-paper: #f5f1e9;
    --news-red: #b94338;
    --news-green: #3e675b;
    --news-text: #25282d;
    --news-muted: #66707a;
    --news-line: #ddd8cf;
    color: var(--news-text);
    background: #fff;
}

.news-hub .container {
    max-width: 1200px;
}

.news-hub h1,
.news-hub h2,
.news-hub h3,
.news-hub p {
    margin-top: 0;
}

html[lang="en"] .news-hub h1,
html[lang="en"] .news-hub h2 {
    font-family: "Newsreader", Georgia, serif;
}

.news-eyebrow {
    margin-bottom: 0.65rem;
    color: var(--news-red);
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.news-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
    color: #fff;
    background: var(--news-ink);
}

.news-hero__media,
.news-hero__overlay {
    position: absolute;
    inset: 0;
}

.news-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.news-hero__overlay {
    background: linear-gradient(90deg, rgba(13, 29, 46, 0.97) 0%, rgba(13, 29, 46, 0.86) 39%, rgba(13, 29, 46, 0.28) 73%, rgba(13, 29, 46, 0.08) 100%);
}

.news-hero__inner {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.news-hero__copy {
    max-width: 650px;
    animation: news-enter 440ms ease-out both;
}

.news-hero .news-eyebrow {
    color: #e5a197;
}

.news-hero h1 {
    margin-bottom: 0.9rem;
    color: #fff;
    font-size: clamp(2.75rem, 4.25vw, 3.75rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

html[lang="zh"] .news-hero h1 {
    font-size: clamp(2.2rem, 3.7vw, 3.05rem);
    font-weight: 700;
    line-height: 1.24;
    letter-spacing: 0.01em;
}

.news-hero__copy > p:not(.news-eyebrow) {
    max-width: 58ch;
    margin-bottom: 1.3rem;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1rem;
    line-height: 1.65;
}

.news-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0.78rem 1.3rem;
    color: #fff;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.91rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.news-button:hover {
    transform: translateY(-2px);
}

.news-button--primary {
    color: #fff;
    background: var(--news-red);
    border-color: var(--news-red);
}

.news-button--primary:hover {
    color: #fff;
    background: #9d352e;
    border-color: #9d352e;
}

.news-filter {
    position: sticky;
    top: 0;
    z-index: 4;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e5e9ee;
    backdrop-filter: blur(10px);
}

.news-filter__inner {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 58px;
    overflow-x: auto;
    scrollbar-width: none;
}

.news-filter__inner::-webkit-scrollbar {
    display: none;
}

.news-filter__inner > span {
    margin-right: 0.35rem;
    color: var(--news-muted);
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.news-filter a {
    flex: 0 0 auto;
    padding: 0.48rem 0.78rem;
    color: #4b5661;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
}

.news-filter a:hover,
.news-filter a.active {
    color: var(--news-red);
    background: #fbf4f2;
    border-color: #ead2ce;
}

.news-section {
    padding: 4.7rem 0;
}

.news-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(380px, 0.84fr);
    min-height: 430px;
    overflow: hidden;
    background: var(--news-paper);
    border: 1px solid var(--news-line);
    border-radius: 10px;
}

.news-feature__image {
    min-width: 0;
    overflow: hidden;
}

.news-feature__image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    transition: transform 260ms ease;
}

.news-feature:hover .news-feature__image img {
    transform: scale(1.02);
}

.news-feature__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 4vw, 3.6rem);
}

.news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 1.4rem;
    color: var(--news-muted);
    font-size: 0.73rem;
    line-height: 1.4;
}

.news-meta span {
    color: var(--news-red);
    font-weight: 700;
}

.news-feature h2 {
    margin-bottom: 0.85rem;
    color: var(--news-ink);
    font-size: clamp(2rem, 2.8vw, 2.65rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

html[lang="zh"] .news-feature h2 {
    font-size: clamp(1.7rem, 2.5vw, 2.2rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.news-feature h2 a,
.news-card h3 a {
    color: var(--news-ink);
}

.news-feature__content > p:not(.news-eyebrow) {
    margin-bottom: 1.1rem;
    color: var(--news-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.news-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    width: fit-content;
    color: var(--news-green);
    font-size: 0.86rem;
    font-weight: 700;
}

.news-text-link:hover {
    color: var(--news-red);
}

.news-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.55fr);
    align-items: end;
    gap: 3rem;
    margin: 4.7rem 0 2rem;
}

.news-heading h2,
.news-empty h2,
.news-cta h2 {
    margin-bottom: 0;
    color: var(--news-ink);
    font-size: clamp(2rem, 3vw, 2.7rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

html[lang="zh"] .news-heading h2,
html[lang="zh"] .news-empty h2,
html[lang="zh"] .news-cta h2 {
    font-size: clamp(1.75rem, 2.6vw, 2.3rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.news-heading > p {
    margin-bottom: 0;
    color: var(--news-muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
}

.news-card {
    min-width: 0;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid var(--news-ink);
}

.news-card__image {
    display: block;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 8px;
}

.news-card__image img {
    display: block;
    width: 100%;
    aspect-ratio: 1.55;
    object-fit: cover;
    transition: transform 240ms ease;
}

.news-card:hover .news-card__image img {
    transform: scale(1.025);
}

.news-card .news-meta {
    margin-bottom: 0.55rem;
}

.news-card h3 {
    margin-bottom: 0.55rem;
    font-size: 1.1rem;
    line-height: 1.3;
}

.news-card > p {
    min-height: 4.4em;
    margin-bottom: 0.8rem;
    color: var(--news-muted);
    font-size: 0.87rem;
    line-height: 1.65;
}

.news-pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.3rem;
    color: var(--news-muted);
    border-top: 1px solid var(--news-line);
    font-size: 0.84rem;
}

.news-pagination a {
    color: var(--news-green);
    font-weight: 700;
}

.news-pagination a:last-child {
    text-align: right;
}

.news-empty {
    max-width: 650px;
    padding: 3.5rem 0;
}

.news-empty p {
    margin: 0.8rem 0 1.2rem;
    color: var(--news-muted);
}

.news-resources {
    background: var(--news-paper);
}

.news-resources .news-heading {
    margin-top: 0;
}

.resource-list {
    border-top: 1px solid var(--news-line);
}

.resource-list a {
    display: grid;
    grid-template-columns: 50px minmax(210px, 0.75fr) minmax(250px, 1fr) 30px;
    align-items: center;
    gap: 1.2rem;
    min-height: 86px;
    color: var(--news-text);
    border-bottom: 1px solid var(--news-line);
    transition: padding 180ms ease, background 180ms ease;
}

.resource-list a:hover {
    padding-right: 0.8rem;
    padding-left: 0.8rem;
    color: var(--news-text);
    background: rgba(255, 255, 255, 0.65);
}

.resource-list span {
    color: var(--news-red);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.resource-list strong {
    color: var(--news-ink);
    font-size: 1rem;
}

.resource-list small {
    color: var(--news-muted);
    font-size: 0.84rem;
}

.resource-list b {
    color: var(--news-green);
    font-size: 1.15rem;
    text-align: right;
}

.news-cta {
    padding: 3.65rem 0;
    color: #fff;
    background: var(--news-green);
}

.news-cta__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 4rem;
}

.news-cta .news-eyebrow {
    color: #f0c0b8;
}

.news-cta h2 {
    margin-bottom: 0.6rem;
    color: #fff;
}

.news-cta__grid > div > p:last-child {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.74);
}

.news-button--light {
    min-width: 170px;
    color: var(--news-ink);
    background: #fff;
}

.news-button--light:hover {
    color: var(--news-ink);
    background: var(--news-paper);
}

@keyframes news-enter {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991px) {
    .news-feature {
        grid-template-columns: 1fr;
    }

    .news-feature__image img {
        min-height: 320px;
        aspect-ratio: 1.8;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-cta__grid {
        grid-template-columns: 1fr auto;
        gap: 2rem;
    }
}

@media (max-width: 767px) {
    .news-hero {
        height: 340px;
    }

    .news-hero__media img {
        object-position: 61% center;
    }

    .news-hero__overlay {
        background: linear-gradient(90deg, rgba(13, 29, 46, 0.95) 0%, rgba(13, 29, 46, 0.8) 72%, rgba(13, 29, 46, 0.48) 100%);
    }

    .news-hero__copy {
        max-width: 94%;
    }

    .news-hero h1 {
        font-size: clamp(2.2rem, 10vw, 2.8rem);
    }

    html[lang="zh"] .news-hero h1 {
        font-size: clamp(1.95rem, 8.5vw, 2.45rem);
    }

    .news-hero__copy > p:not(.news-eyebrow) {
        font-size: 0.92rem;
    }

    .news-filter {
        top: auto;
    }

    .news-filter__inner {
        min-height: 54px;
    }

    .news-section {
        padding: 3.35rem 0;
    }

    .news-feature {
        min-height: 0;
    }

    .news-feature__image img {
        min-height: 0;
        aspect-ratio: 1.35;
    }

    .news-feature__content {
        padding: 1.45rem 1.25rem 1.6rem;
    }

    .news-feature h2,
    .news-heading h2,
    .news-empty h2,
    .news-cta h2 {
        font-size: 1.9rem;
    }

    html[lang="zh"] .news-feature h2,
    html[lang="zh"] .news-heading h2,
    html[lang="zh"] .news-empty h2,
    html[lang="zh"] .news-cta h2 {
        font-size: 1.7rem;
    }

    .news-meta {
        align-items: flex-start;
        margin-bottom: 0.75rem;
    }

    .news-heading {
        grid-template-columns: 1fr;
        gap: 0.55rem;
        margin-top: 3.4rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .news-card > p {
        min-height: 0;
    }

    .resource-list a {
        grid-template-columns: 36px 1fr 24px;
        gap: 0.6rem;
        min-height: 80px;
        padding: 0.8rem 0;
    }

    .resource-list small {
        grid-column: 2;
        margin-top: -0.45rem;
    }

    .resource-list b {
        grid-column: 3;
        grid-row: 1 / span 2;
    }

    .news-cta {
        padding: 3.2rem 0;
    }

    .news-cta__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .news-button--light {
        width: min(100%, 280px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-hero__copy {
        animation: none;
    }

    .news-button,
    .news-feature__image img,
    .news-card__image img,
    .resource-list a {
        transition: none;
    }
}
