.news-grid-home {
    grid-template-columns: minmax(0, 1fr) 336px !important;
    gap: 18px !important;
    align-items: start !important;
}

.news-grid-home .news-main-column {
    display: grid;
    gap: 16px;
    align-content: start;
}

.news-grid-home .news-main-column > .news-panel {
    margin-top: 0;
}

.home-top {
    margin: 0;
}

.home-top__lead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 16px;
    align-items: stretch;
}

.home-top__carousel-card,
.home-top__flash,
.news-sidebar-home .news-promo,
.news-sidebar-home .news-aside-card {
    border-radius: 26px;
}

.home-top__carousel-card {
    overflow: hidden;
    background: #081326;
    box-shadow: 0 26px 60px rgba(10, 20, 34, 0.18);
}

.home-top__carousel,
.home-top__carousel > [carousel-item],
.home-top__carousel > [carousel-item] > * {
    height: clamp(420px, 42vw, 560px) !important;
    min-height: 420px !important;
}

.home-top__slide {
    position: relative;
    display: block;
    width: 100%;
    height: clamp(420px, 42vw, 560px);
    min-height: 420px;
    overflow: hidden;
    color: #fff;
    transform: translateZ(0);
}

.home-top__slide-media,
.home-top__slide-fallback,
.home-top__slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-top__slide-image {
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 6.2s cubic-bezier(0.22, 1, 0.36, 1), filter 0.9s ease;
    filter: saturate(0.92) brightness(0.88);
}

.home-top__slide-media,
.home-top__slide-fallback {
    background:
        radial-gradient(circle at top, rgba(40, 155, 255, 0.20), transparent 34%),
        linear-gradient(180deg, #08152a 0%, #0e2344 48%, #081121 100%);
    transition: transform 5.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease;
}

.home-top__slide-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(4, 12, 24, 0.06) 0%,
        rgba(4, 12, 24, 0.18) 32%,
        rgba(4, 12, 24, 0.72) 68%,
        rgba(4, 12, 24, 0.95) 100%
    );
    transition: opacity 0.7s ease, background 0.7s ease;
}

.home-top__slide-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 26px 28px 24px;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease;
}

.home-top__slide-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    font-weight: 700;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}

.home-top__slide-title {
    margin: 0 0 10px;
    max-width: min(88%, 760px);
    color: #fff;
    font-size: clamp(26px, 2.1vw, 40px);
    line-height: 1.2;
    font-weight: 800;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.32);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
}

.home-top__slide-summary {
    margin: 0 0 16px;
    max-width: min(82%, 680px);
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    line-height: 1.68;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease;
}

.home-top__slide-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    transition:
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.6s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
    box-shadow: 0 10px 24px rgba(5, 12, 24, 0.18);
}

.home-top__slide-action:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 14px 28px rgba(5, 12, 24, 0.24);
}

.home-top__slide::before {
    content: "";
    position: absolute;
    inset: auto auto -18% -8%;
    width: 42%;
    aspect-ratio: 1;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(46, 163, 255, 0.30), rgba(46, 163, 255, 0));
    opacity: 0.56;
    filter: blur(10px);
    transform: scale(0.84);
    transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.65s ease;
}

.home-top__slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(112deg, rgba(255, 255, 255, 0) 22%, rgba(255, 255, 255, 0.16) 38%, rgba(255, 255, 255, 0.05) 48%, rgba(255, 255, 255, 0) 62%);
    opacity: 0;
    transform: translateX(-34%);
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease;
    pointer-events: none;
}

.home-top__slide .home-top__slide-meta,
.home-top__slide .home-top__slide-title,
.home-top__slide .home-top__slide-summary,
.home-top__slide .home-top__slide-action {
    opacity: 0;
    transform: translateY(18px);
}

.home-top__slide .home-top__slide-copy {
    opacity: 0.92;
    transform: translateY(18px);
}

.home-top__slide.is-active::before {
    opacity: 0.92;
    transform: scale(1);
}

.home-top__slide.is-active::after {
    opacity: 1;
    transform: translateX(18%);
}

