/* Regional Connect detail page, V36 — actual hero & gallery, not event-gallery. */
.hero .hero-photo{
  position:absolute !important;
  inset:0 !important;
  background:none !important;
  overflow:hidden !important;
  pointer-events:none;
  z-index:0;
}
.hero .hero-photo img.wc-regional-hero-img{
  display:block;
  position:absolute;
  width:100%;
  height:100%;
  inset:0;
  max-width:none;
  object-fit:cover;
  object-position:center center;
  filter:saturate(0.95);
}
.hero .hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(9,23,42,.98) 0%,rgba(12,30,49,.94) 22%,rgba(12,30,49,.77) 47%,rgba(12,30,49,.36) 77%,rgba(12,30,49,.25) 100%);
}
.hero .hero-inner{position:relative;z-index:2}
.hero .image-note{z-index:3;bottom:13px;right:20px;text-shadow:0 1px 4px #071329}
.wc-regional-hero-counter{
  position:absolute;
  z-index:3;
  bottom:13px;
  left:max(20px,calc((100% - 1120px)/2));
  padding:5px 11px;
  color:#fff;
  font-size:12px;
  letter-spacing:.1em;
  font-variant-numeric:tabular-nums;
  background:rgba(12,24,45,.65);
  border:1px solid rgba(255,255,255,.24);
  border-radius:99px;
  backdrop-filter:blur(8px);
}
/* Gallery thumbnails and caption remain within the original page. */
#gallery .thumbs img{display:block;aspect-ratio:16/10;object-fit:cover;width:100%}
#gallery .thumbs button{cursor:pointer}
@media(max-width:800px){
  .hero .hero-overlay{
    background:linear-gradient(180deg,rgba(10,23,41,.86),rgba(10,23,41,.66) 36%,rgba(10,23,41,.65) 73%,rgba(10,23,41,.82));
  }
  .hero .hero-photo img.wc-regional-hero-img{object-position:58% center}
  .wc-regional-hero-counter{bottom:15px;left:20px}
  .hero .image-note{right:12px;bottom:51px;font-size:9px}
}
/* Keep lettering baked into the supplied photos away from the page heading. */
@media(min-width:801px){
  .hero .hero-photo{left:42% !important}
  .hero .hero-photo img.wc-regional-hero-img{transform:scale(1.22);transform-origin:right center}
  .hero .hero-photo img.wc-regional-hero-img.wc-title-at-right{transform-origin:left center}
  .hero .hero-overlay{background:linear-gradient(90deg,#0b1d33 0%,#0b1d33 35%,rgba(11,29,51,.97) 42%,rgba(11,29,51,.56) 66%,rgba(11,29,51,.26) 100%)}
}
@media(max-width:800px){
  .hero .hero-photo{left:34% !important}
  .hero .hero-photo img.wc-regional-hero-img{transform:scale(1.1);transform-origin:right center}
  .hero .hero-photo img.wc-regional-hero-img.wc-title-at-right{transform-origin:left center}
  .hero .hero-overlay{background:linear-gradient(90deg,rgba(11,27,46,.97),rgba(11,27,46,.94) 39%,rgba(11,27,46,.65) 100%)}
}
