/******************************************************************

Theme Name: Eight Wire
Theme URI: https://eightwire.uk
Description: Web Design & Development
Author: Eight Wire
Author URI: https://eightwire.uk
Version: 250612
Tags: design, marketing, web development, content management
Text Domain: eightwire

******************************************************************/

:root {
	--red:   #E52721;
	--gold:  #CE863E;
	--navy:  #313366;
	--dark:  #1C1B2B;
	--blue:  #398CCB;
	--blue2: #307ABF;
	--grey:  #B2B0B0;
	--grey2: #676767;
	--med:   #C6C6C6;
	--lite:  #EEEEEE;
	
	--color-text: var(--grey2);
	--color-primary: var(--red);
	--color-secondary: var(--gold);
	--color-hover: var(--gold);
	
	--font-sys: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Oxygen-Sans", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
	--montserrat: "Montserrat";
	--font: var(--montserrat), var(--font-sys);

	--font-light: 300;
	--font-regular: 400;
	--font-medium: 500;
	--font-semibold: 600;
	--font-bold: 700;
	--font-black: 900;
	
	--font-size-body: 18;
	--lineheight: 1.8;
	
	--wrap: 1758px;
	
	--pad: 48px;
	--pad2: 24px;

	--aspectratio: 1/1;

	--direction: 1;
}

@view-transition {
	navigation: auto;
}

#wpadminbar {
	view-transition-name: wpadminbar;
}

header.header {
	view-transition-name: header;
}

footer.footer {
	view-transition-name: footer;
}

.preheader {
	view-transition-name: preheader;
}

/***
BASE
***/
html, body {
    margin: 0;
    padding:0;
	max-width: 100vw;
}
html {
    height: 100%;
    font-size: 62.5%;
    -ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
    box-sizing: border-box;
}
*, *::after, *::before {
    box-sizing: inherit;
}
html:focus-within {
	scroll-behavior: smooth;
}
body {
    position: relative;
	font-family: var(--font);
	font-weight: var(--font-light);
	font-size: calc(var(--font-size-body) * 0.1rem);
	line-height: var(--lineheight, 1.5);
	color: var(--color-text);
	letter-spacing: 0.015em;
	-webkit-font-smoothing: antialiased;
    background-color: #fff;
	overflow-y: scroll;
	overflow-x: hidden;
    min-height:100%;
}
body.fancybox-active #wpadminbar {
    display: none !important;
}

h1, h2, h3, h4, h5, h6 {
	margin-block: 0;
	text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
	letter-spacing: 0.01em;
	font-family: var(--font);
	font-weight: var(--font-light);
	line-height: 1.2;
	color: var(--navy);
}
h1 {
	font-size: clamp(3.2rem, 6vw, 4.2rem);
	font-weight: var(--font-medium);
}
h2 {
	font-size: clamp(2.4rem, 4vw, 4.2rem);
	letter-spacing: 0.02em;
}
h3 {
	font-size: clamp(1.8rem, 2vw, 2.8rem);
	letter-spacing: 0.02em;
}
h4 {
	font-size: 1.6rem;
}
p {
	margin: 0 0 1em 0;
	font-size: inherit;
	line-height: inherit;
}
p:last-child {
	margin-bottom: 0;
}

a, a:link, a:visited, a:hover, a:active {
	outline: none;
	text-decoration: none;
	cursor: pointer;
	display: inline-block;
}
a, a:visited {
	color: var(--color-secondary);
}
a:hover {
	color: var(--hover);
}

.transition-all, .ta, button, input, textarea,
a,
.ewmodal-btn-open {
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	transition: all 0.2s ease;
}
img {
	max-width: 100%;
	height: auto;
	display: block;
}
iframe {
	max-width: 100%;
}
textarea {
	min-height: 60px;
	resize: vertical;
}
textarea,
input:not([type="submit"]) {
	border: 2px solid var(--gold);
	padding: 6px;
	accent-color: var(--gold);
	font-size: 1.6rem;
}

/* default radio button */
input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: unset !important;
  width: 18px;
  height: 18px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  outline: none;
  cursor: pointer;
  position: relative;
  vertical-align: middle;
  margin-right: 8px;
  background-color: #fff;
}

/* Checked state - filled circle */
input[type="radio"]:checked {
  background-color: var(--gold); /* Orange color from your design */
  border-color: var(--gold);
}

/* Label styling */
label {
  cursor: pointer;
  font-weight: var(--font-bold);
  color: #fff;
  margin-right: 1em;
}

/* Hover state */
input[type="radio"]:hover {
  border-color: #ff8c42;
}

address {
	font-style: normal;
}
li {
	font-size: 1.6rem;
}

/* FLOW */

.flow > * + * {
	/* FLOW auto spaces between elements, and each can be overriden with --flow. */
	margin-block-start: var(--flow, var(--pad, 1em));
}
:where(.flow .flow) {
	--flow: var(--pad2, 1em);
}



/* CLEARFIX */
.cf {
	zoom: 1;
}
.cf:before, .cf:after {
	content: ' ';
	display: table;
}
.cf:after {
	clear: both;
}

/* WRAP */
:is(.w,.wrap) {
	width: min(100% - var(--pad, 3em), var(--wrap, 1758px));
	margin-inline: auto;
}
:is(.w,.wrap)[class*="size-"] {
	margin: 0 auto;
}
:is(.w,.wrap)[class*="size-"] .m-r {
	margin-inline: 0 auto;
}
:is(.w,.wrap)[class*="size-"] .m-l {
	margin-inline: auto 0;
}
:is(.w,.wrap).size-full {
	--wrap: 1920px;
}
:is(.w,.wrap).size-xx-wide {
	--wrap: 1758px;
}
:is(.w,.wrap).size-x-wide {
	--wrap: 1440px;
}
:is(.w,.wrap).size-wide {
	--wrap: 1284px;
}
:is(.w,.wrap).size-large {
	--wrap: 1068px;
}
:is(.w,.wrap).size-mid {
	--wrap: 960px;
}
:is(.w,.wrap).size-narrow {
	--wrap: 720px;
}
:is(.w,.wrap).size-small {
	--wrap: 640px;
}
:is(.w,.wrap).size-x-small {
	--wrap: 480px;
}

/* HEADER */
header.header {
	position: relative;
	background-color: #fff;
	z-index: 4;
	border-top: 3px solid var(--color-secondary);
	border-bottom: 3px solid var(--color-secondary);
	padding: 24px 0 16px 0;
}
body:has(main.main > article:first-child > .layouts:first-child > .layout.banner:first-child) header.header,
body:has(main.main > article:first-child > .yacht-header:first-child) header.header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    border-bottom-color: rgba(206, 134, 62, 0.6);
    background: rgba(255, 255, 255, 0.6);
    transition: background 0.18s ease-in-out;
}
body:has(main.main > article:first-child > .layouts:first-child > .layout.banner:first-child) header.header:hover,
body:has(main.main > article:first-child > .layouts:first-child > .layout.banner:first-child) header.header:has(.mm-dropdown.active),
body:has(main.main > article:first-child > .yacht-header:first-child) header.header:hover,
body:has(main.main > article:first-child > .yacht-header:first-child) header.header:has(.mm-dropdown.active) {
    border-bottom-color: var(--gold);
    background: #fff;
}

.header-logo svg {
	display: block;
	width: 100%;
	max-width: 240px;
}

/* MENUS */

.menu > .menu-item:last-child {
	margin-left: auto;
}
.menu > .menu-item:last-child a::after {
	content: "";
	display: inline-block;		
	width: 13px;
	height: 16px;
	vertical-align: middle;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 21' xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2'%3E%3Cpath d='m0-11.085 9.176 5.542L0-.001V2.31l13-7.853-13-7.852v2.31Z' style='fill:%23ce863e;fill-rule:nonzero' transform='translate(0 17.86) scale(1.33333)'/%3E%3C/svg%3E");
	background-size: 13px 16px;
	background-repeat: no-repeat;
	background-position: center right;
	margin-left: 5px;
}

.hamburger {
	position: absolute;
	z-index: 2000;
	display: none;
	font-size: 2rem;
	position: relative;
	cursor: pointer;
}

.hamburger > span {
	display: block;
	width: 25px;
	height: 2px;
	border-radius: 2px;
	background: #000;
	transition: all 0.5s ease-in-out;
	transform-origin: center;
}

.hamburger-switch {
	display: none;
}

.hamburger-switch:checked ~ .hamburger .ham1 {
	transform: rotateZ(45deg) translate(5px, 5px) scaleX(1.3);
}
.hamburger-switch:checked ~ .hamburger .ham2 {
	transform: scale(0);
	opacity: 0;
}
.hamburger-switch:checked ~ .hamburger .ham3 {
	transform: rotateZ(-45deg) translate(5px, -5px) scaleX(1.3);
}

nav.nav.ew-menu {
	flex: 1 1 auto;
}
.menu {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 6px;
}
.menu, .sub-menu {
	list-style: none;
	padding-left: 0;
}

.sub-menu {
	display: none;
	position: absolute;
	top: 96%;
	background: var(--navy);
	text-align: left;
	z-index: 1;
}

.menu li:hover .sub-menu {
	display: block;
}

.sub-menu > li {
	display: block;
	margin: 0;
}

.sub-menu > li > a {
	width: 160px;
}

.ew-menu li > a {
	display: block;
	font-size: 1.8rem;
	text-transform: uppercase;
	text-decoration: none;
	font-weight: var(--font-semibold);
	padding: 0 0.5em;
}
.ew-menu .mm-dropdown li > a {
    width: unset !important;
	font-size: 1.4rem;
	font-weight: var(--font-bold);
	padding: 0 0 0.5em 0;
	color: var(--gold);
}
.ew-menu .mm-dropdown li > a:hover {
	color: var(--navy);
}

.ew-menu li > a:hover,
.ew-menu li.current-menu-item > a,
.ew-menu .current-menu-ancestor > a,
.ew-menu .current-menu-parent > a {
	text-decoration: none;
}

.ew-menu li.menu-item-has-children>a:after{
	content: "";
	display: inline-block;
	width: 16px;
	height: 13px;
	vertical-align: middle;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 21 18' xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2'%3E%3Cpath d='m0-13-5.542 9.176L-11.084-13h-2.31l7.852 13L2.31-13H0Z' style='fill:%23ce863e;fill-rule:nonzero' transform='translate(17.859 17.333) scale(1.33333)'/%3E%3C/svg%3E");
	background-size: 16px 13px;
	background-repeat: no-repeat;
	background-position: center right;
	margin-left: 5px;
}

.ew-mega-menu li>a {
	color: var(--navy);
}

.ew-mega-menu li.current-menu-item>a,
.ew-mega-menu li:has(.sub-menu li.current-menu-item)>a {
	color: var(--blue2) !important;
	font-weight: var(--font-bold);
}

