:root {
    --cat-text: #0d1b2a;
    --cat-muted: #6f7e8d;
    --cat-line: #dbe4ec;
    --cat-soft: #f6f9fc;
    --cat-blue: #0b6bff;
    --cat-blue-700: #0758d4;
    --cat-navy: #06243d;
    --cat-radius-lg: 18px;
    --cat-radius-md: 13px;
    --cat-shadow: 0 14px 38px rgba(12, 39, 66, .08);
}

.category-v2 {
    background: #fff;
    color: var(--cat-text);
    font-family: "IBM Plex Sans", sans-serif;
}

.category-v2 a {
    color: inherit;
    text-decoration: none;
}

.category-v2__container {
    padding-top: 22px;
    padding-bottom: 60px;
}

.category-v2__breadcrumb {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 16px;
    color: #7b8794;
    font-size: .88rem;
}

.category-v2__breadcrumb a:hover {
    color: var(--cat-blue);
}

.category-v2-hero {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    border-radius: 14px;
    background: #0b253c;
    box-shadow: var(--cat-shadow);
}

.category-v2-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-v2-hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(1, 18, 31, .83) 0%, rgba(1, 18, 31, .48) 42%, rgba(1, 18, 31, .08) 76%),
        linear-gradient(0deg, rgba(1, 16, 28, .50), rgba(1, 16, 28, .02) 55%);
}

.category-v2-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 300px;
    max-width: 720px;
    flex-direction: column;
    justify-content: flex-end;
    padding: 34px 36px;
    color: #fff;
}

.category-v2-hero h1 {
    max-width: 700px;
    margin: 0;
    color: #fff !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .28);
    font-family: "Outfit", sans-serif;
    font-size: clamp(2rem, 4vw, 3.45rem);
    font-weight: 760;
    line-height: 1.02;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.category-v2-hero p {
    max-width: 650px;
    margin: 12px 0 0;
    color: rgba(255,255,255,.94) !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .28);
    font-size: 1.10rem;
    line-height: 1.55;
}

.category-v2-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin: 16px 0 26px;
    padding: 2px 0 4px;
    scrollbar-width: none;
}

.category-v2-chips::-webkit-scrollbar {
    display: none;
}

.category-v2-chip {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 7px 13px;
    border: 1px solid #d6e0e9;
    border-radius: 999px;
    background: #fff;
    color: #435264;
    font-size: .90rem;
    font-weight: 650;
    transition: .18s ease;
}

.category-v2-chip:hover,
.category-v2-chip:focus-visible {
    border-color: #9bc0ff;
    color: var(--cat-blue);
}

.category-v2-chip--active {
    border-color: var(--cat-blue);
    background: var(--cat-blue);
    color: #fff;
}

.category-v2-chip--more {
    gap: 5px;
    cursor: default;
}

.category-v2-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    align-items: start;
}

.category-v2-feed {
    min-width: 0;
}

.category-v2-lead {
    overflow: hidden;
    border: 1px solid var(--cat-line);
    border-radius: var(--cat-radius-lg);
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 43, 68, .055);
}

.category-v2-lead__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 8.9;
    background: #e9eef3;
}

.category-v2-lead__media img,
.category-v2-card__media img,
.category-v2-newsletter > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.category-v2-lead:hover .category-v2-lead__media img,
.category-v2-card:hover .category-v2-card__media img {
    transform: scale(1.025);
}

.category-v2-lead__body {
    padding: 22px 24px 24px;
}

.category-v2-badge {
    display: inline-flex;
    margin-bottom: 9px;
    padding: 5px 8px;
    border-radius: 5px;
    background: #e9f2ff;
    color: #0b6bff;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.category-v2-lead h2,
.category-v2-card h3,
.category-v2-sidebar h2 {
    font-family: "Outfit", sans-serif;
}

.category-v2-lead h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(1.55rem, 2.7vw, 2.35rem);
    font-weight: 740;
    line-height: 1.08;
    letter-spacing: -.025em;
    text-wrap: balance;
}

.category-v2-lead h2 a:hover,
.category-v2-card h3 a:hover,
.category-v2-most-read a:hover {
    color: var(--cat-blue);
}

.category-v2-lead__body > p {
    max-width: 760px;
    margin: 12px 0 0;
    color: #5f6d79;
    font-size: 1.02rem;
    line-height: 1.62;
}

.category-v2-byline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 16px;
    color: #788592;
    font-size: .82rem;
}

.category-v2-byline img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.category-v2-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.category-v2-card {
    overflow: hidden;
    border: 1px solid var(--cat-line);
    border-radius: var(--cat-radius-md);
    background: #fff;
    box-shadow: 0 8px 22px rgba(18, 47, 73, .045);
}

.category-v2-card__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10.2;
    background: #edf2f6;
}

.category-v2-card__body {
    padding: 14px 15px 16px;
}

.category-v2-card h3 {
    margin: 0;
    font-size: 1.16rem;
    font-weight: 720;
    line-height: 1.25;
}

.category-v2-card p {
    margin: 9px 0 0;
    color: #667481;
    font-size: .90rem;
    line-height: 1.48;
}

.category-v2-card__meta {
    display: flex;
    gap: 5px;
    margin-top: 10px;
    color: #8995a0;
    font-size: .77rem;
}

.category-v2-sidebar {
    position: sticky;
    top: 86px;
}

.category-v2-sidebar__section {
    padding: 0 0 24px;
    border-bottom: 1px solid var(--cat-line);
    margin-bottom: 24px;
}

