/* program.css - Bővítve a timeline (idővonal) stílusokkal */

.section-program {
  padding: 4.8rem 0;
  background-color: #fff;
}

.program-header {
  margin-bottom: 3.2rem;
}

.program-header h2 {
  font-size: 3.6rem;
  color: #252e39;
  margin-bottom: 1.2rem;
}

.program-header p {
  font-size: 1.6rem;
  color: #555;
  max-width: 700px;
  line-height: 1.5;
}

/* --- PROGRAM LISTA ÉS IDŐVONAL (TIMELINE) --- */
.program-list {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

/* A függőleges vonal */
.program-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 84px; /* 70px (time-box) + a 30px gap fele - a vonal vastagsága */
  width: 2px;
  background-color: #eaeaea;
}

.program-row {
  position: relative;
  display: flex;
  gap: 3rem;
  padding: 2.4rem 0;
}

/* Az idővonal pöttyei */
.program-row::after {
  content: "";
  position: absolute;
  top: 2.7rem; /* A címsor magasságához igazítva */
  left: 79px; /* A függőleges vonalra pontosan ráközpontosítva */
  width: 12px;
  height: 12px;
  background-color: #fff;
  border: 2px solid #14a7d0;
  border-radius: 50%;
  z-index: 1;
}

.time-box {
  flex: 0 0 70px;
  font-size: 2rem;
  font-weight: 700;
  color: #14a7d0;
  padding-top: 0.2rem;
  text-align: right; /* A vonal mellett a jobbra zárt szöveg elegánsabb */
}

.content-box {
  flex: 1;
}

.event-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.8rem;
}

.event-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.event-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 1.4rem;
  color: #555;
  line-height: 1.4;
}

.event-info-list ion-icon {
  font-size: 1.6rem;
  color: #14a7d0;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.event-info-list strong {
  color: #333;
  font-weight: 600;
}

.event-info-list a {
  color: #14a7d0;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-bottom 0.2s ease;
}

.event-info-list a:hover {
  border-bottom: 1px solid #14a7d0;
}

/* Mobil optimalizáció */
@media (max-width: 600px) {
  .program-list::before {
    left: 64px; /* Mobilon keskenyebb sávhoz igazítva */
  }

  .program-row::after {
    left: 59px;
  }

  .program-row {
    gap: 2rem;
    padding: 1.6rem 0;
  }

  .time-box {
    flex: 0 0 55px; /* Mobilon kevesebb helyet foglal el az idő */
    font-size: 1.6rem;
  }
}
