/* High-rise cards only. Keep the full-building photo + picker contract at 320px. */
.rankings-page.highrise-mode .larger-building-grid {
  gap: 24px;
}
.rankings-page.highrise-mode .larger-building-grid article {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto 24px;
  grid-template-rows: 320px auto auto auto auto auto 1fr;
  column-gap: 0;
  row-gap: 10px;
  padding: 0 0 24px;
  overflow: hidden;
  border: 1px solid #d8c8ab;
  border-radius: 22px;
  background: #fffaf1;
  box-shadow: 0 5px 18px #29231c0a;
  color: #243746;
}
.rankings-page.highrise-mode .larger-building-grid article:hover {
  box-shadow: 0 9px 25px #29231c14;
  border-color: #bba477;
}
.rankings-page.highrise-mode .larger-building-grid article > * {
  grid-column: 2 / 4;
  min-width: 0;
}
.rankings-page.highrise-mode .larger-building-grid article > .highrise-card-photo,
.rankings-page.highrise-mode .larger-building-grid article > .highrise-photo-pending {
  grid-column: 1 / -1;
  grid-row: 1;
  width: 100%;
  height: 320px;
  min-height: 320px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid #ded2be;
  border-radius: 0;
  background: #eee8dd;
}
.rankings-page.highrise-mode .highrise-card-photo img {
  background: #eee8dd;
  object-fit: contain;
}
.rankings-page.highrise-mode .highrise-photo-picker {
  left: 10px;
  bottom: 5px;
  width: calc(100% - 20px);
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #b9a783;
  border-radius: 9px;
  background: #fffaf1;
  color: #243746;
  font: 500 14px/1.4 Inter, sans-serif;
  cursor: pointer;
}
.rankings-page.highrise-mode .highrise-photo-picker:focus-visible {
  outline: 3px solid #705526;
  outline-offset: -3px;
}
.rankings-page.highrise-mode .larger-building-grid article > .highrise-card-rank {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  margin: 10px 0 0;
  color: #846223;
  font: 600 30px/1.2 Fraunces, Georgia, serif;
}
.rankings-page.highrise-mode .larger-building-grid article > .highrise-card-area {
  grid-column: 3;
  grid-row: 2;
  align-self: center;
  justify-self: end;
  max-width: 160px;
  margin: 10px 0 0 12px;
  padding: 5px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #645746 !important;
  font: 500 14px/1.4 Inter, sans-serif;
  text-align: right;
}
.rankings-page.highrise-mode .larger-building-grid article > h3 {
  margin: 2px 0 0;
  min-height: 60px;
  color: #243746;
  font: 500 25px/1.2 Fraunces, Georgia, serif;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.rankings-page.highrise-mode .larger-building-grid article > .highrise-address {
  margin: 0;
  color: #394d58;
  font: 600 15px/1.5 Inter, sans-serif;
}
.rankings-page.highrise-mode .larger-building-grid article > .building-score {
  margin: 6px 0 0;
  padding-top: 14px;
  border-top: 1px solid #e3d8c7;
  color: #253b49;
  font: 600 30px/1.15 Fraunces, Georgia, serif;
}
.rankings-page.highrise-mode .building-score small {
  color: #645746;
  font: 500 11px/1.4 Inter, sans-serif;
  letter-spacing: .06em;
}
.rankings-page.highrise-mode .larger-building-grid article > .highrise-building-age {
  margin: 0 !important;
  color: #605a50;
  font: 500 14px/1.5 Inter, sans-serif;
}
.rankings-page.highrise-mode .larger-building-grid article > .highrise-local-note {
  margin: 3px 0 0 !important;
  color: #465a63 !important;
  font: 400 14px/1.6 Inter, sans-serif;
}
@media (max-width: 520px) {
  .rankings-page.highrise-mode .larger-building-grid article {
    grid-template-columns: 20px minmax(0, 1fr) auto 20px;
    padding-bottom: 22px;
  }
  .rankings-page.highrise-mode .larger-building-grid article > h3 {
    min-height: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rankings-page.highrise-mode .larger-building-grid article {
    transition: none;
  }
}

/* Claude 2026-10-09: rankings menu fits on a phone */
@media(max-width:600px){.rankings-page .site-header nav{flex-wrap:wrap;justify-content:center;gap:6px 14px;font-size:15px}}
