/* PM24 V163 — compact centered search between equal presenter artwork.
   Desktop: search lives in the open center space, never over either presenter.
   Tablet/mobile: layout reflows safely without clipping. */

body.public-index .pm24-v131-page .pm24-v131-hero{
  position:relative!important;
  height:535px!important;
  min-height:535px!important;
  padding:0!important;
  overflow:hidden!important;
  border-bottom:1px solid rgba(124,165,210,.16)!important;
}

body.public-index .pm24-v131-page .pm24-v131-hero-center{
  position:relative!important;
  z-index:5!important;
  width:min(1120px,68vw)!important;
  padding-top:27px!important;
  margin:0 auto!important;
}
body.public-index .pm24-v131-page .pm24-v131-hero h1{
  font-size:clamp(42px,3vw,54px)!important;
  line-height:1.02!important;
  margin:0 0 8px!important;
}
body.public-index .pm24-v131-page .pm24-v131-heart-rule{
  margin:3px 0 11px!important;
}

/* One equal-sized, fully visible artwork box on each side. */
body.public-index .pm24-v131-page .pm24-v131-presenter{
  top:auto!important;
  bottom:0!important;
  height:500px!important;
  max-height:500px!important;
  width:390px!important;
  max-width:390px!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  transform:none!important;
  filter:drop-shadow(0 20px 16px rgba(6,31,69,.15))!important;
}
body.public-index .pm24-v131-page .pm24-v131-presenter.left{left:2.4vw!important}
body.public-index .pm24-v131-page .pm24-v131-presenter.right{right:2.4vw!important}

/* Search card sits in the free center area, with no presenter overlap. */
body.public-index .pm24-v163-search-slot{
  position:relative!important;
  z-index:8!important;
  width:100%!important;
  margin:0 auto!important;
}
body.public-index .pm24-v163-search-slot .pm24-v131-search{
  position:relative!important;
  inset:auto!important;
  left:50%!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  transform:translateX(-50%)!important;
  width:min(900px,100%)!important;
  min-width:0!important;
  margin:0!important;
  padding:11px 14px 13px!important;
  grid-template-columns:1.45fr .76fr .76fr .66fr auto!important;
  gap:8px!important;
  border:1px solid rgba(207,220,237,.88)!important;
  border-radius:17px!important;
  box-shadow:0 13px 29px rgba(7,37,85,.14),inset 0 1px 0 rgba(255,255,255,.85)!important;
  background:rgba(255,255,255,.97)!important;
  backdrop-filter:blur(10px)!important;
}
body.public-index .pm24-v163-search-slot .pm24-v131-search:before{
  bottom:-10px!important;
  opacity:.45!important;
  filter:blur(15px)!important;
}
body.public-index .pm24-v163-search-slot .pm24-v131-search-tabs{
  grid-column:1/-1!important;
  gap:8px!important;
  margin:0 0 2px!important;
}
body.public-index .pm24-v163-search-slot .pm24-v131-search-tabs button{
  min-height:38px!important;
  height:38px!important;
  padding:0 15px!important;
  border-radius:10px!important;
  gap:7px!important;
  font-size:11.5px!important;
}
body.public-index .pm24-v163-search-slot .pm24-v131-search-tabs button span{font-size:16px!important}
body.public-index .pm24-v163-search-slot .pm24-v131-search label>span{
  margin:0 0 4px!important;
  font-size:9.5px!important;
}
body.public-index .pm24-v163-search-slot .pm24-v131-search label>div,
body.public-index .pm24-v163-search-slot .pm24-v131-search .pm24-v136-location>div{
  height:48px!important;
  min-height:48px!important;
  border-radius:10px!important;
}
body.public-index .pm24-v163-search-slot .pm24-v131-search label>div{padding:0 10px!important}
body.public-index .pm24-v163-search-slot .pm24-v131-search .pm24-v136-location>div{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  padding:0!important;
  overflow:hidden!important;
}
body.public-index .pm24-v163-search-slot .pm24-v131-search .pm24-v136-location .pm24-v160-field-icon{
  width:23px!important;
  margin-left:7px!important;
  font-size:14px!important;
}
body.public-index .pm24-v163-search-slot .pm24-v131-search .pm24-v136-location input{
  height:46px!important;
  line-height:46px!important;
  padding:0 7px!important;
  font-size:11px!important;
}
body.public-index .pm24-v163-search-slot .pm24-v131-search input{
  font-size:12px!important;
}
body.public-index .pm24-v163-search-slot .pm24-v131-search .pm24-v136-near{
  height:46px!important;
  min-height:46px!important;
  min-width:88px!important;
  max-width:92px!important;
  padding:0 8px!important;
  gap:4px!important;
  font-size:9.5px!important;
}
body.public-index .pm24-v163-search-slot .pm24-v131-search-submit{
  height:48px!important;
  min-width:112px!important;
  padding:0 17px!important;
  border-radius:10px!important;
  font-size:14px!important;
  gap:7px!important;
}
body.public-index .pm24-v163-search-slot .pm24-v160-search-icon{font-size:18px!important}

