﻿@charset "utf-8";

/* =========================================================
   Winsun Resource & Sourcing Guide
   Palette: #042858 / #000087 / #0000ff / #28cbe8 / #00c6bc
========================================================= */

.ws-resource-hero,
.ws-resource-nav,
.ws-resource-main,
.ws-resource-hero *,
.ws-resource-nav *,
.ws-resource-main * {
    box-sizing: border-box;
}


/* =========================================================
   Hero
   Unified with Manufacturer Directory banner
========================================================= */

.ws-resource-hero {
    position: relative;
    overflow: hidden;
    padding: 58px 0;
    background:
        radial-gradient(circle at 86% 14%, rgba(40, 203, 232, .24), transparent 27%),
        linear-gradient(135deg, #f3f7ff 0%, #eefbfb 55%, #ffffff 100%);
}

.ws-resource-hero::before {
    content: "";
    position: absolute;
    left: -120px;
    bottom: -155px;
    width: 340px;
    height: 340px;
    border: 48px solid rgba(0, 0, 255, .025);
    border-radius: 50%;
}

.ws-resource-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 62px;
    align-items: center;
}

.ws-resource-hero-copy {
    min-width: 0;
    max-width: 830px;
}

.ws-resource-eyebrow {
    display: inline-flex;
    min-height: 30px;
    margin-bottom: 14px;
    padding: 4px 13px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #0000ff 0%, #28cbe8 100%);
    color: #fff;
    font-size: 13px;
    line-height: 22px;
    letter-spacing: 1px;
}

.ws-resource-hero-copy h1 {
    margin: 0;
    color: #111827;
    font-size: 38px;
    line-height: 48px;
}

.ws-resource-hero-copy > p {
    max-width: 760px;
    margin: 15px 0 0;
    color: #617086;
    font-size: 15px;
    line-height: 25px;
}

.ws-resource-hero-points {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.ws-resource-hero-points span {
    color: #4f6076;
    font-size: 14px;
    line-height: 21px;
}

.ws-resource-hero-points i {
    margin-right: 6px;
    color: #00a9a0;
}

.ws-resource-hero-panel {
    position: relative;
    padding: 26px 26px 27px;
    overflow: hidden;
    border: 1px solid rgba(0, 198, 188, .22);
    border-radius: 18px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 18px 42px rgba(4, 40, 88, .09);
}

.ws-resource-hero-panel::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #0000ff 0%, #28cbe8 55%, #00c6bc 100%);
}

.ws-resource-hero-panel > span {
    display: block;
    margin-bottom: 10px;
    color: #00a9a0;
    font-size: 13px;
    line-height: 19px;
    letter-spacing: 1px;
}

.ws-resource-hero-panel h2 {
    margin: 0;
    color: #17233a;
    font-size: 23px;
    line-height: 31px;
}

.ws-resource-hero-panel p {
    margin: 11px 0 0;
    color: #748197;
    font-size: 14px;
    line-height: 22px;
}

.ws-resource-hero-actions {
    margin-top: 17px;
    display: grid;
    gap: 8px;
}

.ws-resource-hero-primary,
.ws-resource-hero-secondary {
    min-height: 40px;
    padding: 0 13px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 38px;
    text-decoration: none;
}