.home-top__slide.is-active .home-top__slide-image {
    transform: scale(1.1);
    filter: saturate(1) brightness(1);
}

.home-top__slide.is-active .home-top__slide-media,
.home-top__slide.is-active .home-top__slide-fallback {
    transform: scale(1.02);
}

.home-top__slide.is-active .home-top__slide-shade {
    background: linear-gradient(
        180deg,
        rgba(4, 12, 24, 0.03) 0%,
        rgba(4, 12, 24, 0.12) 30%,
        rgba(4, 12, 24, 0.68) 66%,
        rgba(4, 12, 24, 0.94) 100%
    );
}

.home-top__slide.is-active .home-top__slide-copy {
    opacity: 1;
    transform: translateY(0);
}

.home-top__slide.is-active .home-top__slide-meta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.08s;
}

.home-top__slide.is-active .home-top__slide-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.16s;
}

.home-top__slide.is-active .home-top__slide-summary {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.26s;
}

.home-top__slide.is-active .home-top__slide-action {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.36s;
}

.home-top__slide.is-leaving .home-top__slide-image {
    transform: scale(1.02);
}

.home-top__slide.is-leaving .home-top__slide-copy {
    opacity: 0.84;
    transform: translateY(10px);
}

.home-top__carousel .layui-carousel-arrow {
    width: 42px;
    height: 42px;
    line-height: 42px;
    margin-top: -21px;
    border-radius: 999px;
    background: rgba(8, 18, 34, 0.52);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, opacity 0.22s ease;
}

.home-top__carousel .layui-carousel-arrow:hover {
    transform: scale(1.06);
    background: rgba(12, 30, 56, 0.68);
    border-color: rgba(255, 255, 255, 0.22);
}

.home-top__carousel .layui-carousel-ind {
    bottom: 18px;
}

.home-top__carousel .layui-carousel-ind ul {
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(6, 16, 28, 0.28);
    backdrop-filter: blur(8px);
}

.home-top__carousel .layui-carousel-ind li {
    width: 10px;
    height: 10px;
    margin: 0 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
    transition: width 0.28s ease, transform 0.28s ease, background 0.28s ease, opacity 0.28s ease;
}

.home-top__carousel .layui-carousel-ind li.layui-this {
    width: 24px;
    background: #ffffff;
    transform: translateY(-1px);
}

.home-top__flash {
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.home-top__flash::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 18%, rgba(64, 174, 255, 0.08) 34%, rgba(255, 255, 255, 0.16) 48%, rgba(255, 255, 255, 0) 62%);
    opacity: 0;
    transform: translateX(-26%);
    pointer-events: none;
}

.home-top__flash.is-linked {
    box-shadow: 0 22px 52px rgba(10, 20, 34, 0.12);
    border-color: rgba(124, 175, 236, 0.92);
}

.home-top__flash.is-linked::after {
    animation: homeFlashSweep 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-top__flash {
    min-height: 520px;
    padding: 18px;
    border: 1px solid rgba(186, 210, 236, 0.78);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 250, 255, 0.94));
    box-shadow: 0 18px 46px rgba(10, 20, 34, 0.10);
}

.home-top__flash-head {
    margin-bottom: 14px;
}

.home-top__flash-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(30, 109, 255, 0.08);
    color: #1e6dff;
    font-size: 13px;
    font-weight: 800;
}

.home-top__flash-list {
    display: grid;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 14px;
    min-height: calc(520px - 64px);
}

