/*
Theme Name: CoreLab Public V1
Theme URI: https://alwaysahead.example.com
Author: AlwaysAhead
Description: Public-site theme (V1) for corelab.gr — gold/charcoal aesthetic, Polylang-ready navigation and language switch, and optimized mobile-first layout.
Version: 30.8.19
Text Domain: corelab-v29
*/

:root{
  --cl-primary: #C8AD6A;
    --cl-primary-rgb: 200,173,106;
  --cl-bg-dark: #070707;
  --cl-bg-panel: #141311;
  --cl-text-main: #F5F1E8;

  /* Layout */
  --cl-container:1200px;
  --cl-pad:100px;
  --cl-header-h:72px;
  --cl-radius:12px;

  /* Typography */
  --cl-logo-width:150px;
  --cl-header-size:14px;
  --cl-footer-size:14px;
  --cl-h1-size:3.5rem;
  --cl-h2-size:2.5rem;
  --cl-body-size:1rem;

  /* Motion */
  --cl-ease:cubic-bezier(.2,.8,.2,1);

  /* Fonts */
  --cl-font-display: 'Inter',system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
}


/* Brand markup */
.cl-brand{font-weight:800; text-transform:none; letter-spacing:.02em;}

*,
*::before,
*::after{box-sizing:border-box}

html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
}

body{
  background-color:var(--cl-bg-dark);
  color:var(--cl-text-main);
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  font-size:var(--cl-body-size);
  line-height:1.7;
  margin:0;
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none;transition:0.2s var(--cl-ease)}
img{max-width:100%;height:auto;display:block}

/* Accessibility */
.skip-link{
  position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;
}
.skip-link:focus{
  left:12px;top:12px;width:auto;height:auto;overflow:visible;
  padding:10px 14px;background:#fff;color:#000;border-radius:10px;z-index:10000;
}
:focus-visible{outline:3px solid var(--cl-primary);outline-offset:3px;border-radius:8px}

/* Fixed header handling */
body.cl-pad-header{padding-top:var(--cl-header-h)}

/* TYPOGRAPHY */
h1,h2,h3,h4{
  font-family:var(--cl-font-display);
  color:#fff;
  text-transform:uppercase;
  margin:0 0 16px 0;
}
h1{
  font-size:clamp(2rem,7vw,var(--cl-h1-size));
  line-height:1.05;
  white-space:pre-wrap;
}
h2{
  font-size:clamp(1.6rem,4.5vw,var(--cl-h2-size));
  margin-bottom:24px;
}

/* UTILS */
.container{
  width:100%;
  max-width:var(--cl-container);
  margin:0 auto;
  padding:0 18px;
}

/* Desktop container padding override */
@media (min-width: 1024px){
  .container{ padding: 0 32px; }
}

.cl-section{
  padding:var(--cl-pad) 0;
  position:relative;
  border-bottom:1px solid #2a2a2a;
  background-size:cover;
  background-position:center;
}
.cl-overlay{
  position:absolute;inset:0;
  background:rgba(0,0,0,0.62);
  z-index:1;
  pointer-events:none;
}
.cl-content{position:relative;z-index:2}

/* BUTTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 22px;
  background:var(--cl-primary);
  color:#fff;
  font-weight:900;
  text-transform:uppercase;
  border:none;
  cursor:pointer;
  border-radius:14px;
  min-height:48px;
  box-shadow:0 8px 24px rgba(0,0,0,0.35);
}
.btn:hover{color:#fff;filter:brightness(1.05);transform:translateY(-1px)}
.btn:active{transform:translateY(0)}

@media (prefers-reduced-motion:reduce){
  .btn:hover,.btn:active{transform:none}
}

/* HEADER & LOGO */
.site-header{
  position:fixed;
  top:0;left:0;
  width:100%;
  height:var(--cl-header-h);
  display:flex;
  align-items:center;
  background:rgba(0,0,0,0.92);
  z-index:999;
  border-bottom:1px solid #2a2a2a;
  backdrop-filter:saturate(120%) blur(10px);
}
.header-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  width:100%;
  gap:12px;
}
.logo img{
  width:var(--cl-logo-width);
  height:auto;
  max-height:52px;
  object-fit:contain;
}
.logo-text{
  display:inline-block;
  font-family:'Inter';
  font-weight:900;
  letter-spacing:0.12em;
  font-size:14px;
  color:#fff;
}

