/*
 Theme Name:     Bill & John Theme
 Theme URI:      https://www.wildwildweb.gr/
 Description:    Made by wildwildweb
 Author:         Wildwildweb
 Author URI:     https://www.wildwildweb.gr/
 Version:        1.0.1
*/

/*------------------------------------------------------------

#RESET

--------------------------------------------------------------*/

:root {
    --color-white: #fff;
    --color-black: #171717;
    --Extra-Light-Grey: #fafafa;
    --Light-Grey: #dadada;
    --Medium-Grey: #a6a6a6;
    --Dark-Grey: #5d5d5d;
    --spacing-small: clamp(20px, 2vw, 32px);
    --spacing-med: clamp(20px, 3vw, 64px);
    --spacing-large: clamp(20px, 6.65vw, 120px);
    --spacing-main: clamp(20px, 8vw, 216px);
    --body-text-large: clamp(18px, 2.5vw, 24px);
}

* {
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /* Firefox, other Gecko */
    box-sizing: border-box; /* Opera/IE 8+ */
}

@font-face {
    font-family: "Geologica";
    src: url("./assets/fonts/Geologica.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

div,
span,
p,
h1,
h2,
h3,
h4,
h5,
h6,
label,
input,
a {
    font-family: "Geologica", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    /* background: var(--color-bg) !important; */
    color: var(--color-black);
    font-family: "Geologica", serif;
}

div,
span,
p,
h1,
h2,
h3,
h4,
h5,
h6,
label,
input,
a {
    font-family: "Geologica", serif;
}

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

video {
    max-width: 100%;
}

a {
    -webkit-transition: all ease-in-out 0.5s;
    -moz-transition: all ease-in-out 0.5s;
    -o-transition: all ease-in-out 0.5s;
    transition: all ease-in-out 0.5s;
}

button {
    -webkit-transition: all ease-in-out 0.5s;
    -moz-transition: all ease-in-out 0.5s;
    -o-transition: all ease-in-out 0.5s;
    transition: all ease-in-out 0.5s;
}

a,
a:hover,
a:focus {
    text-decoration: none !important;
}

.nooverflow {
    overflow: hidden !important;
    touch-action: none;
    -ms-touch-action: none;
}

.center {
    text-align: center;
}

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

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

.spacing {
    padding: 60px 0;
}

.nopad {
    padding: 0 !important;
}

.menu {
    margin: 0;
    padding: 0;
}

.h1 {
    font-size: clamp(40px, 4.5vw, 80px) !important;
    font-weight: 200 !important;
}

.h2 {
    font-size: clamp(34px, 4.5vw, 68px) !important;
    font-weight: 200 !important;
}

.h3 {
    font-size: clamp(28px, 3.88vw, 56px) !important;
    font-weight: 200 !important;
    line-height: 105% !important;
}

.h4 {
    font-size: clamp(20px, 3.5vw, 38px) !important;
    font-weight: 200 !important;
    line-height: 110% !important;
}

.h5 {
    font-size: clamp(18px, 3.5vw, 28px) !important;
    font-weight: 200 !important;
}

.body-text {
    font-size: clamp(16px, 1.66vw, 20px) !important;
}

.body-text-large {
    font-size: var(--body-text-large) !important;
}

.mi-small {
    margin-inline: var(--spacing-small);
}

.mi-med {
    margin-inline: var(--spacing-med);
}

.mi-large {
    margin-inline: var(--spacing-large);
}

.mi-main {
    margin-inline: var(--spacing-main);
}

.pi-small {
    padding-inline: var(--spacing-small);
}

.pi-med {
    padding-inline: var(--spacing-med);
}

.pi-large {
    padding-inline: var(--spacing-large);
}

.pi-main {
    padding-inline: var(--spacing-main);
}

.pb-small {
    padding-block: var(--spacing-small);
}

.pb-med {
    padding-block: var(--spacing-med);
}

.pb-large {
    padding-block: var(--spacing-large);
}

.pb-main {
    padding-block: var(--spacing-main);
}

.c-white {
    color: var(--color-white);
}

.c-white a {
    color: var(--color-white);
}

.c-black {
    color: var(--color-black);
}

.bgc-white {
    background: var(--color-white);
}

.bgc-black {
    background: var(--color-black);
}

.collapse,
.collapsing {
    opacity: 0;
    overflow: hidden;
    height: 0;
    transition: opacity 0.4s ease;
    height: 100%;
}

.collapse.show {
    opacity: 1;
    height: auto;
}

.btn-main {
    background: var(--color-white);
    color: var(--color-black);
    padding: 20px 32px;
}

.btn-main.bordered {
    border: 2px solid var(--color-black);
}

.btn-dark {
    background: var(--color-black);
    color: var(--color-white);
    padding: 20px 32px;
}

.scroll-indicator svg path:nth-child(2) {
    display: none;
}

/*------------------------------------------------------------

#ANIMATION

--------------------------------------------------------------*/

.anim-swipe-up span {
    display: inline-block;
    position: relative;
    transform: translateY(0);
    opacity: 1;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

/* Hover effect */
.anim-swipe-up:hover span {
    animation:
        swipe-up-out 0.3s ease forwards,
        swipe-up-in 0.3s ease 0.3s forwards;
}

/* Add delay for the second span */
.anim-swipe-up span:nth-child(2) {
    animation-delay: 0.1s, 0.3s; /* Delay for out and in animations */
}

/* Keyframes for moving out of view */
@keyframes swipe-up-out {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-100%);
        opacity: 0;
    }
}

/* Keyframes for moving back into view */
@keyframes swipe-up-in {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/*------------------------------------------------------------

#BREADCRUMBS

--------------------------------------------------------------*/

.breadcrumb-wrapper {
    font-size: 14px;
    font-weight: 400;
    line-height: 140%;
    padding-block: 4px;
}

.breadcrumb-wrapper.dark {
    background: var(--color-black);
    color: var(--color-white);
}

.breadcrumb-wrapper.dark #crumbs a {
    color: var(--color-white);
}

.breadcrumb-wrapper.dark #crumbs span.current {
    color: var(--Medium-Grey);
}