.home-top__flash-item {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 18px 18px 16px;
    border-radius: 20px;
    border: 1px solid rgba(201, 220, 243, 0.92);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.96)),
        radial-gradient(circle at top right, rgba(68, 156, 255, 0.12), transparent 42%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.home-top__flash-item.is-linked-active {
    transform: translateY(-2px);
    border-color: rgba(76, 151, 255, 0.30);
    box-shadow: 0 14px 30px rgba(30, 109, 255, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(240, 248, 255, 0.98)),
        radial-gradient(circle at top right, rgba(68, 156, 255, 0.18), transparent 45%);
}

.home-top__flash-index {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff5a5f, #ff9a3d);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-top__flash-item:nth-child(2) .home-top__flash-index {
    background: linear-gradient(135deg, #ff7a45, #ffb347);
}

.home-top__flash-item:nth-child(3) .home-top__flash-index {
    background: linear-gradient(135deg, #f7a531, #f3ca62);
}

.home-top__flash-item:nth-child(4) .home-top__flash-index {
    background: linear-gradient(135deg, #3b82f6, #19c3d1);
}

.home-top__flash-copy {
    display: grid;
    gap: 8px;
}

.home-top__flash-title {
    color: #22324a;
    font-size: 18px;
    line-height: 1.48;
    font-weight: 760;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-top__flash-time {
    color: #7e8ea4;
    font-size: 12px;
    font-weight: 700;
}

.news-sidebar-home {
    display: grid;
    gap: 16px;
    align-content: start;
    align-self: start;
    position: relative;
    top: 0 !important;
    max-height: none;
    overflow: visible;
}

.news-sidebar-home .news-promo,
.news-sidebar-home .news-aside-card {
    margin-top: 0;
}

.news-sidebar-home .news-aside-card--editor {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.96)),
        radial-gradient(circle at top right, rgba(72, 149, 255, 0.08), transparent 36%);
}

.news-aside-group--editor {
    gap: 12px !important;
}

.news-link-item--editor {
    position: relative;
    display: grid;
    gap: 8px;
    padding: 14px 14px 14px 16px;
    border: 1px solid rgba(214, 226, 238, 0.92);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.news-link-item--editor::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #2f7dff, #66d6ff);
}

.news-link-item--editor:hover {
    transform: translateY(-2px);
    border-color: rgba(79, 138, 255, 0.28);
    box-shadow: 0 14px 28px rgba(16, 38, 68, 0.08);
}

.news-link-item--editor strong {
    font-size: 20px;
    line-height: 1.42;
}

.news-link-item--editor span {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.72;
}

@keyframes homeFlashSweep {
    0% {
        opacity: 0;
        transform: translateX(-26%);
    }
    22% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(30%);
    }
}

@media (max-width: 1500px) {
    .home-top__lead {
        grid-template-columns: minmax(0, 1fr) 350px;
    }
}

@media (max-width: 1360px) {
    .news-grid-home {
        grid-template-columns: 1fr !important;
    }

    .home-top__lead {
        grid-template-columns: 1fr;
    }

    .home-top__carousel,
    .home-top__carousel > [carousel-item],
    .home-top__carousel > [carousel-item] > *,
    .home-top__slide,
    .home-top__flash {
        height: 500px !important;
        min-height: 500px !important;
    }

    .news-sidebar-home {
        position: relative;
        top: 0 !important;
        max-height: none;
    }
}

@media (max-width: 900px) {
    .news-grid-home,
    .news-grid-home .news-main-column,
    .news-sidebar-home {
        gap: 14px !important;
    }

    .home-top__carousel,
    .home-top__carousel > [carousel-item],
    .home-top__carousel > [carousel-item] > *,
    .home-top__slide {
        height: clamp(320px, 74vw, 420px) !important;
        min-height: 320px !important;
    }

    .home-top__slide-copy {
        padding: 20px 18px 18px;
    }

    .home-top__slide-meta {
        margin-bottom: 10px;
        gap: 6px;
        font-size: 12px;
    }

    .home-top__slide-title {
        margin-bottom: 8px;
        font-size: clamp(22px, 6.8vw, 31px);
        line-height: 1.24;
        -webkit-line-clamp: 2;
    }

    .home-top__slide-summary {
        margin-bottom: 14px;
        font-size: 13px;
        line-height: 1.62;
        -webkit-line-clamp: 3;
    }

    .home-top__slide-action {
        padding: 8px 12px;
        font-size: 12px;
    }

    .home-top__carousel .layui-carousel-arrow {
        width: 38px;
        height: 38px;
        line-height: 38px;
        margin-top: -19px;
        font-size: 18px;
        background: rgba(8, 18, 34, 0.42);
    }

    .home-top__carousel .layui-carousel-arrow[lay-type="sub"] {
        left: 12px;
    }

    .home-top__carousel .layui-carousel-arrow[lay-type="add"] {
        right: 12px;
    }

    .home-top__carousel .layui-carousel-ind {
        bottom: 14px;
    }

    .home-top__carousel .layui-carousel-ind ul {
        padding: 4px 7px;
        background: rgba(6, 16, 28, 0.22);
    }

    .home-top__carousel .layui-carousel-ind li {
        width: 8px;
        height: 8px;
        margin: 0 3px;
    }

    .home-top__carousel .layui-carousel-ind li.layui-this {
        width: 18px;
    }

    .home-top__slide-title,
    .home-top__slide-summary {
        max-width: 100%;
    }

    .home-top__flash {
        min-height: auto;
        height: auto !important;
    }

    .home-top__flash-list {
        grid-template-rows: none;
        min-height: auto;
    }

    .home-top__slide::before,
    .home-top__slide::after,
    .home-top__flash::after {
        display: none !important;
    }

    .home-top__slide-image,
    .home-top__slide-media,
    .home-top__slide-fallback,
    .home-top__slide-copy,
    .home-top__slide-meta,
    .home-top__slide-title,
    .home-top__slide-summary,
    .home-top__slide-action,
    .home-top__flash,
    .home-top__flash-item {
        transition-duration: 0.01ms !important;
        animation: none !important;
    }

    .home-top__slide .home-top__slide-meta,
    .home-top__slide .home-top__slide-title,
    .home-top__slide .home-top__slide-summary,
    .home-top__slide .home-top__slide-action,
    .home-top__slide .home-top__slide-copy {
        opacity: 1 !important;
        transform: none !important;
    }

    .home-top__slide.is-active .home-top__slide-image,
    .home-top__slide.is-leaving .home-top__slide-image,
    .home-top__slide.is-active .home-top__slide-media,
    .home-top__slide.is-active .home-top__slide-fallback,
    .home-top__slide.is-leaving .home-top__slide-copy {
        transform: none !important;
    }

    .home-top__flash.is-linked {
        box-shadow: 0 18px 46px rgba(10, 20, 34, 0.10);
        border-color: rgba(186, 210, 236, 0.78);
    }

    .home-top__flash-item.is-linked-active {
        transform: none !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74) !important;
    }

    .news-list-grid > .news-list-card:nth-child(n + 7) {
        display: none !important;
    }

    .news-sidebar-home .news-aside-card--editor {
        display: none !important;
    }
}

@media (max-width: 640px) {
    .home-top__carousel-card,
    .home-top__flash {
        border-radius: 20px;
    }

    .home-top__slide-copy {
        padding: 18px 16px 16px;
    }

    .home-top__slide-meta {
        margin-bottom: 8px;
        font-size: 11px;
    }

    .home-top__slide-title {
        font-size: clamp(20px, 7vw, 28px);
    }

    .home-top__slide-summary {
        font-size: 12px;
        line-height: 1.58;
        -webkit-line-clamp: 2;
        max-width: 100%;
    }

    .home-top__slide-action {
        padding: 7px 11px;
        border-radius: 999px;
    }
}

/* Mobile hard override: keep hero readable on narrow screens */
@media (max-width: 768px) {
    .home-top__carousel,
    .home-top__carousel > [carousel-item],
    .home-top__carousel > [carousel-item] > *,
    .home-top__slide {
        height: 360px !important;
        min-height: 360px !important;
    }

    .home-top__slide-shade {
        background: linear-gradient(
            180deg,
            rgba(4, 12, 24, 0.10) 0%,
            rgba(4, 12, 24, 0.22) 28%,
            rgba(4, 12, 24, 0.76) 66%,
            rgba(4, 12, 24, 0.94) 100%
        ) !important;
    }

    .home-top__slide-copy {
        padding: 18px 16px 16px !important;
    }

    .home-top__slide-meta {
        margin-bottom: 8px !important;
        gap: 6px !important;
        font-size: 11px !important;
        line-height: 1.4 !important;
    }

    .home-top__slide-title {
        max-width: 100% !important;
        margin: 0 0 8px !important;
        font-size: 22px !important;
        line-height: 1.24 !important;
        -webkit-line-clamp: 2 !important;
    }

    .home-top__slide-summary {
        max-width: 100% !important;
        margin: 0 0 12px !important;
        font-size: 13px !important;
        line-height: 1.58 !important;
        -webkit-line-clamp: 2 !important;
    }

    .home-top__slide-action {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }

    .home-top__carousel .layui-carousel-arrow {
        width: 36px !important;
        height: 36px !important;
        line-height: 36px !important;
        margin-top: -18px !important;
        font-size: 18px !important;
    }

    .home-top__carousel .layui-carousel-arrow[lay-type="sub"] {
        left: 10px !important;
    }

    .home-top__carousel .layui-carousel-arrow[lay-type="add"] {
        right: 10px !important;
    }

    .home-top__carousel .layui-carousel-ind {
        bottom: 12px !important;
    }
}

@media (max-width: 480px) {
    .home-top__carousel-card,
    .home-top__flash {
        border-radius: 18px !important;
    }

    .home-top__carousel,
    .home-top__carousel > [carousel-item],
    .home-top__carousel > [carousel-item] > *,
    .home-top__slide {
        height: 332px !important;
        min-height: 332px !important;
    }

    .home-top__slide-copy {
        padding: 16px 14px 14px !important;
    }

    .home-top__slide-meta {
        margin-bottom: 6px !important;
        font-size: 10px !important;
    }

    .home-top__slide-title {
        font-size: 19px !important;
        line-height: 1.26 !important;
    }

    .home-top__slide-summary {
        font-size: 12px !important;
        line-height: 1.54 !important;
        -webkit-line-clamp: 2 !important;
    }

    .home-top__slide-action {
        padding: 7px 10px !important;
        font-size: 11px !important;
    }

    .home-top__carousel .layui-carousel-arrow {
        width: 34px !important;
        height: 34px !important;
        line-height: 34px !important;
        margin-top: -17px !important;
        font-size: 16px !important;
        opacity: 0.92 !important;
    }

    .home-top__carousel .layui-carousel-ind li {
        width: 7px !important;
        height: 7px !important;
        margin: 0 3px !important;
    }

    .home-top__carousel .layui-carousel-ind li.layui-this {
        width: 16px !important;
    }
}

/* final compact topic card override */
.topic-matrix {
    overflow: hidden;
}

.topic-matrix__head {
    margin-bottom: 14px;
}

.topic-matrix .news-section-title {
    margin: 6px 0 0;
    font-size: 18px !important;
    line-height: 1.18 !important;
}

.topic-matrix .news-section-copy {
    margin-top: 8px;
    max-width: 760px !important;
    color: #7c8ea6 !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}

.topic-matrix__grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-rows: 1fr !important;
    gap: 12px !important;
    align-items: stretch !important;
}

.topic-card {
    display: grid !important;
    grid-template-columns: 3px minmax(0, 1fr) !important;
    align-items: stretch !important;
    gap: 12px !important;
    min-height: 164px !important;
    padding: 14px !important;
    border: 1px solid #dce5ef !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, #ffffff, #f8fbff) !important;
    box-shadow: 0 10px 24px rgba(16, 38, 68, 0.05) !important;
    text-align: left !important;
    overflow: hidden !important;
}

.topic-card:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(22, 115, 255, 0.28) !important;
    box-shadow: 0 18px 36px rgba(16, 38, 68, 0.10) !important;
}

