.elementor-9010 .elementor-element.elementor-element-81a2113{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:30px 0px;--row-gap:30px;--column-gap:0px;--flex-wrap:wrap;}@media(min-width:768px){.elementor-9010 .elementor-element.elementor-element-81a2113{--content-width:1240px;}}@media(max-width:1024px){.elementor-9010 .elementor-element.elementor-element-81a2113{--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:20px 20px;--row-gap:20px;--column-gap:20px;}}@media(max-width:767px){.elementor-9010 .elementor-element.elementor-element-81a2113{--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}}/* Start custom CSS for html, class: .elementor-element-113da78 */.courses-carousel {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.courses-carousel::-webkit-scrollbar {
  display: none;
}

.course-card {
  flex: 0 0 calc((100% - 40px) / 3);
  max-width: calc((100% - 40px) / 3);
  scroll-snap-align: start;
  background: #fff;
  border-radius: 5px;
  text-decoration: none;
  color: #111;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
}

.course-cover {
  width: 100%;
  height: 240px;
  aspect-ratio: 16/9;
  border-radius: 5px;
  overflow: hidden;
  background: #f2f3f5;
}
.course-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 5px;
}

.course-body {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0 16px 0;
  flex: 1;
}

.course-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-title {
  margin: 0 0 6px 0;
  font-weight: 700;
  font-size: 18px !important;
  line-height: 1.2;
  color: #1f2937;
}

.course-meta {
  margin: 0;
  font-size: 15px !important;
  font-weight: 500;
  line-height: 1.45;
  color: #111;
}
.course-meta b {
  font-weight: 700;
}

.course-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background: #0072BB;
  color: #fff;
  border-radius: 999px;
  font-weight: 600 !important;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  align-self: flex-end;
  margin-top: auto;
}
.course-more-btn img {
  margin-left: 6px;
}

/* ===========================
   АДАПТИВНОСТЬ
   =========================== */

/* планшеты  → 2 карточки */
@media (max-width: 1023px) {
  .course-card {
    flex: 0 0 calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
  }

  .course-cover {
    height: 180px;
  }
}

/* мобильные  → 1 карточка */
@media (max-width: 767px) {
  .courses-carousel {
    flex-wrap: wrap;
  }

  .course-card {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .course-cover {
    height: 160px;
  }

  .course-meta {
    font-size: 13px !important;
  }
}
.difficulty-stars {
    color: #0072BB !important;
    font-size: 1.1em;
    letter-spacing: 2px;
}


/* ===========================
   HORIZONTAL SCROLL (tablet + mobile)
   =========================== */

/* Общие настройки скролла */
@media (max-width: 1023px) {
  .courses-carousel {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
  }

  .course-card {
    scroll-snap-align: start;
  }
}

/* Планшеты → 2 карточки + скролл */
@media (max-width: 1023px) and (min-width: 768px) {
  .course-card {
    flex: 0 0 calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
  }
}

/* Мобилки → 1 карточка + скролл */
@media (max-width: 767px) {
  .course-card {
    flex: 0 0 85%;
    max-width: 85%;
  }
}

.news-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 16px;
}
.news-carousel::-webkit-scrollbar {
  display: none;
}

.news-card {
  flex: 0 0 calc((100% - 40px) / 3);
  max-width: calc((100% - 40px) / 3);
  scroll-snap-align: start;
  background: #fff;
  border-radius: 5px;
  text-decoration: none;
  color: #111;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
}

.news-cover {
  width: 100%;
  height: 240px;
  aspect-ratio: 16/9;
  border-radius: 5px;
  overflow: hidden;
  background: #f2f3f5;
  margin-bottom: 12px;
}
.news-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-title {
  font-size: 16px;
  line-height: 1.2;
  margin: 4px 0 10px;
  font-weight: 800;
  color: #1f2937;
}

.news-excerpt {
  display: none;
}
.news-date {
    display: none;
}
/* телефоны — 1 карточка */
@media (max-width: 479px) {
  .news-card {
    flex: 0 0 58vw;
    max-width: 58vw;
  }
  .news-cover {
    height: 150px !important;
    border-radius:3px;
  }
  .news-carousel { 
      gap: 10px !important;
  }
  .news-title {
  font-size: 16px;
  line-height: 17px;
  margin-top: -5px;
  font-weight: 700;
  color: #1f2937;
}
}
@media (max-width: 1024px) {
    .news-cover {
  width: 100%;
  height: 140px;
  aspect-ratio: 16/9;
  border-radius: 2px;
  overflow: hidden;
  background: #f2f3f5;
  margin-bottom: 12px;
}
    .news-carousel {
  display: flex;
  gap: 15px;
}
.news-title {
  font-size: 16px !important;
  line-height: 17px;
  margin-top: -5px;
  font-weight: 700;
  color: #1f2937;
}
}

.sbi_images {
    border-radius: 5px !important;
}/* End custom CSS */