/*
Theme Name: Visavi Blog
Theme URI: https://blog.visavi.moscow
Description: Тема для блога Visavi с сохранением стилей основного сайта
Author: Ваше имя
Author URI: ваш сайт
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, custom-layout, responsive
Text Domain: visavi-blog
*/

/* Здесь вставьте ВСЕ стили из оригинального CSS */
/* Пример: */
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
}
html{
	margin-top:0 !important;
}
.main-header__special{
background: none !important;
border: none !important;
padding: none !important;
}
/* Делаем боковую панель с услугами липкой */
.stand-sect__aside {
  position: sticky;
  top: 120px;
  align-self: flex-start;
  height: fit-content;
}

/* Убедитесь, что родитель .stand-sect__content это flex с align-items: flex-start */
.stand-sect__content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* Основная колонка со статьей занимает большую часть */
.stand-sect__main {
  flex: 1;
  min-width: 0;
}

/* Боковая панель имеет фиксированную ширину */
.stand-sect__aside {
  flex: 0 0 280px; /* Подгоните ширину под вашу верстку */
}
.promo-auction {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.promo-auction__item {
    background: #f6f1eb;
    border-radius: 24px;
    padding: 20px;
	box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 220px;
}

.promo-auction__content {
    max-width: 60%;
}

.promo-auction__title {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 16px;
    color: #4a1e1e;
}

.promo-auction__price {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.promo-auction__price span {
    text-decoration: line-through;
    font-size: 18px;
    margin-left: 8px;
    opacity: 0.6;
}

.promo-auction__btn {
    display: inline-block;
    padding: 10px 22px;
    border: 1px solid #7b2c2c;
    border-radius: 30px;
    color: #7b2c2c;
    text-decoration: none;
    transition: .2s;
}

.promo-auction__btn:hover {
    background: #7b2c2c;
    color: #fff;
}

.promo-auction__image img {
    max-width: 180px;
    height: auto;
}
.promo-auction-wrapper {
  overflow-x: hidden;
}
/* Адаптив */
@media (max-width: 768px) {
    .promo-auction {
        grid-template-columns: 1fr;
    }

    .promo-auction__content {
        max-width: 100%;
    }
}
@media (max-width: 768px) {
  .promo-auction__item img {
    display: none;
  }
}
.all-posts-page {
  padding: 40px 0 70px;
  background: #f7f9fb;
}

.all-posts-page .container {
  max-width: 1160px;
  margin: 0 auto;
}

.all-posts-page .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

/* Карточка */
.post-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.03);
  overflow: hidden;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
              border-color 0.25s ease;
}

/* Градиентный подсвет на ховере */
.post-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left,
              rgba(44, 181, 156, 0.18), transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.09);
  border-color: rgba(44, 181, 156, 0.4);
}

.post-card:hover::before {
  opacity: 1;
}
.post-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* Изображение */
.post-card__image {
  position: relative;
  overflow: hidden;
  max-height: 220px;
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.post-card:hover .post-card__image img {
  transform: scale(1.08);
  filter: brightness(1.04);
}
.post-card__title {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  color: #1f2429;
  margin: 18px 18px 10px;
  position: relative;
  padding-right: 24px;
}

/* Подчёркивание-акцент под заголовком */
.post-card__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4c0b19, #22a08a);
  opacity: 0.9;
}

.post-card__excerpt {
  font-size: 14px;
  line-height: 1.64;
  color: #5c6770;
  margin: 18px 18px 20px;
  flex: 1 1 auto;
}

/* Ограничение длины, если нужно */
.post-card__excerpt p {
  margin: 0;
}
.post-card__link::after {
  content: "Подробнее";
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 18px 18px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(76, 11, 25, 0.8);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4c0b19;
  background: rgba(44, 181, 156, 0.04);
  transition: background 0.2s ease, color 0.2s ease,
              box-shadow 0.2s ease, transform 0.15s ease;
}

.post-card__link::after {
  content: "Читать статью →";
}

