.imv-ds{--card-width:200px;--card-height:205px;--card-gap:20px;--card-radius:20px;--border-width:1px;--active-border-width:2px;--gradient-strength:95%;--animation-ms:650ms;--base_color:#091D4C;--overlay_color:#091D4C;--text_color:#fff;--muted_color:#e6eaf2;--accent_color:#327eac;--card_overlay:#07152c;--card_text:#fff;--border_color:#ffffff33;--active_border_color:#fff;--icon_background:#327eac;--icon_color:#fff;position:relative;isolation:isolate;overflow:hidden;min-height:900px;background:var(--base_color);color:var(--text_color);font-family:inherit}.imv-backdrop{position:absolute;inset:0;z-index:-3;background-size:cover;background-position:center;opacity:0;transform:scale(1.08);transition:opacity var(--animation-ms) ease,transform calc(var(--animation-ms)*1.5) ease}.imv-backdrop.is-active{opacity:1;transform:scale(1)}.imv-ds-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,var(--overlay_color) 0%,color-mix(in srgb,var(--overlay_color) 83%,transparent) 24%,transparent 76%),linear-gradient(0deg,var(--overlay_color) 0%,transparent 65%);opacity:var(--gradient-strength);pointer-events:none}.imv-ds-content{min-height:inherit;padding:80px 4.5% 85px;display:flex;flex-direction:column;justify-content:space-between;gap:70px}.imv-ds-top{max-width:550px}.imv-eyebrow{font-size:12px;letter-spacing:4px;font-weight:700;text-transform:uppercase;display:flex;align-items:center;gap:12px}.imv-eyebrow:before{content:'';width:45px;height:1px;background:currentColor}.imv-heading{font-family:Georgia,serif;font-weight:400;font-size:clamp(35px,4vw,64px);line-height:1.06;margin:32px 0 20px;color:inherit}.imv-intro{font-size:16px;line-height:1.8;color:var(--muted_color)}.imv-ds-bottom{display:grid;grid-template-columns:minmax(0,var(--imv-feature-width,390px)) minmax(0,1fr);align-items:end;gap:45px}.imv-feature{min-width:0}.imv-count{display:flex;flex-direction:column;color:var(--muted_color);margin-bottom:16px}.imv-count-number{font-family:Georgia,serif;font-size:clamp(55px,6vw,100px);line-height:1;opacity:.55}.imv-count small{font-size:19px}.imv-active-title{font-family:Georgia,serif;font-size:30px;font-weight:400;color:inherit;margin:0 0 18px}.imv-active-desc{font-size:15px;line-height:1.9;color:var(--muted_color);margin:0 0 30px}.imv-action{display:inline-flex;align-items:center;justify-content:center;gap:16px;border-radius:50px;background:var(--accent_color);color:#fff;padding:17px 30px;font-size:14px;font-weight:700;text-decoration:none;transition:transform .3s,filter .3s}.imv-action:hover{color:#fff;transform:translateY(-3px);filter:brightness(1.15)}.imv-cards{display:flex;align-items:stretch;gap:var(--card-gap);overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 3px 10px;scrollbar-width:thin}.imv-card{position:relative;flex:0 0 var(--card-width);height:var(--card-height);border:var(--border-width) solid var(--border_color);border-radius:var(--card-radius);background-size:cover;background-position:center;overflow:hidden;color:var(--card_text);text-align:left;cursor:pointer;scroll-snap-align:start;padding:12px;display:flex;flex-direction:column;justify-content:space-between;transition:transform .4s ease,border-color .35s ease,box-shadow .35s ease;background-color:#203c55;font-family:inherit}.imv-card:before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,var(--card_overlay),transparent 95%);opacity:.8;transition:opacity .4s}.imv-card:hover{transform:translateY(-5px)}.imv-card:hover:before{opacity:1}.imv-card.is-active{border:var(--active-border-width) solid var(--active_border_color);box-shadow:0 0 0 1px #ffffff22}.imv-card-icon,.imv-card-copy{position:relative;z-index:1}.imv-card-icon{width:39px;height:39px;border-radius:12px;display:grid;place-items:center;background:var(--icon_background);color:var(--icon_color);font-size:21px}.imv-card-icon img{width:24px;height:24px;object-fit:contain}.imv-card-copy{display:flex;flex-direction:column;gap:5px}.imv-card-title{font:normal 19px/1.2 Georgia,serif}.imv-card-desc{font-size:10px;line-height:1.6}.imv-card-link{font-size:11px;color:#67b5ed;font-weight:600}.imv-feature.is-changing{animation:imvReveal .5s ease both}@keyframes imvReveal{from{opacity:.2;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@media(max-width:1024px){.imv-ds{min-height:800px}.imv-ds-bottom{grid-template-columns:1fr;gap:30px}.imv-feature{max-width:520px}.imv-ds-content{padding:65px 5%;gap:80px}}@media(max-width:767px){.imv-ds{min-height:0;--card-width:170px;--card-height:195px;--card-gap:12px}.imv-ds-content{min-height:0;padding:45px 20px 55px;gap:60px}.imv-heading{margin:20px 0}.imv-active-title{font-size:25px}.imv-ds-bottom{gap:28px}.imv-count-number{font-size:60px}.imv-ds-shade{background:linear-gradient(90deg,var(--overlay_color),transparent 100%),linear-gradient(0deg,var(--overlay_color),transparent 85%)}}

/* v1.0.1: Keep the horizontal card rail functional without a visible scrollbar.
   Elementor's narrower editing canvas must not cause the rail to overflow its grid. */
.imv-ds,.imv-ds-content,.imv-ds-bottom{min-width:0;max-width:100%}
.imv-ds-bottom > *{min-width:0}
.imv-ds .imv-cards{
  min-width:0;
  max-width:100%;
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  -ms-overflow-style:none;
  overscroll-behavior-x:contain;
  touch-action:pan-x pan-y;
}
.imv-ds .imv-cards::-webkit-scrollbar{display:none;width:0;height:0}
.imv-ds .imv-card{min-width:0;box-sizing:border-box}
.imv-ds .imv-card-title,.imv-ds .imv-card-desc{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  overflow:hidden;
  overflow-wrap:anywhere;
}
.imv-ds .imv-card-title{-webkit-line-clamp:2;line-clamp:2}
.imv-ds .imv-card-desc{-webkit-line-clamp:2;line-clamp:2}
/* Narrow Elementor canvas / container: stack active details above the rail. */
.imv-ds-content{container-type:inline-size}
@container (max-width:850px){
 .imv-ds-bottom{grid-template-columns:minmax(0,1fr);gap:30px}
 .imv-feature{max-width:520px}
}

/* v1.0.2 — Frontend UI hardening.
   WordPress themes often apply global button background, text align, position,
   button line height, text colours and hover styles to Elementor widgets. */
.imv-ds .imv-ds-content {
  position:relative;
  z-index:2;
  box-sizing:border-box;
}
.imv-ds .imv-ds-top,
.imv-ds .imv-feature,
.imv-ds .imv-ds-bottom {text-align:left;}
.imv-ds .imv-eyebrow,
.imv-ds .imv-heading,
.imv-ds .imv-active-title {color:var(--text_color);}
.imv-ds .imv-intro,
.imv-ds .imv-active-desc,
.imv-ds .imv-count {color:var(--muted_color);}
.imv-ds .imv-count-number{color:inherit;}
.imv-ds .imv-ds-bottom {
  width:100%;
  align-items:end;
}
.imv-ds .imv-cards {
  position:relative;
  display:flex;
  align-items:stretch;
  flex-wrap:nowrap;
  justify-content:flex-start;
  box-sizing:border-box;
}
.imv-ds div.imv-card,
.imv-ds div.imv-card:hover,
.imv-ds div.imv-card:focus,
.imv-ds div.imv-card:active {
  /* Override button CSS from the site theme without removing user style variables. */
  -webkit-appearance:none;
  appearance:none;
  position:relative;
  isolation:isolate;
  box-sizing:border-box;
  flex:0 0 var(--card-width);
  width:var(--card-width);
  min-width:var(--card-width);
  max-width:none;
  height:var(--card-height);
  min-height:0;
  margin:0;
  padding:12px;
  border-style:solid;
  border-width:var(--border-width);
  border-color:var(--border_color);
  border-radius:var(--card-radius);
  background-color:#203c55;
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center;
  color:var(--card_text);
  font-family:inherit;
  font-size:inherit;
  font-weight:400;
  line-height:normal;
  text-align:left;
  text-decoration:none;
  text-transform:none;
  letter-spacing:normal;
  box-shadow:none;
  outline-offset:3px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:space-between;
  gap:12px;
  vertical-align:top;
  cursor:pointer;
  transition:transform .4s ease,border-color .35s ease,box-shadow .35s ease;
}
.imv-ds div.imv-card:hover {transform:translateY(-4px);}
.imv-ds div.imv-card.is-active,
.imv-ds div.imv-card.is-active:hover,
.imv-ds div.imv-card.is-active:focus {
  border-width:var(--active-border-width);
  border-color:var(--active_border_color);
  box-shadow:0 0 0 1px #ffffff22;
}
.imv-ds .imv-card::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(4,13,29,.03) 0%,rgba(4,13,29,.10) 27%,rgba(4,13,29,.72) 77%,var(--card_overlay) 100%);
  opacity:.88;
  transition:opacity .4s ease;
}
.imv-ds div.imv-card:hover::before,
.imv-ds div.imv-card.is-active::before {opacity:1;}
.imv-ds .imv-card-icon {
  display:grid;
  place-items:center;
  flex:0 0 auto;
  align-self:flex-start;
  position:relative;
  z-index:1;
  margin:0;
  line-height:1;
  background:var(--icon_background);
  color:var(--icon_color);
}
.imv-ds .imv-card-copy {
  display:flex;
  flex:0 0 auto;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-end;
  gap:5px;
  position:relative;
  z-index:1;
  width:100%;
  min-width:0;
  margin-top:auto;
  text-align:left;
  color:var(--card_text);
}
.imv-ds .imv-card-title,
.imv-ds .imv-card-desc,
.imv-ds .imv-card-link {
  position:static;
  padding:0;
  margin:0;
  width:100%;
  text-align:left;
  text-indent:0;
  text-transform:none;
  letter-spacing:normal;
}
.imv-ds .imv-card-title {
  font-family:Georgia,serif;
  font-size:19px;
  font-weight:400;
  line-height:1.18;
  color:var(--card_text) !important;
}
.imv-ds .imv-card-desc {
  font-family:inherit;
  font-size:10px;
  font-weight:400;
  line-height:1.5;
  color:var(--card_text) !important;
}
.imv-ds .imv-card-link {
  font-family:inherit;
  font-size:11px;
  font-weight:600;
  line-height:1.4;
  color:var(--accent_color);
}
.imv-ds .imv-action,
.imv-ds .imv-action:hover,
.imv-ds .imv-action:focus {
  background:var(--accent_color);
  color:#fff;
  border:0;
  text-decoration:none;
}
/* Responsive widths are intentionally not overwritten: the editor controls
   and v1.0.1 hidden-scrollbar behavior remain functional. */