/* NAV (desktop) */
.nav{
  display:flex;
  align-items:center;
  gap:12px;
}
.nav ul{
  display:flex;
  gap:18px;
  list-style:none;
  margin:0;
  padding:0;
  align-items:center;
}
.nav a{
  font-size:var(--cl-header-size);
  font-weight:800;
  text-transform:uppercase;
  color:#e8e8e8;
}
.nav a:hover{color:var(--cl-primary)}
.nav-login{
  border:1px solid var(--cl-primary);
  padding:10px 18px;
  border-radius:999px;
  min-height:44px;
  display:inline-flex;
  align-items:center;
}
.nav-login:hover{background:var(--cl-primary);color:#000;border-color:var(--cl-primary)}

/* Mobile burger */
.nav-toggle{
  display:none;
  width:46px;height:46px;
  border:1px solid #2a2a2a;
  border-radius:14px;
  background:rgba(255,255,255,0.06);
  color:#fff;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.nav-toggle svg{width:22px;height:22px}
.nav-toggle:hover{border-color:rgba(var(--cl-primary-rgb),0.65)}

/* ✅ FIX: Drawer must be hidden by default (desktop) */
.nav-overlay,
.nav-drawer{display:none}
.nav-drawer ul{list-style:none;margin:0;padding:0}

/* Mobile drawer menu */
@media (max-width: 860px){
  .nav-toggle{display:inline-flex}
  .nav ul{display:none}

  .nav-overlay{
    display:block;
    position:fixed;inset:0;
    background:rgba(0,0,0,0.6);
    opacity:0;
    pointer-events:none;
    transition:opacity 0.2s var(--cl-ease);
    z-index:1100;
  }
  .nav-overlay.is-open{
    opacity:1;
    pointer-events:auto;
  }

  .nav-drawer{
    display:flex;
    position:fixed;
    top:0;right:0;
    height:100dvh;
    width:min(360px, 86vw);
    background:rgba(10,10,10,0.98);
    border-left:1px solid #2a2a2a;
    padding:18px 18px 24px;
    transform:translateX(110%);
    transition:transform 0.28s var(--cl-ease);
    z-index:1200;
    flex-direction:column;
    gap:10px;
  }
  .nav-drawer.is-open{transform:translateX(0)}
  .nav-drawer .drawer-top{
    display:flex;align-items:center;justify-content:space-between;gap:10px;
    padding-bottom:10px;border-bottom:1px solid #2a2a2a;
  }
  .nav-drawer .drawer-close{
    width:44px;height:44px;
    border:1px solid #2a2a2a;border-radius:14px;
    background:rgba(255,255,255,0.06);color:#fff;cursor:pointer;
    display:inline-flex;align-items:center;justify-content:center;
  }
  .nav-drawer ul{
    margin:0;padding:16px 0 0 0;
    display:flex;flex-direction:column;gap:10px;
  }
  .nav-drawer a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:14px 14px;
    border:1px solid #2a2a2a;
    border-radius:16px;
    color:#fff;
    min-height:52px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:0.02em;
  }
  .nav-drawer a:hover{border-color:rgba(var(--cl-primary-rgb),0.65);color:var(--cl-primary)}
  body.nav-open{overflow:hidden}
body.cl-svc-open{overflow:hidden}
}

/* HERO SLIDER */
.hero-slider{
  position:relative;
  width:100%;
  height:100vh;
  height:100svh;
  min-height:620px;
  overflow:hidden;
}
.hero-slide{
  position:absolute;inset:0;
  width:100%;height:100%;
  opacity:0;
  transition:opacity 1s var(--cl-ease);
  background-size:cover;
  background-position:center;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:1;
}
.hero-slide.hero-align-left{ justify-content:flex-start; }
.hero-slide.hero-align-center{ justify-content:center; }
.hero-slide.hero-align-right{ justify-content:flex-end; }
.hero-slide.active{opacity:1;z-index:2}
.hero-content{
  position:relative;
  z-index:3;
  width:100%;
  max-width:var(--cl-container);
  padding:0 18px;
  text-align:center;
}

/* Hero title: tighter control over new lines (no massive gaps on Enter) */
.hero-content .cl-hero-h1{
  margin: 0 0 26px 0;
  white-space: pre-line;
  line-height: 1.02;
  font-size: var(--cl-hero-title-size-desktop, 86px);
}
.hero-content .cl-hero-title{ display:inline-block; }
.hero-content .cl-hero-line{ display:block; line-height: 1.02; }
.hero-content .cl-hero-gap{ display:block; height: 0.35em; }

/* Hero arrows */
.cl-hero-arrows{
  position:absolute;
  inset:0;
  z-index: 6;
  pointer-events:none;
}
.cl-hero-arrow{
  pointer-events:auto;
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  color: #fff;
  font-family: 'Inter',system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  font-weight: 700;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 34px;
  line-height: 1;
  cursor:pointer;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.cl-hero-arrow span{
  display:block;
  line-height:1;
  transform: translateY(1px);
}
.cl-hero-arrow:hover{ border-color: rgba(var(--cl-primary-rgb),0.85); background: rgba(0,0,0,0.45); }
.cl-hero-arrow:active{ transform: translateY(-50%) scale(0.98); }
.cl-hero-prev{ left: 18px; }
.cl-hero-next{ right: 18px; }
@media (max-width: 520px){
  .cl-hero-arrow{ width: 44px; height: 44px; font-size: 28px; }
  .cl-hero-arrow span{ transform: translateY(0.5px); }
  .cl-hero-prev{ left: 10px; }
  .cl-hero-next{ right: 10px; }
}

@media (max-width:768px){
  .hero-slide{background-position:center top}
  .hero-content{padding-top:12px}
}

/* SERVICES GRID */
.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:18px;
}
.service-card{
  background:var(--cl-bg-panel);
  background-size:cover;
  background-position:center;
  min-height:480px;
  padding:34px;
  border:1px solid #2a2a2a;
  border-radius:var(--cl-radius);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  position:relative;
  overflow:hidden;
  transition:transform 0.25s var(--cl-ease), border-color 0.25s var(--cl-ease);
}
.service-card::before{
  content:'';position:absolute;inset:0;
  background:linear-gradient(to top, rgba(0,0,0,0.90), rgba(0,0,0,0.16));
  z-index:1;
}
.service-card:hover{border-color:rgba(var(--cl-primary-rgb),0.85);transform:translateY(-4px)}
.service-card h3{
  position:relative;z-index:2;
  color:#fff;font-size:clamp(1.4rem,4.2vw,2rem);
  margin:0 0 10px 0;
  transition:color 0.25s var(--cl-ease);
  max-width: 100%;
  box-sizing: border-box;
  padding-right: 6px; /* prevents right-edge clipping on very narrow screens */
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
.service-card:hover h3{color:var(--cl-primary)}
.service-card p{position:relative;z-index:2;color:#d2d2d2;margin:0}

@media (prefers-reduced-motion:reduce){
  .service-card,.service-card:hover{transform:none}
}

/* STEPS GRID */
.steps-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:18px;
  margin-top:34px;
}
.step-card{
  background:var(--cl-bg-panel);
  border:1px solid #2a2a2a;
  padding:26px;
  position:relative;
  border-radius:var(--cl-radius);
  transition:background 0.2s var(--cl-ease), border-color 0.2s var(--cl-ease);
}
.step-card:hover{border-color:rgba(var(--cl-primary-rgb),0.85);background:#171717}
.step-num{
  font-size:3rem;
  font-weight:900;
  color:var(--cl-primary);
  opacity:0.15;
  position:absolute;
  top:10px;right:14px;
}

/* MEMBER DASHBOARD */
.member-dashboard{
  background:#0f0f0f;
  padding:34px;
  border-radius:18px;
  border:1px solid #2a2a2a;
  margin-top:0;
}
.subscription-status{
  background:rgba(var(--cl-primary-rgb),0.10);
  border:1px solid var(--cl-primary);
  padding:14px 16px;
  border-radius:14px;
  margin:14px 0 26px;
  color:var(--cl-primary);
}

/* Member dashboard sections (logged-in front page) */
.cl-member-dashboard{
  position: relative;
  padding-top: calc(var(--cl-header-h) + 34px);
  padding-bottom: 46px;
}
.cl-member-dashboard .cl-overlay{display:block;}
.cl-member-pt{
  padding-top: 0;
}

/* Ensure booking schedule can grow with content (avoid fixed heights from plugins) */
.cl-booking .cl-weekly-schedule,
.cl-booking .cl-booking-schedule,
.cl-booking .weekly-schedule,
.cl-booking .schedule,
.cl-booking .schedule-list{
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
}

/* LOGIN (custom page) */
.cl-login-section{
  min-height:calc(100svh - var(--cl-header-h));
  display:flex;
  align-items:center;
  padding:calc(var(--cl-header-h) + 40px) 0 80px;
}
.cl-login-box{
  width:100%;
  max-width:460px;
  padding:34px;
  background:var(--cl-bg-panel);
  border:1px solid #2a2a2a;
  border-radius:18px;
  text-align:center;
  margin:0 auto;
  box-shadow:0 16px 50px rgba(0,0,0,0.55);
}
.cl-login-box h2{font-family:'Inter';color:#fff;margin:0 0 18px 0;letter-spacing:.12em}
/* Login Logo (replaces text title) */
.cl-login-logo{
  display:flex;
  justify-content:center;
  align-items:center;
  margin:0 0 18px 0;
}
.cl-login-logo img{
  width:min(260px, 82%);
  max-height:86px;
  height:auto;
  object-fit:contain;
}

.cl-login-box label{display:block;text-align:left;color:#dcdcdc;font-weight:700;margin:10px 0 6px}
.cl-login-box input[type="text"],
.cl-login-box input[type="password"]{
  width:100%;
  padding:14px 14px;
  background:#0a0a0a;
  border:1px solid #2a2a2a;
  color:#fff;
  margin-bottom:10px;
  border-radius:14px;
  min-height:48px;
}
.cl-login-box .login-remember{display:flex;align-items:center;gap:10px;justify-content:flex-start;margin:10px 0 14px}
.cl-login-box input[type="submit"]{
  width:100%;
  padding:14px 14px;
  background:var(--cl-primary);
  border:none;
  color:#000;
  font-weight:900;
  cursor:pointer;
  text-transform:uppercase;
  border-radius:14px;
  min-height:48px;
}
.cl-login-box input[type="submit"]:hover{filter:brightness(1.05)}
.cl-login-box .back-link{display:inline-block;margin-top:16px;font-size:0.95rem;color:#dcdcdc}
.cl-login-box .back-link:hover{color:var(--cl-primary)}

/* FOOTER */
.site-footer{
  padding:70px 0;
  background:#050505;
  border-top:1px solid #2a2a2a;
  font-size:var(--cl-footer-size);
  color:#9a9a9a;
}
.footer-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:32px;
}
.footer-widget h3{
  color:#fff;
  margin:0 0 14px 0;
  font-size:1rem;
  border-bottom:1px solid #2a2a2a;
  padding-bottom:10px;
  display:inline-block;
}
.footer-widget a{color:#9a9a9a}
.footer-widget a:hover{color:var(--cl-primary)}


/* FLIP CARDS (Services) */
.service-card.cl-flip {
  padding: 0;
  perspective: 1100px;
  cursor: pointer;
  outline: none;
}
.service-card.cl-flip:hover { transform: none; }
.service-card.cl-flip::before { display: none; }

.service-card.cl-flip .cl-flip-inner{
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 500px;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(.2,.8,.2,1);
}

.service-card.cl-flip .cl-flip-front,
.service-card.cl-flip .cl-flip-back{
  position: absolute;
  inset: 0;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.service-card.cl-flip .cl-flip-front::before{
  content:'';
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,0.92), rgba(0,0,0,0.12));
  z-index:0;
}
.service-card.cl-flip .cl-flip-front > * { position: relative; z-index: 1; }

.service-card.cl-flip .cl-flip-back{
  transform: rotateY(180deg);
  background: rgba(20,20,20,0.96);
}
.service-card.cl-flip .cl-flip-back::before{
  content:'';
  position:absolute;
  inset:0;
  background: radial-gradient(circle at 30% 20%, rgba(var(--cl-primary-rgb),0.12), transparent 55%);
  z-index:0;
}
.service-card.cl-flip .cl-flip-back > * { position: relative; z-index: 1; }

.cl-flip-hint{
  margin-top: 18px;
  font-size: 0.9rem;
  color: #9a9a9a;
  opacity: 0.9;
}

/* Hover flip on desktop */
@media (hover:hover) and (pointer:fine){
  .service-card.cl-flip:hover .cl-flip-inner{ transform: rotateY(180deg); }
}

/* Tap/keyboard flip */
.service-card.cl-flip.is-flipped .cl-flip-inner{ transform: rotateY(180deg); }

/* Mobile spacing */
@media (max-width: 768px){
  .service-card.cl-flip .cl-flip-front,
  .service-card.cl-flip .cl-flip-back{ padding: 26px; }
  .service-card.cl-flip .cl-flip-inner{ min-height: 420px; }
}


/* SERVICE DETAILS MODAL (mobile + desktop) */
.cl-modal{ position:fixed; inset:0; z-index:9999; display:none; }
.cl-modal.is-open{ display:block; }
.cl-modal__overlay{ position:absolute; inset:0; background:rgba(0,0,0,.72); backdrop-filter: blur(2px); }
.cl-modal__dialog{
  position:relative;
  width:min(820px, calc(100vw - 28px));
  max-height:min(84vh, 760px);
  margin: calc(120px + env(safe-area-inset-top)) auto 20px;
  background: rgba(20,20,20,.96);
  border:1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  box-shadow: 0 20px 70px rgba(0,0,0,.55);
  overflow:hidden;
}
.cl-modal__header{
  padding: 22px 22px 14px;
  border-bottom:1px solid rgba(255,255,255,.1);
}
.cl-modal__title{
  margin:0;
  font-family:var(--cl-font-display);
  text-transform:uppercase;
  letter-spacing:.06em;
  font-size: 1.4rem;
}
.cl-modal__close{
  position:absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.25);
  color:#fff;
  font-size: 22px;
  line-height: 1;
  cursor:pointer;
}
.cl-modal__close:hover{ border-color: rgba(var(--cl-primary-rgb),.7); }
.cl-modal__body{
  padding: 10px 22px 22px;
  overflow:auto;
  max-height: calc(min(84vh, 760px) - 90px);
}

.cl-acc{ margin-top: 10px; }
.cl-acc__btn{
  width:100%;
  text-align:left;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.2);
  color:#fff;
  padding: 14px 14px;
  border-radius: 12px;
  margin-top: 10px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-family:var(--cl-font-display);
}
.cl-acc__btn .cl-acc__chev{ opacity:.7; transition: transform .2s ease; }
.cl-acc__btn[aria-expanded="true"]{ border-color: rgba(var(--cl-primary-rgb),.45); background: rgba(var(--cl-primary-rgb),.08); }
.cl-acc__btn[aria-expanded="true"] .cl-acc__chev{ transform: rotate(180deg); }

.cl-acc__panel{
  border-left: 1px solid rgba(255,255,255,.08);
  border-right: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  border-radius: 0 0 12px 12px;
  padding: 12px 14px 14px;
  background: rgba(0,0,0,.12);
  display:none;
}
.cl-acc__panel.is-open{ display:block; }
.cl-modal__text{
  color: rgba(255,255,255,.85);
  line-height:1.65;
  white-space: pre-line; /* preserves user newlines exactly */
  font-size: 1rem;
}

/* Make cards communicate "tap for details" */
.service-card.cl-service{ cursor:pointer; }
.service-card.cl-service .cl-flip-back p{ margin: 0; }
.service-card.cl-service .cl-service-cta{
  margin-top: 16px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--cl-primary);
}

/* Mobile: bottom sheet feel */
@media (max-width: 768px){
  .cl-modal__dialog{
    width: calc(100vw - 18px);
    margin: auto auto 12px;
    max-height: calc(92vh - env(safe-area-inset-bottom));
    border-radius: 18px;
  }
  .cl-modal__body{ max-height: calc(92vh - 120px); }
  .cl-modal__title{ font-size: 1.2rem; }
}

/* body scroll lock */
body.cl-modal-open{ overflow:hidden; }



/* ===============================
   CLIENT COPY SECTIONS (V29.5)
   =============================== */
.cl-srv-intro{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 24px;
  margin: 0 auto 36px;
}
.cl-srv-intro .intro-card{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--cl-radius);
  padding: 22px;
}
.cl-srv-intro h3{
  margin: 0 0 12px;
  font-size: 1.25rem;
  letter-spacing: .06em;
}
.cl-srv-intro p{
  margin: 0;
  color: rgba(255,255,255,.85);
}
@media (max-width: 820px){
  .cl-srv-intro{ grid-template-columns: 1fr; }
}

/* Services cards — “preview B”: keep it minimal */
.service-card .front p{
  margin-top: 10px;
  color: rgba(255,255,255,.75);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .9rem;
}

/* Contact section */
.cl-contact{
  display:grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.cl-contact .contact-box{
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--cl-radius);
  padding: 26px;
}
.cl-contact .contact-lines{
  white-space: pre-line;
  color: rgba(255,255,255,.9);
  line-height: 1.8;
  font-size: 1rem;
}


/* ===============================
   LANGUAGE SWITCH (Polylang)
   =============================== */
.cl-lang-switch{
  display: flex;
  gap: 8px;
  align-items: center;
}
.cl-lang-pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  min-width: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55);
  color: rgba(255,255,255,.92);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.cl-lang-pill:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.9);
}
.cl-lang-pill.is-active{
  background: #c6cbd1;
  color: #000;
  border-color: #c6cbd1;
}
@media (max-width: 768px){
  .cl-lang-pill{ height: 32px; min-width: 40px; padding: 0 12px; font-size: 11px; }
}


