:root {
  --head-color: #212121;
  --stext-color: #000;
  --post-text-color: #49454F;
  --text-color: #002050;
  --wtext-color: #fff;
  --bg-color: #fff;
  --box-color: #fff;
  --border-color: #e2e8f0;
  --wrap-color: #eff2f7;

  /* NEW PALETTE */
  --primary-color: #356cc4; /* основной синий */
  --accent-color: #dc0202;  /* акцентный красный */

  /* 66% blue / 33% red */
  --grady-color: linear-gradient(85deg, var(--primary-color) 0%, var(--primary-color) 66%, var(--accent-color) 100%);
}

::selection {
  color: white;
  background: var(--primary-color);
}

input[type="search"]:focus, textarea:focus{
  color: #424753;
  /* color: var(--text-color); */
}
input[type="search"]:focus {
  background: #E6E8F1;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

.comment-form-comment textarea{
  color: var(--text-color);
}

body {
  background: #ECEDF7;
}

.wrapper {
  background-color: transparent;
}

.wd-back {
  background: rgba(255 255 255 / 40%);
}

.featured-widget.wd-back,.featured-widget{
  background: rgba(255 255 255 / 40%);
}

.bs-blog-post{
  box-shadow: none;
}

.small-post{
  background: transparent;
  border-color: #fff;
}

.comments-area img.avatar{
  border-color: var(--primary-color);
}

.site-title a, .site-description {
  color: var(--stext-color);
}

.navbar-toggler:hover, .navbar-toggler::focus {
  background: var(--primary-color);
}

.bs-headtwo{
  background: #F2F3FD;
}

.bs-headtwo .navbar-wp {
  border-color: var(--border-color);
}

.bs-latest-heading {
  color: #fff;
  background: var(--accent-color);
}

.bs-latest-play {
  background-color: #eaeaf3;
}

.bs-latest-news {
  border-color: var(--primary-color);
}

.bs-latest-list {
  color: var(--head-color);
}

.bs-latest-list:hover {
  color: var(--primary-color);
}

.bs-latest-news .bs-latest-img{
  border-color: var(--primary-color);
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/*==================== topbar ====================*/
.switch input:checked + .slider{
  background: #ccc;
}

/* 66/33 gradient: blue -> red */
.bs-head-detail {
  background-image: var(--grady-color);
}

.bs-head-detail .info-left li a,
.bs-head-detail li a i,
.bs-head-detail .info-right li a {
  color: #fff;
}

.bs-head-detail .top-date {
  color: #fff;
}

/* red accent pill (точечно) */
.bs-head-detail .top-date .time {
  background: var(--accent-color);
  color: #fff;
}

/*==================== default header ====================*/
.navbar-wp .navbar-nav > li> a {
  color: var(--head-color);
}

.navbar-wp .navbar-nav > li > a:hover,
.navbar-wp .navbar-nav > li > a:focus {
  color: var(--primary-color);
}

.navbar-wp .dropdown-menu {
  background: var(--bg-color);
}

.navbar-wp .dropdown-menu > li > a {
  background-color: rgba(255 255 255 / 40%);
  color: var(--head-color);
}

.bs-menu-full .navbar-wp .dropdown-menu > li > a:hover,
.bs-menu-full .navbar-wp .dropdown-menu > li > a:focus  {
  background: var(--primary-color);
  color: white;
}

.navbar-wp .dropdown-menu.searchinner [type=submit] {
  background: var(--primary-color);
  color: #fff;
}

.navbar-wp .dropdown-menu.searchinner .btn:hover {
  background-color: #0F1012;
  color: #fff;
}

.right-nav a::after {
  background: #0F1012;
}

.right-nav a, .switch .slider::before{
  background: var(--primary-color);
  color: #fff;
}

.right-nav a:hover, .right-nav a:focus {
  color: #fff;
}

button.navbar-toggler.x {
  background: transparent;
}

/*==================== Theme Menu ====================*/
/**Category Color **/
/* a.category-color-1{background: var(--primary-color);color: #fff} */
a.category-color-2{background: var(--accent-color); color: #fff}
a.category-color-3{background: #622569; color: #fff}
a.category-color-4{background: #82b74b; color: #fff}

.bs-blog-category a:hover{color: #727785;}

/*==================== Body & Global ====================*/
body {
  color: #5b5b5b;
}

input:not([type]),
input[type="email"],
input[type="number"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="text"],
textarea {
  color: #9b9ea8;
  border-color: #eef3fb;
}

.form-control:hover,
textarea:hover,
input:not([type]):hover,
input[type="email"]:hover,
input[type="number"]:hover,
input[type="password"]:hover,
input[type="tel"]:hover,
input[type="url"]:hover,
input[type="text"]:hover,
input:not([type]):focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="text"]:focus {
  border-color: var(--primary-color);
}

input[type="submit"], button {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

input[type="submit"]:hover, button:hover,
input[type="submit"]:focus, button:focus {
  background: #0F1012;
  border-color: #0F1012;
  color: #fff;
}

a {
  color: var(--primary-color);
}

a:hover, a:focus {
  color: var(--head-color);
}

.wp-block-calendar tbody td{
  color: var(--text-color);
}

.bs-error-404 h1 i {
  color: var(--accent-color);
}

.grey-bg {
  background: #f4f7fc;
}

.bs .swiper-button-prev,
.bs .swiper-button-next {
  background: #0F1012;
  color: #fff;
}

.bs .swiper-button-prev:hover,
.bs .swiper-button-next:hover  {
  background: var(--primary-color);
  color: #fff;
}

.bs-social li .fa-facebook-f,
.bs-social li .fa-facebook,
.facebook {
  background: #135CB6;
  color: #fff;
}

.bs-social li .fa-twitter, .twitter {
  background: #00ACED;
  color: #fff;
}

.bs-social li .fa-x-twitter, .x-twitter {
  background: #333;
  color: #fff;
}

.bs-social li .fa-linkedin, .linkedin {
  background: #0078ca;
  color: #fff;
}

.bs-social li .fa-telegram, .telegram {
  background: #0088cc;
  color: #fff;
}

.bs-social li .fa-instagram, .instagram {
  background: radial-gradient(circle farthest-corner at 32% 106%,#ffe17d 0,#ffcd69 10%,#fa9137 28%,#eb4141 42%,transparent 82%),linear-gradient(135deg,#234bd7 12%,#c33cbe 58%);
}

.bs-social li .fa-youtube, .youtube  {
  background: #cd201f;
  color: #fff;
}

.bs-social li .fa-pinterest, .pinterest {
  background: #bd081c;
  color: #fff;
}

.bs-social li .fa-dribbble, .dribbble {
  background: #ea4c89;
  color: #fff;
}

.bs-social li .fa-whatsapp, .whatsapp {
  background: #1FB381;
  color: #fff;
}

.bs-social li .fa-reddit, .reddit{
  background: #ff4500;
  color: #fff;
}

.bs-social li .fa-discord, .discord{
  background: #404eed;
  color: #fff;
}

.bs-social li .fa-discord, .print-r{
  background: #222;
  color: #fff;
}

.envelope {
  background: var(--accent-color);
  color: #fff;
}

.post-share-icons {
  border-color: var(--border-color);
}

.post-share-icons a {
  color: #fff;
}

.bs-social li i {
  background: transparent !important;
  color: #fff;
}

.bs-social li i::after {
  background: transparent;
}

.bs-widget .bs-widget-tags a{
  color: var(--text-color);
  background: transparent;
  border-color: #E0E0E0;
}

.bs-widget .bs-widget-tags a:hover,
.bs-widget .bs-widget-tags a:focus{
  color: #fff;
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.tabarea-area .nav-tabs .nav-link {
  background: var(--bg-color);
  color: var(--text-color);
  border-color: #eee;
}

.tabarea-area .nav-tabs .nav-link:hover,
.tabarea-area .nav-tabs .nav-link:focus,
.tabarea-area .nav-tabs .nav-link.active {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.bs-widget.promo {
  background-color: #eee;
}

.bs-widget.promo:hover .text::before{
  border-top-color: var(--primary-color);
  border-right-color: var(--primary-color);
}

.bs-widget.promo:hover .text::after{
  border-bottom-color: var(--primary-color);
  border-left-color: var(--primary-color);
}

.bs-widget.promo .inner-content {
  background: rgba(0, 0, 0, 0.1);
}

.bs-widget.promo:hover .inner-content {
  background: rgba(0, 0, 0, 0.8);
}

.bs-widget.promo h5 a {
  color: var(--head-color);
  background: var(--bg-color);
}

.bs-widget.promo:hover h5 a,
.bs-widget.promo h5 a:focus {
  background: var(--primary-color);
  color: #fff;
}

.bs_model .modal-content {
  background-color: rgba(255 255 255 / 80%);
}

/*==================== widget latest ====================*/
.bs-slide.overlay:before {
  background: rgba(0, 0, 0, 0.6);
}

.bs-slide .inner .title a {
  color: #fff;
}

.bs-slide .inner .title a:hover,
.bs-slide .inner .title a:focus {
  color: var(--primary-color);
}

.bs-slide.one .bs-blog-meta,
.bs-slide.one .bs-blog-meta a,
.bs-slide.one .bs-blog-meta span:before {
  color: #fff;
}

.bs-slide.two .inner .title a,
.bs-slide.three .inner .title a {
  color: #000;
}

.bs-slide.two .inner::after,
.bs-slide.three .inner::after {
  background: #fff;
}

/*==================== widget Title ====================*/
.bs-widget {
  background: var(--bg-color);
}

.bs-widget-title {
  border-color: #d7d7d7;
}

.bs-widget-title .title{
  color: var(--head-color);
}

.bs-widget-title .title:before {
  background: var(--primary-color);
}

.bs-widget-title .title:after,
.widget_block h2:after,
.wp-block-search__label:after {
  background: var(--primary-color);
}

.bs-widget-title.three .title:after {
  background: var(--accent-color);
}

.bs-widget-title.two .title {
  background: var(--accent-color);
  color: #fff;
}

.widget_block h2:before,
footer .wp-block-heading::before {
  background: var(--primary-color);
}

.wp-block-search__label:before {
  background: var(--primary-color);
}

/*==================== featured tab widget ====================*/
.featured-tab-widget .nav-link.active,
.featured-tab-widget .nav-link:hover,
.featured-tab-widget .nav-link:focus {
  color: var(--primary-color);
}

.featured-tab-widget .nav-link {
  color: #0F1012;
}

/*==================== Blog ====================*/
.small-post .title a {
  color: var(--head-color);
}

.small-post .title a:hover,
.small-post .title a:focus {
  color: var(--primary-color);
}

/*==================== Blog ====================*/
.bs-blog-post {
  background: rgba(255 255 255 / 90%);
}

.bs-blog-post .small {
  /* color: var(--text-color); */
}



.bs-blog-post .bs-header .btitle,
.bs-blog-post .bs-header .btitle a {
  color: var(--head-color);
}

/* небольшой красный акцент */
.bs-blog-post .bs-header .bs-read{
  color: var(--accent-color);
}

.bs-blog-post .single .nav-links{
  background: #e2e8f0;
}

.bs-blog-post .single .nav-links a,
.bs-blog-post .single .single-nav-links a {
  color: var(--head-color);
}

.bs-blog-post .single .nav-links a:hover,
.bs-blog-post .single .single-nav-links a:hover {
  color: var(--primary-color);
}

.bs-blog-post.two .small {
  background: var(--box-color);
  color: var(--text-color);
}

.bs-blog-post.three .title a {
  color: #fff;
}

.bs-blog-post.three .bs-blog-meta a,
.bs-blog-post.three .bs-blog-meta span,
.bs-blog-post.three .bs-blog-meta span:before {
  color: #fff;
}

.bs-blog-post.three.md{
  background-color: #333;
}

.bs-blog-post.four .small {
  background-color: var(--box-color);
}

.bs-blog-post .bs-header .bs-blog-date {
  color: var(--text-color);
}

.bs-blog-post .bs-header .tag-links,
.tag-links a {
  color: var(--text-color);
}

.bs-blog-post .single .nav-links {
  background: var(--border-color);
}

.recentarea-slider .small-post  {
  border-color: #d7d7d7;
}

.bs-widget .bs-author h4{
  color: var(--head-color);
}

.bs-widget .bs-author {
  color: var(--text-color);
}

.bs-blog-thumb .bs-blog-inner.two::after {
  background-color: transparent;
}

.bs-blog-thumb .bs-blog-inner .title,
.bs-blog-thumb .bs-blog-inner .title a{
  color: var(--head-color);
}

.bs-blog-thumb .bs-blog-inner .title:hover,
.bs-blog-thumb .bs-blog-inner .title a:hover,
.bs-blog-thumb .bs-blog-inner .title a:focus{
  color: var(--primary-color);
}

.bs-blog-thumb .bs-blog-inner.two .title,
.bs-blog-thumb .bs-blog-inner.two .title a {
  color: var(--bg-color);
}

.bs-blog-inner.two .bs-blog-category a {
  color: var(--wrap-color);
}

.bs-blog-category:before {
  background: var(--primary-color);
}

.bs-blog-post.single .bs-header .bs-info-author-block,
.page-entry-title .bs-breadcrumb-section .overlay{
  background: transparent;
}

.bs-blog-post .title,
.bs-blog-post .title a,
.bs-blog-post .title,
.bs-blog-post .title a {
  color: var(--head-color);
}

.bs-blog-post .title a:hover,
.bs-blog-post .title a:focus,
.bs-blog-post .title a:hover,
.bs-blog-post .title a:focus {
  color: var(--primary-color);
}

.bs-blog-meta,
.bs-blog-meta a{
  /* color: var(--text-color); */
}

.bs-blog-meta a:hover,
.bs-blog-meta a:focus{
  color: var(--primary-color);
}

.bs-info-author-block {
  background: transparent;
  border: none;
  /* background: rgba(255 255 255 / 40%); */
}

.py-4.px-3.mb-4.bs-card-box {
  background: rgba(255 255 255 / 40%);
}

.comments-area.bs-card-box.p-4 {
  background: rgba(255 255 255 / 40%);
}

.bs-info-author-block .title a,
.bs-info-author-block .title {
  /* color: var(--head-color); */
}

.bs-info-author-block .title a:hover,
.bs-info-author-block .title a:focus {
  color: var(--primary-color);
}

.edit-link .post-edit-link:hover{
  color: var(--head-color);
}

.comments-area a {
  color: var(--head-color);
}

.comments-area .reply a {
  color: #fff;
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.comments-area .reply a:hover,
.comments-area .reply a:focus {
  color: #fff;
  background: #0F1012;
  border-color: #0F1012;
}

blockquote {
  background: var(--border-color);
  border-color: var(--primary-color);
}

blockquote::before {
  color: var(--primary-color);
}

blockquote p {
  color: var(--head-color);
}

blockquote + p a:hover {
  color: var(--head-color);
}

.bs-widget .bs-author img.rounded-circle {
  border-bottom-color: var(--primary-color);
  border-left-color: var(--primary-color);
  border-top-color: #e5e5e5;
  border-right-color: #e5e5e5;
}

.widget_block h2 {
  color: var(--head-color);
  border-color: #d7d7d7;
}

.wp-block-tag-cloud a {
  color: var(--wtext-color);
  /* background: var(--box-color); */
  background: #31466F;
  /* border-color: #d7d7d7; */
  text-decoration: none;
}

.wp-block-tag-cloud a:hover,
.wp-block-tag-cloud a:focus {
  color: #fff;
  background: #495E89;
  /* background: var(--primary-color); */
  /* border-color: var(--primary-color); */
  text-decoration: none;
}

.widget_block .wp-block-search__button{
  background: var(--primary-color);
  border-color: var(--border-color);
  color: #fff;
}

.widget_block .wp-block-search__button:hover{
  border-color: var(--border-color);
}

form.search-form .search-submit{
  border-color: var(--border-color);
}

/*==================== Sidebar ====================*/
.bs-sidebar .bs-widget {
  background: rgba(255 255 255 / 40%);
  border-color: #d7d7d7;
}

.bs-sidebar .bs-widget ul li {
  border-color: #fff;
  color: var(--text-color);
}

.bs-sidebar .bs-widget ul li a {
  color: var(--text-color);
}

.bs-sidebar .bs-widget ul li a:hover,
.bs-sidebar .bs-widget ul li a:focus {
  color: var(--primary-color);
}

.bs-sidebar .bs-widget ul.bs-social li a i{
  color: var(--head-color);
}

.bs-sidebar .bs-widget .bs-widget-tags a,
.bs-sidebar .bs-widget .tagcloud a,
.tagcloud a {
  color: var(--text-color);
  background: var(--box-color);
  border-color: var(--border-color);
}

.bs-sidebar .bs-widget .bs-widget-tags a:hover,
.bs-sidebar .bs-widget .tagcloud a:hover,
.bs-sidebar .bs-widget .bs-widget-tags a:focus,
.bs-sidebar .bs-widget .tagcloud a:focus,
.tagcloud a:hover,
.tagcloud a:focus {
  color: #fff;
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.bs-sidebar .bs-widget.widget_search .btn {
  background: var(--primary-color);
  color: #fff;
  border-color: #e5e7eb;
}

.bs-sidebar .bs-widget.widget_search .btn:hover,
.bs-sidebar .bs-widget.widget_search .btn:focus  {
  color: #fff;
  background: #0F1012;
  border-color: #0F1012;
}

.bs-widget .calendar_wrap table thead th,
.bs-widget .calendar_wrap table,
.bs-widget .calendar_wrap td {
  border-color: rgba(51, 51, 51, 0.1);
  color: var(--text-color);
}

.bs-widget .calendar_wrap table caption {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

/*==================== general ====================*/
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  /* color: var(--head-color); */
  color: #191C22;
}

.btn, .btn-theme, .more-link,
.woocommerce ul.products li.product .button {
  background: transparent;
  color: var(--head-color);
  border-color: var(--primary-color);
}

.btn-theme:hover, .btn-theme:focus,
.more-link:hover, .more-link:focus,
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .button:focus {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.btn-blog:hover, .btn-blog:focus {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

button, [type=button], [type=reset], [type=submit] {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

button:hover, [type=button]:hover, [type=reset]:hover, [type=submit]:hover,
button:focus, [type=button]:focus, [type=reset]:focus, [type=submit]:focus {
  background: #0F1012;
  color: #fff;
  border-color: #0F1012;
}

.bs-card-box.page-entry-title{
  background: rgba(255 255 255 / 40%);
}

/*==================== pagination color ====================*/
.pagination > li > a, .pagination > li > span {
  background: #fff;
  color: #999;
}

.pagination > .active > a,
.pagination > .active > a:hover,
.pagination > li > a:hover,
.pagination > li > a:focus,
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: #fff;
}

.page-item.active .page-link {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: #fff;
}

.pagination .page-numbers{
  background: #fff;
}

.navigation.pagination .nav-links .page-numbers.current,
.navigation.pagination .nav-links a:hover,
a.error-btn,
.bs-blog-post .single .single-nav-links .post-page-numbers:hover,
.single-nav-links span {
  /* background: var(--primary-color); */
  /* color:#fff; */
  /* border-color: var(--border-color); */
}

.navigation.pagination .nav-links .page-numbers,
.navigation.pagination .nav-links a{
  background-color: rgba(255 255 255 / 40%);
  border: 1px solid rgba(255 255 255 / 40%);
  color: #212121;
}

/*=== navbar drop down hover color ===*/
.navbar-base .navbar-nav > .open > a,
.navbar-base .navbar-nav > .open > a:hover,
.navbar-base .navbar-nav > .open > a:focus {
  color: #fff;
}

.navigation.pagination > .active > a,
.navigation.pagination > .active > a:hover,
.navigation.pagination > li > a:hover,
.navigation.pagination > li > a:focus,
.navigation.pagination > .active > a,
.navigation.pagination > .active > span,
.navigation.pagination > .active > a:hover,
.navigation.pagination > .active > span:hover,
.navigation.pagination > .active > a:focus,
.navigation.pagination > .active > span:focus {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: #fff;
}

.navigation p a:hover{
  color: var(--head-color);
}

/*==================== typo ====================*/
ul.breadcrumb {
  /* padding-left: 24px; */
  @media (max-width: 991.98px) {
    padding-left: 0;
  }
}

.breadcrumb-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: 0.25px;
  padding-right: 4px;
	/* padding: 6px 4px; */
	span {
		color: #424753;
		font-size: 14px;
		line-height: 20px;
		letter-spacing: 0.25px;
		padding: 6px 4px 6px 0;
	}
}

.breadcrumb-item a:hover,
.breadcrumb-item a:focus {
	span {
		color: #727785;
	}
}

.breadcrumb-item + .breadcrumb-item {
	padding-left: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
	content: '';
	border: solid #424753;
	border-width: 0 2px 2px 0;
	display: inline-block;
	padding: 2px;
	transform: rotate(-45deg);
}

.bs-breadcrumb-section .overlay {
  /* background: rgba(255 255 255 / 40%); */
}

.bs-breadcrumb-section .breadcrumb a,
.bs-breadcrumb-section .breadcrumb-item span {
  color: var(--head-color);
}

.bs-breadcrumb-section .breadcrumb a:hover,
.bs-breadcrumb-section .breadcrumb a:focus,
.bs-breadcrumb-section .breadcrumb .active a {
  color: var(--primary-color);
}

.bs-breadcrumb-title h1 {
  color: var(--head-color);
}

.bs-page-breadcrumb > li a {
  color: var(--head-color);
}

.bs-page-breadcrumb > li a:hover,
.bs-page-breadcrumb > li a:focus {
  color: var(--primary-color);
}

.bs-page-breadcrumb > li + li:before {
  color: var(--head-color);
}

.bs-contact .bs-widget-address {
  background: #fff;
}

.bs-contact .bs-widget-address li span.icon-addr i {
  color: var(--primary-color);
}

/*==================== footer background ====================*/
footer .overlay{
  background: #141414; /* графит (светлее, чем #0F1012) */
}


footer .widget_block h2, footer .wp-block-heading {
  color: #fff;
}

.site-title-footer a, .site-description-footer {
  color:#fff;
}

footer .bs-widget .title,
footer .consultup_contact_widget .bs-widget .title {
  color: #000;
}

footer .bs-widget ul li {
  color: #bbb;
}

footer .text-input button.sub-link  a{
  color: var(--bg-color);
}

footer .bs-widget ul li a {
  color: #fff;
}

footer .bs-recent-blog-post .small-post .title a {
  color: #fff;
}

footer .bs-recent-blog-post .small-post .title a:hover,
footer .bs-recent-blog-post .small-post .title a:focus {
  color: var(--primary-color);
}

footer .bs-recent-blog-post .bs-blog-meta span:before,
footer .bs-recent-blog-post .bs-blog-meta a{
  color: #fff;
}

footer .checkbox a {
  color: #0F1012;
}

footer .bs-widget ul li a:hover,
footer .bs-widget ul li a:focus {
  color: var(--primary-color);
}

footer .bs-widget .calendar_wrap table thead th,
footer .bs-widget .calendar_wrap table tbody td,
footer .bs-widget #calendar_wrap td,
footer .bs-widget #calendar_wrap th,
footer .bs-widget .calendar_wrap table caption {
  color: #f2f7fd;
  border-color: #eee;
}

footer .bs-footer-copyright {
  background: #000;
}

footer .bs-footer-copyright,
footer .bs-footer-copyright p,
footer .bs-footer-copyright a {
  color: #bbb;
}

footer .bs-footer-copyright a:hover,
footer .bs-footer-copyright a:focus {
  color: var(--primary-color);
}

footer .bs-widget p {
  color: #bbb;
}

footer .bs-widget.widget_search .btn {
  color: #fff;
  background: var(--primary-color);
  border-color: var(--primary-color);
}

footer .bs-widget.widget_search .btn:hover,
footer .bs-widget.widget_search .btn:focus {
  background: #0F1012;
  border-color: #0F1012;
}

.wp-block-latest-comments__comment-meta{
  color: var(--head-color);
}

.bs_upscr {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff !important;
}

.bs_upscr:hover, .bs_upscr:focus {
  color: #fff;
}

/*form-control*/
footer .bs-widget-title .title {
  color: #fff;
}

.form-control {
  border-color: #eef3fb;
}

.form-control:focus {
  border-color: var(--primary-color);
}

.form-group label::before {
  background-color: #dddddd;
}

.form-group label::after {
  background: var(--primary-color);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--head-color);
}

.woocommerce-page .products h3 {
  color: #333;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
  color: #333;
}

.related.products h2 {
  color: #333;
}

.woocommerce nav.woocommerce-pagination ul li a {
  color: #333;
}

.woocommerce nav .woocommerce-pagination ul li span {
  color: #333;
}

.woocommerce nav.woocommerce-pagination ul li a {
  border-color: #ddd;
}

.woocommerce nav .woocommerce-pagination ul li span {
  border-color: #ddd;
}

/*----woocommerce----*/
.woocommerce-cart table.cart td.actions .coupon .input-text {
  border-color: #ebebeb;
}

/*-theme-background-*/
.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce #respond input#submit,
.woocommerce input.button.alt,
.woocommerce .cart .button,
.woocommerce .cart input.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce-page .products a.button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit.alt.disabled,
.woocommerce #respond input#submit.alt.disabled:hover,
.woocommerce #respond input#submit.alt:disabled,
.woocommerce #respond input#submit.alt:disabled:hover,
.woocommerce #respond input#submit.alt[disabled]:disabled,
.woocommerce #respond input#submit.alt[disabled]:disabled:hover,
.woocommerce a.button.alt.disabled,
.woocommerce a.button.alt.disabled:hover,
.woocommerce a.button.alt:disabled,
.woocommerce a.button.alt:disabled:hover,
.woocommerce a.button.alt[disabled]:disabled,
.woocommerce a.button.alt[disabled]:disabled:hover,
.woocommerce button.button.alt.disabled,
.woocommerce button.button.alt.disabled:hover,
.woocommerce button.button.alt:disabled,
.woocommerce button.button.alt:disabled:hover,
.woocommerce button.button.alt[disabled]:disabled,
.woocommerce button.button.alt[disabled]:disabled:hover,
.woocommerce input.button.alt.disabled,
.woocommerce input.button.alt.disabled:hover,
.woocommerce input.button.alt:disabled,
.woocommerce input.button.alt:disabled:hover,
.woocommerce input.button.alt[disabled]:disabled,
.woocommerce input.button.alt[disabled]:disabled:hover {
  background: var(--primary-color);
}

.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: var(--primary-color) !important;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  background: #ebe9eb;
  color: #999;
}

/*-theme-color-*/
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce-page .products .added_to_cart,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  color: var(--primary-color);
}

/*-theme-border-color-*/
.woocommerce-cart table.cart td.actions .coupon .input-text:hover,
.woocommerce-cart table.cart td.actions .coupon .input-text:focus,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active,
.woocommerce nav .woocommerce-pagination ul li a:focus,
.woocommerce nav .woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  border-color: var(--primary-color);
}

/*-theme-secondary-background-*/
.woocommerce #review_form #respond .form-submit input:hover,
.woocommerce-page .products a.button:hover,
.woocommerce .cart .button:hover,
.woocommerce .cart input.button:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit:hover,
.woocommerce #respond input#submit:focus,
.woocommerce a.button:hover,
.woocommerce a.button:focus,
.woocommerce button.button:hover,
.woocommerce button.button:focus,
.woocommerce input.button:hover,
.woocommerce input.button:focus {
  background: #0F1012;
  color: #fff;
}

/*-theme-secondary-color-*/
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  color: #161c28;
}

/*-theme-color-white-*/
.woocommerce-page .woocommerce .woocommerce-info a,
.woocommerce-page .woocommerce .woocommerce-info:before,
.woocommerce-page .woocommerce-message,
.woocommerce-page .woocommerce-message a,
.woocommerce-page .woocommerce-message a:hover,
.woocommerce-page .woocommerce-message a:focus,
.woocommerce .woocommerce-message::before,
.woocommerce-page .woocommerce-error,
.woocommerce-page .woocommerce-error a,
.woocommerce-page .woocommerce .woocommerce-error:before,
.woocommerce-page .woocommerce-info,
.woocommerce-page .woocommerce-info a,
.woocommerce-page .woocommerce-info:before,
.woocommerce-page .woocommerce .woocommerce-info,
.woocommerce-cart .wc-proceed-to-checkout a .checkout-button,
.woocommerce .cart .button,
.woocommerce .cart input.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce nav .woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce-page .products a.button,
.woocommerce #respond input#submit:hover,
.woocommerce #respond input#submit:focus,
.woocommerce a.button:hover,
.woocommerce a.button:focus,
.woocommerce button.button:hover,
.woocommerce button.button:focus,
.woocommerce input.button:hover,
.woocommerce input.button:focus {
  color: #fff;
}

.woocommerce .products span.onsale,
.woocommerce span.onsale {
  background: var(--accent-color);
}

.woocommerce-page .products a .price,
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--head-color);
}

.woocommerce-page .products a .price ins {
  color: var(--accent-color);
}

.woocommerce-page .products .star-rating,
.woocommerce-page .star-rating span,
.woocommerce-page .stars span a {
  color: #ffc107;
}

/*woocommerce-messages*/
.woocommerce-page .woocommerce-message {
  background: #2ac56c;
}

.woocommerce-page .woocommerce-message a {
  background: var(--primary-color);
}

.woocommerce-page .woocommerce-message a:hover,
.woocommerce-page .woocommerce-message a:focus {
  background-color: #388e3c;
}

.woocommerce-page .woocommerce-error {
  background: #ff5252;
}

.woocommerce-page .woocommerce-error a {
  background-color: var(--accent-color);
}

.woocommerce-page .woocommerce-info {
  background: #4593e3;
}

.woocommerce-page .woocommerce-info a {
  background-color: #5fb8dd;
}

.woocommerce-page .woocommerce .woocommerce-info {
  background: rgb(58, 176, 226);
}

/*woocommerce-Price-Slider*/
.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
  background: var(--primary-color);
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
  background: var(--primary-color);
}

.woocommerce-page .woocommerce-ordering select {
  color: #A0A0A0;
}

/*woocommerce-price-filter*/
.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
  background: #1a2128;
}

/*woocommerce-form*/
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  border-color: #ccc;
  color: #999;
}

.woocommerce form .form-row label {
  color: #222;
}

.woocommerce .bs-card-box{
  background: transparent;
}

.woocommerce ul.products li.product{
  background-color: transparent;
  border-color: transparent;
}

.squares .square,
.circles .circle,
.triangles .triangle{
  background: rgba(53, 108, 196, 0.10);
}

.triangles .triangle{
  border-bottom-color: rgba(53, 108, 196, 0.18);
  border-left-color: transparent;
  border-right-color: transparent;
  background: transparent;
}

.wp-block-code code{
  background: #000000;
  color: #fff;
}

.wp-block-button .wp-block-button__link,
.wp-block-file__button{
  background: var(--primary-color);
  border-color: var(--border-color);
  color: #fff;
}

.wp-block-button .wp-block-button__link:hover,
.wp-block-file__button:hover{
  color: #fff;
  background: #0F1012;
}

pre{
  background-color: var(--border-color);
}

/* =========================================
   НОВЫЕ СТИЛИ (ПК И ОБЩИЕ)
   ========================================= */

/* Trending ticker: softer, mostly blue */
.bs-latest-heading{
  background: #356cc4;           /* основной синий */
  color: #fff;
}

.bs-latest-heading i,
.bs-latest-heading span{
  color: #fff;
}

/* рамка вокруг тикера — не красная, а синяя */
.bs-latest-news{
  border-color: rgba(53,108,196,.45);
}

/* ховер ссылок — синий вместо красного */
.bs-latest-list:hover{
  color: #356cc4;
}

/* если у мини-картинок есть красная рамка — тоже смягчаем */
.bs-latest-news .bs-latest-img{
  border-color: rgba(53,108,196,.45);
}

/* Top-bar: label + two pills, no separators */
.bs-head-detail .top-actions-label{
  color:#fff;
  font-weight:600;
  margin-right:10px;
}

.bs-head-detail .top-pill{
  display:inline-flex;
  align-items:center;
  padding:6px 12px;
  border-radius:999px;
  font-weight:600;
  font-size:14px;
  line-height:1;
  text-decoration:none;
  margin-left:8px;
  border:1px solid rgba(255,255,255,0.25);
  box-shadow:0 1px 4px rgba(0,0,0,0.12);
}

.bs-head-detail .top-pill:hover,
.bs-head-detail .top-pill:focus{
  opacity:0.92;
  text-decoration:none;
}

.bs-head-detail .top-pill--vacancy{
  background: rgba(53,108,196,0.92); /* синий */
  color:#fff;
}

.bs-head-detail .top-pill--resume{
  background: rgba(220,2,2,0.88); /* красный */
  color:#fff;
}

/* ===== Main navigation: style only items (no wrapper background) ===== */ 
/* .bs-menu-full .navbar-wp .navbar-nav{ gap: 10px; }  */

/* базовый вид ссылок ПК */ 
.bs-menu-full .navbar-wp .navbar-nav > li > a.nav-link{ 
  color: #212121;
  padding: 10px 16px; 
  font-size: 14px;
  font-weight: 500; 
  line-height: 20px; 
  letter-spacing: 0.01px;
  border-radius: 12px; 
  /* border-bottom: initial; */
  background: transparent; /* принципиально: без фона */ 
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease; 
} 

/* hover: мягкая “пилюля” */ 
.bs-menu-full .navbar-wp .navbar-nav > li > a.nav-link:hover, 
.bs-menu-full .navbar-wp .navbar-nav > li > a.nav-link:focus{ 
  background: rgba(53,108,196,0.10); 
  color: #356cc4; 
  box-shadow: 0 1px 6px rgba(0,0,0,0.10); 
  transform: translateY(-1px); 
  text-decoration: none; 
} 

/* активный пункт: пилюля синяя */ 
.bs-menu-full .navbar-wp .navbar-nav > li.current-menu-item > a.nav-link, 
.bs-menu-full .navbar-wp .navbar-nav > li.current-menu-parent > a.nav-link, 
.bs-menu-full .navbar-wp .navbar-nav > li.current-post-parent > a.nav-link, 
.bs-menu-full .navbar-wp .navbar-nav > li.current-post-ancestor > a.nav-link{ 
  /* background: rgba(53,108,196,0.92);  */
  /* color: #fff;  */
  /* box-shadow: 0 2px 10px rgba(0,0,0,0.14);  */
} 

/* внешний пункт (Портал) — мягко выделяем обводкой */ 
.bs-menu-full .navbar-wp .navbar-nav > li.menu-item-5235 > a.nav-link{ 
  /* border: 1px solid rgba(220,2,2,0.35);  */
} 

.bs-menu-full .navbar-wp .navbar-nav > li.menu-item-5235 > a.nav-link:hover, 
.bs-menu-full .navbar-wp .navbar-nav > li.menu-item-5235 > a.nav-link:focus{ 
  /* background: rgba(220,2,2,0.10);  */
  /* color: #dc0202;  */
}

.menu-item-type-custom {
  margin-left: 23px;
	text-align: center;
	@media (max-width: 991.98px) {
    width: 100%;
		margin-left: 0;
	}
	.nav-link {
		color: #0058BC;
		font-size: 16px;
		font-weight: 500;
		line-height: 24px;
		letter-spacing: 0.15px;
		border-radius: 12px;
		border: 1px solid #C2C6D5;
	}
}

/* =========================================
   ИСПРАВЛЕННОЕ МОБИЛЬНОЕ МЕНЮ (БЕЛОЕ)
   ========================================= */
@media (max-width: 991.98px){ 
  .navbar-collapse {
		margin-top: 12px;
		margin-right: 0 !important;
		background: #ECEDF7;
		.nav-link {
			color: #212121;
			font-size: 16px;
			font-weight: 500;
			line-height: 24px;
			letter-spacing: 0.15px;
			padding: 10px 16px;
			transition: all .25s ease-out;
		}
	}

	.bs-menu-full .navbar-wp .navbar-nav {
		align-items: flex-start;
		gap: 19px;
		padding: 24px 20px;
	}
  /* Фон выпадающего меню - белый */
  .navbar-wp .navbar-nav,
  .navbar-collapse {
    /* background: #ffffff !important;
    gap: 0; /* Убираем отступы между li для ровного списка */
    /* padding-top: 10px; */
    /* padding-bottom: 15px; */
  }
  
  /* Ссылки меню - черные по умолчанию */
  .navbar-wp .navbar-nav > li > a,
  .bs-menu-full .navbar-wp .navbar-nav > li > a.nav-link {
    /* color: #212121 !important; */
    /* background: transparent; Сбрасываем фон пилюли */
    /* padding: 12px 15px; */
    /* border-radius: 0; */
    /* border-bottom: 1px solid #f0f0f0; */
    /* width: 100%; */
    /* display: block; */
    /* box-shadow: none !important; */
  }
  
  /* Ховер на мобильном - легкий серый фон */
  .navbar-wp .navbar-nav > li > a:hover,
  .bs-menu-full .navbar-wp .navbar-nav > li > a.nav-link:hover {
     background: #f8f9fa !important;
     /* color: var(--primary-color) !important; */
  }

  /* АКТИВНЫЙ пункт на мобильном - ВОЗВРАЩАЕМ СИНЮЮ ПИЛЮЛЮ */
  .bs-menu-full .navbar-wp .navbar-nav > li.current-menu-item > a.nav-link, 
  .bs-menu-full .navbar-wp .navbar-nav > li.current-menu-parent > a.nav-link, 
  .bs-menu-full .navbar-wp .navbar-nav > li.current-post-parent > a.nav-link, 
  .bs-menu-full .navbar-wp .navbar-nav > li.current-post-ancestor > a.nav-link {
    background: var(--primary-color) !important;
    color: #fff !important;
    border-radius: 5px;
    margin: 5px 10px; /* Небольшой отступ от краев */
    width: auto; /* Ширина по контенту или блоку минус отступы */
    border-bottom: none;
  }

  /* Кнопка Портал Praca.by на мобильном */
  .bs-menu-full .navbar-wp .navbar-nav > li.menu-item-5235 > a.nav-link {
    width: 100%;
    border: 1px solid #C2C6D5;
    border-radius: 12px;
    text-align: center;
    background: transparent !important;
  }

  /* Исправление вложенных меню (dropdown) */
  .navbar-wp .dropdown-menu {
    background: #ffffff !important;
    border: none;
    box-shadow: none;
    padding-left: 20px;
  }
  
  .navbar-wp .dropdown-menu > li > a {
    color: #333 !important;
    background: transparent !important;
  }
}

/* Author page: round avatar */
.author-hero__avatar{
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

@media (max-width: 991.98px){
  .author-hero__avatar{
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 575.98px){
  .author-hero__avatar{
    width: 160px;
    height: 160px;
  }
}



/* =========================================================
   AUTHOR (Valery) — mobile layout + filters card
   ========================================================= */

.author-class--valery .author-hero,
.author-class--valery .author-filters-card{
  border-radius: 24px;
  overflow: hidden;
}

/* HERO avatar wrapper */
.author-class--valery .author-hero__avatar{
  display: block;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  /* border: 8px solid rgba(53,108,196,0.14); */
  /* box-shadow: 0 10px 26px rgba(0,0,0,0.12); */
  /* background: #fff; */
}

.author-class--valery .author-hero__avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* stats pills */
.author-class--valery .author-hero__stats{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin-bottom:24px;
}

.author-class--valery .author-hero__badge{
  display:inline-flex;
  align-items:center;
  padding:8px 14px;
  border-radius:999px;
  font-weight:700;
  font-size:14px;
  line-height:1;
  color: var(--text-color);
  background: rgba(53,108,196,0.10);
  border: 1px solid rgba(53,108,196,0.18);
}

.author-class--valery .author-hero__badge--accent{
  background: rgba(220,2,2,0.10);
  border-color: rgba(220,2,2,0.18);
  color: var(--accent-color);
}

.author-class--valery .author-hero__badge--muted{
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.08);
  color:#111;
}

.author-hero__media {
  @media (max-width: 991.98px) {
    margin-bottom: 32px;
  }
}

/* filters */
.author-class--valery .author-filters__grid{
  display:grid;
  grid-template-columns: 1fr 1fr auto;
  gap:14px;
  align-items:end;
}

.author-class--valery .author-field label{
  display:block;
  font-size:13px;
  font-weight:800;
  color: var(--head-color);
  margin:0 0 6px 0;
}

.author-class--valery .author-field select{
  width:100%;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid var(--border-color);
  background: rgba(255,255,255,0.80);
  color: var(--head-color);
  outline:none;
}

.author-class--valery .author-actions{
  display:flex;
  gap:10px;
}

.author-class--valery .author-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:42px;
  font-size: 14px;
  line-height: 20px;
  padding:0 16px;
  border-radius:12px;
  font-weight:500;
  text-decoration:none;
  letter-spacing: 0.1px;
  /* border:1px solid transparent; */
  white-space:nowrap;
}

.author-class--valery .author-btn--primary{
  background: #0058bc;
  /* background: var(--primary-color); */
  /* border-color: var(--primary-color); */
  color:#fff;
}
.author-class--valery .author-btn--primary:hover{
  color: #ffffff;
  opacity:.95;
  border-color: #0058bc;
}

.author-class--valery .author-btn--ghost{
  background: transparent;
  border: 1px solid #c2c6d5;
  color:#111;
}
.author-class--valery .author-btn--ghost:hover{ background: rgba(0,0,0,0.06); color:#111; }

/* pagination list (если нужно чуть аккуратнее) */
.author-class--valery .author-pagination ul{
  display:flex;
  gap:8px;
  list-style:none;
  padding:0;
  margin:18px 0 0 0;
}

/* =========================================================
   MOBILE: фото первым на всю ширину, потом текст
   ========================================================= */
@media (max-width: 991.98px){
  .author-class--valery .author-hero__avatar{
    /* width:100%; */
    height:220px;
    /* border-radius:18px; */
    /* border-width:6px; */
  }

  .author-class--valery .author-filters__grid{
    grid-template-columns: 1fr;
  }

  .author-class--valery .author-actions{
    width:100%;
    /* flex-direction: column; */
  }

  .author-class--valery .author-actions .author-btn{
    width:100%;
  }
}

/* =========================
   Authors index (/author/)
   ========================= */

.authors-hero{
  border-radius: 18px;
}

.authors-grid{
  align-items: stretch;
  @media (max-width: 991.98px) {
    gap: 24px;
  }
}

.authors-card{
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255 255 255 / 40%);
  box-shadow: none;
}

.authors-card__top{
  padding: 26px 26px 0;
  display: flex;
  justify-content: center;
}

.authors-card__avatar{
  /* width: 180px; */
  /* height: 180px; */
  /* border-radius: 50%; */
  /* object-fit: cover; */
  /* display: block; */
  /* background: #fff; */
  /* border: 6px solid rgba(53,108,196,0.12); */
  /* box-shadow: 0 10px 30px rgba(0,0,0,0.10); */
}

.authors-card__name a{
  color: var(--head-color);
  text-decoration: none;
}
.authors-card__name a:hover,
.authors-card__name a:focus{
  color: var(--primary-color);
}

.authors-card__meta{
  margin-top: 10px;
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.authors-card__pill{
  display: flex;
  /* align-items: center; */
  color: #415680;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.1px;
  padding: 4px 8px;
  background: rgba(79,55,139,0.08);
  border: 1px solid #c2c6d5;
  border-radius: 8px;
}

.authors-card__pill--muted{
  background: rgba(73, 69, 79, 0.08);
}

.author-hero__bio {
  color: #415680;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	letter-spacing: 0.5px;
}

.authors-card__bio{
  color: var(--text-color);
}

.authors-card__btn{
  border-radius: 999px;
  padding: 10px 14px;
}

/* mobile */
@media (max-width: 575.98px){
  .authors-card__top{
    padding: 18px 18px 0;
  }
  .authors-card__avatar{
    width: 150px;
    height: 150px;
  }
}

.tags-index-class .author-filters__grid{
  display:grid;
  gap:14px;
}

@media (max-width: 992px){
  .tags-index-class .author-filters__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 576px){
  .tags-index-class .author-filters__grid{
    grid-template-columns: 1fr !important;
  }
}

/* чтобы кнопки-элементы были со скруглением как в ваших карточках */
.tags-index-class .author-btn{
  border-radius: 16px;
  padding: 12px 14px;
}


.bs-footer-widget-area .bs-blog-meta .bs-blog-date,
.bs-footer-widget-area .bs-blog-meta .bs-blog-date time{
  color: #fff !important;
}

/* === Footer: headings were converted to <span> === */

/* 1) Восстанавливаем поведение заголовка для span вместо h5/h2 (block-level) */
/* footer .bs-footer-widget-area .small-post .title,
footer .bs-footer-widget-area .bs-widget-title .title,
footer .bs-footer-widget-area .wp-block-heading{
  display: block;
} */

/* 2) Полный аналог .widget_block h2, но для span.wp-block-heading (Gutenberg-заголовки в футере) */
/* footer .bs-footer-widget-area .widget_block .wp-block-heading{
  margin-bottom: 0;
  padding: 5px 0;
  padding-left: 10px;
  position: relative;

  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;

  display: flex;
  width: 100%;
  align-items: center;

  border-style: solid;
  border-width: 0 0 1px;
  border-color: #d7d7d7;
} */

/* Декор, который раньше был на .widget_block h2:before */
/* footer .bs-footer-widget-area .widget_block .wp-block-heading:before{
  position: absolute;
  content: "";
  height: 3px;
  width: 25%;
  bottom: -1px;
  left: 0;
  background: var(--primary-color);
} */

/* Декор, который раньше был на .widget_block h2:after */
/* footer .bs-footer-widget-area .widget_block .wp-block-heading:after{
  position: absolute;
  content: "";
  width: 16px;
  height: 3px;
  top: 0;
  left: 0;
  background: var(--primary-color);
} */

/* 3) На всякий случай: типографика для “заголовочных” span’ов в футере */
/* footer .bs-footer-widget-area .bs-widget-title .title,
footer .bs-footer-widget-area .widget_block .wp-block-heading,
footer .bs-footer-widget-area .small-post .title{
  font-family: var(--headFont);
  font-feature-settings: "lnum";
  font-variant-numeric: lining-nums;
  text-rendering: optimizeSpeed;
} */

/* Footer: вернуть "уголок" у заголовков блоков после замены h2 -> span */
/* footer .widget_block .wp-block-heading{
  padding-left: 10px;     как было у .widget_block h2
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
} */

/* вертикальная полоска (раньше делал .widget_block h2:before) */
/* footer .widget_block .wp-block-heading:before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 16px;
  background: var(--primary-color);
} */

/* горизонтальная полоска (раньше делал .widget_block h2:after) */
/* footer .widget_block .wp-block-heading:after{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 3px;
  background: var(--primary-color);
} */


/* Single: headings replaced with spans – keep spacing */
.bs-info-author-block .title,
.bs-single-related .title {
  display: block;
  margin: 0 0 .5rem;
}

/* Если где-то используется mb-0, он и так переопределит margin-bottom:0!important */

/* ONLY this block */
.bs-info-author-block .title{
  color: #0058bc;
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  margin-bottom: 0;
  a {
    color: #0058bc;
    font-weight: 500;
  }
}

@media (max-width: 767.98px){
  .bs-info-author-block .title{
    font-size: 20px;
  }
}

/* =========================
   Valery author page: social icons
   Scoped ONLY to author hero
   ========================= */

.author-class--valery .author-hero__social{
  margin-top: 14px;
}

.author-class--valery .author-hero__social .bs-social{
  gap: 12px;
  align-items: center;
}

.author-class--valery .author-hero__social .bs-social li{
  margin: 0;
}

/* Кнопка-иконка */
.author-class--valery .author-hero__social .bs-social li a{
  /* display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 64px;
  height: 64px;
  border-radius: 999px;

  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0,0,0,.10); */
  /* transition: transform .15s ease, filter .15s ease, box-shadow .15s ease; */
}

/* Перекрываем жесткие правила темы для <i> */
.author-class--valery .author-hero__social .bs-social li a i{
  /* width: auto !important;
  height: auto !important;
  line-height: 1 !important;

  background: transparent !important;
  color: #fff !important;

  font-size: 40px;           как ты просил
  display: inline-block;
  position: static; */
}

/* Отключаем "заливку" через псевдо-элемент темы, если она мешает */
.author-class--valery .author-hero__social .bs-social li a i:after{
  display: none !important;
}

/* Brand colors */
.author-class--valery .author-hero__social .bs-social li a[href*="facebook.com"]{
  /* background: #1877F2; */
}
.author-class--valery .author-hero__social .bs-social li a[href*="linkedin.com"]{
  /* background: #0A66C2; */
}

/* Hover / Focus */
.author-class--valery .author-hero__social .bs-social li a:hover{
  transform: translateY(-1px);
  /* filter: brightness(1.06); */
  /* box-shadow: 0 14px 30px rgba(0,0,0,.14); */
}

.author-class--valery .author-hero__social .bs-social li a:focus-visible{
  /* outline: 3px solid rgba(59,130,246,.35); */
  outline-offset: 3px;
}

/* Mobile */
@media (max-width: 768px){
  .author-class--valery .author-hero__social .bs-social{
    gap: 10px;
  }
  .author-class--valery .author-hero__social .bs-social li a{
    width: 56px;
    height: 56px;
  }
  .author-class--valery .author-hero__social .bs-social li a i{
    font-size: 34px;
  }
}

/* =========================================================
   Author HERO social icons (Valery + Praca.by)
   ========================================================= */

.author-hero__social .bs-social{
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.author-hero__social .bs-social li{
  margin: 0;
  padding: 0;
}

.author-hero__social .bs-social a{
  /* width: 64px;
  height: 64px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  базовый “плейсхолдер”, если сеть не распознали
  background: #f3f4f6;
  color: #111827;

  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  border: 1px solid rgba(0,0,0,.06);

  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; */
}

.author-hero__social .bs-social a i{
  /* font-size: 40px; */
  /* line-height: 1; */
}

.author-hero__social .bs-social a:hover{
  transform: translateY(-2px);
  /* box-shadow: 0 14px 30px rgba(0,0,0,.14); */
  filter: saturate(1.05);
}

.author-hero__social .bs-social a:focus-visible{
  outline: 3px solid rgba(59,130,246,.35);
  outline-offset: 3px;
}

/* ===== Brand colors (Font Awesome selectors) ===== */

/* VK */
.author-hero__social .bs-social a:has(.fa-vk){
  /* background: #0077FF; */
  /* color: #fff; */
}

/* Facebook */
.author-hero__social .bs-social a:has(.fa-facebook),
.author-hero__social .bs-social a:has(.fa-facebook-square){
  /* background: #1877F2; */
  /* color: #fff; */
}

/* Instagram */
.author-hero__social .bs-social a:has(.fa-instagram){
  /* background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4); */
  /* color: #fff; */
  /* border-color: rgba(0,0,0,.04); */
}

/* Odnoklassniki */
.author-hero__social .bs-social a:has(.fa-odnoklassniki){
  /* background: #EE8208; */
  /* color: #fff; */
}

/* Telegram */
.author-hero__social .bs-social a:has(.fa-telegram),
.author-hero__social .bs-social a:has(.fa-telegram-plane){
  /* background: #229ED9; */
  /* color: #fff; */
}

/* LinkedIn (если где-то используешь) */
.author-hero__social .bs-social a:has(.fa-linkedin),
.author-hero__social .bs-social a:has(.fa-linkedin-in){
  /* background: #0A66C2; */
  /* color: #fff; */
}

/* TikTok */
.author-hero__social .bs-social a:has(.fa-tiktok){
  /* background: #111; */
  /* color: #fff; */
}

/* ===== Fallback для твоих классов social-icon_* (если попадутся) ===== */
.author-hero__social .bs-social a.social-icon_vk{ background:#0077FF; color:#fff; }
.author-hero__social .bs-social a.social-icon_facebook{ background:#1877F2; color:#fff; }
.author-hero__social .bs-social a.social-icon_instagram{
  background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4);
  color:#fff;
}
.author-hero__social .bs-social a.social-icon_odnoklassniki{ background:#EE8208; color:#fff; }
.author-hero__social .bs-social a.social-icon_telegram{ background:#229ED9; color:#fff; }
.author-hero__social .bs-social a.social-icon_tiktok{ background:#111; color:#fff; }

/* ===== Mobile ===== */
@media (max-width: 768px){
  .author-hero__social .bs-social{
    gap: 10px;
    flex-wrap: wrap;
  }
  .author-hero__social .bs-social a{
    width: 54px;
    height: 54px;
  }
  .author-hero__social .bs-social a i{
    font-size: 32px;
  }
}

ul.bs-social.justify-content-center i{font-size:25px;}

/* =========================================================
   Authors index: avatar LEFT, content RIGHT (desktop + mobile)
   Scoped to .authors-grid to avoid side-effects
   ========================================================= */

.authors-grid .authors-card{
  display: flex;
  gap: 12px;
  height: 100%;
  padding: 16px 16px 20px;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: none; /* как у вас в теме */
}

/* top block: no "centered header" anymore */
.authors-grid .authors-card__top{
  padding: 0;               /* сбрасываем ваши 26px сверху */
  display: flex;
  justify-content: flex-start;
  flex: 0 0 auto;
}

/* avatar sizing */
.authors-grid .authors-card__avatar{
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* body: cancel Bootstrap p-4 and make vertical layout */
.authors-grid .authors-card__body{
  padding: 0 !important;     /* перебиваем .p-4 */
  flex: 1 1 auto;
  gap: 8px;
  min-width: 0;              /* чтобы текст нормально переносился */
  display: flex;
  flex-direction: column;
}

/* title/link */
.authors-grid .authors-card__name{
  margin: 0 0 4px 0;
}

.authors-grid .authors-card__name a{
  color: #191c22;
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
  text-decoration: none;
  /* color: var(--head-color); */
  /* text-decoration: none; */
}

.authors-grid .authors-card__name a:hover,
.authors-grid .authors-card__name a:focus{
  color: var(--primary-color);
}

/* meta */
.authors-grid .authors-card__meta{
  margin: 0 ;
}

.authors-grid .authors-card__pill{
  display: flex;
	color: #415680;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	letter-spacing: 0.1px;
	padding: 4px 8px;
	background: rgba(79, 55, 139, 0.08);
	border: 1px solid #C2C6D5;
	border-radius: 8px;
}

/* button: stays at bottom, aligns nicely */
.authors-grid .authors-card__btn{
  margin-top: auto;          /* прижимает кнопку вниз */
  align-self: flex-start;    /* слева по контенту */
  border-radius: 999px;
  padding: 10px 14px;
}

/* =========================
   Responsive refinements
   ========================= */

@media (max-width: 991.98px){
  .authors-grid .authors-card{
    padding: 16px;
    gap: 14px;
  }
  .authors-grid .authors-card__avatar{
    width: 84px;
    height: 84px;
  }
}

@media (max-width: 575.98px){
  .authors-grid .authors-card{
    padding: 14px;
    gap: 12px;
  }
  .authors-grid .authors-card__avatar{
    width: 72px;
    height: 72px;
    border-width: 3px;
  }
  .authors-grid .authors-card__name{
    margin-bottom: 4px;
  }
  .authors-grid .authors-card__meta{
    margin-bottom: 10px;
  }
}

/* very narrow phones: button full width to avoid cramped layout */
@media (max-width: 420px){
  .authors-grid .authors-card__btn{
    width: 100%;
    text-align: center;
  }
}