/* ld-home.css: homepage hero (EN / and ES /es; markup from tools/build-home-hero.py). Owner 2026-10-25: 19:28 buyer-first; 20:33 full width
   up to 1400px, equal-height columns, no empty space; 20:58 "What do you want to do?" quick choices right under the hero.
   Order everywhere: land for sale (search + 4 live cards) -> quick choices -> buyer list | selling (side by side from 1024px, equal height). */
.ldh{--ldh-gap:clamp(20px,2.4vw,32px);--ldh-pad:clamp(16px,2.4vw,32px);max-width:1400px;margin:0 auto;padding:var(--ldh-gap) 16px;box-sizing:border-box;color:#2E2A22;text-align:left;display:grid;gap:var(--ldh-gap)}
.ldh *{box-sizing:border-box}
.ldh h1{font-size:clamp(32px,4vw,48px);line-height:1.12;margin:0 0 8px;text-align:left}
.ldh h2{font-size:clamp(23px,2.2vw,28px);line-height:1.2;margin:0 0 8px;text-align:left}
.ldh h3{font-size:19px;line-height:1.3;margin:0 0 8px}
.ldh p{font-size:17px;line-height:1.55;margin:0 0 14px}
.ldh .ldh-sub{max-width:900px}
.ldh .ldh-of{font-weight:700;color:#4A6B3A}
/* one card style: single box, padded, no box inside a box */
.ldh .ldh-card2{background:#fff;border:1px solid #e2dccf;border-radius:16px;padding:var(--ldh-pad);min-width:0}
html body #ldh form:not(#ldh-x1):not(#ldh-x2){background:transparent !important;border:0 !important;padding:0 !important;margin:0;border-radius:0 !important;box-shadow:none !important}
/* fields: label 6px above, 16px between fields, every field full width of its cell */
.ldh .ldh-f{min-width:0}
.ldh label{display:block;font-size:15px;font-weight:700;margin:0 0 6px}
.ldh select,.ldh input:not([type=checkbox]):not([type=hidden]){width:100%;min-height:48px;font-size:16px;padding:10px 12px;border:1px solid #cfc6b8;border-radius:10px;background:#fff;color:#2E2A22}
.ldh-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;padding:12px 22px;border:0;border-radius:12px;font-weight:800;font-size:17px;text-decoration:none;cursor:pointer;text-align:center}
.ldh-btn-main{background:#4A6B3A;color:#fff !important;-webkit-text-fill-color:#fff}
.ldh-btn-alt{background:#fff;color:#4A6B3A !important;-webkit-text-fill-color:#4A6B3A;border:2px solid #4A6B3A}
/* search: 2 columns on phones, one row from 768px */
.ldh-search{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0}
.ldh-search .ldh-fc,.ldh-search .ldh-fb{grid-column:1/-1}
.ldh-search .ldh-fb{align-self:end}
/* listing cards: same height, fill the row (2 on phones and tablets, 4 from 1024px) */
.ldh-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0 0 16px}
.ldh-card{display:flex;flex-direction:column;height:100%;border:1px solid #e2dccf;border-radius:12px;overflow:hidden;background:#fff;text-decoration:none;color:#2E2A22}
.ldh-card .ldh-ph{aspect-ratio:4/3;background:#e9e4d8 center/cover no-repeat}
.ldh-card .ldh-cb{padding:10px 12px 12px;flex:1}
.ldh-card .ldh-pr{font-weight:800;font-size:17px}
.ldh-card .ldh-mt{font-size:15px;opacity:.85}
.ldh-cards-empty{grid-column:1/-1;font-size:16px;padding:8px 0}
.ldh .ldh-all{margin:0}
/* quick choices: equal buttons with icons */
.ldh-quick h2{margin-bottom:14px}
.ldh-qgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ldh-q{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:104px;padding:14px 10px;border:1px solid #e2dccf;border-radius:14px;background:#fff;color:#2E2A22 !important;-webkit-text-fill-color:#2E2A22;text-decoration:none;font-weight:800;font-size:16px;line-height:1.25;text-align:center}
.ldh-q svg{color:#4A6B3A;flex:0 0 auto}
.ldh-q:hover,.ldh-q:focus-visible{border-color:#4A6B3A;box-shadow:0 0 0 2px #4A6B3A inset}
/* buyer list | selling: stacked on phones, equal height side by side from 1024px */
.ldh-two{display:grid;gap:var(--ldh-gap);align-items:stretch}
.ldh-buy .ldh-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.ldh-buy .ldh-grid>*{grid-column:1/-1;min-width:0}
.ldh-buy .ldh-grid>.ldh-half{grid-column:auto}
.ldh-buy .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.ldh-msg{font-size:15px;margin:8px 0 0}
.ldh-sell{display:flex;flex-direction:column}
.ldh-sell form{display:grid;gap:12px;margin:4px 0 12px}
.ldh-sell .ldh-estp{margin:12px 0 0}
.ldh-est{display:inline-flex;align-items:center;min-height:44px;font-weight:700;text-decoration:underline;color:#4A6B3A}
.ldh-steps{margin:16px 0 0;padding:16px 0 0;border-top:1px solid #e2dccf}
.ldh-steps ol{margin:0 0 4px;padding:0;list-style:none;counter-reset:s;display:grid;gap:10px}
.ldh-steps li{counter-increment:s;display:flex;gap:12px;align-items:center;font-size:17px;line-height:1.4}
.ldh-steps li::before{content:counter(s);flex:0 0 32px;height:32px;border-radius:50%;background:#4A6B3A;color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center}
.ldh-chips{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 0;padding:0;list-style:none}
.ldh-chips li{font-size:15px;background:#f6f2ea;border:1px solid #e2dccf;border-radius:999px;padding:6px 12px}
.ldh .ld-updated{font-size:14px;opacity:.75;margin:16px 0 0}
@media (max-width:359px){.ldh-search,.ldh-cards,.ldh-qgrid{grid-template-columns:1fr}.ldh-buy .ldh-grid>.ldh-half{grid-column:1/-1}}
@media (min-width:768px){
  .ldh{padding-left:24px;padding-right:24px}
  .ldh-search{grid-template-columns:1.4fr 1fr 1fr auto;align-items:end}
  .ldh-search .ldh-fc,.ldh-search .ldh-fb{grid-column:auto}
  .ldh-qgrid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ldh .ldh-all .ldh-btn{width:auto;display:inline-flex}
}
@media (min-width:1024px){
  .ldh-cards{grid-template-columns:repeat(4,minmax(0,1fr))}
  .ldh-two{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
@media (min-width:1280px){.ldh-qgrid{grid-template-columns:repeat(6,minmax(0,1fr))}}
/* situation links in the selling card (real pages for each situation) */
.ldh-sit{margin:16px 0 0;padding:16px 0 0;border-top:1px solid #e2dccf}
.ldh-sitg{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ldh-sitg a{display:flex;align-items:center;min-height:48px;padding:10px 14px;border:1px solid #e2dccf;border-radius:12px;background:#f6f2ea;color:#2E2A22 !important;-webkit-text-fill-color:#2E2A22;text-decoration:none;font-weight:700;font-size:16px;line-height:1.3}
.ldh-sitg a:hover,.ldh-sitg a:focus-visible{border-color:#4A6B3A}
@media (max-width:359px){.ldh-sitg{grid-template-columns:1fr}}
/* 10-26: the old hero rules (.hero p centred, 580px) must not touch the new block */
html body #ldh p{margin-left:0 !important;margin-right:0 !important}
html body #ldh .ldh-sub{max-width:900px}
html body #ldh .ldh-all{text-align:left}
/* owner 22:48: Call = secondary outline button, 12px under the offer button; both cards the same padding (an old section#sell rule added 48px
   to the selling card only, so its heading sat lower); fields evenly spaced */
html body #ldh a.ldh-btn-alt:not(#ldh-x1):not(#ldh-x2):not(#ldh-x3){background:#fff !important;background-image:none !important;color:#4A6B3A !important;-webkit-text-fill-color:#4A6B3A !important;border:2px solid #4A6B3A !important;box-shadow:none !important}
html body #ldh .ldh-sell a.ldh-btn-alt:not(#ldh-x1):not(#ldh-x2):not(#ldh-x3){margin-top:12px !important}
html body #ldh .ldh-card2:not(#ldh-x1):not(#ldh-x2):not(#ldh-x3){padding:var(--ldh-pad) !important;margin:0 !important}
html body #ldh .ldh-card2 > h2:first-child:not(#ldh-x1):not(#ldh-x2):not(#ldh-x3){margin-top:0 !important}
html body #ldh .ldh-buy .ldh-grid:not(#ldh-x1):not(#ldh-x2):not(#ldh-x3){row-gap:16px}
html body #ldh .ldh-f > label:not(#ldh-x1):not(#ldh-x2):not(#ldh-x3){margin:0 0 6px !important}
/* 10-26: "Your situation" is a full-width row under the two cards (the selling card now holds the one-step offer form) */
html body #ldh .ldh-sitrow{margin:0;padding:0;border:0}
html body #ldh .ldh-sitrow h2{margin-bottom:12px}
@media (min-width:1024px){html body #ldh .ldh-sitrow .ldh-sitg{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* desktop: phone | email side by side in the one-step offer form (keeps the two cards about the same height) */
@media (min-width:1024px){
  html body #ldh #ldh-sellform:not(#ldh-x1):not(#ldh-x2):not(#ldh-x3){grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:16px}
  html body #ldh #ldh-sellform > *:not(#ldh-x1):not(#ldh-x2):not(#ldh-x3){grid-column:1/-1}
  html body #ldh #ldh-sellform > .ldh-f:has(#ldh-s-phone):not(#ldh-x1):not(#ldh-x2):not(#ldh-x3){grid-column:1}
  html body #ldh #ldh-sellform > .ldh-f:has(#ldh-s-email):not(#ldh-x1):not(#ldh-x2):not(#ldh-x3){grid-column:2}
}
/* 2026-10-26 (gate @1280): buyer card fills its column: form rows spread so its button lines up with the selling card (no blank hole) */
@media(min-width:768px){#buyers.ldh-card2{display:flex;flex-direction:column}#buyers #ldh-buyform{flex:1;display:flex;flex-direction:column}#buyers #ldh-buyform>.ldh-grid{flex:1;align-content:space-between}}
