/* ==========================================================================
   БИЗНЕС-ПРОГРАММА ВЫСТАВКИ «СТРОЙКА» (M2)
   Фирменный акцент: #f7714c
   ========================================================================== */

.program-section-stroika {
  position: relative;
  background-color: #0c0d0f;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.program-interactive-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

/* Табы выбора дня программы */
.program-tabs-container {
  margin-bottom: 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
  display: flex;
  justify-content: center;
}

.program-tabs-container::-webkit-scrollbar {
  display: none;
}

.program-tabs-nav {
  display: inline-flex;
  gap: 12px;
  background: #141518;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.program-tab-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  border: 1px solid transparent;
  padding: 10px 20px 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  user-select: none;
  color: #ffffff;
}

.program-tab-btn:hover {
  background: rgba(255, 255, 255, 0.04);
}

.program-tab-btn.active {
  background: #1e2024;
  border-color: #f7714c;
  box-shadow: 0 6px 20px rgba(247, 113, 76, 0.25);
}

.program-tab-date-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: #25282f;
  color: #ffffff;
  transition: all 0.25s ease;
}

.program-tab-day {
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  font-family: var(--font-heading, 'Unbounded', sans-serif);
}

.program-tab-month {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-top: 2px;
  color: #999999;
}

.program-tab-btn.active .program-tab-date-pill {
  background: #f7714c;
  color: #ffffff;
}

.program-tab-btn.active .program-tab-month {
  color: rgba(255, 255, 255, 0.9);
}

.program-tab-text {
  display: flex;
  flex-direction: column;
}

.program-tab-title {
  font-family: var(--font-heading, 'Unbounded', sans-serif);
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff !important;
  line-height: 1.25;
}

.program-tab-btn.active .program-tab-title {
  color: #ffffff !important;
}

.program-tab-count {
  font-size: 11.5px;
  color: #888888;
  margin-top: 3px;
}

/* Панели с событиями */
.program-tab-panes {
  position: relative;
}

.program-tab-pane {
  display: none;
  animation: fadeInPaneStroika 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.program-tab-pane.active {
  display: block;
}

@keyframes fadeInPaneStroika {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.program-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Карточка отдельного события */
.program-event-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  background: #141518;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px 28px;
  transition: all 0.25s ease;
}

.program-event-card:hover {
  border-color: #f7714c;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(247, 113, 76, 0.1);
}

/* Левая колонка тайминга */
.event-time-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading, 'Unbounded', sans-serif);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.event-time-badge i {
  color: #f7714c;
}

.event-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  color: #bbbbbb;
  line-height: 1.4;
  width: fit-content;
}

.event-location-pill i {
  color: #f7714c;
  font-size: 11px;
}

/* Контент мероприятия */
.event-main-card {
  display: flex;
  flex-direction: column;
}

.event-header-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.event-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.event-organizer {
  font-size: 13px;
  color: #888888;
  font-weight: 500;
}

.event-title {
  font-family: var(--font-heading, 'Unbounded', sans-serif);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff !important;
  line-height: 1.35;
  margin: 0 0 10px 0;
}

.event-descr {
  font-size: 14px;
  color: #a0a0a5;
  line-height: 1.6;
  margin-bottom: 14px;
}

/* Спикеры */
.event-speaker-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(247, 113, 76, 0.08);
  border: 1px solid rgba(247, 113, 76, 0.25);
  border-radius: 8px;
  padding: 8px 14px;
  margin-bottom: 14px;
  width: fit-content;
}

.event-speaker-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f7714c;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.event-speaker-info {
  display: flex;
  flex-direction: column;
}

.speaker-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888888;
  font-weight: 600;
}

.speaker-name {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

/* Кнопки действий */
.event-actions-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.btn-event-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-event-primary {
  background: #f7714c;
  color: #ffffff !important;
}

.btn-event-primary:hover {
  background: #ff8563;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(247, 113, 76, 0.4);
}

.btn-event-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
}

.btn-event-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Адаптив для планшетов и мобильных устройств */
@media (max-width: 991px) {
  .program-event-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .program-tabs-container {
    justify-content: flex-start;
    padding: 0 4px 10px 4px;
    margin-bottom: 20px;
    width: 100%;
  }

  .program-tabs-nav {
    display: flex;
    width: 100%;
    gap: 6px;
    padding: 4px;
    background: #141518;
    border-radius: 10px;
  }

  .program-tab-btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 6px 4px;
    gap: 6px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 8px;
  }

  .program-tab-date-pill {
    width: 36px;
    height: 36px;
    border-radius: 6px;
  }

  .program-tab-day {
    font-size: 14px;
  }

  .program-tab-month {
    font-size: 8.5px;
  }

  .program-tab-text {
    align-items: center;
    width: 100%;
  }

  .program-tab-title {
    font-size: 10.5px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .program-tab-count {
    font-size: 10px;
    margin-top: 1px;
  }

  .program-event-card {
    padding: 16px;
    border-radius: 10px;
  }

  .event-time-badge {
    font-size: 14px;
  }

  .event-title {
    font-size: 15px;
  }

  .event-descr {
    font-size: 13px;
  }
}
