/* Course detail, learning and WooCommerce surfaces. */
#site-main {
    --dl-course-shadow: 0 12px 30px rgb(20 34 56 / 8%);
    --dl-course-inset: clamp(1rem, 2.5vw, 2rem);
    --dl-course-dot-field: radial-gradient(circle, rgb(65 100 147 / 15%) 0 1px, transparent 1.35px);
    --dl-course-daylight: linear-gradient(119deg, #f9fafb 0%, #f0f4f8 16%, #f5f6f6 29%, #fbfaf6 41%, #fdfbf5 52%, #fcfbf7 61%, #f6f6f4 72%, #eef3f8 87%, #f6f8fa 100%);
    --dl-course-wash: linear-gradient(120deg, #dbeafed9, #ede9febf 45%, #fef3c7cc);
    --dl-course-wash-reverse: linear-gradient(300deg, #dbeafed9, #ede9febf 50%, #fef3c7d9);
    --dl-purchase-navy: radial-gradient(ellipse at 100% 0, rgb(37 99 235 / 15%), transparent 55%), #142238;
    --dl-purchase-blue: #0051d5;
    --dl-purchase-text: #f3f7ff;
    --dl-purchase-link: #c2dcff;
}

/* Exam Prep products and the standalone exam prep page. */
@font-face {
    font-family: "Daylight Course Icons";
    src: url("../fonts/font-awesome/fontawesome-webfont.woff2") format("woff2");
    font-display: block;
}

body.single-product #site-main,
body #site-main:has(> .tlc-exam-prep) {
    padding-block: 0;
}

.tlc-exam-prep {
    --exam-blue: var(--dl-purchase-blue);
    --exam-blue-dark: #174eb9;
    --exam-navy: #142238;
    --exam-tint: #f2f3ff;
    --exam-border: #e2e8f0;
    --exam-gutter: clamp(1rem, 5vw, 2rem);
    color: var(--exam-navy);
    font: 400 1rem/1.6 var(--dl-font);
    background-color: #fff;
}

.tlc-exam-prep :is(p, li, a, dt, dd) {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}
.tlc-exam-prep .tlc-exam-prep__fine-print { font-size: .875rem; }

.tlc-exam-prep > .container,
.tlc-exam-prep__breadcrumb-bar > .container,
.tlc-exam-prep > section > .container {
    width: 100%;
    max-width: 80rem;
    padding-inline: var(--exam-gutter);
}

.tlc-exam-prep__breadcrumb-bar {
    background-color: var(--exam-tint);
}

.tlc-exam-prep .tlc-exam-prep__breadcrumbs {
    padding-block: .875rem;
    color: var(--dl-muted);
    font-size: .75rem;
    font-weight: 650;
    line-height: 1.4;
}

.tlc-exam-prep__breadcrumbs [aria-current] {
    color: var(--exam-navy);
    font-weight: 750;
}

.tlc-exam-prep .tlc-exam-prep__section {
    border-color: var(--exam-border);
    background-color: #fff;
    padding-block: 2.5rem;
}

.tlc-exam-prep .tlc-exam-prep__section--pastel { background-image: var(--dl-course-wash); }
.tlc-exam-prep .tlc-exam-prep__section--pastel-reverse { background-image: var(--dl-course-wash-reverse); }

.tlc-exam-prep .tlc-exam-prep__section--hero {
    position: relative;
    isolation: isolate;
    background: radial-gradient(ellipse at 0 12%, rgb(255 255 255 / 72%), transparent 67%), var(--dl-course-daylight);
}

.tlc-exam-prep__split > *,
.tlc-exam-prep__grid > * {
    min-width: 0;
}

.tlc-exam-prep .tlc-exam-prep__split {
    gap: clamp(1.5rem, 3.2vw, 2.5rem);
}

.tlc-exam-prep .tlc-exam-prep__section :is(h1, h2) {
    color: var(--exam-navy);
    font-weight: 800;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}

.tlc-exam-prep .tlc-exam-prep__hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, calc(20vw - 2rem), 2.875rem);
    line-height: 1.18;
}

.tlc-exam-prep__title-accent {
    color: #1754ce;
}

.tlc-exam-prep__title-accent--last { display: table; max-width: 100%; }