#crumbs {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

#crumbs a {
    color: var(--color-black);
    font-size: 14px;
    font-weight: 400;
    line-height: 140%;
}

#crumbs span.current {
    color: var(--Dark-Grey);
    font-size: 14px;
    font-weight: 400;
    line-height: 140%;
}

/*------------------------------------------------------------

#HOME ONLY

--------------------------------------------------------------*/

.home .sticky-header {
    background: none;
    border: none;
}

.home.nooverflow .sticky-header {
    background: var(--color-white);
    border-bottom: 1px solid var(--Light-Grey);
}

main.page-wrapper.homepage {
    position: relative;
    top: -105px;
}

.home .sticky-header.active-sticky {
    background: var(--color-white);
    border-bottom: 1px solid var(--Light-Grey);
}

/*------------------------------------------------------------

#HEADER

--------------------------------------------------------------*/

.header-wrapper {
    background: var(--color-white);
    padding: 16px 32px;
    border-bottom: 1px solid var(--Light-Grey);
    -webkit-transition: background-color ease-in-out 0.3s;
    -moz-transition: background-color ease-in-out 0.3s;
    -o-transition: background-color ease-in-out 0.3s;
    transition: background-color ease-in-out 0.3s;
}

.header-wrapper.dark {
    background: var(--color-black);
    color: var(--color-white);
    border-bottom: 1px solid rgba(218, 218, 218, 0.05);
}

.header-wrapper .logo.logo-dark {
    display: none;
}

.header-wrapper .logo.logo-light {
    display: block;
}

.header-wrapper.dark .logo.logo-dark {
    display: block;
}

.header-wrapper.dark .logo.logo-light {
    display: none;
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1001;
}

.desktop-menu-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-logo .logo {
    width: clamp(150px, 12.5vw, 250px);
}

.header-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    margin: 0;
    padding: 0;
}

.navbar-nav.main {
    display: flex;
    flex-direction: row;
    gap: 32px;
}

.navbar-nav.main .sub-menu {
    display: none;
}

.navbar-nav.main li.menu-item-has-children {
    position: relative;
}

.navbar-nav.main li.menu-item-has-children .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    padding: 0;
    margin: 0;
    list-style: none;
    z-index: 9999;
}

.navbar-nav.main li.menu-item-has-children:hover .sub-menu {
    display: block;
}

.navbar-nav.main li a {
    color: var(--color-black);
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
}

.header-wrapper.dark .navbar-nav.main li a {
    color: var(--color-white);
}

.navbar-nav.main li.menu-item-has-children:hover .sub-menu {
    background: var(--color-white);
    display: flex !important;
    flex-direction: column;
    flex-wrap: wrap;
    width: 960px;
    height: 463px;
    padding: 20px;
    box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.08);
}

