@charset "utf-8";

/* =========================================================
   Series / Package Channel & Product Aggregation Pages
   Matches the existing product visual system
========================================================= */

.sp-breadcrumb {
    border-bottom: 1px solid #e7edf6;
    background: #fff;
}

.sp-breadcrumb .container {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8a96a8;
    font-size: 14px;
}

.sp-breadcrumb a {
    color: #536176;
    text-decoration: none;
}

.sp-breadcrumb a:hover {
    color: #0663de;
}

.sp-breadcrumb i {
    color: #9ba7b8;
}

.sp-channel-hero,
.sp-list-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 5%, rgba(128,182,255,.26), transparent 28%),
        linear-gradient(180deg,#f9fbff 0%,#eff7fd 100%);
}

.sp-channel-hero {
    padding: 54px 0;
}

.sp-channel-hero-inner,
.sp-list-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.sp-kicker,
.sp-section-head > span {
    display: inline-block;
    color: #0663de;
    font-size: 13px;
    line-height: 20px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.sp-channel-hero h1,
.sp-list-hero h1 {
    margin: 9px 0 12px;
    color: #101827;
    font-size: 40px;
    line-height: 50px;
    font-weight: 750;
    letter-spacing: -.5px;
}

.sp-channel-hero p {
    max-width: 760px;
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 26px;
}

.sp-channel-hero-icon {
    width: 116px;
    height: 116px;
    flex: 0 0 116px;
    border: 1px solid #d6e7f4;
    border-radius: 24px;
    background: rgba(255,255,255,.82);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0663de;
    font-size: 42px;
    box-shadow: 0 18px 42px rgba(4,116,204,.10);
}

.sp-channel-directory,
.sp-related-products,
.sp-faq-section {
    padding: 48px 0 58px;
    background: #f4f8fb;
}

.sp-faq-section {
    padding-top: 0;
}

.sp-section-head {
    margin-bottom: 24px;
}

.sp-section-head h2 {
    margin: 5px 0 7px;
    color: #182235;
    font-size: 28px;
    line-height: 38px;
    font-weight: 750;
}

.sp-section-head p {
    max-width: 860px;
    margin: 0;
    color: #6b778c;
    font-size: 14px;
    line-height: 24px;
}

.sp-channel-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 10px;
}

.sp-channel-card {
    position: relative;
    min-width: 0;
    min-height: 54px;
    padding: 8px 30px 8px 10px;
    border: 1px solid #dce6f2;
    border-radius: 8px;
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #1f2937;
    text-decoration: none;
    box-shadow: none;
    overflow: hidden;
    transition: border-color .2s ease, background .2s ease;
}

.sp-channel-card:hover {
    border-color: #a9d3f0;
    background: #fbfdff;
    color: #0663de;
    box-shadow: none;
    transform: none;
}

.sp-channel-card-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 7px;
    background: #eff7fd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0663de;
    font-size: 13px;
}

.sp-channel-card h3 {
    width: 100%;
    margin: 0;
    overflow: hidden;
    color: inherit;
    font-size: 14px;
    line-height: 20px;
    font-weight: normal;
    
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sp-channel-card span {
    display: block;
    margin-top: 5px;
    color: #8591a5;
    font-size: 13px;
    line-height: 19px;
}

.sp-list-hero {
    padding: 38px 0;
}

.sp-list-hero-copy {
    min-width: 0;
    flex: 1;
}

.sp-list-stat {
    width: 188px;
    min-height: 126px;
    flex: 0 0 188px;
    padding: 18px;
    border: 1px solid #d6e7f4;
    border-radius: 16px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 16px 36px rgba(4,116,204,.08);
}

.sp-list-stat > i {
    color: #0663de;
    font-size: 21px;
}

.sp-list-stat strong {
    margin-top: 7px;
    color: #14213a;
    font-size: 28px;
    line-height: 34px;
}

.sp-list-stat span {
    color: #758399;
    font-size: 13px;
}

.sp-editor-content {
    color: #536176;
    font-size: 15px;
    line-height: 1.8;
}

.sp-editor-content > :first-child {
    margin-top: 0;
}

.sp-editor-content > :last-child {
    margin-bottom: 0;
}

.sp-editor-content h3 {
    position: relative;
    margin: 28px 0 12px;
    padding-left: 13px;
    color: #1c2739;
    font-size: 21px;
    line-height: 31px;
    font-weight: 750;
}

.sp-editor-content h3::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
    width: 4px;
    height: 19px;
    border-radius: 4px;
    background: #0663de;
}

