/* Сквозной блок «Акции» — главная и блог */

.blog-inline__nav {
  display: flex;
  flex: none;
}

.blog-inline__arrow {
  width: 50px;
  height: 50px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #133226 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 15' fill='none'%3E%3Cpath d='M1 1l6 6.5L1 14' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 8px 15px no-repeat;
  cursor: pointer;
  transition: opacity 0.3s;
}

.blog-inline__arrow_prev {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 15' fill='none'%3E%3Cpath d='M7 1L1 7.5 7 14' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.blog-inline__arrow.swiper-button-disabled {
  opacity: 0.4;
  cursor: default;
}

.blog-stock {
  box-sizing: border-box;
  max-width: 110.875em;
  margin: 3rem auto;
  padding: 0 20px;
}

.blog-stock__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.blog-stock__heading {
  font-family: Geologica, sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 55px;
  color: #2a7831;
}

.blog-stock__slider {
  position: relative;
  overflow: hidden;
}

/* Все карточки одной высоты: тянем слайды по высоте самой высокой карточки */
.blog-stock__slider .swiper-wrapper {
  align-items: stretch;
}

.blog-stock__slider .swiper-wrapper > .swiper-slide {
  height: auto;
  align-self: stretch;
}

.blog-stock__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  box-sizing: border-box;
  height: auto;
  min-height: 281px;
  padding: 20px;
  overflow: hidden;
  border-radius: 24px;
  background: #14392c;
  box-shadow: inset 0 0 40px 0 rgba(255, 255, 255, 0.25);
  font-family: Geologica, sans-serif;
  color: #fff;
}

.blog-stock__timer {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 12px;
  padding: 3px 6px;
  border-radius: 6px;
  background: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  color: #2a2a2a;
  white-space: nowrap;
}

.blog-stock__timer svg {
  flex: none;
  color: #e85453;
}

.blog-stock__timer b {
  font-weight: 700;
  color: #e85454;
  text-decoration: underline;
}

.blog-stock__content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.blog-stock__main {
  flex: 1 1 auto;
  min-width: 0;
}

.blog-stock__title {
  position: relative;
  z-index: 1;
  max-width: 265px;
  font-size: 24px;
  font-weight: 500;
  line-height: 29px;
}

.blog-stock__title span {
  color: #26966e;
}

.blog-stock__tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 252px;
  max-width: 100%;
  margin: 12px 0 20px;
  padding: 0;
  list-style: none;
}

.blog-stock__tags li {
  margin: 0;
  padding: 3px 6px;
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #2a2a2a;
}

.blog-stock__tags li::before {
  content: none;
}

/* светлая карточка */
.blog-stock__card_light {
  background: #f8f8f8;
  color: #2a2a2a;
}

.blog-stock__card_light .blog-stock__timer {
  background: #a2a2a2;
  color: #f7f7f7;
}

.blog-stock__card_light .blog-stock__timer svg,
.blog-stock__card_light .blog-stock__timer b {
  color: #fff;
}

.blog-stock__card_light a.blog-stock__btn,
.blog-stock__card_light a.blog-stock__btn:hover {
  background: #52a17b;
  color: #fff;
}

.blog-stock__card_light .blog-stock__img {
  right: -22px;
  bottom: -21px;
  max-width: 193px;
  height: 179px;
}

.blog-stock__text {
  position: relative;
  z-index: 1;
  max-width: 244px;
  margin: 8px 0 20px;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.blog-stock__prices {
  flex: 0 0 auto;
  text-align: right;
}

.blog-stock__price {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 29px;
  white-space: nowrap;
}

.blog-stock__old-price {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
  text-decoration: line-through;
  white-space: nowrap;
}

.blog-stock__card_light .blog-stock__price {
  color: #2a2a2a;
}

.blog-stock__card_light .blog-stock__old-price {
  color: #a2a2a2;
}

a.blog-stock__btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 41px;
  margin-top: auto;
  padding: 0 17.5px;
  border-radius: 7px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: #14392c;
  text-decoration: none;
  transition: opacity 0.3s;
}

a.blog-stock__btn:hover {
  opacity: 0.9;
  color: #14392c;
}

.blog-stock__img {
  position: absolute;
  right: 2px;
  bottom: 0;
  width: auto;
  max-width: 184px;
  height: 145px;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
}



/* Главная: блок больше не выводится, оставлены только стили блога */

@media (max-width: 1200px) {
  .blog-stock__heading {
    font-size: 34px;
    line-height: 42px;
  }
}

@media (min-width: 600px) and (max-width: 1200px) {
  .blog-stock__img {
    max-width: 150px;
    height: 120px;
  }

  .blog-stock__card_light .blog-stock__img {
    max-width: 193px;
    height: 179px;
  }

  .blog-stock__text {
    max-width: min(244px, calc(100% - 130px));
  }
}

@media (max-width: 768px) {
  .blog-stock__heading {
    font-size: 26px;
    line-height: 29px;
  }

  .blog-stock__card {
    flex: 0 0 18.5rem;
    width: 18.5rem;
  }

  .blog-stock__title,
  .blog-stock__text {
    max-width: 100%;
  }

  .blog-stock__content {
    flex-direction: column;
    gap: 0;
  }

  .blog-stock__prices {
    margin: 10px 0 16px 0;
    text-align: left;
  }

  .blog-stock__price {
    font-size: 24px;
    line-height: 29px;
  }

  .blog-stock__old-price {
    font-size: 16px;
    line-height: 20px;
  }

  .blog-stock__btn {
    width: 100%;
  }
}
