/*
* file general.css
*/

/*
*********************************** HEADER START
*/

#navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: var(--boxshadow);
    z-index: 1000;
    border-bottom: var(--headborderbottom);
    transition: var(--alltransition);
}
.header_container {
    padding: 6px 0 4px;
}

.header__left {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
}

.header__logo {
    display: block;
    line-height: 0;
}

.city_container {
    display: flex;
    align-items: center;
    margin: 0 10px;
    cursor: pointer;
}

.location-city {
    color: #fff;
    padding: 0 6px;
    font-family: var(--fontmontserrat);
    font-size: var(--menufontsize);
    font-weight: 400;
    line-height: var(--menulineheight);
}

ul#menu-header-top {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    padding: 0;
    margin: 0;
}

ul#menu-header-top li {
    position: relative;
    overflow: hidden;
}

ul#menu-header-top a {
	color: #ffffff;
	font-weight: 500;
}

ul#menu-header-top a:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

ul#menu-header-top a:hover:before {
    left: 0;
}

ul#menu-header-top a:hover {
    background: var(--mainbackground);
}

@media (min-width: 961px) {
ul#menu-header-top li.current-menu-item a {
    background: var(--mainbackground);
}
}

@media (max-width: 960px) {
ul#menu-header-top li.current-menu-item a {
    color: var(--mainbackground);
}
}

ul#menu-header-top li.current-menu-item a:before {
    left: 0;
}

.navigation_bottom {
    padding-top: 12px;
    padding-bottom: 12px;
    background: #fff;
}

.navigation_bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

#primary-bottom-navigation {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.auth-link__bottom a {
    padding: 6px 10px;
    border: 1px solid var(--btnborder);
    border-radius: 4px;
    color: var(--btncolor);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s;
}

.auth-link__bottom a:hover {
    color: var(--btnhvcolor);
    background: var(--btnhover);
}

ul#menu-header-bottom {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    padding: 0;
    margin: 0;
}

ul#menu-header-bottom a {
    color: var(--btmenucolor);
    font-weight: var(--menufontweight);
    transition: var(--alltransition);
}

ul#menu-header-bottom a:hover {
    color: var(--linkhover);
}

ul#menu-header-bottom li.current-menu-item a {
    color: var(--currentmenu);
}

ul.menu a {
    padding: 6px 10px;
    font-family: var(--fontmontserrat);
    font-size: var(--menufontsize);
    line-height: var(--menulineheight);
    background-image: none;
    text-decoration: none;
}

ul.menu a:hover {
    background-size: inherit;
}

ul.menu li {
    list-style-type: none;
}

/*
 * burger
*/
@media(min-width: 961px) {
.burger__container {
	display: none;
}
.auth-link {
    display: none;
}
}

@media(max-width: 960px) {
.auth-link {
    position: absolute;
    right: 62px;
    top: 14px;
}
.navigation_bottom {
    display: none;
}
.top-navigation {
    display: none;
}
.header_container {
    padding: 12px 0 10px;
}
.burger__container {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 100;
    transition: opacity 0.25s ease;
}

.burger__container span {
    background: #fff;
    border: none;
    height: 2px;
    width: 100%;
    position: absolute;
    left: 0;
    transition: all 0.35s ease;
    cursor: pointer;
    will-change: transform;
}

.burger__container .burger_top {
    top: 0;
}

.burger__container .burger_middle {
    top: 10px;
}

.burger__container span:nth-of-type(3) {
    top: 20px;
}

/* Общие стили мобильного меню */
body.overlay-open {
    height: 100vh;
    overflow-y: hidden;
}
.burger__container.active .burger_top {
    transform: translateY(10px) translateX(0) rotate(45deg);
    background: #FFF;
}
.burger__container.active .burger_middle {
opacity: 0;
background: #FFF;
}
.burger__container.active .burger_bottom {
transform: translateY(-10px) translateX(0) rotate(-45deg);
background: #FFF;
}

}

@media (max-width: 960px) {
.auth-link__bottom {
    display: none;
}
.overlay-open .top-navigation {
    display: block;
}
.overlay-open .top-navigation, .overlay-open .bottom-navigation {
    display: block!important;
}
.overlay-open #primary-top-navigation .menu, .overlay-open nav#primary-bottom-navigation .menu {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.overlay-open ul.menu a {
    color: #32353d;
}

