/* Программа — паритет Elementor 08e2586 + #cms-program-style */

.soz-program {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  min-height: 940px;
  margin: 0;
  padding: 100px 0;
  color: #fff;
  box-sizing: border-box;
  background: rgb(233, 91, 46);
  background: linear-gradient(
    107deg,
    rgba(233, 91, 46, 1) 0%,
    rgba(190, 62, 39, 1) 14%,
    rgba(142, 33, 68, 1) 34%,
    rgba(40, 75, 172, 1) 63%,
    rgba(8, 36, 98, 1) 84%,
    rgba(4, 11, 26, 1) 100%
  );
}

.soz-program__inner {
  width: 100%;
  max-width: min(100%, 1080px);
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
  align-self: center;
  box-sizing: border-box;
}

.soz-program__body,
.cms-program {
  color: #fff;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  container-type: inline-size;
}

.cms-program-current,
.cms-program-sheet,
.cms-program-slider {
  min-width: 0;
  max-width: 100%;
}

/* Как b49db0a + toggle на проде: чуть уже колонки 1080px */
.cms-program-current,
.cms-program-slide .cms-program-sheet {
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
}

.cms-program-year {
  text-align: center;
  color: #fff;
  margin: 0 0 18px;
  font-weight: 500;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.cms-program-current .cms-program-year {
  font-size: clamp(22px, 8cqi, 42px);
  line-height: 1.1;
}

.cms-program-slide .cms-program-year {
  font-size: clamp(20px, 6.5cqi, 32px);
  line-height: 1.15;
}

.cms-program-columns,
.cms-program-row {
  display: grid;
  grid-template-columns: minmax(0, 22%) minmax(0, 1fr);
  column-gap: 18px;
  align-items: start;
  width: 100%;
  min-width: 0;
}

.cms-program-columns {
  margin: 0 0 4px;
  padding-bottom: 4px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  border-bottom: 1px solid #d5d8dc;
}

.cms-program-columns span:first-child,
.cms-program-row time {
  text-align: right;
}

.cms-program-row {
  padding: 25px 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  border-bottom: 1px solid #d5d8dc;
  min-width: 0;
}

.cms-program-text {
  min-width: 0;
  max-width: 100%;
}

.cms-program .programm,
.cms-program .subi {
  display: block;
  padding-left: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.cms-program .subi {
  margin-top: 10px;
}

.cms-program-toggle,
.hide-show-btnn {
  display: block;
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  margin: 28px auto 8px;
  padding: 10px 18px;
  border: 1px solid #f2295b;
  border-radius: 0;
  background: transparent;
  color: #f2295b;
  font: 16px / 1.3 Roboto, sans-serif;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Перебивает #speakers-mobile-fix (.elementor-3138 … margin: 0 auto) на мобиле */
.elementor-3138 .soz-program .cms-program-toggle,
.elementor-3138 .soz-program button.hide-show-btnn.cms-program-toggle {
  margin: 32px auto 8px;
}

@media (min-width: 768px) {
  .cms-program-toggle,
  .hide-show-btnn {
    margin: 48px auto 8px;
  }

  .elementor-3138 .soz-program .cms-program-toggle,
  .elementor-3138 .soz-program button.hide-show-btnn.cms-program-toggle {
    margin: 48px auto 8px;
  }
}

.cms-program-toggle:hover,
.cms-program-toggle:focus,
.hide-show-btnn:hover,
.hide-show-btnn:focus {
  background: transparent;
  color: #f2295b;
  border-color: #f2295b;
  outline: none;
  box-shadow: none;
  text-decoration: none;
}

.cms-program-slider {
  position: relative;
  margin-top: 18px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.cms-program-viewport {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.cms-program-track {
  display: flex;
  width: 100%;
  min-width: 0;
  transition: transform 0.45s ease;
}

.cms-program-slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.cms-program-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.cms-program-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  line-height: 0;
  cursor: pointer;
}

.cms-program-arrow svg {
  display: block;
  width: 16px;
  height: 16px;
  flex: none;
}

.cms-program-dots {
  display: flex;
  gap: 8px;
}

.cms-program-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.cms-program-dots button.is-on {
  background: #fff;
}

@container (max-width: 520px) {
  .cms-program-columns {
    display: none;
  }

  .cms-program-row {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 6px;
    padding: 16px 0;
  }

  .cms-program-row time {
    text-align: left;
    white-space: normal;
  }
}

@media (max-width: 1024px) {
  .soz-program {
    padding: 50px 20px;
  }
}

@media (max-width: 767px) {
  .cms-program-columns {
    display: none;
  }

  .cms-program-row {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 6px;
    font-size: 12px;
    padding: 16px 0;
  }

  .cms-program-row time {
    text-align: left;
    white-space: normal;
  }
}
