.section-program {
  padding: calc(var(--pageWidthPadding) * 2) 0;
  overflow: hidden;
  @media screen and (min-width: 769px) {
    padding: var(--pageWidthPadding) 0 calc(var(--pageWidthPadding) * 2);
  }
}

.section-program__grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  @media screen and (min-width: 1024px) {
    flex-direction: row;
    align-items: center;
  }
  @media screen and (min-width: 1200px) {
    gap: 60px;
  }
  &.section-program__grid--reverse {
    @media screen and (min-width: 1024px) {
      flex-direction: row-reverse;
    }
  }
}

.section-program__img {
  width: 100%;
  @media screen and (min-width: 1024px) {
    flex-shrink: 0;
    width: 50%;
  }

  img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 20px;
  }

  svg {
    width: 100%;
    border-radius: 20px;
  }
}

.section-program__grid-content {
  width: 100%;
  @media screen and (min-width: 1200px) {
    padding: 0 50px 0 85px;
  }
  .section-program__grid--reverse & {
    @media screen and (min-width: 1200px) {
      padding: 0 85px 0 50px;
    }
  }

  > * {
    margin-bottom: 24px;
    @media screen and (min-width: 1200px) {
      margin-bottom: 30px;
    }
    &:last-child {
      margin-bottom: 0;
    }
  }
}

.section-program__title {
  font-size: calc(var(--typeHeaderSize) - 18px);
  line-height: 1.09;
  letter-spacing: 2.1px;
  @media screen and (min-width: 769px) {
    font-size: calc(var(--typeHeaderSize) - 6px);
  }
}

.section-program__text-box {
  display: flex;
  gap: 16px;
  align-items: center;
  @media screen and (min-width: 769px) {
    gap: 12px;
  }
  @media screen and (min-width: 1200px) {
    padding-top: 10px;
  }
  .text-left & {
    justify-content: flex-start;
  }
  .text-center & {
    justify-content: center;
  }
  .text-right & {
    justify-content: flex-end;
  }
}

.section-program__num-box {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  font-size: calc(var(--typeBaseSize) + 11px);
  line-height: 1.375;
  font-weight: 700;
  background: #c7dabf;
  border-radius: 8px;
  @media screen and (min-width: 1200px) {
    padding: 14px 24px;
    font-size: calc(var(--typeBaseSize) + 13px);
    line-height: 1.4;
  }
}

.section-program__num-info-text {
  font-size: calc(var(--typeBaseSize) + 3px);
  line-height: 1.18;
  text-wrap: balance;
  @media screen and (min-width: 1200px) {
    font-size: calc(var(--typeBaseSize) + 5px);
    line-height: 1.4;
  }
}