/* Category row now follows the compact search, preserving clean center hierarchy. */
body.public-index .pm24-v131-page .pm24-v131-types{
  margin-top:12px!important;
  gap:38px!important;
}
body.public-index .pm24-v131-page .pm24-v131-types a{
  font-size:12px!important;
  gap:3px!important;
}
body.public-index .pm24-v131-page .pm24-v160-type-icon{
  width:29px!important;
  height:29px!important;
  font-size:21px!important;
}
body.public-index .pm24-v131-page .pm24-v131-booking-soon{
  margin-top:8px!important;
  font-size:19px!important;
}
body.public-index .pm24-v131-stats{margin-top:20px!important}

@media(max-width:1510px){
  body.public-index .pm24-v131-page .pm24-v131-hero{height:510px!important;min-height:510px!important}
  body.public-index .pm24-v131-page .pm24-v131-presenter{
    height:475px!important;max-height:475px!important;width:350px!important;max-width:350px!important
  }
  body.public-index .pm24-v131-page .pm24-v131-presenter.left{left:1vw!important}
  body.public-index .pm24-v131-page .pm24-v131-presenter.right{right:1vw!important}
  body.public-index .pm24-v131-page .pm24-v131-hero-center{width:min(980px,66vw)!important;padding-top:25px!important}
  body.public-index .pm24-v163-search-slot .pm24-v131-search{width:min(820px,100%)!important}
}

@media(max-width:1280px){
  body.public-index .pm24-v131-page .pm24-v131-hero{height:495px!important;min-height:495px!important}
  body.public-index .pm24-v131-page .pm24-v131-presenter{
    height:445px!important;max-height:445px!important;width:315px!important;max-width:315px!important
  }
  body.public-index .pm24-v131-page .pm24-v131-presenter.left{left:0!important}
  body.public-index .pm24-v131-page .pm24-v131-presenter.right{right:0!important}
  body.public-index .pm24-v131-page .pm24-v131-hero-center{width:68vw!important;padding-top:22px!important}
  body.public-index .pm24-v131-page .pm24-v131-hero h1{font-size:41px!important}
  body.public-index .pm24-v163-search-slot .pm24-v131-search{
    width:100%!important;
    padding-inline:11px!important;
    grid-template-columns:1.35fr .72fr .72fr .62fr auto!important
  }
  body.public-index .pm24-v163-search-slot .pm24-v131-search-submit{min-width:100px!important;padding-inline:12px!important}
}

/* Tablet: presenters stay fully visible; form uses two columns in the center. */
@media(max-width:1050px){
  body.public-index .pm24-v131-page .pm24-v131-hero{
    height:720px!important;min-height:720px!important;padding:0!important
  }
  body.public-index .pm24-v131-page .pm24-v131-hero-center{
    width:min(760px,92vw)!important;padding-top:24px!important
  }
  body.public-index .pm24-v131-page .pm24-v131-presenter{
    top:auto!important;bottom:0!important;height:350px!important;max-height:350px!important;width:310px!important;max-width:310px!important
  }
  body.public-index .pm24-v131-page .pm24-v131-presenter.left{left:2vw!important}
  body.public-index .pm24-v131-page .pm24-v131-presenter.right{right:2vw!important}
  body.public-index .pm24-v163-search-slot .pm24-v131-search{
    width:min(720px,92vw)!important;
    grid-template-columns:1fr 1fr!important;
    padding:13px!important
  }
  body.public-index .pm24-v163-search-slot .pm24-v131-search-tabs{
    display:grid!important;grid-template-columns:repeat(4,1fr)!important
  }
  body.public-index .pm24-v163-search-slot .pm24-v131-search-submit{
    grid-column:1/-1!important;width:100%!important
  }
  body.public-index .pm24-v131-page .pm24-v131-types{margin-top:10px!important}
}

