

/* Start:/local/templates/aspro-allcorp3/components/bitrix/news.list/blog-list/style.css?17786621559735*/
.blog-list__item {
  position: relative;
  overflow: hidden;
}

.grid-list--no-gap .blog-list__item {
  overflow: visible;
}
.grid-list--no-gap .blog-list__item-image--absolute {
  left: -1px;
}

.blog-list__item-image-wrapper {
  position: relative;
}
.blog-list__item-image-wrapper--BG {
  padding-top: 130%;
  overflow: hidden;
  width: 100%;
}
.blog-list__item-image-wrapper--BG:after {
  content: "";
  position: absolute;
  left: 0%;
  right: 0%;
  top: 51%;
  bottom: 0%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
}
.blog-list__item-image-wrapper--TOP {
  padding-top: 67%;
}

.blog-list__item-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
}
.blog-list__item-image--absolute {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.bx-ie .blog-list__item-text-top-part {
  flex-basis: auto;
}

.blog-list__item-preview-wrapper {
  margin-top: 9px;
}

.blog-list__item-period {
  position: relative;
}
.blog-list__item-period--mt-19 {
  margin-top: 19px;
}
.blog-list__item-period.blog-list__item-period--FON {
  position: relative;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 12px;
}

.blog-list__item-text-wrapper--BOTTOM {
  position: absolute;
  bottom: 33px;
  left: 39px;
  right: 39px;
  z-index: 2;
}
body .blog-list__item-text-wrapper--BOTTOM .dark_link {
  color: #fff;
}
.blog-list__item-text-wrapper--BOTTOM_RELATIVE {
  padding: 25px 29px;
}

#main .blog-list__item .sticker {
  display: flex;
}
.blog-list__item .sticker .sticker__item{
  margin-left: 0;
}
body .blog-list__item-sticker {
  top: 29px;
  left: 29px;
  right: 29px;
}
body .blog-list__item-sticker--normal {
  position: static;
  margin-bottom: 9px;
}

.sticker__item--fon.sticker__item--bordered {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
}

.blog-list__item-link--absolute {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 2;
}

@media (min-width: 1200px) {
}
@media (max-width: 1199px) and (min-width: 992px) {
  .grid-list--no-grid > .blog-list__wrapper {
    width: 33.33%;
  }
  .grid-list--no-grid > .blog-list__wrapper.item-w66,
  .grid-list--no-grid > .blog-list__wrapper.item-w50 {
    width: 66.66%;
  }
}
@media (min-width: 992px) {
  .blog-list__wrapper.item-w50 .blog-list__item-image-wrapper--BG {
    padding-top: 62%;
  }
  .blog-list__wrapper.item-w66 .blog-list__item-image-wrapper--BG {
    padding-top: 63%;
  }

  .blog-list__item-sticker--BOTTOM {
    bottom: 35px;
    left: 36px;
  }

  .grid-list--wide-first .blog-list__item-image-wrapper--BG {
    height: 100%;
  }
  .grid-list--wide-first > div:first-of-type .blog-list__item-title {
    font-size: 1.6em;
  }
  .blog-list__item-image-wrapper--BG .blog-list__item-sticker {
    top: 40px;
    left: 38px;
  }
}

@media (max-width: 991px) {
  .blog-list__item-text-wrapper--BOTTOM {
    bottom: 20px;
    left: 29px;
    right: 29px;
  }
  .grid-list--no-grid > .blog-list__wrapper {
    width: 33.33%;
  }
}

@media (max-width: 767px) {
  .grid-list--no-grid > .blog-list__wrapper {
    width: 50%;
  }
}

@media (min-width: 601px) {
  .blog-list__item-sticker--BOTTOM_CORNER {
    bottom: 40px;
    left: 39px;
  }
}
@media (max-width: 600px) {
  .blog-list__item.flexbox--direction-row-reverse {
    flex-direction: column;
  }
  .blog-list__item-preview-wrapper {
    font-size: 13px;
    line-height: 20px;
    margin-bottom: 15px;
  }

  .blog-list__item-sticker--BOTTOM,
  .blog-list__item-sticker--BOTTOM_CORNER {
    bottom: 24px;
    left: 27px;
  }

  .blog-list__item-image-wrapper--BG {
    padding-top: 150%;
  }
  .blog-list__item-image-wrapper--BG:after {
    top: 40%;
  }
}
@media (max-width: 500px) {
  .grid-list--normal .blog-list__wrapper {
    width: 100%;
  }
  .grid-list--normal .blog-list__item-image-wrapper--BG {
    padding-top: 110%;
  }
}
@media (max-width: 450px) {
  .blog-list__item-sticker--TOP {
    top: 30px;
    left: 31px;
  }
}