.ew-mega-menu li>a:hover {
	color: var(--color-hover);
}

.ew-mega-menu .sub-menu {
	display: block;
	position: relative;
	top: 0;
    width: 34%;
    margin: 0 0 auto auto;
	border-left: 2px solid var(--color-secondary);
	background: transparent;
	padding: 0 20px 0 40px;
}

.ew-mega-menu .sub-menu li {
	display: block;
	position: relative;
}
.ew-mega-menu .sub-menu li > a::before {
	content: "";
	display: inline-block;
	width: 13px;
	height: 16px;
	vertical-align: middle;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 21' xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2'%3E%3Cpath d='m0-11.084 9.176 5.542L0 0v2.31l13-7.852-13-7.852v2.31Z' style='fill:%23313366;fill-rule:nonzero' transform='translate(0 17.859) scale(1.33333)'/%3E%3C/svg%3E");
	background-size: 13px 16px;
	background-repeat: no-repeat;
	background-position: center right;
	position: absolute;
	margin: 3px 0 0 -20px;
}

.mm-dropdown {
	position: absolute;
	top: 99%;
	right: 0;
	left: 0;
	max-height: 0;
	border-bottom: 0 solid var(--red);
    padding-top: 40px;
	background: #fff;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
	transition: all 0.18s ease-in-out;
}

.mm-dropdown.active {
	max-height: 342px;
	border-bottom-width: 2px;
	opacity: 100%;
	pointer-events: all;
}
body:has(.mm-dropdown.active)::before {
	content: "";
	display: block;
	position: fixed;
	inset: 0;
	z-index: 3;
	backdrop-filter: blur(10px);
	background: rgba(0,0,0,0.50);
	pointer-events: none;
}

.mm-content {
    width: 66%;
	height: 100%;
	text-align: left;
}

.mm-img {
    flex-shrink: 0;
}

.mm-img img {
	object-fit: cover;
	max-width: 566px;
	width: 100%;
	height: 100%;
}

.mm-text {
	padding: 0 36px 18px;
	--flow: var(--pad2);
    flex-grow: 1;
}
.mm-text h3 {
	font-weight: var(--font-bold);
	font-size: 2.8rem;
}
.mm-text p {
	font-weight: var(--font-light);
	font-size: 1.8rem;
	color: var(--dark);
}

header .mobile-nav-open {
	display: none;
	padding: 16px 12px 12px;
	text-align: center;
}

.mobile-nav {
	position: fixed;
	top: 0px;
	left: -300px;
	width: 300px;
	max-width: 100%;
	height: 100%;
	border-right: 1px solid var(--navy);
	background: var(--navy);
	overflow: auto;
	z-index: 999999;
	transition: left 0.7s ease;
}
.mobile-nav.active {
	left: 0;
}

.mobile-nav .menu-primary-container {
	padding-bottom: 60px;
}

.mobile-nav .ewmodal-btn-close {
	position: fixed;
	top: auto;
	right: auto;
	bottom: 0;
	left: -300px;
	width: 300px;
	max-width: 100%;
	padding: 16px;
	background: var(--navy);
	color: var(--navy);
	text-align: left;
	cursor: pointer;
	transition: left 0.7s ease, color 0.2s ease;
}

.mobile-nav.active .ewmodal-btn-close {
	left: 0;
}

.mobile-nav p {
	margin: 0;
	font-size: 1.8rem;
}

.mobile-nav i.icon-close {
	position: absolute;
	top: 50%;
	right: 8px;
	transform: translateY(-50%);
}

.mobile-nav i.icon-close:before {
	font-size: 2.6rem;
}

.mobile-nav ul {
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav ul li {
	position: relative;
}

.mobile-nav ul a {
  display: block;
  padding: 16px;
  font-size: 1.8rem;
  color: var(--navy);
}
.mobile-nav ul a:hover {
	background: var(--navy);
	color: var(--navy);
}

.mobile-nav li.menu-item-has-children > a {
	padding-right: 56px;
}

.mobile-nav .sub-menu {
  display: block;
  position: initial;
}

.mobile-nav .sub-menu > li > a {
	width: auto;
	padding-left: 28px;
	font-size: 1.6rem;
}

.mobile-nav .sub-menu .sub-menu > li > a {
	padding-left: 36px;
}


@media screen and (max-width: 1024px) {
	.ew-menu .menu {
		position: fixed;
		display: block;
		top: 182px;
		left: 100%;
        max-width: 315px;
		width: 80vw;
		height: 70vh;
        height: calc(100vh - 192px);
		margin: 0;
		padding: 20px 20px;
		background-color: var(--blue2);
		color: #fff;
		overflow-y: auto;
		z-index: 999;
		backdrop-filter: blur(10px);
		transform: translateX(0);
		transition: transform 0.5s ease;
		place-content: center;
	}
	.hamburger-switch:checked ~ .menu {
		transform: translateX(-315px);
	}
	html:has(.hamburger-switch:checked) {
		scrollbar-gutter: stable;
	}
	html:has(.hamburger-switch:checked) body {
		overflow-y: hidden;
	}

	.ew-mega-menu li>a {
		color: #fff;
	}

	.ew-mega-menu li.current-menu-item>a,
	.ew-mega-menu li:has(.sub-menu li.current-menu-item)>a {
		color: var(--navy) !important;
	}


	.ew-menu .mm-dropdown li > a {
		padding: 0 0 0.5em 0;
		color: #fff
	}

	.mm-dropdown {
		position: static;
		max-height: unset;
		height: auto;
        padding-top: 0;
		background: transparent;
		border-bottom: 0;
		pointer-events: all;
		opacity: 1;
	}

	.mm-dropdown .w {
		margin: 0;
		width: 100%;
		padding: 0 0.5em;
	}

	.mm-content {
		display: none !important;
	}

	.menu > .menu-item:last-child a::after {
		content: none;
	}

	.ew-mega-menu>li {
		margin-bottom: 0.5em;
		padding-bottom: 0.5em;
		border-bottom: 1px solid var(--gold);
	}

	.ew-mega-menu .sub-menu {
		margin: 0;
		border-left: 0;
		padding: 0;
	}

    .ew-mega-menu .sub-menu li > a {
        position: relative;
        padding-left: 16px !important;
    }

	.ew-mega-menu .sub-menu li > a::before {
		all: unset;
		content: '- ';
        position: absolute;
        left: 0;
	}

	nav.ew-menu > .wrap {
		position: relative;
	}

	.hamburger {
		position: absolute;
		top: 100px;
		right: 18px;
		z-index: 1000;
		display: grid;
		gap: 5px;
		place-items: center;
		-webkit-tap-highlight-color: transparent;
	}

	.ew-menu .menu li {
		display: block;
	}

	.ew-menu li.menu-item-has-children > a:after {
		content: none;
	}

	.ew-menu .sub-menu {
		position: initial;
		display: block;
        width: 100%;
		background: unset;
	}

	.ew-menu .sub-menu > li > a {
		width: unset;
		font-size: 1.6rem !important;
		font-weight: var(--font-medium);
		text-transform: none;
		padding: 0 0 0.25em 0;
	}
}

@media screen and (max-width: 400px) {
    .header-logo {
        max-width: 192px;
        line-height: 0;
    }

    .hamburger {
        top: auto;
        right: 4px;
        bottom: 17px;
    }

    .ew-menu .menu {
        top: 168px;
        height: calc(100vh - 180px);
    }
}



/* FRONT PAGE */


/* ARTICLE */
.pad {
	padding: 36px;
}
.pad.pad-more {
	padding: 60px;
}
.pad.pad-mid {
	padding: 24px;
}
.pad.pad-half {
	padding: 18px;
}
.pad.pad-less {
	padding: 12px;
}
.pad-h {
	padding: 0 36px;
}
.pad-h.less {
	padding: 0 12px;
}
.pad-v {
	padding: 36px 0;
}


/* LAYOUTS */
.two-col .col,
.three-two-col .col,
.three-col .col,
.text-with-image-wrapper .text-wrapper,
.text-with-image-wrapper .image-wrapper {
	width: 100%;
}

.two-col .col img,
.three-two-col .col img,
.three-col .col img {
	margin: 0 auto;
}

.layout.banner {
	position: relative;
	background-color: var(--navy);
}
.layout.banner::after {
	position: absolute;
	content: "";
	inset: 0;
	z-index: 1;
	background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.05));
	pointer-events: none;
}
.banner-slide {
	position: relative;
}

.banner-slider .slick-slider .slick-list ,
.banner-slider picture source,
.banner-slider picture img,
.banner-slide img {
	aspect-ratio: 2000 / 900;
    object-fit: cover;
	height: 100%;
	width: 100%;
	min-height: 600px;
}

.banner-caption:not(:has(p)) :is(h1, h2),
.banner-caption p:last-child {
	margin-bottom: 0;
}

