/* =========================================================
   CSY Customer Support
   Primary: #0663de
   Navy: #1e2e61
   Shared by support.html and support_list.html
========================================================= */

.csy-support-hero *,
.csy-support-directory *,
.csy-support-assistance *,
.csy-support-detail * {
    box-sizing: border-box;
}

/* Hero */
.csy-support-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(110deg, #14224b 0%, #1e2e61 48%, #0663de 100%);
    color: #fff;
}

.csy-support-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background: radial-gradient(circle at 82% 35%, rgba(120, 190, 255, .24), transparent 38%);
    pointer-events: none;
}

.csy-support-hero-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 350px;
    gap: 45px;
}

.csy-support-hero-copy {
    max-width: 750px;
    padding: 35px 0 45px;
}

.csy-support-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    color: #b3d3ff;
    font-size: 13px;
}

.csy-support-crumbs a {
    color: #dbe9ff;
}

.csy-support-crumbs a:hover {
    color: #fff;
}

.csy-support-hero-label {
    display: inline-block;
    margin-bottom: 13px;
    color: #9ccaff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.csy-support-hero-copy h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 3.4vw, 49px);
    font-weight: 750;
    line-height: 1.2;
}

.csy-support-hero-copy p {
    max-width: 625px;
    margin: 18px 0 0;
    color: #d8e8ff;
    font-size: 15px;
    line-height: 1.8;
}

.csy-support-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 17px;
    margin-top: 25px;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 650;
    transition: background .2s ease, transform .2s ease;
}

.csy-support-hero-link:hover {
    background: rgba(255, 255, 255, .14);
    color: #fff;
    transform: translateY(-2px);
}

.csy-support-hero-visual {
    position: relative;
    display: flex;
    flex: 0 0 300px;
    align-items: center;
    justify-content: center;
    height: 300px;
}

.csy-support-hero-ring {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
}

.csy-support-hero-ring-one {
    width: 235px;
    height: 235px;
}

.csy-support-hero-ring-two {
    width: 300px;
    height: 300px;
    border-style: dashed;
}

.csy-support-hero-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 155px;
    height: 155px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 30px;
    background: rgba(255, 255, 255, .13);
    color: #d8eaff;
    font-size: 66px;
    box-shadow: 0 24px 65px rgba(0, 22, 70, .18);
    transform: rotate(-8deg);
}

.csy-support-hero-symbol i {
    transform: rotate(8deg);
}

.csy-support-hero-spark {
    position: absolute;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #9acaff;
    box-shadow: 0 0 0 7px rgba(154, 202, 255, .12);
}

.csy-support-hero-spark-one {
    top: 32px;
    left: 35px;
}

.csy-support-hero-spark-two {
    right: 12px;
    bottom: 51px;
}

.csy-support-hero-detail .csy-support-hero-inner {
    min-height: 295px;
}

/* Directory */
.csy-support-directory {
    padding: 72px 0 80px;
    background: #fff;
}

.csy-support-directory-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 32px;
}

.csy-support-kicker {
    display: block;
    color: #0663de;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 1.6px;
}

.csy-support-directory-head h2 {
    margin: 11px 0 0;
    color: #1e2e61;
    font-size: 34px;
    line-height: 1.3;
}

.csy-support-directory-head > p {
    max-width: 435px;
    margin: 0;
    color: #65748a;
    font-size: 14px;
    line-height: 1.8;
}

.csy-support-directory-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.csy-support-topic {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 285px;
    padding: 26px;
    border: 1px solid #e0e9f5;
    border-radius: 13px;
    background: #f9fbff;
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.csy-support-topic:hover {
    background: #fff;
    box-shadow: 0 16px 38px rgba(6, 50, 114, .1);
    transform: translateY(-5px);
}

.csy-support-topic-top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    margin-bottom: 23px;
}

.csy-support-topic-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: #e9f1ff;
}

.csy-support-topic-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.csy-support-topic-arrow {
    margin-top: 3px;
    color: #95a9c6;
    font-size: 17px;
    transition: transform .2s ease;
}

