/* THE CAMP as a coaches-style horizontal card row. Banner, track, chevrons,
   and card chrome match Meet our coaches. v1. Bump rather than edit in place. */

.d-sec.d-prog.d-prog-row{
  --co-head: 69px;
  --co-gutter: 12px;
  --co-gap: 12px;
  --co-cta-space: 0px;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 100svh;
  height: 100dvh;
  max-height: 100svh;
  max-height: 100dvh;
  min-height: 0;
  margin: 0;
  padding: 0 0 var(--co-cta-space);
  overflow: hidden;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  scroll-margin-top: 0;
  background: #003CD5;
}
@media (min-width: 800px){
  .d-sec.d-prog.d-prog-row{ --co-head: 77px; }
}
@media (max-width: 1023px){
  .d-sec.d-prog.d-prog-row{
    --co-cta-space: calc(16px + 48px + 8px + env(safe-area-inset-bottom, 0px));
  }
}

.d-prog-row .d-co-banner,
.d-prog-row .d-co-banner.d-vid-cut{
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: calc(var(--co-head, 69px) + 6px) var(--co-gutter) 8px;
  background: #003CD5;
  color: #fff;
  box-shadow: none;
  filter: none;
  text-shadow: none;
  border: 0;
  border-radius: 0;
}
@media (min-width: 800px){
  .d-prog-row .d-co-banner,
  .d-prog-row .d-co-banner.d-vid-cut{
    padding-top: calc(var(--co-head, 77px) + 6px);
  }
}
@media (max-width:799px){
  .d-prog-row .d-co-banner,
  .d-prog-row .d-co-banner.d-vid-cut{
    padding: calc(var(--co-head, 69px) + 5px) var(--co-gutter) 6px;
  }
}

/* Override the huge program-title type: same banner type as coaches. */
.d-prog-row .d-co-banner .d-h2,
.d-prog-row .d-co-banner .d-h2 b,
.d-prog-row .d-co-banner .d-h2 span,
.d-prog-row .d-co-banner .d-h2.d-prog-title,
.d-prog-row .d-co-banner .d-h2.d-prog-title b{
  margin: 0;
  font-family: Akrobat, "Akrobat", sans-serif;
  font-weight: 900;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.1;
  color: #fff;
  text-shadow: none;
  filter: none;
  -webkit-text-stroke: 0;
  letter-spacing: 0;
  text-transform: none;
}

.d-prog-row .d-co-row{
  background: #FF7800;
}

.d-prog-row .d-co-track{
  display: flex;
  align-items: stretch;
  gap: var(--co-gap);
  width: max-content;
  height: 100%;
  padding-right: var(--co-gutter);
  transform: none !important;
  will-change: auto;
}

.d-prog-row .d-coach{
  position: relative;
  left: auto;
  top: auto;
  flex: 0 0 auto;
  width: calc(100vw - 2 * var(--co-gutter));
  max-width: none;
  height: 100%;
  max-height: none;
  min-height: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #111111;
  border-radius: var(--r, 24px);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
  scroll-snap-align: start;
  transform: none;
  opacity: 1;
  z-index: auto;
  touch-action: auto;
  user-select: auto;
}
.d-prog-row .d-coach[data-m],
.d-prog-row .d-coach[data-m].m-in{
  opacity: 1;
  transform: none;
  transition: none;
}

.d-prog-row .d-coach-ph,
.d-prog-row .d-coach-ph.has-photo{
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: 0;
  border-radius: 0;
  overflow: hidden;
}
.d-prog-row .d-coach-ph.has-photo img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  pointer-events: none;
}

