/* Loaded only on phone widths. These layouts reuse the public palette and imagery. */
html body.everklin-transformed #main {
    --phone-editorial-gutter: clamp(16px, 4.8vw, 28px);
    --phone-editorial-radius: 14px;
    --phone-editorial-line: #d7e0ca;
    --phone-editorial-paper: #f7f9ef;
    --phone-editorial-ink: #20362a;
}

html body.everklin-transformed #main :is(.company-profile-masthead, .wt-experience-cover, .wt-experience-system-cover) h1 {
    max-width: none;
    margin: 0;
    font-size: clamp(30px, 8.7vw, 45px);
    line-height: 1.08;
    letter-spacing: -.035em;
    text-wrap: pretty;
    overflow-wrap: break-word;
}

html body.everklin-transformed #main :is(.company-profile-masthead, .wt-experience-cover, .wt-experience-system-cover)
    :is(.company-profile-breadcrumb, .wt-experience-crumb) {
    column-gap: 7px;
    row-gap: 4px;
    margin: 0 0 14px;
    font-size: 12px;
    line-height: 1.45;
}

html body.everklin-transformed #main :is(.company-profile-masthead, .wt-experience-cover, .wt-experience-system-cover)
    :is(.company-profile-actions, .wt-experience-actions) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin: 16px 0 0;
}

html body.everklin-transformed #main :is(.company-profile-masthead, .wt-experience-cover, .wt-experience-system-cover)
    :is(.company-profile-button, .wt-experience-button, .wt-experience-link) {
    width: 100%;
    min-height: 46px;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.3;
    text-align: start;
}

html body.everklin-transformed #main.company-profile .company-profile-masthead {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    padding: 0 0 var(--phone-editorial-gutter);
    background: linear-gradient(150deg, var(--phone-editorial-paper), #eef3df);
}

html body.everklin-transformed #main.company-profile .company-profile-masthead::after {
    display: none;
}

html body.everklin-transformed #main.company-profile .company-profile-masthead > img {
    position: static;
    z-index: auto;
    order: -1;
    width: 100%;
    height: clamp(170px, 49vw, 310px);
    object-fit: cover;
}

html body.everklin-transformed #main.company-profile .company-profile-masthead__inner {
    width: calc(100% - 2 * var(--phone-editorial-gutter));
    padding: 15px 0 0;
}

html body.everklin-transformed #main.company-profile .company-profile-masthead p {
    max-width: 55ch;
    margin: 10px 0 0;
    font-size: 15px;
    line-height: 1.55;
}

html body.everklin-transformed #main.company-profile .company-profile-width:not(.company-profile-masthead__inner) {
    width: calc(100% - 2 * var(--phone-editorial-gutter));
}

html body.everklin-transformed #main.company-profile .company-profile-nav__pages,
html body.everklin-transformed #main.company-profile .company-profile-nav__sections {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding-block: 8px;
}

html body.everklin-transformed #main.company-profile .company-profile-nav a {
    justify-content: center;
    min-height: 44px;
    padding: 6px 4px;
    border: 1px solid var(--phone-editorial-line);
    border-radius: 8px;
    font-size: clamp(11px, 3.15vw, 13px);
    text-align: center;
    white-space: normal;
}

html body.everklin-transformed #main.company-profile .company-profile-nav__full { display: none; }
html body.everklin-transformed #main.company-profile .company-profile-nav__short { display: inline; }

html body.everklin-transformed #main.company-profile .company-profile-content {
    gap: 12px;
    padding-block: 16px 28px;
}

html body.everklin-transformed #main.company-profile .company-profile-section {
    padding: 16px;
    border-radius: var(--phone-editorial-radius);
    scroll-margin-top: 78px;
}

html body.everklin-transformed #main.company-profile .company-profile-section h2 {
    font-size: clamp(23px, 5.8vw, 31px);
    line-height: 1.14;
    text-wrap: pretty;
}