@media(max-width:767px){
 .imv-ds div.imv-card,
 .imv-ds div.imv-card:hover,
 .imv-ds div.imv-card:focus {flex-basis:var(--card-width);width:var(--card-width);min-width:var(--card-width)}
}

/* v1.0.3 — Show complete card copy, wrapping onto the next line.
   Treat the Elementor Card Height setting as a minimum so longer taxonomy
   names/descriptions can expand the card instead of being cropped. */
.imv-ds div.imv-card,
.imv-ds div.imv-card:hover,
.imv-ds div.imv-card:focus,
.imv-ds div.imv-card:active {
  height:auto;
  min-height:var(--card-height);
}
.imv-ds .imv-card-copy { flex-shrink:0; }
.imv-ds .imv-card-title,
.imv-ds .imv-card-desc,
.imv-ds .imv-card-link {
  display:block;
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  overflow-wrap:break-word;
  word-break:normal;
  -webkit-line-clamp:unset;
  line-clamp:unset;
  -webkit-box-orient:initial;
  max-height:none;
}


/* v1.0.5 — BACKGROUND IMAGE TRANSITIONS ONLY.
   Uses the original v1.0.3 layer order, gradient, card styles and JS.
   No styling outside .imv-backdrop is changed. */
.imv-ds[data-transition="fade"] .imv-backdrop:not(.is-active){transform:scale(1.08)}
.imv-ds[data-transition="slide_lr"] .imv-backdrop:not(.is-active){transform:translateX(-7%) scale(1.16)}
.imv-ds[data-transition="slide_rl"] .imv-backdrop:not(.is-active){transform:translateX(7%) scale(1.16)}
.imv-ds[data-transition="slide_tb"] .imv-backdrop:not(.is-active){transform:translateY(-7%) scale(1.16)}
.imv-ds[data-transition="slide_bt"] .imv-backdrop:not(.is-active){transform:translateY(7%) scale(1.16)}
.imv-ds[data-transition="zoom_in"] .imv-backdrop:not(.is-active){transform:scale(.92)}
.imv-ds[data-transition="zoom_out"] .imv-backdrop:not(.is-active){transform:scale(1.20)}
.imv-ds[data-transition="ken_burns"] .imv-backdrop:not(.is-active){transform:scale(1.16) translate(-2%,2%)}
.imv-ds[data-transition="ken_burns"] .imv-backdrop{transition:opacity var(--animation-ms) ease,transform calc(var(--animation-ms) * 2) ease}

