/*!
Theme Name: oftheme
Theme URI: #
Version: 1.0.0
Tested up to: 5.8
Requires PHP: 7.3
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: of
*/

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f6f7f8;
    margin: 0;
    padding: 0;
    font-size: 16px;
    color: #111;
}

img {
    width: 100%;
    height: auto;
}

ul,
ol {
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    transition: all .3s ease-in-out;
}

h1,
h2,
h3 {
    font-size: 40px;
    text-align: center;
    margin: 0;
}

h3 img {
    display: inline-block;
    width: 25px;
}

.container {
    margin: 0 auto;
    max-width: 1230px;
    width: 1230px;
    padding: 0 15px;
}

.header {
    background: #00aff0;
    padding: 15px 0;
    color: #fff;
}

.header .container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header__logo {
    width: 170px;
}

.header__logo img {
    vertical-align: middle;
}

.header__search {
    position: relative;
    display: flex;
    align-items: center;
}

.header__input {
    font-family: inherit;
    background: #fff;
    border: 0;
    padding: 15px 60px 15px 15px;
    outline: none;
    font-size: 16px;
    color: rgba(27, 32, 33, 0.5);
    min-width: 350px;
    border-radius: 5px;
}

.header__search button,
.header__search a {
    background: #fff0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    position: absolute;
    top: auto;
    right: 0;
    padding: 5px;
}

.header__search button img,
.header__search a img {
    width: 20px;
}

.header__nav {
    margin-left: auto;
}

.header__nav ul {
    display: flex;
    align-items: center;
    list-style: none;
}

.header__nav a {
    color: #fff;
    font-weight: 500;
    padding: 15px 25px;
}

.header__nav a:hover {
    color: #111;
}

