/* ============================================================
   Joyland polish — even building photos + cleaner footer
   Paste into: Appearance → Customize → Additional CSS
   Slight visual cleanup only. Nothing is removed or hidden.
   Preview only until approved — do not publish without a look.
   ============================================================ */


/* ----------------------------------------------------------
   1) Even building photos
      Home-page tiles and Property Showcase grid tiles already
      sit in square boxes, but photos were cropped from the
      top-left and a few file sizes were not square. Center
      every photo and crop to the same square. Photos inside
      a building's info bubble use the same 8×5 shape.
   ---------------------------------------------------------- */

.property-listings .property-listing {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  height: auto;
  padding-bottom: 0;
  aspect-ratio: 1 / 1;
}

.property-image {
  overflow: hidden;
  aspect-ratio: 8 / 5;
}

.property-image img,
.property-image .wp-post-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}


/* ----------------------------------------------------------
   2) Cleaner footer
      Same links and text as today (office address, phone,
      email, “By appointment only,” Tenant Portal, Follow us,
      Instagram, legal links, copyright, and the e9 credit).
      No new hours or addresses are added. Groups the contact
      details with the Tenant Portal on wide screens.
   ---------------------------------------------------------- */

footer.site-footer {
  background: #efe6d5;
  color: #716356;
}

footer.site-footer a:hover,
footer.site-footer .footer-nav a:hover,
footer.site-footer .footer-nav .sub-menu a:hover,
footer.site-footer .footer-extra-links a:hover,
footer.site-footer .footer-col-contact a:hover,
footer.site-footer .footer-extra a:hover {
  color: #5e7d3a;
}

/* Contact details: readable sentence case, not all-caps */
footer.site-footer .footer-col-contact {
  margin-top: 0.4rem;
  padding: 0;
  color: #716356;
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.7;
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
}

footer.site-footer .footer-col-contact a,
footer.site-footer .footer-col-contact a.mail {
  color: #716356;
  font-size: inherit;
  font-weight: 500;
  text-decoration: none;
  text-transform: none;
  white-space: normal;
}

footer.site-footer .footer-col-contact a:hover,
footer.site-footer .footer-col-contact a.mail:hover {
  color: #5e7d3a;
}

@media (min-width: 769px) {
  footer.site-footer .footer-col-contact {
    white-space: normal;
  }
}

/* Tenant Portal button stays the darker green */
footer.site-footer .footer-tenant {
  margin: 0 0 0.85rem;
  line-height: 1;
}

footer.site-footer .footer-tenant .footer-tenant-btn,
footer.site-footer .footer-tenant-btn {
  display: inline-block;
  box-sizing: border-box;
  padding: 0.7rem 1.4rem;
  background: #5e7d3a;
  color: #fff;
  font-family: "birch-std", Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
}

footer.site-footer .footer-tenant .footer-tenant-btn:hover,
footer.site-footer .footer-tenant-btn:hover {
  background: #4c662f;
  color: #fff;
}

footer.site-footer .follow-label {
  display: inline-block;
  margin: 0.85rem 0.65rem 0 0;
  color: #716356;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}

footer.site-footer .footer-brand .social-icons {
  display: inline-block;
  margin: 0.85rem 0 0;
  vertical-align: middle;
}

footer.site-footer .site-attribution {
  margin-top: 1rem;
}

footer.site-footer .footer-extra {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem 0;
  border-top: 1px solid #a89888;
  text-align: center;
}

footer.site-footer .footer-extra p,
footer.site-footer .footer-contact-line,
footer.site-footer .footer-eho {
  margin: 0 0 0.45rem;
  color: #716356;
}

footer.site-footer .footer-extra a {
  color: #716356;
  text-decoration: underline;
}

footer.site-footer .footer-extra a:hover {
  color: #5e7d3a;
}

footer.site-footer .site-copyright {
  margin: 0.25rem 0 0;
  padding: 0 1.25rem 1.25rem;
  color: #716356;
  text-align: center;
  font-size: 12px;
}

/* Wide screens: four even columns; contact + Tenant Portal
   stacked together in the last column. Existing markup is
   reused with display:contents — no theme file edit needed. */
@media only screen and (min-width: 64.0625em) {
  footer.site-footer .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(15rem, 0.95fr);
    column-gap: 1.75rem;
    row-gap: 0.65rem;
    align-items: start;
    padding-top: 4.5rem;
    padding-bottom: 3rem;
  }

  footer.site-footer .footer-columns,
  footer.site-footer .footer-columns .inner,
  footer.site-footer .footer-columns .row {
    display: contents;
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
  }

  footer.site-footer .footer-columns .column {
    width: auto;
    margin: 0;
    float: none;
  }

  footer.site-footer .footer-columns .column:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  footer.site-footer .footer-columns .column:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  footer.site-footer .footer-columns .column:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
  }

  /* Contact Us + address/phone sit in column 4, aligned with the other headings */
  footer.site-footer .footer-columns .column:nth-child(4) {
    grid-column: 4;
    grid-row: 1;
  }

  /* Tenant Portal, Follow us, and the e9 credit stay together under the contact details */
  footer.site-footer .footer-brand {
    grid-column: 4;
    grid-row: 2;
    float: none;
    position: static;
    width: auto;
    max-width: 100%;
    margin: 0.85rem 0 0;
    padding: 0;
    text-align: left;
  }

  footer.site-footer .footer-tenant {
    margin: 0 0 0.75rem;
  }

  footer.site-footer .follow-label {
    display: inline-block;
    margin: 0 0.65rem 0 0;
    vertical-align: middle;
  }

  footer.site-footer .footer-brand .social-icons,
  footer.site-footer .social-icons {
    display: inline-block;
    margin: 0;
    vertical-align: middle;
  }

  footer.site-footer .site-attribution {
    margin-top: 0.75rem;
  }

  footer.site-footer .footer-nav,
  footer.site-footer .footer-nav > li {
    text-align: left;
  }
}

/* Tablets: drop the tight floated brand column; stack neatly */
@media only screen and (min-width: 481px) and (max-width: 64em) {
  footer.site-footer .container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding-top: 3.5rem;
    padding-bottom: 2.5rem;
  }

  footer.site-footer .footer-brand {
    float: none;
    position: static;
    width: 100%;
    margin: 0 0 2rem;
    padding: 0;
    text-align: left;
  }

  footer.site-footer .footer-columns {
    float: none;
    width: 100%;
  }

  footer.site-footer .footer-columns .inner {
    padding-right: 0;
  }
}

/* Phones: keep everything, just even out the spacing */
@media only screen and (max-width: 768px) {
  footer.site-footer {
    text-align: center;
  }

  footer.site-footer .container {
    padding-top: 2.5rem;
    padding-bottom: 1.5rem;
  }

  footer.site-footer .footer-brand,
  footer.site-footer .footer-columns,
  footer.site-footer .footer-nav,
  footer.site-footer .footer-col-contact {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: auto;
    float: none;
  }

  footer.site-footer .footer-brand {
    margin-bottom: 1.75rem;
  }

  footer.site-footer .footer-tenant {
    margin: 0 0 1rem;
  }

  footer.site-footer .follow-label {
    display: inline-block;
    margin: 0.5rem 0.65rem 0 0;
    vertical-align: middle;
  }

  footer.site-footer .footer-brand .social-icons {
    display: inline-block;
    margin: 0.5rem 0 0;
    vertical-align: middle;
  }

  footer.site-footer .footer-columns .column {
    margin-bottom: 1.1rem;
  }

  footer.site-footer .footer-col-contact {
    margin-top: 0.35rem;
  }
}
