:root {
    --elv2-navy: #12345b;
    --elv2-navy-deep: #0f2b51;
    --elv2-blue: #1f4c82;
    --elv2-orange: #ff8a2a;
    --elv2-orange-dark: #b84b00;
    --elv2-aqua: #e3f3f4;
    --elv2-aqua-soft: #f2f9f8;
    --elv2-cream: #fffaf2;
    --elv2-cream-deep: #f8f1e6;
    --elv2-ink: #17385f;
    --elv2-copy: #536b82;
    --elv2-line: #d9e5e8;
    --elv2-warm-line: #eadfce;
    --elv2-white: #ffffff;
    --elv2-shadow: 0 16px 38px rgba(18, 52, 91, 0.11);
}

body.easyesl-single-lesson-v2-active {
    overflow-x: hidden;
    background: var(--elv2-white);
}

body.easyesl-single-lesson-v2-active .site-content,
body.easyesl-single-lesson-v2-active .site-main {
    padding: 0;
}

body.easyesl-single-lesson-v2-active .site-content > .ast-container,
body.easyesl-single-lesson-v2-active.ast-separate-container .site-content > .ast-container {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

body.easyesl-single-lesson-v2-active #primary,
body.easyesl-single-lesson-v2-active .content-area,
body.easyesl-single-lesson-v2-active .site-content #primary {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

body.easyesl-single-lesson-v2-active #secondary,
body.easyesl-single-lesson-v2-active .comments-area,
body.easyesl-single-lesson-v2-active .post-navigation {
    display: none;
}

html.elv2-dialog-open {
    overflow: hidden;
}

.elv2-page,
.elv2-page * {
    box-sizing: border-box;
}

.elv2-page {
    width: 100%;
    margin: 0;
    color: var(--elv2-copy);
    background: var(--elv2-white);
}

.elv2-inner {
    width: min(1200px, calc(100% - 64px));
    margin-inline: auto;
}

.elv2-page h1,
.elv2-page h2,
.elv2-page h3,
.elv2-page p,
.elv2-page figure,
.elv2-page dl,
.elv2-page dd,
.elv2-page ol,
.elv2-page ul {
    margin-top: 0;
}

.elv2-page h1,
.elv2-page h2,
.elv2-page h3 {
    color: var(--elv2-navy);
    letter-spacing: -0.035em;
}

.elv2-eyebrow {
    color: var(--elv2-orange-dark);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.11em;
    line-height: 1.2;
    text-transform: uppercase;
}

.elv2-hero {
    position: relative;
    overflow: hidden;
    min-height: 0;
    padding: 24px 0 42px;
    background:
        radial-gradient(circle at 92% 19%, rgba(255, 255, 255, 0.48) 0 5px, transparent 6px),
        linear-gradient(115deg, #e6f5f5 0%, #dff1f2 62%, #e7f6f5 100%);
}

.elv2-hero::after {
    position: absolute;
    right: -105px;
    bottom: -170px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(31, 76, 130, 0.1);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.elv2-hero__inner {
    position: relative;
    z-index: 1;
}

.elv2-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    margin-bottom: 19px;
    color: #596f81;
    font-size: 0.75rem;
    line-height: 1.35;
}

.elv2-breadcrumb a {
    color: var(--elv2-blue);
    font-weight: 760;
    text-decoration: none;
}

.elv2-breadcrumb a:hover,
.elv2-breadcrumb a:focus-visible {
    color: var(--elv2-orange-dark);
}

.elv2-breadcrumb span[aria-current="page"] {
    max-width: 34ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.elv2-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(330px, 0.84fr);
    gap: clamp(38px, 6vw, 86px);
    align-items: center;
}

.elv2-hero__copy {
    max-width: 670px;
}

.elv2-hero__labels {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 13px;
}

.elv2-tier {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 23px;
    padding: 4px 10px;
    border: 1px solid #c8d5df;
    border-radius: 999px;
    color: var(--elv2-blue);
    background: rgba(255, 255, 255, 0.86);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    line-height: 1;
    text-transform: uppercase;
}

.elv2-tier--pro {
    border-color: #e6c88b;
    color: #8b5b05;
    background: #fff1c9;
}

.elv2-tier--ultra {
    border-color: var(--elv2-orange);
    color: #8a3600;
    background: #fff0e3;
}

.elv2-hero h1 {
    max-width: 15ch;
    margin-bottom: 15px;
    font-size: clamp(2.5rem, 3.7vw, 3.75rem);
    font-weight: 860;
    line-height: 0.98;
}

.elv2-hero__summary {
    max-width: 67ch;
    margin-bottom: 20px;
    color: #4f6e80;
    font-size: 0.98rem;
    line-height: 1.62;
}

.elv2-hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 0;
}

.elv2-hero__facts div {
    min-width: 112px;
    padding: 0 21px;
    border-left: 1px solid rgba(31, 76, 130, 0.17);
}

.elv2-hero__facts div:first-child {
    padding-left: 0;
    border-left: 0;
}

.elv2-hero__facts dt {
    margin-bottom: 2px;
    color: #596f81;
    font-size: 0.61rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.elv2-hero__facts dd {
    margin-bottom: 0;
    color: var(--elv2-ink);
    font-size: 0.79rem;
    font-weight: 760;
    line-height: 1.4;
}

.elv2-hero__media {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1.58 / 1;
    margin-bottom: 0;
    border: 1px solid rgba(31, 76, 130, 0.16);
    border-radius: 18px;
    background: #d2e8eb;
    box-shadow: 0 17px 35px rgba(18, 52, 91, 0.14);
}

.elv2-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.elv2-access-notice {
    margin-bottom: 22px;
}

.elv2-access-notice .easyesl-access-notice {
    margin: 0 !important;
}

.elv2-editorial,
.elv2-closing-content {
    background: var(--elv2-white);
}

.elv2-materials--primary {
    padding: 42px 0 45px;
    border-bottom: 1px solid var(--elv2-line);
}

.elv2-section-heading {
    display: flex;
    gap: 34px;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
}

.elv2-section-heading > div {
    max-width: 760px;
}

.elv2-section-heading h2,
.elv2-overview h2,
.elv2-glance h2 {
    margin-bottom: 8px;
    font-size: clamp(1.75rem, 2.55vw, 2.65rem);
    font-weight: 850;
    line-height: 1.02;
}

.elv2-section-heading p,
.elv2-section-heading > span {
    margin-bottom: 0;
    color: #5e7182;
    font-size: 0.85rem;
    line-height: 1.5;
}

.elv2-section-heading > span {
    flex: 0 0 auto;
    font-weight: 800;
}

.elv2-section-heading--compact {
    align-items: center;
    margin-bottom: 20px;
}

.elv2-section-heading--compact h2 {
    font-size: clamp(1.55rem, 2vw, 2.05rem);
}

.elv2-access-summary {
    display: inline-flex;
    min-height: 29px;
    align-items: center;
    padding: 6px 12px;
    border: 1px solid #e4c494;
    border-radius: 999px;
    color: #82551a !important;
    background: #fff7e8;
    font-size: 0.68rem !important;
    font-weight: 850 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.elv2-materials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.elv2-materials-grid--count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.elv2-resource {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    width: 100%;
    min-height: 84px;
    margin: 0;
    padding: 15px 16px;
    border: 1px solid #cfdee2;
    border-radius: 13px;
    color: var(--elv2-ink);
    background: var(--elv2-white);
    box-shadow: 0 7px 18px rgba(18, 52, 91, 0.06);
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    appearance: none;
    transition: border-color 190ms ease, box-shadow 190ms ease, transform 190ms ease, background-color 190ms ease;
}

.elv2-resource.is-locked {
    border-color: #dfd4c4;
    background: #fffdf9;
}

.elv2-resource__icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #d96b17;
    background: #fff1e5;
}

.elv2-resource--teacher .elv2-resource__icon {
    color: #28766d;
    background: #e9f7f4;
}

.elv2-resource--elesson .elv2-resource__icon {
    color: var(--elv2-blue);
    background: #e9f0f9;
}

.elv2-resource__icon svg,
.elv2-resource__status svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.elv2-resource__copy {
    display: block;
    min-width: 0;
}

.elv2-resource__copy strong,
.elv2-resource__copy span {
    display: block;
}

.elv2-resource__copy strong {
    margin-bottom: 2px;
    color: var(--elv2-navy);
    font-size: 0.8rem;
    font-weight: 830;
    line-height: 1.3;
}

.elv2-resource__copy span {
    color: #5e7182;
    font-size: 0.66rem;
    line-height: 1.35;
}

.elv2-resource__arrow {
    color: var(--elv2-orange-dark);
    font-size: 1rem;
    font-weight: 850;
}

.elv2-resource__status {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    color: #79562c;
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.elv2-resource__status svg {
    width: 15px;
    height: 15px;
}

.elv2-resource:focus-visible,
.elv2-library-link:focus-visible,
.elv2-related-card > a:focus-visible,
.elv2-adjacent a:focus-visible,
.elv2-breadcrumb a:focus-visible,
.elv2-button:focus-visible,
.elv2-access-dialog__close:focus-visible,
.elv2-access-dialog__compare:focus-visible {
    outline: 3px solid rgba(255, 138, 42, 0.5);
    outline-offset: 3px;
}

.elv2-noscript-access {
    margin: 16px 0 0;
    color: var(--elv2-copy);
    font-size: 0.8rem;
}

.elv2-noscript-access a {
    color: var(--elv2-blue);
    font-weight: 800;
}

.elv2-overview {
    padding: 56px 0 52px;
}

.elv2-overview__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
    gap: clamp(38px, 5vw, 70px);
    align-items: start;
}

.elv2-overview__grid--no-video {
    grid-template-columns: minmax(0, 790px);
}

.elv2-video {
    position: sticky;
    top: 26px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid #d7e1e4;
    border-radius: 15px;
    background: var(--elv2-navy-deep);
    box-shadow: var(--elv2-shadow);
}

.elv2-video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.elv2-video__fallback {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: var(--elv2-white);
    font-weight: 800;
    text-decoration: none;
}

.elv2-overview__copy h2 {
    margin-bottom: 20px;
}

.elv2-overview__copy p {
    margin-bottom: 1em;
    color: #455f76;
    font-size: 0.91rem;
    line-height: 1.72;
}

.elv2-overview__copy p:last-child {
    margin-bottom: 0;
}

.elv2-glance {
    padding: 0 0 56px;
}

.elv2-glance h2 {
    margin-bottom: 20px;
    font-size: clamp(1.55rem, 2vw, 2.05rem);
}

.elv2-glance__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 0;
    border-top: 1px solid var(--elv2-line);
    border-bottom: 1px solid var(--elv2-line);
}

.elv2-glance__grid > div {
    min-height: 102px;
    padding: 20px 24px 18px 0;
}

.elv2-glance__grid > div:not(:nth-child(3n + 1)) {
    padding-left: 24px;
    border-left: 1px solid var(--elv2-line);
}

.elv2-glance__grid > div:nth-child(n + 4) {
    border-top: 1px solid var(--elv2-line);
}

.elv2-glance__grid dt {
    margin-bottom: 8px;
    color: #5e7182;
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.elv2-glance__grid dd {
    margin-bottom: 0;
    color: var(--elv2-ink);
    font-size: 0.79rem;
    font-weight: 760;
    line-height: 1.48;
}

.elv2-structure {
    padding: 56px 0 60px;
    border-top: 1px solid var(--elv2-warm-line);
    border-bottom: 1px solid var(--elv2-warm-line);
    background: var(--elv2-cream);
}

.elv2-flow__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 36px;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--elv2-warm-line);
    list-style: none;
}