/* Admin bar offset */
body.admin-bar .site-header{ top: 32px; }
body.admin-bar.cl-pad-header{ padding-top: calc(var(--cl-header-h) + 32px); }
@media (max-width: 782px){
  body.admin-bar .site-header{ top: 46px; }
  body.admin-bar.cl-pad-header{ padding-top: calc(var(--cl-header-h) + 46px); }
}

/* Mobile UI polish */
@media (max-width: 768px){
  h1{ font-size: clamp(2.2rem, 7vw, 3rem); line-height:1.05; }
  h2{ font-size: clamp(1.6rem, 5vw, 2.2rem); }
  .cl-section{ padding: 70px 0; }
  .service-card{ min-height: 360px; padding: 26px; }
  .service-card h3{ font-size: 1.55rem; }
  .service-card p{ font-size: 0.95rem; }
}

/* Service modal (tap details) */
#cl-service-modal .cl-modal__panel{
  width:min(920px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  overflow:auto;
  border-radius: 18px;
}
@media (max-width: 520px){
  #cl-service-modal .cl-modal__panel{ width: calc(100vw - 18px); max-height: calc(100vh - 18px); }
  #cl-service-modal .cl-modal__title{ font-size: 1.15rem; letter-spacing: .08em; }
  #cl-service-modal .cl-acc-btn{ padding: 14px 14px; font-size: 0.95rem; }
  #cl-service-modal .cl-acc-panel{ padding: 14px 14px 18px; font-size: 0.95rem; line-height: 1.65; }
  #cl-service-modal .cl-modal__close{ width:42px; height:42px; }
}

/* Prevent orphan mixed-language headings from overflowing on mobile */
.cl-section h2{ word-break: break-word; }


/* Steps motion UI (4+1) */
.cl-steps{ position:relative; display:grid; gap:14px; max-width: 980px; margin: 0 auto; }
.cl-steps__rail{ position:absolute; left:22px; top:10px; bottom:10px; width:2px; background:rgba(255,255,255,0.12); border-radius:2px; overflow:hidden; }
.cl-steps__rail::after{ content:""; position:absolute; left:0; top:0; width:100%; height:0%; background:rgba(var(--cl-primary-rgb),0.85); border-radius:2px; transition:height 1200ms cubic-bezier(.2,.8,.2,1); }
.cl-steps.is-animate .cl-steps__rail::after{ height:100%; }
.cl-step{
  display:grid; grid-template-columns: 56px 1fr 24px;
  align-items:center; gap:14px;
  padding: 18px 18px 18px 10px;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(20,20,20,0.85);
  border-radius: 16px;
  color:#fff;
  text-align:left;
  cursor:pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
  backdrop-filter: blur(8px);
}
.cl-step:hover{ transform: translateY(-2px); border-color: rgba(var(--cl-primary-rgb),0.8); }
.cl-step__badge{
  width:44px; height:44px; border-radius: 999px;
  display:grid; place-items:center;
  border:1px solid rgba(var(--cl-primary-rgb),0.55);
  background: rgba(var(--cl-primary-rgb),0.12);
  font-weight: 900;
  letter-spacing:.08em;
}
.cl-step__title{ display:block; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: 1rem; }
.cl-step__body{
  display:block;
  margin-top: 6px;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  max-height: 0;
  overflow:hidden;
  transition: max-height .28s ease;
}
.cl-step__chev{ opacity: .65; font-size: 22px; transition: transform .2s ease, opacity .2s ease; }
.cl-step.is-open{ border-color: rgba(var(--cl-primary-rgb),0.95); background: rgba(25,22,16,0.92); }
.cl-step.is-open .cl-step__body{ max-height: 240px; }
.cl-step.is-open .cl-step__chev{ transform: rotate(90deg); opacity:1; }

/* Mobile tweaks */
@media (max-width: 520px){
  .cl-steps__rail{ left:18px; }
  .cl-step{ grid-template-columns: 50px 1fr 18px; padding: 16px 14px 16px 8px; border-radius: 14px; }
  .cl-step__badge{ width:40px; height:40px; font-size: 0.9rem; }
  .cl-step__title{ font-size: 0.95rem; }
  .cl-step.is-open .cl-step__body{ max-height: 320px; }
}


/* Service details: right-side drawer (does NOT cover whole screen) */
#cl-service-modal{ position:fixed; inset:0; z-index: 2000; display:none; }
#cl-service-modal.is-open{ display:block; }
#cl-service-modal .cl-modal__backdrop{ position:absolute; inset:0; background: rgba(0,0,0,0.55); }
#cl-service-modal .cl-modal__panel{
  position:absolute;
  top: 24px;
  right: 24px;
  width: min(420px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  overflow:auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(16,16,16,0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 60px rgba(0,0,0,0.55);
}
@media (max-width: 768px){
  /* On mobile: bottom sheet */
  #cl-service-modal .cl-modal__panel{
    top: auto;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-height: 82vh;
    border-radius: 18px 18px 0 0;
  }
}

/* --- V29.8.1 Mobile polish for Gold/Charcoal --- */
@media (max-width: 768px){
  .hero-content h1{ font-size: var(--cl-hero-title-size-mobile, 46px); letter-spacing: 0.02em; }
  .hero-content .btn{ padding: 14px 28px; }
  .services-grid{ grid-template-columns: 1fr; }
  /* Services cards: keep them premium-sized but not full-screen on small devices */
  .service-card{ min-height: clamp(280px, 52vh, 360px); padding: 24px; }
  .service-card h3{
    font-size: clamp(1.25rem, 7.2vw, 1.85rem);
    line-height: 1.05;
    letter-spacing: 0.01em;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    margin-bottom: 8px;
  }
  .cl-services-modal{ width: min(92vw, 520px); margin: 0 auto; }
  .cl-services-modal__inner{ padding: 18px; }
  .cl-steps{ padding: 40px 0; }
  .cl-steps__title{ font-size: 2.1rem; }
  .cl-step{ padding: 16px 14px 16px 56px; }
  .cl-steps__rail{ left: 18px; }
  .cl-step__badge{ left: 6px; }
}

/* Extra-small phones: avoid title clipping like “FUNCTIONA…” */
@media (max-width: 420px){
  .service-card{ padding: 20px; }
  .service-card h3{ font-size: clamp(1.2rem, 8.2vw, 1.65rem); }
}

@media (prefers-reduced-motion: reduce){
  .cl-steps__rail::after{ transition: none; }
  .service-card, .btn{ transition: none; }
}

/* ===== V29.8.2 Gold polish (Services layout + footer + booking override) ===== */

/* Booking plugin accent override (prevents teal leftovers) */
.member-dashboard h2,
.member-dashboard h3,
.member-dashboard .subscription-status,
[class*="corelab" i] .clb-title,
[class*="corelab" i] .clb-accent,
[class*="corelab" i] .clb-primary,
.clb-title,
.clb-accent,
.clb-primary {
  color: var(--cl-primary) !important;
}
[class*="corelab" i] .clb-btn,
[class*="corelab" i] button,
.member-dashboard button {
  border-color: var(--cl-primary) !important;
}

/* Services section: not edge-to-edge */
.cl-svc-wrap{max-width: 1560px; margin: 0 auto; padding: 0 40px;}
@media (max-width: 600px){
  .cl-svc-wrap{padding: 0 16px;}
}

