.panel-footer {
    --surface-foreground: var(--primary-color-700);
    --surface-background: var(--primary-color-900);
    --text: var(--gray-100);

    color: var(--text);
    padding-top: 30px;
    background-image: url(https://res.cloudinary.com/simpleview/image/upload/v1649702678/clients/mchenryil/footer-bg.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    position: relative;
}

.panel-footer .footer-content-container.desktop {
    display: none;
}

.panel-footer .footer-cta-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 23px;
    padding: 14px 0 0;
    position: relative;
}

.panel-footer::after {
    content: '';
    pointer-events: none;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    width: 100%;
    height: 67%;
    background-image: url(/includes/public/assets/shared/footer-shape-sm.svg);
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    z-index: 1;
}

.panel-footer .back-to-top {
    display: none;
}

.panel-footer .header-footer-cta {
	display: grid;
	grid-template-columns: minmax(30%, 131px) 1fr;
	align-items: center;
	gap: var(--space-6);
	flex-direction: row;
	padding: 0 30px;
    max-width: 375px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.panel-footer .header-footer-cta .content a {
	display: flex; 
	flex-direction: column;
	justify-content: center;
	gap: 4px;
}

.panel-footer .header-footer-cta .title {
	font-size: 24px;
	font-weight: 700;
	color: var(--white);
	line-height: 1;
}

.panel-footer .header-footer-cta .subtitle {
	font-size: 14px;
	font-weight: 600;
	color: var(--white);
	line-height: 1.2;
}

.panel-footer .footer-content-container,
.panel-footer .attribution-content-container {
    margin: 0 auto;
    padding: 0 var(--space-5);
    max-width: 1300px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.panel-footer .footer-content-container {
    display: grid;
    gap: var(--space-6);
    padding-top: var(--space-6);
    padding-bottom: var(--space-4);
}

.panel-footer .contentRender_name_plugins_core_textbox {
    margin: 0;
    padding: 0;
    max-width: none;
}

.panel-footer .contentRender_name_plugins_core_textbox > section > * {
    color: var(--text);
}

.panel-footer .client-details {
    display: grid;
    grid-auto-rows: min-content;
    gap: var(--space-6);
    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: 220px;
    justify-self: center;
}

.panel-footer .logo-footer img {
    display: block;
    width: 100%;
    height: auto;
    padding-top: 20px;
}

.panel-footer .extra-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    width: calc(100% - 80px);
    margin: 0 auto;
    max-width: 400px;
}

.panel-footer .client-details h6 {
    margin-bottom: 12px;
}

.panel-footer .client-details p {
    line-height: 1.15;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 0;
}

.panel-footer .client-details a {
    line-height: 1.15;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--white);
    text-decoration: none; 
}

.panel-footer .client-details a:hover {
    text-decoration: underline;
}

.panel-footer .navigation-footer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 16px;
    row-gap: 4px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.panel-footer .social-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-footer .social-links {
    gap: 20px;
}

.panel-footer .social-links .social-network {
    padding: 0;
    font-size: 31px;
}

.panel-footer .social-links .social-link:hover {
    color: var(--text);
}

.panel-footer .attribution-content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: var(--space-2);
    padding-bottom: var(--space-5);
}

.panel-footer .attribution-content-container p {
    font-size: var(--text-xs);
    line-height: var(--leading-snug);
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
    letter-spacing: 0.06em;
}

@media (min-width: 40em) {
    .panel-footer .attribution-content-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }   
}


.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;
}

@media (min-width: 64em) {
    .panel-footer {
        background-position: top;
    }

    .panel-footer::after {
        height: 80px;
        background-image: url(/includes/public/assets/shared/footer-shape-lg.svg);
        background-repeat: no-repeat;
        background-position: 50% 50%;
        background-size: cover;
    }

    .panel-footer .footer-cta-container {
        gap: 43px;
        padding-top: 60px;
    }

    .panel-footer .header-footer-cta {
        max-width: 540px;
        grid-template-columns: minmax(32%, 131px) 1fr;
    }

    .panel-footer .header-footer-cta .title {
        font-size: 36px;
        letter-spacing: 0.05em;
    }

    .panel-footer .header-footer-cta .subtitle {
        font-size: 22px;
        letter-spacing: 0.04em;
    }

    .panel-footer .footer-content-container.mobile {
        display: none;
    }

    .panel-footer .footer-content-container.desktop {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        text-align: left;
        position: relative;
        padding-bottom: 80px;
    }   

    .panel-footer .footer-content-container > div:not(.middle-column) {
        padding-top: 30px;
    }

    .contentRender_name_plugins_common_logo_footer, 
    .panel-footer .logo-footer a {
        width: unset;
    }

    .panel-footer .footer-content-container.desktop .middle-column {
        display: flex;
        justify-content: center;
    }

    .panel-footer .social-media {
        justify-content: flex-start;
        margin-bottom: 14px;
    }

    .panel-footer .client-details h6 {
        font-size: var(--text-lg);
        margin-bottom: 20px;
    }

    .panel-footer .client-details p {
        font-size: var(--text-lg);
        font-weight: 600;
    }

    .panel-footer .client-details p:last-of-type {
        margin-bottom: 30px;
    }

    .panel-footer .client-details a {
        font-size: var(--text-lg);
        font-weight: 600;
    }

    .panel-footer .extra-logos {
        justify-content: flex-start;
        width: unset;
        max-width: unset;
    }

    .panel-footer .navigation-footer {
        flex-direction: column;
        gap: 20px;
        margin-left: 60px;
    }

    .panel-footer .navigation-footer li a {
        font-size: var(--text-lg);
        font-weight: 800;
    }

    .panel-footer .back-to-top {
        position: absolute;
        bottom: 100px;
        right: 4px;
        width: 84px;
        height: 70px;
        background-color: var(--primary-color-300);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-transform: lowercase;
        font-size: 21px;
        font-family: var(--font-smithsonian);
        color: var(--white);
    }

    .panel-footer .attribution-content-container p {
        flex-direction: row;
        font-size: var(--text-lg);
        font-weight: 600;
        align-items: center;
        margin-bottom: 0;
    }
}

@media screen and (min-width: 90em) {
    .panel-footer .navigation-footer {
        margin-left: 190px;
    }
}
