/* =========================================================
   Reusable components
   Use these classes in theme templates, or add them in
   Elementor under Advanced > CSS Classes (see elementor.css).
   ========================================================= */

/* ---------- Glass ---------- */
.tt-glass-dark {
  background: rgba(16, 24, 42, .42);
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(var(--tt-glass-blur)) saturate(160%);
  backdrop-filter: blur(var(--tt-glass-blur)) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 24px 60px rgba(3, 7, 18, .35);
  color: #fff;
}
.tt-glass-light {
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(var(--tt-glass-blur)) saturate(140%);
  backdrop-filter: blur(var(--tt-glass-blur)) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 18px 50px rgba(20, 24, 33, .08);
}

/* ---------- Line pill (category label) ---------- */
.tt-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--tt-font-body); font-size: var(--tt-fs-label); font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; line-height: 1.2;
}
.tt-pill__dot {
  width: 10px; height: 10px; border-radius: 50%; flex: none;
  background: var(--tt-c, var(--tt-cities));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tt-c, #E4572E) 25%, transparent);
}

/* ---------- Buttons ---------- */
.tt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--tt-font-body); font-size: .9375rem; font-weight: 600; line-height: 1; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .35s var(--tt-ease), background-color .25s, color .25s, box-shadow .35s var(--tt-ease), border-color .25s;
}
.tt-btn svg { flex: none; transition: transform .35s var(--tt-ease); }
.tt-btn:hover { transform: translateY(-2px); }
.tt-btn:hover svg { transform: translateX(4px); }
.tt-site .tt-btn.tt-btn--primary { background: var(--tt-paper); color: var(--tt-ink); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.tt-site .tt-btn.tt-btn--primary:hover { background: #fff; color: var(--tt-ink); }
.tt-site .tt-btn.tt-btn--dark { background: var(--tt-ink); color: #fff; }
.tt-site .tt-btn.tt-btn--dark:hover { background: var(--tt-ink-3); color: #fff; box-shadow: 0 14px 34px rgba(11, 18, 32, .25); }
.tt-site .tt-btn.tt-btn--glass {
  background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .34);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.tt-site .tt-btn.tt-btn--glass:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.tt-site .tt-btn.tt-btn--outline { background: transparent; color: var(--tt-text); border-color: rgba(20, 24, 33, .22); }
.tt-site .tt-btn.tt-btn--outline:hover { border-color: var(--tt-text); color: var(--tt-text); }
.tt-btn--sm { min-height: 44px; padding: 0 18px; font-size: .875rem; }

.tt-icon-btn {
  width: 44px; height: 44px; display: inline-grid; place-items: center; flex: none;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06); color: #fff; padding: 0;
  transition: background-color .25s, transform .3s var(--tt-ease);
}
.tt-icon-btn:hover { background: rgba(255, 255, 255, .16); transform: translateY(-1px); color: #fff; }
.tt-icon-btn--light { border-color: var(--tt-rule); background: rgba(255, 255, 255, .6); color: var(--tt-text); }
.tt-icon-btn--light:hover { background: var(--tt-ink); color: #fff; }

/* ---------- Section heading ---------- */
.tt-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--tt-font-body); font-size: var(--tt-fs-label); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--tt-muted);
}
.tt-eyebrow__line { position: relative; display: inline-block; width: 44px; height: 2px; border-radius: 2px; background: currentColor; }
.tt-eyebrow__line::after {
  content: ""; position: absolute; right: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--tt-paper); border: 2px solid currentColor;
}
.tt-dark .tt-eyebrow, .tt-on-dark .tt-eyebrow { color: var(--tt-on-dark); }
.tt-dark .tt-eyebrow__line::after, .tt-on-dark .tt-eyebrow__line::after { background: var(--tt-ink); }
.tt-h2 { margin: 14px 0 0; font-family: var(--tt-font-display); font-size: var(--tt-fs-h2); line-height: 1.05; font-weight: 600; letter-spacing: -.02em; }
.tt-lead { margin: 14px 0 0; max-width: 560px; font-size: var(--tt-fs-lead); line-height: 1.6; color: var(--tt-muted); }
.tt-dark .tt-lead, .tt-on-dark .tt-lead { color: var(--tt-on-dark); }
.tt-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 44px; }

