/* COSYNEST MOBILE PASS 4 - HOMEPAGE POLISH ONLY */
@media (max-width: 768px) {
  /* Home hero rhythm */
  #home-view > header.bg-brand-light {
    padding-bottom: 0.8rem !important;
  }

  #home-view header .w-full.bg-brand-blue.shadow-lg.relative.overflow-hidden img {
    height: 46vh !important;
    max-height: 390px !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  #home-view header .max-w-4xl.mx-auto.px-4.text-center.mt-12 {
    margin-top: 0.7rem !important;
    padding-left: 0.9rem !important;
    padding-right: 0.9rem !important;
  }

  #home-view header h1.text-3xl.md\:text-5xl {
    font-size: 1.42rem !important;
    line-height: 1.08 !important;
    margin-bottom: 0.3rem !important;
  }

  #home-view header p.text-lg.md\:text-xl {
    font-size: 0.84rem !important;
    line-height: 1.32 !important;
    margin-bottom: 0.7rem !important;
  }

  #home-view header .flex.flex-col.sm\:flex-row.items-stretch.sm\:items-center.justify-center.gap-4.max-w-xl.mx-auto.mt-2 {
    gap: 0.45rem !important;
    margin-top: 0 !important;
    max-width: 24rem !important;
  }

  #home-view header .inline-flex.items-center.justify-center.gap-2.rounded-\[18px\] {
    min-height: 38px !important;
    padding: 0.64rem 0.78rem !important;
    font-size: 0.84rem !important;
    border-radius: 12px !important;
  }

  /* Home intro card below hero */
  #static-management-note {
    margin-top: 0.65rem !important;
    margin-bottom: 1rem !important;
  }

  #static-management-note .rounded-\[32px\],
  #static-management-note .rounded-\[28px\],
  #static-management-note .bg-white {
    border-radius: 18px !important;
  }

  #static-management-note .p-8,
  #static-management-note .p-10,
  #static-management-note .p-12 {
    padding: 0.9rem !important;
  }

  #static-management-note .text-xs.tracking-\[0\.35em\],
  #static-management-note .text-xs.tracking-\[0\.32em\] {
    font-size: 0.72rem !important;
    letter-spacing: 0.26em !important;
    margin-bottom: 0.25rem !important;
  }

  #static-management-note h2,
  #static-management-note .text-4xl,
  #static-management-note .text-5xl {
    font-size: 0.95rem !important;
    line-height: 1.18 !important;
    margin-bottom: 0.45rem !important;
  }

  #static-management-note p,
  #static-management-note .text-lg,
  #static-management-note .text-base {
    font-size: 0.82rem !important;
    line-height: 1.34 !important;
    margin-bottom: 0 !important;
  }

  #static-management-note .grid {
    gap: 8px !important;
    margin-top: 0.8rem !important;
    padding-bottom: 0.15rem !important;
  }

  #static-management-note .grid > div {
    flex: 0 0 76% !important;
    padding: 0.78rem !important;
    border-radius: 15px !important;
  }

  #static-management-note .grid > div h3,
  #static-management-note .grid > div .text-xl {
    font-size: 0.88rem !important;
    line-height: 1.16 !important;
    margin-bottom: 0.18rem !important;
  }

  #static-management-note .grid > div p {
    font-size: 0.76rem !important;
    line-height: 1.32 !important;
  }

  /* Discover section spacing */
  #properties-section,
  .properties-section {
    padding-top: 0.75rem !important;
  }

  #properties-section .mb-16,
  #properties-section .mb-20,
  #properties-section .mb-12 {
    margin-bottom: 0.55rem !important;
  }

  #properties-section h2,
  .section-title,
  .text-4xl.font-bold,
  .text-5xl.font-bold {
    font-size: 1.6rem !important;
    line-height: 1.03 !important;
    margin-bottom: 0.15rem !important;
  }

  /* Filter row */
  #guest-filter-wrap {
    gap: 5px !important;
    align-items: center !important;
    margin-top: 0.3rem !important;
  }

  #guest-filter-wrap > span {
    font-size: 0.75rem !important;
  }

  #guest-filter-wrap button,
  #guest-filter-wrap .rounded-full,
  #guest-filter-wrap > div > * {
    min-height: 34px !important;
    min-width: 34px !important;
    padding: 0.42rem 0.7rem !important;
    font-size: 0.78rem !important;
  }

  /* Homepage property cards */
  #properties-section .grid,
  .property-grid {
    gap: 11px !important;
  }

  #properties-section .h-64,
  .property-card img,
  .group.bg-white img {
    height: 176px !important;
  }

  #properties-section .p-6,
  .property-card .p-6,
  .group.bg-white .p-6 {
    padding: 12px !important;
  }

  #properties-section h3,
  .property-card h3,
  .property-card .text-xl {
    font-size: 0.92rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.14rem !important;
  }

  #properties-section .text-xl.font-bold.text-brand-blue,
  .property-card .price,
  .property-card .font-bold.text-brand-blue {
    font-size: 0.92rem !important;
  }

  #properties-section .text-sm,
  #properties-section .text-base,
  .property-card p,
  .property-card span {
    font-size: 0.78rem !important;
    line-height: 1.32 !important;
  }

  .property-card p:last-of-type,
  #properties-section .text-gray-600:last-of-type {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .property-details-btn {
    min-height: 36px !important;
    font-size: 0.8rem !important;
    padding: 0.58rem 0.75rem !important;
  }
}
