/* 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;
}

.gallery-columns-1 {
  grid-template-columns: repeat(1, 1fr);
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* адаптив */
@media (max-width: 992px) {

  .gallery-columns-4,
  .gallery-columns-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {

  .gallery-columns-4,
  .gallery-columns-3,
  .gallery-columns-2 {
    grid-template-columns: repeat(1, 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: 100px; /* можно 60–72, под твой логотип */
  }
}

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

.single-post-hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* заголовок снизу */
}

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

.title-bar {
    width: 100%;
}

/*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: #555555;
}
.post-meta-row.author-date {



    color: #555555;
}

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

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

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



@media(max-width:992px){
.site-logo img{
  width:80%
}
}
.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: #333; /* белые полосы */
    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%);
}*/


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

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

    --bs-pagination-border-color: #555555;
    --bs-pagination-hover-border-color: #555555;
    --bs-pagination-active-border-color: #555555;
}
.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: #555555;
  border-color: #555555;
}
.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: #555555;
  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: #555555;

}

.single ul.post-categories li a:hover::after {
   content: '';
  background-color: #555555;
}
.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:#555555 !important
}
.section-title-chevron:before{
 content:">";
font-size: 1.5em;
  font-weight: 700;
  position: absolute;
  display: block;
  right: -50px;
  top: -10px;
}
.site-logo a img{
  width:80px;
  height:80px;
}
h3.card-title{font-size:0.85em}
.nav-link:focus, .nav-link:hover {
  color: #333;
}

.swiper-button-next, .swiper-button-prev,.swiper-pagination-bullet-active{color:#fff}
.swiper-pagination-bullet{
  background:#ececec;color:#ececec;opacity:0.75
}
.swiper-pagination-bullet-active{
  background:#ffd013 !important;opacity:1
}
@media(min-width:992px){
.home header {filter:invert(1)}


}

.contact-item a {
	color: inherit;
	text-decoration: none;
}

.contact-item a:hover {
	text-decoration: underline;
}

.contact-icon {
	width: 16px;
	/*min-width: 16px;
	height: 16px;*/
	/* сюда позже вставишь SVG */
}

.contacts-map iframe {
	width: 100%;
	height: 100%;
	border: 0;
}


footer{font-size:0.9em;color:#d4d4d4}



.dropdown-item:active {
  color: #555;
  text-decoration: none;
  background-color: #eaeaea;
}

.page-link,.page-link:focus {
  color: #555;}


.slide-title{font-size: 2.5rem;text-transform:uppercase;font-weight:700}
.slide-text{font-size:1.5rem;text-transform:uppercase;font-weight:700}
.slide-btn.btn{font-size:1rem;text-transform:uppercase;font-weight:700}

@media(max-width:1024px){
.slide-title{font-size: 1.5rem;}
.slide-text{font-size:0.9rem;}
.slide-btn.btn{font-size:0.8rem;}

}
.header-menu a:hover,.header-menu a:active,.header-menu a:focus{text-decoration:none}


header{
  z-index: 1000;
}
