/* Site-wide public mobile layout. Loaded last from layouts/app. */

html,
body {
    overflow-x: clip;
}

img,
video,
iframe,
canvas {
    max-width: 100%;
}

table {
    max-width: 100%;
}

@media (max-width: 767px) {
    .site-social-rail {
        display: none;
    }

    .site-footer {
        padding: 1.25rem 0.75rem 0;
    }

    .site-footer__box {
        padding: 1.35rem 1rem 1.15rem;
        border-radius: 1rem;
    }

    .site-footer__columns {
        gap: 1.35rem 1rem;
    }

    .site-footer__contact-line {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.15rem;
    }

    .site-footer__legal {
        gap: 0.5rem 0.85rem;
    }

    .home-hero-layout {
        gap: 1.75rem;
        padding-inline: 1rem;
    }

    .home-hero-content .tracking-\[0\.22em\] {
        letter-spacing: 0.12em;
        font-size: 0.8rem;
    }

    .hero-heading,
    .hero-heading__line {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .kdna {
        height: auto !important;
        min-height: 34rem;
        padding: 4.5rem 1.15rem 1.75rem;
    }

    .kdna .kdna-br {
        left: 1rem !important;
        right: auto;
        top: 4.25rem !important;
        bottom: auto;
        width: 1.35rem !important;
        height: 1.35rem !important;
    }

    .kdna .kdna-br-tr {
        left: auto !important;
        right: 1rem !important;
    }

    .kdna .kdna-br-bl {
        top: auto !important;
        bottom: 1rem !important;
    }

    .kdna .kdna-br-br {
        left: auto !important;
        right: 1rem !important;
        top: auto !important;
        bottom: 1rem !important;
    }

    .kdna-title {
        font-size: clamp(2.6rem, 16vw, 4.25rem) !important;
        letter-spacing: 0.06em !important;
        white-space: nowrap;
        max-width: 100%;
    }

    .kdna .left-\[84px\],
    .kdna .right-\[84px\] {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        width: 100% !important;
        max-width: 100%;
    }

    .kdna .w-\[380px\] {
        width: 100% !important;
        margin-top: 10rem;
    }

    .kdna .text-\[30px\] {
        font-size: 1.35rem !important;
    }

    [data-products-showcase] [data-ps-ghost].ps-outline {
        font-size: clamp(2.1rem, 11vw, 3.5rem) !important;
        letter-spacing: -1px !important;
        line-height: 0.95 !important;
        white-space: normal !important;
        width: 100% !important;
        max-width: 100%;
    }

    [data-oncology-fold] {
        padding-top: 2.5rem !important;
    }

    [data-oncology-fold] .px-10 {
        padding-inline: 1.15rem !important;
    }

    [data-oncology-fold] h2 {
        font-size: clamp(1.85rem, 8.5vw, 2.5rem) !important;
        letter-spacing: -0.04em !important;
        line-height: 1.05 !important;
    }

    [data-oncology-fold] .whitespace-nowrap {
        white-space: normal !important;
    }

    [data-fold-track] {
        flex-direction: column !important;
        height: auto !important;
        gap: 0.75rem !important;
    }

    [data-fold-panel] {
        flex: none !important;
        width: 100% !important;
        min-height: 13.5rem;
        height: 13.5rem !important;
    }

    .fold-label {
        white-space: normal !important;
        opacity: 1 !important;
        transform: none !important;
        font-size: 1.05rem !important;
    }

    [data-fold-progress] {
        opacity: 1 !important;
    }

    .ka-contact-scope .kz-hero,
    .ka-career-scope .kz-car-hero,
    .ka-life-scope .kz-life-hero,
    .ka-articles-scope .kz-hero,
    .kz-page-scope .kz-hero,
    .ka-csr-health-scope .kz-hero,
    .ka-csr-environment-scope .kz-hero,
    .ka-csr-education-scope .kz-hero,
    .ka-dd-scope .kz-dd-hero,
    .ka-cd-scope .kz-cd-hero,
    .nw-hero,
    .bd-hero,
    .rae-scope .rae-hero,
    .gr-global-research-scope .kz-hero,
    .ta-index-page .ta-hero,
    .dt-scope section[data-screen-label="Hero"] {
        min-height: 0 !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .ka-contact-scope .kz-hero__media,
    .ka-career-scope .kz-car-hero__media,
    .ka-life-scope .kz-life-hero__media,
    .ka-articles-scope .kz-hero__media,
    .kz-page-scope .kz-hero__media,
    .ka-csr-health-scope .kz-hero__media,
    .ka-csr-environment-scope .kz-hero__media,
    .ka-csr-education-scope .kz-hero__media,
    .ka-dd-scope .kz-dd-hero__media,
    .ka-cd-scope .kz-cd-hero__media,
    .nw-hero__media,
    .bd-hero__media,
    .rae-scope .rae-hero__media {
        min-height: 14.5rem !important;
    }

    .ka-contact-scope .kz-hero__copy,
    .ka-career-scope .kz-car-hero__copy,
    .ka-life-scope .kz-life-hero__copy,
    .ka-articles-scope .kz-hero__copy,
    .kz-page-scope .kz-hero__copy,
    .nw-hero__text,
    .bd-hero__text,
    .rae-scope .rae-hero__copy,
    .ka-cd-scope .kz-cd-hero__copy,
    .ka-dd-scope .kz-dd-hero__copy {
        padding: 1.75rem 1.15rem 2rem !important;
        gap: 1rem !important;
    }

    .ka-contact-scope .kz-hero__title,
    .ka-career-scope .kz-car-hero__title,
    .ka-career-scope .kz-why__title,
    .ka-life-scope .kz-life-hero__title,
    .ka-life-scope .kz-life-h2,
    .ka-articles-scope .kz-hero__title,
    .kz-page-scope .kz-hero__title,
    .ka-csr-health-scope .kz-hero__title,
    .ka-csr-environment-scope .kz-hero__title,
    .ka-csr-education-scope .kz-hero__title,
    .nw-hero__title,
    .bd-hero__title,
    .rae-scope .rae-h1,
    .ka-cd-scope .kz-cd-hero__title,
    .ka-dd-scope .kz-dd-hero__title,
    .gr-global-research-scope .kz-hero__title,
    .bp-hero-title,
    .ka-contact-scope .kz-h2,
    .ka-contact-scope .kz-cta__title,
    .rae-scope .rae-h2,
    .dt-scope h1,
    .dt-scope h2 {
        font-size: clamp(1.85rem, 8.4vw, 2.45rem) !important;
        line-height: 1.08 !important;
        letter-spacing: -0.03em !important;
    }

    .ka-contact-scope .kz-btn,
    .ka-contact-scope .kz-btn-row,
    .rae-scope .rae-btn,
    .dt-scope .dt-h-primary,
    .dt-scope .dt-h-outline {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .ka-contact-scope .kz-form,
    .ka-contact-scope .kz-help__grid,
    .ka-contact-scope .kz-help__pair,
    .ka-contact-scope .kz-help__intro,
    .ka-life-scope .kz-people__grid,
    .ka-life-scope .kz-life-band__intro,
    .ka-life-scope .kz-tiles,
    .ka-career-scope .kz-why__grid,
    .rae-scope .rae-split,
    .rae-scope .rae-need-grid,
    .rae-scope .rae-forms,
    .or-capabilities__cards {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .ka-contact-scope .kz-formcard,
    .ka-contact-scope .kz-cta__box,
    .ka-contact-scope .kz-success {
        padding: 1.25rem !important;
        border-radius: 1.25rem !important;
    }

    .ka-life-scope .kz-people__media {
        min-height: 16rem !important;
        border-radius: 1.25rem !important;
    }

    .ka-career-scope .kz-why-card {
        min-height: 0;
        padding: 1.35rem 1.2rem;
        gap: 1.5rem;
    }

    .nw-latest,
    .ka-life-scope .kz-people,
    .ka-life-scope .kz-life-band,
    .ka-career-scope .kz-why,
    .ka-contact-scope .kz-help,
    .ka-contact-scope .kz-cta {
        padding-inline: 1.15rem !important;
        padding-block: 2.5rem !important;
    }

    .nw-card__panel {
        padding: 1.15rem 1.1rem 1rem !important;
    }

    .rae-scope .rae-emergency__inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.1rem;
    }

    .dt-scope section[data-screen-label="Hero"] > div {
        padding: 2.5rem 1.15rem 2rem !important;
        gap: 1.5rem !important;
    }

    .dt-scope #dt-hero-viz {
        max-width: 100% !important;
        aspect-ratio: 1 / 1;
    }

    .bp-hero {
        min-height: 0 !important;
        padding: 2.5rem 1.15rem !important;
        gap: 1.75rem !important;
    }

    .bp-form {
        padding: 1.15rem !important;
        border-radius: 1.25rem !important;
        gap: 0.85rem !important;
    }

    .gr-global-research-scope .kz-search {
        height: 48px;
        padding: 0 14px;
    }

    .site-header-band {
        overflow-x: clip;
    }
}

@media (max-width: 479px) {
    .site-footer__columns {
        grid-template-columns: minmax(0, 1fr);
    }

    [data-fold-panel] {
        min-height: 11.5rem;
        height: 11.5rem !important;
    }
}

@media (max-width: 900px) {
    .ak-page img { max-width: 100%; }

    .ak-hero {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .ak-hero__media { min-height: 16rem; }

    .ak-hero__content {
        padding: 2rem 1.15rem 2.5rem;
        box-sizing: border-box;
        gap: 1.15rem;
    }

    .ak-hero__title-sm { font-size: 1.15rem; }
    .ak-hero__title-lg { font-size: clamp(2rem, 9vw, 2.65rem); line-height: 1.05; }
    .ak-hero__body { font-size: 0.95rem; }
    .ak-hero__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .ak-hero__tab-label { white-space: normal; }
    .ak-hero__caption-name { white-space: normal; font-size: 1.25rem; }

    .ak-legacy__grid {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
        padding: 2.75rem 1.15rem;
        gap: 2rem;
    }

    .ak-seventy__num { font-size: 42vw; }
    .ak-legacy__heading-main { font-size: 1.65rem; }
    .ak-legacy__para,
    .ak-legacy__lead,
    .ak-team__text { font-size: 1rem; }

    .ak-journey { height: auto; overflow: visible; }

    .ak-tl {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        padding: 2rem 1.15rem 2.75rem;
        box-sizing: border-box;
    }

    .ak-tl__head {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .ak-tl__title {
        font-size: clamp(1.85rem, 8vw, 2.4rem);
        letter-spacing: -0.04em;
    }

    .ak-tl__axis { display: none; }

    .ak-tl__replay {
        position: relative;
        right: auto;
        top: auto;
        margin: 0 0 1rem;
    }

    .ak-ms {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        height: auto !important;
        margin-bottom: 1.15rem;
    }

    .ak-ms__stem,
    .ak-ms__node { display: none; }

    .ak-ms__year {
        position: relative;
        left: auto;
        bottom: auto;
        width: auto;
        text-align: left;
        margin-bottom: 0.4rem;
    }

    .ak-ms__card {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        opacity: 1;
        transform: none;
    }

    .ak-purpose,
    .ak-values { height: auto; }

    .ak-purpose__sticky,
    .ak-values__sticky {
        position: relative;
        height: auto;
        overflow: visible;
    }

    .ak-purpose__pic {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        height: 14rem;
    }

    .ak-purpose__content {
        padding: 2rem 1.15rem 2.5rem;
        box-sizing: border-box;
        max-width: none;
    }

    .ak-purpose__t1,
    .ak-purpose__t2 { font-size: clamp(1.85rem, 8vw, 2.4rem); }

    .ak-values__split {
        position: relative;
        grid-template-columns: minmax(0, 1fr);
    }

    .ak-values__imgslide,
    .ak-values__panel {
        height: auto;
        min-height: 0;
        padding: 2rem 1.15rem;
    }

    .ak-values__ptitle { font-size: 1.65rem; }
    .ak-values__ibig { font-size: 2.35rem; }

    .ak-values__nav {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        padding: 0 1.15rem 2rem;
        opacity: 1;
    }
}
