.panel-footer {
    --surface-foreground: var(--primary-color-700);
    --surface-background: var(--primary-color-900);
    --text: var(--gray-100);

    color: var(--text);
}

.panel-footer .footer-inner {
    background-image: url(../svg/scalloped-pattern-light-alt.svg);
    background-position: top;
    background-repeat: repeat-x;
    padding: 80px 0 0;
    gap: 30px 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.panel-footer .footer-inner:after {
    content: '';
    position: absolute;
    pointer-events: none;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #22091ABF;
    background: linear-gradient(180deg, #37202FF2 0%, #22091ABE 100%) 0% 0% no-repeat padding-box;
}

.panel-footer .bg-image-desktop,
.panel-footer .bg-image-mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.panel-footer .bg-image-desktop img,
.panel-footer .bg-image-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.panel-footer .bg-image-desktop {
    display: none;
}

@media (min-width: 40em) {
    .panel-footer .bg-image-desktop {
        display: block;
    }
    .panel-footer .bg-image-mobile {
        display: none;
    }
}

.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-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;
}

.panel-footer .logo-footer img {
    display: block;
    width: 100%;
    height: auto;
}

.panel-footer .client-details p {
    font-size: var(--text-sm);
    line-height: var(--leading-snug);
}

.panel-footer .social-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.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-2);
}

@media (min-width: 40em) {
    .panel-footer .attribution-content-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }   
}

.panel-footer .attribution-content-container p {
    font-size: var(--text-sm);
    line-height: var(--leading-snug);
}

.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;
}

.panel-footer .call-to-action {
	--background: var(--merlot-dark);
	--foreground: var(--white);
	--button-border-color: var(--foreground);
	min-height: 250px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-color: var(--background);
	color: var(--foreground);
}

.panel-footer .call-to-action > *:not(.button-link, .train) {
	position: relative;
	z-index: 2;
	max-width: 375px;
	padding: 0 17.5px;
}

.panel-footer .footer-ctas > .contentRender_name_plugins_common_call_to_action:last-of-type .call-to-action {
	--background: var(--gold-light);
	--foreground: var(--gray-dark-alt);
	--button-border-color: var(--background);
	position: relative;
	overflow: hidden;
}

.panel-footer .footer-ctas > .contentRender_name_plugins_common_call_to_action .call-to-action .train {
    display: none;
}

.panel-footer .footer-ctas > .contentRender_name_plugins_common_call_to_action:last-of-type .call-to-action .train {
    display: block;
    position: absolute;
    pointer-events: none;
    width: 189px;
    top: 50%;
    right: 0;
    transform: translateY(-50%);

}

.panel-footer .call-to-action .title {
	font-family: var(--font-modesto);
	font-size: 30px;
	line-height: 35px;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	text-align: center;
}

.panel-footer .call-to-action .description {
	font-family: var(--font-freight-text);
	font-size: 18px;
	line-height: 28px;
	text-align: center;
	margin-bottom: 10px;
}

.panel-footer .call-to-action .button-link {
	color: var(--white);
	font-family: var(--font-freight-text);
    font-weight: var(--font-weight-bold);
	font-size: 20px;
	font-style: italic;
	text-decoration: none;
    padding-top: 9px;
    padding-bottom: 10px;
}

.panel-footer .call-to-action .button-link:before {
    background-color: var(--merlot-dark);
    border: 1px solid var(--button-border-color);
}

@media (max-width: 63.9375em) {
    .panel-footer .call-to-action .button-link {
        background-color: var(--merlot-dark);
        padding: 9px 10px 10px;
    }
}

@media (hover: hover) {
    .panel-footer .call-to-action .button-link:hover:before {
        background-color: var(--gray-dark-alt);
    }

    .panel-footer .footer-ctas > .contentRender_name_plugins_common_call_to_action:not(:last-of-type) .call-to-action .button-link:hover:before {
        background-color: var(--white);
    }

    .panel-footer .footer-ctas > .contentRender_name_plugins_common_call_to_action:not(:last-of-type) .call-to-action .button-link:hover {
        color: var(--merlot);
    }
}

