
/* Automatically hide the previous theme footer. The new Albcontrol footer
   is printed separately by this plugin and is not affected by these rules. */
body:not(.elementor-editor-active) .footer-style-01,
body:not(.elementor-editor-active) .footer-wrap,
body:not(.elementor-editor-active) .footer-widget-wrap,
body:not(.elementor-editor-active) .copyright-wrap,
body:not(.elementor-editor-active) .site-footer,
body:not(.elementor-editor-active) #colophon,
body:not(.elementor-editor-active) .footer-widget-area,
body:not(.elementor-editor-active) .footer-bottom,
body:not(.elementor-editor-active) .footer-bottom-area,
body:not(.elementor-editor-active) .footer-copyright {
    display: none !important;
}

/* Ensure the replacement footer stays visible and full width. */
body .albcontrol-full-footer {
    display: block !important;
    width: 100%;
    max-width: none;
    margin: 0;
    clear: both;
}

/* Albcontrol Full Footer */
.albcontrol-full-footer {
    width: 100%;
    color: #666;
    font-family: inherit;
    background: #fff;
    overflow: hidden;
}
.albcontrol-full-footer *,
.albcontrol-full-footer *::before,
.albcontrol-full-footer *::after {
    box-sizing: border-box;
}
.albcontrol-full-footer__main {
    background: #fff;
    padding: 64px 0 58px;
}
.albcontrol-full-footer__container {
    width: min(100% - 40px, 1140px);
    margin: 0 auto;
}
.albcontrol-full-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr);
    gap: clamp(30px, 5vw, 78px);
    align-items: start;
}
.albcontrol-full-footer__logo {
    display: inline-block;
    margin: 0 0 28px;
    max-width: 245px;
}
.albcontrol-full-footer__logo img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 245px;
}
.albcontrol-full-footer__about p {
    margin: 0;
    color: #666;
    font-size: 16px;
    line-height: 1.75;
    text-align: left;
}
.albcontrol-full-footer__heading {
    margin: 0 0 12px !important;
    padding: 0;
    color: #082f57;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
}
.albcontrol-full-footer__heading-line {
    width: 72px;
    height: 2px;
    margin: 0 0 28px;
    background: #c8102e;
}
.albcontrol-full-footer__contact address {
    margin: 0;
    font-style: normal;
}
.albcontrol-full-footer__contact address p {
    margin: 0 0 16px;
    color: #666;
    font-size: 16px;
    line-height: 1.65;
}
.albcontrol-full-footer__contact a {
    color: inherit;
    text-decoration: none;
}
.albcontrol-full-footer__contact a:hover {
    color: #c8102e;
}
.albcontrol-full-footer__form .wpcf7 form {
    margin: 0;
}
.albcontrol-full-footer__form .contact-form-area,
.albcontrol-full-footer__form .contact-form-area .row {
    margin: 0;
}
.albcontrol-full-footer__form .form-group {
    margin-bottom: 14px;
}
.albcontrol-full-footer__form .form--control {
    width: 100%;
    min-height: 48px;
    padding: 12px 15px;
    border: 1px solid #d5d8dc;
    border-radius: 5px;
    background: #fff;
    color: #555;
    font: inherit;
    box-shadow: none;
}
.albcontrol-full-footer__form textarea.form--control {
    min-height: 118px;
    resize: vertical;
}
.albcontrol-full-footer__form .form--control:focus {
    border-color: #c8102e;
    outline: 0;
    box-shadow: 0 0 0 2px rgba(200,16,46,.12);
}
.albcontrol-full-footer__form .form-group .icon {
    color: #888;
}
.albcontrol-full-footer__form .wpcf7-submit,
.albcontrol-full-footer__form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 28px;
    border: 0;
    border-radius: 6px;
    background: #c8102e;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.albcontrol-full-footer__form .wpcf7-submit:hover,