.cl-svc-layout{display:grid; grid-template-columns: 1fr; gap: 28px; align-items: start;}
@media (min-width: 1200px){
  .cl-svc-layout{grid-template-columns: 1fr 300px;}
  .cl-svc-layout:not(.is-open){grid-template-columns: 1fr;}
}

/* Services grid: keep cards readable on small screens */
.cl-svc-grid{display:grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px;}
@media (min-width: 1200px){.cl-svc-grid{grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px;}}
@media (max-width: 560px){.cl-svc-grid{grid-template-columns: 1fr;}}

.cl-svc-card{
  position: relative;
  min-height: 560px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  overflow:hidden;
  /* Always show a premium fallback even if an image URL fails to load */
  background-image:
    radial-gradient(1200px 900px at 20% 25%, rgba(195,166,100,0.22), rgba(0,0,0,0) 55%),
    linear-gradient(180deg, rgba(10,10,10,0.35), rgba(10,10,10,0.92)),
    var(--cl-card-bg);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-color: #0c0c0c;
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition: transform .25s ease, border-color .25s ease;
}
.cl-svc-card:hover{transform: translateY(-3px); border-color: rgba(195,166,100,0.65);} /* gold */

.cl-svc-card-overlay{
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(0,0,0,0.78), rgba(0,0,0,0.2));
}
.cl-svc-card-content{position:absolute; left: 20px; bottom: 20px; right: 20px; z-index:2;}
/*
  IMPORTANT: Card titles must never clip.
  Using large vw-based values caused "FUNCTIONAL" to clip when the desktop side panel is open (cards get narrower).
  Keep a strong premium size, but anchor it to a tighter desktop clamp.
*/
.cl-svc-card h3{
  margin:0 0 12px 0;
  /* Slightly smaller max to avoid mid-word breaks when the side panel is open */
  font-size: clamp(22px, 1.7vw, 32px);
  line-height: 1.08;
  max-width:100%;
  /* Wrap at spaces first; only break long words if absolutely necessary */
  white-space: pre-line;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
  text-wrap: balance;
}
.cl-svc-hint{font-size: .82rem; letter-spacing: .06em; opacity: .75; text-transform: uppercase;}

@media (max-width: 520px){
  .cl-svc-card{ min-height: 360px; }
  .cl-svc-card-content{ left: 18px; right: 18px; bottom: 18px; }
  .cl-svc-card h3{ font-size: clamp(1.2rem, 5.2vw, 1.65rem); }
}

/* Desktop: when the details panel is open, cards become narrower — reduce title size slightly and give more inner width */
@media (min-width: 1200px){
  .cl-svc-layout.is-open .cl-svc-card-content{ left: 16px; right: 16px; }
  .cl-svc-layout.is-open .cl-svc-card h3{ font-size: clamp(20px, 1.25vw, 26px); }
}


/* Details panel */
.cl-svc-panel{
  display:none;
  background: rgba(18,18,18,0.75);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: 18px;
  backdrop-filter: blur(12px);
  position: sticky;
  top: 110px;
}
.cl-svc-panel.is-open{display:block;}

.cl-svc-overlay{display:none; position:fixed; inset:0; background: rgba(0,0,0,0.62); z-index: 9998;}
.cl-svc-overlay.is-open{display:block;}

@media (max-width: 980px){
  .cl-svc-panel{position: fixed; inset: 12px; top: 72px; z-index: 9999; overflow:auto;}
}