@media (min-width: 64em) {
    .panel-footer .footer-ctas {
        display: flex;
    }
    
    .panel-footer .footer-ctas > * {
        flex: 1 1 100%;
        min-width: 33.33%;
    }

    .panel-footer .call-to-action {
        gap: 20px 0;
    }

    .panel-footer .call-to-action .title {
        font-size: 50px;
        margin-bottom: 10px;
    }

    .panel-footer .call-to-action .description {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .panel-footer .call-to-action {
        min-height: 385px;
    }

    .panel-footer .footer-ctas .call-to-action .button-link {
        margin-left: 30px;
    }

    .panel-footer .footer-ctas > .contentRender_name_plugins_common_call_to_action:last-of-type .call-to-action:before {
        width: 320px;
        height: 385px;
    }

    .panel-footer .footer-ctas > .contentRender_name_plugins_common_call_to_action:last-of-type .call-to-action .train {
        width: 320px;
        height: 385px;
    }

    .panel-footer .footer-ctas > .contentRender_name_plugins_common_call_to_action:not(:last-of-type) .call-to-action .button-link {
        --color: var(--white);
        --color-hover: var(--merlot);
        --background-color: transparent;
        --background-color-hover: var(--white);
        --border-color: var(--white);
        --border-color-hover: var(--white);
        --decoration: url(../svg/decorative-arrow-merlot.svg);
    }

    .panel-footer .footer-ctas .enews .yellow-grapes {
        left: -320px;
        transition: left 1s ease-in-out;
    }

    .panel-footer .footer-ctas > .contentRender_name_plugins_common_call_to_action:last-of-type .call-to-action .train {
        right: -320px;
        transition: right 1s ease-in-out;
    }

    .panel-footer .footer-ctas.visible > .contentRender_name_plugins_common_call_to_action:last-of-type .call-to-action .train {
        right: 0;
    }

    .panel-footer .footer-ctas.visible .enews .yellow-grapes {
        left: 0;
    }
}

.panel-footer .detail-cont {
    padding: 0 18px;
}

.panel-footer .logo-footer img {
    width: 120px;
    margin: auto;
}

.panel-footer .detail-cont :is(h1, h2, h3, h4, h5, h6) {
    color: var(--white);
    font-family: var(--font-sofia);
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 1px;
    font-weight: var(--font-weight-bold);
    text-align: center;
    margin-bottom: 15px;
}

.panel-footer .detail-cont p {
    color: var(--white);
    font-family: var(--font-freight-text);
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    margin-bottom: 10px;
}

.panel-footer .nav-social-cont {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 10px;
    padding: 0 18px;
}

.panel-footer .navigation-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px 30px;
}

.panel-footer .navigation-footer a {
    text-decoration: none;
    font-family: var(--font-freight-text);
    font-size: 18px;
    line-height: 30px;
    color: var(--white);
}

.panel-footer .social-links {
    flex-wrap: wrap;
}

.panel-footer .social-links .social-network {
    padding: 0;
}

.panel-footer .social-links .social-network .social-link {
    font-size: 25px;
    padding: 13px;
}

.panel-footer .googleTranslateDropdown {
    padding: 11px 13px;
    font-size: 14px;
}

.panel-footer .bottom-bar {
    border-top: 1px solid var(--white);
    padding: 20px 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px;
}

@media (min-width: 40em) {
    .panel-footer .footer-inner {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 50px 14px;
        padding-top: 130px;
        align-items: flex-start;
    }

    .panel-footer .logo-cont {
        padding: 0 18px;
    }

    .panel-footer .logo-footer img {
        width: 165px;
    }

    .panel-footer .detail-cont {
        flex: 0 1 247px;
    }

    .panel-footer .detail-cont :is(h1,h2,h3,h4,h5,h6,p) {
        text-align: left;
    }

    .panel-footer .detail-cont p {
        font-size: 20px;
        line-height: 28px;
    }

    .panel-footer .nav-social-cont {
        align-items: flex-start;
    }

    .panel-footer .navigation-footer {
        justify-content: flex-start;
    }

    .panel-footer .social-links {
        margin-left: -13px;
    }

    .panel-footer .bottom-bar {
        margin-top: 60px;
        flex-direction: row;
        justify-content: space-between;
        padding: 22px 140px 30px;
    }

    .panel-footer .bottom-bar .made-by-sv {
        width: 194px;
    }
}
