.the7child-programme {
  --the7child-programme-gold: var(--color-primary, #ac8834);
  --the7child-programme-gold-rgb: 172, 136, 52;
  --the7child-programme-gold-soft: #e2c87d;
  --the7child-programme-dark: #2a2927;
  --the7child-programme-dark-2: #22211f;
  --the7child-programme-cream: #f7f3ea;
  --the7child-programme-cream-2: #fcfaf5;
  --the7child-programme-ink: #1f1d19;
  --the7child-programme-muted: rgba(31, 29, 25, 0.66);
  max-width: 1200px;
  margin: 0 auto;
}

.the7child-programme__header {
  margin-bottom: 20px;
  text-align: center;
}

.the7child-programme__title {
  margin: 0;
  color: var(--the7child-programme-ink);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
}

.the7child-programme__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.the7child-programme__filter {
  appearance: none;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(var(--the7child-programme-gold-rgb), 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--the7child-programme-gold);
  font-family: var(--font-accent, "Raleway", Helvetica, Arial, sans-serif);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.the7child-programme__filter:hover,
.the7child-programme__filter:focus,
.the7child-programme__filter.is-active {
  border-color: transparent;
  background: linear-gradient(180deg, #dab65f 0%, #bf9330 100%);
  color: #231f17;
  box-shadow: 0 12px 24px rgba(191, 147, 48, 0.22);
  outline: none;
}

.the7child-programme__panel[hidden] {
  display: none !important;
}

.the7child-programme__room {
  margin-bottom: 20px;
  border: 1px solid rgba(var(--the7child-programme-gold-rgb), 0.18);
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--the7child-programme-dark) 0%, var(--the7child-programme-dark-2) 100%);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

.the7child-programme__room:last-child {
  margin-bottom: 0;
}

.the7child-programme__room-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 82px;
  padding: 16px 70px 16px 22px;
  border: 0;
  background: linear-gradient(180deg, var(--the7child-programme-dark) 0%, var(--the7child-programme-dark-2) 100%);
  color: var(--the7child-programme-gold);
  text-align: left;
  cursor: pointer;
}

.the7child-programme__room-toggle:hover,
.the7child-programme__room-toggle:focus {
  outline: none;
  background: linear-gradient(180deg, #302f2c 0%, #272624 100%);
}

.the7child-programme__room-label {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff3cf;
  font-family: var(--font-accent, "Raleway", Helvetica, Arial, sans-serif);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.the7child-programme__room-count {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  line-height: 1.5;
}

.the7child-programme__room-icon {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  border-radius: 50%;
  border: 1px solid rgba(226, 200, 125, 0.35);
  background: rgba(226, 200, 125, 0.12);
}

.the7child-programme__room-icon::before,
.the7child-programme__room-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.the7child-programme__room-icon::before {
  width: 12px;
  height: 1px;
  background: #e7c97f;
}

.the7child-programme__room-icon::after {
  width: 1px;
  height: 12px;
  background: #e7c97f;
}

.the7child-programme__room.is-open .the7child-programme__room-icon {
  border-color: transparent;
  background: linear-gradient(180deg, #dab65f 0%, #bf9330 100%);
}

.the7child-programme__room.is-open .the7child-programme__room-icon::before {
  background: #231f17;
}

.the7child-programme__room.is-open .the7child-programme__room-icon::after {
  display: none;
}

.the7child-programme__room-panel {
  padding: 24px;
  border-top: 1px solid rgba(var(--the7child-programme-gold-rgb), 0.12);
  background:
    radial-gradient(circle at top right, rgba(var(--the7child-programme-gold-rgb), 0.12), transparent 30%),
    linear-gradient(180deg, var(--the7child-programme-cream-2) 0%, var(--the7child-programme-cream) 100%);
}

.the7child-programme__room-panel[hidden] {
  display: none !important;
}

.the7child-programme__room-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 24px;
  align-items: start;
}

.the7child-programme__session-list {
  display: grid;
  gap: 12px;
}

.the7child-programme__session {
  appearance: none;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(var(--the7child-programme-gold-rgb), 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 18px rgba(31, 31, 31, 0.04);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.the7child-programme__session:hover,
.the7child-programme__session:focus,
.the7child-programme__session.is-active {
  border-color: rgba(var(--the7child-programme-gold-rgb), 0.32);
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(31, 31, 31, 0.08);
  transform: translateY(-2px);
  outline: none;
}

.the7child-programme__session-time {
  color: var(--the7child-programme-gold);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.the7child-programme__session-content {
  display: grid;
  gap: 6px;
}

.the7child-programme__session-type {
  color: var(--the7child-programme-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.the7child-programme__session-speaker {
  color: var(--the7child-programme-ink);
  font-size: 16px;
  line-height: 1.3;
}

.the7child-programme__session-title {
  color: var(--the7child-programme-muted);
  font-size: 13px;
  line-height: 1.5;
}

.the7child-programme__preview {
  position: sticky;
  top: 18px;
}

.the7child-programme__preview-card {
  padding: 18px;
  border: 1px solid rgba(var(--the7child-programme-gold-rgb), 0.14);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf7ef 100%);
  box-shadow:
    0 14px 28px rgba(31, 31, 31, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.the7child-programme__preview-image-wrap {
  overflow: hidden;
  border-radius: 18px;
  background: #111111;
}

.the7child-programme__preview-image-wrap[hidden] {
  display: none !important;
}

.the7child-programme__preview-image {
  display: block;
  width: 100%;
  height: auto;
}

.the7child-programme__preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 10px;
}

.the7child-programme__preview-type,
.the7child-programme__preview-room {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.the7child-programme__preview-type {
  background: linear-gradient(180deg, #dab65f 0%, #bf9330 100%);
  color: #231f17;
}

.the7child-programme__preview-room {
  background: rgba(var(--the7child-programme-gold-rgb), 0.1);
  color: var(--the7child-programme-gold);
}

.the7child-programme__preview-name {
  margin: 0 0 6px;
  color: var(--the7child-programme-ink);
  font-size: 26px;
  line-height: 1.15;
}

.the7child-programme__preview-time {
  margin: 0 0 8px;
  color: var(--the7child-programme-gold);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.the7child-programme__preview-title {
  margin: 0 0 10px;
  color: var(--the7child-programme-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.the7child-programme__preview-description {
  margin: 0;
  color: var(--the7child-programme-muted);
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-line;
}

.the7child-programme__preview-name[hidden],
.the7child-programme__preview-time[hidden],
.the7child-programme__preview-title[hidden],
.the7child-programme__preview-description[hidden] {
  display: none !important;
}

@media (max-width: 991px) {
  .the7child-programme__room-layout {
    grid-template-columns: 1fr;
  }

  .the7child-programme__preview {
    position: static;
  }
}

@media (max-width: 767px) {
  .the7child-programme__filters {
    gap: 10px;
  }

  .the7child-programme__filter {
    width: 100%;
  }

  .the7child-programme__room {
    border-radius: 22px;
  }

  .the7child-programme__room-toggle {
    min-height: 74px;
    padding: 16px 58px 16px 16px;
  }

  .the7child-programme__room-label {
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .the7child-programme__room-count {
    display: none;
  }

  .the7child-programme__room-icon {
    right: 12px;
    width: 28px;
    height: 28px;
    margin-top: -14px;
  }

  .the7child-programme__room-panel {
    padding: 16px;
  }

  .the7child-programme__session {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px;
    padding-right: 48px;
    border-radius: 16px;
    position: relative;
  }

  .the7child-programme__session::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 12px;
    height: 12px;
    border-right: 3px solid var(--the7child-programme-gold);
    border-bottom: 3px solid var(--the7child-programme-gold);
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.25s ease;
    pointer-events: none;
  }

  .the7child-programme__session.is-active::after {
    transform: translateY(-50%) rotate(-135deg);
  }

  .the7child-programme__session-time {
    font-size: 20px;
  }

  .the7child-programme__preview-card {
    padding: 14px;
    border-radius: 18px;
  }

  .the7child-programme__preview-name {
    font-size: 22px;
  }
}
