.news-page {
    --news-ink: var(--cbe-ink, #17324d);
    --news-muted: var(--cbe-muted, #5f7488);
    --news-line: var(--cbe-line, #d8e8f4);
    --news-soft: var(--cbe-soft, #f5fbff);
    --news-accent: var(--cbe-accent, #0f6f9b);
    --news-green: var(--cbe-success, #008060);
}

.news-card-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card__media {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
    background: linear-gradient(180deg, #eef9ff 0%, #e4f4fb 100%);
}

.news-card__media img {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 26px;
    box-shadow: none;
    transition: transform .35s ease, filter .35s ease;
}

.news-card:hover .news-card__media img {
    filter: saturate(1.06) contrast(1.02);
    transform: scale(1.04);
}

.news-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    padding: 16px 18px 18px;
}

.news-card__title {
    margin: 0;
    color: var(--news-ink);
    min-height: 56px;
    font-size: 19px;
    line-height: 1.48;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.news-card__title a {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.news-card__title a {
    color: inherit;
    text-decoration: none;
}

.news-card__title a:hover {
    color: var(--news-accent);
    text-decoration: none;
}

.news-card__meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: var(--news-muted);
    font-size: 13px;
    font-weight: 700;
}

.news-card__meta i,
.news-card__desc i {
    color: var(--news-accent);
}

.news-card__desc {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
    margin: 16px 0 0;
    padding-top: 16px;
    border-top: 1px dashed var(--news-line);
    color: var(--news-muted);
    min-height: 62px;
    font-size: 14px;
    line-height: 1.6;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.news-card__desc span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-width: 0;
}

.news-card__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
    padding-top: 16px;
}

.news-card__cta {
    width: 100%;
}

.news-pagination {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.news-empty {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 22px 24px;
    color: var(--news-muted);
    font-weight: 700;
}

.news-page--category,
.news-page--detail {
    padding-top: 24px;
    padding-bottom: 52px;
}

.site-breadcrumb-wrap {
    display: block;
    width: 100%;
    margin: 0;
}

.news-detail__title {
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    color: var(--news-ink);
    font-size: 34px;
    line-height: 1.18;
    font-weight: 800;
}

.news-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin: 0 0 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--news-line);
    color: #63758a;
    font-size: 14px;
}

.news-detail__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-detail__meta i {
    color: var(--news-accent);
}

.news-page--detail .content-prose {
    color: #2f4961;
    font-size: 16px;
    line-height: 1.78;
    overflow-wrap: anywhere;
}

.news-page--detail .content-prose p {
    margin: 0 0 18px;
}

.news-page--detail .content-prose h2,
.news-page--detail .content-prose h3 {
    color: var(--news-ink);
    font-weight: 800;
}

.news-page--detail .content-prose img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 28px auto;
    border-radius: 26px;
    box-shadow: 0 14px 34px rgba(17,49,78,.10);
}

.news-page--detail .content-prose table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.news-page--detail iframe,
.news-page--detail embed,
.news-page--detail video {
    max-width: 100%;
}

.news-rating {
    margin-top: 34px;
    padding: 26px;
}

.news-rating__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
    padding: 0 0 22px;
    border-bottom: 1px solid var(--news-line);
}

.news-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #6b8298;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.news-rating__title {
    margin: 0;
    color: var(--news-ink);
    font-size: 26px;
    line-height: 1.25;
    font-weight: 800;
}

.news-rating__tip {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 440px;
    padding: 14px 18px;
    border: 1px solid var(--news-line);
    border-radius: 26px;
    background: #fff;
    color: var(--news-muted);
    font-size: 15px;
    line-height: 1.45;
}

.news-rating__tip i {
    color: var(--news-accent);
}

.news-rating__layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
}

.news-rating__score {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 210px;
    padding: 28px 20px;
    border-radius: 26px;
    background: linear-gradient(135deg, #14324f 0%, #1c5376 100%);
    color: #fff;
    text-align: center;
}

.news-rating__score-value {
    font-size: 64px;
    line-height: 1;
    font-weight: 800;
}

.news-rating__score-note {
    margin-top: 14px;
    font-size: 15px;
    font-weight: 800;
}

.news-rating__score-count {
    margin-top: 12px;
    color: rgba(255,255,255,.76);
    font-size: 15px;
}

.news-rating__body {
    align-self: center;
}

.news-rating__body h4 {
    margin: 0 0 8px;
    color: var(--news-ink);
    font-size: 26px;
    line-height: 1.3;
    font-weight: 800;
}

.news-rating__body p {
    margin: 0 0 18px;
    color: var(--news-muted);
}

.news-rating__stars {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.news-rating__star {
    width: 58px;
    height: 58px;
    border: 1px solid #f2a31a;
    border-radius: 26px;
    background: #fff7e8;
    color: #f39a12;
    font-size: 26px;
    line-height: 1;
    transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.news-rating__star:hover,
.news-rating__star:focus,
.news-rating__star.is-filled {
    transform: translateY(-1px);
    background: #f7a51c;
    color: #fff;
    box-shadow: 0 12px 26px rgba(243,154,18,.22);
}

.news-rating__hint,
.news-rating__message {
    margin-top: 12px;
    color: var(--news-muted);
    font-size: 15px;
}

@media (max-width: 991px) {
    .news-detail__title {
        font-size: 30px;
    }

    .news-rating__head {
        display: block;
    }

    .news-rating__tip {
        max-width: none;
        margin-top: 14px;
        border-radius: 26px;
    }

    .news-rating__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .news-rating__score {
        min-height: 170px;
    }

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

@media (max-width: 767px) {
    .news-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .news-card-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .news-card__media {
        width: 100%;
        max-width: 100%;
        min-height: 0;
        padding: 0;
    }

    .news-card__media img {
        width: 100%;
        max-width: 100%;
        height: 100%;
        aspect-ratio: 16 / 10;
    }

    .news-card__body {
        padding: 20px;
    }

    .news-card__title {
        min-height: 0;
        font-size: 20px;
    }

    .news-page--detail .news-detail-main {
        padding: 22px 18px;
        border-radius: 26px;
    }

    .news-detail__title {
        font-size: 28px;
    }

    .news-page--detail .content-prose {
        font-size: 16px;
    }

    .news-page--detail .content-prose img {
        border-radius: 26px;
        margin: 22px auto;
    }

    .news-rating {
        padding: 20px;
        border-radius: 26px;
    }

    .news-rating__title,
    .news-rating__body h4 {
        font-size: 22px;
    }

    .news-rating__score-value {
        font-size: 52px;
    }

    .news-rating__star {
        width: 52px;
        height: 52px;
        border-radius: 26px;
    }
}

/* News detail redesign: match the Bus detail two-column layout without forcing global shell rules. */
body:not(.admin-layout) main.news-page.news-page--detail {
    padding: 24px 0 52px;
}

body:not(.admin-layout) main.news-page.news-page--detail .news-detail__promo {
    display: block;
    margin: 0 0 18px;
    border-radius: 26px;
    overflow: hidden;
    background: #eef4f8;
}

body:not(.admin-layout) main.news-page.news-page--detail .news-detail__promo img {
    display: block;
    width: 100%;
    height: auto;
}

body:not(.admin-layout) main.news-page.news-page--detail .news-detail-main {
    padding: 28px 30px;
}

body:not(.admin-layout) main.news-page.news-page--detail .news-detail__title {
    margin: 0;
    padding: 0;
    border: 0;
    color: #17324d;
    font-size: 34px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: 0;
}

body:not(.admin-layout) main.news-page.news-page--detail .news-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin: 14px 0 22px;
    padding: 0 0 18px;
    border-bottom: 1px solid #d8e8f4;
    color: #63758a;
    font-size: 14px;
}

body:not(.admin-layout) main.news-page.news-page--detail .news-detail__cover {
    margin: 0 0 24px;
    border-radius: 26px;
    overflow: hidden;
    background: #eef4f8;
}

body:not(.admin-layout) main.news-page.news-page--detail .news-detail__cover img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
}

body:not(.admin-layout) main.news-page.news-page--detail .page-detail,
body:not(.admin-layout) main.news-page.news-page--detail .list_bus_home {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

body:not(.admin-layout) main.news-page.news-page--detail .content-prose {
    color: #2f4961;
    font-size: 16px;
    line-height: 1.78;
    overflow-wrap: anywhere;
}

body:not(.admin-layout) main.news-page.news-page--detail .content-prose img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 24px auto;
    border-radius: 26px;
}

body:not(.admin-layout) main.news-page.news-page--detail .content-prose table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

@media (max-width: 991px) {
    body:not(.admin-layout) main.news-page.news-page--detail {
        padding: 16px 14px 44px;
    }

    body:not(.admin-layout) main.news-page.news-page--detail .news-detail-main {
        padding: 22px 18px;
    }

}

@media (max-width: 575px) {
    body:not(.admin-layout) main.news-page.news-page--detail .news-detail__title {
        font-size: 26px;
        line-height: 1.24;
    }

    body:not(.admin-layout) main.news-page.news-page--detail .news-detail-main {
        padding: 18px 14px;
    }

    body:not(.admin-layout) main.news-page.news-page--detail .content-prose {
        font-size: 15px;
        line-height: 1.72;
    }
}

/* News category redesign: mirror Bus category structure. */
body:not(.admin-layout) .news-buslike-page {
    padding: 24px 0 52px;
}

body:not(.admin-layout) .news-buslike-hero {
    margin: 0 0 18px;
}

body:not(.admin-layout) .news-buslike-hero__content {
    max-width: none;
}

body:not(.admin-layout) .news-buslike-hero__eyebrow {
    gap: 10px;
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 900;
}

body:not(.admin-layout) .news-buslike-hero__eyebrow i {
    color: #fff;
    font-size: 15px;
}

body:not(.admin-layout) .news-buslike-hero h1 {
    letter-spacing: 0;
}

body:not(.admin-layout) .news-buslike-hero p {
    max-width: 860px;
    font-size: 15px;
}

body:not(.admin-layout) .news-buslike-hero__meta {
    max-width: 1180px;
}

body:not(.admin-layout) .news-buslike-hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 26px;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

body:not(.admin-layout) .news-buslike-hero__pill.is-current {
    border-color: #fff;
    background: #fff;
    color: #17324d;
    box-shadow: 0 10px 24px rgba(17,49,78,.12);
}

body:not(.admin-layout) .news-buslike-hero__pill strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 26px;
    background: rgba(255,255,255,.18);
}

body:not(.admin-layout) .news-buslike-hero__pill.is-current strong {
    background: #e9f4fb;
    color: #17324d;
}

body:not(.admin-layout) .news-buslike-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 1180px;
    margin-top: 18px;
}

body:not(.admin-layout) .news-buslike-hero__chips > span,
body:not(.admin-layout) .news-buslike-hero__chips > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    max-width: 260px;
    padding: 7px 10px 7px 12px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 26px;
    background: rgba(255,255,255,.13);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: none;
    transition: transform .18s ease, background .18s ease, color .18s ease;
}

