/* HERO banner base */
.hero-banner {
  padding: 0;
  background: #F9F9F9;
  position: relative;
  z-index: 1;
}

.hero-banner-wrapper {
  position: relative;
  overflow: hidden;
}

 
.hero-banner-media {
  display: block;
  width: 100%;
  height: clamp(680px, 55vw, 900px);
  object-fit: cover;
  object-position: center;
}

/* iOS/Safari video sizing fix */
video.hero-banner-media {
  width: 100%;
  height: clamp(680px, 55vw, 1080px);
}

/* Overlay gradient */
.hero-banner-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  
background:
  linear-gradient(0deg, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.20) 100%),
  linear-gradient(180deg, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0.00) 100%);

}

 
.hero-banner-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px;
  color: #fff;
}

/* Keep your existing content styles */
.interior.int .blueBox { max-width: 720px; }

.blueBox {
  display: flex;
  justify-content: center;
  border-radius: 10px;
  margin-top: 250px;
}

.bottom-bnn {
  width: 100%;
  display: grid;
  gap: 6px;
  justify-items: center;
  /* justify-content: center; */
  max-width: 100%;
}

.h1-bnn {
  margin-bottom: 30px;
   /* 118.103% */
  color: #FFF;
  font-family: Avenir;
  font-size: 26px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 39.25px;
  text-transform: uppercase;
}

img.hero-logo {
    margin-bottom: 20px;
    width: 320px;
}
/* Desktop > smaller adjustments already in your CSS */
@media (max-width: 980px) {
  .signature-section {
  padding: 20px!important;
}
.blueBox {margin:0;text-align: center;}
}

/* Tablet */
@media (max-width: 1120px) {
  .hero-banner-content { padding: 30px; }
}

/* Mobile */
@media (max-width: 782px) {
  .hero-banner-media {
    height: clamp(520px, 120vw, 760px);
  }
img.hero-logo {
    
    width: 220px;
}
  .blueBox h1 {  font-size:30px!important;  }
  .hero-banner-content {
    padding: 22px;
    justify-content: flex-end;
  }

  .h1-bnn {
    font-size: 40px!important;
    margin-bottom: 18px;
  }
}
@media (max-width: 500px) {
   .blueBox h1 {  font-size:20px!important; 
font-weight:700 }
}
/* Menu overlay (kept) */
.menu.scroll-section {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999 !important;
  background: transparent !important;
}

.page {
  overflow: visible !important;
}

body.admin-bar .menu.scroll-section { top: 32px !important; }

@media screen and (max-width: 782px) {
  body.admin-bar .menu.scroll-section { top: 46px !important; }
}

body.admin-bar .hero-banner {
  padding-top: calc(15px + 32px);
}

.signature-grid {
  
  grid-template-columns: repeat(2, 1fr);
  
}
.signature-card {
 
  aspect-ratio: 19 / 9;
   
}

.signature-logo {

  max-width: 72%;
 
}

.signature-section {
  padding: 0px 50px 50px;
}

/* ================= Split Statement ================= */
.split-statement{
  padding: 50px 0 0;
  background:#fff;
}

.split-statement-wrap{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 50px;
}

.split-left{
  flex: 1 1 50%;
  max-width: 50%;
}

.split-left p{
 
}

.split-right{
  flex: 1 1 50%;
  max-width: 50%;
}