.post-card:hover .post-card__link::after {
  background: linear-gradient(135deg, #4c0b19, #22a08a);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(34, 160, 138, 0.4);
  transform: translateY(-1px);
}
@media (max-width: 991px) {
  .all-posts-page {
    padding: 30px 0 50px;
  }

  .all-posts-page .container {
    gap: 22px;
  }

  .post-card__title {
    font-size: 17px;
    margin: 16px 16px 8px;
  }

  .post-card__excerpt {
    margin: 14px 16px 18px;
  }

  .post-card__image {
    max-height: 200px;
  }

  .post-card__link::after {
    margin: 0 16px 16px;
  }
}

@media (max-width: 600px) {
  .all-posts-page .container {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .post-card {
    border-radius: 14px;
  }
}
.posts-pagination {
  margin: 40px 0 0;
  display: flex;
  justify-content: center;
}

.posts-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  margin: 0 4px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(76, 11, 25, 0.25);
  font-size: 13px;
  font-weight: 500;
  color: #4a5561;
  text-decoration: none;
  background: #ffffff;
  transition: background 0.2s ease, color 0.2s ease,
              box-shadow 0.2s ease, border-color 0.2s ease,
              transform 0.15s ease;
}

.posts-pagination .page-numbers:hover {
  background: linear-gradient(135deg, #4c0b19, #4c0b19);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(76, 11, 25, 0.4);
  transform: translateY(-1px);
}

.posts-pagination .page-numbers.current {
  background: linear-gradient(135deg, #4c0b19, #4c0b19);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(76, 11, 25, 0.35);
  cursor: default;
}

.posts-pagination .page-numbers.prev,
.posts-pagination .page-numbers.next {
  padding: 0 16px;
  font-weight: 600;
}

/* адаптив */
@media (max-width: 600px) {
  .posts-pagination {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .posts-pagination .page-numbers {
    margin: 2px 3px;
  }
}
.posts-pagination {
  margin: 40px 0 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;          /* оставим wrap только для очень маленьких экранов */
  gap: 6px;
}

/* общие стили */
.posts-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(44, 181, 156, 0.25);
  font-size: 13px;
  font-weight: 500;
  color: #4a5561;
  text-decoration: none;
  background: #ffffff;
  white-space: nowrap;      /* ВАЖНО: ничего не переносим */
  transition: background 0.2s ease, color 0.2s ease,
              box-shadow 0.2s ease, border-color 0.2s ease,
              transform 0.15s ease;
}

/* hover / current */
.posts-pagination .page-numbers:hover {
  background: linear-gradient(135deg, #4c0b19, #4c0b19);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(44, 181, 156, 0.4);
  transform: translateY(-1px);
}

.posts-pagination .page-numbers.current {
  background: linear-gradient(135deg, #4c0b19, #4c0b19);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(44, 181, 156, 0.35);
  cursor: default;
}

/* стрелки Назад / Вперёд */
.posts-pagination .page-numbers.prev,
.posts-pagination .page-numbers.next {
  padding: 0 14px;
  font-weight: 600;
}

/* троеточие … */
.posts-pagination .page-numbers.dots {
  border: none;
  background: transparent;
  box-shadow: none;
  min-width: auto;
  padding: 0 4px;
}

/* адаптив — при очень узких экранах можно позволить перенос */
@media (max-width: 480px) {
  .posts-pagination {
    gap: 4px;
  }

  .posts-pagination .page-numbers {
    min-width: 32px;
    height: 32px;
    font-size: 12px;
    padding: 0 8px;
  }

  .posts-pagination .page-numbers.prev,
  .posts-pagination .page-numbers.next {
    padding: 0 10px;
  }
}
.custom-features-list { list-style: none; padding: 0; }
.custom-features-list li { 
    padding-left: 25px; margin-bottom: 12px; 
    position: relative; 
}
.custom-features-list li:before { 
    content: "•"; color: #f7931e; font-size: 24px; 
    position: absolute; left: 0; top: -2px; 
}
