/* ==========================================
   GIO Concierge FAQ – Refined Editorial Layout
   ========================================== */

/* --- Light question band --- */
.confaq-band {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: #f4f3f1;
  padding: 60px 0; /* slightly reduced to tighten */
  box-sizing: border-box;
}

.confaq-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
}

.confaq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 64px;
  row-gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.confaq-list li {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  line-height: 1.5;
}

.confaq-list a {
  color: #0b2545;
  text-decoration: none;
  transition: color 0.25s ease;
}

.confaq-list a:hover {
  color: #bfa059;
}

/* --- Dark answer section --- */
.confaq-answers {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: #0b0b0b;
  padding: 90px 0 120px; /* tighter top gap */
}

.confaq-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 60px;
  color: #fff;
}

/* Each Q+A section */
.confaq-section {
  margin-bottom: 60px; /* reduced for more condensed flow */
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Heading row (number + question aligned) */
.confaq-heading {
  display: flex;
  align-items: baseline;
  gap: 22px;
  margin-bottom: 16px; /* slightly tighter */
}

/* Large elegant number */
.confaq-num {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(44px, 3.8vw, 58px); /* refined scale */
  color: #ffffff;
  line-height: 1;
  opacity: 0.9;
  margin-top: -4px; /* aligns visually with heading */
}

/* Thin, refined question */
.confaq-section h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300 !important; /* force thin weight */
  font-size: clamp(24px, 2.1vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Answer text – slightly smaller for elegance */
.confaq-section p {
  max-width: 88ch;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(17px, 1.1vw, 19px); /* smaller */
  line-height: 1.65; /* tighter vertical rhythm */
  color: #e6e6e6;
  margin-bottom: 10px;
}

/* Back to top link */
.confaq-back a {
  font-size: 15px;
  color: #9aa3ad;
  text-decoration: none;
}

.confaq-back a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* --- Responsive adjustments --- */
@media (max-width: 900px) {
  .confaq-content {
    padding: 0 35px;
  }

  .confaq-heading {
    gap: 16px;
  }

  .confaq-num {
    font-size: clamp(38px, 6vw, 50px);
  }

  .confaq-section h2 {
    font-size: clamp(22px, 3vw, 26px);
  }

  .confaq-section p {
    font-size: 17px;
  }
}

@media (max-width: 600px) {
  .confaq-num {
    font-size: 40px;
  }

  .confaq-section h2 {
    font-size: 20px;
  }

  .confaq-section p {
    font-size: 16px;
  }
}







/* Remove top gap and adjust banner spacing ONLY for this section */
.top-banner {
  margin-top: -40px !important;  /* pulls it up under header */
}

/* If header overlaps it, add padding-top instead */
.header-scrolled .top-banner {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Optional: if theme wraps content adding padding */
.top-banner + * {
  margin-top: 0 !important;
  padding-top: 0 !important;
}


/* Agile Store Locator – make the results list scroll instead of being cut off */
#asl-storelocator .sl-list-wrapper,
#asl-list.sl-list-wrapper {
  max-height: calc(100vh - 160px);   /* adjust 160px to account for your header/top spacing */
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;  /* smooth scroll on iOS */
  padding-bottom: 96px;               /* space so a sticky footer doesn't overlap */
}

/* Make sure no parent is clipping the list */
#asl-storelocator .sl-main-cont-box,
#asl-storelocator .asl-panel-inner {
  overflow: visible !important;
}

/* If your theme has a sticky footer/toolbar, add room on the page */
.site-content, .content-area, .asl-storelocator-wrapper {
  padding-bottom: 96px;               /* match your footer height */
}

/* Optional: if the map has a fixed small height, give it some room to match */
#asl-storelocator #asl-gmap,
#asl-gmap {
  min-height: 600px;
}






/* Homepage: paint hero text immediately (no animations/transitions) */
body.home .hero-video .elementor-invisible,
body.home .hero-video [data-av-animation],
body.home .hero-video .avia_animate {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}


/* Delay layout/paint of sections not visible yet (only where you add `below-fold`) */
.below-fold {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px; /* reserve space to avoid CLS */
}


/* --- Desktop hero height kept consistent so it won’t expose the next section --- */
@media (min-width: 1025px){
  #home-video-desk.avia-section,
  #home-video-desk .av-section-video,
  #home-video-desk .av-section-video-bg,
  #home-video-desk .avia-bg-video,
  #home-video-desk .mejs-container {
    height: 72vh !important;   /* adjust 70–75vh if you prefer */
    min-height: 560px !important;
  }
}

/* --- Show a controlled fallback ONLY while the section is in poster-mode --- */
.hero-video { overflow: hidden; }

.hero-video.poster-mode { position: relative; }

.hero-video.poster-mode::before{
  content: "";
  position: absolute; inset: 0;
  background-image: url('https://gio-cavaliconcierge.com/wp-content/uploads/2025/09/Gio-Cavalli-Concierge-home-2.webp');
  background-size: cover !important;
  background-position: 50% 68% !important; /* tweak 60–75% to line up with the video */
  background-repeat: no-repeat;
  z-index: 2;  /* on top of any empty video layer */
}

/* keep the theme wrappers transparent under the overlay while in poster-mode */
.hero-video.poster-mode .av-section-video,
.





/* Force show any mistakenly hidden content */
[data-cky-tag] { 
  visibility: visible !important; 
}


/* ensure first-screen content isn't hidden awaiting animation */
.av-animated-generic,
.avia_animated_image,
.avia_animate_when_visible { opacity: 1 !important; transform: none !important; transition: none !important; }


/* Forminator: reduce row spacing (desktop/tablet ≥783px) */
@media (min-width: 783px) {
  /* legacy + current selectors, both overridden */
  .forminator-ui.forminator-custom-form:not(.forminator-size--small)[data-grid="open"]
    .forminator-row-inside:not(:last-child),
  .forminator-ui.forminator-custom-form:not(.forminator-size--small)[data-grid="open"]
    .forminator-row:not(:last-child) {
    margin-bottom: 10px !important; /* was 30px */
  }
}

