/* Header and footer surfaces. Selectors match the child-theme markup. */

:root {
    --bw-ink-950: #050f1d;
    --bw-ink-900: #071728;
    --bw-ink-800: #0b2034;
    --bw-accent-blue: #47a5cf;
    --bw-footer-muted: #b9c7d4;
}

#smart-head.smart-head-main .smart-head-mid.bw-editorial-banner,
#smart-head-mobile .smart-head-mid {
    position: relative;
    isolation: isolate;
    background-color: #ffffff;
    background-image: none;
    border-bottom: 1px solid #e6e9ed;
    color: #18212b;
}

#smart-head.smart-head-main .smart-head-mid.bw-editorial-banner::before,
#smart-head.smart-head-main .smart-head-mid.bw-editorial-banner::after,
#smart-head-mobile .smart-head-mid::before,
#smart-head-mobile .smart-head-mid::after {
    content: none;
}

.bw-editorial-footer .smart-head-social .link {
    border: 1px solid rgba(186, 211, 233, .38);
    background: rgba(10, 28, 45, .36);
    color: #f4f8fc;
    border-radius: 999px;
    transition: border-color .18s ease, background-color .18s ease;
}

.bw-editorial-footer .smart-head-social .link:hover {
    border-color: rgba(106, 187, 218, .85);
    background: rgba(52, 129, 167, .20);
    text-decoration: none;
}

.bw-editorial-footer {
    position: relative;
    isolation: isolate;
    background-color: #031321;
    background-image: none;
    color: #ffffff;
}

.bw-editorial-footer .bw-footer-editorial {
    background-color: #031321;
    background-image:
        linear-gradient(180deg, rgba(3, 19, 33, .94) 0%, rgba(3, 19, 33, .82) 58%, rgba(6, 27, 43, .42) 100%),
        url("images/blockworld-footer-background.webp");
    background-position: center, center bottom;
    background-size: cover, cover;
    background-repeat: no-repeat;
}

.bw-editorial-footer .bw-footer-group a,
.bw-editorial-footer .bw-footer-legal .links a,
.bw-editorial-footer .copyright a {
    color: #d5e0e9;
    text-decoration: none;
}

.bw-editorial-footer .bw-footer-group a:hover,
.bw-editorial-footer .bw-footer-legal .links a:hover,
.bw-editorial-footer .copyright a:hover {
    color: #8adfff;
    text-decoration: none;
}

.bw-editorial-footer a:focus-visible,
.bw-editorial-banner a:focus-visible,
.bw-editorial-footer button:focus-visible {
    outline: 2px solid #7ac9e7;
    outline-offset: 3px;
}

.bw-editorial-footer .bw-footer-heading {
    padding-bottom: 0;
    background-image: none;
    color: #f3f7fb;
    font-weight: 700;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.bw-editorial-footer .bw-footer-heading::after {
    content: "";
    display: block;
    width: 24px;
    height: 2px;
    margin-top: 9px;
    background: #00a9e8;
}

.bw-editorial-footer .about-text,
.bw-editorial-footer .bw-footer-news-copy,
.bw-editorial-footer .bw-footer-legal .copyright {
    color: #c4d2df;
}

.bw-editorial-footer .bw-footer-legal {
    border-top: 1px solid rgba(196, 210, 223, .28);
    background: #03101d;
}

.bw-editorial-footer .bw-footer-news-form input {
    background: rgba(5, 18, 32, .75);
    border: 1px solid rgba(162, 194, 222, .36);
    color: #fff;
    min-width: 0;
}

.bw-editorial-footer .bw-footer-news-form input::placeholder {
    color: #a5b7c7;
}

.bw-editorial-footer .bw-footer-news-form button {
    background: #00a9e8;
    border: 0;
    color: #fff;
    font-weight: 700;
}

.bw-editorial-footer .bw-footer-news-form button:hover {
    background: #27beee;
}

@media (max-width: 1023px) {
    .bw-editorial-footer {
        background-position: center, 70% bottom;
    }
}

@media (max-width: 767px) {
    .bw-editorial-footer .bw-footer-editorial {
        background-image:
            linear-gradient(180deg, rgba(3, 19, 33, .95), rgba(3, 19, 33, .86)),
            url("images/blockworld-footer-background.webp");
        background-position: center, 65% bottom;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bw-editorial-footer .smart-head-social .link {
        transition: none;
    }
}
