/* Single Yacht Page Styles */

/* Hero Section */
.cw-yacht-hero {
    position: relative;
    width: 100%;
    min-height: 560px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
}

.cw-yacht-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 43, 68, 0.75) 0%, rgba(13, 43, 68, 0.3) 50%, rgba(13, 43, 68, 0.1) 100%);
    z-index: 1;
}

.cw-yacht-hero h1 {
    color: #fff !important;
    font-size: 48px !important;
    font-weight: 300 !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 15px 0;
}

.cw-yacht-meta-top {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cw-yacht-type,
.cw-yacht-builder,
.cw-yacht-price {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 15px;
    border-radius: 4px;
    backdrop-filter: blur(5px);
}

.cw-yacht-tagline {
    color: #fff;
    font-size: 24px;
    font-weight: 300;
    margin: 20px 0 0 0;
    max-width: 800px;
    line-height: 1.4;
}

/* Sticky Navigation.
   z-index sits above the page sections (max ~2) and the footer so nothing
   scrolls over it, but below the fixed header (z-index 9999). */
.cw-sticky-yacht-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #0D2B44;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cw-sticky-yacht-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.cw-sticky-yacht-nav li {
    margin: 0;
}

.cw-sticky-yacht-nav a {
    display: block;
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    text-transform: uppercase;
    text-decoration: none !important;
    font-size: 13px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.cw-sticky-yacht-nav a:hover,
.cw-sticky-yacht-nav a:focus {
    color: #ffffff !important;
    background: transparent !important;
    border-bottom: 3px solid #e6dbc1 !important;
}

.cw-sticky-yacht-nav a.active {
    color: #ffffff !important;
    background: transparent !important;
    border-bottom: 3px solid #e6dbc1 !important;
}

/* Floating Book Button */
.cw-floating-book-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.cw-book-btn {
    background: #0D2B44 !important;
    color: #fff !important;
    padding: 15px 25px !important;
    /* border-radius: 4px !important;*/
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
}

.cw-book-btn:hover {
    background: #1a3d5c !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
}

/* Content Container */
.cw-yacht-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Sections */
.cw-yacht-section {
    margin-bottom: 80px;
}

.cw-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cw-section-title {
    font-size: 32px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: #0D2B44;
    text-align: center;
}

/* Overview Section */
.cw-expandable-text {
    max-height: 300px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease;
}

.cw-expandable-text.expanded {
    max-height: 2000px;
}

/* Builder pages collapse to roughly the first 200 words (Matt 02.09);
   long pages expand further so the full copy is one click away. */
.cw-expandable-text--builder {
    max-height: 520px;
}

.cw-expandable-text--builder.expanded {
    max-height: 12000px;
}

.cw-yacht-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    /*  border-top: 1px solid #eee; */
}

a.cw-nav-prev,
a.cw-nav-next {
    color: #0D2B44;
    text-decoration: none;
    font-weight: 500;
}

a.cw-nav-prev:hover,
a.cw-nav-next:hover {
    text-decoration: underline;
}

/* Gallery */
.cw-yacht-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.cw-gallery-item {
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    background: #f0f0f0;
}

.cw-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cw-gallery-item:hover img {
    transform: scale(1.05);
}

.cw-gallery-alt {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

.cw-view-gallery-btn {
    margin-top: 20px;
}

/* 2 Column Layout */
.cw-2col-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.cw-2col-layout.reverse {
    direction: rtl;
}

.cw-2col-layout.reverse>* {
    direction: ltr;
}

.cw-col-image {
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

.cw-col-text {
    padding: 20px 0;
}

/* Specifications List */
.cw-specs-list {
    list-style: none;
    padding: 0;
}

.cw-specs-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.cw-specs-list li strong {
    color: #0D2B44;
    font-weight: 600;
}

/* Features Grid */
.cw-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
}

.cw-features-grid li {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #0D2B44;
}

/* Plans Grid */
.cw-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
}

.cw-plan-item {
    overflow: hidden;
    border-radius: 8px;
    background: #f8f9fa;
    aspect-ratio: 4/3;
}

.cw-plan-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Deck-plan thumbs in the #plans carousel sit in the shared yacht-card
   component, whose core CSS forces a 3:2 padding box — override it to the
   uniform 4:3 plan box (same pattern as the gallery grid above). */
#plans .cw-card-image.cw-plan-item {
    aspect-ratio: 4/3;
    height: auto;
    padding-bottom: 0;
}

#plans .cw-card-image.cw-plan-item img {
    position: absolute;
    inset: 0;
}

/* Padding-hack fallback for browsers without aspect-ratio */
@supports not (aspect-ratio: 4/3) {
    .cw-plan-item {
        position: relative;
        height: 0;
        padding-bottom: 75%;
    }

    .cw-plan-item img {
        position: absolute;
        inset: 0;
    }

    #plans .cw-card-image.cw-plan-item {
        height: 0;
        padding-bottom: 75%;
    }
}

/* Amenities List */
.cw-amenities-list {
    list-style: none;
    padding: 0;
}

.cw-amenities-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
}

.cw-amenities-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0D2B44;
    font-weight: bold;
}

/* Testimonials */
.cw-testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.cw-testimonial-slide {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin: 20px;
    text-align: center;
}

.cw-testimonial-slide blockquote {
    font-size: 18px;
    font-style: italic;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.6;
}

.cw-testimonial-slide cite {
    font-weight: 600;
    color: #0D2B44;
    font-style: normal;
}

.cw-more-testimonials {
    display: inline-block;
    margin-top: 20px;
    color: #0D2B44;
    text-decoration: none;
    font-weight: 500;
}

.cw-more-testimonials:hover {
    text-decoration: underline;
}

/* Builder Slider */
.cw-builder-slider {
    max-width: 800px;
    margin: 0 auto;
}

.cw-builder-slide {
    position: relative;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
}

.cw-builder-yacht-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cw-builder-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(13, 43, 68, 0.9), transparent);
    padding: 30px;
    color: #fff;
}

.cw-builder-overlay h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 300;
}

