/* CSY News — Shared UI */
#news .csy-news-home *,
#news .csy-news-list-page *,
#news .csy-news-article-page *,
#news .csy-news-related * {
    box-sizing: border-box;
}

.csy-news-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(115deg, #14264b 0%, #1e2e61 55%, #0663de 100%);
    color: #fff;
}

.csy-news-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .45;
    background-image: radial-gradient(rgba(255,255,255,.35) 1px, transparent 1px);
    background-size: 25px 25px;
    mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
}

.csy-news-hero::after {
    content: "";
    position: absolute;
    width: 490px;
    height: 490px;
    right: -90px;
    top: -240px;
    border: 75px solid rgba(255,255,255,.07);
    border-radius: 50%;
}

.csy-news-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: 300px;
}

.csy-news-hero-copy {
    max-width: 800px;
    padding: 65px 0;
}

.csy-news-hero-copy::before {
    content: "CSY EDITORIAL / INSIGHTS";
    display: block;
    margin-bottom: 15px;
    color: #9bc8ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.csy-news-hero-copy h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.2;
    letter-spacing: -1px;
}

.csy-news-hero-copy p {
    max-width: 660px;
    margin: 18px 0 0;
    color: #d8e6ff;
    font-size: 15px;
    line-height: 1.85;
}

.csy-news-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 23px;
}

.csy-news-heading > div > span,
.csy-news-list-toolbar > div > span,
.csy-news-toc > span,
.csy-news-article-categories > span,
.csy-news-about-strip-copy > span,
.csy-news-list-cta > div > span,
.csy-news-article-head .container > span {
    display: block;
    margin-bottom: 9px;
    color: #0663de;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 1.6px;
}

.csy-news-heading h2,
.csy-news-list-toolbar h2 {
    margin: 0;
    color: #1e2e61;
    font-size: 29px;
    line-height: 1.25;
}

.csy-news-heading > p {
    max-width: 500px;
    margin: 0;
    color: #66768d;
    font-size: 14px;
    line-height: 1.75;
}

.csy-news-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    color: #8b98a9;
    font-size: 12px;
}

.csy-news-meta .fa {
    margin-right: 5px;
    color: #0663de;
}

.csy-news-card-title,
.csy-news-list-title {
    display: -webkit-box;
    overflow: hidden;
    color: #1e2e61;
    font-size: 18px;
    font-weight: 750;
    line-height: 1.5;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.csy-news-card-title:hover,
.csy-news-list-title:hover {
    color: #0663de;
}

.csy-news-read-more,
.csy-news-row-more {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #0663de;
    font-size: 13px;
    font-weight: 700;
}

.csy-news-read-more i,
.csy-news-row-more i {
    transition: transform .2s ease;
}

.csy-news-read-more:hover i,
.csy-news-row-more:hover i {
    transform: translateX(5px);
}

.csy-news-row-image,
.csy-news-featured-image,
.csy-news-grid-image,
.csy-news-list-image,
.csy-news-related-image {
    display: block;
    position: relative;
    overflow: hidden;
    background: #eaf1fc;
}

.csy-news-row-image img,
.csy-news-featured-image img,
.csy-news-grid-image img,
.csy-news-list-image img,
.csy-news-related-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.csy-news-row-image:hover img,
.csy-news-featured-image:hover img,
.csy-news-grid-image:hover img,
.csy-news-list-image:hover img,
.csy-news-related-image:hover img {
    transform: scale(1.055);
}

@media (max-width: 768px) {
    .csy-news-hero-inner {
        min-height: 0;
    }

    .csy-news-hero-copy {
        padding: 38px 0 45px;
    }

    .csy-news-hero-copy h1 {
        font-size: 31px;
    }

    .csy-news-heading {
        display: block;
    }

    .csy-news-heading h2 {
        font-size: 24px;
    }

    .csy-news-heading > p {
        margin-top: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .csy-news-row-image img,
    .csy-news-featured-image img,
    .csy-news-grid-image img,
    .csy-news-list-image img,
    .csy-news-related-image img {
        transition: none;
    }
}
/* News article — Publication reading layout */
.csy-news-article-head {
    padding: 55px 0 48px;
    text-align: left;
    background: linear-gradient(125deg, #1e2e61, #284b9b);
}

.csy-news-article-head .container > span {
    color: #a7cfff;
}

.csy-news-article-head h1 {
    max-width: 1040px;
    margin: 15px 0 25px;
    color: #fff;
    font-size: clamp(29px, 3.5vw, 45px);
    line-height: 1.28;
}

.csy-news-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: #d6e5ff;
    font-size: 13px;
}

.csy-news-article-meta .fa {
    margin-right: 6px;
    color: #a3ccff;
}

.csy-news-article-page {
    padding: 30px 0;
}

.csy-news-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 24px;
    align-items: start;
}

.csy-news-article-main {
    order: 1;
    min-width: 0;
    padding: 32px 38px;
    border-radius: 11px;
    background: #fff;
}

.csy-news-article-side {
    order: 2;
    position: sticky;
    top: 88px;
    display: grid;
    gap: 15px;
    max-height: calc(100vh - 105px);
    overflow-y: auto;
    scrollbar-width: thin;
}

.csy-news-toc,
.csy-news-article-categories {
    padding: 25px;
    border-radius: 11px;
    background: #fff;
}

.csy-news-toc h2,
.csy-news-article-categories h2 {
    margin: 0 0 18px;
    font-size: 18px;
    color: #1e2e61;
}

.csy-news-toc ul,
.csy-news-toc ol {
    margin: 0;
    padding-left: 18px;
}

.csy-news-toc li {
    margin-bottom: 12px;
    line-height: 1.55;
    color: #8796ad;
}

.csy-news-toc a {
    color: #64768f;
    font-size: 13px;
    line-height: 1.6;
}

.csy-news-toc a:hover,
.csy-news-toc a.csy-toc-active {
    color: #0663de;
    font-weight: 700;
}

.csy-news-article-categories > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e8edf6;
    color: #536783;
    font-size: 13px;
}