@supports (background-clip: text) {
    .tlc-exam-prep__title-accent {
        background: linear-gradient(90deg, #2563eb, #1d61e0, #0080c7) text;
        -webkit-text-fill-color: transparent;
    }
}

.tlc-exam-prep .tlc-exam-prep__section > .container :is(.tlc-exam-prep__intro h2, .tlc-exam-prep__section-copy h2) {
    margin-block-end: .5rem;
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    line-height: 1.18;
    text-wrap: balance;
}

.tlc-exam-prep .tlc-exam-prep__hero .tlc-exam-prep__lead {
    max-width: 42rem;
    margin-block-end: 1rem;
    color: #3f4759;
    font-size: 1.125rem;
    line-height: 1.65;
}

.tlc-exam-prep .tlc-exam-prep__hero .tlc-exam-prep__features {
    margin-block: 1rem;
    border-inline-start: 2px solid rgb(0 81 213 / 40%);
    padding-inline-start: 1.75rem;
    font-size: .9375rem;
    font-weight: 550;
}

.tlc-exam-prep .tlc-t11-hero-benefits { margin-block: 1rem; }
.tlc-exam-prep .tlc-t11-hero-benefits h2 {
    margin-block-end: .35rem;
    font-size: 1.125rem;
}
.tlc-exam-prep .tlc-t11-hero-benefits .tlc-exam-prep__features { margin-block: 0; }

.tlc-exam-prep .tlc-exam-prep__hero :is(.tlc-exam-prep__callout, .tlc-t11-hero-codebooks) {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    border: 1px solid var(--exam-border);
    border-radius: .5rem;
    background: rgb(241 245 249 / 85%);
    color: #475569;
    padding: .625rem .875rem;
    font-size: .875rem;
}

.tlc-exam-prep__hero-note > p { margin-block-end: .4rem; }
.tlc-exam-prep__hero-note > :last-child { margin-block-end: 0; }
.tlc-exam-prep__hero :is(.tlc-exam-prep__callout, .tlc-t11-hero-codebooks) > .tlc-exam-prep__icon { margin-block-start: .25rem; }

.tlc-exam-prep__hero-support {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem 1rem;
    margin: 0;
    padding: .75rem 1rem;
    border-radius: .5rem;
    background: var(--exam-tint);
    color: #334155;
    font-size: .875rem;
    line-height: 1.5;
}

.tlc-exam-prep__hero-support > span {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .15rem .4rem;
    min-width: 0;
}

.tlc-exam-prep__hero-support a { font-weight: 700; }
.tlc-exam-prep__hero-support a:has(img, svg) { display: inline-block; max-width: 100%; }
.tlc-exam-prep__accreditation img { max-width: 100%; height: 1.75rem; width: auto; margin-inline-end: .35rem; }
.tlc-exam-prep__hero-support .tlc-exam-prep__accreditation {
    padding: .125rem .4rem;
    border-radius: .3rem;
    background: #eaedff;
    font-size: .8125rem;
}

.tlc-exam-prep__eyebrow {
    margin-block-end: .35rem;
    color: var(--exam-blue-dark);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .055em;
}

.tlc-exam-prep .tlc-exam-prep__intro {
    max-width: 48rem;
    margin: 0 0 2rem;
    text-align: start;
}

.tlc-exam-prep__section-copy > :last-child { margin-block-end: 0; }
.tlc-exam-prep__section-copy > p:not(.tlc-exam-prep__eyebrow) { color: #3f4759; }

.tlc-exam-prep .tlc-exam-prep__card {
    border: 1px solid var(--exam-border);
    border-radius: .5rem;
    background: #fff;
    box-shadow: 0 1px 3px rgb(20 34 56 / 10%);
    padding: clamp(1rem, 2vw, 1.5rem);
}
.tlc-exam-prep__card h3 { font-size: 1.125rem; font-weight: 800; }
.tlc-exam-prep__card p { font-size: .875rem; }
.tlc-exam-prep .tlc-exam-prep__curriculum {
    grid-template-columns: repeat(auto-fit, minmax(min(22rem, 100%), 1fr));
    gap: 1.5rem;
}
.tlc-exam-prep__card-heading {
    display: flex;
    align-items: center;
    gap: .875rem;
    margin-block-end: .75rem;
}
.tlc-exam-prep__card-heading h3 { margin: 0; overflow-wrap: anywhere; }
.tlc-exam-prep__resource .tlc-exam-prep__card-heading h3 { font-size: .9375rem; }

.tlc-exam-prep .tlc-exam-prep__callout {
    border: 1px solid #cbdcf4;
    border-inline-start: 3px solid #6a9eea;
    border-radius: .45rem;
    background: #f6f9ff;
}

.tlc-exam-prep__practice-options { margin-block-start: 1rem; }
.tlc-exam-prep .tlc-exam-prep__practice-options { padding: 1rem; }
.tlc-exam-prep__practice-action { margin-block-end: .65rem; }
.tlc-exam-prep__practice-options .tlc-exam-prep__button { width: 100%; }
.tlc-exam-prep__practice-options label {
    color: #334155;
    font-size: .75rem;
    letter-spacing: .035em;
    text-transform: uppercase;
}
.tlc-exam-prep__practice-options select { background-color: #f2f3ff; }
.tlc-exam-prep .tlc-t11-preview-quiz-placeholder:disabled { cursor: not-allowed; opacity: .6; }

.tlc-exam-prep .tlc-exam-prep__sample-heading {
    padding-block-end: .75rem;
    border-bottom: 1px solid var(--exam-border);
}

.tlc-exam-prep__sample-heading h3,
.tlc-exam-prep__sample-heading > span {
    align-self: center;
    padding: .25rem .5rem;
    border-radius: .3rem;
    background: #eff6ff;
    color: var(--exam-blue-dark);
    font-size: .75rem;
    letter-spacing: .025em;
    text-transform: uppercase;
}
.tlc-exam-prep__sample-heading > span { background: #f1f5f9; color: #475569; }
.tlc-exam-prep__question legend { font-weight: 750; }
.tlc-exam-prep .tlc-exam-prep__question label { font-size: .875rem; }

.tlc-exam-prep .tlc-exam-prep__disclosure {
    border-radius: .45rem;
    background: #fff;
}
.tlc-exam-prep .tlc-exam-prep__disclosure summary {
    min-height: 44px;
    padding: .75rem 1rem;
    border-radius: inherit;
    background: #fff;
    color: var(--exam-navy);
}
.tlc-exam-prep .tlc-exam-prep__disclosure[open] > summary,
.tlc-exam-prep .tlc-exam-prep__disclosure > summary:hover {
    background: #f1f5fb;
}
.tlc-exam-prep .tlc-exam-prep__disclosure[open] > summary { border-bottom: 1px solid var(--exam-border); }
.tlc-exam-prep .tlc-exam-prep__sample > .tlc-exam-prep__disclosure > summary {
    background: var(--exam-navy);
    color: #fff;
}
.tlc-exam-prep .tlc-exam-prep__sample > .tlc-exam-prep__disclosure > summary:hover { background: #263a56; }

.tlc-exam-prep :is(.tlc-exam-prep__question label, select, .tlc-exam-prep__button) { border-radius: .45rem; }
.tlc-exam-prep .tlc-exam-prep__button { gap: .45rem; }
.tlc-exam-prep .tlc-exam-prep__button:focus-visible { outline-offset: 2px; }

.tlc-exam-prep .tlc-exam-prep__support img {
    width: 100%;
    max-width: none;
    border-radius: .6rem;
    box-shadow: 0 8px 24px rgb(20 34 56 / 12%);
}
.tlc-exam-prep .tlc-exam-prep__support .tlc-exam-prep__section-copy h2 { font-size: 1.875rem; }

.tlc-exam-prep__method-illustration {
    display: block;
    width: 100%;
    height: auto;
    max-height: 15.3125rem;
    object-fit: contain;
}

.tlc-exam-prep__support-links a { font-size: .875rem; font-weight: 750; }
.tlc-exam-prep__quote {
    border-radius: .45rem;
    background-color: #f8fafc;
    padding: 1rem;
    color: #475569;
    font-size: .875rem;
}
.tlc-exam-prep .tlc-exam-prep__quote blockquote { font-size: inherit; }

.tlc-exam-prep .tlc-exam-prep__overview {
    background: #f2f3ff;
    padding: clamp(1rem, 3.2vw, 2.5rem);
}
.tlc-exam-prep .tlc-exam-prep__facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
    gap: 1rem;
}
.tlc-exam-prep__facts > div {
    border: 1px solid var(--exam-border);
    border-radius: .5rem;
    background-color: #fff;
    padding: .75rem 1rem;
}
.tlc-exam-prep__facts dd { margin: .25rem 0 0; color: #475569; }
.tlc-exam-prep__weights dd { margin: 0; color: var(--exam-blue-dark); }
.tlc-exam-prep__weights > div:has(progress) {
    position: relative;
    border: 0;
    padding-block: .55rem 1.05rem;
}
.tlc-exam-prep__weights progress {
    position: absolute;
    inset-inline-start: 0;
    inset-block-end: .3rem;
    width: 100%;
    height: .375rem;
    appearance: none;
    border: 0;
    border-radius: 2rem;
    background: #dbe6f8;
    color: var(--exam-blue);
}
.tlc-exam-prep__weights progress::-webkit-progress-bar { background: #dbe6f8; border-radius: 2rem; }
.tlc-exam-prep__weights progress::-webkit-progress-value { background: var(--exam-blue); border-radius: 2rem; }
.tlc-exam-prep__weights progress::-moz-progress-bar { background: var(--exam-blue); border-radius: 2rem; }

.tlc-exam-prep .tlc-exam-prep__resource a,
.tlc-exam-prep .tlc-exam-prep__reference a {
    font-size: .875rem;
    font-weight: 750;
}

.tlc-exam-prep .tlc-exam-prep__refund {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border-color: #dbeafe;
    background: var(--exam-tint);
    padding: clamp(1.25rem, 3.2vw, 2.5rem);
}
.tlc-exam-prep .tlc-exam-prep__refund h2 { font-size: 1.5rem; }
.tlc-exam-prep__refund > div { flex: 1 1 25rem; max-width: 42rem; }
.tlc-exam-prep .tlc-exam-prep__refund > div > :last-child { margin-block-end: 0; }
.tlc-exam-prep .tlc-exam-prep__button--light { border: 1px solid #bed6fb; background: #fff; color: var(--exam-blue-dark); }
.tlc-exam-prep .tlc-exam-prep__button--light:hover { background: #e4edff; color: var(--exam-navy); }

.tlc-exam-prep .tlc-exam-prep__section--faq > .container,
.tlc-exam-prep .tlc-exam-prep__section--final > .container { max-width: 55rem; }
.tlc-exam-prep .tlc-exam-prep__section--faq .tlc-exam-prep__intro { max-width: none; text-align: center; }
.tlc-exam-prep .tlc-exam-prep__faq { max-width: none; }

.tlc-exam-prep__icon {
    display: inline-block;
    flex: none;
    min-width: 1em;
    color: var(--exam-blue-dark);
    font: 400 1rem/1 "Daylight Course Icons";
    text-align: center;
}

.tlc-exam-prep__icon--info::before { content: "\f05a"; }
.tlc-exam-prep__icon--headphones::before { content: "\f025"; }
.tlc-exam-prep__icon--check::before { content: "\f058"; }
.tlc-exam-prep__icon--book::before { content: "\f02d"; }
.tlc-exam-prep__icon--bolt::before { content: "\f0e7"; }
.tlc-exam-prep__icon--question::before { content: "\f059"; }
.tlc-exam-prep__icon--clock::before { content: "\f017"; }
.tlc-exam-prep__icon--email::before { content: "\f0e0"; }
.tlc-exam-prep__icon--phone::before { content: "\f095"; }
.tlc-exam-prep__icon--building::before { content: "\f19c"; }
.tlc-exam-prep__icon--file::before { content: "\f0f6"; }
.tlc-exam-prep__icon--calendar::before { content: "\f073"; }
.tlc-exam-prep__icon--id::before { content: "\f2c3"; }
.tlc-exam-prep__icon--arrow::before { content: "\f061"; }
.tlc-exam-prep .tlc-exam-prep__button .tlc-exam-prep__icon { color: inherit; }

.tlc-exam-prep__card-heading .tlc-exam-prep__icon {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: .4rem;
    background-color: #eff6ff;
    font-size: 1.2rem;
}

.tlc-exam-prep .tlc-exam-prep__section--final {
    border-top-color: var(--exam-navy);
    background-color: var(--exam-navy);
    color: #fff;
}
.tlc-exam-prep .tlc-exam-prep__section--final h2 {
    margin-block-end: 2rem;
    color: #fff;
    font-size: clamp(1.875rem, 4vw, 2.25rem);
}

.tlc-exam-prep .tlc-exam-prep__enrollment {
    --exam-card-padding: clamp(1.25rem, 3vw, 2.5rem);
    padding: var(--exam-card-padding);
    border: 1px solid #203550;
    border-radius: .5rem;
    background: var(--dl-purchase-navy);
    color: #cbd5e1;
    box-shadow: 0 16px 27px rgb(20 34 56 / 17%);
    font-size: .875rem;
}

.tlc-exam-prep #enrollment-panel > .tlc-t11-enrollment-blue-field {
    margin: 0 0 1rem;
    padding: 0;
    background: transparent;
    color: inherit;
}
.tlc-exam-prep__enrollment--t11 .tlc-t11-enrollment-blue-field::before { display: none; }
.tlc-exam-prep__enrollment--t11 .tlc-t11-enrollment-book {
    inset-inline-end: .5rem;
    inset-block-end: .75rem;
}
.tlc-exam-prep #enrollment-panel h2 {
    margin-block-end: .4rem;
    color: #c2d8ff;
    font-size: 1.125rem;
    line-height: 1.35;
}

.tlc-exam-prep .tlc-exam-prep__enrollment > p { color: #cbd5e1; }
.tlc-exam-prep .tlc-exam-prep__enrollment .tlc-exam-prep__fine-print {
    font-size: .75rem;
}
.tlc-exam-prep .tlc-exam-prep__hero .tlc-exam-prep__enrollment > .tlc-exam-prep__fine-print {
    border-top: 1px solid #334155;
    padding-block-start: .65rem;
    text-align: center;
}
.tlc-exam-prep .tlc-exam-prep__enrollment .tlc-exam-prep__price {
    margin-block-end: .5rem;
    border-top: 1px solid #334155;
    padding-block-start: .75rem;
}
.tlc-exam-prep .tlc-exam-prep__price strong,
.tlc-exam-prep .tlc-exam-prep__price .woocommerce-Price-amount { color: #fff; font-weight: 800; }
.tlc-exam-prep__enrollment .tlc-exam-prep__price > span { font-size: .75rem; letter-spacing: .04em; }
.tlc-exam-prep__enrollment a:not(.tlc-exam-prep__button) { color: #bfd7ff; }
.tlc-exam-prep__enrollment a:not(.tlc-exam-prep__button):hover { color: #fff; }

.tlc-exam-prep .tlc-exam-prep__enrollment label {
    display: block;
    color: #d7e3ff;
    font-size: .75rem;
    font-weight: 750;
    text-align: start;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.tlc-exam-prep .tlc-exam-prep__enrollment select {
    border: 1px solid #6682a5;
    background-color: #0d1726;
    color: #fff;
    color-scheme: dark;
    font-size: 1rem;
    font-weight: 650;
}

.tlc-exam-prep .tlc-exam-prep__section--final .tlc-exam-prep__enrollment {
    max-width: 28rem;
    margin: 0 auto;
    padding: clamp(1.25rem, 3vw, 2rem);
    background: #0d1726;
}

.tlc-exam-prep .tlc-exam-prep__section--final .tlc-exam-prep__enrollment h3 {
    margin-block-end: .45rem;
    color: #cbd5e1;
    font-size: .75rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.tlc-exam-prep .tlc-exam-prep__section--final .tlc-exam-prep__price { border: 0; padding: 0; }
.tlc-exam-prep .tlc-exam-prep__section--final .tlc-exam-prep__price strong { font-size: 2.25rem; }

.tlc-exam-prep .tlc-exam-prep__enrollment :is(.tlc-exam-prep__native-cart form.cart .single_add_to_cart_button, [data-mirrored-submit], [data-enrollment-link], [data-cart-fallback]) {
    gap: .5rem;
    min-height: 3.25rem;
    border-radius: .45rem;
    background-color: var(--exam-blue);
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 3px 8px rgb(0 0 0 / 22%);
}
.tlc-exam-prep .tlc-exam-prep__enrollment :is(.tlc-exam-prep__native-cart form.cart .single_add_to_cart_button, [data-mirrored-submit], [data-enrollment-link], [data-cart-fallback]):hover:not(:disabled, .disabled) {
    background-color: #1d4ed8;
}
.tlc-exam-prep__enrollment :is(.single_add_to_cart_button, [data-mirrored-submit], [data-enrollment-link])::before {
    content: "\f07a" / "";
    font: 400 1.1em/1 "Daylight Course Icons";
}
.tlc-exam-prep .tlc-exam-prep__enrollment :is(a, select):focus-visible,
.tlc-exam-prep .tlc-exam-prep__enrollment :is(.tlc-exam-prep__native-cart form.cart .single_add_to_cart_button, [data-mirrored-submit]):focus-visible {
    outline: 2px solid #b9d2ff !important; /* The compiled theme sets an important dark outline. */
}

.tlc-exam-prep .tlc-exam-prep__enrollment :is(.affirm-as-low-as, .woocommerce-variation-description:not(:empty)) {
    border-radius: .35rem;
    background: #fff;
    color: #334155;
    padding: .6rem .7rem;
}
.tlc-exam-prep .tlc-exam-prep__enrollment .affirm-as-low-as {
    font-size: .8125rem;
    text-align: center;
}
.tlc-exam-prep__enrollment .affirm-as-low-as a { color: var(--exam-blue-dark); }
.tlc-exam-prep__enrollment .affirm-as-low-as a:hover { color: var(--exam-navy); }
.tlc-exam-prep .tlc-exam-prep__enrollment .affirm-as-low-as a:focus-visible {
    outline-color: var(--exam-blue-dark) !important;
}

/* The legacy theme makes this provider link a block. Let the message wrap naturally. */
body #site-main .affirm-as-low-as {
    white-space: normal;
}

body #site-main .affirm-as-low-as > .affirm-modal-trigger {
    display: inline !important;
    margin-block-start: 0;
    font-size: inherit;
    white-space: nowrap;
}

@media (min-width: 1024px) {
    .tlc-exam-prep .tlc-exam-prep__hero {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    }
    /* Leave room for Affirm's live badge, monthly price and qualification link. */
    .tlc-exam-prep .tlc-exam-prep__hero:has(.affirm-as-low-as) {
        grid-template-columns: minmax(0, 7fr) minmax(min(31rem, 48%), 5fr);
    }
    .tlc-exam-prep__hero .tlc-exam-prep__enrollment:has(.affirm-as-low-as) {
        padding-inline: 1.5rem;
    }
    .tlc-exam-prep .tlc-exam-prep__hero h1 { font-size: 3.125rem; }

    .tlc-exam-prep .tlc-exam-prep__split--example {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    }
}

@media (max-width: 1023px) {
    .tlc-exam-prep .tlc-exam-prep__split { grid-template-columns: minmax(0, 1fr); }
    .tlc-exam-prep .tlc-exam-prep__grid:not(.tlc-exam-prep__curriculum) {
        grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr));
    }

    .tlc-exam-prep .tlc-exam-prep__section--hero {
        background: linear-gradient(transparent 220px, #f7f9fa 720px) 0 0 / 100% 100% no-repeat,
            var(--dl-course-daylight) 0 0 / 100% 48.75rem no-repeat, #f7f9fa;
    }
}

@media (forced-colors: active) {
    .tlc-exam-prep__title-accent { -webkit-text-fill-color: CanvasText; }
}


/* Standard Woo templates, including classes on the legacy ACF product rows. */
body.single-product #site-main .product-intro:not(.has-product-background, .tlc-catalog-product__hero) {
    background: var(--dl-course-dot-field) 0 0 / 26px 26px, var(--dl-course-daylight);
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 0;
    padding-block: 2.5rem;
}

body.single-product #site-main .product_title:not(.has-product-background .product_title) {
    font-size: clamp(2rem, 4.1vw, 3.125rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -.025em;
    text-wrap: balance;
}

body.single-product #site-main .woocommerce-product-gallery__wrapper > img,
body.single-product #site-main .woocommerce-product-gallery__image img {
    border-radius: var(--dl-radius);
}

body.single-product #site-main .product-intro:not(.has-product-background, .tlc-catalog-product__hero) .woocommerce-product-details__short-description {
    color: var(--dl-ink);
    line-height: 1.65;
}

body.single-product #site-main .entry-summary > form.cart,
body.single-product #site-main .tlc-bottom-enrollment__content > .woocommerce {
    padding: var(--dl-course-inset);
    border: 1px solid var(--dl-line);
    border-radius: var(--dl-radius);
    background: var(--dl-paper);
    color: var(--dl-ink);
    box-shadow: var(--dl-course-shadow);
}

body.single-product #site-main .tlc-bottom-enrollment .entry-summary > form.cart {
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
}

body.single-product #site-main .entry-summary form.cart .price .amount {
    color: var(--dl-ink);
    text-shadow: none !important; /* The legacy image-background variant adds an important text shadow. */
}

body.single-product #site-main .product-intro:not(.has-product-background, .tlc-catalog-product__hero) .entry-summary > form.cart {
    border-color: #203550;
    border-radius: .5rem;
    background: var(--dl-purchase-navy);
    color: var(--dl-purchase-text);
}

body.single-product #site-main .product-intro:not(.has-product-background, .tlc-catalog-product__hero) .entry-summary > form.cart a { color: var(--dl-purchase-link); }

body.single-product #site-main .product-intro:not(.has-product-background, .tlc-catalog-product__hero) .entry-summary form.cart :is(.price .amount, .variations label) {
    color: var(--dl-purchase-text);
}

body.single-product #site-main .product-intro:not(.has-product-background, .tlc-catalog-product__hero) .entry-summary form.cart .woocommerce-variation-description:not(:empty) {
    padding: .75rem;
    border-radius: .55rem;
    background: var(--dl-paper);
    color: var(--dl-ink);
}

