

/* Start:/local/templates/Fastlife-2-0/components/bitrix/news/fl_blog_new/css/style.css?178366217321532*/
/* ============================================
   Blog Styles - Fastlife-2-0
   ============================================ */

/* Blog Layout */
.blog-page {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  margin-top: 40px;
}

@media (max-width: 992px) {
  .blog-page {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

@media (max-width: 992px) {
  .blog-sidebar {
    order: 2;
  }
}

.blog-content {
  min-width: 0;
}

@media (max-width: 992px) {
  .blog-content {
    order: 1;
  }
}

/* Blog Categories Menu */
.blog-categories {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.blog-categories__title {
  font-family: "IgraSans", sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #272525;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #ff2c33;
}

.blog-categories__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-categories__item {
  list-style: none;
}

.blog-categories__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  background-color: #f5f5f5;
  color: #272525;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.blog-categories__link:hover {
  background-color: #ff2c33;
  color: #fff;
}

.blog-categories__link_active {
  background-color: #ff2c33;
  color: #fff;
}

.blog-categories__count {
  font-size: 13px;
  opacity: 0.7;
  font-weight: 400;
}

/* Blog Search */
.blog-search {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.blog-search__title {
  font-family: "IgraSans", sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #272525;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #ff2c33;
}

.blog-search__form {
  display: flex;
  gap: 8px;
}

.blog-search__input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(39, 37, 37, 0.15);
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.2s ease;
}

.blog-search__input:focus {
  outline: none;
  border-color: #ff2c33;
}

.blog-search__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 8px;
  background-color: #ff2c33;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.blog-search__button:hover {
  background-color: #e0252b;
}

/* Blog Sidebar Events */
.blog-sidebar-events {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.blog-sidebar__title {
  font-family: "IgraSans", sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #272525;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #ff2c33;
}

.blog-sidebar-events__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

.blog-sidebar-events__all {
  display: block;
  text-align: center;
  width: 100%;
}

/* Blog Grid (2 columns) */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Blog Card */
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
}

.blog-card__image-link {
  display: block;
  text-decoration: none;
}

/* Соотношение 3:2 через padding-top */
.blog-card__image-wrap {
  position: relative;
  width: 100%;
  padding-top: 66.6667%;
  /* 2/3 * 100% */
  overflow: hidden;
  background: #f0f0f0;
}

.blog-card__image,
.blog-card__image-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__image {
  transform: scale(1.05);
}

.blog-card__image-placeholder {
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.blog-card__body {
  padding: 16px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__title {
  font-family: "IgraSans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: #272525;
  margin: 0;
  letter-spacing: -0.01em;
}

.blog-card__title a {
  font-family: inherit;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card__title a:hover {
  color: #ff2c33;
}

/* Blog List */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Blog Article (category listing) */
.blog-article {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.3s ease;
  padding: 28px 28px 24px;
}

.blog-article:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

/* Заголовок */
.blog-article__title {
  font-family: "IgraSans", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #272525;
  margin: 0 0 12px;
}

.blog-article__title a {
  font-family: inherit;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-article__title a:hover {
  color: #ff2c33;
}

/* Мета-строка */
.blog-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  font-size: 14px;
  color: rgba(39, 37, 37, 0.55);
}

.blog-article__date,
.blog-article__views,
.blog-article__categories {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-article__date svg,
.blog-article__views svg,
.blog-article__categories>svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.blog-article__category {
  color: rgba(39, 37, 37, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-article__category:hover {
  color: #ff2c33;
}

.blog-article__category-sep {
  margin-right: 2px;
}

/* Изображение 3:2 */
.blog-article__image-link {
  display: block;
  text-decoration: none;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.blog-article__image-wrap {
  position: relative;
  width: 100%;
  padding-top: 66.6667%;
  /* 3:2 */
  overflow: hidden;
  background: #f0f0f0;
}

.blog-article__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-article:hover .blog-article__image {
  transform: scale(1.04);
}

/* Анонс */
.blog-article__excerpt {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(39, 37, 37, 0.78);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Кнопка */
.blog-article__bottom {
  margin-top: 4px;
}

.blog-article__more {
  display: inline-block;
}


.blog-post-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
  .blog-post-card {
    grid-template-columns: 1fr;
  }
}

.blog-post-card__link {
  display: block;
  overflow: hidden;
}

.blog-post-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-post-card:hover .blog-post-card__image {
  transform: scale(1.05);
}

.blog-post-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.blog-post-card__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.blog-post-card__category {
  display: inline-block;
  padding: 4px 12px;
  background-color: rgba(255, 44, 51, 0.1);
  color: #ff2c33;
  font-size: 13px;
  font-weight: 500;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.blog-post-card__category:hover {
  background-color: #ff2c33;
  color: #fff;
}

.blog-post-card__title {
  font-family: "IgraSans", sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: #272525;
  margin: 0 0 12px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.blog-post-card__title a {
  font-family: inherit;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-post-card__title a:hover {
  color: #ff2c33;
}

.blog-post-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 14px;
  color: rgba(39, 37, 37, 0.6);
}

.blog-post-card__date,
.blog-post-card__views {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-post-card__excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(39, 37, 37, 0.8);
  margin: 0 0 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-post-card__bottom {
  margin-top: auto;
}

.blog-post-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
}

.blog-post-card__more svg {
  transition: transform 0.2s ease;
}

.blog-post-card__more:hover svg {
  transform: translateX(4px);
}

/* Blog Pagination */
.blog-pagination {
  margin-top: 40px;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.blog-pagination .pagination {
  display: flex;
  gap: 8px;
}

.blog-pagination .pagination a,
.blog-pagination .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 20px;
  background-color: #fff;
  color: #272525;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid rgba(39, 37, 37, 0.1);
}

.blog-pagination .pagination a:hover {
  background-color: #ff2c33;
  color: #fff;
  border-color: #ff2c33;
}

.blog-pagination .pagination .current {
  background-color: #ff2c33;
  color: #fff;
  border-color: #ff2c33;
}

.blog-pagination .pagination .dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  color: #272525;
  font-size: 14px;
  font-weight: 500;
}

/* Blog Detail */
.blog-detail {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-bottom:40px
}

@media (max-width: 768px) {
  .blog-detail {
    padding: 24px;
  }
}

.blog-detail__header {
  margin-bottom: 30px;
}

.blog-detail__title {
  font-family: "IgraSans", sans-serif;
  font-size: 36px;
  font-weight: 400;
  color: #272525;
  margin: 0 0 20px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .blog-detail__title {
    font-size: 26px;
  }
}

.blog-detail__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: 15px;
  color: rgba(39, 37, 37, 0.6);
}

.blog-detail__date,
.blog-detail__views {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-detail__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-detail__category {
  display: inline-block;
  padding: 4px 12px;
  background-color: rgba(255, 44, 51, 0.1);
  color: #ff2c33;
  font-size: 13px;
  font-weight: 500;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.blog-detail__category:hover {
  background-color: #ff2c33;
  color: #fff;
}

.blog-detail__author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background-color: rgba(255, 44, 51, 0.05);
  border-radius: 12px;
  margin-top: 16px;
}

.blog-detail__author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.blog-detail__author-info {
  display: flex;
  flex-direction: column;
}

.blog-detail__author-label {
  font-size: 12px;
  color: rgba(39, 37, 37, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-detail__author-name {
  font-size: 16px;
  font-weight: 600;
  color: #272525;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-detail__author-name:hover {
  color: #ff2c33;
}

.blog-detail__author-desc {
  font-size: 14px;
  color: rgba(39, 37, 37, 0.7);
  margin: 4px 0 0;
}

.blog-detail__figure {
  margin: 0 0 30px;
  border-radius: 12px;
  overflow: hidden;
}

.blog-detail__figure img {
  width: 100%;
  height: auto;
  display: block;
}

/* Table of Contents */
.blog-detail__toc-wrapper {
  margin: 30px 0;
}

.blog-detail__toc {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 44, 51, 0.05) 0%, rgba(255, 44, 51, 0.02) 100%);
  border: 1px solid rgba(255, 44, 51, 0.15);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
}

.blog-detail__toc-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: #272525;
  cursor: pointer;
  transition: all 0.2s ease;
}

.blog-detail__toc-toggle:hover {
  background-color: rgba(255, 44, 51, 0.08);
}

.blog-detail__toc-toggle svg {
  flex-shrink: 0;
}

.toc-line {
  transition: all 0.3s ease;
  transform-origin: center;
}

.blog-detail__toc-content {
  display: none;
  padding: 0 20px 20px;
}

.blog-detail__toc-content_visible {
  display: block;
}

.blog-detail__toc_opened .toc-line_top {
  transform: translateY(3px) rotate(45deg);
}

.blog-detail__toc_opened .toc-line_mid {
  opacity: 0;
}

.blog-detail__toc_opened .toc-line_bot {
  transform: translateY(-4px) rotate(-45deg);
}

.toc-line {
  transition: all 0.3s ease;
  transform-origin: center;
}

.blog-detail__toc-content {
  display: none;
  padding: 0 20px 20px;
}

.blog-detail__toc-content_visible {
  display: block;
}

.blog-detail__toc_opened .toc-line_top {
  transform: translateY(3px) rotate(45deg);
}

.blog-detail__toc_opened .toc-line_mid {
  opacity: 0;
}

.blog-detail__toc_opened .toc-line_bot {
  transform: translateY(-4px) rotate(-45deg);
}

.blog-detail__toc-content {
  display: none;
  padding: 0 20px 20px;
}

.blog-detail__toc-content_visible {
  display: block;
}

.blog-detail__toc_opened .blog-detail__toc-toggle svg {
  transform: rotate(45deg);
}

.blog-detail__toc-content {
  display: none;
  padding: 0 20px 20px;
}

.blog-detail__toc-content_visible {
  display: block;
}

.blog-detail__toc_opened .blog-detail__toc-toggle svg {
  transform: rotate(45deg);
}

.blog-detail__toc-content {
  display: none;
  padding: 0 20px 20px;
}

.blog-detail__toc-content_visible {
  display: block;
}

.blog-detail__toc_opened .blog-detail__toc-toggle svg {
  transform: scale(1.1);
}

.blog-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-toc__item {
  margin: 6px 0;
}

.blog-toc__item_level_2 {
  padding-left: 0;
}

.blog-toc__item_level_3 {
  padding-left: 20px;
  font-size: 0.95em;
}

.blog-toc__item_level_4 {
  padding-left: 40px;
  font-size: 0.9em;
}

.blog-toc__link {
  display: block;
  padding: 8px 0;
  color: rgba(39, 37, 37, 0.8);
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px dashed rgba(39, 37, 37, 0.1);
}

.blog-toc__link:last-child {
  border-bottom: none;
}

.blog-toc__link:hover {
  color: #ff2c33;
  padding-left: 8px;
}

.blog-toc__link.active {
  font-weight: 600;
  color: #ff2c33;
}

.blog-detail__content {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(39, 37, 37, 0.85);
  scroll-behavior: smooth;
}

.blog-detail__content h2,
.blog-detail__content h3,
.blog-detail__content h4 {
  font-family: "IgraSans", sans-serif;
  color: #272525;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.blog-detail__content h2 {
  font-size: 28px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(255, 44, 51, 0.2);
}

.blog-detail__content h3 {
  font-size: 24px;
}

.blog-detail__content h4 {
  font-size: 20px;
}

.blog-detail__content p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.blog-detail__content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}

.blog-detail__content ul,
.blog-detail__content ol {
  margin-bottom: 20px;
  padding-left: 32px;
}

.blog-detail__content ul {
  list-style: none;
}

.blog-detail__content ol {
  list-style: none;
  counter-reset: counter;
}

.blog-detail__content li {
  font-size: 16px;
  line-height: 150%;
  margin-bottom: 8px;
  position: relative;
}

.blog-detail__content ul li::before {
  content: "•";
  position: absolute;
  left: -24px;
  font-size: 14px;
  color: #ff2c33;
}

.blog-detail__content ol li::before {
  counter-increment: counter;
  content: counter(counter) ".";
  position: absolute;
  left: -32px;
  color: #ff2c33;
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
}

.blog-detail__content a {
  color: #ff2c33;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.blog-detail__content a:hover {
  color: #e0252b;
}

.blog-detail__content blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  background-color: rgba(255, 44, 51, 0.05);
  border-left: 4px solid #ff2c33;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: rgba(39, 37, 37, 0.7);
}

.blog-detail__content code {
  padding: 2px 6px;
  background-color: #f5f5f5;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  font-size: 14px;
  color: #e0252b;
}

.blog-detail__content pre {
  margin: 20px 0;
  padding: 16px;
  background-color: #f5f5f5;
  border-radius: 8px;
  overflow-x: auto;
}

.blog-detail__content pre code {
  padding: 0;
  background: none;
}

/* Similar Articles */
.blog-similar-articles {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(39, 37, 37, 0.1);
}

.blog-similar-articles__title {
  font-family: "IgraSans", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #272525;
  margin-bottom: 16px;
}

.blog-similar-articles__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-similar-articles__item {
  margin: 0;
}

.blog-similar-articles__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background-color: rgba(255, 44, 51, 0.05);
  border-radius: 8px;
  color: #272525;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.blog-similar-articles__link:hover {
  background-color: rgba(255, 44, 51, 0.1);
  color: #ff2c33;
}

.blog-similar-articles__link svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.blog-similar-articles__link:hover svg {
  transform: translateX(4px);
}

.blog-similar-articles__link span {
  flex: 1;
}

.blog-detail__content h2,
.blog-detail__content h3,
.blog-detail__content h4 {
  scroll-margin-top: 100px;
}

/* Blog Section Description */
.blog-section-description {
  margin-bottom: 30px;
}

.blog-section-description__title {
  font-family: "IgraSans", sans-serif;
  font-size: 36px;
  font-weight: 400;
  color: #272525;
  margin: 0 0 20px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .blog-section-description__title {
    font-size: 26px;
  }
}

.blog-section-description__text {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(39, 37, 37, 0.85);
}

.blog-section-description__text p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(39, 37, 37, 0.85);
  margin-bottom: 15px;
}

.blog-section-description__text p {
  margin-bottom: 15px;
}

.blog-section-description__text p:last-child {
  margin-bottom: 0;
}

.blog-section-description__text img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}

.blog-section-description__text a {
  color: #ff2c33;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.blog-section-description__text a:hover {
  color: #e0252b;
}

.blog-section-description__text ul,
.blog-section-description__text ol {
  margin-bottom: 15px;
  padding-left: 24px;
}

.blog-section-description__text li {
  margin-bottom: 8px;
}
/* End */
/* /local/templates/Fastlife-2-0/components/bitrix/news/fl_blog_new/css/style.css?178366217321532 */