.sp-editor-content h4 {
    margin: 22px 0 9px;
    color: #24334b;
    font-size: 17px;
    line-height: 27px;
    font-weight: 700;
}

.sp-editor-content p {
    margin: 0 0 13px;
}

.sp-editor-content strong {
    color: #26364d;
    font-weight: 700;
}

.sp-editor-content ul,
.sp-editor-content ol {
    margin: 12px 0 18px;
    padding-left: 24px;
}

.sp-editor-content li {
    margin: 5px 0;
}

.sp-editor-content table {
    width: 100%;
    margin: 18px 0;
    border-spacing: 0;
    border-collapse: collapse;
    background: #fff;
}

.sp-editor-content th,
.sp-editor-content td {
    padding: 10px 12px;
    border: 1px solid #dfe7f1;
    color: #536176;
    font-size: 14px;
    line-height: 22px;
    text-align: left;
}

.sp-editor-content th {
    background: #f1f8fd;
    color: #26364d;
    font-weight: 700;
}

.sp-product-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
}

.sp-product-card {
    min-width: 0;
    padding: 19px;
    border: 1px solid #dfe6ef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(18,62,150,.045);
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.sp-product-card:hover {
    border-color: #b4d7ed;
    box-shadow: 0 14px 34px rgba(4,116,204,.09);
    transform: translateY(-2px);
}

.sp-product-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf1f5;
}

.sp-product-part {
    min-width: 0;
}