/* ---------- Chips and tabs ---------- */
.tt-chiprow { display: flex; flex-wrap: wrap; gap: 8px; }
.tt-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  font-size: .8125rem; color: #fff;
}
.tt-chip--light { background: rgba(255, 255, 255, .6); border-color: var(--tt-rule); color: var(--tt-text); }
.tt-chip__dot, .tt-tab__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tt-c, #fff); flex: none; }
.tt-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tt-tab {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--tt-rule); background: rgba(255, 255, 255, .55);
  color: var(--tt-text); font-size: .875rem; font-weight: 500;
  transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--tt-ease);
}
.tt-tab:hover { transform: translateY(-1px); border-color: rgba(20, 24, 33, .25); }
.tt-tab.is-on, .tt-tab[aria-pressed="true"] { background: var(--tt-ink); color: #fff; border-color: var(--tt-ink); }

/* ---------- Story card ---------- */
.tt-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.tt-card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--tt-radius-l); overflow: hidden;
  transition: transform .5s var(--tt-ease), box-shadow .5s var(--tt-ease);
}
.tt-card:hover { transform: translateY(-8px); box-shadow: var(--tt-shadow-card); }
.tt-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tt-ink-2); }
.tt-site .tt-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 1s var(--tt-ease); }
.tt-card:hover .tt-card__media img { transform: scale(1.07); }
.tt-card__tag { position: absolute; left: 16px; top: 16px; padding: 7px 12px; border-radius: 999px; font-size: .75rem; font-weight: 600; }
.tt-card__body { display: flex; flex-direction: column; gap: 12px; padding: 24px 26px 26px; flex: 1; }
.tt-card__title { margin: 0; font-size: 1.4375rem; line-height: 1.22; letter-spacing: -.01em; }
.tt-card__title a::after { content: ""; position: absolute; inset: 0; }
.tt-card__foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--tt-muted); font-size: .875rem; }
.tt-card__arrow {
  width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--tt-rule);
  transition: background-color .3s, color .3s, transform .4s var(--tt-ease);
}
.tt-card:hover .tt-card__arrow { background: var(--tt-ink); color: #fff; transform: rotate(-45deg); }
.tt-card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .5); font-size: .8125rem; }

/* ---------- Empty state ---------- */
.tt-empty { border-radius: var(--tt-radius-l); padding: 48px; text-align: center; }
.tt-empty h3 { margin: 0 0 8px; font-size: 1.75rem; }
.tt-empty p { margin: 0 auto; max-width: 460px; color: var(--tt-muted); }

/* ---------- Decorative route lines ---------- */
.tt-route { fill: none; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: tt-draw 3.4s var(--tt-ease) forwards; }
.tt-route--2 { animation-delay: .25s; } .tt-route--3 { animation-delay: .5s; } .tt-route--4 { animation-delay: .75s; } .tt-route--5 { animation-delay: 1s; }
.tt-stop { animation: tt-pop .6s var(--tt-ease) both 1.8s; transform-box: fill-box; transform-origin: center; }
.tt-blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none; }

/* ---------- Motion ---------- */
@keyframes tt-draw { to { stroke-dashoffset: 0; } }
@keyframes tt-pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes tt-rise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes tt-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tt-drop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes tt-kenburns { from { transform: scale(1.04); } to { transform: scale(1.14) translate3d(-2%, -1.5%, 0); } }
@keyframes tt-float-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(80px, -40px, 0) scale(1.12); } }
@keyframes tt-float-b { from { transform: translate3d(0, 0, 0) scale(1.05); } to { transform: translate3d(-90px, 60px, 0) scale(.95); } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .tt-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .tt-cards { grid-template-columns: minmax(0, 1fr); }
  .tt-card__title { font-size: 1.3125rem; }
  .tt-empty { padding: 32px 24px; }
}
