/* ==========================================================
   Trowbridge layout: footer + full-width front page
   ========================================================== */

/* Front page renders blocks edge to edge on white */
.tb-front-page {
    background: #ffffff;
}

/* Internal pages: tb blocks lay themselves out like on the front page;
   anything else (core blocks, legacy blocks) gets the same container width */
.tb-page > :not(.tb-block) {
    box-sizing: border-box;
    max-width: 1380px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
}

/* ---------- Footer ---------- */
footer.tb-footer {
    margin-top: 0;
    background: #19191b;
    color: rgba(255, 255, 255, 0.75);
    font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
    font-size: 13px;
    line-height: 1.8;
}
.tb-footer__inner {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 30px;
}
.tb-footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding: 70px 0 60px;
}
.tb-footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}
.tb-footer a:hover {
    color: #c99a3e;
}

.tb-footer__logo {
    display: inline-block;
    margin-bottom: 18px;
}
.tb-footer__logo img {
    display: block;
    height: 48px;
    width: auto;
}
/* Dark header logo reused on the dark footer: render it solid white */
.tb-footer__logo .tb-footer__logo-img--invert {
    filter: brightness(0) invert(1);
}
.tb-footer__wordmark {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
}
.tb-footer__address {
    margin: 0;
    font-style: normal;
}
.tb-footer__address a span {
    display: table;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    margin-bottom: 4px;
}
.tb-footer__social {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}
.tb-footer__social img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.tb-footer__label {
    font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    line-height: 1.4;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin: 6px 0 14px;
}
.tb-footer__col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.tb-footer__underline {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    margin-bottom: 6px;
}
.tb-footer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.tb-footer__menu li {
    margin-bottom: 4px;
}

.tb-footer__bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    padding: 22px 0 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}
.tb-footer__bottom p {
    margin: 0;
    line-height: 1.5;
}
.tb-footer__copy {
    text-align: center;
}
.tb-footer__legal {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.tb-footer__legal a {
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 767px) {
    .tb-footer__top {
        grid-template-columns: 1fr 1fr;
        padding: 50px 0 40px;
    }
    .tb-footer__brand {
        grid-column: 1 / -1;
    }
    .tb-footer__bottom {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 8px;
    }
    .tb-footer__legal {
        justify-content: center;
    }
}
