﻿/* CS News Theme — red / navy / gold brand */
.theme-csnews { font-family: Arial, Helvetica, sans-serif; -webkit-text-size-adjust: 100%; }
.theme-csnews a { text-decoration: none; }
.bp-container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

.bp-hide-mobile { display: block; }
.bp-hide-desktop { display: none; }

/* Top bar */
.bp-topbar { background: #f8fafc; border-bottom: 1px solid #e2e8f0; font-size: .75rem; color: #64748b; }
.bp-topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; padding: .45rem 0; }
.bp-topbar__sep { margin: 0 .5rem; }
.bp-topbar__right { display: flex; align-items: center; gap: .65rem; }
.bp-social { display: flex; gap: .35rem; }
.bp-social__link { color: #D00000; font-size: .55rem; }

/* Brand bar */
.bp-brandbar { background: #fff; border-bottom: 1px solid #e2e8f0; padding: 1rem 0; }
.bp-brandbar__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "brand actions"
        "search search";
    gap: .65rem .75rem;
    align-items: center;
}
.bp-brand { grid-area: brand; min-width: 0; }
.bp-brandbar__actions { grid-area: actions; display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.bp-search-wrap { grid-area: search; min-width: 0; }
.bp-search {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #d0d7e2;
    border-radius: 999px;
    overflow: hidden;
    background: #f8fafc;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, .04);
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.bp-search:focus-within {
    background: #fff;
    border-color: #002060;
    box-shadow: 0 0 0 3px rgba(0, 32, 96, .12);
}
.bp-search__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    padding-left: .9rem;
    flex: 0 0 auto;
}
.bp-brand__name { display: block; font-size: 1.75rem; font-weight: 900; color: #002060; line-height: 1.1; letter-spacing: -.02em; }
.bp-brand__tagline { display: block; font-size: .7rem; color: #64748b; margin-top: .2rem; }
.bp-brand__logo { max-height: 72px; width: auto; display: block; }
.bp-search__input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: .7rem .65rem;
    font-size: .92rem;
    min-width: 0;
    color: #0f172a;
}
.bp-search__input::placeholder { color: #94a3b8; }
.bp-search__input:focus { outline: none; }
.bp-search__btn {
    border: 0;
    background: #002060;
    color: #fff;
    padding: 0 1.15rem;
    cursor: pointer;
    font-size: .84rem;
    font-weight: 800;
    min-width: 48px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}
.bp-search__btn:hover { background: #D00000; }
.bp-search__close {
    display: none;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0 .35rem;
    cursor: pointer;
}
.bp-search-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #002060;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.bp-search-toggle:hover { border-color: #002060; background: #f8fafc; }
.bp-btn { display: inline-flex; align-items: center; justify-content: center; padding: .55rem 1rem; border-radius: .35rem; font-size: .85rem; font-weight: 700; min-height: 40px; }
.bp-btn--login { background: #D00000; color: #fff; }

/* Nav */
.bp-nav { background: #002060; color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 8px rgba(15,23,42,.12); }
.bp-nav__inner { display: flex; align-items: stretch; gap: 0; min-height: 48px; }
.bp-nav__scroll {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.bp-nav__scroll::-webkit-scrollbar { display: none; }
.bp-nav__list { display: flex; flex-wrap: nowrap; list-style: none; margin: 0; padding: 0; gap: 0; width: max-content; min-width: 100%; }
.bp-nav__link {
    display: flex;
    align-items: center;
    padding: .85rem 1rem;
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    white-space: nowrap;
    min-height: 48px;
    border-bottom: 3px solid transparent;
}
.bp-nav__link:hover, .bp-nav__link.is-active { background: rgba(255,255,255,.1); border-bottom-color: #FFD700; }
.bp-live-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #D00000;
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    padding: .45rem .75rem;
    border-radius: .25rem;
    white-space: nowrap;
    min-height: 32px;
    flex-shrink: 0;
}
.bp-live-btn--mobile { font-size: .68rem; padding: .4rem .6rem; border-radius: .2rem; }
.bp-live-btn--desktop { align-self: center; margin: .45rem .5rem .45rem 0; }

/* Hero */
.bp-hero { padding: 1rem 0; }
.bp-hero__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.bp-carousel { position: relative; border-radius: .5rem; overflow: hidden; background: #001845; }
.bp-carousel__slide { display: none; }
.bp-carousel__slide.is-active { display: block; }
.bp-carousel__link { display: block; color: #fff; }
.bp-carousel__media { position: relative; aspect-ratio: 16 / 9; background: #001845; }
.bp-carousel__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bp-carousel__overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.25rem 1rem 2.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,.88));
}
.bp-carousel__badge { display: inline-block; background: #D00000; color: #fff; font-size: .65rem; font-weight: 800; padding: .2rem .5rem; border-radius: .15rem; margin-bottom: .5rem; }
.bp-carousel__title {
    margin: 0 0 .35rem;
    font-size: 1.15rem;
    line-height: 1.35;
    font-weight: 800;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bp-carousel__meta { margin: 0; font-size: .75rem; opacity: .9; }
.bp-carousel__arrow {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.5);
    color: #fff;
    border: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    font-size: .85rem;
}
.bp-carousel__arrow--prev { left: .5rem; }
.bp-carousel__arrow--next { right: .5rem; }
.bp-carousel__dots { position: absolute; bottom: .75rem; left: 50%; transform: translateX(-50%); display: flex; gap: .4rem; z-index: 2; }
.bp-carousel__dot { width: 7px; height: 7px; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; }
.bp-carousel__dot.is-active { background: #fff; width: 18px; border-radius: 999px; }

.bp-topnews { background: #fff; border: 1px solid #e2e8f0; border-radius: .5rem; padding: 1rem; display: flex; flex-direction: column; }
.bp-topnews__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; padding-bottom: .5rem; border-bottom: 2px solid #D00000; }
.bp-topnews__title { margin: 0; font-size: 1rem; font-weight: 800; color: #001845; }
.bp-topnews__live { background: #D00000; color: #fff; font-size: .62rem; font-weight: 800; padding: .15rem .45rem; border-radius: .15rem; animation: bp-pulse 2s infinite; }
@keyframes bp-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .75; } }
.bp-topnews__list { list-style: none; margin: 0; padding: 0; flex: 1; }
.bp-topnews__item { position: relative; padding-left: .85rem; margin-bottom: .75rem; border-left: 2px solid #cbd5e1; }
.bp-topnews__item:last-child { margin-bottom: 0; }
.bp-topnews__time { display: block; font-size: .68rem; color: #64748b; margin-bottom: .15rem; }
.bp-topnews__headline { color: #001845; font-size: .82rem; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bp-topnews__headline:hover { color: #D00000; }
.bp-topnews__more { display: inline-flex; align-items: center; margin-top: .75rem; color: #D00000; font-size: .82rem; font-weight: 700; min-height: 44px; }

/* Category icons */
.bp-cats { padding: .25rem 0 1rem; }
.bp-cats__grid {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    padding-bottom: .25rem;
}
.bp-cats__grid::-webkit-scrollbar { display: none; }
.bp-cats__item {
    flex: 0 0 4.5rem;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
    padding: .55rem .35rem;
    border: 1px solid #e2e8f0;
    border-radius: .5rem;
    background: #fff;
    text-align: center;
}
.bp-cats__item:hover { border-color: #D00000; background: #f8fafc; }
.bp-cats__icon { font-size: 1.2rem; line-height: 1; }
.bp-cats__label { font-size: .62rem; font-weight: 700; color: #334155; line-height: 1.2; }

/* Main 3-column */
.bp-main { padding-bottom: 1.5rem; }
.bp-main__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.bp-panel { background: #fff; border: 1px solid #e2e8f0; border-radius: .5rem; padding: 1rem; }
.bp-panel__title { margin: 0 0 .85rem; font-size: 1rem; font-weight: 800; color: #001845; padding-bottom: .5rem; border-bottom: 2px solid #D00000; }

.bp-story-row { display: grid; grid-template-columns: 96px 1fr; gap: .65rem; padding: .7rem 0; border-bottom: 1px solid #f1f5f9; align-items: start; }
.bp-story-row:last-child { border-bottom: 0; }
.bp-story-row__thumb img { border-radius: .35rem; width: 100%; height: auto; display: block; }
.bp-story-row__title { margin: 0 0 .25rem; font-size: .88rem; line-height: 1.35; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bp-story-row__title a { color: #001845; }
.bp-story-row__title a:hover { color: #D00000; }
.bp-story-row__meta { margin: 0; font-size: .72rem; color: #64748b; }

.bp-tabs__nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: .75rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.bp-tabs__nav::-webkit-scrollbar { display: none; }
.bp-tabs__btn {
    border: 0;
    background: transparent;
    padding: .65rem .85rem;
    font-size: .78rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 44px;
}
.bp-tabs__btn.is-active { color: #D00000; border-bottom-color: #D00000; }
.bp-tabs__panel { display: none; }
.bp-tabs__panel.is-active { display: block; }
.bp-latest-row { display: grid; grid-template-columns: 88px 1fr; gap: .6rem; padding: .65rem 0; border-bottom: 1px solid #f1f5f9; align-items: start; }
.bp-latest-row:last-child { border-bottom: 0; }
.bp-latest-row__thumb img { border-radius: .3rem; width: 100%; height: auto; display: block; }
.bp-latest-row__title { margin: 0 0 .2rem; font-size: .84rem; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bp-latest-row__title a { color: #001845; }
.bp-latest-row__title a:hover { color: #D00000; }
.bp-latest-row__meta { margin: 0; font-size: .7rem; color: #64748b; display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.bp-latest-row__tag { background: #FFE8E8; color: #002060; padding: .1rem .35rem; border-radius: .15rem; font-size: .62rem; font-weight: 700; }

.bp-sidebar-widgets { display: flex; flex-direction: column; gap: 1rem; }
.bp-newsletter { background: linear-gradient(135deg, #002060, #D00000); color: #fff; border-radius: .5rem; padding: 1.25rem; text-align: center; }
.bp-newsletter__icon { font-size: 2rem; margin-bottom: .35rem; }
.bp-newsletter__title { margin: 0 0 .35rem; font-size: 1.05rem; font-weight: 800; }
.bp-newsletter__text { margin: 0 0 .85rem; font-size: .8rem; opacity: .95; }
.bp-newsletter__form { display: flex; flex-direction: column; gap: .5rem; }
.bp-newsletter__input { border: 0; border-radius: .35rem; padding: .65rem .75rem; font-size: .85rem; min-height: 44px; }
.bp-newsletter__btn { border: 0; background: #fff; color: #002060; font-weight: 800; padding: .65rem; border-radius: .35rem; cursor: pointer; min-height: 44px; }

/* Trust bar */
.bp-trust { background: #FFF8F0; border-top: 1px solid #FFE8E8; border-bottom: 1px solid #FFE8E8; padding: 1rem 0; margin-top: .25rem; }
.bp-trust__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem 1rem; }
.bp-trust__item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .15rem; font-size: .68rem; color: #475569; padding: .35rem; }
.bp-trust__item strong { color: #001845; font-size: .78rem; }
.bp-trust__icon { font-size: 1.25rem; color: #D00000; }

/* Footer */
.bp-footer__main { background: #001845; color: #cbd5e1; padding: 2rem 0; }
.bp-footer__grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.bp-footer__brand { display: block; font-size: 1.2rem; font-weight: 900; color: #fff; margin-bottom: .65rem; }
.bp-footer__brand--logo { display: inline-block; line-height: 0; }
.bp-footer__logo { display: block; max-width: min(220px, 100%); width: auto; height: auto; max-height: 56px; object-fit: contain; }
.bp-footer__about { font-size: .82rem; line-height: 1.55; margin: 0 0 .85rem; }
.bp-footer__social { display: flex; gap: .5rem; }
.bp-footer__social-link { color: #FFD700; font-size: .65rem; }
.bp-footer__heading { margin: 0 0 .65rem; font-size: .9rem; font-weight: 800; color: #fff; }
.bp-footer__links, .bp-footer__contact { list-style: none; margin: 0; padding: 0; font-size: .82rem; }
.bp-footer__links li, .bp-footer__contact li { margin-bottom: .4rem; }
.bp-footer__links a, .bp-footer__contact a { color: #cbd5e1; }
.bp-footer__links a:hover, .bp-footer__contact a:hover { color: #fff; }
.bp-footer__bottom { background: #000F2E; color: #94a3b8; font-size: .72rem; padding: .85rem 0; }
.bp-footer__bottom-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .65rem; }
.bp-footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem .85rem; }
.bp-footer__legal a { color: #94a3b8; }
.bp-footer__legal a:hover { color: #fff; }
.bp-scroll-top { position: fixed; bottom: 1rem; right: 1rem; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #D00000; color: #fff; font-weight: 800; box-shadow: 0 4px 14px rgba(37,99,235,.35); z-index: 40; cursor: pointer; }
.bp-scroll-top.hidden { display: none; }

/* Utility */
.theme-csnews .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Tablet+ */
@media (min-width: 640px) {
    .bp-cats__item { flex-basis: 5rem; }
    .bp-cats__label { font-size: .68rem; }
    .bp-story-row { grid-template-columns: 110px 1fr; }
    .bp-latest-row { grid-template-columns: 96px 1fr; }
}

@media (min-width: 768px) {
    .bp-hide-mobile { display: block; }
    .bp-hide-desktop { display: none; }
    .bp-brandbar__inner {
        grid-template-columns: minmax(180px, 240px) 1fr auto;
        grid-template-areas: "brand search actions";
        gap: 1rem;
    }
    .bp-brandbar { padding: 1rem 0; }
    .bp-brand__name { font-size: 1.75rem; }
    .bp-hero { padding: 1.25rem 0; }
    .bp-carousel__title { font-size: 1.2rem; -webkit-line-clamp: 2; }
    .bp-footer__bottom-inner { flex-direction: row; text-align: left; justify-content: space-between; }
    .bp-footer__legal { justify-content: flex-end; }
    .bp-footer__main { padding: 2.5rem 0; }
    .bp-footer__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .bp-trust__grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
    .bp-trust__item { font-size: .72rem; }
    .bp-trust__item strong { font-size: .82rem; }
}

@media (min-width: 992px) {
    .bp-hero__grid { grid-template-columns: 2fr 1fr; align-items: stretch; }
    .bp-main__grid { grid-template-columns: 1fr 1.1fr .85fr; gap: 1.25rem; align-items: start; }
    .bp-story-row { grid-template-columns: 120px 1fr; }
    .bp-cats__grid {
        display: grid;
        grid-template-columns: repeat(10, minmax(0, 1fr));
        overflow: visible;
        scroll-snap-type: none;
    }
    .bp-cats__item { flex: initial; }
    .bp-footer__grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
    .bp-topnews__item:nth-child(n+7) { display: list-item; }
}

/* Mobile only */
@media (max-width: 767px) {
    .bp-hide-mobile { display: none !important; }
    .bp-hide-desktop { display: inline-flex !important; }
    .bp-container { padding: 0 .85rem; }
    .bp-brandbar { padding: .65rem 0; }
    .bp-brand__name { font-size: 1.2rem; }
    .bp-brand__logo { max-height: 46px; }
    .bp-btn--login { padding: .4rem .7rem; font-size: .75rem; min-height: 36px; }
    .bp-search-toggle { display: inline-flex !important; }
    .bp-search-wrap {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        z-index: 70;
        padding: .65rem .85rem .85rem;
        background: #fff;
        border-bottom: 1px solid #e2e8f0;
        box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
    }
    .bp-brandbar { position: relative; }
    .bp-brandbar.is-search-open .bp-search-wrap { display: block; }
    .bp-brandbar__inner {
        grid-template-columns: 1fr auto;
        grid-template-areas: "brand actions";
    }
    .bp-search { border-radius: 10px; background: #fff; }
    .bp-search__icon { padding-left: .75rem; }
    .bp-search__input { padding: .7rem .5rem; font-size: 16px; /* prevent iOS zoom */ }
    .bp-search__close { display: inline-flex !important; align-items: center; }
    .bp-search__btn { min-width: 48px; border-radius: 0; padding: 0 .9rem; }
    .bp-nav .bp-container { padding: 0; }
    .bp-nav__link { padding: .75rem .9rem; font-size: .8rem; }
    .bp-hero { padding: .75rem 0 0; }
    .bp-hero.bp-container { padding-left: 0; padding-right: 0; }
    .bp-hero__grid { gap: .75rem; }
    .bp-carousel { border-radius: 0; }
    .bp-carousel__overlay { padding: 1rem .85rem 2.25rem; }
    .bp-carousel__title { font-size: 1rem; }
    .bp-carousel__arrow { width: 32px; height: 32px; }
    .bp-topnews { border-left: 0; border-right: 0; border-radius: 0; margin: 0 .85rem; }
    .bp-topnews__item:nth-child(n+6) { display: none; }
    .bp-cats.bp-container { padding-left: .85rem; padding-right: 0; }
    .bp-cats__grid { padding-right: .85rem; }
    .bp-panel { border-left: 0; border-right: 0; border-radius: 0; padding: .85rem; }
    .bp-main.bp-container { padding-left: 0; padding-right: 0; }
    .bp-main__grid { gap: .75rem; }
    .bp-trust { padding: .85rem 0; }
    .bp-trust__grid { gap: .5rem .75rem; }
    .bp-scroll-top { bottom: max(1rem, env(safe-area-inset-bottom)); right: max(1rem, env(safe-area-inset-right)); }
}

/* Push banner offset on mobile */
@media (max-width: 767px) {
    body.theme-csnews.has-push-banner .bp-nav { top: 0; }
}

/* Google login modal */
body.bp-login-open { overflow: hidden; }
.bp-login-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 1rem;
}
.bp-login-modal[hidden] { display: none !important; }
.bp-login-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .55);
    backdrop-filter: blur(2px);
}
.bp-login-modal__panel {
    position: relative;
    width: min(100%, 420px);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .25);
    padding: 1.5rem 1.5rem 1.75rem;
    text-align: center;
}
.bp-login-modal__close {
    position: absolute;
    top: .65rem;
    right: .75rem;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}
.bp-login-modal__brand { margin-bottom: .85rem; }
.bp-login-modal__logo { max-height: 52px; width: auto; margin: 0 auto; }
.bp-login-modal__site { font-size: 1.1rem; font-weight: 800; color: #001845; }
.bp-login-modal__title { margin: 0 0 .35rem; font-size: 1.25rem; font-weight: 800; color: #001845; }
.bp-login-modal__lead { margin: 0 0 1.25rem; font-size: .9rem; color: #64748b; line-height: 1.5; }
.bp-login-modal__google {
    display: flex;
    justify-content: center;
    min-height: 44px;
}
.bp-login-modal__status { margin: .85rem 0 0; font-size: .85rem; }
.bp-login-modal__status.is-success { color: #059669; }
.bp-login-modal__status.is-error { color: #D00000; }
.bp-login-modal__hint {
    margin: 1rem 0 0;
    font-size: .75rem;
    color: #94a3b8;
    line-height: 1.45;
}
.bp-login-modal__hint code { font-size: .72rem; }

.bp-user-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    max-width: 220px;
}
.bp-user-chip__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #FFE8E8;
}
.bp-user-chip__name {
    font-size: .78rem;
    font-weight: 700;
    color: #002060;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bp-user-chip__logout {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #475569;
    font-size: .68rem;
    font-weight: 700;
    padding: .28rem .45rem;
    border-radius: 999px;
    cursor: pointer;
}
.bp-user-chip__logout:hover { background: #f8fafc; }

/* CS News wordmark + brand polish */
.theme-csnews { --cs-red:#D00000; --cs-navy:#002060; --cs-gold:#FFD700; }
.theme-csnews .bp-nav { border-bottom: 3px solid var(--cs-gold); }
.theme-csnews .bp-search__btn { background: var(--cs-navy); }
.theme-csnews .bp-search__btn:hover { background: var(--cs-red); }
.theme-csnews .bp-btn--login { background: var(--cs-red); }
.theme-csnews .bp-btn--login:hover { background: #b00000; }
.theme-csnews .bp-carousel__badge { background: var(--cs-red); }
.theme-csnews .bp-newsletter { background: linear-gradient(135deg, #002060, #D00000); }
.theme-csnews .bp-newsletter__btn { color: #002060; }
.theme-csnews .bp-scroll-top { background: var(--cs-red); box-shadow: 0 4px 14px rgba(208,0,0,.35); }
.theme-csnews .bp-user-chip__name { color: var(--cs-navy); }
.theme-csnews .bp-user-chip__avatar { border-color: #FFD700; }
.theme-csnews .bp-topnews__head,
.theme-csnews .bp-panel__title { border-bottom-color: var(--cs-red); }
.theme-csnews .bp-tabs__btn.is-active { color: var(--cs-red); border-bottom-color: var(--cs-gold); }
.theme-csnews .bp-latest-row__tag { background: #FFE8E8; color: var(--cs-red); }
.theme-csnews .bp-nav__link:hover,
.theme-csnews .bp-nav__link.is-active { border-bottom-color: var(--cs-gold); }

.cs-wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; gap: .2rem; max-width: 100%; }
.cs-wordmark__logo { display: block; max-height: 68px; width: auto; max-width: min(240px, 70vw); }
.cs-wordmark__fallback { display: none; flex-direction: column; align-items: flex-start; gap: .25rem; }
.cs-wordmark.is-fallback .cs-wordmark__logo { display: none; }
.cs-wordmark.is-fallback .cs-wordmark__fallback { display: flex; }
.cs-wordmark__badge {
  display: inline-flex;
  align-items: stretch;
  transform: skewX(-12deg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,32,96,.18);
}
.cs-wordmark__cs,
.cs-wordmark__news {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-style: italic;
  letter-spacing: .02em;
  transform: skewX(12deg);
  line-height: 1;
  padding: .55rem .7rem;
  font-size: 1.35rem;
}
.cs-wordmark__cs { background: #D00000; padding-right: .55rem; }
.cs-wordmark__news { background: #002060; padding-left: .65rem; padding-right: .85rem; }
.cs-wordmark__divider { width: 3px; background: #FFD700; flex: 0 0 auto; }
.cs-wordmark__tagline {
  font-family: "Noto Sans Telugu", "Noto Sans", Arial, sans-serif;
  font-size: .68rem;
  font-weight: 700;
  color: #002060;
  letter-spacing: .01em;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .cs-wordmark__logo { max-height: 48px; }
  .cs-wordmark__cs, .cs-wordmark__news { font-size: 1.05rem; padding: .4rem .55rem; }
  .cs-wordmark__tagline { font-size: .58rem; }
}

/* Search results page */
.cs-search-page {
  background: linear-gradient(180deg, #f8fafc 0, #fff 180px);
  padding: 1.25rem 0 2.5rem;
}
.cs-search-page__hero {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.15rem 1.15rem 1.25rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
  margin-bottom: 1.25rem;
}
.cs-search-page__eyebrow {
  margin: 0 0 .25rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #D00000;
}
.cs-search-page__title {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 900;
  color: #002060;
  line-height: 1.25;
}
.cs-search-page__form {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid #d0d7e2;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
}
.cs-search-page__form:focus-within {
  background: #fff;
  border-color: #002060;
  box-shadow: 0 0 0 3px rgba(0, 32, 96, .12);
}
.cs-search-page__icon {
  display: inline-flex;
  color: #64748b;
  padding-left: .85rem;
}
.cs-search-page__input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: .85rem .65rem;
  font-size: 16px;
  min-width: 0;
  color: #0f172a;
}
.cs-search-page__input:focus { outline: none; }
.cs-search-page__btn {
  border: 0;
  background: #002060;
  color: #fff;
  font-weight: 800;
  padding: 0 1.2rem;
  min-height: 48px;
  cursor: pointer;
}
.cs-search-page__btn:hover { background: #D00000; }
.cs-search-page__count {
  margin: 0 0 .85rem;
  font-size: .9rem;
  color: #64748b;
}
.cs-search-page__count strong { color: #002060; }
.cs-search-page__hint,
.cs-search-page__empty {
  margin: 0;
  color: #64748b;
  line-height: 1.5;
}
.cs-search-page__empty-box {
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.cs-search-page__empty-title {
  margin: 0 0 .35rem;
  color: #002060;
  font-size: 1.1rem;
}
.cs-search-page__cta {
  display: inline-flex;
  margin-top: .85rem;
  color: #D00000;
  font-weight: 800;
}
.cs-search-results {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .85rem;
}
.cs-search-results__item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .15s, border-color .15s;
}
.cs-search-results__item:hover {
  border-color: #c7d2fe;
  box-shadow: 0 10px 28px rgba(0, 32, 96, .08);
}
.cs-search-results__link {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: .85rem;
  padding: .75rem;
  color: inherit;
}
.cs-search-results__media {
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
  min-height: 78px;
}
.cs-search-results__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
}
.cs-search-results__cat {
  display: inline-block;
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #D00000;
  margin-bottom: .25rem;
}
.cs-search-results__title {
  margin: 0 0 .3rem;
  font-size: .98rem;
  line-height: 1.35;
  font-weight: 800;
  color: #0f172a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cs-search-results__item:hover .cs-search-results__title { color: #002060; }
.cs-search-results__excerpt {
  margin: 0 0 .35rem;
  font-size: .82rem;
  color: #64748b;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cs-search-results__meta {
  font-size: .72rem;
  color: #94a3b8;
}
@media (min-width: 768px) {
  .cs-search-page { padding: 1.75rem 0 3rem; }
  .cs-search-page__hero { padding: 1.5rem 1.5rem 1.6rem; }
  .cs-search-results__link { grid-template-columns: 180px 1fr; gap: 1.1rem; padding: 1rem; }
  .cs-search-results__title { font-size: 1.12rem; -webkit-line-clamp: 3; }
}
@media (max-width: 480px) {
  .cs-search-results__link { grid-template-columns: 88px 1fr; gap: .65rem; padding: .65rem; }
  .cs-search-results__excerpt { display: none; }
}

/* Shared pagination (Latest News / category / blog) */
.pager { display: flex; justify-content: center; width: 100%; margin-top: 1rem; }
.pager__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .15rem .35rem; list-style: none; margin: 0; padding: .35rem 0; }
.pager__page, .pager__arrow, .pager__ellipsis {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; min-height: 36px; padding: 0 .35rem;
  font-size: .95rem; font-weight: 600; color: #111827; text-decoration: none;
  border-radius: 999px; line-height: 1;
}
.pager__page:hover, .pager__arrow:hover { background: #f3f4f6; }
.pager__page.is-active { background: #1e3a8a; color: #fff; font-weight: 700; pointer-events: none; }
.pager__arrow { font-size: 1.1rem; }
.pager__arrow--disabled { color: #d1d5db; pointer-events: none; }
.pager__ellipsis { color: #6b7280; min-width: 28px; }
