
:root {
	--font-heading: 'Merriweather', serif;
}

.clearfix {
	display: flex;
}

body .logged-in,
body.logged-in .logged-out {
	display: none!important;
}
body.logged-in .logged-in {
	display: block!important;
}


/* HEADER  ==================================  */

.header-menu-2 .menu li:nth-child(n + 3)::before {
	content: ' | ';
	color: #555;
}
#header .ct-container {
	max-width: 1200px;
}
[data-header*="type-1"] .ct-header [data-row*="top"] {
	background-color: #1d1c1c;
	.ct-menu-link {
		color: #fff;
	}
}
.ct-header-account-dropdown {
	background: #222;
}
.ct-header-account-dropdown .ct-menu-link {
		color: #222!important;
}
.ct-header-account {
	margin: 0;
}
.ct-account-item svg {
	fill: #fff;
}
.sub-menu li[class*=current-menu-]>.ct-menu-link, 
.sub-menu li[class*=current-menu-]>.ct-sub-menu-parent {
	color: #fff;
	border-left: 6px solid var(--theme-palette-color-1);
}
.sub-menu li .ct-menu-link:hover {
	color: #fff!important;
	border-left: 6px solid var(--theme-palette-color-1);
}

nav[class*=menu] .ct-menu-link {
	font-size:  16px;
	text-transform: none;
}
nav[data-id="mobile-menu"] + div .ct-icon-container svg {
	fill:  #fff;
}

nav.mobile-menu.menu-container {
	margin-bottom: 40px;
	border-bottom: 2px solid rgba(200,200,200,0.25);
	padding-bottom: 24px;

	+.ct-header-socials {
		
		padding-top: 12px;
		
		svg {
			width:20px;
			height:20px;
		}
		.ct-social-box {
			gap: 20px
		}
		
	} 

}



.announcement {
	display: none;
	opacity: 0;
	transition: opacity 0.9s ease;

	background: rgba(0,0,0,0.25);
	padding: 24px;
	margin: -96px auto 30px;
	margin-top:  -96px!important;
	z-index: 100;
	max-width: 1160px;
	p {
		color: #fff;
		font-size: 14px;
		a {
			color: #fff;
			&:hover {
				text-decoration: none;
			}
		}
	}
	@media screen and (max-width: 767px) {
		background: transparent;
		margin-top: 0!important;
		p,p a {
			color:  #111;
		}
	}

}

.announcement-bar-enabled .announcement {
	display: block;
}
.fade-in {
  opacity: 1;
}

@media screen and (max-width: 1020px) {
	
	header#header .ct-container {
		margin-left:  15px;
		margin-right:  15px;
		width: calc(100vw - 32px);
	}

}


/* home sections ==========================  */

a.rev-btn {
	border-radius: 3px!important;
}
.home .entry-header {
	display:none;
}
.home main>.ct-container-full {
	padding-top: 0;
	margin-top: -40px;
	padding-bottom: 0;
}
.two-col { 
	> * {
		flex-basis: 50%;
	}
	img {
		transform: scale(1.25) translate(-26px);
		transform-origin: 100% 50%;
	}
	@media screen and (max-width: 767px) {
		flex-direction: column;
		flex-basis: 100%;
		.wp-block-heading {
			br {
				display: none;
				text-wrap: balance;
			}
		}
		img {
			transform: scale(1) translate(0px);
		}
	}
}

.entry-content p:empty {
	display:none;
}

.column-section {

	position: relative;
	background-size: 100%!important;
	background-position: 50% 120px;
	background-repeat: repeat-x;
	margin-bottom: 0!important;

	>.is-layout-flex > div {
		flex-basis: 50%;
	}
	>.is-layout-flex{
		@media screen and (max-width: 767px) {
			flex-basis: 100%;
			flex-direction: column;
			gap: 80px;
		}
	}
	.wp-block-group {
		position: relative;
		z-index: 5;
	}
	.wp-block-heading {
		font-family: var(--font-heading);
		color: #fff;
	}
	p {
		color: #fff;
		max-width: 85%;
	}
	.wp-block-group {
		position: relative;
	}
	.wp-block-image:not(.parallax) {
		img {
			display:block;
			box-shadow: 0 0 30px rgba(10,10,10,0.20);
		}
	}
	&::before,
	&::after {
		content: '';
		height: 50%;
		width: 100%;
		display: block;
		position: absolute;
		bottom: 0;
		left: 0;
		z-index: 2;
	}
	&::after {
		background: #2b2929;
	}
	&::before {
		width: 50%;
		right: 50%;
		right: calc(50vw + 15px);
		left: auto;
		background: #888;
		z-index: 3;
	}
	@media screen and (max-width: 767px) {
		&::before,
		&::after {
			width: 100%;
			left: 0;
			right: 0;
		}
		&::after {
			bottom:  auto;
			top:  0;
		}
	}
}
.cta-section {
	position: relative;
	overflow: visible;
	margin-bottom: 0!important;
	p {
		max-width: 650px;
	}
	@media screen and (max-width: 767px) {
		background-position: 50%;
		.wp-block-heading {
			text-wrap: balance;
			line-height:  1.5;
			br {display: none;}
		}
		.parallax {
			display: none;
		}
	}
}
.cta-section__inner {
	position: relative;
}

