/*
 * Relaunch footer 848.
 * The rendered Footer 848 content is injected directly into .l-footer.
 * :has(.ingium-footer__inner) keeps the outer-surface rule scoped to 848;
 * the legacy Footer 617 has no such descendant and remains untouched.
 */

.l-footer:has(.ingium-footer__inner) {
    --ingium-footer-bg: #ececea;
    --ingium-footer-text: #252525;
    --ingium-footer-muted: #555555;
    --ingium-footer-border: #dadad7;
    --ingium-footer-accent: #990000;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #d8d8d3;
    background: var(--ingium-footer-bg);
    color: var(--ingium-footer-text);
}

.ingium-footer.l-section {
    padding: 0;
}

.ingium-footer .l-section-h,
.ingium-footer .g-cols,
.ingium-footer .vc_column_container,
.ingium-footer .vc_column-inner,
.ingium-footer .wpb_wrapper {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.ingium-footer__inner {
    width: min(100%, 1440px);
    margin: 0 auto;
    padding: clamp(42px, 4vw, 56px) clamp(24px, 5vw, 72px) 16px;
    position: relative;
    z-index: 1;
}

.ingium-footer__sr-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ingium-footer__main {
    display: grid;
    grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.25fr);
    gap: clamp(40px, 7vw, 104px);
    align-items: start;
    position: relative;
}

.ingium-footer__brand,
.ingium-footer__navigation {
    min-width: 0;
    position: relative;
    z-index: 1;
}

.ingium-footer__brand {
    grid-column: 1;
    grid-row: 1;
    max-width: 520px;
}

.ingium-footer__logo {
    display: inline-flex;
    max-width: 210px;
    line-height: 0;
}

.ingium-footer__logo img {
    display: block;
    width: 100%;
    height: auto;
}

.ingium-footer__claim {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin: 18px 0 0;
    color: var(--ingium-footer-text);
    font-size: clamp(20px, 2vw, 24px);
    line-height: 1.2;
    font-weight: 600;
}

.ingium-footer__claim-it {
    display: block;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
}

.ingium-footer__claim-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ingium-footer__claim > span:last-child {
    position: relative;
    top: 2px;
}

.ingium-footer__intro {
    max-width: 390px;
    margin: 16px 0 0;
    color: var(--ingium-footer-muted);
    font-size: 16px;
    line-height: 1.6;
}

.ingium-footer__contact {
    display: grid;
    gap: 6px;
    margin: 18px 0 0;
    font-style: normal;
    font-size: 15px;
    line-height: 1.55;
}

.ingium-footer__contact a {
    display: inline-flex;
    align-items: baseline;
    gap: 12px;
    width: fit-content;
}

.ingium-footer__contact-label {
    flex: 0 0 58px;
    color: var(--ingium-footer-muted);
    font-weight: 600;
}

.l-footer:has(.ingium-footer__inner) a {
    color: var(--ingium-footer-text);
    text-decoration: none;
}

.l-footer:has(.ingium-footer__inner) a:hover {
    color: var(--ingium-footer-accent);
    text-decoration: underline;
    text-decoration-color: var(--ingium-footer-accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.l-footer:has(.ingium-footer__inner) a:focus-visible {
    outline: 2px solid var(--ingium-footer-accent);
    outline-offset: 4px;
    border-radius: 2px;
}

.ingium-footer__cta {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--ingium-footer-text);
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
}

.ingium-footer__cta span {
    color: var(--ingium-footer-accent);
    transition: transform 160ms ease;
}

.ingium-footer__cta:hover {
    text-decoration: none;
}

.ingium-footer__cta:hover span {
    transform: translateX(3px);
}

.ingium-footer__navigation {
    grid-column: 2;
    grid-row: 1;
    padding-top: 4px;
}

.ingium-footer__groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 64px);
    max-width: 680px;
}

.ingium-footer__group {
    min-width: 0;
}

