:root {
    --wsic-navy: #0d1d3b;
    --wsic-navy-soft: #15294f;
    --wsic-blue: #1f5da8;
    --wsic-sky: #e9f3ff;
    --wsic-gold: #c6924b;
    --wsic-gold-soft: #f8edda;
    --wsic-teal: #0f766e;
    --wsic-green-soft: #e9f7f3;
    --wsic-paper: #ffffff;
    --wsic-bg: #f4f7fb;
    --wsic-ink: #172033;
    --wsic-copy: #4b5870;
    --wsic-muted: #718096;
    --wsic-line: #dce4ef;
    --wsic-radius: 22px;
    --wsic-shadow: 0 18px 55px rgba(13, 29, 59, 0.1);
    --wsic-shell: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--wsic-bg);
    color: var(--wsic-ink);
    font-family: "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

.wsic-resource-page main {
    line-height: 1.75;
}

body.nav-open {
    overflow: hidden;
}

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 999;
    padding: 8px 14px;
    border-radius: 10px;
    background: #fff;
    color: var(--wsic-navy);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.wsic-shell {
    width: min(calc(100% - 40px), var(--wsic-shell));
    margin-inline: auto;
}

/* Navigation */
.wsic-site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(13, 29, 59, 0.96);
    box-shadow: 0 8px 30px rgba(7, 18, 38, 0.16);
    backdrop-filter: blur(16px);
}

.wsic-nav-shell {
    display: flex;
    min-height: 78px;
    align-items: center;
    gap: 28px;
}

.wsic-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.wsic-brand-mark {
    position: relative;
    width: 34px;
    height: 34px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;
    background: linear-gradient(145deg, #1d68bb, #72b7f0);
    box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.08);
}

.wsic-brand-mark::after {
    position: absolute;
    top: -4px;
    right: -5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--wsic-navy);
    content: "";
}

.wsic-brand-copy {
    display: grid;
    line-height: 1.15;
}

.wsic-brand-copy strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    letter-spacing: 0.01em;
}

.wsic-brand-copy small {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.67rem;
    letter-spacing: 0.16em;
}

.wsic-nav {
    display: flex;
    flex: 1;
    justify-content: flex-end;
}

.wsic-nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wsic-nav-item {
    position: relative;
}

.wsic-nav-link,
.wsic-nav-trigger {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: rgba(255, 255, 255, 0.82);
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 180ms ease, color 180ms ease;
}

.wsic-nav-link:hover,
.wsic-nav-trigger:hover,
.wsic-nav-link.is-active,
.wsic-nav-trigger.is-active,
.wsic-nav-item.is-open > .wsic-nav-trigger {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.wsic-chevron {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 180ms ease;
}

.wsic-nav-item.is-open .wsic-chevron {
    transform: translateY(2px) rotate(225deg);
}

.wsic-subnav {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    display: grid;
    width: 310px;
    margin: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(13, 29, 59, 0.99);
    box-shadow: 0 20px 55px rgba(1, 9, 23, 0.36);
    list-style: none;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.wsic-nav-item:hover > .wsic-subnav,
.wsic-nav-item:focus-within > .wsic-subnav,
.wsic-nav-item.is-open > .wsic-subnav {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.wsic-subnav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.87rem;
    line-height: 1.45;
    text-decoration: none;
}

.wsic-subnav a:hover,
.wsic-subnav a.is-active {
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
}

.wsic-subnav-index {
    display: inline-grid;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    place-items: center;
    border-radius: 8px;
    background: rgba(198, 146, 75, 0.16);
    color: #e2b976;
    font-size: 0.7rem;
    font-weight: 800;
}

.wsic-nav-cta {
    margin-left: 6px;
    background: var(--wsic-gold);
    color: #10203d;
}

.wsic-nav-cta:hover {
    background: #d8ab69;
    color: #071426;
}

.wsic-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: transparent;
    color: #fff;
}

.wsic-menu-toggle span,
.wsic-menu-toggle::before,
.wsic-menu-toggle::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    content: "";
}

.wsic-menu-toggle span {
    margin: 4px 0;
}