.d-prog-row .d-coach-bio{
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  padding: 8px 12px 10px;
  color: #111111;
  text-align: left;
}
.d-prog-row .d-coach h3{
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.15;
  margin: 0;
  padding: 0;
  text-align: left;
  background: #fff;
  color: #003CD5;
  text-transform: none;
  letter-spacing: 0;
}
.d-prog-row .d-role{
  margin: 2px 0 8px;
  padding: 0;
  text-align: left;
  background: #fff;
  color: #003CD5;
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 800;
  line-height: 1.25;
}
.d-prog-row .d-camp-card .d-about-stats{
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 10px;
  margin: 0 0 10px;
  padding: 8px 0;
  border-top: 2px solid #003CD5;
  border-bottom: 2px solid #FF7800;
}
.d-prog-row .d-camp-card .d-about-stat-k{
  display: block;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #003CD5;
  font-weight: 800;
}
.d-prog-row .d-camp-card .d-about-stat-v{
  display: block;
  margin-top: 2px;
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.1;
  font-weight: 900;
  color: #111;
  letter-spacing: -.02em;
}
.d-prog-row .d-coach-bio p{
  margin: 0 0 8px;
  font-size: clamp(13px, 1.15vw, 16px);
  line-height: 1.45;
  color: #111;
}
.d-prog-row .d-coach-bio p:last-child{margin-bottom:0}
.d-prog-row .d-day-bullets{
  margin: 0 0 10px;
  padding: 0 0 0 1.15em;
  font-size: clamp(13px, 1.15vw, 16px);
  line-height: 1.4;
}
.d-prog-row .d-day-bullets li{margin:0 0 6px}
.d-prog-row .d-day-allstar{margin:0 0 12px}

.d-prog-row .d-sched-open{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0 8px;
  padding: 10px 16px;
  border: 2px solid #003CD5;
  border-radius: 999px;
  background: #fff;
  color: #003CD5;
  font: inherit;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
}
.d-prog-row .d-sched-open:hover,
.d-prog-row .d-sched-open:focus-visible{
  background: #003CD5;
  color: #fff;
  outline: none;
}

.d-prog-row .d-coach-more{
  display: flex;
  flex-direction: column;
  margin: 6px 0 0;
}
.d-prog-row .d-coach-more summary,
.d-prog-row .d-coach-more-btn{
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  color: #003CD5;
  font-size: clamp(12px, 1.05vw, 14px);
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  appearance: none;
  -webkit-appearance: none;
  text-decoration: underline;
  text-underline-offset: 2px;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font-family: inherit;
}
.d-prog-row .d-coach-more summary::-webkit-details-marker,
.d-prog-row .d-coach-more-btn::-webkit-details-marker{display:none;color:transparent}
.d-prog-row .d-coach-more summary::marker,
.d-prog-row .d-coach-more-btn::marker{display:none;content:none;font-size:0;color:transparent}
.d-prog-row .d-coach-less-lab{display:none}
.d-prog-row .d-coach-more[open] .d-coach-more-lab{display:none}
.d-prog-row .d-coach-more:not([open]) .d-coach-less-lab{display:none}
.d-prog-row .d-coach-more:not([open]) .d-coach-more-lab{display:inline}
.d-prog-row .d-coach-more[open] .d-coach-less-lab{display:inline}
.d-prog-row .d-coach-more[open] summary{order:2;margin-top:6px;margin-bottom:0}
.d-prog-row .d-coach-more-body{order:1}

@media (min-width:900px){
  .d-sec.d-prog.d-prog-row{
    --co-gutter: 16px;
    --co-gap: 14px;
  }
  .d-prog-row .d-coach{
    width: var(--co-card-w, calc(100cqh - 13.5em));
    scroll-snap-align: none;
  }
}

/* Sample Camp Schedule dialog: calm table, scrolls inside, not the page. */
.sched-dialog{
  box-sizing: border-box;
  width: min(1100px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  max-height: min(90vh, 900px);
  margin: auto;
  padding: 20px 20px 24px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: #111;
  box-shadow: 0 16px 48px rgba(0,0,0,.22);
  overflow: auto;
  overscroll-behavior: contain;
}
.sched-dialog::backdrop{
  background: rgba(0, 28, 80, .48);
}
.sched-dialog-bar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
}
.sched-dialog-bar h2{
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  padding: 0 0 0 12px;
  border-left: 3px solid #FF7800;
}
.sched-dialog-close{
  flex: 0 0 auto;
  border: 0;
  background: #003CD5;
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.sched-dialog-close:hover,
.sched-dialog-close:focus-visible{background:#002ea8;outline:2px solid #111;outline-offset:2px}
.sched-dialog .sched-block{min-width:0}
.sched-dialog .sched-wrap{
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.sched-dialog .sched-table caption{display:none}

html:has(.sched-dialog[open]),
body:has(.sched-dialog[open]){
  overflow: hidden;
}