html body.everklin-transformed #main.company-profile .company-profile-register tr {
    margin-bottom: 8px;
    padding: 12px;
}

html body.route-water-treatment #main#main#main :is(.wt-experience-cover, .wt-experience-system-cover) {
    min-height: 0 !important;
    padding: 0 !important;
    background: linear-gradient(150deg, var(--phone-editorial-paper), #edf2dc) !important;
}

html body.route-water-treatment #main#main#main :is(.wt-experience-cover__grid, .wt-experience-system-cover__inner) {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 15px var(--phone-editorial-gutter) 0 !important;
}

html body.route-water-treatment #main#main#main .wt-experience-cover__grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
    padding-block: 0 var(--phone-editorial-gutter) !important;
}

html body.route-water-treatment #main#main#main .wt-experience-cover__copy {
    display: contents !important;
}

html body.route-water-treatment #main#main#main .wt-experience-cover__facts {
    order: 1;
    gap: 8px;
    margin: 14px 0 0 !important;
    padding: 11px 0 0 !important;
}

html body.route-water-treatment #main#main#main .wt-experience-cover__facts dd {
    font-size: 11px;
}

html body.route-water-treatment #main#main#main .wt-experience-cover__visual {
    grid-row: 1;
    aspect-ratio: 16 / 8;
    width: auto;
    margin: 0 calc(-1 * var(--phone-editorial-gutter)) 15px;
    border-radius: 0;
}

html body.route-water-treatment #main#main#main .wt-experience-cover__visual img {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
}

html body.route-water-treatment #main#main#main .wt-experience-cover__visual::after {
    inset: 28% 0 0;
    background: linear-gradient(transparent, #142820b5 50%, #142820ed);
}

html body.route-water-treatment #main#main#main .wt-experience-cover__visual figcaption {
    inset: auto 14px 12px;
}

html body.route-water-treatment #main#main#main .wt-experience-cover__visual figcaption strong {
    font-size: 17px;
    line-height: 1.25;
}

html body.route-water-treatment #main#main#main .wt-experience-cover__visual figcaption :is(span, small) {
    margin-block: 5px;
    font-size: 10px;
}

html body.route-water-treatment #main#main#main .wt-experience-system-cover {
    display: flex;
    flex-direction: column;
    padding-bottom: 16px !important;
}

html body.route-water-treatment #main#main#main .wt-experience-system-cover::before {
    display: none;
}

html body.route-water-treatment #main#main#main .wt-experience-system-cover__media {
    position: static;
    z-index: auto;
    order: -1;
    width: 100%;
    height: clamp(170px, 49vw, 310px);
    min-height: 0;
    margin: 0;
    overflow: hidden;
}

html body.route-water-treatment #main#main#main .wt-experience-system-cover__media img {
    object-fit: cover;
    object-position: center;
    filter: none;
}

html body.route-water-treatment #main#main#main :is(.wt-experience-cover, .wt-experience-system-cover) h1 {
    max-width: none !important;
    margin: 0 !important;
    font-size: clamp(29px, 8.1vw, 45px) !important;
    line-height: 1.08 !important;
}

html body.route-water-treatment #main#main#main :is(.wt-experience-cover, .wt-experience-system-cover) .wt-experience-kicker {
    margin: 0 0 8px !important;
    font-size: 11px !important;
    line-height: 1.4;
}

html body.route-water-treatment #main#main#main :is(.wt-experience-cover, .wt-experience-system-cover) .wt-experience-cover__lead {
    max-width: 54ch;
    margin: 10px 0 0 !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
}

html body.route-water-treatment #main#main#main .wt-experience-cover-note {
    margin: 11px 0 0 !important;
    font-size: 12px !important;
    line-height: 1.4;
}

html body.route-water-treatment #main#main#main :is(.wt-experience-nav__inner, .wt-workspace > .container) {
    width: calc(100% - 2 * var(--phone-editorial-gutter));
    max-width: none;
    padding-inline: 0;
}

