/**
 * Office Map Block Styles
 */
.office-map-section {
  padding: 4rem 0;
}
.office-map-section__header {
  margin-bottom: 3rem;
  text-align: center;
}
@media (min-width: 768px) {
  .office-map-section__header {
    text-align: left;
  }
}
.office-map-section__title {
  color: var(--black-100, #000);
  text-align: center;
  font-family: "e-Ukraine", sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.96px;
  text-transform: uppercase;
  margin-bottom: 56px;
}
@media (max-width: 768px) {
  .office-map-section__title {
    font-size: 32px;
    letter-spacing: -0.64px;
    margin-bottom: 32px;
  }
}

.office-map {
  position: relative;
  width: 100%;
}
.office-map__svg-wrapper {
  position: relative;
  width: 100%;
  height: 587px;
  overflow: hidden;
  background: transparent;
}
.office-map__svg {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.office-map__svg svg {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
}
.office-map__room {
  cursor: default;
}
.office-map__room.is-active {
  cursor: pointer;
}
.office-map__room path {
  -webkit-transition: fill 0.2s ease;
  transition: fill 0.2s ease;
}
.office-map__fullscreen-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  -webkit-transition: background-color 0.2s ease, -webkit-transform 0.1s ease;
  transition: background-color 0.2s ease, -webkit-transform 0.1s ease;
  transition: background-color 0.2s ease, transform 0.1s ease;
  transition: background-color 0.2s ease, transform 0.1s ease, -webkit-transform 0.1s ease;
  z-index: 10;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.office-map__fullscreen-btn svg {
  width: 40px;
  height: 40px;
  display: block;
}
.office-map__fullscreen-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
          transform: scale(1.05);
}
.office-map__fullscreen-btn:active {
  -webkit-transform: scale(0.95);
      -ms-transform: scale(0.95);
          transform: scale(0.95);
}
.office-map__fullscreen-btn:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}
.office-map__tooltip {
  position: absolute;
  width: 154px;
  min-height: 122px;
  padding: 14px 12px;
  background: #fff;
  border: 1px solid #000;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.2s ease, visibility 0.2s ease;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.office-map__tooltip.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.office-map__tooltip-title {
  color: #000;
  text-align: center;
  font-family: "e-Ukraine", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.28px;
  text-transform: uppercase;
  margin-bottom: 12px;
  word-wrap: break-word;
}
.office-map__tooltip-button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 30px;
  padding: 14px 18px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  font-family: "e-Ukraine", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.28px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  -webkit-transition: background-color 0.2s ease, -webkit-transform 0.1s ease;
  transition: background-color 0.2s ease, -webkit-transform 0.1s ease;
  transition: background-color 0.2s ease, transform 0.1s ease;
  transition: background-color 0.2s ease, transform 0.1s ease, -webkit-transform 0.1s ease;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.office-map__tooltip-button:hover {
  background: #333;
  -webkit-transform: translateY(-1px);
      -ms-transform: translateY(-1px);
          transform: translateY(-1px);
}
.office-map__tooltip-button:active {
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
}
.office-map__tooltip-button:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.office-map-list {
  margin-top: 40px;
}
@media (max-width: 767px) {
  .office-map-list {
    margin-top: 32px;
  }
}
.office-map-list__grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[5];
  grid-template-columns: repeat(5, 1fr);
  grid-auto-flow: column;
  -ms-grid-rows: (auto)[2];
  grid-template-rows: repeat(2, auto);
  gap: 16px;
}
@media (max-width: 767px) {
  .office-map-list__grid {
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
    -ms-grid-rows: (auto)[5];
    grid-template-rows: repeat(5, auto);
    gap: 24px;
  }
}
@media (max-width: 365px) {
  .office-map-list__grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.office-map-list__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.office-map-list__item.is-highlighted .office-map-list__number {
  background: #000;
  color: #fff;
}
.office-map-list__number {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 30px;
  height: 30px;
  padding: 8px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  aspect-ratio: 1/1;
  border-radius: 20px;
  border: 2px solid #000;
  background: #fff;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  color: #000;
  text-align: center;
  font-family: "e-Ukraine", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.32px;
}
.office-map-list__title {
  color: var(--black-100, #000);
  text-align: left;
  font-family: "e-Ukraine", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.32px;
  text-transform: uppercase;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.office-map-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.office-map-modal.is-open {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.office-map-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}
.office-map-modal__content {
  position: relative;
  z-index: 1;
}
@media (min-width: 993px) {
  .office-map-modal__content {
    width: 90%;
    height: 890px;
    max-width: 1600px;
  }
}
@media (max-width: 992px) {
  .office-map-modal__content {
    width: 100vw;
    height: 100vh;
  }
}
.office-map-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  -webkit-transition: -webkit-transform 0.1s ease;
  transition: -webkit-transform 0.1s ease;
  transition: transform 0.1s ease;
  transition: transform 0.1s ease, -webkit-transform 0.1s ease;
  z-index: 10;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: transparent;
}
.office-map-modal__close svg {
  width: 32px;
  height: 32px;
  display: block;
}
.office-map-modal__close:hover {
  background: rgba(0, 0, 0, 0.8);
  -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
          transform: scale(1.05);
}
.office-map-modal__close:active {
  -webkit-transform: scale(0.95);
      -ms-transform: scale(0.95);
          transform: scale(0.95);
}
.office-map-modal__close:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
@media (max-width: 992px) {
  .office-map-modal__close {
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
  }
}
.office-map-modal__svg {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: transparent;
  position: relative;
  display: block;
  -ms-touch-action: none;
      touch-action: none;
}
.office-map-modal__svg svg {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}
.office-map-modal__tooltip {
  position: absolute;
  width: 154px;
  min-height: 122px;
  padding: 14px 12px;
  background: #fff;
  border: 1px solid #000;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.2s ease, visibility 0.2s ease;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.office-map-modal__tooltip.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .office-map-section {
    padding: 2rem 0;
  }
  .office-map-section__header {
    margin-bottom: 2rem;
  }
  .office-map__svg-wrapper {
    height: 384px;
    -ms-touch-action: none;
        touch-action: none;
  }
  .office-map__fullscreen-btn {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
  }
  .office-map__fullscreen-btn svg {
    width: 36px;
    height: 36px;
  }
  .office-map__tooltip-title {
    font-size: 13px;
    letter-spacing: -0.26px;
  }
  .office-map__tooltip-button {
    font-size: 13px;
    letter-spacing: -0.26px;
    padding: 12px 16px;
  }
}
.editor-styles-wrapper .office-map__svg-wrapper {
  border: 1px dashed #ccc;
}
.editor-styles-wrapper .office-map__room.is-active {
  cursor: help;
}
.editor-styles-wrapper .office-map__fullscreen-btn {
  pointer-events: none;
  opacity: 0.5;
}

@media print {
  .office-map__tooltip,
  .office-map__fullscreen-btn,
  .office-map-modal {
    display: none !important;
  }
}
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.office-map-modal.is-open {
  -webkit-animation: fadeIn 0.3s ease;
          animation: fadeIn 0.3s ease;
}