.elv2-flow__list li {
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr);
    gap: 15px;
    min-height: 112px;
    align-items: start;
    padding: 20px 0;
    border-bottom: 1px solid var(--elv2-warm-line);
}

.elv2-flow__number {
    color: var(--elv2-orange-dark);
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.elv2-flow__list h3 {
    margin-bottom: 5px;
    font-size: 0.87rem;
    font-weight: 830;
    line-height: 1.35;
    letter-spacing: -0.015em;
}

.elv2-flow__list p {
    margin-bottom: 0;
    color: #5d7182;
    font-size: 0.73rem;
    line-height: 1.48;
}

.elv2-outcomes {
    padding: 57px 0 52px;
}

.elv2-outcomes__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 42px;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--elv2-line);
    list-style: none;
}

.elv2-outcomes__grid li {
    display: grid;
    grid-template-columns: 25px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
    padding: 16px 0;
    border-bottom: 1px solid var(--elv2-line);
}

.elv2-outcomes__grid li > span {
    display: inline-flex;
    width: 21px;
    height: 21px;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    border-radius: 50%;
    color: var(--elv2-orange-dark);
    background: #fff0e4;
    font-size: 0.68rem;
    font-weight: 900;
}

.elv2-outcomes__grid p {
    margin-bottom: 0;
    color: #435d73;
    font-size: 0.79rem;
    line-height: 1.56;
}

