/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
body, html{
	width: 100%;
	overflow-x: hidden;
}

.elementor-empty-view {
	display: none !important;
}

.elementor-button {
	min-width: 175px;
}

body.single-tribe_events #tribe-events-pg-template {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    padding: 0;
}

.event-month-custom {
	font-family: 'Nexa';
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    color: #efefef;
    text-align: center;
    line-height: 1.1em;
    margin-right: -20px;
    white-space: nowrap;
	
	display: block;
	width: 100%;
	padding: 10px;
	border-radius: 20px 20px 0 0;
	background: #5c5959;
}

.event-day-custom {
	font-family: 'Nexa';
    font-size: 64px;
    font-weight: 800;
    text-transform: uppercase;
    color: #5c5959;
    text-align: center;
    line-height: 0.8em;
	
	display: block;
	width: 100%;
	padding: 10px 15px 15px;
	border-radius: 0 0 20px 20px;
	background: #efefef;
}

/* Builder */
a.vc-marketing-card, .vc-model-card {
    border: 0 !important;
    border-radius: 0 !important;
}

.vc-step-nav {
	background: #000;
	gap: 0 !important;
}

.vc-step-btn {
	margin-left: -15px;
    padding-left: 30px !important;
    padding-right: 30px !important;
	clip-path: polygon(15px 0, 100% 0, calc(100% - 15px) 100%, 0 100%);
	border-radius: 0 !important;
}

.vc-step-btn.active {
	background: var(--vc-primary);
	color: #fff !important;
}

.vc-step-btn.completed {}
.vc-step-btn.completed:hover {
	background: #000 !important;
}

.left-shadow:after {
    content: '';
    position: absolute;
    top: 0;
    left: calc(-9999px + 80px);
    height: 100%;
    width: 9999px;
    background: #154a96;
    clip-path: polygon(0 0, 100% 0, calc(100% - 80px) 100%, 0 100%);
}

.carousel-image {
	overflow: visible !important;
    z-index: 1;
    height: calc(100% + 60px);
    width: calc(100% + 70px);
	min-height: 100%;
	margin-top: -60px;
    -webkit-clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, calc(100% - 180px) 100%, 0 100%);
}

.carousel-content {
    width: 100%;
    max-width: 600px;
	padding: 90px 0 60px 15px;
}

@media (max-width: 1024px) {
	.carousel-image {
		width: 100%;
		clip-path: polygon(0 0, 100% 0, calc(100% - 90px) 100%, 0 100%);
	}
	.carousel-content {
		max-width: 100%;
		padding: 30px;
	}
}

/* =========================================================
   Vehicle Customizer — Marketing Overview overrides
   ========================================================= */

/* --- Container --- */
.vc-marketing-overview {
  --mo-primary: #1e5a9e;
  --mo-primary-hover: #164878;
  --mo-text: #202124;
  --mo-bg: #ffffff;
  --mo-card-overlay: rgba(0, 0, 0, 0.85);
  --mo-banner-bg: #7d7d7d;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  background: var(--mo-bg);
}

/* Hide the default page title if you want the design’s own headers */
.vc-marketing-overview > h2 {
  display: none;
}

/* --- Category banner (slanted bar) --- */
.vc-marketing-category {
  margin-bottom: 48px;
  text-align: center;
	display: flex;
	flex-direction: column;
}

.vc-marketing-category h3 {
	position: relative;
	display: inline-block;
	margin: 0 80px 30px auto !important;
	padding: 20px 80px !important;
	font-size: 48px !important;
	font-weight: 800 !important;
	line-height: 1em !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-align: left;
	color: #fff !important;
	background: #C9C9C9;
	background: linear-gradient(90deg, rgba(201, 201, 201, 0.5) 0%, rgba(114, 114, 114, 0.8) 10%, rgba(114, 114, 114, 1) 20%, rgba(114, 114, 114, 1) 50%, rgba(114, 114, 114, 0.8) 77%, rgba(201, 201, 201, 0.5) 100%);
	min-width: 60%;
	clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
	align-self: flex-end;
	border: 0 !important;
}

/* --- Category description --- */
.vc-marketing-category-description {
  margin: 0 0 32px 40px !important;
  font-size: 14px;
  line-height: 1.6;
  color: var(--mo-text);
	text-align: left;
}

/* --- Grid --- */
.vc-marketing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px;
}

@media (max-width: 991px) {
  .vc-marketing-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .vc-marketing-grid {
    grid-template-columns: 1fr !important;
  }
}

/* --- Cards --- */
.vc-marketing-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border: none;
  border-radius: 0;
  overflow: hidden;
  text-decoration: none;
  background: #000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vc-marketing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.vc-marketing-card-thumb {
  position: absolute;
  inset: 0;
  aspect-ratio: auto !important;
}

.vc-marketing-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.vc-marketing-card:hover .vc-marketing-card-thumb img {
  transform: scale(1.03);
}

