/* Roboto */
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto/Roboto-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto/Roboto-Italic-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* OpenSans */
@font-face {
  font-family: 'OpenSans';
  src: url('../fonts/opensans/OpenSans-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'OpenSans';
  src: url('../fonts/opensans/OpenSans-Italic-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

.footer-menu a {
  color: #fff;
  margin-right: 1rem;
  /* расстояние между ссылками */
}

.footer-menu a:hover {
  color: #dddddd;
  text-decoration: underline;
}

.header-menu a {
  color: #333;
  margin-right: 1rem;
  /* расстояние между ссылками */
}

.header-menu a:hover {
  color: #777;
  text-decoration: underline;
}

/* Убираем стандартные отступы и маркеры */
.footer-widget .menu {
  list-style: none;
  /* убираем точки */
  margin: 0;
  /* убираем внешние отступы */
  padding: 0;
  /* убираем внутренние отступы */
}

/* Ссылки делаем белыми */
.footer-widget .menu a {
  color: #ffffff;
  /* белый цвет */
  text-decoration: none;
  /* без подчеркивания */
}

/* При желании добавить hover эффект */
.footer-widget .menu a:hover {
  color: #dddddd;
  /* чуть светлее при наведении */
}

/* Скрыта, пока не в фокусе */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background-color: #000;
  /* можно под цвет темы */
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
  text-decoration: none;
  font-weight: bold;
  transition: top 0.3s;
}

/* Появляется при фокусе */
.skip-link:focus {
  top: 0;
}

.single-post-hero {
  min-height: 150px;
  /* минимальная высота секции */
  display: flex;
  align-items: center;
  /* выравнивание заголовка по центру вертикально */
  justify-content: center;
  /* по горизонтали */
  text-align: center;
  background-size: cover;
  background-position: center;
}

.gallery.fancy-gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(var(--cols, 3), 1fr);
}

/* адаптив */
@media (max-width: 992px) {
  .gallery.fancy-gallery {
    grid-template-columns: repeat(min(var(--cols, 2), 2), 1fr);
  }
}

@media (max-width: 576px) {
  .gallery.fancy-gallery {
    grid-template-columns: 1fr;
  }
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}



/*.slide-title{
    min-height:400px
}*/
.opacity-75 {
  opacity: .75 !important;
}

.opacity-50 {
  opacity: .5 !important;
}

.opacity-25 {
  opacity: .25 !important;
}

.swiper {
  /*      width: 100%;
      height: 100%;*/
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #444;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.general-thumbnail-slider .swiper-slide {
  position: relative;
  width: 25%;
  /*margin-top: 0.7rem;*/
  cursor: pointer;
}

.general-thumbnail-slider .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  /* затемняем */
  transition: opacity 0.3s ease;
  opacity: 1;
  pointer-events: none;
}

.general-thumbnail-slider .swiper-slide-thumb-active::after {
  opacity: 0;
  /* убираем затемнение у активного */
}

.general-enlarged-slider .swiper-slide {
  width: 60%;
  /* центральный будет шире */
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.5;
  /* по умолчанию полупрозрачные */
}

.general-enlarged-slider .swiper-slide-active {
  transform: scale(1.3);
  /* увеличиваем центральный */
  opacity: 1;
  z-index: 2;
}

.general-enlarged-slider .swiper-slide-prev,
.general-enlarged-slider .swiper-slide-next {
  transform: scale(0.9);
  /* боковые чуть меньше */
  opacity: 0.7;
  z-index: 1;
}

.general-enlarged-slider {
  overflow: hidden;
}

.general-enlarged-slider {
  padding: clamp(1rem, 4vh, 2.5rem) 0;
  overflow: hidden;
}

.general-enlarged-slider .swiper-wrapper {
  overflow: visible;
}

/*//////////*/
.general-ticker-slider {
  /*  width: 100%;
  height: 100%;
  position: relative;*/
}

