.block-offices {
  --offices-map-tint-opacity: 1;
  --offices-marker-color: var(--fg);
  --offices-marker-label-bg: var(--fg);
  --offices-marker-label-fg: var(--bg);
  --offices-lightbox-radius: 0.25rem;
}
.block-offices * {
  box-sizing: border-box;
}
.block-offices[data-display=map] .offices-list {
  display: none;
}
.block-offices[data-display=list] .offices-map {
  display: none;
}
.theme1 .block-offices,
.theme2 .block-offices {
  --offices-map-tint-opacity: 0;
}
html.high-contrast .block-offices {
  --offices-map-tint-opacity: 0;
  --offices-marker-color: #1a1a2e;
  --offices-marker-label-bg: #1a1a2e;
  --offices-marker-label-fg: #ffffff;
}
.offices-map__canvas {
  aspect-ratio: 16/9;
  width: 100%;
  min-height: 25rem;
  box-sizing: border-box;
  position: relative;
}
.offices-map__canvas * {
  box-sizing: border-box;
}
.offices-map__canvas .leaflet-container {
  outline: none;
  font-family: inherit;
}
.offices-map__canvas .leaflet-control-zoom a:hover {
  text-decoration: none;
}
.offices-map__tint {
  position: absolute;
  left: -50000px;
  top: -50000px;
  width: 100000px;
  height: 100000px;
  z-index: 250;
  pointer-events: none;
  background: var(--bg);
  opacity: var(--offices-map-tint-opacity);
  mix-blend-mode: multiply;
}
.offices-map__hint {
  position: absolute;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font: var(--font-headline);
  font-variation-settings: "wdth" 125 !important;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.offices-map__hint.is-visible {
  opacity: 1;
}
.offices-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  width: auto !important;
}
.offices-marker__pin {
  width: 1.5rem;
  height: 2rem;
  pointer-events: auto;
  cursor: pointer;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
  transition: transform 0.15s ease, filter 0.15s ease;
}
.offices-marker__pin svg {
  width: 100%;
  height: 100%;
}
.offices-marker__pin svg path {
  fill: var(--offices-marker-color);
}
.offices-marker__pin svg circle {
  fill: var(--offices-marker-label-fg);
  opacity: 0.9;
}
.offices-marker__label {
  display: block;
  margin-top: 0.3rem;
  padding: 0.2em 0.55em 0.15em;
  background: var(--offices-marker-label-bg);
  color: var(--offices-marker-label-fg);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  line-height: 1.4;
}
.offices-marker:hover .offices-marker__pin, .offices-marker:focus .offices-marker__pin {
  transform: translateY(-3px) scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}