/* --- Card info overlay (bottom gradient bar) --- */
.vc-marketing-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 48px 20px 16px;
  background: linear-gradient(to top, var(--mo-card-overlay) 0%, transparent 100%) !important;
  color: #fff;
}

/* Model name, e.g. "16' W" */
.vc-marketing-card-info h4 {
  margin: 0 !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  color: #fff !important;
}

/* Hide the default year/length meta on the card */
.vc-marketing-card-meta {
  display: none !important;
}

/* Category label, e.g. "TILLER" */
.vc-marketing-card-category {
  display: block !important;
  margin-top: 4px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-align: left !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

/* --- Explore button --- */
.vc-marketing-card-cta {
  flex-shrink: 0;
  display: inline-block;
  padding: 8px 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff !important;
  background: var(--mo-primary);
  border-radius: 4px;
  transition: background 0.2s ease;
}

.vc-marketing-card:hover .vc-marketing-card-cta {
  background: var(--mo-primary-hover);
}

.vc-md-carousel-text {
  background: rgba(0, 0, 0, 0.7);
  position: relative;
	padding: 45px;
	clip-path: polygon(0 0, 100% 0, calc(100% - 80px) 100%, 0 100%);
}

.vc-md-carousel-content {
	grid-area: unset;
	padding: 0 !important;
}

/* Extend the left edge off-screen */
.vc-md-carousel-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: -9999px;
    height: 100%;
    width: 9999px;
    background: rgba(0, 0, 0, 0.7);
}

.vc-md-carousel-panel--full-bg .vc-md-carousel-content {
	min-height: 0 !important;
}

.vc-md-carousel-panel--full-bg .vc-md-carousel-text {
	padding: 45px 100px 45px 45px;
}

.vc-md-carousel-panel--full-bg .vc-md-carousel-text h3 {
	font-family: 'Nexa';
	font-weight: 900;
	font-size: 40px;
	color: #fff !important;
}

.vc-md-carousel-panel--full-bg .vc-md-carousel-description {
	color: #fff !important;
	padding-left: 50px;
}


/* Model Configs */
:root {
    --brand-blue: #0f4c96;
    --brand-grey: #a0a0a0;
    --light-bg: #f2f2f2;
    --border-radius: 8px;
}

.boat-config-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    font-family: inherit;
}

.config-main-heading {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: #000;
}

/* Base Desktop Layout */
.boat-config-container {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

/* Left Navigation Tabs (Desktop) */
.model-tabs-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 220px;
    flex-shrink: 0;
}

.model-tab-btn {
    background-color: var(--brand-grey);
    color: #fff;
    border: none;
    padding: 14px 18px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s ease;
}

.model-tab-btn.active, 
.model-tab-btn:hover {
    background-color: var(--brand-blue);
}

/* Model Panels */
.model-panels-container {
    flex-grow: 1;
}

.model-panel {
    display: none;
}

.model-panel.active {
    display: block;
}

/* Nested Tabs Header (Desktop) */
.nested-tabs-nav {
    display: flex;
    gap: 10px;
	margin-left: 35px;
}

.nested-tab-btn {
    background-color: var(--brand-grey);
    color: #fff;
    border: none;
    padding: 12px 28px;
    font-weight: 800;
    font-size: 0.95rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.nested-tab-btn.active {
    background-color: var(--brand-blue);
}

/* Nested Content Area */
.nested-content-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    padding: 50px 35px 35px;
    min-height: 400px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
	margin-top: -25px;
}

.nested-panel {
    display: none;
}

.nested-panel.active {
    display: block;
}

.wysiwyg-specs-content {
	column-count: 2;
}

/* Headings */
.panel-title {
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0 0 5px 0;
    text-transform: uppercase;
    color: #000;
}

.panel-subtitle {
	font-family: "nexa", Sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #666;
    margin: 0 0 30px 0;
    text-transform: uppercase;
}

/* Gallery Grid */
.model-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

/* --- Mobile Responsive Rules --- */
@media (max-width: 768px) {
    .boat-config-container {
        flex-direction: column;
        gap: 20px;
    }

    /* Model Selector Buttons on Top */
    .model-tabs-nav {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .model-tab-btn {
        flex: 1 1 calc(33.333% - 8px);
        padding: 10px 8px;
        font-size: 0.85rem;
    }

    /* Nested Tabs: 50/50 Full Width on Card */
    .nested-tabs-nav {
        gap: 0;
		margin: 0;
    }

    .nested-tab-btn {
        flex: 1 1 50%;
        text-align: center;
		border: 0 !important;
        border-radius: 0 !important;
        padding: 12px 10px;
    }

    .nested-content-card {
        padding: 20px;
		margin-top: 0;
    }
	.wysiwyg-specs-content {
		column-count: 1;
	}
}


@media (max-width: 767px) {
	.event-month-custom {
		font-size: 18px;
		letter-spacing: 12px;
	}

	.event-day-custom {
		font-size: 48px;
	}
	
	.left-shadow:after {
        clip-path: none;
        left: -9999px;
    }
}