.elv2-materials-reprise {
    padding: 40px 0 52px;
    border-top: 1px solid var(--elv2-line);
}

.elv2-materials-grid--compact .elv2-resource {
    min-height: 72px;
    padding-block: 12px;
    box-shadow: none;
}

.elv2-library-link {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 8px;
    align-items: center;
    color: var(--elv2-blue);
    font-size: 0.75rem;
    font-weight: 820;
    text-decoration: none;
}

.elv2-library-link span {
    color: var(--elv2-orange-dark);
    transition: transform 180ms ease;
}

.elv2-related {
    padding: 55px 0 38px;
    border-top: 1px solid var(--elv2-warm-line);
    background: var(--elv2-cream-deep);
}

.elv2-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.elv2-related-card {
    min-width: 0;
    border: 1px solid #e2d8ca;
    border-radius: 14px;
    background: var(--elv2-white);
    box-shadow: 0 8px 22px rgba(18, 52, 91, 0.07);
    transition: transform 210ms ease, border-color 210ms ease, box-shadow 210ms ease;
}

.elv2-related-card > a {
    display: flex;
    height: 100%;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.elv2-related-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 13px 13px 0 0;
    background: #e9f1f2;
}

.elv2-related-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 230ms ease;
}

.elv2-related-card__media .elv2-tier {
    position: absolute;
    top: 10px;
    left: 10px;
}

