/* LastDay.gr v0.17.238 — compact homepage discovery chrome.
   Goal: surface live deals sooner without removing search/filter functionality. */

/* Community CTA: one compact horizontal band on desktop. */
body.page-home:not(.admin-body) .ld-community-section{
  max-width:1360px;
  min-height:0;
  margin:12px auto 10px;
  padding:14px 18px;
  border-radius:16px;
}
body.page-home:not(.admin-body) .ld-community-content{
  width:100%;
  max-width:none;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:"eyebrow button" "title button" "copy button";
  column-gap:22px;
  row-gap:2px;
  align-items:center;
}
body.page-home:not(.admin-body) .ld-community-eyebrow{grid-area:eyebrow;margin:0;font-size:9px;letter-spacing:.11em}
body.page-home:not(.admin-body) .ld-community-section h2{grid-area:title;margin:0;font-size:20px;line-height:1.12;letter-spacing:-.35px}
body.page-home:not(.admin-body) .ld-community-section p{grid-area:copy;margin:2px 0 0;max-width:76ch;font-size:11px;line-height:1.35}
body.page-home:not(.admin-body) .ld-community-button{grid-area:button;min-height:38px;padding:8px 14px;border-radius:10px;font-size:11px;white-space:nowrap}

/* Demand strip: single-line horizontal scroller instead of a tall tag cloud. */
body.page-home:not(.admin-body) .search-demand-strip{
  max-width:1360px;
  margin:8px auto 0;
  padding:9px 12px;
  border-radius:14px;
  grid-template-columns:auto minmax(0,1fr);
  gap:14px;
  opacity:1;
}
body.page-home:not(.admin-body) .search-demand-copy{display:flex;align-items:center;gap:8px;white-space:nowrap}
body.page-home:not(.admin-body) .search-demand-copy .eyebrow{display:none}
body.page-home:not(.admin-body) .search-demand-copy strong{font-size:11px;letter-spacing:0}
body.page-home:not(.admin-body) .search-demand-copy small{display:none}
body.page-home:not(.admin-body) .search-demand-tags{
  min-width:0;
  flex-wrap:nowrap;
  justify-content:flex-start;
  gap:6px;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  scrollbar-width:thin;
  padding:1px 0 2px;
}
body.page-home:not(.admin-body) .search-demand-tags a{flex:0 0 auto;padding:6px 7px 6px 10px;font-size:10px;gap:6px}
body.page-home:not(.admin-body) .search-demand-tags b{min-width:20px;height:20px;font-size:8px}

/* Filters: retain every control, but compress the chrome around them. */
body.page-home:not(.admin-body) .deal-results-filter{
  max-width:1360px;
  margin:8px auto 2px;
  padding:10px 12px 8px;
  border-radius:14px;
}
body.page-home:not(.admin-body) .deal-results-filter-form{
  grid-template-columns:72px minmax(135px,.95fr) minmax(105px,.72fr) minmax(135px,.95fr) minmax(135px,.95fr) auto auto;
  gap:7px;
  align-items:end;
}
body.page-home:not(.admin-body) .deal-filter-heading{gap:0;align-self:end;padding-bottom:10px}
body.page-home:not(.admin-body) .deal-filter-heading strong{display:none}
body.page-home:not(.admin-body) .deal-filter-heading .eyebrow{font-size:9px;letter-spacing:.08em}
body.page-home:not(.admin-body) .deal-results-filter-form label{gap:3px;font-size:8px}
body.page-home:not(.admin-body) .deal-results-filter-form select,
body.page-home:not(.admin-body) .deal-results-filter-form input{height:36px;border-radius:10px;padding:0 9px;font-size:11px}
body.page-home:not(.admin-body) .deal-filter-submit,
body.page-home:not(.admin-body) .deal-filter-reset{height:36px;min-height:36px;font-size:10px}
body.page-home:not(.admin-body) .deal-filter-submit{min-width:92px;border-radius:10px!important}
body.page-home:not(.admin-body) .deal-filter-reset{padding:0 7px}
body.page-home:not(.admin-body) .deal-results-summary{gap:5px;margin-top:6px;padding-top:6px}
body.page-home:not(.admin-body) .deal-results-summary span{padding:4px 7px;font-size:8px}
body.page-home:not(.admin-body) .deal-results-summary span:last-child{display:none}
body.page-home:not(.admin-body) .deal-results-summary b{font-size:9px}

/* First deal block begins sooner. */
body.page-home:not(.admin-body) .deal-results-filter + .owner-confirmed-unified-section,
body.page-home:not(.admin-body) .deal-results-filter + .radar-public-section,
body.page-home:not(.admin-body) .deal-results-filter + .section#deals{
  padding-top:28px;
}
body.page-home:not(.admin-body) .owner-confirmed-unified-section .section-head,
body.page-home:not(.admin-body) .radar-public-section .section-head{margin-bottom:18px}
body.page-home:not(.admin-body) .owner-confirmed-unified-section .section-head p,
body.page-home:not(.admin-body) .radar-public-section .section-head p{font-size:12px;line-height:1.45;max-width:820px}

@media(max-width:980px){
  body.page-home:not(.admin-body) .deal-results-filter-form{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.page-home:not(.admin-body) .deal-filter-heading{grid-column:1/-1;padding-bottom:2px}
  body.page-home:not(.admin-body) .deal-filter-submit,
  body.page-home:not(.admin-body) .deal-filter-reset{width:100%}
}

@media(max-width:700px){
  body.page-home:not(.admin-body) .ld-community-section{margin:8px 16px;padding:12px 13px}
  body.page-home:not(.admin-body) .ld-community-content{
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"eyebrow button" "title button";
    column-gap:10px;
  }
  body.page-home:not(.admin-body) .ld-community-section p{display:none}
  body.page-home:not(.admin-body) .ld-community-section h2{font-size:15px}
  body.page-home:not(.admin-body) .ld-community-button{width:auto;min-height:34px;padding:7px 9px;font-size:9px}
  body.page-home:not(.admin-body) .search-demand-strip{width:calc(100% - 32px);margin-top:7px;padding:8px 9px;grid-template-columns:1fr;gap:5px}
  body.page-home:not(.admin-body) .search-demand-copy strong{font-size:10px}
  body.page-home:not(.admin-body) .deal-results-filter{margin:7px 16px 2px;padding:10px}
  body.page-home:not(.admin-body) .deal-results-filter-form{grid-template-columns:1fr 1fr}
  body.page-home:not(.admin-body) .deal-filter-heading{grid-column:1/-1}
  body.page-home:not(.admin-body) .deal-results-filter-form label:nth-of-type(3),
  body.page-home:not(.admin-body) .deal-results-filter-form label:nth-of-type(4){display:none}
  body.page-home:not(.admin-body) .deal-filter-submit{width:100%}
  body.page-home:not(.admin-body) .deal-filter-reset{width:100%}
  body.page-home:not(.admin-body) .deal-results-summary{overflow-x:auto;flex-wrap:nowrap}
  body.page-home:not(.admin-body) .deal-results-summary span{flex:0 0 auto}
}
