body {
  font-family: 'Istok Web', 'Istok Web Fallback', Arial, sans-serif;
  color: #ffffff;
  padding: 0 clamp(24px, 6vw, 64px);
}

main {
  padding: clamp(120px, 18vh, 160px) 0 clamp(88px, 12vh, 140px);
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 8vw, 72px);
}

/* ===== Hero ===== */

.program-hero {
  display: flex;
  justify-content: center;
}

.program-hero__inner {
  width: var(--container-width);
  max-width: var(--container-width);
  text-align: center;
  display: grid;
  gap: 16px;
}

.program-hero__eyebrow {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
}

.program-hero__title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
}

.program-hero__lead {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
  opacity: 0.9;
  max-width: 640px;
  margin-inline: auto;
}

.program-list__note {
  font-style: normal;
}

/* ===== Program list ===== */

.program-list {
  display: flex;
  justify-content: center;
}

.program-list__inner {
  width: var(--container-width);
  max-width: var(--container-width);
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}

/* ===== Filter pills ===== */

.program-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.program-filter__pill {
  appearance: none;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.program-filter__pill:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

.program-filter__pill:focus-visible {
  outline: 2px solid #3aba4a;
  outline-offset: 2px;
}

.program-filter__pill--active {
  background: #3aba4a;
  border-color: transparent;
  color: #041b0e;
}

.program-filter__pill--active:hover {
  background: #34a844;
  border-color: transparent;
  transform: translateY(-1px);
}

/* ===== Count / No results ===== */

.program-list__count {
  margin: 0;
  text-align: center;
  font-size: 0.88rem;
  opacity: 0.7;
}

.program-list__no-results {
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
  opacity: 0.8;
}

.program-list__reset-link {
  appearance: none;
  background: none;
  border: none;
  color: #3aba4a;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.program-list__reset-link:hover {
  color: #68cd46;
}

/* ===== Accordion items ===== */

.program-items {
  display: grid;
  gap: 8px;
}

.program-item {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
  transition: background 0.2s ease;
}

.program-item:hover {
  background: rgba(255, 255, 255, 0.10);
}

.program-item[open] {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.2);
}

.program-item__header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: clamp(16px, 3vw, 24px);
  cursor: pointer;
  list-style: none;
}

.program-item__header::-webkit-details-marker {
  display: none;
}

.program-item__header::marker {
  content: '';
}

.program-item__main {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 4px;
}

.program-item__title {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
  line-height: 1.3;
}

.program-item__speaker {
  margin: 0;
  font-size: 0.88rem;
  opacity: 0.7;
  line-height: 1.4;
}

.program-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex-shrink: 0;
}

.program-item__tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(58, 186, 74, 0.2);
  color: #7de68d;
  white-space: nowrap;
}

.program-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.program-item__icon::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(255, 255, 255, 0.6);
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}

.program-item[open] .program-item__icon::before {
  transform: rotate(45deg);
}

/* ===== Expanded content ===== */

.program-item__content {
  padding: 0 clamp(16px, 3vw, 24px) clamp(16px, 3vw, 24px);
  display: grid;
  gap: 16px;
}

.program-item__description {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.85;
}

.program-item__footer {
  display: flex;
}

.program-item__speaker-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #7de68d;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.program-item__speaker-link:hover {
  color: #a8f0b4;
}

.program-item__speaker-link:focus-visible {
  outline: 2px solid #3aba4a;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== CTA section ===== */

.program-cta {
  display: flex;
  justify-content: center;
}

.program-cta__inner {
  width: var(--container-width);
  max-width: var(--container-width);
  text-align: center;
  display: grid;
  gap: 16px;
  justify-items: center;
}

.program-cta__title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
}

.program-cta__lead {
  margin: 0;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.6;
  opacity: 0.85;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  background: #3aba4a;
  color: #041b0e;
  transition: transform 0.2s ease;
}

.hero__cta:hover,
.hero__cta:focus-visible {
  background: #34a844;
  transform: translateY(-2px);
  outline: none;
}

.attraction__cta {
  margin-top: clamp(8px, 2vw, 16px);
}

/* ===== Responsive ===== */

@media (max-width: 640px) {
  .program-item__header {
    flex-wrap: wrap;
  }

  .program-item__tags {
    width: 100%;
    order: 3;
    margin-top: 4px;
  }

  .program-item__icon {
    order: 2;
  }
}
