/* Lexoh editorial resource stories.
   Loaded after the shared interior styles for the bilingual guide library. */
body.is-resource-page {
    --lr-night: #041925;
    --lr-navy: #082a3d;
    --lr-ink: #112b3a;
    --lr-muted: #5b6e7a;
    --lr-cyan: #00768c;
    --lr-cyan-bright: #63d5e8;
    --lr-fog: #f4f7f9;
    --lr-line: rgba(17, 43, 58, .16);
    --lr-line-dark: rgba(255, 255, 255, .17);
    --lr-max: var(--lx-shell-max, 1320px);
    --lr-reading: 960px;
}

body.is-resource-page main.lx-resource-story {
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: clip;
    color: var(--lr-ink);
    background: #fff;
}

body.is-resource-page .lx-resource-story *,
body.is-resource-page .lx-resource-story *::before,
body.is-resource-page .lx-resource-story *::after { box-sizing: border-box; }

body.is-resource-page .lx-resource-story > article {
    max-width: none;
    margin: 0;
}

body.is-resource-page .lx-resource-container {
    width: min(calc(100% - 2 * var(--lx-page-gutter, 24px)), var(--lr-max));
    max-width: none;
    margin-inline: auto;
    padding-inline: 0;
}

body.is-resource-page .lx-resource-story :is(h1, h2, h3, p, figure, ol, ul) { margin-top: 0; }

body.is-resource-page .lx-resource-story :is(h1, h2, h3) {
    color: inherit;
    font-weight: 570;
    letter-spacing: -.052em;
    text-wrap: balance;
}

body.is-resource-page .lx-resource-story p {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    text-wrap: pretty;
}

body.is-resource-page .lx-resource-story img {
    display: block;
    width: 100%;
}

