.block-office-location {
  padding: 80px 50px;
  background-color: #fff;
}
.block-office-location.alt-background-true {
  background-color: var(--lightGrey);
}
@media (max-width: 1180px) {
  .block-office-location {
    padding: 70px 30px;
  }
}
@media (max-width: 767px) {
  .block-office-location {
    padding: 40px 20px;
  }
}
.block-office-location .block-office-location-inner {
  max-width: 1250px;
  margin: 0 auto;
}
.block-office-location .tagline {
  font-family: var(--lato);
  font-size: 18px;
  line-height: 1.35;
  font-weight: var(--bold);
  letter-spacing: 3.5px;
  text-align: center;
  text-transform: uppercase;
  color: var(--secondaryColor);
  margin-bottom: 14px;
}
.block-office-location .title {
  max-width: 1040px;
  margin: 0 auto 48px;
  font-family: var(--lato);
  font-size: 58px;
  line-height: 1.08;
  font-weight: var(--bold);
  text-align: center;
  color: var(--tertiaryColor);
}
@media (max-width: 1180px) {
  .block-office-location .title {
    font-size: 42px;
    margin-bottom: 34px;
  }
}
@media (max-width: 767px), (hover: none) and (pointer: coarse) {
  .block-office-location .title {
    font-size: 34px;
    line-height: 1.2;
    margin-bottom: 40px;
  }
}
.block-office-location .office-location-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 34px;
  align-items: stretch;
  max-width: 1030px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .block-office-location .office-location-card {
    grid-template-columns: 1fr;
    max-width: 620px;
  }
}
.block-office-location .office-location-visual,
.block-office-location .office-location-info {
  min-height: 355px;
}
@media (max-width: 767px) {
  .block-office-location .office-location-visual,
  .block-office-location .office-location-info {
    min-height: auto;
  }
}
.block-office-location .office-location-visual {
  position: relative;
  overflow: hidden;
  background-color: var(--lightGrey);
  aspect-ratio: 1.23/1;
}
@media (max-width: 767px) {
  .block-office-location .office-location-visual {
    aspect-ratio: 1.12/1;
  }
}
.block-office-location .office-location-visual .office-image,
.block-office-location .office-location-visual .office-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.block-office-location .office-location-visual .office-image {
  display: block;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.35s ease, transform 0.5s ease;
}
.block-office-location .office-location-visual .office-map {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.35s ease, transform 0.5s ease;
}
.block-office-location .office-location-visual .office-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.block-office-location .office-location-visual:hover .office-image, .block-office-location .office-location-visual:focus-within .office-image {
  opacity: 0;
  transform: scale(1.04);
}
.block-office-location .office-location-visual:hover .office-map, .block-office-location .office-location-visual:focus-within .office-map {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
@media (max-width: 767px), (hover: none) and (pointer: coarse) {
  .block-office-location .office-location-visual.has-map {
    min-height: 0;
    aspect-ratio: auto;
    height: clamp(280px, 88vw, 420px);
  }
  .block-office-location .office-location-visual.has-map .office-image {
    display: none;
  }
  .block-office-location .office-location-visual.has-map .office-map {
    display: block;
    position: relative;
    inset: auto;
    height: 100%;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
}
.block-office-location .office-location-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--secondaryColor);
  color: #fff;
  padding: 42px 52px;
}
@media (max-width: 767px) {
  .block-office-location .office-location-info {
    padding: 34px 28px;
  }
}
.block-office-location .office-name {
  max-width: 390px;
  margin: 0 0 30px;
  font-family: var(--lato);
  font-size: 34px;
  line-height: 1.18;
  font-weight: var(--bold);
  color: #fff;
}
@media (max-width: 767px) {
  .block-office-location .office-name {
    font-size: 26px;
  }
}
.block-office-location .office-detail {
  margin-bottom: 26px;
}
.block-office-location .office-label {
  margin-bottom: 10px;
  font-family: var(--roboto);
  font-size: 17px;
  line-height: 1.25;
  font-weight: var(--bold);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.block-office-location .office-address,
.block-office-location .office-phone {
  font-family: var(--lato);
  font-size: 22px;
  line-height: 1.48;
  font-weight: var(--bold);
  color: #fff;
}
.block-office-location .office-address {
  margin: 0;
}
.block-office-location .office-phone {
  display: inline-block;
  text-decoration: none;
  transition: color 0.25s ease;
}
.block-office-location .office-phone:hover, .block-office-location .office-phone:focus {
  color: var(--accent);
}
.block-office-location .office-directions {
  width: max-content;
  max-width: 100%;
  margin-top: 4px;
  font-family: var(--roboto);
  font-size: 17px;
  line-height: 1.3;
  font-weight: var(--bold);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  border-bottom: 0;
  transition: color 0.25s ease;
}
.block-office-location .office-directions:hover, .block-office-location .office-directions:focus {
  color: var(--accent);
}

.block-office-location .office-location-visual:not(.has-map):hover .office-image {
  opacity: 1;
  transform: none;
}

.block-office-location .office-location-info .office-address a {
  color: #fff;
  text-decoration: none;
  transition: color 0.25s ease;
}

.block-office-location .office-location-info a:hover,
.block-office-location .office-location-info a:focus-visible {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 0;
}