.elv2-related-card__duration {
    position: absolute;
    right: 10px;
    bottom: 9px;
    padding: 5px 8px;
    border-radius: 999px;
    color: var(--elv2-navy);
    background: rgba(255, 255, 255, 0.92);
    font-size: 0.58rem;
    font-weight: 850;
}

.elv2-related-card__body {
    display: flex;
    min-height: 190px;
    flex: 1;
    flex-direction: column;
    padding: 17px 18px 18px;
}

.elv2-related-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 9px;
    color: #596b7b;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.elv2-related-card__meta span + span::before {
    margin-right: 7px;
    color: var(--elv2-orange);
    content: "•";
}

.elv2-related-card h3 {
    margin-bottom: 8px;
    font-size: 1.02rem;
    font-weight: 850;
    line-height: 1.2;
}

.elv2-related-card p {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 16px;
    color: #607387;
    font-size: 0.7rem;
    line-height: 1.48;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.elv2-related-card__action {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    margin-top: auto;
    color: var(--elv2-blue);
    font-size: 0.7rem;
    font-weight: 850;
}

.elv2-adjacent {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #ded3c5;
}

.elv2-adjacent a {
    display: block;
    color: var(--elv2-ink);
    text-decoration: none;
}

.elv2-adjacent a:only-child.elv2-adjacent__next {
    grid-column: 2;
}

.elv2-adjacent__next {
    text-align: right;
}

.elv2-adjacent span {
    display: block;
    margin-bottom: 4px;
    color: #596b7b;
    font-size: 0.6rem;
    font-weight: 820;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.elv2-adjacent strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 820;
    line-height: 1.4;
}

.elv2-access-dialog {
    position: fixed;
    inset: 0;
    width: min(560px, calc(100% - 34px));
    max-width: 560px;
    max-height: calc(100vh - 34px);
    margin: auto;
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: 20px;
    color: var(--elv2-copy);
    background: transparent;
    box-shadow: 0 30px 90px rgba(8, 28, 53, 0.28);
}

.elv2-access-dialog:not([open]) {
    display: none;
}

.elv2-access-dialog::backdrop {
    background: rgba(9, 29, 52, 0.62);
    backdrop-filter: blur(3px);
}

.elv2-access-dialog__panel {
    position: relative;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    background: var(--elv2-white);
}

.elv2-access-dialog__close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 1px solid var(--elv2-line);
    border-radius: 50%;
    color: var(--elv2-navy);
    background: var(--elv2-white);
    font: inherit;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.elv2-access-dialog__icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 13px;
    color: var(--elv2-orange-dark);
    background: #fff0e4;
}