.offices-cluster {
  cursor: pointer;
  width: auto !important;
}
.offices-cluster__bubble {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--offices-marker-color);
  color: var(--offices-marker-label-fg);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--offices-marker-color) 20%, transparent), 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease;
}
.offices-cluster:hover .offices-cluster__bubble, .offices-cluster:focus .offices-cluster__bubble {
  transform: scale(1.1);
}
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
  background: transparent !important;
}
.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
  background: transparent !important;
}
.offices-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (max-width: 600px) {
  .offices-toolbar {
    margin-bottom: 1rem;
  }
}
.offices-office.is-filtered-out {
  display: none;
}
.offices-toggle {
  display: flex;
  flex-shrink: 0;
  gap: 0.5rem;
}
.offices-toggle__btn {
  font: var(--font-ui-sans);
  font-size: 0.75em;
  font-weight: 500 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: none;
  border: 2px solid var(--fg);
  color: var(--fg);
  padding: 0.4em 1em;
  cursor: pointer;
  transition: opacity 0.15s;
}
.offices-toggle__btn.is-active {
  background-color: var(--fg);
  color: var(--bg);
}
.offices-filter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .offices-filter {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    margin-left: 0;
  }
}
.offices-filter__label {
  font: var(--font-ui-sans);
  font-size: 0.75em;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.offices-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
@media (max-width: 600px) {
  .offices-filters {
    align-items: stretch;
  }
}
.offices-filters__btn {
  font: var(--font-ui-sans);
  font-size: 0.75em;
  font-weight: 500 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: none;
  border: 2px solid var(--fg);
  color: var(--fg);
  padding: 0.4em 1em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s, color 0.15s;
}
.offices-filters__btn:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}
.offices-filters__btn.is-active {
  background-color: var(--fg);
  color: var(--bg);
}
.offices-filter__dropdown {
  position: relative;
  display: inline-grid;
}
@media (max-width: 600px) {
  .offices-filter__dropdown {
    flex-basis: 100%;
    width: 100%;
  }
}
.offices-filter__sizer {
  grid-area: 1/1;
  display: grid;
  visibility: hidden;
  pointer-events: none;
}
.offices-filter__sizer-item {
  grid-area: 1/1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-sizing: border-box;
  white-space: nowrap;
  font: var(--font-ui-sans);
  font-size: 0.75em;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4em 1em;
  border: 2px solid transparent;
}
.offices-filter__sizer-item::after {
  content: "";
  width: 0.85rem;
  flex-shrink: 0;
  margin-left: auto;
}
.offices-filter__value {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.offices-filter__trigger {
  grid-area: 1/1;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font: var(--font-ui-sans);
  font-size: 0.75em;
  font-weight: 500 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: none;
  border: 2px solid var(--fg);
  color: var(--fg);
  padding: 0.4em 0.6em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s, color 0.15s;
  box-sizing: border-box;
}
.offices-filter__trigger:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}
.offices-filter__trigger.is-open, .offices-filter__trigger.is-active {
  background-color: var(--fg);
  color: var(--bg);
}
.offices-filter__icon {
  font-size: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.85rem;
  height: 0.85rem;
  flex-shrink: 0;
  flex-shrink: 0;
  margin-left: auto;
}
.offices-filter__icon::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='butt' stroke-linejoin='miter'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='butt' stroke-linejoin='miter'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  transform: rotate(0deg);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.is-open .offices-filter__icon::before {
  transform: rotate(180deg);
}
.offices-filter__menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  min-width: 100%;
  z-index: 9999;
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--bg);
  border: 2px solid var(--fg);
}
.offices-filter__menu[hidden] {
  display: none;
}
.offices-filter__option {
  display: block;
  width: 100%;
  text-align: left;
  font: var(--font-ui-sans);
  font-size: 0.75em;
  font-weight: 500 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: none;
  border: none;
  color: var(--fg);
  padding: 0.5em 0.6em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s, color 0.15s;
}
.offices-filter__option:hover, .offices-filter__option:focus-visible {
  background: var(--fg);
  color: var(--bg);
  outline: none;
}
.offices-filter__option.is-selected {
  background: var(--fg);
  color: var(--bg);
}
.offices-list {
  display: flex;
  flex-direction: column;
}
.offices-office {
  border-top: 1px solid var(--fg);
}
.offices-office:last-child {
  border-bottom: 1px solid var(--fg);
}
.offices-office__head {
  margin: 0;
}
.offices-office__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  background: transparent;
  border: none;
  color: inherit;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: opacity 0.15s;
}
.offices-office__toggle:hover {
  opacity: 0.7;
}
.offices-office__toggle:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}
.offices-office__name {
  flex: 1;
}
.offices-office__icon {
  font-size: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
.offices-office__icon::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='butt' stroke-linejoin='miter'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='butt' stroke-linejoin='miter'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  transform: rotate(0deg);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.offices-office.is-open .offices-office__icon::before {
  transform: rotate(180deg);
}
.offices-office__panel {
  padding: 0 0 1rem;
}
.offices-office:not(.is-open) .offices-office__panel {
  display: none;
}
.offices-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  visibility: hidden;
  pointer-events: none;
}
@media (max-width: 600px) {
  .offices-lightbox {
    padding: 0;
    align-items: flex-end;
  }
}
.offices-lightbox.is-open {
  visibility: visible;
  pointer-events: auto;
}
.offices-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(50px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.is-open .offices-lightbox__backdrop {
  opacity: 1;
}
.high-contrast .offices-lightbox__backdrop {
  backdrop-filter: none;
  background: black;
}
.offices-lightbox__panel {
  position: relative;
  z-index: 1;
  background: var(--bg);
  color: var(--fg);
  width: 100%;
  max-width: var(--page-width);
  height: 90vh;
  display: flex;
  flex-direction: column;
  border-radius: var(--offices-lightbox-radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 4px 16px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(1.5rem) scale(0.98);
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}
@media (max-width: 600px) {
  .offices-lightbox__panel {
    height: 100vh;
    border-radius: var(--offices-lightbox-radius) var(--offices-lightbox-radius) 0 0;
  }
}
.is-open .offices-lightbox__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.offices-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--fg);
  opacity: 0.4;
  transition: opacity 0.15s;
  padding: 0;
  z-index: 2;
}
.offices-lightbox__close svg {
  width: 1.25rem;
  height: 1.25rem;
}
.offices-lightbox__close:hover, .offices-lightbox__close:focus-visible {
  opacity: 1;
  outline: none;
}
.offices-lightbox__header {
  padding: 2rem 2rem 1.25rem;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .offices-lightbox__header {
    padding: 1.5rem 1.25rem 1rem;
  }
}
.offices-lightbox__title {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  padding-right: 2.5rem;
}
.offices-lightbox__address {
  margin: 0;
  opacity: 0.6;
  font-size: 0.9rem;
}
.offices-lightbox__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.offices-lightbox__tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25em 0.5em;
  flex-shrink: 0;
  padding: 1.25rem 2rem;
}
@media (max-width: 600px) {
  .offices-lightbox__tabs-nav {
    padding: 1rem 1.25rem;
  }
}
.offices-lightbox__tabs-btn {
  font: var(--font-headline);
  color: var(--bg);
  background: var(--fg);
  text-transform: uppercase;
  font-size: 0.9em;
  padding: 0.25em 0.5em 0.2em;
  border: none;
  cursor: pointer;
  line-height: 1.4;
  opacity: 0.4;
  transition: opacity 0.15s;
}
.offices-lightbox__tabs-btn:hover {
  opacity: 0.7;
}
.offices-lightbox__tabs-btn.is-active {
  opacity: 1;
}
.offices-lightbox__tabs-btn:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}
.offices-lightbox__tabs-content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.offices-lightbox__tabs-panel {
  display: none;
  padding: 1.75rem 2rem;
}
@media (max-width: 600px) {
  .offices-lightbox__tabs-panel {
    padding: 1.25rem;
  }
}
.offices-lightbox__tabs-panel.is-active {
  display: block;
}
.offices-lightbox__tabs-panel p {
  padding: 0;
  margin-bottom: 1em;
}
.offices-lightbox__tabs-panel p:last-child {
  margin-bottom: 0;
}
html.lightbox-open {
  overflow: hidden;
}
