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


@font-face {
  font-family: 'Inter Tight';
  src: url('../fonts/Inter_Tight/InterTight-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter Tight';
  src: url('../fonts/Inter_Tight/InterTight-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}



header{box-shadow: 0 0 25px rgba(0,0,0,0.25);}
main{padding-top: 20px;}
.footer-menu a {
  color: #fff;
  margin-right: 1rem;
  /* расстояние между ссылками */
}

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

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

.header-menu a:hover {
  color: #49494f;
  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:#1b1b1d;
  font-family: 'Roboto', sans-serif;
  font-weight:500;
  font-size:1.2em;
  padding: .5rem 0;
  margin: 0 0.5rem;
}
.nav-link:hover,.nav-link:active,.nav-link:focus{ color:#ce8100;}
/* Подчёркивание активного пункта и при наведении только на десктопе */
@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;  /* отступ под заголовком */
}


footer *{color:#fff !important}

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

.post-meta-row {


}

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



    color: #6c757d;
}

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

.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: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: 100%;        /* длина полос */
    height: 4px;       /* толщина полос */
    background-color: #1e2125; /* белые полосы */
    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%);}*/
#offcanvasMenu .site-logo img {
  filter: brightness(0) saturate(100%) invert(70%) sepia(81%) saturate(500%) hue-rotate(1deg) brightness(100%) contrast(95%);
}
#menu-langmenumob .current-lang .nav-link{color:#f3c430;}
.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:  '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: 2px solid #f7c200;      /* серая рамка */
    color: #f7c200;                  /* серый текст/иконка */
    border-radius: 50%;              /* полностью круглая */
    padding: 0.6em;                  /* равномерные отступы для круга */
    width: 40px;                     /* фиксированный размер круга */
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 20px;
    bottom: 10vh;                     /* 10% от высоты экрана */
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;       /* плавная анимация hover и появления */
    background-color: transparent;           /* белый фон по умолчанию */
}

.btn-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.btn-scroll-top:hover {
    background-color: #414146;       /* желтый фон при наведении */
    color: #f7c200;                   /* текст/иконка темная */
    border-color: #f7c200;            /* рамка в цвет фона */
}






.rounded-1em{
  border-radius:1em
}

.site-top{
background:#1b1b1d
}
.topmenu-nav{
margin-left: 80px;}
.topmenu-nav ul   li a{
  color:#f3c430;
  text-decoration:none
}
.topmenu-nav ul   li a:hover{
  color:#ca7d00
}

.bg-violet {
  background-color: #99a8fe !important;
}
.badge-categories a{text-decoration:none;font-size:15px;padding:5px 10px;color:#ffffff}

.post-card-thumb .badge-categories {
    position: absolute;
    top: 10px;
    left: 10px;
    width: fit-content;
    max-width: 80%;
    white-space: nowrap;
    z-index: 2;
}
.text-warning{color:#ca7d00}

ol.toc-list{
  margin:0;
  padding:0;
}
ol.toc-list li{
list-style-position: inside;
padding:5px 0
}

ol.toc-list li a{
color:#777;
text-decoration:none;
}

.single-post-toc .toc-list {
  max-height: 150px;          /* высота контейнера списка */
  overflow-y: auto;           /* вертикальный скролл */
  padding-right: 0.5rem;      /* чтобы текст не прилипал к скроллу */
  list-style-position: inside;
}

.mainmenu li {
  display: inline-block;
}

.mainmenu li a {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid #c0c0c0; /* серая рамка для неактивных */
  border-radius: 50rem;       /* чтобы была pill форма */
  background-color: #fff;
  color: #414146;
  font-weight:bold;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.mainmenu li a:hover,
.mainmenu li a:focus,
.mainmenu li.current-menu-item a,
.mainmenu li.current_page_item a {
  background-color: #f7c200;
  border-color: #f7c200;
  color: #414146;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem; /* расстояние между «pill» */
    padding-left: 0;
    list-style: none;
}

.pagination .page-item {
    display: inline-block;
}

.pagination .page-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid #c0c0c0; /* серая рамка */
    border-radius: 50rem;       /* полное скругление */
    background-color: #fff;
    color: #414146;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.pagination .page-link:hover,
.pagination .page-item.active .page-link,
.pagination .page-link.next:hover,
.pagination .page-link.prev:hover {
    background-color: #f7c200;
    border-color: #f7c200;
    color: #414146;
}

.pagination .page-item.disabled .page-link {
    opacity: 0.5;
    pointer-events: none;
}
.page-item:first-child .page-link {
  border-top-left-radius: 50rem;
  border-bottom-left-radius: 50rem;
}
.page-item:last-child .page-link {
  border-top-right-radius: 50rem;
  border-bottom-right-radius: 50rem;
}


.sitesocial-menu a{color: #414146;}
#footer-primary-menu .dropdown-menu{
  background-color: #414146;
}

#footer-primary-menu .dropdown-item:focus,#footer-primary-menu  .dropdown-item:hover {
  color: #1e2125;
  background-color: #6b6b73;
}
 footer .nav-link{
font-size: 1em;
  padding: 0;}

.icon-box {
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-box svg {
  width: 18px;
  height: 18px;
  display: block;
}
.btn-warning {
  background-color: #f7c200;
  border-color: #f7c200;
  color: #1e2125 !important;
  border-radius: 50rem; /* pills */
  font-weight: 500;padding:0.75em
}

.btn-warning:hover,
.btn-warning:focus {
  background-color: #e6b500;
  border-color: #e6b500;
  color: #1e2125 !important;
}

.btn-warning:active,
.btn-warning.active {
  background-color: #d9ab00;
  border-color: #d9ab00;
  color: #1e2125 !important;
}

.btn-warning:disabled,
.btn-warning.disabled {
  background-color: #f7c200;
  border-color: #f7c200;
  color: #1e2125 !important;
  opacity: 0.6;
}
.card-footer{
  background:#333
}

.card-footer *{
  font-size:14px !important
}
.card-footer:last-child {
  border-radius:1em;
}

.post-meta-row img,.reading-meta img{position: relative;
  top: -2px;}


.card-footer-border{
border-bottom: 1px solid #535353 !important;
  display: block;
  width: 100%;
height:1px;
}
.nav-item,
.dropdown-submenu {
	display: flex;
	align-items: center;
	position: relative;
}

.nav-item > a,
.dropdown-submenu > a {
	flex: 1 1 auto;
}

.dropdown-toggle-btn {
	background: none;
	border: 0;
	padding: 0 0.5rem;
	cursor: pointer;
}

.dropdown-menu {
	top: 100%;
	left: 0;
}
ul.menu-main li{
  display:flex;border: 1px solid #fff;
  border-radius: 50px;
}
.dropdown-submenu > .dropdown-menu {
	left: 100%;
	top: 0;
}

.dropdown-submenu {
	position: relative;
}

.dropdown-submenu > .dropdown-menu {
	position: absolute;
	top: 0;
	left: 100%;
	display: none;
}

.dropdown-submenu > .dropdown-menu.show {
	display: block;
}

.dropdown-item:hover,.dropdown-item.active {background:transparent;}

.dropdown-toggle{
  color:#555
}


.dropdown-submenu .dropdown-toggle{
  color:#555
}

#offcanvasMenu .dropdown-toggle{
  color:#555
}

.share-block {
  display: flex;
  align-items: center;
  gap: 10px; /* расстояние между текстом и иконками */

  border-bottom:1px solid #eaeaea;
}

.share-label {
  font-weight: bold;font-size:0.8em
}

.share-icons {
  display: flex;
  gap: 5px; /* расстояние между иконками */
}
.share-icon{
  padding:2px 5px;
  background:#f9f9f9;
  border:1px solid #eaeaea;
  border-radius:3px;
}
.share-icon svg {
  width: 16px;
  height: 16px;
  fill: #222;
  transition: transform 0.2s, color 0.2s;
}

.share-icon:hover svg {
  transform: scale(1.1);
  color: #777; /* цвет hover — можно менять под бренд */
}
/*=============*/
/* базовая структура */
.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:  'Roboto', sans-serif;
  font-weight: 500;
  font-size: 1.2em;}

 .hp-menu-link:hover {color:#f3c430;}
  .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:  'Roboto', sans-serif;
  font-weight: 500;
  font-size: 1.2em;
  padding-top:0.5em;padding-bottom:0.5em;
}

.offcanvas .topmenu li a{padding: 0;}
/* UL of the menu column */
.hp-footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Parent row: title left, chevron right */
.hp-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
}

