

/* Start:/local/templates/nesterov_dance/components/bitrix/news/blog/style.css?17944661716074*/
.blog-list {
  min-height: 720px;
}

.blog-list__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px 24px;
}

.blog-card {
  min-width: 0;
}

.blog-card__link {
  position: relative;
  display: block;
  height: 323px;
  overflow: hidden;
  border-radius: 20px;
  background: #292929;
  color: var(--color-white);
}

.blog-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.blog-card__link:hover .blog-card__image {
  transform: scale(1.2);
}

.blog-card__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  min-height: 105px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 17px 18px 14px;
  background: rgba(0, 0, 0, 0.8);
}

.blog-card__date {
  display: inline-flex;
  min-height: 15px;
  align-items: center;
  margin-bottom: 10px;
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
}

.blog-card__title {
  margin: 0;
  color: var(--color-white);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
}

@media (max-width: 1100px) {
  .blog-list__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .blog-list {
    min-height: 0;
  }

  .blog-list__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .blog-card__link {
    height: 300px;
    border-radius: 16px;
  }

  .blog-card__content {
    min-height: 100px;
    padding: 14px 16px;
  }

  .blog-card__title {
    font-size: 18px;
  }
}
.blog-article .inner-page__title {
  margin-bottom: 16px;
  font-family: 'Onest', sans-serif;
  font-weight: 700;
}

.blog-article__content {
  display: flow-root;
  color: var(--color-black-text);
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0;
}

.blog-article__content p {
  margin: 0 0 16px;
}

.blog-article__content :where(h2, h3, h4, h5, h6) {
  margin: 24px 0 10px;
  color: var(--color-dark);
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  line-height: 1.18;
}

.blog-article__content :where(h2) {
  font-size: 30px;
}

.blog-article__content :where(h3) {
  font-size: 22px;
}

.blog-article__content :where(h4) {
  font-size: 20px;
}

.blog-article__content :where(h5, h6) {
  font-size: 18px;
}

.blog-article__content :where(a) {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.blog-article__content :where(a):hover {
  text-decoration: none;
}

.blog-article__content :where(ul, ol) {
  margin: 18px 0;
  padding-left: 17px;
}

.blog-article__content :where(ul) {
  padding-left: 0;
  list-style: none;
}

.blog-article__content :where(li) {
  margin-bottom: 11px;
}

.blog-article__content :where(ul li) {
  position: relative;
  padding-left: 17px;
}

.blog-article__content :where(ul li)::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--color-accent);
  content: "♫";
  font-weight: 700;
}

.blog-article__content :where(li:last-child) {
  margin-bottom: 0;
}

.blog-article__content :where(li)::marker {
  color: var(--color-accent);
}

.blog-article__content :where(img) {
  max-width: 100%;
  height: auto;
}

.blog-article__content :where(figure) {
  margin: 16px 0 24px;
}

.blog-article__content :where(figcaption) {
  margin-top: 8px;
  color: #6f6f6f;
  font-size: 14px;
}

.blog-article__content :where(blockquote) {
  margin: 16px 0 24px;
  padding: 14px 18px;
  border-left: 3px solid var(--color-accent);
  background: #f1f1f1;
}

.blog-article__content :where(blockquote) > :last-child {
  margin-bottom: 0;
}

.blog-article__content :where(table) {
  width: 100%;
  margin: 16px 0 24px;
  border-collapse: separate;
	border-spacing: 0;
  text-align: center;
}

.blog-article__content :where(tr th, tr td) {
  padding: 22px;
  border-bottom: 1px solid #E8E8E8;
	border-right: 1px solid #E8E8E8;
}

.blog-article__content :where(tr th) {
  background: var(--color-white);
	font-size: 18px;
  font-weight: 600;
	border-top: 1px solid #E8E8E8;
}

.blog-article__content :where(tr th:first-child, tr td:first-child) {
	border-left: 1px solid #E8E8E8;
}

.blog-article__content :where(tr th:first-child) {
  border-top-left-radius: var(--radius);
}

.blog-article__content :where(tr th:last-child) {
  border-top-right-radius: var(--radius);
}

.blog-article__content :where(tr:last-child td:first-child) {
  border-bottom-left-radius: var(--radius);
}

.blog-article__content :where(tr:last-child td:last-child) {
  border-bottom-right-radius: var(--radius);
}

.blog-article__content :where(tr:nth-child(odd) td) {
  background: #F3F3F3;
}

.blog-article__content :where(tr:nth-child(even) td) {
  background: var(--color-white);
}

.blog-article__content :where(hr) {
  margin: 24px 0;
  border: 0;
  border-top: 1px solid #E8E8E8;
}

.blog-article__image {
  float: left;
  width: 100%;
  max-width: 526px;
  height: 300px;
  margin: 0 20px 16px 0;
  object-fit: cover;
  border-radius: var(--radius);
}

@media (max-width: 900px) {
  .blog-article__image {
    width: 38%;
    height: auto;
    aspect-ratio: 1.76;
  }
}

@media (max-width: 640px) {
  .blog-article .inner-page__title {
    margin-bottom: 14px;
  }

  .blog-article__content :where(h2, h3, h4, h5, h6) {
    margin-top: 20px;
    margin-bottom: 8px;
  }

  .blog-article__content :where(h2) {
    font-size: 24px;
  }

  .blog-article__content :where(h3) {
    font-size: 18px;
  }

  .blog-article__image {
    float: none;
    width: 100%;
    height: auto;
    margin: 0 0 16px;
    aspect-ratio: 1.76;
  }
}
/* End */
/* /local/templates/nesterov_dance/components/bitrix/news/blog/style.css?17944661716074 */