.banner-caption {
	position: absolute;
	inset: 0;
	z-index: 2;
	padding: 30px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.banner-caption h2,
.yacht-header .banner-caption h1 {
	font-size: clamp(2.4rem, 4vw, 4.8rem);
	font-weight: var(--font-bold);
	text-transform: uppercase;
	color: #fff;
	max-width: 666px;
}
.banner-caption p {
	font-size: clamp(1.6rem, 2vw, 2.4rem);
	color: #fff;
	font-weight: var(--font-light);
	max-width: 740px;
}
.banner-caption p::before {
	content: "";
	display: block;
	width: 100%;
	margin: 0.75em auto;
	border-top: 2px solid var(--color-secondary);
}

a.banner-cta:not(last-child) {
    margin: 0 12px 12px 0;
}
a.banner-cta:nth-child(2) {
    background: var(--gold) !important;
}
a.banner-cta:nth-child(2):hover {
    background: var(--navy) !important;
}

.slick-dots {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	margin: 0;
	padding: 0 0 12px;
	text-align: center;
}
.slick-dots::after {
	content: "";
	position: relative;
	top:-12px;
	display: block;
	width: 100%;
	max-width: 500px;
	margin: 0 auto;
	border: 1.5px solid var(--gold);
}
.slick-dots:not(:has(li:nth-child(2))) {
	display: none;
}

.slick-dots li {
	position: relative;
	z-index: 1;
	display: inline-block;
	margin: 0 6px;
	padding: 0;
	cursor: pointer;
}

.slick-dots li button {
	display: block;
	width: 12px;
	height: 12px;
	border: 2px solid var(--gold);
	border-radius: 50%;
	padding: 5px;
	background: var(--gold);
	color: transparent;
	font-size: 0;
	line-height: 0;
	cursor: pointer;
	outline: none;
	transition: background 0.2s ease;
}
.slick-dots li:hover button {
	border-color: #fff;
}
.slick-dots li.slick-active button {
	border-color: #fff;
	background: #fff;
}

.video-background-wrap {
	position: relative;
    --bannerheight: 1080;
    --horizontaladjust: calc((((100vmax / 9 * 16) - 100vw) / 2) * -1);
    --verticaladjust: calc((100 - ((var(--bannerheight) / 1080) * 100)) * -0.5%);
    /* 
    --verticaladjust: -5.625%;
    --verticaladjust: -0.5625%;
    --verticaladjust: calc((9 / 16) * -1%);
    */
    transform: translateY(0%);
    height: calc((var(--bannerheight, 777) * 1px));
    overflow: hidden;
    pointer-events: none;
    max-height: 100svh;
}

.video-background {
	position: relative;
	overflow: hidden;
	height: calc(100vmax / 16 * 9);
	width: calc(100vmax / 9 * 16);
	transform: translate(var(--horizontaladjust, -22%), var(--verticaladjust, -14.08%));
	min-height: calc(20px + (var(--bannerheight, 777) * 1px));
	min-width: calc(((var(--bannerheight, 777) / 9 * 16) * 1px));
    max-height: 100svh;
}

@media screen and (max-width:1440px) {
	.video-background {
		min-height: calc(130px + (var(--bannerheight, 777) * 1px));
	}
}

@media screen and (max-width: 1208px) {
    .video-background-wrap {
        --bannerheight: 960;
    }
}

@media screen and (max-width: 640px) {
    .video-background-wrap {
        --bannerheight: 780;
    }
}

@media screen and (max-width:640px) {
	.video-background {
		min-height: calc(300px + (var(--bannerheight, 777) * 1px));
	}
}

.video-background iframe {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.layout.divider {
	position: relative;
    padding: 0 12px;
}
.layout.divider:before {
    content: '';
    display: block;
    margin: 0 auto;
    max-width: 100%;
    width: 523px;
    height: 20px;
    border-radius: 50%;
    background: #a39fa0;
    filter: blur(6px);
}
.layout.divider:after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    bottom: 50%;
    bottom: calc(50% - 5px);
    left: 0;
    height: 40px;
    background: #fff;
}

.layout.spacer {
	height: var(--pad);
}
.layout.spacer.med {
	height: var(--pad2);
}
.layout.spacer.large {
	height: 60px;
}

.gallery-outer {
	line-height: 0;
}

.layout.gallery .grid.grid-4 {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.layout.gallery .grid > div {
	overflow: hidden;
}
.layout.gallery .grid > div:nth-child(n+9) {
	display: none;
}
.layout.gallery .btn-wrap {
	padding: 30px 12px 0;
}

.layout.gallery a.fancybox {
	cursor: zoom-in;
}
.fancybox-button {
	background-color: transparent;
}
.fancybox-navigation .fancybox-button svg path {
	fill: var(--gold);
}
.fancybox-container.fancybox-is-open {
	backdrop-filter: blur(5px);
}
.fancybox-container .fancybox-bg {
	background-color: transparent;
}
.fancybox-toolbar,
.fancybox-infobar {
	background-color: var(--gold);
}
.fancybox-show-caption .fancybox-caption .fancybox-caption__body {
	background-color: rgba(31,33,66,0.75);
	padding: 0.5em 0;
}

/* Custom Fancybox Navigation Arrows */
.fancybox-button--arrow_left svg,
.fancybox-button--arrow_right svg {
	display: none;
}

.fancybox-button--arrow_left::before,
.fancybox-button--arrow_right::before {
	content: '';
	display: block;
	width: 26px;
	height: 31px;
	background: var(--gold);
	-webkit-mask-size: 26px 31px;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-size: 26px 31px;
	mask-repeat: no-repeat;
	mask-position: center;
}

.fancybox-button--arrow_left::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 13 16'%3E%3Cpath d='m0-11.084-9.176 5.542L0 0v2.31l-13-7.852 13-7.852z' style='fill:%23ce863e;fill-rule:nonzero' transform='translate(13 13.394)'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 13 16'%3E%3Cpath d='m0-11.084-9.176 5.542L0 0v2.31l-13-7.852 13-7.852z' style='fill:%23ce863e;fill-rule:nonzero' transform='translate(13 13.394)'/%3E%3C/svg%3E");
}

.fancybox-button--arrow_right::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 13 16'%3E%3Cpath d='m0-11.084 9.176 5.542L0 0v2.31l13-7.852-13-7.852z' style='fill:%23ce863e;fill-rule:nonzero' transform='translate(0 13.394)'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 13 16'%3E%3Cpath d='m0-11.084 9.176 5.542L0 0v2.31l13-7.852-13-7.852z' style='fill:%23ce863e;fill-rule:nonzero' transform='translate(0 13.394)'/%3E%3C/svg%3E");
}


.logos.flex {
	gap: var(--pad2);
}

/* FAQS */
.faqs-wrapper {
	max-width: 1200px;
	margin-inline: auto;
	padding: var(--pad2) 0;
}

.faq:not(:last-child) {
	margin-bottom: 16px;
}

.faq-question {
	margin-bottom: var(--pad2);
	cursor: pointer;
}
.faq-question:hover {
	background-color: var(--lite);
}
.faq-label {
	margin: 0 0 1em 0;
	line-height: 1;
	color: var(--gold);
	text-box-trim: unset;
    text-box-edge: unset;
}
.faq-question dt {
	font-weight: var(--font-bold);
	font-size: clamp(1.6rem, 2vw, 1.8rem);
}
.faq-question dt .faq-label {
	font-weight: var(--font-semibold);
	color: var(--gold);
	font-size: clamp(1.8rem, 2vw, 2.2rem);
}
.faq-answer dd{
	font-weight: var(--font-light);
	font-size: clamp(1.6rem, 2vw, 1.8rem);
}
.faq-answer .faq-label {
	font-weight: var(--font-bold);
	font-size: clamp(1.6rem, 2vw, 1.8rem);
}

.faq-answer {
	display: none;
	padding: 0 0 var(--pad2) 0;
	font-weight: var(--font-bold);
	font-size: clamp(1.6rem, 2vw, 1.8rem);
}
.faq-toggle-wrapper {
	display: flex;
	align-items: center;
	gap: 0;
}
.faq-toggle-wrapper::before {
	content:"";
	display: block;
	height: 2px;
	background: var(--gold);
	flex: 1;
}
.faq-toggle {
	width: 43px;
	height: 43px;
	border-radius: 50%;
	background-color: #fff;
	color: var(--blue2);
	border: 2px solid var(--gold);
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: var(--font-light);
	font-size: 32px;
	line-height: 1;
	text-box-trim: trim-both;
    text-box-edge: cap alphabetic;

	cursor: pointer;
	transition: all 0.3s ease;
}
.faq.open .faq-toggle {
	background-color: var(--blue2);
	color: #fff;
}

/* FEATURES */
.layout.features {
	padding: 0 0 var(--pad2) 0;
}
.feature-item {
	display: flex;
	align-items: flex-start;
	gap: var(--pad2);
	flex-wrap: wrap;
}
.feature-icon {
	max-width: 130px;
	width: 100%;
	aspect-ratio: 1/1;
	flex: 0 1 25%;
}
.feature-icon img {
	width: 100%;
	height: 100%;
	aspect-ratio: 1/1;
	object-fit: contain;
}
.feature-info {
	flex:1;
}
.feature-title {
	text-transform: uppercase;
	font-size: clamp(2.2rem, 2vw, 2.8rem);
	font-weight: var(--font-medium);
}
.feature-text {
	text-wrap: pretty;
	font-size: clamp(1.4rem, 2vw, 1.8rem);
}


/* BROKERAGE */
.layout.banner + form.brokerage-filters {
	margin-block-start: 0;
}
:is(.page-id-468,.page-id-485) .layout.content.style-default:has(.content-item.alongside.matchheight) {
	background: var(--lite);
}
:is(.page-id-468,.page-id-485) .layout.content.style-default .content-item.alongside.matchheight .content-media {
	grid-column: 2;
	grid-row: 1;
}
:is(.page-id-468,.page-id-485) .layout.content.style-default .content-item.alongside.matchheight .content-text {
	grid-column: 1;
	grid-row: 1;
}



/* CONTENT */
.layout.content.style-cta .content-item.alongside .content-text {
	grid-column: 1 !important;
	grid-row: 1 !important;
    padding: 30px 0;
}
.layout.content.style-cta .content-item.alongside .content-media {
	grid-column: 2 !important;
	grid-row: 1 !important;
}
.layout.content.style-cta .content-heading {
	text-transform: uppercase;
	font-weight: var(--font-light);
	font-size: clamp(2.8rem, 3vw, 4.2rem);
}
.layout.content.style-cta .ewbtn {
	background-color: var(--red);
	color: #fff;
}
.layout.content.style-cta .ewbtn:hover {
	background-color: var(--navy);
}

.layout.content.style-overlay .wrap {
    width: 100%;
}

.layout.content.style-overlay .wrap .gridgap {
    --gridgap: 0;
}

