/* Massimo desktop homepage content; the existing hero remains unchanged. */
.container > .massimo-home-content {
  display: flow-root;
  clear: both;
  float: none;
  width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
  color: #333;
  line-height: 1.7;
}
.massimo-home-section { display: flow-root; float: none; width: 100%; margin-bottom: 48px; }
.massimo-home-section > h2 { float: none; width: 100%; font-size: 24px; margin-bottom: 24px; }
.massimo-property-grid, .massimo-search-options {
  display: grid;
  float: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}
.massimo-property-grid > li, .massimo-search-options > li { width: auto; float: none; }
.massimo-property-card { display: block; float: none; width: 100%; border: 1px solid #ddd; border-radius: 3px; padding: 16px; color: #333; text-decoration: none; }
.massimo-property-card > img { display: block; float: none; width: 100%; height: auto; object-fit: cover; }
.massimo-property-card > h3 { float: none; width: 100%; font-size: 18px; margin: 16px 0 8px; }
.massimo-property-card > p { float: none; width: 100%; margin-top: 8px; }
.massimo-property-rent { color: #a00; font-size: 18px; font-weight: bold; }
.massimo-search-link, .massimo-search-options a {
  display: block;
  float: none;
  width: 100%;
  padding: 14px 20px;
  border: 1px solid #900;
  border-radius: 3px;
  text-align: center;
  color: #900;
}
.massimo-search-link { margin-top: 24px; }
.massimo-property-card:hover, .massimo-property-card:focus-visible,
.massimo-search-link:hover, .massimo-search-link:focus-visible,
.massimo-search-options a:hover, .massimo-search-options a:focus-visible { outline: 2px solid #900; outline-offset: 2px; }
/* Preserve the existing hero image/text; restore the missing text placement. */
.container > .mainvisual { position: relative; }
.container > .mainvisual > .sub {
  position: absolute;
  top: 42px;
  left: max(24px, calc((100% - 1000px) / 2));
  float: none;
  width: 600px;
  color: #fff;
  text-shadow: 0 2px 5px #222;
}
.container > .mainvisual > .sub h2 { float: none; width: 100%; line-height: 1.25; }
.container > .mainvisual > .sub strong { float: none; font-size: 38px; }
.container > .mainvisual > .sub span { float: none; font-size: 26px; }
.container > .mainvisual > .sub2 {
  position: absolute;
  right: max(24px, calc((100% - 1000px) / 2));
  bottom: 32px;
  float: none;
  width: 320px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, .65);
  color: #fff;
  font-size: 18px;
  line-height: 1.6;
}
