/* v2.11.7 editorial content style */
.swc-mode-strip .swc-caption-wrap{
  background: #f7f7f5 !important;
  padding: 56px 38px 44px !important;
  margin-top: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  text-align: center !important;
}

.swc-mode-strip .swc-caption{
  position: relative !important;
  display: block !important;
  margin: 0 auto !important;
  padding: 0 0 26px !important;
  max-width: 520px !important;
  color: #111 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: 0.34em !important;
  text-transform: uppercase !important;
  text-align: center !important;
}

.swc-mode-strip .swc-caption::after{
  content: "" !important;
  display: block !important;
  width: 52px !important;
  height: 3px !important;
  background: #111 !important;
  margin: 20px auto 0 !important;
}

.swc-mode-strip .swc-caption a{
  color: inherit !important;
  text-decoration: none !important;
  display: inline !important;
}

.swc-mode-strip .swc-cap-icon{
  display: none !important;
}

.swc-mode-strip .swc-subcaption{
  display: block !important;
  max-width: 620px !important;
  margin: 0 auto 28px !important;
  color: #111 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 17px !important;
  line-height: 1.95 !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  text-align: center !important;
  opacity: 1 !important;
}

.swc-mode-strip .swc-buttons{
  width: 100% !important;
  max-width: 620px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 14px !important;
}

