/* ==========================================================================
   DESTINATION SPOTLIGHT & PLACES SHOWCASE - ELEMENTOR WIDGET STYLES
   ========================================================================== */

.tm-destination-spotlight {
  --vn-blue: #0064C1;
  --vn-deep: #003463;
  --vn-orange: #F8753A;
  --vn-orange-dark: #E4622A;
  --vn-white: #ffffff;
  --vn-paper: #F8FAFD;
  --vn-ink: #0E2136;
  --vn-muted: #647487;
  --vn-line: #E5EAF0;
  --vn-display: "Fraunces", Georgia, serif;
  --vn-body: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --vn-radius: 30px;
  width: 100%;
  position: relative;
  box-sizing: border-box;
  font-family: var(--vn-body);
  color: var(--vn-ink);
  -webkit-font-smoothing: antialiased;
}

.tm-destination-spotlight * {
  box-sizing: border-box;
}

.tm-destination-spotlight button,
.tm-destination-spotlight a {
  font: inherit;
}

.tm-destination-spotlight img {
  max-width: 100%;
  display: block;
}

/* Ensure Elementor wrapper doesn't constrain or add margins */
.elementor-widget-destination-spotlight {
  width: 100%;
  margin: 0 !important;
}

.elementor-widget-destination-spotlight > .elementor-widget-container {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

/* --------------------------------------------------------------------------
   OUTER SECTION WRAPPER & FULLSCREEN BREAKOUT (NO LEFT/RIGHT SPACE)
   -------------------------------------------------------------------------- */
.tm-destination-spotlight .vn-section {
  width: 100%;
  padding: clamp(18px, 4vw, 48px) 0;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
}

/* Fullscreen Edge-to-Edge Breakout for Desktop & Mobile (Zero Side Gap) */
.tm-destination-spotlight.vn-mode-fullscreen,
.tm-destination-spotlight[data-full-width="yes"] {
  position: relative !important;
  width: 100vw !important;
  width: var(--tm-spotlight-vw, 100vw) !important;
  max-width: var(--tm-spotlight-vw, 100vw) !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-left: calc(-1 * var(--tm-spotlight-vw, 100vw) / 2) !important;
  margin-right: -50vw !important;
  margin-right: calc(-1 * var(--tm-spotlight-vw, 100vw) / 2) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

.tm-destination-spotlight.vn-mode-fullscreen .vn-section,
.tm-destination-spotlight[data-full-width="yes"] .vn-section {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

/* --------------------------------------------------------------------------
   SHELL CARD CONTAINER (Desktop Split Grid)
   -------------------------------------------------------------------------- */
.tm-destination-spotlight .vn-shell {
  width: min(1220px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, .98fr);
  min-height: 680px;
  overflow: hidden;
  border: 1px solid rgba(14, 33, 54, .08);
  border-radius: var(--vn-radius);
  background: var(--vn-white);
  box-shadow: 0 28px 80px rgba(14, 33, 54, .11);
  position: relative;
  transition: border-radius 0.3s ease, box-shadow 0.3s ease;
}

/* Fullscreen desktop mode fills viewport with 0 side margins */
.tm-destination-spotlight.vn-mode-fullscreen .vn-shell,
.tm-destination-spotlight[data-full-width="yes"] .vn-shell {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 100vh;
  min-height: 100dvh;
}

@media (min-width: 981px) {
  .tm-destination-spotlight.vn-mode-fullscreen .vn-shell,
  .tm-destination-spotlight[data-full-width="yes"] .vn-shell {
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    min-height: 100vh;
    min-height: 100dvh;
  }
  .tm-destination-spotlight.vn-mode-fullscreen .vn-hero,
  .tm-destination-spotlight[data-full-width="yes"] .vn-hero {
    min-height: 100vh !important;
    min-height: 100dvh !important;
    height: 100%;
  }
  .tm-destination-spotlight.vn-mode-fullscreen .vn-content,
  .tm-destination-spotlight[data-full-width="yes"] .vn-content {
    min-height: 100vh;
    min-height: 100dvh;
    overflow-y: auto;
  }
}

/* --------------------------------------------------------------------------
   LEFT HERO BANNER
   -------------------------------------------------------------------------- */
.tm-destination-spotlight .vn-hero {
  position: relative;
  min-height: 680px;
  isolation: isolate;
  overflow: hidden;
  background: var(--vn-deep);
}

.tm-destination-spotlight .vn-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 52, 99, .02) 15%, rgba(0, 52, 99, .18) 48%, rgba(0, 24, 48, .90) 100%),
    linear-gradient(90deg, rgba(0, 28, 56, .25), transparent 65%);
  pointer-events: none;
}