/* Shared hero */
.wsic-hero {
    position: relative;
    overflow: hidden;
    padding: 86px 0 76px;
    border-bottom: 1px solid var(--wsic-line);
    background:
        radial-gradient(circle at 9% 18%, rgba(31, 93, 168, 0.17), transparent 30%),
        radial-gradient(circle at 90% 10%, rgba(198, 146, 75, 0.18), transparent 27%),
        linear-gradient(145deg, #f8fbff 0%, #eef4fb 56%, #f8f3e9 100%);
}

.wsic-hero::after {
    position: absolute;
    right: -110px;
    bottom: -170px;
    width: 460px;
    height: 460px;
    border: 1px solid rgba(31, 93, 168, 0.12);
    border-radius: 50%;
    box-shadow: 0 0 0 48px rgba(31, 93, 168, 0.035), 0 0 0 98px rgba(31, 93, 168, 0.025);
    content: "";
}

.wsic-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 72px;
}

.wsic-home-hero .wsic-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}

.wsic-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 15px;
    color: var(--wsic-blue);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.wsic-eyebrow::before {
    width: 22px;
    height: 2px;
    background: var(--wsic-gold);
    content: "";
}

.wsic-hero h1 {
    max-width: 820px;
    margin: 0;
    color: var(--wsic-navy);
    font-family: "Noto Serif SC", SimSun, serif;
    font-size: clamp(2.25rem, 5vw, 4.35rem);
    line-height: 1.17;
    letter-spacing: -0.035em;
}

.wsic-hero h1 span {
    display: block;
    margin-top: 12px;
    color: var(--wsic-blue);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.38em;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.wsic-lead {
    max-width: 780px;
    margin: 24px 0 0;
    color: var(--wsic-copy);
    font-size: 1.06rem;
    line-height: 1.9;
}

.wsic-standard-summary {
    display: flex;
    max-width: 850px;
    align-items: center;
    gap: 24px;
    margin-top: 24px;
    padding: 20px 24px;
    border: 1px solid rgba(13, 29, 59, 0.12);
    border-left: 4px solid var(--wsic-gold);
    border-radius: 0 16px 16px 0;
    background: rgba(255, 255, 255, 0.64);
}

.wsic-standard-summary strong {
    flex: 0 0 auto;
    color: var(--wsic-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    line-height: 1;
}

.wsic-standard-summary small {
    display: block;
    margin-bottom: 4px;
    color: var(--wsic-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.wsic-standard-summary p {
    margin: 0;
    color: var(--wsic-copy);
    font-size: 0.92rem;
}

.wsic-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.wsic-actions[hidden] {
    display: none !important;
}

.wsic-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 20px;
    border: 1px solid var(--wsic-navy);
    border-radius: 12px;
    background: var(--wsic-navy);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 170ms ease, box-shadow 170ms ease, background 170ms ease;
}

.wsic-button:hover {
    background: var(--wsic-navy-soft);
    box-shadow: 0 12px 28px rgba(13, 29, 59, 0.18);
    transform: translateY(-2px);
}

.wsic-button.is-secondary {
    border-color: #b7c4d6;
    background: rgba(255, 255, 255, 0.74);
    color: var(--wsic-navy);
}

.wsic-button.is-secondary:hover {
    background: #fff;
}

.wsic-standard-card {
    position: relative;
    padding: 30px;
    border: 1px solid rgba(13, 29, 59, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--wsic-shadow);
    backdrop-filter: blur(12px);
}

.wsic-standard-card::before {
    position: absolute;
    top: 0;
    left: 28px;
    width: 72px;
    height: 4px;
    border-radius: 0 0 4px 4px;
    background: var(--wsic-gold);
    content: "";
}

.wsic-standard-card small {
    color: var(--wsic-muted);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.wsic-standard-card strong {
    display: block;
    margin: 12px 0 8px;
    color: var(--wsic-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.25rem;
    line-height: 1;
}

.wsic-standard-card p {
    margin: 0;
    color: var(--wsic-copy);
    font-size: 0.9rem;
}

.wsic-standard-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin: 24px -30px -30px;
    overflow: hidden;
    border-top: 1px solid var(--wsic-line);
    border-radius: 0 0 24px 24px;
    background: var(--wsic-line);
}

.wsic-standard-meta div {
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.95);
}

.wsic-standard-meta span {
    display: block;
    color: var(--wsic-muted);
    font-size: 0.7rem;
}

.wsic-standard-meta b {
    color: var(--wsic-navy);
    font-size: 0.9rem;
}

/* Main sections */
.wsic-section {
    padding: 78px 0;
}

.wsic-section[hidden] {
    display: none !important;
}

.wsic-section.is-white {
    border-block: 1px solid var(--wsic-line);
    background: #fff;
}

.wsic-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 500px);
    align-items: end;
    gap: 48px;
    margin-bottom: 34px;
}

.wsic-section-head[hidden] {
    display: none !important;
}

.wsic-section-head.is-title-only {
    grid-template-columns: minmax(0, 1fr);
}

.wsic-section-head h2 {
    margin: 0;
    color: var(--wsic-navy);
    font-family: "Noto Serif SC", SimSun, serif;
    font-size: clamp(1.8rem, 3.6vw, 2.65rem);
    line-height: 1.35;
}

.wsic-section-head p {
    margin: 0;
    color: var(--wsic-copy);
}

.wsic-path-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.wsic-path-card {
    position: relative;
    display: flex;
    min-height: 250px;
    flex-direction: column;
    overflow: hidden;
    padding: 28px;
    border: 1px solid var(--wsic-line);
    border-radius: var(--wsic-radius);
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.wsic-path-card[hidden] {
    display: none !important;
}

.wsic-path-card:hover {
    border-color: rgba(31, 93, 168, 0.4);
    box-shadow: var(--wsic-shadow);
    transform: translateY(-5px);
}

.wsic-path-card::after {
    position: absolute;
    right: -45px;
    bottom: -60px;
    width: 165px;
    height: 165px;
    border-radius: 50%;
    background: var(--wsic-sky);
    content: "";
}

.wsic-path-card.is-green::after {
    background: var(--wsic-green-soft);
}

.wsic-path-card.is-gold::after {
    background: var(--wsic-gold-soft);
}

.wsic-path-card.is-guide::after {
    background: #eee9ff;
}

.wsic-card-icon {
    display: none;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 14px;
    background: var(--wsic-sky);
    color: var(--wsic-blue);
    font-size: 1.2rem;
    font-weight: 800;
}

.is-green .wsic-card-icon {
    background: var(--wsic-green-soft);
    color: var(--wsic-teal);
}

.is-gold .wsic-card-icon {
    background: var(--wsic-gold-soft);
    color: #9b651f;
}

.is-guide .wsic-card-icon {
    background: #eee9ff;
    color: #6650a8;
}

.wsic-path-card h3 {
    margin: 0 0 8px;
    color: var(--wsic-navy);
    font-size: 1.25rem;
}

.wsic-path-card p {
    margin: 0;
    color: var(--wsic-copy);
    font-size: 0.93rem;
}

.wsic-card-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 22px;
    color: var(--wsic-blue);
    font-size: 0.88rem;
    font-weight: 800;
}

.wsic-outline-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.wsic-outline-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 17px;
    padding: 20px;
    border: 1px solid var(--wsic-line);
    border-radius: 16px;
    background: #fff;
    text-decoration: none;
    transition: border-color 160ms ease, transform 160ms ease;
}