.hp-footer-link {
  display: block;
  flex: 1 1 auto;
  text-decoration:none;

}

/* Toggle button */
.hp-footer-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.hp-footer-item.hp-footer-depth-0{padding:20px;
  border-top: solid 1px #4A4A50;font-size: 16px
}
.hp-footer-item.hp-footer-depth-0.is-open a{
  color:#f3c430 !important
}
/* Submenu: single line of badges */
.hp-footer-submenu {
  list-style: none;
  padding: 8px 0 0;
  margin: 0;

  display: flex;
  align-items: center;
  gap: 8px;

  /* перенос по строкам */
  flex-wrap: wrap;

  /* убираем внутренний скролл */
  overflow: visible;
}

.hp-footer-submenu > li {
  flex: 0 0 auto;
}

.hp-footer-sublink {
  display: inline-flex;
  align-items: center;
border: none;
  border-radius: 5px;
  height: 20px;
  background-color: #272729;
  padding: 15px 10px !important;
  font-size: 14px !important;
  line-height: 22px !important;
  font-weight: 400 !important; text-decoration:none;
  color:#fff !important
}
.hp-footer-item.is-open a.hp-footer-sublink { color:#fff !important}

/* Optional: rotate chevron when open */
.hp-footer-item.is-open .hp-footer-toggle svg {
  transform: rotate(180deg);
}

#footer-topmenu-nav .hp-footer-item.hp-footer-depth-0{padding:20px;
  border-top: solid 1px transparent;font-size: 16px
}
#breadcrumbs a,#breadcrumbs span,.breadcrumbs span a{color:#888;text-decoration:none;font-size:14px }
#breadcrumbs a:hover,.breadcrumbs span a:hover{color:#f3c430;text-decoration:none;font-size:14px}

.author-name a{
  color:#1B1B1D;
  font-weight:600;
  font-size:1.3rem
}

.author-job{color:#f3c430;}

h3.card-title a{
font-weight: 600;
  line-height: 1.3;
  display: flex;
}
.post-date img{filter: opacity(0.5);}

.single-post-header h1{
  font-size:3.5em;

}
a.block-title{
   line-height: 1.3;
  display: flex;
  font-size:1.2rem}
.rmp-heading--title{font-size:1.5rem;font-weight: 600;color:#1B1B1D;}

.rmp-heading--subtitle{display:none}
.rmp-rating-widget__results{
 font-size:0.8rem; color:#888;
}
.rmp-rating-widget .rmp-icon--full-highlight {
  color: #ffc93b;
}

@media (hover:hover) {
  .rmp-rating-widget .rmp-icon--hovered {
    color:#ff851a;
    -webkit-background-clip:initial;
    -webkit-text-fill-color:initial;
    background:0 0;
    transition:color .1s ease-in
  }
}

header:active {
  box-shadow: 0 0 25px rgba(0,0,0,0.25) !important;
}
