.panel-footer {
    --surface-foreground: var(--primary-950);
    --surface-background: var(--primary-color-900);
    --text: var(--gray-100);

    color: var(--text);
    background-color: var(--surface-foreground);
}

.panel-footer :is(.core-styles, .contentRender_name_plugins_core_textbox) p {
	color: var(--white);
}

.panel-footer .attributions > div {
    background: linear-gradient(0deg, rgba(64, 63, 112, 0.15) 0%, rgba(64, 63, 112, 0.15) 100%), #262541;
}

.panel-footer .cta-container {
    background: url('../png/cta_bg_texture_d2d96bff-1bf1-48ec-b27d-131a03ff73da.png') no-repeat;
    background-size: cover;
    padding-block: 20px;
}
.panel-footer .footer-content-container > * {
    z-index: 1;
}
.panel-footer .footer-content-container::before {
    position: absolute;
    content: '';
    background: url('../svg/ground-footer-mobile.svg') no-repeat;
    background-size: cover;
    width: 100%;
    aspect-ratio: 375/166;
    bottom: 0;
}

.panel-footer .cta-container > div:not(:first-child) {
    position: relative;
}

.panel-footer .cta-container > div:not(:first-child)::before {
    content: '';
    pointer-events: none;
    position: absolute;
    left: 50%;
    top: 0;
    translate: -50% 0;
    opacity: 0.6;
    width: calc(100% - var(--space-10));
    height: 2px;
    background-color: var(--gray-100);
}

@media (min-width: 64em) {
    .panel-footer .cta-container {
        display: flex;
        padding: 27px 20px;
        flex-wrap: wrap;
    }

    .panel-footer .cta-container > div {
        flex: 1 1 0;
        min-width: 390px;
        container-type: inline-size;
        container-name: cta; 
    }



    .panel-footer .cta-container > div:not(:first-child)::before {
        left: 0;
        top: 50%;
        translate: 0 -50%;
        width: 2px;
        height: calc(100% - var(--space-10));
    }

    @media (max-width: 1300px) {
        @container cta (min-width: 492px) {
            .panel-footer .cta-container > div:nth-child(2n+1):before {
                display: none;
            }
        }
    }

    .panel-footer .footer-content-container::before {
        position: absolute;
        content: '';
        background: url('../svg/ground-footer-desktop.svg') no-repeat;
        background-size: contain;
        background-position: bottom right;
        /* width: calc(100% - 460px); */
        height: 100%;
        aspect-ratio: 245/176;
        right: 0;
    }
    .panel-footer .client-details p {
        font-size: var(--text-base);
    }

}
.panel-footer .logo-footer a img:not(.footer-logo) {
    display: none;
}

.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);
    /* max-width: var(--width-base); */
    text-align: center;
}

.panel-footer .footer-content-container {
    --footer-content-padding: 70px 20px;
    position: relative;
    display: grid;
    gap: 60px;
    padding: var(--footer-content-padding);
    overflow: hidden;
}

@media (min-width: 64em) {
    .panel-footer .navigation-footer li {
        padding-bottom: 5px;
    }
    .panel-footer .footer-content-container {
         --footer-content-padding: 70px 140px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }   
}

.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: 20px;
    place-items: center;
}

@media (min-width: 64em) {
    .panel-footer .client-details {
        place-items: flex-start;
    }   
}

.contentRender_name_plugins_common_logo_footer,
.panel-footer .logo-footer a {
    display: block;
    width: 140px;
}

.panel-footer .logo-footer img {
    display: block;
    width: 100%;
    height: auto;
}

.panel-footer .client-details p {
    margin: 0;
}

.panel-footer .social-media .social-links {
    margin: 0;
}
.panel-footer .social-media {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: normal;
    gap: var(--space-8);
}

.panel-footer .attribution-content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding:  30px var(--space-5);
    background-color: var(--primary-950);
}

@media (min-width: 40em) {
    .panel-footer .attribution-content-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding:  27px 140px;
    }   
}

.panel-footer .attribution-content-container p {
    font-size: var(--text-sm);
    line-height: 1.5;
    font-weight: var(--font-weight-normal);
}

.panel-footer .made-by-sv {
    display: block;
    width: 180px;
}

.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;
}