.wsic-outline-card:hover {
    border-color: #9fb7d4;
    transform: translateX(4px);
}

.wsic-outline-number {
    display: none;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 15px;
    background: var(--wsic-sky);
    color: var(--wsic-blue);
    font-size: 0.84rem;
    font-weight: 800;
}

.wsic-outline-card.is-appendix .wsic-outline-number {
    background: var(--wsic-green-soft);
    color: var(--wsic-teal);
}

.wsic-outline-card.is-guide .wsic-outline-number {
    background: #eee9ff;
    color: #6650a8;
}

.wsic-outline-card h3 {
    margin: 0 0 3px;
    color: var(--wsic-navy);
    font-size: 1rem;
}

.wsic-outline-card p {
    margin: 0;
    color: var(--wsic-muted);
    font-size: 0.82rem;
}

.wsic-outline-arrow {
    color: var(--wsic-blue);
    font-size: 1.2rem;
}

.wsic-note-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 32px;
    padding: 34px;
    border: 1px solid rgba(198, 146, 75, 0.28);
    border-radius: var(--wsic-radius);
    background: linear-gradient(125deg, #fffdf8, #f8edda);
}

.wsic-note-panel h2 {
    margin: 0 0 7px;
    color: var(--wsic-navy);
    font-size: 1.35rem;
}

.wsic-note-panel p {
    margin: 0;
    color: var(--wsic-copy);
}

/* Document pages */
.wsic-page-hero {
    padding: 54px 0 46px;
}

.wsic-page-hero .wsic-hero-grid {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 48px;
}

.wsic-page-hero h1 {
    font-size: clamp(2rem, 4.2vw, 3.25rem);
}

.wsic-chapter-chip {
    display: grid;
    min-height: 180px;
    place-items: center;
    border: 1px solid rgba(31, 93, 168, 0.16);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--wsic-blue);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4rem;
    font-weight: 700;
    box-shadow: var(--wsic-shadow);
}

