.office-location {
  background: #f5f5f7;
}

.office-location h2 {
  scroll-margin-block-start: 115px;
}

.office-location-grid {
  display: grid;
  grid-template-columns: minmax(250px, .85fr) minmax(0, 1.65fr);
  gap: 18px;
}

.office-location-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(20px, 3vw, 34px);
  border-radius: 12px;
  background: #20262a;
  color: #fff;
}

.office-location-details h3 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.4vw, 30px);
}

.office-location-details dl {
  width: 100%;
  margin: 0 0 22px;
}

.office-location-details dl > div {
  border-block-start: 1px solid #ffffff2b;
  padding-block: 10px;
}

.office-location-details dt {
  color: #ffb2b4;
  font-size: .8rem;
  font-weight: 700;
}

.office-location-details dd {
  margin: 3px 0 0;
  color: #fff;
  line-height: 1.55;
}

.office-location-details address {
  font-style: normal;
}

.office-directions {
  min-height: 44px;
  margin-block-start: auto;
}

.office-map {
  display: grid;
  grid-template-rows: minmax(320px, 1fr) auto;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e3e5e8;
  border-radius: 12px;
  background: #fff;
}

.office-map-preview {
  position: relative;
  min-width: 0;
  background: #e3e5e8;
}

.office-map-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.office-map-pin {
  position: absolute;
  inset: 0;
}

.office-map-pin-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 7px;
  transform: translate(-50%, calc(-100% - 8px));
  border: 2px solid #a7252c;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 16px #20262a3d;
}

.office-map-pin-icon::after {
  content: "";
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top: 10px solid #a7252c;
}

.office-map-pin-icon img {
  width: 100%;
  height: auto;
}

.office-map-pin:focus-visible {
  outline: 3px solid #a7252c;
  outline-offset: -4px;
}

.office-directions:focus-visible {
  outline: 3px solid #ec4a4c;
  outline-offset: 4px;
}

.office-map figcaption {
  padding: 12px 16px;
  border-block-start: 1px solid #e3e5e8;
  color: #20262a;
  font-size: .85rem;
  font-weight: 650;
}

@media (max-width: 740px) {
  .office-location-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .office-map {
    grid-template-rows: 310px auto;
  }
}

.office-map-pin-label{position:absolute;top:calc(100% + 20px);left:50%;transform:translateX(-50%);white-space:nowrap;background:#fff;color:#20262a;padding:5px 12px;border:1px solid #e3e5e8;border-radius:5px;box-shadow:0 2px 8px #20262a20;font-size:16px;}
