#blog .article-text-container .blog-snippet-text-section {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#blog .article-text-container .blog-snippet-text-section h1 {
  font-weight: 600;
  font-size: 20px;
  line-height: 20px;
  color: #141b31;
}
#blog .article-text-container .blog-snippet-text-section p {
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: #5e6272;
}
#blog .article-text-container div:last-of-type {
  margin-bottom: 0;
}

#blog .blog-snippet-green-section {
  margin-bottom: 40px;
  display: flex;
  gap: 10px;
  padding: 20px 57px 16px 20px;
  border-radius: 16px;
  background-color: #d0ffd1;
}
#blog .blog-snippet-green-section > img {
  height: 15px;
  width: 15px;
}
#blog .blog-snippet-green-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#blog .blog-snippet-green-text h1 {
  font-weight: 700;
  font-size: 14px;
  line-height: 18px;
  color: #141b31;
}
#blog .blog-snippet-green-text p {
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: #5e6272;
}

#blog .blog-snippet-cards-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  margin-bottom: 40px;
}
#blog .blog-snippet-cards-section .blog-snippet-card {
  border-radius: 16px;
  background: #f3f3f3;
  box-shadow: 0px 15px 23px rgba(225, 231, 240, 0.7);
  padding: 20px;
}
#blog .blog-snippet-cards-section .blog-snippet-card-number {
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: #5e6272;
  margin-bottom: 10px;
  display: inline-flex;
}
#blog .blog-snippet-cards-section .blog-snippet-card-number span {
  padding: 7px 13px;
  border: 1px solid #5e6272;
  border-radius: 8px;
  display: inline-block;
  height: fit-content;
}
#blog .blog-snippet-cards-section .blog-snippet-card-content {
  display: flex;
  flex-direction: column;
}
#blog .blog-snippet-cards-section .blog-snippet-card-title {
  font-weight: 700;
  font-size: 14px;
  line-height: 18px;
  color: #141b31;
  margin-bottom: 10px;
}
#blog .blog-snippet-cards-section .blog-snippet-card-text {
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: #5e6272;
}

#blog .blog-snippet-green-section .blog-snippet-green-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
#blog .blog-snippet-green-section .blog-snippet-green-checklist div {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: #5e6272;
}
#blog .photo-section {
  margin-bottom: 40px;
}
#blog .photo-section .photo-slider {
  position: relative;
}

/* ---------- БАЗА (планшет и десктоп): grid в 2 колонки ---------- */
#blog .photo-section .photo-slider__track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--photo-gap-desktop);
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 18px;
}

#blog .photo-section .photo-slider__img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 5 / 2;
  object-fit: cover;
  border-radius: var(--photo-radius);
  box-shadow: 0 10px 24px rgba(31, 45, 61, .12);
  background: #dde1ea; /* заглушка, пока грузится фото */
  border-radius: 16px;
}

/* Стрелки на планшете и десктопе скрыты */
#blog .photo-section .photo-slider__btn {
  display: none;
}

#blog .photo-section .photo-slider__btn--next {
  scale: -1 1;
}

@media (max-width: 767px) {
  #blog .blog-snippet-cards-section .blog-snippet-card {
    display: flex;
    gap: 13px;
  }
  #blog .blog-snippet-cards-section {
    display: flex;
    flex-direction: column;
  }
  #blog .blog-snippet-green-section .blog-snippet-green-checklist {
    grid-template-columns: repeat(1, 1fr);
  }

  /* Лента слайдера: горизонтальный скролл + прилипание */
  #blog .photo-section .photo-slider__track {
    display: flex;
    gap: var(--photo-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;            /* прячем скроллбар (Firefox) */
  }
  #blog .photo-section .photo-slider__track::-webkit-scrollbar { /* прячем скроллбар (WebKit) */
    width: 0;
    height: 0;
  }

  #blog .photo-section .photo-slider__slide {
    flex: 0 0 100%;          /* один слайд = вся ширина */
    min-width: 0;
    scroll-snap-align: start;
  }

  #blog .photo-section .photo-slider__img {
    aspect-ratio: 16 / 10;
  }

  /* Стрелки слайдера */
  #blog .photo-section .photo-slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    opacity: .9;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .45));
    transition: transform .15s ease, opacity .15s ease;
  }

  #blog .photo-section .photo-slider__btn svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  #blog .photo-section .photo-slider__btn--prev { left: 4px; }
  #blog .photo-section .photo-slider__btn--next { right: 4px; }

  #blog .photo-section .photo-slider__btn:active {
    transform: translateY(-50%) scale(.92);
  }
  #blog .photo-section .photo-slider__btn:focus-visible {
    outline: 2px solid #2f6fed;
    outline-offset: 2px;
    border-radius: 50%;
  }
}