/* Базовые стили для мобильного меню */
#primary-bottom-navigation {
  position: fixed;
  padding: 100px 25px 10px;
  top: 0;
  left: -100%; /* Меню скрыто за левым краем */
  width: 85%; /* Ширина выезжающей панели */
  max-width: 400px;
  height: 100vh;
  background: #fff;
  z-index: 9998;
  overflow-y: auto;
  transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}
#primary-top-navigation {
    position: fixed;
    padding: 10px 25px 10px;
    bottom: 0;
    left: -100%;
    width: 85%;
    max-width: 400px;
    height: auto;
    max-height: 50vh;
    background: #fff;
    z-index: 9999;
    overflow-y: auto;
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
/* Когда body имеет класс .overlay-open */
.overlay-open .header-top, .overlay-open .header-bottom {
    padding: 6px 0;
    border-top: 1px solid rgb(0 0 0 / 20%);
}
body.overlay-open #primary-top-navigation,
body.overlay-open #primary-bottom-navigation {
  left: 0; /* Меню выезжает на место */
}
/* Затемняющий оверлей */
#overlay-menu {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 9997;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
}
body.overlay-open #overlay-menu {
    opacity: 1;
    visibility: visible;
}

/* Стилизация контента внутри меню */
#primary-top-navigation .menu,
#primary-bottom-navigation .menu {
list-style: none;
padding: 0;
margin: 0;
}

#primary-top-navigation .menu a,
#primary-bottom-navigation .menu a {
  display: block;
  padding: 6px 0;
  color: #333;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.2s;
}

#primary-top-navigation .menu a:hover,
#primary-bottom-navigation .menu a:hover {
  background: #f5f5f5;
}

/* Кнопка закрытия (если нужно) */
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 9999;
}
.mobile-menu-close::before,
.mobile-menu-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  background: #333;
  border-radius: 2px;
}

.mobile-menu-close::before {
  transform: rotate(45deg);
}

.mobile-menu-close::after {
  transform: rotate(-45deg);
}

.overlay-open #burger {
    z-index: 9999;
}
.overlay-open .auth-link {
    z-index: 9999;
}
.overlay-open .header__left {
    z-index: 9999;
}
.overlay-open .header__logo {
    z-index: 9999;
}
.overlay-open .header__left:before {
    content: '';
    position: absolute;
    width: 85%;
    max-width: 400px;
    height: 52px;
    top: 0;
    left: 0;
    background: var(--mainbackground);
    box-shadow: var(--boxshadow);
    z-index: 9998;
}
.navigation_bottom {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0;
}
.overlay-open .navigation_bottom {
    display: block;
}
.overlay-open .city_container {
    position: absolute;
    top: 66px;
    left: 22px;
    margin: 0;
    z-index: 9999;
}
.overlay-open .city_container svg {
    width: 26px;
    height: 26px;
    fill: var(--btncolor);
}
.overlay-open .location-city {
    position: relative;
    display: block;
    padding-right: 28px;
    color: #333;
    cursor: pointer;
}
.overlay-open .location-city:after {
    content: "";
    position: absolute;
    right: 4px;
    top: 60%;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%232672EC'%3E%3Cpath d='M480-344L240-584l56-56 184 184 184-184 56 56-240 240Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 24px 24px;
    padding-right: 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
}
}
@media (max-width: 490px) {
.overlay-open .header__left:before {
    width: calc(100% - 50px);
    max-width: initial;
}
#primary-top-navigation, #primary-bottom-navigation {
    width: calc(100% - 50px);
    max-width: initial;
}
}
/*
*********************************** HEADER END
*/


/*
*********************************** FOOTER START
*/
#footer ul.menu {
    display: flex;
    flex-direction: column;
    gap: 8px 0;
}
.fooprew {
    padding: 8px 20px 4px;
}

#footer .menu {
    margin: 0;
    padding: 0;
}
#footer ul.menu a {
    color: #5d5d5d;
    font-weight: 600;
}
#footer ul.menu a:hover {
    color: var(--linkhover);
}

#footer ul.menu li.current-menu-item a {
    color: var(--currentmenu);
}

#footer picture {
    display: block;
    line-height: 0;
}
.site-info {
    display: flex;
    margin: 48px 0;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
}
.slogan {
    display: flex;
    margin-left: 15%;
    flex-direction: row;
    gap: 0;
}

.slogan.anim-slogan {
    gap: 0 15px;
}

