.wp-block-staffed-office-meta {
  border: 1px solid #afafaf;
  background-color: #cfcfcf;
  box-shadow: 2px 2px 11px 2px rgba(0, 0, 0, 0.35);
  -webkit-box-shadow: 2px 2px 11px 2px rgba(0, 0, 0, 0.35);
  -moz-box-shadow: 2px 2px 11px 2px rgba(0, 0, 0, 0.35);
  padding: 2rem;
}
.office-page {
  max-width: 1400px;
  margin: 0 auto 24px auto;
}
.office-title {
  margin: 0;
  padding: 0;
}
.office-title h2 {
  margin: 0;
  padding: 0;
}

.office-info {
  width: 50%;
  display: flex;
  flex-direction: column;
  padding-right: 1rem;
}
.office-title h2 {
  font-size: 2.4rem;
  padding: 0;
  line-height: 1.4;
}
.office-img {
  width: 50%;
  padding-left: 1rem;
}
.office-img img {
  width: 100%;
  display: block;
  margin: 0 auto;
}
.office-data-container {
  display: flex;
  justify-content: space-between;
  padding-left: 3px;
}
.office-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}
.office-contact p {
  padding: 0px;
  margin: 0px;
  line-height: 1.2;
}
.staffed-contact-wrap {
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.staffed-contact-line {
  display: flex;
  column-gap: 5px;
  align-items: center;
}
.staffed-contact-line a {
  display: flex;
  align-items: center;
}
.staffed-contact-icon {
  width: 20px;
}

.office-desc {
  height: 100%;
}
.office-location-section {
  margin: 3rem auto 0px auto;
}
.office-location-section h3 {
  margin: 0 auto;
  text-align: center;
  padding: 0;
}
.office-meta__map {
  width: 100%;
  max-width: 800px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin: 16px auto 3rem auto;
  border: 1px solid #dedede;
}
.office-meta__map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 1px solid red;
}
.staff-display-section {
  margin: 2rem auto;
  border: 1px solid #afafaf;
  background-color: #cfcfcf;
  box-shadow: 2px 2px 11px 2px rgba(0, 0, 0, 0.35);
  -webkit-box-shadow: 2px 2px 11px 2px rgba(0, 0, 0, 0.35);
  -moz-box-shadow: 2px 2px 11px 2px rgba(0, 0, 0, 0.35);
  padding-bottom: 12px;
}
.staff-display-section h3 {
  text-align: center;
  margin: 24px auto;
}

@media only screen and (max-width: 992px) {
  .wp-block-staffed-office-meta {
    padding: 1rem 2rem;
  }
  .office-title {
    margin-bottom: 6px;
  }
  .office-data-container {
    flex-direction: column;
  }

  .office-img {
    order: 1;
    margin: 8px auto 0px auto;
    width: 100%;
    padding-left: 0;
  }

  .office-info {
    order: 2;
    width: 100%;
  }
  .office-contact {
    padding: 1.5rem 0;
  }
  .office-desc {
    margin: 8px auto;
  }
}

@media only screen and (max-width: 400px) {
  .office-title h2 {
    font-size: 1.4rem;
  }
  .wp-block-staffed-office-meta {
    padding: 0.75rem;
  }
  .staffed-contact-line {
    display: flex;
    column-gap: 12px;
    align-items: center;
    margin-top: 16px;
  }
  .staffed-contact-line a {
    display: flex;
    align-items: center;
  }
  .staffed-contact-icon {
    width: 40px;
  }
}