.category-v2-sidebar__section h2 {
    margin: 0 0 14px;
    color: #132131;
    font-size: 1.10rem;
    font-weight: 760;
}

.category-v2-topic-list,
.category-v2-most-read {
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-v2-topic-list li + li {
    margin-top: 4px;
}

.category-v2-topic-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    color: #3e4b58;
    font-size: .88rem;
    font-weight: 590;
}

.category-v2-topic-list a:hover {
    color: var(--cat-blue);
}

.category-v2-topic-list__icon {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    border-radius: 7px;
    background: #eaf3ff;
    color: var(--cat-blue);
    font-size: .85rem;
}

.category-v2-most-read {
    counter-reset: cat-most-read;
}

.category-v2-most-read li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
}

.category-v2-most-read li + li {
    margin-top: 15px;
}

.category-v2-most-read__number {
    color: #9aa7b3;
    font-size: .82rem;
    font-weight: 800;
    line-height: 1.45;
}

.category-v2-most-read a {
    display: block;
    color: #182533;
    font-size: .86rem;
    font-weight: 700;
    line-height: 1.34;
}

.category-v2-most-read small {
    display: block;
    margin-top: 4px;
    color: #9aa6b0;
    font-size: .72rem;
}

.category-v2-newsletter {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: var(--cat-navy);
    color: #fff;
    box-shadow: 0 14px 35px rgba(5, 36, 61, .16);
}

.category-v2-newsletter__copy {
    position: relative;
    z-index: 2;
    padding: 18px 18px 16px;
}

.category-v2-newsletter__copy > span {
    display: block;
    margin-bottom: 7px;
    color: #7dc0ff;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.category-v2-newsletter h2 {
    margin: 0 0 13px;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 690;
    line-height: 1.3;
}

.category-v2-newsletter input {
    width: 100%;
    height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 6px;
    background: #fff;
    color: #152536;
    font-size: .82rem;
    outline: none;
}

.category-v2-newsletter input:focus {
    border-color: #6eb4ff;
    box-shadow: 0 0 0 3px rgba(68,153,255,.18);
}

.category-v2-newsletter button {
    display: flex;
    width: 100%;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
    border: 0;
    border-radius: 6px;
    background: var(--cat-blue);
    color: #fff;
    font-size: .82rem;
    font-weight: 750;
    cursor: pointer;
}

.category-v2-newsletter button:hover,
.category-v2-newsletter button:focus-visible {
    background: var(--cat-blue-700);
}

.category-v2-newsletter > img {
    display: block;
    width: 100%;
    height: 115px;
    object-fit: cover;
}

.category-v2-pagination {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 26px;
}

.category-v2-page {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9e2eb;
    border-radius: 7px;
    background: #fff;
    color: #62707d;
    font-size: .86rem;
    font-weight: 700;
}

.category-v2-page:hover,
.category-v2-page:focus-visible {
    border-color: #9bc0ff;
    color: var(--cat-blue);
}

.category-v2-page--active {
    border-color: var(--cat-blue);
    background: var(--cat-blue);
    color: #fff;
}

.category-v2-page--arrow {
    font-size: 1.10rem;
}

.category-v2-empty {
    padding: 54px 24px;
    border: 1px solid var(--cat-line);
    border-radius: var(--cat-radius-lg);
    background: var(--cat-soft);
    text-align: center;
}

.category-v2-empty h2 {
    margin: 0;
    font-family: "Outfit", sans-serif;
    font-size: 1.5rem;
}

.category-v2-empty p {
    margin: 8px 0 0;
    color: var(--cat-muted);
}

.category-v2 :focus-visible {
    outline: 3px solid rgba(11,107,255,.22);
    outline-offset: 3px;
}

@media (max-width: 1199.98px) {
    .category-v2-layout {
        grid-template-columns: minmax(0, 1fr) 260px;
        gap: 24px;
    }
}

@media (max-width: 991.98px) {
    .category-v2-layout {
        grid-template-columns: 1fr;
    }

    .category-v2-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 22px;
    }

    .category-v2-newsletter {
        grid-column: 1 / -1;
    }

    .category-v2-newsletter {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 240px;
    }

    .category-v2-newsletter > img {
        height: 100%;
        min-height: 180px;
    }
}

@media (max-width: 767.98px) {
    .category-v2__container {
        padding-top: 14px;
        padding-bottom: 42px;
    }

    .category-v2-hero,
    .category-v2-hero__content {
        min-height: 250px;
    }

    .category-v2-hero__content {
        padding: 24px;
    }

    .category-v2-hero h1 {
        font-size: clamp(1.85rem, 9vw, 2.75rem);
    }

    .category-v2-hero p {
        font-size: .9rem;
    }

    .category-v2-grid {
        gap: 13px;
    }
}

@media (max-width: 575.98px) {
    .category-v2-hero {
        border-radius: 10px;
    }

    .category-v2-hero,
    .category-v2-hero__content {
        min-height: 230px;
    }

    .category-v2-hero__content {
        padding: 20px;
    }

    .category-v2-lead__body {
        padding: 18px;
    }

    .category-v2-grid {
        grid-template-columns: 1fr;
    }

    .category-v2-sidebar {
        grid-template-columns: 1fr;
    }

    .category-v2-newsletter {
        display: block;
        grid-column: auto;
    }

    .category-v2-newsletter > img {
        height: 120px;
        min-height: 0;
    }

    .category-v2-page {
        width: 32px;
        height: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .category-v2 *,
    .category-v2 *::before,
    .category-v2 *::after {
        transition-duration: .001ms !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
    }
}