body:not(.admin-layout) .news-buslike-hero__chips i {
    flex: 0 0 auto;
    font-size: 14px;
    opacity: .96;
}

body:not(.admin-layout) .news-buslike-hero__chips > span > span,
body:not(.admin-layout) .news-buslike-hero__chips > a > span {
    display: inline;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
}

body:not(.admin-layout) .news-buslike-hero__chips strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 26px;
    background: rgba(255,255,255,.18);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

body:not(.admin-layout) .news-buslike-hero__chips a:hover,
body:not(.admin-layout) .news-buslike-hero__chips a:focus {
    transform: translateY(-1px);
    background: rgba(255,255,255,.18);
    color: #fff;
}


body:not(.admin-layout) .news-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    max-width: none;
    margin: 0 0 24px;
    padding: 28px;
}

body:not(.admin-layout) .news-search-form__submit {
    min-width: 142px;
}

body:not(.admin-layout) .news-page--category .news-category-layout {
    margin: 0;
}

body:not(.admin-layout) .news-page--category .news-card-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

body:not(.admin-layout) .news-page--category .news-card {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    min-height: 250px;
}

body:not(.admin-layout) .news-page--category .news-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 250px;
    aspect-ratio: auto;
    padding: 14px;
    background: #eef8fd;
}

body:not(.admin-layout) .news-page--category .news-card__media img {
    width: 100%;
    height: 100%;
    border-radius: 26px;
    object-fit: cover;
    box-shadow: none;
}