/* .navbar-nav.main li.menu-item-has-children:hover .sub-menu {
    display: grid !important;
    grid-template-rows: repeat(4, 1fr);
    grid-auto-flow: column;
    gap: 20px;
    background: var(--color-white);
    padding: 20px;
    width: 650px;
    height: auto;
    box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.08);
    list-style: none;
} */

.navbar-nav.main .sub-menu li {
    color: var(--color-black) !important;
    border-right: 2px solid var(--Light-Grey);
    padding: 10px;
}

.navbar-nav.main .sub-menu li:nth-child(n + 28) {
    border-right: none;
}

.navbar-nav.main .sub-menu li a {
    color: inherit !important;
}

.navbar-nav.main li.menu-item-has-children::after {
    content: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    display: inline-block;
    margin-left: 5px;
    vertical-align: middle;
}

.header-wrapper.dark .navbar-nav.main li.menu-item-has-children::after {
    content: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23FFFFFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
}

.menu-buttons-wrapper {
    display: flex;
    flex-direction: row-reverse;
    gap: 16px;
}

/*------------------------------------------------------------

#PAGES

--------------------------------------------------------------*/

.page-title {
    font-weight: 200;
    line-height: 100%;
    padding: var(--spacing-small) 0 var(--spacing-med);
    margin: 0 !important;
}

.blog-post-image-wrapper {
    position: relative;
}

.post-bg {
    display: none;
    position: absolute;
    bottom: 0;
}

.post-bg svg {
    width: 100%;
    max-width: 100%;
}

.post-bg svg path {
    fill: var(--color-white);
}

.blog-post:nth-child(3) .post-bg,
.blog-post:nth-child(9) .post-bg {
    display: block;
}

.blog-post:nth-child(2) .post-bg,
.blog-post:nth-child(6) .post-bg {
    display: block;
    transform: rotateY(180deg);
}

body .is-layout-flex .inline-stack {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.full-overlay-search {
    display: none;
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.full-overlay-search.active {
    display: flex !important;
}

#close-search {
    position: absolute;
    top: 32px;
    right: 32px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 100000;
}

.search-form-wrapper {
    width: 90vw;
    max-width: 800px;
}

form.search-form {
    display: flex;
    gap: 12px;
}

.search-form-wrapper form label {
    width: 100%;
}

.searchform input#s {
    flex: 1 0 90%;
    padding: 14px;
    background: none;
    border: none;
    border-bottom: 2px solid #fff;
}

#searchsubmit {
    padding-inline: 20px;
}

.full-overlay-search input[type="search"] {
    color: #fff;
    font-size: 20px;
    width: 100%;
    font-size: 1rem;
    padding: 1rem;
    background: none;
    border: none;
    border-bottom: 2px solid #fff;
}

.full-overlay-search input[type="search"]::placeholder {
    color: #fff;
    font-size: 20px;
}

button.search-submit {
    border: none;
    padding-inline: 16px;
}

.header-wrapper.dark .search-menu-btn svg path {
    fill: #fff;
}

/*------------------------------------------------------------

#FOOTER

--------------------------------------------------------------*/

.prefooter-title.h1 {
    /* width: 80%; */
    font-size: clamp(40px, 3.5vw, 64px) !important;
}

.footer-wrapper {
    background: var(--color-black);
    color: var(--color-white);
    padding-top: var(--spacing-large);
}

.footer-navigation {
    display: flex;
    justify-content: space-between;
}

.footer-nav-title {
    color: var(--Light-Grey);
    font-weight: 200;
    line-height: 140%;
    text-transform: uppercase;
}

.navbar-nav.footer {
    display: flex;
    gap: 8px;
}

.footer-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-info-title {
    margin: 0;
}

.footer-info-row {
    display: flex;
    gap: 16px;
}

.footer-info-row svg {
    width: 24px;
    height: 24px;
}

.footer-info-link {
    color: var(--color-white);
    font-size: 18px;
    font-weight: 400;
    line-height: 140%;
}

.footer-menu li a {
    color: var(--color-white);
    font-size: 18px;
    font-weight: 400;
    line-height: 140%;
}

.footer-bg-wrapper {
    position: relative;
    width: 100%;
}

.lower-footer-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 0;
    z-index: 5;
}

.socials {
    display: flex;
    gap: 16px;
    align-items: center;
}