.cl-svc-panel-top{display:flex; justify-content: space-between; align-items:center; margin-bottom: 10px;}
.cl-svc-panel-meta{font-size:.75rem; letter-spacing:.12em; opacity:.7; text-transform:uppercase;}
.cl-svc-close{border:1px solid rgba(255,255,255,0.18); background: transparent; color:#fff; width: 40px; height: 40px; border-radius: 999px; font-size: 22px; line-height: 1; cursor:pointer;}
.cl-svc-close:hover{border-color: rgba(195,166,100,0.75);}

.cl-svc-title{margin: 6px 0 10px; font-size: 1.35rem; line-height:1.15;}
.cl-svc-tabs{display:flex; gap:10px; margin-bottom: 12px; flex-wrap: wrap;}
.cl-svc-tab{border:1px solid rgba(255,255,255,0.15); background: transparent; color: #e9e9e9; padding: 9px 12px; border-radius: 999px; cursor:pointer; font-weight: 700; font-size:.92rem;}
.cl-svc-tab.is-active{border-color: rgba(195,166,100,0.9); background: rgba(195,166,100,0.12);}
.cl-svc-body{color:#d7d7d7; line-height: 1.6; font-size: .95rem;}

/* Footer polish */
.site-footer{background:#0a0a0a;}
.footer-grid{gap:24px;}
.footer-widget h3{border-bottom: 1px solid rgba(195,166,100,0.35);} 
.footer-widget a:hover{color: var(--cl-primary);} 

/* Contact section spacing */
#contact .contact-card{max-width: 760px; margin: 0 auto;}
#contact .contact-lines{line-height: 1.7;}



/* Services layout sizing (prevent full-bleed) */
.cl-svc-wrap{max-width:1180px;margin:0 auto;}
/* Keep the later override in sync with the main grid rules above */
.cl-svc-grid{display:grid !important;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:22px;}
@media (max-width: 560px){.cl-svc-grid{grid-template-columns:1fr;}}


/* Footer alignment polish */
.site-footer{background:#0b0b0b;}
.footer-grid{max-width:980px;margin:0 auto;justify-items:center;align-items:start;text-align:center;gap:60px;}
.footer-col, .footer-widget{width:100%;}
.footer-widget h3{letter-spacing:.08em;text-transform:uppercase;}
.footer-widget a{color:rgba(245,241,232,.75);}
.footer-widget a:hover{color:var(--cl-primary);}


/* Header buttons (gold pills) */
.nav .nav-login, .nav .nav-logout{
  border:1px solid rgba(var(--cl-primary-rgb),.9);
  color: var(--cl-text-main);
  background: transparent;
}
.nav .nav-login:hover, .nav .nav-logout:hover{
  background: rgba(var(--cl-primary-rgb),.16);
}
.lang-pill{
  border:1px solid rgba(var(--cl-primary-rgb),.75);
  color: var(--cl-text-main);
  background: transparent;
}
.lang-pill.is-active{
  background: rgba(var(--cl-primary-rgb),.22);
}


/* Booking UI gold accents (best-effort overrides) */
.cl-booking button, .cl-booking .btn, .cl-booking input[type="submit"]{
  background: rgba(var(--cl-primary-rgb),.18) !important;
  border:1px solid rgba(var(--cl-primary-rgb),.75) !important;
  color: var(--cl-text-main) !important;
}
.cl-booking button:hover, .cl-booking .btn:hover, .cl-booking input[type="submit"]:hover{
  background: rgba(var(--cl-primary-rgb),.28) !important;
}


/* Simple form styles (dashboard request) */
.cl-form{margin-top:14px;max-width:760px;}
.cl-form label{display:block;font-size:.85rem;letter-spacing:.06em;text-transform:uppercase;color:rgba(245,241,232,.72);margin-bottom:6px;}
.cl-form input,.cl-form textarea{
  width:100%;padding:12px 14px;border-radius:10px;
  background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.10);
  color:var(--cl-text-main);outline:none;
}
.cl-form input:focus,.cl-form textarea:focus{border-color:rgba(var(--cl-primary-rgb),.65);box-shadow:0 0 0 3px rgba(var(--cl-primary-rgb),.14);}
.cl-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
@media (max-width: 680px){.cl-form-grid{grid-template-columns:1fr;}}
.cl-note{padding:12px 14px;border-radius:12px;border:1px solid rgba(var(--cl-primary-rgb),.45);background:rgba(var(--cl-primary-rgb),.10);}

.footer-list{list-style:none;padding:0;margin:10px 0 0;display:flex;flex-direction:column;gap:10px;color:rgba(245,241,232,.75);}
.footer-list li{margin:0;}

/* =============================
   Landing Page GR (Early Bird)
   ============================= */
.cl-landing-hero{
  position:relative;
  min-height:clamp(520px, 70vh, 820px);
  display:flex;
  align-items:center;
  background-size:cover;
  background-position:center;
  border-bottom:1px solid #2a2a2a;
}
.cl-landing-hero-inner{
  padding:calc(var(--cl-header-h) + 36px) 0 56px 0;
}
.cl-landing-kicker{
  opacity:.9;
  letter-spacing:.14em;
  font-weight:800;
  text-transform:uppercase;
  margin-bottom:14px;
}
.cl-landing-title{
  margin-bottom:14px;
}
.cl-landing-sub{
  font-size:clamp(1.05rem,2.1vw,1.35rem);
  opacity:.92;
  max-width:850px;
  margin:0 0 26px 0;
}

.cl-landing-body{ background:var(--cl-bg-dark); }
.cl-landing-copy{ max-width: 900px; }

.cl-landing-gems,
.cl-landing-services,
.cl-landing-check{
  margin:14px 0 24px 0;
  padding-left:18px;
}
.cl-landing-gems li,
.cl-landing-services li,
.cl-landing-check li{ margin:8px 0; }

.cl-landing-callout{
  margin:18px 0 28px 0;
  padding:16px 18px;
  border-radius:var(--cl-radius);
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(200,173,106,0.25);
}

.cl-landing-cta-row{ margin: 22px 0 30px 0; }

/* Non-clickable CTA pill style (Early Bird) */
.cl-static-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:16px 18px;
  border-radius:var(--cl-radius);
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(200,173,106,0.35);
  color:var(--cl-text-main);
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  cursor:default;
  user-select:none;
  box-shadow:none;
}
.cl-static-pill--block{ width:100%; justify-content:flex-start; text-transform:none; letter-spacing:0; }

/* If the pill is a button element, neutralize default disabled styling */
button.cl-static-pill,
button.cl-static-pill:disabled{
  -webkit-appearance:none;
  appearance:none;
  opacity:1;
  border:1px solid rgba(200,173,106,0.35);
}

/* On Early Bird landing, make CTA pills read like the provided “notice bar” style */
.page-template-page-landing-gr .cl-landing-hero .cl-static-pill,
.page-template-page-landing-gr .cl-landing-cta-row .cl-static-pill,
.page-template-page-landing-gr .cl-landing-bottom .cl-static-pill{
  width:100%;
  justify-content:flex-start;
  text-transform:none;
  letter-spacing:0;
  font-weight:800;
}

.btn.btn-outline{
  background:transparent;
  color:var(--cl-text-main);
  border:1px solid rgba(200,173,106,0.7);
  box-shadow:none;
}
.btn.btn-outline:hover{ filter:none; background:rgba(200,173,106,0.12); }

.cl-landing-bottom{
  margin-top:34px;
  padding:18px;
  border-radius:var(--cl-radius);
  background:rgba(255,255,255,0.03);
  border:1px solid #2a2a2a;
}

.cl-landing-sep{
  border:none;
  height:1px;
  background:#2a2a2a;
  margin:56px 0 34px 0;
}

.cl-landing-form{
  max-width: 900px;
}

/* Anchor offset for fixed header */
.cl-landing-form{ scroll-margin-top: calc(var(--cl-header-h) + 24px); }

/* --- Services grid: force 3-up on desktop, 2-up on tablet --- */
@media (min-width: 980px){
  .cl-svc-grid{grid-template-columns: repeat(3, minmax(0, 1fr)) !important;}
}
@media (min-width: 561px) and (max-width: 979px){
  .cl-svc-grid{grid-template-columns: repeat(2, minmax(0, 1fr)) !important;}
}
@media (max-width: 560px){
  .cl-svc-grid{grid-template-columns: 1fr !important;}
}



/* --- Services cards: ultra-small screens text fit (avoid clipping long words like FUNCTIONAL) --- */
@media (max-width: 420px){
  .cl-svc-card-content{left: 18px; right: 18px; bottom: 18px;}
  .cl-svc-card h3{
    /* slightly smaller + more flexible scaling so single long words fit without breaking mid-word */
    font-size: clamp(1.15rem, 6.8vw, 1.85rem);
    line-height: 1.04;
  }
}
/* even tighter phones */
@media (max-width: 360px){
  .cl-svc-card-content{left: 16px; right: 16px;}
  .cl-svc-card h3{font-size: clamp(1.1rem, 7.2vw, 1.75rem);}
}

/* --- Services: prevent title clipping when side panel is open (desktop) --- */
@media (min-width: 980px) and (max-width: 1499px){
  .cl-svc-layout.is-open .cl-svc-card h3{
    /* Keep words intact (FUNCTIONAL / FITNESS) while cards are narrower */
    font-size: clamp(20px, 1.25vw, 26px) !important;
    line-height: 1.08;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: manual;
  }
  .cl-svc-layout.is-open .cl-svc-card-content{
    left: 16px !important;
    right: 16px !important;
  }
}

/* Hero per-slide alignment */
.hero-content.hero-align-left{ text-align:left; }
.hero-content.hero-align-center{ text-align:center; }
.hero-content.hero-align-right{ text-align:right; }

/* Public Site V1: login/dashboard hidden from public navigation; separate Contact + Early Bird page templates added. */

.cl-contact-page .cl-form-shell{background:rgba(20,19,17,.88);border:1px solid rgba(200,173,106,.28);border-radius:18px;padding:18px;}
.cl-contact-page .footer-list{padding-left:18px;}

/* === V30.2.2 Public V1 — Gutenberg-friendly internal pages === */
.cl-page-shell { position: relative; }

/* Reduce excessive top spacing on internal pages (prevents huge gap above hero) */
.cl-section.cl-page-shell{
  padding-top: var(--cl-page-pad-top, 32px);
  padding-bottom: var(--cl-page-pad-bottom, 72px);
}

@media (max-width: 767px){
  .cl-section.cl-page-shell{
    padding-top: var(--cl-page-pad-top-mobile, 20px);
    padding-bottom: var(--cl-page-pad-bottom-mobile, 56px);
  }
}
.cl-page-content { position: relative; z-index: 2; }
.cl-page-header { text-align: center; margin: 0 0 18px; }
.cl-page-title { margin: 0 0 10px; }
.cl-page-subtitle { opacity: .92; max-width: 860px; margin: 10px auto 0; }

.cl-page-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 42vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.cl-page-hero-inner { position: relative; z-index: 2; text-align: center; padding-top: 110px; padding-bottom: 56px; }

.cl-entry-content {
  max-width: 960px;
  margin: 0 auto;
}
.cl-entry-content > *:first-child { margin-top: 0; }
.cl-entry-content > *:last-child { margin-bottom: 0; }
.cl-entry-content .alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.cl-entry-content .alignfull { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.cl-entry-content img { height: auto; }
.cl-entry-content .wp-block-button__link {
  border-radius: 999px;
  font-weight: 700;
}
.cl-entry-content .wp-block-quote {
  border-left: 3px solid var(--cl-primary, #C8AD6A);
  padding-left: 16px;
  color: var(--cl-text, #fff);
}

@media (max-width: 767px) {
  .cl-page-hero { min-height: 34vh; }
  .cl-page-hero-inner { padding-top: 92px; padding-bottom: 42px; }
  .cl-page-title { line-height: 1.1; }
}


/* V1 footer links + social icons */
.footer-list a{ text-decoration:none; }
.footer-muted{ color: rgba(245,241,232,.75); }
.footer-copy{ margin:14px 0 0; color: rgba(245,241,232,.56); font-size:.92em; }
.footer-social-icons{ display:flex; flex-direction:column; gap:10px; margin-top:10px; }
.cl-social-link{ display:inline-flex; align-items:center; justify-content:center; gap:10px; width:100%; color:rgba(245,241,232,.78); text-decoration:none; border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.02); border-radius:12px; padding:10px 12px; transition:.2s ease; }
.cl-social-link svg{ width:18px; height:18px; flex:0 0 18px; }
.cl-social-link:hover{ border-color: rgba(195,166,100,.45); background: rgba(195,166,100,.08); color: var(--cl-primary); }
.cl-social-link[aria-disabled="true"]{ opacity:.55; cursor:default; pointer-events:none; }
@media (min-width: 821px){
  .footer-grid{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); justify-items:start; text-align:left; }
  .footer-social-icons{ align-items:flex-start; }
  .cl-social-link{ justify-content:flex-start; max-width:220px; }
}


/* === V30.2.5 Public V1 — Early Bird hero single-slide + minimal footer icons === */
.cl-earlybird-page .cl-page-hero--single-slide {
  min-height: clamp(320px, 48vw, 560px);
  border-radius: 18px;
  border: 1px solid rgba(200,173,106,.22);
  background-position: center center;
  box-shadow: 0 14px 36px rgba(0,0,0,.28);
}
.cl-earlybird-page .cl-page-hero--single-slide > .cl-overlay { background: transparent; }
.cl-earlybird-page .cl-page-hero--single-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.16) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.76) 100%);
  z-index: 1;
}
.cl-earlybird-page .cl-page-hero-inner--single {
  text-align: left;
  display: flex;
  min-height: inherit;
  align-items: flex-end;
  padding-top: clamp(90px, 12vw, 130px);
  padding-bottom: clamp(18px, 4vw, 34px);
}
.cl-earlybird-page .cl-page-hero--single-slide .cl-page-title {
  margin: 0;
  max-width: 16ch;
  line-height: 1.03;
  letter-spacing: .01em;
  font-size: var(--cl-earlybird-title-size-desktop, 86px);
}
.cl-earlybird-page .cl-page-hero--single-slide .cl-page-subtitle {
  margin: 12px 0 0;
  max-width: 62ch;
  text-align: left;
  color: rgba(255,255,255,.9);
}

.footer-social-icons--minimal {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.footer-social-icons--minimal .cl-social-link--icon {
  width: 38px;
  height: 38px;
  max-width: none;
  padding: 0;
  border-radius: 999px;
  justify-content: center;
  gap: 0;
  background: transparent;
  border: 1px solid rgba(255,255,255,.08);
}
.footer-social-icons--minimal .cl-social-link--icon svg {
  width: 18px;
  height: 18px;
}
.footer-social-icons--minimal .cl-social-link--icon:hover,
.footer-social-icons--minimal .cl-social-link--icon:focus-visible {
  border-color: rgba(195,166,100,.45);
  background: rgba(195,166,100,.06);
  color: var(--cl-primary);
  transform: translateY(-1px);
}
.footer-social-icons--minimal .cl-social-link--icon > span {
  display: none;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .cl-earlybird-page .cl-page-hero--single-slide {
    border-radius: 14px;
    min-height: clamp(260px, 62vw, 420px);
  }
  .cl-earlybird-page .cl-page-hero--single-slide .cl-page-title {
    max-width: 100%;
    font-size: var(--cl-earlybird-title-size-mobile, 46px);
  }
  .cl-earlybird-page .cl-page-hero--single-slide .cl-page-subtitle {
    max-width: 100%;
  }
}


/* === V30.2.6 Public V1 — Legal pages + footer legal links === */
.footer-subheading{
  margin: 16px 0 0;
  font-size: .92rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(245,241,232,.92);
}
.footer-list--dense{ gap: 8px; }
.footer-address{ line-height: 1.45; }
.footer-copy--legal{ margin-top: 8px; line-height: 1.45; max-width: 34ch; }
.cl-cookie-settings-trigger{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.cl-cookie-settings-trigger::after{
  content:"";
  opacity:.55;
  font-size:.82em;
}
.cl-contact-privacy-note{
  border: 1px solid rgba(200,173,106,.20);
  background: rgba(255,255,255,.02);
  border-radius: 12px;
  padding: 12px 14px;
  color: rgba(245,241,232,.84);
  line-height: 1.5;
}
.cl-contact-privacy-note p{ margin: 0; }
.cl-contact-privacy-note a{
  color: var(--cl-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(200,173,106,.35);
}
.cl-contact-privacy-note a:hover{
  border-bottom-color: rgba(200,173,106,.75);
}

.cl-legal-prose{
  max-width: 920px;
  margin: 0 auto;
  line-height: 1.65;
}
.cl-legal-prose h2,
.cl-legal-prose h3{
  margin-top: 1.4em;
  margin-bottom: .5em;
}
.cl-legal-prose p,
.cl-legal-prose li{
  color: rgba(245,241,232,.92);
}
.cl-legal-prose ul,
.cl-legal-prose ol{
  padding-left: 1.2rem;
}
.cl-legal-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin: 0 0 18px;
}
.cl-legal-meta .cl-chip{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(200,173,106,.22);
  background:rgba(255,255,255,.02);
  font-size:.88rem;
  color:rgba(245,241,232,.9);
}
.cl-legal-intro{
  margin: 0 0 16px;
  padding: 14px;
  border-radius: 12px;
  border:1px solid rgba(200,173,106,.18);
  background: rgba(255,255,255,.02);
}
.cl-legal-request-box{
  margin-top: 18px;
  border-radius: 14px;
  border: 1px solid rgba(200,173,106,.22);
  background: rgba(255,255,255,.02);
  padding: 16px;
}
.cl-legal-request-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}
.cl-legal-request-item{
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255,255,255,.01);
}
.cl-legal-request-item strong{
  display:block;
  margin-bottom: 4px;
}
@media (min-width: 760px){
  .cl-legal-request-grid{ grid-template-columns: 1fr 1fr; }
}

