/* Shared refinements for the four public landing pages. */
article:is([data-history-node-id="447"], [data-history-node-id="442"]) .landing-hero h1 {
    font-size: clamp(2.1rem, 1.5rem + 2.5vw, 3.8rem);
    line-height: 1.08;
}

article:is([data-history-node-id="174"], [data-history-node-id="447"], [data-history-node-id="442"], [data-history-node-id="451"]) :is(.landing-hero__inner, .landing-proof-section__inner) > * {
    min-width: 0;
}

article:is([data-history-node-id="174"], [data-history-node-id="447"], [data-history-node-id="442"], [data-history-node-id="451"]) .landing-section-heading h2 {
    overflow-wrap: anywhere;
}

.landing-hero__lead-in,
.landing-hero__line {
    display: block;
}

.landing-hero__lead-in {
    margin-bottom: 0.65em;
    font-size: 0.52em;
    letter-spacing: -0.02em;
}

.landing-hero__line + .landing-hero__line {
    margin-top: 0.14em;
}

article:is([data-history-node-id="174"], [data-history-node-id="447"], [data-history-node-id="442"], [data-history-node-id="451"]) .landing-contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}

article:is([data-history-node-id="174"], [data-history-node-id="447"], [data-history-node-id="442"], [data-history-node-id="451"]) .landing-contact .landing-contact__copy > p {
    display: block;
    margin: 1rem 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    line-height: 1.65;
}

.landing-contact__links {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.landing-contact__row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.65rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.08);
}

.landing-contact__row .button {
    flex: 0 0 auto;
    margin: 0;
}

.landing-contact .landing-contact__value {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 700;
}

article[data-history-node-id="447"] .field--name-body > section {
    margin-block: 0;
}

article[data-history-node-id="447"] :is(.apprenticeships-screening__inner, .landing-provider-feedback__inner) {
    max-width: 1260px;
    margin-inline: auto;
    padding: clamp(1.5rem, 3vw, 3rem);
    border: 1px solid var(--landing-border);
    border-radius: var(--landing-radius-xl);
    box-shadow: var(--landing-shadow-soft);
}

article[data-history-node-id="447"] .apprenticeships-screening__inner {
    background: #e8f9fb url("../images/assets/trait_cards_bg.webp") center / cover no-repeat;
}

article[data-history-node-id="447"] .apprenticeships-screening__inner > * {
    max-width: min(38rem, 58%);
}

article[data-history-node-id="447"] .apprenticeships-screening__next {
    margin-top: clamp(1rem, 1.5vw, 1.4rem);
}

article[data-history-node-id="447"] .apprenticeships-screening__interest {
    margin-top: 1rem;
    padding: 1rem 1.1rem 1.05rem;
    border: 1px solid rgba(18, 79, 90, 0.14);
    border-radius: 1.2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.84) 0%, rgba(239, 250, 252, 0.78) 100%);
    box-shadow: 0 16px 28px rgba(12, 69, 81, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

article[data-history-node-id="447"] .apprenticeships-screening__interest p {
    margin: 0 0 0.85rem;
}

article[data-history-node-id="447"] .apprenticeships-screening__link {
    --nexus-action-link-text: #ffffff;
    display: inline-flex;
    text-decoration: none;
}

article[data-history-node-id="447"] .apprenticeships-screening__link > .circle-wipe__label {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

article[data-history-node-id="447"] .apprenticeships-screening__link > .circle-wipe__reveal {
    color: var(--landing-accent-deep) !important;
    -webkit-text-fill-color: var(--landing-accent-deep) !important;
}

article[data-history-node-id="447"] .landing-provider-feedback__inner {
    background: linear-gradient(145deg, #17313a, #103e49 44%, #145f6c);
}

article[data-history-node-id="447"] .landing-provider-feedback :is(h2, h3, p, blockquote) {
    color: #f4feff;
}

article[data-history-node-id="447"] .landing-provider-feedback__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

article[data-history-node-id="447"] .landing-provider-feedback .landing-card {
    padding: clamp(1.25rem, 2vw, 2rem);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    border-radius: 1.25rem;
}

article[data-history-node-id="447"] .landing-provider-feedback blockquote {
    margin: 1rem 0;
    padding: 0 0 0 1.1rem;
    border-left: 3px solid #a8edf4;
    font-size: inherit;
    font-style: normal;
}

article[data-history-node-id="447"] .landing-provider-feedback blockquote::before {
    content: none;
}

article[data-history-node-id="447"] .landing-provider-feedback__attribution {
    font-weight: 700;
}

article[data-history-node-id="447"] .landing-provider-feedback__note {
    margin: 1.5rem 0 0;
    max-width: 85ch;
}

article[data-history-node-id="451"] .lms-provider-card h3 {
    margin: 0 0 1rem;
    font-size: clamp(1.3rem, 1.15rem + 0.65vw, 1.8rem);
    line-height: 1.2;
}

@media (max-width: 1080px) {
    article:is([data-history-node-id="174"], [data-history-node-id="447"], [data-history-node-id="442"], [data-history-node-id="451"]) .landing-contact {
        grid-template-columns: 1fr;
    }

    article[data-history-node-id="447"] .apprenticeships-screening__inner {
        background-image: linear-gradient(rgba(245, 253, 254, 0.93), rgba(245, 253, 254, 0.93)), url("../images/assets/trait_cards_bg.webp");
    }

    article[data-history-node-id="447"] .apprenticeships-screening__inner > * {
        max-width: none;
    }
}

@media (max-width: 760px) {
    article:is([data-history-node-id="174"], [data-history-node-id="447"], [data-history-node-id="442"], [data-history-node-id="451"]) .landing-hero .button.circle-wipe.landing-link {
        min-width: 0;
        max-width: 100%;
        margin-inline: 0;
        font-size: 1.15rem;
        white-space: normal;
    }

    .landing-contact__row {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    article[data-history-node-id="447"] .landing-provider-feedback__grid {
        grid-template-columns: 1fr;
    }
}