.tm-destination-spotlight .vn-hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 420px;
  height: 420px;
  right: -230px;
  top: -230px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, .025), 0 0 0 140px rgba(255, 255, 255, .018);
  pointer-events: none;
}

.tm-destination-spotlight .vn-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}

.tm-destination-spotlight .vn-shell:hover .vn-hero-image {
  transform: scale(1.055);
}

.tm-destination-spotlight .vn-location {
  position: absolute;
  z-index: 4;
  top: 25px;
  left: 25px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(0, 35, 69, .50);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.tm-destination-spotlight .vn-location-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vn-orange);
  box-shadow: 0 0 0 4px rgba(248, 117, 58, .14);
}

.tm-destination-spotlight .vn-hero-content {
  position: absolute;
  z-index: 4;
  left: clamp(26px, 4vw, 52px);
  right: clamp(26px, 4vw, 52px);
  bottom: clamp(30px, 5vw, 55px);
  color: #fff;
}

.tm-destination-spotlight .vn-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FF9A69;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.tm-destination-spotlight .vn-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--vn-orange);
}

.tm-destination-spotlight .vn-title {
  margin-top: 11px;
  font-family: var(--vn-display);
  font-size: clamp(64px, 8vw, 108px);
  font-weight: 600;
  line-height: .82;
  letter-spacing: -.055em;
  color: #fff;
}

.tm-destination-spotlight .vn-title span {
  color: var(--vn-orange);
}

.tm-destination-spotlight .vn-hero-copy {
  max-width: 570px;
  margin-top: 19px;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  line-height: 1.75;
}

.tm-destination-spotlight .vn-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 23px;
  color: rgba(255, 255, 255, .62);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tm-destination-spotlight .vn-meta-line {
  width: 34px;
  height: 1px;
  background: rgba(255, 255, 255, .35);
  display: inline-block;
}

/* --------------------------------------------------------------------------
   RIGHT CONTENT SECTION
   -------------------------------------------------------------------------- */
.tm-destination-spotlight .vn-content {
  position: relative;
  padding: clamp(34px, 4vw, 52px) clamp(24px, 4vw, 48px) 34px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 100, 193, .055), transparent 34%),
    linear-gradient(145deg, #fff 0%, #fff 72%, #F7FAFE 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tm-destination-spotlight.vn-mode-fullscreen .vn-content,
.tm-destination-spotlight[data-full-width="yes"] .vn-content {
  padding: clamp(40px, 4vw, 60px) clamp(30px, 5vw, 64px);
}

.tm-destination-spotlight .vn-content-head {
  max-width: 520px;
}

.tm-destination-spotlight .vn-kicker {
  color: var(--vn-orange);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.tm-destination-spotlight .vn-heading {
  margin-top: 8px;
  color: var(--vn-deep);
  font-family: var(--vn-display);
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.035em;
}

.tm-destination-spotlight .vn-heading em {
  color: var(--vn-orange);
  font-style: italic;
}

.tm-destination-spotlight .vn-intro {
  max-width: 470px;
  margin-top: 12px;
  color: var(--vn-muted);
  font-size: 10.5px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   PLACES & DESTINATIONS LIST
   -------------------------------------------------------------------------- */
.tm-destination-spotlight .vn-list {
  position: relative;
  margin-top: 28px;
  display: grid;
  gap: 10px;
}

.tm-destination-spotlight .vn-place {
  position: relative;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 15px;
  min-width: 0;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--vn-line);
  opacity: 0;
  transform: translateY(13px);
  transition:
    opacity .65s cubic-bezier(.2, .7, .2, 1),
    transform .65s cubic-bezier(.2, .7, .2, 1);
  text-decoration: none;
  color: inherit;
}

.tm-destination-spotlight .vn-place:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

/* Visible state triggered by IntersectionObserver */
.tm-destination-spotlight .vn-place.vn-visible,
.elementor-editor-active .tm-destination-spotlight .vn-place {
  opacity: 1 !important;
  transform: none !important;
}

.tm-destination-spotlight .vn-place:nth-child(1) { transition-delay: .03s; }
.tm-destination-spotlight .vn-place:nth-child(2) { transition-delay: .10s; }
.tm-destination-spotlight .vn-place:nth-child(3) { transition-delay: .17s; }
.tm-destination-spotlight .vn-place:nth-child(4) { transition-delay: .24s; }
.tm-destination-spotlight .vn-place:nth-child(5) { transition-delay: .31s; }
.tm-destination-spotlight .vn-place:nth-child(6) { transition-delay: .38s; }
.tm-destination-spotlight .vn-place:nth-child(7) { transition-delay: .45s; }
.tm-destination-spotlight .vn-place:nth-child(8) { transition-delay: .52s; }

.tm-destination-spotlight .vn-place-image {
  position: relative;
  width: 108px;
  height: 82px;
  overflow: hidden;
  border-radius: 15px;
  background: var(--vn-paper);
  box-shadow: 0 7px 18px rgba(14, 33, 54, .065);
  transform: translateZ(0);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease;
  flex-shrink: 0;
}

.tm-destination-spotlight .vn-place-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2, .7, .2, 1), filter .35s ease;
}