body.is-resource-page .lx-resource-breadcrumb { margin-bottom: 28px; font-size: .8rem; line-height: 1.5; color: #c0d7e2; }
body.is-resource-page .lx-resource-breadcrumb a { color: #93e5ef; text-decoration: underline; text-underline-offset: 4px; }
body.is-resource-page .lx-resource-breadcrumb a:focus-visible { outline: 2px solid #93e5ef; outline-offset: 4px; }
body.is-resource-page .lx-resource-sources { padding: 60px 0; border-top: 1px solid var(--lr-line); background: #fff; }
body.is-resource-page .lx-resource-sources h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
body.is-resource-page .lx-resource-sources .lx-resource-container { max-width: var(--lr-reading); }
body.is-resource-page .lx-resource-sources ul { padding-left: 22px; }
body.is-resource-page .lx-resource-sources li { padding: 10px 0; line-height: 1.6; }
body.is-resource-page .lx-resource-sources a { color: #006a80; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
body.is-resource-page .lx-resource-sources p { font-size: .95rem; margin: 8px 0 0; color: var(--lr-muted); }
/* Guide library: grouped subjects with concise editorial links. */
body.is-resource-page .lx-library-hero { padding: 150px 0 66px; color: #fff; background: var(--lr-night); }
body.is-resource-page .lx-library-hero__layout { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); gap: 80px; align-items: end; }
body.is-resource-page .lx-library-hero h1 { max-width: 17ch; margin: 0; color: #fff; font-size: clamp(2.6rem,4.8vw,4.4rem); line-height: 1.04; }
body.is-resource-page .lx-library-hero__intro > p { margin: 0 0 24px; color: #d2e2e8; font-size: 1.07rem; line-height: 1.75; max-width: 42ch; }
body.is-resource-page .lx-library-hero__intro > span { display: block; border-top: 1px solid #3a515d; padding-top: 20px; color: #8dd9e4; font-size: .85rem; line-height: 1.65; }
body.is-resource-page .lx-library-topics { border-bottom: 1px solid var(--lr-line); background: #edf3f4; }
body.is-resource-page .lx-library-topics .lx-resource-container { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
body.is-resource-page .lx-library-topics a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 25px 24px; color: #174553; border-left: 1px solid var(--lr-line); font-size: 1rem; font-weight: 600; text-decoration: none; line-height: 1.4; }
body.is-resource-page .lx-library-topics a:last-child { border-right: 1px solid var(--lr-line); }
body.is-resource-page .lx-library-topics a:hover { color: #006c80; background: #e0edef; }
body.is-resource-page .lx-library-group { padding: 72px 0; scroll-margin-top: 100px; border-bottom: 1px solid var(--lr-line); }
body.is-resource-page .lx-library-group__layout { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.4fr); gap: clamp(40px,7vw,100px); }
body.is-resource-page .lx-library-group__intro h2 { font-size: clamp(1.9rem,3.3vw,2.8rem); line-height: 1.1; margin: 0 0 20px; }
body.is-resource-page .lx-library-group__intro p { font-size: 1rem; line-height: 1.7; margin: 0 0 26px; color: var(--lr-muted); max-width: 42ch; }
body.is-resource-page .lx-library-group__intro img { display: block; aspect-ratio: 1.6; height: auto; width: 100%; object-fit: cover; border-radius: 6px; background: #f3f6f7; }
body.is-resource-page .lx-library-group__intro img.is-contain { object-fit: contain; padding: 20px; }
body.is-resource-page .lx-library-guides { margin: 0; padding: 0; list-style: none; border-top: 2px solid #00768c; }
body.is-resource-page .lx-library-guides li { border-bottom: 1px solid var(--lr-line); }
body.is-resource-page .lx-library-guides a { display: grid; grid-template-columns: minmax(0,1fr) 32px; gap: 22px; align-items: start; padding: 25px 0 27px; color: var(--lr-ink); text-decoration: none; }
body.is-resource-page .lx-library-guides h3 { font-size: clamp(1.25rem,2vw,1.65rem); line-height: 1.25; margin: 0 0 12px; letter-spacing: -.025em; }
body.is-resource-page .lx-library-guides p { font-size: .97rem; line-height: 1.7; color: var(--lr-muted); margin: 0; max-width: 65ch; }
body.is-resource-page .lx-library-guides__arrow { color: #00768c; font-size: 1.4rem; line-height: 1.3; text-align: right; }
body.is-resource-page .lx-library-guides a:hover h3 { color: #00768c; text-decoration: underline; text-underline-offset: 5px; }
body.is-resource-page :is(.lx-library-guides,.lx-library-topics) a:focus-visible { outline: 3px solid #00768c; outline-offset: 5px; }
@media (max-width: 828px) {
    body.is-resource-page .lx-library-hero { padding: 118px 0 44px; }
    body.is-resource-page .lx-library-hero__layout { grid-template-columns: 1fr; gap: 28px; }
    body.is-resource-page .lx-library-hero h1 { max-width: 18ch; }
    body.is-resource-page .lx-library-hero__intro > p { max-width: 60ch; }
    body.is-resource-page .lx-library-group__layout { grid-template-columns: 1fr; gap: 30px; }
    body.is-resource-page .lx-library-group { padding: 46px 0; }
    body.is-resource-page .lx-library-group__intro img { max-width: 480px; aspect-ratio: 2; }
    body.is-resource-page .lx-library-topics a { padding: 18px 12px; font-size: .86rem; gap: 8px; }
}
@media (max-width: 440px) {
    body.is-resource-page .lx-library-topics a { flex-direction: column; align-items: flex-start; justify-content: flex-start; }
}

body.is-resource-page .lx-resource-eyebrow {
    margin-bottom: 20px;
    color: var(--lr-cyan);
    font-size: .75rem;
    font-weight: 720;
    line-height: 1.35;
    letter-spacing: .1em;
    text-transform: uppercase;
}

body.is-resource-page .lx-resource-eyebrow--light { color: var(--lr-cyan-bright); }

/* Editorial opening: a real installation carries the story. */
body.is-resource-page .lx-resource-hero {
    min-height: 0;
    padding: 144px 0 64px;
    display: flex;
    align-items: center;
    color: #fff;
    background: var(--lr-night);
}

body.is-resource-page .lx-resource-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(40px, 5vw, 72px);
    align-items: center;
}

body.is-resource-page .lx-resource-hero__copy { max-width: 660px; }

body.is-resource-page .lx-resource-hero h1 {
    max-width: 20ch;
    margin-bottom: 30px;
    color: #fff;
    font-size: clamp(2.7rem, 4.5vw, 4.5rem);
    line-height: 1.04;
}

body.is-resource-page .lx-resource-hero__lede {
    max-width: 59ch;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, .77);
    font-size: clamp(1.08rem, 1.5vw, 1.3rem);
    line-height: 1.58;
}

body.is-resource-page .lx-resource-hero__meta {
    max-width: 64ch;
    margin-bottom: 0;
    padding-top: 22px;
    border-top: 1px solid var(--lr-line-dark);
    color: rgba(255, 255, 255, .58);
    font-size: .82rem;
    line-height: 1.55;
}

body.is-resource-page .lx-resource-hero__media,
body.is-resource-page .lx-resource-chapter__media {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    border: 1px solid var(--lr-line-dark);
    border-radius: 16px;
    background: #0b2230;
}

body.is-resource-page .lx-resource-hero__media { aspect-ratio: 1.15; }
body.is-resource-page .lx-resource-chapter__media { aspect-ratio: 1.15; }

body.is-resource-page :is(.lx-resource-hero__media, .lx-resource-chapter__media) img {
    height: 100%;
    object-fit: cover;
}

body.is-resource-page :is(.lx-resource-hero__media, .lx-resource-chapter__media).lx-resource-media--contain img {
    padding: clamp(18px, 2.6vw, 38px);
    object-fit: contain;
}

body.is-resource-page :is(.lx-resource-hero__media, .lx-resource-chapter__media) figcaption {
    position: absolute;
    right: 14px;
    bottom: 12px;
    left: 14px;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 12px;
    color: rgba(255, 255, 255, .78);
    background: rgba(4, 25, 37, .82);
    font-size: .72rem;
    line-height: 1.4;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Evidence limits are explicit before the advice begins. */
body.is-resource-page .lx-resource-boundary {
    padding: var(--lx-section-space-compact, 56px) 0;
    border-bottom: 1px solid var(--lr-line);
    color: var(--lr-ink);
    background: var(--lr-fog);
}

body.is-resource-page .lx-resource-boundary__grid {
    display: grid;
    grid-template-columns: minmax(180px, .42fr) minmax(0, 1.58fr);
    gap: clamp(36px, 7vw, 110px);
    align-items: start;
}

body.is-resource-page .lx-resource-boundary__label {
    margin-bottom: 0;
    color: var(--lr-cyan);
    font-size: .74rem;
    font-weight: 720;
    letter-spacing: .1em;
    line-height: 1.4;
    text-transform: uppercase;
}

body.is-resource-page .lx-resource-boundary h2 {
    max-width: 24ch;
    margin-bottom: 12px;
    font-size: var(--lx-type-utility, 36px);
    line-height: 1.15;
}

body.is-resource-page .lx-resource-boundary__grid > div > p {
    max-width: 76ch;
    margin-bottom: 0;
    color: var(--lr-muted);
    font-size: .98rem;
    line-height: 1.62;
}

/* Compact chapter rail; useful on long guides without becoming a tab UI. */
body.is-resource-page .lx-resource-nav {
    position: sticky;
    top: var(--lx-nav-height, 80px);
    z-index: 12;
    border-bottom: 1px solid var(--lr-line);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(18px) saturate(125%);
    -webkit-backdrop-filter: blur(18px) saturate(125%);
}

body.is-resource-page .lx-resource-nav ol {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(170px, 1fr);
    margin-bottom: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: thin;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}

body.is-resource-page .lx-resource-nav li { border-left: 1px solid var(--lr-line); }
body.is-resource-page .lx-resource-nav li:last-child { border-right: 1px solid var(--lr-line); }

body.is-resource-page .lx-resource-nav a {
    display: flex;
    min-height: 74px;
    align-items: center;
    gap: 12px;
    padding: 14px 17px;
    color: var(--lr-ink);
    font-size: 14px;
    font-weight: 640;
    line-height: 1.25;
    text-decoration: none;
}

body.is-resource-page .lx-resource-nav a span {
    flex: 0 0 auto;
    color: var(--lr-cyan);
    font-size: .65rem;
    font-weight: 750;
    letter-spacing: .08em;
}

body.is-resource-page .lx-resource-nav a:hover { color: var(--lr-cyan); }

body.is-resource-page .lx-resource-story [id] {
    scroll-margin-top: calc(var(--lx-nav-height, 80px) + 82px);
}

/* Long-form opening. */
body.is-resource-page .lx-resource-intro {
    padding: var(--lx-section-space, 88px) 0;
    background: #fff;
}

body.is-resource-page .lx-resource-intro__grid {
    max-width: var(--lr-reading);
    display: block;
}

body.is-resource-page .lx-resource-intro h2 {
    max-width: 34ch;
    margin-bottom: 28px;
    font-size: var(--lx-type-section, 48px);
    line-height: 1.12;
}

body.is-resource-page .lx-resource-prose { max-width: none; }

body.is-resource-page .lx-resource-prose p {
    margin-bottom: 22px;
    color: var(--lr-muted);
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.7;
}

body.is-resource-page .lx-resource-prose p:last-child { margin-bottom: 0; }

/* Operational sequence uses one disciplined rail, not a field of cards. */
body.is-resource-page .lx-resource-journey {
    padding: var(--lx-section-space-major, 104px) 0;
    color: #fff;
    background: var(--lr-night);
}

body.is-resource-page .lx-resource-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .62fr);
    gap: 32px 80px;
    align-items: end;
    margin-bottom: clamp(32px, 4vw, 56px);
}

body.is-resource-page .lx-resource-section-heading .lx-resource-eyebrow {
    grid-column: 1 / -1;
    margin-bottom: -8px;
    color: var(--lr-cyan-bright);
}

body.is-resource-page .lx-resource-section-heading h2 {
    max-width: 24ch;
    margin-bottom: 0;
    color: #fff;
    font-size: var(--lx-type-section, 48px);
    line-height: 1.12;
}

body.is-resource-page .lx-resource-section-heading > p:last-child {
    margin-bottom: 4px;
    color: rgba(255, 255, 255, .68);
    font-size: 1rem;
    line-height: 1.62;
}

body.is-resource-page .lx-resource-journey__steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-bottom: 0;
    padding: 0;
    border-top: 1px solid var(--lr-line-dark);
    list-style: none;
}

body.is-resource-page .lx-resource-journey__steps li {
    min-height: 270px;
    padding: 28px 25px 32px;
    border-right: 1px solid var(--lr-line-dark);
}

body.is-resource-page .lx-resource-journey__steps li:first-child { border-left: 1px solid var(--lr-line-dark); }

body.is-resource-page .lx-resource-journey__steps li > span {
    display: block;
    margin-bottom: 54px;
    color: var(--lr-cyan-bright);
    font-size: .69rem;
    font-weight: 750;
    letter-spacing: .08em;
}

body.is-resource-page .lx-resource-journey__steps h3 {
    margin-bottom: 13px;
    color: #fff;
    font-size: 1.28rem;
    line-height: 1.08;
    letter-spacing: -.035em;
}

body.is-resource-page .lx-resource-journey__steps p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .62);
    font-size: .9rem;
    line-height: 1.58;
}

/* Alternating evidence chapters. */
body.is-resource-page .lx-resource-chapter {
    padding: var(--lx-section-space, 88px) 0;
    color: var(--lr-ink);
    background: #fff;
}

body.is-resource-page .lx-resource-chapter--fog { background: var(--lr-fog); }

body.is-resource-page .lx-resource-chapter--dark {
    color: #fff;
    background: var(--lr-navy);
}

body.is-resource-page .lx-resource-chapter__grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 36px clamp(36px, 4vw, 64px);
    align-items: start;
}

body.is-resource-page .lx-resource-chapter--reverse .lx-resource-chapter__media { order: 2; }
body.is-resource-page .lx-resource-chapter--reverse .lx-resource-chapter__copy { order: 1; }

body.is-resource-page .lx-resource-chapter__copy { min-width: 0; max-width: none; }

body.is-resource-page .lx-resource-chapter:not(.lx-resource-chapter--media) > .lx-resource-container {
    max-width: var(--lr-reading);
}

body.is-resource-page .lx-resource-chapter--comparison .lx-resource-chapter__copy,
body.is-resource-page .lx-resource-chapter--comparison .lx-resource-chapter__details {
    max-width: var(--lr-reading);
    margin-inline: auto;
}

body.is-resource-page .lx-resource-chapter__details {
    min-width: 0;
    grid-column: 1 / -1;
    order: 3;
}

body.is-resource-page .lx-resource-chapter--media .lx-resource-chapter__details > .lx-resource-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
    margin-top: 0;
}

body.is-resource-page .lx-resource-chapter--comparison .lx-resource-table-wrap {
    grid-column: 1 / -1;
    order: 4;
    margin-top: 36px;
}

body.is-resource-page .lx-resource-chapter__copy h2 {
    max-width: 34ch;
    margin-bottom: 27px;
    font-size: var(--lx-type-section, 48px);
    line-height: 1.12;
}

body.is-resource-page .lx-resource-chapter--dark .lx-resource-prose p { color: rgba(255, 255, 255, .7); }

body.is-resource-page .lx-resource-points {
    margin: 36px 0 0;
    padding: 0;
    border-top: 1px solid var(--lr-line);
    list-style: none;
}

body.is-resource-page .lx-resource-chapter--dark .lx-resource-points { border-top-color: var(--lr-line-dark); }

body.is-resource-page .lx-resource-chapter__details { padding-top: 28px; }
body.is-resource-page .lx-resource-chapter__details > :first-child { margin-top: 0; }
body.is-resource-page .lx-resource-chapter--media .lx-resource-chapter__details { padding-top: 0; }

body.is-resource-page .lx-resource-points li {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--lr-line);
    color: var(--lr-muted);
    font-size: .96rem;
    line-height: 1.55;
}

body.is-resource-page .lx-resource-points--numbered li { grid-template-columns: 40px minmax(0, 1fr); }
body.is-resource-page .lx-resource-chapter--dark .lx-resource-points li { border-bottom-color: var(--lr-line-dark); color: #c2d5df; }

body.is-resource-page .lx-resource-points li > span {
    padding-top: 3px;
    color: var(--lr-cyan);
    font-size: .7rem;
    font-weight: 750;
    letter-spacing: .08em;
}

body.is-resource-page .lx-resource-chapter--dark .lx-resource-points li > span { color: var(--lr-cyan-bright); }

body.is-resource-page .lx-resource-points h3 {
    margin-bottom: 7px;
    font-size: 1.05rem;
    line-height: 1.2;
    letter-spacing: -.025em;
}

body.is-resource-page .lx-resource-chapter--dark .lx-resource-points h3 { color: #fff; }

body.is-resource-page .lx-resource-points p {
    margin-bottom: 0;
    color: var(--lr-muted);
    font-size: .93rem;
    line-height: 1.55;
}

body.is-resource-page .lx-resource-chapter--dark .lx-resource-points p { color: rgba(255, 255, 255, .62); }

body.is-resource-page .lx-resource-note {
    margin-top: 34px;
    padding: 24px 0 0;
    border-top: 1px solid var(--lr-line);
}

body.is-resource-page .lx-resource-chapter--dark .lx-resource-note { border-top-color: var(--lr-line-dark); }

body.is-resource-page .lx-resource-note strong {
    display: block;
    margin-bottom: 8px;
    color: inherit;
    font-size: .86rem;
}

body.is-resource-page .lx-resource-note p {
    max-width: none;
    margin-bottom: 0;
    color: var(--lr-muted);
    font-size: .88rem;
    line-height: 1.58;
}

body.is-resource-page .lx-resource-chapter--dark .lx-resource-note p { color: rgba(255, 255, 255, .61); }

/* Responsibility comparison remains a readable table, not a winner/loser panel. */
body.is-resource-page .lx-resource-table-wrap {
    overflow-x: auto;
    border-top: 1px solid var(--lr-line);
    border-bottom: 1px solid var(--lr-line);
    outline: none;
}

body.is-resource-page .lx-resource-table-wrap:focus-visible {
    outline: 3px solid var(--lr-cyan);
    outline-offset: 5px;
}

body.is-resource-page .lx-resource-table-wrap table {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
    color: var(--lr-ink);
    background: transparent;
    table-layout: fixed;
}

body.is-resource-page .lx-resource-table-label { width: 22%; }
body.is-resource-page .lx-resource-table-wrap table[data-columns="2"] .lx-resource-table-label { width: 34%; }

body.is-resource-page .lx-resource-table-wrap caption {
    padding: 0 0 18px;
    color: var(--lr-muted);
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
}

body.is-resource-page .lx-resource-table-wrap :is(th, td) {
    padding: 22px 24px;
    border: 0;
    border-bottom: 1px solid var(--lr-line);
    color: var(--lr-muted);
    background: transparent;
    font-size: .9rem;
    line-height: 1.55;
    text-align: left;
    vertical-align: top;
}

body.is-resource-page .lx-resource-table-wrap thead th {
    color: var(--lr-ink);
    font-size: 14px;
    font-weight: 720;
    letter-spacing: 0;
    text-transform: none;
}

body.is-resource-page .lx-resource-table-wrap tbody th {
    color: var(--lr-ink);
    font-weight: 660;
}

body.is-resource-page .lx-resource-table-wrap tr > :first-child { padding-left: 0; }
body.is-resource-page .lx-resource-table-wrap tr > :last-child { padding-right: 0; }

body.is-resource-page .lx-resource-table-wrap tbody tr:last-child :is(th, td) { border-bottom: 0; }

body.is-resource-page .lx-resource-chapter--dark .lx-resource-table-wrap,
body.is-resource-page .lx-resource-chapter--dark .lx-resource-table-wrap :is(th, td) { border-color: var(--lr-line-dark); }
body.is-resource-page .lx-resource-chapter--dark .lx-resource-table-wrap :is(caption, td) { color: #c2d5df; }
body.is-resource-page .lx-resource-chapter--dark .lx-resource-table-wrap th { color: #fff; }

/* FAQs are native disclosure rows with quiet hairlines. */
body.is-resource-page .lx-resource-faq {
    padding: var(--lx-section-space, 88px) 0;
    border-top: 1px solid var(--lr-line);
    background: #fff;
}

body.is-resource-page .lx-resource-faq__grid {
    max-width: var(--lr-reading);
    display: block;
}

body.is-resource-page .lx-resource-faq__heading {
    margin-bottom: 32px;
}

body.is-resource-page .lx-resource-faq h2 {
    max-width: none;
    margin-bottom: 0;
    font-size: var(--lx-type-utility, 38px);
    line-height: 1.15;
}

body.is-resource-page .lx-resource-faq__items { border-top: 1px solid var(--lr-line); }

body.is-resource-page .lx-resource-faq details {
    border-bottom: 1px solid var(--lr-line);
    background: transparent;
}

body.is-resource-page .lx-resource-faq summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 24px;
    align-items: center;
    padding: 27px 0;
    color: var(--lr-ink);
    cursor: pointer;
    font-size: clamp(1rem, 1.4vw, 1.14rem);
    font-weight: 640;
    line-height: 1.35;
    list-style: none;
}

body.is-resource-page .lx-resource-faq summary::-webkit-details-marker { display: none; }

body.is-resource-page .lx-resource-faq summary span {
    color: var(--lr-cyan);
    font-size: 1.45rem;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    transition: transform 180ms ease;
}

body.is-resource-page .lx-resource-faq details[open] summary span { transform: rotate(45deg); }

body.is-resource-page .lx-resource-faq details > p {
    max-width: none;
    margin: -5px 50px 27px 0;
    color: var(--lr-muted);
    font-size: .98rem;
    line-height: 1.68;
}

/* Related reading keeps hierarchy without becoming a generic card grid. */
body.is-resource-page .lx-resource-related {
    padding: var(--lx-section-space, 88px) 0;
    color: #fff;
    background: var(--lr-night);
}

body.is-resource-page .lx-resource-related__heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr);
    gap: 40px 90px;
    align-items: end;
    margin-bottom: 58px;
}

body.is-resource-page .lx-resource-related__heading h2 {
    max-width: 24ch;
    margin-bottom: 0;
    color: #fff;
    font-size: var(--lx-type-section, 48px);
    line-height: 1.12;
}

body.is-resource-page .lx-resource-related__heading > p {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, .65);
    font-size: 1rem;
    line-height: 1.62;
}

body.is-resource-page .lx-resource-related__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-bottom: 0;
    padding: 0;
    border-top: 1px solid var(--lr-line-dark);
    list-style: none;
}

body.is-resource-page .lx-resource-related__list li {
    min-height: 285px;
    padding: 30px 28px;
    border-right: 1px solid var(--lr-line-dark);
}

body.is-resource-page .lx-resource-related__list li:first-child { border-left: 1px solid var(--lr-line-dark); }

body.is-resource-page .lx-resource-related__list li > span {
    display: block;
    margin-bottom: 48px;
    color: var(--lr-cyan-bright);
    font-size: .7rem;
    font-weight: 750;
    letter-spacing: .08em;
}

body.is-resource-page .lx-resource-related__list h3 {
    margin-bottom: 12px;
    color: #fff;
    font-size: 1.32rem;
    line-height: 1.1;
}

body.is-resource-page .lx-resource-related__list p {
    margin-bottom: 26px;
    color: rgba(255, 255, 255, .61);
    font-size: .9rem;
    line-height: 1.58;
}

body.is-resource-page .lx-resource-related__list a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--lr-cyan-bright) !important;
    font-size: .86rem;
    font-weight: 680;
    text-decoration: none;
}

body.is-resource-page .lx-resource-related__list a:hover,
body.is-resource-page .lx-resource-related__list a:focus-visible { color: #fff !important; }

/* Final invitation is carried by another documented Lexoh site. */
body.is-resource-page .lx-resource-cta {
    position: relative;
    min-height: clamp(420px, 42vw, 560px);
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background: var(--lr-night);
    isolation: isolate;
}

body.is-resource-page :is(.lx-resource-cta__media, .lx-resource-cta__shade) {
    position: absolute;
    inset: 0;
    z-index: -2;
}

body.is-resource-page .lx-resource-cta__media img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}

body.is-resource-page .lx-resource-cta__shade {
    z-index: -1;
    background: rgba(4, 25, 37, .79);
}

body.is-resource-page .lx-resource-cta__inner { padding-block: var(--lx-section-space-major, 104px); }
body.is-resource-page .lx-resource-cta__copy { max-width: 900px; }

body.is-resource-page .lx-resource-cta h2 {
    max-width: none;
    margin-bottom: 25px;
    color: #fff;
    font-size: var(--lx-type-cta, 56px);
    line-height: 1.1;
}

body.is-resource-page .lx-resource-cta__copy > p:not(.lx-resource-eyebrow) {
    max-width: 62ch;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, .72);
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    line-height: 1.62;
}

body.is-resource-page .lx-resource-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 13px 23px;
    border: 1px solid #fff;
    border-radius: 999px;
    color: var(--lr-night);
    background: #fff;
    font-size: .92rem;
    font-weight: 680;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

body.is-resource-page .lx-resource-button:hover {
    border-color: var(--lr-cyan-bright);
    color: var(--lr-night);
    background: var(--lr-cyan-bright);
}

body.is-resource-page .lx-resource-story :is(a, summary, [tabindex="0"]):focus-visible {
    outline: 3px solid var(--lr-cyan);
    outline-offset: 4px;
}

body.is-resource-page .lx-resource-story :is(
    .lx-resource-hero,
    .lx-resource-chapter--dark,
    .lx-resource-related,
    .lx-resource-cta
) :is(a, summary, [tabindex="0"]):focus-visible {
    outline-color: var(--lr-cyan-bright);
}

@media (max-width: 1100px) {
    body.is-resource-page .lx-resource-hero__grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        gap: 48px;
    }

    body.is-resource-page .lx-resource-hero h1 { font-size: clamp(2.7rem, 4.5vw, 3.4rem); }
    body.is-resource-page .lx-resource-nav .lx-resource-container { width: 100%; }

    body.is-resource-page .lx-resource-nav ol {
        display: flex;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
    }

    body.is-resource-page .lx-resource-nav li {
        flex: 0 0 210px;
        border-left: 0;
        border-right: 1px solid var(--lr-line);
    }

    body.is-resource-page .lx-resource-journey__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    body.is-resource-page .lx-resource-journey__steps li,
    body.is-resource-page .lx-resource-journey__steps li:first-child {
        min-height: 240px;
        border-left: 0;
        border-bottom: 1px solid var(--lr-line-dark);
    }

    body.is-resource-page .lx-resource-journey__steps li:nth-child(3n + 1) { border-left: 1px solid var(--lr-line-dark); }
    body.is-resource-page .lx-resource-journey__steps li > span { margin-bottom: 40px; }

    body.is-resource-page .lx-resource-chapter__grid {
        grid-template-columns: minmax(0, 1fr) minmax(350px, .78fr);
        gap: 54px;
    }
}

@media (max-width: 828px) {
    body.is-resource-page .lx-resource-hero {
        min-height: 0;
        padding: 134px 0 70px;
    }

    body.is-resource-page .lx-resource-hero__grid,
    body.is-resource-page .lx-resource-intro__grid,
    body.is-resource-page .lx-resource-section-heading,
    body.is-resource-page .lx-resource-chapter__grid,
    body.is-resource-page .lx-resource-faq__grid,
    body.is-resource-page .lx-resource-related__heading {
        grid-template-columns: 1fr;
    }

    body.is-resource-page .lx-resource-hero__media {
        width: min(100%, 620px);
        aspect-ratio: 1.05;
    }

    body.is-resource-page .lx-resource-boundary__grid { grid-template-columns: 1fr; gap: 20px; }

    body.is-resource-page .lx-resource-intro h2,
    body.is-resource-page .lx-resource-section-heading h2,
    body.is-resource-page .lx-resource-chapter__copy h2,
    body.is-resource-page .lx-resource-related__heading h2 { max-width: 760px; }

    body.is-resource-page .lx-resource-section-heading { gap: 24px; }
    body.is-resource-page .lx-resource-section-heading .lx-resource-eyebrow { margin-bottom: 0; }

    body.is-resource-page .lx-resource-chapter--reverse .lx-resource-chapter__media,
    body.is-resource-page .lx-resource-chapter--reverse .lx-resource-chapter__copy { order: initial; }

    body.is-resource-page .lx-resource-chapter__media { width: min(100%, 680px); }
    body.is-resource-page .lx-resource-chapter__copy { max-width: none; }
    body.is-resource-page .lx-resource-faq__heading { position: static; }
    body.is-resource-page .lx-resource-faq h2 { max-width: none; }

    body.is-resource-page .lx-resource-related__list { grid-template-columns: 1fr; }

    body.is-resource-page .lx-resource-related__list li,
    body.is-resource-page .lx-resource-related__list li:first-child {
        min-height: 0;
        padding: 28px 0;
        border-right: 0;
        border-left: 0;
        border-bottom: 1px solid var(--lr-line-dark);
    }

    body.is-resource-page .lx-resource-related__list li > span { margin-bottom: 24px; }
    body.is-resource-page .lx-resource-related__list li:last-child { border-bottom: 0; }
}

@media (max-width: 620px) {
    body.is-resource-page .lx-resource-hero h1 {
        max-width: none;
        font-size: clamp(2.7rem, 12vw, 3.125rem);
        line-height: 1;
    }

    body.is-resource-page .lx-resource-hero__lede { font-size: 1.02rem; }

    body.is-resource-page .lx-resource-nav a { min-height: 62px; }
    body.is-resource-page .lx-resource-story [id] {
        scroll-margin-top: calc(var(--lx-nav-height, 60px) + 70px);
    }

    body.is-resource-page .lx-resource-journey__steps { grid-template-columns: 1fr; }

    body.is-resource-page .lx-resource-journey__steps li,
    body.is-resource-page .lx-resource-journey__steps li:first-child,
    body.is-resource-page .lx-resource-journey__steps li:nth-child(3n + 1) {
        min-height: 0;
        padding: 25px 0 28px;
        border-right: 0;
        border-left: 0;
    }

    body.is-resource-page .lx-resource-journey__steps li > span { margin-bottom: 22px; }
    body.is-resource-page .lx-resource-chapter__grid { gap: 42px; }
    body.is-resource-page .lx-resource-chapter__media { aspect-ratio: 1.08; }
    body.is-resource-page .lx-resource-chapter--media .lx-resource-chapter__details > .lx-resource-points { grid-template-columns: 1fr; }

    body.is-resource-page .lx-resource-points--numbered li { grid-template-columns: 34px minmax(0, 1fr); }

    body.is-resource-page .lx-resource-table-wrap :is(th, td) { padding: 18px; }
    body.is-resource-page .lx-resource-faq summary { padding: 23px 0; }
    body.is-resource-page .lx-resource-faq details > p { margin-right: 0; }

}

@media (prefers-reduced-motion: reduce) {
    body.is-resource-page .lx-resource-story *,
    body.is-resource-page .lx-resource-story *::before,
    body.is-resource-page .lx-resource-story *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
    body.is-resource-page .lx-resource-nav,
    body.is-resource-page :is(.lx-resource-hero__media, .lx-resource-chapter__media) figcaption {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    body.is-resource-page .lx-resource-nav { background: #fff; }
}

@media (prefers-contrast: more) {
    body.is-resource-page .lx-resource-story :is(
        .lx-resource-hero__lede,
        .lx-resource-section-heading > p:last-child,
        .lx-resource-chapter--dark .lx-resource-prose p,
        .lx-resource-related__heading > p,
        .lx-resource-cta__copy > p:not(.lx-resource-eyebrow)
    ) {
        color: rgba(255, 255, 255, .9);
    }

    body.is-resource-page :is(.lx-resource-hero__media, .lx-resource-chapter__media) figcaption {
        color: #fff;
        background: rgba(4, 25, 37, .94);
    }
}
