@charset "UTF-8";

body {
  background: rgb(243, 243, 243);
}

main.main * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

main.main {
  max-width: none;

}

main.main .wrapper, main.main section {
  width: 100%;
}

.chatapp-btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #fff;
  background-color: #0389cb;
  border-radius: 8px;
  padding: 14px 28px;
  text-decoration: none;
  border: 1.5px solid #0389cb;
  -webkit-transition: background-color 0.25s ease, color 0.25s ease;
  transition: background-color 0.25s ease, color 0.25s ease;
  position: relative;
}

.chatapp-btn:hover {
  background-color: rgb(2.4058252427, 109.8660194175, 162.7941747573);
  border-color: rgb(2.4058252427, 109.8660194175, 162.7941747573);
}

.chatapp-btn.trans {
  background-color: transparent;
  color: #0389cb;
}

.chatapp-btn.trans:hover {
  background-color: rgba(3, 137, 203, 0.07);
}

.chatapp-btn.with-tag::after {
  content: "Бесплатно";
  position: absolute;
  top: -4px;
  right: -28px;
  background-color: rgb(125, 222, 146);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0;
  font-weight: 700;
  line-height: 1;
  padding: 7px 10px;
  border-radius: 50px;
  white-space: nowrap;
  -webkit-transform: rotate(-8deg);
  -ms-transform: rotate(-8deg);
  transform: rotate(-8deg);
}

.ac-hero {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
}

.ac-hero.custom {
  padding: 20px 0;
}

@media (max-width: 768px) {
  .ac-hero {
    padding: 40px 0;
  }
  .ac-hero.custom .ac-hero__title-img{ 
    margin: 0 auto;
    
  }
}

@media (max-width: 480px) {
  .ac-hero {
    padding: 30px 0;
  }
}

.ac-hero .container {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 40px;
}

@media (max-width: 768px) {
  .ac-hero .container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    text-align: center;
    align-items: center;
    gap: 24px;
  }

  .ac-hero__media {
    order: -1;
    max-width: 100%;
    max-height: 220px;
    -ms-flex-item-align: center;
    align-self: center;
  }

  .ac-hero__img {
    max-height: 220px;
    -o-object-fit: contain;
    object-fit: contain;
    margin: 0 auto;
  }

  .ac-hero__content {
    width: 100%;
  }

  .ac-hero__action {
    margin-top: 24px;
  }

  /* Бесплатно-тег не вылезает за экран */
  .chatapp-btn.with-tag::after {
    right: -22px;
    font-size: 12px;
    padding: 5px 8px;
  }
}