:is(
    .tlc-exam-prep__enrollment,
    body.single-product #site-main .product-intro:not(.has-product-background, .tlc-catalog-product__hero) .entry-summary form.cart
) .stock.in-stock {
    color: #bbf5d0;
}

:is(
    .tlc-exam-prep__enrollment,
    body.single-product #site-main .product-intro:not(.has-product-background, .tlc-catalog-product__hero) .entry-summary form.cart
) .stock.out-of-stock {
    color: #ffcece;
}

body.single-product #site-main .entry-summary form.cart .variations {
    margin-bottom: 1rem;
}

body.single-product #site-main .entry-summary form.cart .variations select {
    border: 1px solid #708097;
    border-radius: .55rem;
    background-color: var(--dl-paper);
    color: var(--dl-ink);
}

body.single-product #site-main .product-intro:not(.has-product-background, .tlc-catalog-product__hero) .entry-summary form.cart .variations select {
    border-color: #6682a5;
    background-color: #0d1726;
    color: #fff;
    color-scheme: dark;
}

body.single-product #site-main .entry-summary form.cart .single_add_to_cart_button {
    border-radius: .55rem;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    padding: .8rem 1.2rem;
}

body.single-product #site-main .entry-summary form.cart .single_add_to_cart_button:not(:disabled, .disabled) {
    background-color: var(--dl-purchase-blue);
    color: #fff;
}