.wsic-chapter-chip.is-appendix {
    border-color: rgba(15, 118, 110, 0.18);
    color: var(--wsic-teal);
}

.wsic-chapter-chip.is-guide {
    border-color: rgba(102, 80, 168, 0.2);
    color: #6650a8;
}

.wsic-document {
    padding: 56px 0 86px;
}

.wsic-document-grid {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    align-items: start;
    gap: 34px;
}

.wsic-sidebar {
    position: sticky;
    top: 104px;
    padding: 20px;
    border: 1px solid var(--wsic-line);
    border-radius: 18px;
    background: #fff;
}

.wsic-sidebar-title {
    margin: 0 0 12px;
    color: var(--wsic-navy);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
}

.wsic-sidebar nav {
    display: grid;
    gap: 3px;
}

.wsic-sidebar a {
    padding: 9px 11px;
    border-radius: 9px;
    color: var(--wsic-copy);
    font-size: 0.84rem;
    line-height: 1.4;
    text-decoration: none;
}

.wsic-sidebar a:hover,
.wsic-sidebar a.is-active {
    background: var(--wsic-sky);
    color: var(--wsic-blue);
}

.wsic-article {
    min-width: 0;
    padding: clamp(26px, 5vw, 56px);
    border: 1px solid var(--wsic-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 45px rgba(13, 29, 59, 0.06);
}

.wsic-article-status {
    display: none !important;
    align-items: center;
    gap: 8px;
    padding: 6px 11px;
    border-radius: 999px;
    background: var(--wsic-gold-soft);
    color: #875817;
    font-size: 0.76rem;
    font-weight: 800;
}

.wsic-article-status::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--wsic-gold);
    content: "";
}

.wsic-article h2 {
    margin: 20px 0 12px;
    color: var(--wsic-navy);
    font-family: "Noto Serif SC", SimSun, serif;
    font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.wsic-article h3 {
    margin: 34px 0 10px;
    color: var(--wsic-navy);
    font-size: 1.13rem;
}

.wsic-article p {
    color: var(--wsic-copy);
}

.wsic-article .wsic-document-toc-item {
    margin: 1em 0;
    font-family: inherit;
    font-size: inherit;
    font-weight: 400;
    line-height: inherit;
}

.wsic-article-body {
    min-width: 0;
}

.wsic-article-body > :first-child {
    margin-top: 0;
}

.wsic-article-body ul,
.wsic-article-body ol {
    margin: 1em 0;
    padding-left: 1.55em;
    color: var(--wsic-copy);
}

.wsic-article-body li + li {
    margin-top: 0.45em;
}

.wsic-article-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 24px auto;
    border-radius: 12px;
}

.wsic-article-body table {
    width: 100%;
    margin: 24px 0;
    border-collapse: collapse;
    background: #fff;
    font-size: 0.9rem;
}

.wsic-document-table-wrap {
    width: 100%;
    margin: 24px 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}

.wsic-document-table-wrap table {
    min-width: 680px;
    margin: 0;
}

.wsic-document-note {
    padding: 13px 16px;
    border-left: 4px solid var(--wsic-blue);
    background: var(--wsic-sky);
}

.wsic-document-bullet {
    position: relative;
    padding-left: 1.15em;
}

.wsic-document-bullet::before {
    position: absolute;
    left: 0;
    color: var(--wsic-blue);
    content: "•";
}

.wsic-document-end {
    margin-top: 30px !important;
    color: var(--wsic-muted) !important;
    text-align: center;
}

.wsic-article-body th,
.wsic-article-body td {
    padding: 11px 13px;
    border: 1px solid var(--wsic-line);
    text-align: left;
    vertical-align: top;
}

.wsic-article-body th {
    background: #f1f5f9;
    color: var(--wsic-navy);
}

.wsic-article-body blockquote {
    margin: 24px 0;
    padding: 14px 18px;
    border-left: 4px solid var(--wsic-blue);
    background: var(--wsic-sky);
    color: var(--wsic-copy);
}

.wsic-article-body a,
.wsic-document-attachment a {
    color: var(--wsic-blue);
    text-underline-offset: 3px;
}

.wsic-published-meta {
    display: none !important;
    margin-bottom: 22px;
    padding: 6px 11px;
    border-radius: 999px;
    background: var(--wsic-green-soft);
    color: var(--wsic-teal);
    font-size: 0.76rem;
    font-weight: 800;
}