.copyright-wrapper {
    display: flex;
    justify-content: space-between;
}

.footer-bg-image {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.www-logo {
    display: flex;
    gap: 16px;
}

/*------------------------------------------------------------

#SINGLE ARTICLE

--------------------------------------------------------------*/

h1.article-title {
    margin: 32px 0;
}

.article-date {
    font-weight: 300;
    line-height: 140%;
    margin-bottom: 24px;
}

img.article-featured-image {
    max-height: 820px;
    width: 100%;
    object-fit: cover;
}

.single-article .is-layout-flex {
    display: flex;
    justify-content: space-between;
}

.wp-block-column p {
    font-size: 20px;
    font-weight: 300;
    line-height: 140%;
}

.single-article .wp-block-image img {
    max-height: 700px;
    width: 100%;
    object-fit: cover;
}

section.more-posts-section {
    background: var(--Light-Grey);
    margin-bottom: var(--spacing-large);
}

.more-posts-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-med);
}

.more-posts-content {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.more-posts-content article.blog-post {
    background: var(--color-white);
    display: flex;
    flex: 1 0 calc(33% - 32px);
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.08);
    max-width: none;
}

.more-posts-content.yachts-content article.blog-post {
    background: none;
    box-shadow: none;
    justify-content: flex-start;
}

img.blog-featured-image {
    object-fit: cover;
    width: 100%;
}

.yachts-content img.blog-featured-image {
    object-fit: cover;
    width: 100%;
    aspect-ratio: 576 / 367;
}

.blog-post-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: clamp(12px, 2.25vw, 40px);
}

.yachts-content .blog-post-content {
    flex-direction: column;
    gap: 10px;
    padding: clamp(12px, 2.25vw, 24px);
}

.yacht-details {
    display: flex;
    gap: 24px;
}

.yacht-details span {
    color: var(--Dark-Grey);
    font-size: 16px;
    font-weight: 300;
    line-height: 140%;
    display: flex;
    align-items: center;
    gap: 5px;
}

.yacht-details span strong {
    color: var(--color-black);
    font-weight: bold;
}

p.blog-title {
    font-size: var(--body-text-large) !important;
    font-weight: 400;
    line-height: 140%;
    margin: 0;
}

p.blog-title a {
    color: var(--color-black);
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    transition: none;
}

p.blog-excerpt {
    color: var(--Dark-Grey);
    font-size: 16px;
    font-weight: 300;
    line-height: 140%;
    margin: 0;
}

.blog-date {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.load-more-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-block: var(--spacing-small);
}

/*------------------------------------------------------------

#SINGLE ACCOMMODATION

--------------------------------------------------------------*/

.accommodation-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--spacing-small);
}

.accommodation-title {
    margin-bottom: 0 !important;
}

.accommodation-buttons {
    display: flex;
    gap: 16px;
}

.accommodation-data {
    display: flex;
    align-items: center;
    /* gap: 32px; */
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 300;
    line-height: 140%;
    padding: 25px 0 5px;
}

.accommodation-data.is-hotel {
    padding: 25px var(--spacing-main) var(--spacing-med) var(--spacing-main);
}

.accommodation-data span {
    color: var(--Dark-Grey);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 16px;
}

.accommodation-data span strong {
    color: var(--color-black);
    font-weight: bold;
}

.accommodation-address {
    display: flex;
    gap: 5px;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    color: var(--Dark-Grey);
    padding-bottom: 5px;
}
.accommodation-address a {
    color: var(--Dark-Grey);
}
.accommodation-gallery {
    display: flex;
    gap: 12px;
    position: relative;
}

.accommodation-galleries .layout-title.follows-accomodation-data {
    padding-bottom: 0;
}

.thumb-image {
    height: 100%;
    object-fit: cover;
}

.swiper-container-accommodation {
    flex: 1 0 80%;
}

.swiper-container-accommodation .gallery-image {
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
}

.swiper-container-layout {
    padding-left: var(--spacing-med) !important;
}

.layout-gallery img.gallery-image {
    aspect-ratio: 288 / 233;
    object-fit: cover;
    cursor: grab;
}

.swiper-container-thumb .swiper-wrapper {
    max-height: clamp(500px, 5vw, 700px);
}

.gallery-button-wrapper {
    position: absolute;
    z-index: 5;
    bottom: 20px;
    right: 20px;
}

