/* 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;
}

/* =========================================================
   News Banner - Shared by News Home and News Category
   The artwork is packaged in images/news-banner.webp.
========================================================= */

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

#news .csy-news-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 87% 45%, rgba(125, 184, 255, 0.20), transparent 36%);
    pointer-events: none;
}

#news .csy-news-hero::after {
    content: "";
    position: absolute;
    right: -145px;
    top: -190px;
    width: 550px;
    height: 550px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50%;
    pointer-events: none;
}

#news .csy-news-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
    gap: 48px;
    min-height: 400px;
}

#news .csy-news-hero-copy {
    min-width: 0;
    max-width: 670px;
    padding: 44px 0;
}

#news .csy-news-hero-copy::before {
    content: "CSY EDITORIAL / INSIGHTS";
    display: block;
    margin-bottom: 17px;
    color: #92c5ff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 1.7px;
}

#news .csy-news-hero-copy h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(29px, 2.65vw, 39px);
    font-weight: 750;
    line-height: 1.24;
    letter-spacing: -0.5px;
    overflow-wrap: break-word;
}

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

#news .csy-news-hero-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-height: 43px;
    margin-top: 24px;
    padding: 0 19px;
    border: 1px solid rgba(255, 255, 255, 0.40);
    border-radius: 7px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

#news .csy-news-hero-link:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.13);
    color: #ffffff;
}

#news .csy-news-hero-visual {
    position: relative;
    width: 100%;
    max-width: 545px;
    margin-left: auto;
    aspect-ratio: 1.65 / 1;
    overflow: hidden;
    border: 1px solid rgba(182, 216, 255, 0.30);
    border-radius: 18px;
    background: #102d66;
    box-shadow: 0 20px 48px rgba(4, 19, 49, 0.27);
}

#news .csy-news-hero-visual::after {
    content: "";
    position: absolute;
    inset: 55% 0 0;
    background: linear-gradient(0deg, rgba(4, 20, 52, 0.52), transparent);
    pointer-events: none;
}

#news .csy-news-hero-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#news .csy-news-hero-photo-label {
    position: absolute;
    z-index: 1;
    right: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: calc(100% - 32px);
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, 0.23);
    border-radius: 8px;
    background: rgba(13, 39, 86, 0.80);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

#news .csy-news-hero-photo-label i {
    color: #9dccff;
    font-size: 15px;
}

@media (max-width: 991px) {
    #news .csy-news-hero-inner {
        gap: 24px;
        min-height: 290px;
    }

    #news .csy-news-hero-copy {
        padding: 36px 0;
    }

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

    #news .csy-news-hero-copy p {
        font-size: 14px;
    }

    #news .csy-news-hero-visual {
        border-radius: 13px;
    }
}

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

    #news .csy-news-hero-copy {
        max-width: 100%;
        padding: 34px 0 38px;
    }

    #news .csy-news-hero-copy::before {
        margin-bottom: 10px;
        font-size: 11px;
    }

    #news .csy-news-hero-copy h1 {
        font-size: 28px;
        letter-spacing: 0;
    }

    #news .csy-news-hero-copy p {
        margin-top: 12px;
        font-size: 14px;
        line-height: 1.7;
    }

    #news .csy-news-hero-link {
        min-height: 40px;
        margin-top: 17px;
    }

    #news .csy-news-hero-visual {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    #news .csy-news-hero-link {
        transition: none;
    }
}

.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-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 category — Horizontal editorial index */
.csy-news-list-page {
    padding: 30px 0 55px;
}

.csy-news-list-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 26px;
    padding: 22px 25px;
    margin-bottom: 23px;
    border-radius: 10px;
    background: #fff;
}

.csy-news-list-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.csy-news-list-categories a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid #e0e8f4;
    color: #4a6081;
    font-size: 13px;
    transition: background .2s ease, color .2s ease;
}

.csy-news-list-categories a:hover,
.csy-news-list-categories a.csy-active {
    background: #0663de;
    border-color: #0663de;
    color: #fff;
}

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

.csy-news-list-card {
    display: grid;
    grid-template-columns: 40% minmax(0, 1fr);
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e0e8f4;
    border-radius: 11px;
    background: #fff;
    transition: box-shadow .25s ease, transform .25s ease;
}

.csy-news-list-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(30,46,97,.09);
}

.csy-news-list-image {
    min-height: 225px;
}

.csy-news-list-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    padding: 23px;
}

.csy-news-list-copy p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #6d7f98;
    font-size: 13px;
    line-height: 1.75;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.csy-news-list-copy .csy-news-read-more {
    margin-top: auto;
}

.csy-page-pagination {
    margin: 28px auto;
    text-align: center;
}

.csy-news-list-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 32px;
    padding: 36px 40px;
    border-radius: 12px;
    background: linear-gradient(115deg, #1e2e61 0%, #0663de 100%);
}

.csy-news-list-cta > div > span {
    color: #b5d4ff;
}

.csy-news-list-cta h2 {
    margin: 0;
    color: #fff;
    font-size: 26px;
}

.csy-news-list-cta p {
    margin: 12px 0 0;
    color: #d7e4fa;
    font-size: 14px;
    line-height: 1.7;
}

.csy-news-list-cta > a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    padding: 14px 20px;
    border-radius: 6px;
    color: #0663de;
    background: #fff;
    font-weight: 700;
    font-size: 13px;
}

.csy-news-list-cta > a:hover {
    color: #fff;
    background: #1e2e61;
}

@media (max-width: 1199px) {
    .csy-news-list-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

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

@media (max-width: 768px) {
    .csy-news-list-toolbar {
        padding: 19px;
    }

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

    .csy-news-list-image {
        min-height: 185px;
    }

    .csy-news-list-copy {
        padding: 15px;
    }

    .csy-news-list-title {
        font-size: 15px;
    }

    .csy-news-list-copy p {
        -webkit-line-clamp: 2;
    }

    .csy-news-list-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
    }
}