.layout.content.style-overlay .content-item {
	background-color: var(--navy);
	color: #fff;
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	align-items: end;
}
.layout.content.style-overlay .content-item > .content-media {
	grid-area: 1/1;
	z-index: 1;
}
.layout.content.style-overlay .content-item::after {
	content: "";
	grid-area: 1/1;
	display: block;
	height: 100%;
	z-index: 2;
	background: transparent linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
}
.layout.content.style-overlay .content-item > .content-text {
	grid-area: 1/1;
	z-index: 3;
	padding: clamp(5%,5vw,10%);
}
.layout.content.style-overlay .content-heading {
	max-width: 70%;
	text-wrap: balance;
	line-height: 1.5;
	color: #fff;
	text-transform: uppercase;
	font-weight: var(--font-medium);
}
@media screen and (max-width: 640px) {
	.layout.content.style-overlay .content-heading {
		max-width: 100%;
	}
}
.layout.content.style-cardbg .content-item {
	background-color: var(--dark);
	color: #fff;
	gap: 0;
}
.layout.content.style-cardbg .content-text {
	padding: var(--pad);
	font-weight: var(--font-medium);
}
.layout.content.style-cardbg .content-heading {
	text-transform: none;
	color: #fff;
	font-size: clamp(2.4rem, 4vw, 2.8rem);
	font-weight: var(--font-semibold);
}
.layout.content.style-cardbg .content-heading::after {
	content: none;
}
.layout.content.style-cardbg .content-text-content a {
	font-weight: var(--font-bold);
}
.layout.content.style-cardbg .grid.gridauto {
	grid-template-columns: minmax(0, 1fr);
}
@media screen and (max-width:639px) {
	.layout.content.style-cardbg .content-image img {
		width: 100%;
	}
}
@media screen and (min-width:1280px) {
	.layout.content.style-cardbg .grid.gridauto {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (min-width: 640px) {
	.content-item.alongside {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: center;
		gap: var(--pad,1em);
	}
	.content-item.matchheight :is(.content-media,.content-image,.content-image picture,.content-image img) {
		height: 100%;
	}
	.content-item.matchheight :is(.content-image picture,.content-image img) {
		object-fit: cover;
		width: 100%;
	}
}

@media screen and (min-width: 640px) and (max-width: 794px) {
    .layout.content.style-overlay .content-item:nth-child(3):is(:last-child) {
        grid-column: 1 / -1;
    }

    .layout.content.style-overlay .content-item:nth-child(3):is(:last-child) img {
        aspect-ratio: 16 / 9;
    }
}

.content-item.alongside .content-text,
.content-item.alongside .content-media {
	grid-column: 2;
}
.content-item.alongside .content-media{
	grid-column: 1;
}
.content-item.flexgap {
	gap: 1em;
}
.content-heading {
	margin: 0;
}
h1.content-heading::after {
	content: "";
	display: block;
	margin: 0.5em auto;
	width: 500px;
	max-width: 50vw;
	border-bottom: 1px solid var(--color-secondary);
}
h1.content-heading + .content-text-text ,
h1.content-heading + .content-text-content {
	width: 1130px;
	margin: 0 auto;
	max-width: 80vw;
	font-size: 1.8rem;
	font-weight: var(--font-light);
	line-height: 1.8;
}
h2.content-heading::after {
	content: "";
	display: block;
	margin: 0.5em auto;
	border-bottom: 1.5px solid var(--color-secondary);
}
h2.content-heading.textcenter::after {
	width: 500px;
	max-width: 50vw;
}
.content-item:not(.alongside) .content-media picture,
.content-item:not(.alongside) .content-media img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}
@media screen and (min-width: 641px) {
	.layout.content.style-overlay .content-item:not(.alongside) .content-media picture,
	.layout.content.style-overlay.content-item:not(.alongside) .content-media img {
		aspect-ratio: 1;
	}
}
.content-item:not(.alongside):has(.content-video) .content-media picture,
.content-item:not(.alongside):has(.content-video) .content-media img {
	aspect-ratio: 16/9;
}
.content-video,
.content-video iframe,
.content-video video {
	aspect-ratio: 16/9;	
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
@media screen and (max-width: 959px) {
	.content-item.alongside:has(.content-video) :is(.content-media, .content-image, .content-image picture, .content-image img) {
		height: auto;
		margin-bottom: var(--pad);
	}
	.content-item.alongside:has(.content-video) {
		display: block;
	}
}
@media screen and (min-width: 960px) {
	.content-item.alongside:has(.content-video) {
		grid-template-columns: minmax(0, 17fr) minmax(0, 8fr);
	}	
}

/* LISTING */
.layout.listing {
	background: var(--lite);
	padding: var(--pad) 0;
}
.style-featured .listing-posts {
	display: flex;
	gap: 0;
	flex-direction: row;
	overflow-x: scroll;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
}
.style-featured .listing-posts::-webkit-scrollbar {
	/* display: none; */
	background: var(--lite);
	height: 6px;
}
.style-featured .listing-posts::-webkit-scrollbar-thumb {
	background: var(--color-secondary);
}
.style-featured .listing-posts::-webkit-scrollbar-thumb:hover {
	background: var(--navy);
	cursor: pointer;
}
.style-featured .listing-post-nav {
	justify-self: end;
	color: var(--grey);
	font-size: 1.8rem;
	font-weight: var(--font-bold);
}
.style-featured .listing-post-nav button {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding: 0 0.5em;
	border: none;
	cursor: pointer;
	color: var(--color-secondary);
	font-size: 2.8rem;
	vertical-align: middle;
}
.style-featured .listing-post-nav button:hover {
	color: var(--navy);
	cursor: pointer;
	background-color: transparent;
}
.style-featured .listing-post {
	min-width: 100%;
	scroll-snap-align: start;
}
.listing-title {
	text-align: center;
	text-transform: uppercase;
	border-bottom: 1.5px solid var(--color-secondary);
	padding: 0 0 0.5em 0;
	margin: 0 0 0.5em 0;
}
.listing-post-thumb a {
	display: block;
	height: 100%;
}
.listing-post-thumb picture,
.listing-post-thumb img {
	background-color: var(--lite);
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 3/2;
	object-fit: cover;
}
.listing-post-section-thumb picture,
.listing-post-section-thumb img {
	background-color: var(--lite);
	display: block;
	width: 100%;
	height: 100%;
    aspect-ratio: 7 / 5;
	object-fit: cover;
}
.style-featured .listing-post-thumb picture,
.style-featured .listing-post-thumb img {
	height: auto;
}
.style-featured .listing-post-meta {
	font-size: 2.4rem;
	font-weight: var(--font-light);
	border-top: 1.5px solid var(--color-secondary);
	padding-top: 1em;
	margin-top: 1em;
	color: var(--navy);
}
.style-featured .listing-post-meta strong {
	font-size: 2.4rem;
	font-weight: var(--font-bold);
	color: var(--navy);
}
.listing-post-excerpt {
	margin: 0;
	line-height: 2;
	padding-bottom: 1em;
}
.style-featured .listing-post-excerpt {
	border-bottom: 1.5px solid var(--color-secondary);
}
.style-featured .listing-post-price {
	font-size: 1.8rem;
	font-weight: var(--font-light);
	color: var(--navy);
}
.style-featured .listing-post-price strong {
	font-size: 2.4rem;
	font-weight: var(--font-semibold);
}
.listing-post-title {
	margin: 0;
}
.listing-post-featured .listing-post-title ,
.listing-post-featured .listing-post-title > a {
	color: var(--navy);
}
.listing-post-featured .listing-post-title:hover ,
.listing-post-featured .listing-post-title > a:hover {
	color: var(--gold);
}
.listing-post-date {
	font-size: 1.4rem;
	display: none;
}
/*featured style*/
.layout.listing.style-featured {
	padding: 0;
}
@media screen and (min-width: 768px) {
	.style-featured .listing-post {
		display: grid;
		grid-template-areas: "media content";
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: var(--pad);
	}
}
.style-featured .listing-post-thumb {
	grid-area: media;
    display: grid;
	align-items: center;
}
.style-featured .listing-post-thumb a {
	height: auto;
}
.style-featured .listing-post-content {
	position: relative;
	grid-area: content;
	display: grid;
	gap: 1em;
	align-content: center;
	padding: var(--pad2) 0;
}
.style-featured .listing-post-title {
	font-size: 4.2rem;
	font-weight: var(--font-light);
}
.listing-post-featured span {
	background-color: var(--gold);
	color: #fff;
	font-size: 1.4rem;
	text-transform: uppercase;
	font-weight: var(--font-bold);
	padding: 0.6em 1em;
	text-align: center;
	display: inline-block;
	border-top-right-radius: 5em;
	border-bottom-right-radius: 5em;
	position: relative;
}

@media screen and (min-width: 768px) {
	.listing-post-featured span::before {
		content:"";
		position: absolute;
		display: block;
		margin-left: calc(var(--pad) * -1);
		width: calc(var(--pad));
		left: 0;
		top: 0;
		bottom: 0;
		background-color: var(--gold);
		pointer-events: none;
	}
}
/*cards style*/
.style-cards .listing-post:only-child {
	max-width: 714px;
	margin: auto;
}
.style-cards .listing-post-section {
    display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: auto minmax(0, 1fr);
	gap: 0;
	background-color: #fff;
	height: 100%;
}
.style-cards .listing-post-section-media {
	display: grid;
	grid-template-areas: "media";
}
.style-cards .listing-post-section-media > * {
	grid-area: media;
}
.style-cards .listing-post-section-media .listing-post-section-newlisting {
	z-index: 2;
	justify-self: start;
	align-self: start;
	background-color: var(--gold);
	border-top-right-radius: 5em;
	border-bottom-right-radius: 5em;
	color: #fff;
	font-size: 1.4rem;
	text-transform: uppercase;
	font-weight: var(--font-bold);
	padding: 0.5em 2em;
	margin: 2em 0 0 0;
	display: inline-block;
}
.style-cards .listing-post-section-media .listing-post-section-title {
	z-index: 3;
	align-self: end;
	background-color: rgba(45,43,59,0.8);
	color: #fff;
	font-size: 2.8rem;
	text-transform: uppercase;
	font-weight: var(--font-regular);
	padding: 1em var(--pad2);
	display: block;
}
.style-cards .listing-post-section-content {
	padding: var(--pad2);
	display: flex;
	flex-direction: column;
	gap: 1em;
}
.style-cards .listing-post-title {
	padding: 0 var(--pad);
}
.style-cards .listing-post-section-meta {
	font-size: 1.8rem;
	font-weight: var(--font-light);
	background-color: var(--gold);
	color: #fff;
	padding: 0.65em var(--pad2);
}
.style-cards .listing-post-section-meta strong {
	font-weight: var(--font-bold);
}
.style-cards .listing-post-section-excerpt {
	margin-bottom: auto;
	font-size: 1.6rem;
	font-weight: var(--font-light);
	border-top: 1px solid var(--color-secondary);
	border-bottom: 1px solid var(--color-secondary);
	padding: 1em 0;
}
.style-cards .listing-post-section-link a {
	text-align: left;
}
.style-cards .listing-post-section-link a::after {
	margin-left: auto;
}
.style-cards .pagination-wrap {
	display: none;
}

/*list style*/
@media screen and (min-width: 1280px) {
	.style-list .listing-posts.grid {
		grid-template-columns: repeat(2, minmax(0px, 1fr));
	}
}
.style-list .listing-post {
	display: grid;
	grid-template-columns: min(240px,25vw) minmax(0, 1fr);
	grid-template-rows: auto minmax(0, 1fr) auto;
	gap: 0.7em;
}
.style-list .listing-post-thumb {
	grid-row: span 3; 
}
.style-list .listing-post-thumb picture,
.style-list .listing-post-thumb img {
	height: auto;
}
.style-list .listing-post-title ,
.style-list .listing-post-excerpt ,
.style-list .listing-post-link {
	grid-column: 2;
	min-height: 0;
}
.style-list .listing-post-title {
	line-height: 1.2;
	padding: 0;
	margin: 0;
}
.style-list .listing-post-excerpt {
	line-height: 1.27;
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
}
.style-list .listing-post:has(a:hover) :is(.listing-post-link a,.listing-post-thumb img) {
	background: #fff;
	color: var(--red);
}
/*list grid*/
.style-grid .listing-post {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	grid-template-columns: inherit;
	text-align: center;
	background-color: var(--lite);
}
.style-grid .listing-post > * {
	padding: 1em;
	grid-area: 1/1;
	opacity: 0;
}
.style-grid .listing-post-thumb {
	width: 100%;
	padding: 0;
	grid-row: 1 / 4;
	opacity: 1;
}
.style-grid .listing-post-thumb > a {
	height: 100%;;
}
.style-grid .listing-post:hover > * {
	opacity: 1;
}
.style-grid .listing-post:hover > .listing-post-thumb {
	opacity: 0;
}
.style-grid .listing-post-title {
	 grid-row: 1;
}
.style-grid .listing-post-excerpt {
	 grid-row: 2;
}
.style-grid .listing-post-link {
	 grid-row: 3;
}

/* BROKERAGE */
.brokerage-archive-header {
	display: grid;
	align-items: center;
	grid-template-areas: "overlay";
	grid-template-columns: minmax(0, 1fr);
	background: var(--navy) url("/wp-content/uploads/2025/09/image2.jpg") 50% 50% / cover no-repeat;
	color: #fff;
	aspect-ratio: 2000/900;
	min-height: 240px;
}
.brokerage-archive-header::before {
	content: "";
	grid-area: overlay;
	z-index: 1;
	height: 100%;
	background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.05));
	pointer-events: none;
}
.brokerage-archive-header > .wrap{
	grid-area: overlay;
	z-index: 2;
}
.brokerage-archive-header h1 {
	font-size: clamp(2.5rem, 5vw, 5rem);
	font-weight: var(--font-bold);
	text-transform: uppercase;
	color: #fff;
}
.brokerage-archive-header h1::after {
	content: "";
	display: block;
	margin: 0.5em auto 5px 0;
	border-top: 1px solid var(--gold);
	display: block;
	max-width: 666px;
}
/* #toggle-more-filters {
	display: none;
} */
.brokerage-filters {
	background-color: var(--lite);
	padding: var(--pad) 0;
}

