/* Office dropdowns retain the site's pin, arrow, type and header styling. */
.top .header-offices .select { min-width: 100%; box-sizing: border-box; }
.top .header-offices .district-toggle {
    border: 0;
    border-radius: 0;
    background-color: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
}
.top .header-offices .district-toggle .street { display: flex; align-items: center; gap: 5px; text-indent: 0; white-space: nowrap; }
.top .header-offices .district-toggle .street img { flex: 0 0 12px; margin: 0; }
.top .header-offices .district-toggle:focus-visible { outline: 1px solid #5b83ae; outline-offset: 3px; }
.top .header-offices .select .address:not(.add9) { display: none; width: 100%; box-sizing: border-box; }
.top .header-offices .select.is-open .address:not(.add9) { display: block; }
.top .header-offices .select.is-open {
    z-index: 12;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
}
.top .header-offices .select .street { cursor: pointer; }
.top .header-offices .select .address:not(.add9) .street { text-indent: 0; }
.top .header-offices .select .address:not(.add9) .street img { display: none; }
.top .header-offices .select .address:not(.add9) + .address { border-top: 1px solid #eee; }
@media (min-width: 830px) {
    .top > .wrap { display: grid; grid-template-columns: minmax(170px, 1.3fr) minmax(0, 3fr) max-content 32px; gap: 16px; align-items: center; }
    .top > .wrap > .logo, .top > .wrap > .locations, .top > .wrap > .contacts, .top > .wrap > .icons { width: auto; margin: 0; min-width: 0; }
    .top > .wrap > .burger { display: none; }
    .top .header-offices { min-height: 60px; }
    .top .header-offices ul.oneColumn { display: none; }
    .top .header-offices ul.twoColumns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    .top .header-offices ul.twoColumns > li { width: auto; margin: 0; min-width: 0; height: 60px; }
    .top .header-offices .select { top: 0; left: -8px; width: calc(100% + 16px); padding: 0 8px; }
    .top .header-offices .select .address.add9 { min-height: 60px; padding: 5px 15px 5px 0; background-position: right center; }
    .top .header-offices .district-toggle .street { font-size: clamp(13px, 1.05vw, 16px); line-height: 24px; }
    .top .contacts .phone { white-space: nowrap; }
}
@media (min-width: 961px) and (max-width: 1279px) {
    .top > .wrap { width: calc(100% - 40px); padding: 0 20px; gap: 12px; grid-template-columns: 200px minmax(0, 1fr) max-content 25px; }
    .top .logo img { width: 45px; margin-right: 5px; }
    .top .logo .title { width: calc(100% - 55px); font-size: 12px; line-height: 15px; }
    .top .header-offices .district-toggle .street { font-size: 13px; }
}
@media (min-width: 961px) and (max-width: 1280px) {
    .dumb { height: 104px; }
}
@media (min-width: 961px) and (max-width: 1024px) {
    .top > .wrap { grid-template-columns: 170px minmax(0, 1fr) max-content 25px; }
}
@media (min-width: 830px) and (max-width: 960px) {
    .top > .wrap { width: calc(100% - 32px); padding: 0 16px; grid-template-columns: 30px 150px minmax(0, 1fr) 25px 25px; gap: 10px; }
    .top > .wrap > .burger { display: block; width: 30px; margin: 0; }
    .top .logo img { width: 40px; margin-right: 5px; }
    .top .logo .title { width: calc(100% - 50px); font-size: 11px; line-height: 15px; }
    .top .contacts .phone a.mobile { display: inline-block; }
    .top .contacts .phone .desktop, .top .contacts .workingtime { display: none; }
    .top .header-offices .district-toggle .street { font-size: 13px; }
    .dumb { height: 70px; }
}
@media (min-width: 769px) and (max-width: 829px) {
    .dumb { height: 70px; }
    .top .header-offices ul.twoColumns { display: none; }
    .top .header-offices ul.oneColumn { display: block; }
    .top .header-offices ul.oneColumn > li { margin: 0; }
    .top .header-offices .select { left: 0; top: 0; width: 100%; padding: 0 15px; }
    .top .header-offices .select .address.add9 { display: block; min-height: 54px; padding: 3px 15px 3px 0; background-position: right center; }
    .top .header-offices .select .address.add90 { background-image: none; }
    .top .header-offices .select.is-open { min-width: 250px; }
}
@media (max-width: 768px) {
    /* Addresses remain available in the existing mobile Contacts menu. */
    .top .header-offices { display: none; }
}