/* Optional: also tighten spacing on mobile if needed */
.forminator-ui.forminator-custom-form .forminator-row:not(:last-child) {
  margin-bottom: 12px !important; /* adjust to taste */
}
.check-boxes .forminator-checkbox {

float:left;

padding-right:0px;
padding-top:10px;

}



/* YC: stack the 3-up grid on mobile; keep desktop unchanged */
@media (max-width: 768px) {
  .yc-compact .yc-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  /* keep bullet icon aligned with title on small screens */
  .yc-compact h3 {
    display: flex;
    align-items: flex-start;
  }
  .yc-compact h3 img {
    margin-top: 2px;
    margin-right: 8px; /* safety in case inline style gets stripped */
  }
}

/* Optional (tablet): make it 2-up between 769–1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  .yc-compact .yc-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr)) !important;
  }
}

/* Dining band */
.gc-dining-band{
  --navy:#0f1a24; --ink:#ffffff; --muted:rgba(255,255,255,.82); --gold:#d5ad6d; --rule:rgba(255,255,255,.12);
  font-family:'Cormorant Garamond', serif; color:var(--ink);
  width:100%;
  background: linear-gradient(180deg, #0f1a24, #0b141c);
}
.gc-dining-band .wrap{ max-width:1200px; margin:0 auto; padding:32px 20px 36px; }
.gc-dining-band .eyebrow{ text-transform:uppercase; letter-spacing:.18em; color:var(--gold); font-size:14px; margin:0 0 10px 0; opacity:.95; }
.gc-dining-band .grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:28px; align-items:start; position:relative; }
.gc-dining-band .grid > div{ position:relative; padding:0 18px; }
.gc-dining-band .grid > div:not(:first-child)::before{ content:""; position:absolute; left:0; top:2px; bottom:2px; width:1px; background:var(--rule); }
.gc-dining-band h4{ margin:0 0 6px 0; font-weight:500; color:var(--gold); font-size:22px; line-height:1.1; }
.gc-dining-band ul{ list-style:none; margin:0; padding:0; }
.gc-dining-band li{ font-size:20px; line-height:1.6; color:var(--muted); position:relative; padding-left:18px; }
.gc-dining-band li + li{ margin-top:6px; }
.gc-dining-band li::before{ content:"—"; position:absolute; left:0; top:0; color:var(--gold); }
@media (max-width: 980px){
  .gc-dining-band .grid{ grid-template-columns:1fr; gap:14px; }
  .gc-dining-band .grid > div{ padding:0; }
  .gc-dining-band .grid > div:not(:first-child)::before{ display:none; }
}