.ingium-footer__group h3 {
    margin: 0 0 14px;
    color: var(--ingium-footer-text);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ingium-footer__links {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ingium-footer__links a {
    display: inline-block;
    color: var(--ingium-footer-muted);
    font-size: 15px;
    line-height: 1.5;
}

.ingium-footer__signet {
    position: absolute;
    right: -190px;
    bottom: -150px;
    z-index: 0;
    width: clamp(280px, 24vw, 390px);
    line-height: 0;
    pointer-events: none;
    user-select: none;
}

.ingium-footer__signet img {
    display: block;
    width: 100%;
    height: auto;
    filter: grayscale(1);
    opacity: 0.36;
}

.ingium-footer__bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: clamp(28px, 3vw, 36px);
    padding: 16px 0 0;
    border-top: 1px solid #d2d2cd;
    color: var(--ingium-footer-muted);
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 1199px) {
    .ingium-footer__inner {
        padding-top: 44px;
    }

    .ingium-footer__main {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .ingium-footer__brand,
    .ingium-footer__navigation {
        grid-column: auto;
        grid-row: auto;
    }

    .ingium-footer__brand {
        max-width: 620px;
    }

    .ingium-footer__navigation {
        padding-top: 0;
    }

    .ingium-footer__groups {
        max-width: none;
        gap: 32px;
    }
}

@media (max-width: 900px) {
    .ingium-footer__groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 42px;
    }
}

@media (max-width: 767px) {
    .ingium-footer__inner {
        padding: 36px 24px 32px;
    }

    .ingium-footer__main {
        gap: 28px;
    }

    .ingium-footer__logo {
        max-width: 200px;
    }

    .ingium-footer__claim {
        margin-top: 14px;
        font-size: 22px;
    }

    .ingium-footer__intro {
        margin-top: 16px;
        font-size: 15px;
    }

    .ingium-footer__contact {
        margin-top: 18px;
    }

    .ingium-footer__cta {
        margin-top: 18px;
    }

    .ingium-footer__signet {
        right: -92px;
        bottom: -140px;
        width: min(310px, 88vw);
    }

    .ingium-footer__groups {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .ingium-footer__group h3 {
        margin-bottom: 11px;
    }

    .ingium-footer__links {
        gap: 8px;
    }

    .ingium-footer__links a {
        font-size: 15px;
        line-height: 1.55;
    }

    .ingium-footer__bottom {
        display: block;
        margin-top: 26px;
        font-size: 13px;
    }
}

@media (max-width: 359px) {
    .ingium-footer__inner {
        padding-inline: 20px;
    }

    .ingium-footer__signet {
        right: -116px;
        bottom: -132px;
        width: min(270px, 88vw);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ingium-footer__cta span {
        transition: none;
    }
}

/* 8Z.1: Legal documents. This loaded Relaunch sheet carries page-scoped rules only. */
body:is(.page-id-48, .page-id-88, .page-id-709, .page-id-799) .l-main {
    --ingium-legal-red: #990000;
}

body:is(.page-id-48, .page-id-88, .page-id-709) .l-main .l-section-h > .g-cols.vc_row {
    max-width: 902px; /* 860px reading column plus the existing 21px column gutters. */
}

body:is(.page-id-48, .page-id-88, .page-id-709) .l-main .wpb_wrapper,
body.page-id-799 .l-main #cmplz-document {
    color: #252525;
    font-size: 17px;
    line-height: 1.56;
    text-align: left;
}

body:is(.page-id-48, .page-id-88, .page-id-709) .l-main p,
body:is(.page-id-48, .page-id-88, .page-id-709) .l-main li,
body.page-id-799 .l-main #cmplz-document p,
body.page-id-799 .l-main #cmplz-document li {
    font-size: 17px;
    line-height: 1.56;
}

body:is(.page-id-48, .page-id-88, .page-id-709) .l-main p,
body.page-id-799 .l-main #cmplz-document p {
    margin-bottom: 18px;
}

body:is(.page-id-48, .page-id-88, .page-id-709, .page-id-799) .l-main :is(h1, h2, h3) {
    hyphens: none;
    -webkit-hyphens: none;
    word-break: normal;
    overflow-wrap: normal;
    text-align: left;
}

body:is(.page-id-48, .page-id-88, .page-id-709) .l-main h1 {
    font-size: clamp(36px, 3.2vw, 46px);
    line-height: 1.1;
    margin-bottom: 28px;
}

body:is(.page-id-48, .page-id-88, .page-id-709) .l-main h2 {
    font-size: clamp(30px, 2.7vw, 36px);
    line-height: 1.16;
    margin: 54px 0 20px;
}

body:is(.page-id-48, .page-id-88, .page-id-709) .l-main h3 {
    font-size: clamp(24px, 2.1vw, 28px);
    line-height: 1.2;
    margin: 36px 0 18px;
}

body:is(.page-id-48, .page-id-88, .page-id-709) .l-main li {
    margin-bottom: 8px;
}

