/* ==========================================================================
   INTERNATIONAL TRIPS FLIGHT HERO - ELEMENTOR WIDGET STYLES
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@400;500;600;700;800&display=swap");

.tm-international-trips-hero {
  --it-blue: #0064C1;
  --it-deep: #003463;
  --it-orange: #F8753A;
  --it-orange-dark: #D95F28;
  --it-white: #FFFFFF;
  --it-bg: #FBFCFE;
  --it-sky: #EAF5FB;
  --it-sky-2: #F7FBFD;
  --it-ink: #0A2540;
  --it-muted: #607487;
  --it-line: #DCE8F1;
  --it-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --it-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

.tm-international-trips-hero * {
  box-sizing: border-box;
}

/* Section Wrapper */
.tm-international-trips-hero .it-section {
  width: 100%;
  padding: 22px 12px;
  background: var(--it-bg);
  box-sizing: border-box;
  transition: padding 0.3s ease;
}

.tm-international-trips-hero.it-mode-fullscreen,
.tm-international-trips-hero[data-full-width="yes"] {
  position: relative !important;
  width: 100vw !important;
  width: var(--tm-hero-vw, 100vw) !important;
  max-width: var(--tm-hero-vw, 100vw) !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-left: calc(-1 * var(--tm-hero-vw, 100vw) / 2) !important;
  margin-right: -50vw !important;
  margin-right: calc(-1 * var(--tm-hero-vw, 100vw) / 2) !important;
  box-sizing: border-box !important;
}

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

/* Shell Card Container */
.tm-international-trips-hero .it-shell {
  width: min(1240px, 100%);
  margin: auto;
  overflow: hidden;
  border: 1px solid var(--it-line);
  border-radius: 30px;
  background: var(--it-white);
  box-shadow:
    0 22px 70px rgba(0, 52, 99, 0.075),
    0 5px 18px rgba(0, 52, 99, 0.035);
  position: relative;
  transition: border-radius 0.3s ease, box-shadow 0.3s ease;
}

.tm-international-trips-hero.it-mode-fullscreen .it-shell,
.tm-international-trips-hero[data-full-width="yes"] .it-shell {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* HERO MAIN CANVAS */
.tm-international-trips-hero .it-hero {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 100, 193, 0.10), transparent 20%),
    radial-gradient(circle at 12% 84%, rgba(248, 117, 58, 0.055), transparent 24%),
    linear-gradient(180deg, var(--it-sky) 0%, var(--it-sky-2) 56%, #FFFFFF 100%);
}

.tm-international-trips-hero.it-mode-fullscreen .it-hero,
.tm-international-trips-hero[data-full-width="yes"] .it-hero {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100% !important;
  border-radius: 0 !important;
}

.tm-international-trips-hero .it-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 62%, rgba(255, 255, 255, 0.58), transparent 28%),
    linear-gradient(135deg, transparent 0 46%, rgba(0, 100, 193, 0.022) 46.3%, transparent 47%),
    linear-gradient(135deg, transparent 0 64%, rgba(0, 100, 193, 0.018) 64.2%, transparent 64.8%);
  pointer-events: none;
}

/* Radar Pulse Rings */
.tm-international-trips-hero .it-hero::after {
  content: "";
  position: absolute;
  right: -190px;
  top: -190px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(0, 100, 193, 0.055);
  border-radius: 50%;
  box-shadow:
    0 0 0 38px rgba(0, 100, 193, 0.014),
    0 0 0 76px rgba(0, 100, 193, 0.010);
  pointer-events: none;
}

/* Floating Sky Glow */
.tm-international-trips-hero .it-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  left: -230px;
  bottom: -280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.72), transparent 68%);
  pointer-events: none;
}

/* Header Elements */
.tm-international-trips-hero .it-header {
  position: absolute;
  z-index: 12;
  top: 25px;
  left: 34px;
  right: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  pointer-events: none;
}

