/* =========================================
   БАЗОВЫЕ СТИЛИ (Mobile First ~360px)
   ========================================= */
:root {
  --bg-color: #19181c;
  --card-bg: linear-gradient(
    90.49deg,
    rgba(116, 116, 116, 0.04) 0.12%,
    rgba(210, 210, 210, 0.04) 54.76%
  );
  --text-main: #ededed;
  --text-muted: rgba(237, 237, 237, 0.6);
  --red: #c42237;
  --green: #20a174;
  --green-bg: rgba(32, 161, 116, 0.16);
  --font-main: "Blender Pro", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

/* Заголовок */
.path-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.path-header__accent {
  width: 4px;
  height: 50px;
  background: var(--red);
  flex-shrink: 0;
}

.path-header__titles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  font-size: 36px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.1;
}

.path-arrow {
  width: 32px;
  height: 2px;
  background: var(--text-main);
  position: relative;
  opacity: 0.5;
}
.path-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--text-main);
  border-right: 2px solid var(--text-main);
  transform: rotate(45deg);
}

.path-desc {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 30px;
  text-align: center;
}

/* Сетка карточек */
.path-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Карточка */
.path-card {
  background: var(--card-bg);
  border-radius: 4px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.path-card__title-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.path-card__title {
  font-size: 40px;
  font-weight: 250;
  margin: 0;
  text-transform: uppercase;
}

.path-card__date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 700;
}

.icon-cal {
  width: 24px;
  height: 24px;
  opacity: 0.3;
}

.path-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 160px;
  padding: 12px 24px 12px 12px;
  font-size: 18px;
  font-weight: 500;
  width: fit-content;
  max-width: 100%;
  position: relative;
  margin-bottom: 20px;
}

.path-card__badge::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 160px; /* ← как у pill, иначе углы будут квадратными */

  background: linear-gradient(90.49deg, #747474 0.12%, #d2d2d2 54.76%);

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}

/* Кнопка аккордеона */
.path-card__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: 1px solid var(--red);
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: 0.2s;
}

.path-card__toggle .icon-chevron {
  transition: transform 0.3s ease;
}

.path-card__toggle[aria-expanded="true"] .icon-chevron {
  transform: rotate(180deg);
}

/* Контент */
.path-card__content {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.path-card__content.is-active {
  display: flex;
}

.card-text {
  font-size: 18px;
  line-height: 1.4;
  margin: 0;
}
.card-text strong {
  font-weight: 700;
}

/* Зеленые блоки */
.card-green-box {
  background: var(--green-bg);
  border: 1px solid var(--green);
  border-radius: 4px;
  padding: 12px;
}

.card-green-box__label {
  font-size: 18px;
  margin-bottom: 4px;
}

.card-green-box__tags {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-list li {
  font-size: 18px;
  font-weight: 500;
  position: relative;
  padding-left: 16px;
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--text-main);
  opacity: 0.32;
  border-radius: 50%;
}

/* Блок специалиста */
.card-specialist {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 500;
  margin-top: 20px;
  margin-bottom: 20px;
}

.spec-img {
  width: 105px;
  height: 82px;
  border-radius: 8px;
  flex-shrink: 0;
}

.card_specialist_text {
  font-style: normal;
  font-weight: 700;
  font-size: 22px;
  line-height: 130%;
  color: #ededed;

  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.32);
}

/* Футер карточки */
.card-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.card-result {
  background: var(--green-bg);
  border: 1px solid var(--green);
  border-radius: 4px;
  padding: 16px;
}

.card-result__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-result p {
  margin: 0;
  font-size: 18px;
}

.card-outro {
  font-size: 22px;
  line-height: 1.3;
  margin: 0;
  font-style: normal;
  font-weight: 700;
  font-size: 22px;
  line-height: 130%;
  color: #ededed;

  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.32);
}

.card-green-box__title {
  font-style: normal;
  font-weight: 700;
  font-size: 22px;
  line-height: 130%;
  color: #ededed;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.32);
  flex: none;
  order: 0;
  flex-grow: 0;
  margin-bottom: 4px;
}

.card-green-box p {
  font-style: normal;
  font-weight: 400;
  font-size: 22px;
  line-height: 130%;

  color: #ededed;

  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.32);
}

.card-watermark {
  font-size: 24px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  text-transform: uppercase;
  text-align: center;
  margin: 20px 0;
  user-select: none;
}

/* Цвета заголовков */

.path-card:nth-child(2) .path-card__title {
  color: #fff;
}
.path-card:nth-child(3) .path-card__title {
  color: #fff;
}

/* =========================================
   ПЛАНШЕТЫ И ДЕСКТОП (от 768px)
   ========================================= */
@media (min-width: 768px) {
  .path-header__titles {
    font-size: 42px;
  }

  .path-desc {
    font-size: 22px;
    text-align: left;
  }

  /* Сетка карточек */
  .path-cards {
    flex-direction: row;
    align-items: stretch;
    gap: 20px;
  }

  .path-card {
    flex: 1;
    width: 33.333%;
  }

  /* Прячем кнопку аккордеона */
  .path-card__toggle {
    display: none;
  }

  /* Показываем контент принудительно */
  .path-card__content {
    display: flex !important;
  }

  /* Чуть уменьшаем шрифты внутри карточек на планшетах */
  .card-text,
  .card-list li,
  .card-green-box__label,
  .card-green-box__tags {
    font-size: 16px;
  }
  .path-card__badge {
    font-size: 14px;
  }
  .path-card__title {
    font-size: 32px;
  }
  .path-card__date {
    font-size: 18px;
  }
}

