

/* Start:/bitrix/templates/aspro-allcorp/components/bitrix/news/catalog/style.css?17485754803526*/
/* Стилизация сортировки */
.select-outer {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
}

.select-outer select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  background: #fff;
  font-size: 0.9rem;
  cursor: pointer;
}

/* Стили переключателей вида */
.display-type {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.display-type .label_show {
  font-size: 0.85rem;
  color: #6c757d;
  margin-right: 10px;
}

.view-button {
  display: inline-block;
  width: 32px;
  height: 32px;
  text-align: center;
  line-height: 32px;
  border-radius: 6px;
  border: 1px solid #c0ccd3;
  background: #f8f9fa;
  color: #495057;
  margin-left: 5px;
  transition: background-color 0.3s ease;
}

.view-button i {
  font-size: 1.1rem;
}

.view-button:hover,
.view-button.cur {
  background: #79c4ef;
  color: #fff;
}

/* Анимация */
.btn i {
  transition: transform 0.2s ease-in-out;
}

.btn:hover i {
  transform: translateX(4px);
}

/* Контейнер с иконкой */
.position-relative {
  position: relative;
}

/* Иконка раскрытия (стрелочка вниз) */
.select-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 1.2rem;
  color: #666;
  transition: transform 0.3s ease-in-out;
}