.slogan__text {
    font-size: 18px;
    font-weight: bold;
    color: #2672EC;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Задержки для каждой строки */
.anim-slogan .slogan__text:nth-child(1) {
    animation-delay: 0.4s;
}

.anim-slogan .slogan__text:nth-child(2) {
    animation-delay: 0.6s;
}

.anim-slogan .slogan__text:nth-child(3) {
    animation-delay: 0.8s;
}

.anim-slogan .slogan__text:nth-child(4) {
    animation-delay: 1s;
}

.anim-slogan .slogan__text {
    opacity: 1;
    color: #fff;
    transform: translateX(0);
}

.anim-slogan.stretch .slogan__text {
    animation: wordStretchIn 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes wordStretchIn {
    0% {
        opacity: 0;
        transform: translateX(-100px) scaleX(0.4);
        color: #2672EC;
        letter-spacing: -10px;
    }
    60% {
        opacity: 0.5;
        transform: translateX(0) scaleX(1.05);
        color: #fff;
        letter-spacing: 1px;
    }
    100% {
        opacity: 1;
        transform: translateX(0) scaleX(1);
        color: #fff;
        letter-spacing: normal;
    }
}

.site-name {
    display: flex;
    flex-direction: column;
    flex-direction: column;
    justify-content: flex-start;
    gap: 14px;
    text-align: left;
    color: #5d5d5d;
    font-size: var(--menufontsize);
    font-weight: var(--menulineheight);
}

.site-name div {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px 4px;
}

.site-name a {
    color: #5d5d5d;
    text-decoration: none;
}

.site-name a:hover {
    color: var(--linkhover);
    text-decoration: none;
}

.site-name a {
    display: inline-block;
    background-image: linear-gradient(to top, var(--linkhover) 0px, var(--linkhover) 0px), linear-gradient(to top, rgba(38, 50, 56, 0.1) 0px, rgba(38, 50, 56, 0.1) 0px);
    background-position: left bottom, left bottom;
    background-repeat: no-repeat, no-repeat;
    background-size: 0 1px, 100% 1px;
    transition: none 300ms ease-in-out;
    transition-property: background-size, color;
}

.site-name a:hover {
    background-size: 100% 1px, 100% 1px;
}

.site-copyright {
    padding: 10px 0;
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
    background: #fff;
    font-family: var(--fontnunito);
    font-weight: 500;
    line-height: 105%;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
}

span.separator {
    border-left: 1px solid;
    border-right: 1px solid;
    padding: 0 6px;
}
/*
*********************************** FOOTER END
*/

/*
*********************************** sidebar START
*/
.right-sidebar-wrapper {
    flex: 0 0 320px;
}
.right-sidebar-wrapper div.textwidget.custom-html-widget {
    width: 100%;
    padding: var(--paddingwrap);
    background: var(--backwhite);
    border-radius: var(--brdradiuswrap);
    -webkit-box-shadow: var(--boxshadowwrap);
    -moz-box-shadow: var(--boxshadowwrap);
    box-shadow: var(--boxshadowwrap);
}
/*
*********************************** sidebar END
*/

/*
*********************************** breadcrumbs START
*/
.breadcrumbs {
    margin: 32px 0 12px;
}

span.breadcrumbs__separator {
    margin: 0 4px;
}

/*
*********************************** breadcrumbs END
*/

/*
*********************************** Клубы START
*/
.club__items {
    display: flex;
    margin: 20px 0 40px;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 40px;
}

.club__item {
    width: calc(25% - 20px);
    display: flex;
    padding: 12px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.club__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.club__name, .club__adress {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
}

.club__img {
    line-height: 0;
}

.club__img img {
    border-radius: 12px;
}

.club__rewiews {
    display: flex;
    width: 100%;
    padding: 0 8px;
    height: 30px;
    align-items: center;
    justify-content: center;
    color: #8d94a6;
    font-size: 12px;
    font-weight: 400;
    background-color: #f3f4f6;
    border-radius: 6px;
}

#primary .club__item a {
    background-image: none;
}

.club__name h3 {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1;
    color: #32353d;
}

.club__adress {
    line-height: 1;
    color: #8d94a6;
    font-size: 12px;
    font-weight: 400;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
}

.more__button {
    display: flex;
    margin-top: 60px;
    justify-content: flex-end;
}

/*
*********************************** Клубы END
*/

/*
*********************************** Тренеры START
*/
.coaches__items {
    display: flex;
    margin: 20px 0 40px;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 40px;
}

.coaches__item {
    width: calc(25% - 20px);
    display: flex;
    padding: 12px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.coaches__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.coaches__name, .coaches__direction {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
}

.coaches__img {
    line-height: 0;
}

.coaches__img img {
    border-radius: 12px;
}

.coaches__rewiews {
    display: flex;
    padding: 0;
    position: relative;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 30px;
    background-color: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
}

.rating {
    color: white;
    padding: 5px 10px;
    text-align: center;
    font-weight: bold;
    min-width: 40px;
}

.green {
    background-color: #04ca00;
}

.yellow {
    background-color: #b7b708;
}

.red {
    background-color: #ff0000;
}

.rewiews_count {
    display: block;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    font-size: 14px;
    color: #3579f3;
}

.rating.null {
    display: none;
}

#primary .coaches__item a {
    background-image: none;
}

.coaches__name h3 {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1;
    color: #32353d;
}

.coaches__direction {
    line-height: 1;
    color: #8d94a6;
    font-size: 12px;
    font-weight: 400;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
}

.popular__coaches {
    display: flex;
    justify-content: flex-end;
}

/*
*********************************** Тренеры END
*/

/*
*********************************** events START
*/
.events__post_items {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
}

.events__post_item {
    width: calc(25% - 20px);
    flex-wrap: nowrap;
    padding: 12px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.events__post_item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.events__post_img {
    line-height: 0;
}

.events__post_img a {
    background: none !important;
    line-height: 0;
}

.events__post_img a:hover {
    background: none !important;
}

.events__post_tag {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 14px;
    background-color: #f4f6fa;
}

.events__post_city {
    margin: 4px 8px;
    color: #2672ec;
    cursor: pointer;
}

.events__post_title a {
    background: none !important;
}

.events__post_title a:hover {
    background: none !important;
}

.events__post_title h3 {
    margin: 0;
    padding: 0;
    font-size: 15px;
    line-height: 110%;
    color: #32353d;
}

.events__post_title h3:hover {
    color: var(--headingcolor);
}

.events__post_content p {
    margin: 10px 0;
    font-size: 14px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
}

/*
*********************************** events END
*/

/*
*********************************** post START
*/
.post_items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px 10px;
}

.post_list .post_item {
    width: calc(25% - 20px);
}

.post_item {
    display: flex;
    padding: 12px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.post_item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.post_img {
    line-height: 0;
}

.post_img a {
    background: none !important;
    line-height: 0;
}

.post_img a:hover {
    background: none !important;
}

.post_tag_block {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 5px;
    padding: 4px 0;
    align-items: center;
    /* Горизонтальная прокрутка */
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    /* Скрытие scrollbar для красоты */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #ccc transparent;
    /* Скрытие scrollbar для красоты */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #ccc transparent;
    /* Для IE */
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

/* Для Webkit браузеров (Chrome, Safari, Edge) */
.post_tag_block::-webkit-scrollbar {
    height: 4px;
}

.post_tag_block::-webkit-scrollbar-track {
    background: transparent;
}

.post_tag_block::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 2px;
}

.post_tag {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 14px;
    color: #32353d;
    background-image: none !important;
    background-color: #f4f6fa;
}

.post_tag:hover {
    color: var(--linkhover);
}

.post_title {
    height: 34px;
}

.post_title a {
    color: #32353d;
    background: none !important;
}

.post_title a:hover {
    color: var(--link);
    background: none !important;
}

.post_title h3 {
    margin: 0;
    padding: 0;
    font-size: 15px;
    line-height: 110%;
    color: #32353d;
}

.post_title h3:hover {
    color: var(--headingcolor);
}

.post_content p {
    margin: 10px 0;
    font-size: 14px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
}

.post_author {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 16px;
}

.post_author_img {
    width: 32px;
    height: 32px;
    line-height: 0;
    border-radius: 15px;
    overflow: hidden;
}

.post_author_name {
    font-size: 16px;
    font-weight: 700;
    font-family: 'Montserrat';
}

/*
*********************************** post END
*/

/*
*********************************** rent_list START
*/
.rent_list_block {
    padding: 80px 20px;
}

.rent_head {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}

.map-widget-layout-view__maps-links {
    opacity: 0 !important;
}

.rent_list_block .btn_block {
    display: flex;
    gap: 40px;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

.map-widget-layout-view__top-right-controls {
    opacity: 0 !important;
}


.rent_list_items {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.rent_item {
    display: flex;
    width: calc(20% - 15px);
    padding: 12px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.rent_item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.rent_img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 150px;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    line-height: 0;
}

.rent_img a {
    display: flex;
    width: 100%;
    height: 100%;
    background: none !important;
    line-height: 0;
}

.rent_img a:hover {
    background: none !important;
}

.rent_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.rent_item:hover img {
    transform: scale(1.05);
}

.rent_block {
    width: 100%;
}

.rent_title a {
    color: #32353d;
    background: none !important;
}

.rent_title h3 {
    margin: 0;
    font-size: 20px;
    line-height: 24px;
    font-weight: 600;
    font-family: 'Nunito';
}

.rent_title a:hover {
    color: #2672ec;
}

.rent_address {
    font-size: 16px;
    line-height: 19px;
    color: #7F7F7F;
    font-weight: 400;
}

.rent_tag_block {
    display: flex;
    margin: 10px 0;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
}

.rent_tag {
    display: flex;
    padding: 0 8px;
    height: 30px;
    align-items: center;
    justify-content: center;
    color: #8d94a6;
    font-size: 12px;
    font-weight: 400;
    text-transform: lowercase;
    background-color: #f3f4f6;
    border-radius: 6px;
}

.rent_price {
    font-size: 18px;
    color: #2672ec;
    line-height: 22px;
    font-weight: 700;
}

/*
*********************************** Page END
*/

/*
*********************************** hero START
*/

/*
*********************************** hero END
*/

/*
*********************************** city START
*/
/* Триггер */
.city_trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #495057;
}

.city_trigger:hover {
    background-color: #e9ecef;
    border-color: #ced4da;
}

.city_trigger_text {
    font-weight: 500;
}

.city_trigger_icon {
    transition: transform 0.2s ease;
}

.city_popup.active .city_trigger_icon {
    transform: rotate(180deg);
}

.city_trigger {
    display: none;
}

/* Попап */
.city_popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.city_popup.active {
    display: block;
}

.city_popup_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
}

.city_popup_content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Заголовок попапа */
.city_popup_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e9ecef;
}

.city_popup_title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #212529;
}

.city_popup_close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #6c757d;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.city_popup_close:hover {
    color: #212529;
    background-color: #f8f9fa;
}

