/* Screenshot reference: the original 1180px Lister, 250px filter column,
   32px gutter and 245px card image. All rules are confined to this page. */
.lister-page .container{width:min(calc(100% - 48px),1180px);margin-inline:auto}
.lister-page .page-hero-compact{padding:56px 0 40px;background:#f3f5f2;border-bottom:1px solid var(--line)}
.lister-page .page-hero h1{font-family:var(--serif);font-size:48px;font-weight:400;line-height:1.12;letter-spacing:-.035em;margin-bottom:16px}
.lister-page .page-hero p{max-width:720px}
.lister-page .lister-preferences-link{margin-top:4px;min-height:44px}
.lister-page .results-section{padding-top:40px;background:var(--cream)}
.lister-page .results-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:32px;align-items:start}
/* Original white search strip, with the current destination/date/occupancy hooks. */
.lister-page .lister-search-bar{display:grid;grid-template-columns:1.7fr 1fr 1fr .8fr auto;gap:8px;align-items:end;background:white;border:1px solid var(--line);border-radius:var(--radius-md);padding:12px;margin-top:34px;box-shadow:var(--shadow)}
.lister-page .lister-search-field{padding:0 8px;min-width:0;font-size:11px;font-weight:700}
.lister-page .lister-search-field:not(:first-child){border-left:1px solid #dbe3e650}
.lister-page .lister-search-field>input{display:block;width:100%;min-width:0;border:0;padding:4px 0;font-size:14px;font-weight:400;background:transparent}
.lister-page .lister-guests{position:relative}
.lister-page .lister-guests summary{display:flex;justify-content:space-between;align-items:center;gap:6px;min-height:44px;padding:4px 0;font-size:14px;font-weight:400;list-style:none;cursor:pointer}
.lister-page .lister-guests summary::-webkit-details-marker{display:none}
.lister-page .lister-guest-fields{position:absolute;right:0;top:100%;z-index:20;width:260px;max-width:calc(100vw - 48px);padding:16px;background:white;border:1px solid var(--line);border-radius:var(--radius-md);box-shadow:var(--shadow)}
.lister-page .lister-guest-fields label{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:8px;font-size:13px;font-weight:400}
.lister-page .lister-guest-fields input{width:74px;font-size:14px}
.lister-page .lister-guest-fields small{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:8px}
/* Same quiet filter panel; groups are divided by a line, not boxed separately. */
.lister-page .lister-filter-panel{background:white;border:1px solid var(--line);border-radius:var(--radius-md);padding:22px;max-height:calc(100dvh - 120px);overflow-y:auto}
.lister-page .filter-title{gap:10px}
.lister-page .filter-title a{font-size:12px;white-space:nowrap;text-decoration:underline}
.lister-page .filter-panel fieldset{min-width:0;border:0;border-top:1px solid var(--line);padding:14px 0;margin:8px 0}
.lister-page .filter-panel legend{font-size:14px;font-weight:700}
.lister-page .lister-select-label{display:block;font-size:13px;min-height:30px}
.lister-page .filter-panel select{min-width:0;font-size:14px}
.lister-page .filter-panel small{display:block;font-size:11px;color:var(--muted)}
.lister-page .lister-check{min-height:32px;font-size:13px;gap:8px}
.lister-page .lister-check input{flex-shrink:0}
.lister-page .lister-check:has(input:disabled){opacity:.55}
.lister-page .lister-price-range{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:6px;align-items:end}
.lister-page .lister-price-range label{display:block;min-width:0;font-size:12px}
.lister-page .lister-price-range input{display:block;min-width:0;font-size:12px;padding:10px 6px}
.lister-page .lister-price-range>span{padding-bottom:10px}
.lister-page .filter-panel .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.lister-page input:focus-visible,.lister-page select:focus-visible{outline:1px solid var(--navy);outline-offset:2px}
/* Compact result count, sort and chips, followed by the original image/content card. */
.lister-page .lister-result-column{position:relative;min-width:0}
.lister-page .lister-status{position:absolute;top:-26px;left:0;margin:0;font-size:12px;color:var(--muted)}
.lister-page .results-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 20px}
.lister-page .results-top>strong{font-size:15px;font-weight:700}
.lister-page .results-top label{font-size:15px}
.lister-page .results-top select{font-size:13px;max-width:235px}
.lister-page .filter-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.lister-page .filter-chips a{padding:6px 10px;min-height:34px;font-size:11px;border:1px solid var(--line);border-radius:var(--radius-md);background:#ffffffb3;overflow-wrap:anywhere}
.lister-page .filter-chips .lister-clear{border:0;border-radius:0;background:transparent;text-decoration:underline;padding-inline:0}
.lister-page .hotel-list{display:grid;gap:20px}
.lister-page .hotel-list .hotel-card{display:grid;grid-template-columns:245px minmax(0,1fr);background:white;border:1px solid var(--line);border-radius:var(--radius-md);overflow:hidden;box-shadow:none}
.lister-page .hotel-list .hotel-card-image{height:100%;min-height:240px}
.lister-page .hotel-list .hotel-card-image img{width:100%;height:100%;object-fit:cover;object-position:center}
.lister-page .hotel-list .hotel-card-body{padding:24px}
.lister-page .hotel-list .hotel-card h2{font-family:var(--serif);font-size:27px;line-height:1.12;font-weight:400;margin-bottom:12px}
.lister-page .hotel-list .hotel-location{font-size:12px;margin-bottom:8px}
.lister-page .hotel-list .match-badge{font-size:12px;padding:6px 10px;background:var(--blue-soft);border:0;border-radius:24px;align-self:start}
.lister-page .hotel-list .hotel-card-body>.text-link{font-size:12px;min-height:24px;margin-bottom:12px}
.lister-page .hotel-list .hotel-card-bottom{padding-top:18px;border-top:1px solid var(--line);margin-top:auto;gap:16px;flex-wrap:wrap}
.lister-page .hotel-list .favorite-button{top:12px;right:12px;width:44px;height:44px;border:1px solid var(--line);border-radius:50%;font-size:24px}
.lister-page .lister-filter-open,.lister-page .lister-filter-close{display:none}
@media(max-width:1000px){
 .lister-page .results-layout{grid-template-columns:minmax(0,1fr);gap:20px}
 .lister-page .results-top{flex-wrap:wrap}
 .lister-page .hotel-list .hotel-card{grid-template-columns:190px minmax(0,1fr)}
 .lister-page .lister-search-bar{grid-template-columns:repeat(4,minmax(0,1fr))}
 .lister-page .lister-search-field:first-child{grid-column:span 2}
 .lister-page .lister-search-bar>.button{grid-column:span 3}
 .lister-page .lister-filter-open,.lister-page .lister-filter-close{display:inline-flex}
 .lister-page .lister-filter-panel{display:none}
 .lister-page .lister-filter-panel.is-open{display:block;position:fixed;inset:16px 16px 16px auto;width:min(390px,calc(100% - 32px));max-height:calc(100dvh - 32px);z-index:var(--overlay-z);box-shadow:0 0 0 100vmax #052c4580}
 .lister-page .lister-filter-panel .filter-title{position:sticky;top:-22px;z-index:2;background:white;padding:10px 0}
}
@media(max-width:640px){
 .lister-page .container{width:calc(100% - 32px)}
 .lister-page .page-hero-compact{padding:20px 0}
 .lister-page .page-hero h1{font-size:30px}
 .lister-page .lister-search-bar{grid-template-columns:minmax(0,1fr) minmax(0,1fr);margin-top:16px;gap:12px}
 .lister-page .lister-search-field:first-child{grid-column:1/-1}
 .lister-page .lister-search-bar>.button{grid-column:auto;padding-inline:10px;font-size:12px}
 .lister-page .lister-search-field{padding:0; border-left:0!important}
 .lister-page .lister-guest-fields{right:auto;left:0}
 .lister-page .results-top{gap:12px}
 .lister-page .results-top select{max-width:190px}
 .lister-page .hotel-list .hotel-card{display:flex;flex-direction:column}
 .lister-page .hotel-list .hotel-card-image{min-height:0;height:190px}
 .lister-page .hotel-list .hotel-card-body{padding:22px}
 .lister-page .lister-filter-panel.is-open{inset:auto 0 0;width:100%;max-height:85dvh;border-radius:20px 20px 0 0}
}