.elv2-access-dialog__icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.elv2-access-dialog h2 {
    max-width: 13ch;
    margin: 8px 0 13px;
    font-size: clamp(1.8rem, 4vw, 2.35rem);
    font-weight: 860;
    line-height: 1.05;
}

.elv2-access-dialog p:not(.elv2-eyebrow) {
    margin-bottom: 0;
    color: #526b80;
    font-size: 0.88rem;
    line-height: 1.64;
}

.elv2-access-dialog__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.elv2-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 850;
    text-decoration: none;
}

.elv2-button--primary {
    color: var(--elv2-white);
    background: var(--elv2-navy);
}

.elv2-button--primary:hover {
    color: var(--elv2-white);
    background: var(--elv2-blue);
}

.elv2-button--patreon {
    border-color: var(--elv2-orange);
    color: var(--elv2-navy-deep);
    background: var(--elv2-orange);
    box-shadow: 0 10px 22px rgba(255, 138, 42, 0.22);
}

.elv2-button--patreon:hover {
    border-color: #ff9d4d;
    color: var(--elv2-navy-deep);
    background: #ff9d4d;
}

.elv2-button--secondary {
    border-color: #f0a15d;
    color: #9a4506;
    background: #fff8f1;
}

.elv2-button--secondary:hover {
    color: #783302;
    background: #fff0df;
}

.elv2-access-dialog__compare {
    display: inline-block;
    margin-top: 17px;
    color: var(--elv2-blue);
    font-size: 0.73rem;
    font-weight: 800;
}

/* Phase 4C.2: denser editorial sequence and resource identity. */
.elv2-hero {
    padding: 24px 0 43px;
}

.elv2-breadcrumb {
    margin-bottom: 14px;
}

.elv2-hero__grid {
    gap: clamp(34px, 5vw, 72px);
}

.elv2-hero__labels {
    margin-bottom: 10px;
}

.elv2-hero h1 {
    margin-bottom: 12px;
    font-size: clamp(2.4rem, 3.55vw, 3.55rem);
}

.elv2-hero__summary {
    margin-bottom: 16px;
    font-size: 0.91rem;
    line-height: 1.5;
}

.elv2-hero__facts div {
    padding-inline: 18px;
}

.elv2-hero__facts dd {
    font-size: 0.76rem;
}

.elv2-hero__media {
    aspect-ratio: 1.56 / 1;
    border-radius: 16px;
}

.elv2-resource {
    --elv2-resource-accent: #a94200;
    --elv2-resource-border: #efc39f;
    --elv2-resource-bg: #fff7ef;
    border-color: var(--elv2-resource-border);
    border-left: 4px solid var(--elv2-resource-accent);
    background: var(--elv2-resource-bg);
}

.elv2-resource--teacher {
    --elv2-resource-accent: #176f68;
    --elv2-resource-border: #aed8d2;
    --elv2-resource-bg: #f0faf8;
}

.elv2-resource--elesson {
    --elv2-resource-accent: #1f4c82;
    --elv2-resource-border: #b9cce4;
    --elv2-resource-bg: #f1f6fc;
}

.elv2-resource--worksheet {
    --elv2-resource-accent: #67438d;
    --elv2-resource-border: #d4c2e5;
    --elv2-resource-bg: #f8f3fc;
}

.elv2-resource.is-locked {
    border-color: var(--elv2-resource-border);
    border-left-color: var(--elv2-resource-accent);
    background: var(--elv2-resource-bg);
}

