/* Bunkersoft header + footer */
.bs-skip-link {
    position: fixed;
    z-index: 100000;
    top: 10px;
    left: 10px;
    transform: translateY(-160%);
    padding: .65rem .9rem;
    border-radius: 8px;
    background: var(--bs-color-text);
    color: #fff !important;
    font-weight: 700;
}
.bs-skip-link:focus { transform: translateY(0); }

.bs-site-header {
    position: sticky;
    z-index: 9990;
    top: 0;
    border-bottom: 1px solid rgba(228,232,237,.92);
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.admin-bar .bs-site-header { top: 32px; }
.bs-site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 74px;
    gap: 2rem;
}
.bs-brand { display: flex; align-items: center; min-width: 0; }
.bs-brand .custom-logo-link { display: inline-flex; align-items: center; }
.bs-brand .custom-logo { width: auto; max-width: 180px; max-height: 42px; }
.bs-brand__text {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: var(--bs-color-text) !important;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -.025em;
    text-decoration: none !important;
}
.bs-brand__mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--bs-color-text);
    color: #fff;
    font: 800 .9rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.bs-site-nav { justify-self: end; }
.bs-site-nav__menu,
.bs-site-nav__menu ul {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.4vw, 2rem);
    margin: 0;
    padding: 0;
    list-style: none;
}
.bs-site-nav__menu a {
    color: var(--bs-color-text) !important;
    font-size: .91rem;
    font-weight: 650;
    text-decoration: none !important;
}
.bs-site-nav__menu a:hover,
.bs-site-nav__menu .current-menu-item > a { color: var(--bs-color-primary) !important; }
.bs-site-header__actions { display: flex; align-items: center; gap: .75rem; }
.bs-account-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: .6rem .82rem;
    border: 1px solid var(--bs-color-border);
    border-radius: 9px;
    color: var(--bs-color-text) !important;
    font-size: .86rem;
    font-weight: 750;
    text-decoration: none !important;
}
.bs-account-link:hover { border-color: #c8d0d9; box-shadow: var(--bs-shadow-sm); }
.bs-menu-toggle { display: none !important; width: 42px; min-height: 42px !important; padding: 8px !important; border: 1px solid var(--bs-color-border) !important; background: #fff !important; }
.bs-menu-toggle > span:not(.screen-reader-text) { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--bs-color-text); }

.bs-site-footer {
    padding: clamp(4rem, 7vw, 6rem) 0 1.6rem;
    border-top: 1px solid var(--bs-color-border);
    background: #111820;
    color: #aeb8c3;
}
.bs-site-footer__top {
    display: grid;
    grid-template-columns: minmax(260px, 1.65fr) repeat(3, minmax(130px, .7fr));
    gap: clamp(2rem, 5vw, 4.5rem);
    padding-bottom: 3.5rem;
}
.bs-brand__text--footer { color: #fff !important; }
.bs-brand__text--footer .bs-brand__mark { background: #fff; color: #111820; }
.bs-site-footer__brand p { max-width: 460px; margin: 1.2rem 0 0; color: #9eabb7; font-size: .92rem; }
.bs-site-footer h2 { margin: 0 0 1rem; padding: 0; color: #fff; font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; }
.bs-site-footer ul { margin: 0; padding: 0; list-style: none; }
.bs-site-footer li + li { margin-top: .62rem; }
.bs-site-footer a { color: #bdc6cf !important; font-size: .9rem; text-decoration: none !important; }
.bs-site-footer a:hover { color: #fff !important; }
.bs-site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.09); font-size: .78rem; }

@media (max-width: 980px) {
    .admin-bar .bs-site-header { top: 46px; }
    .bs-site-header__inner { grid-template-columns: 1fr auto; min-height: 68px; gap: 1rem; }
    .bs-menu-toggle { display: inline-block !important; }
    .bs-account-link { display: none; }
    .bs-site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        padding: 1rem 20px 1.4rem;
        border-bottom: 1px solid var(--bs-color-border);
        background: #fff;
        box-shadow: 0 18px 40px rgba(23,32,42,.09);
    }
    .bs-site-nav.is-open { display: block; }
    .bs-site-nav__menu,
    .bs-site-nav__menu ul { display: grid; gap: 0; }
    .bs-site-nav__menu a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--bs-color-border); }
    .bs-site-footer__top { grid-template-columns: 1.5fr 1fr 1fr; }
    .bs-site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .bs-site-footer__top { grid-template-columns: 1fr 1fr; }
    .bs-site-footer__bottom { flex-direction: column; }
}
@media (max-width: 420px) {
    .bs-site-footer__top { grid-template-columns: 1fr; }
}
