/* Shared photographic closing CTA for the four standalone format pages. */
section.end-cta.format-end-cta {
  position:relative;
  isolation:isolate;
  display:flex;
  align-items:center;
  min-height:clamp(420px,52vw,570px);
  padding:0!important;
  margin:18px 0 54px!important;
  overflow:hidden;
  border:0!important;
  border-radius:26px;
  background:#211d23;
  color:#fff;
}
/* Blur layer is used only on phones; leave desktop layouts unchanged. */
.format-end-cta .end-cta-photo-blur {display:none}
.format-end-cta .end-cta-photo {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  z-index:-2;
}
section.end-cta.format-end-cta::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,rgba(12,11,18,.83) 0%,rgba(12,11,18,.68) 43%,rgba(12,11,18,.14) 100%);
}
section.end-cta.format-end-cta .inner {
  position:relative;
  width:100%;
  max-width:none;
  margin:0;
  padding:clamp(30px,5.2vw,70px)!important;
  background:transparent!important;
  color:#fff!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
section.end-cta.format-end-cta .inner p.kicker {
  display:flex;
  align-items:center;
  gap:14px;
  margin:0 0 23px!important;
  color:#ff5673!important;
  font:800 12px/1.2 Arial,Helvetica,sans-serif;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.format-end-cta .kicker::before {
  content:"";width:36px;height:2px;background:#ff3459;
}
section.end-cta.format-end-cta h2 {
  max-width:680px;
  margin:0 0 21px;
  color:#fff!important;
  font:950 clamp(36px,5.2vw,66px)/1.01 Arial,Helvetica,sans-serif;
  letter-spacing:-.055em;
  text-transform:uppercase;
  text-wrap:balance;
}
section.end-cta.format-end-cta .end-cta-description {
  max-width:590px;
  margin:0 0 27px!important;
  color:rgba(255,255,255,.94)!important;
  font:500 clamp(16px,1.6vw,20px)/1.52 Arial,Helvetica,sans-serif;
}
section.end-cta.format-end-cta .cta {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:53px;
  padding:17px 24px;
  font-weight:850;
  text-transform:uppercase;
}
.format-end-cta .end-cta-contacts {
  display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;
  margin-top:25px;font:700 13px/1.4 Arial,Helvetica,sans-serif;
}
.format-end-cta .end-cta-contacts a {
  color:#fff!important;text-decoration:none;
}
.format-end-cta .end-cta-contacts a:hover {color:#ff8297!important}
@media(max-width:760px){
  section.end-cta.format-end-cta {
    min-height:550px;
    margin:14px 0 32px!important;
    border-radius:19px;
  }
  section.end-cta.format-end-cta::before {
    background:linear-gradient(0deg,rgba(12,11,18,.83) 0%,rgba(12,11,18,.62) 65%,rgba(12,11,18,.33) 100%);
  }
  section.end-cta.format-end-cta .inner {
    padding:30px 22px!important;
  }
  section.end-cta.format-end-cta h2 {
    max-width:100%;
    font-size:clamp(35px,9vw,49px);
  }
  section.end-cta.format-end-cta .end-cta-description{
    font-size:16px;
  }
  section.end-cta.format-end-cta .cta {
    min-height:54px;
    padding:16px 22px;
  }
}
@media(prefers-reduced-transparency:reduce) {
  section.end-cta.format-end-cta::before {
    background:linear-gradient(90deg,rgba(14,13,19,.93),rgba(14,13,19,.65));
  }
}

/* Full-bleed finale: extend the existing CMS photo to both viewport edges.
   The text stays aligned with the content column. */
section.end-cta.format-end-cta{
  width:100vw!important;
  max-width:none!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  border-radius:0!important;
}
section.end-cta.format-end-cta .inner{
  padding-left:max(24px,calc((100vw - 1120px)/2))!important;
  padding-right:max(24px,calc((100vw - 1120px)/2))!important;
}
@media(max-width:760px){
  section.end-cta.format-end-cta .inner{
    padding-left:22px!important;
    padding-right:22px!important;
  }
}

/* Reveal the complete winter performer's headgear in the New Year finale. */
@media(min-width:761px){
  section.end-cta.format-end-cta[data-photo-field="newyear_end_photo"] .end-cta-photo{
    object-position:50% 9%!important;
  }
}

/* No blank gap between the closing photograph and the compact footer. */
section.end-cta.format-end-cta{
  margin-bottom:0!important;
}

/* Mobile finale: full-height photo with a single gradual dark overlay.
   Temporary portrait crop until separate mobile photography is provided. */
@media(max-width:760px){
  section.end-cta.format-end-cta{
    min-height:clamp(620px,165vw,760px)!important;
    align-items:center!important;
    background:#171519!important;
  }
  section.end-cta.format-end-cta .end-cta-photo-blur{
    display:none!important;
  }
  section.end-cta.format-end-cta .end-cta-photo{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    max-height:none!important;
    max-width:none!important;
    transform:none!important;
    object-fit:cover!important;
    object-position:center 45%!important;
    filter:none!important;
    -webkit-mask-image:none!important;
    mask-image:none!important;
  }
  section.end-cta.format-end-cta::before{
    background:linear-gradient(180deg,
      rgba(12,11,18,.83) 0%,
      rgba(12,11,18,.67) 38%,
      rgba(12,11,18,.40) 69%,
      rgba(12,11,18,.18) 100%)!important;
  }
  section.end-cta.format-end-cta .inner{
    align-self:center!important;
    padding-top:50px!important;
    padding-bottom:50px!important;
  }
  section.end-cta.format-end-cta[data-photo-field="newyear_end_photo"] .end-cta-photo{
    object-position:center 28%!important;
  }
  section.end-cta.format-end-cta[data-photo-field="newyear_end_photo"]::before{
    background:linear-gradient(180deg,
      rgba(15,20,28,.80) 0%,
      rgba(15,20,28,.62) 38%,
      rgba(15,20,28,.36) 70%,
      rgba(15,20,28,.15) 100%)!important;
  }
}
