.vp-custom-footer {
    position: relative;
    isolation: isolate;
    background: var(--footer-bg);
    color: var(--footer-fg);
    overflow-wrap: anywhere;
    font-weight: var(--footer-text-weight, 400);
}

.vp-custom-footer-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vp-custom-footer-grid,
.vp-footer-bottom-wrap {
    max-width: var(--footer-max-width, 1120px);
    margin-inline: auto;
}
.vp-custom-footer-grid { display: grid; gap: var(--footer-gap); }
.vp-footer-layout-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--footer-gap);
}
.vp-footer-layout-center .vp-footer-layout-row { justify-content: center; }
.vp-footer-layout-end .vp-footer-layout-row { justify-content: flex-end; }
.vp-footer-layout-space-between .vp-footer-layout-row { justify-content: space-between; }
.vp-custom-footer-column { flex: 1 1 min(8rem, 100%); min-width: 0; }
.vp-footer-fixed-column {
    flex: 0 1 max(min(8rem, 100%), calc((100% - var(--footer-gap) * var(--footer-gap-count)) * var(--footer-width-ratio)));
}
.vp-footer-inline-brand { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; margin-bottom: .75rem; }
.vp-footer-inline-brand > .vp-custom-footer-brand,
.vp-custom-footer .vp-footer-inline-brand > h2 { margin: 0; }
.vp-footer-link-groups-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }

.vp-custom-footer-column h2 { font-size: 1.3rem; margin: 0 0 .65rem; color: var(--footer-heading); font-weight: var(--footer-heading-weight, 700); }
.vp-custom-footer-column p { margin: 0 0 .75rem; color: inherit; }
.vp-custom-footer-column .vp-custom-footer-subtitle { font-weight: inherit; }
.vp-custom-footer a:not(.vp-custom-footer-button),
.vp-custom-footer-bottom button,
.vp-custom-footer-cookie-link {
    color: var(--footer-link);
    text-decoration: var(--footer-link-decoration);
    font-weight: var(--footer-link-weight, 400);
}
.vp-custom-footer a:not(.vp-custom-footer-button):is(:hover, :focus-visible),
.vp-custom-footer-bottom button:is(:hover, :focus-visible),
.vp-custom-footer-cookie-link:is(:hover, :focus-visible) {
    color: var(--footer-link-hover);
    text-decoration: var(--footer-link-hover-decoration);
}
.vp-custom-footer-brand { display: inline-block; margin-bottom: .75rem; }
.vp-custom-footer-brand img, .vp-custom-footer-brand svg { max-width: 100%; max-height: 70px; width: auto; }
.vp-custom-footer-brand-inverted img, .vp-custom-footer-brand-inverted svg { filter: invert(1); }
.vp-custom-footer-links, .vp-custom-footer-socials { margin: 0; padding: 0; list-style: none; }
.vp-custom-footer-links li + li { margin-top: .4rem; }
.vp-custom-footer-socials { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.vp-custom-footer .vp-custom-footer-button {
    display: inline-block;
    color: var(--footer-button-fg);
    background: var(--footer-button-bg);
    text-decoration: none;
    font-weight: var(--footer-link-weight, 400);
    padding: .35rem .65rem;
    border: 1px solid transparent;
    border-radius: .3rem;
}
.vp-custom-footer .vp-custom-footer-button:is(:hover, :focus-visible) {
    color: var(--footer-button-hover-fg);
    background: var(--footer-button-hover-bg);
}
.vp-footer-rule { display: flex; }
.vp-footer-rule-center { justify-content: center; }
.vp-footer-rule-right { justify-content: flex-end; }
.vp-footer-rule hr {
    width: var(--rule-width);
    margin: 0;
    border: 0;
    border-top: var(--rule-height) solid var(--rule-color);
    opacity: 1;
}
.vp-footer-logo-actions-inline { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.vp-footer-logo-actions-inline .vp-custom-footer-socials { margin-top: 0; }
.vp-custom-footer .vp-footer-social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35em;
    color: var(--social-fg);
    background: var(--social-bg);
    border-color: var(--social-border);
    font-weight: var(--footer-link-weight, 400);
}
.vp-custom-footer .vp-footer-social-button:is(:hover, :focus-visible) {
    color: var(--social-hover-fg);
    background: var(--social-hover-bg);
    border-color: var(--social-hover-border);
}
.vp-footer-social-circle .vp-footer-social-button { border-radius: 50%; }
.vp-footer-social-square .vp-footer-social-button,
.vp-footer-social-rectangle .vp-footer-social-button { border-radius: 0; }
.vp-footer-social-circle .vp-footer-social-button,
.vp-footer-social-square .vp-footer-social-button { aspect-ratio: 1; min-width: 2.5rem; }
.vp-footer-social-button.vp-footer-social-icon-only { padding: 0; width: 2.5rem; height: 2.5rem; }
.vp-footer-social-rectangle .vp-footer-social-icon-only,
.vp-footer-social-rounded .vp-footer-social-icon-only { width: 3rem; }
.vp-custom-footer .carousel-item img, .vp-custom-footer .carousel-item video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
}
.vp-footer-slide-label { padding-top: .35rem; font-size: .85rem; }
.vp-footer-slide-controls { display: flex; gap: .4rem; margin-top: .5rem; }
.vp-custom-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .65rem 1rem;
    font-size: .85rem;
}
.vp-footer-bottom-right { margin-inline-start: auto; text-align: end; }
.vp-footer-bottom-italic { font-style: italic; }
.vp-footer-bottom-wrap { display: flow-root; }
.vp-custom-footer-bottom button,
.vp-custom-footer-cookie-link { background: none; border: 0; padding: 0; }
.vp-footer-page-subtitle { margin-top: .85rem; font-size: 1.15rem; }
@media (max-width: 900px) {
    .vp-custom-footer-column { flex-basis: min(12rem, 100%); flex-grow: 1; }
}
@media (max-width: 540px) {
    .vp-custom-footer-column { flex-basis: 100%; }
}

.vp-footer-layout-four {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (width < 768px) {
    .vp-footer-layout-four > .vp-custom-footer-column:nth-child(-n + 2) {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1200px) {
    .vp-footer-layout-four {
        grid-template-columns: var(--footer-desktop-tracks);
    }
}