body.single-product #site-main .entry-summary form.cart .single_add_to_cart_button:hover:not(:disabled, .disabled) {
    background-color: #1d4ed8;
}

body.single-product #site-main form.cart .tlc-companion-upsell {
    padding: 0;
    border: 0;
}

body.single-product #site-main .tlc-companion-upsell__option {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 .65rem;
    padding: .75rem;
    border: 1px solid var(--dl-line);
    border-radius: .55rem;
    background: var(--dl-paper);
    color: var(--dl-ink);
}

body.single-product #site-main .product-intro:not(.has-product-background, .tlc-catalog-product__hero) .entry-summary > form.cart :is(.tlc-companion-upsell__option, .woocommerce-variation-description) a {
    color: var(--dl-blue);
}

body.single-product #site-main .tlc-companion-upsell__option:has(input:checked) {
    border-color: var(--dl-blue);
    background: var(--dl-mist);
}

body.single-product #site-main .tlc-companion-upsell__label {
    min-width: min(7rem, 100%);
    margin-inline-end: 0;
}

body.single-product #site-main .tlc-companion-upsell__option input[type="radio"] {
    flex: 0 0 auto;
    accent-color: var(--dl-blue);
}

body.woocommerce.single-product #site-main .product-sections .product-row {
    padding-block: 2.5rem;
    border-top: 1px solid var(--dl-line);
    background: var(--dl-paper);
}