html body.route-water-treatment #main#main#main .wt-experience-nav__inner {
    column-gap: 4px;
    padding-block: 5px 10px;
}

html body.route-water-treatment #main#main#main .wt-experience-nav__systems {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 0;
    overflow: visible;
}

html body.route-water-treatment #main#main#main .wt-experience-nav__systems a {
    justify-content: center;
    min-height: 44px;
    padding: 6px 4px;
    border: 1px solid var(--phone-editorial-line);
    border-radius: 8px;
    text-align: center;
    white-space: normal;
}

html body.route-water-treatment #main#main#main .wt-workspace-tools {
    padding: 10px;
}

html body.route-water-treatment #main#main#main .wt-mode-tabs {
    display: grid !important;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.25fr) minmax(0, .72fr);
    gap: 5px;
    padding: 0;
    overflow: visible;
}

html body.route-water-treatment #main#main#main .wt-mode-tabs button {
    min-width: 0;
    min-height: 48px;
    padding: 7px 5px;
    border-radius: 8px;
    line-height: 1.25;
    white-space: normal;
}

html body.route-water-treatment #main#main#main .wt-programme-card > summary {
    padding: 14px 37px 14px 14px;
}

html body.route-water-treatment #main#main#main .wt-programme-label {
    font-size: clamp(17px, 4.7vw, 21px);
}

html body.route-water-treatment #main.wt-assessment > .container {
    width: calc(100% - 2 * var(--phone-editorial-gutter));
    max-width: none;
    padding-inline: 0;
}

html body.route-water-treatment #main.wt-assessment :is(input:not([type=checkbox], [type=hidden]), select, textarea) {
    max-width: 100%;
    font-size: 16px;
}

/* The shared process and sector covers use an earlier important layer. */
@layer industry-system-cover {
    html body.everklin-transformed #main#main > :is(.iic-hero, .industries-hub__hero, .fpp-hero, .discovery-family-hero) {
        display: block !important;
        min-height: 0 !important;
        padding: 0 0 20px !important;
        background: linear-gradient(150deg, var(--phone-editorial-paper), #eef3df) !important;
    }

    html body.everklin-transformed #main#main > :is(.iic-hero, .industries-hub__hero)::before {
        position: relative !important;
        inset: auto !important;
        z-index: auto !important;
        width: 100% !important;
        height: clamp(170px, 49vw, 310px) !important;
        background: var(--cover-image) center / cover no-repeat !important;
    }

    html body.everklin-transformed #main#main > :is(.fpp-hero, .discovery-family-hero)::before {
        display: none !important;
    }

    html body.everklin-transformed #main#main > :is(.fpp-hero, .discovery-family-hero) > .container {
        display: flex !important;
        flex-direction: column;
        align-items: stretch !important;
        gap: 0 !important;
    }

    html body.everklin-transformed #main#main :is(
        .iic-hero > .iic-hero__content, .fpp-hero__grid > .fpp-hero__copy,
        .discovery-family-hero__grid > div:first-child, .industries-hub__hero-inner > div:first-child
    ) {
        width: calc(100% - 2 * var(--phone-editorial-gutter)) !important;
        margin: 0 auto !important;
        padding: 15px 0 0 !important;
    }

    html body.everklin-transformed #main#main :is(.fpp-hero__media, .discovery-family-hero__grid > figure) {
        display: block !important;
        position: relative !important;
        z-index: auto !important;
        inset: auto !important;
        order: -1;
        width: 100% !important;
        height: clamp(170px, 49vw, 310px) !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        overflow: hidden;
        border-radius: 0 !important;
    }

    html body.everklin-transformed #main#main :is(.fpp-hero__media img, .discovery-family-hero__grid > figure > img) {
        position: static !important;
        z-index: auto !important;
        filter: none !important;
    }

    html body.everklin-transformed #main#main .discovery-family-hero__grid figcaption {
        position: absolute !important;
        inset: auto 10px 10px !important;
        width: max-content;
        max-width: calc(100% - 20px);
        margin: 0;
    }

    html body.everklin-transformed #main#main > :is(.iic-hero, .industries-hub__hero, .fpp-hero, .discovery-family-hero) h1 {
        max-width: none !important;
        margin-block: 0 10px !important;
        font-size: clamp(29px, 8.1vw, 45px) !important;
        line-height: 1.08 !important;
        text-wrap: pretty;
    }

    html body.everklin-transformed #main#main > :is(.iic-hero, .industries-hub__hero, .fpp-hero, .discovery-family-hero)
        :is(.iic-crumb, .fpp-breadcrumb, [aria-label="Breadcrumb"]) {
        margin-bottom: 10px !important;
        line-height: 1.4;
    }
}