body:not(.admin-layout) .news-page--category .news-card__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 18px 20px 18px;
}

body:not(.admin-layout) .news-page--category .news-card__title {
    min-height: 0;
    margin: 0 0 12px;
    font-size: 21px;
    line-height: 1.36;
    color: #102f4a;
}

body:not(.admin-layout) .news-page--category .news-card__facts {
    display: grid;
    gap: 0;
    margin: 0;
    border-top: 1px dashed #d6e4ef;
}

body:not(.admin-layout) .news-page--category .news-card__fact {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-height: 38px;
    padding: 8px 0;
    border-bottom: 1px dashed #d6e4ef;
    color: #58718a;
    font-size: 14px;
    line-height: 1.5;
}

body:not(.admin-layout) .news-page--category .news-card__fact i {
    width: 18px;
    min-width: 18px;
    color: #0f6f9b;
    text-align: center;
}

body:not(.admin-layout) .news-page--category .news-card__fact strong {
    color: #183b5a;
}

body:not(.admin-layout) .news-page--category .news-card__fact span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body:not(.admin-layout) .news-page--category .news-card__desc {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
    min-height: 44px;
    margin: 0;
    padding: 8px 0 12px;
    padding-top: 0;
    border-bottom: 1px solid #e6edf4;
    color: #58718a;
    font-size: 14px;
    line-height: 1.6;
}