/* Location Grid */
.cw-location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
}

.cw-location-grid li a {
    display: block;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    color: #0D2B44;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.cw-location-grid li a:hover {
    background: #0D2B44;
    color: #fff;
}

/* SEO Tags */
.cw-seo-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.cw-seo-tag {
    background: #f0f0f0;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* News Grid */
.cw-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.cw-news-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.cw-news-item:hover {
    transform: translateY(-5px);
}

.cw-news-image {
    height: 200px;
    overflow: hidden;
}

.cw-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cw-news-item:hover .cw-news-image img {
    transform: scale(1.05);
}

.cw-news-content {
    padding: 20px 0;
}

.cw-news-title {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.cw-news-title a {
    color: #0D2B44;
    text-decoration: none;
}

.cw-news-title a:hover {
    text-decoration: underline;
}

.cw-news-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.cw-read-more {
    color: #0D2B44;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.cw-read-more:hover {
    text-decoration: underline;
}

/* Inspiration Scroller */
.cw-inspiration-scroller {
    position: relative;
    overflow: hidden;
    padding: 0 40px;
}

.cw-inspiration-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    scrollbar-width: none;
}

.cw-inspiration-track::-webkit-scrollbar {
    display: none;
}

.cw-inspiration-item {
    flex: 0 0 200px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cw-inspiration-image {
    height: 150px;
    overflow: hidden;
}

.cw-inspiration-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cw-inspiration-content {
    padding: 15px;
}

.cw-inspiration-title {
    margin: 0;
    font-size: 14px;
}

.cw-inspiration-title a {
    color: #0D2B44;
    text-decoration: none;
}

.cw-inspiration-title a:hover {
    text-decoration: underline;
}

.cw-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #0D2B44;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 10;
}

.cw-scroll-prev {
    left: 0;
}

.cw-scroll-next {
    right: 0;
}

.cw-scroll-btn:hover {
    background: #1a3d5c;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cw-yacht-hero {
        min-height: 400px;
    }

    .cw-yacht-title {
        font-size: 32px !important;
    }

    .cw-yacht-tagline {
        font-size: 18px;
    }

    .cw-sticky-yacht-nav ul {
        flex-wrap: wrap;
    }

    .cw-sticky-yacht-nav a {
        padding: 10px 15px;
        font-size: 12px;
    }

    .cw-2col-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cw-col-image {
        height: 250px;
    }

    .cw-features-grid {
        grid-template-columns: 1fr;
    }

    .cw-plans-grid {
        grid-template-columns: 1fr;
    }

    .cw-news-grid {
        grid-template-columns: 1fr;
    }

    .cw-inspiration-item {
        flex: 0 0 150px;
    }

    .cw-floating-book-btn {
        bottom: 20px;
        right: 20px;
    }

    .cw-book-btn {
        padding: 12px 20px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    .cw-yacht-meta-top {
        flex-direction: column;
        gap: 10px;
    }

    .cw-yacht-type,
    .cw-yacht-builder,
    .cw-yacht-price {
        width: 100%;
        text-align: center;
    }

    .cw-yacht-hero-content {
        padding: 40px 20px 30px;
    }

    .cw-section-title {
        font-size: 24px;
    }

    .cw-gallery-item {
        aspect-ratio: 3/2;
    }

    .cw-inspiration-scroller {
        padding: 0 20px;
    }

    .cw-inspiration-item {
        flex: 0 0 120px;
    }

    .cw-scroll-btn {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}

/* Hero Slider Styles */
.cw-yacht-hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 1000px;
    min-height: 600px;
    overflow: hidden;
    z-index: 0;
}

.cw-hero-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.cw-hero-slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.cw-hero-slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
}

.cw-hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #0D2B44;
}

.cw-hero-slide-video video,
.cw-hero-slide-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #0D2B44;
}

/* Low-res image: blurred background + centered preview */
.cw-hero-slide-lowres {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cw-hero-slide-bg-blur {
    filter: blur(24px) brightness(0.3);
    transform: scale(1.15);
}

/* YouTube hero slide */
.cw-hero-slide-youtube {
    overflow: hidden;
}

.cw-hero-youtube-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-width: 177.78vh;
    min-height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    border: 0;
}

/* Poster behind the video slide: visible until the player paints, and left
   standing when the player fails (.cw-hero-video-failed, set by JS) so the
   hero never sits on a black box. */
.cw-hero-slide-video .cw-hero-video-poster {
    z-index: 0;
}

.cw-hero-slide-video .cw-hero-slide-video-bg {
    z-index: 1;
    background-color: transparent;
}

.cw-hero-slide-video.cw-hero-video-failed .cw-hero-slide-video-bg {
    display: none;
}

.cw-hero-slide-preview {
    position: relative;
    z-index: 1;
    max-width: 70%;
    max-height: 75vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 12px 50px rgba(0,0,0,0.45);
}

@media (max-width: 768px) {
    .cw-hero-slide-preview {
        max-width: 85%;
        max-height: 70vh;
    }
}

.cw-hero-slider-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 43, 68, 0.75) 0%, rgba(13, 43, 68, 0.3) 50%, rgba(13, 43, 68, 0.1) 100%);
    z-index: 1;
}

.cw-yacht-hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.cw-hero-content-inner {
    max-width: 1200px;
    width: 100%;
    padding: 0 30px;
    text-align: center;
    margin: 0 auto;
}

.cw-yacht-title {
    color: #fff !important;
    font-size: 48px !important;
    font-weight: 300 !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 15px 0;
}

.cw-yacht-meta-top {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    justify-content: center;
}

.cw-yacht-type,
.cw-yacht-builder,
.cw-yacht-price {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 15px;
    border-radius: 4px;
    backdrop-filter: blur(5px);
}

