/* Info / articles — класи та розміри 1:1 з leader-tools.com.ua */

.section.info {
  padding: 60px 0;
  background: #fff;
}

html .section.info .leader-ci.swiper-slide.info-block,
html .section.info .leader-ci.swiper-slide.info-block.articles {
  border-radius: 1em;
  max-width: 24em;
  width: 24em;
  height: auto;
  overflow: hidden;
}

html .article__bg-img {
  border: 1px solid #e0e0e0;
  border-radius: 7px;
  height: 100%;
  overflow: hidden;
  background: #fff;
}

html .link-block-15 {
  display: block;
  width: 100%;
  line-height: 0;
}

html .image-52 {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 6.7;
  object-fit: cover;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
}

html .info_bottom_article_object {
  display: flex;
  flex-flow: column;
  padding: 15px 17px;
}

html .header_article_object {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin-bottom: 1em;
  gap: 0.5em;
}

html .category_article_object {
  color: #ff171d;
  font-size: 0.9rem;
  font-weight: 400;
  text-decoration: none;
  line-height: 1.2;
}

html .date_article_object {
  color: #666;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}

html .heading_article {
  margin-top: auto;
  margin-bottom: 1em;
  color: #333;
  font-size: 1.15em;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

html .korotkiy_opys_article {
  margin: 0 0 1em;
  color: #333;
  font-size: 1.2em;
  font-weight: 400;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

html .link_current_article {
  color: #ff171d;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  margin-top: auto;
}

.h2.leader-sale.pc {
  font-size: 2.5em;
}

.br {
  display: inline;
}

.hide-on-mobile {
  display: inline;
}

@media screen and (max-width: 991px) {
  .h2.leader-sale.pc {
    font-size: 3em;
  }

  html .heading_article {
    font-size: 14px;
  }
}

/* 480–767: як leader-tools ~509 — вузькі картки ~30em (~2.5 у рядку) */
@media screen and (max-width: 767px) {
  .section.info {
    padding: 40px 0;
  }

  .hide-on-mobile {
    display: none;
  }

  html .section.info .leader-ci.swiper-slide.info-block,
  html .section.info .leader-ci.swiper-slide.info-block.articles {
    width: 30em !important;
    max-width: 30em !important;
  }

  html .category_article_object {
    font-size: 0.6rem;
  }

  html .heading_article {
    font-size: 2em;
  }

  html .korotkiy_opys_article {
    font-size: 1.4em;
  }

  html .date_article_object,
  html .link_current_article {
    font-size: 0.6rem;
  }
}

@media screen and (max-width: 479px) {
  .section.info {
    padding: 30px 0;
  }

  /* Головна: заголовки колекцій / info — як у дизайні ≤479 */
  html .h2.leader-sale.pc,
  html .section.info .h2.leader-sale.pc {
    font-size: 5.5em;
  }

  html .section.info .leader-ci.swiper-slide.info-block,
  html .section.info .leader-ci.swiper-slide.info-block.articles {
    width: 46em !important;
    max-width: 60em !important;
    margin-right: 2em;
  }

  html .info_bottom_article_object {
    padding: 20px 25px;
  }

  html .header_article_object {
    margin-bottom: 2em;
  }

  html .category_article_object {
    font-size: 0.7rem;
  }

  html .heading_article {
    margin-bottom: 1em;
    font-size: 4em;
  }

  html .korotkiy_opys_article {
    margin-bottom: 2em;
    font-size: 3em;
  }

  html .date_article_object {
    font-size: 0.7rem;
  }

  html .link_current_article {
    font-size: 0.8rem;
  }

  html .image-52 {
    border-radius: 7px 7px 0 0;
  }
}