.show-gallery-btn {
    background: var(--color-white);
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gallery-modal {
    display: none;
}

.gallery-modal.active {
    background: rgba(0, 0, 0, 0.7);
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1200;
}

.modal-wrapper {
    background: var(--Extra-Light-Grey);
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 40px;
    right: 40px;
    border-radius: 16px;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: flex-end !important;
    padding: 20px !important;
    border-bottom: 1px solid var(--Light-Grey) !important;
}

.gallery-modal-close {
    cursor: pointer;
}

.gallery-modal-content {
    padding: 20px;
    overflow-y: auto;
    height: calc(100% - 80px) !important;
}

.gallery-modal-content .gallery-image {
    max-width: calc(25% - 20px);
    margin-bottom: 10px;
}

.lg-backdrop {
    z-index: 1350 !important;
}

.lg-outer {
    width: 100%;
    height: 100%;
    z-index: 1350 !important;
}

.lg-outer .lg-img-wrap .lg-object.lg-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: scale-down;
}

.accommodation-amenities.pb-large.mb-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background-repeat: repeat;
    background-image: url("./images/BG.png");
}

.amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-top: var(--spacing-small);
}

.amenity-item {
    background: var(--color-white);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.amenity-item svg {
    max-width: 50px;
    max-height: 50px;
}

.similar-properties-title {
    margin-bottom: var(--spacing-small) !important;
}

.similar-properties-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.destinations-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.destination-item {
    background: var(--color-white);
    flex: 1 0 calc(33% - 32px);
    max-width: calc(33% - 16px);
    transition: box-shadow 0.5s ease;
    /* height: 100%; */
    max-height: 660px;
}

.destination-item:hover {
    box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.08);
}

.destination-gallery {
    position: relative;
}

.destination-item .featured-image.wp-post-image {
    aspect-ratio: 192 / 135;
    max-height: 420px;
    object-fit: cover;
    width: 100%;
    transition: all 0.5s;
}

.destination-item:hover .featured-image.wp-post-image {
    aspect-ratio: 192 / 115;
}

.destination-type {
    position: absolute;
    top: 16px;
    left: 16px;
    color: var(--color-white);
    font-size: 14px;
    font-weight: 400;
    line-height: 140%;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 8px;
}

.destination-content {
    padding: 24px;
}

.destination-title {
    color: var(--color-black);
    font-size: var(--body-text-large);
    font-weight: 400;
    line-height: 140%;
    margin: 0;
}

.destination-title a {
    color: inherit;
}

.destination-taxonomy {
    margin-bottom: 8px;
}

.taxonomy-term {
    color: var(--color-black);
    font-style: normal;
    font-weight: 300;
    line-height: 140%;
}

.destination-basic-data {
    display: flex;
    gap: 24px;
}

.destination-basic-data span {
    color: var(--Dark-Grey);
    font-size: 16px;
    font-weight: 300;
    line-height: 140%;
    display: flex;
    align-items: center;
    gap: 2px;
}

.destination-basic-data span strong {
    color: var(--color-black);
    font-weight: bold;
}

.destination-excerpt {
    color: var(--Dark-Grey);
    font-size: 14px;
    font-weight: 400;
    line-height: 140%;
    margin-block: 16px;
}

.destination-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.destination-price {
    font-size: var(--body-text-large) !important;
    font-style: normal;
    font-weight: 400;
    margin: 0;
}

.destination-taxonomy-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.destination-frequency {
    margin: 0;
    color: var(--Dark-Grey);
    font-size: 16px;
    font-weight: 300;
    line-height: 140%;
}

.destination-type {
    position: absolute;
    top: 16px;
    left: 16px;
    color: var(--color-white);
    font-size: 14px;
    font-weight: 400;
    line-height: 140%;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 8px;
    z-index: 6;
}

.destination-buttons {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    text-align: center;
    opacity: 0;
    transform: scaleY(0);
    transition:
        opacity 0.1s ease,
        transform 0.5s ease;
}

.destination-item:hover .destination-buttons {
    opacity: 1;
    transform: scaleY(1);
}

.destination-buttons a {
    width: 100%;
}

/* SWIPER */

.accommodation-swiper {
    overflow: hidden;
}

.accommodation-swiper .swiper-wrapper {
    max-width: 0px;
}

.accommodation-swiper .swiper-slide img {
    aspect-ratio: 192 / 135;
    max-height: 420px;
    object-fit: cover;
    width: 100%;
    transition: aspect-ratio 0.5s ease;
}