/* Поиск */
.city_popup_search {
    padding: 16px 24px;
    border-bottom: 1px solid #e9ecef;
}

.city_search_input {
    position: relative;
    display: flex;
    align-items: center;
}

.search_icon {
    position: absolute;
    right: 14px;
    pointer-events: none;
}

.search_icon path {
    fill: var(--btncolor);
}

.city_search_field {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: all 0.2s;
}

.city_search_field:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.search_loader {
    position: absolute;
    right: 14px;
}

.loader {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Список городов */
.city_popup_list {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.city_region_group:not(:last-child) {
    margin-bottom: 20px;
}

.city_region_title {
    margin: 0 0 12px 0;
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.city_region_items {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.city_item {
    display: flex;
    flex-direction: column;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: #212529;
    transition: all 0.2s!important;
    border: 1px solid transparent;
    background-image: none !important;
}

.city_item:hover {
    background-color: #f8f9fa;
    border-color: #e9ecef;
    transform: translateY(-1px);
    background-size: inherit !important;
}

.city_item.active {
    background-color: #e7f1ff;
    border-color: #007bff;
}

.city_item_name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 2px;
}

.city_item_region {
    font-size: 13px;
    color: #6c757d;
}

.city_popup_empty {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

/* Футер */
.city_popup_footer {
    padding: 16px 24px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.city_detect_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid #dee2e6;
    color: #007bff;
    font-size: 14px;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.2s;
}

.city_detect_btn:hover {
    background-color: #f0f7ff;
    border-color: #007bff;
}

.city_detect_btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Адаптивность */
@media (max-width: 768px) {
    .city_popup_content {
        width: 95%;
        max-height: 90vh;
    }
    
    .city_popup_header,
    .city_popup_search,
    .city_popup_list,
    .city_popup_footer {
        padding: 16px;
    }
    
    .city_popup_title {
        font-size: 18px;
    }
}
/*
*********************************** city END
*/

/*
*********************************** post-navigation START
*/
nav.post-navigation {
    max-width: 1040px;
    padding: 0 20px;
    margin: 40px 0 80px;
}

nav.post-navigation h2 {
    text-align: center;
}

nav.post-navigation .nav-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

nav.post-navigation a {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--fontcolor);
}

nav.post-navigation a:hover {
    color: var(--linkhover);
}

/*
*********************************** post-navigation END
*/

/*
*********************************** saidbar START
*/
/* группа фильтра */
.filter-group {
    margin-bottom: 28px;
}

.filter-group-title {
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #52637a;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group-title span {
    background: #d9e2ef;
    border-radius: 20px;
    padding: 2px 8px;
    font-size: 0.7rem;
    color: #1d3a5c;
}

/* поиск по адресу */
.address-search {
    margin-bottom: 12px;
}
.address-input-wrapper {
    display: flex;
    position: relative;
    align-items: center;
    padding: 0;
    transition: 0.15s;
}

.address-input-wrapper input {
    padding: 12px 0 12px 6px;
    font-size: 14px;
    width: 100%;
    color: #1f2a41;
    border: var(--intborderact);
    outline: none;
}
.address-input-wrapper input::placeholder {
    color: #8f9fb1;
    font-weight: 400;
}
.search-icon {
    background: #3a7bd5;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: default;
    flex-shrink: 0;
}

/* ползунок цены от / до */
.range-slider {
    width: 100%;
}

.slider-container {
    position: relative;
    height: 20px;
    margin-bottom: 10px;
}

.slider-track {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    z-index: 1;
}

.slider-range {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 6px;
    background: #4a90e2;
    border-radius: 3px;
    z-index: 2;
    pointer-events: none;
}

.slider-container input[type=range] {
    position: absolute;
    width: 100%;
    height: 0;
    -webkit-appearance: none;
    background: none;
    border: none;
    pointer-events: none;
    z-index: 3;
}

.slider-container input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: white;
    border: 2px solid #4a90e2;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    margin-top: -8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: 0.1s;
}

.slider-container input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background: #f0f7ff;
}

.slider-container input[type=range]::-webkit-slider-runnable-track {
    height: 0;
    background: transparent;
}

.slider-container input[type=range]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: white;
    border: 2px solid #4a90e2;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.slider-container input[type=range]::-moz-range-track {
    height: 0;
    background: transparent;
}