/* Mobile: compact stacked card remains above the two equal presenter boxes. */
@media(max-width:700px){
  body.public-index .pm24-v131-page .pm24-v131-hero{
    height:980px!important;min-height:980px!important;padding:0!important
  }
  body.public-index .pm24-v131-page .pm24-v131-hero-center{
    width:100%!important;padding:18px 10px 0!important
  }
  body.public-index .pm24-v131-page .pm24-v131-hero h1{
    font-size:29px!important;margin-bottom:6px!important
  }
  body.public-index .pm24-v131-page .pm24-v131-heart-rule{margin-bottom:9px!important}
  body.public-index .pm24-v163-search-slot .pm24-v131-search{
    width:94vw!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
    padding:11px!important;
    border-radius:17px!important
  }
  body.public-index .pm24-v163-search-slot .pm24-v131-search-tabs{
    display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important
  }
  body.public-index .pm24-v163-search-slot .pm24-v131-search-tabs button{height:40px!important;min-height:40px!important}
  body.public-index .pm24-v163-search-slot .pm24-v131-search label,
  body.public-index .pm24-v163-search-slot .pm24-v131-search-submit{grid-column:1!important}
  body.public-index .pm24-v163-search-slot .pm24-v131-search label>div,
  body.public-index .pm24-v163-search-slot .pm24-v131-search .pm24-v136-location>div{height:50px!important;min-height:50px!important}
  body.public-index .pm24-v163-search-slot .pm24-v131-search .pm24-v136-location input{height:48px!important;line-height:48px!important}
  body.public-index .pm24-v163-search-slot .pm24-v131-search .pm24-v136-near{height:48px!important;min-height:48px!important}
  body.public-index .pm24-v163-search-slot .pm24-v131-search-submit{height:50px!important;width:100%!important}
  body.public-index .pm24-v131-page .pm24-v131-types{
    margin-top:10px!important;gap:7px!important;display:grid!important;grid-template-columns:repeat(4,1fr)!important
  }
  body.public-index .pm24-v131-page .pm24-v131-types a{font-size:9.5px!important}
  body.public-index .pm24-v131-page .pm24-v131-booking-soon{font-size:16px!important;margin-top:7px!important}
  body.public-index .pm24-v131-page .pm24-v131-presenter{
    top:auto!important;bottom:0!important;height:285px!important;max-height:285px!important;width:50vw!important;max-width:50vw!important
  }
  body.public-index .pm24-v131-page .pm24-v131-presenter.left{left:0!important}
  body.public-index .pm24-v131-page .pm24-v131-presenter.right{right:0!important}
}

@media(max-width:420px){
  body.public-index .pm24-v131-page .pm24-v131-hero{height:950px!important;min-height:950px!important}
  body.public-index .pm24-v131-page .pm24-v131-presenter{
    height:260px!important;max-height:260px!important;width:50vw!important;max-width:50vw!important
  }
}

/* V163 final collision guard: keep a clean gap between the compact card and both equal artwork boxes. */
@media(min-width:1511px){
  body.public-index .pm24-v163-search-slot .pm24-v131-search{width:min(860px,100%)!important}
}
@media(min-width:1281px) and (max-width:1510px){
  body.public-index .pm24-v131-page .pm24-v131-presenter{
    width:340px!important;max-width:340px!important
  }
  body.public-index .pm24-v131-page .pm24-v131-hero-center{width:min(900px,60vw)!important}
  body.public-index .pm24-v163-search-slot .pm24-v131-search{width:min(760px,100%)!important}
}
@media(min-width:1051px) and (max-width:1280px){
  body.public-index .pm24-v131-page .pm24-v131-presenter{
    width:280px!important;max-width:280px!important;height:430px!important;max-height:430px!important
  }
  body.public-index .pm24-v131-page .pm24-v131-hero-center{width:660px!important;max-width:calc(100vw - 600px)!important}
  body.public-index .pm24-v163-search-slot .pm24-v131-search{width:min(660px,100%)!important}
  body.public-index .pm24-v163-search-slot .pm24-v131-search-tabs button{padding-inline:11px!important;font-size:10.5px!important}
  body.public-index .pm24-v163-search-slot .pm24-v131-search .pm24-v136-near{min-width:76px!important;max-width:80px!important}
  body.public-index .pm24-v163-search-slot .pm24-v131-search-submit{min-width:88px!important;padding-inline:10px!important}
  body.public-index .pm24-v131-page .pm24-v131-types{gap:25px!important}
}
@media(min-width:701px) and (max-width:1050px){
  body.public-index .pm24-v131-page .pm24-v131-hero{height:780px!important;min-height:780px!important}
}