/* Анимация раскрытия (вращение иконки вниз при активации select) */
select:focus + .select-icon {
  transform: translateY(-50%) rotate(180deg);
}
@media (max-width: 600px) {
  .select-outer {
    margin-bottom: 6px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .select-outer select {
    font-size: 12px;
    padding: 7px 28px 7px 8px;
    border-radius: 5px;
    min-width: 0;
  }

  .select-icon {
    font-size: 1rem;
    right: 9px;
  }

  .display-type {
    justify-content: flex-start;
    margin: 3px 0 8px 0;
    gap: 2px;
  }

  .display-type .label_show {
    margin-right: 8px;
    font-size: 11px;
  }

  .view-button {
    width: 28px;
    height: 28px;
    font-size: 14px;
    border-radius: 5px;
    margin-left: 3px;
    padding: 0;
    line-height: 28px;
    border: 1px solid #d0dae0;
    background: #f7fafd;
    color: #495057;
    transition: background 0.18s, color 0.18s;
  }

  .view-button i {
    font-size: 1.05em;
  }

  .view-button.cur,
  .view-button:active,
  .view-button:focus {
    background: #59b1e9;
    color: #fff;
    border-color: #59b1e9;
  }

  .view-button:hover:not(.cur) {
    background: #eaf5fb;
    color: #1976d2;
  }
}

/* Для десктопа — чуть больше отступы и размер */
@media (min-width: 601px) {
  .select-outer select {
    font-size: 14px;
    padding: 8px 36px 8px 10px;
    border-radius: 7px;
  }
  .select-icon {
    font-size: 1.25rem;
    right: 15px;
  }
  .view-button {
    width: 32px;
    height: 32px;
    font-size: 16px;
    border-radius: 6px;
    margin-left: 6px;
  }
}

/* Общие правки */
.select-outer {
  position: relative;
  width: 100%;
  min-width: 0;
}
.select-outer select {
  width: 100%;
  border: 1px solid #ced4da;
  background: #fff;
  transition: border-color 0.2s;
}
.select-outer select:focus {
  border-color: #79c4ef;
  outline: none;
}
.display-type {
  display: flex;
  align-items: center;
}
.display-type .label_show {
  color: #6c757d;
}
.view-button {
  cursor: pointer;
  outline: none;
}

/* End */


/* Start:/bitrix/templates/aspro-allcorp/components/bitrix/system.pagenavigation/.default/style.css?1745325210799*/
    .wrap_pagination {
        text-align: center;
    }

    .pagination {
        border-radius: 0;
        border-color: #dfe5e9;
        background-color: transparent;
    }

    .pagination .page-item {
        border-radius: 0;
        margin: 0 1px;
    }

    .pagination .page-item .page-link {
        color: #4c7698;
        border-radius: 5 !important;
        padding: 5px 10px;
        transition: background-color 0.3s, color 0.3s;
    }

    .pagination .page-item .page-link:hover {
        background-color: #66bedf;
        color: white;
    }
.pagination .page-item.disabled .page-link {
    color: rgb(46 52 58 / 98%);
}

    .pagination .page-item .page-link:hover .icon {
        color: white;
    }

    .pagination .page-item .page-link .icon {
        color: #acb6bc;
    }
/* End */


/* Start:/bitrix/templates/aspro-allcorp/components/bitrix/news.list/catalog-sections-v2/style.css?17491359092964*/
.better-sections-container {
  padding: 32px 0;
}

.section-card-link {
  text-decoration: none;
  display: block;
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
  border-radius: 18px;
}

.section-card {
  background: #cbe3f2;
  border-radius: 18px;
  border: 1px solid #d7dee3;
  box-shadow: 0 4px 18px rgba(54, 129, 170, 0.1),
    0 1.5px 3px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  height: 100%;
  transition: box-shadow 0.3s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.section-card-link:hover .section-card,
.section-card-link:focus .section-card {
  box-shadow: 0 8px 32px 0 rgba(54, 129, 170, 0.18);
  transform: translateY(-4px) scale(1.01);
}

/* МЕНЬШЕ ФОТО НА ДЕСКТОПЕ, больше паддинга вокруг */
.section-img-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e6f0f5;
  padding: 14px 0;
  min-height: 90px;
}

.section-img {
  max-height: 100px; /* меньше фото */
  max-width: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  transition: filter 0.2s;
  margin: 0 auto;
  display: block;
}

.section-card-link:hover .section-img,
.section-card-link:focus .section-img {
  filter: brightness(1.08) saturate(1.08);
}

/* Центрируем текст и контент */
.section-content {
  padding: 18px 18px 16px 18px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.section-title {
  font-size: 1.1rem;
  color: #243c58;
  margin-bottom: 10px;
  line-height: 1.25;
  transition: color 0.2s;
  word-break: break-word;
  text-align: center;
}

.section-card-link:hover .section-title,
.section-card-link:focus .section-title {
  color: #189ad6;
}

.section-desc {
  font-size: 0.98rem;
  color: #4c7088;
  line-height: 1.5;
  margin-bottom: 0;
  text-align: center;
}

/* Мобильная адаптация */
@media (max-width: 991.98px) {
  .section-content {
    padding: 13px 10px 13px 10px;
  }
  .section-title {
    font-size: 1rem;
  }
  .section-desc {
    font-size: 0.92rem;
  }
  .section-img {
    max-width: 65px;
    max-height: 65px;
  }
  .section-img-wrap {
    min-height: 72px;
  }
}

@media (max-width: 767.98px) {
  .better-sections-container {
    padding: 20px 0;
  }
  .section-card {
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(54, 129, 170, 0.11);
  }
  .section-content {
    padding: 10px 5px 10px 5px;
  }
  .section-title {
    font-size: 0.95rem;
    margin-bottom: 7px;
  }
  .section-desc {
    font-size: 0.85rem;
  }
  .section-img-wrap {
    min-height: 60px;
    padding: 9px 0;
  }
  .section-img {
    max-width: 55px;
    max-height: 55px;
  }
}

@media (max-width: 575.98px) {
  .section-card {
    border-radius: 10px;
  }
  .section-content {
    padding: 8px 2px 8px 2px;
  }
  .section-title {
    font-size: 0.87rem;
  }
}

/* End */
/* /bitrix/templates/aspro-allcorp/components/bitrix/news/catalog/style.css?17485754803526 */
/* /bitrix/templates/aspro-allcorp/components/bitrix/system.pagenavigation/.default/style.css?1745325210799 */
/* /bitrix/templates/aspro-allcorp/components/bitrix/news.list/catalog-sections-v2/style.css?17491359092964 */
