/* Listing UX widen + button theme (18 Nov 2026).
   UK English sites and US directories. No em dashes.
   Desktop container 1400px. Primary yellow buttons, secondary outline.
   Cookie / privacy choice buttons stay equal outline and are not recoloured as primary. */

:root{
  --lux-btn:#F2B53A;
  --lux-btn-h:#E0A328;
  --lux-btn-ink:#1B2224;
  --lux-btn-r:12px;
}

/* ----- Wider desktop layout ----- */
@media (min-width:900px){
  .wrap,
  main > .wrap,
  .pg-prof .wrap,
  .k-page main > .wrap,
  .site-h .wrap,
  header.site-h .wrap,
  footer.site-f .wrap,
  .hd .wrap:not(.hero-copy .wrap){
    max-width:1400px !important;
    width:100%;
    padding-left:28px;
    padding-right:28px;
    box-sizing:border-box;
  }
  /* Keep the hero text column readable */
  .hero.with-shot .hero-copy .wrap{
    max-width:620px !important;
    padding-left:0;
    padding-right:0;
  }
  .lux-layout{
    grid-template-columns:minmax(0,1fr) 400px !important;
    gap:28px;
  }
  .lux-side{width:auto;max-width:420px}
  /* Facts sit in a row so cards use the extra width */
  :is(.card, .dcard, .lk-card, .gc-card, .dg-card, li.listing).lux-card .lux-body{
    display:flex;
    flex-wrap:wrap;
    align-items:baseline;
    column-gap:18px;
    row-gap:4px;
  }
  :is(.card, .dcard, .lk-card, .gc-card, .dg-card, li.listing).lux-card .lux-body h3,
  :is(.card, .dcard, .lk-card, .gc-card, .dg-card, li.listing).lux-card .lux-body h2{
    flex:1 1 100%;
    margin:0 0 2px;
  }
  :is(.card, .dcard, .lk-card, .gc-card, .dg-card, li.listing).lux-card .lux-body .gc-loc,
  :is(.card, .dcard, .lk-card, .gc-card, .dg-card, li.listing).lux-card .lux-body .gc-one,
  :is(.card, .dcard, .lk-card, .gc-card, .dg-card, li.listing).lux-card .lux-body .g-small,
  :is(.card, .dcard, .lk-card, .gc-card, .dg-card, li.listing).lux-card .lux-body .lic,
  :is(.card, .dcard, .lk-card, .gc-card, .dg-card, li.listing).lux-card .lux-body .meta,
  :is(.card, .dcard, .lk-card, .gc-card, .dg-card, li.listing).lux-card .lux-body .dg-meta{
    margin:0;
  }
  /* Attic quick-actions pill sits bottom-right and covered the map. Move it left on desktop list pages. */
  body:has(.lux-layout) #nm-bar{
    right:auto !important;
    left:18px !important;
  }
}

/* Mobile layout unchanged (no wrap/max-width override below 900px). */

/* ----- Primary buttons: yellow, bold, 44px, rounded, hover + focus ----- */
a.btn, button.btn, .btn,
input[type="submit"], button[type="submit"],
#nav .cta, .hd nav .cta, header .cta, nav a.cta,
#mbar a.p, #nm-bar a.nm-p,
.sg-btn, a.pj-gf, .next.btn, .gfs-btn, .fh-btn,
.gp-actions .btn{
  background:var(--lux-btn) !important;
  color:var(--lux-btn-ink) !important;
  font-weight:700 !important;
  padding:12px 22px !important;
  min-height:44px !important;
  height:auto !important;
  border:0 !important;
  border-radius:var(--lux-btn-r) !important;
  box-shadow:none !important;
  transform:none !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-decoration:none !important;
  box-sizing:border-box !important;
  cursor:pointer;
  line-height:1.2;
  font-size:16px;
}
a.btn:hover, button.btn:hover, .btn:hover,
input[type="submit"]:hover, button[type="submit"]:hover,
#nav .cta:hover, .hd nav .cta:hover, header .cta:hover, nav a.cta:hover,
#mbar a.p:hover, #nm-bar a.nm-p:hover,
.sg-btn:hover, a.pj-gf:hover, .next.btn:hover, .gfs-btn:hover, .fh-btn:hover,
.gp-actions .btn:hover{
  background:var(--lux-btn-h) !important;
  color:var(--lux-btn-ink) !important;
  box-shadow:none !important;
  transform:none !important;
}
a.btn:focus-visible, button.btn:focus-visible, .btn:focus-visible,
input[type="submit"]:focus-visible, button[type="submit"]:focus-visible,
#nav .cta:focus-visible, header .cta:focus-visible, nav a.cta:focus-visible,
#mbar a.p:focus-visible, #nm-bar a.nm-p:focus-visible,
.sg-btn:focus-visible, a.pj-gf:focus-visible{
  outline:3px solid var(--lux-btn-ink) !important;
  outline-offset:2px !important;
}