body:is(.page-id-48, .page-id-88, .page-id-709, .page-id-799) .l-main a:not(.w-btn) {
    color: var(--ingium-legal-red);
    text-decoration: underline;
    text-underline-offset: .13em;
}

body:is(.page-id-48, .page-id-88, .page-id-709, .page-id-799) .l-main a:not(.w-btn):is(:hover, :focus-visible) {
    text-decoration-thickness: 2px;
}

body.page-id-48 .l-main .l-section:nth-of-type(2) {
    padding-block: 18px;
}

body.page-id-48 .l-main .l-section:nth-of-type(2) .w-separator {
    margin-block: 0;
}

body.page-id-799 .l-main h1 {
    font-size: clamp(34px, 2.8vw, 42px) !important; /* Builder title uses !important. */
    line-height: 1.1;
}

body.page-id-799 .l-main #cmplz-document {
    max-width: 800px;
}

body.page-id-799 .l-main #cmplz-document h2 {
    font-size: clamp(28px, 2.3vw, 34px);
    line-height: 1.17;
    margin: 54px 0 20px;
}

body.page-id-799 .l-main #cmplz-document h3 {
    font-size: clamp(23px, 1.9vw, 27px);
    line-height: 1.2;
    margin: 36px 0 18px;
}

body.page-id-799 .l-main #cmplz-document :is(h4, h5) {
    font-size: 16px;
    line-height: 1.4;
}

body.page-id-799 .l-main #cmplz-document details {
    max-width: 100%;
}

body.page-id-799 .l-main #cmplz-document .cookies-per-purpose {
    max-width: 100%;
    min-width: 0;
}

body.page-id-799 .l-main #cmplz-document .cookies-per-purpose :is(.name, .retention, .function) {
    min-width: 0;
    overflow-wrap: anywhere;
}

body.page-id-799 .l-main #cmplz-document .cookies-per-purpose :is(.name, .retention, .function) a {
    overflow-wrap: anywhere;
}

@media (max-width: 767px) {
    body.page-id-799 .l-main #cmplz-document summary.cmplz-service-header > div {
        grid-template-columns: minmax(0, 1fr) 24px;
        grid-template-areas: 'heading toggle' 'paragraph toggle';
        column-gap: 10px;
    }

    body.page-id-799 .l-main #cmplz-document summary.cmplz-service-header input {
        grid-area: toggle;
        justify-self: end;
        align-self: center;
    }

    body.page-id-799 .l-main #cmplz-document summary.cmplz-service-header label {
        grid-area: toggle;
        justify-self: end;
    }
}

@media (max-width: 767px) {
    body:is(.page-id-48, .page-id-88, .page-id-709) .l-main h1 {
        font-size: 35px;
    }

    body:is(.page-id-48, .page-id-88, .page-id-709) .l-main h2 {
        font-size: 29px;
    }

    body:is(.page-id-48, .page-id-88, .page-id-709) .l-main h3 {
        font-size: 23px;
    }

    body.page-id-799 .l-main h1 {
        font-size: 33px !important;
    }

    body.page-id-799 .l-main #cmplz-document h2 {
        font-size: 27px;
    }

    body.page-id-799 .l-main #cmplz-document h3 {
        font-size: 22px;
    }
}

@media (max-width: 390px) {
    /* The two unbreakable legal-title words cannot fit at 35px without clipping. */
    body.page-id-88 .l-main h1 {
        font-size: clamp(22.6px, calc(8.6vw - 4.9px), 28.7px);
    }

    body.page-id-88 .l-main h2 {
        font-size: clamp(21px, calc(8.6vw - 6.5px), 27px);
    }

    body.page-id-709 .l-main h1 {
        font-size: clamp(25px, calc(9.8vw - 6.36px), 31.7px);
    }

    body.page-id-709 .l-main h2 {
        font-size: clamp(23px, calc(8vw - 2.6px), 28px);
    }
}

@media (max-width: 340px) {
    body:is(.page-id-48, .page-id-88) .l-main .wpb_wrapper p {
        overflow-wrap: break-word;
    }

    body.page-id-48 .l-main h2 {
        font-size: 28px;
    }

    body.page-id-709 .l-main h3,
    body.page-id-799 .l-main #cmplz-document h3 {
        font-size: 21px;
    }
}

/* 8AK.17f: keep the footer phone value on one line in Firefox. */
.ingium-footer__contact a[href="tel:+4319974212"] > span:last-child {
    flex: 0 0 auto;
    white-space: nowrap;
}