.tm-destination-spotlight .vn-place-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform .8s ease;
  pointer-events: none;
}

.tm-destination-spotlight .vn-place:hover .vn-place-image {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(14, 33, 54, .12);
}

.tm-destination-spotlight .vn-place:hover .vn-place-image img {
  transform: scale(1.08);
}

.tm-destination-spotlight .vn-place:hover .vn-place-image::after {
  transform: translateX(130%);
}

.tm-destination-spotlight .vn-place-index {
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 7px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  background: rgba(0, 52, 99, .72);
  color: #fff;
  font-family: var(--vn-body);
  font-size: 8px;
  font-weight: 700;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.tm-destination-spotlight .vn-place-content {
  align-self: center;
  min-width: 0;
  position: relative;
}

.tm-destination-spotlight .vn-place-name {
  color: var(--vn-deep);
  font-family: var(--vn-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.018em;
  transition: color .25s ease;
  margin: 0;
}

.tm-destination-spotlight .vn-place:hover .vn-place-name {
  color: var(--vn-blue);
}

.tm-destination-spotlight .vn-place-description {
  margin-top: 5px;
  margin-bottom: 0;
  color: var(--vn-muted);
  font-size: 9.6px;
  line-height: 1.55;
}

.tm-destination-spotlight .vn-place-content::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--vn-orange);
  transition: width .35s ease;
}

.tm-destination-spotlight .vn-place:hover .vn-place-content::after {
  width: 30px;
}

/* --------------------------------------------------------------------------
   BOTTOM CALL TO ACTION & MICROCOPY
   -------------------------------------------------------------------------- */
.tm-destination-spotlight .vn-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--vn-line);
}

.tm-destination-spotlight .vn-bottom-copy {
  color: var(--vn-muted);
  font-size: 9px;
  line-height: 1.5;
  margin: 0;
}

.tm-destination-spotlight .vn-bottom-copy strong {
  color: var(--vn-deep);
  font-weight: 800;
}

.tm-destination-spotlight .vn-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 16px 10px 18px;
  border: 1px solid var(--vn-orange);
  border-radius: 999px;
  background: var(--vn-orange);
  color: #fff !important;
  text-decoration: none;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: 0 10px 22px rgba(248, 117, 58, .20);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
  cursor: pointer;
}

.tm-destination-spotlight .vn-btn span.vn-btn-arrow,
.tm-destination-spotlight .vn-btn span.vn-arrow-wrap {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  transition: transform .25s ease;
}