.elv2-resource__icon,
.elv2-resource--teacher .elv2-resource__icon,
.elv2-resource--elesson .elv2-resource__icon {
    color: var(--elv2-resource-accent);
    background: rgba(255, 255, 255, 0.82);
}

.elv2-resource__arrow,
.elv2-resource__status,
.elv2-resource.is-locked .elv2-resource__status {
    color: var(--elv2-resource-accent);
}

.elv2-outcomes {
    padding: 42px 0 38px;
    border-top: 1px solid var(--elv2-line);
}

.elv2-outcomes .elv2-section-heading {
    margin-bottom: 18px;
}

.elv2-outcomes__grid li {
    padding: 13px 0;
}

.elv2-outcomes__grid p {
    font-size: 0.76rem;
    line-height: 1.48;
}

.elv2-planning {
    padding: 47px 0 51px;
    border-top: 1px solid var(--elv2-warm-line);
    border-bottom: 1px solid var(--elv2-warm-line);
    background: var(--elv2-cream);
}

.elv2-planning__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
    gap: clamp(40px, 5vw, 68px);
    align-items: start;
}

.elv2-section-heading--planning {
    align-items: flex-start;
    margin-bottom: 16px;
}

.elv2-section-heading--planning h2 {
    margin-bottom: 6px;
    font-size: clamp(1.55rem, 2vw, 2.05rem);
}

.elv2-glance,
.elv2-structure {
    padding: 0;
    border: 0;
    background: transparent;
}

.elv2-glance h2 {
    margin-bottom: 6px;
}

.elv2-glance__grid {
    display: block;
    border-top: 1px solid var(--elv2-warm-line);
    border-bottom: 0;
}

.elv2-glance__grid > div,
.elv2-glance__grid > div:not(:nth-child(3n + 1)),
.elv2-glance__grid > div:nth-child(n + 4) {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    align-items: start;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid var(--elv2-warm-line);
}

.elv2-glance__grid dt {
    margin: 1px 0 0;
    color: #6e6254;
    font-size: 0.59rem;
}

.elv2-glance__grid dd {
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.42;
}

.elv2-flow__list {
    gap: 0 24px;
}

.elv2-flow__list li {
    grid-template-columns: 29px minmax(0, 1fr);
    gap: 11px;
    min-height: 0;
    padding: 13px 0;
}

.elv2-flow__list h3 {
    margin-bottom: 3px;
    font-size: 0.8rem;
    line-height: 1.3;
}

.elv2-flow__list p {
    font-size: 0.69rem;
    line-height: 1.42;
}

.elv2-materials-reprise {
    border-top: 0;
}

@media (hover: hover) and (pointer: fine) {
    .elv2-resource:hover {
        border-color: var(--elv2-resource-accent);
        background: var(--elv2-resource-bg);
        box-shadow: 0 12px 24px rgba(18, 52, 91, 0.1);
        transform: translateY(-2px);
    }

    .elv2-resource.is-locked:hover .elv2-resource__status {
        color: var(--elv2-orange-dark);
    }

    .elv2-library-link:hover span {
        transform: translateX(3px);
    }

    .elv2-related-card:hover {
        border-color: #e9ae76;
        box-shadow: 0 15px 32px rgba(18, 52, 91, 0.13);
        transform: translateY(-5px);
    }

    .elv2-related-card:hover img {
        transform: scale(1.02);
    }

    .elv2-related-card:hover h3,
    .elv2-adjacent a:hover strong {
        color: var(--elv2-orange-dark);
    }
}

.elv2-related-card:focus-within {
    border-color: #e9ae76;
    box-shadow: 0 15px 32px rgba(18, 52, 91, 0.13);
    transform: translateY(-4px);
}