/*.general-ticker-slider:after {
    content: '';
    display: block;
    width: 200%;
    height: 1px;
    background: linear-gradient(90deg, black 50%, transparent 50%);
    background-size: 10% 1px;
    background-position: -50px;
    background-repeat: repeat-x;
    position: absolute;
    left: -10%;
    top: 40%;
    animation: line-slide 60s forwards infinite linear;
    z-index: 1;
  }*/
.general-ticker-slider .swiper-wrapper {
  -webkit-transition-timing-function: linear !important;
  transition-timing-function: linear !important;
  position: relative;
}

.general-ticker-slider .swiper-slide {
  text-align: center;
  font-size: 33px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  position: relative;
  overflow: hidden;
  padding: 0 50px;
}

@keyframes line-slide {
  0% {
    background-position: -5% 0;
  }

  100% {
    background-position: 100% 0;
  }
}

.card-img-overlay-image {
  object-fit: cover;
}

.footer-border{
 align-self: center;
/*  max-width: 1240px;
  width: 100vw;*/
  height: 1px;
  margin-top: 30px;
  background: linear-gradient(90deg,#ffffff00 0,#fff 45%,#fff 55%,#ffffff00);
}
@media (max-width: 991.98px) {
  #site-header {
    min-height: 80px; /* можно 60–72, под твой логотип */
  }
}

.nav-link{
  color:#0060aa;
  font-family: 'OpenSans', 'Roboto', sans-serif;
  font-weight:500;
  font-size:1.2em;
  padding: .5rem 0;
  margin: 0 0.5rem;
}
/* Подчёркивание активного пункта и при наведении только на десктопе */
@media (min-width: 992px) {

  /* Ссылки */
  .nav li > a {
      position: relative;
      padding-bottom: 4px; /* пространство для линии */
     /* color: inherit;*/
  }

  /* Подчеркивание через ::after */
  .nav li > a::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      height: 3px;
      width: 100%;
      background-color: #0060aa;
      transform: scaleX(0);       /* по умолчанию скрыта */
      transform-origin: left;     /* точка начала анимации */
      transition: transform 0.3s ease; /* плавная анимация */
  }

  /* Hover — подчеркивание растёт слева направо */
  .nav li > a:hover::after {
      transform: scaleX(1);
  }

  /* Активный пункт — линия сразу видна */
  .nav .current-menu-item > a::after,
  .nav .active > a::after {
      transform: scaleX(1);
  }
}
.single-post-hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* заголовок снизу */
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
}

.title-bar {
    width: 100%;
}
.section-title {
    position: relative;
    display: inline-block; /* чтобы линия не тянулась на всю ширину контейнера */
    margin-bottom: 1.5rem;  /* отступ под заголовком */
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;          /* ширина линии */
    height: 4px;           /* толщина линии */
    background-color: #00005b;
    margin-top: 1.5rem;    /* отступ от текста заголовка */
}
footer *{color:#fff !important}

.card-title a,.post-category a,.post-author a,.section-title a{
  text-decoration:none
}

.post-meta-row {


}
.breadcrumbs a{
  color:#fff
}
.breadcrumbs a:hover{
  color:#f5f5f5
}
.post-meta-row > * + *::before {
    content: '•';
    margin: 0 0.5rem;
    color: #00005b;
}
.post-meta-row.author-date {



    color: #00005b;
}

.post-meta-row.author-date > * + *::before {
    content: '•';
    margin: 0 0.5rem;
    color: #00005b;
}

.btn-primary {
    background-color: #0060aa !important;
    border-color: #0060aa !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #005799 !important; /* чуть темнее для ховера */
    border-color: #005799 !important;
}



@media(max-width:992px){
.site-logo img{
  width: 100px
}
}
.rounded-75{
  border-radius: .75rem  !important;
}
.burger-btn {
    width: 40px;   /* почти квадрат */
    height: 40px;
  padding: 5px 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.burger-btn span {
    display: block;
    width: 70%;        /* длина полос */
    height: 4px;       /* толщина полос */
    background-color: #fff; /* белые полосы */
    border-radius: 3px !important;     /* скругление краёв */
}
.author-post-section{

  background:#edf6fd
}
.offcanvasMenu ul {
  margin:0;
  padding:0;
}
.offcanvasMenu ul li{
    margin:0;
  padding:0;list-style:none
}
.offcanvasMenu ul li a{
color:#fff
}
.offcanvasMenu ul li a:hover,.offcanvasMenu ul li a:active{
color:#f4f4f4
}
#offcanvasMenu{
  background:#4f5961
}

#offcanvasMenu .btn-close{
  filter: invert(100%);
}
#offcanvasMenu .site-logo img{
filter: grayscale(100%) invert(100%) brightness(2000%);}