html body.everklin-transformed #main#main#main
    :is(.solutions-hero, .sn-hero, .contact-hero, .catalogue-hero, .ek-inner-home-hero, .product-hero, .industry-page-hero, .anchor-hero) h1 {
    max-width: none !important;
    font-size: clamp(28px, 8.1vw, 46px) !important;
    line-height: 1.1 !important;
    text-wrap: pretty !important;
    overflow-wrap: break-word;
}

html body.everklin-transformed #main#main#main :is(.fph-discovery-modes, .fsv2-related) {
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px;
    overflow: visible;
}

html body.everklin-transformed #main#main#main :is(.fph-discovery-modes, .fsv2-related) > :is(a, button) {
    flex: 1 1 110px;
    min-width: 0;
    max-width: 100%;
    min-height: 44px;
    padding: 7px 9px;
    white-space: normal;
    text-align: center;
}

html body.route-water-treatment #main#main#main .lpd__challenge-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
}

html body.route-water-treatment #main#main#main .lpd__challenge {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 5px;
    padding: 7px;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    border-color: var(--phone-editorial-line);
    border-radius: 6px;
}

html body.route-water-treatment #main#main#main .lpd__challenge i {
    display: none;
}

@layer knowledge-blog-hero {
    html body.everklin-transformed #main#main#main:is(.resource-article, .resource-gateway) .anchor-hero {
        min-height: 0 !important;
        padding: 0 0 18px !important;
        background: var(--phone-editorial-paper) !important;
    }

    html body.everklin-transformed #main#main#main:is(.resource-article, .resource-gateway) .anchor-hero::before {
        display: none !important;
    }

    html body.everklin-transformed #main#main#main:is(.resource-article, .resource-gateway) .anchor-hero-grid {
        display: flex !important;
        flex-direction: column;
        align-items: stretch !important;
        gap: 0 !important;
        width: 100% !important;
        max-width: none !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html body.everklin-transformed #main#main#main:is(.resource-article, .resource-gateway) .anchor-hero-media {
        position: relative !important;
        inset: auto !important;
        z-index: auto !important;
        order: -1;
        width: 100% !important;
        height: clamp(170px, 49vw, 310px) !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
    }

    html body.everklin-transformed #main#main#main:is(.resource-article, .resource-gateway) .anchor-hero-media::after {
        display: none !important;
    }

    html body.everklin-transformed #main#main#main:is(.resource-article, .resource-gateway) .anchor-hero-media img {
        display: block;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        filter: none !important;
    }

    html body.everklin-transformed #main#main#main:is(.resource-article, .resource-gateway) .anchor-hero-copy {
        width: calc(100% - 2 * var(--phone-editorial-gutter)) !important;
        min-height: 0 !important;
        margin: 0 auto !important;
        padding: 15px 0 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

}

html body.everklin-transformed #main.sustainability-nova .sn-section-nav > .container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    padding-block: 8px;
    overflow: visible;
}

html body.everklin-transformed #main.sustainability-nova .sn-section-nav a {
    min-height: 44px;
    align-content: center;
    white-space: normal;
}

html body.everklin-transformed #main#main#main > :is(.solutions-hero, .sn-hero, .knowledge-masthead) {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 0 20px !important;
    background: var(--phone-editorial-paper) !important;
}