.filter-row {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	justify-content: space-between;
	align-items: flex-end;
}

.filter-group {
	display: flex;
	flex-direction: column;
	min-width: 140px;
}

.filter-group :where(input,select,button):not(.ewbtn) {
	padding: 4px 8px;
	font-size: 1em;
	cursor: pointer;
	height: 55px;
	border: none;
    background-color: #fff;
}

.filter-group label {
	font-weight: bold;
	margin-bottom: 2px;
	color: var(--navy);
}

.filter-actions {
    display: flex;
    margin: 0 auto 7px;
	flex-direction: row;
	gap: 0.5em;
	flex-wrap: wrap;
}

.length-fields,
.filter-price,
.price-fields {
	display: flex;
	gap: 0 1px;
}
.length-fields input,
.filter-price input {
	width: 100%;
	max-width: 90px;
	text-align: center;
	font-size: 1.6rem;
	font-weight: var(--font-regular);
}
.length-fields input::placeholder,
.filter-price input::placeholder {
	color: #CDCCCC;
}

.unit-label {
	width: 90px;
	place-content: center;
	display: block;
	background-color: #CDCCCC;
	font-size: 1.6rem;
	font-weight: var(--font-regular);
	text-align: center;
	color: #fff;
	text-transform: uppercase;
	pointer-events: none;
}

.more-filters-panel {
	background: #f9f9f9;
	border: 1px solid #ccc;
	padding: 1em;
	margin-top: 1em;
	display: none;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 1em;
	width: 100%;
}
.more-filters-panel input {
	border: 1px solid var(--navy) !important;
	width: 100%;
}
.filter-row input[type="number"]::-webkit-inner-spin-button, 
.filter-row input[type="number"]::-webkit-outer-spin-button { 
	-webkit-appearance: none;
	-moz-appearance: textfield;
}

.filter-group .ewbtn {
	padding: 0.25em 3em;
	height: 44px;
	background-color: var(--red);
}
.filter-group button[type="button"].ewbtn:not(:hover) {
	background-color: var(--blue);
}

#clear-filters {
	display: none;
}
#clear-filters::after {
	content: none;
}
.more-filters-panel.open + .filter-group #clear-filters {
	display: block;
}

.brokerage-archive-results {
	text-align: center;
}
.brokerage-archive-results h2,
.post-type-archive-brokerage .brokerage-archive-results h1 {
	font-size: clamp(2.5rem, 5vw, 4.2rem);
	font-weight: var(--font-light);
	text-transform: uppercase;
	color: var(--navy);
}
.brokerage-archive-results h2::after,
.post-type-archive-brokerage .brokerage-archive-results h1::after {
	content: "";
	display: block;
	margin: 0.5em auto;
	border-top: 1px solid var(--gold);
	display: block;
	max-width: 500px;
}

/* CONTACT PAGE & FORM */

img.placeholder {
	background-color: var(--red);
}

.post-date {
	font-size: 1.6rem;
	font-weight: 600;
}

.post-title {
	--flow: 0.5em;
}

.pfp-link {
	display: inline-block;
	font-size: 1.3rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.025em;
}

.pagination {
	display: flex;
	gap: 1em;
	align-items: center;
	justify-content: center;
}

.pagination a,
.pagination span {
	display: inline-flex;
	place-items: center;
	justify-content: center;
	aspect-ratio: 1;
	min-width: 50px;
	font-size: 1.4rem;
	font-weight: var(--font-semibold);
	text-align: center;
	text-decoration: none;
	border: 2px solid var(--gold);
	color: var(--gold);
	background-color: #fff;
	transition: all 0.2s ease;
}

.pagination a:hover {
	background-color: var(--gold);
	color: #fff;
	border-color: var(--gold);
}

.pagination .page-numbers.current {
	background-color: var(--blue);
	color: #fff;
	border-color: var(--blue);
}

.pagination .prev,
.pagination .next {
	font-weight: bold;
	background: transparent url() 50% 50% no-repeat scroll;
	background-size: 16px 16px;
	text-indent: -9999px;
	overflow: hidden;
}

.pagination .prev {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 13 16'%3E%3Cpath d='m0-11.084-9.176 5.542L0 0v2.31l-13-7.852 13-7.852z' style='fill:%23ce863e;fill-rule:nonzero' transform='translate(13 13.394)'/%3E%3C/svg%3E");
}

.pagination .next {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 13 16'%3E%3Cpath d='m0-11.084 9.176 5.542L0 0v2.31l13-7.852-13-7.852z' style='fill:%23ce863e;fill-rule:nonzero' transform='translate(0 13.394)'/%3E%3C/svg%3E");
}

.pagination .prev:hover {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 13 16'%3E%3Cpath d='m0-11.084-9.176 5.542L0 0v2.31l-13-7.852 13-7.852z' style='fill:%23ffffff;fill-rule:nonzero' transform='translate(13 13.394)'/%3E%3C/svg%3E");
}

.pagination .next:hover {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 13 16'%3E%3Cpath d='m0-11.084 9.176 5.542L0 0v2.31l13-7.852-13-7.852z' style='fill:%23ffffff;fill-rule:nonzero' transform='translate(0 13.394)'/%3E%3C/svg%3E");
}

.pagination a i.icon,
.pagination a > span {
	display: inline-block;
	vertical-align: middle;
}
.pagination a i.icon:before {
	font-size: 2.2rem;
}

/* YACHT DETAIL */
.yacht-header {
	position: relative;
	display: grid;
	grid-template-areas: "yachtheader";
	grid-template-columns: minmax(0, 1fr);
	background-color: var(--navy);
}
.yacht-header > * {
	grid-area: yachtheader;
}
.yacht-header::before {
	content: "";
	grid-area: yachtheader;
	z-index: 2;
	background: linear-gradient(to right, rgba(45, 43, 59, 0.65) 0%, rgba(255, 255, 255, 0.05) 70%);
}
.yacht-thumbnail {
	z-index: 1;
}
.yacht-thumbnail img {
	aspect-ratio: 1920/750;
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 400px;
}
.yacht-header-content {
    display: grid;
	height: 100%;
    padding-top: 181px;
    padding-bottom: 30px;
	color: #fff;
	align-content: center;
	justify-content: start;
    z-index: 3;
}
.banner:has(.banner-slides) .banner-caption {
    padding-top: 181px;
    padding-bottom: 30px;
}
.yacht-header-content .newlisting {
	z-index: 2;
	justify-self: start;
	align-self: start;
	background-color: var(--gold);
	border-top-left-radius: 5em;
	border-bottom-left-radius: 5em;
	color: #fff;
	font-size: 1.4rem;
	text-transform: uppercase;
	font-weight: var(--font-bold);
	padding: 0.5em 2em;
	margin: 2em 0 0 0;
	display: inline-block;
}
.yacht-header-content h1 {
	font-size: clamp(2.5rem, 5vw, 5rem);
	font-weight: var(--font-bold);
	text-transform: uppercase;
	color: #fff;
}
.yacht-header-content h1::after {
	content: "";
	display: block;
	margin: 0.5em auto 0 auto;
	border-top: 1px solid var(--gold);
	display: block;
	width: 100vw;
    max-width: 40vw;
    min-width: 100%;
}
.yacht-header-model {
	font-size: 1.8rem;
	font-weight: var(--font-bold);
	color: #fff;
	text-transform: uppercase;
}
.yacht-header-btns {
	position: relative;
	top:-2px;
	z-index: 4;
	align-self: start;
	justify-self: start;
}
.yacht-header-btns .brokerage-back::before {
	content: "";
	display: inline-block;
	width: 13px;
	height: 16px;
	vertical-align: middle;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 21' xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2'%3E%3Cpath d='m0-11.085 9.176 5.542L0-.001V2.31l13-7.853-13-7.852v2.31Z' style='fill:%23ce863e;fill-rule:nonzero' transform='translate(0 17.86) scale(1.33333)'/%3E%3C/svg%3E");
	background-size: 13px 16px;
	background-repeat: no-repeat;
	background-position: center left;
	margin: -2px 5px 0 0;
	transform: rotate(180deg);
}
.yacht-header-btns .brokerage-back:hover::before {
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 21' xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2'%3E%3Cpath d='m0-11.085 9.176 5.542L0-.001V2.31l13-7.853-13-7.852v2.31Z' style='fill:%23313366;fill-rule:nonzero' transform='translate(0 17.86) scale(1.33333)'/%3E%3C/svg%3E");
}
.yacht-overview > div {
	--pad: 24px 48px;
}
.yacht-overview h3 {
	font-size: 2.8rem;
	font-weight: var(--font-semibold);
	text-transform: uppercase;
}
.yacht-overview h4 {
	font-size: 1.8rem;
	font-weight: var(--font-regular);
	text-transform: uppercase;
}
.yacht-overview p {
	font-size: clamp(1.6rem, 2.5vw, 4.2rem);
	font-weight: var(--font-light);
	text-transform: uppercase;
	color: var(--gold);
}
.yacht-lying {
	padding: var(--pad) 0;
	background-color: #CDCCCC;
}
.yacht-lying h4 {
	font-size: 1.8rem;
	font-weight: var(--font-regular);
	text-transform: uppercase;
}
.yacht-lying p {
	font-size: clamp(1.6rem, 2.5vw, 4.2rem);
	font-weight: var(--font-light);
	text-transform: uppercase;
	color: #fff;
}
.single-brokerage .layout.listing.type-brokerage .pagination-wrap {
	display: none;
}
@media screen and (min-width: 960px) {
	.yacht-spec-list {
		columns: 2;
	}
}
.spec-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--pad);
}
.spec-row h4 {
	flex: 1;
}
.spec-row .spec-value {
	flex: 2;
	font-family: var(--font-light);
	font-size: clamp(2.4rem, 2.5vw, 3.8rem);
	font-weight: var(--font-light);
	color: var(--gold);
}