.split-right h2{
  margin:0;
  color: var(--main, #000);

/* h2 */
  font-family: 'bodoni';
  font-size: 60px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* Responsive */
@media (max-width: 991px){
  .split-statement{ padding: 40px 0; }
  .split-statement-wrap{ flex-direction:column; gap:24px; }
  .split-left, .split-right{ max-width:100%; }
}

/* ================= Gallery Strip ================= */
.home-gallery{
  padding: 50px 0 0px;
  margin-left: 50px;
}

.home-gallery-wrap{
  position: relative;
}

.home-gallery-swiper{
  position: relative;
}

 
.hg-card{
  display: block;
  width: 100%;
  overflow: hidden;
  background: #111;
}

.hg-card img{
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

 
.hg-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;

  width: 44px;
  height: 44px;
  border: 0;
  cursor: pointer;

  background: rgba(0,0,0,.75);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hg-nav::before{
  content: "";
  width: 22px;
  height: 22px;
  display: block;

  background-color: #fff;  

   
  -webkit-mask: url('/wp-content/themes/privilege-marine-cnm/assets/img/icons/long-arrow-right.svg') no-repeat center / contain;
  mask: url('/wp-content/themes/privilege-marine-cnm/assets/img/icons/long-arrow-right.svg') no-repeat center / contain;
}

.hg-prev{left: 2px;}
.hg-next{ right: 12px; }
.hg-prev::before{ transform: rotate(180deg); }

@media (hover:hover){
  .hg-nav:hover{ background: rgba(0,0,0,.92); }
}

/* responsive */
@media (max-width: 600px){
  .hg-card img{ height: 180px; }
}

/* ================= Lightbox ================= */
.hg-lightbox{
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
}

.hg-lightbox.is-open{
  display: block;
}

.hg-lightbox-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.85);
}

 
.hg-lightbox-dialog{
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

 
.hg-lb-stage{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

 
.hg-lb-img{
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  display: block;
}

 
.hg-lb-close{
  position: absolute;
  top: 16px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  cursor: pointer;
  background: transparent;
  color: #fff;
  font-size: 32px;
  line-height: 44px;
}

/* lightbox arrows */
.hg-lb-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 0;
  cursor: pointer;
  background: rgba(0,0,0,.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hg-lb-nav::before{
  content: "";
  width: 24px;
  height: 24px;
  display: block;

  background-color: #fff;  
 
  -webkit-mask: url('/wp-content/themes/privilege-marine-cnm/assets/img/icons/long-arrow-right.svg') no-repeat center / contain;
  mask: url('/wp-content/themes/privilege-marine-cnm/assets/img/icons/long-arrow-right.svg') no-repeat center / contain;
}

.hg-lb-prev{ left: 18px; }
.hg-lb-next{ right: 18px; }
.hg-lb-prev::before{ transform: rotate(180deg); }

@media (hover:hover){
  .hg-lb-nav:hover{ background: rgba(0,0,0,.75); }
}

 
.hg-lb-thumbs{
  width: min(1000px, 92vw);
  display: flex;
  gap: 10px;
  overflow: auto;
  padding: 6px 4px 2px;
  scrollbar-width: none;
}
.hg-lb-thumbs::-webkit-scrollbar{ display: none; }

.hg-thumb{
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
  padding: 0;
  cursor: pointer;
  width: 64px;
  height: 44px;
  flex: 0 0 auto;
  overflow: hidden;
}

.hg-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: .75;
  transition: opacity .2s ease, transform .2s ease;
}

.hg-thumb.is-active{
  border-color: #fff;
}

.hg-thumb.is-active img{
  opacity: 1;
  transform: scale(1.02);
}

@media (max-width: 600px){
  .hg-thumb{ width: 54px; height: 38px; }
}

 
body.hg-lock { overflow: hidden; }

 
.hg-lightbox{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}
.hg-lightbox.is-open{ display:block; }

.hg-lightbox-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.89);
}

.hg-lightbox-dialog{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

/* thumbs */
.hg-lb-thumbs{
  display:flex;
  gap:10px;
  justify-content: center;
  overflow:auto;
  padding:14px 10px 0;
}
.hg-thumb{
  border:0;
  padding:0;
  background:transparent;
  opacity:.7;
  cursor:pointer;
}
.hg-thumb.is-active{ opacity:1; }
.hg-thumb img{ height:48px; width:auto; display:block; }

/* ===== Mobile arrows fix (Lightbox) ===== */
@media (max-width: 782px){

 
  .hg-lightbox-dialog{
    width: calc(100% - 24px);
  }

  
  .hg-lb-nav{
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,.65);
  }

  .hg-lb-prev{ left: 10px; }
  .hg-lb-next{ right: 10px; }

  
  .hg-lb-nav::before{
    width: 22px;
    height: 22px;
  }

 
  .hg-lb-stage{ gap: 12px; }
  .hg-lb-thumbs{ padding-top: 12px; }
}

 
@media (max-width: 420px){
  .hg-lb-prev{ left: 6px; }
  .hg-lb-next{ right: 6px; }
  .hg-lb-nav{
    width: 40px;
    height: 40px;
  }
  .hg-lb-nav::before{
    width: 20px;
    height: 20px;
  }
}


/* ===== Luxury / Freedom section   ===== */
.luxy-section{
  padding: 50px 0;
  background: #fff;
}

.luxy-list{
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 80px);
}

 
.luxy-item{
  display: flex;
  align-items: center;
  gap: clamp(26px, 4vw, 60px);
}

 
.luxy-item:nth-child(even){
  flex-direction: row-reverse;
}

