/* Child-theme footer; colors match the former Divi Theme Builder layout. */
:root {
    --vfc-orange: #e87722;
    --vfc-white: #fff;
    --vfc-signup-blue: #11387a;
    --vfc-footer-blue: #102d62;
    --vfc-footer-width: 1280px;
}

.vfc-site-footer .vfc-shell-container {
    width: calc(100% - 40px);
    max-width: var(--vfc-footer-width);
    margin-inline: auto;
}

.vfc-footer-menu,
.vfc-social-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.vfc-newsletter {
    padding: 0;
    color: var(--vfc-white);
    background-color: transparent;
    background-image: url('/wp-content/uploads/2025/01/footerbg-1.png');
    background-repeat: repeat-x;
    background-position: center;
    background-size: contain;
}

.vfc-newsletter__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    min-height: 420px;
    padding: 50px;
    border-radius: 30px;
    background: var(--vfc-signup-blue);
    gap: 5.5%;
}

.vfc-newsletter h2 {
    margin: 0 0 18px;
    padding: 0 0 10px;
    color: var(--vfc-white);
    font-size: 32px;
    font-weight: 500;
    line-height: 1.4;
}

.vfc-newsletter p {
    margin: 0;
    color: var(--vfc-white);
    font-size: 18px;
    line-height: 1.6;
}

.vfc-newsletter .vfc-newsletter__copy p {
    color: var(--vfc-white) !important;
}

.vfc-newsletter__form {
    min-height: 320px;
}

.vfc-newsletter .et_pb_newsletter,
.vfc-newsletter .et_pb_newsletter_form {
    width: 100%;
    margin: 0;
    background: transparent;
}

.vfc-newsletter .et_pb_newsletter {
    min-height: 0;
    padding: 25px;
}

.vfc-newsletter .et_pb_newsletter_form,
.vfc-newsletter .et_pb_newsletter_form form {
    padding: 0;
}

.vfc-newsletter .et_pb_newsletter_description {
    display: none;
}

.vfc-newsletter .et_pb_newsletter_fields {
    display: block;
}

.vfc-newsletter .et_pb_newsletter_field {
    margin: 0 0 18px;
}

.vfc-newsletter input,
.vfc-newsletter .et_pb_newsletter_button {
    width: 100%;
    min-height: 48px;
    border-radius: 7px;
}

.vfc-newsletter input {
    padding: 14px 15px !important;
    border: 0 !important;
    color: #666 !important;
    background: var(--vfc-white) !important;
    font-size: 16px !important;
}

.vfc-newsletter .et_pb_newsletter_button {
    min-height: 49px;
    padding: 9px 18px !important;
    border: 0 !important;
    border-radius: 20px !important;
    color: var(--vfc-white) !important;
    background: var(--vfc-orange) !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.7 !important;
}

.vfc-site-footer__main {
    margin-top: -1px;
    padding: 4% 0;
    color: var(--vfc-white);
    background: var(--vfc-footer-blue);
}

.vfc-site-footer__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5.5%;
    min-height: 365px;
    padding: 2% 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.vfc-site-footer__brand img {
    display: block;
    width: min(100%, 143px);
    height: auto;
    margin-bottom: 28px;
}

.vfc-site-footer .vfc-site-footer__brand p {
    max-width: 430px;
    margin: 0;
    color: var(--vfc-white) !important;
    font-size: 14px;
    line-height: 1.8;
}

.vfc-footer-menu {
    columns: 2;
    column-gap: 18px;
}

.vfc-footer-menu a,
.vfc-site-footer a {
    color: var(--vfc-white);
}

.vfc-footer-menu a {
    position: relative;
    display: inline-block;
    padding-left: 25px;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
}

.vfc-footer-menu li {
    position: relative;
    min-height: 36px;
    padding-bottom: 15px;
    break-inside: avoid;
}

.vfc-footer-menu a::before {
    position: absolute;
    top: -4px;
    left: 0;
    width: 20px;
    color: var(--vfc-white);
    content: '➜';
    font-size: 11px;
    font-weight: 600;
    transform: rotate(-45deg);
}

.vfc-site-footer__contact dl,
.vfc-site-footer__contact dd {
    margin: 0;
}

.vfc-site-footer__contact dl {
    display: block;
}

.vfc-site-footer__contact dt {
    margin-bottom: 5px;
    color: var(--vfc-white);
    font-size: 14px;
    font-weight: 400;
    line-height: 29px;
}

.vfc-site-footer__contact dd {
    margin: 0 0 10px;
    font-size: 16px;
}

.vfc-site-footer__contact {
    padding-left: 8%;
}

.vfc-contact-pill {
    position: relative;
    display: flex;
    align-items: center;
    width: 271px;
    min-height: 61px;
    padding: 14px 28px 14px 50px;
    border-radius: 30px;
    background: var(--vfc-signup-blue);
    font-size: 16px;
    line-height: 24px;
    text-decoration: none;
}

.vfc-contact-pill::before {
    position: absolute;
    left: 22px;
    color: var(--vfc-white);
    font-family: ETmodules, sans-serif;
    font-size: 20px;
    line-height: 1;
}

.vfc-contact-pill--phone::before {
    content: '\e090';
}

.vfc-contact-pill--email {
    font-size: 14px;
}

.vfc-contact-pill--email::before {
    content: '\e076';
}

.vfc-site-footer__bottom {
    display: grid;
    grid-template-columns: 3fr 2fr;
    align-items: center;
    padding: 2% 0;
    color: var(--vfc-white);
    font-size: 14px;
}

.vfc-site-footer .vfc-site-footer__bottom p {
    margin: 0;
    color: var(--vfc-white) !important;
}

.vfc-site-footer__bottom p a {
    color: var(--vfc-white);
    text-decoration: underline;
}

.vfc-social-links {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    min-height: 50px;
}

.vfc-social-links a {
    position: relative;
    display: block;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    color: #000;
    background: var(--vfc-white);
    line-height: 1;
    font-size: 0;
    font-weight: 600;
    text-decoration: none;
}

.vfc-social-links a::before {
    position: absolute;
    top: 50%;
    left: 50%;
    font-family: ETmodules, sans-serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1;
    transform: translate(-50%, -50%);
}

.vfc-social-link--facebook::before {
    content: '\e093';
}

.vfc-social-link--instagram::before {
    content: '\e09a';
}

.vfc-social-link--linkedin::before {
    content: '\e09d';
}

@media (max-width: 980px) {
    .vfc-site-footer .vfc-shell-container {
        width: 90%;
    }
    .vfc-newsletter__inner,
    .vfc-site-footer__grid {
        grid-template-columns: 1fr;
    }

    .vfc-newsletter__inner {
        min-height: 0;
        padding: 50px;
        gap: 18px;
    }

    .vfc-newsletter .et_pb_newsletter {
        min-height: 0;
    }

    .vfc-site-footer__grid {
        gap: 42px;
    }

    .vfc-site-footer__contact {
        padding-left: 0;
    }

    .vfc-site-footer__bottom {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 22px;
    }

    .vfc-social-links {
        justify-content: flex-start;
    }
}

@media (min-width: 980px) and (max-width: 1564px) {
    .vfc-footer-menu__optional {
        display: none;
    }
}

@media (max-width: 620px) {
    .vfc-newsletter .et_pb_newsletter_fields {
        display: block;
    }

    .vfc-newsletter__inner {
        padding: 50px 25px;
    }

    .vfc-newsletter .et_pb_newsletter {
        padding-inline: 0;
    }

    .vfc-site-footer__bottom {
        display: grid;
    }

    .vfc-footer-menu__optional {
        display: none;
    }
}