.ws-resource-hero-primary {
    background: linear-gradient(90deg, #0000ff 0%, #28cbe8 100%);
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(0, 0, 255, .12);
}

.ws-resource-hero-primary:hover {
    background: linear-gradient(90deg, #042858 0%, #00c6bc 100%);
    color: #fff !important;
}

.ws-resource-hero-secondary {
    border: 1px solid #d6e7eb;
    background: #f6fbfc;
    color: #516074 !important;
}

.ws-resource-hero-secondary i {
    color: #00a9a0;
}

.ws-resource-hero-secondary:hover {
    border-color: #00c6bc;
    color: #00a9a0 !important;
}

/* =========================================================
   Resource Navigation
========================================================= */

.ws-resource-nav {
    padding: 44px 0 40px;
    background: #fff;
}

.ws-resource-nav-head {
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 500px;
    gap: 52px;
    align-items: end;
}

.ws-resource-nav-head > div > span,
.ws-resource-article-head > span,
.ws-resource-action-card > span,
.ws-resource-checklist > span,
.ws-resource-contact-head > span {
    display: block;
    margin-bottom: 5px;
    color: #00a9a0;
    font-size: 13px;
    line-height: 19px;
    letter-spacing: .9px;
}

.ws-resource-nav-head h2,
.ws-resource-article-head h2,
.ws-resource-action-card h2 {
    margin: 0;
    color: #17233a;
}

.ws-resource-nav-head h2 {
    font-size: 28px;
    line-height: 37px;
}

.ws-resource-nav-head > p {
    margin: 0;
    color: #6e7c90;
    font-size: 14px;
    line-height: 23px;
}

.ws-resource-nav-grid {
    counter-reset: wsResource;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.ws-resource-nav-item {
    counter-increment: wsResource;
    position: relative;
    min-height: 76px;
    padding: 15px 16px;
    border: 1px solid #e0e9ee;
    border-radius: 11px;
    background: #fff;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 28px;
    gap: 11px;
    align-items: center;
    color: #334257;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(4, 40, 88, .035);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.ws-resource-nav-index {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: #eef9fb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00a9a0;
    font-size: 13px;
}

.ws-resource-nav-index::before {
    content: counter(wsResource, decimal-leading-zero);
}

.ws-resource-nav-item strong {
    min-width: 0;
    color: inherit;
    font-size: 14px;
    line-height: 21px;
}

.ws-resource-nav-item > i {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: #f4f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a97a8;
    font-size: 13px;
}

.ws-resource-nav-item:nth-child(even) .ws-resource-nav-index {
    background: #f2f3ff;
    color: #0000ff;
}

.ws-resource-nav-item:hover {
    border-color: #9edfe6;
    transform: translateY(-2px);
    box-shadow: 0 11px 25px rgba(4, 40, 88, .07);
}

.ws-resource-nav-item:hover > i {
    background: #00c6bc;
    color: #fff;
}

.ws-resource-nav-item.is-active {
    border-color: #042858;
    background: #042858;
    color: #fff;
    box-shadow: 0 12px 28px rgba(4, 40, 88, .16);
}

.ws-resource-nav-item.is-active strong,
.ws-resource-nav-item.is-active:hover strong {
    color: #fff;
}

.ws-resource-nav-item:not(.is-active) strong {
    color: #253247;
}

.ws-resource-nav-item:not(.is-active):hover strong {
    color: #0000ff;
}

.ws-resource-nav-item.is-active .ws-resource-nav-index {
    background: rgba(40, 203, 232, .16);
    color: #7ee5eb;
}

.ws-resource-nav-item.is-active > i {
    background: #28cbe8;
    color: #042858;
}


/* =========================================================
   Main Content
========================================================= */

.ws-resource-main {
    padding: 8px 0 72px;
    background: #fff;
}

.ws-resource-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 36px;
    align-items: start;
}

.ws-resource-article {
    min-width: 0;
    padding: 0 4px 0 0;
}

.ws-resource-article-head {
    margin-bottom: 25px;
    padding: 0 0 22px;
    border-bottom: 1px solid #e5ecef;
}

.ws-resource-article-head h2 {
    font-size: 31px;
    line-height: 41px;
}

.ws-resource-article-head p {
    margin: 8px 0 0;
    color: #758196;
    font-size: 14px;
    line-height: 22px;
}

.ws-resource-article-body {
    color: #4f5e72;
    font-size: 15px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.ws-resource-article-body > *:first-child {
    margin-top: 0 !important;
}

.ws-resource-article-body > *:last-child {
    margin-bottom: 0 !important;
}

.ws-resource-article-body h1,
.ws-resource-article-body h2,
.ws-resource-article-body h3,
.ws-resource-article-body h4 {
    color: #17233a;
}

.ws-resource-article-body h2 {
    position: relative;
    margin: 34px 0 15px;
    padding: 0 0 10px 16px;
    border-bottom: 1px solid #e7edef;
    font-size: 23px;
    line-height: 32px;
}

.ws-resource-article-body h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 5px;
    height: 24px;
    border-radius: 999px;
    background: linear-gradient(180deg, #0000ff 0%, #00c6bc 100%);
}

.ws-resource-article-body h3 {
    position: relative;
    margin: 27px 0 10px;
    padding-left: 14px;
    font-size: 19px;
    line-height: 28px;
}

.ws-resource-article-body h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #28cbe8;
}

.ws-resource-article-body h4 {
    margin: 22px 0 9px;
    font-size: 16px;
    line-height: 24px;
}

.ws-resource-article-body p {
    margin: 0 0 16px;
    color: #4f5e72;
    font-size: 15px;
    line-height: 1.85;
}

.ws-resource-article-body a {
    color: #0000ff;
    text-decoration: none;
}

.ws-resource-article-body a:hover {
    color: #00a9a0;
    text-decoration: underline;
}

.ws-resource-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.ws-resource-article-body ul,
.ws-resource-article-body ol {
    margin: 16px 0 20px;
    padding-left: 24px;
}

.ws-resource-article-body li {
    margin-bottom: 7px;
}

.ws-resource-article-body blockquote {
    margin: 24px 0;
    padding: 18px 20px;
    border: 1px solid #dbe9ed;
    border-left: 4px solid #00c6bc;
    border-radius: 8px;
    background: #f5fbfb;
    color: #44516a;
}

.ws-resource-article-body table {
    width: 100%;
    margin: 24px 0;
    border-collapse: collapse;
    border-spacing: 0;
}

.ws-resource-article-body table th,
.ws-resource-article-body table td {
    padding: 11px 13px;
    border: 1px solid #dfe7eb;
    color: #4e5d70;
    font-size: 14px;
    line-height: 22px;
    text-align: left;
}

.ws-resource-article-body table th {
    background: #f0f9fa;
    color: #182236;
}


/* =========================================================
   Sidebar
========================================================= */

.ws-resource-aside {
    position: sticky;
    top: 80px;
}

.ws-resource-action-card {
    position: relative;
    overflow: hidden;
    padding: 28px 25px 25px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 92% 4%, rgba(40, 203, 232, .22), transparent 27%),
        linear-gradient(145deg, #042858 0%, #000087 62%, #0000ff 100%);
    color: #fff;
    box-shadow: 0 18px 40px rgba(4, 40, 88, .18);
}

.ws-resource-action-card > span {
    color: #7ee5eb;
}

.ws-resource-action-card h2 {
    color: #fff;
    font-size: 23px;
    line-height: 32px;
}

.ws-resource-action-card p {
    margin: 11px 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    line-height: 22px;
}

.ws-resource-action-btn {
    min-height: 43px;
    margin-top: 19px;
    padding: 0 16px;
    border-radius: 8px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0000ff;
    font-size: 14px;
    line-height: 43px;
    text-decoration: none;
}

.ws-resource-action-btn:hover {
    color: #00a9a0;
    transform: translateY(-1px);
}

.ws-resource-checklist,
.ws-resource-contact {
    margin-top: 14px;
    padding: 21px 19px;
    border: 1px solid #e0e9ed;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(4, 40, 88, .04);
}

.ws-resource-checklist > span {
    padding-bottom: 11px;
    border-bottom: 1px solid #e8eef1;
}

.ws-resource-check-row {
    padding: 13px 0;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 11px;
    border-bottom: 1px solid #edf1f3;
}

.ws-resource-check-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.ws-resource-check-row > i {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: #eef9fb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00a9a0;
    font-size: 15px;
}

.ws-resource-check-row:nth-of-type(even) > i {
    background: #f2f3ff;
    color: #0000ff;
}

.ws-resource-check-row strong {
    display: block;
    color: #253247;
    font-size: 14px;
    line-height: 20px;
}

.ws-resource-check-row p {
    margin: 3px 0 0;
    color: #7b8798;
    font-size: 13px;
    line-height: 20px;
}

.ws-resource-contact-head {
    margin-bottom: 8px;
    padding-bottom: 11px;
    border-bottom: 1px solid #e8eef1;
}

.ws-resource-contact-head h3 {
    margin: 0;
    color: #17233a;
    font-size: 20px;
    line-height: 27px;
}

.ws-resource-contact-row {
    padding: 11px 0;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 11px;
    color: inherit;
    text-decoration: none;
}

.ws-resource-contact-row > i {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: #f1f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #042858;
    font-size: 15px;
}

a.ws-resource-contact-row:hover > i {
    background: #00c6bc;
    color: #fff;
}

.ws-resource-contact-row strong,
.ws-resource-contact-row span {
    display: block;
}

.ws-resource-contact-row strong {
    margin-bottom: 2px;
    color: #253247;
    font-size: 13px;
    line-height: 19px;
}

.ws-resource-contact-row span {
    color: #738095;
    font-size: 13px;
    line-height: 20px;
    word-break: break-word;
}


/* =========================================================
   Responsive
========================================================= */

@media screen and (max-width: 1100px) {
    .ws-resource-hero-grid {
        grid-template-columns: minmax(0, 1fr) 330px;
        gap: 34px;
    }

    .ws-resource-nav-head {
        grid-template-columns: minmax(0, 1fr) 420px;
        gap: 36px;
    }

    .ws-resource-main-grid {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 26px;
    }

    .ws-resource-nav-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 767px) {
    .ws-resource-hero {
        padding: 34px 0 38px;
    }

    .ws-resource-hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ws-resource-hero-copy h1 {
        font-size: 29px;
        line-height: 37px;
    }

    .ws-resource-hero-copy > p {
        font-size: 14px;
        line-height: 22px;
    }

    .ws-resource-hero-points {
        display: grid;
        gap: 5px;
    }

    .ws-resource-hero-panel {
        padding: 21px 18px;
        border-radius: 14px;
    }

    .ws-resource-hero-panel h2 {
        font-size: 20px;
        line-height: 28px;
    }

    .ws-resource-nav {
        padding: 32px 0 28px;
    }

    .ws-resource-nav-head {
        display: block;
        margin-bottom: 16px;
    }

    .ws-resource-nav-head h2 {
        font-size: 23px;
        line-height: 31px;
    }

    .ws-resource-nav-head > p {
        margin-top: 8px;
        font-size: 14px;
        line-height: 21px;
    }

    .ws-resource-nav-grid {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .ws-resource-nav-item {
        min-height: 62px;
        grid-template-columns: 32px minmax(0, 1fr) 26px;
        padding: 11px 12px;
    }

    .ws-resource-nav-index {
        width: 32px;
        height: 32px;
    }

    .ws-resource-main {
        padding: 4px 0 46px;
    }

    .ws-resource-main-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .ws-resource-article {
        padding-right: 0;
    }

    .ws-resource-article-head {
        margin-bottom: 20px;
        padding-bottom: 18px;
    }

    .ws-resource-article-head h2 {
        font-size: 25px;
        line-height: 34px;
    }

    .ws-resource-article-body,
    .ws-resource-article-body p {
        font-size: 14px;
        line-height: 1.75;
    }

    .ws-resource-article-body h2 {
        margin-top: 28px;
        font-size: 20px;
        line-height: 28px;
    }

    .ws-resource-article-body h3 {
        margin-top: 23px;
        font-size: 17px;
        line-height: 25px;
    }

    .ws-resource-article-body table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .ws-resource-aside {
        position: static;
    }

    .ws-resource-action-card {
        padding: 23px 19px;
        border-radius: 13px;
    }

    .ws-resource-action-card h2 {
        font-size: 21px;
        line-height: 29px;
    }

    .ws-resource-checklist,
    .ws-resource-contact {
        border-radius: 12px;
    }
}