.cw-yacht-tagline {
    color: #fff;
    font-size: 24px;
    font-weight: 300;
    margin: 20px 0 0 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.cw-hero-slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.cw-hero-slider-prev,
.cw-hero-slider-next {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.cw-hero-slider-prev:hover,
.cw-hero-slider-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.cw-hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.cw-hero-slider-dot {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
}

.cw-hero-slider-dot.active {
    background: #fff;
    transform: scale(1.2);
}

.cw-hero-slider-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Responsive Hero Slider */
@media (max-width: 768px) {
    .cw-yacht-hero-slider {
        min-height: 400px;
    }

    .cw-yacht-title {
        font-size: 32px !important;
    }

    .cw-yacht-tagline {
        font-size: 18px;
    }

    .cw-yacht-meta-top {
        gap: 10px;
    }

    .cw-hero-slider-prev,
    .cw-hero-slider-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .cw-hero-slider-dots {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .cw-yacht-hero-slider {
        min-height: 350px;
    }

    .cw-yacht-title {
        font-size: 24px !important;
    }

    .cw-yacht-meta-top {
        flex-direction: column;
        align-items: center;
    }

    .cw-yacht-type,
    .cw-yacht-builder,
    .cw-yacht-price {
        width: auto;
    }

    .cw-hero-content-inner {
        padding: 0 20px;
    }

    .cw-hero-slider-prev,
    .cw-hero-slider-next {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

/* Images Section - New Gallery Grid */
.cw-images-section {
    width: 100%;
    padding: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.cw-images-section .cw-section-title {
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 0 20px;
}

.cw-yacht-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Ensure yacht card styles work in gallery grid */
.cw-yacht-gallery-grid .cw-yacht-card {
    margin: 0;
    border: none;
    background: transparent;
}

.cw-yacht-gallery-grid .cw-yacht-card .cw-card-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 4/3;
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
}

.cw-yacht-gallery-grid .cw-yacht-card .cw-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 0;
}

.cw-yacht-gallery-grid .cw-yacht-card:hover .cw-card-image img {
    transform: scale(1.05);
}

/* Ensure zoom trigger works in gallery */
.cw-yacht-gallery-grid .cw-yacht-card .cw-zoom-trigger {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 1 !important;
    visibility: visible !important;
    transition: none !important;
}

.cw-yacht-gallery-grid .cw-yacht-card .cw-zoom-trigger:hover {
    background: rgba(255, 255, 255, 1);
}

.cw-yacht-gallery-grid .cw-yacht-card .cw-zoom-trigger svg {
    width: 18px;
    height: 18px;
}

.cw-gallery-alt {
    margin: 10px 0 0 0;
    padding: 0 10px;
    font-size: 12px;
    color: #666;
    text-align: center;
    line-height: 1.4;
}

.cw-view-gallery-btn {
    margin-top: 30px;
    background: #0D2B44;
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cw-view-gallery-btn:hover {
    background: #1a3d5c;
    transform: translateY(-2px);
}

/* Responsive Gallery Grid */
@media (max-width: 1200px) {
    .cw-yacht-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cw-yacht-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cw-images-section .cw-section-title {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .cw-yacht-gallery-grid {
        grid-template-columns: 1fr;
    }

    .cw-gallery-grid-item {
        aspect-ratio: 3/2;
    }
}

/* ===== SPECIFICATIONS FULLWIDTH SECTION ===== */

/* === Fixed Yacht Navigation === */
.cw-fixed-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cw-fixed-nav-prev {
    left: 0;
    transform: translateY(-50%) translateX(-85%);
}

.cw-fixed-nav-next {
    right: 0;
    transform: translateY(-50%) translateX(85%);
}

.cw-fixed-nav-prev:hover {
    transform: translateY(-50%) translateX(0);
}

.cw-fixed-nav-next:hover {
    transform: translateY(-50%) translateX(0);
}

.cw-fixed-nav-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(13, 43, 68, 0.95);
    padding: 12px 18px;
    /* border-radius: 4px;*/
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    max-width: 280px;
}



.cw-fixed-nav-inner img {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
}

.cw-fixed-nav-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cw-fixed-nav-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 3px;
}

.cw-fixed-nav-title {
    font-size: 13px;
    color: #fff;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

.cw-fixed-nav:hover .cw-fixed-nav-inner {
    background: rgba(13, 43, 68, 1);
}

.cw-yacht-section {
    margin-top:80px;
}
/* Hide on mobile */
@media (max-width: 1024px) {
    .cw-fixed-nav {
        display: none;
    }
}

/* Responsive Specifications */
@media (max-width: 992px) {}

@media (max-width: 768px) {}

@media (max-width: 480px) {}

/* Fix: ensure hero content is visible above slider */
.cw-yacht-hero-slider .cw-yacht-hero-content {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
}

/* =====================================================
   YACHT LOCATIONS GRID (4 columns)
   ===================================================== */

.cw-yacht-locations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.cw-yacht-locations-grid .cw-location-card-v3 {
    flex: none;
    max-width: none;
    background: transparent;
    border-radius: 0;
    overflow: hidden;
}

.cw-yacht-locations-grid .cw-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.cw-yacht-locations-grid .cw-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cw-yacht-locations-grid .cw-location-card-v3:hover .cw-card-image img {
    transform: scale(1.05);
}

.cw-yacht-locations-grid .cw-location-content {
    padding: 20px 0;
}

.cw-yacht-locations-grid .cw-location-name {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cw-yacht-locations-grid .cw-location-name a {
    color: var(--cw-navy);
    text-decoration: none;
}

.cw-yacht-locations-grid .cw-location-name a:hover {
    color: var(--cw-navy-hover);
}

.cw-yacht-locations-grid .cw-location-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
}

.cw-yacht-locations-grid .cw-text-link {
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--cw-navy) !important;
}

@media (max-width: 1024px) {
    .cw-yacht-locations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cw-yacht-locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .cw-yacht-locations-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   STICKY NAV — ACTIVE STATE & UNDERLINE
   ===================================================== */
/* =====================================================
   CW-NAV ARROWS (carousel/section arrows)
   ===================================================== */

/* Light variant (on dark backgrounds) */

/* =====================================================
   IMAGES SECTION — NO PADDING
   ===================================================== */

/* =====================================================
   SPECIFICATIONS — 2 COLUMN LAYOUT (SPECS + BUILDER)
   ===================================================== */

.cw-specifications-fullwidth .cw-specifications-builder-card {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: none;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 3;
    overflow: hidden;
}

.cw-specifications-builder-card .cw-builder-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.cw-specifications-builder-card .cw-builder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cw-specifications-builder-card .cw-builder-info {
    padding: 30px;
    text-align: center;
}

.cw-specifications-builder-card h3 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
    margin: 0 0 8px;
    font-weight: 400;
}

.cw-specifications-builder-card .cw-builder-name {
    font-size: 24px;
    font-weight: 600;
    color: #0D2B44;
    margin: 0 0 20px;
}

.cw-specifications-builder-card .cw-builder-link {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid #0D2B44;
    color: #0D2B44;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cw-specifications-builder-card .cw-builder-link:hover {
    background: #0D2B44;
    color: #fff;
}

@media (max-width: 768px) {
    .cw-specifications-fullwidth .cw-specifications-builder-card {
        margin-top: 20px;
    }
}

/* =====================================================
   GALLERY CAPTION OVERLAY
   ===================================================== */
.cw-card-image {
    position: relative;
    overflow: hidden;
}

.cw-gallery-caption-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 13px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Photographer credit on the hero slider (client 03.09 — the old site's
   slider carried the caption with a link to the photographer). */
.cw-hero-slide-credit {
    position: absolute;
    bottom: 14px;
    left: 16px;
    z-index: 6;
    margin: 0;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.45);
    color: #eee;
    font-size: 11px;
    line-height: 1.3;
    max-width: 70%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cw-hero-slide-credit a {
    color: inherit;
    text-decoration: none;
}

.cw-hero-slide-credit a:hover {
    text-decoration: underline;
}

/* Photographer credit line (client 02.09) — sits above the caption bar,
   or at the bottom edge when the image carries no caption. */
.cw-gallery-credit-overlay {
    position: absolute;
    bottom: 40px;
    right: 0;
    margin: 0;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.45);
    color: #eee;
    font-size: 11px;
    line-height: 1.3;
    max-width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cw-gallery-credit-overlay--only {
    bottom: 0;
}

.cw-gallery-credit-overlay a {
    color: inherit;
    text-decoration: none;
}

.cw-gallery-credit-overlay a:hover {
    text-decoration: underline;
}

/* =====================================================
   LEGACY TEXT FORMATTING
   ===================================================== */
.cw-legacy-heading {
    font-size: 18px;
    font-weight: 600;
    color: #0D2B44;
    margin: 24px 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cw-legacy-heading:first-child {
    margin-top: 0;
}

.cw-legacy-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    columns: 2;
    column-gap: 30px;
}

.cw-legacy-list li {
    padding: 4px 0 4px 18px;
    position: relative;
    break-inside: avoid;
    font-size: 15px;
    line-height: 1.5;
}

.cw-legacy-list li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: #0D2B44;
}

.cw-extras-text,
.cw-accommodations-text {
    max-width: 900px;
    margin: 0 auto;
}

.cw-col-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cw-col-text .cw-section-title {
    text-align: center;
}

.cw-accommodations-text p,
.cw-extras-text p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .cw-legacy-list {
        columns: 1;
    }
}

/* =====================================================
   OVERVIEW — no bottom margin
   ===================================================== */
#overview.cw-yacht-section {
    margin-bottom: 0;
    padding-bottom: 20px;
}

/* =====================================================
   GALLERY — expandable (2 rows default)
   ===================================================== */
.cw-gallery-expandable {
    position: relative;
    padding-bottom: 0px;
    background-color: #0d2b44;
}

.cw-yacht-gallery-grid.cw-gallery-collapsed {
    max-height: 520px;
    overflow: hidden;
    position: relative;
}

/* Solid semi-transparent overlay at bottom when collapsed — navy fade so it
   blends into the #0d2b44 gallery background (was white, looked like a grey
   band on the navy block). */
.cw-gallery-expandable:has(.cw-gallery-collapsed)::after, .cw-yacht-gallery-grid.cw-gallery-expanded::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 130px;
    background: linear-gradient(to top, #0d2b44, rgba(13, 43, 68, 0.15));
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.4s ease;
}

/* Hide overlay when expanded */
.cw-gallery-expandable:has(.cw-gallery-expanded)::after {
   opacity: 0; 
}

.cw-yacht-gallery-grid.cw-gallery-expanded {
    max-height: none;
}

/* Button inside the overlay */
.cw-gallery-expandable .cw-gallery-toggle {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    margin-top: 0;
    background: #ffffff !important;
    color: #0D2B44 !important;
    border: 2px solid #0D2B44 !important;
    padding: 12px 34px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.cw-gallery-expandable .cw-gallery-toggle:hover,
.cw-gallery-expandable .cw-gallery-toggle:focus {
    background: #0D2B44 !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
    transform: translateX(-50%) translateY(-2px);
}

/* Hide button when expanded */
.cw-gallery-expandable:has(.cw-gallery-expanded) .cw-gallery-toggle {
    display: none;
}

/* Gallery section bottom padding */

/* =====================================================
   VIDEO CAROUSEL — clean
   ===================================================== */
.cw-video-carousel {
    max-width: 900px;
    margin: 0 auto;
}

.cw-video-viewport {
    position: relative;
    width: 100%;
}

.cw-video-slide {
    display: none;
    width: 100%;
}

.cw-video-slide.active {
    display: block;
}

.cw-video-aspect {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 8px;
}

.cw-video-aspect iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.cw-video-lazy {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.cw-video-lazy img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cw-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.cw-video-play-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

.cw-video-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.cw-video-prev,
.cw-video-next {
    background: #0D2B44;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.cw-video-prev:hover,
.cw-video-next:hover {
    opacity: 0.8;
}

.cw-video-dots {
    display: flex;
    gap: 8px;
}

.cw-video-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s;
}

.cw-video-dot.active {
    background: #0D2B44;
}

/* === VIDEO CAROUSEL === */
.cw-video-single,
.cw-video-carousel {
    max-width: 900px;
    margin: 0 auto;
}

.cw-video-aspect {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 */
    background: #000;
}

.cw-video-aspect iframe,
.cw-video-aspect .cw-video-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cw-video-thumb {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cw-video-play-btn {
    width: 68px;
    height: 48px;
    background: rgba(0, 0, 0, .7);
    border-radius: 0;
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

.cw-video-thumb:hover .cw-video-play-btn {
    background: #c00;
}

.cw-video-carousel-viewport {
    position: relative;
    overflow: hidden;
}

.cw-video-slide {
    display: none;
}

.cw-video-slide.active {
    display: block;
}

.cw-video-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    padding-bottom: 10px;
}

.cw-video-prev,
.cw-video-next {
    background: none;
    border: 2px solid #1a3a5c;
    color: #1a3a5c;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cw-video-prev:hover,
.cw-video-next:hover {
    background: #1a3a5c;
    color: #fff;
}

.cw-video-dots {
    display: flex;
    gap: 8px;
}

.cw-video-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background .2s;
}

.cw-video-dot.active {
    background: #1a3a5c;
}

/* === YACHT LOCATIONS GRID (orphan leaves) === */
.cw-yacht-locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.cw-yacht-location-card-small {
    max-width: 100%;
}

.cw-yacht-location-card-small .cw-location-card {
    height: 100%;
}

@media (max-width: 768px) {
    .cw-yacht-locations-grid {
        grid-template-columns: 1fr;
    }
}

/* === LOCATIONS "VIEW ALL" BUTTON — styled like MORE IMAGES === */
.cw-btn.cw-btn-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid #0D2B44;
    color: #0D2B44;
    padding: 10px 30px;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.cw-btn.cw-btn-location:hover {
    background: #0D2B44;
    color: #fff;
}

.cw-btn.cw-btn-location .cw-btn-icon-left,
.cw-btn.cw-btn-location .cw-btn-icon-right {
    width: 18px;
    height: 18px;
}

.cw-section-footer {
    text-align: center;
    margin-top: 25px;
}

/* === IMAGES SECTION PADDING === */

/* === NOTABLE FEATURES === */
.cw-notable-title {
    font-size: 18px;
    font-weight: 600;
    color: #0D2B44;
    margin: 25px 0 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cw-notable-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cw-notable-features li {
    background: #f0f4f8;
    color: #0D2B44;
    padding: 6px 16px;
    /*  border-radius: 20px; */
    font-size: 14px;
    line-height: 1.4;
}

/* === VIDEO LINK === */
.cw-video-link {
    margin: 15px 0;
}

.cw-video-link .button.cw-text-link {
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === VIDEO STACK LAYOUT === */
.cw-video-section .cw-container {
    text-align: center;
}

.cw-video-stack {
    max-width: 900px;
    margin: 0 auto;
}

.cw-video-item {
    margin-bottom: 50px;
}

.cw-video-item:last-child {
    margin-bottom: 0;
}

.cw-video-subtitle {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #333;
    margin: 0 0 15px 0;
    text-align: center;
}

.cw-video-aspect {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 */
    background: #000;
    overflow: hidden;
}

.cw-video-aspect iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.cw-video-thumb-lazy {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.cw-video-thumb-lazy:hover {
    opacity: 0.9;
}

/* === YouTube Play Button === */
.cw-yt-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: opacity 0.2s;
}

.cw-video-thumb-lazy:hover .cw-yt-play .cw-yt-bg {
    fill: #f00;
    fill-opacity: 1;
}

/* === Former Name === */
.cw-former-name {
    font-size: 0.6em;
    font-weight: 300;
    color: #888;
    letter-spacing: 0.5px;
}

/* === Pricing Grid === */
.cw-pricing-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin: 30px auto 40px;
    max-width: 900px;
    flex-wrap: wrap;
}

.cw-pricing-block {
    flex: 1;
    min-width: 280px;
    max-width: 420px;
    text-align: center;
    padding: 30px;
    border: 1px solid #e0e0e0;
    background: #fff;
}

.cw-pricing-season {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
    margin: 0 0 15px 0;
}

.cw-pricing-amount {
    font-size: 36px;
    font-weight: 300;
    color: #0d2b44;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.cw-pricing-period {
    font-size: 13px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.cw-pricing-regions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.cw-pricing-region-link {
    display: inline-block;
    font-size: 12px;
    color: #0d2b44;
    text-decoration: underline;
    letter-spacing: 0.5px;
}

.cw-pricing-region-link:hover {
    color: #1a5276;
}

.cw-pricing-disclaimer {
    display: none;
    text-align: center;
    font-size: 11px;
    color: #aaa;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .cw-pricing-grid {
        flex-direction: column;
        align-items: center;
    }

    .cw-pricing-amount {
        font-size: 28px;
    }
}

/* === Season Destination Blocks === */
.cw-locations-rates-section {
    padding: 60px 0;
}

.cw-season-block {
    margin-bottom: 60px;
}

.cw-season-block:last-of-type {
    margin-bottom: 30px;
}

.cw-season-title {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #0d2b44;
    margin: 0;
}

.cw-season-price {
    font-size: 28px;
    font-weight: 300;
    color: #0d2b44;
    letter-spacing: 1px;
}

.cw-season-period {
    font-size: 14px;
    color: #999;
    font-weight: 400;
}

.cw-pricing-disclaimer {
    display: none;
    text-align: center;
    font-size: 11px;
    color: #aaa;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
    line-height: 1.5;
}

@media (max-width: 640px) {

    .cw-season-price {
        font-size: 22px;
    }
}

/* === Season Block - Sidebar Layout === */
.cw-season-block {
    display: flex;
    gap: 0;
    align-items: flex-start;
    width: 100%;
    margin: 0 0 60px 0;
    padding: 0;
}

.cw-season-sidebar {
    flex: 0 0 25%;
    padding: 40px 30px 40px 40px;
}

.cw-season-title {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #0d2b44;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.cw-season-price {
    font-size: 26px;
    font-weight: 300;
    color: #0d2b44;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.cw-season-period {
    font-size: 13px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.cw-season-sidebar .button {
    margin-top: 10px;
}

.cw-season-carousel {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.cw-season-carousel .cw-component {
    padding: 0;
    margin: 0;
}

.cw-season-carousel .cw-carousel {
    margin: 0;
}

@media (max-width: 768px) {
    .cw-season-block {
        flex-direction: column;
    }

    .cw-season-sidebar {
        flex: none;
        width: 100%;
    }
}

/* === Full-width locations section === */
.cw-locations-rates-section {
    padding: 60px 0;
    max-width: 100%;
    overflow: hidden;
}

.cw-locations-rates-section>.cw-container {
    max-width: 100%;
    padding: 0;
}

/* === Season carousel full-width fix === */
.cw-season-carousel .cw-component {
    max-width: 100%;
}

.cw-season-carousel .cw-nav-overlay .cw-nav-next {
    right: 10px;
}

.cw-season-carousel .cw-nav-overlay .cw-nav-prev {
    left: 10px;
}

/* === Season sidebar discover link === */
.cw-season-sidebar .cw-builder-link {
    margin-top: 20px;
}

/* === Global builder-link style === */
a.cw-builder-link {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid #0D2B44;
    color: #0D2B44;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

a.cw-builder-link:hover {
    background: #0D2B44;
    color: #fff;
}

/* === No border on locations section === */
.cw-locations-rates-section.cw-yacht-section {
    border-bottom: none;
}

/* === SPECIFICATIONS SPLIT SCREEN === */
.cw-spec-split {
    border-bottom: none;
    padding: 0 !important;
    margin: 0;
    overflow: hidden;
}

.cw-spec-split-row {
    display: flex;
    width: 100%;
    min-height: 600px;
}

/* Left column: navy background */
.cw-spec-split-left {
    width: 50%;
    background: #0d2b44;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 60px 20px;
}

.cw-spec-split-left-inner {
    width: 100%;
    max-width: 600px;
    padding-right: 60px;
}

.cw-spec-split-left .cw-section-title {
    color: #fff;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 3px;
    margin-bottom: 30px;
}

.cw-spec-split-left .cw-specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cw-spec-split-left .cw-specs-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    line-height: 1.4;
}

.cw-spec-split-left .cw-specs-list li:last-child {
    border-bottom: none;
}

.cw-spec-split-left .cw-specs-list li strong {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    min-width: 140px;
    margin-right: 20px;
}

.cw-spec-split-left .cw-specs-list li span {
    color: #fff;
    text-align: right;
    flex: 1;
    font-weight: 300;
}

/* Links on the navy panel: BeTheme sets a{color:#0d2b44} globally, which is
   invisible against .cw-spec-split-left's #0d2b44 background (builder + tag
   links). Keep them light and underlined so the affordance is obvious. */
.cw-spec-split-left a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.45);
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.cw-spec-split-left a:hover,
.cw-spec-split-left a:focus {
    color: #e6dbc1;
    text-decoration-color: #e6dbc1;
}

/* Charter regions: the full legacy "Locations:" list, collapsed by default */
.cw-spec-regions {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.cw-spec-regions > summary {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    list-style: none;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cw-spec-regions > summary::-webkit-details-marker {
    display: none;
}

.cw-spec-regions > summary::after {
    content: "\25BE";
    margin-left: auto;
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.25s ease;
}

.cw-spec-regions[open] > summary::after {
    transform: rotate(180deg);
}

.cw-spec-regions > summary:hover,
.cw-spec-regions > summary:focus {
    color: #e6dbc1;
}

.cw-spec-regions-links {
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.9;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    text-align: left;
}

.cw-spec-regions-links a {
    text-decoration-color: rgba(255, 255, 255, 0.35);
    white-space: nowrap;
}

/* Right column: builder image */
.cw-spec-split-right {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.cw-spec-split-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
}

.cw-spec-split-builder {
    background: #fff;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.cw-spec-split-builder h3 {
    font-size: 11px;
    letter-spacing: 2px;
    color: #999;
    margin: 0;
    font-weight: 500;
}

.cw-spec-split-builder .cw-builder-name {
    font-size: 20px;
    font-weight: 500;
    color: #0d2b44;
    margin: 0;
    flex: 1;
}

/* The builder name links to the builder page, same target as the spec row */
.cw-spec-split-builder .cw-builder-name a {
    color: #0d2b44;
    text-decoration: none;
    border-bottom: 1px solid rgba(13, 43, 68, 0.35);
    transition: color 0.2s ease, border-bottom-color 0.2s ease;
}

.cw-spec-split-builder .cw-builder-name a:hover,
.cw-spec-split-builder .cw-builder-name a:focus {
    color: #124066;
    border-bottom-color: #124066;
}

.cw-spec-split-builder .cw-builder-link {
    margin: 0;
    white-space: nowrap;
}

/* Builder carousel (multiple builders/designers) */
.cw-spec-builder-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cw-spec-builder-slide {
    display: none;
    position: relative;
    flex: 1;
}

.cw-spec-builder-slide.active {
    display: flex;
    flex-direction: column;
}

.cw-spec-builder-prev,
.cw-spec-builder-next {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.cw-spec-builder-prev {
    left: 20px;
}

.cw-spec-builder-next {
    right: 20px;
}

.cw-spec-builder-prev:hover,
.cw-spec-builder-next:hover,
.cw-spec-builder-prev:focus,
.cw-spec-builder-next:focus {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

/* Mobile */
@media (max-width: 768px) {
    .cw-spec-split-row {
        flex-direction: column;
        min-height: auto;
    }

    .cw-spec-split-left,
    .cw-spec-split-right {
        width: 100%;
    }

    .cw-spec-split-left-inner {
        max-width: 100%;
        padding-right: 0;
        padding: 0 20px;
    }

    .cw-spec-split-left {
        justify-content: center;
        padding: 40px 20px;
    }

    .cw-spec-split-image {
        min-height: 300px;
    }

    .cw-spec-split-builder {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .cw-spec-builder-prev,
    .cw-spec-builder-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .cw-spec-builder-prev {
        left: 8px;
    }

    .cw-spec-builder-next {
        right: 8px;
    }
}

/* Spec split: builder link no underline on hover */
.cw-builder-link:hover {
    text-decoration: none;
}

/* Spec split: builder bar bottom border */
.cw-spec-split-builder {
    border-bottom: 1px solid #e5e5e5;
}

/* Accommodations spacing */
#accommodations.cw-yacht-section {
    margin-top: 80px;
    margin-bottom: 0;
}

/* === GLOBAL ACTION BUTTON === */
.cw-action-btn {
    display: inline-block !important;
    padding: 10px 30px !important;
    border: 1px solid #0D2B44 !important;
    color: #0D2B44 !important;
    background: transparent !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    font-family: inherit !important;
    letter-spacing: 1px !important;
    line-height: 28px !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0 !important;
    -webkit-appearance: none;
    appearance: none;
    text-align: center;
    height: auto !important;
    min-height: 0 !important;
    box-shadow: none !important;
    box-sizing: content-box !important;
}

.cw-action-btn:hover {
    background: #0D2B44 !important;
    color: #fff !important;
    text-decoration: none !important;
}

/* Centered variant */
.cw-action-btn-wrap {
    text-align: center;
    margin: 20px 0;
}

/* Center More / More Images buttons */
.cw-read-more-btn.cw-action-btn {
    display: block !important;
    margin: 20px auto !important;
}


.cw-section-intro-title {
    font-size: 22px;
}

.cw-section-intro-right {
    padding-top: 0;
}

/* === GALLERY BANNER === */
.cw-gallery-banner {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    margin-bottom: -60px;
}

.cw-gallery-banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(70%) brightness(0.7);
}

.cw-gallery-banner-overlay {
    display: none;
}

.cw-gallery-banner-navy {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0d2b44;
    padding: 40px 0 80px;
}

.cw-gallery-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.cw-gallery-banner-content h2 {
    color: #fff;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 3px;
    margin: 0 0 15px 0;
}

.cw-gallery-banner-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    max-width: 700px;
}

/* Gallery grid overlaps the navy bar */
.cw-images-section .cw-gallery-expandable {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .cw-gallery-banner {
        height: 300px;
        margin-bottom: -40px;
    }

    .cw-gallery-banner-navy {
        padding: 30px 0 60px;
    }

    .cw-gallery-banner-content h2 {
        font-size: 22px;
    }

    .cw-gallery-banner-content p {
        font-size: 14px;
    }
}

/* === GALLERY HERO BANNER === */
.cw-gallery-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 0;
    background: #0d2b44;
}

.cw-gallery-hero-bg {
    width: 100%;
    height: 280px;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    opacity: 0.5;
}

/* Level 1: text bar — container width, on top of image */
.cw-gallery-hero-text-bar {
    max-width: 1200px;
    margin: -80px auto 0;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    background: #0d2b44;
}

.cw-gallery-hero-text-inner {
    padding: 30px 60px 0 60px;
}

.cw-gallery-hero-text-inner h2 {
    color: #fff;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 3px;
    margin: 0 0 12px 0;
}

.cw-gallery-hero-text-inner p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    max-width: 700px;
}

/* Level 2: full-width navy strip — extends under gallery */
.cw-gallery-hero-navy-strip {
    width: 100%;
    background: #0d2b44;
    height: 200px;
}

/* Gallery overlaps navy strip */
.cw-images-section .cw-gallery-expandable {
    position: relative;
    z-index: 2;
    margin-top: -160px;
}

.cw-images-section.cw-yacht-section {
    padding-top: 0;
    border-bottom: none;
    margin-top: 80px;
}

@media (max-width: 768px) {
    .cw-gallery-hero-bg {
        height: 180px;
    }

    .cw-gallery-hero-text-bar {
        margin-top: -60px;
    }

    .cw-gallery-hero-text-inner {
        padding: 20px 25px;
    }

    .cw-gallery-hero-text-inner h2 {
        font-size: 20px;
    }

    .cw-gallery-hero-navy-strip {
        height: 80px;
    }

    .cw-images-section .cw-gallery-expandable {
        margin-top: -50px;
    }
}

/* === VIDEO SECTION REDESIGN === */
.cw-video-section {
    padding: 0 !important;
    border-bottom: none;
}

.cw-video-header {
    background: #0d2b44;
    padding: 40px 0;
}

.cw-video-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.cw-video-header-inner h2 {
    color: #fff;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 3px;
    margin: 0 0 8px 0;
}

.cw-video-header-inner p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Video grid */
.cw-video-grid {
    display: grid;
    gap: 4px;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* 1 video — full width */
.cw-video-layout-1 {
    grid-template-columns: 1fr;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* 2 videos — side by side */
.cw-video-layout-2 {
    grid-template-columns: 1fr 1fr;
}

/* 3 videos — first big, two small below */
.cw-video-layout-3 {
    grid-template-columns: 1fr 1fr;
}

.cw-video-layout-3 .cw-video-card-featured {
    grid-column: 1 / -1;
}

/* 4 videos — 2x2 grid */
.cw-video-layout-4 {
    grid-template-columns: 1fr 1fr;
}

/* Video card */
.cw-video-card {
    background: #f5f5f5;
    overflow: hidden;
}

.cw-video-card .cw-video-aspect {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.cw-video-card .cw-video-thumb-lazy {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.3s ease;
}

.cw-video-card .cw-video-thumb-lazy:hover {
    filter: brightness(1.1);
}

.cw-video-card .cw-video-aspect iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.cw-video-card-info {
    padding: 15px 20px;
    background: #0d2b44;
}

.cw-video-card-info h3 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.4;
}

/* YouTube play button */
.cw-yt-play {
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.cw-video-thumb-lazy:hover .cw-yt-play {
    opacity: 1;
}

@media (max-width: 768px) {

    .cw-video-layout-2,
    .cw-video-layout-3,
    .cw-video-layout-4 {
        grid-template-columns: 1fr;
    }

    .cw-video-header-inner {
        padding: 0 20px;
    }

    .cw-video-header-inner h2 {
        font-size: 20px;
    }
}

/* Video aspect — no rounded corners */
.cw-video-card .cw-video-aspect,
.cw-video-aspect {
    border-radius: 0px !important;
}

/* === BREADCRUMBS === */
.cw-breadcrumbs {
    padding: 30px 0 15px;
    border-bottom: none;
}

.cw-breadcrumbs ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
}

.cw-breadcrumbs li {
    font-size: 12px;
    letter-spacing: 0.5px;
    color: #999;
}

.cw-breadcrumbs li+li::before {
    content: '\203A';
    margin: 0 8px;
    color: #bbb;
    font-size: 14px;
}

.cw-breadcrumbs a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cw-breadcrumbs a:hover {
    color: #0d2b44;
}

.cw-breadcrumbs li:last-child span {
    color: #0d2b44;
    font-weight: 500;
}

@media (max-width: 768px) {
    .cw-breadcrumbs {
        padding: 12px 0;
    }

    .cw-breadcrumbs li {
        font-size: 11px;
    }

    .cw-breadcrumbs li+li::before {
        margin: 0 6px;
    }
}

/* === SIMILAR YACHTS SECTION === */
.cw-similar-section {
    padding: 0 !important;
    border-bottom: none;
}

.cw-similar-section .cw-season-sidebar .cw-action-btn {
    margin-top: 20px;
}

/* Season sidebar description */
.cw-season-desc {
    font-size: 13px;
    line-height: 1.6;
    color: #777;
    margin: 10px 0 20px;
}

/* === YACHT TAGS SECTION === */
.cw-tags-section {
    border-bottom: none;
}

/* Yacht page tag cloud (client 02.09): chips reuse the news-page style,
   centred under the heading. */
.cw-tags-section .cw-tag-cloud {
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.cw-tags-section .cw-section-title {
    margin-bottom: 24px;
}

.cw-tags-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.cw-tags-sidebar {
    flex: 0 0 25%;
}

.cw-tags-title {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 3px;
    color: #0d2b44;
    margin: 0 0 10px;
}

.cw-tags-desc {
    font-size: 13px;
    line-height: 1.6;
    color: #777;
    margin: 0;
}

.cw-tags-content {
    flex: 1;
}

.cw-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cw-tag-chip {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #ddd;
    color: #0d2b44;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    background: transparent;
}

.cw-tag-chip:hover {
    background: #0d2b44;
    color: #fff;
    border-color: #0d2b44;
    text-decoration: none;
}

.cw-tag-location {
    border-style: dashed;
}

@media (max-width: 768px) {
    .cw-tags-layout {
        flex-direction: column;
        gap: 20px;
    }

    .cw-tags-sidebar {
        flex: none;
    }

    .cw-tags-title {
        font-size: 18px;
    }
}

/* Dashed border for tag chips */
.cw-tag-chip {
    border: 1px dashed rgba(13, 43, 68, 0.4) !important;
}

.cw-tag-chip:hover {
    border: 1px dashed #0D2B44 !important;
}

/* Builder + Price beside the yacht H1 (client review 28.08) */
.cw-yacht-hero-titleblock {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px 22px;
    margin-bottom: 10px;
}

.cw-yacht-hero-titleblock .cw-yacht-title {
    margin: 0;
    /* Client 03.09: the yacht name on its own row, the builder/price
       mini-blocks wrap to the next line. */
    flex: 0 0 100%;
}

.cw-yacht-hero-titleblock .cw-yacht-hero-builder,
.cw-yacht-hero-titleblock .cw-yacht-hero-price {
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 300 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 15px;
    border-radius: 4px;
    backdrop-filter: blur(5px);
}

@media (max-width: 768px) {
    .cw-yacht-hero-titleblock {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .cw-yacht-hero-titleblock .cw-yacht-hero-builder,
    .cw-yacht-hero-titleblock .cw-yacht-hero-price {
        font-size: 16px !important;
    }
}

/* Listing pages (client 08.09, mock-up "Listing Pages.pdf"): the
   "View similar yachts for charter" button sits in the meta row next to the
   INFORMATIONAL LISTING badge (side by side, wrapping to stacked on narrow
   screens — the mock-up allows either). The shared .cw-action-btn colours
   are navy on transparent, which disappears on the dark hero, so invert
   them and match the badge chip's footprint. */
.cw-yacht-meta-top .cw-hero-similar-btn.cw-action-btn {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 4px !important;
    backdrop-filter: blur(5px);
    font-size: 14px !important;
    letter-spacing: 1px !important;
    line-height: 1.4 !important;
    padding: 8px 15px !important;
    margin: 0;
    align-self: center;
}

.cw-yacht-meta-top .cw-hero-similar-btn.cw-action-btn:hover,
.cw-yacht-meta-top .cw-hero-similar-btn.cw-action-btn:focus {
    background: #fff !important;
    color: #0D2B44 !important;
}

@media (max-width: 768px) {
    .cw-yacht-meta-top .cw-hero-similar-btn.cw-action-btn {
        font-size: 13px !important;
        padding: 8px 13px !important;
    }
}

/* === Disclaimer box (charter disclaimer + builder quotes) === */
.cw-disclaimer-section .cw-container {
    position: relative;
}

.cw-disclaimer-box {
    position: relative;
    border: 1px solid #e0e0e0;
    background: #f9f9f9;
    border-radius: 4px;
    padding: 24px 28px;
}

.cw-disclaimer-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    color: #888;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.cw-disclaimer-close:hover,
.cw-disclaimer-close:focus {
    background: #eee;
    color: #333;
}

@media (max-width: 768px) {
    .cw-disclaimer-box {
        padding: 20px 22px;
    }

    .cw-disclaimer-close {
        width: 28px;
        height: 28px;
        font-size: 22px;
    }
}