/* media */
.luxy-media{
  flex: 0 0 min(830px, 48%);
}

.luxy-media img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  /* aspect-ratio: 16 / 9; */
}

/* copy */
.luxy-copy{
  flex: 1 1 auto;
  /* max-width: 780px; */
}

.luxy-copy h2{
  margin: 0 0 50px 0;
  font-family: 'bodoni';
  font-weight: 400;
  line-height: 1.05;
  color: #000;
  color: #000;

/* h2 */
  font-size: 60px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.luxy-copy p{
  margin: 0 0 14px 0;
  color: #000;

/* p */
  font-family: Avenir;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 26px; /* 144.444% */
}

 
@media (max-width: 960px){
  .luxy-item,
  .luxy-item:nth-child(even){
    flex-direction: column;
    /* align-items: flex-start; */
  }

  .luxy-media{
    flex-basis: auto;
    width: 100%;
    /* max-width: 720px; */
  }

  .luxy-copy{
    /* max-width: 720px; */
  }
}

/* ===== YouTube section (like the image) ===== */
.yt-section{
  padding: 50px 0;
  background:#fff;
}

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

 
.yt-embed{
  width: min(1060px, 100%);
  aspect-ratio: 17 / 11;
  background:#000;
}

.yt-embed iframe{
  width:100%;
  height:100%;
  display:block;
  border:0;
}

/* mobile */
@media (max-width: 782px){
  .yt-section{padding: 40px 0 0;}
   .yt-section .container-lg{padding: 20px 0;}
  .yt-embed{ width: 100%; aspect-ratio:16/9 }
}

/* ===== Specifications ===== */
.specs-section{
  padding: 50px 0;
  background:#fff;
}

.specs-head{
  text-align:center;
  margin-bottom: 50px;
}

.specs-head .h1-small{
  margin-bottom: 10px;
}

/* 50/50 */
.specs-wrap{
  display:flex;
  gap: clamp(28px, 4vw, 70px);
  align-items:flex-start;
}

.specs-media,
.specs-list{
  flex: 0 0 50%;
}

/* Image */
.specs-media img{
  width:100%;
  height:auto;
  display:block;
  object-fit:contain;
}

/* List */
.specs-list{
  padding-top: 10px;
  max-width: 640px;
}

.specs-row{
  display:flex;
  justify-content:space-between;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.60);
}

.specs-row span:first-child{
  color: #000;

/* p */
  font-family: Avenir;
  font-size: 18px;
  font-style: normal;
  font-weight: 800;
  line-height: 26px; /* 144.444% */
}

.specs-row span:last-child{
  text-align:right;
  color: #000;

/* p */
  font-family: Avenir;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px; /* 144.444% */
}

/* Responsive */
@media (max-width: 960px){
  .specs-wrap{
    flex-direction:column;
  }
  .specs-media,
  .specs-list{
    flex: 0 0 auto;
    width:100%;
    max-width: 100%;
  }
  .specs-head{
    margin-bottom: 30px;
  }
}


/* ===== Deck Downloads ===== */
.deck-downloads{
  padding: 50px 0 0;
  background:#fff;
  overflow: hidden;
}

.deck-item{
  display:flex;
  align-items:center;
  gap: 70px;
  margin-bottom: 100px;
}

/* 50/50 */
.deck-media
{
  flex: 0 0 54%;
}

.deck-content{
  flex: 0 0 46%;
}
/* Image */
.deck-media img{
  width:100%;
  height:auto;
  display:block;
}