.albcontrol-full-footer__form button[type="submit"]:hover {
    background: #a90d25;
    transform: translateY(-1px);
}
.albcontrol-full-footer__form .wpcf7-response-output {
    margin: 12px 0 0;
}
.albcontrol-full-footer__form .wpcf7-not-valid-tip {
    font-size: 12px;
}
.albcontrol-full-footer__plugin-notice {
    font-size: 14px;
    color: #666;
}
.albcontrol-full-footer__bottom {
    width: 100%;
    padding: 18px 0;
    background: #c8102e;
    border-top: 3px solid #a90d25;
    color: #fff;
}
.albcontrol-full-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}
.albcontrol-full-footer__social {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.albcontrol-full-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 50%;
    text-decoration: none !important;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.albcontrol-full-footer__social svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}
.albcontrol-full-footer__social a:hover,
.albcontrol-full-footer__social a:focus-visible {
    background: #fff;
    color: #c8102e !important;
    transform: translateY(-2px);
}
.albcontrol-full-footer__copyright {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    text-align: right;
}
.albcontrol-full-footer__copyright a {
    color: #fff !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.albcontrol-full-footer__copyright a:hover {
    opacity: .82;
}
.albcontrol-full-footer__separator {
    opacity: .8;
}
@media (max-width: 991px) {
    .albcontrol-full-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 42px 35px;
    }
    .albcontrol-full-footer__newsletter {
        grid-column: 1 / -1;
    }
}
@media (max-width: 767px) {
    .albcontrol-full-footer__main {
        padding: 42px 0;
    }
    .albcontrol-full-footer__container {
        width: calc(100% - 32px);
    }
    .albcontrol-full-footer__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 35px;
    }
    .albcontrol-full-footer__newsletter {
        grid-column: auto;
    }
    .albcontrol-full-footer__heading {
        font-size: 20px;
    }
    .albcontrol-full-footer__bottom {
        padding: 20px 0;
    }
    .albcontrol-full-footer__bottom-inner {
        flex-direction: column;
        justify-content: center;
        gap: 16px;
    }
    .albcontrol-full-footer__copyright {
        justify-content: center;
        text-align: center;
        font-size: 13px;
        gap: 6px 9px;
    }
}


/* Keep the old theme's floating back-to-top control from overlapping the red bar. */
body:not(.elementor-editor-active) .back-to-top,
body:not(.elementor-editor-active) .scroll-to-top,
body:not(.elementor-editor-active) .scroll-top,
body:not(.elementor-editor-active) .scrollTop,
body:not(.elementor-editor-active) .scrollToTop,
body:not(.elementor-editor-active) .wd-scroll-top,
body:not(.elementor-editor-active) .to-top,
body:not(.elementor-editor-active) #back-to-top,
body:not(.elementor-editor-active) #scroll-top {
    display: none !important;
}

/* Contact Form 7 compatibility: show and style standard fields as well as theme-specific fields. */
.albcontrol-full-footer__form .wpcf7-form p {
    margin: 0 0 12px;
}
.albcontrol-full-footer__form .wpcf7-form label {
    display: block;
    margin-bottom: 10px;
    color: #555;
}
.albcontrol-full-footer__form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}
.albcontrol-full-footer__form .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-checkbox):not(.wpcf7-radio) {
    display: block;
    width: 100%;
    min-height: 44px;
    max-width: 100%;
    padding: 10px 13px;
    border: 1px solid #d5d8dc;
    border-radius: 4px;
    background: #fff;
    color: #555;
    font: inherit;
    opacity: 1;
    visibility: visible;
}
.albcontrol-full-footer__form textarea.wpcf7-form-control {
    min-height: 95px;
}
.albcontrol-full-footer__email-button {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid #c8102e;
    border-radius: 4px;
    color: #c8102e !important;
    text-decoration: none !important;
    font-size: 15px;
}
.albcontrol-full-footer__email-button:hover {
    background: #c8102e;
    color: #fff !important;
}


/* Balanced white footer content with a visible call-to-action in the third column. */
.albcontrol-full-footer__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .9fr) minmax(0, 1fr);
}
.albcontrol-full-footer__newsletter-text {
    margin: 0 0 22px;
    color: #666;
    font-size: 16px;
    line-height: 1.7;
}
.albcontrol-full-footer__email-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 22px;
    border: 1px solid #c8102e;
    border-radius: 3px;
    background: #c8102e;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
}
.albcontrol-full-footer__email-button:hover {
    background: #a90d25;
    border-color: #a90d25;
    color: #fff !important;
}