.topic-card__bar {
    width: 3px !important;
    height: 100% !important;
    border-radius: 999px !important;
}

.topic-card__body {
    display: grid !important;
    grid-template-rows: auto auto 1fr auto !important;
    gap: 8px !important;
    min-width: 0 !important;
    height: 100% !important;
}

.topic-card__eyebrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: start !important;
    width: fit-content !important;
    min-height: 24px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    background: #eef4ff !important;
    color: #2b68d8 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em !important;
}

.topic-card__title {
    margin: 0 !important;
    color: #172b43 !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
    font-weight: 850 !important;
    letter-spacing: -0.02em !important;
}

.topic-card__desc {
    margin: 0 !important;
    color: #647792 !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.topic-card__foot {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-top: auto !important;
    padding-top: 10px !important;
    border-top: 1px dashed rgba(208, 220, 234, 0.95) !important;
}

.topic-card__tag {
    color: #94a5ba !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}

.topic-card__action {
    display: inline-flex !important;
    align-items: center !important;
    color: #1f67e8 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
}

@media (max-width: 1280px) {
    .topic-matrix__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    .topic-matrix__grid {
        grid-template-columns: 1fr !important;
    }

    .topic-card {
        min-height: 144px !important;
    }
}

/* final homepage article list restore */
.news-list-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
}