.wsic-document-attachment {
    margin-top: 28px;
    padding: 15px 18px;
    border: 1px solid var(--wsic-line);
    border-radius: 12px;
    background: #f8fafc;
}

.wsic-placeholder {
    margin-top: 28px;
    padding: 24px;
    border: 1px dashed #b9c5d5;
    border-radius: 15px;
    background: #f8fafc;
}

.wsic-placeholder strong {
    display: block;
    margin-bottom: 6px;
    color: var(--wsic-navy);
}

.wsic-placeholder p {
    margin: 0;
    font-size: 0.92rem;
}

.wsic-pager {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 14px;
    margin-top: 36px;
    padding-top: 26px;
    border-top: 1px solid var(--wsic-line);
}

.wsic-pager a,
.wsic-pager span {
    display: grid;
    padding: 15px 17px;
    border: 1px solid var(--wsic-line);
    border-radius: 13px;
    color: var(--wsic-copy);
    font-size: 0.82rem;
    text-decoration: none;
}

.wsic-pager a:last-child,
.wsic-pager span:last-child {
    text-align: right;
}

.wsic-pager b {
    display: block;
    margin-top: 2px;
    color: var(--wsic-navy);
    font-size: 0.9rem;
}

.wsic-pager a:hover {
    border-color: #9eb4d1;
    background: #f8fbff;
}

.wsic-pager a.is-directory,
.wsic-pager a.is-directory:link,
.wsic-pager a.is-directory:visited {
    min-width: 176px;
    align-content: center;
    text-align: center;
    border-color: var(--wsic-navy);
    background: var(--wsic-navy);
    color: #fff;
}

.wsic-pager a.is-directory:hover,
.wsic-pager a.is-directory:focus,
.wsic-pager a.is-directory:focus-visible,
.wsic-pager a.is-directory:active {
    border-color: var(--wsic-navy);
    background: var(--wsic-navy);
    color: #fff;
}

.wsic-pager a.is-directory:focus-visible {
    outline: 3px solid rgba(203, 151, 81, 0.38);
    outline-offset: 3px;
}

.wsic-pager a.is-directory b,
.wsic-pager a.is-directory:hover b,
.wsic-pager a.is-directory:focus b,
.wsic-pager a.is-directory:active b,
.wsic-pager a.is-directory:visited b {
    color: #fff;
}

.wsic-pager .is-disabled {
    align-content: center;
    background: #f8fafc;
    color: #94a0b2;
    cursor: default;
}

.wsic-pager .is-previous {
    text-align: left;
}

.wsic-pager .is-next {
    text-align: right;
}


/* Footer */
.wsic-footer {
    padding: 46px 0 28px;
    background: var(--wsic-navy);
    color: rgba(255, 255, 255, 0.7);
}

.wsic-footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.wsic-footer h2 {
    margin: 0 0 8px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
}

.wsic-footer p {
    max-width: 590px;
    margin: 0;
    font-size: 0.86rem;
}

.wsic-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
}

.wsic-footer-links a {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.86rem;
    text-decoration: none;
}

.wsic-footer-links a:hover {
    color: #fff;
}

.wsic-footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
}