body.woocommerce.single-product #site-main .product-sections .product-row:nth-child(even) {
    background-image: var(--dl-course-wash);
}

body.woocommerce.single-product #site-main .product-sections .product-row:nth-child(4n) {
    background-image: var(--dl-course-wash-reverse);
}

body.woocommerce.single-product #site-main .product-sections .product-column-full-text {
    padding: var(--dl-course-inset);
    margin-top: 1.5rem;
    border: 1px solid var(--dl-line);
    border-radius: var(--dl-radius);
    background: var(--dl-paper);
    box-shadow: var(--dl-course-shadow);
}

body.woocommerce.single-product #site-main .product-sections :is(.product-column-teaser-read-more-btn, .product-disclosure-toggle) {
    border-radius: .55rem;
}

body.woocommerce.single-product #site-main .tlc-bottom-enrollment {
    padding-block: 2.5rem;
    border-top: 1px solid var(--dl-line);
    background: var(--dl-ink);
}

body.single-product #site-main .tlc-bottom-enrollment__content {
    max-width: 37rem;
    margin-inline: auto;
    padding-inline: 0;
}

body.single-product #site-main .tlc-bottom-enrollment__content > h2 {
    margin-block: 0 1.25rem;
    color: #fff;
    text-align: center;
}

/* Catalog products use the Daylight hero around the native WooCommerce output. */
/* Saved panel markup can place product rows beside the hero's wrapper. */
#site-main:has(.tlc-catalog-product) {
    --dl-catalog-gutter: clamp(1rem, 5vw, 2rem);
    --dl-catalog-hero: radial-gradient(ellipse at 0 12%, rgb(255 255 255 / 72%), transparent 67%), var(--dl-course-daylight);
    --dl-catalog-control: #f3f7ff;
    --dl-catalog-control-ink: #142238;
}

#site-main .tlc-catalog-product > :is(.woocommerce-notices-wrapper, .woocommerce-store-notice):not(:empty) {
    max-width: 80rem;
    margin-inline: auto;
    padding-inline: var(--dl-catalog-gutter);
}

#site-main:has(.tlc-catalog-product) :is(.tlc-catalog-product__breadcrumb, .tlc-catalog-product__grid, .tlc-catalog-product__details > .container, .product-row > .container, .product-upsells > .container) {
    width: 100%;
    max-width: 80rem;
    padding-inline: var(--dl-catalog-gutter);
}

body.single-product #site-main .tlc-catalog-product__hero.product-intro {
    position: relative;
    isolation: isolate;
    margin: 0;
    border-bottom: 1px solid var(--dl-line);
    padding-block: 0 2.5rem;
    background: var(--dl-catalog-hero) !important; /* The compiled theme suppresses product-intro backgrounds. */
}

.tlc-catalog-product__background {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: .16;
    pointer-events: none;
}

#site-main .tlc-catalog-product__breadcrumb:has(.woocommerce-breadcrumb) {
    margin-block-end: 2.5rem;
    background: #f2f3ff;
    box-shadow: 0 0 0 100vmax #f2f3ff;
    clip-path: inset(0 -100vmax);
}

#site-main .tlc-catalog-product__breadcrumb .woocommerce-breadcrumb {
    margin: 0;
    padding-block: .875rem;
    color: var(--dl-muted);
    font: 650 .75rem/1.4 var(--dl-font);
}

#site-main .tlc-catalog-product__breadcrumb .woocommerce-breadcrumb a {
    color: var(--dl-blue);
}