.pagination {
    --bs-pagination-color: #0061aa;
    --bs-pagination-hover-color: #0061aa;
    --bs-pagination-active-color: #fff;

    --bs-pagination-bg: transparent;
    --bs-pagination-hover-bg: rgba(0, 97, 170, 0.08);
    --bs-pagination-active-bg: #0061aa;

    --bs-pagination-border-color: #0061aa;
    --bs-pagination-hover-border-color: #0061aa;
    --bs-pagination-active-border-color: #0061aa;
}
.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: #0061aa;
  border-color: #0061aa;
}
.single .post-categories{
margin:20px 0;
}
.single ul.post-categories  {

}
.single ul.post-categories  li{

}
.single ul.post-categories  li a{
text-decoration:none;
color: #0060aa;
  font-family: 'OpenSans', 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 1.2em;
  padding: .5rem 0;
  margin: 0 0.5rem;

  position: relative;
}

.single ul.post-categories  li a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background-color: #aaaaaa;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
  transform: scaleX(1);
}

.single ul.post-categories  li:first-child a:after {
    content: '';
    background-color: #0060aa;

}

.single ul.post-categories li a:hover::after {
   content: '';
  background-color: #0060aa;
}
.btn-scroll-top {
  border-color:#dcdcdc !important;
  color:#dcdcdc !important;
  border-radius:5px;padding: 0.25em 0.5em;
  position: fixed;
  right: 20px;
  bottom: 10vh; /* 10% от высоты экрана */
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.btn-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
}
.btn-scroll-top:hover{
  background:#0060aa !important
}
.section-title-chevron:before{
 content:">";
font-size: 1.5em;
  font-weight: 700;
  position: absolute;
  display: block;
  right: -50px;
  top: -10px;
}



.single-post-toc .toc-items {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 6px;
}

.single-post-toc .toc-items::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background-color: #e5eef3;
    z-index: 1;
}

.single-post-toc a.toc-item {
    position: relative;
    z-index: 2; /* ВАЖНО */
    text-decoration: none;
    color: #0060aa;
    font-family: 'OpenSans', 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 1.2em;
    padding: .5rem .75rem; /* ← вместо gap */
    margin: 0;             /* gap убран полностью */
}
.single-post-toc a.toc-item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px; /* точно на серой линии */
    width: 100%;
    height: 3px;
    background-color: #0060aa;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
    z-index: 3; /* выше серой линии */
}
.single-post-toc a.toc-item:hover::after {
    transform: scaleX(1);
}
.single-post-toc .toc-header {
    cursor: pointer;
}


.single-post-toc.is-collapsed .toc-body {
    display: none;
}


.single-post-toc .toc-header {
    cursor: pointer;
}

.single-post-toc .toc-toggle svg {
    transition: transform .25s ease;
    vertical-align: middle;
    margin-left: .4rem;
}

.single-post-toc .toc-toggle svg {
    transform: rotate(90deg);
}
.single-post-toc.is-collapsed .toc-toggle svg {transform: rotate(0deg);
}

/* WordPress image alignment */

.post-content .alignleft {
  float: left;
  margin: 0 1.5em 1em 0;
}

.post-content .alignright {
  float: right;
  margin: 0 0 1em 1.5em;
}

.post-content .aligncenter {
  display: block;
  margin: 0 auto 1em;
  float: none;
}

