/* ===== Gulet Point — Single Yacht (V3 luxury) ===== */
.gp-yacht{
  --sea:#0B1E26; --sea2:#0E2730; --gold:#C2A35B; --goldsoft:#D8C08A; --gold2:#A88947;
  --mist:#EDE7DA; --mist2:#F6F2EA;
  --disp:'Marcellus',Georgia,serif; --ui:'Jost',system-ui,sans-serif;
  font-family:var(--ui); color:var(--sea); line-height:1.7;
}

/* Let our sections run full width inside Kadence's content area */
.single-yacht .content-container,
.single-yacht #primary,
.single-yacht .entry-content,
.single-yacht .content-area,
.single-yacht .site-container,
.single-yacht .site-content{
  max-width:100% !important; width:100% !important; padding:0 !important; margin:0 !important;
}
.single-yacht .entry-content > *{ margin-top:0; margin-bottom:0; }

.gp-yacht *{ box-sizing:border-box; }
.gp-yacht h1,.gp-yacht h2,.gp-yacht h3{ font-family:var(--disp); font-weight:400; color:var(--sea); }

.gp-eyebrow{ display:inline-flex; align-items:center; gap:12px; font-size:10.5px; letter-spacing:4px; text-transform:uppercase; color:var(--gold); font-weight:400; margin:0 0 12px; }
.gp-eyebrow::before{ content:""; width:28px; height:1px; background:var(--gold); }
.gp-eyebrow.center{ justify-content:center; }
.gp-eyebrow.center::after{ content:""; width:28px; height:1px; background:var(--gold); }
.gp-eyebrow.soft{ color:var(--goldsoft); }
.gp-eyebrow.soft::before,.gp-eyebrow.soft::after{ background:var(--goldsoft); }