/* v1.0.6 – Heading italic spans only; all previous styles remain unchanged. */
.imv-ds .imv-heading em,.imv-ds .imv-heading i{font-style:italic;}

/* v1.0.8: Independently editable count number and count label typography.
   The Elementor-generated typography selectors intentionally use higher specificity
   than the historical default rules; no card or background styles changed. */
.imv-ds .imv-count-number { display:block; }
.imv-ds .imv-count small { display:block; }

/* v1.0.9 — Keep number and label in normal flow without overlapping.
   Explicit gap sliders can override row-gap; no unrelated styles changed. */
.imv-ds .imv-count {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  row-gap:6px;
}
.imv-ds .imv-count .imv-count-number,
.imv-ds .imv-count small {
  display:block;
  position:relative;
  top:auto;
  bottom:auto;
  float:none;
  clear:both;
  flex:none;
  width:auto;
  max-width:100%;
  height:auto;
  margin:0;
  padding:0;
  transform:none;
}
.imv-ds .imv-count .imv-count-number {line-height:1.1;}
.imv-ds .imv-count small {line-height:1.4;}


/* v1.0.10 — Stable count label positioning across single/multi-digit numbers.
   Isolated to the count group; respects Elementor's number/label gap slider. */
.imv-ds .imv-count {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: max-content;
    max-width: 100%;
    height: auto;
}
.imv-ds .imv-count .imv-count-number {
    display: block;
    flex: 0 0 auto;
    width: auto;
    height: auto;
    min-height: 1.25em;
    line-height: 1.25 !important;
    box-sizing: content-box;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    position: static;
    transform: none;
}
.imv-ds .imv-count small {
    display: block;
    flex: 0 0 auto;
    position: static;
    line-height: 1.4;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    white-space: normal;
    transform: none;
}