body:not(.admin-layout) .news-page--category .news-card__desc i {
    width: 18px;
    min-width: 18px;
    margin-top: 4px;
    color: #0f6f9b;
    text-align: center;
}

body:not(.admin-layout) .news-page--category .news-card__desc span {
    display: -webkit-box;
    min-width: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body:not(.admin-layout) .news-page--category .news-card__footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
}

body:not(.admin-layout) .news-page--category .news-card__cta {
    width: auto;
    min-width: 160px;
}

@media (max-width: 767px) {
    body:not(.admin-layout) .news-buslike-hero {
        margin-bottom: 16px;
    }

    body:not(.admin-layout) .news-buslike-hero__eyebrow {
        font-size: 12px;
        letter-spacing: .08em;
    }

    body:not(.admin-layout) .news-page--category .news-card-list {
        grid-template-columns: minmax(0, 1fr);
    }

    body:not(.admin-layout) .news-page--category .news-card {
        display: flex;
        flex-direction: column;
        min-height: 0;
        border-radius: 26px;
    }

    body:not(.admin-layout) .news-page--category .news-card__media {
        min-height: 0;
        aspect-ratio: 16 / 10;
        padding: 14px;
    }

    body:not(.admin-layout) .news-page--category .news-card__media img {
        border-radius: 26px;
    }

    body:not(.admin-layout) .news-page--category .news-card__title {
        min-height: 0;
    }

    body:not(.admin-layout) .news-page--category .news-card__cta {
        width: 100%;
        min-width: 0;
        min-height: 50px;
    }

    body:not(.admin-layout) .news-search-form {
        grid-template-columns: minmax(0, 1fr);
        margin-bottom: 18px;
        padding: 16px;
    }

    body:not(.admin-layout) .news-search-form__submit {
        width: 100%;
    }
}

