/* Camp archive: fixed reference layout, shared data and native controls. */
@media (min-width: 960px) {
  .bpi-layout .camp-opening > section:first-child {
    height: calc(100vh - 88px - var(--wp-admin--admin-bar--height, 0px));
    min-height: 0;
  }
  .bpi-layout .camp-opening > section:first-child > div:last-child {
    padding-top: clamp(24px, calc(100vh - 640px), 104px);
  }
}
@media (min-width: 960px) and (max-height: 650px) {
  .bpi-layout .camp-opening > section:first-child > div:last-child {
    gap: 24px;
  }
}
.bpi-layout .camp-opening > section:first-child > div:last-child > p {
  width: 50%;
  max-width: 620px;
}
.bpi-layout .camp-week-label {
  display: block;
}
.bpi-layout .bpi-faq {
  display: block;
  padding: 0;
  border-bottom: 1px solid #cfc8bf;
}
.bpi-layout .bpi-faq > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
  font: 600 22px/1.25 var(--heading);
  text-transform: uppercase;
}
.bpi-layout .bpi-faq > summary::after {
  content: none;
}
.faq-symbol {
  flex: 0 0 16px;
  width: 16px;
  text-align: center;
  font: 400 20px/1 var(--body);
  color: var(--red);
}
.faq-symbol::before {
  content: "+";
}
details[open] > summary > .faq-symbol::before {
  content: "−";
}
.bpi-layout .bpi-faq > div {
  padding: 0 0 18px;
  font: 400 16px/1.6 var(--body);
  color: #4a413c;
}
.bpi-layout .bpi-phone a {
  color: #191412;
  text-decoration: none;
  border-bottom: 1px solid var(--red);
  padding-bottom: 3px;
}
.bpi-layout .closing-cta > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.bpi-layout .closing-cta h2 {
  margin-inline: auto;
  margin-bottom: 20px;
}
@media (max-width: 959px) {
  .bpi-layout .camp-opening > section:first-child > div:last-child > p {
    width: 100%;
  }
}
.bpi-breadcrumbs {
  font: 400 11px/1.5 var(--mono);
  letter-spacing: 0.12em;
}
.bpi-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.bpi-breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bpi-breadcrumbs li + li::before {
  content: "/";
  color: #8a8079;
}
.bpi-breadcrumbs a {
  color: #8a8079;
  text-decoration: none;
}
.bpi-breadcrumbs a[aria-current="page"],
.bpi-breadcrumbs a:hover {
  color: var(--text);
}
.bpi-layout[data-page="camps"] > section:first-child > p {
  width: 50%;
  max-width: 620px;
}
.camp-archive {
  padding: 80px 0 96px;
}
.camp-archive .featured-camp {
  margin: 0;
}
.camp-archive.home-featured {
  padding-bottom: 0;
}
.camp-archive .featured-content {
  padding: 44px 40px 42px;
  max-width: 790px;
}
.camp-archive .featured-top {
  gap: 24px;
  margin-bottom: 18px;
}
.camp-archive .featured-top .eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
}
.camp-archive .featured-top .countdown {
  font-size: 10px;
  text-transform: uppercase;
}
.camp-archive .featured-camp h2 {
  font-size: 68px;
  margin-bottom: 10px;
}
.camp-archive .featured-description {
  font-size: 17.5px;
  line-height: 1.55;
}
.camp-archive .button {
  padding: 14px 28px;
  font-size: 17px;
  min-height: 0;
  background: #ad0922;
}
.camp-archive .text-link {
  font-size: 17px;
}
.camp-schedule {
  padding-top: 80px;
  margin-bottom: 58px;
}
.schedule-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 16px;
}
.camp-archive .schedule-heading .eyebrow {
  color: #ad0922;
  font-size: 11.5px;
  margin-bottom: 10px;
}
.schedule-heading h2 {
  font-size: 46px;
}
.schedule-heading > p {
  max-width: 340px;
  font-size: 15.5px;
  line-height: 1.55;
  color: #4a413c;
}
.schedule-chart {
  margin-top: 30px;
  padding: 22px 26px 26px;
  border: 1px solid #cfc8bf;
  background: #f3efe9;
}
.schedule-months {
  display: grid;
  grid-template-columns: 210px repeat(12, minmax(0, 1fr));
  border-bottom: 1px solid #cfc8bf;
  margin-bottom: 12px;
}
.schedule-months span {
  text-align: center;
  padding: 10px 0;
  font: 700 11px/1.5 var(--mono);
  color: #8a8079;
  border-right: 1px solid #cfc8bf;
}
.schedule-months span:first-child,
.schedule-months span:last-child {
  border: 0;
}
.schedule-month {
  display: none;
}
.schedule-row {
  --schedule-color: #b4874a;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: center;
  padding: 7px 0;
  color: var(--ink);
  text-decoration: none;
}
.schedule-row[data-schedule-status="open"] {
  --schedule-color: #4e8a5f;
}
.schedule-row[data-schedule-status="invitation"] {
  --schedule-color: #8a8079;
}
.schedule-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 18px;
}
.schedule-name strong {
  font: 700 21px/1.15 var(--heading);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.schedule-name small {
  font: 400 9.5px/1.5 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a8079;
}
.schedule-track {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  min-width: 0;
}
.schedule-bar {
  position: relative;
  height: 36px;
  border-radius: 2px;
  background: var(--schedule-color);
}
.schedule-date {
  font: 400 11px/1.5 var(--mono);
  letter-spacing: 0.06em;
  color: #6e645f;
}
.schedule-bar .schedule-date {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  padding-left: 14px;
}
.schedule-bar--late .schedule-date {
  left: auto;
  right: 100%;
  padding-right: 14px;
  padding-left: 0;
}
.schedule-track--undated {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px dashed #cfc8bf;
  background: #ede8e1;
  text-align: center;
  padding: 7px;
}
.schedule-track--undated .schedule-date {
  text-transform: uppercase;
  font-size: 9.5px;
  letter-spacing: 0.1em;
}
.schedule-row:hover .schedule-name strong {
  color: #ad0922;
}
.camp-archive .filter-bar {
  padding-bottom: 28px;
  gap: 10px;
}
.camp-archive .filter-bar button {
  color: #ad0922;
  padding: 12px 20px;
  font-size: 16px;
}
.camp-archive .filter-bar button[aria-pressed="true"],
.camp-archive .filter-bar button:hover {
  background: #ad0922;
  border-color: #ad0922;
  color: white;
}
.camp-archive .camp-list {
  gap: 20px;
}
.camp-archive .camp-list-card {
  grid-template-columns: 400px minmax(0, 1fr);
  background: #f3efe9;
}
.camp-archive .camp-list-media {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 0;
}
.camp-list-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.camp-list-media .status {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  background: #14100f;
  color: #d6a96a;
  border-color: #b4874a;
  padding: 5px 9px;
}
.camp-list-media .status::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.camp-list-media .status--open {
  color: #7fbe92;
  border-color: #4e8a5f;
}
.camp-list-media .status--invitation {
  color: #cfc8bf;
  border-color: #6e645f;
}
.camp-archive .camp-list-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px 34px 32px;
}
.camp-archive .camp-list-content .eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: #ad0922;
  margin-bottom: 4px;
}
.camp-list-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.camp-list-title > span {
  font: 600 20px/1.2 var(--heading);
  color: #8a8079;
  white-space: nowrap;
}
.camp-archive .camp-list-title h2 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  margin: 0;
}
.camp-list-description {
  font-size: 16.5px;
  line-height: 1.6;
  color: #4a413c;
  max-width: 620px;
}
.camp-archive .archive-facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 2px 0 0;
  border-bottom: 0;
  padding-top: 16px;
}
.camp-archive .archive-facts > div {
  padding: 0 16px;
}
.camp-archive .archive-facts > div:first-child {
  padding-left: 0;
}
.camp-archive .archive-facts > div:last-child {
  padding-right: 0;
}
.camp-archive .archive-facts dt {
  font-size: 9.5px;
  letter-spacing: 0.16em;
}
.camp-archive .archive-facts dd {
  font-size: 19px;
  font-weight: 700;
  text-transform: none;
}
.camp-archive .camp-fee-note {
  font-size: 11.5px;
}
.camp-archive .actions {
  margin-top: 6px;
  gap: 16px;
}
.camp-archive .featured-camp .archive-facts {
  margin-block: 26px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 768px) and (max-width: 1100px) {
  .camp-archive .camp-list-card {
    grid-template-columns: 32% minmax(0, 1fr);
  }
  .camp-archive .camp-list-content {
    padding: 26px 22px;
  }
  .camp-list-title {
    flex-wrap: wrap;
    gap: 6px;
  }
  .schedule-months {
    grid-template-columns: 160px repeat(12, minmax(0, 1fr));
  }
  .schedule-row {
    grid-template-columns: 160px minmax(0, 1fr);
  }
  .schedule-date {
    font-size: 9px;
    letter-spacing: 0;
  }
}
@media (max-width: 767px) {
  /* The phone design stretches every call to action across the column. */
  .bpi-layout .closing-cta .button,
  .closing-cta .button {
    width: 100%;
  }
  .bpi-layout [data-layout-grid="camp-path"] > div {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    gap: 14px;
  }
  .bpi-layout [data-layout-grid="camp-path"] > div > div {
    flex: none;
    width: 100%;
  }
  .bpi-layout [data-layout-grid="camp-path"] > div > h3 {
    align-self: center;
    transform: rotate(90deg);
  }
  .bpi-layout[data-page="camps"] > section:first-child > p {
    width: 100%;
  }
  .camp-archive {
    padding: 40px 0 52px;
  }
  .camp-archive .featured-content {
    padding: 24px 22px 26px;
  }
  .camp-archive .featured-top {
    gap: 10px;
    margin-bottom: 14px;
  }
  .camp-archive .featured-top .eyebrow {
    font-size: 10px;
  }
  .camp-archive .featured-top .countdown {
    font-size: 9px;
  }
  .camp-archive .featured-camp h2 {
    font-size: 44px;
  }
  .camp-archive .featured-description {
    font-size: 16px;
  }
  .camp-schedule {
    padding-top: 40px;
    margin-bottom: 30px;
  }
  .schedule-heading {
    display: block;
    padding-bottom: 14px;
  }
  .schedule-heading h2 {
    font-size: 34px;
  }
  .schedule-heading > p {
    margin-top: 14px !important;
    font-size: 14px;
  }
  .schedule-chart {
    padding: 18px;
    margin-top: 22px;
  }
  .schedule-months {
    display: none;
  }
  .schedule-row {
    display: block;
    padding: 0 0 0 14px;
    margin-bottom: 14px;
    border-left: 4px solid var(--schedule-color);
    border-radius: 2px;
  }
  .schedule-row:last-child {
    margin-bottom: 0;
  }
  .schedule-name {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  .schedule-month {
    display: block;
    order: -1;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8a8079;
  }
  .schedule-name small {
    display: none;
  }
  .schedule-track,
  .schedule-track--undated {
    display: block;
    border: 0;
    min-height: 0;
    padding: 0;
    background: none;
    text-align: left;
  }
  .schedule-bar {
    display: block;
    height: auto;
    background: none;
  }
  .schedule-bar .schedule-date,
  .schedule-date {
    position: static;
    display: block;
    transform: none;
    padding: 0;
    margin-top: 4px;
    white-space: normal;
    font-size: 10px;
  }
  .schedule-track--undated .schedule-date {
    text-transform: none;
  }
  .camp-archive .filter-bar {
    gap: 8px;
    padding-bottom: 24px;
  }
  .camp-archive .filter-bar button {
    padding: 10px 14px;
    font-size: 15px;
  }
  .camp-archive .camp-list-card {
    grid-template-columns: 1fr;
  }
  .camp-archive .camp-list-media {
    height: 220px;
    min-height: 0;
  }
  .camp-list-media .status {
    left: 14px;
    top: 14px;
    font-size: 9px;
  }
  .camp-archive .camp-list-content {
    padding: 24px 20px 26px;
    gap: 14px;
  }
  .camp-list-title {
    display: block;
  }
  .camp-list-title > span {
    font-size: 18px;
  }
  .camp-archive .camp-list-title h2 {
    font-size: 36px;
    margin-top: 2px;
  }
  .camp-list-description {
    font-size: 16px;
  }
  .camp-archive .archive-facts {
    grid-template-columns: 1fr;
    padding: 0;
    margin: 0;
  }
  .camp-archive .archive-facts > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    border-left: 0;
    border-bottom: 1px solid #cfc8bf;
    padding: 10px 0;
  }
  .camp-archive .featured-camp .archive-facts > div {
    border-color: var(--line);
  }
  /* The list already closes with its own rule; the last row must not draw a second. */
  .camp-archive .featured-camp .archive-facts > div:last-child {
    border-bottom: 0;
  }
  .camp-archive .archive-facts dd {
    text-align: right;
  }
  .camp-archive .archive-facts dt {
    margin: 0;
  }
  .camp-archive .actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .camp-archive .actions .text-link {
    align-self: center;
  }
}