.ac-hero__square {
  position: absolute;
  z-index: 0;
  top: 0;
  right: -40px;
  width: 42vw;
  height: 100%;
  max-width: 920px;
  min-width: 280px;
  aspect-ratio: 1/1;
  border-radius: 40px;
  background: -webkit-gradient(linear, left top, left bottom, from(#24B472), to(#0389CB));
  background: linear-gradient(180deg, #24B472 0%, #0389CB 100%);
  opacity: 0.4;
  pointer-events: none;
  overflow: hidden;
}

@media (max-width: 768px) {
  .ac-hero__square {
    width: 55%;
    right: -35%;
    min-width: 0;
    height: 50%;
  }
}

@media (max-width: 480px) {
  .ac-hero__square {
    width: 70%;
    right: -40%;
    border-radius: 28px;
  }
}

.ac-hero__content {
  position: relative;
  z-index: 1;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  max-width: 600px;
}

.ac-hero__content h1 {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 56px;
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: -0.06em;
  color: rgb(19, 19, 19);
}

@media (max-width: 1200px) {
  .ac-hero__content h1 {
    font-size: 44px;
  }
}

@media (max-width: 768px) {
  .ac-hero__content h1 {
    font-size: 34px;
  }
}

@media (max-width: 480px) {
  .ac-hero__content h1 {
    font-size: 28px;
  }
}

.ac-hero__content p {
  margin: 8px 0 0;
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.06em;
  color: rgba(19, 19, 19, 0.7);
}

@media (max-width: 768px) {
  .ac-hero__content p {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .ac-hero__content p {
    font-size: 17px;
  }
}

.ac-hero__action {
  margin-top: 40px;
}

.ac-hero__action .chatapp-btn {
  font-size: 18px;
  padding: 18px 32px;
  max-width: 330px;
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .ac-hero__action {
    width: 100%;
  }

  .ac-hero__action .chatapp-btn {
    width: 100%;
  }
}

.ac-hero__media {
  position: relative;
  z-index: 1;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  max-width: 470px;
  width: 100%;
  line-height: 0;
}

.ac-hero__media.custom {
  max-width: 50%;
}

@media (max-width: 768px) {
  .ac-hero__media {
    max-width: 380px;
    -ms-flex-item-align: center;
    align-self: center;
  }

  .ac-hero__media.custom {
    max-width: 380px;

  }
}

.ac-hero__img {
  display: block;
  width: 100%;
  height: auto;
  -o-object-fit: contain;
  object-fit: contain;
}

.ac-learn {
  padding: 40px 0;
}

.ac-learn__title {
  margin: 0 0 30px;
  font-family: "Inter", sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.08em;
  color: rgb(19, 19, 19);
  text-align: center;
  vertical-align: middle;
}

.ac-learn__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (max-width: 768px) {
  .ac-learn__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .ac-learn__grid {
    grid-template-columns: 1fr;
  }
}

.ac-learn__card {
  background-color: #fff;
  border-radius: 10px;
  padding: 25px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.ac-learn__card p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: rgb(19, 19, 19);
}

.ac-learn__icon {
  display: block;
  width: 64px;
  height: 64px;
  -o-object-fit: contain;
  object-fit: contain;
}

.ac-help {
  padding: 40px 0;
}

.ac-help__title {
  margin: 0 0 30px;
  font-family: "Inter", sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.08em;
  color: rgb(19, 19, 19);
  text-align: center;
  vertical-align: middle;
}

.ac-help__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (max-width: 480px) {
  .ac-help__grid {
    grid-template-columns: 1fr;
  }
}

.ac-help__card {
  background-color: #fff;
  border-radius: 10px;
  padding: 25px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.ac-help__card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: rgb(19, 19, 19);
}

.ac-help__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: rgba(19, 19, 19, 0.7);
}

.ac-course {
  padding: 40px 0;
}

.ac-course__layout {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 10px;
}

@media (max-width: 768px) {
  .ac-course__layout {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

.ac-course__list {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-width: 0;
  background-color: #fff;
  border-radius: 10px;
  padding: 25px 30px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .ac-course__list {
    padding: 20px;
  }
}

.ac-course__list-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.ac-course__list-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgb(19, 19, 19);
}

.ac-course__list-head span {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  font-size: 14px;
  color: rgba(19, 19, 19, 0.7);
}

.ac-course__lessons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 20px;
}

.ac-course__lesson {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  cursor: pointer;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

.ac-course__lesson:hover {
  opacity: 0.75;
}

.ac-course__lesson-num {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(19, 19, 19, 0.06);
  color: rgba(19, 19, 19, 0.35);
  font-size: 14px;
  font-weight: 700;
}

.ac-course__lesson.watched .ac-course__lesson-num {
  background-color: rgb(125, 222, 146);
  color: #fff;
}

.ac-course__lesson.active .ac-course__lesson-num {
  background-color: #0389cb;
  color: #fff;
}

.ac-course__lesson-title {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgb(19, 19, 19);
}

.ac-course__lesson.active .ac-course__lesson-title {
  font-weight: 700;
}

.ac-course__lesson-time {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  font-size: 14px;
  color: rgba(19, 19, 19, 0.35);
}

.ac-course__info {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 100%;
  max-width: 327px;
  background-color: #fff;
  border-radius: 10px;
  padding: 25px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 768px) {
  .ac-course__info {
    max-width: 100%;
  }
}

.ac-course__perks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 14px;
}

.ac-course__perks li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgb(19, 19, 19);
}

.ac-course__perks img {
  display: block;
  width: 20px;
  height: 20px;
  -o-object-fit: contain;
  object-fit: contain;
}

.ac-course__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 12px;
}

.academy-access-btn {
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.ac-course__start {
  width: 100%;
}

.ac-course__start.is-locked {
  background-color: rgba(19, 19, 19, 0.08) !important;
  border-color: transparent;
  color: rgba(19, 19, 19, 0.4) !important;
}

.ac-course__lesson.locked {
  cursor: pointer;
}

/* -------------------------------------------------------------------- */
/* Модалка "Получите доступ к обучению"                                 */
/* -------------------------------------------------------------------- */

.academy-access-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.academy-access-modal.active {
  display: flex;
  opacity: 1;
}

.academy-access-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(19, 19, 19, 0.6);
  z-index: 1;
}

.academy-access-modal__container {
  position: relative;
  background: #fff;
  border-radius: 16px;
  width: 90%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  z-index: 2;
  padding: 32px;
  box-sizing: border-box;
}

.academy-access-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: rgba(19, 19, 19, 0.5);
  cursor: pointer;
}