.news-list-card {
    display: grid !important;
    grid-template-columns: 220px minmax(0, 1fr) !important;
    align-items: stretch !important;
    min-height: 246px !important;
    border: 1px solid #d7e3ef !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, #ffffff, #fbfdff) !important;
    box-shadow: 0 16px 36px rgba(16, 38, 68, 0.06) !important;
}

.news-list-card:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(22, 115, 255, 0.26) !important;
    box-shadow: 0 22px 44px rgba(16, 38, 68, 0.11) !important;
}

.news-list-grid > .news-list-card:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
}

.news-list-card .news-list-media {
    width: 220px !important;
    min-height: 246px !important;
    height: 100% !important;
    border-right: 1px solid rgba(215, 227, 239, 0.92) !important;
    background: linear-gradient(135deg, #142849, #24497c) !important;
}

.news-list-card .news-list-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

.news-list-card .news-card-body {
    display: grid !important;
    grid-template-rows: auto auto 1fr auto !important;
    gap: 13px !important;
    min-width: 0 !important;
    padding: 20px 22px 20px !important;
}

.news-list-card .news-card-meta {
    gap: 11px !important;
}

.news-list-card .news-card-meta > span,
.news-list-card .news-card-meta > time {
    color: #7f91a7 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.news-list-card .news-card-meta .news-badge {
    min-height: 34px !important;
    padding: 0 15px !important;
    font-size: 12px !important;
}

.news-list-card .news-card-title {
    color: #152a43 !important;
    font-size: 24px !important;
    line-height: 1.34 !important;
    font-weight: 850 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.news-list-card .news-card-summary {
    color: #61748c !important;
    font-size: 16px !important;
    line-height: 1.82 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.news-list-card .news-link-row {
    margin-top: auto !important;
    color: #1e63e5 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
}

.news-pagination {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
    margin-top: 34px !important;
}

.news-page-btn {
    min-width: 64px !important;
    height: 60px !important;
    padding: 0 22px !important;
    border: 1px solid #d5e0eb !important;
    border-radius: 18px !important;
    background: #fff !important;
    color: #6f8299 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 20px rgba(16, 38, 68, 0.04) !important;
}

.news-page-btn:hover,
.news-page-btn.is-active {
    border-color: #2a79ff !important;
    background: #2a79ff !important;
    color: #fff !important;
    box-shadow: 0 14px 28px rgba(42, 121, 255, 0.24) !important;
}

.news-page-btn.is-disabled,
.news-page-btn.is-gap {
    background: #f7fafd !important;
    color: #a1afbf !important;
    border-color: #e1e8f0 !important;
    box-shadow: none !important;
}

@media (max-width: 1280px) {
    .news-list-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 760px) {
    .news-list-card {
        grid-template-columns: 1fr !important;
        min-height: 0 !important;
    }

    .news-list-card .news-list-media {
        width: 100% !important;
        min-height: 228px !important;
        border-right: 0 !important;
        border-bottom: 1px solid rgba(215, 227, 239, 0.92) !important;
    }

    .news-list-card .news-card-body {
        padding: 18px !important;
    }

    .news-list-card .news-card-title {
        font-size: 21px !important;
    }

    .news-page-btn {
        min-width: 54px !important;
        height: 52px !important;
        font-size: 16px !important;
    }
}
