

/* Start:/local/templates/stars/components/bitrix/news.list/cases/style.css?17731332463533*/
/* Основной стиль секции */
.projects-section {
  padding: 40px 0 80px;
  color: #fff;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 60px;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  text-align: left;
  margin-bottom: 40px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.projects-section .section-title {text-align: center;}

/* Фильтры */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: start;
  margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 50px;
    border: 1px solid #cae400;
    background: transparent;
    color: #ffffff;
    font-family: 'Unbounded', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: normal;
    border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  white-space: nowrap;
  /* Добавляем для фиксации ширины */
  min-width: 120px;
  text-align: center;
  box-sizing: border-box;
}

.filter-btn:not(.active):hover {
  background: #cae400;
  color: #000;
  font-weight: 500;
}

.filter-btn.active {
  background: #cae400;
  color: #000;
  font-weight: 500;
}
.year-filters {
        margin-top: 20px;

  display: flex;
  gap: 20px;
}

/* Сетка проектов */
#ajax-content-container{min-height: 400px;}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.project-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  height: 400px;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  padding: 16px;
  text-align: center;
  border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.project-overlay span {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}

/* Адаптивность */
@media (max-width: 1200px) {
  .container {
    padding: 0 40px;
  }
  .project-card {
    height: 300px;
  }
  .section-title {
    font-size: 36px;
  }
  
  .filters {
    gap: 12px;
  }
  
  .filter-btn {
    padding: 10px 16px;
    font-size: 14px;
  }
}

@media (max-width: 991px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .project-card {
    height: 250px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }
  
  .section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  
  .filters {
    flex-direction: column;
    align-items: center;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-card, .project-card img {
    height: 250px;overflow: auto;
  }
.filter-btn {
    padding: 10px 16px;
    font-size: 14px;
    white-space: unset;
    width: 100%;
}
.project-overlay{width: 100%;
    display: block;left:0;right: 0;}
.project-overlay span {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
width: 100%;
    position: relative;
    display: block;
}
	.project-card-link{display: block;}

#ajax-content-container{min-height: 250px;}
}

/* Лоадер */
.loader {
  padding: 20px;
  text-align: center;
  font-size: 16px;
  color: #666;
}

/* Alert */
.alert {
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
  text-align: center;
}

.alert-info {
  background: #f8f9fa;
  color: #6c757d;
  border: 1px solid #dee2e6;
}
/* End */


/* Start:/local/templates/stars/components/bitrix/news.list/clients_slider/style.css?17638124111133*/
/* Основные стили для непрерывного скролла */
.clients-slider {
    overflow: hidden;
    width: 100%;
}

#clients .swiper-wrapper {
    transition-timing-function: linear !important; /* Ключевое изменение */
    display: flex;
    align-items: center;
}

.client-logo {
    max-height: 120px;
    object-fit: contain;
    padding: 10px;
    width: auto;
    transition: transform 0.3s ease;
  height: auto;
  transition: all 0.3s ease;
  filter: grayscale(100%);
}

.client-logo:hover {
  filter: grayscale(0);
  transform: scale(1.05);
}
/* Улучшение взаимодействия */
#clients .swiper-slide {
    user-select: none;
}

#clients .swiper-button-next, 
#clients .swiper-button-prev {
    margin-top: 0;
    background: rgba(0,0,0,0.3);
    padding: 15px;
    border-radius: 50%;
    color: white;
}

#clients .swiper-button-next:hover, 
#clients .swiper-button-prev:hover {
    background: rgba(0,0,0,0.6);
}    
#clients .swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
    left: 0;
    transform: translateX(0);
}
/* End */
/* /local/templates/stars/components/bitrix/news.list/cases/style.css?17731332463533 */
/* /local/templates/stars/components/bitrix/news.list/clients_slider/style.css?17638124111133 */