.btn {
    outline: none;
    border: 0;
    display: inline-block;
    padding: 15px 25px;
    text-align: center;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    /* text-shadow: 0px 0px 10px rgba(0,0,0,0.2);*/
    border-radius: 5px;
    background-image: linear-gradient(to right, #e855bb 0%, #fda085 51%, #FC6767 100%);
    cursor: pointer;
}

.btn:hover {
    background-position: right center;
}

.btn-blue {
    background-image: linear-gradient(to right, #00aff0 0%, #74d5f8 51%, #1fb9f2 100%);
}

.menu {
    border-bottom: 1px solid rgba(138, 150, 163, .25);
    background: #fff;
}

.menu .container>ul {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.menu li {
    position: relative;
}

.menu a {
    color: #111;
    font-weight: 500;
    display: flex;
    align-items: center;
    padding: 20px 0;
}

.menu a img {
    width: 25px;
    margin-left: 6px;
}

.menu a:hover {
    color: #00aff0;
}

.submenu {
    display: block;
    opacity: 0;
    position: absolute;
    visibility: hidden;
    z-index: 499;
    width: 14em;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 2px 5px rgba(68, 68, 68, 0.3);
    transform-origin: top center;
    transform: rotateX(-90deg);
    transition: all 0.25s ease;
    list-style: none;
    max-height: 300px;
    overflow-y: auto;
}

.submenu::-webkit-scrollbar {
    width: 5px;
}

.submenu::-webkit-scrollbar-track {
    background-color: #fff;
}

.submenu::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.submenu:hover {
    opacity: 1;
    transform: rotateX(0deg);
    visibility: visible;
}

.menu li:hover .submenu {
    opacity: 1;
    transform: rotateX(0deg);
    visibility: visible;
}

.menu a:hover+.submenu {
    opacity: 1;
    transform: rotateX(0deg);
    visibility: visible;
}

.submenu a {
    padding: 10px 25px;
}

.footer {
    border-top: 1px solid rgba(138, 150, 163, .25);
    background: #fff;
    padding: 30px 0;
}

.footer__wrapper {
    display: grid;
    grid-template-columns: calc(40% - 30px) 60%;
    gap: 30px;
}

.footer__left {
    color: #444;
}

.copyright {
    font-size: 16px;
    font-weight: 500;
}

.footer__text {
    font-size: 14px;
}

.footer__right {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    width: 100%;
    color: #444;
}

.footer__title {
    text-transform: uppercase;
    margin-bottom: 30px;
    font-weight: 500;
}

.footer__menu ul {
    list-style: none;
}

.footer__menu a {
    color: #444;
    padding: 7px 0;
    display: block;
    font-size: 14px;
}

.footer__menu a:hover {
    color: #00aff0;
}

.content {
    margin: 30px 0;
    padding: 50px 15px;
    background: #fff;
    border: 1px solid rgba(138, 150, 163, .25);
}

.country h1 {
    text-align: left;
}

.country__list {
    margin: 30px 0 80px;
}

.country__list ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
    list-style: none;
}

.country__list a {
    border: 1px solid rgba(138, 150, 163, .25);
    border-radius: 3px;
    padding: 10px 20px;
    display: block;
    font-size: 14px;
    color: #111;
}

.country__list a:hover {
    color: #fff;
    border: 1px solid #1fb9f2;
    box-shadow: inset 16em 0 0 0 #1fb9f2;
}

.country h1 img,
.country p img {
    display: inline;
    width: 35px;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.card {
    width: calc((100% - 30px) / 3);
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid rgba(138, 150, 163, .25);
    transition: all .3s ease-in-out;
    background: #fff;
}

.card:hover {
    box-shadow: 0px 6px 14px -6px rgba(24, 39, 75, 0.12),
        0px 10px 32px -4px rgba(24, 39, 75, 0.1);
}

.card__photo {
    padding-bottom: 100%;
    position: relative;
    z-index: 1;
}

.card__photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.card__content {
    padding: 10px;
    position: relative;
    z-index: 2;
}

.card__photo:before {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='379' height='181' viewBox='0 0 379 181' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 29.0002L53.796 16.5094C143.078 -4.22097 235.922 -4.22098 325.204 16.5093L379 29.0002V149C379 166.673 364.673 181 347 181H32C14.3269 181 0 166.673 0 149V29.0002Z' fill='white'/%3E%3C/svg%3E%0A");
    height: 150px;
    position: absolute;
    display: block;
    bottom: -110px;
    left: 0;
    right: 0;
    background-size: cover;
    z-index: 2;
}

.card__nick {
    color: rgba(27, 32, 33, 0.5);
    font-size: 14px;
    display: flex;
    align-items: center;
}

.card__nick img {
    width: 17px;
    margin-right: 2px;
}

.card__name {
    color: #111;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    height: 50px;
}

.card__price {
    font-size: 18px;
    font-weight: bold;
    color: #00aff0;
}

.card__info {
    padding: 10px;
    padding-bottom: 0;
    margin-top: 10px;
    border-top: 1px solid rgba(138, 150, 163, .25);
    display: flex;
    align-items: center;
    font-size: 0;
    gap: 15px;
}

.card__info span {
    display: flex;
    align-items: center;
}

.card__info strong {
    font-size: 14px;
    color: #6c727f;
    font-weight: 400;
    display: block;
    line-height: 1;
}

.card__info i {
    display: block;
    width: 20px;
    height: 20px;
    margin-right: 5px;
    background-size: 18px auto;
    background-position: center;
    background-repeat: no-repeat;
}

.card__info i.icon-photo {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='18' viewBox='0 0 20 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.00762 0.87793C4.19759 0.87793 3.50306 1.40436 3.24276 2.1299H9.27947C9.01853 1.40436 8.3222 0.87793 7.51217 0.87793H5.00762ZM2.50552 3.38248C1.47549 3.38232 0.626806 4.23101 0.626953 5.26104V15.2768C0.628702 16.3055 1.4768 17.1531 2.50552 17.1529H17.5279C18.5566 17.1531 19.4047 16.3055 19.4065 15.2768V5.26104C19.4066 4.23101 18.5579 3.38232 17.5279 3.38248H2.50552ZM10.0167 6.51179C11.0128 6.51179 11.9682 6.9075 12.6725 7.61187C13.3769 8.31624 13.7726 9.27157 13.7726 10.2677C13.7726 11.2638 13.3769 12.2192 12.6725 12.9235C11.9682 13.6279 11.0128 14.0236 10.0167 14.0236C9.02059 14.0236 8.06526 13.6279 7.36089 12.9235C6.65652 12.2192 6.26081 11.2638 6.26081 10.2677C6.26081 9.27157 6.65652 8.31624 7.36089 7.61187C8.06526 6.9075 9.02059 6.51179 10.0167 6.51179Z' fill='%2300AFF0'/%3E%3C/svg%3E%0A");
}

.card__info i.icon-video {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.3129 4.12476H2.18818C0.984683 4.12476 0 5.10944 0 6.31294V13.6871C0 14.8906 0.984683 15.8753 2.18818 15.8753H11.3129C12.5164 15.8753 13.5011 14.8906 13.5011 13.6871V6.31294C13.5011 5.08756 12.5164 4.12476 11.3129 4.12476Z' fill='%2300AFF0'/%3E%3Cpath d='M18.3793 5.32821C18.248 5.3501 18.1167 5.41574 18.0073 5.48139L14.5938 7.45075V12.5273L18.0292 14.4967C18.6638 14.8687 19.4515 14.6499 19.8235 14.0153C19.9329 13.8184 19.9986 13.5995 19.9986 13.3588V6.59736C19.9986 5.78773 19.2327 5.13128 18.3793 5.32821Z' fill='%2300AFF0'/%3E%3C/svg%3E%0A");
    background-size: auto 20px;
}

.card__info i.icon-likes {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='18' viewBox='0 0 20 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.4134 1.83508C17.3781 0.712189 15.9575 0.09375 14.413 0.09375C13.2585 0.09375 12.2012 0.45874 11.2704 1.1785C10.8008 1.54181 10.3752 1.9863 10 2.5051C9.62494 1.98645 9.19922 1.54181 8.7294 1.1785C7.79877 0.45874 6.74149 0.09375 5.58701 0.09375C4.04251 0.09375 2.62177 0.712189 1.58646 1.83508C0.563507 2.94485 0 4.46097 0 6.10434C0 7.79578 0.630341 9.34409 1.98364 10.9771C3.19427 12.4378 4.93423 13.9207 6.94916 15.6377C7.63718 16.2241 8.41705 16.8888 9.22684 17.5968C9.44077 17.7842 9.71527 17.8873 10 17.8873C10.2846 17.8873 10.5592 17.7842 10.7729 17.5971C11.5826 16.8889 12.363 16.224 13.0513 15.6373C15.0659 13.9205 16.8059 12.4378 18.0165 10.9769C19.3698 9.34409 20 7.79578 20 6.10419C20 4.46097 19.4365 2.94485 18.4134 1.83508Z' fill='%2300AFF0'/%3E%3C/svg%3E%0A");
    background-size: auto 14px;
}

.gradient {
    position: relative;

}

.js-profiles .cards {
    margin-bottom: 30px;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

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

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

.main h1 {
    text-align: center;
    margin: 0;
    margin-bottom: 25px;
}

.main h2 {
    font-size: 20px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 25px;
}

.main h2 strong {
    display: block;
}

.main__search {
    padding: 100px 0;
}

.main__tags {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.main__tags a {
    border: 1px solid rgba(138, 150, 163, .25);
    border-radius: 3px;
    padding: 5px 10px;
    display: block;
    font-size: 14px;
    color: #111;
    background: #fff;
}

.main__tags a:hover {
    color: #fff;
    border: 1px solid #1fb9f2;
    box-shadow: inset 16em 0 0 0 #1fb9f2;
}

.search {
    margin-bottom: 25px;
}

.search__group {
    margin: 0 auto;
    position: relative;
    width: 550px;
    display: flex;
    align-items: center;
}

.search__select {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    font-size: 14px;
    padding: 5px 0;
    padding-right: 20px;
    padding-left: 20px;
    border-right: 1px solid rgba(138, 150, 163, .25);
    color: #444;
}

.search__label {
    cursor: pointer;
    height: 100%;
    display: flex;
    align-items: center;
}

.search__label:after {
    content: '';
    background-image: url(assets/img/arrow.svg);
    width: 12px;
    height: 8px;
    transition: all 0.27s ease-in-out;
    transition: all 0.27s ease-in-out;
    transform: rotate(0deg);
    transform: rotate(0deg);
    display: inline-block;
    margin-left: 10px;
}

.search__label.active:after {
    background-image: url(assets/img/arrow-blue.svg);
    transform: rotate(-180deg);
    transform: rotate(-180deg);
}

.search__block {
    display: block;
    opacity: 0;
    position: absolute;
    visibility: hidden;
    z-index: 499;
    width: 14em;
    top: calc(100% + 5px);
    left: 0;
    background: #fff;
    box-shadow: 0 2px 5px rgba(68, 68, 68, 0.3);
    transform-origin: top center;
    transform: rotateX(-90deg);
    transition: all 0.25s ease;
    list-style: none;
    max-height: 300px;
    overflow-y: auto;
}

.search__block.active {
    opacity: 1;
    transform: rotateX(0deg);
    visibility: visible;
}

.search__block a {
    color: #111;
    padding: 5px 10px;
    display: block;
}

.search__block a:hover {
    background: #eaf8ff;
}

.search__input {
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.search__input input {
    padding: 20px 140px;
    border-radius: 5px;
    border: 1px solid rgba(138, 150, 163, .25);
    width: 100%;
    outline: none;
    font-family: inherit;
    color: #444;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.search__input button,
.search__input a {
    position: absolute;
    right: 10px;
    background: #fff0;
    border: 0;
    top: auto;
    width: 30px;
    height: 30px;
    padding: 0 5px;
    display: flex;
    align-items: center;
}

.prblock {
    padding: 70px 0;
}

.prblock__wrap {
    padding: 50px 0;
    border-radius: 5px;
    margin-bottom: 35px;
}

.prblock__wrap img {
    width: 100px;
    display: block;
    margin: 0 auto;
}

.prblock__cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    grid-gap: 60px;
    margin-bottom: 50px;
}

.prblock__card img {
    width: 30px;
    margin-bottom: 10px;
}

.prblock__subtitle {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    min-height: 60px;
}

.link__block {
    display: flex;
    justify-content: center;
}

.link__block .btn {
    min-width: 360px;
}

.location {
    padding: 70px 0;
}

.location__wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    grid-gap: 30px;
    margin: 30px 0 50px;
}

.location__card {
    position: relative;
    border: 1px solid rgba(138, 150, 163, .25);
    border-radius: 5px;
    background: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.location__card:hover {
    box-shadow: 0px 6px 14px -6px rgba(24, 39, 75, 0.12),
        0px 10px 32px -4px rgba(24, 39, 75, 0.1);
}

.location__flag {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 3px solid #fff;
    border-radius: 50%;
    top: auto;
    left: 50px;
    overflow: hidden;
}

.location__flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location__photo {
    width: 270px;
    height: 310px;
}

.location__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location__name img {
    width: 20px;
    display: inline-block;
}

.location__right {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location__right:before {
    content: '';
    position: absolute;
    left: -70px;
    top: -40px;
    bottom: -40px;
    background: #fff;
    width: 150px;
    border-radius: 55%;
    z-index: 1;
}

.location__name,
.location__text {
    position: relative;
    z-index: 2;
    color: #111;
}

.location__name {
    font-size: 20px;
    font-weight: 600;
}

.best {
    padding: 70px 0;
}

.subtitle {
    text-align: center;
    padding: 20px 0 30px;
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.subtitle img {
    width: 25px;
    display: inline-block;

}

.cards-best {
    margin-bottom: 50px;
}

.news {
    padding: 70px 0;
}

.news__cards {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 50px;
}

.news__card {
    border: 1px solid rgba(138, 150, 163, .25);
    box-shadow: 1.32496px 23.62px 63.8356px rgba(41, 41, 41, 0.1);
    border-radius: 5px;
    background: #fff;
    padding: 15px;
    width: 230px;
    transition: all .3s ease-in-out;
}

.news__card:hover {
    box-shadow: 0px 6px 14px -6px rgba(24, 39, 75, 0.12),
        0px 10px 32px -4px rgba(24, 39, 75, 0.1);
}

.news__photo {
    height: 200px;
}

.news__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news__nick {
    font-weight: 500;
    color: #111;
    margin-top: 10px;
}

.cats {
    padding: 70px 0;
}

.cats__wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.cats__wrap a {
    border: 1px solid rgba(138, 150, 163, .25);
    border-radius: 3px;
    padding: 10px 20px;
    display: block;
    font-size: 16px;
    color: #111;
    background: #fff;
}

.cats__wrap a:hover {
    color: #fff;
    border: 1px solid #1fb9f2;
    box-shadow: inset 16em 0 0 0 #1fb9f2;
}

.popular,
.faq {
    padding: 70px 0;
}

.cards-popular {
    padding: 30px 0 50px;
}

.faq__wrap {
    max-width: 970px;
    margin: 50px auto;
}

.faq__item {
    border: 1px solid rgba(138, 150, 163, .25);
    border-radius: 5px;
    margin-bottom: 16px;
    padding: 15px;
    padding-right: 55px;
    cursor: pointer;
    position: relative;
    background: #fff;
    transition: all .3s linear;
}

.faq__question {
    font-size: 20px;
    font-weight: 500;
    transition: all .3s linear;
}

.faq__answer {
    border-top: 1px solid #fff;
    cursor: auto;
    transition: all .3s linear;
}

.faq__item[aria-expanded=false] .faq__answer {
    height: 0;
    opacity: 0;
    overflow: hidden;
}

.faq__item[aria-expanded=true] .faq__answer {
    border-top: 1px solid #fff;
    margin-top: 15px;
    opacity: 1;
    transition: all .3s linear;
    color: #fff;
}

.faq__item[aria-expanded=true] .faq__question {
    color: #fff;
}

.faq__item[aria-expanded=true] {
    background: #00aff0;
}

.faq__icon {
    height: 40px;
    position: absolute;
    right: 16px;
    top: 6px;
    transition: transform .3s ease;
    width: 40px;
}

.faq__icon:after,
.faq__icon:before {
    background-color: #00aff0;
    border-radius: 30px;
    content: "";
    left: 50%;
    opacity: 1;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: opacity .2s ease;
}

.faq__icon:before {
    height: 30px;
    width: 5px;
}

.faq__icon:after {
    height: 5px;
    width: 30px;
}

.faq__item[aria-expanded=true] .faq__icon:after {

    background-color: #fff;
}

.faq__item[aria-expanded=true] .faq__icon:before {
    opacity: 0;
    background-color: #fff;
}

.famous {
    padding-bottom: 100px;
}

.fsearch {
    border-radius: 5px;
    padding: 50px 70px;
    margin-top: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.fsearch__form {
    margin-bottom: 30px;
}

.fsearch__group {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.fsearch__group input {
    padding: 20px 50px;
    border-radius: 5px;
    border: 1px solid rgba(138, 150, 163, .25);
    width: 100%;
    outline: none;
    font-family: inherit;
    color: #444;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    font-size: 16px;
}

.fsearch__group img {
    width: 20px;
    position: absolute;
    left: 15px;
    top: auto;
}

.fsearch__nav {
    display: flex;
    align-items: center;
    height: 100%;
    position: absolute;
    right: 10px;
    top: 0;
    bottom: 0;
}

.fsearch__nav .search__select {
    position: relative;
    height: 100%;
    border-right: 0;
    border-left: 1px solid rgba(138, 150, 163, .25);
}

.fsearch__nav button {
    font-size: 16px;
    min-width: 200px;
    margin-left: 15px;
}

.footer__text ul {
    padding-left: 20px;
}

@media screen and (max-width: 1280px) {
    .container {
        width: 100%;
    }

    .footer__wrapper {
        display: flex;
        flex-direction: column-reverse;
        gap: 50px;
    }

    .footer__right {
        justify-content: flex-start;
        gap: 50px;
    }
}

.burger,
.mobile-menu {
    display: none;
}

@media screen and (max-width: 1080px) {
    .prblock__cards {
        grid-gap: 30px;
    }

    .prblock__subtitle {
        min-height: auto;
    }

    .header__search,
    .header__nav {
        display: none;
    }

    .burger {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 40px;
        height: 30px;
        margin-left: auto;
    }

    .burger span {
        width: 100%;
        height: 3px;
        background: #fff;
        border-radius: 4px;
        transition: transform 0.2s ease-out;
        display: block;
    }

    .burger.active span:first-child {
        transform: scale(0.9) rotateZ(-45deg) translate(-7px, 4px);
    }

    .burger.active span:nth-child(2) {
        display: none;
    }

    .burger.active span:last-child {
        transform: scale(0.9) rotateZ(45deg) translate(-7px, -4px);
    }

    .ov-hidden {
        overflow: hidden;
    }

    .mobile-menu {
        display: block;
        position: fixed;
        opacity: 0;
        visibility: hidden;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        z-index: 1000;
        overflow-y: auto;
    }

    .mobile-menu.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu .header__search {
        display: flex;
        width: 100%;
        margin-bottom: 20px;
    }

    .mobile-menu .menu {
        display: block;
        background: #fff0;
        margin-bottom: 20px;
    }

    .mobile-menu .header__action {
        display: block;
        padding-bottom: 20px;
    }

    .header__action .btn {
        width: 100%;
    }

    .header__input {
        width: 100%;
    }

    .mobile-menu__wrap {
        padding: 15px;
        min-height: 100%;
        height: max-content;
    }

    .menu ul {
        list-style: none;
    }

    .menu p {
        font-size: 12px;
        opacity: .6;
        text-transform: uppercase;
        margin-top: 0;
    }

    .menu a {
        padding: 10px 0;
    }

    .submenu {
        position: relative;
        height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        background: #fff0;
        box-shadow: none;
        padding-left: 15px;
        transform: none !important;
        width: 100%;
    }

    .submenu.active {
        height: 200px;
        overflow-y: auto;
    }
}

.profiles__title {
    font-size: 24px;
    text-align: left;
    margin-bottom: 20px;
    font-weight: bold;
}

.profiles-similar {
    margin-bottom: 40px;
}

.profiles-similar .profiles__title {
    text-align: center;
    font-size: 32px;
    margin-top: 50px;
}

.profiles-similar .cards {
    margin-bottom: 30px;
}

.btn.loading {
    color: #fff0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn.loading:before,
.btn.loading:after {
    position: absolute;
    top: auto;
    left: auto;
    content: '';
}

.btn.loading:before {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border-width: 2px;
    border-style: solid;
    border-color: transparent;
    transform-origin: center center;
    animation: wave1 1.8s ease-in infinite;
    animation-delay: 0.1s;
}

.btn.loading:after {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border-width: 2px;
    border-style: solid;
    border-color: transparent;
    transform-origin: center center;
    animation: wave2 1.8s ease-in infinite;
    animation-delay: 0.2s;
}

@keyframes wave1 {
    0% {
        transform: scale(1);
    }

    10% {
        transform: scale(1+0.3/1);
        border-color: #fff;
    }

    20% {
        transform: scale(1);
    }

    40% {
        transform: scale(1);
        border-color: transparent;
    }

    100% {
        transform: scale(1);
        border-color: transparent;
    }
}

@keyframes wave2 {
    0% {
        transform: scale(1);
    }

    10% {
        transform: scale(1+0.3/2);
        border-color: #fff;
    }

    20% {
        transform: scale(1);
    }

    40% {
        transform: scale(1);
        border-color: transparent;
    }

    100% {
        transform: scale(1);
        border-color: transparent;
    }
}

@media screen and (max-width: 768px) {
    .card {
        width: 100%;
    }

    h1,
    h2,
    h3 {
        font-size: 24px;
    }

    .main h2 {
        font-size: 16px;
    }

    .main__tags {
        flex-wrap: wrap;
    }

    .header__action,
    .menu {
        display: none;
    }

    .search__group {
        width: 100%;
    }

    .search__input input {
        padding: 20px 20px 20px 140px;
    }

    .location__photo {
        width: 180px;
        height: 215px;
    }

    .location__flag {
        width: 65px;
        height: 65px;
        left: 20px;
    }

    .location__wrapper {
        grid-template-columns: 1fr;
    }

    .prblock__subtitle,
    .prblock__text {
        text-align: center;
    }

    .prblock__card img {
        display: block;
        margin: 0 auto 10px;
    }

    .news__cards {
        flex-wrap: wrap;
    }

    .news__card {
        width: 45%;
    }

    .footer__right {
        display: block;
    }

    .footer__menu {
        padding-bottom: 15px;
        margin-bottom: 15px;
        border-bottom: 1px solid rgba(138, 150, 163, .25);
    }

    .popular,
    .faq,
    .prblock,
    .location,
    .best,
    .news {
        padding: 35px 0;
    }

    .subtitle {
        padding: 10px 0 10px;
        font-size: 16px;
    }

    .main__search {
        padding: 60px 0;
    }

    .fsearch__form {
        width: 100%;
    }

    .fsearch__nav {
        position: relative;
        flex-wrap: wrap;
        right: 0;
        width: 100%;
    }

    .fsearch__group {
        display: block;
    }

    .fsearch {
        padding: 50px 15px;
    }

    .fsearch__nav .search__select {
        background: #fff;
        width: 50%;
        padding: 15px 10px;
    }

    .fsearch__nav button {
        width: 100%;
        margin: 0;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .fsearch__group input {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .fsearch__group img {
        top: 25px;
    }

    .faq__question {
        font-size: 16px;
    }

    .faq__answer {
        font-size: 14px;
    }
}

.wp-block-image {
    max-width: 630px;
    border-radius: 5px;
    margin: 0 auto;
}

.wp-block-image img {
    border-radius: 5px;
}

.wp-block-list {
    padding-left: 20px;
    margin-bottom: 20px;
}

.has-text-align-center {
    text-align: center;
}

.cards-top {
    justify-content: center;
}

.main__tags-hide {
    height: 120px;
    overflow: hidden;
    position: relative;
    margin-top: 30px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
    list-style: none;
    transition: all .3s linear;
}

.main__tags-hide:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, #fff0, #f6f7f8);
}

.main__tags-hide.active:before {
    display: none;
}

.main__tags-hide.active+.link__block {
    display: none;
}

.breadcrumbs {
    list-style: none;
    display: flex;
    padding: 0;
    align-items: center;
    margin-bottom: 15px;
}

.breadcrumbs a {
    display: flex;
    align-items: center;
    color: #00aff0;
}

.breadcrumbs a:hover{
    color: #111;
}

.breadcrumbs a:after {
    content: '>';
    padding: 0 5px;
    color: #111;
}

.sitemap {
    margin-top: 20px;
}

.sitemap__item{
    display: block;
    margin-bottom: 5px;
    border: 1px solid rgba(138, 150, 163, .25);
    border-radius: 3px;
    padding: 15px;
}

.sitemap__item:hover{
    color: #fff;
    background: #00aff0;
}

/* Перезапись базовых стилей */
body {
  background-color: #f0f9ff !important;
  color: #00334e !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 17px;
}

a {
  color: #0077cc !important;
}

a:hover {
  color: #005fa3 !important;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif !important;
  color: #00334e !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Хедер */
.header {
  background: #e6f4ff !important;
  color: #00334e !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.header__nav a {
  color: #00334e !important;
  font-weight: bold;
}

.header__nav a:hover {
  color: #009ddc !important;
}

.header__input {
  background-color: #ffffff !important;
  border: 2px solid #99d6ff !important;
  color: #00334e !important;
}

.header__search button img {
  filter: hue-rotate(180deg) saturate(2);
}

/* Кнопки */
.btn {
  background-image: none !important;
  background-color: #0077cc !important;
  border-radius: 8px !important;
  color: #fff !important;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}

.btn:hover {
  background-color: #005fa3 !important;
}

/* Карточки */
.card {
  background: #ffffff !important;
  border-radius: 12px !important;
  border: 1px solid #cce7f9 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
}

/* Цены и названия */
.card__name {
  color: #00334e !important;
}

.card__price {
  color: #0077cc !important;
}

/* Подвал */
.footer {
  background: #e6f4ff !important;
  color: #00334e !important;
}

.footer__menu a {
  color: #0077cc !important;
}

.footer__menu a:hover {
  color: #005fa3 !important;
}

/* Формы поиска */
.search__input input {
  background-color: #ffffff !important;
  border: 2px solid #b3e0ff !important;
  color: #00334e !important;
  box-shadow: none !important;
}

.search__input button img {
  filter: hue-rotate(180deg);
}

/* Ссылки списка */
.country__list a, .cats__wrap a, .main__tags a {
  background: #e6f4ff !important;
  border: 1px solid #99d6ff !important;
  color: #00334e !important;
}

.country__list a:hover, .cats__wrap a:hover, .main__tags a:hover {
  background-color: #0077cc !important;
  color: #fff !important;
  box-shadow: none !important;
}

/* FAQ */
.faq__item {
  background: #f0faff !important;
  border-color: #99d6ff !important;
}

.faq__item[aria-expanded=true] {
  background: #0077cc !important;
}

.faq__question {
  color: #00334e !important;
}

.faq__item[aria-expanded=true] .faq__question,
.faq__item[aria-expanded=true] .faq__answer {
  color: #fff !important;
}

.faq__icon:after, .faq__icon:before {
  background-color: #0077cc !important;
}

.faq__item[aria-expanded=true] .faq__icon:after {
  background-color: #fff !important;
}

/* Хлебные крошки */
.breadcrumbs a {
  color: #0077cc !important;
}

.breadcrumbs a:hover {
  color: #005fa3 !important;
}

.breadcrumbs a:after {
  color: #00334e !important;
}


/* Новая светлая шапка */
.new-header {
  background: #eaf6ff;
  padding: 20px 0;
  border-bottom: 1px solid #cce7f9;
}

.new-header__container {
  max-width: 1240px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.new-header__logo img {
  max-height: 40px;
  display: block;
}

.new-header__search {
  flex: 1;
  display: flex;
  position: relative;
}

.new-header__search input {
  flex: 1;
  padding: 12px 50px 12px 15px;
  border-radius: 8px;
  border: 1px solid #bde3f7;
  font-size: 16px;
  background: #fff;
  color: #00334e;
  outline: none;
  transition: all 0.3s ease;
}

.new-header__search input:focus {
  border-color: #69bdf2;
}

.new-header__search button {
  background: none;
  border: none;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.new-header__search button img {
  width: 20px;
}

.new-header__nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
}

.new-header__nav a {
  color: #0077cc;
  font-weight: 600;
  transition: color 0.3s;
}

.new-header__nav a:hover {
  color: #005fa3;
}

/* Кнопка */
.btn-primary {
  background: #0077cc;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #005fa3;
}

/* Бургер */
.burger {
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 3px;
  background: #0077cc;
  border-radius: 2px;
}

/* Меню */
.new-menu {
  background: #f4fbff;
  padding: 10px 20px;
  border-top: 1px solid #cce7f9;
  border-bottom: 1px solid #cce7f9;
}

.new-menu ul {
  display: flex;
  list-style: none;
  gap: 25px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.new-menu a {
  color: #00334e;
  font-weight: 500;
  padding: 10px;
  border-radius: 4px;
  transition: 0.3s;
}

.new-menu a:hover {
  background: #d6efff;
  color: #0077cc;
}

/* Подменю */
.has-submenu {
  position: relative;
}

.has-submenu .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #bde3f7;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border-radius: 8px;
  padding: 10px;
  z-index: 999;
  min-width: 200px;
}

.has-submenu:hover .submenu {
  display: block;
}

.submenu li {
  margin-bottom: 8px;
}

.submenu li:last-child {
  margin-bottom: 0;
}

.submenu a {
  color: #00334e;
  font-weight: normal;
  display: block;
}
