.tenet-event-variants,
.tenet-event-variants * {
  box-sizing: border-box;
}

.tenet-event-variants {
  width: 100%;
  margin: 32px 0;
  color: #3a3f45;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.tenet-event-variants .tenet-event-form {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.tenet-event-variants .tenet-event-form__fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.tenet-event-variants .tenet-event-form__field {
  display: block;
  min-width: 0;
  margin: 0;
}

.tenet-event-variants .tenet-event-form__label {
  display: block;
  margin: 0 0 4px;
  color: #626873;
  font-size: 14px;
  line-height: 1.5;
}

.tenet-event-variants .tenet-event-form__input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 48px;
  margin: 0;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #a5adbd;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #3a3f45;
  font: inherit;
  line-height: 1.5;
}

.tenet-event-variants .tenet-event-form__input::placeholder {
  color: #767c85;
  opacity: 1;
}

.tenet-event-variants .tenet-event-form__input:focus {
  outline: none;
  box-shadow: none;
}

.tenet-event-variants .tenet-event-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 24px 0;
  color: #626873;
  font-size: 14px;
  line-height: 1.6;
}

.tenet-event-variants .tenet-event-form__consent label {
  min-width: 0;
  margin: 0;
  font: inherit;
}

.tenet-event-variants .tenet-event-form__consent a {
  color: #5b7398;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tenet-event-variants .tenet-event-form__button {
  display: inline-block;
  width: 100%;
  min-height: 54px;
  margin: 0;
  padding: 16px 28px;
  border: 0;
  border-radius: 3px;
  background: #de354e;
  box-shadow: none;
  color: #fff;
  font: inherit;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-transform: none;
  cursor: pointer;
  transition: background-color 150ms ease;
}

.tenet-event-variants .tenet-event-form__button:hover {
  background: #c51f38;
}

.tenet-event-variants .tenet-event-form__button:focus-visible,
.tenet-event-variants .tenet-event-form__consent a:focus-visible {
  outline: 2px solid #3a3f45;
  outline-offset: 4px;
}

.tenet-event-variants .tenet-event-form--photo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #f8f9fa;
}

.tenet-event-variants .tenet-event-form--photo .tenet-event-form__body {
  min-width: 0;
  padding: 32px;
}

.tenet-event-variants .tenet-event-form__media {
  position: relative;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.tenet-event-variants .tenet-event-form__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 768px) {
  .tenet-event-variants .tenet-event-form--photo {
    grid-template-columns: minmax(0, 1fr);
  }
  .tenet-event-variants .tenet-event-form--photo .tenet-event-form__body {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .tenet-event-variants .tenet-event-form--photo .tenet-event-form__body {
    padding: 24px 16px;
  }
}

/* Как на сайте: квадрат и галочка на подписи; input доступен с клавиатуры. */
.tenet-event-variants .tenet-event-form__consent {
  position: relative;
  display: block;
}
.tenet-event-variants .tenet-event-form__checkbox {
  display: block;
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  overflow: hidden;
  clip-path: inset(50%);
}
.tenet-event-variants .tenet-event-form__checkbox + label {
  display: block;
  position: relative;
  padding-left: 34px;
  min-height: 22px;
  user-select: none;
  cursor: pointer;
}
.tenet-event-variants .tenet-event-form__checkbox + label::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 0;
  width: 18px;
  height: 18px;
  border: 1px solid #858a93;
  border-radius: 2px;
  background: #fff;
}
.tenet-event-variants .tenet-event-form__checkbox + label::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 4px;
  width: 12px;
  height: 12px;
  background: url('/aa/img/check.svg') center / contain no-repeat;
  opacity: 0;
}
.tenet-event-variants .tenet-event-form__checkbox:checked + label::before {
  background: #de354e;
  border-color: #de354e;
}
.tenet-event-variants .tenet-event-form__checkbox:checked + label::after {
  opacity: 1;
}
.tenet-event-variants
  .tenet-event-form__checkbox:focus-visible
  + label::before {
  outline: 2px solid #3a3f45;
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .tenet-event-variants .tenet-event-form__media {
    aspect-ratio: 4 / 3;
  }

  .tenet-event-variants .tenet-event-form__media img {
    position: static;
    inset: auto;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}
.tenet-news-program-title {
  margin-bottom: 6px;
}

.tenet-event-variants .tenet-event-heading {
  margin-bottom: 24px;
}

.tenet-event-variants .tenet-event-form__error {
  display: none;
  margin: 0 0 16px;
  color: #de354e;
  font-size: 14px;
  text-align: left;
}

.tenet-event-variants .tenet-event-form__button:disabled {
  opacity: 0.65;
  cursor: wait;
}