/* TESTIMONIALS */
.testimonials {
	--wrap: 1600px;
	display: grid;
	place-content: center;
}
.testimonials .slider-prev,
.testimonials .slider-next {
	position: relative;
	display: block;
	opacity: 0;
	width: 30px;
	height: 30px;
	margin: 0 0 0 12px;
	border: 0;
	border-top: 2px solid var(--gold);
	border-left: 2px solid var(--gold);
	background: transparent;
	font-size: 0;
	text-indent: -9999px;
	flex-shrink: 0;
	overflow: hidden;
	cursor: pointer;
	transform: rotate(-45deg);
}
.testimonials:hover .slider-prev,
.testimonials:hover .slider-next {
	opacity: 1;
}
.testimonials .slider-prev:hover,
.testimonials .slider-next:hover {
	border-color: #fff;
}
@media screen and (max-width: 1280px) {
	.testimonials .slider-prev,
	.testimonials .slider-next {
		display: none !important;
	}
}

.testimonials .slick-list {
	margin: 17px auto;
	min-height: 120px;
}
.testimonials h2::after {
	content: "";
	display: block;
	width: 100%;
	max-width: 500px;
	margin: 1em auto;
	border: 1.5px solid var(--gold);
}
.testimonials .slider-next {
	margin: 0 12px 0 0;
	border: 0;
	border-top: 2px solid var(--gold);
	border-right: 2px solid var(--gold);
	transform: rotate(45deg);
}

.testimonials-slider {
  position: relative;
  width: 100%;
  max-width: 98vw;
}

.testimonials-slider-slides-slide {
}

.testimonials .testimonial-text {
	text-align: center;
	max-width: 853px;
	margin: 0 auto 90px auto;
	position: relative;
	padding: 0 var(--pad);
}

.testimonials .testimonial-text::before,
.testimonials .testimonial-text::after {
	content:"";
	background: transparent url() center center no-repeat;
	background-size: contain;
	display: block;
	width: 58px;
	height: 41px;
	position: absolute;
	z-index: 1;
	font-size: 2.8rem;
	font-weight: var(--font-regular);
	line-height: 1.8;
	pointer-events: none;
}
.testimonials .testimonial-text::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' fill-rule='evenodd' stroke-miterlimit='10' clip-rule='evenodd' viewBox='12.4 12.4 79.07 56.4'%3E%3Cpath fill='none' stroke='%23ce863e' stroke-width='2.66666' d='M48.602 50.734c0 10.402-7.467 17.068-17.6 17.068-10.134 0-17.602-6.666-17.602-17.068 0-4.266.533-7.466 5.201-17.468L27.935 13.4h18.668l-6.667 22.533c5.333 2.535 8.666 7.735 8.666 14.801ZM90.471 50.734c0 10.402-7.467 17.068-17.601 17.068s-17.6-6.666-17.6-17.068c0-4.266.533-7.466 5.2-17.468L69.803 13.4h18.668l-6.667 22.533c5.334 2.535 8.667 7.735 8.667 14.801Z'/%3E%3C/svg%3E");
	top: 0;
	right: 100%;
}
.testimonials .testimonial-text::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' fill-rule='evenodd' stroke-miterlimit='10' clip-rule='evenodd' viewBox='12.4 12.4 79.07 56.4'%3E%3Cpath fill='none' stroke='%23ce863e' stroke-width='2.66666' d='M48.602 30.468c0 4.268-.533 7.468-5.2 17.47l-9.334 19.866H15.4l6.668-22.534c-5.333-2.534-8.668-7.734-8.668-14.802C13.4 20.068 20.867 13.4 31 13.4s17.601 6.668 17.601 17.068ZM90.47 30.468c0 4.268-.532 7.468-5.198 17.47l-9.335 19.866H57.27l6.668-22.534c-5.335-2.534-8.668-7.734-8.668-14.802 0-10.4 7.467-17.068 17.601-17.068s17.6 6.668 17.6 17.068Z'/%3E%3C/svg%3E");
	bottom: 0;
	left: 100%;
}

.testimonial-text p {
	font-size: clamp(1.8rem, 3vw, 2.8rem);
	font-weight: var(--font-regular);
	line-height: 1.8;

}

.testimonial-attribution {
	font-size: 1.6rem;
	font-weight: 400;
	font-style: normal;
}

.testimonial-attribution .name {
	font-weight: 600;
}

.testimonials .slick-arrow {
	cursor: pointer;
}

.testimonials i.icon:before {
	color: var(--gold);
	font-size: 2.4rem;
}
.testimonials .slick-arrow:hover i.icon:before {
	color: #fff;
}

/* Layout Testimonials */
.layout.testimonials {
	background: var(--navy) url(assets/images/testimonials.jpg) center center no-repeat;
	background-size: cover;
	color: #fff;
	padding: var(--pad);
	min-height: 733px;
}
.layout.testimonials h2 {
	font-size: clamp(2.4rem, 4vw, 4.2rem);
	font-weight: var(--font-light);
	text-transform: uppercase;
	color: #fff;
}

/* Layout Form */

.layout.form .wrap {
	--wrap: 1221px;
}
.layout.form .form-container {
	background-color: var(--lite);
	padding: var(--pad2);
}
.layout.form h2::after {
	content: "";
	display: block;
	margin: 0.5em auto;
	width: 500px;
	max-width: 50vw;
	border-bottom: 2px solid var(--color-secondary);
}
.layout.form input[type="submit"] {
  background-color: var(--red) !important;
  color: #fff !important;
  border: none !important;
  padding: 0.65em 1.3em !important;
  font-weight: var(--font-bold) !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease;
}
.layout.form input[type="submit"]:hover {
  background-color: var(--gold) !important;
}

/* Signup */
.signup {
	background-color: var(--blue2);
	color: var(--lite);
}
.signup h2 {
	text-transform: uppercase;
	font-weight: var(--font-light);
	font-size: clamp(2.4rem, 4vw, 4.2rem);
	color: #fff;
}
.signup h2::after {
	content: "";
	display: block;
	margin: 0.5em auto;
	width: 500px;
	max-width: 50vw;
	border-bottom: 2px solid var(--color-secondary);
}
.signup h3 {
	font-weight: var(--font-light);
	font-size: clamp(2.4rem, 3vw, 2.8rem);
	color: #fff;
}
.signup button[type="submit"],
.signup input[type="submit"] {
  background-color: var(--red);
  color: #fff;
  border: none;
  border-radius: 5em;
  padding: 0.65em 1.3em;
  font-weight: var(--font-bold);
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.signup button[type="submit"]:hover,
.signup input[type="submit"]:hover {
  background-color: var(--gold);
}

.signup input[type="checkbox"] {
    margin-right: 8px;
}


/* FOOTER */
footer.footer {
	position: relative;
	z-index: 2;
	margin-block-start: var(--pad);
}

footer.footer .wrap {
	padding-block: var(--pad);
}

.footer-main {
	background-color: var(--dark);
	color: var(--lite);
	font-size: 1.6rem;
}

.footer-main a {
	color: var(--color-secondary);
	font-weight: var(--font-bold);
	font-size: 1.8rem;
}

.footer-main a:hover {
	color: var(--color-hover);
}

.footer-logo-socials .socials {
	margin: 20px 0 0 20px;
}

.footer-office {
	position: relative;
}
.footer-office-heading {
	font-size: 2.8rem;
	font-weight: var(--font-regular);
	margin: 0 0 0.5em 0;
	color: #fff;
}
@media screen and (min-width: 1260px) {
	.footer-office-heading {
		width: min-content;
		text-align: right;
		position: absolute;
		right: 100%;
		margin: 8px 18px 0 0;
	}
}
@media screen and (max-width: 960px) {
	.footer-logo-socials {
		min-width: 65vw;
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		gap: var(--pad);
	}
	.footer-logo-socials .socials {
		margin: auto
	}
}

.footer-logo svg {
	display: block;
	width: 100%;
	max-width: 240px;
}


/* MODAL */
html.locked {
	overflow: hidden;
}

.modal-bg {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.4);
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.3s ease, visibility 0.4s ease;
	z-index: 9999;
}
.modal-bg.active {
	visibility: visible;
	opacity: 1;
}

.modal-window {
	background: var(--navy);
	position: fixed;
	top: -100vh;
	left: 50%;
	bottom: auto;
	width: 80%;
	height: 80%;
	padding-top: 60px !important;
	transition: visibility 0.2s ease, top 0.4s ease;
	transform: translate(-50%, -50%);
	z-index: 99999;
	overflow-y: scroll;
}
.modal-window.active {
	top: 50%;
	visibility: visible;
}

.ewmodal-btn-open {
	cursor: pointer;
}

.ewmodal-btn-close {
	position: absolute;
	top: 0;
	right: 0;
	padding: 6px;
	color: var(--navy);
	text-align: center;
	cursor: pointer;
	transition: color 0.2s ease;
}
.ewmodal-btn-close:hover {
	color: var(--lite);
}

.ewmodal-btn-close i.icon:before {
	font-size: 2.4rem;
}

button.modal-open {
	margin-bottom: 10px;
	border-radius: 3px;
}


/* MISC */
a.button,
a.ewbtn,
.ewbtn {
	display: inline-block;
	border: none;
	border-radius: 5em;
	font-weight: var(--font-bold);
	padding: 0.25em 1em;
	background: var(--blue2);
	color: #fff;
	font-size: 1.8rem;
	text-align: center;
	transition: all 0.2s ease;
	cursor: pointer;
}
a.button:hover,
a.ewbtn:hover,
.ewbtn:hover {
	background: var(--gold);
}
/* 
:where(.content, .listing, .brokerage-listing) .ewbtn::after {
	content: "";
	display: inline-block;
	width: 13px;
	height: 16px;
	vertical-align: middle;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 21' xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2'%3E%3Cpath d='m0-11.085 9.176 5.542L0-.001V2.31l13-7.853-13-7.852v2.31Z' style='fill:%23ce863e;fill-rule:nonzero' transform='translate(0 17.86) scale(1.33333)'/%3E%3C/svg%3E");
	background-size: 13px 16px;
	background-repeat: no-repeat;
	background-position: center right;
	margin: -2px 0 0 5px;
}

:where(.content, .listing, .brokerage-listing) .ewbtn:hover::after {
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 21' xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2'%3E%3Cpath d='m0-11.085 9.176 5.542L0-.001V2.31l13-7.853-13-7.852v2.31Z' style='fill:%23313366;fill-rule:nonzero' transform='translate(0 17.86) scale(1.33333)'/%3E%3C/svg%3E");
} */