/* v1.0.11 — Remove the artificial 1.25em number box added in v1.0.10.
   One- and two-digit counts now use identical typography-based spacing,
   while Elementor's Number → Label gap slider remains in control. */
.imv-ds .imv-count {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: auto;
}
.imv-ds .imv-count .imv-count-number {
  display: block;
  min-height: 0 !important;
  height: auto !important;
  line-height: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  vertical-align: baseline;
}
.imv-ds .imv-count small {
  display: block;
  min-height: 0;
  height: auto;
  line-height: 1.2;
  padding: 0;
  margin: 0;
}

/* v1.0.12: Optical number-to-label gap, accounting for glyph descenders
   (e.g. Georgia 5 vs 10). User-defined row-gap is unchanged. */
.imv-ds .imv-count .imv-count-number {
  margin-bottom: calc(-1px * var(--imv-count-ink-tail, 0)) !important;
}

/* v1.0.13: isolated common-button appearance and default shadow. */
.imv-ds a.imv-action,
.imv-ds a.imv-action:hover,
.imv-ds a.imv-action:focus {
  box-shadow:0px 4px 19.1px 0px #35719D;
  transition:transform .3s ease,filter .3s ease,background-color .3s ease,color .3s ease,box-shadow .3s ease;
}
.imv-ds a.imv-action--outline,
.imv-ds a.imv-action--outline:hover,
.imv-ds a.imv-action--outline:focus {
  background:transparent;
  border:1px solid var(--accent_color);
}
.imv-ds a.imv-action--text,
.imv-ds a.imv-action--text:hover,
.imv-ds a.imv-action--text:focus {
  background:transparent;
  border:0;
}


/* v1.0.14 — Only common button's selectable Elementor icon. */
.imv-ds a.imv-action .imv-action-icon {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  line-height:1;
  font-size:1em;
  color:inherit;
}
.imv-ds a.imv-action .imv-action-icon i {display:block;line-height:1;}
.imv-ds a.imv-action .imv-action-icon svg {
  display:block;
  width:1em;
  height:1em;
  fill:currentColor;
}
.imv-ds a.imv-action .imv-action-label {display:inline-block;}

