/* Tenant detail layout: matches MYPC-redesign/Tenant Listing.dc.html. */
.mypc-tenant-detail .mypc-tenant-main-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.et-db #et-boc .et-l .mypc-tenant-detail .mypc-tenant-main-row.et_pb_row > .et_pb_column {
  width: auto;
  min-width: 0;
  margin: 0;
}
.mypc-tenant-detail .et_pb_module { margin-bottom: 0; }
.mypc-tenant-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: #4A4F55;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}
.mypc-tenant-breadcrumb a { color: #4A4F55; }
.mypc-tenant-breadcrumb [aria-current] { color: #0e3a49; }
.mypc-tenant-figure { margin: 0; }
.mypc-tenant-photo,
.mypc-tenant-photo-fallback {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  border: 1px solid #d8d2c6;
  background: #e4ded3;
}
.mypc-tenant-photo { object-fit: cover; height: auto; }
.mypc-tenant-photo-fallback {
  display: grid;
  place-items: center;
  padding: 32px;
  text-align: center;
  color: #4A4F55;
  font-size: 15px;
}
.mypc-tenant-detail .mypc-tenant-meta {
  font-size: 14px;
  line-height: 1.5;
  color: #4A4F55;
  padding: 0;
  margin: 0 0 10px;
}
.mypc-tenant-detail .mypc-tenant-title h1 { padding: 0; overflow-wrap: anywhere; text-wrap: balance; }
.mypc-tenant-description { font-size: 18px; line-height: 1.65; margin-bottom: 28px; text-wrap: pretty; }
.mypc-tenant-description p { padding: 0; margin: 0 0 12px; }
.mypc-tenant-detail .mypc-tenant-facts .et_pb_text_inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  border: 0;
  padding: 24px 0;
  margin-bottom: 28px;
}
.mypc-tenant-detail .mypc-tenant-facts h2 {
  color: #0e3a49;
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  padding: 0;
  margin: 0 0 8px;
}
.mypc-tenant-facts p { font-size: 16px; line-height: 1.6; padding: 0; margin: 0; }
.mypc-tenant-contact-block > a { display: block; font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.mypc-tenant-contact-block p { color: #4A4F55; font-size: 15px; }
.mypc-tenant-actions,
.mypc-tenant-actions-primary,
.mypc-tenant-social { display: flex; align-items: center; flex-wrap: wrap; }
.mypc-tenant-actions { gap: 18px; justify-content: space-between; }
.mypc-tenant-actions-primary { gap: 12px; }
.mypc-tenant-social { gap: 10px; }
.mypc-tenant-detail a { text-underline-offset: 3px; }
.mypc-tenant-detail .mypc-tenant-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-sizing: border-box;
  min-height: 52px;
  height: auto;
  max-width: 100%;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  padding: 14px 22px;
  text-decoration: none !important;
}
.mypc-tenant-detail .mypc-tenant-button-primary { background: #1e6f7e; color: #fff; border: 1.5px solid #1e6f7e !important; }
.mypc-tenant-detail .mypc-tenant-button-primary:hover { background: #0e3a49; border-color: #0e3a49 !important; }
.mypc-tenant-detail .mypc-tenant-button-secondary { background: #fff; color: #0e3a49; border: 1.5px solid #cfc7b8 !important; }
.mypc-tenant-detail .mypc-tenant-button-secondary:hover { border-color: #1e6f7e !important; color: #1e6f7e; }
.mypc-tenant-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #cfc7b8; border-radius: 50%; background: #fff; color: #0e3a49; }
.mypc-tenant-social a:hover { border-color: #1e6f7e; color: #1e6f7e; }
.mypc-tenant-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 32px; font-size: 14px; font-weight: 600; color: #1e6f7e; }
.mypc-tenant-detail a:focus-visible,
.mypc-browse__card a:focus-visible,
.mypc-anchor-card a:focus-visible { outline: 3px solid #1e6f7e; outline-offset: 4px; }
.mypc-tenant-detail ::selection { background: #1e6f7e; color: #fff; }
.mypc-anchor-card h3 a,
.mypc-browse__card-title a { color: inherit; text-decoration: none; }
.mypc-anchor-card,
.mypc-browse__card { position: relative; }
.mypc-anchor-card h3 a::after,
.mypc-browse__card-title a::after { content: ''; position: absolute; inset: 0; }
.mypc-anchor-contact,
.mypc-browse__contact { position: relative; z-index: 1; }
@media (max-width: 980px) {
  .mypc-tenant-detail .mypc-tenant-main-row { grid-template-columns: 1fr; gap: 28px; }
  .mypc-tenant-detail .mypc-tenant-main-row > .et_pb_column { margin-bottom: 0; }
}
@media (max-width: 640px) {
  .mypc-tenant-detail .mypc-tenant-facts .et_pb_text_inner { grid-template-columns: 1fr; gap: 24px; }
  .mypc-tenant-description { font-size: 17px; }
}

.mypc-tenant-suite { font-family: 'Noto Sans Mono', monospace; }

.mypc-tenant-facts .et_pb_text_inner > p:empty { display: none; }

/* Contain inherited footer floats on stacked tenant layouts. */
@media (max-width: 980px) {
  .single-tenant.et-db #et-boc .et-l--footer .mypc-tb-footer-row { display: flow-root; }
}

/* Tenant interaction repair: isolate controls from legacy global link borders. */
.mypc-anchor-card a,
.mypc-browse__card a,
.mypc-tenant-detail .mypc-tenant-contact,
.mypc-tenant-detail .mypc-tenant-back,
.mypc-tenant-detail .mypc-tenant-breadcrumb a {
  border-bottom: 0 !important;
  text-decoration: none !important;
}
.mypc-anchor-contact .mypc-tenant-contact:hover,
.mypc-browse .mypc-tenant-contact:hover,
.mypc-tenant-detail .mypc-tenant-contact:hover { text-decoration: none !important; }
.mypc-anchor-contact,
.mypc-browse__contact { border-top: 0; }
.mypc-tenant-detail .mypc-tenant-contact:hover,
.mypc-tenant-detail .mypc-tenant-back:hover { color: #0e3a49 !important; }
.mypc-tenant-detail .mypc-tenant-button svg { flex: none; }
@media (max-width: 640px) {
  .mypc-tenant-actions-primary { width: 100%; }
  .mypc-tenant-detail .mypc-tenant-button { flex: 1 1 160px; }
}