.sp-product-part > span,
.sp-product-data span {
    display: block;
    color: #909bad;
    font-size: 12px;
    line-height: 18px;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.sp-product-part > a {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    color: #172033;
    font-size: 17px;
    line-height: 25px;
    font-weight: 750;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sp-product-part > a:hover,
.sp-product-data a:hover {
    color: #0663de;
}

.sp-stock-badge {
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 999px;
    background: #eefaf3;
    color: #24824b;
    font-size: 12px;
    line-height: 18px;
    font-weight: 700;
}

.sp-product-data {
    display: grid;
    grid-template-columns: 1.15fr .9fr .8fr;
    gap: 10px;
    padding: 15px 0;
}

.sp-product-data > div {
    min-width: 0;
}

.sp-product-data strong,
.sp-product-data a {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    color: #334158;
    font-size: 14px;
    line-height: 21px;
    font-weight: 650;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sp-product-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.sp-product-detail,
.sp-product-rfq {
    min-height: 38px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.sp-product-detail {
    padding: 0 13px;
    border: 1px solid #d6e0ec;
    background: #fff;
    color: #4e5d72;
}

.sp-product-detail:hover {
    border-color: #0663de;
    color: #0663de;
}

.sp-product-rfq {
    padding: 0 15px;
    border: 1px solid #0663de;
    background: #0663de;
    color: #fff;
}

.sp-product-rfq:hover {
    background: #1e2e61;
}

.sp-product-rfq.is-loading {
    opacity: .75;
    pointer-events: none;
}

.sp-list-pager {
    margin-top: 26px;
}

.sp-faq-content {
    padding: 24px 26px;
    border: 1px solid #dfe7f1;
    border-radius: 14px;
    background: #fff;
}

.sp-faq-content h3 {
    margin-top: 20px;
    padding: 14px 42px 14px 15px;
    border: 1px solid #e2e8f1;
    border-radius: 9px;
    background: #f8fbff;
    color: #26364d;
    font-size: 16px;
    line-height: 24px;
}

.sp-faq-content h3:first-child {
    margin-top: 0;
}

.sp-faq-content h3::before {
    display: none;
}

.sp-faq-content h3 + p {
    padding: 2px 15px 4px;
}

.sp-empty {
    padding: 46px 20px;
    border: 1px dashed #cfdcec;
    border-radius: 14px;
    background: #fff;
    text-align: center;
}

.sp-empty > i {
    color: #0663de;
    font-size: 34px;
}

.sp-empty h3 {
    margin: 12px 0 7px;
    color: #26364d;
    font-size: 20px;
}

.sp-empty p {
    margin: 0 auto 16px;
    max-width: 580px;
    color: #778397;
    line-height: 24px;
}

.sp-empty a {
    min-height: 38px;
    padding: 0 16px;
    border-radius: 7px;
    background: #0663de;
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}



/* Series / Package product list pager */
.sp-list-pager {
    margin-top: 30px;
    padding: 4px 0;
}

.sp-list-pager .pagelist {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.sp-list-pager .pagelist a,
.sp-list-pager .pagelist span {
    min-width: 38px;
    height: 38px;
    padding: 0 11px;
    margin: 0 !important;
    border: 1px solid #d6e2f0;
    border-radius: 8px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    color: #536176;
    font-size: 14px;
    line-height: 36px;
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.sp-list-pager .pagelist a:hover {
    border-color: #0663de;
    color: #0663de;
    background: #f4f9fd;
}

.sp-list-pager .pagelist .current,
.sp-list-pager .pagelist span.current {
    border-color: #0663de;
    background: #0663de;
    color: #ffffff;
    font-weight: 700;
}

.sp-list-pager .pagelist span:not(.current) {
    min-width: auto;
    padding: 0 3px;
    border-color: transparent;
    background: transparent;
    color: #8a96a8;
}



/* Series / Package channel directory pager */
.sp-directory-pager {
    margin-top: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.sp-directory-pager a,
.sp-directory-pager .sp-pager-current,
.sp-directory-pager .sp-pager-ellipsis {
    min-width: 38px;
    height: 38px;
    padding: 0 11px;
    margin: 0 !important;
    border: 1px solid #d6e2f0;
    border-radius: 8px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    color: #536176;
    font-size: 14px;
    line-height: 36px;
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.sp-directory-pager a:hover {
    border-color: #0663de;
    color: #0663de;
    background: #f4f9fd;
}

.sp-directory-pager .sp-pager-current {
    border-color: #0663de;
    background: #0663de;
    color: #ffffff;
    font-weight: 700;
}

.sp-directory-pager .sp-pager-ellipsis {
    min-width: auto;
    padding: 0 3px;
    border-color: transparent;
    background: transparent;
    color: #8a96a8;
}

.sp-directory-pager .sp-pager-prev,
.sp-directory-pager .sp-pager-next {
    min-width: 62px;
}

@media screen and (max-width: 1180px) {
    .sp-channel-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
}

@media screen and (max-width: 900px) {
    .sp-channel-grid,
    .sp-product-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .sp-product-data {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .sp-breadcrumb .container {
        min-height: 42px;
        overflow-x: auto;
        white-space: nowrap;
    }

    .sp-channel-hero,
    .sp-list-hero {
        padding: 30px 0;
    }

    .sp-channel-hero-inner,
    .sp-list-hero-inner {
        display: block;
    }

    .sp-channel-hero h1,
    .sp-list-hero h1 {
        font-size: 28px;
        line-height: 38px;
    }

    .sp-channel-hero-icon,
    .sp-list-stat {
        display: none;
    }

    .sp-channel-directory,
    .sp-related-products {
        padding: 32px 0 40px;
    }

    .sp-section-head h2 {
        font-size: 23px;
        line-height: 32px;
    }

    .sp-channel-grid,
    .sp-product-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sp-channel-card {
        min-height: 88px;
        padding: 14px;
    }

    .sp-product-card {
        padding: 15px;
    }

    .sp-product-top {
        display: block;
    }

    .sp-stock-badge {
        margin-top: 9px;
        display: inline-flex;
    }

    .sp-product-data {
        grid-template-columns: 1fr 1fr;
    }

    .sp-product-actions {
        align-items: stretch;
    }

    .sp-product-detail,
    .sp-product-rfq {
        flex: 1;
    }

    .sp-editor-content {
        overflow-x: auto;
        font-size: 14px;
    }

    .sp-editor-content table {
        min-width: 620px;
    }

    .sp-faq-content {
        padding: 16px;
    }
}

@media (max-width: 768px) {
    .sp-product-data {
        grid-template-columns: 1fr;
    }

    .sp-product-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
}


.sp-channel-directory {
    padding: 22px 0 32px;
    background: #f4f8fb;
}


.sp-directory-head {
    margin-bottom: 14px;
}


.sp-directory-head .sp-section-head {
    margin-bottom: 0;
}


.sp-directory-title-row {
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 12px;
}


.sp-directory-title-row h2 {
    margin: 0;
    color: #111827;
    font-size: 26px;
    line-height: 34px;
    font-weight: 750;
}


.sp-directory-count {
    height: 28px;
    padding: 0 10px;
    border: 1px solid #cfe0fa;
    border-radius: 14px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #66758b;
    font-size: 12px;
    line-height: 26px;
    box-shadow: 0 2px 6px rgba(4,116,204,.04);
}


.sp-directory-count strong {
    color: #0663de;
    font-size: 13px;
    font-weight: 700;
}


.sp-directory-count em {
    color: #748197;
    font-style: normal;
}


.sp-channel-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -7px;
    color: #9daabc;
    font-size: 14px;
    pointer-events: none;
}


/* Compact channel directory responsive overrides */
@media screen and (max-width: 1180px) {
    .sp-channel-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
}

@media screen and (max-width: 900px) {
    .sp-channel-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media screen and (max-width: 620px) {
    .sp-channel-grid {
        grid-template-columns: 1fr;
    }

    .sp-directory-title-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }
}


/* Series / Package channel search */
.sp-directory-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.sp-directory-head .sp-section-head {
    min-width: 0;
    margin-bottom: 0;
}

.sp-directory-search {
    width: 340px;
    max-width: 340px;
    flex: 0 0 340px;
    margin: 0;
}

.sp-directory-search-box {
    height: 40px;
    border: 1px solid #d7e2ef;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.sp-directory-search-box > i {
    margin-left: 12px;
    color: #8b97a9;
    font-size: 13px;
    flex: 0 0 auto;
}

.sp-directory-search-box input {
    min-width: 0;
    width: 100%;
    height: 38px;
    padding: 0 9px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #263248;
    font-family: inherit;
    font-size: 13px;
}

.sp-directory-search-box input::placeholder {
    color: #9aa5b5;
}

.sp-directory-search-clear {
    width: 28px;
    height: 38px;
    flex: 0 0 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9aa5b5;
    text-decoration: none;
}

.sp-directory-search-clear:hover {
    color: #0663de;
}

.sp-directory-search-box button {
    height: 32px;
    margin-right: 4px;
    padding: 0 14px;
    border: 0;
    border-radius: 6px;
    background: #0663de;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.sp-directory-search-box button:hover {
    background: #1e2e61;
}

@media screen and (max-width: 900px) {
    .sp-directory-head {
        display: block;
    }

    .sp-directory-search {
        width: 100%;
        max-width: 100%;
        margin-top: 12px;
    }
}



/* Project support CTA: shared by Series and Package templates */
.csy-sp-cta {
    padding: 44px 0 56px;
    background: #ffffff;
}

.csy-sp-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 34px 38px;
    border: 1px solid #d6e7f4;
    border-left: 4px solid #0663de;
    border-radius: 14px;
    background: linear-gradient(115deg, #f2f8fd 0%, #ffffff 100%);
}

.csy-sp-cta-copy {
    min-width: 0;
    flex: 1;
}

.csy-sp-cta-copy > span {
    display: block;
    margin-bottom: 8px;
    color: #0663de;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.csy-sp-cta-copy h2 {
    margin: 0 0 10px;
    color: #173b57;
    font-size: 25px;
    line-height: 1.4;
}

.csy-sp-cta-copy p {
    max-width: 760px;
    margin: 0;
    color: #62798b;
    font-size: 14px;
    line-height: 1.8;
}

.csy-sp-cta-actions {
    display: grid;
    flex: 0 0 215px;
    gap: 10px;
}

.csy-sp-cta-primary,
.csy-sp-cta-secondary {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.csy-sp-cta-primary {
    border: 1px solid #0663de;
    background: #0663de;
    color: #ffffff;
}

.csy-sp-cta-primary:hover {
    background: #1e2e61;
    color: #ffffff;
}

.csy-sp-cta-secondary {
    border: 1px solid #b9d9ee;
    background: #ffffff;
    color: #0663de;
}

.csy-sp-cta-secondary:hover {
    border-color: #0663de;
    background: #eff7fd;
    color: #1e2e61;
}

@media (max-width: 768px) {
    .csy-sp-cta {
        padding: 26px 0 42px;
    }

    .csy-sp-cta-inner {
        display: block;
        padding: 24px 20px;
    }

    .csy-sp-cta-copy h2 {
        font-size: 21px;
    }

    .csy-sp-cta-actions {
        margin-top: 22px;
    }
}


/* CSY compact directory design */
.sp-compact-head {
    padding: 25px 0 22px;
    border-bottom: 1px solid #e1e9f6;
    background: #f7f9fd;
}

.sp-compact-head-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.sp-compact-head h1 {
    margin: 5px 0 8px;
    color: #1e2e61;
    font-size: 30px;
    font-weight: 750;
    line-height: 1.3;
}

.sp-compact-head p {
    margin: 0;
    max-width: 1000px;
    color: #61718a;
    font-size: 14px;
    line-height: 1.65;
}

.sp-compact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border: 1px solid #dbe7f8;
    border-radius: 12px;
    background: #fff;
    color: #0663de;
    font-size: 22px;
}

.sp-compact-stat {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    padding: 13px 18px;
    border: 1px solid #dce6f4;
    border-radius: 10px;
    background: #fff;
}

.sp-compact-stat i {
    color: #0663de;
    font-size: 18px;
}

.sp-compact-stat strong {
    color: #1e2e61;
    font-size: 22px;
}

.sp-compact-stat span {
    color: #65748d;
    font-size: 12px;
}

.sp-channel-directory,
.sp-related-products,
.sp-faq-section {
    background: #fff;
}

.sp-channel-directory {
    padding: 35px 0 50px;
}

.sp-switch-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
    padding-bottom: 19px;
    border-bottom: 1px solid #e4ebf6;
}

.sp-switch-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 10px 20px;
    border: 1px solid #dce7f6;
    border-radius: 8px;
    background: #f7f9fd;
    color: #1e2e61;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.sp-switch-link:hover,
.sp-switch-link.is-current {
    border-color: #0663de;
    background: #0663de;
    color: #fff;
}

.sp-channel-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 11px;
}

.sp-channel-card {
    min-height: 66px;
    padding: 12px 30px 12px 13px;
    border: 1px solid #e0e7f3;
    border-radius: 9px;
    background: #fff;
    box-shadow: none;
}

.sp-channel-card:hover {
    border-color: #0663de;
    background: #f3f7ff;
    box-shadow: 0 8px 24px rgba(6, 99, 222, .08);
}

.sp-channel-card-icon {
    background: #eef4ff;
    color: #0663de;
}

.sp-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.sp-product-card {
    border-color: #e1e8f4;
    box-shadow: none;
}

.sp-product-card:hover {
    border-color: #b7d2f8;
    box-shadow: 0 10px 26px rgba(15, 50, 103, .07);
}

.csy-sp-cta-inner {
    border-left: none;
    border-color: transparent;
    background: #1e2e61;
}

.csy-sp-cta-copy > span {
    color: #9ecaff;
}

.csy-sp-cta-copy h2 {
    color: #fff;
}

.csy-sp-cta-copy p {
    color: #d4e1f4;
}

.csy-sp-cta-primary {
    background: #0663de;
    border-color: #0663de;
}

.csy-sp-cta-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, .55);
    color: #fff;
}

.csy-sp-cta-secondary:hover {
    background: #fff;
    color: #1e2e61;
}

@media (max-width: 1180px) {
    .sp-channel-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .sp-channel-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .sp-compact-head {
        padding: 19px 0;
    }

    .sp-compact-head h1 {
        font-size: 24px;
    }

    .sp-compact-head-inner {
        align-items: flex-start;
        gap: 12px;
    }

    .sp-compact-icon {
        display: none;
    }

    .sp-compact-stat {
        flex-direction: column;
        gap: 3px;
        padding: 10px;
    }

    .sp-channel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sp-channel-card {
        min-height: 62px;
    }

    .sp-product-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Series and package directory: wider cards for long names */
.sp-channel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.sp-channel-card {
    min-height: 68px;
    height: auto;
    align-items: center;
}

.sp-channel-card-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.sp-channel-card h3 {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.5;
}

@media (max-width: 991px) {
    .sp-channel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .sp-channel-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }
}