html body.everklin-transformed #main#main#main > :is(.solutions-hero, .sn-hero, .knowledge-masthead)::after {
    display: none !important;
}

html body.everklin-transformed #main#main#main > :is(.solutions-hero, .sn-hero)::before {
    content: "" !important;
    display: block !important;
    position: relative !important;
    inset: auto !important;
    z-index: auto !important;
    width: 100% !important;
    height: clamp(170px, 49vw, 310px) !important;
    background: var(--phone-cover-image) center / cover no-repeat !important;
    opacity: 1 !important;
    mask-image: none !important;
    transform: none !important;
}

html body.everklin-transformed #main .solutions-hero {
    --phone-cover-image: var(--solutions-hero-image);
}

html body.everklin-transformed #main .sn-hero {
    --phone-cover-image: url("/assets/images/sustainability/sustainability-flagship-hero.png");
}

html body.everklin-transformed #main#main#main > .sn-hero::before {
    background-position: 74% center !important;
}

html body.everklin-transformed #main#main#main :is(.solutions-hero__inner, .sn-hero__inner, .knowledge-masthead__inner) {
    position: relative !important;
    width: calc(100% - 2 * var(--phone-editorial-gutter)) !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 15px 0 0 !important;
}

html body.everklin-transformed #main#main#main :is(.solutions-hero__copy, .sn-hero__copy) {
    width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html body.everklin-transformed #main#main#main .sn-hero__marker {
    display: none;
}

html body.everklin-transformed #main#main#main .knowledge-masthead > img {
    position: static !important;
    display: block;
    width: 100%;
    height: clamp(170px, 49vw, 310px);
    object-fit: cover;
    filter: none;
}

@media (max-width: 360px) {
    html body.everklin-transformed .site-header .brand-logo {
        width: 94px !important;
        max-width: 94px !important;
    }
}

/* Water equipment stays in view while its selected state is described below. */
html body.route-water-treatment #main#main#main .lpd__canvas {
    width: 100%;
    height: auto !important;
    aspect-ratio: var(--lpd-aspect, 1672 / 941);
}

html body.route-water-treatment #main#main#main .lpd__scene-media img {
    object-fit: contain !important;
}

html body.route-water-treatment #main#main#main .lpd__visual-state {
    position: static;
    max-width: none;
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 7px;
    background: #f5f7ed;
}

html body.route-water-treatment #main#main#main .lpd__visual-state strong {
    overflow: visible;
    font-size: 12px;
    line-height: 1.4;
    white-space: normal;
}

html body.route-water-treatment #main#main#main .lpd__hotspot {
    display: grid;
    place-items: center;
    left: clamp(16px, var(--lpd-x), calc(100% - 16px));
    top: clamp(16px, var(--lpd-y), calc(100% - 16px));
    width: 32px;
    height: 32px;
}

html body.route-water-treatment #main#main#main .lpd__component-pin {
    width: 22px;
    height: 22px;
    transform: none;
    box-shadow: 0 1px 4px #1f34264d;
}

html body.route-water-treatment #main#main#main .lpd__component.is-quiet {
    opacity: 0.85;
}

html body.route-water-treatment #main#main#main .lpd__component-pin::after,
html body.route-water-treatment #main#main#main .lpd__component-name {
    display: none;
}

html body.route-water-treatment #main#main#main .lpd__component-pin b {
    color: #fff !important;
    -webkit-text-fill-color: currentColor !important;
    font-size: 10px;
}

html body.route-water-treatment #main#main#main .lpd__component-select:not([hidden]) {
    display: grid !important;
    gap: 5px;
    margin-top: 10px;
    color: var(--phone-editorial-ink);
    font-size: 13px;
    font-weight: 680;
}

html body.route-water-treatment #main .lpd__component-select select {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 6px 10px;
    border: 1px solid #aeba96;
    border-radius: 7px;
    background: #fff;
    color: var(--phone-editorial-ink);
    font-size: 16px;
}