.destination-item:hover .swiper-slide img {
    aspect-ratio: 192 / 115;
}

.accommodation-swiper .swiper-pagination-bullet {
    background: var(--color-black) !important;
    opacity: 20%;
}

.accommodation-swiper .swiper-pagination-bullet-active {
    opacity: 100%;
}

.single-accommodation .wp-block-heading {
    position: sticky;
    top: 20%;
}

.styled-swiper {
    background: var(--color-black);
    height: 20px !important;
    padding: 26px;
}

.styled-swiper.swiper-button-prev {
    left: 0 !important;
}

.styled-swiper.swiper-button-next {
    right: 0 !important;
}

.styled-swiper::after {
    display: inline-block;
    width: 20px;
    height: 20px;
    font-size: initial !important;
}

.swiper-button-prev.styled-swiper::after {
    content: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns%3D%22http%3A//www.w3.org/2000/svg%22 width%3D%2220%22 height%3D%2220%22 viewBox%3D%220 0 20 20%22 fill%3D%22none%22%3E%3Cpath d%3D%22M0.833527 9.9979L6.37144 16.2458L7.30687 15.4167L3.05785 10.6229L19.1687 10.6229V9.3729L3.05785 9.3729L7.30687 4.57913L6.37144 3.75L0.833527 9.9979Z%22 fill%3D%22%23FFFFFF%22/%3E%3C/svg%3E");
}

.swiper-button-next.styled-swiper::after {
    content: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns%3D%22http%3A//www.w3.org/2000/svg%22 width%3D%2220%22 height%3D%2220%22 viewBox%3D%220 0 20 20%22 fill%3D%22none%22%3E%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M13.6306 3.75L19.1685 9.9979L13.6306 16.2458L12.6952 15.4167L16.9442 10.6229H0.833344V9.3729H16.9442L12.6952 4.57913L13.6306 3.75Z%22 fill%3D%22%23FFFFFF%22/%3E%3C/svg%3E");
}

.acc-swiper-btn {
    display: none !important;
    padding: 14px !important;
    height: 16px !important;
    width: 16px !important;
}

.destination-item:hover .acc-swiper-btn {
    display: flex !important;
}

.accommodation-content {
    display: flex;
}

.scrolling-title {
    flex: 0 0 33%;
}

.accommodation-map {
    margin-top: var(--spacing-small);
}

#mapAll {
    position: sticky !important;
    top: 105px;
    height: calc(80vh - 105px);
    width: 100%;
}

/* FILTERS */

.taxonomy-page .filter-wrapper {
    margin-top: var(--spacing-small);
}

.filter-wrapper {
    background: var(--color-white);
    box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.08);
}

form.destination-filters {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: var(--spacing-med);
}

.filter-field {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    border-bottom: 1px solid var(--Medium-Grey);
    flex: 1 0;
    position: relative;
}

.filter-wrapper label {
    font-size: 14px;
    font-weight: 400;
    position: absolute;
    top: -8px;
}

.filter-wrapper select {
    background: none;
    color: var(--black);
    border: none;
}

.filter-field.location-field {
    flex-basis: 20%;
}

.filter-btn {
    background: none;
    border: none;
    transition: none;
}

.filter-btn.selected {
    border-bottom: 2px solid var(--color-black);
}

.filter-btn.selected svg path {
    fill: var(--color-black);
}

/*------------------------------------------------------------

#SINGLE YACHT

--------------------------------------------------------------*/

.yacht-title-wrapper {
    display: flex;
    justify-content: space-between;
    padding: 32px 0 24px;
}

.yacht-featured-image {
    width: 100%;
    max-height: 820px;
    object-fit: cover;
}

.swiper-container-yacht {
    padding-left: var(--spacing-med) !important;
}

/*------------------------------------------------------------

#GALLERY WITH NAVIGATION

--------------------------------------------------------------*/

.gallery-nav-section {
    padding-bottom: var(--spacing-large);
    padding-right: 0;
}

.gallery-swiper-nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: var(--color-black);
    border-radius: 50%;
    position: absolute;
    top: calc(50% - 40px);
    left: 62.5%;
    height: 80px;
    width: 80px;
    z-index: 5;
}

.gallery-nav-section .gallery-swiper-btn {
    position: static;
    height: 16px;
    width: 16px;
    margin-top: 0;
}