.csy-support-topic:hover .csy-support-topic-arrow {
    color: #0663de;
    transform: translateX(4px);
}

.csy-support-topic h3 {
    margin: 0 0 12px;
    color: #1e2e61;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
}

.csy-support-topic p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 24px;
    color: #63748b;
    font-size: 13px;
    line-height: 1.8;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.csy-support-topic-more {
    margin-top: auto;
    color: #0663de;
    font-size: 13px;
    font-weight: 700;
}

.csy-support-topic-more i {
    margin-left: 5px;
}

/* Assistance CTA */
.csy-support-assistance {
    padding: 0 0 76px;
    background: #fff;
}

.csy-support-assistance-inner {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 35px 40px;
    border-radius: 15px;
    background: #1e2e61;
}

.csy-support-assistance-icon {
    display: flex;
    flex: 0 0 68px;
    align-items: center;
    justify-content: center;
    height: 68px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 14px;
    background: rgba(255, 255, 255, .1);
    color: #b7d7ff;
    font-size: 29px;
}

.csy-support-assistance-copy {
    flex: 1;
    min-width: 0;
}

.csy-support-assistance-copy > span {
    color: #a1c9ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.csy-support-assistance-copy h2 {
    margin: 7px 0 8px;
    color: #fff;
    font-size: 24px;
}

.csy-support-assistance-copy p {
    margin: 0;
    color: #d0def3;
    font-size: 13px;
    line-height: 1.7;
}

.csy-support-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px 23px;
    border-radius: 8px;
    background: #0663de;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transition: background .2s ease;
}

.csy-support-button:hover {
    background: #1976ee;
    color: #fff;
}

/* Detail layout */
.csy-support-detail {
    padding: 62px 0 83px;
    background: #f5f8fd;
}

.csy-support-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: start;
    gap: 26px;
}

.csy-support-article {
    min-width: 0;
    padding: 37px 42px;
    border: 1px solid #e2e9f5;
    border-radius: 14px;
    background: #fff;
}

.csy-support-article-heading {
    padding-bottom: 25px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e6edf7;
}

.csy-support-article-heading h2 {
    margin: 10px 0 8px;
    color: #1e2e61;
    font-size: 30px;
}

.csy-support-article-heading p {
    margin: 0;
    color: #687990;
    font-size: 14px;
    line-height: 1.7;
}

/* Rich text */
.csy-support-richtext {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #3a4c65;
    font-size: 15px;
    line-height: 1.9;
}

.csy-support-richtext h2,
.csy-support-richtext h3,
.csy-support-richtext h4 {
    margin: 27px 0 12px;
    color: #1e2e61;
    font-weight: 700;
    line-height: 1.45;
}

.csy-support-richtext h2 {
    font-size: 25px;
}

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

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

.csy-support-richtext p {
    margin: 0 0 17px;
}

.csy-support-richtext ul,
.csy-support-richtext ol {
    margin: 0 0 20px;
    padding-left: 24px;
}

.csy-support-richtext ul {
    list-style: disc;
}

.csy-support-richtext ol {
    list-style: decimal;
}

.csy-support-richtext li {
    margin-bottom: 7px;
}

.csy-support-richtext strong {
    color: #233c69;
    font-weight: 700;
}

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

.csy-support-richtext a:hover {
    color: #044fb5;
}

.csy-support-richtext img,
.csy-support-richtext video {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.csy-support-richtext table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    margin: 20px 0;
    border-collapse: collapse;
}

.csy-support-richtext th,
.csy-support-richtext td {
    padding: 11px 14px;
    border: 1px solid #dce6f4;
    text-align: left;
}

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

.csy-support-richtext blockquote {
    margin: 22px 0;
    padding: 16px 20px;
    border-left: 4px solid #0663de;
    background: #f4f8ff;
}

/* Sidebar */
.csy-support-aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.csy-support-aside-top {
    padding: 26px 23px;
    border: 1px solid #e2e9f5;
    border-radius: 13px;
    background: #fff;
}