@media (prefers-reduced-motion: no-preference) {
    html.elv2-motion-ready .elv2-reveal.elv2-motion-target {
        opacity: 0;
        transform: translateY(14px);
        transition: opacity 520ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    html.elv2-motion-ready .elv2-reveal.elv2-motion-target.is-visible {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1120px) {
    .elv2-inner {
        width: min(1200px, calc(100% - 48px));
    }

    .elv2-hero__grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.95fr);
        gap: 44px;
    }

    .elv2-overview__grid {
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .elv2-hero {
        padding-bottom: 40px;
    }

    .elv2-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
        gap: 30px;
    }

    .elv2-hero h1 {
        font-size: clamp(2.6rem, 6vw, 3.5rem);
    }

    .elv2-hero__summary {
        font-size: 0.9rem;
    }

    .elv2-hero__facts div {
        min-width: 100px;
        padding-inline: 14px;
    }

    .elv2-materials-grid {
        grid-template-columns: 1fr;
    }

    .elv2-overview__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .elv2-video {
        position: relative;
        top: auto;
        max-width: 720px;
    }

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

@media (max-width: 700px) {
    .elv2-inner {
        width: min(1200px, calc(100% - 36px));
    }

    .elv2-hero {
        padding: 19px 0 34px;
    }

    .elv2-breadcrumb {
        margin-bottom: 17px;
        font-size: 0.66rem;
    }

    .elv2-breadcrumb span[aria-current="page"] {
        display: none;
    }

    .elv2-hero__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .elv2-hero__copy {
        max-width: none;
    }

    .elv2-hero h1 {
        max-width: 15ch;
        font-size: clamp(2.25rem, 10vw, 2.85rem);
    }

    .elv2-hero__summary {
        margin-bottom: 17px;
        font-size: 0.84rem;
        line-height: 1.55;
    }

    .elv2-hero__facts {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-top: 1px solid rgba(31, 76, 130, 0.15);
    }

    .elv2-hero__facts div,
    .elv2-hero__facts div:first-child {
        min-width: 0;
        padding: 11px 12px 0 0;
        border: 0;
    }

    .elv2-hero__facts div:nth-child(2n) {
        padding-left: 12px;
        border-left: 1px solid rgba(31, 76, 130, 0.15);
    }

    .elv2-hero__facts div:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .elv2-hero__media {
        max-width: 560px;
        aspect-ratio: 1.72 / 1;
        border-radius: 14px;
    }

    .elv2-materials--primary {
        padding: 33px 0 36px;
    }

    .elv2-section-heading,
    .elv2-section-heading--compact {
        display: block;
        margin-bottom: 20px;
    }

    .elv2-section-heading > span,
    .elv2-access-summary,
    .elv2-section-heading .elv2-library-link {
        margin-top: 10px;
    }

    .elv2-resource {
        min-height: 78px;
        padding: 13px;
    }

    .elv2-resource__status span {
        position: absolute;
        overflow: hidden;
        width: 1px;
        height: 1px;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .elv2-overview {
        padding: 40px 0 38px;
    }

    .elv2-overview__grid {
        gap: 25px;
    }

    .elv2-overview__copy h2 {
        margin-bottom: 14px;
    }

    .elv2-overview__copy p {
        font-size: 0.84rem;
        line-height: 1.65;
    }

    .elv2-glance {
        padding-bottom: 40px;
    }

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

    .elv2-glance__grid > div,
    .elv2-glance__grid > div:not(:nth-child(3n + 1)) {
        min-height: 94px;
        padding: 16px 12px 15px 0;
        border-left: 0;
    }

    .elv2-glance__grid > div:nth-child(2n) {
        padding-left: 16px;
        border-left: 1px solid var(--elv2-line);
    }

    .elv2-glance__grid > div:nth-child(n + 3) {
        border-top: 1px solid var(--elv2-line);
    }

    .elv2-structure {
        padding: 41px 0 44px;
    }

    .elv2-flow__list {
        grid-template-columns: 1fr;
    }

    .elv2-flow__list li {
        min-height: 0;
        padding: 17px 0;
    }

    .elv2-outcomes {
        padding: 42px 0 38px;
    }

    .elv2-outcomes__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .elv2-materials-reprise {
        padding: 32px 0 40px;
    }

    .elv2-related {
        padding: 42px 0 30px;
    }

    .elv2-related__grid {
        grid-template-columns: 1fr;
    }

    .elv2-related-card__body {
        min-height: 175px;
    }

    .elv2-adjacent {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .elv2-adjacent a:only-child.elv2-adjacent__next,
    .elv2-adjacent__next {
        grid-column: auto;
        text-align: left;
    }

    .elv2-access-dialog__panel {
        padding: 28px 22px 24px;
    }

    .elv2-access-dialog__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .elv2-button {
        width: 100%;
    }
}

@media (max-width: 400px) {
    .elv2-inner {
        width: min(1200px, calc(100% - 28px));
    }

    .elv2-hero h1 {
        font-size: 2.2rem;
    }

    .elv2-resource {
        grid-template-columns: 36px minmax(0, 1fr) auto;
        gap: 10px;
    }

    .elv2-resource__icon {
        width: 36px;
        height: 36px;
    }

    .elv2-glance__grid {
        grid-template-columns: 1fr;
    }

    .elv2-glance__grid > div,
    .elv2-glance__grid > div:not(:nth-child(3n + 1)),
    .elv2-glance__grid > div:nth-child(2n) {
        min-height: 0;
        padding: 14px 0;
        border-left: 0;
        border-top: 1px solid var(--elv2-line);
    }

    .elv2-glance__grid > div:first-child {
        border-top: 0;
    }
}

@media (max-width: 1120px) {
    .elv2-planning__grid {
        gap: 36px;
    }
}

@media (max-width: 900px) {
    .elv2-hero {
        padding: 18px 0 31px;
    }

    .elv2-hero__media {
        aspect-ratio: 1.7 / 1;
    }

    .elv2-hero h1 {
        font-size: clamp(2.35rem, 5.5vw, 3.2rem);
    }

    .elv2-planning__grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }
}

@media (max-width: 700px) {
    .elv2-hero {
        padding: 16px 0 27px;
    }

    .elv2-breadcrumb {
        margin-bottom: 13px;
    }

    .elv2-hero__grid {
        gap: 21px;
    }

    .elv2-hero h1 {
        margin-bottom: 10px;
        font-size: clamp(2.08rem, 9.2vw, 2.58rem);
    }

    .elv2-hero__summary {
        margin-bottom: 14px;
        font-size: 0.8rem;
        line-height: 1.48;
    }

    .elv2-hero__facts div,
    .elv2-hero__facts div:first-child {
        padding-top: 9px;
    }

    .elv2-hero__media {
        aspect-ratio: 1.76 / 1;
    }

    .elv2-outcomes {
        padding: 34px 0 31px;
    }

    .elv2-outcomes__grid li {
        padding: 11px 0;
    }

    .elv2-planning {
        padding: 36px 0 39px;
    }

    .elv2-planning__grid {
        gap: 34px;
    }

    .elv2-glance,
    .elv2-structure {
        padding: 0;
    }

    .elv2-glance__grid > div,
    .elv2-glance__grid > div:not(:nth-child(3n + 1)),
    .elv2-glance__grid > div:nth-child(2n),
    .elv2-glance__grid > div:nth-child(n + 3) {
        grid-template-columns: 84px minmax(0, 1fr);
        min-height: 0;
        padding: 11px 0;
        border: 0;
        border-bottom: 1px solid var(--elv2-warm-line);
    }

    .elv2-flow__list {
        grid-template-columns: 1fr;
    }

    .elv2-flow__list li {
        padding: 12px 0;
    }

    .elv2-materials-reprise {
        padding-top: 30px;
    }
}

@media (max-width: 400px) {
    .elv2-hero h1 {
        font-size: 2.05rem;
    }

    .elv2-glance__grid > div,
    .elv2-glance__grid > div:not(:nth-child(3n + 1)),
    .elv2-glance__grid > div:nth-child(2n) {
        grid-template-columns: 78px minmax(0, 1fr);
        padding: 10px 0;
        border-top: 0;
        border-bottom: 1px solid var(--elv2-warm-line);
    }
}

@media (prefers-reduced-motion: reduce) {
    .elv2-page *,
    .elv2-page *::before,
    .elv2-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .elv2-reveal,
    .elv2-motion-target,
    .elv2-motion-target.is-visible,
    .elv2-related-card:focus-within {
        opacity: 1 !important;
        transform: none !important;
    }
}
