.panel-footer {
    position: relative;
    color: var(--white);
    background-color: var(--dark-gray);
    margin-top: calc(40px + (110 - 40) * ((100vw - 320px) / (1023 - 320)));
}

.panel-footer::after {
    content: "";
    position: absolute;
    left: 0;
    top: calc(-35px + (-70 - -40) * ((100vw - 320px) / (639 - 320)));
    width: calc(245px + (500 - 282) * ((100vw - 320px) / (639 - 320)));
    aspect-ratio: 282 / 158;
    background-image: url(/includes/public/assets/shared/footer_background_mobile.svg);
    background-size: cover;
    pointer-events: none;
}

.panel-footer::before {
    content: "";
    position: absolute;
    width: 100%;
    left: 0;
    top: -8px;
    height: auto;
    aspect-ratio: 375 / 9;
    background-image: url(/includes/public/assets/shared/footer_edge_mobile.svg);
    background-size: cover;
    pointer-events: none;
}

@media (min-width: 40em) {
    .panel-footer::before {
        background-image: url(/includes/public/assets/shared/footer_edge_desktop.svg);
    }
}

@media (min-width: 64em) {
    .panel-footer {
        margin-top: calc(125px + (210 - 125) * ((100vw - 1024px) / (1920 - 1024)));
    }
    .panel-footer::after {
        background-image: url(/includes/public/assets/shared/footer_background_desktop.svg);
        width: calc(702px + (1400 - 702) * ((100vw - 1024px) / (1920 - 1024)));
    }
    .panel-footer::before { top: -22px; }
}
@media (min-width: 1200px) {
    .panel-footer::before { top: -24px; }
}
@media (min-width: 1920px) {
    .panel-footer {
        margin-top: 210px;
    }
    .panel-footer::after {
        width: 1400px;
        top: -185.47px;
    }
}

.panel-footer .cta-container {

}

.panel-footer .cta-container > div:not(:first-child) {
    position: relative;
}

@media (min-width: 64em) {
    .panel-footer .cta-container {
        display: flex;
        grid-column: 1;
        max-width: 935px;
        justify-self: center;
        gap: 25.36px;
    }

    .panel-footer .cta-container > div {
        flex: 1 1 0;
    }

    .panel-footer .cta-container > div:not(:first-child)::before {
        left: 0;
        top: 50%;
        translate: 0 -50%;
        width: 2px;
        height: calc(100% - var(--space-10));
    }
}

.panel-footer .attributions {
    background-color: var(--surface-background);
}

.panel-footer .footer-content-container,
.panel-footer .attribution-content-container {
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.panel-footer .footer-content-container {
    position: relative;
    display: grid;
    gap: var(--space-6);
    padding-top: var(--space-12);
    padding-bottom: var(--space-5);
    max-width: 700px;
}

@media (min-width: 64em) {
    .panel-footer .footer-content-container,
    .panel-footer .attribution-content-container {
        max-width: 1357px;
    }
    .panel-footer .footer-content-container {
        grid-template-columns: 1fr min-content;
        padding: 108px calc(60px + (92 - 60) * ((100vw - 1024px) / (1200 - 1024))) 60px calc(60px + (139 - 60) * ((100vw - 1024px) / (1200 - 1024)));
    }   
    .panel-footer .footer-content-container::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url(/includes/public/assets/shared/footer-bottom-left.svg) left bottom,
                    url(/includes/public/assets/shared/footer-bottom-right.svg) right bottom;
        background-repeat: no-repeat;
        pointer-events: none;
    }
}

@media (min-width: 1200px) {
    .panel-footer .footer-content-container {
        grid-template-columns: 1fr min-content;
        padding: 108px 92px 60px 139px;
    } 
}

.panel-footer .contentRender_name_plugins_core_textbox {
    margin: 0;
    padding: 0;
    max-width: none;
}

.panel-footer .client-details {
    display: grid;
    grid-auto-rows: min-content;
    gap: var(--space-2);
    place-items: center;
}

@media (min-width: 64em) {
    .panel-footer .client-details {
        place-items: end;
        justify-content: center;
        grid-template-columns: min-content max-content;
        gap: 22px;
        margin-left: calc(0px + (90 - 0) * ((100vw - 1024px) / (1440 - 1024)));
        margin-top: var(--space-8);
    }  
    
    .panel-footer .footer-nav {
        grid-column: 1;
        justify-self: center;
    }
}

@media (min-width: 90em) {
    .panel-footer .client-details {
        margin-left: 90px;
    }  
}

.contentRender_name_plugins_common_logo_footer,
.panel-footer .logo-footer a {
    display: block;
    width: 228px;
}

@media (min-width: 64em) {
    .contentRender_name_plugins_common_logo_footer,
    .panel-footer .logo-footer a {
        width: 402px;
    }
}

.panel-footer .logo-footer img {
    display: block;
    width: 100%;
    height: auto;
}

.panel-footer .client-details p {
    font-size: var(--text-xl);
    font-style: italic;
    text-align: center;
    line-height: var(--leading-snug);
    color: var(--off-white);
    margin-bottom: unset;
}

@media (min-width: 64em) {
    .panel-footer .client-details p {
        text-align: left;
    }
}

.panel-footer .social-media {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-2);
}

@media (min-width: 64em) {
    .panel-footer .social-media {
        grid-row: 1 / span 3;
        grid-column: 2;
        align-items: start;
    }
}

.panel-footer .attribution-content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding-top: var(--space-2);
    padding-bottom: 35px;
}

@media (min-width: 64em) {
    .panel-footer .attribution-content-container {
        flex-direction: row;
        justify-content: space-between;
        max-width: 1380px;
        padding-top: var(--space-10);
    }   
}

.panel-footer .attribution-content-container p {
    font-size: var(--text-sm);
    line-height: var(--leading-snug);
    color: var(--off-white);
    text-transform: uppercase;
}

@media (min-width: 64em) {
    .panel-footer .attribution-content-container p {
        font-size: var(--text-base);
    }
}

.panel-footer .made-by-sv {
    display: block;
    width: 185px;
}

.panel-footer .made-by-sv img {
    display: block;
    width: 100%;
    height: auto;
}

/* Mobile Bottom Fixed Container */
.panel-footer .mobile-fixed {
    position: fixed;
    bottom: 0px;
    width: 100%;
    z-index: 9999;
}

.panel-footer .back-to-top {
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: var(--space-6);
    width: 100%;
}

.panel-footer .back-to-top::before,
.panel-footer .back-to-top::after {
    content: "";
    position: absolute;
    top: 0;
    height: 92px;
    width: 92px;
    background-image: url(/includes/public/assets/shared/footer-bottom-mobile.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.panel-footer .back-to-top::before {
    left: 0;
}
.panel-footer .back-to-top::after {
    right: 0;
    transform: rotate(-90deg);
}

@media (min-width: 64em) {
    .panel-footer .back-to-top {
        position: absolute;
        bottom: -44px;
        padding-top: unset;
    }
    .panel-footer .back-to-top::before,
    .panel-footer .back-to-top::after {
        top: 50%;
        transform: translateY(calc(-50% - 16px));
        height: 5px;
        width: calc(50% - 135px);
        background-image: url(/includes/public/assets/shared/footer-bottom-line.svg);
        background-size: contain;
        background-repeat: no-repeat;
    }
    .panel-footer .back-to-top::before {
        left: 84px;
    }
    .panel-footer .back-to-top::after {
        right: 84px;
    }
}

@media (min-width: 1300px) {
    .panel-footer .back-to-top::before,
    .panel-footer .back-to-top::after {
        background-size: cover;
    }
}