/* Country homes: shared search controls, unchanged inventory and SEO mesh. */
body.home-experience { background:#f7f5ef; }
body.home-experience .wrap { max-width:1440px; }
body.home-experience .hero { display:grid; grid-template-columns:minmax(0,1.8fr) minmax(240px,.8fr); gap:22px 48px; padding:46px 0 34px; border-bottom:0; }
body.home-experience .hero-kicker { grid-column:1 / -1; display:flex; align-items:center; gap:10px; font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--c-text-mute); }
body.home-experience .hero-kicker::before { content:""; width:24px; height:2px; background:var(--c-terracotta); }
body.home-experience .hero h1 { grid-column:1; margin:0; max-width:24ch; font-size:clamp(38px,4.7vw,68px); font-weight:650; letter-spacing:-.055em; line-height:1.04; text-wrap:initial; overflow-wrap:anywhere; }
body.home-experience .hero h1 .sub { display:block; font-size:clamp(21px,2.4vw,32px); line-height:1.3; letter-spacing:-.025em; color:var(--c-terracotta); margin-top:14px; max-width:32ch; }
body.home-experience .hero h1 .sub a { text-decoration-color:#b64e2a55; text-decoration-thickness:1px; text-underline-offset:5px; }
body.home-experience .hero-facts { grid-column:2; align-self:center; display:flex; flex-direction:column; gap:14px; margin:0; padding:22px 24px; border-left:1px solid var(--c-border); font-size:13px; line-height:1.5; }
body.home-experience .hero-facts > span { min-width:0; }
body.home-experience .hero-facts .dot { flex:none; }
body.home-experience form.experience-search { grid-column:1 / -1; display:block; width:100%; max-width:none; box-sizing:border-box; margin-top:6px; }
body.home-experience .experience-fields .input { padding:8px 12px; }
body.home-experience .experience-submit { background:var(--c-terracotta); color:white; }
body.home-experience .home-body { grid-template-columns:minmax(0,1.7fr) minmax(280px,.8fr); gap:32px; padding:18px 0 42px; }
body.home-experience .section-head { align-items:center; gap:18px; flex-wrap:wrap; margin-bottom:18px; }
body.home-experience .section-label { font-size:13px; font-weight:650; letter-spacing:.035em; color:var(--c-text); }
body.home-experience .see-all { display:inline-flex; align-items:center; min-height:44px; font-size:13px; color:var(--c-terracotta); }
body.home-experience .home-list > .stack { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
body.home-experience .job-card { display:flex; align-items:flex-start; min-width:0; min-height:154px; padding:22px; background:white; border:1px solid var(--c-border); border-radius:18px; gap:14px; transition:border-color .15s,box-shadow .15s; }
body.home-experience .job-card:hover { border-color:var(--c-terracotta); box-shadow:0 6px 24px #44321c08; color:var(--c-text); }
body.home-experience .job-card .mono { flex:none; width:42px; height:42px; border-radius:12px; font-size:12px; }
body.home-experience .job-card .job-main { min-width:0; }
body.home-experience .job-card .job-title { font-size:17px; line-height:1.4; font-weight:650; letter-spacing:-.015em; overflow-wrap:anywhere; }
body.home-experience .job-card .job-meta { font-size:13px; line-height:1.55; margin-top:6px; overflow-wrap:anywhere; }
body.home-experience .job-card .chips { display:flex; flex-wrap:wrap; gap:6px; margin-top:12px; }
body.home-experience .job-card .chip { font-size:11px; line-height:1.5; white-space:normal; }
body.home-experience .home-body > aside { min-width:0; border-top:2px solid var(--c-terracotta); padding-top:20px; }
body.home-experience .salary-card { border-radius:18px; padding:22px; background:white; }
body.home-experience .salary-card .top { align-items:flex-start; flex-wrap:wrap; gap:12px; }
body.home-experience .salary-card .median { font-size:20px; color:var(--c-terracotta); letter-spacing:-.03em; }
body.home-experience .salary-card .role { font-size:16px; overflow-wrap:anywhere; }
body.home-experience .salary-card .basis { line-height:1.7; }
body.home-experience .salary-note { line-height:1.7; margin:16px 0 28px; }
body.home-experience .alert-box { border:1px solid var(--c-border); border-radius:18px; background:#fff; padding:22px; margin-top:28px; }
body.home-experience .alert-box h2 { font-size:18px; letter-spacing:-.025em; }
body.home-experience .alert-box p { line-height:1.7; font-size:13px; }
body.home-experience .alert-form { display:grid; gap:10px; }
body.home-experience .alert-form .input,body.home-experience .alert-form .btn { min-width:0; min-height:44px; border-radius:10px; }
body.home-experience .alert-form .btn { white-space:normal; }
body.home-experience .cities { border-top:1px solid var(--c-border); padding:28px 0 52px; }
body.home-experience .city-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
body.home-experience .city-card { border-radius:16px; padding:20px; transition:border-color .15s; }
body.home-experience .city-card .top { align-items:flex-start; flex-wrap:wrap; gap:8px; }
body.home-experience .city-card .name { font-size:16px; letter-spacing:-.015em; }
body.home-experience .city-card .count { font-size:13px; color:var(--c-text-mute); }
body.home-experience .city-card .share { height:3px; margin-top:18px; opacity:.65; }
body.home-experience .site-footer { background:white; }
body.home-experience a:focus-visible,body.home-experience button:focus-visible,body.home-experience input:focus-visible { outline:2px solid var(--c-terracotta); outline-offset:4px; }
@media (max-width:1180px) {
 body.home-experience .home-list > .stack { grid-template-columns:minmax(0,1fr); }
 body.home-experience .home-body { grid-template-columns:minmax(0,1.5fr) minmax(260px,.8fr); gap:24px; }
}
@media (max-width:880px) {
 body.home-experience .hero { grid-template-columns:minmax(0,1fr); gap:20px; padding:28px 0 24px; }
 body.home-experience .hero h1 { font-size:clamp(38px,7vw,54px); max-width:22ch; }
 body.home-experience .hero h1 .sub { font-size:23px; max-width:30ch; }
 body.home-experience .hero-facts { grid-column:1; border:0; padding:0; gap:10px; font-size:12px; }
 body.home-experience .home-body { grid-template-columns:minmax(0,1fr); gap:32px; padding-top:8px; }
 body.home-experience .job-card { min-height:0; padding:20px; }
 body.home-experience .home-body > aside { margin-top:0; }
 body.home-experience .city-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:480px) {
 body.home-experience .hero h1 { font-size:40px; }
 body.home-experience .hero h1 .sub { font-size:22px; }
 body.home-experience .city-grid { grid-template-columns:minmax(0,1fr); }
 body.home-experience .salary-card,body.home-experience .alert-box { padding:20px; }
}
@media (prefers-reduced-motion:reduce) { body.home-experience * { transition:none !important; scroll-behavior:auto !important; } }

body.home-experience .home-list .job-card:only-child { grid-column:1 / -1; }

body.home-experience .home-alerts { border:1px solid var(--c-border); border-radius:18px; background:white; margin-top:28px; }
body.home-experience .home-alerts > summary { cursor:pointer; padding:16px 20px; min-height:56px; box-sizing:border-box; font-size:16px; font-weight:650; line-height:24px; }
body.home-experience .home-alerts > summary::marker { color:var(--c-terracotta); }
body.home-experience .home-alerts .alert-box { border:0; margin:0; padding:0 20px 20px; background:transparent; }
body.home-experience .home-alerts .alert-box h2 { display:none; }

/* Adapt to real evidence: no empty salary column or invented substitute cards. */
@supports selector(:has(*)) {
 body.home-experience .home-body:not(:has(.salary-card)) { grid-template-columns:minmax(0,1fr); }
 body.home-experience .home-body:not(:has(.salary-card)) > aside { border-top:0; padding:0; width:100%; max-width:560px; }
 body.home-experience .home-body:not(:has(.salary-card)) .home-alerts { margin-top:0; }
 @media (min-width:1181px) { body.home-experience .home-body:not(:has(.salary-card)) .home-list > .stack { grid-template-columns:repeat(3,minmax(0,1fr)); } }
 @media (min-width:881px) and (max-width:1180px) { body.home-experience .home-body:not(:has(.salary-card)) .home-list > .stack { grid-template-columns:repeat(2,minmax(0,1fr)); } }
}