#site-main .tlc-catalog-product__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 1.25rem clamp(1.5rem, 3.2vw, 2.5rem);
}

#site-main .tlc-catalog-product__hero:not(:has(.woocommerce-breadcrumb)) .tlc-catalog-product__grid {
    padding-block-start: 2.5rem;
}

#site-main .tlc-catalog-product__grid::before,
#site-main .tlc-catalog-product__grid::after {
    content: none;
}

body.single-product #site-main .tlc-catalog-product__intro h1.product_title {
    float: none;
    width: auto;
    margin: 0 0 1rem;
    color: var(--dl-ink);
    font-size: clamp(2rem, calc(20vw - 2rem), 2.875rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -.025em;
    text-align: start;
    text-shadow: none;
    text-wrap: wrap;
    overflow-wrap: anywhere;
}

body.single-product #site-main .tlc-catalog-product__intro .woocommerce-product-details__short-description {
    max-width: 42rem;
    color: #3f4759;
    font-family: var(--dl-font);
    font-size: 1.125rem;
    line-height: 1.65;
}

body.single-product #site-main .tlc-catalog-product__intro .woocommerce-product-details__short-description :is(p, li) {
    margin-block: 0 .65rem;
    font-size: inherit;
    line-height: inherit;
}

body.single-product #site-main .tlc-catalog-product__intro .woocommerce-product-details__short-description :is(h2, h3, h4) {
    margin-block: 0 .6rem;
    color: var(--dl-ink);
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    font-weight: 750;
    line-height: 1.35;
}

body.single-product #site-main .tlc-catalog-product__intro .woocommerce-product-details__short-description :is(ul, ol) {
    margin-block: 0 .75rem;
}

body.single-product #site-main .tlc-catalog-product__intro .woocommerce-product-details__short-description * {
    text-shadow: none;
}

.tlc-catalog-product__gallery {
    display: flow-root;
    position: relative; /* Keep WooCommerce's sale badge anchored to the gallery. */
    width: min(100%, 29rem);
}

body.single-product #site-main .tlc-catalog-product__gallery .woocommerce-product-gallery {
    display: block;
    float: none;
    width: 100%;
    margin: 0;
}

body.single-product #site-main .tlc-catalog-product .product-cta {
    float: none;
    width: min(100%, 18.75rem);
    margin: 1.25rem 0 0;
}

body.single-product #site-main .tlc-catalog-product .product-cta img {
    display: block;
    max-width: 100%;
    height: auto;
}

#site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment__content > .woocommerce) {
    --dl-catalog-card-text: var(--dl-purchase-text);
    --dl-catalog-link: var(--dl-purchase-link);
    padding: clamp(1.25rem, 3vw, 2.5rem);
    border: 1px solid #203550;
    border-radius: .5rem;
    background: var(--dl-purchase-navy);
    color: var(--dl-catalog-card-text);
    box-shadow: 0 16px 27px rgb(20 34 56 / 17%);
    font-size: .875rem;
    line-height: 1.6;
}

body.single-product #site-main .tlc-catalog-product__card .entry-summary {
    float: none;
    width: 100%;
    margin: 0;
    color: inherit;
}

/* Keep the surrounding card visible when WooCommerce replaces variation output. */
body.single-product #site-main .tlc-catalog-product__card .entry-summary > form.cart {
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
}

body.single-product #site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) .entry-summary > form.cart {
    background: transparent;
    color: inherit;
}

body.single-product #site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) .entry-summary :is(a, .star-rating, .product_meta) {
    color: var(--dl-catalog-link);
}

#site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) .entry-summary a:hover {
    text-decoration: underline;
}

body.single-product #site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) .entry-summary :is(.price, .price .amount) {
    float: none;
    margin-inline: 0;
    color: var(--dl-catalog-card-text);
    text-shadow: none !important; /* The image-background variant sets an important text shadow. */
}

body.single-product #site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) .entry-summary .price {
    margin-block: 0 .5rem;
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

#site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) .entry-summary .price del {
    font-size: .75em;
    opacity: .85;
}

body.single-product #site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) form.cart .variations {
    width: 100%;
    margin-block: 0 1rem;
    table-layout: fixed;
}

#site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) .variations :is(tr, th, td) {
    display: block;
    width: 100%;
    padding: 0;
    text-align: start;
    white-space: normal;
}

#site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) .variations tr + tr {
    margin-block-start: .9rem;
}

#site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) .variations label {
    display: inline-block;
    margin-block-end: .35rem;
    color: var(--dl-catalog-card-text);
    font-size: .8125rem;
    font-weight: 750;
    line-height: 1.4;
}

body.single-product #site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) .variations:has(option:checked:not([value=""])) .reset_variations {
    display: inline-block !important; /* Keep WooCommerce's visibility state while overriding the compiled display rule. */
    margin-block-start: .4rem;
    text-decoration: underline;
}

body.single-product #site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) form.cart :is(select, input.qty):not([type="hidden"]) {
    box-sizing: border-box;
    min-height: 3.25rem;
    margin: 0;
    border: 1px solid #9babc1;
    border-radius: .45rem;
    background: var(--dl-catalog-control);
    color: var(--dl-catalog-control-ink);
    color-scheme: light;
    font: 650 1rem/1.4 var(--dl-font);
}

body.single-product #site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) form.cart select {
    appearance: auto;
    width: 100%;
    padding: .625rem .75rem;
    text-align: start;
}

#site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) form.cart select option {
    background: var(--dl-catalog-control);
    color: var(--dl-catalog-control-ink);
}

body.single-product #site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) form.cart :is(select, input.qty):disabled {
    background: #e7edf5;
    color: #475569;
    opacity: 1;
}

body.single-product #site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) form.cart input.qty:not([type="hidden"]) {
    width: 4.75rem;
    padding: .5rem;
}

body.single-product #site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) .entry-summary form.cart:not(.grouped_form, .variations_form),
body.single-product #site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) .woocommerce-variation-add-to-cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

#site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) :is(form.cart:not(.grouped_form, .variations_form), .woocommerce-variation-add-to-cart) > :not(.single_add_to_cart_button, .quantity) {
    flex-basis: 100%;
    min-width: 0;
}

body.single-product #site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) form.cart .quantity {
    float: none;
    margin: 0 !important; /* The compiled theme adds an important bottom margin to legacy quantities. */
}

#site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) form.cart .quantity:has(.qty[type="hidden"]) {
    display: none;
}