@media (max-width: 767px) {
 .post-content  .alignleft,
 .post-content  .alignright {
    float: none;
    display: block;
    margin: 0 auto 1em;
  }
}

.post-content img {
  max-width: 100% !important;
  height: auto !important;
}


.fancy-gallery .gallery-caption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: center;
}

.fancy-gallery .gallery-title {
  font-weight: 600;
}

.fancy-gallery .gallery-text {
  color: #666;
}
.hp-menu,
.hp-menu .hp-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hp-menu-linkwrap {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.hp-menu-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* кнопка-стрелка (вы можете поставить svg background) */
.hp-menu-toggle {
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* ---------------- DESKTOP ---------------- */
@media (min-width: 992px) {
  .hp-menu { display: flex; gap: 1rem; }

  .hp-menu-item { position: relative; }

  .hp-submenu {
    display: none;
    position: absolute;
    z-index: 1000;
    min-width: 14rem;
  }

  /* 1-й уровень: вниз */
  .hp-menu > .hp-menu-item > .hp-submenu {
    top: 100%;
    left: 0;
  }

  /* 2-й и 3-й уровни: вбок */
  .hp-submenu .hp-menu-item > .hp-submenu {
    top: 0;
    left: 100%;
  }

  /* флип влево (JS будет добавлять класс) */
  .hp-menu-item.hp-submenu-left > .hp-submenu {
    left: auto;
    right: 100%;
  }

  /* открытие hover/focus-within */
  .hp-menu-item:hover > .hp-submenu,
  .hp-menu-item:focus-within > .hp-submenu {
    display: block;
  }

  /* на десктопе стрелку можно оставить (для тача), но можно и скрыть */
  /* .hp-menu > .hp-menu-item > .hp-menu-linkwrap > .hp-menu-toggle { display:none; } */
}

/* ---------------- MOBILE / OFFCANVAS ---------------- */
.hp-offcanvas-nav .hp-menu {
  display: block;
}

.hp-offcanvas-nav .hp-menu-item {
  position: relative;
}

.hp-offcanvas-nav .hp-submenu {
  display: none;
  padding-left: 12px; /* базовый отступ */
  margin-top: .75rem;
}

.hp-offcanvas-nav .hp-menu-item.is-open > .hp-submenu {
  display: block;
}

/* отступы по уровню (можно менять числа) */
.hp-offcanvas-nav .hp-menu-item[data-depth="0"] > .hp-submenu { padding-left: 12px; }
.hp-offcanvas-nav .hp-menu-item[data-depth="1"] > .hp-submenu { padding-left: 24px; }
.hp-offcanvas-nav .hp-menu-item[data-depth="2"] > .hp-submenu { padding-left: 36px; }
.hp-menu-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: currentColor; /* на всякий случай */
}

.hp-menu-toggle svg{
  display:block;
  width: 16px;
  height: 16px;
  opacity: .8;
}

.hp-menu-item:hover > .hp-menu-linkwrap .hp-menu-toggle svg,
.hp-menu-item:focus-within > .hp-menu-linkwrap .hp-menu-toggle svg{
  opacity: 1;
}
@media (min-width: 992px) {
  .hp-submenu{
    background: #fff;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: .5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    padding: 0.75rem !important;
  }
.hp-menu-link{color: #1b1b1d;
    font-family: 'OpenSans', 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 1.2em;}

 .hp-menu-link:hover {color:#0061AA;}
  .hp-submenu .hp-menu-link{
    display:flex;
    padding: .4rem .6rem;
    border-radius: .375rem;
font-size: 1em;
  }

  .hp-submenu .hp-menu-link:hover,
  .hp-submenu .hp-menu-link:focus{
    /*background: rgba(0,0,0,.06);*/
    background:transparent;
  }
}
.hp-menu-toggle svg{
  transition: transform .2s ease;
}
@media (min-width: 992px){

  /* 2 и 3 уровень — по умолчанию вправо */
  .hp-menu-item.hp-depth-1.hp-has-children > .hp-menu-linkwrap .hp-menu-toggle svg,
  .hp-menu-item.hp-depth-2.hp-has-children > .hp-menu-linkwrap .hp-menu-toggle svg{
    transform: rotate(-90deg);
  }

  /* если submenu флипнулся влево */
  .hp-menu-item.hp-submenu-left > .hp-menu-linkwrap .hp-menu-toggle svg{
    transform: rotate(90deg);
  }

}
@media (min-width: 992px){

  /* Внутри выпадашек каждая строка меню — на всю ширину */
  .hp-submenu .hp-menu-linkwrap{
    width: 100%;
  }

  /* Ссылка занимает всё доступное место → стрелка уезжает вправо */
  .hp-submenu .hp-menu-link{
    flex: 1 1 auto;
    min-width: 0;
  }

  /* Чтобы кликабельная зона была как у нормального меню */
  .hp-submenu .hp-menu-link,
  .hp-submenu .hp-menu-toggle{
    /*height: 2.25rem;*/ /* можно убрать/подогнать */
  }

  /* Стрелка в край */
  .hp-submenu .hp-menu-toggle{
    margin-left: auto;
    flex: 0 0 auto;
  }
}
@media (min-width: 992px){
  .hp-submenu .hp-menu-link{
    display: flex;
    align-items: center;
  }
}


/* MOBILE / OFFCANVAS */
.hp-offcanvas-nav .hp-menu-linkwrap{
  width: 100%;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.hp-offcanvas-nav .hp-menu-link{
  flex: 1 1 auto;
  min-width: 0;
}

.hp-offcanvas-nav .hp-menu-toggle{
  margin-left: auto;
  flex: 0 0 auto;
}
.hp-offcanvas-nav .hp-menu-toggle{
  color: #fff;
}
.hp-offcanvas-nav .hp-menu-link{
  color: #fff;
  font-family: 'OpenSans', 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 1.2em;
  padding-top:0.5em;padding-bottom:0.5em;
}

.offcanvas .topmenu li a{padding: 0;}
.form-card{
  background-color: #ecf3fe;
  border-radius: 10px !important;
  padding: 1em;
  font-size: 18px;
  box-shadow: 0 1px 4px #00000029;}
.form-title{color: #002766;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 24px;}
.form-card .form-control{
color: #002766;
  resize: none;
  border: 1px solid #0061aa;
  border-radius: 10px !important;
  padding-left: 10px;
  font-size: 18px;
    background-color: #ecf3fe;
}
.form-card .form-control::placeholder {
  font-size: 18px;
}
.form-card p{margin:0 !important}


.form-card .wpcf7-submit{
  text-align: center  !important;
  color: #000  !important;
  cursor: pointer;
  background-color: #ecf3fe !important;
  border: 1px solid #000;
  border-radius: 10px  !important;
  margin: 5px 0 20px  !important;
  padding: 13px 30px  !important;
  font-size: 18px  !important;
}
.form-card .wpcf7-submit:hover,.form-card .wpcf7-submit:active,.form-card .wpcf7-submit:focus{
  background-color:  #0061aa !important;
  color:#fff !important;
}


/* ===== Top-level menu underline (desktop) ===== */
@media (min-width: 992px) {
  /* на всякий случай: позиционируем ссылку как контейнер для псевдоэлемента */
  li.hp-menu-item.hp-depth-0 > .hp-menu-linkwrap > a.hp-menu-link {
    position: relative;
    display: inline-block; /* чтобы псевдоэлемент центровался по ширине текста */
    padding-bottom: 10px;  /* место под полоску (подстрой по макету) */
    text-decoration: none;
  }

  /* сама полоска */
  li.hp-menu-item.hp-depth-0 > .hp-menu-linkwrap > a.hp-menu-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;               /* полоса прямо под текстом */
    width: 50px;             /* нужная ширина */
    height: 4px;             /* нужная толщина */
    background: #002766;     /* нужный цвет */
    transform: translateX(-50%) scaleX(0); /* схлопнута в центре */
    transform-origin: center;
    transition: transform 220ms ease;
    border-radius: 2px;      /* можно убрать если нужна “рубленая” */
    pointer-events: none;
  }

  /* hover + клавиатурный фокус */
  li.hp-menu-item.hp-depth-0 > .hp-menu-linkwrap > a.hp-menu-link:hover::after,
  li.hp-menu-item.hp-depth-0 > .hp-menu-linkwrap > a.hp-menu-link:focus-visible::after {
    transform: translateX(-50%) scaleX(1); /* раскрывается из центра */
  }

  /* активный пункт: полоса всегда включена */
  li.hp-menu-item.hp-depth-0 > .hp-menu-linkwrap > a.hp-menu-link.is-active::after,
  li.hp-menu-item.hp-depth-0.current-menu-item > .hp-menu-linkwrap > a.hp-menu-link::after,
  li.hp-menu-item.hp-depth-0.current_page_item > .hp-menu-linkwrap > a.hp-menu-link::after {
    transform: translateX(-50%) scaleX(1);
  }
}
/* Карточка слайда */
.aktsii-slide{
  background: transparent;           /* убираем серую подложку */
  border: 1px solid #e3e3e3;         /* светло-серая рамка */
  border-radius: 6px;
  padding: 10px;
  height: 100%;                      /* важное для одинаковой высоты */
  display: flex;
  flex-direction: column;
}

/* Сделать у swiper равную высоту слайдов */
.aktsii-swiper .swiper-wrapper{
  align-items: stretch;
}
.aktsii-swiper .swiper-slide{
  height: auto;
  background: transparent;           /* если серый фон был на slide */
  display: flex;                     /* чтобы .aktsii-slide мог растянуться */
}

/* Картинка */
.aktsii-slide__img img{
  display: block;
  width: 100%;
  height: auto;
}

/* Заголовок */
.aktsii-slide__title{
  margin-top: 10px;
  text-align: left;
  font-weight: 500;
  color: #00005b;
  line-height: 1.25;
}

/* Кнопка запроса */
.aktsii-btn-request{
  background: #0178cc;
  color: #fff;
  border: 0;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;line-height: 10px;
}
.aktsii-btn-request:hover{
  filter: brightness(0.95);
  color: #fff;
}
.aktsii-btn-request__inner{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;              /* расстояние между иконкой и текстом */
  width: 100%;
}
.aktsii-btn-request svg{
  flex: 0 0 auto;
}

.aktsii-modal .wpcf7-response-output{
  margin: 12px 0 0;
}
.aktsii-modal .wpcf7-not-valid-tip{
  font-size: 13px;
}

.aktsii-btn-request,
.aktsii-btn-request:hover,
.aktsii-btn-request:focus,
.aktsii-btn-request:active,
.aktsii-btn-request:focus-visible {
  background-color: #0178cc;
  color: #ffffff !important;
  border-color: #0178cc;
  text-decoration: none;
}

/* чтобы svg тоже всегда был белый */
.aktsii-btn-request svg {
  color: #ffffff;
}

/* убрать синий bootstrap outline и тени */
.aktsii-btn-request:focus,
.aktsii-btn-request:focus-visible {
  box-shadow: 0 0 0 0.2rem rgba(1,120,204,0.25);
  outline: none;
}

/* если bootstrap применяет .btn-primary.active */
.aktsii-btn-request:not(:disabled):not(.disabled):active {
  background-color: #016ab5;
  border-color: #016ab5;
}

#aktsii-cf7-modal-1160{
  padding:0;
}
.f-html:has(.aktsii-modal) {
  padding: 0 !important;
}
/* CF7: сообщение ответа — без рамок и с нормальными отступами */
.wpcf7 form .wpcf7-response-output{
  margin: 12px 0 0;
  padding: 8px 10px;
  border: 0 !important;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.3;
}

/* Подсказки ошибок под полями — компактнее */
.wpcf7-not-valid-tip{
  margin-top: 4px;
  font-size: 12px;
}

/* Цвета статусов (без “кирпичей” CF7) */
.wpcf7 form.sent .wpcf7-response-output{
  /*background: rgba(25, 135, 84, 0.12);*/  /* зелёный фон */
  color: #0f5132;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output{
  /*background: rgba(220, 53, 69, 0.12);*/  /* красный фон */
  color: #842029;
}
/* Убрать лишний абзац вокруг кнопки */
.form-card .d-grid p {
  margin-bottom: 0;
}

/* Уменьшаем отступ сверху у сообщения */
.form-card .wpcf7-response-output {
  margin-top: 10px !important;
}

/* Убираем лишние паддинги/границы */
.form-card .wpcf7-response-output {
  padding: 8px 10px;
  border: 0 !important;
}

/* Чтобы спиннер не растягивал высоту */
.form-card .wpcf7-spinner {
  margin: 0 0 0 8px;
}.form-card .wpcf7-response-output {
  margin: 6px 0 0 !important;
}
.form-card .wpcf7-submit{  margin-bottom: 0 !important;}

/* 1) Убираем лишние отступы и делаем опорную точку для absolute */
.form-card .d-grid p{
  margin: 0;
  position: relative;
}

/* 2) Спиннер не должен занимать место */
.form-card .wpcf7-spinner{
  position: absolute !important;
  top: 50% !important;
  right: 14px;              /* можно center: left:50% + transform */
  transform: translateY(-50%) !important;

  margin: 0 !important;
  padding: 0 !important;
  display: none;            /* по умолчанию скрыт */
  line-height: 0 !important;
  vertical-align: middle;
  pointer-events: none;
  z-index: 2;
}

/* CF7 добавляет классы submitting во время отправки */
.wpcf7 form.submitting .wpcf7-spinner{
  display: inline-block;
}

/* 3) Чтобы спиннер не наезжал на текст — добавим паддинг справа кнопке */
.form-card .wpcf7-submit{
  padding-right: 44px;
}

/* 4) Сообщение ответа прижмём ещё ближе */
.form-card .wpcf7-response-output{
  margin: 6px 0 0 !important;
}




.aktsii-slider-wrap{
  position: relative;
}

.aktsii-slider-inner{
  /* уменьшаем ширину контента, чтобы по бокам торчали стрелки */
  padding: 0 44px; /* место под квадратные кнопки */
}

/* Кнопки навигации */
.aktsii-slider-wrap .aktsii-nav-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 1px solid #e3e3e3;
  background: #fff;
  border-radius: 0;
  margin-top: 0;
  z-index: 5;
}

.aktsii-slider-wrap .swiper-button-prev{ left: 0; }
.aktsii-slider-wrap .swiper-button-next{ right: 0; }

/* убираем дефолтную стрелку Swiper */
.aktsii-slider-wrap .aktsii-nav-btn::after{
  content: "";position: relative;
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 auto;
  border-right: 2px solid #8a8a8a;
  border-bottom: 2px solid #8a8a8a;
}
.aktsii-slider-wrap .swiper-button-prev::after{ transform: rotate(135deg); left:3px}
.aktsii-slider-wrap .swiper-button-next::after{ transform: rotate(-45deg);right:3px }

.aktsii-slider-wrap .aktsii-nav-btn.swiper-button-disabled{
  opacity: 0.4;
  cursor: not-allowed;
}
/* Кнопка из шорткода внутри текста — НЕ на всю ширину */
.aktsii-btn-request.aktsii-btn-request--inline {
  width: auto;
  display: inline-flex;
  vertical-align: middle;
}
.aktsii-slide__price{
  color:#1ba524;
  font-weight:700;
}
@media (max-width: 767.98px) {
  .single-post-hero {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
  }

  .single-post-hero > img {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
  }

  /* контейнер, который был absolute поверх картинки — на мобиле убираем наложение */
  .single-post-hero .container.position-absolute {
    position: static !important;
    width: auto !important;
    height: auto !important;
  }
}
.ratio-2x1 {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.ratio-2x1::before {
  content: "";
  display: block;
  padding-top: 50%;
}

.ratio-2x1 > img,
.ratio-2x1 > .post-card-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