/* Content */
.deck-content h2{
  margin-bottom: 30px;
  font-family: 'bodoni';
  color: #000;

/* h2 */
  font-size: 60px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* Alternate layout automatically */
/* .deck-item:nth-child(even){
  flex-direction: row-reverse;
} */

/* ===== PDF Button Icon (CSS only) ===== */
.btn-pdf{
  position: relative;
  /* padding-right: 64px; */
}

.btn-pdf::before{
   content:"";
  width: 24px;
  height: 24px;
  display: inline-block;
  flex: 0 0 24px;
  background-color: var(--main, #000);
  -webkit-mask: url('/wp-content/themes/privilege-marine-cnm/assets/img/icons/pdf-icon.svg') no-repeat center / contain;
  mask: url('/wp-content/themes/privilege-marine-cnm/assets/img/icons/pdf-icon.svg') no-repeat center / contain;
}

/* Hover state (assume btn-layout inverts colors) */
.btn-layout:hover.btn-pdf::before{
  background:#fff;
}

/* Responsive */
@media (max-width: 960px){
  .deck-item{
    flex-direction: column;
    gap: 30px;
  }

  .deck-item:nth-child(even){
    flex-direction: column;
  }

  .deck-media,
  .deck-content{
    flex: 0 0 auto;
    width:100%;
    text-align: center;
  }
}

@media (max-width: 560px){
  .deck-content h2{
font-size:40px;}
.signature-grid {
  
  grid-template-columns: repeat(1, 1fr);
  
}
  }

/* =========================================================
   Fancyapps Carousel (inline strip) — mantém o visual do Swiper
   ========================================================= */
.home-gallery-swiper.f-carousel{
  width: 100%;
}

/* gap similar ao spaceBetween do Swiper */
.home-gallery-swiper .f-carousel__track{
  gap: 18px;
}
@media (max-width: 991px){
  .home-gallery-swiper .f-carousel__track{
    gap: 14px;
  }
}

.home-gallery-swiper .f-carousel__slide{
  padding: 0;
}

/* garantir que controles default não apareçam (usamos suas setas .hg-nav) */
.home-gallery-swiper .f-carousel__button,
.home-gallery-swiper .f-carousel__dots{
  display: none !important;
}
/* Fancyapps Carousel strip: esconder UI padrão (usamos suas setas) */
.home-gallery-swiper.f-carousel .f-carousel__button,
.home-gallery-swiper.f-carousel .f-carousel__dots {
  display: none !important;
}

/* Gap semelhante ao Swiper */
.home-gallery-swiper.f-carousel .f-carousel__track {
  gap: 18px;
}

@media (max-width: 991px){
  .home-gallery-swiper.f-carousel .f-carousel__track { gap: 14px; }
}
/* Strip nativo (substitui Swiper/Carousel) */
.boat-strip-wrap{
  position: relative;
}

.boat-strip{
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-right: 30px;
}
.boat-strip::-webkit-scrollbar{ display:none; }

 
.boat-strip .hg-card{
  flex: 0 0 calc((100% - 54px) / 4);
}

/* tablet */
@media (max-width: 992px){
  .boat-strip .hg-card{
    flex: 0 0 calc((100% - 18px) / 2);
  }
}

/* mobile */
@media (max-width: 600px){
  .boat-strip .hg-card{
    flex: 0 0 80%;
  }
}

/* 0) (se não existir) */
*, *::before, *::after { box-sizing: border-box; }

/* 1) trava overflow do documento (Safari melhor com clip) */
html, body {
  max-width: 100%;
  overflow-x: clip !important;
}

/* 2) o seu tema tinha overflow: visible em .page — isso permite “vazar” */
.page, #page, .site, .site-content {
  max-width: 100%;
  overflow-x: clip !important;
}

/* 3) remove a causa mais comum: margin-left em bloco full width */
.home-gallery {
  margin-left: 0 !important;
  padding-left: 50px;        /* mantém o mesmo “recuo” visual */
  padding-right: 0;
  max-width: 100%;
}

/* se o container-lg já tem padding, ajuste no mobile */
@media (max-width: 782px){
  .home-gallery { padding-left: 0; }
}

/* 4) garante que o strip não estoure layout (e só ele pode rolar no X) */
.boat-strip-wrap, .home-gallery-wrap { max-width: 100%; overflow-x: clip; }

#boatGalleryStrip.boat-strip{
  max-width: 100%;
  overflow-x: auto;
}

/* 5) (opcional) evita “arrasto” horizontal no body em touch/trackpad,
      mas mantém o pan-x dentro do strip */
body { overscroll-behavior-x: none; }
#boatGalleryStrip { overscroll-behavior-x: contain; }