/* ========== ОСНОВНАЯ СЕТКА - 3 КАРТОЧКИ В РЯД ========== */
/* Переопределяем существующий grid-list */
.blog-list .grid-list {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px !important;
  width: 100% !important;
}

/* Убираем возможные float или inline-block у wrapper'ов */
.blog-list .grid-list .blog-list__wrapper {
  width: 100% !important;
  float: none !important;
  display: block !important;
}

/* Адаптив для планшетов - 2 карточки */
@media (max-width: 991px) {
  .blog-list .grid-list {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

/* Адаптив для мобилок - 1 карточка */
@media (max-width: 576px) {
  .blog-list .grid-list {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* ========== НОВАЯ КАРТОЧКА ========== */
.custom-news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.custom-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Верхняя часть - фото */
.custom-news-card__image-wrapper {
  padding: 15px 15px 0 15px;
  background: #fff;
}

.custom-news-card__image-frame {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 12px;
  background: #f5f5f5;
  box-shadow: 0 0 0 3px #fff, 0 4px 12px rgba(0, 0, 0, 0.1);
}

.custom-news-card__image-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.custom-news-card__image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
  border-radius: 9px;
}

.custom-news-card:hover .custom-news-card__image {
  transform: scale(1.05);
}

/* Нижняя часть - текст */
.custom-news-card__content {
  padding: 15px;
  background: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.custom-news-card__meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 12px;
  color: #999;
}

.custom-news-card__author {
  display: flex;
  align-items: center;
  gap: 6px;
}

.custom-news-card__author-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.custom-news-card__author svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.custom-news-card__author-name {
  color: #666;
  font-size: 12px;
}

.custom-news-card__date {
  display: flex;
  align-items: center;
  gap: 5px;
}

.custom-news-card__date svg {
  width: 12px;
  height: 12px;
}

.custom-news-card__date span {
  font-size: 12px;
}

.custom-news-card__title {
  text-align: center;
  margin-bottom: 10px;
}

.custom-news-card__title a {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.custom-news-card__title a:hover {
  color: #0054a6;
}

/* Теги - без скругления */
.custom-news-card__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.custom-news-card__tag {
  display: inline-block;
  padding: 3px 8px;
  background: #f5f5f5;
  border-radius: 0px;
  font-size: 11px;
  color: #666;
  text-decoration: none;
  transition: all 0.2s ease;
}

.custom-news-card__tag:hover {
  background: #0054a6;
  color: #fff;
  text-decoration: none;
}

/* Стикер категории */
.custom-news-card__sticker {
  display: inline-block;
  padding: 3px 10px;
  background: #f0f0f0;
  border-radius: 0px;
  font-size: 11px;
  color: #666;
  margin-bottom: 12px;
  align-self: center;
}

.custom-news-card__sticker a {
  color: #666;
  text-decoration: none;
}

.custom-news-card__sticker a:hover {
  color: #0054a6;
}

/* Нижняя строка - без полоски */
.custom-news-card__bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0px;
  border-top: none;
}

/* Читать статью - красный с подчеркиванием */
.custom-news-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8B0000;
  font-size: 12px;
  font-weight: 500;
  text-decoration: underline;
  transition: gap 0.2s ease;
}

.custom-news-card__read-more:hover {
  gap: 10px;
  color: #8B0000;
  text-decoration: underline;
}

.custom-news-card__read-more svg {
  width: 12px;
  height: 12px;
  fill: #8B0000;
}

.custom-news-card__read-more:hover svg {
  fill: #cc0000;
}

.custom-news-card__views {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #999;
  font-size: 12px;
}

.custom-news-card__views svg {
  width: 14px;
  height: 14px;
}

/* Адаптив для планшетов */
@media (min-width: 768px) and (max-width: 991px) {
  .custom-news-card__image-frame {
    height: 170px;
  }
  .custom-news-card__title a {
    font-size: 15px;
  }
}

/* Адаптив для мобилок */
@media (max-width: 767px) {
  .custom-news-card__image-wrapper {
    padding: 12px 12px 0 12px;
  }
  .custom-news-card__image-frame {
    height: 180px;
  }
  .custom-news-card__content {
    padding: 12px;
  }
  .custom-news-card__title a {
    font-size: 14px;
  }
}
/* End */
/* /local/templates/aspro-allcorp3/components/bitrix/news.list/blog-list/style.css?17786621559735 */
