.tenant-section {
  float: left;
  width: 40%;
  /* top is deliberately tight: the section sits beside the gallery here, so
     a big top padding just opens a gap under the menu bar. The stacked
     layouts below 1024px override this - there the top padding is the gap
     between the photo and the details, so it stays generous. */
  padding: 20px 50px 50px;
}

.tenant-details {
  display: grid;
  border-top: 1px solid #dedede;
}

.tenant-detail-row {
  display: grid;
  grid-template-columns: minmax(118px, 32%) minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #dedede;
}

.tenant-detail-row dt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #555;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.5;
}

.tenant-detail-row dt i {
  width: 20px;
  flex: 0 0 20px;
  color: #B01216;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}

.tenant-detail-row dd {
  min-width: 0;
  margin: 0;
  color: #222;
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.tenant-detail-row dd > * {
  display: block;
  margin: 0;
}

.tenant-detail-row dd > * + * {
  margin-top: 6px;
}

.tenant-detail-row dd a {
  width: fit-content;
  max-width: 100%;
  color: #222;
  text-decoration: underline;
  text-decoration-color: #aaa;
  text-underline-offset: 3px;
}

.tenant-detail-row dd a:hover,
.tenant-detail-row dd a:focus-visible {
  color: #B01216;
  text-decoration-color: currentColor;
}

.tenant-info {
  margin-top: 28px;
}

.tenant-info h1,
.tenant-info h2 {
  margin-top: 20px;
  font-size: 24px;
}

.tenant-info p {
  margin: 12px 0 22px;
  color: #59595c;
  font-size: 18px;
  line-height: 1.8;
}

.tenant-info-item a.find-out-more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  box-sizing: border-box;
  padding: 11px 21px;
  border-radius: 12px;
  background-color: #B01216;
  color: #fff;
  font-size: 16px;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}

.tenant-info-item a.find-out-more-button:hover,
.tenant-info-item a.find-out-more-button:focus-visible {
  background-color: #8d0e12;
  color: #fff;
}

.tenant-info-item a.find-out-more-button:focus-visible {
  outline: 2px solid #222;
  outline-offset: 3px;
}

.other-tenants-title {
  clear: both;
  margin-left: 100px;
  margin-top: 50px;
  padding-top: 50px;
}

.other-tenants-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-left: 75px;
  padding: 20px;
}

.other-tenants-card {
  min-width: 0;
  text-align: center;
}

.other-tenants-card a {
  display: block;
  color: #000;
  text-decoration: none;
}

.other-tenants-card img {
  display: block;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1;
  height: auto;
  margin: 0 auto;
  object-fit: cover;
  transition: opacity .2s ease;
}

.other-tenants-card a:hover img {
  opacity: .75;
}

.other-tenants-card h2 {
  margin: 12px 0 5px;
  font-size: 24px;
}

.tenants-image-gallery-container {
  position: relative;
  float: left;
  width: calc(55% - 125px);
  margin-left: 75px;
}

.tenants-image-gallery-item {
  position: relative;
  display: none;
  width: 100%;
  height: 700px;
  overflow: hidden;
}

.tenants-image-gallery-item:first-child {
  display: block;
}

.tenants-image-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tenants-pagination {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 0 16px;
}

.tenants-pagination-dot {
  position: relative;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.tenants-pagination-dot::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #eee;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .45);
  content: "";
}

.tenants-pagination-dot:hover::before {
  background: #ccc;
}

.tenants-pagination-dot.active::before {
  background: #B01216;
  box-shadow: 0 0 0 1px #fff;
}

.tenants-pagination-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 1px;
}

@media (max-width: 1023px) {
  .tenants-image-gallery-container {
    float: none;
    width: 100%;
    margin-left: 0;
  }

  .tenants-image-gallery-item {
    height: min(65vw, 500px);
  }

  .tenant-section {
    float: none;
    box-sizing: border-box;
    width: 100%;
    padding: 36px;
  }

  .other-tenants-title {
    margin: 32px 36px 0;
    padding: 0;
  }

  .other-tenants-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-left: 0;
    padding: 24px 36px 36px;
  }

  .other-tenants-card img {
    max-width: none;
  }
}

@media (max-width: 639px) {
  .tenants-image-gallery-item {
    height: min(100vw, 440px);
  }

  .tenants-pagination {
    bottom: 10px;
  }

  .tenant-section {
    padding: 30px 20px 0;
  }

  .tenant-detail-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    padding: 15px 0;
  }

  .tenant-detail-row dd {
    padding-left: 30px;
  }

  .tenant-info {
    margin-top: 32px;
  }

  .tenant-info h1,
  .tenant-info h2 {
    margin-top: 0;
  }

  .tenant-info p {
    font-size: 16px;
    line-height: 1.75;
    margin: 15px 0 28px;
  }

  .tenant-info-item a.find-out-more-button {
    min-height: 48px;
    padding: 12px 24px;
  }

  .other-tenants-title {
    margin: 44px 20px 0;
  }

  .other-tenants-container {
    gap: 20px 16px;
    padding: 20px 20px 40px;
  }

  .other-tenants-card h2 {
    font-size: 17px;
    line-height: 1.25;
  }
}
