/**
 * Главная: «Обучение и сертификация персонала» — Figma 6_index_375
 * 10009:6958/#0073ad + 10009:6959 photo, 10009:6966 title, 10009:6979 pills
 * Секция ~584px: заголовок и кнопки поверх фото, не отдельная синяя полоса
 */

@media (max-width: 600px) {
  body.page-home .section--edu-training {
    padding: 0;
  }

  body.page-home .edu-training {
    display: block;
    position: relative;
    isolation: isolate;
    min-height: 584px;
    overflow: hidden;
  }

  body.page-home .edu-training__visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    order: unset;
    min-height: 0;
    background: #0073ad;
    pointer-events: none;
  }

  body.page-home .edu-training__photo {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 50% 31%;
    opacity: 0.4;
    mix-blend-mode: soft-light;
  }

  body.page-home .edu-training__panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 584px;
    padding: 30px 15px 32px;
    background: transparent;
    box-sizing: border-box;
  }

  body.page-home .edu-training__title {
    margin: 0 0 40px;
    max-width: 344px;
    width: 100%;
    margin-inline: auto;
    font-family: var(--font-ui);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
    text-align: center;
    color: #fff;
  }

  body.page-home .edu-training__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 345px;
    width: 100%;
    margin-inline: auto;
  }

  body.page-home .edu-training__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 60px;
    padding: 20px 25px;
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    text-align: center;
    color: #020203;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 0 12.5px rgba(19, 33, 74, 0.2);
  }

  body.page-home .edu-training__link:hover {
    transform: none;
    box-shadow: 0 4px 18px rgba(19, 33, 74, 0.24);
  }
}