.ewbtn.margin {
	margin: 12px;
}

.ew-scroll-top {
	display: none;
	position: fixed;
	right: 18px;
	bottom: 18px;
	width: 42px;
	height: 42px;
	border: 1px solid var(--navy);
	background: var(--lite);
	color: var(--navy);
	text-align: center;
	cursor: pointer;
	z-index: 3;
}
.ew-scroll-top:before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: var(--gold);
	transform-origin: center top;
	transform: scaleY(0);
	transition: transform 0.18s ease-in-out;
	z-index: 1;
}
.ew-scroll-top:hover:before {
	transform-origin: center bottom;
	transform: scaleY(1);
}
.ew-scroll-top:after {
	content: '';
	position: absolute;
	top: 50%;
	top: calc(50% + 3px);
	left: 50%;
	width: 12px;
	height: 12px;
	border: 2px solid var(--navy);
	border-top: 0;
	border-left: 0;
	transform: translate(-50%, -50%) rotateZ(225deg);
	z-index: 2;
}

.centred,.centered,.textcenter {
	text-align: center;
}

.socials a {
	display: inline-block;
}
.socials a:not(:last-child) {
	margin-right: 12px;
}

.socials svg {
	height: 26px;
}

.socials svg path {
	transition: 0.18s ease-in-out;
	fill: var(--color-secondary);
}

.socials a:hover svg path {
	fill: #fff;
}

i.icon {
	font-size: 0;
}
i.icon:before {
	font-size: 3.8rem;
}

.responsive-embed {
	position: relative;
	padding-bottom: 56.25%;
	max-width: 100%;
	height: 0;
	overflow: hidden;
}
.responsive-embed iframe,
.responsive-embed object,
.responsive-embed embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.hidden {
	opacity: 0;
	visibility: hidden;
}
.nodisplay {
	display: none;
}

/* Brokerage */
.brokerage-archive-list {
    padding-top: 60px;
}

.brokerage-list.grid {
	--gridauto: 320px;
}
.brokerage-listing {
	display: grid;
	grid-template-rows: auto 1fr;
	grid-template-areas: 
		"media"
		"content";
	background: var(--lite);
	transition: all 0.2s ease;
}
.brokerage-listing:hover {
	transform: scale(1.02);
	box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.25);
}
.brokerage-title {
	grid-area: media;
	align-self: end;
	z-index: 2;
	font-size: 2.8rem;
	font-weight: var(--font-regular);
	padding: 1em;
	color: #fff;
	text-transform: uppercase;
	background: rgba(45, 43, 59, 0.8);
}
.brokerage-thumb {
	grid-area: media;
}
.brokerage-thumb a {
	display: block;
}
.brokerage-thumb img {
	width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio:1;
}
.brokerage-content {
	grid-area: content;
	display: flex;
	flex-direction: column;
	gap: 1em;
}
.description_short {
	border-top: 1px solid var(--gold);
	padding: 1em 0 0 0;
	margin: 1em 0 auto 0;
	font-size: 1.6rem;
	font-weight: var(--font-light);
}
.brokerage-content .price { 
	border-top: 1px solid var(--gold);
	padding: 1em 0 0 0;
}

/* Brokerage cards - duplicated from .style-cards .listing-post */
.brokerage-listing:only-child {
	max-width: 554px;
	margin: auto;
}
.brokerage-listing .listing-post-section {
    display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: auto minmax(0, 1fr);
	gap: 0;
	background-color: #fff;
	height: 100%;
}
.brokerage-listing .listing-post-section-media {
	display: grid;
	grid-template-areas: "media";
}
.brokerage-listing .listing-post-section-media > * {
	grid-area: media;
}
.brokerage-listing .listing-post-section-media .listing-post-section-newlisting {
	z-index: 2;
	justify-self: start;
	align-self: start;
	background-color: var(--gold);
	border-top-right-radius: 5em;
	border-bottom-right-radius: 5em;
	color: #fff;
	font-size: 1.4rem;
	text-transform: uppercase;
	font-weight: var(--font-bold);
	padding: 0.5em 2em;
	margin: 2em 0 0 0;
	display: inline-block;
}

.listing-post-section-media .listing-post-overlay {
    display: block;
    padding: 1em var(--pad2);
	align-self: end;
	background-color: rgba(45, 43, 59, 0.5);
    pointer-events: none;
    z-index: 3;
}
.listing-post-section-media .listing-post-overlay h3 {
    color: #fff;
	font-size: 2.8rem;
	text-transform: uppercase;
	font-weight: var(--font-regular);
}

.listing-post-section-media .listing-post-overlay .listing-post-section-price {
    color: #fff;
}

.brokerage-listing .listing-post-section-media .listing-post-section-link {
    margin-top: 2em;
    align-self: start;
    z-index: 3;
    font-size: 1.4rem;
    text-align: right;
    pointer-events: none;
}
.listing.type-brokerage.style-cards .listing-post-section-media .listing-post-section-link {
    display: none;
}

.brokerage-listing .listing-post-section-media .listing-post-section-link a {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    padding: 0.5em 2em;
    font-size: 1.4rem;
}
.brokerage-listing .listing-post-section-media:hover .listing-post-section-link a {
    background: var(--gold);
}

.brokerage-listing .listing-post-title {
	padding: 0 var(--pad);
}
.brokerage-listing .listing-post-section-meta {
	font-size: 1.8rem;
	font-weight: var(--font-light);
	background-color: var(--gold);
	color: #fff;
	padding: 0.65em var(--pad2);
}
.brokerage-listing .listing-post-section-meta strong {
	font-weight: var(--font-bold);
}
.brokerage-listing .listing-post-section-excerpt {
	margin-bottom: auto;
	font-size: 1.6rem;
	font-weight: var(--font-light);
	border-top: 1px solid var(--color-secondary);
	border-bottom: 1px solid var(--color-secondary);
	padding: 1em 0;
}
.brokerage-listing .listing-post-section-link a {
	text-align: left;
}
.brokerage-listing .listing-post-section-link a::after {
	margin-left: auto;
}
.brokerage-listing .pagination-wrap {
	display: none;
}

/* Yacht Gallery Tabs */
.yacht-images {
	padding: var(--pad2) 0;
	text-align: center;
}
.yacht-images > h2 {
	text-transform: uppercase;
	display: inline-block;
}
.yacht-images > h2::after {
	content: "";
	display: block;
	width: 80%;
	height: 3px;
	background: var(--gold);
	margin: 0.5em auto 0;
}
.yacht-gallery-tabs {
	margin-top: 1em;
}
.gallery-tab-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	justify-content: center;
	align-items: center;
	margin-bottom: 2rem;
	position: relative;
}
.gallery-tab-btn {
	background: var(--navy);
	color: #fff;
	border: none;
	padding: 1em 2em;
	font-size: clamp(0.85rem, 2vw, 1.4rem);
	font-weight: var(--font-semibold);
	cursor: pointer;
	position: relative;
	transition: all 0.3s ease;
	font-family: var(--font);
	text-transform: uppercase;
	white-space: nowrap;
}
.gallery-tab-btn:first-child {
	border-top-left-radius: 25px;
	border-bottom-left-radius: 25px;
}
.gallery-tab-btn:last-child {
	border-top-right-radius: 25px;
	border-bottom-right-radius: 25px;
}
.gallery-tab-btn:hover {
	background: var(--gold);
	color: #fff;
	border-color: var(--gold);
}

.gallery-tab-btn.active {
	background: var(--blue);
	color: #fff;
	border-color: var(--blue);
}

.gallery-tab-btn.active::after {
	content: none;
}

.gallery-tab-content {
	position: relative;
}

.gallery-tab-pane {
	display: none;
	animation: fadeIn 0.3s ease-in;
}

.gallery-tab-pane.active {
	display: block;
}

.gallery-tab-pane .responsive-embed {
    width: 1280px;
    height: auto;
    margin: 0 auto;
    padding-bottom: 0;
    aspect-ratio: 16 / 9;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.yacht-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: var(--pad2);
}