.parallax img {
	position: absolute;
	z-index: 50;
	/* top: -35px; */
	top: -60px;
}

.gull-1 img {
	left: -325px;
}
.gull-3 img {
	top: 25px;
	left: -150px;
}
.gull-2 img {
	right: -260px;
}

.sail-1 img {
	top: 110px;
	right: -50px;
	left: auto;
}

.plans-1 img {
	top: auto;
	left: auto;
	right: -18px;
	bottom: 120px;
}
.plans-2 img {
	top: auto;
	left: -32px;
	bottom: 60px;
}
@media screen and (max-width: 767px) {
	figure.parallax {
		transform:  scale(0.75);
	}
	.plans-2 img {
		left: -100px;
	}
	.plans-1 img {
		right: -96px;
		bottom: 170px;
	}
	.sail-1 img {
		top: -265px;
		right: -94px;
	}
}


/* MemberPress ==================================  */
.memberpressproduct-template-default .entry-meta {
	display: none;
}
.mp_wrapper .mp-form-row.mepr_price {
	font-weight:bold;
	margin-bottom: 32px;
}
div.mepr-price-menu.fixed .mepr-price-box-button a {
	background-color: var(--theme-palette-color-1);
	font-weight:  bold;
	&:hover {
		background-color: var(--theme-button-background-hover-color);
	}
}
.mepr-price-box-price {
	text-wrap:  balance;
	line-height:  1;
}

.entry-content .wp-block-image figcaption {
	text-align:  left;
	font-size:  12px;
}

/* text ==================================  */
.text-red {
	color: var(--theme-palette-color-1);
}
.text-primary {
	 font-family: var(--font-heading);
}
.overline {
	padding: 0;
}
.is-layout-flex .overline {
	margin-bottom: -20px;
}

.message.info {
    border-color: #1d1c1c;
    background: #797b7e1c;
	line-height: 1.4;
}
.message.notice {
    border-color: #96151d;
    background: #ececec;
	color: #96151d;
	line-height: 1.4;
}


/* form styles */
div.wpforms-container-full .wpforms-form input[type=submit], div.wpforms-container-full .wpforms-form button[type=submit], div.wpforms-container-full .wpforms-form .wpforms-page-button {
	background-color: var(--theme-palette-color-1);
	color: #fff;
	border:none;
	&:hover {
		background-color: var(--theme-palette-color-2);
		border:none;
	}
}

/* BLOG  ==================================   */

span.ct-title-label {
	display: none!important;
}
li.meta-author {
	display:none!important;
}
a.wp-block-latest-posts__post-title {
	font-weight:bold;	
}
nav.ct-pagination {
	margin-bottom: 32px;
}

.entries .category-archives a img {
	aspect-ratio: 3/4!important;
}

div.entries[data-archive=default][data-layout=simple] article>.ct-media-container {
	max-width: clamp(220px,20vw,15%);
}


a:hover img[src*="button_download-issue"] {
	filter: saturate(1.25);
}

.entry-excerpt:empty {
	display: none;
}

@media screen and (max-width: 767px) {

	div.entries[data-archive=default][data-layout=simple] article>.ct-media-container {
		max-width: 100%;
	}

	div.entries[data-archive=default][data-layout=simple] article.category-archives {
		flex-direction: row;
	}
	div.entries[data-archive=default][data-layout=simple] article.category-archives>.ct-media-container {
		max-width: 20vw;
			img {
				object-fit: contain;
			}
	}

}



/* WooCommerce  ==================================   */



.woo-listing-top {
    justify-content: flex-end;
	.woocommerce-result-count {
		order: 0;		
		margin-inline-end: auto;
	}
	.sub-category-filter {
		order: 2;
	}
	.woocommerce-ordering:not(.sub-category-filter) {
		order: 4;
		margin-inline-start: 0;
	}
}

