/* Mobile service headers: one portrait photograph, with the message and booking
   actions inside it. Loaded after the approved desktop layouts. The responsive
   <picture> sources use existing portrait photographs on these two services. */
@media (max-width:760px), (pointer:coarse) and (max-width:980px) and (max-height:500px) {
  .planner-corporate .pc-hero,
  .editorial-celebration .ep-booking-hero {
    position:relative;
    isolation:isolate;
    display:block;
    width:100%;
    height:calc(100svh - var(--mobile-header-height,118px));
    min-height:540px;
    max-height:960px;
    margin:0;
    padding:0;
    overflow:hidden;
    border-radius:0;
    background:#17b6b9;
    color:#fff;
  }

  /* Corporate Events — both Editorial and Planner use this shared structure. */
  .planner-corporate .pc-hero-images {
    position:absolute;
    inset:0;
    z-index:0;
    width:100%;
    height:100%;
    aspect-ratio:auto;
    margin:0;
    overflow:hidden;
  }
  .planner-corporate .pc-hero .pc-hero-photo {
    position:absolute;
    inset:0;
    display:block;
    width:100%;
    height:100%;
    overflow:hidden;
  }
  .planner-corporate .pc-hero .pc-hero-photo img {
    display:block;
    width:100%;
    max-width:100%;
    height:100%;
    object-fit:cover;
    object-position:38% center;
    transform:none;
  }
  .planner-corporate .pc-hero .pc-hero-photo:nth-child(2) img {
    object-position:76% center;
  }
  .planner-corporate .pc-hero::before {
    content:"";
    display:block;
    position:absolute;
    inset:0;
    z-index:2;
    pointer-events:none;
    background:linear-gradient(180deg,rgba(12,37,32,0) 25%,rgba(12,37,32,.02) 40%,rgba(12,37,32,.3) 57%,rgba(12,37,32,.8) 79%,rgba(12,37,32,.94) 100%);
  }
  .planner-corporate .pc-hero-inner {
    position:relative;
    z-index:3;
    display:flex;
    align-items:flex-end;
    width:100%;
    max-width:none;
    height:100%;
    margin:0;
    padding:28px 24px calc(66px + env(safe-area-inset-bottom,0px));
    background:none;
    border:0;
    border-radius:0;
  }
  .planner-corporate .pc-hero-copy {
    display:block;
    width:100%;
    min-width:0;
    max-width:560px;
    margin:0;
    padding:0;
  }
  .planner-corporate .pc-hero-copy>.pc-eyebrow {
    margin:0 0 13px;
    color:#fff;
    font-size:10px;
    line-height:1.4;
    letter-spacing:.13em;
  }
  .planner-corporate .pc-hero h1 {
    max-width:19ch;
    margin:0;
    font-family:var(--heading-font);
    font-size:clamp(30px,8.4vw,48px);
    line-height:1.12;
    color:#fff;
    text-wrap:balance;
    text-shadow:0 2px 18px rgba(0,0,0,.12);
  }
  .planner-corporate .pc-hero h1 br {display:none}
  .planner-corporate .pc-hero h1 em {color:#fff;font-style:normal}
  .planner-corporate .pc-hero-actions {
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    align-items:center;
    align-self:auto;
    gap:12px 18px;
    width:100%;
    max-width:none;
    margin:22px 0 0;
  }
  .planner-corporate .pc-hero-actions .pc-button {
    width:auto;
    min-height:48px;
    padding:13px 17px;
    gap:18px;
    border:1px solid #fff;
    border-radius:3px;
    background:#fff;
    color:var(--teal);
    font-size:14px;
    line-height:1.35;
    white-space:nowrap;
  }
  .planner-corporate .pc-hero-actions .pc-button-secondary {
    min-height:44px;
    padding:8px 0;
    gap:9px;
    border:0;
    border-bottom:1px solid rgba(255,255,255,.7);
    border-radius:0;
    background:transparent;
    color:#fff;
    font-size:13px;
  }
  .planner-corporate .pc-hero-actions .pc-button-secondary:hover {
    background:transparent;
    border-bottom-color:#fff;
  }

  /* Photo Booths — the portrait party scene keeps faces and the booth together. */
  .editorial-celebration .ep-booking-hero .ep-hero-photo {
    position:absolute;
    inset:0;
    z-index:0;
    display:block;
    width:100%;
    height:100%;
    background:transparent;
  }
  .editorial-celebration .ep-booking-hero .ep-hero-photo img {
    display:block;
    width:100%;
    height:100%;
    max-width:100%;
    object-fit:cover;
    object-position:86% center;
  }
  .editorial-celebration .ep-booking-hero .ep-hero-shade {
    position:absolute;
    inset:0;
    z-index:1;
    display:block;
    pointer-events:none;
    background:linear-gradient(180deg,rgba(12,37,32,0) 22%,rgba(12,37,32,.03) 34%,rgba(12,37,32,.45) 53%,rgba(12,37,32,.85) 76%,rgba(12,37,32,.96) 100%);
  }
  .editorial-celebration .ep-booking-hero .ep-hero-content {
    position:relative;
    inset:auto;
    z-index:2;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    align-items:stretch;
    gap:0;
    width:100%;
    max-width:none;
    height:100%;
    margin:0;
    padding:28px 24px calc(66px + env(safe-area-inset-bottom,0px));
    transform:none;
    background:none;
  }
  .editorial-celebration .ep-hero-content .overline {
    max-width:40ch;
    margin:0 0 12px;
    color:#fff;
    font-size:9px;
    line-height:1.5;
    letter-spacing:.075em;
  }
  .editorial-celebration .ep-hero-content .overline::before {display:none}
  .editorial-celebration .ep-hero-content h1 {
    max-width:18ch;
    margin:0;
    font-family:var(--heading-font);
    font-size:clamp(29px,8.2vw,45px);
    line-height:1.12;
    color:#fff;
    text-wrap:balance;
    text-shadow:0 2px 18px rgba(0,0,0,.12);
  }
  .editorial-celebration .ep-hero-content h1 em {color:#fff;font-style:normal}
  .editorial-celebration .ep-hero-booking-copy {margin-top:15px}
  .editorial-celebration .ep-hero-booking-copy>p {
    max-width:46ch;
    margin:0;
    color:#fff;
    font-size:14px;
    line-height:1.5;
  }
  .editorial-celebration .ep-hero-booking-copy .ep-starting-price {
    display:block;
    margin:15px 0 0;
    color:#fff;
    font-family:var(--heading-font);
    font-size:22px;
    line-height:1.25;
  }
  .editorial-celebration .ep-hero-booking-copy .ep-starting-price small {
    display:inline;
    margin-left:7px;
    color:#fff;
    font-size:12px;
    white-space:nowrap;
  }
  .editorial-celebration .ep-hero-content .ep-actions {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px 17px;
    margin:18px 0 0;
  }
  .editorial-celebration .ep-hero-content .btn {
    min-height:48px;
    padding:13px 17px;
    gap:18px;
    border:1px solid #fff;
    border-radius:3px;
    background:#fff;
    color:var(--teal);
    font-size:14px;
    line-height:1.35;
    white-space:nowrap;
  }
  .editorial-celebration .ep-hero-content .textlink {
    min-height:44px;
    padding:8px 0;
    gap:7px;
    border-bottom-color:rgba(255,255,255,.7);
    color:#fff;
    font-size:12px;
    line-height:1.35;
    white-space:nowrap;
  }
  .planner-corporate .pc-hero :is(a,button):focus-visible,
  .editorial-celebration .ep-booking-hero :is(a,button):focus-visible {
    outline:3px solid #fff;
    outline-offset:4px;
  }
}

@media (max-width:380px) {
  .planner-corporate .pc-hero-inner,
  .editorial-celebration .ep-booking-hero .ep-hero-content {padding:23px 20px calc(66px + env(safe-area-inset-bottom,0px))}
  .planner-corporate .pc-hero-actions {flex-wrap:nowrap;gap:10px}
  .planner-corporate .pc-hero-actions .pc-button,
  .editorial-celebration .ep-hero-content .btn {padding-inline:10px;gap:10px;font-size:12px}
  .planner-corporate .pc-hero-actions .pc-button-secondary {padding-inline:0;gap:6px;font-size:11px}
  .editorial-celebration .ep-hero-content .ep-actions {flex-wrap:nowrap;gap:10px}
  .editorial-celebration .ep-hero-content .textlink {gap:6px;font-size:11px}
}

/* Small phones still show the booking action without an oversized copy block. */
@media (max-width:760px) and (max-height:720px) {
  .planner-corporate .pc-hero,
  .editorial-celebration .ep-booking-hero {min-height:510px}
  .planner-corporate .pc-hero-inner,
  .editorial-celebration .ep-booking-hero .ep-hero-content {padding-top:22px;padding-bottom:calc(66px + env(safe-area-inset-bottom,0px))}
  .planner-corporate .pc-hero h1 {font-size:clamp(28px,8vw,39px)}
  .planner-corporate .pc-hero-actions {margin-top:17px}
  .editorial-celebration .ep-hero-content .overline {display:none}
  .editorial-celebration .ep-hero-content h1 {font-size:clamp(27px,7.7vw,37px)}
  .editorial-celebration .ep-hero-booking-copy {margin-top:11px}
  .editorial-celebration .ep-hero-booking-copy>p {font-size:13px;line-height:1.45}
  .editorial-celebration .ep-hero-booking-copy .ep-starting-price {margin-top:11px;font-size:20px}
  .editorial-celebration .ep-hero-content .ep-actions {margin-top:13px}
}
