/**
 * Custom styles – plain CSS, no build required.
 * Edit this file and refresh the page; no npm run build needed.
 */

/* Banner Buttons section (3 buttons row, no background) */
.tabbedContent-bannerBtns {
    background: none;
  }
  
  .tabbedContent-bannerBtns-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem 1rem;
  }
  
  .tabbedContent-bannerBtns-inner .btn {
    width: auto;
    margin: 0;
  }

  .tabbedContent-bannerBtns-inner .btn:focus {
    color: #FFFFFF;
  }
  
  @media (max-width: 767px) {
    .tabbedContent-bannerBtns-inner {
      flex-direction: column;
    }
  
    .tabbedContent-bannerBtns-inner .btn {
      width: 100%;
      max-width: 280px;
      text-align: center;
    }
  }
  
  /* Register for Summer Camp CTA (title, description, button – all centered) */
  .tabbedContent-registerCta .content {
    text-align: center;
  }
  
  .tabbedContent-registerCta .sectionHeadline {
    margin-bottom: 0.5em;
  }
  
  .tabbedContent-registerCta .content p {
    margin-bottom: 1rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .tabbedContent-registerCta .content p:last-of-type {
    margin-bottom: 0;
  }
  
  .tabbedContent-registerCta .btn {
    width: auto;
    margin: 0;
  }
  
  /* Single Image Block (1:1 image right, text + link left) */
  /* Mobile first: stacked layout */
  .tabbedContent-singleImageBlock .tabbedContent-singleImageBlock-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }
  
  .tabbedContent-singleImageBlock .tabbedContent-singleImageBlock-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .tabbedContent-singleImageBlock .tabbedContent-singleImageBlock-content .sectionHeadline {
    margin-bottom: 0.4em;
    text-align: left;
  }
  
  .tabbedContent-singleImageBlock .tabbedContent-singleImageBlock-copy {
    font-size: 16px;
    line-height: 28px;
    margin-bottom: 0.4em;
  }
  
  .tabbedContent-singleImageBlock .tabbedContent-singleImageBlock-copy p:last-child {
    margin-bottom: 0;
  }
  
  .tabbedContent-singleImageBlock .tabbedContent-singleImageBlock-cta {
    margin-top: 0.4em;
    margin-bottom: 0;
  }
  
  .tabbedContent-singleImageBlock .tabbedContent-singleImageBlock-link {
    font-weight: 600;
  }
  
  .tabbedContent-singleImageBlock .tabbedContent-singleImageBlock-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    border-radius: 2px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  }
  
  /* Mobile: content first, then image; cap image width when stacked */
  .tabbedContent-singleImageBlock .tabbedContent-singleImageBlock-content {
    order: 1;
  }
  
  .tabbedContent-singleImageBlock .tabbedContent-singleImageBlock-imageCol {
    order: 2;
  }
  
  .tabbedContent-singleImageBlock .tabbedContent-singleImageBlock-image {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Tablet and up: side-by-side, vertically centered */
  @media (min-width: 768px) {
    .tabbedContent-singleImageBlock .tabbedContent-singleImageBlock-grid {
      flex-direction: row;
      align-items: center;
      gap: 2rem;
    }
  
    .tabbedContent-singleImageBlock .tabbedContent-singleImageBlock-content {
      flex: 1;
      min-width: 0;
      order: 1;
    }
  
    .tabbedContent-singleImageBlock .tabbedContent-singleImageBlock-imageCol {
      flex: 1;
      min-width: 0;
      order: 2;
    }
  
    .tabbedContent-singleImageBlock .tabbedContent-singleImageBlock-image {
      max-width: none;
      margin-left: 0;
      margin-right: 0;
    }
  }
  
  /* Program Information section (headline, session pills, table) */
  .tabbedContent-programInfo {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
  }
  
  .tabbedContent-programInfo .content {
    text-align: center;
  }
  
  .tabbedContent-programInfo .sectionHeadline {
    margin-bottom: 0.25em;
  }
  
  .programInfo-subtitle {
    font-weight: 700;
    margin-bottom: 0.15em;
  }
  
  .programInfo-dateRange {
    margin-bottom: 1.25rem;
  }
  
  .programInfo-sessions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 0.75rem 2rem;
    margin-bottom: 1.5rem;
  }
  
  .programInfo-session {
    padding: 0.75rem 1rem;
    color: #fff;
    text-align: center;
    font-weight: 600;
    white-space: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
  }
  
  .programInfo-session--orange {
    background-color: #f9a825;
  }
  
  .programInfo-session--orange_dark {
    background-color: #ef6c00;
  }
  
  .programInfo-session--blue {
    background-color: #4fc3f7;
  }
  
  @media (max-width: 767px) {
    .tabbedContent-programInfo .sectionHeadline {
      text-align: center;
    }

    .programInfo-sessions {
      flex-direction: column;
      align-items: center;
    }
  
    .programInfo-session {
      width: 100%;
      max-width: 320px;
    }
  }
  
  /* Responsive table: scroll wrapper + card layout on small screens */
  .programInfo-table-wrap {
    width: 100%;
    margin-top: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 4px;
  }
  
  .programInfo-table {
    width: 100%;
    min-width: 280px;
    border-collapse: collapse;
  }
  
  .programInfo-table thead {
    background-color: #3F8334;
    color: #fff;
  }
  
  .programInfo-table th {
    padding: 0.75rem 1rem;
    text-align: center;
    font-weight: 700;
    border: 4px solid #f4efe3;
    white-space: nowrap;
  }
  
  .programInfo-table tbody tr:nth-child(even) {
    background-color: #fff;
  }
  
  .programInfo-table tbody tr:nth-child(odd) {
    background-color: #fff;
  }
  
  .programInfo-table td {
    padding: 0.75rem 1rem;
    text-align: center;
    border: 4px solid #f4efe3;
  }
  
  .programInfo-table td br {
    display: block;
    content: "";
    margin-top: 0.25em;
  }
  
  /* Small screens: card layout (no horizontal scroll, better readability) */
  @media (max-width: 640px) {
    .programInfo-table-wrap {
      overflow-x: visible;
      border: none;
    }
  
    .programInfo-table {
      min-width: 0;
      display: block;
    }
  
    .programInfo-table thead {
      display: none;
    }
  
    .programInfo-table tbody {
      display: block;
    }
  
    .programInfo-table tbody tr {
      display: block;
      margin-bottom: 1rem;
      border: 4px solid #f4efe3;
      border-radius: 4px;
      background-color: #fff;
      overflow: hidden;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    }
  
    .programInfo-table tbody tr:last-child {
      margin-bottom: 0;
    }
  
    .programInfo-table td {
      display: block;
      text-align: left;
      padding: 0.6rem 1rem;
      border: none;
      border-bottom: 1px solid #f4efe3;
    }
  
    .programInfo-table td:last-child {
      border-bottom: none;
    }
  
    .programInfo-table td::before {
      content: attr(data-label);
      display: block;
      font-weight: 700;
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.02em;
      color: #3F8334;
      margin-bottom: 0.2rem;
    }
  
    .programInfo-table td br {
      margin-top: 0.2em;
    }
  }
  
  /* Extra small: slightly tighter padding */
  @media (max-width: 380px) {
    .programInfo-table td {
      padding: 0.5rem 0.75rem;
    }
  
    .programInfo-table td::before {
      font-size: 0.7rem;
    }
  }
  
  /* After Register Section (two-column: left title + rich text, right title + intro + narrow accordions) */
  .tabbedContent-afterRegister .tabbedContent-afterRegister-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .tabbedContent-afterRegister-left .sectionHeadline {
    margin-bottom: 0.5em;
    text-align: left;
  }
  
  .tabbedContent-afterRegister-leftContent {
    text-align: left;
  }
  
  .tabbedContent-afterRegister-leftContent p:last-child,
  .tabbedContent-afterRegister-leftContent ul {
    margin-bottom: 0;
  }
  
  .tabbedContent-afterRegister-right .sectionHeadline {
    margin-bottom: 0.5em;
    text-align: left;
  }
  
  .tabbedContent-afterRegister-rightIntro {
    margin-bottom: 1rem;
  }
  
  .tabbedContent-afterRegister-accordion {
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .tabbedContent-afterRegister-item {
    background-color: #e8e8e8;
    overflow: hidden;
  }
  
  .tabbedContent-afterRegister-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    gap: 0.5rem;
  }
  
  .tabbedContent-afterRegister-item summary::-webkit-details-marker {
    display: none;
  }
  
  .tabbedContent-afterRegister-itemIcon {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background-color: #d0d0d0;
    color: #555;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
  }
  
  .tabbedContent-afterRegister-itemIcon--minus {
    display: none;
  }
  
  .tabbedContent-afterRegister-item[open] .tabbedContent-afterRegister-itemIcon--plus {
    display: none;
  }
  
  .tabbedContent-afterRegister-item[open] .tabbedContent-afterRegister-itemIcon--minus {
    display: inline-flex;
  }
  
  .tabbedContent-afterRegister-itemContent {
    padding: 0 1rem 1rem;
  }
  
  .tabbedContent-afterRegister-itemContent p:first-child {
    margin-top: 0;
  }
  
  .tabbedContent-afterRegister-itemContent p:last-child {
    margin-bottom: 0;
  }
  
  @media (min-width: 768px) {
    .tabbedContent-afterRegister .tabbedContent-afterRegister-grid {
      flex-direction: row;
      align-items: flex-start;
      gap: 2rem;
    }
  
    .tabbedContent-afterRegister .tabbedContent-afterRegister-grid .column:first-child {
      width: 60%;
    }
  
    .tabbedContent-afterRegister .tabbedContent-afterRegister-grid .column:last-child {
      width: 40%;
    }
  }
  
  @media (max-width: 767px) {
    .tabbedContent-afterRegister-accordion {
      max-width: 100%;
    }
  }
  