html body.route-water-treatment #main#main#main .lpd__component-select:not([hidden]) + .lpd__visual-help {
    display: none;
}

html body.route-water-treatment #main#main#main .lpd__panel-copy p {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    line-clamp: none;
}

/* Compact Company navigation, image sections, and labelled certificate rows. */
html body.everklin-transformed #main.company-about-flagship .anchor-section {
    padding: 28px 16px !important;
    scroll-margin-top: 86px;
}

html body.everklin-transformed #main.company-about-flagship :is(.anchor-section-grid, .anchor-card-grid, .company-innovation-loop) {
    gap: 12px !important;
}

html body.everklin-transformed #main.company-about-flagship .anchor-section h2 {
    max-width: none;
    font-size: clamp(25px, 7.15vw, 36px) !important;
}

html body.everklin-transformed #main.company-about-flagship .anchor-card {
    padding: 14px !important;
    min-height: 0;
}

html body.everklin-transformed #main.company-about-flagship #vision-mission .anchor-image-card {
    height: clamp(138px, 43vw, 242px) !important;
}

html body.everklin-transformed #main.company-about-flagship #our-journey .company-journey-map {
    padding: 12px;
}

html body.everklin-transformed #main.company-about-flagship #our-journey .company-journey-map__toolbar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

html body.everklin-transformed #main.company-about-flagship #our-journey .company-journey-map__nodes {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-flow: row;
    gap: 5px;
    overflow: visible;
}

html body.everklin-transformed #main.company-about-flagship #our-journey .company-journey-map__nodes button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 4px 2px;
}

html body.everklin-transformed #main.company-about-flagship #our-journey .company-journey-map__detail {
    padding: 12px;
}

@media (max-width: 680px) {
    html body.everklin-transformed #main.company-about-flagship .ek-inner-home-hero {
        --about-mobile-image-height: clamp(164px, 45vw, 248px);
        background-size: auto var(--about-mobile-image-height);
    }

    html body.everklin-transformed #main.company-about-flagship .ek-inner-home-hero::before {
        background: linear-gradient(180deg, transparent 0, transparent 100px, #f8f9f1 var(--about-mobile-image-height), #f8f9f1 100%);
    }

    html body.everklin-transformed #main.company-about-flagship .ek-inner-home-hero__inner {
        padding: calc(var(--about-mobile-image-height) - 22px) 16px 16px;
    }

    html body.everklin-transformed #main.company-about-flagship .ek-inner-home-hero__panel {
        padding: 16px;
    }

    html body.everklin-transformed #main.company-about-flagship .ek-inner-home-hero__panel h1 {
        font-size: clamp(30px, 8vw, 42px) !important;
    }

    html body.everklin-transformed #main.company-about-flagship .anchor-metrics {
        margin-top: 12px;
    }
}

html body.everklin-transformed #main.company-profile .company-profile-masthead > img {
    height: clamp(134px, 39vw, 225px);
}

html body.everklin-transformed #main.company-profile .company-profile-masthead {
    padding-bottom: 12px;
}

html body.everklin-transformed #main.company-profile .company-profile-section__intro {
    margin-bottom: 12px;
}

html body.everklin-transformed #main.company-profile .company-profile-section {
    padding: 13px;
    scroll-margin-top: 86px;
}

html body.everklin-transformed #main.company-profile .company-profile-section--split {
    gap: 12px;
}

html body.everklin-transformed #main.company-profile :is(.company-profile-card, .company-profile-note, .company-profile-subsection) {
    padding: 12px;
}

html body.everklin-transformed #main.company-profile .company-profile-image img {
    aspect-ratio: 16 / 8;
    object-fit: cover;
}

html body.everklin-transformed #main.company-profile .company-profile-proof img {
    width: 65px;
    height: 50px;
    margin-bottom: 6px;
}

