/* ==========================================================
   SEA Custom Overrides (rewritten 07/2026, Creative Grin)
   Was: ChatGPT-era nth-child selectors, several already dead.
   Now: class-based, no positional selectors.
   NOTE: these rules are global BY DESIGN. Do not scope them
   to a page template. The map and content-quarters blocks
   appear on multiple templates (map page, single concept,
   leasing). Scoping breaks those pages.
   ========================================================== */
/* ---------- MAP COMPONENT (all templates) ---------- */
body mapplic-map {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 90% !important;
  margin: 50px auto !important;
  z-index: 1 !important;
}
.content-map .map-sidebar-reveal-button {
  display: none;
}
/* ---------- CONTENT QUARTERS (all templates) ---------- */
.site-wrap > #main-content .content-quarters-text {
  display: none;
}
body .content-quarters > .content-inner {
  padding-top: 10px !important;
}
/* ---------- GRAVITY FORMS 1 & 3 ---------- */
#gform_wrapper_1 #gform_fields_1,
#gform_wrapper_3 #gform_fields_3 {
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
}
#gform_1 .gform_footer,
#gform_3 .gform_footer {
  margin-bottom: 50px;
  justify-content: center;
}
/* ---------- MOBILE ----------
   Hides the View Directory button. */
@media (max-width: 667px) {
  .map-sidebar-reveal-button {
    display: none !important;
  }
}