/* Mobile: force L/R padding for ALL Avia Grid cells (global) */
@media only screen and (max-width: 767px) {
  /* Matches any .flex_cell that has one of Enfold's generated av-xxxx classes */
  .responsive #top #wrap_all .flex_cell[class*="av-"] {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}







/* Full Width Container */
.yacht-charter-fullwidth {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
}

/* Charter Highlights Section - Full Width White */
.yacht-highlights-fullwidth {
    width: 100%;
    padding: 60px 20px;
    background: #ffffff;
    margin-bottom: 0;
}

.yacht-header-editorial {
    text-align: center;
    font-family: 'Cormorant Garamond', Georgia, serif;
    margin-bottom: 30px;
}

.yacht-eyebrow-editorial {
    letter-spacing: 0.2em;
    font-size: 12px;
    color: #8a8a8a;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-weight: 400;
}

.yacht-title-editorial {
    font-size: 54px !important;
    line-height: 1.1;
    margin: 0 0 8px 0;
    color: #0b2545;
    font-weight: 400;
    letter-spacing: -0.02em;
    font-family: 'Cormorant Garamond', Georgia, serif !important;
}

.yacht-subtitle-editorial {
    color: #0b2545;
    font-size: 16px;
    margin: 8px 0 35px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 400;
}

.yacht-chips-editorial {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 0 auto 45px;
    max-width: 900px;
}

.yacht-chip-rect {
    background: #ffffff;
    border: 1px solid #d4d4d4;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #0b2545;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.yacht-chip-rect:hover {
    border-color: #0b2545;
    background: #f8f9fa;
}

.yacht-highlights-editorial {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.yacht-highlight-editorial {
    display: grid;
    grid-template-columns: 24px 1fr;
    column-gap: 16px;
    align-items: start;
    font-size: 17px;
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #4a4a4a;
}

.yacht-check-editorial {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0b2545;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.yacht-check-editorial::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.yacht-highlight-editorial strong {
    color: #0b2545;
    font-weight: 600;
}

/* Winter Voyages Section - Navy Background */
.yacht-voyages-section {
    width: 100%;
    padding: 70px 20px;
    background: #0b2545;
}

.yacht-voyages-fullwidth {
    max-width: 1100px;
    margin: 0 auto;
}

.yacht-voyage-header-editorial {
    text-align: center;
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: #0b2545;
    margin-bottom: 20px;
}

.yacht-voyage-title-editorial {
    font-size: 54px !important;
    line-height: 1.1;
    margin: 0 0 25px;
    font-weight: 400;
    color: #d5ad6d;
    letter-spacing: -0.02em;
    font-family: 'Cormorant Garamond', Georgia, serif !important;
}

.yacht-voyage-chips-editorial {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 0 0 35px;
}

.yacht-voyage-chip-rect {
    background: transparent;
    border: 1px solid #d5ad6d;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #ffffff;
    transition: all 0.3s ease;
}

.yacht-voyage-chip-rect:hover {
    background: rgba(213, 173, 109, 0.1);
}

.yacht-dates-editorial {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #ffffff;
    display: grid;
    gap: 12px;
    justify-items: center;
    margin: 0 0 50px;
}

.yacht-date-editorial {
    color: #ffffff;
    font-size: 17px;
    line-height: 1.5;
}

.yacht-date-editorial strong {
    color: #d5ad6d;
    font-weight: 600;
}

.yacht-embark-editorial {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-top: 10px;
}

.yacht-itinerary-editorial {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto 45px;
}

.yacht-step-editorial {
    padding: 0;
    position: relative;
}

.yacht-step-editorial::before {
    display: none;
}

.yacht-step-editorial h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    color: #d5ad6d;
    font-size: 22px !important;
    margin: 0 0 8px;
    line-height: 1.3;
}

.yacht-step-editorial p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px !important;
    line-height: 1.5;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.yacht-destination-editorial {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.yacht-dest-card-editorial {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(213, 173, 109, 0.25);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.yacht-dest-card-editorial:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(213, 173, 109, 0.4);
}

.yacht-dest-label-editorial {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 12px !important;
    color: #d5ad6d;
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.yacht-dest-title-editorial {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    color: #ffffff;
    font-size: 26px !important;
    margin: 0 0 10px;
}

.yacht-dest-text-editorial {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 20px !important;
    line-height: 1.5;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Responsive Design */
@media (max-width: 900px) {
    .yacht-highlights-editorial {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .yacht-destination-editorial {
        grid-template-columns: 1fr;
    }
    
    .yacht-itinerary-editorial {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .yacht-title-editorial {
        font-size: 42px;
    }
    
    .yacht-voyage-title-editorial {
        font-size: 42px;
    }
    
    .yacht-highlights-fullwidth,
    .yacht-voyages-section {
        padding: 40px 16px;
    }
    
    .yacht-itinerary-editorial {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .yacht-chips-editorial,
    .yacht-voyage-chips-editorial {
        gap: 8px;
    }
    
    .yacht-chip-rect,
    .yacht-voyage-chip-rect {
        font-size: 13px;
        padding: 8px 16px;
    }
    
    .yacht-title-editorial {
        font-size: 36px;
    }
    
    .yacht-voyage-title-editorial {
        font-size: 28px;
    }
}






/* GC FAQ Style */
.gc-faq {
  font-family: 'Cormorant Garamond', serif;
  max-width: 1200px;
  margin: 0 auto;
}

.gc-faq details {
  background: #111111; /* almost black */
  border: 1px solid rgba(213, 173, 109, 0.5);
  border-radius: 10px;
  margin: 14px 0;
  overflow: hidden;
}

.gc-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  color: #fff; /* gold */
  font-size: 22px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.gc-faq summary::-webkit-details-marker {
  display: none;
}

.gc-faq .gc-ico {
  font-size: 22px;
  line-height: 1;
  color: #d5ad6d;
  transition: transform 0.2s ease;
}

.gc-faq details[open] .gc-ico {
  transform: rotate(45deg);
}

.gc-faq .gc-a {
  padding: 16px 22px 20px;
  font-size: 20px; /* updated */
  line-height: 1.6;
  color: #f1f1f1; /* light grey for readability */
  background: #1a1a1a; /* slightly lighter black than header */
  border-top: 1px solid rgba(213, 173, 109, 0.25);
}

@media (max-width: 640px) {
  .gc-faq summary { 
    font-size: 18px; 
    padding: 16px 18px; 
  }
  .gc-faq .gc-a { 
    font-size: 20px; /* keep answers consistent */
    padding: 14px 18px 18px; 
  }
  .gc-faq .gc-ico { font-size: 20px; }
}




/* Custom styling for form group titles */
.form-title .wpforms-field-group legend,
.form-title .wpforms-field-group h3,
.form-title .wpforms-field-group .wpforms-field-label {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    color: #d5ad6d !important;
    text-transform: uppercase;
    margin-bottom: 20px !important;
    letter-spacing: 1px;
}



/* Full-bleed portfolio (break out of theme container) */
.portfolio-fullwidth{
  width:100vw !important;
  max-width:100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left:0 !important;
  padding-right:0 !important;
  position: relative;
  overflow: visible;
}

/* Make sure any inner container from the plugin doesn't re-constrain width */
.portfolio-fullwidth .container,
.portfolio-fullwidth .rt-container,
.portfolio-fullwidth .rt-container-fluid,
.portfolio-fullwidth .rt-portfolio-wrapper,
.portfolio-fullwidth .rt-portfolio {
  width:100% !important;
  max-width:100% !important;
  padding-left:20 !important;
  padding-right:20 !important;
  margin-left:0 !important;
  margin-right:0 !important;
}
/* Full-bleed panel (force section to 100% viewport width) */
.full-panel {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 !important;
  position: relative;
  overflow: hidden;
}

/* Ensure inner containers don’t get constrained */
.full-panel .container,
.full-panel .row {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}



/* Optional: tighten/normalize side gutters inside the grid */
.portfolio-fullwidth .row,
.portfolio-fullwidth .rt-row{
  margin-left:0 !important;
  margin-right:0 !important;
}
.portfolio-fullwidth [class*="col-"],
.portfolio-fullwidth .rt-col{
  padding-left:15px;
  padding-right:15px;
}

/* Ensure images/cards occupy full card width */
.portfolio-fullwidth img{
  width:100% !important;
  height:auto !important;
  display:block;
}


/* ===== Gallery Arrows + Close Button — Desktop Only ===== */
@media (min-width: 768px){

  /* Make arrow hit-areas big, always clickable, and above everything - Gallery  [GC tuned] */
  .mfp-arrow {
    width: 18vw;                 /* large, forgiving click zone */
    max-width: 220px;
    height: calc(100% - 72px);   /* leave a 72px safe strip at the top for the X */
    top: 72px;                   /* was 0 — this is the key change */
    background: transparent !important;
    border: 0 !important;
    pointer-events: auto !important;
    z-index: 10060 !important;
    opacity: 1 !important;
  }

  /* Keep the chevron centered within the (now shorter) zone */
  .mfp-arrow:before,
  .mfp-arrow:after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  /* Right/left placement */
  .mfp-arrow-right { right: 0; left: auto; }
  .mfp-arrow-left  { left: 0;  right: auto; }

  /* Ensure the overlay sits *below* the arrows */
  .mfp-bg     { z-index: 10050 !important; }
  .mfp-wrap   { z-index: 10055 !important; }
  .mfp-content{ pointer-events: auto !important; }

  /* Stop the arrow jumping on click/press */
  .mfp-arrow:active,
  .mfp-arrow:focus {
    margin: 0 !important;
    top: 72px !important;        /* keep arrow zone from snapping back to 0 */
    outline: none !important;
  }
  .mfp-arrow:active:before,
  .mfp-arrow:active:after {
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    transition: none !important;
  }

  /* Optional: disable any subtle transitions that can look like a jump */
  .mfp-arrow,
  .mfp-arrow:before,
  .mfp-arrow:after {
    transition: none !important;
  }

  /*gallery arrow end*/

  /* ==== GC: Close (X) on top with a full 56x56 hit-area (white ×, no circle) ==== */
  html.mfp-open .mfp-close,
  html.mfp-open .mfp-image-holder .mfp-close {
    position: fixed !important;
    top: 18px !important;
    right: 24px !important;                 /* stays in the top strip above the arrows */
    z-index: 2147483647 !important;         /* above arrow z-index 10060 */
    display: block !important;
    width: 56px !important;
    height: 56px !important;
    line-height: 56px !important;
    text-align: center !important;
    background: transparent !important;     /* plain white × */
    border: 0 !important;
    color: #fff !important;
    font-size: 26px !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.6);
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  /* Make the whole 56x56 box clickable; ignore inner icon nodes */
  html.mfp-open .mfp-close *,
  html.mfp-open .mfp-close img,
  html.mfp-open .mfp-close svg {
    pointer-events: none !important;
  }
  html.mfp-open .mfp-close:before,
  html.mfp-open .mfp-close:after {
    display: none !important; /* kill theme circle/artefacts */
  }

  /* Tiny top gutter so the image never touches the X */
  html.mfp-open .mfp-container {
    padding-top: 12px !important;
    box-sizing: border-box !important;
  }

}

/* ===== Fix lightbox arrows (stability + tap area) — Desktop Only ===== */
@media (min-width: 768px){
  .mfp-wrap,
  .mfp-container,
  .mfp-content,
  .mfp-figure,
  .mfp-img {
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
    -webkit-transform: translateZ(0);
            transform: translateZ(0); /* avoid flicker on iOS */
  }

  .mfp-arrow {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 22% !important;             /* comfy tap zone */
    background: transparent !important;
    z-index: 10060 !important;
    pointer-events: auto !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
            user-select: none;
    touch-action: manipulation;         /* prefer click, not zoom/scroll */
  }
  .mfp-arrow-left  { left: 0 !important;  right: auto !important; }
  .mfp-arrow-right { right: 0 !important; left:  auto !important; }

  .mfp-arrow:before,
  .mfp-arrow:after {
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
    will-change: transform;
  }

  /* Keep captions/tap background from stealing the arrow tap */
  .mfp-figure .mfp-close,
  .mfp-figure .mfp-title { pointer-events: none !important; }
}
/* ===== Mobile lightbox arrows: decorative only, not clickable ===== */
@media (max-width: 767px){
  .mfp-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    z-index: 10060 !important;
    background: transparent !important;
    border: none !important;
    pointer-events: none !important;   /* <-- makes them NOT clickable */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mfp-arrow-left  { left: 12px !important; }
  .mfp-arrow-right { right: 12px !important; }

  .mfp-arrow:before {
    content: '‹';
    font-size: 24px;
    color: #fff;                        /* change to #d5ad6d for gold */
    text-shadow: 0 1px 3px rgba(0,0,0,.6);
    line-height: 1;
    position: static;
  }
  .mfp-arrow-right:before { content: '›'; }
}








/* Grid container layout */
.grid-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}


/* Responsive stacking for grid items */
@media screen and (max-width: 768px) {
  .grid-content > div {
    flex-direction: column !important;
    padding: 0 0% !important;
		margin-top:20px;
  }

  .grid-content > div > div {
    max-width: 100% !important;
  }
}
/*remove spacing on mobile */
@media only screen and (max-width: 767px) {
  .column-top-margin {
    margin-top: 0 !important;
  }
}
@media only screen and (max-width: 767px) {
  .av_textblock_section {
    margin-bottom: 0 !important;
  }
}



/* Remove extra height under the slider heading */
.avia-content-slider-inner {
  height: auto !important;
}

/* turn titles on mobile smaller */

@media only screen and (max-width: 767px) {
  p[style*="font-size: 22px"] strong:not(.bold-text *):not(.force-bold),
  h3[style*="font-size: 22px"] strong:not(.bold-text *):not(.force-bold),
  h3[style*="font-size: 20px"] strong:not(.bold-text *):not(.force-bold),
  p[style*="font-size: 20px"] strong:not(.bold-text *):not(.force-bold) {
    font-weight: 500 !important;
    font-family: 'Cormorant Garamond', serif !important;
    color: #d5ad6d !important;
    font-size: 22px !important;
  }

  .force-bold {
    font-weight: 700 !important;
  }
}


@media only screen and (max-width: 767px) {
  p[style*="font-size: 25px"][style*="Cormorant Garamond"],
  h2[style*="font-size: 25px"][style*="Cormorant Garamond"] {
    font-size: 22px !important;
    font-weight: 500 !important;
  }
  h1 {
    font-size: 22px !important; /* Re-assert original size for safety */
  }
}

@media only screen and (max-width: 767px) {
  p[style*="font-size: 30px"][style*="Cormorant Garamond"],
  h2[style*="font-size: 30px"][style*="Cormorant Garamond"] {
    font-size: 25px !important;
    font-weight: 500 !important;
  }
}



/* hide portfolio gallery title */
.hide-title .mfp-title {
  display: none !important;
}



/* Change arrow image and force consistent size sitewide */
img[src*="arrow-right-2.png"] {
  content: url("https://gio-cavaliconcierge.com/wp-content/uploads/2025/07/arrowlink.png");
  width: 45px !important;
  height: auto !important; /* Keeps aspect ratio correct */
}

img[src*="arrow-right-2-80x80.png"] {
  content: url("https://gio-cavaliconcierge.com/wp-content/uploads/2025/07/arrowlink.png");
  width: 45px !important;
  height: auto !important; /* Keeps aspect ratio correct */
}



/* Force full-width, remove padding and margins for join-slider */
.join-slider {
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
  overflow: hidden;
}

/* Optional: make sure children also behave correctly */
.join-slider > .container,
.join-slider .av-content-full {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Join lifestyle slider */

/* Full-width container override */
.membership-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  width: 100vw;           /* Full viewport width */
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
}

/* Prevent theme padding from container_wrap if nested */
.container_wrap.fullsize .membership-highlight {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
}

/* Image section */
.membership-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.membership-image img {
  width: 90%;                /* Reduce width inside its half-column */
  height: auto;              /* Allow natural scaling */
  max-width: 100%;           /* Prevent overflow */
  object-fit: contain;       /* Contain without cropping */
  display: block;
}


/* Text section */
.membership-text {
  background-color: #f1f1f0;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.membership-text .title {
  font-size: 25px;
  font-weight: 300;
  font-family: 'Cormorant Garamond', serif;
  color: #d5ad6d;
  margin: 0 0 15px 0;
  text-align: left;
}

.membership-text .subtitle {
  font-size: 20px;
  font-family: 'Cormorant Garamond', serif;
  color: #000;
  line-height: 1.5;
  text-align: left;
  margin: 0;
}

/* Mobile Responsive */
@media only screen and (max-width: 768px) {
  .responsive-membership-block {
    flex-direction: column;
  }

  .responsive-membership-block .membership-image,
  .responsive-membership-block .membership-text {
    width: 100% !important;
  }

  .responsive-membership-block .membership-text {
    padding: 30px !important;
    text-align: center;
  }

  .responsive-membership-block .membership-text p {
    text-align: center !important;
  }
}


/*forminator autofill background */
input:-webkit-autofill,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #000 inset !important;  /* Your background color */
  -webkit-text-fill-color: #fff !important;                  /* Your font color */
  transition: background-color 5000s ease-in-out 0s;
}


/* Desktop responsive video section */
/* Medium desktop screens (13" laptops, smaller desktop monitors) */
@media only screen and (min-width: 769px) and (max-width: 1440px) {
  .home-video-desk .av-section-video-bg {
    height: 65vh !important;
    min-height: 550px !important;
  }
  .home-video-desk .av-section-color-overlay,
  .home-video-desk .av-section-video {
    height: 65vh !important;
    min-height: 550px !important;
  }
  .home-video-desk {
    height: 65vh !important;
    min-height: 550px !important;
  }
}


/* Large desktop screens (24" monitors and similar) */
@media only screen and (min-width: 1441px) and (max-width: 1919px) {
  #home-video-desk.avia-section .av-section-video-bg {
    height: 70vh !important;
    min-height: 600px !important;
    max-height: 800px !important;
  }
  #home-video-desk.avia-section .av-section-color-overlay,
  #home-video-desk.avia-section .av-section-video {
    height: 70vh !important;
    min-height: 600px !important;
    max-height: 800px !important;
  }
  #home-video-desk.avia-section {
    height: 70vh !important;
    min-height: 600px !important;
    max-height: 800px !important;
  }
}

/* Extra large screens (4K monitors, ultra-wide, etc.) */
@media only screen and (min-width: 1920px) {
  #home-video-desk.avia-section .av-section-video-bg {
    height: 75vh !important;
    min-height: 700px !important;
    max-height: 900px !important;
  }
  #home-video-desk.avia-section .av-section-color-overlay,
  #home-video-desk.avia-section .av-section-video {
    height: 75vh !important;
    min-height: 700px !important;
    max-height: 900px !important;
  }
  #home-video-desk.avia-section {
    height: 75vh !important;
    min-height: 700px !important;
    max-height: 900px !important;
  }
}