/* =========================================
   ДЕСКТОП (от 1200px)
   ========================================= */
@media (min-width: 1200px) {
  .path-header__titles {
    font-size: 60px;
  }

  .path-arrow {
    width: 48px;
  }

  .path-card {
    padding: 20px;
  }

  .path-card__title {
    font-size: 40px;
  }

  .path-card__date {
    font-size: 22px;
  }

  .path-card__badge {
    font-size: 18px;
  }

  .card-text,
  .card-list li {
    font-size: 22px;
  }

  .card-green-box__label,
  .card-green-box__tags {
    font-size: 22px;
  }

  .card-result__head {
    font-size: 22px;
  }

  .card-result p {
    font-size: 22px;
  }
}

.header_arrow_inner {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  align-content: stretch;
}

.header_arrow {
  background-image: url("/wp-content/themes/team/assets/images/ozon/header_arrow.svg");
  background-repeat: no-repeat;
  width: 48px;
  height: 10px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  align-content: stretch;
  margin-left: 20px;
  margin-right: 20px;
}

.heading-line {
    width: 5px;
    height: 72px;
    flex-shrink: 0;
    background-image: url("/wp-content/themes/team/assets/images/ozon/header_left.svg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
} 
.header_center {
  justify-content: center;
}

.header_center .header-text {
  width: auto;
  flex: 0 1 auto;
  text-align: center; /* если текст переносится на 2 строки */
}

.path-desc {
  font-style: normal;
  font-weight: 500;
  font-size: 28px;
  line-height: 100%;
  text-align: center;
  color: #ededed;
}

.path-card {
  box-sizing: border-box;
  position: relative;

  background: linear-gradient(
    90.49deg,
    rgba(116, 116, 116, 0.04) 0.12%,
    rgba(210, 210, 210, 0.04) 54.76%
  );
  backdrop-filter: blur(5.5px);
  -webkit-backdrop-filter: blur(5.5px);
  border-radius: 4px;

  flex: none;
  order: 0;
  flex-grow: 0;
}

/* Градиентная рамка 1px */
.path-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 4px;

  /* Тот же угол, что у фона — 90.49deg.
     Цвета — насыщенные версии rgba(116,116,116) и rgba(210,210,210) */
  background: linear-gradient(90.49deg, #747474 0.12%, #d2d2d2 54.76%);

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}

.path-section {
  margin-top: 160px;
  margin-bottom: 160px;
}

@media (max-width: 992px) {
  /* Базовое: flex, перенос разрешён */
  .header_arrow_inner {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap; /* ← разрешаем перенос */
    justify-content: center;
    align-items: center;
    gap: 8px 0; /* вертикальный отступ между строками */
    white-space: normal; /* текст может переноситься */
  }

  /* Текстовые узлы не рвём внутри слова */
  .header_arrow_inner {
    word-break: keep-all; /* не рвать слова */
    overflow-wrap: normal;
  }

  /* Стрелка: не сжимается, не переносится сама по себе */
  .header_arrow {
    flex-shrink: 0;
    width: 48px;
    height: 10px;
    background: url(/assets/header_arrow.svg) no-repeat center / contain;
    margin-left: 20px;
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .header_center .header-text {
    width: auto;
    flex: 0 1 auto;
    text-align: left;
  }
  .header_arrow_inner {
    word-break: unset;
    overflow-wrap: normal;
  }
  p.path-desc {
    font-style: normal;
    font-weight: 400;
    font-size: 22px;
    line-height: 130%;
    color: #ededed;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
  }
}

/* ===== Десктоп: одна строка, блок по центру ===== */
.header_center h1.heading-text.heading-xl.hero-title {
display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: stretch;
}

@media (max-width: 992px) {
.application__form {
display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    /* gap: 24px; */
    /* position: absolute; */
    width: 100%;
    height: 100%;
    /* left: 958px; */
    top: 192px;
    background: transparent;
    box-shadow: none;
    border-radius: 4px;
    
    }
    }
    
    .kt-form__input-wrapper {
    position: relative;
    width: 100%;
}
.kt-form__input {
    width: 100%;
    height: 50px;
    background: #ffffff;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 8px -4px rgba(0, 0, 0, 0.04);
    border-radius: 4px;
    padding: 0 16px;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    line-height: 16px;
    color: #2b2b2b;
    outline: none;
    transition: border-color 0.2s ease;
}
.kt-form__placeholder {
    position: absolute;
    top: -7px;
    left: 12px;
    padding: 0 2px;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #2b2b2b;
    pointer-events: none;
}

@media (max-width: 992px) {
.application h2 {
    font-style: normal;
    font-weight: 250;
    font-size: 40px;
    line-height: 48px;
    text-transform: uppercase;
    color: #171717;
    text-align: left;
    }
    }