:root{
  --brand-teal:#1FA2A0;
  --brand-coral:#FF6F61;
  --brand-navy:#0B2A3A;
  --brand-light:#F4F7FA;
  --text-neutral:#333333;
  --radius:8px;
  --gap:1rem;
  --container-width:1100px;
}
/* Typography */
body{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,'Helvetica Neue',Arial;line-height:1.5;color:var(--text-neutral);background:#fff}
h1,h2,h3,h4{font-family:'Playfair Display',Georgia,serif;color:var(--brand-navy);margin:0 0 .5rem}

.container{max-width:var(--container-width);margin:0 auto;padding:0 1rem}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.6rem 1rem;border-radius:6px;border:1px solid transparent;text-decoration:none;cursor:pointer;font-weight:600}
.btn-primary{background:var(--brand-teal);color:#fff}
.btn-secondary{background:transparent;color:var(--brand-teal);border-color:var(--brand-teal)}
.btn-link{background:transparent;color:var(--brand-navy);padding:0;border-radius:0;font-weight:500}

/* Card (segments) */
.card{background:#fff;border:1px solid #eee;border-radius:var(--radius);padding:1rem;box-shadow:0 1px 4px rgba(11,42,58,0.04)}
.card h3{margin-top:0}

/* Hero */
.hero{padding:4rem 0;background:linear-gradient(180deg,rgba(31,162,160,0.06),transparent)}
.hero-inner{display:flex;flex-direction:column;gap:1rem;align-items:flex-start}
.cta-buttons{display:flex;gap:.75rem;flex-wrap:wrap}

/* Testimonials */
.testimonial-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}
.testimonial{background:#fbfdff;border-radius:8px;padding:1rem;border:1px solid #eef6f7}

/* Carousel (simple responsive track) */
.carousel-wrapper{position:relative;overflow:hidden}
.carousel-track{display:flex;gap:1rem;overflow-x:auto;scroll-behavior:smooth;padding:1rem 0}
.cruise-card{min-width:260px;flex:0 0 auto;border-radius:8px;overflow:hidden;border:1px solid #eee}
.cruise-card img{width:100%;height:160px;object-fit:cover;display:block}

/* Footer helpers */
.footer-grid{display:grid;grid-template-columns:1fr 200px 240px;gap:2rem}
.footer-bottom{margin-top:1.5rem;text-align:center;color:#666;font-size:.9rem}

@media (max-width:768px){
  .footer-grid{grid-template-columns:1fr}
  .hero{padding:2.5rem 0}
}

.visually-hidden{position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.visually-hidden{position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}

/* Spotlight card visual polish */
.card-body{display:flex;align-items:center;gap:.75rem}
.card-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;background:linear-gradient(135deg,rgba(31,162,160,0.06),#fff);border-radius:8px;margin-right:.5rem;font-size:18px}
.card-link picture,img{display:block;border-radius:6px;overflow:hidden}

.inline-icon{width:20px;height:20px;vertical-align:middle;display:inline-block}

/* Site banner: full-width logo/seal across top with optional CTA buttons */
.site-banner{position:relative;width:100%;height:160px;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,rgba(11,42,58,0.02),#fff);overflow:hidden;padding:0}
.site-banner .banner-inner{max-width:var(--container-width);width:100%;display:flex;align-items:center;justify-content:space-between;padding:0 1rem;gap:1rem}
.site-banner .banner-brand{display:flex;align-items:center;gap:1rem}
.site-banner .banner-brand img{height:110px;max-height:110px;width:auto;display:block}
.site-banner .banner-brand img + img{height:72px;max-height:72px}
.site-banner .banner-cta{position:absolute;left:50%;transform:translateX(-50%);bottom:14px;display:flex;gap:.75rem;z-index:5}
.site-banner .banner-cta .btn{padding:.55rem .9rem}

@media (max-width:1024px){
  .site-banner{height:140px}
  .site-banner .banner-brand img{height:88px}
  .site-banner .banner-brand img + img{height:56px}
}

@media (max-width:768px){
  .site-banner{height:auto;padding:0.75rem 0}
  .site-banner .banner-inner{flex-direction:column;align-items:center;gap:.5rem}
  .site-banner .banner-brand{gap:.5rem}
  .site-banner .banner-brand img{height:72px}
  .site-banner .banner-brand img + img{height:48px}
  .site-banner .banner-cta{position:static;transform:none;bottom:auto;left:auto;margin-top:6px}
  .site-banner .banner-cta .btn{width:100%;justify-content:center}
}

/* Apply banner layout to legacy header markup (.site-header) so pages don't need HTML edits */
.site-header{width:100%;background:linear-gradient(180deg,rgba(11,42,58,0.02),#fff);padding:0}
.site-header .nav-container{max-width:var(--container-width);margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:0 1rem}
.site-header .logo img{height:110px;max-height:110px;width:auto;display:block}
.site-header .site-nav{width:100%;margin-top:0}
.site-header .site-nav ul{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;padding:0;margin:0;list-style:none}
.site-header .site-nav li{margin:0}
.site-header .site-nav a{padding:.5rem .6rem;border-radius:6px}

/* Home-page header background focus slider (tight -> wide) */
.site-header--hero{position:relative;overflow:visible;padding:0;min-height:0}
.site-header--hero .nav-container{position:relative;z-index:3}
/* Render header hero background as a block before content so it pushes the following hero text down */
.site-header--hero::before{content:"";display:block;position:relative;z-index:0;background-image:url('../images/canva/originals/Beach-scene.svg');background-repeat:no-repeat;background-position:center center;background-size:cover;filter:contrast(1.02) saturate(1.02);height:36vw;max-height:520px;min-height:160px}
.site-header--hero::after{content:"";display:block;position:relative;z-index:1;background:linear-gradient(to bottom,rgba(11,42,58,0.26),rgba(11,42,58,0.04));pointer-events:none;height:0;margin-top:-2px}

@keyframes headerFocus{
  0%{background-size:140% auto;background-position:50% 44%}
  100%{background-size:100% auto;background-position:50% 50%}
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce){
  .site-header--hero::before{animation:none;background-size:100% auto}
}

@media (max-width:1024px){
  .site-header--hero{min-height:180px}
  .site-header .logo img{height:88px}
}

@media (max-width:768px){
  .site-header--hero{min-height:120px}
  .site-header .logo img{height:72px}
}

@media (max-width:768px){
  .site-header .logo img{height:72px}
  .site-header .site-nav ul{flex-direction:column;align-items:center}
}

/* Navigation placed below hero */
.nav-below-hero{max-width:var(--container-width);margin:0 auto;padding:0 1rem 1.25rem}
.nav-below-hero .site-nav ul{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;padding:0;margin:0;list-style:none}
.nav-below-hero .site-nav a{padding:.5rem .6rem;border-radius:6px}

@media (max-width:768px){
  .nav-below-hero{padding-bottom:.75rem}
  .nav-below-hero .site-nav ul{flex-direction:column;align-items:center}
}

/* Hide legacy foreground hero images (ship) so background SVG shows through */
img[src*="mediterranean"]{display:none!important}
img[src*="home-page-cover-image"]{display:none!important}

/* If the header already displays the hero (homepage), avoid duplicating the image
  by removing the section-level .hero background on that page only. */
/* If header shows the beach visual, avoid duplicating background on the section-level .hero
  and ensure section content is pushed below any header visual. */
header.site-header--hero + main .hero{background-image:none !important;background:linear-gradient(180deg,rgba(31,162,160,0.06),transparent) !important;padding-top:1.5rem}

/* Pickleball page: allow hero media to display above text */
.pickleball-hero .hero-media{display:block !important;width:100%}



/* Prevent a site-wide .hero background from overlaying text; prefer block media above content */
.hero{background-image:none !important;background:none !important}

/* For hero sections that include an inline `.hero-media` element, ensure it appears above text */
.hero{display:block}
.hero > .container{display:flex;flex-direction:column;gap:1rem}
.hero .hero-media{order:-1;width:100%}

/* Specific override for the Groups (Affinity) hero: disable any background and show inline media above text */
.hero.groups{background:none !important;color:inherit;padding:2rem 0;text-align:left}
.hero.groups .container{display:flex;flex-direction:column;gap:1rem}
.hero.groups .hero-media{order:-1;width:100%}
.hero.groups .hero-media img{display:block;width:100%;height:auto;border-radius:8px}

/* Resources page: ensure hero image sits above content and pushes placeholder down */
.resources-hero img{display:block;max-width:100%;height:auto;margin:0 auto}
.resources-hero{padding-bottom:1.5rem}
.resources-hero + .guides{margin-top:2rem}

/* Force header background to beach SVG in case other styles override */
.site-header.site-header--hero::before{background-image:url('../images/canva/originals/Beach-scene.svg') !important;background-size:cover !important;background-position:center center !important}

/* Resources-specific hero: render the visual as a block above the content so text is pushed down */
.resources-hero{background:none !important;position:relative;padding:0 0 1.5rem;color:inherit}
.resources-hero::before{content:"";display:block;background-image:url('../images/canva/originals/Beach-scene.svg');background-size:cover;background-position:center center;height:36vw;max-height:520px;min-height:220px}
.resources-hero::after{content:"";display:block;height:0;position:relative;pointer-events:none}
.resources-hero .hero-inner{position:relative;z-index:2;padding:2.25rem 1rem;background:rgba(255,255,255,0.95);margin-top:1rem;color:inherit}
.resources-hero h1{color:inherit;margin-bottom:.5rem}
.resources-hero p{color:inherit;margin:0}

@media (max-width:720px){
  .resources-hero{min-height:220px}
  .resources-hero .hero-inner{padding:1.25rem}
}