/*homepage video fit for mobile*/
@media only screen and (max-width: 768px) {
  .home-video .av-section-video-bg {
    height: 300px !important;
  }

  .home-video .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .home-video .av-section-color-overlay,
  .home-video .av-section-video {
    height: 300px !important;
    min-height: 300px !important;
  }

  .home-video {
    height: 300px !important;
    min-height: 300px !important;
    overflow: hidden;
  }
}



/* Remove top margin on sections where this class is applied */
.grid-section {
  margin-top: 0 !important;
}




/*portfolio header titles */
@media only screen and (max-width: 767px) {
  .portfolio-header .av-slideshow-caption,
  .portfolio-header .caption_container,
  .portfolio-header .slideshow_inner_caption {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    min-height: unset !important;
  }

  .portfolio-header .avia-caption-title {
    font-size: 25px !important;
    line-height: 1.2 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .portfolio-header .avia-caption-title p {
    font-size: 25px !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .portfolio-header .slideshow_align_caption {
    padding: 0 !important;
    margin: 0 auto !important;
    max-width: 95% !important;
  }

  .portfolio-header h2,
  .portfolio-header p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}



/*end*/
@media only screen and (min-width: 768px) {
  .flex_column.av-15m3bc7-ab0b271d48dbc3bf6dd54a5ddc50f784 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .flex_column.av-15m3bc7-ab0b271d48dbc3bf6dd54a5ddc50f784 .avia_textblock {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}


@media only screen and (min-width: 768px) {
  #av-layout-grid-5 .flex_cell_inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  #av-layout-grid-5 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}


/* ===== Hide Specific Arrows on Desktop Only ===== */
@media only screen and (min-width: 768px) {
  img[src*="arrow-left.png?resize=80%2C80"],
	img[src*="arrow-left.png?fit=102%2C96&ssl=1"],
  img[src*="arrow-right.png?fit=92%2C96&ssl=1"] {
    display: none !important;
  }
}


/* Clean up spacing around specific row */

@media only screen and (min-width: 767px) {
  .container.av-section-cont-open {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Optional: reset child div if needed */
  .container.av-section-cont-open > div {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}
@media only screen and (min-width: 767px) {
  .flex_cell.av-maqpc8n4 {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
  }
}

@media only screen and (min-width: 767px) {
  /* Target the inner padding inside the flex cell */
  .flex_cell.av-one-full.av-1ihgzbk .flex_cell_inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Optional: reduce heading margin */
  .flex_cell.av-one-full.av-1ihgzbk h2,
  .flex_cell.av-one-full.av-1ihgzbk h3 {
    margin-top: 0 !important;
    margin-bottom: 0.5em !important;
  }
}
@media only screen and (min-width: 767px) {
  #av-layout-grid-2 .flex_cell.av_one_full {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  #av-layout-grid-2 .flex_cell_inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}




/*Home slider desktop */
.home-main-slider {
  padding: 60px 80px; /* Adds top-bottom + left-right padding */
	padding-top: 5px;
	padding-bottom: 5px;
  box-sizing: border-box;
}

.home-main-slider > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px; /* More space between text and image */
  flex-wrap: wrap;
}

.home-main-slider > div > div:first-child {
  flex: 1;
  min-width: 300px;
  padding-right: 40px; /* Extra padding to right inside text block */
}

.home-main-slider > div > div:last-child {
  flex: 1;
  min-width: 300px;
  padding-right: 40px; /* Padding to right of image for breathing space */
  text-align: right;
}



/*main menu css*/
@media only screen and (min-width: 768px) {
  /* Pull submenu closer (safely) */
  .html_header_top .header_color .main_menu ul:first-child > li > ul.sub-menu {
    border-top: 1px solid;
    margin-top: -30px;
    padding-top: 0px;
    padding-bottom: 0px;
  }

  /* Reduce the height/spacing of each submenu item */
  .html_header_top .header_color .main_menu ul.sub-menu a {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    line-height: 1em !important;
  }

  /* Force top-level menu link color on hover */
  .html_header_top .header_color .main_menu > ul > li:hover > a {
    color: #ffffff !important;
  }
}




/*submenu */
@media only screen and (min-width: 768px) {
  /* Submenu appearance */
  .html_header_top .header_color .main_menu ul.sub-menu a {
    padding-top: 1px !important;
    padding-bottom: 1px !important;
    line-height: 1.2em !important;
    font-size: 15px !important;
    color: #c6a664; /* Default submenu link color */
    transition: color 0.3s ease;
  }

  /* Submenu span inside link */
  .html_header_top .header_color .main_menu ul.sub-menu a span {
    font-size: 17px !important;
    line-height: 1.2em !important;
    color: #c6a664;
    transition: color 0.3s ease;
  }

  /* On hover: turn submenu text white */
  .html_header_top .header_color .main_menu ul.sub-menu a:hover,
  .html_header_top .header_color .main_menu ul.sub-menu a:hover span {
    color: #ffffff !important;
  }
}




/*Logo desktop */
@media screen and (min-width: 767px) {
	
	.logo {
   padding: 5px;
}
  /* Align logo to the left */
  .av-logo-container {
    padding-left: 0 !important;
    margin-left: 0 !important;
  }

  .logo {
    justify-content: flex-start !important;
    text-align: left !important;
  }
}

/*header captions */
@media screen and (min-width: 767px) {
  .mobile-header-slider .slideshow_caption {
    width: 50% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    text-align: center !important;
    padding: 0px 0px !important;
    min-height: 0 !important;
    height: auto !important;
  }

  .mobile-header-slider .slideshow_inner_caption {
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
  }

  .mobile-header-slider .slideshow_caption h2,
  .mobile-header-slider .slideshow_caption h1,
  .mobile-header-slider .slideshow_caption p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
  }
}





/*end*/

@media only screen and (max-width: 767px) {
  .white-box .flex_cell_inner {
    padding-top: 30px !important;
  }
}




/* Remove top/bottom padding/margin on mobile */
@media only screen and (max-width: 767px) {
  /* Reduce spacing for special heading */
  .av-special-heading {
    margin-top: 0 !important;
  }

  /* Reduce spacing on invisible lines */
  .hr.hr-invisible,
  .hr.hr-small {
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
  }

  /* Section spacing classes */
  .av-section-space-xx-large,
  .av-section-space-x-large,
  .av-section-space-large {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Layout grid container */
  .av-layout-grid-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .av-layout-grid-container .flex_cell {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Targeted section: only remove spacing, not display */
  #after_section_1.av_default_container_wrap,
  #after_section_1 .container,
  #after_section_1 .template-page.content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Specific grid adjustments (remove spacing only) */
  #av-layout-grid-4,
  #av-layout-grid-4 .flex_cell,
  #av-layout-grid-4 .av_cell_no_padding,
  #av-layout-grid-4 .av_one_full,
  #av-layout-grid-4 .template-page.content.av-content-full.alpha.units {
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Clean up spacing around specific row */
  #after_grid_row_3,
  #after_grid_row_3 .container,
  #after_grid_row_3 .entry-content-wrapper,
  #after_grid_row_3 .av_textblock_section,
  #after_grid_row_3 .av_textblock_section > * {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}
@media only screen and (max-width: 767px) {
  .container.av-section-cont-open {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Optional: reset child div if needed */
  .container.av-section-cont-open > div {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}
@media only screen and (max-width: 767px) {
  .flex_cell.av-maqpc8n4 {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
  }
}

@media only screen and (max-width: 767px) {
  /* Target the inner padding inside the flex cell */
  .flex_cell.av-one-full.av-1ihgzbk .flex_cell_inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Optional: reduce heading margin */
  .flex_cell.av-one-full.av-1ihgzbk h2,
  .flex_cell.av-one-full.av-1ihgzbk h3 {
    margin-top: 0 !important;
    margin-bottom: 0.5em !important;
  }
}
@media only screen and (max-width: 767px) {
  #av-layout-grid-2 .flex_cell.av_one_full {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  #av-layout-grid-2 .flex_cell_inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}




/* end*/
@media only screen and (max-width: 767px) {
  .responsive .logo img {
    width: 30%;
  } 
}

@media only screen and (max-width: 767px) {
  /* Reset hardcoded HTML width/height */
  .logo img.avia-standard-logo {
    width: 60px !important;        /* Set your preferred size */
    height: auto !important;
    max-width: none !important;     /* Reset max constraints */
    max-height: none !important;    /* Reset max constraints */
  }

	
  /* Align logo to the left */
  .av-logo-container {
    padding-left: 0 !important;
    margin-left: 0 !important;
  }

  .logo {
    justify-content: flex-start !important;
    text-align: left !important;
  }
}



/*end*/

@media only screen and (max-width: 767px) {
  .mobile-header-slider .slideshow_caption,
  .mobile-header-slider2 .slideshow_caption {
    display: none !important;
  }
}

/* mobile drop shadow off */
@media only screen and (max-width: 767px) {
  .av-slideshow-caption,
  .av-slideshow-caption .avia-caption-title,
  .av-slideshow-caption .avia-caption-content {
    text-shadow: none !important;
  }
}


/* corporate portfolio mobile */
@media only screen and (max-width: 767px) {
  .portfolio-text {
    position: relative;
    display: block;
    overflow: hidden;
  }

  .portfolio-text img {
    display: block;
    width: 100%;
    height: auto;
  }

  .portfolio-text .caption {
    position: absolute;
    bottom: 0;
    left: 5%;
    width: 90%; /* Leaves 5% space on each side */
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 1em;
    text-align: center;
    box-sizing: border-box;
    border-radius: 4px; /* Optional for nicer look */
  }

  .portfolio-text .caption p {
    margin: 0 0 0.5em 0;
    line-height: 1.4em;
  }

  .portfolio-text .caption p:first-child {
    font-size: 22px !important;
    font-weight: bold;
  }

  .portfolio-text .caption p:nth-child(2) {
    font-size: 20px !important;
  }
}





/* edit *./


/*New edit*/

.header-text-block {
	background-color: #06010169;
}
.header-text-block {
	padding: 1rem;
}



@media only screen and (max-width: 767px) {
  .header-title-block {
    position: absolute !important;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    margin: 0 !important;
    padding: 1em !important;
background-color: #06010185;

  }

  /* Ensure parent has relative positioning to contain the absolute child */
  .avia-image-container, .av-section-image {
    position: relative !important;
  }
}


@media only screen and (max-width: 767px) {
  .flex_column.av-b5rhp2b-5463f75c93fc88572288438cb4a4bfd {
    padding-top: 0 !important;
  }
}





@media only screen and (max-width: 767px) {
  /* Reset all footer spacing */
  #footer *, 
  .footer *, 
  .site-footer * {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
  }

  /* Give titles some breathing room */
@media only screen and (max-width: 767px) {
  #footer .widgettitle {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
}


@media only screen and (max-width: 767px) {
  .footer .container {
    gap: 5px !important;
  }
}

  #footer p, 
  #footer div, 
  #footer .widget, 
  #footer .textwidget,
  #footer address {
    margin-bottom: 5px !important;
    line-height: 1.3em !important;
  }

  .copyright {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
  }
}










#top #wrap_all .home-gallery .av-masonry-entry h3.av-masonry-entry-title {
  font-size: 18px;
}


#header_main .avia-menu-text {
    font-size: 16px;
}


/* Default background for the column */
.no-background-mobile {
    background-image: url('https://gio-cavaliconcierge.com/wp-content/uploads/2025/02/gold-border-lineswide.png'); /* Set your background image */
    background-position: center center; /* Center the background */
    background-size: cover; /* Ensure the background scales to cover the area */
    background-repeat: no-repeat; /* Prevent the background from repeating */
}

/* Hide the background on mobile */
@media only screen and (max-width: 767px) {
    .no-background-mobile {
        background: none !important; /* Remove the background */
    }
}





.grecaptcha-badge {
       visibility: hidden;
   }

.post-1827 { 
background-color: #ffffff;
}

#jp-relatedposts {
	display: none!important; 
}

.avia-gallery-thumb a{
	max-height: 100%;
  overflow: hidden;
  height: 9rem;
}

.avia-gallery img{
	width: 15rem;
  display: block;
  position: relative;
  height: auto;
}

.avia-caption-title {
	background: #00000000!important;
	font-family: 'Cormorant', serif;
  font-weight: 100 !important;
	text-align: center;
}

.av-inner-masonry-content-pos {
	border-width: 1px;
  border-style: solid;
  border-image: linear-gradient( to bottom right, #ffebad 0%, #8d630a 100% ) 1; !important;
}
.av-5enlei-08e349504fb223e20ca38cccb43aacf1 .av-inner-masonry-content-pos-content, .av-22nn6i-802fcfd804ee303e7d3e10cab76093eb .av-inner-masonry-content-pos-content, .av-hqe1r-d211b52f47710f9e36c19e9b33b4c2bb .av-inner-masonry-content-pos-content {
	position:relative;
	top:42%;
}

 .gold-border {
	border: thick solid #d5ad6d !important;
	min-height: 32rem;
  height: 32rem;
  max-height: 32rem;
}

.padding1 {
	padding-top:1rem!important;
	padding-bottom:1rem!important;
}

.transparent-black-bg {
	background-color: #06010169;
}

.header-text-block {
	background-color: #06010169;
}

.blog-categories {
	display: none!important;
}


/*.no-border {
	border: inherit !important;
	min-height: inherit !important;
  height: inherit !important;
  max-height: inherit !important;
} */

.slideshow_align_caption {
	background-color: #06010169;
	border-radius: 0px;
	display: block;
	margin-top: 40vh;
	flex-direction: column;
	flex-wrap: nowrap;
	align-content: center;
	justify-content: center;
	align-items: center;
	padding: 1em;
}


.select {
	background-color: black !important;
	font-size: 0.8em!important;
	font-family: inherit!important;
}

.explore-button img{
		width: 25rem;
}

.gold-font b{
	color: #deb573!important;
}

.avia-section {
	background-size: cover;	
}

/* .av-section-color-overlay {
	background-image: linear-gradient(to bottom right, black, #bf972f);
} */

.header-text-block {
	padding: 1rem;
}

.avia-fullscreen-slider .avia-slideshow-inner {
	background-color: #bebab9;
}

.bag-shrink li{
	background-size: contain!important;
  background-repeat: no-repeat!important;
}

.text-padding {
	margin-bottom: 1em;
	width: 46vw;
  margin-left: auto;
  margin-right: auto;
}



@media only screen and (max-width: 767px) {
	.mobile-shrink {
		height: auto !important;
	}
	
.text-padding {
	margin-bottom: 1em;
	width: unset;
  margin-left: unset;
  margin-right: unset;
}
	.av-inner-masonry-content {
		padding:0.75em!important;
	}
	
	.av-masonry-entry-title {
    font-size: 1em!important;
	}
	.av-inner-masonry-content-pos {
		background-color: #0000004d;
		border-width: 1px;
	}	
	.mobile-padding {
		padding:25px!important;
	}
	.avia-gallery-thumb {
		grid-template-columns: repeat(auto-fit,minmax(30%,1fr));
    display: grid!important;
	}
	
	.avia-gallery img { 
		padding: 2px!important;
	}
	
	.avia-gallery-thumb a{
		width: 100%!important;
		height: 4rem;
	}

/* Desktop-specific fullscreen slider height */
@media only screen and (min-width: 768px) {
    .avia-fullscreen-slider .avia-slideshow {
        height: 14rem !important; /* Apply only on desktop */
    }
}



	.slideshow_align_caption {
		margin-top:6rem!important;
		padding: 0.5em;
	}
	
	.avia-caption-title {
		text-shadow: 4px 4px 4px black;
    position: relative;
		font-size: 30px!important;
		text-align: center;
/*display contents so it appears inline with the transparent background on header title  */    
	}
	.yacht-caption .caption_bottom .slideshow_caption {
			bottom: 0!important;
		}
	
	.yacht-caption .container {
		margin-left: 0!important;
		width: 65%!important;
	}
	
	.yacht-caption .slideshow_inner_caption 	{
		padding-left: 0px!important;
	}
	.yacht-caption .slideshow_align_caption 	{
 		padding: 5px!important;
	}
		
}
.avia-slide-wrap:before {
    content: '';
    position: absolute;
    top: 2.5%;
    left: 1%;
    border: 2px solid;
    width: calc(97.8%);
    height: calc(94%);
    border-image: linear-gradient(270deg,#8a660c,#f8eab3) 1;
}

@media only screen and (max-width: 767px) {
.avia-slide-wrap:before {
    content: '';
    position: absolute;
    top: 3.5%;
    left: 1.3%;
    border: 2px solid;
    width: calc(96%);
    height: calc(92%);
    border-image: linear-gradient(270deg,#8a660c,#f8eab3) 1;
}
}
#header .av-main-nav > li > .sub-menu > li > a {color:#d5ad6d !important;}
@media (min-width: 996px){
  #header .av-main-nav > li > .sub-menu > li > a:hover {
    background-color:#000000;
    color:#d5ad6d;
  }
}

/* Overlay menu links */

#top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li a:hover {
    color:#d5ad6d;
}

/* ===== Remove grey background on mobile overlay menu ===== */
@media (max-width: 995px){
  /* Strip background from all overlay menu items */
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li a {
    background: transparent !important;
  }

  /* Also strip on hover/focus/active */
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li:hover,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li:focus,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li:active,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li:hover > a,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li:focus > a,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li:active > a {
    background: transparent !important;
  }
}
/* ===== Keep gold text on the active/current page in the burger overlay ===== */
@media (max-width: 995px){
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li.current-menu-item > a,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li.current_page_item > a {
    color: #d5ad6d !important;   /* gold text */
    background: transparent !important; /* no grey block */
  }
}

/* ===== Mobile overlay menu: only color the actual current page ===== */
@media (max-width: 995px){

  /* 0) Base color for all links */
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li > a {
    color: #ffffff !important; /* set your normal link color */
  }

  /* 1) Never turn gold on hover/tap/focus before navigation */
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li > a:hover,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li > a:active,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li > a:focus {
    color: inherit !important;       /* keep the normal color */
    background: transparent !important;
  }

  /* 2) Only the actual current page link is gold */
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li.current-menu-item > a,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li.current_page_item > a {
    color: #d5ad6d !important;       /* gold */
    background: transparent !important;
  }

  /* 3) Make sure ancestors/parents DO NOT turn gold */
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li.current-menu-ancestor > a,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li.current_page_ancestor > a,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li.current-menu-parent > a {
    color: inherit !important;        /* keep base color for top categories */
    background: transparent !important;
  }

  /* 4) Keep the grey block removed (your existing behavior) */
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li a,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li:hover,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li:focus,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li:active,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li:hover > a,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li:focus > a,
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li:active > a {
    background: transparent !important;
  }
}

/* (Optional) Kill your earlier hover-to-gold rule by overriding it specifically */
@media (max-width: 995px){
  #top #wrap_all #header .av-burger-overlay #av-burger-menu-ul li a:hover {
    color: inherit !important;  /* override the old gold-on-hover */
  }
}


.h1 {font-size:34px;}

.copyright {font-size: 18px;}

/* Adjust WooCommerce price font size */
span.woocommerce-Price-amount.amount {
  font-size: 130% !important;
}
/* Adjust WooCommerce price font size */
span.woocommerce-Price-currencySymbol {
  font-size: 130% !important;
}
