/* Modern shared footer. The footer markup, menus and runtime scripts remain in footer.php. */

body #footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 0;
    background:
        radial-gradient(circle at 94% 4%, rgba(255, 255, 255, 0.045) 0 118px, transparent 119px),
        radial-gradient(circle at 94% 4%, transparent 0 155px, rgba(255, 255, 255, 0.025) 156px 195px, transparent 196px),
        linear-gradient(145deg, #294853 0%, #203d48 54%, #19343e 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body #footer > .container,
body #copyRight > .container {
    width: min(1160px, calc(100% - 48px));
    max-width: 1160px;
    margin-inline: auto;
    padding-inline: 0;
}

body #footer > .container {
    padding-block: 46px 48px;
}

/* Bootstrap's clearfix pseudo-elements become grid items unless explicitly removed. */
body #footer .container > .row::before,
body #footer .container > .row::after {
    display: none;
    content: none;
}

body #footer .container > .row {
    display: grid;
    grid-template-columns: 1.14fr repeat(3, minmax(0, 1fr));
    column-gap: 34px;
    row-gap: 0;
    margin: 0;
}

body #footer .container > .row + .row {
    position: relative;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 34px;
    margin-top: 36px;
    padding-top: 38px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

body #footer .container > .row > [class*="col-"] {
    float: none;
    width: auto;
    min-width: 0;
    padding: 0;
}

body #footer .container > .row > b {
    display: none !important;
}

/* A restrained payment rail rather than another large card. */
body #footer .container > .row:first-child > div:first-child {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    margin: 0 0 38px !important;
    padding: 11px 22px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 13px;
    box-shadow: 0 12px 34px rgba(7, 27, 35, 0.18);
}

body #footer .container > .row:first-child > div:first-child img {
    display: block;
    width: min(530px, 100%) !important;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Flat information columns: no card soup. */
body #footer .footer-box {
    height: 100%;
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.74);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

body #footer .container > .row:first-child > div:nth-child(n + 3),
body #footer .container > .row:nth-child(2) > div:nth-child(n + 2) {
    padding-left: 32px;
    border-left: 1px solid rgba(255, 255, 255, 0.11);
}

body #footer .footer-heading,
body #footer .footer-heading a {
    margin: 0;
    color: #ffffff !important;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

body #footer .section-seperator {
    display: block;
    width: 26px;
    height: 2px;
    margin: 11px 0 0;
    background: #e34a6e;
    border-radius: 999px;
}

body #footer .section-seperator span {
    display: none;
}

/* The second and third language columns intentionally contain blank headings. */
body #footer .container > .row:first-child > div:nth-child(4) .footer-heading,
body #footer .container > .row:first-child > div:nth-child(4) .section-seperator,
body #footer .container > .row:first-child > div:nth-child(5) .footer-heading,
body #footer .container > .row:first-child > div:nth-child(5) .section-seperator {
    visibility: hidden;
}

body #footer .footer-text {
    margin-top: 17px;
    color: rgba(255, 255, 255, 0.71);
    font-size: 12.5px;
    line-height: 1.58;
}

body #footer .footer-text p {
    margin: 0;
    color: inherit;
    line-height: inherit;
}

body #footer .footer-text p + p {
    margin-top: 12px;
}

/* Remove legacy spacer paragraphs without removing real content. */
body #footer .container > .row:first-child > div:nth-child(2) .footer-text > p:nth-child(2),
body #footer .container > .row:nth-child(2) > div:nth-child(4) .footer-text > p:nth-of-type(3),
body #footer .container > .row:nth-child(2) > div:nth-child(4) .footer-text > p:nth-of-type(5) {
    height: 0;
    margin: 0;
    overflow: hidden;
    line-height: 0;
}

body #footer .footer-text ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

body #footer .footer-text ul li {
    margin: 0 0 4px;
    padding: 0;
    line-height: 1.42;
}

body #footer .footer-text ul li a,
body #footer .footer-text p a {
    display: inline;
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: inherit;
    line-height: inherit;
    text-underline-offset: 3px;
    transition: color 150ms ease;
}

body #footer .footer-text ul li a:hover,
body #footer .footer-text ul li a:focus-visible,
body #footer .footer-text p a:hover,
body #footer .footer-text p a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: #ef7591;
}

body #footer .intouch p i.fa {
    color: #ef6b8a;
}

body #footer .intouch p a {
    padding-left: 3px;
}

body #footer .intouch .footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

body #footer .intouch .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    box-shadow: none;
}

body #footer .intouch .footer-social a:hover,
body #footer .intouch .footer-social a:focus-visible {
    color: #ffffff;
    background: #cb264d;
    border-color: #cb264d;
    box-shadow: 0 7px 18px rgba(203, 38, 77, 0.24);
}

body #footer .intouch .footer-social a i.fa {
    color: inherit;
    line-height: 1;
}

body #copyRight {
    padding: 27px 0 30px;
    background: #112a33;
    border-top: 1px solid rgba(255, 255, 255, 0.075);
}

body #copyRight .row {
    margin: 0;
}

body #copyRight p {
    max-width: 1060px;
    margin: 0 auto 7px !important;
    color: rgba(255, 255, 255, 0.52);
    font-size: 10.5px;
    line-height: 1.55;
}

body #copyRight p:first-child {
    margin-bottom: 12px !important;
    color: rgba(255, 255, 255, 0.86);
    font-size: 11.5px;
    font-weight: 600;
}

body #copyRight p:last-child {
    margin-bottom: 0 !important;
}

body #copyRight a {
    color: #ec7893;
    text-decoration: none;
    text-underline-offset: 3px;
}

body #copyRight a:hover,
body #copyRight a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

@media (max-width: 991px) {
    body #footer .container > .row,
    body #footer .container > .row + .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 28px;
        row-gap: 32px;
    }

    body #footer .container > .row:first-child > div:first-child {
        grid-column: 1 / -1;
    }

    body #footer .container > .row:first-child > div:nth-child(4),
    body #footer .container > .row:nth-child(2) > div:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 640px) {
    body #footer > .container,
    body #copyRight > .container {
        width: min(100% - 30px, 1160px);
    }

    body #footer > .container {
        padding-block: 34px 38px;
    }

    body #footer .container > .row,
    body #footer .container > .row + .row {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 27px;
    }

    body #footer .container > .row + .row {
        margin-top: 31px;
        padding-top: 32px !important;
    }

    body #footer .container > .row:first-child > div:first-child {
        grid-column: auto;
        min-height: 58px;
        margin-bottom: 3px !important;
        padding: 10px 14px;
        border-radius: 11px;
    }

    body #footer .container > .row:first-child > div:first-child img {
        width: min(470px, 100%) !important;
    }

    body #footer .container > .row:first-child > div:nth-child(n + 3),
    body #footer .container > .row:nth-child(2) > div:nth-child(n + 2) {
        padding-left: 0;
        border-left: 0;
    }

    body #footer .container > .row:first-child > div:nth-child(4) .footer-heading,
    body #footer .container > .row:first-child > div:nth-child(4) .section-seperator,
    body #footer .container > .row:first-child > div:nth-child(5) .footer-heading,
    body #footer .container > .row:first-child > div:nth-child(5) .section-seperator {
        display: none;
        visibility: visible;
    }

    body #footer .container > .row:first-child > div:nth-child(4) .footer-text,
    body #footer .container > .row:first-child > div:nth-child(5) .footer-text {
        margin-top: 0;
    }

    body #copyRight {
        padding: 24px 0 27px;
    }

    body #copyRight p {
        font-size: 10px;
        line-height: 1.55;
    }
}