.swc-mode-strip .swc-btn,
.swc-mode-strip .swc-btn:visited{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  padding: 14px 28px !important;
  border: 1px solid #111 !important;
  border-radius: 0 !important;
  background: #111 !important;
  color: #fff !important;
  box-shadow: none !important;
  text-transform: uppercase !important;
  letter-spacing: 0.22em !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.swc-mode-strip .swc-btn:hover{
  background: #1d1d1d !important;
  color: #fff !important;
  border-color: #1d1d1d !important;
  opacity: 1 !important;
}

.swc-mode-strip .swc-btn-quick{
  min-width: 180px !important;
}

.swc-mode-strip .swc-btn-book{
  min-width: 180px !important;
}

.swc-mode-strip .swc-buttons .swc-btn:only-child{
  width: 100% !important;
  max-width: none !important;
}

@media (max-width: 767px){
  .swc-mode-strip .swc-caption-wrap{
    padding: 38px 22px 30px !important;
  }

  .swc-mode-strip .swc-caption{
    font-size: 16px !important;
    letter-spacing: 0.26em !important;
    padding-bottom: 22px !important;
  }

  .swc-mode-strip .swc-caption::after{
    width: 44px !important;
    margin-top: 18px !important;
  }

  .swc-mode-strip .swc-subcaption{
    font-size: 15px !important;
    line-height: 1.8 !important;
    margin-bottom: 22px !important;
  }

  .swc-mode-strip .swc-buttons{
    gap: 10px !important;
  }

  .swc-mode-strip .swc-btn,
  .swc-mode-strip .swc-btn:visited{
    min-height: 42px !important;
    padding: 13px 18px !important;
    font-size: 11px !important;
    letter-spacing: 0.18em !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }
}



/* v2.15.0 caption height option */
.swc-mode-strip .swc-caption-wrap{
  min-height: var(--swc-caption-height, 0px);
}

.swc-wrap[style*="--swc-caption-height:0px"] .swc-caption-wrap{
  min-height: 0;
}



/* v2.15.1 subcaption height option */
.swc-mode-strip .swc-subcaption{
  min-height: var(--swc-subcaption-height, 0px);
}

.swc-wrap[style*="--swc-subcaption-height:0px"] .swc-subcaption{
  min-height: 0;
}


/* v2.15.2 center subcaption vertically */
.swc-subcaption{
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}


/* v2.15.3 true vertical centering for subcaption */
.swc-mode-strip .swc-subcaption{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  box-sizing:border-box !important;
  width:100% !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

.swc-mode-strip .swc-subcaption > *{
  margin-top:0 !important;
  margin-bottom:0 !important;
}

/* when a fixed subcaption height is set, keep content exactly in the middle */
.swc-wrap[style*="--swc-subcaption-height:"] .swc-subcaption{
  min-height: var(--swc-subcaption-height, 0px) !important;
}

/* if height is zero, keep natural height */
.swc-wrap[style*="--swc-subcaption-height:0px"] .swc-subcaption{
  min-height: 0 !important;
  display:block !important;
}


/* v2.15.4 caption title height */
.swc-caption{
  min-height: var(--swc-caption-title-height, 0px);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.swc-wrap[style*="--swc-caption-title-height:0px"] .swc-caption{
  min-height:0;
  display:block;
}


/* v2.15.6 caption title height visible option */
.swc-caption{
  min-height: var(--swc-caption-title-height, 0px);
  box-sizing: border-box;
}
.swc-wrap[style*="--swc-caption-title-height:0px"] .swc-caption{
  min-height: 0;
}

/* v2.17.0/2.17.1 mobile responsive sizing
   Keeps desktop settings intact, but caps oversized carousel cards on tablets and phones. */
@media (max-width: 1024px){
  .swc-mode-strip .swc-viewport{
    height: min(var(--swc-height, 520px), 620px) !important;
  }

  .swc-mode-strip .swc-item{
    width: min(var(--swc-w, 320px), 46vw) !important;
    max-width: 46vw !important;
  }

  .swc-mode-strip .swc-item img{
    height: min(var(--swc-image-height, var(--swc-item-h, 320px)), 46vw, 430px) !important;
  }

  .swc-wrap[style*="--swc-image-height:0px"] .swc-item img{
    height: min(var(--swc-item-h, 320px), 46vw, 430px) !important;
  }
}

@media (max-width: 767px){
  .swc-wrap{
    --swc-mobile-card-width: calc(100vw - 44px);
    overflow: hidden !important;
  }

  .swc-mode-strip .swc-viewport{
    height: min(var(--swc-height, 520px), 560px) !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
  }

  .swc-mode-strip .swc-item{
    width: min(var(--swc-w, 320px), var(--swc-mobile-card-width)) !important;
    max-width: var(--swc-mobile-card-width) !important;
  }

  .swc-mode-strip .swc-item img{
    height: min(var(--swc-image-height, var(--swc-item-h, 320px)), 64vw, 380px) !important;
    max-width: 100% !important;
  }

  .swc-wrap[style*="--swc-image-height:0px"] .swc-item img{
    height: min(var(--swc-item-h, 320px), 64vw, 380px) !important;
  }

  .swc-arrows{
    top: max(10px, calc(var(--swc-pad-top, 0px) * .35)) !important;
    gap: 34px !important;
  }

  .swc-wrap[style*="--swc-pad-top:0px"] .swc-arrows{
    top: 12px !important;
  }

  .swc-arrow{
    width: 76px !important;
    height: 34px !important;
  }

  .swc-arrow::before{
    left: 10px !important;
    right: 10px !important;
    height: 1px !important;
  }

  .swc-arrow::after{
    border-top-width: 7px !important;
    border-bottom-width: 7px !important;
  }

  .swc-arrow-left::after{
    border-right-width: 10px !important;
  }

  .swc-arrow-right::after{
    border-left-width: 10px !important;
  }

  .swc-mode-strip .swc-caption-wrap{
    padding: 24px 16px 22px !important;
    min-height: min(var(--swc-content-height, 0px), 250px) !important;
  }

  .swc-mode-strip .swc-caption{
    max-width: 100% !important;
    font-size: clamp(13px, 3.7vw, 15px) !important;
    line-height: 1.28 !important;
    letter-spacing: 0.14em !important;
    padding-bottom: 16px !important;
    min-height: min(var(--swc-caption-title-height, 0px), 90px) !important;
  }

  .swc-mode-strip .swc-caption::after{
    width: 38px !important;
    height: 2px !important;
    margin-top: 14px !important;
  }

  .swc-mode-strip .swc-subcaption{
    max-width: 100% !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    margin-bottom: 16px !important;
    min-height: min(var(--swc-subcaption-height, 0px), 150px) !important;
  }

  .swc-mode-strip .swc-buttons{
    max-width: 100% !important;
    gap: 8px !important;
  }

  .swc-mode-strip .swc-btn,
  .swc-mode-strip .swc-btn:visited{
    min-height: 38px !important;
    padding: 10px 14px !important;
    font-size: 10px !important;
    letter-spacing: 0.12em !important;
    white-space: normal !important;
    min-width: 0 !important;
  }

  .swc-mode-strip .swc-btn-quick,
  .swc-mode-strip .swc-btn-book{
    min-width: 0 !important;
  }
}

@media (max-width: 480px){
  .swc-wrap{
    --swc-mobile-card-width: 86vw;
  }

  .swc-mode-strip .swc-viewport{
    height: min(var(--swc-height, 520px), 500px) !important;
  }

  .swc-mode-strip .swc-item{
    width: min(var(--swc-w, 320px), 86vw) !important;
    max-width: 86vw !important;
  }

  .swc-mode-strip .swc-item img{
    height: min(var(--swc-image-height, var(--swc-item-h, 320px)), 60vw, 300px) !important;
  }

  .swc-wrap[style*="--swc-image-height:0px"] .swc-item img{
    height: min(var(--swc-item-h, 320px), 60vw, 300px) !important;
  }

  .swc-mode-strip .swc-caption-wrap{
    padding: 20px 14px 20px !important;
    min-height: min(var(--swc-content-height, 0px), 220px) !important;
  }

  .swc-mode-strip .swc-caption{
    font-size: 13px !important;
    letter-spacing: 0.08em !important;
    padding-bottom: 14px !important;
  }

  .swc-mode-strip .swc-subcaption{
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    margin-bottom: 14px !important;
  }

  .swc-mode-strip .swc-buttons{
    flex-direction: column !important;
    align-items: center !important;
  }

  .swc-mode-strip .swc-btn,
  .swc-mode-strip .swc-btn:visited{
    width: 100% !important;
    max-width: 230px !important;
  }
}


/* v2.17.1 mobile fix for image+caption carousels
   The third Ovea homepage carousel uses small per-item image heights on desktop.
   On phones those values created a thin cropped strip above each text card.
   These rules only affect carousel items that have caption/text blocks. */
@media (max-width: 767px){
  .swc-mode-strip.swc-has-captions .swc-viewport{
    height: auto !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
  }

  .swc-mode-strip.swc-has-captions .swc-track,
  .swc-mode-strip.swc-has-captions .swc-seq,
  .swc-mode-strip.swc-has-captions .swc-seq-clone{
    height: auto !important;
    align-items: flex-start !important;
  }

  .swc-mode-strip.swc-has-captions .swc-item-has-caption{
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    transform: none !important;
  }

  .swc-mode-strip.swc-has-captions .swc-item-has-caption > img{
    height: clamp(155px, 44vw, 240px) !important;
    min-height: clamp(155px, 44vw, 240px) !important;
    max-height: 240px !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .swc-mode-strip.swc-has-captions .swc-caption-wrap{
    height: auto !important;
    min-height: 0 !important;
  }
}

@media (max-width: 480px){
  .swc-mode-strip.swc-has-captions .swc-item-has-caption > img{
    height: clamp(150px, 46vw, 210px) !important;
    min-height: clamp(150px, 46vw, 210px) !important;
    max-height: 210px !important;
  }
}