/* === V30.2.7 Public V1 — Footer 4-column layout + centered legal line === */
.site-footer .footer-grid.footer-grid--v1-4col{
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  justify-items: stretch;
  align-items: start;
  text-align: left;
}
.site-footer .footer-grid.footer-grid--v1-4col .footer-widget{
  width: 100%;
}
.site-footer .footer-grid.footer-grid--v1-4col .footer-widget h3{
  display: inline-block;
  margin-bottom: 12px;
}
.site-footer .footer-grid.footer-grid--v1-4col .footer-list{
  margin-top: 8px;
}
.site-footer .footer-grid.footer-grid--v1-4col .footer-widget--contact .footer-list li{
  line-height: 1.45;
}
.site-footer .footer-grid.footer-grid--v1-4col .footer-widget--social .footer-social-icons--minimal{
  margin-top: 8px;
  justify-content: flex-start;
}
.site-footer .footer-bottom--centered{
  max-width: 900px;
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
}
.site-footer .footer-copy--center{
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.site-footer .footer-copy--legal.footer-copy--center{
  max-width: 70ch;
  line-height: 1.5;
}
.site-footer .footer-copy--credit{
  margin-top: 10px;
  color: rgba(245,241,232,.5);
  font-size: .88em;
  letter-spacing: .02em;
}
.site-footer .footer-copy--credit strong,
.site-footer .footer-copy--credit b{
  color: rgba(245,241,232,.78);
}
@media (min-width: 700px){
  .site-footer .footer-grid.footer-grid--v1-4col{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 42px;
  }
}
@media (min-width: 1024px){
  .site-footer .footer-grid.footer-grid--v1-4col{
    grid-template-columns: 1.15fr 1.2fr 1fr .8fr;
    gap: 28px 56px;
  }
}



/* === V30.2.8 Public V1 — Legal page refinement / cleaner public copy === */
.cl-entry-content--compact p{ margin-bottom: 0.9em; }
.cl-legal-form-note{
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.015);
  border-radius: 12px;
  padding: 14px;
}
.cl-legal-form-note p:last-child{ margin-bottom: 0; }
.cl-admin-hint{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px dashed rgba(200,173,106,.25);
  background: rgba(200,173,106,.04);
  color: rgba(245,241,232,.82);
  font-size: .92rem;
}
.cl-admin-hint p{ margin: 0; }


/* === V30.3.0 Public V1 — Footer refinement + customizer cleanup === */
.footer-address{
  line-height: 1.45;
}
.footer-address-link{
  display: inline-block;
  color: rgba(245,241,232,.82);
  text-decoration: none;
  white-space: nowrap;
}
.footer-address-link:hover,
.footer-address-link:focus-visible{
  color: var(--cl-primary);
}
@media (max-width: 767px){
  .footer-address-link{
    white-space: normal;
  }
}