@media (max-width: 980px) {
    .wsic-menu-toggle {
        display: grid;
    }

    .wsic-nav {
        position: fixed;
        inset: 78px 0 auto;
        display: none;
        max-height: calc(100vh - 78px);
        overflow-y: auto;
        padding: 16px 20px 28px;
        background: rgba(13, 29, 59, 0.99);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    body.nav-open .wsic-nav {
        display: block;
    }

    .wsic-nav-list {
        display: grid;
        gap: 5px;
    }

    .wsic-nav-link,
    .wsic-nav-trigger {
        width: 100%;
        min-height: 48px;
        justify-content: space-between;
        padding-inline: 15px;
        text-align: left;
    }

    .wsic-nav-cta {
        justify-content: center;
        margin: 8px 0 0;
    }

    .wsic-subnav {
        position: static;
        display: none;
        width: auto;
        margin: 3px 0 8px 18px;
        padding: 5px;
        border: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .wsic-nav-item:hover > .wsic-subnav,
    .wsic-nav-item:focus-within > .wsic-subnav {
        display: none;
        transform: none;
    }

    .wsic-nav-item.is-open > .wsic-subnav,
    .wsic-nav-item.is-open:hover > .wsic-subnav,
    .wsic-nav-item.is-open:focus-within > .wsic-subnav {
        display: grid;
    }

    .wsic-hero-grid,
    .wsic-page-hero .wsic-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .wsic-standard-card {
        max-width: 520px;
    }

    .wsic-page-hero .wsic-chapter-chip {
        display: none;
    }

    .wsic-path-grid {
        grid-template-columns: 1fr 1fr;
    }

    .wsic-path-card:last-child,
    .wsic-path-card.is-guide {
        grid-column: 1 / -1;
    }

    .wsic-document-grid {
        grid-template-columns: 1fr;
    }

    .wsic-sidebar {
        position: static;
    }

    .wsic-sidebar nav {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 680px) {
    .wsic-shell {
        width: min(calc(100% - 28px), var(--wsic-shell));
    }

    .wsic-nav-shell {
        min-height: 70px;
    }

    .wsic-nav {
        inset-block-start: 70px;
        max-height: calc(100vh - 70px);
    }

    .wsic-brand-copy strong {
        font-size: 1.08rem;
    }

    .wsic-brand-copy small {
        display: none;
    }

    .wsic-hero {
        padding: 60px 0 54px;
    }

    .wsic-page-hero {
        padding: 42px 0 38px;
    }

    .wsic-page-hero .wsic-eyebrow {
        padding: 6px 10px;
        border: 1px solid rgba(29, 94, 190, 0.18);
        border-radius: 999px;
        background: rgba(232, 242, 255, 0.8);
        font-size: 0.72rem !important;
        letter-spacing: 0.08em;
    }

    .wsic-page-hero .wsic-eyebrow::before {
        width: 14px;
    }

    .wsic-page-hero h1 span {
        margin-top: 9px;
        font-family: "Noto Sans SC", sans-serif;
        font-size: 0.84rem !important;
        font-weight: 800;
        line-height: 1.45;
        letter-spacing: 0.03em;
    }

    .wsic-hero h1 {
        font-size: 2.25rem;
    }

    .wsic-lead {
        font-size: 0.97rem;
    }

    .wsic-standard-summary {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding: 18px;
    }

    .wsic-standard-card {
        padding: 24px;
    }

    .wsic-standard-meta {
        margin: 20px -24px -24px;
    }

    .wsic-section {
        padding: 56px 0;
    }

    .wsic-section-head {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .wsic-path-grid,
    .wsic-outline-grid,
    .wsic-pager {
        grid-template-columns: 1fr;
    }

    .wsic-path-card:last-child,
    .wsic-path-card.is-guide {
        grid-column: auto;
    }

    .wsic-outline-card {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 16px;
    }

    .wsic-outline-card h3 {
        font-size: 0.95rem !important;
        line-height: 1.45;
    }

    .wsic-outline-number {
        width: 46px;
        height: 46px;
    }

    .wsic-note-panel,
    .wsic-footer-top {
        grid-template-columns: 1fr;
    }

    .wsic-note-panel {
        display: grid;
        padding: 25px;
    }

    .wsic-note-panel .wsic-button {
        width: 100%;
    }

    .wsic-document {
        padding: 34px 0 60px;
    }

    .wsic-sidebar nav {
        grid-template-columns: 1fr 1fr;
        gap: 5px;
    }

    .wsic-sidebar {
        padding: 15px;
        border-radius: 14px;
    }

    .wsic-sidebar-title {
        margin-bottom: 9px;
        font-size: 0.78rem !important;
        line-height: 1.35;
        letter-spacing: 0.04em;
    }

    .wsic-sidebar a {
        padding: 7px 8px;
        font-size: 0.75rem;
        line-height: 1.35;
    }

    .wsic-article {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .wsic-article h2 {
        margin: 18px 0 9px;
        font-size: 1.18rem !important;
        line-height: 1.45;
    }

    .wsic-article h3 {
        margin: 24px 0 8px;
        font-size: 1.02rem !important;
        line-height: 1.5;
    }

    .wsic-pager a:last-child,
    .wsic-pager span:last-child {
        text-align: left;
    }

    .wsic-footer-top {
        display: grid;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* WorldSleep navigation and footer use the shared site styles linked by each page. */
@media (min-width: 1200px) {
    /* Keep the shared navigation readable over the light WSIC hero without changing its sizing or position. */
    .wsic-resource-page .site-header {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    }

    .wsic-resource-page .wsic-hero {
        padding-top: 190px;
    }

    .wsic-resource-page .wsic-page-hero {
        padding-top: 160px;
    }
}
@media (max-width: 767px) {
    .wsic-resource-page {
        padding-top: var(--mobile-nav-height, 56px);
    }

}
