:root {
    /*! put your custom css here */
}

@media (min-width: 769px) {
    .legacy-footer {
        display: none !important;
    }
}

/* The footer component provides a compact Terms of Use link on mobile. */
@media (min-width: 700px) and (max-width: 768px) {
    .tablet-legacy-disclaimer {
        display: none !important;
    }
}

.terms-of-use-content a {
    display: inline !important;
    white-space: normal !important;
}

/* Email links follow body typography and wrap within narrow footer columns. */
a[href^="mailto:"] {
    display: inline !important;
    font-weight: normal !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
}

/* Preserve explicitly white email links in the dark footer. */
a[href^="mailto:"]:not([style*="255, 255, 255"]) {
    color: inherit !important;
}

.footer-email-contact {
    margin-right: 0 !important;
    min-width: 0;
    max-width: 100%;
}
/* Shared login-style disclaimer footer (English and French). */
.standard-disclaimer-footer {
    background-color: #e9ecf0 !important;
    color: #000 !important;
    font-family: Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}
.standard-disclaimer-footer p,
.standard-disclaimer-footer span,
.standard-disclaimer-footer a {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
    background-color: transparent !important;
}
.standard-disclaimer-footer p { margin: 0 !important; }
.standard-disclaimer-footer strong { color: #002966 !important; font-size: inherit !important; }
.standard-disclaimer-footer a[href^="mailto:"] {
    font-weight: normal !important;
    display: inline !important;
    overflow-wrap: anywhere;
    white-space: normal !important;
}
/* Keep the BAT logo and address aligned to the left of their footer column. */
.standard-disclaimer-footer .disclaimer-footer-logo,
.standard-disclaimer-footer .disclaimer-footer-address,
.standard-disclaimer-footer .disclaimer-footer-logo p,
.standard-disclaimer-footer .disclaimer-footer-address p {
    text-align: left !important;
}
.standard-disclaimer-footer .disclaimer-footer-logo img {
    display: block !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    width: 100px !important;
    max-width: 100% !important;
    height: auto !important;
}
.standard-disclaimer-footer .disclaimer-footer-email {
    margin-right: 0 !important;
    min-width: 0;
    max-width: 100%;
}
@media (max-width: 768px) {
    .standard-disclaimer-footer { padding: 16px !important; }
}

/* Password recovery content may be wrapped by Experience Builder.
   Grow the shared page container and its content wrapper above the footer. */
:has(> .password-recovery-content, > webruntime-component-container > .password-recovery-content):has(> .password-recovery-footer) {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}
.password-recovery-content,
webruntime-component-container:has(> .password-recovery-content) {
    flex: 1 0 auto;
}
.password-recovery-footer {
    flex: 0 0 auto;
    margin-top: auto !important;
    margin-bottom: 0 !important;
}
  