.gallery-nav-section .swiper-button-prev.gallery-swiper-btn::after {
    content: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M0.833527 9.9979L6.37144 16.2458L7.30687 15.4167L3.05785 10.6229L19.1687 10.6229V9.3729L3.05785 9.3729L7.30687 4.57913L6.37144 3.75L0.833527 9.9979Z" fill="%23FFFFFF"/></svg>');
    height: 100%;
    font-size: 0;
}

.gallery-nav-section .swiper-button-next.gallery-swiper-btn::after {
    content: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M13.6306 3.75L19.1685 9.9979L13.6306 16.2458L12.6952 15.4167L16.9442 10.6229H0.833344V9.3729H16.9442L12.6952 4.57913L13.6306 3.75Z" fill="%23FFFFFF"/></svg>');
    height: 100%;
    font-size: 0;
}

.swiper-circle::after {
    content: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10" fill="none"><circle cx="5" cy="5" r="4.5" stroke="%23FFFFFF"/><circle cx="5" cy="5" r="1.5" stroke="%23FFFFFF"/></svg>');
}

.gallery-nav-section .swiper-slide img {
    aspect-ratio: 288 / 233;
    object-fit: cover;
}

/*------------------------------------------------------------

#SEARCH

--------------------------------------------------------------*/

.searcht-title {
    text-transform: capitalize;
}

/* #search-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 32px;
} */

#search-wrapper article.blog-post {
    display: flex;
    flex: 1 0 calc(33% - 32px);
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.08);
    max-width: calc(33% - 32px);
}

#search-wrapper img.blog-featured-image {
    object-fit: cover;
    width: 100%;
}

#search-wrapper .blog-post-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 40px;
}

#search-wrapper p.blog-title {
    font-size: var(--body-text-large) !important;
    font-weight: 400;
    line-height: 140%;
    margin: 0;
}

#search-wrapper p.blog-title a {
    color: var(--color-black);
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    transition: none;
}

#search-wrapper p.blog-excerpt {
    color: var(--Dark-Grey);
    font-size: 16px;
    font-weight: 300;
    line-height: 140%;
    margin: 0;
}

#search-wrapper .blog-date {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#search-wrapper .filter-wrapper {
    display: none;
}

/*------------------------------------------------------------

#CONTACT FORM

--------------------------------------------------------------*/

/*------------------------------------------------------------

#EXTERNALS

--------------------------------------------------------------*/

.gsb-button-list {
    display: flex;
    flex-direction: column;
}

.gsb-button-list .chat-button:nth-child(1) {
    -webkit-transform: none !important;
    transform: none !important;
    bottom: 80px;
}

.gsb-button-list .chat-button a {
    background: var(--color-black) !important;
    width: 64px !important;
    height: 64px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.gsb-button-list .chat-button-icon {
    width: 32px !important;
    height: 32px !important;
}

/*------------------------------------------------------------

#MEDIA QUERIES

--------------------------------------------------------------*/

/*
// Mobile First
*/

/*
// Extra small devices (portrait phones, less than 576px)
// No media query for `xs` since this is the default in Bootstrap
*/

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
}

/* X-Large devices (large desktops, 1200px and up) */

@media (min-width: 1200px) {
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
}

/*
// Desktop First
*/

@media (max-width: 1720px) {
    .navbar-nav.main {
        gap: 14px;
    }

    .navbar-nav.main li a {
        font-size: 16px;
    }
}

@media (max-width: 1600px) {
    .navbar-nav.main {
        gap: 10px;
    }

    .navbar-nav.main li a {
        font-size: 16px;
    }
}