.woocommerce-cart {
	.ppc-button-wrapper {
		padding-top: 18px;
	}
}
section.woocommerce-order-downloads {
	padding-top: 20px;
}
.woocommerce-order h2 {
	color: #96151d;
}
#mepr-account-nav {
	display: flex;
	flex-direction: row;
	gap: 10px;
	padding-bottom: 24px;
	>span a {
		display:block;
		padding: 2px 12px;
		border: 1px solid #ddd;
		background: #fff;
		&:hover {
			border-color: #96151d;
		}
	}
	span.mepr-active-nav-tab a {
		cursor: default;
		color: #ffff;
		border-color: #333;
		background-color: #333;
	} 
}

main .hero-section[data-type=type-2]>[class*=ct-container] {
    min-height: var(--min-height, 80px);
	padding: 0;
	width: 100%;
	width: var(--theme-container-width);
	max-width: 1160px;
	text-align: left;
}


@media (min-width: 1000px) {
	
	.ct-container[data-sidebar] {
		grid-column-gap: 20px;
	}
	div[data-sidebar=right]>[data-type=type-3], 
	div[data-sidebar=right]>[data-type=type-4] {
		padding-inline-start: 24px;
	}
	div[data-sidebar=right] {
		--grid-template-columns: minmax(100px, 1fr) var(--sidebar-width, 22%);
	}

}


/* FOOTER  ==================================   */
.ct-footer {
	background: url('https://stg-usvmyg-staging.kinsta.cloud/wp-content/uploads/2025/06/bg-yacht-plans-background.jpg');
	background-position: 50%;
}
div.ct-container {
	max-width: 1160px;
}
.ct-footer .widget_media_image img {
	max-width: 120px;
}
.ct-footer .ct-widget {
	color:  #fff;
}
[data-footer*="type-1"] .ct-footer {
	color: #fff;
	background-color: #111;
	* {
		color: #fff;
	}
}
[data-footer*="type-1"] .ct-footer [data-id="menu"] > ul > li > a,
#footer .widget-menu a {
	text-transform: none;
	color: #fff;
	font-size: 16px;
	font-weight: normal;
	&:hover {
		color: var(--theme-palette-color-2);
	}
}
.ct-block-wrapper {
	&:has(.ct-socials-block) {
		.wp-block-heading {
			display:none;
		}
	}
	.ct-socials-block {
		svg {
			fill: #fff;
		}
	}
}

.ct-footer [data-row="bottom"] {
	z-index: 50;
	position: relative;
	background-color: #000!important;
	&::before {
		content: '';
		height: 100%;
		width: 50%;
		display: block;
		position: absolute;
		bottom: 0;
		left: 0;
		z-index: 2;
		background-color: #101010;
	}
	.ct-container-fluid {
		max-width: 1200px;
	}
	p {
		position: relative;
		z-index: 10;
		font-size: 12px;
		color: #888;
		max-width:  45vw;

		a {
			color: #888;
		}
	}
	@media screen and (max-width: 1020px) {

	}
	@media screen and (max-width: 768px) {

	}
}

.ct-footer .ct-widget {
	color: #fff;
}
[data-footer*="type-1"] .ct-footer hr {
	display: block;
	margin-top: 45px;
	width: 100%;
	height: 1px;
	background-color: none;
	border-top: 2px solid var(--theme-palette-color-1);
}
.ct-footer #block-28 {
	width: 90%;
	margin-top: 12px;
}
[data-footer*="type-1"] .ct-footer [data-row*="middle"] > div {
	grid-template-columns: 2fr 1fr 1fr;
}
.ct-footer .widget_media_image img {
	max-width: 160px;
}
.ct-socials-block .ct-icon-container svg {
	width: 50px;
	height: 50px;
	padding: 12px;
	background-color: rgba(0,0,0,0.25);
	fill:  #fff;
}
.ct-footer div[data-column] {
	justify-content: center;
}
.ct-footer ul li a:hover {
	color: var(--theme-palette-color-2);
}

@media screen and (max-width: 1020px) {

	.ct-footer [data-row="middle"] {
		.ct-container {
			gap: 20px;
		}
	}
	.ct-footer [data-row="bottom"] {
		&::before {
			display:none;
		}
		div.widget_text {
			margin: 0 auto;
			width: 100%;
		}
		.ct-container-fluid {
			gap: 20px;
		}
		p {
			margin: 0 auto;
			text-align: center;
		}
	}
}
@media screen and (max-width: 600px) {

	.ct-footer [data-row="middle"] {
		.ct-container {
			grid-template-columns: 1fr!important;
		}
		.widget-menu,
		nav.menu-container {
			padding-left: 16px;
		}
	}
	#footer ul li a {
		display: block;
		width: 100%;
		line-height: 1.75;
	}
	#footer .menu {
		display:block;
	}
	.ct-footer [data-row="bottom"] {

		p,
		.ct-footer-copyright,
		.ct-footer-copyright p {
			width: 100%;
			max-width: 100%;
		}
		
	}

}