
/* Добавлено мной */
.nav-dropdown {
  top: calc(100% + 1px);
}
.sidebar .nav, .sidebar_study .nav { display: block; }
footer {
  border-top: 1px solid var(--line);
  padding-top: 60px;
  background: unset;
  box-shadow: unset;
  color: unset;
  min-height: unset;
  position: inherit;
  margin: 0 !important;
  line-height: 1.45;
}
footer .container::before, footer .container::after,
header .container::before, header .container::after {
  content: unset;
}
body.index1 .container, div.body.study .container {
	padding: 0;
}

div.body.study .catalog-heading {
  padding: 46px 0 34px;
}
.footer__grid p {
  font-size: 12px;
  color: var(--sub);
  margin: revert-layer;
}
header .btn  {
  margin: 0;
  padding: 0 17px !important;
  line-height: 1.45;
  text-transform: unset;
}
.start .btn {
	padding: 0 22px;
	text-transform: unset;
}
.body.index main { padding-bottom: 285px !important; }
.body.study main { padding-bottom: 340px !important; }
.body.index .about-section {
  padding: 30px 0 70px;
}
#slabo {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9999;
    /* Пропорции 2 к 1: ширина в два раза больше высоты */
    width: 120px;  
    height: 60px; 
    cursor: pointer;
}

#slabo .bvi-open {
    display: flex;
    /* Выравниваем текст к нижнему левому углу экрана */
    align-items: flex-end;
    justify-content: flex-start;
    text-align: left;
    
    background: var(--accent); 
    color: #232323;
    
    font-size: 10px;
    line-height: 1.1;
    font-family: inherit;
    font-weight: bold;
    text-decoration: none;
    
    width: 100%;
    height: 100%;
    
    /* Магия эллипса: верхний правый угол скругляем по X на 100%, а по Y на 100% */
    /* Это создаст идеальную приплюснутую дугу строго от угла экрана */
    border-radius: 0 100% 0 0 / 0 100% 0 0; 
    
    /* Небольшие отступы, чтобы текст не прилипал к краям экрана */
    padding-bottom: 8px;
    padding-left: 10px;
    box-sizing: border-box;
    
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

/* Эффект при наведении */
#slabo .bvi-open:hover {
    background-color: #232323;
    color: #ffffff;
}
.hero-chip:hover, .nav-item.active a {
  background: var(--accent);
}
.news-card h3 a {
  font-size: 20px;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0 0 9px;
  color: var(--accent);
}
/* Ограничение для описания (3 строки) */
.news-card__text {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Максимум 3 строки, поставь 2, если нужно строже */
    -webkit-box-orient: vertical;  
    overflow: hidden;
    text-overflow: ellipsis;
}

/* На всякий случай ограничение для заголовка (тоже 3 строки, чтобы не уезжал вниз) */
.news-card__body h3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    text-overflow: ellipsis;
}

.catalog-courses .catalog-course-exact {
  clip-path: border-box;
}
