.unit-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.unit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.unit-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #16a34a;
  margin: 6px 0 12px;
}

.unit-badge {
  display: inline-block;
  background: #16a34a;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  margin: 12px 0 8px;
}
/* Unit card buttons: make them full-width on mobile */
@media (max-width: 768px) {
  .unit-card .wp-block-buttons {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .unit-card .wp-block-button {
    width: 100% !important;
  }

  .unit-card .wp-block-button__link {
    width: 100% !important;
    text-align: center !important;
    white-space: nowrap !important;
    padding: 14px 18px !important;
  }
}

/* SECTION 3 ONLY: stack unit cards on small phones */
@media (max-width: 700px) {
  .available-units .wp-block-columns {
    flex-wrap: wrap !important;
  }
  .available-units .wp-block-columns > .wp-block-column {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* prevent ugly mid-word breaks inside unit cards */
  .available-units .unit-card * {
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 600px) {
  .unit-card img {
    max-height: 280px;
    object-fit: cover;
  }

}

.info-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

@media (max-width: 768px) {
  .info-card {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Center Amenities & Location section container */
..amenities-location.wp-block-group {
  max-width: 1200px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.cta-strip {
  border-radius: 18px;
}

@media (max-width: 768px) {
  .cta-strip .wp-block-buttons {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
  .cta-strip .wp-block-button__link {
    width: 100% !important;
    text-align: center !important;
  }
}

.cta-strip .wp-block-button__link:hover {
  background: rgba(255,255,255,0.1);
}

.trust-strip {
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

/* Contact cards only: wrap long emails */
.contact-cards a,
.contact-cards p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Contact page: force form/layout to stack + fill width on mobile */
@media (max-width: 768px) {
  .contact-section .wp-block-columns {
    flex-direction: column !important;
  }

  .contact-section .wp-block-columns > .wp-block-column {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .contact-section .wp-block-group,
  .contact-section .info-card {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 768px) {
  .contact-section form,
  .contact-section .wpforms-container,
  .contact-section .fluentform,
  .contact-section .wpcf7 {
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* Make the Message box shorter (Contact page only) */
@media (max-width: 768px) {
  .contact-section textarea,
  .contact-section form textarea,
  .contact-section .wpforms-container textarea,
  .contact-section .wpforms-form textarea,
  .contact-section .fluentform textarea,
  .contact-section .ff-el-form-control textarea,
  .contact-section .wpcf7 textarea,
  .contact-section .wpcf7-form-control.wpcf7-textarea {
    min-height: 120px !important;
    height: 120px !important;
    padding: 12px 14px !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
  }
}