/* === V30.3.1 Public V1 — Early Bird + Contact refinement === */
.cl-earlybird-page .cl-earlybird-shell {
  display: grid;
  gap: clamp(28px, 4vw, 42px);
}
.cl-earlybird-page .cl-earlybird-intro,
.cl-earlybird-page .cl-earlybird-bottom,
.cl-earlybird-page .cl-earlybird-form-shell {
  max-width: 920px;
  margin: 0 auto;
}
.cl-earlybird-page .cl-earlybird-intro p,
.cl-earlybird-page .cl-earlybird-bottom p,
.cl-earlybird-page .cl-earlybird-form-shell p {
  max-width: 74ch;
}
.cl-earlybird-page .cl-earlybird-benefits,
.cl-earlybird-page .cl-earlybird-services,
.cl-earlybird-page .cl-earlybird-checks {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.cl-earlybird-page .cl-earlybird-benefits li,
.cl-earlybird-page .cl-earlybird-services li,
.cl-earlybird-page .cl-earlybird-checks li {
  margin: 10px 0;
}
.cl-earlybird-page .cl-earlybird-callout {
  margin: 20px 0 0;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(200,173,106,.26);
  background: rgba(255,255,255,.03);
}
.cl-earlybird-page .cl-earlybird-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.cl-earlybird-page .cl-earlybird-cta-row .cl-cta-frame{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 22px;
  border-radius:999px;
  border:2px solid rgba(200,173,106,.55);
  background: rgba(255,255,255,.02);
  color:#fff;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.01em;
  min-height:48px;
  min-width:220px;
  cursor:default;
  user-select:none;
}
.cl-earlybird-page .cl-earlybird-cta-row .btn,
.cl-earlybird-page .cl-earlybird-cta-row .btn.btn-outline {
  min-width: 220px;
}
.cl-earlybird-page .cl-earlybird-form-shell {
  padding: clamp(20px, 3vw, 28px);
  border-radius: 20px;
  border: 1px solid rgba(200,173,106,.22);
  background: rgba(255,255,255,.02);
  scroll-margin-top: calc(var(--cl-header-h) + 28px);
}
.cl-earlybird-page .cl-earlybird-form-shell h2,
.cl-contact-page .cl-contact-form-shell h2 {
  margin-top: 0;
}
.cl-earlybird-page .cl-earlybird-form-shell .cl-cf-wrap,
.cl-contact-page .cl-contact-form-shell .cl-cf-wrap {
  margin-top: 16px;
}
.cl-contact-page .cl-contact-intro {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}
.cl-contact-page .cl-contact-form-shell {
  max-width: 920px;
  margin: 0 auto;
}
.cl-contact-page .cl-contact-meta {
  margin-top: 18px;
  text-align: center;
  color: rgba(255,255,255,.82);
}
.cl-contact-page .cl-contact-meta p { margin: 8px 0; }
.cl-contact-page .cl-contact-meta a { text-decoration: none; }
@media (max-width: 767px) {
  .cl-earlybird-page .cl-earlybird-cta-row .btn,
  .cl-earlybird-page .cl-earlybird-cta-row .btn.btn-outline,
  .cl-earlybird-page .cl-earlybird-cta-row .cl-cta-frame {
    width: 100%;
    min-width: 0;
  }
}


/* === V30.3.2 Public V1 — Responsive pass for mobile, tablet and wide screens === */
html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

img,
svg,
video,
iframe{
  max-width:100%;
}

.cl-entry-content,
.cl-earlybird-page .cl-earlybird-intro,
.cl-earlybird-page .cl-earlybird-bottom,
.cl-earlybird-page .cl-earlybird-form-shell,
.cl-contact-page .cl-contact-form-shell,
.cl-contact-page .cl-contact-intro,
.cl-contact-page .cl-contact-meta{
  width:100%;
}

/* Large laptop / tablet landscape */
@media (max-width: 1199px){
  :root{
    --cl-pad:84px;
    --cl-h1-size:3.15rem;
    --cl-h2-size:2.2rem;
  }

  .container{ padding: 0 24px; }
  .hero-slider{ min-height: 560px; }
  .hero-content{ max-width: 920px; }

  .site-footer .footer-grid.footer-grid--v1-4col{
    gap: 28px 32px;
  }
}

/* Tablet */
@media (max-width: 991px){
  :root{
    --cl-pad:72px;
    --cl-header-h:70px;
  }

  .container{ padding: 0 20px; }

  .hero-slider{
    height:auto;
    min-height: 520px;
  }
  .hero-content{
    padding: 0 24px;
    max-width: 760px;
  }
  .hero-content .cl-hero-h1{ margin-bottom: 22px; }

  .cl-section{ padding: 72px 0; }

  .cl-svc-wrap{ padding: 0 20px; }
  .cl-svc-grid{ gap: 18px; }
  .cl-svc-card{ min-height: 440px; }
  .cl-svc-card h3{ text-wrap: initial; }

  .cl-steps{ max-width: 100%; }

  .cl-earlybird-page .cl-page-hero--single-slide{
    min-height: clamp(300px, 48vw, 420px);
  }
  .cl-earlybird-page .cl-page-hero--single-slide .cl-page-title{
    font-size: var(--cl-earlybird-title-size-tablet, 68px);
  }
  .cl-earlybird-page .cl-page-hero-inner--single{
    padding-top: 110px;
    padding-bottom: 22px;
  }
  .cl-earlybird-page .cl-page-hero--single-slide .cl-page-title{
    max-width: 18ch;
  }
  .cl-earlybird-page .cl-earlybird-form-shell,
  .cl-contact-page .cl-contact-form-shell{
    padding: 22px 18px;
  }

  .site-footer{
    padding: 58px 0;
  }
  .site-footer .footer-grid.footer-grid--v1-4col{
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 26px 28px;
  }
  .site-footer .footer-bottom--centered{
    margin-top: 28px;
    padding-top: 18px;
  }
}

/* Mobile */
@media (max-width: 767px){
  :root{
    --cl-pad:60px;
    --cl-h1-size:2.7rem;
    --cl-h2-size:1.95rem;
  }

  .container{ padding: 0 16px; }
  body.cl-pad-header{ padding-top: var(--cl-header-h); }

  .site-header{
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  .header-inner{ gap: 10px; }
  .logo img{
    width: clamp(118px, 32vw, 142px);
    max-height: 46px;
  }

  .nav-drawer{
    width: min(340px, 88vw);
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  .hero-slider{
    min-height: 480px;
    height: auto;
  }
  .hero-slide{
    align-items: flex-end;
    padding-bottom: 36px;
  }
  .hero-slide.hero-align-left,
  .hero-slide.hero-align-center,
  .hero-slide.hero-align-right{
    justify-content: center;
  }
  .hero-content,
  .hero-content.hero-align-left,
  .hero-content.hero-align-center,
  .hero-content.hero-align-right{
    text-align: center;
    padding: 0 16px;
  }
  .hero-content .cl-hero-h1{
    margin-bottom: 18px;
    max-width: 14ch;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-content .btn{
    width: 100%;
    max-width: 360px;
  }

  .cl-section{ padding: 60px 0; }

  .service-card,
  .cl-svc-card{
    min-height: 340px;
  }
  .service-card.cl-flip .cl-flip-inner{
    min-height: 340px;
  }
  .cl-svc-card-content{
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .cl-modal__dialog,
  #cl-service-modal .cl-modal__panel{
    width: calc(100vw - 12px);
  }

  .cl-step{
    align-items: start;
  }

  .cl-page-hero{
    min-height: 30vh;
  }
  .cl-page-hero-inner{
    padding-top: 96px;
    padding-bottom: 34px;
  }

  .cl-earlybird-page .cl-page-hero--single-slide{
    min-height: 320px;
    border-radius: 14px;
  }
  .cl-earlybird-page .cl-page-hero-inner--single{
    padding-top: 104px;
    padding-bottom: 18px;
    text-align: center;
    align-items: flex-end;
  }
  .cl-earlybird-page .cl-page-hero--single-slide .cl-page-title,
  .cl-earlybird-page .cl-page-hero--single-slide .cl-page-subtitle{
    max-width: 100%;
    text-align: center;
  }
  .cl-earlybird-page .cl-earlybird-cta-row{
    flex-direction: column;
  }
  .cl-earlybird-page .cl-earlybird-cta-row .btn,
  .cl-earlybird-page .cl-earlybird-cta-row .btn.btn-outline{
    width: 100%;
    min-width: 0;
  }
  .cl-earlybird-page .cl-earlybird-intro p,
  .cl-earlybird-page .cl-earlybird-bottom p,
  .cl-contact-page .cl-contact-intro p{
    max-width: 100%;
  }

  .cl-contact-page .cl-contact-meta{
    word-break: break-word;
  }

  .site-footer{
    padding: 52px 0 42px;
  }
  .site-footer .footer-grid.footer-grid--v1-4col{
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .site-footer .footer-grid.footer-grid--v1-4col .footer-widget--social .footer-social-icons--minimal{
    justify-content: flex-start;
  }
  .site-footer .footer-bottom--centered{
    margin-top: 24px;
    padding-top: 16px;
  }
  .site-footer .footer-copy--legal.footer-copy--center{
    max-width: 100%;
  }
}

/* Small phones */
@media (max-width: 480px){
  :root{
    --cl-header-h:68px;
    --cl-pad:52px;
  }

  .container{ padding: 0 14px; }
  .btn{
    width: 100%;
    padding: 14px 18px;
  }
  .hero-slider{ min-height: 440px; }
  .hero-content .cl-hero-h1{
    max-width: 12ch;
  }
  .cl-hero-arrow{
    width: 42px;
    height: 42px;
  }

  .cl-svc-wrap{ padding: 0 14px; }
  .cl-svc-card,
  .service-card{ min-height: 300px; }
  .cl-svc-card h3,
  .service-card h3{ line-height: 1.04; }

  .cl-step{
    grid-template-columns: 42px 1fr 16px;
    gap: 10px;
    padding: 14px 12px 14px 6px;
  }
  .cl-step__badge{
    width: 36px;
    height: 36px;
    font-size: .82rem;
  }

  .cl-earlybird-page .cl-page-hero--single-slide{
    min-height: 280px;
  }
  .cl-earlybird-page .cl-earlybird-form-shell,
  .cl-contact-page .cl-contact-form-shell,
  .cl-contact-page .cl-form-shell,
  .cl-contact-page .cl-contact-form-shell .cl-cf-wrap{
    padding-left: 14px;
    padding-right: 14px;
  }

  .footer-address-link{
    white-space: normal;
  }
}


/* === V30.3.4 Carousel font-size controls + editable Early Bird content === */
@media (max-width: 1199px){
  .hero-content .cl-hero-h1{
    font-size: var(--cl-hero-title-size-tablet, 68px);
  }
}

@media (max-width: 767px){
  .hero-content .cl-hero-h1,
  .hero-content h1{
    font-size: var(--cl-hero-title-size-mobile, 46px);
  }
}

.cl-earlybird-editor-content .btn,
.cl-entry-content .wp-block-button__link{
  color:#fff;
}

.cl-earlybird-editor-content .wp-block-buttons {
  margin-top: 18px;
  margin-bottom: 18px;
}
.cl-earlybird-editor-content .wp-block-button__link {
  color: #fff !important;
}


/* V30.3.6 — Early Bird hero alignment controls */
.cl-earlybird-page.cl-earlybird-align-desktop-left .cl-page-hero-inner--single {
  text-align: left;
  justify-content: flex-start;
}
.cl-earlybird-page.cl-earlybird-align-desktop-left .cl-page-hero--single-slide .cl-page-title,
.cl-earlybird-page.cl-earlybird-align-desktop-left .cl-page-hero--single-slide .cl-page-subtitle,
.cl-earlybird-page.cl-earlybird-align-desktop-left .cl-earlybird-cta-row {
  text-align: left;
  justify-content: flex-start;
}
.cl-earlybird-page.cl-earlybird-align-desktop-center .cl-page-hero-inner--single {
  text-align: center;
  justify-content: center;
}
.cl-earlybird-page.cl-earlybird-align-desktop-center .cl-page-hero--single-slide .cl-page-title,
.cl-earlybird-page.cl-earlybird-align-desktop-center .cl-page-hero--single-slide .cl-page-subtitle,
.cl-earlybird-page.cl-earlybird-align-desktop-center .cl-earlybird-cta-row {
  text-align: center;
  justify-content: center;
}
.cl-earlybird-page.cl-earlybird-align-desktop-center .cl-page-hero--single-slide .cl-page-title,
.cl-earlybird-page.cl-earlybird-align-desktop-center .cl-page-hero--single-slide .cl-page-subtitle {
  margin-left: auto;
  margin-right: auto;
}
.cl-earlybird-page.cl-earlybird-align-desktop-right .cl-page-hero-inner--single {
  text-align: right;
  justify-content: flex-end;
}
.cl-earlybird-page.cl-earlybird-align-desktop-right .cl-page-hero--single-slide .cl-page-title,
.cl-earlybird-page.cl-earlybird-align-desktop-right .cl-page-hero--single-slide .cl-page-subtitle,
.cl-earlybird-page.cl-earlybird-align-desktop-right .cl-earlybird-cta-row {
  text-align: right;
  justify-content: flex-end;
}
.cl-earlybird-page.cl-earlybird-align-desktop-right .cl-page-hero--single-slide .cl-page-title,
.cl-earlybird-page.cl-earlybird-align-desktop-right .cl-page-hero--single-slide .cl-page-subtitle {
  margin-left: auto;
}

@media (max-width: 1024px) and (min-width: 768px){
  .cl-earlybird-page.cl-earlybird-align-tablet-left .cl-page-hero-inner--single {
    text-align: left;
    justify-content: flex-start;
  }
  .cl-earlybird-page.cl-earlybird-align-tablet-left .cl-page-hero--single-slide .cl-page-title,
  .cl-earlybird-page.cl-earlybird-align-tablet-left .cl-page-hero--single-slide .cl-page-subtitle,
  .cl-earlybird-page.cl-earlybird-align-tablet-left .cl-earlybird-cta-row {
    text-align: left;
    justify-content: flex-start;
  }
  .cl-earlybird-page.cl-earlybird-align-tablet-center .cl-page-hero-inner--single {
    text-align: center;
    justify-content: center;
  }
  .cl-earlybird-page.cl-earlybird-align-tablet-center .cl-page-hero--single-slide .cl-page-title,
  .cl-earlybird-page.cl-earlybird-align-tablet-center .cl-page-hero--single-slide .cl-page-subtitle,
  .cl-earlybird-page.cl-earlybird-align-tablet-center .cl-earlybird-cta-row {
    text-align: center;
    justify-content: center;
  }
  .cl-earlybird-page.cl-earlybird-align-tablet-center .cl-page-hero--single-slide .cl-page-title,
  .cl-earlybird-page.cl-earlybird-align-tablet-center .cl-page-hero--single-slide .cl-page-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .cl-earlybird-page.cl-earlybird-align-tablet-right .cl-page-hero-inner--single {
    text-align: right;
    justify-content: flex-end;
  }
  .cl-earlybird-page.cl-earlybird-align-tablet-right .cl-page-hero--single-slide .cl-page-title,
  .cl-earlybird-page.cl-earlybird-align-tablet-right .cl-page-hero--single-slide .cl-page-subtitle,
  .cl-earlybird-page.cl-earlybird-align-tablet-right .cl-earlybird-cta-row {
    text-align: right;
    justify-content: flex-end;
  }
  .cl-earlybird-page.cl-earlybird-align-tablet-right .cl-page-hero--single-slide .cl-page-title,
  .cl-earlybird-page.cl-earlybird-align-tablet-right .cl-page-hero--single-slide .cl-page-subtitle {
    margin-left: auto;
  }
}

@media (max-width: 767px){
  .cl-earlybird-page.cl-earlybird-align-mobile-left .cl-page-hero-inner--single {
    text-align: left;
    justify-content: flex-start;
  }
  .cl-earlybird-page.cl-earlybird-align-mobile-left .cl-page-hero--single-slide .cl-page-title,
  .cl-earlybird-page.cl-earlybird-align-mobile-left .cl-page-hero--single-slide .cl-page-subtitle,
  .cl-earlybird-page.cl-earlybird-align-mobile-left .cl-earlybird-cta-row {
    text-align: left;
    justify-content: flex-start;
  }
  .cl-earlybird-page.cl-earlybird-align-mobile-left .cl-page-hero--single-slide .cl-page-title,
  .cl-earlybird-page.cl-earlybird-align-mobile-left .cl-page-hero--single-slide .cl-page-subtitle {
    margin-left: 0;
    margin-right: 0;
  }
  .cl-earlybird-page.cl-earlybird-align-mobile-center .cl-page-hero-inner--single {
    text-align: center;
    justify-content: center;
  }
  .cl-earlybird-page.cl-earlybird-align-mobile-center .cl-page-hero--single-slide .cl-page-title,
  .cl-earlybird-page.cl-earlybird-align-mobile-center .cl-page-hero--single-slide .cl-page-subtitle,
  .cl-earlybird-page.cl-earlybird-align-mobile-center .cl-earlybird-cta-row {
    text-align: center;
    justify-content: center;
  }
  .cl-earlybird-page.cl-earlybird-align-mobile-center .cl-page-hero--single-slide .cl-page-title,
  .cl-earlybird-page.cl-earlybird-align-mobile-center .cl-page-hero--single-slide .cl-page-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .cl-earlybird-page.cl-earlybird-align-mobile-right .cl-page-hero-inner--single {
    text-align: right;
    justify-content: flex-end;
  }
  .cl-earlybird-page.cl-earlybird-align-mobile-right .cl-page-hero--single-slide .cl-page-title,
  .cl-earlybird-page.cl-earlybird-align-mobile-right .cl-page-hero--single-slide .cl-page-subtitle,
  .cl-earlybird-page.cl-earlybird-align-mobile-right .cl-earlybird-cta-row {
    text-align: right;
    justify-content: flex-end;
  }
  .cl-earlybird-page.cl-earlybird-align-mobile-right .cl-page-hero--single-slide .cl-page-title,
  .cl-earlybird-page.cl-earlybird-align-mobile-right .cl-page-hero--single-slide .cl-page-subtitle {
    margin-left: auto;
    margin-right: 0;
  }
}

/* === V30.3.7 — Early Bird CTA as framed pills (not heavy buttons) === */
.cl-earlybird-page .cl-earlybird-cta-row .btn,
.cl-earlybird-page .cl-earlybird-cta-row .btn.btn-outline {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(200,173,106,.65) !important;
  box-shadow: none !important;
}
.cl-earlybird-page .cl-earlybird-cta-row .btn:hover,
.cl-earlybird-page .cl-earlybird-cta-row .btn:focus-visible,
.cl-earlybird-page .cl-earlybird-cta-row .btn.btn-outline:hover,
.cl-earlybird-page .cl-earlybird-cta-row .btn.btn-outline:focus-visible {
  background: rgba(255,255,255,.04) !important;
  border-color: rgba(200,173,106,.95) !important;
  color: #fff !important;
  transform: translateY(-1px);
}


/* =========================================================
   COOKIE BANNER OVERRIDES (Complianz / CookieYes / Cookiebot)
   Goal: compact, non-full-width, premium styling.
   ========================================================= */

/* CookieYes */
.cky-consent-container,
.cky-consent-bar{
  max-width: 460px !important;
  width: calc(100% - 24px) !important;
  left: auto !important;
  right: 12px !important;
  bottom: 12px !important;
  border-radius: 18px !important;
  overflow: hidden;
}
@media (max-width: 520px){
  .cky-consent-container,
  .cky-consent-bar{
    right: 12px !important;
    left: 12px !important;
    max-width: none !important;
  }
}

/* Complianz */
.cmplz-cookiebanner,
.cmplz-cookiebanner .cmplz-cookiebanner-container{
  max-width: 460px !important;
  width: calc(100% - 24px) !important;
  left: auto !important;
  right: 12px !important;
  bottom: 12px !important;
  border-radius: 18px !important;
}
@media (max-width: 520px){
  .cmplz-cookiebanner,
  .cmplz-cookiebanner .cmplz-cookiebanner-container{
    right: 12px !important;
    left: 12px !important;
    max-width: none !important;
  }
}

/* Cookiebot */
#CybotCookiebotDialog,
#CybotCookiebotDialogBody{
  max-width: 460px !important;
  width: calc(100% - 24px) !important;
  left: auto !important;
  right: 12px !important;
  bottom: 12px !important;
  border-radius: 18px !important;
}
@media (max-width: 520px){
  #CybotCookiebotDialog,
  #CybotCookiebotDialogBody{
    right: 12px !important;
    left: 12px !important;
    max-width: none !important;
  }
}


/* ================================
   LEGAL PAGES (V1)
   ================================ */
.cl-legal{
  padding: 110px 18px 60px;
}
.cl-legal .cl-container{
  max-width: 980px;
  margin: 0 auto;
}
.cl-legal__title{
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.cl-legal__content{
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,215,120,0.18);
  border-radius: 18px;
  padding: 22px;
}
.cl-legal__p{
  margin: 0 0 14px;
  color: var(--text-main, #fff);
  line-height: 1.65;
}
@media (max-width: 768px){
  .cl-legal{ padding: 92px 14px 46px; }
  .cl-legal__content{ padding: 16px; border-radius: 16px; }
}


/* --- CoreLab Legal Pages (Injected Content) --- */
.cl-legal-list{margin:10px 0 10px 20px;}
.cl-legal-list li{margin:6px 0; line-height:1.5;}
.cl-legal-notice{padding:12px 14px; border:1px solid rgba(199,168,105,0.35); border-radius:12px; background:rgba(10,10,10,0.6); margin:0 0 16px;}
.cl-legal-divider{border:0; height:1px; background:rgba(199,168,105,0.25); margin:24px 0;}




/* --- Legal pages: tighter top spacing + prevent double title --- */
body.page-template-templates-template-cookies-php .cl-legal__container,
body.page-template-templates-template-privacy-php .cl-legal__container,
body.page-template-templates-template-terms-php .cl-legal__container,
body.page-template-templates-template-privacy-requests-php .cl-legal__container,
body.page-template-templates-template-member-registration-php .cl-legal__container,
body.page-template-templates-template-terms-conditions-php .cl-legal__container{
  padding-top: 64px !important;
}

body.page-template-templates-template-cookies-php .cl-legal__header,
body.page-template-templates-template-privacy-php .cl-legal__header,
body.page-template-templates-template-terms-php .cl-legal__header,
body.page-template-templates-template-privacy-requests-php .cl-legal__header,
body.page-template-templates-template-member-registration-php .cl-legal__header,
body.page-template-templates-template-terms-conditions-php .cl-legal__header{
  display:none !important;
}


/* V30.8.14 PATCH: Make all internal (legal) templates obey Customizer spacing vars */
.cl-legal{
  padding-top: var(--cl-page-pad-top, 32px);
  padding-bottom: var(--cl-page-pad-bottom, 72px);
}
@media (max-width: 767px){
  .cl-legal{
    padding-top: var(--cl-page-pad-top-mobile, 20px);
    padding-bottom: var(--cl-page-pad-bottom-mobile, 56px);
  }
}


/* --- Legal/Internal pages: do NOT force uppercase (keep front page unchanged) --- */
.cl-legal h1, .cl-legal h2, .cl-legal h3, .cl-legal h4,
.cl-legal .cl-legal__title {
  text-transform: none;
  letter-spacing: normal;
}


/* =========================
   CoreLab tweaks (2026-03-03)
   ========================= */

/* Mobile drawer language switch */
.cl-mobile-lang-switch{
  display:flex;
  gap:10px;
  margin: 18px 0 22px;
}
.cl-mobile-lang-switch .cl-lang-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:52px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(200,173,106,0.65);
  color:#fff;
  text-decoration:none;
  font-weight:700;
  letter-spacing:.08em;
}
.cl-mobile-lang-switch .cl-lang-pill.is-active{
  background: rgba(200,173,106,0.18);
}

/* Complianz: keep banner inside viewport on mobile */
@media (max-width: 820px){
  .cmplz-cookiebanner{
    left:auto !important;
    right:12px !important;
    bottom:12px !important;
    width: calc(100vw - 24px) !important;
    max-width: 420px !important;
    box-sizing: border-box !important;
  }
  .cmplz-cookiebanner *{ box-sizing: border-box !important; }
}


@media (max-width: 820px){
  .cmplz-cookiebanner .cmplz-buttons{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:10px !important;
  }
  .cmplz-cookiebanner .cmplz-btn{
    max-width:100% !important;
    white-space:nowrap !important;
  }
}
@media (max-width: 520px){
  .cmplz-cookiebanner .cmplz-btn{ width:100% !important; }
}