.tm-international-trips-hero .it-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--it-blue);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.tm-international-trips-hero .it-kicker span {
  display: block;
  width: 19px;
  height: 1px;
  background: var(--it-orange);
}

.tm-international-trips-hero .it-tag {
  color: rgba(10, 37, 64, 0.40);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Content Area */
.tm-international-trips-hero .it-content {
  position: relative;
  z-index: 10;
  width: min(880px, 100%);
  max-width: 100%;
  padding: 112px 48px 102px;
}

.tm-international-trips-hero.it-mode-fullscreen .it-content,
.tm-international-trips-hero[data-full-width="yes"] .it-content {
  width: min(980px, 100%);
  padding: 120px clamp(24px, 5vw, 64px) 100px;
}

.tm-international-trips-hero .it-overline {
  color: rgba(10, 37, 64, 0.48);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* Title Typography */
.tm-international-trips-hero .it-title {
  max-width: 100%;
  margin-top: 13px;
  margin-bottom: 0;
  color: var(--it-deep);
  font-family: var(--it-display);
  font-size: clamp(34px, 5.5vw, 84px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.025em;
  word-break: normal;
  overflow-wrap: normal;
}

.tm-international-trips-hero .it-title strong {
  display: block;
  color: var(--it-orange);
  font-family: var(--it-display);
  font-weight: 400;
  font-style: normal;
  white-space: nowrap !important; /* CRITICAL: Never split "INTERNATIONAL" or drop "L" */
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

.tm-international-trips-hero .it-title span {
  display: block;
  margin-top: 4px;
  color: var(--it-blue);
  font-family: var(--it-display);
  font-style: italic;
  font-weight: 400;
  white-space: nowrap !important;
  word-break: keep-all !important;
}

/* Subtitle / Description */
.tm-international-trips-hero .it-description {
  max-width: 500px;
  margin-top: 18px;
  margin-bottom: 0;
  color: var(--it-muted);
  font-family: var(--it-body);
  font-size: 12.5px;
  line-height: 1.82;
}

/* CTA Pill Button */
.tm-international-trips-hero .it-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  min-width: 215px;
  margin-top: 24px;
  padding: 13px 22px;
  border: 1px solid var(--it-orange);
  border-radius: 999px;
  background: var(--it-orange);
  color: var(--it-white) !important;
  font-family: var(--it-body);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 13px 26px rgba(248, 117, 58, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  cursor: pointer;
}

.tm-international-trips-hero .it-btn:hover {
  background: var(--it-orange-dark);
  border-color: var(--it-orange-dark);
  color: var(--it-white) !important;
  transform: translateY(-3px);
  box-shadow: 0 18px 33px rgba(248, 117, 58, 0.24);
}

.tm-international-trips-hero .it-btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.22s ease;
  flex-shrink: 0;
}

.tm-international-trips-hero .it-btn:hover svg {
  transform: translateX(3px);
}

.tm-international-trips-hero .it-btn:focus-visible {
  outline: 2px solid var(--it-orange);
  outline-offset: 4px;
}

/* ==========================================================================
   AIRPLANE FLIGHT ANIMATION - FAST, CONTINUOUS, NO PAUSE
   ========================================================================== */
.tm-international-trips-hero .it-flight {
  position: absolute;
  inset: 0;
  z-index: 6;
  overflow: hidden;
  pointer-events: none;
}

.tm-international-trips-hero .it-plane {
  position: absolute;
  left: -31%;
  top: 76%;
  width: 470px;
  will-change: left, top, transform;
  animation: itFlightAcross 5.2s linear infinite;
  filter:
    drop-shadow(0 20px 22px rgba(0, 52, 99, 0.17))
    drop-shadow(0 5px 8px rgba(0, 52, 99, 0.09));
}

.tm-international-trips-hero .it-plane img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

@keyframes itFlightAcross {
  0% {
    left: -31%;
    top: 79%;
    transform: rotate(-18deg) scale(0.91);
    opacity: 0;
  }
  3% {
    opacity: 1;
  }
  20% {
    left: -2%;
    top: 66%;
    transform: rotate(-17deg) scale(0.96);
  }
  42% {
    left: 28%;
    top: 50%;
    transform: rotate(-15deg) scale(1.01);
  }
  63% {
    left: 57%;
    top: 35%;
    transform: rotate(-13deg) scale(1.06);
  }
  82% {
    left: 83%;
    top: 21%;
    transform: rotate(-11deg) scale(1.10);
    opacity: 1;
  }
  95% {
    left: 104%;
    top: 9%;
    transform: rotate(-10deg) scale(1.05);
    opacity: 1;
  }
  100% {
    left: 115%;
    top: 3%;
    transform: rotate(-10deg) scale(1.01);
    opacity: 0;
  }
}

/* Flight Vapor Wake Trail */
.tm-international-trips-hero .it-trail {
  position: absolute;
  left: -28%;
  top: 84%;
  width: 380px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.76), transparent);
  filter: blur(1.5px);
  opacity: 0.52;
  animation: itTrailAcross 5.2s linear infinite;
}

@keyframes itTrailAcross {
  0% {
    left: -29%;
    top: 84%;
    opacity: 0;
  }
  7% {
    opacity: 0.54;
  }
  29% {
    left: 5%;
    top: 70%;
    opacity: 0.38;
  }
  49% {
    left: 35%;
    top: 54%;
    opacity: 0.28;
  }
  69% {
    left: 63%;
    top: 39%;
    opacity: 0.20;
  }
  89% {
    left: 91%;
    top: 23%;
    opacity: 0.08;
  }
  100% {
    left: 113%;
    top: 10%;
    opacity: 0;
  }
}

/* Dynamic Speed Streaks */
.tm-international-trips-hero .it-streak {
  position: absolute;
  height: 1px;
  border-radius: 999px;
  background: rgba(0, 52, 99, 0.11);
  transform: rotate(-18deg);
  animation: itSpeedStreak 2.45s ease-in-out infinite;
}

.tm-international-trips-hero .it-streak.one {
  right: 9%;
  top: 27%;
  width: 88px;
}

.tm-international-trips-hero .it-streak.two {
  right: 15%;
  top: 35%;
  width: 54px;
  animation-delay: 0.55s;
}

.tm-international-trips-hero .it-streak.three {
  right: 6%;
  top: 43%;
  width: 72px;
  animation-delay: 1.05s;
}

@keyframes itSpeedStreak {
  0%, 100% {
    opacity: 0.10;
    transform: translateX(10px) rotate(-18deg);
  }
  50% {
    opacity: 0.32;
    transform: translateX(-8px) rotate(-18deg);
  }
}

/* Bottom Microcopy */
.tm-international-trips-hero .it-bottomline {
  position: absolute;
  z-index: 11;
  left: 34px;
  right: 34px;
  bottom: 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(10, 37, 64, 0.38);
  font-family: var(--it-body);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 900px) {
  .tm-international-trips-hero .it-hero {
    min-height: 560px;
  }

  .tm-international-trips-hero.it-mode-fullscreen .it-hero,
  .tm-international-trips-hero[data-full-width="yes"] .it-hero {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .tm-international-trips-hero .it-content {
    padding: 102px 34px 96px;
    width: 100%;
  }

  .tm-international-trips-hero .it-title {
    font-size: clamp(30px, 6.2vw, 66px);
  }

  .tm-international-trips-hero .it-plane {
    width: 390px;
  }
}

@media (max-width: 760px) {
  .tm-international-trips-hero .it-section {
    padding: 8px;
  }

  .tm-international-trips-hero.it-mode-fullscreen .it-section,
  .tm-international-trips-hero[data-full-width="yes"] .it-section {
    padding: 0 !important;
  }

  .tm-international-trips-hero .it-shell {
    border-radius: 20px;
  }

  .tm-international-trips-hero.it-mode-fullscreen .it-shell,
  .tm-international-trips-hero[data-full-width="yes"] .it-shell {
    border-radius: 0 !important;
  }

  .tm-international-trips-hero .it-hero {
    min-height: 480px;
  }

  .tm-international-trips-hero.it-mode-fullscreen .it-hero,
  .tm-international-trips-hero[data-full-width="yes"] .it-hero {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .tm-international-trips-hero .it-header {
    top: 16px;
    left: 16px;
    right: 16px;
  }

  .tm-international-trips-hero .it-kicker {
    max-width: calc(100vw - 32px);
    font-size: 8px;
    letter-spacing: 0.12em;
  }

  .tm-international-trips-hero .it-tag {
    display: none;
  }

  .tm-international-trips-hero .it-content {
    width: 100%;
    padding: 80px 18px 90px;
  }

  .tm-international-trips-hero .it-title {
    max-width: 100%;
    margin-top: 10px;
    font-size: clamp(26px, 7.8vw, 50px);
    line-height: 0.96;
    letter-spacing: -0.02em;
  }

  .tm-international-trips-hero .it-description {
    max-width: 380px;
    margin-top: 16px;
    font-size: 11px;
    line-height: 1.62;
  }

  .tm-international-trips-hero .it-btn {
    width: 100%;
    min-width: 0;
    min-height: 49px;
    margin-top: 20px;
    padding: 12px 18px;
    font-size: 11px;
    justify-content: center;
  }

  .tm-international-trips-hero .it-plane {
    width: 235px;
  }

  .tm-international-trips-hero .it-trail {
    width: 220px;
  }

  .tm-international-trips-hero .it-streak.one {
    right: 4%;
    top: 31%;
    width: 48px;
  }

  .tm-international-trips-hero .it-streak.two {
    right: 8%;
    top: 37%;
    width: 32px;
  }

  .tm-international-trips-hero .it-streak.three {
    right: 2%;
    top: 44%;
    width: 40px;
  }

  .tm-international-trips-hero .it-bottomline {
    left: 16px;
    right: 16px;
    bottom: 14px;
    gap: 10px;
    font-size: 6px;
  }
}

@media (max-width: 480px) {
  .tm-international-trips-hero .it-hero {
    min-height: 440px;
  }

  .tm-international-trips-hero.it-mode-fullscreen .it-hero,
  .tm-international-trips-hero[data-full-width="yes"] .it-hero {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .tm-international-trips-hero .it-header {
    top: 14px;
    left: 14px;
    right: 14px;
  }

  .tm-international-trips-hero .it-content {
    padding: 72px 14px 80px;
  }

  .tm-international-trips-hero .it-title {
    font-size: clamp(22px, 7.4vw, 36px);
    line-height: 1.0;
  }

  .tm-international-trips-hero .it-description {
    font-size: 10.5px;
    max-width: 320px;
    margin-top: 14px;
  }

  .tm-international-trips-hero .it-plane {
    width: 185px;
  }

  .tm-international-trips-hero .it-trail {
    width: 165px;
  }

  .tm-international-trips-hero .it-bottomline {
    display: none;
  }
}

@media (max-width: 360px) {
  .tm-international-trips-hero .it-hero {
    min-height: 420px;
  }

  .tm-international-trips-hero.it-mode-fullscreen .it-hero,
  .tm-international-trips-hero[data-full-width="yes"] .it-hero {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .tm-international-trips-hero .it-content {
    padding-left: 12px;
    padding-right: 12px;
  }

  .tm-international-trips-hero .it-title {
    font-size: clamp(20px, 7.0vw, 28px);
  }

  .tm-international-trips-hero .it-plane {
    width: 165px;
  }
}

/* Reduced Motion Compatibility */
@media (prefers-reduced-motion: reduce) {
  .tm-international-trips-hero .it-plane,
  .tm-international-trips-hero .it-trail,
  .tm-international-trips-hero .it-streak {
    animation: none !important;
  }

  .tm-international-trips-hero .it-plane {
    left: 41%;
    top: 33%;
    opacity: 1;
    transform: rotate(-8deg) scale(1);
  }
}