.csy-news-article-categories > a:last-child {
    border-bottom: none;
}

.csy-news-article-categories > a:hover,
.csy-news-article-categories > a.csy-active {
    color: #0663de;
}

.csy-news-richtext {
    color: #40516b;
    font-size: 15px;
    line-height: 1.95;
    overflow-wrap: anywhere;
}

.csy-news-richtext h2,
.csy-news-richtext h3,
.csy-news-richtext h4 {
    margin: 30px 0 14px;
    color: #1e2e61;
    line-height: 1.4;
}

.csy-news-richtext h2 {
    padding-bottom: 12px;
    border-bottom: 1px solid #e4eaf5;
    font-size: 25px;
}

.csy-news-richtext h3 {
    font-size: 20px;
}

.csy-news-richtext h4 {
    font-size: 17px;
}

.csy-news-richtext p {
    margin: 0 0 18px;
}

.csy-news-richtext strong {
    color: #213a68;
    font-weight: 700;
}

.csy-news-richtext a {
    color: #0663de;
    text-decoration: underline;
}

.csy-news-richtext ul,
.csy-news-richtext ol {
    margin: 12px 0 22px;
    padding-left: 25px;
}

.csy-news-richtext li {
    margin-bottom: 9px;
}

.csy-news-richtext img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 18px auto;
    border-radius: 7px;
}

.csy-news-richtext table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    font-size: 14px;
}

.csy-news-richtext th,
.csy-news-richtext td {
    padding: 11px 13px;
    border: 1px solid #dfe7f4;
    text-align: left;
}

.csy-news-richtext th {
    background: #edf3ff;
    color: #1e2e61;
}

.csy-news-richtext blockquote {
    margin: 23px 0;
    padding: 18px 23px;
    border-left: 4px solid #0663de;
    background: #f4f7ff;
}

.csy-news-prev-next {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-top: 38px;
    border-top: 1px solid #e5ebf5;
    padding-top: 25px;
}

.csy-news-prev-next > div {
    min-width: 0;
    padding: 17px;
    border-radius: 8px;
    background: #f3f7ff;
}

.csy-news-prev-next > div > span {
    display: block;
    margin-bottom: 9px;
    color: #8494aa;
    font-size: 11px;
    letter-spacing: 1px;
}

.csy-news-prev-next a {
    color: #1e2e61;
    font-size: 14px;
    line-height: 1.6;
}

.csy-news-prev-next a:hover {
    color: #0663de;
}

.csy-news-related {
    padding: 10px 0 45px;
}

.csy-news-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
}

.csy-news-related-grid > article {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border-radius: 10px;
    transition: transform .25s ease;
}

.csy-news-related-grid > article:hover {
    transform: translateY(-4px);
}

.csy-news-related-image {
    aspect-ratio: 16 / 10;
}

.csy-news-related-grid > article > div {
    padding: 17px;
}

.csy-news-related-grid > article > div > a {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 12px;
    color: #1e2e61;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.csy-news-related-grid > article > div > a:hover {
    color: #0663de;
}

@media (max-width: 1199px) {
    .csy-news-article-layout {
        grid-template-columns: minmax(0, 1fr) 240px;
    }

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

@media (max-width: 768px) {
    .csy-news-article-head {
        padding: 35px 0;
    }

    .csy-news-article-layout {
        grid-template-columns: 1fr;
    }

    .csy-news-article-main {
        order: 1;
        padding: 24px 19px;
    }

    .csy-news-article-side {
        order: 2;
        position: static;
        max-height: none;
    }

    .csy-news-prev-next {
        grid-template-columns: 1fr;
    }

    .csy-news-richtext h2 {
        font-size: 21px;
    }

    .csy-news-related-grid {
        gap: 11px;
    }
}