.tm-destination-spotlight .vn-btn:hover {
  background: var(--vn-orange-dark);
  border-color: var(--vn-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(248, 117, 58, .27);
  color: #fff !important;
}

.tm-destination-spotlight .vn-btn:hover span.vn-btn-arrow,
.tm-destination-spotlight .vn-btn:hover span.vn-arrow-wrap {
  transform: translateX(3px);
}

.tm-destination-spotlight .vn-btn:focus-visible {
  outline: 2px solid var(--vn-orange);
  outline-offset: 4px;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN & MOBILE FRIENDLY (REDUCED HERO CARD ON MOBILE)
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .tm-destination-spotlight .vn-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .tm-destination-spotlight .vn-hero {
    min-height: 380px;
    height: 380px;
  }
  .tm-destination-spotlight .vn-content {
    padding: 34px 24px 28px;
  }
  .tm-destination-spotlight .vn-list {
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
  }
  .tm-destination-spotlight .vn-place {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 12px;
  }
  .tm-destination-spotlight .vn-place-image {
    width: 88px;
    height: 72px;
  }
}

@media (max-width: 680px) {
  .tm-destination-spotlight .vn-list {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 20px;
  }
}

@media (max-width: 620px) {
  /* No left/right space on mobile screen */
  .tm-destination-spotlight .vn-section {
    padding: 0 !important;
  }
  .tm-destination-spotlight .vn-shell {
    border-radius: 0 !important;
    display: block;
    min-height: auto;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-left: none !important;
    border-right: none !important;
  }

  /* REDUCED HERO IMAGE CARD SIZE ON MOBILE */
  .tm-destination-spotlight .vn-hero {
    min-height: 260px !important;
    height: 260px !important;
    max-height: 280px !important;
  }
  .tm-destination-spotlight .vn-location {
    top: 14px;
    left: 14px;
    padding: 6px 10px;
    font-size: 7.5px;
    letter-spacing: .1em;
    gap: 6px;
  }
  .tm-destination-spotlight .vn-location-dot {
    width: 5px;
    height: 5px;
  }
  .tm-destination-spotlight .vn-hero-content {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
  .tm-destination-spotlight .vn-eyebrow {
    font-size: 8.5px;
    letter-spacing: .12em;
    gap: 6px;
  }
  .tm-destination-spotlight .vn-eyebrow::before {
    width: 18px;
  }
  .tm-destination-spotlight .vn-title {
    font-size: clamp(34px, 9vw, 42px);
    line-height: .9;
    margin-top: 6px;
    letter-spacing: -.035em;
  }
  .tm-destination-spotlight .vn-hero-copy {
    margin-top: 8px;
    font-size: 10px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .tm-destination-spotlight .vn-hero-meta {
    margin-top: 8px;
    font-size: 7.5px;
    gap: 8px;
  }
  .tm-destination-spotlight .vn-meta-line {
    width: 18px;
  }

  /* Right content padding on mobile */
  .tm-destination-spotlight .vn-content {
    padding: 24px 16px 22px;
  }
  .tm-destination-spotlight .vn-heading {
    font-size: 28px;
    line-height: 1.05;
  }
  .tm-destination-spotlight .vn-intro {
    font-size: 9.8px;
    line-height: 1.55;
    margin-top: 8px;
  }
  .tm-destination-spotlight .vn-list {
    margin-top: 18px;
    gap: 10px;
  }

  /* REDUCED PLACE THUMBNAILS ON MOBILE */
  .tm-destination-spotlight .vn-place {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 10px;
  }
  .tm-destination-spotlight .vn-place-image {
    width: 80px;
    height: 65px;
    border-radius: 10px;
  }
  .tm-destination-spotlight .vn-place-index {
    width: 18px;
    height: 18px;
    font-size: 7px;
    top: 5px;
    left: 5px;
  }
  .tm-destination-spotlight .vn-place-name {
    font-size: 17px;
  }
  .tm-destination-spotlight .vn-place-description {
    font-size: 9px;
    line-height: 1.45;
    margin-top: 4px;
  }
  .tm-destination-spotlight .vn-bottom {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
    padding-top: 14px;
  }
  .tm-destination-spotlight .vn-btn {
    width: 100%;
    min-height: 42px;
    padding: 10px 16px;
  }
}

@media (max-width: 380px) {
  .tm-destination-spotlight .vn-hero {
    min-height: 230px !important;
    height: 230px !important;
    max-height: 250px !important;
  }
  .tm-destination-spotlight .vn-title {
    font-size: 30px;
  }
  .tm-destination-spotlight .vn-hero-copy {
    display: none;
  }
  .tm-destination-spotlight .vn-place {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
  }
  .tm-destination-spotlight .vn-place-image {
    width: 72px;
    height: 58px;
  }
  .tm-destination-spotlight .vn-place-name {
    font-size: 16px;
  }
  .tm-destination-spotlight .vn-place-description {
    font-size: 8.5px;
  }
}

/* --------------------------------------------------------------------------
   ACCESSIBILITY & PREFERS-REDUCED-MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .tm-destination-spotlight,
  .tm-destination-spotlight * {
    transition: none !important;
    animation: none !important;
  }
  .tm-destination-spotlight .vn-place {
    opacity: 1 !important;
    transform: none !important;
  }
}