.btn.sm, .btn.small, .hd nav .btn.sm, .btn.sm.p, .gp-actions .btn.sm{
  padding:10px 18px !important;
  min-height:44px !important;
  font-size:15px !important;
}

/* Secondary: outline */
.btn.ghost, .btn.o, .btn.alt, .btn.gp-secondary, .fh-btn-sec,
#mbar a:not(.p), #nm-bar a:not(.nm-p){
  background:transparent !important;
  color:var(--lux-btn-ink) !important;
  border:2px solid var(--lux-btn-ink) !important;
  min-height:44px !important;
  font-weight:700 !important;
  border-radius:var(--lux-btn-r) !important;
  padding:10px 18px !important;
  box-shadow:none !important;
  transform:none !important;
}
.btn.ghost:hover, .btn.o:hover, .btn.alt:hover, .btn.gp-secondary:hover, .fh-btn-sec:hover,
#mbar a:not(.p):hover, #nm-bar a:not(.nm-p):hover{
  background:#fff8e8 !important;
  color:var(--lux-btn-ink) !important;
}
.btn.ghost:focus-visible, .btn.o:focus-visible, .btn.alt:focus-visible, .btn.gp-secondary:focus-visible,
#mbar a:not(.p):focus-visible, #nm-bar a:not(.nm-p):focus-visible{
  outline:3px solid var(--lux-btn-ink) !important;
  outline-offset:2px !important;
}

/* White outline on dark photo heroes only.
   Irish homes use section.hx / .fh, not .hero. */
.hero .btn.o, .hero-band .btn.o, .hero .btn.ghost,
.hx .btn.o, .hx-alt .btn.o, .hx .btn.ghost,
.fh .btn.o, .fh a.fh-btn-sec, .fh a.btn.fh-btn-sec{
  background:transparent !important;
  color:#fff !important;
  border:2px solid #fff !important;
}
.hero .btn.o:hover, .hero-band .btn.o:hover,
.hx .btn.o:hover, .hx-alt .btn.o:hover,
.fh a.fh-btn-sec:hover, .fh a.btn.fh-btn-sec:hover{
  background:rgba(255,255,255,.12) !important;
  color:#fff !important;
}


/* Beat site .btn.p { color:#fff !important } so yellow primaries keep dark text (WCAG AA). */
.btn.p, a.btn.p, button.btn.p, a.btn.sm.p, .btn.sm.p{
  background:var(--lux-btn) !important;
  color:var(--lux-btn-ink) !important;
}
.btn.p:hover, a.btn.p:hover, button.btn.p:hover, a.btn.sm.p:hover, .btn.sm.p:hover{
  background:var(--lux-btn-h) !important;
  color:var(--lux-btn-ink) !important;
}