.academy-access-modal__content h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: rgb(19, 19, 19);
}

.academy-access-modal__content > p {
  margin: 0 0 20px;
  font-size: 14px;
  color: rgba(19, 19, 19, 0.6);
}

.academy-access-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.academy-access-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(19, 19, 19, 0.7);
}

.academy-access-form__field input,
.academy-access-form__field select {
  height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(19, 19, 19, 0.12);
  background-color: rgba(19, 19, 19, 0.03);
  font-size: 14px;
  font-family: inherit;
  color: rgb(19, 19, 19);
  box-sizing: border-box;
}

.academy-access-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: rgba(19, 19, 19, 0.6);
  cursor: pointer;
}

.academy-access-form__checkbox input {
  margin-top: 2px;
  flex-shrink: 0;
}

.academy-access-form__message {
  margin: 0;
  font-size: 13px;
  color: #2fa84f;
  min-height: 16px;
}

.academy-access-form__message.is-error {
  color: #e6392f;
}

.academy-access-form__submit {
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.academy-access-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

body.academy-modal-open {
  overflow: hidden;
}

.ac-flow {
  padding: 40px 0;
  background-color: #fff;
}

.ac-flow__title {
  margin: 0 0 30px;
  font-family: "Inter", sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 48px;
  letter-spacing: -2.88px;
  color: rgb(19, 19, 19);
  text-align: center;
  vertical-align: middle;
}

.ac-flow__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

@media (max-width: 768px) {
  .ac-flow__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .ac-flow__grid {
    grid-template-columns: 1fr;
  }
}

.ac-flow__card {
  background-color: rgb(243, 243, 243);
  border-radius: 10px;
  padding: 25px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
}

.ac-flow__card:hover {
  background-color: rgb(235, 246, 251);
}

.ac-flow__card p {
  margin: 30px 0 0;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: rgba(19, 19, 19, 0.7);
}

.ac-flow__num {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.08em;
  color: rgb(19, 19, 19);
}



.ac-catalog {
  padding: 60px 0;
}

.ac-catalog__title {
  margin: 0 0 10px;
  font-family: "Inter", sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.08em;
  color: rgb(19, 19, 19);
  text-align: center;
}

.ac-catalog__subtitle {
  margin: 0 0 30px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(19, 19, 19, 0.7);
  text-align: center;
}

.ac-catalog__filters {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .ac-catalog__filters {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .ac-catalog__filters .ac-catalog__search {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 100%;
    flex: 1 1 100%;
  }
}

/* Служебные элементы панели фильтров — на десктопе скрыты */
.ac-filters__head,
.ac-filters__apply {
  display: none;
}

/* Мобильная строка: поиск + кнопка фильтров */
.ac-catalog__mobile-bar {
  display: none;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.ac-filters-toggle {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  outline: none;
  -webkit-transition: background-color 0.15s ease;
  transition: background-color 0.15s ease;
}

.ac-filters-toggle:hover {
  background-color: rgb(243, 243, 243);
}

@media (max-width: 480px) {
  .ac-catalog__mobile-bar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  /* Панель скрыта, пока не открыта */
  .ac-catalog__filters {
    display: none;
  }

  .ac-catalog__filters.is-open {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
    margin: 0;
    padding: 16px 16px 20px;
    background-color: #fff;
    overflow-y: auto;
    gap: 12px;
  }

  .ac-catalog__filters.is-open .ac-filters__head {
    display: block;
    margin-bottom: 8px;
  }

  .ac-filters__back {
    display: inline-block;
    background: none;
    border: none;
    padding: 0;
    margin-bottom: 18px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    color: #0389cb;
    cursor: pointer;
    outline: none;
  }

  .ac-filters__head-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  .ac-filters__title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: rgb(19, 19, 19);
  }

  .ac-filters__reset {
    background: none;
    border: none;
    padding: 0;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    color: #0389cb;
    cursor: pointer;
    outline: none;
  }

  /* Поля внутри панели — с рамкой, т.к. фон белый */
  .ac-catalog__filters.is-open .ac-catalog__search,
  .ac-catalog__filters.is-open .ac-dropdown__btn {
    border: 1px solid rgba(19, 19, 19, 0.15);
    border-radius: 8px;
    padding: 12px;
  }

  .ac-catalog__filters.is-open .ac-dropdown {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: 100%;
  }

  /* Кнопка «Показать (N)» прижата к низу панели */
  .ac-catalog__filters.is-open .ac-filters__apply {
    display: block;
    margin-top: auto;
    padding-top: 16px;
  }

  .ac-filters__apply-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
  }
}

.ac-catalog__search {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  background-color: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0px;
  flex: 1 1 0;
  min-width: 0;
}

.ac-catalog__search svg {
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.ac-catalog__search-input {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: rgb(19, 19, 19);
}

.ac-catalog__search-input::-webkit-input-placeholder {
  color: rgba(19, 19, 19, 0.4);
}

.ac-catalog__search-input::-moz-placeholder {
  color: rgba(19, 19, 19, 0.4);
}

.ac-catalog__search-input:-ms-input-placeholder {
  color: rgba(19, 19, 19, 0.4);
}

.ac-catalog__search-input::-ms-input-placeholder {
  color: rgba(19, 19, 19, 0.4);
}

.ac-catalog__search-input::placeholder {
  color: rgba(19, 19, 19, 0.4);
}

.ac-catalog__select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 32px 10px 12px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: rgb(19, 19, 19);
  cursor: pointer;
  outline: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23131313' stroke-opacity='.5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.ac-catalog__select:hover {
  background-color: rgb(243, 243, 243);
}

@media (max-width: 768px) {
  .ac-catalog__select {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }
}

.ac-catalog__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.ac-catalog__card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  padding: 25px;
  gap: 20px;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  -webkit-box-shadow: 0 1px 4px rgba(19, 19, 19, 0.08);
  box-shadow: 0 1px 4px rgba(19, 19, 19, 0.08);
  -webkit-transition: -webkit-box-shadow 0.2s ease;
  transition: -webkit-box-shadow 0.2s ease;
  transition: box-shadow 0.2s ease;
  transition: box-shadow 0.2s ease, -webkit-box-shadow 0.2s ease;
}

.ac-catalog__card:hover {
  -webkit-box-shadow: 0 4px 16px rgba(19, 19, 19, 0.12);
  box-shadow: 0 4px 16px rgba(19, 19, 19, 0.12);
}

@media (max-width: 480px) {
  .ac-catalog__card {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

.ac-catalog__card-img {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

.ac-catalog__card-img::before {
  content: "";
  opacity: 0.4;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  background: -webkit-gradient(linear, left top, left bottom, from(#24B472), to(#0389CB));
  background: linear-gradient(180deg, #24B472 0%, #0389CB 100%);
}

.ac-catalog__card-img {
  max-width: 320px;
  width: 100%;
}

.ac-catalog__card-img img {
  display: block;
  width: 100%;
  max-width: 180px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  z-index: 2;
  height: auto;
  -o-object-fit: contain;
  object-fit: contain;
}

@media (max-width: 768px) {
  .ac-catalog__card-img {
    width: 180px;
  }
}

@media (max-width: 480px) {
  .ac-catalog__card-img {
    width: 100%;
    height: 200px;
  }
}

.ac-catalog__card-body {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

@media (max-width: 480px) {
  .ac-catalog__card-body {
    padding: 0 20px 20px;
  }
}

.ac-catalog__badges {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.ac-catalog__badge {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 6px;
  background-color: rgb(243, 243, 243);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 16px;
  font-weight: 500;
  color: rgb(19, 19, 19);
}

.ac-catalog__badge:first-child {
  background-color: rgb(235, 246, 251);
  color: #0389CB;
}

.ac-catalog__badge svg {
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.ac-catalog__card-title {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: rgb(19, 19, 19);
  color: rgb(37, 43, 54);
  margin-bottom: 16px;
}

.ac-catalog__card-desc {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.03em;
  line-height: 1.4;
  color: rgba(19, 19, 19, 0.7);
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  margin-bottom: 32px;
}

.ac-catalog__card-btn {
  margin-top: 4px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  padding: 12px 20px;
  letter-spacing: -0.03em;
}

.ac-dropdown {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0%;
  flex: 1 1 0%;
  min-width: 0;
  position: relative;
}

.ac-dropdown__btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  background-color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 12px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgb(19, 19, 19);
  cursor: pointer;
  outline: none;
  -webkit-transition: background-color 0.15s ease;
  transition: background-color 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
}

.ac-dropdown__btn:hover {
  background-color: rgb(243, 243, 243);
}

.ac-dropdown__label {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ac-dropdown__arrow {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  color: rgba(19, 19, 19, 0.4);
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
}

.ac-dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 100%;
  background-color: #fff;
  border-radius: 10px;
  -webkit-box-shadow: 0 8px 24px rgba(19, 19, 19, 0.12);
  box-shadow: 0 8px 24px rgba(19, 19, 19, 0.12);
  padding: 6px;
  z-index: 100;
  opacity: 0;
  -webkit-transform: translateY(-6px);
  -ms-transform: translateY(-6px);
  transform: translateY(-6px);
  -webkit-transition: opacity 0.15s ease, -webkit-transform 0.15s ease;
  transition: opacity 0.15s ease, -webkit-transform 0.15s ease;
  transition: opacity 0.15s ease, transform 0.15s ease;
  transition: opacity 0.15s ease, transform 0.15s ease, -webkit-transform 0.15s ease;
}

.ac-dropdown__item {
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 400;
  color: rgb(19, 19, 19);
  border-radius: 6px;
  cursor: pointer;
  -webkit-transition: background-color 0.12s ease;
  transition: background-color 0.12s ease;
  white-space: nowrap;
}

.ac-dropdown__item:hover {
  background-color: rgb(243, 243, 243);
}

.ac-dropdown__item--active {
  font-weight: 600;
  color: #0389cb;
  background-color: rgba(3, 137, 203, 0.07);
}

.ac-dropdown.is-open .ac-dropdown__btn {
  background-color: rgb(243, 243, 243);
}

.ac-dropdown.is-open .ac-dropdown__arrow {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
  color: rgb(19, 19, 19);
}

.ac-dropdown.is-open .ac-dropdown__menu {
  display: block;
  opacity: 1;
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
}

.ac-flow {
  padding: 40px 0;
  background-color: #fff;
}

.ac-flow__title {
  margin: 0 0 30px;
  font-family: "Inter", sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 48px;
  letter-spacing: -2.88px;
  color: rgb(19, 19, 19);
  text-align: center;
  vertical-align: middle;
}

.ac-flow__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

@media (max-width: 768px) {
  .ac-flow__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .ac-flow__grid {
    grid-template-columns: 1fr;
  }
}

.ac-flow__card {
  background-color: rgb(243, 243, 243);
  border-radius: 10px;
  padding: 25px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
}

.ac-flow__card:hover {
  background-color: rgb(235, 246, 251);
}

.ac-flow__card p {
  margin: 30px 0 0;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: rgba(19, 19, 19, 0.7);
}

.ac-flow__num {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.08em;
  color: rgb(19, 19, 19);
}

/* Архив: чуть большее изображение в hero */
.post-type-archive-academy .ac-hero__media {
  max-width: 620px;
}
/* Заголовок архива как изображение */
.ac-hero__title-img {
  display: block;
  max-width: 640px;
  width: 100%;
  height: auto;
  margin-left: -5%;
}
@media (max-width: 768px) {
  .ac-hero__title-img {
    max-width: 380px;
  }
}