.range-inputs {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.range-field {
    flex: 1;
    display: flex;
    align-items: center;
}

.range-field span {
    margin-right: 8px;
    color: #666;
}

.range-field input {
    width: 100%;
    padding: 0;
    height: 20px;
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
}

.range-field input:focus {
    outline: none;
}
/* имитация ползунка (просто для вида) */
.fake-slider {
    display: flex;
    justify-content: space-between;
    margin: 0 6px;
}
.fake-slider input {
    width: 45%;
}

/* чекбоксы и радиокнопки */
.options-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: flex-start;
    flex-direction: column;
}
.option-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 16px;
    color: #1e2b3f;
    padding: 5px 14px 5px 8px;
    border-radius: 30px;
    transition: background 0.1s;
    border: 1px solid transparent;
}
.option-item:hover {
    background: #e2eaf6;
    border-color: #baceec;
}
.option-item input[type="checkbox"],
.option-item input[type="radio"] {
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #b1c3db;
    border-radius: 5px;
    background: white;
    transition: 0.1s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.option-item input[type="radio"] {
    border-radius: 50%;
}
.option-item input[type="checkbox"]:checked {
    background-color: var(--mainbackground);
    border-color: var(--mainbackground);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}
.option-item input[type="radio"]:checked {
    background-color: var(--mainbackground);
    border-color: var(--mainbackground);
    box-shadow: inset 0 0 0 4px white;
}

/* разделитель визуальный */
.hr-light {
    margin: 20px 0;
    height: 1px;
    background: linear-gradient(90deg, #d7e0eb, transparent);
}

#apply-button {
    width: 100%;
}
/*
*********************************** saidbar END
*/

/*
*********************************** ya-share START
*/
.post__share_block {
    display: flex;
    margin-top: 20px;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
}

.ya-share2__list > .ya-share2__item {
    margin: 0;
}

.ya-share2__container_size_m .ya-share2__badge .ya-share2__icon {
    height: 30px !important;
    width: 30px !important;
    background-repeat: no-repeat !important;
    background-size: 23px 23px !important;
}

.post__share_block ul.ya-share2__list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

ul.ya-share2__list a {
    background-image: none;
}

.post__share_block .ya-share2__item {
    transition: all .3s;
}

.post__share_block .ya-share2__item:hover {
    transform: scale(1.2);
}

/*
*********************************** ya-share END
*/

/*
*********************************** banner START
*/
.banner__page {
    display: block;
    padding: 20px 0 40px;
    margin-bottom: 40px;
    background: var(--mainbackground);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner__page_content {
    position: relative;
    z-index: 1;
}

#primary .banner__page a.button {
    background: #0E4384;
}


/*
*********************************** banner END
*/