/* Beat in-page .fh a.fh-btn { background:#fff !important } on the attic photo hero. */
.fh a.fh-btn, .fh a.btn.fh-btn, a.btn.fh-btn{
  background:var(--lux-btn) !important;
  color:var(--lux-btn-ink) !important;
  border:0 !important;
}
.fh a.fh-btn:hover, .fh a.btn.fh-btn:hover, a.btn.fh-btn:hover{
  background:var(--lux-btn-h) !important;
  color:var(--lux-btn-ink) !important;
}

/* View profile stays a text link, centred under the yellow CTA, but a 44px tap target */
:is(.card, .dcard, .lk-card, .gc-card, .dg-card, li.listing).lux-card .lux-act .lux-view{
  min-height:44px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center;
  font-weight:700;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:8px 4px !important;
}

/* Claim / top banner links: tall enough to tap, Featured stays yellow */
.gc-claimbar a, .gc-in a{
  min-height:44px !important;
  display:inline-flex !important;
  align-items:center !important;
  padding:8px 14px !important;
  font-weight:700 !important;
  border-radius:10px;
  box-sizing:border-box;
}
.gc-claimbar a.pj-gf, .gc-in a.pj-gf{
  background:var(--lux-btn) !important;
  color:var(--lux-btn-ink) !important;
  border:0 !important;
}

/* Filters stay a secondary control, not a primary CTA */
.mk-btn, .lux-views button{
  min-height:44px;
}


/* Attic / Featured in-page .pj-btn uses color:#fff !important and a teal accent. */
a.pj-btn, button.pj-btn, .pj-btn, button.pj-btn[type="submit"]{
  background:var(--lux-btn) !important;
  color:var(--lux-btn-ink) !important;
  font-weight:700 !important;
  padding:12px 22px !important;
  min-height:44px !important;
  height:auto !important;
  border:0 !important;
  border-radius:var(--lux-btn-r) !important;
  box-shadow:none !important;
  filter:none !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-decoration:none !important;
  box-sizing:border-box !important;
}
a.pj-btn:hover, button.pj-btn:hover, .pj-btn:hover{
  background:var(--lux-btn-h) !important;
  color:var(--lux-btn-ink) !important;
  filter:none !important;
}
a.pj-btn:focus-visible, button.pj-btn:focus-visible, .pj-btn:focus-visible{
  outline:3px solid var(--lux-btn-ink) !important;
  outline-offset:2px !important;
}
a.pj-alt, .pj-alt{
  background:transparent !important;
  color:var(--lux-btn-ink) !important;
  border:2px solid var(--lux-btn-ink) !important;
  min-height:44px !important;
  font-weight:700 !important;
  border-radius:var(--lux-btn-r) !important;
  padding:10px 18px !important;
  display:inline-flex !important;
  align-items:center !important;
  text-decoration:none !important;
  box-sizing:border-box !important;
}

/* Attic in-page overrides: .process-cta .btn is white; .founder-cta uses a slightly different gold. */
.process-cta a.btn, a.btn.founder-cta, .founder-cta{
  background:var(--lux-btn) !important;
  color:var(--lux-btn-ink) !important;
  border:0 !important;
  min-height:44px !important;
  border-radius:var(--lux-btn-r) !important;
  font-weight:700 !important;
  filter:none !important;
}
.process-cta a.btn:hover, a.btn.founder-cta:hover, .founder-cta:hover{
  background:var(--lux-btn-h) !important;
  color:var(--lux-btn-ink) !important;
  filter:none !important;
}

/* Cookie and privacy choices: equal outline, 44px, not primary yellow.
   Keeps the existing equal Accept / Reject treatment. */
#cc .ccb button, #cc .ccb .y, #cc .ccb .n, .cc-btn,
.trk-ask .btn, .trk-btns .btn, .trk-ask button, .ab-ask .btn{
  background:#fff !important;
  color:var(--lux-btn-ink) !important;
  border:2px solid var(--lux-btn-ink) !important;
  min-height:44px !important;
  font-weight:700 !important;
  border-radius:10px !important;
  box-shadow:none !important;
  transform:none !important;
  padding:10px 16px !important;
}