@media screen and (min-width: 768px) {
	.yacht-gallery-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.gallery-item {
	position: relative;
	overflow: hidden;
	background: var(--lite);
}

.gallery-item a {
	display: grid;
	width: 100%;
	height: 100%;
	grid-template-areas: "overlay";
	overflow: hidden;
	container-type: inline-size;
}
.gallery-item a::after {
	content: attr(data-caption);
	display: block;
	z-index: 1;
	opacity: 0;
	grid-area: overlay;
	width: 100%;
	height: 100%;
	padding: 10%;
	place-content: center;
	background: rgba(31,33,66,0.75);
	color: #fff;
	text-align: center;
	font-size: 4cqi;
	line-height: 2;
	font-weight: var(--font-regular);
	text-wrap: balance;
	aspect-ratio: 1;
	overflow: hidden;
	transition: opacity 0.3s ease;
}
.gallery-item a:hover::after {
	opacity: 1;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	grid-area: overlay;
}

.view-all-gallery-btn {
	padding: 1rem 2rem;
}

.panorama-container {
	width: 100%;
	min-height: 400px;
	background: var(--dark);
	border-radius: 4px;
	overflow: hidden;
}

.panorama-container iframe {
	width: 100%;
	height: 500px;
	border: none;
}

.yacht-enquire {
    padding: var(--pad) 0;
    background: var(--blue) url(assets/images/enquire.jpg) 0 50% no-repeat scroll;
	background-size: cover;
	color: #fff;
	text-align: center;
	aspect-ratio: 2000/617;
	display: grid;
	align-content: center;
}

.yacht-enquire .flow {
    gap: 1rem;
}

.yacht-enquire h2 {
    margin: 0 auto 0.5em auto;
    text-transform: uppercase;
    color: #fff;
	text-wrap: balance;
	display: inline-block;
}
.yacht-enquire h2::after {
    content: "";
    display: block;
    width: 80%;
    height: 2px;
    background: var(--gold);
    margin: 1em auto 0 auto;
}

.yacht-enquire p {
    margin: 1em auto;
    line-height: 1.5;
	text-wrap: balance;
	font-size: clamp(1.8rem, 2.5vw, 2.8rem);
}

@media screen and (min-width: 768px) {
	.yacht-enquire p {
		max-width: 49vw;
	}
}

.yacht-enquire .ewbtn {
    margin-top: 2em;
	padding: 0.75em 1.5em;
	font-weight: var(--font-semibold);
}

.yacht-meta {
	padding: var(--pad) 0;
    background: var(--lite);
	margin-top: var(--pad);
}
.headingline {
	font-size: clamp(2.4rem, 3vw, 2.8rem);
	font-weight: var(--font-semibold);
	text-transform: uppercase;
	display: flex;
	align-items:baseline;
	gap: 1em;
}
.headingline::after {
	content:"";
	display: block;
	height: 2px;
	background: var(--gold);
	flex: 1;
}
.yacht-meta h4 {
	font-size: 1.8rem;
	font-weight: var(--font-regular);
	text-transform: uppercase;
	text-align: right;
}
.yacht-comments > div ,
.yacht-equipment > div {
	columns: 2;
}
.yacht-comments :where(ol,ul,p) ,
.yacht-equipment :where(ol,ul,p) {
	break-inside: avoid;
}
.yacht-comments li::marker ,
.yacht-equipment li::marker {
	color: var(--gold);
}
.yacht-comments > div :where(h1,h2,h3,h4,h5,h6) ,
.yacht-equipment > div :where(h1,h2,h3,h4,h5,h6) {
	color: var(--gold);
	font-weight: var(--font-semibold);
	text-transform: uppercase;
	font-size: clamp(1.8rem, 2.5vw, 2.2rem);
	break-after: avoid;
}
.yacht-disclaimer {
	padding: var(--pad) 0;
	text-align: center;
	background: #CDCCCC;
	margin: var(--pad) 0;
}
.yacht-disclaimer h4 {
	font-size: clamp(1.8rem, 2.5vw, 2.2rem);
	color: var(--navy);
	font-weight: var(--font-semibold);
	text-transform: uppercase;
}
.yacht-disclaimer p {
	max-width: 1155px;
	margin-inline: auto;
	text-wrap: balance;
	color: #333;
}

#brokerage-contact-form {
	cursor: default !important;
	width: 984px;
	max-width: 90%;
}
#brokerage-contact-form .contact-form-wrapper {
	text-align: center;
}
#brokerage-contact-form .gform_wrapper {
	margin-block-start: 0;
	background-color: var(--lite);
	padding: var(--pad2);
	margin-block-start: 0;
}
.single-brokerage .fancybox-slide--html .fancybox-close-small {
    padding: 0px;
}
#brokerage-contact-form .fancybox-button svg path {
	fill: var(--navy);
}
#brokerage-contact-form h2 {
	text-align: center;
	text-transform: uppercase;
	display: inline-block;
	margin: 0 auto;
}
#brokerage-contact-form h2::after {
	content: "";
	display: block;
	width: 80%;
	height: 2px;
	background: var(--gold);
	margin: 1em auto 0 auto;
}
#brokerage-contact-form h3 {
	text-align: center;
	display: block;
	padding: 1em;
	border: 2px solid var(--gold);
	font-weight: var(--font-semibold);
	font-size: 1.6rem;
}

input.gform_button.button {
	display: inline-block !important;
	margin: 0 auto !important;
	border: none !important;
	border-radius: 5em !important;
	font-weight: var(--font-bold) !important;
	padding: 0.25em 1em !important;
	background: var(--blue2) !important;
	color: #fff !important;
	font-size: 1.8rem !important;
	text-align: center !important;
	transition: all 0.2s ease !important;
	cursor: pointer !important;
	text-transform: uppercase !important;
}
.gform_button.button:hover {
	background: var(--gold) !important;
}

.floating-contact-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    text-align: center;
    background: none;
    z-index: 10001;
}

#open-popup {
    border: 1px solid transparent;
    -webkit-appearance: none;
    appearance: none;
    background: none;
    border-radius: 58px;
    transition: border-radius 0.3s ease-in-out;
    cursor: pointer;
}
#open-popup:hover {
    border: 1px solid #fff;
    background: #d82717;
    border-radius: 20px;
}


/* WORDPRESS CORE */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: var(--navy);
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  max-width: 98.5%;
	width: auto;
	height: auto;
	margin: 0;
	border: 0 none;
  padding: 0;
}

.wp-caption p.wp-caption-text {
	margin: 0;
  padding: 0 4px 5px;
  font-size: 1.1rem;
  line-height: 17px;
}

.screen-reader-text {
	width: 1px;
	height: 1px;
	margin: -1px;
	border: 0;
	padding: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	overflow: hidden;
	position: absolute !important;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	display: block;
	top: 5px;
	left: 5px;
	width: auto;
	height: auto;
	background-color: #eee;
	padding: 15px 23px 14px;
	clip: auto !important;
	clip-path: none;
	color: #444;
	font-size: 1em;
	line-height: normal;
	text-decoration: none;
	z-index: 100000;
}


/* Media Queries */

@media screen and (min-width: 720px) {
	textarea,
	input:not([type="submit"]) {
		padding: 12px;
	}
}

@media screen and (max-width: 1024px) {
	footer .w > section {
		flex-basis: 50%;
	}

	footer .w > section:nth-of-type(even) {
		border-right: 0 !important;
	}
}

@media screen and (max-width: 640px) {
	.pad,
	.pad.pad-more {
		padding: 18px;
	}
	.pad-h {
		padding: 0 18px;
	}

	.testimonials-slider {
		width: 100%;
	}

	.testimonials-slider-wrapper .slick-arrow {
		display: none !important;
	}

	footer .w > section {
		flex-basis: 100%;
		border: 0 !important;
	}
}


/***
FLEX
***/
.flex {
	display: flex;
}
.flexinline {
	display: inline-flex;
}
.flex.flexo > * {
	flex: 1 0 0;
}
.flexone,
.flex.flexi > * {
	flex: 1 1 auto;
}
.flexwrap {
	flex-wrap: wrap;
}
.flexnowrap {
	flex-wrap: nowrap;
}
.flexgrow > *, .flexgrowi {
	flex-grow: 1;
}
.flexcol {
	flex-direction: column;
}
.flexrow {
	flex-direction: row;
}
.flexdirection {
	flex-direction: normal;
}
.flexdirectionreverse {
	flex-direction: reverse;
}
.flexstretch {
	justify-content: space-between;
	align-content: stretch;
	align-items: stretch;
}
.flexstart {
	align-content: flex-start;
	align-items: flex-start;
}
.flexfirst {
	order: -1;
}
.flexorder {
	order: -1;
}
.flexistretch {
	align-self: stretch;
}
.flexaround {
	justify-content: space-around;
}
.flexspaceb {
	justify-content: space-between;
}
.flexevenly {
	justify-content: space-evenly;
}
.flexcenter {
	justify-content: center;
}
.flexend {
	justify-content: flex-end;
}
.flexvcenter {
	align-items: center;
}
.flexvend {
	align-items: flex-end;
}
.flexgap {
	gap: var(--pad);
}

/***
GRID
***/

.grid {
	--gridgap: var(--pad);
	--gridcols: 1;
	--gridauto: 265px;
	--gridgap: var(--pad);
	display: grid;
    gap: var(--gridgap);
	grid-template-columns: repeat(var(--gridcols), minmax(0, 1fr));
	grid-gap: var(--gridgap);
	gap: var(--gridgap);
}
.grid2,
.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
	--gridcols: 2;
}
.grid3,
.grid-3,
.grid-3-2 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
	--gridcols: 3;
}
.grid4,
.grid-4,
.grid-4-3-2-1 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
	--gridcols: 4;
}

@media screen and (min-width:640px) {
    .gridauto {
        /*grid-template-columns: repeat( auto-fill, minmax(min(calc(180px + 12vmin), 100%), 1fr));*/
        grid-template-columns: repeat( auto-fit, minmax(var(--gridauto,236px), 1fr) );
    }
	.grid4321,.grid421,.grid-4-3-2-1,.grid-4-2-1 {
    	grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.grid21,.grid-2-1 {
    	grid-template-columns: repeat(2, minmax(0, 1fr));
	}
    .brokerage-list.gridauto,
    .listing.type-brokerage.style-cards .gridauto {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (min-width:640px) and (max-width: 839px),
screen and (max-width: 499px) {
    .brokerage-list.gridauto,
    .listing.type-brokerage.style-cards .gridauto {
        --gridgap: 15px !important;
    }

    .brokerage-listing {
        background: rgba(45, 43, 59, 0.8);
    }

    .brokerage-listing .listing-post-section {
        background: transparent;
    }

    .brokerage-listing .listing-post-section-media {
        position: relative;
        display: block;
    }

    .brokerage-listing .listing-post-section-media .listing-post-section-newlisting {
        position: absolute;
        margin-top: 1em;
        padding: 0.5em 1em;
    }

    .brokerage-listing .listing-post-section-media .listing-post-overlay {
        margin-top: -10px;
        background: transparent;
    }

    .brokerage-listing .listing-post-section-media .listing-post-section-link:not(:has(.status-sold)) {
        display: none;
    }

    .brokerage-listing .listing-post-section-media .listing-post-section-link:has(.status-sold) {
        position: absolute;
        top: 0;
        right: 0;
        margin-top: 14px;
    }

    .brokerage-listing .listing-post-section-media .listing-post-section-link a.status-sold {
        padding: 0.5em 1em;
    }
}
@media screen and (max-width: 600px) {
    #wpadminbar {
        top: -46px !important;
    }
}
@media screen and (max-width:840px) {
    .brokerage-list.gridauto,
    .listing.type-brokerage.style-cards .gridauto {
        --gridgap: 30px;
    }
}
@media screen and (max-width:960px) {
	.grid21 .grid21,.grid-2-1 .grid-2-1 {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media screen and (min-width:768px) {
	.grid31,.grid-3-1 {
    	grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media screen and (min-width:640px) {
	.grid321,.grid-3-2-1 {
    	grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media screen and (min-width:960px) {
	.grid4321,.grid321,.grid-4-3-2-1,.grid-3-2-1 {
    	grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media screen and (min-width:1280px) {
	.grid421,.grid-4-2-1 {
    	grid-template-columns: repeat(4, minmax(0, 1fr));
	}
    
    .brokerage-list.gridauto,
    .listing.type-brokerage.style-cards .gridauto {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
@media screen and (min-width:1600px) {
	.grid4321,.grid-4-3-2-1 {
    	grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
.grid>* {
	width:auto;
	max-width: none;
}
.gridreverse {
    direction: rtl;
}
.gridreverse > * {
    direction: ltr;
}
.gridcenter {
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
    justify-items: center;
}
.gridstretch {
	-webkit-box-pack: stretch;
	-webkit-justify-content: stretch;
	-ms-flex-pack: stretch;
	justify-content: stretch;
}
.gridvcenter {
	-webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
.gridgap {
	--gridgap: var(--pad);
}
.grid > *:only-child {
    grid-column: 1/-1;
}

@media print {
  #modalWindow,
  #modalbg {
    display: none !important;
  }
}