body.single-product #site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) .entry-summary form.cart .single_add_to_cart_button {
    display: inline-flex;
    flex: 1 1 min(9rem, 100%);
    align-items: center;
    justify-content: center;
    gap: .5rem;
    float: none;
    width: 100%;
    min-height: 3.25rem;
    margin: 0;
    padding: .75rem 1rem;
    border: 1px solid transparent;
    border-radius: .45rem;
    background: var(--dl-purchase-blue);
    color: #fff;
    box-shadow: 0 3px 8px rgb(0 0 0 / 22%);
    font: 800 1rem/1.35 var(--dl-font);
}

#site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) .entry-summary form.cart .single_add_to_cart_button::before {
    content: "\f07a" / "";
    font: 400 1.1em/1 "Daylight Course Icons";
}

body.single-product #site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) .entry-summary form.cart .single_add_to_cart_button:is(:disabled, .disabled, [aria-disabled="true"]) {
    border-color: #7183a0;
    background: #43536f;
    color: #f3f7ff;
    cursor: not-allowed;
    opacity: 1;
}

body.single-product #site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) .entry-summary form.cart .single_add_to_cart_button:hover:not(:disabled, .disabled, [aria-disabled="true"]) {
    background-color: #1d4ed8;
}

#site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) :is(.single_variation, .affirm-as-low-as) {
    background: transparent;
}

#site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) :is(
    .single_variation:has(.woocommerce-variation-description:not(:empty), .woocommerce-variation-price > *, .woocommerce-variation-availability > *),
    .affirm-as-low-as:has(> *)
) {
    --dl-catalog-card-text: var(--dl-catalog-control-ink);
    --dl-catalog-link: var(--dl-blue);
    --dl-catalog-in-stock: #175a32;
    --dl-catalog-out-of-stock: #a21425;
    margin-block: 0 .75rem;
    padding: .6rem .75rem;
    border-radius: .45rem;
    background: var(--dl-catalog-control);
    color: var(--dl-catalog-card-text);
}

#site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) .single_variation :is(p, .price) {
    margin-block-end: 0;
    color: var(--dl-catalog-card-text);
}

#site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) .tlc-companion-upsell__option {
    --dl-catalog-link: var(--dl-blue);
}

#site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) :is(.single_variation, .affirm-as-low-as, .tlc-companion-upsell__option) a {
    text-decoration: underline;
}

#site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) .affirm-as-low-as {
    margin-block: .75rem 0;
    font-size: .8125rem;
    text-align: center;
}

#site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) :is(a, button, input, select):focus-visible {
    outline-color: #a9cbff !important; /* The compiled theme hardcodes a dark outline. */
    box-shadow: none !important;
}

#site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) :is(.affirm-as-low-as, .single_variation, .tlc-companion-upsell__option) :is(a, input):focus-visible {
    outline-color: #174eb9 !important;
}

#site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) .stock.in-stock { color: var(--dl-catalog-in-stock, #bbf5d0); }
#site-main .tlc-catalog-product :is(.tlc-catalog-product__card, .tlc-bottom-enrollment) .stock.out-of-stock { color: var(--dl-catalog-out-of-stock, #ffcece); }

body.single-product #site-main .tlc-catalog-product__details > .container:has(> *) {
    padding-block: 2.5rem;
}

body.single-product #site-main .tlc-catalog-product__details .tlc-product-custom-image-text {
    float: none;
    width: 100%;
    margin: 0;
}

body.single-product #site-main:has(.tlc-catalog-product) :is(.product-sections, .tlc-catalog-product__details) :is(h2, h3) {
    color: var(--dl-ink);
    font-weight: 800;
    line-height: 1.18;
    overflow-wrap: anywhere;
}

body.single-product #site-main:has(.tlc-catalog-product) :is(.product-sections, .tlc-catalog-product__details) h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
}

body.single-product #site-main:has(.tlc-catalog-product) :is(.product-sections, .tlc-catalog-product__details) h3 {
    font-size: clamp(1.125rem, 2.5vw, 1.4rem);
}

body.single-product #site-main .tlc-catalog-product .woocommerce-tabs > .panel {
    padding: var(--dl-course-inset);
    border: 1px solid var(--dl-line);
    border-radius: var(--dl-radius);
    box-shadow: var(--dl-course-shadow);
}

body.single-product #site-main:has(.tlc-catalog-product) .product-row .product-row-columns {
    gap: clamp(1.25rem, 3.2vw, 2.5rem);
    padding-inline: 0;
}

body.single-product #site-main:has(.tlc-catalog-product) .product-row .product-row-columns .product-column-image {
    margin-inline: 0;
}

#site-main:has(.tlc-catalog-product) .product-column-teaser-read-more .product-column-teaser-read-more-btn {
    padding: .65rem 1rem;
    border: 1px solid #a8bfe4;
    border-radius: .45rem;
    background: #f4f7ff;
    color: var(--dl-blue);
    box-shadow: none;
    font: 750 .9375rem/1.4 var(--dl-font);
}

#site-main:has(.tlc-catalog-product) .product-column-teaser-read-more .product-column-teaser-read-more-btn:is(:hover, :focus-visible) {
    background-color: #e2edff !important; /* Compiled course styles include an important green interaction color. */
    color: var(--dl-blue);
    transform: none;
}

#site-main .tlc-catalog-product .tlc-bottom-enrollment__content {
    max-width: 32rem;
}

#site-main .tlc-catalog-product .tlc-bottom-enrollment__content > h2 {
    font-size: clamp(1.875rem, 4vw, 2.25rem);
    font-weight: 800;
}

@media (min-width: 1024px) {
    #site-main .tlc-catalog-product__grid {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        grid-template-areas: "intro offer";
    }

    #site-main .tlc-catalog-product__grid:has(> .tlc-catalog-product__gallery) {
        grid-template-rows: max-content 1fr;
        grid-template-areas: "intro offer" "gallery offer";
    }

    #site-main .tlc-catalog-product__grid:has(> .tlc-catalog-product__gallery):has(.tlc-catalog-product__intro .woocommerce-product-details__short-description) {
        grid-template-areas: "intro offer" "intro gallery";
    }

    .tlc-catalog-product__grid > .tlc-catalog-product__intro { grid-area: intro; }
    .tlc-catalog-product__grid > .tlc-catalog-product__offer { grid-area: offer; }
    .tlc-catalog-product__grid > .tlc-catalog-product__gallery { grid-area: gallery; }

    #site-main .tlc-catalog-product__grid:has(.affirm-as-low-as) {
        grid-template-columns: minmax(0, 7fr) minmax(min(31rem, 52%), 5fr);
    }

    #site-main .tlc-catalog-product .tlc-catalog-product__card:has(.affirm-as-low-as) {
        padding-inline: 1.25rem;
    }

    body.single-product #site-main .tlc-catalog-product__intro h1.product_title {
        font-size: 3.125rem;
    }
}

