.mobile-menu-toggle {
    display: none;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 8px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: rgba(11, 29, 69, .12);
    color: #fff;
    font: 700 24px/1 system-ui, sans-serif;
    cursor: pointer;
}

/* Property detail typography */
.detail-page .detail-copy h1 {
    font-size: 30px;
}

.detail-page .detail-price {
    font-size: 26px;
}

.results-page .result-content h2 {
    font-size: 22px;
}

.results-page .results-layout {
    border-top: 0;
}

.mobile-menu-toggle:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 2px;
}

/* Keep the desktop header visible while scrolling. */
@media (min-width: 701px) {
    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }
}

@media (max-width: 700px) {
    .site-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) max-content max-content;
        grid-template-areas:
            "brand toggle toggle"
            "phone currency flags"
            "nav nav nav";
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
    }

    .brand {
        grid-area: brand;
        justify-self: start;
        min-width: 0;
        overflow: hidden;
    }

    .brand span:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-menu-toggle {
        grid-area: toggle;
        display: inline-grid;
        place-items: center;
        justify-self: end;
        margin-left: auto;
    }

    .phone {
        grid-area: phone;
        margin-left: 0;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 13px;
    }

    .currency-selector {
        grid-area: currency;
        justify-self: end;
    }

    .frontend-language-switcher {
        grid-area: flags;
        margin-left: auto;
    }

    .nav-links {
        display: none;
        grid-area: nav;
        width: 100%;
        margin: 16px 0 0;
        padding: 8px 0 2px;
        background: var(--blue);
        border-radius: 8px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, .35);
    }

    .site-header.menu-open .nav-links {
        display: flex;
        background-color: #1855a3 !important;
        border-radius: 8px;
        box-shadow: 0 8px 18px rgba(11, 29, 69, .18);
    }

    .nav-links a {
        display: block;
        padding: 12px 8px;
        border-bottom: 1px solid rgba(255, 255, 255, .22);
        font-size: 16px;
    }

    .nav-links a:last-child {
        border-bottom: 0;
    }

    .breadcrumbs {
        flex-wrap: wrap;
    }

    .breadcrumbs .pdf-link {
        flex-basis: 100%;
        width: max-content;
        margin-left: 0;
        margin-top: 8px;
    }
}

@media (max-width: 700px) {
    .site-header {
        min-height: 92px;
        padding-top: 22px;
        padding-bottom: 22px;
    }
}