/* Breadcrumb */
.gp-crumb{ background:var(--mist2); padding:11px 40px; font-size:11px; letter-spacing:1px; color:#7c8688; }
.gp-crumb a{ color:var(--gold); text-decoration:none; }
.gp-crumb .sep{ margin:0 8px; color:#b9c0c1; }
.gp-crumb .cur{ color:var(--sea); }

/* Hero — split: framed photo left, info right (fills the width) */
.gp-fhero{ background:var(--mist2); padding:50px 40px; }
.gp-fhero-wrap{ display:flex; gap:50px; align-items:center; max-width:1300px; margin:0 auto; }
.gp-fhero-photo{ display:block; flex:0 0 60%; max-width:60%; line-height:0; box-shadow:0 24px 60px rgba(11,30,38,.16); border:1px solid rgba(11,30,38,.10); overflow:hidden; }
.gp-fhero-photo img{ width:100%; height:auto; display:block; transition:transform .5s; }
a.gp-fhero-photo:hover img{ transform:scale(1.03); }
.gp-fhero-info{ flex:1; text-align:left; }
.gp-fhero-info .gp-eyebrow.center{ justify-content:flex-start; margin-bottom:14px; }
.gp-fhero-info .gp-eyebrow.center::after{ display:none; }
.gp-fhero-title{ font-size:46px; color:var(--sea); line-height:1.06; letter-spacing:1px; margin:0; }
.gp-fhero-stats{ display:grid; grid-template-columns:1fr 1fr; gap:20px 24px; margin:26px 0; }
.gp-fhero-stats > div{ text-align:left; }
.gp-fhero-stats .n{ display:block; font-family:var(--disp); font-size:26px; color:var(--sea); line-height:1; }
.gp-fhero-stats .l{ display:flex; align-items:center; gap:6px; font-size:10px; letter-spacing:2px; text-transform:uppercase; color:var(--gold2); margin-top:6px; }
.gp-fhero-stats .l .ic{ width:14px; height:14px; flex:0 0 14px; opacity:.85; }
.gp-fhero-price{ display:flex; flex-direction:column; align-items:flex-start; gap:4px; padding-top:18px; border-top:1px solid var(--mist); }
.gp-fhero-price .pl{ font-size:10px; letter-spacing:2.5px; text-transform:uppercase; color:var(--gold2); }
.gp-fhero-price .pv{ font-family:var(--disp); font-size:34px; color:var(--sea); line-height:1; }
.gp-fhero-price .pv s{ font-family:var(--ui); font-size:12px; color:#8a9698; text-decoration:none; }
.gp-fhero-price .gp-btn{ margin-top:14px; }

/* "Also departs from" — wrap-friendly pills instead of one long comma line */
.gp-ports{ margin-top:22px; }
.gp-ports .lbl{ display:block; font-size:10px; letter-spacing:2px; text-transform:uppercase; color:var(--gold2); margin-bottom:9px; }
.gp-pills{ display:flex; flex-wrap:wrap; gap:8px; }
.gp-pill{ border:1px solid var(--mist); padding:6px 14px; font-size:11px; color:var(--sea); white-space:nowrap; }

/* Buttons */
.gp-btn{ display:inline-block; background:var(--gold); color:#ffffff !important; padding:13px 26px; font-family:var(--ui); font-size:10.5px; letter-spacing:2px; text-transform:uppercase; font-weight:500; text-decoration:none; border:1px solid var(--gold); transition:all .3s; cursor:pointer; }
.gp-btn:hover{ background:var(--gold2); border-color:var(--gold2); }
.gp-hero-price .gp-btn{ margin-top:14px; width:100%; }
.gp-btn.outline{ background:transparent; color:var(--gold) !important; border:1px solid var(--gold); }
.gp-btn.outline:hover{ background:var(--gold); border-color:var(--gold); color:#ffffff !important; }

/* Sticky sub-nav */
/* top offset + anchors' scroll-margin-top are set dynamically by assets/subnav-sticky.js,
   which measures Kadence's actual sticky-header position on every scroll (a hardcoded
   pixel guess broke as soon as the WP admin bar / header shrink state changed it).
   top:0 here is just the pre-JS fallback. */
/* z-index kept low on purpose — it only needs to sit above normal page content, not
   above the site header. A higher value here was trapping the header's own dropdown
   menus behind it (the header is a separate, apparently lower, stacking context, so no
   z-index inside IT could ever out-rank us — the fix has to be on our side instead). */
.gp-subnav{ position:sticky; top:0; z-index:5; background:#fff; border-bottom:1px solid var(--mist); }
.gp-subnav-inner{ max-width:1140px; margin:0 auto; display:flex; justify-content:center; gap:36px; overflow-x:auto; padding:0 20px; }
.gp-subnav a{ display:inline-block; padding:16px 0; font-size:11.5px; font-weight:500; letter-spacing:1.5px; text-transform:uppercase; color:var(--sea); text-decoration:none; white-space:nowrap; border-bottom:2px solid transparent; }
.gp-subnav a:hover{ color:var(--gold2); border-bottom-color:var(--gold); }
#gp-overview,#gp-specs,#gp-facilities,#gp-gallery,#gp-rates,#gp-inclusions,#gp-enquire{ scroll-margin-top:52px; }

/* Sections */
.gp-sec{ padding:60px 40px; background:#fff; }
.gp-sec.alt{ background:var(--mist2); }
.gp-sec-head{ text-align:center; margin-bottom:40px; }
.gp-sec-head h2{ font-size:32px; margin:10px 0 0; }

/* Intro */
.gp-intro{ text-align:center; }
.gp-intro-text{ max-width:720px; margin:0 auto; font-size:17px; color:#33403e; font-weight:400; line-height:1.8; }

/* Specs — aligned 3-col grid; last row completed with blank cells so it never looks lopsided */
.gp-specs{ max-width:1140px; margin:0 auto; display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--mist); border-left:1px solid var(--mist); }
.gp-sp{ padding:24px 18px; text-align:center; border-right:1px solid var(--mist); border-bottom:1px solid var(--mist); }
.gp-sp .l{ font-size:10px; letter-spacing:2px; text-transform:uppercase; color:var(--gold2); margin-bottom:7px; }
.gp-sp .v{ font-family:var(--disp); font-size:24px; color:var(--sea); }
.gp-sp.empty{ background:transparent; }
.gp-incl-head{ max-width:1140px; margin:56px auto 22px; text-align:center; }
.gp-incl-head .gp-eyebrow{ margin:0; }
.gp-cabins{ max-width:1140px; margin:26px auto 0; text-align:center; padding:26px; background:var(--sea); border:none; }
.gp-cabins .l{ font-size:10px; letter-spacing:2.5px; text-transform:uppercase; color:var(--gold); margin-bottom:8px; }
.gp-cabins .v{ font-family:var(--disp); font-size:25px; color:#fff; }

/* Two columns */
.gp-cols{ max-width:900px; margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:48px; }
.gp-col h3{ font-size:24px; margin:0; }
.gp-col .gp-hr{ width:46px; height:2px; background:var(--gold); margin:10px 0 18px; }
.gp-col ul{ list-style:none; margin:0; padding:0; }
.gp-col li{ padding:11px 0; border-bottom:1px solid var(--mist); font-size:15px; font-weight:400; color:#33403e; display:flex; align-items:center; gap:12px; }
.gp-col li .dot{ width:5px; height:5px; border-radius:50%; background:var(--gold); flex:0 0 auto; }
.gp-col li.note{ border:none; color:var(--gold2); font-size:12px; font-style:italic; letter-spacing:.3px; }
.gp-col li.excl .dot{ background:#b9c0c1; }
.gp-col li.excl{ color:#6b7779; }
.gp-price-cols{ max-width:900px; margin:36px auto 0; padding-top:32px; border-top:1px solid var(--mist); }

/* Gallery */
.gp-gallery{ max-width:1000px; margin:0 auto; display:grid; grid-template-columns:2fr 1fr 1fr; grid-auto-rows:160px; gap:6px; }
.gp-gi{ position:relative; display:block; overflow:hidden; border:1px solid rgba(11,30,38,.10); }
.gp-gi img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s; }
.gp-gi:hover img{ transform:scale(1.04); }
.gp-gi.big{ grid-row:span 2; }
.gp-gi-hidden{ display:none; }
.gp-gi.has-more::before{ content:""; position:absolute; inset:0; background:rgba(11,30,38,.62); z-index:1; transition:background .3s; }
.gp-gi.has-more:hover::before{ background:rgba(11,30,38,.72); }
.gp-more-label{ position:absolute; inset:0; z-index:2; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; color:#fff; font-family:var(--ui); font-size:11.5px; font-weight:500; letter-spacing:1.5px; text-transform:uppercase; text-align:center; }

/* Rates */
.gp-rates{ max-width:760px; margin:0 auto; border-top:1px solid var(--mist); }
.gp-rate{ display:flex; align-items:center; justify-content:space-between; padding:18px 22px; border-bottom:1px solid rgba(11,30,38,.08); }
.gp-rate .m{ font-size:12px; letter-spacing:2.5px; text-transform:uppercase; color:var(--sea); }
.gp-rate .m .sub{ font-size:10px; letter-spacing:1.5px; color:#6b7779; margin-left:8px; }
.gp-rate .p{ font-family:var(--disp); font-size:24px; color:var(--sea); }
.gp-rate.dark .m{ color:#fff; }
.gp-rate.dark .m .sub{ color:rgba(255,255,255,.55); }
.gp-rate.dark .p{ color:#fff; }
.gp-rate.peak .p{ color:var(--gold); }
.gp-rate.peak .m .sub{ color:var(--gold); }
.gp-rate-note{ max-width:760px; margin:18px auto 0; text-align:center; font-size:11.5px; color:#8a9698; font-weight:300; }

/* Alternative yachts */
/* Fixed 3-up, matching the homepage fleet grid's sizing (.gp-h-fleet) so "Similar gulets"
   doesn't look like an oversized, separate component. */
.gp-alt-grid{ max-width:1140px; margin:0 auto; display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
/* Understated, secondary — this link is not the point of the section, the cards above are.
   Renders as its own standalone strip (not nested inside .gp-sec.alt) since it must still
   show even when gp_related_yachts() finds nothing to put above it. */
/* Tightened on purpose: the gap to the trust-badges strip right below was too large.
   !important because the theme's own section spacing otherwise wins this fight. */
.gp-alt-sec{ padding-bottom:16px !important; }
.gp-alt-back{ padding:6px 40px 10px !important; text-align:center; }
body.single-yacht .gp-trust-strip{ padding-top:16px !important; }
.gp-alt-back a{ font-size:11.5px; color:#8a9698; text-decoration:none; border-bottom:1px solid var(--mist); padding-bottom:2px; transition:color .2s, border-color .2s; }
.gp-alt-back a:hover{ color:var(--gold2); border-color:var(--gold); }
.gp-alt-card{ position:relative; display:block; background:#fff; border:1px solid var(--mist); text-decoration:none; color:inherit; transition:box-shadow .35s, transform .35s; overflow:hidden; }
.gp-alt-card:hover{ box-shadow:0 24px 50px rgba(11,30,38,.16); transform:translateY(-4px); }
.gp-alt-card img{ width:100%; height:210px; object-fit:cover; object-position:center 35%; display:block; transition:transform .5s ease; }
.gp-alt-card:hover img{ transform:scale(1.07); }
.gp-alt-body{ padding:20px 22px; }
.gp-alt-body .t{ font-size:10px; letter-spacing:2px; text-transform:uppercase; color:var(--gold); margin-bottom:6px; }
.gp-alt-body h3{ font-family:var(--disp); font-size:21px; margin-bottom:10px; }
.gp-alt-body .sp{ display:flex; gap:12px; font-size:11px; color:#5a6b6e; margin-bottom:12px; }
.gp-alt-body .sp span{ display:inline-flex; align-items:center; gap:4px; }
.gp-alt-body .sp .ic{ width:13px; height:13px; flex:0 0 13px; color:var(--gold2); opacity:.8; }
.gp-alt-body .pr{ font-family:var(--disp); font-size:17px; color:var(--sea); }
.gp-alt-body .pr s{ font-family:var(--ui); font-size:10px; color:#8a9698; text-decoration:none; }

/* Enquiry */
.gp-enq{ background:var(--sea2); padding:72px 40px; text-align:center; }
.gp-enq h2{ font-size:38px; color:#fff !important; margin:14px 0 10px; }
.gp-enq .sub{ font-size:14px; color:rgba(237,231,218,.6); font-weight:300; margin:0 auto 30px; max-width:560px; }
.gp-enq-btns{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* Disclaimer */
.gp-disclaimer{ background:#fff; margin:0; padding:22px 40px; text-align:center; font-size:11px; font-style:italic; color:#a7afb0; }

/* Back to top button is now global — see assets/global.css */

/* GLightbox caption — match brand instead of default white/system-font bar */
.glightbox-clean .gdesc-inner{ background:var(--sea); font-family:var(--ui); }
.glightbox-clean .gslide-desc{ color:#fff; font-size:13px; font-weight:300; line-height:1.6; }
.glightbox-clean .gslide-title{ font-family:var(--disp); color:var(--gold); font-size:16px; font-weight:400; }

/* Responsive */
@media (max-width:782px){
  .gp-alt-card img{ height:auto; aspect-ratio:16 / 10; }
  /* Three tabs visible at a time; the rest slide in sideways (scrollbar hidden). */
  .gp-subnav-inner{ justify-content:flex-start; gap:0; padding:0; scroll-snap-type:x proximity; scrollbar-width:none; -ms-overflow-style:none; -webkit-overflow-scrolling:touch; }
  .gp-subnav-inner::-webkit-scrollbar{ display:none; }
  .gp-subnav a{ flex:0 0 33.333%; text-align:center; scroll-snap-align:start; font-size:10.5px; letter-spacing:1px; }
  .gp-fhero{ padding:24px 18px; }
  .gp-fhero-wrap{ flex-direction:column; gap:26px; }
  .gp-fhero-photo{ flex:0 0 auto; max-width:100%; }
  .gp-fhero-info{ text-align:center; }
  .gp-fhero-info .gp-eyebrow.center{ justify-content:center; }
  .gp-fhero-info .gp-eyebrow.center::after{ display:inline-block; }
  .gp-fhero-title{ font-size:38px; }
  .gp-fhero-stats{ justify-items:center; }
  .gp-fhero-stats > div{ text-align:center; }
  .gp-fhero-stats .l{ justify-content:center; }
  .gp-fhero-price{ align-items:center; width:100%; }
  .gp-ports{ text-align:center; }
  .gp-pills{ justify-content:center; }
  /* Keep the 3x3 grid on phones (was collapsing to 2 columns) with tighter cells. */
  .gp-specs{ grid-template-columns:repeat(3,1fr); }
  .gp-cabins{ padding:18px 14px; }
  .gp-cabins .v{ font-size:17px; line-height:1.4; }
  .gp-sp{ padding:16px 6px; }
  .gp-sp .l{ font-size:8.5px; letter-spacing:1.2px; margin-bottom:5px; }
  .gp-sp .v{ font-size:16px; line-height:1.25; overflow-wrap:anywhere; }
  .gp-cols{ grid-template-columns:1fr; gap:32px; }
  /* First photo goes full-width (it was a tall narrow sliver spanning two 160px rows). */
  .gp-gallery{ grid-template-columns:1fr 1fr; grid-auto-rows:minmax(130px, auto); }
  .gp-gi.big{ grid-column:1 / -1; grid-row:auto; aspect-ratio:16 / 10; }
  .gp-alt-grid{ grid-template-columns:1fr; }
  .gp-sec{ padding:48px 22px; }
  .gp-crumb{ padding-left:22px; padding-right:22px; }
}

/* ===== Share button (yacht pages only) ===== */
.gp-fhero-title-row{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.gp-share{ position:relative; }
/* Colors forced with !important and explicitly repeated across :hover/:focus/:active/:visited —
   the theme's own global link styles (visited/active links turn gold) were otherwise leaking
   through on the WhatsApp <a> but not the Copy-link <button>, so the two looked inconsistent
   (one flipped gold on click, the other didn't). */
.gp-share-btn{ width:34px; height:34px; border-radius:50%; border:1px solid var(--mist) !important; background:#fff !important; color:var(--sea) !important; display:flex; align-items:center; justify-content:center; cursor:pointer; padding:0; outline:none; -webkit-tap-highlight-color:transparent; transition:background .2s, border-color .2s; }
.gp-share-btn:hover, .gp-share-btn:focus, .gp-share-btn:focus-visible, .gp-share-btn:active{ background:var(--mist2) !important; border-color:var(--mist) !important; color:var(--sea) !important; }
.gp-share-btn svg{ width:15px; height:15px; display:block; }
.gp-share-menu{ position:absolute; top:calc(100% + 10px); left:0; z-index:20; min-width:170px; background:#fff; border:1px solid var(--mist); box-shadow:0 14px 34px rgba(11,30,38,.16); padding:6px; }
.gp-share-menu[hidden]{ display:none; }
.gp-share-menu button, .gp-share-menu a,
.gp-share-menu a:visited{ display:flex; align-items:center; gap:10px; width:100%; padding:9px 10px; background:#fff !important; border:none; outline:none; -webkit-tap-highlight-color:transparent; font-family:var(--ui); font-size:12.5px; letter-spacing:normal; text-transform:none; color:var(--sea) !important; text-decoration:none !important; cursor:pointer; text-align:left; }
.gp-share-menu button:hover, .gp-share-menu button:focus, .gp-share-menu button:active,
.gp-share-menu a:hover, .gp-share-menu a:focus, .gp-share-menu a:active{ background:var(--mist2) !important; color:var(--sea) !important; }
.gp-share-menu svg{ width:16px; height:16px; flex:0 0 16px; color:var(--gold2); }
@media (max-width:782px){
  .gp-fhero-title-row{ justify-content:center; }
  /* Long yacht names were wrapping onto the same line as the heart/compare/share icons,
     squeezing them. Forcing the title to its own full-width row pushes the icons cleanly
     below it instead. */
  .gp-fhero-title-row .gp-fhero-title{ flex:0 0 100%; margin-bottom:6px; }
  .gp-share-menu{ left:50%; transform:translateX(-50%); }
}