.csy-support-aside-top > span {
    color: #0663de;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.csy-support-aside-top h2 {
    margin: 8px 0 19px;
    color: #1e2e61;
    font-size: 21px;
}

.csy-support-side-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 4px;
    border-bottom: 1px solid #e7edf6;
    color: #506480;
    font-size: 13px;
    transition: color .2s ease, padding .2s ease;
}

.csy-support-side-links a:last-child {
    border-bottom: 0;
}

.csy-support-side-links a:hover,
.csy-support-side-links a.is-active {
    padding-left: 10px;
    color: #0663de;
}

.csy-support-aside-cta {
    padding: 30px 25px;
    border-radius: 13px;
    background: linear-gradient(135deg, #1e2e61, #123a80);
    color: #fff;
}

.csy-support-aside-cta > i {
    color: #9bcaff;
    font-size: 30px;
}

.csy-support-aside-cta h3 {
    margin: 17px 0 12px;
    color: #fff;
    font-size: 22px;
    line-height: 1.35;
}

.csy-support-aside-cta p {
    margin: 0 0 21px;
    color: #d6e4f7;
    font-size: 13px;
    line-height: 1.8;
}

.csy-support-aside-cta a {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 12px 18px;
    border-radius: 7px;
    background: #0663de;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.csy-support-aside-cta a:hover {
    background: #1976ee;
    color: #fff;
}

.csy-support-aside-contacts {
    padding: 13px 22px;
    border: 1px solid #e2e9f5;
    border-radius: 13px;
    background: #fff;
}

.csy-support-aside-contacts a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    color: #526582;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.csy-support-aside-contacts a + a {
    border-top: 1px solid #e6edf7;
}

.csy-support-aside-contacts i {
    color: #0663de;
    font-size: 17px;
}

/* Responsive */
@media (max-width: 1199px) {
    .csy-support-directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .csy-support-detail-grid {
        grid-template-columns: minmax(0, 1fr) 280px;
    }
}

@media (max-width: 991px) {
    .csy-support-hero-visual {
        flex-basis: 240px;
        transform: scale(.8);
    }

    .csy-support-detail-grid {
        grid-template-columns: 1fr;
    }

    .csy-support-aside {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .csy-support-aside-contacts {
        grid-column: 1 / -1;
    }
}

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

    .csy-support-hero-copy {
        padding: 30px 0 42px;
    }

    .csy-support-hero-visual {
        display: none;
    }

    .csy-support-crumbs {
        margin-bottom: 20px;
    }

    .csy-support-hero-copy h1 {
        font-size: 33px;
    }

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

    .csy-support-directory {
        padding: 45px 0 50px;
    }

    .csy-support-directory-head {
        display: block;
        margin-bottom: 25px;
    }

    .csy-support-directory-head h2 {
        font-size: 27px;
    }

    .csy-support-directory-head > p {
        margin-top: 14px;
    }

    .csy-support-directory-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .csy-support-topic {
        min-height: 0;
        padding: 22px;
    }

    .csy-support-topic-top {
        margin-bottom: 17px;
    }

    .csy-support-assistance {
        padding-bottom: 45px;
    }

    .csy-support-assistance-inner {
        display: block;
        padding: 28px 23px;
    }

    .csy-support-assistance-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 19px;
    }

    .csy-support-assistance-copy h2 {
        font-size: 23px;
    }

    .csy-support-button {
        margin-top: 22px;
    }

    .csy-support-detail {
        padding: 35px 0 50px;
    }

    .csy-support-article {
        padding: 26px 20px;
    }

    .csy-support-article-heading h2 {
        font-size: 25px;
    }

    .csy-support-richtext {
        font-size: 14px;
    }

    .csy-support-aside {
        display: flex;
    }
}

@media (prefers-reduced-motion: reduce) {
    .csy-support-topic,
    .csy-support-hero-link,
    .csy-support-button {
        transition: none;
    }
}
