body.uoph-has-public-footer > #site-footer.site-footer {
    display: none !important;
}

.uoph-footer {
    --uoph-footer-bg: #191816;
    --uoph-footer-ink: #fff;
    --uoph-footer-muted: rgb(255 255 255 / 64%);
    inline-size: 100vw;
    max-inline-size: none;
    margin-inline: calc(50% - 50vw);
    color: var(--uoph-footer-ink);
    background: var(--uoph-footer-bg);
    font-family: "UOPH Gilroy", "UOPH Gilroy Fallback", Arial, Helvetica, sans-serif;
    font-weight: 400;
}

.uoph-footer *,
.uoph-footer *::before,
.uoph-footer *::after { box-sizing: border-box; }

.uoph-footer__inner {
    inline-size: min(100%, 100rem);
    margin-inline: auto;
    padding: clamp(4rem, 8vw, 8rem) max(1.5rem, 6vw) clamp(2rem, 4vw, 4rem);
}

.uoph-footer__grid {
    display: grid;
    grid-template-columns: repeat(var(--uoph-footer-column-count, 4), minmax(0, 1fr));
    gap: clamp(2.5rem, 5vw, 6rem);
}

.uoph-footer__heading {
    margin: 0 0 1.5rem;
    color: var(--uoph-footer-ink);
    font: 800 clamp(1.25rem, 1.8vw, 1.75rem) / 1 "UOPH Gilroy", "UOPH Gilroy Fallback", Arial, Helvetica, sans-serif;
    text-align: center;
}

.uoph-footer .uoph-footer__heading > button,
.uoph-footer .uoph-footer__heading > button:hover,
.uoph-footer .uoph-footer__heading > button:focus,
.uoph-footer .uoph-footer__heading > button:focus-visible,
.uoph-footer .uoph-footer__heading > button:active {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    inline-size: 100%;
    min-block-size: 2.75rem;
    padding: 0;
    border: 0 !important;
    border-color: transparent !important;
    border-radius: 0 !important;
    color: var(--uoph-footer-ink) !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    outline: 0 !important;
    font: inherit;
    text-align: center;
    text-decoration: none !important;
    text-shadow: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.uoph-footer__links,
.uoph-footer__socials,
.uoph-footer__payments {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.uoph-footer__links { flex-direction: column; align-items: center; gap: 0.8rem; }
.uoph-footer a { color: inherit; text-decoration: none; }
.uoph-footer a:hover,
.uoph-footer a:focus-visible { text-decoration: underline; text-underline-offset: 0.25em; }

.uoph-footer .uoph-footer__content-link,
.uoph-footer .uoph-footer__content-link:hover,
.uoph-footer .uoph-footer__content-link:focus,
.uoph-footer .uoph-footer__content-link:focus-visible,
.uoph-footer .uoph-footer__content-link:active {
    appearance: none;
    -webkit-appearance: none;
    display: inline-block;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-color: transparent !important;
    border-radius: 0 !important;
    color: #fff !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    outline: 0 !important;
    font: inherit;
    text-align: center;
    text-decoration: none !important;
    text-shadow: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.uoph-footer__content-overlay .uoph-editorial-content__intro h2 {
    font-family: "UOPH Gilroy", "UOPH Gilroy Fallback", Arial, Helvetica, sans-serif;
    font-size: clamp(2.125rem, 4.8vw, 4.625rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.98;
}

.uoph-footer__content-overlay .uoph-editorial-content__article h2,
.uoph-footer__content-overlay .uoph-editorial-content__article h3 {
    font-size: clamp(1.35rem, 1.86vw, 1.875rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.uoph-footer__newsletter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    border-block-end: 1px solid rgb(255 255 255 / 42%);
}

.uoph-footer__newsletter input,
.uoph-footer__newsletter button {
    min-inline-size: 0;
    padding: 0.75rem 0;
    border: 0;
    color: var(--uoph-footer-ink);
    background: transparent;
    font: inherit;
}

.uoph-footer__newsletter input::placeholder { color: var(--uoph-footer-muted); }
.uoph-footer__newsletter button { padding-inline-start: 1rem; font-family: "UOPH Gilroy", "UOPH Gilroy Fallback", Arial, Helvetica, sans-serif; font-weight: 700; cursor: pointer; }

.uoph-footer__socials {
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-block-start: 1.75rem;
}

.uoph-footer__socials a {
    display: grid;
    min-inline-size: 2.75rem;
    min-block-size: 2.75rem;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 36%);
    border-radius: 50%;
}

.uoph-footer__social-icon {
    display: block;
    inline-size: 1.25rem;
    block-size: 1.25rem;
    object-fit: contain;
}

.uoph-footer__bottom {
    display: grid;
    grid-template-columns: 1.4fr 1fr auto;
    align-items: end;
    gap: 2rem;
    margin-block-start: clamp(4rem, 8vw, 8rem);
    padding-block-start: 2rem;
    border-block-start: 1px solid rgb(255 255 255 / 22%);
    color: var(--uoph-footer-muted);
    font-size: 0.875rem;
}

.uoph-footer__identity p { margin: 0; }
.uoph-footer__identity p + p { margin-block-start: 0.5rem; }
.uoph-footer__utility { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; }
.uoph-footer__locale { white-space: nowrap; }
.uoph-footer__payments { flex-wrap: wrap; justify-content: flex-end; gap: 0.65rem; }
.uoph-footer__payments .uoph-footer__payment-icon {
    display: block;
    inline-size: auto;
    block-size: 1.5rem;
    max-inline-size: 3.75rem;
    object-fit: contain;
}

@media (max-width: 63.9375rem) {
    .uoph-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .uoph-footer__bottom { grid-template-columns: 1fr 1fr; }
    .uoph-footer__payments { justify-content: flex-start; }
}

@media (max-width: 47.99rem) {
    .uoph-footer__grid,
    .uoph-footer__bottom { grid-template-columns: 1fr; }
    .uoph-footer__grid { gap: 2.75rem; }
    .uoph-footer__bottom { align-items: start; }
}