@media (max-width: 640px) {
    html body.everklin-transformed #main.company-profile .company-profile-register tbody > tr {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 2px 8px;
        margin: 0;
        padding: 10px 8px;
        border: 0;
        border-bottom: 1px solid var(--phone-editorial-line);
        border-radius: 0;
        background: #fff;
        font-size: 13px;
        line-height: 1.35;
    }

    html body.everklin-transformed #main.company-profile .company-profile-register tbody > tr:last-child {
        border-bottom: 0;
    }

    html body.everklin-transformed #main.company-profile .company-profile-register tbody > tr > th {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 2px 8px;
        font-size: 14px;
    }

    html body.everklin-transformed #main.company-profile .company-profile-register small {
        margin: 0;
        font-size: 11px;
    }

    html body.everklin-transformed #main.company-profile .company-profile-register__label {
        display: inline;
        margin-right: 4px;
        padding: 0;
        font-size: 11px;
    }

    html body.everklin-transformed #main.company-profile .company-profile-register td:nth-child(2) .company-profile-register__label {
        display: none;
    }

    html body.everklin-transformed #main.company-profile .company-profile-register td:nth-child(n+3) {
        margin-top: 3px;
        padding: 3px 4px;
        border-radius: 4px;
        background: #f1f4e9;
        font-size: 11px;
    }
}

/* Keep each homepage group together, with clear labels and no horizontal rail. */
html body.everklin-transformed #main#main#main.corp-home .corp-business-grid,
html body.everklin-transformed #main#main#main.corp-home .corp-impact__tiles {
    display: grid !important;
    grid-auto-flow: row !important;
    grid-auto-columns: auto !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: none !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    scroll-snap-type: none;
}

html body.everklin-transformed #main#main#main.corp-home .corp-business,
html body.everklin-transformed #main#main#main.corp-home .corp-impact__tiles > a {
    display: block !important;
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    border: 1px solid var(--phone-editorial-line) !important;
    border-radius: 9px !important;
    background: #fff !important;
    box-shadow: none !important;
}

html body.everklin-transformed #main#main#main.corp-home .corp-business--water {
    grid-column: 1 / -1 !important;
}

html body.everklin-transformed #main#main#main.corp-home .corp-business::after,
html body.everklin-transformed #main#main#main.corp-home .corp-impact__tiles > a::after {
    display: none !important;
}

html body.everklin-transformed #main#main#main.corp-home :is(.corp-business, .corp-impact__tiles > a) img {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: clamp(64px, 18vw, 140px) !important;
    object-fit: cover !important;
    filter: none !important;
}

html body.everklin-transformed #main#main#main.corp-home .corp-business--water img {
    height: clamp(86px, 26vw, 165px) !important;
}

html body.everklin-transformed #main#main#main.corp-home .corp-business__content {
    position: static !important;
    display: block !important;
    min-height: 44px;
    padding: 0 !important;
    background: #fff !important;
}

html body.everklin-transformed #main#main#main.corp-home .corp-business__content > :is(h3, p, b) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip-path: inset(50%);
    white-space: nowrap;
}

html body.everklin-transformed #main#main#main.corp-home .corp-business__content > span,
html body.everklin-transformed #main#main#main.corp-home .corp-impact__tiles > a > span {
    position: static !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    min-height: 44px;
    padding: 5px 8px !important;
    margin: 0 !important;
    background: #fff !important;
    color: var(--phone-editorial-ink) !important;
    -webkit-text-fill-color: currentColor !important;
    font-size: clamp(12px, 3.25vw, 16px) !important;
    font-weight: 720;
    line-height: 1.22 !important;
    letter-spacing: 0;
    text-transform: none;
}

html body.everklin-transformed #main#main#main.corp-home .corp-business__content > span::after,
html body.everklin-transformed #main#main#main.corp-home .corp-impact__tiles > a > span::after {
    content: '';
    flex: 0 0 5px;
    height: 5px;
    margin: 0 2px 0 0;
    color: var(--phone-editorial-ink);
    border-top: 1.5px solid;
    border-right: 1.5px solid;
    transform: rotate(45deg);
}