/* X-Large devices (large desktops, less than 1400px) */
@media (max-width: 1400px) {
    .menu-wrapper {
        padding: 0;
    }

    .header-wrapper.dark .menu-wrapper {
        background: none;
    }

    .header-wrapper.dark .menu-wrapper .navbar-toggle svg path {
        fill: var(--color-white);
    }

    .mobile-menu-wrapper {
        display: flex;
        flex-wrap: nowrap;
        gap: 32px;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-menu-item:first-child {
        margin-right: auto;
    }

    .mobile-menu-item:not(:first-child) {
        margin-left: 0;
    }

    .navbar-toggle .burger {
        display: block;
    }

    .navbar-toggle {
        background: none;
        border: none;
    }

    .navbar-toggle svg {
        width: 25px;
        height: 25px;
    }

    .navbar-toggle svg path {
        fill: var(--color-black);
    }

    .burger path {
        transition:
            transform 0.5s ease,
            opacity 0.5s ease;
        transform-origin: center;
    }

    .nooverflow .burger path:nth-child(1) {
        opacity: 0;
    }

    .nooverflow .burger path:nth-child(2) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nooverflow .burger path:nth-child(3) {
        opacity: 0;
    }

    .nooverflow .closed {
        display: block !important;
    }

    #mobile-menu-container {
        position: absolute;
        top: 78px;
        right: 0;
        left: 0;
        bottom: 0;
        background: var(--color-white);
        height: 100vh;
    }

    .nav.mobile {
        display: flex;
        align-items: center;
        gap: 20px;
        justify-content: center;
        margin-top: 2em;
    }

    .nav.mobile li a {
        color: var(--color-black);
        font-size: 26px;
        font-weight: bold;
    }
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1200px) {
    .footer-navigation {
        padding-inline: var(--spacing-small) !important;
    }

    .socials-wrapper {
        padding-inline: var(--spacing-small) !important;
    }

    .copyright-wrapper {
        padding-inline: var(--spacing-small) !important;
    }

    .blog-featured-image {
        min-height: 220px;
    }

    .destination-item {
        max-width: calc(50% - 20px);
    }

    #search-wrapper article.blog-post {
        flex: 1 0 calc(50% - 32px);
        max-width: calc(50% - 32px);
        justify-content: flex-start;
    }

    #search-wrapper .blog-post-content {
        justify-content: space-between;
        height: 100%;
    }

    .accommodation-gallery {
        flex-direction: column;
    }

    .swiper-container-accommodation {
        max-width: 100%;
    }

    .swiper-container-thumb .swiper-slide {
        width: calc(100% / 3) !important;
    }

    img.thumb-image {
        aspect-ratio: 16 / 12;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 992px) {
    .prefooter-title.h1 {
        width: 100%;
    }

    .gallery-swiper-nav {
        display: none;
    }

    .amenity-item {
        flex: 1 0 calc(50% - 32px);
    }

    form.destination-filters {
        flex-wrap: wrap;
    }

    .filter-field {
        flex: 0;
    }

    .accommodation-content.pi-main.pb-large {
        flex-direction: column;
        gap: var(--spacing-med);
    }

    .single-accommodation .wp-block-heading {
        position: static;
    }

    .modal-wrapper {
        left: 20px;
        right: 20px;
    }

    .gallery-modal-content {
        padding: 14px;
    }

    .gallery-modal-content .gallery-image {
        max-width: calc(50% - 24px);
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 768px) {
    .nav.mobile li {
        text-align: center;
    }

    .btn-main {
        padding: 16px 20px;
    }

    .newsletter-form input {
        max-width: 100%;
    }

    .more-posts-content {
        flex-direction: column;
    }

    .accommodation-title-wrapper {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .accommodation-data {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 0px;
        padding: 16px 0 8px 0;
        row-gap: 8px;
    }

    .accommodation-data span {
        padding-right: 8px;
    }

    .destination-content {
        padding: 6px;
    }

    .destination-basic-data {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .swiper-container-thumb {
        display: none !important;
    }
}

/* X-Small devices (portrait phones, less than 576px) */
@media (max-width: 576px) {
    .breadcrumb-wrapper {
        display: none;
    }

    .destinations-wrapper {
        flex-direction: column;
    }

    .destination-item {
        max-width: 100% !important;
    }

    .amenities-list {
        gap: 12px;
        flex-direction: column;
    }

    #search-wrapper {
        flex-direction: column;
    }

    #search-wrapper article.blog-post {
        max-width: 100%;
    }

    .yacht-title-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .yacht-details {
        gap: 12px;
        flex-direction: column;
    }

    .more-posts-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-navigation {
        flex-direction: column;
    }

    .copyright-wrapper {
        flex-direction: column;
        gap: 12px;
    }

    .footer-bg-image {
        display: none;
    }

    .lower-footer-wrapper {
        position: relative;
    }

    .footer-wrapper {
        margin: 0;
        padding-block: var(--spacing-small);
    }

    .footer-nav-item {
        margin-block: 12px;
    }

    .lower-footer-wrapper {
        gap: 20px;
    }

    #mapAll {
        position: sticky !important;
        top: 105px;
        height: calc(60vh - 105px);
        width: 100%;
    }

    .gallery-button-wrapper {
        bottom: 0;
        right: 0;
    }
}