/* v1.0.16: ACF taxonomy card Explore link */
.imv-ds div.imv-card {cursor:pointer}
.imv-ds .imv-card:focus-visible {outline:2px solid #fff;outline-offset:2px}
.imv-ds a.imv-card-link,
.imv-ds a.imv-card-link:visited {
  position:relative;z-index:3;display:inline-flex;flex-direction:row;
  align-items:center;justify-content:flex-start;width:fit-content;
  max-width:100%;gap:4px;text-decoration:none;
  color:var(--accent_color);background:transparent;
  transition:color .25s ease,background-color .25s ease;cursor:pointer;
}
.imv-ds a.imv-card-link:hover {text-decoration:none;filter:brightness(1.15)}
.imv-ds .imv-card-link-icon {display:inline-flex;align-items:center;line-height:1;font-size:inherit}
.imv-ds .imv-card-link-icon svg {width:1em;height:1em;fill:currentColor}

/* v1.0.17 — Card Explore icon support (separate from main button) */
.imv-ds a.imv-card-link .imv-card-link-icon{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;line-height:1;font-size:inherit;color:inherit;}
.imv-ds a.imv-card-link .imv-card-link-icon i{display:block;line-height:1;color:inherit;}
.imv-ds a.imv-card-link .imv-card-link-icon svg{display:block;width:1em;height:1em;fill:currentColor;color:inherit;}


/* v1.0.20 — mobile height is truly content-driven.
 * The historic 850px section minimum plus inherited content minimum
 * used to force extra height. This patch touches only this widget.
 * No Elementor ancestor is edited by JS. */
@media (max-width: 767px) {
  /* Do not keep the original 850px mobile fallback if a saved widget lacks
     the new setting. Elementor's mobile Min Height slider still works in
     Custom mode (generated selector has greater specificity). */
  .imv-ds {
    height: auto;
    min-height: 0;
  }
  .imv-ds > .imv-ds-content {
    height: auto;
    min-height: 0;
    justify-content: flex-start;
  }
  /* Auto is explicitly opt-out (new instances and previously saved widgets).
     !important beats existing Elementor responsive min-height slider values. */
  .imv-ds.imv-ds--mobile-auto {
    display: block;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
  .imv-ds.imv-ds--mobile-auto > .imv-ds-content {
    display: flex;
    flex-direction: column;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    justify-content: flex-start !important;
    padding-bottom: 28px;
    gap: 24px;
  }
  .imv-ds.imv-ds--mobile-auto .imv-ds-bottom {
    align-content: start;
    gap: 24px;
    height: auto;
    min-height: 0;
  }
  .imv-ds.imv-ds--mobile-auto .imv-cards {
    height: auto;
    min-height: 0;
  }
  /* Fix any extra height attached to the widget *itself*, not its parent
     containers. :has() support: current Chrome/Safari/Firefox and Elementor. */
  .elementor-widget-imv_destination_showcase:has(.imv-ds--mobile-auto),
  .elementor-widget-imv_destination_showcase:has(.imv-ds--mobile-auto) > .elementor-widget-container {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
}


/* v1.0.21 — Mobile Elementor wrapper stretch fix.
 * Live diagnostic: showcase 1057px; its widget and nearest parent 2426px.
 * Unlike a min-height patch, this removes flex stretching in the two wrappers.
 * Scoped only to mobile auto-height and widget-only Elementor parent.
 */
@media (max-width: 767px) {
  .elementor-widget-imv_destination_showcase:has(.imv-ds--mobile-parent-fit) {
    height: fit-content !important;
    min-height: 0 !important;
    max-height: none !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    flex-basis: auto !important;
  }
  .e-con:has(> .elementor-widget-imv_destination_showcase:only-child .imv-ds--mobile-parent-fit),
  .elementor-column:has(> .elementor-widget-imv_destination_showcase:only-child .imv-ds--mobile-parent-fit) {
    --min-height: 0px;
    height: fit-content !important;
    min-height: 0 !important;
    max-height: none !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    flex-basis: auto !important;
  }
}


/* v1.0.22 — does not alter the showcase itself or desktop layout.
 * The JS synchronizes the height of only this widget and its exclusive parent. */
@media (max-width:767px) {
  .elementor-widget:has(> .elementor-widget-container > .imv-ds--mobile-parent-fit) {
    min-height: 0 !important;
    max-height: none !important;
  }
}

/* v1.0.23: responsive width for the active destination details.
   The desktop grid uses --imv-feature-width above; on the already stacked
   tablet/mobile layouts this max-width controls the details independently
   without narrowing or changing the category cards below. */
.imv-ds .imv-feature {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--imv-feature-width, 520px);
}
