/*
  All sessions page. The palette, type and button come from the same
  stylesheets as sunrise.html (lavarock, fashion, landing). This file only
  holds what is specific to the seven session cards.
*/
.allsessions-page .allsessions-intro { padding-top: clamp(56px, 7vw, 88px); }
.allsessions-page .allsessions-intro .section-head { margin-bottom: 40px; }
.allsessions-page .allsessions-intro h1 {
  max-width: none;
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.05;
}
.allsessions-page .allsessions-intro h1 em { font-style: italic; }

.allsessions-page .cards.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.allsessions-page .cards .card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--lava-surface);
  box-shadow: none;
}
/* Seven cards: the last one sits centred on its own row. */
.allsessions-page .cards .card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, calc(50% - 12px));
}
.allsessions-page .card h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.08;
}
.allsessions-page .card .price {
  margin: 0 0 4px;
  color: var(--sun);
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1.15;
}
.allsessions-page .card p { margin: 0 0 16px; }
.allsessions-page .card .clean-list { margin: 0 0 20px; padding-left: 1.2rem; }
.allsessions-page .card .clean-list li { color: var(--ink); }
.allsessions-page .card .clean-list li + li { margin-top: 8px; }
.allsessions-page .card main a:not(.button),
.allsessions-page .card p a { color: var(--sun); text-underline-offset: .25em; }

/* Film checkbox with clear space before the estimate text. */
.allsessions-page .film-option { display: contents; }
.allsessions-page .film-option label {
  order: 1;
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}
.allsessions-page .film-option input[type="checkbox"] {
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 0;
  padding: 0;
  accent-color: var(--sun);
}
.allsessions-page .film-option [data-estimate] {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.allsessions-page .film-option .film-route { order: 3; margin: 0 0 16px; font-size: 14px; }
.allsessions-page .film-option .film-route[hidden] { display: none; }

.allsessions-page .card .legal-note {
  max-width: none;
  margin-bottom: 20px;
  font-size: 14px;
}
.allsessions-page .card .package-notice { font-size: 14px; }

/* Book Now: sunrise.html's solid .button, full width, same size, pinned to the card bottom. */
.allsessions-page .card > a.button[data-book-product] {
  width: 100%;
  min-height: 54px;
  order: 2;
  margin: 24px 0;
  padding: 12px 24px;
  color: var(--white);
  text-decoration: none;
}
.allsessions-page .card > a.button[data-book-product]:hover {
  background: var(--sun);
  color: var(--white);
  opacity: .9;
}

.allsessions-page .allsessions-intro > .meta { max-width: 850px; margin: 28px 0 0; font-size: 14px; }

/* Location handoff boxes (shown only with ?location=). */
.allsessions-page .booking-context,
.allsessions-page .pixieset-handoff,
.allsessions-page .package-notice {
  margin-bottom: 24px;
  border-color: var(--line);
  border-radius: 14px;
  background: var(--lava-surface);
  color: var(--ink);
}
.allsessions-page .booking-context strong { color: var(--ink); }
.allsessions-page .pixieset-handoff p { color: var(--muted); }
.allsessions-page .pixieset-handoff textarea {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}
.allsessions-page .pixieset-handoff .button.secondary {
  border-color: var(--sun);
  background: transparent;
  color: var(--sun);
}

/* Lower sections: sunrise-style panels on the dark palette. */
.allsessions-page .section.tint h2 { margin: 0 0 28px; color: var(--ink); }
.allsessions-page .clean-list li { color: var(--ink); }
.allsessions-page .section > .narrow > h2 { margin: 0 0 26px; color: var(--ink); }
.allsessions-page .details { border-top: 1px solid var(--line); }
.allsessions-page details { border-bottom: 1px solid var(--line); }
.allsessions-page .photo-frame {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--lava-photo);
}
.allsessions-page .photo-frame::before { display: none; }
.allsessions-page .photo-frame img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.allsessions-page .photo-frame figcaption { padding: 10px 14px; background: var(--lava-surface); color: var(--muted); font-size: 14px; }
.allsessions-page main summary { min-height: 44px; }

@media (max-width: 719px) {
  .allsessions-page .allsessions-intro { padding-top: 48px; }
  .allsessions-page .cards.two { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .allsessions-page .cards .card { padding: 24px; }
  .allsessions-page .cards .card:last-child:nth-child(odd) { grid-column: auto; justify-self: stretch; width: auto; }
  .allsessions-page .card h2 { font-size: 2rem; }
}