@media (max-width: 1023px) {
    #site-main .tlc-catalog-product__hero.product-intro {
        --dl-catalog-hero: linear-gradient(transparent 220px, #f7f9fa 720px) 0 0 / 100% 100% no-repeat,
            var(--dl-course-daylight) 0 0 / 100% 48.75rem no-repeat, #f7f9fa;
    }
}

/* Native QSM practice embeds and standalone quiz pages. */
body.single-qsm_quiz #site-main .entry-header,
body.single-qsm_quiz #site-main .entry-content {
    max-width: 52rem;
    margin-inline: auto;
}

body.single-qsm_quiz #site-main .entry-title {
    margin-block-end: .65em;
    color: var(--dl-ink);
    font-size: clamp(2rem, 4.1vw, 3.4rem);
    line-height: 1.12;
    letter-spacing: -.03em;
}

#site-main .qsm-quiz-container {
    max-width: 52rem;
    margin-inline: auto;
    accent-color: var(--dl-blue);
}

#site-main .qsm-quiz-container .qsm-question-wrapper {
    min-width: 0;
    padding: var(--dl-course-inset);
    margin-block: 0 1rem;
    border: 1px solid var(--dl-line);
    border-radius: var(--dl-radius);
    background-color: var(--dl-paper);
    overflow-wrap: anywhere;
}

#site-main .qsm-quiz-container .mlw_qmn_new_question {
    color: var(--dl-ink);
    font-weight: 700;
}

#site-main .qsm-quiz-container .qsm-btn {
    min-height: 44px;
    padding-inline: 1rem;
    border-radius: .55rem;
}

#site-main .qsm-quiz-container .qsm-btn:not(:disabled, .disabled, [aria-disabled="true"]) {
    border-color: var(--dl-blue);
    background-color: var(--dl-blue);
    color: #fff;
}

/* Keep the lesson rail, timer and assessment layouts native. */
body.single-lesson #site-main {
    background: var(--dl-paper);
}

body.single-lesson #site-main .entry-header .entry-title {
    padding-block: .5em;
    color: var(--dl-ink);
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    letter-spacing: -.025em;
    line-height: 1.15;
}

body.single-lesson #lesson-content .lesson-intro h2 {
    padding-bottom: .35em;
    border-bottom: 1px solid var(--dl-line);
    color: var(--dl-ink);
    font-size: clamp(1.8rem, 3.65vw, 3.1rem);
    line-height: 1.15;
    overflow-wrap: anywhere;
}

body.single-lesson #site-main :is(.inner-box, .tlc-lesson-navigation) {
    border: 1px solid var(--dl-line);
    border-radius: var(--dl-radius);
    background: var(--dl-paper);
    box-shadow: 0 3px 12px rgb(20 34 56 / 6%);
}

body.single-lesson #site-main :is(#cont-ed-lessons, #lesson-test) :is(.box-headline, .tlc-lesson-navigation > summary) {
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--dl-line);
    border-start-start-radius: var(--dl-radius);
    border-start-end-radius: var(--dl-radius);
    background: var(--dl-mist);
    color: var(--dl-ink);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

body.single-lesson #lesson-test .tlc-lesson-navigation:not([open]) > summary {
    border-bottom: 0;
    border-radius: inherit;
}

body.single-lesson #site-main #lesson-test .box-content {
    padding: 1rem;
}

body.single-lesson #site-main :is(.timer, .progress-bar-label) {
    font-variant-numeric: tabular-nums;
}

body.single-lesson #cont-ed-lessons .progress-report .progress-bar {
    border-radius: .5rem;
    background-color: var(--dl-mist);
    overflow: hidden;
}

body.single-lesson #cont-ed-lessons .progress-report .progress-bar .progress-bar-indicator {
    background-color: #c8e1fb;
}

body.single-lesson #site-main :is(#tlc-lesson-list-toggle, #tlc-lesson-test-jump) {
    border-radius: .55rem;
}

/* The interactive lesson modules already expose their own semantic palettes. */
#site-main.tlc-theory {
    --theory-ink: var(--dl-ink);
    --theory-muted: var(--dl-muted);
    --theory-paper: var(--dl-paper);
    --theory-soft: var(--dl-mist);
    --theory-border: var(--dl-line);
    --theory-accent: var(--dl-blue);
}

#site-main.tlc-calculations {
    --calc-text: var(--dl-ink);
    --calc-muted: var(--dl-muted);
    --calc-paper: var(--dl-paper);
    --calc-soft: var(--dl-mist);
    --calc-line: var(--dl-line);
    --calc-brand: var(--dl-blue);
    --calc-brand-hover: var(--dl-ink);
}

#site-main .tlc-blueprint {
    --blueprint-ink: var(--dl-ink);
    --blueprint-muted: var(--dl-muted);
    --blueprint-paper: var(--dl-paper);
    --blueprint-soft: var(--dl-mist);
    --blueprint-line: var(--dl-line);
    --blueprint-accent: var(--dl-blue);
    --blueprint-accent-hover: var(--dl-ink);
    --blueprint-focus: var(--dl-blue);
}

#site-main :is(.tlc-theory__lesson, .tlc-theory__sidebar, .tlc-calculations__page, .tlc-blueprint__panel) {
    border-radius: var(--dl-radius);
}

/* Classic and block WooCommerce cart and checkout. */
body:is(.woocommerce-cart, .woocommerce-checkout) #site-main {
    background-color: var(--dl-mist);
}

body:is(.woocommerce-cart, .woocommerce-checkout) #site-main :is(
    .woocommerce-cart-form,
    .cart_totals,
    .woocommerce-billing-fields,
    .woocommerce-shipping-fields,
    #order_review,
    .wc-block-components-sidebar,
    .wc-block-checkout__main
) {
    box-sizing: border-box;
    padding: var(--dl-course-inset);
    border: 1px solid var(--dl-line);
    border-radius: var(--dl-radius);
    background-color: var(--dl-paper);
}

body:is(.woocommerce-cart, .woocommerce-checkout) #site-main :is(
    .input-text,
    .select2-selection--single,
    .wc-block-components-text-input input
) {
    border-radius: .5rem;
}

body:is(.woocommerce-cart, .woocommerce-checkout) #site-main :is(
    .woocommerce-cart-form button,
    .checkout-button,
    #place_order,
    .wc-block-components-button
) {
    border-radius: .55rem;
}

#site-main :is(
    .entry-summary > form.cart,
    .qsm-quiz-container,
    .woocommerce-cart-form,
    .woocommerce-checkout,
    .wc-block-cart,
    .wc-block-checkout
) :is(a, button, input, select, textarea):focus-visible {
    outline: 2px solid var(--dl-blue);
    outline-offset: 2px;
}
