/* Footer utilities remain in the document flow, away from consent controls. */
footer.site-footer { padding: 64px 0 28px; }
footer.site-footer > .container > .row { row-gap: 32px; }
footer.site-footer h3 { line-height: 1.4; margin-bottom: 20px; }
footer.site-footer .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid #303030; }
footer.site-footer .credits { margin: 0; text-align: left; line-height: 1.8; }
footer.site-footer .credits > span { display: block; }
footer.site-footer .footer-languages { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
footer.site-footer .footer-language-label { color: #aaa; font-size: 11px; letter-spacing: .06em; }
footer.site-footer .footer-language-selector { display: flex; align-items: center; gap: 12px; }
footer.site-footer .footer-language-selector a { display: inline-flex; align-items: center; gap: 6px; margin: 0 !important; padding: 6px 0; font-size: 12px; line-height: 18px; color: #ddd; font-weight: 500; white-space: nowrap; }
footer.site-footer .footer-language-selector img { width: 18px; height: auto; margin: 0; }
footer.site-footer .footer-language-selector a.gt-current-lang { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
footer.site-footer .footer-facebook-link { display: inline-flex; align-items: center; gap: 10px; color: #fff; line-height: 1.5; }
footer.site-footer .footer-facebook-link svg { width: 24px; height: 24px; fill: currentColor; }
footer.site-footer a:focus-visible { outline: 2px solid currentColor; outline-offset: 0; }
.grecaptcha-badge { visibility: hidden !important; }
.wpcf7 form .toppcamp-recaptcha-notice { margin: 16px 0 0; color: #666; font-size: 12px; line-height: 1.6; }
@media (max-width: 767px) {
    footer.site-footer { text-align: left; padding-top: 40px; }
    footer.site-footer .footer-bottom { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 32px; }
    footer.site-footer .footer-languages { align-items: flex-start; }
    footer.site-footer .footer-social { flex-wrap: wrap; }
    footer.site-footer .credits { font-size: 12px; }
}
@media (min-width: 768px) {
    footer.site-footer > .container > .row > div:nth-child(2) { padding-left: 55px; }
}

footer.site-footer .footer-brand { display: block; width: 190px; max-width: 100%; margin: 0; }
footer.site-footer .footer-brand img { display: block; width: 100%; height: auto; filter: brightness(0) invert(1); }

@media (min-width: 992px) {
    footer.site-footer .footer-bottom { display: grid; grid-template-columns: minmax(190px, 1fr) minmax(0, 2fr) minmax(190px, 1fr); }
    footer.site-footer .footer-bottom .credits { text-align: center; }
}
@media (min-width: 768px) and (max-width: 991px) {
    footer.site-footer .footer-bottom { flex-wrap: wrap; }
    footer.site-footer .footer-bottom .credits { flex: 1 1 300px; }
}

footer.site-footer .footer-language-selector a.glink span { font-size: inherit; margin-right: 0; }

/* Comfortable contact fields and matching submit controls. */
body .wpcf7 .wpcf7-form label { display: block; width: 100%; }
body .wpcf7 .wpcf7-form input:is([type="text"], [type="email"], [type="tel"], [type="url"], [type="number"]),
body .wpcf7 .wpcf7-form textarea {
    box-sizing: border-box;
    display: block;
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    color: #252525;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
}
body .wpcf7 .wpcf7-form textarea { min-height: 160px; resize: vertical; }
body.page-template-page-designer .wpcf7 .wpcf7-form input:is([type="text"], [type="email"], [type="tel"]) { padding-left: 36px; }
body .wpcf7 .wpcf7-form input:is([type="text"], [type="email"], [type="tel"], [type="url"], [type="number"]):focus,
body .wpcf7 .wpcf7-form textarea:focus {
    outline: none;
    border-color: #b22324;
    box-shadow: inset 0 0 0 1px #b22324;
}
body .wpcf7 .wpcf7-form .wpcf7-submit {
    box-sizing: border-box;
    width: auto;
    min-height: 48px;
    margin-top: 8px;
    padding: 12px 28px;
    border: 1px solid #b22324;
    border-radius: 0;
    background: #b22324;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
}
body .wpcf7 .wpcf7-form .wpcf7-submit:hover { background: #931c1d; border-color: #931c1d; }
body .wpcf7 .wpcf7-form .wpcf7-submit:focus-visible { outline: none; border-color: #fff; box-shadow: inset 0 0 0 1px #fff; }
body .wpcf7 .wpcf7-form .wpcf7-submit:disabled { opacity: .6; cursor: wait; }

/* Branded map bubble; the native InfoWindow header is disabled through its API. */
#gmap .toppcamp-map-popup { position: relative; box-sizing: border-box; min-width: 220px; padding: 16px 36px 16px 8px; color: #333; font-family: Raleway, sans-serif; }
#gmap .toppcamp-map-logo { display: block; width: 160px; max-width: 100%; height: auto; margin: 0 0 16px; filter: brightness(0); }
#gmap .toppcamp-map-popup p { margin: 0; font-size: 13px; line-height: 1.6; }
#gmap .toppcamp-map-close { position: absolute; top: 0; right: 0; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #555; font: 28px/1 Arial, sans-serif; cursor: pointer; }
#gmap .toppcamp-map-close:hover { background: #eee; color: #222; }
#gmap .toppcamp-map-close:focus-visible { outline: none; border-color: #333; box-shadow: inset 0 0 0 1px #333; }
body.page-template-page-contacts .map { padding-top: 100px; background: #fff; }

/* Match the front-page announcements to the Toppcamp logo red. */
body.home .row.financing h2 { color: #b22324; }
body.home .row.financing .btn-red { background-color: #b22324; border-color: #b22324; border-radius: 0; }
body.home .row.financing .btn-red:hover { background-color: #931c1d; border-color: #931c1d; color: #fff; }

/* Clearer labels on the site's call-to-action buttons. */
body .btn { font-weight: 700; }
