/* Aban Teb IPD — full-bleed travel pages (hotels / flights / visa)
   Design: Trust & Authority + storytelling hero (sky #0EA5E9, CTA orange #F97316) */

@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@500;600;700;800&family=Noto+Sans:wght@400;500;600;700&display=swap');

:root {
  --ipd-t-primary: #0ea5e9;
  --ipd-t-primary-deep: #0369a1;
  --ipd-t-secondary: #38bdf8;
  --ipd-t-cta: #f97316;
  --ipd-t-cta-hover: #ea580c;
  --ipd-t-bg: #f0f9ff;
  --ipd-t-text: #0c4a6e;
  --ipd-t-ink: #0f172a;
  --ipd-t-muted: #475569;
  --ipd-t-surface: #ffffff;
  --ipd-t-border: #e2e8f0;
  --ipd-t-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.ipd-t-page {
  font-family: "Noto Sans", Manrope, ui-sans-serif, system-ui, sans-serif;
  color: var(--ipd-t-ink);
  background: var(--ipd-t-bg);
  min-height: 100vh;
}

.ipd-t-page h1,
.ipd-t-page h2,
.ipd-t-page h3,
.ipd-t-page .ipd-t-display {
  font-family: Figtree, Manrope, ui-sans-serif, system-ui, sans-serif;
}

/* —— Sticky glass nav —— */
.ipd-t-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
}

.ipd-t-nav__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 640px) {
  .ipd-t-nav__inner { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .ipd-t-nav__inner { padding-left: 2rem; padding-right: 2rem; }
}

.ipd-t-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.ipd-t-nav__brand img {
  height: 2.5rem;
  width: auto;
  max-width: 8.2rem;
  object-fit: contain;
}

.ipd-t-nav__brand strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--ipd-t-ink);
}

.ipd-t-nav__brand span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ipd-t-primary-deep);
}

.ipd-t-nav__links {
  display: none;
  align-items: center;
  gap: 1.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
}

@media (min-width: 768px) {
  .ipd-t-nav__links { display: flex; }
}

.ipd-t-nav__links a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s var(--ipd-t-ease);
  cursor: pointer;
}

.ipd-t-nav__links a:hover { color: var(--ipd-t-primary-deep); }

.ipd-t-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ipd-t-cta);
  color: #fff !important;
  padding: 0.5rem 1rem;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.28);
  transition: background 0.2s var(--ipd-t-ease), transform 0.2s var(--ipd-t-ease);
}

.ipd-t-nav__cta:hover {
  background: var(--ipd-t-cta-hover);
  transform: translateY(-1px);
}

/* —— Full-bleed hero —— */
.ipd-t-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(22rem, 48vh, 34rem);
  display: grid;
  align-items: end;
  color: #fff;
}

.ipd-t-hero--compact { min-height: clamp(18rem, 36vh, 26rem); }

.ipd-t-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.ipd-t-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  animation: ipd-t-kenburns 18s var(--ipd-t-ease) infinite alternate;
}

.ipd-t-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(12, 74, 110, 0.35) 0%, rgba(15, 23, 42, 0.78) 55%, rgba(15, 23, 42, 0.92) 100%),
    radial-gradient(ellipse at 20% 20%, rgba(14, 165, 233, 0.35), transparent 55%);
}

.ipd-t-hero--flights .ipd-t-hero__scrim {
  background:
    linear-gradient(115deg, rgba(3, 105, 161, 0.88) 0%, rgba(15, 23, 42, 0.55) 45%, rgba(15, 23, 42, 0.85) 100%),
    linear-gradient(180deg, transparent 20%, rgba(15, 23, 42, 0.75) 100%);
}

.ipd-t-hero--visa .ipd-t-hero__scrim {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.82) 0%, rgba(120, 53, 15, 0.55) 55%, rgba(15, 23, 42, 0.9) 100%);
}

.ipd-t-hero__content {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 3.5rem 1rem 2.75rem;
}

@media (min-width: 640px) {
  .ipd-t-hero__content { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .ipd-t-hero__content { padding: 4.5rem 2rem 3.25rem; }
}

.ipd-t-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: ipd-t-rise 0.55s var(--ipd-t-ease) both;
}

.ipd-t-hero h1,
.ipd-t-hero h2,
.ipd-t-hero .ipd-t-kicker,
.ipd-t-hero__pills span {
  color: #fff;
}

.ipd-t-hero h1 {
  margin: 0.85rem 0 0;
  max-width: 18ch;
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  animation: ipd-t-rise 0.65s 0.06s var(--ipd-t-ease) both;
}

.ipd-t-hero__lead {
  margin: 0.85rem 0 0;
  max-width: 38rem;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 1.55;
  color: rgba(240, 249, 255, 0.92);
  animation: ipd-t-rise 0.7s 0.12s var(--ipd-t-ease) both;
}

.ipd-t-hero__pills {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  animation: ipd-t-rise 0.75s 0.18s var(--ipd-t-ease) both;
}

.ipd-t-hero__pills span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.ipd-t-hero__search {
  margin-top: 1.5rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ipd-t-ink);
  padding: 1rem 1.1rem;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.28);
  animation: ipd-t-rise 0.8s 0.22s var(--ipd-t-ease) both;
}

/* —— Full-width photo ribbon —— */
.ipd-t-ribbon {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
  padding: 0.4rem;
  background: #0c4a6e;
}

@media (min-width: 768px) {
  .ipd-t-ribbon { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; padding: 0.5rem; }
}

.ipd-t-ribbon figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 0.85rem;
  min-height: 7.5rem;
}

@media (min-width: 768px) {
  .ipd-t-ribbon figure { min-height: 10.5rem; }
}

.ipd-t-ribbon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ipd-t-ease);
}

.ipd-t-ribbon figure:hover img { transform: scale(1.06); }

.ipd-t-ribbon figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.75rem;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.82));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

/* —— Trust / feature strip —— */
.ipd-t-trust {
  background: #fff;
  border-bottom: 1px solid var(--ipd-t-border);
}

.ipd-t-trust__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.15rem 1rem;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .ipd-t-trust__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .ipd-t-trust__inner { padding-left: 2rem; padding-right: 2rem; }
}

.ipd-t-trust article {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.35rem;
}

.ipd-t-trust__icon {
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  background: #e0f2fe;
  color: var(--ipd-t-primary-deep);
}

.ipd-t-trust__icon svg { width: 1.25rem; height: 1.25rem; }

.ipd-t-trust strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ipd-t-ink);
}

.ipd-t-trust span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ipd-t-muted);
}

/* —— Wide content shell —— */
.ipd-t-shell {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

@media (min-width: 640px) {
  .ipd-t-shell { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .ipd-t-shell { padding: 2rem 2rem 3.5rem; }
}

/* —— Promo banner band —— */
.ipd-t-banner {
  position: relative;
  overflow: hidden;
  border-radius: 1.35rem;
  min-height: 11rem;
  display: grid;
  align-items: center;
  color: #fff;
  margin: 0 0 1.5rem;
}

.ipd-t-banner__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ipd-t-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ipd-t-banner__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(3, 105, 161, 0.92) 0%, rgba(3, 105, 161, 0.55) 55%, rgba(15, 23, 42, 0.35) 100%);
}

.ipd-t-banner__body {
  position: relative;
  z-index: 2;
  padding: 1.35rem 1.4rem;
  max-width: 36rem;
}

.ipd-t-banner__body h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 800;
  color: #fff;
}

.ipd-t-banner__body p {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(240, 249, 255, 0.92);
}

.ipd-t-banner__body a {
  display: inline-flex;
  margin-top: 0.9rem;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  background: var(--ipd-t-cta);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.55rem 1rem;
  cursor: pointer;
  transition: background 0.2s var(--ipd-t-ease);
}

.ipd-t-banner__body a:hover { background: var(--ipd-t-cta-hover); }

.ipd-t-banner--amber .ipd-t-banner__scrim {
  background: linear-gradient(90deg, rgba(120, 53, 15, 0.9) 0%, rgba(180, 83, 9, 0.55) 60%, rgba(15, 23, 42, 0.3) 100%);
}

.ipd-t-banner--rose .ipd-t-banner__scrim {
  background: linear-gradient(90deg, rgba(159, 18, 57, 0.9) 0%, rgba(225, 29, 72, 0.5) 55%, rgba(15, 23, 42, 0.3) 100%);
}

/* —— Mosaic showcase —— */
.ipd-t-mosaic {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .ipd-t-mosaic {
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: 9rem 9rem;
  }
  .ipd-t-mosaic > :first-child { grid-row: span 2; }
}

.ipd-t-mosaic a,
.ipd-t-mosaic figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 1.1rem;
  min-height: 8.5rem;
  display: block;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.ipd-t-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ipd-t-ease);
}

.ipd-t-mosaic a:hover img,
.ipd-t-mosaic figure:hover img { transform: scale(1.05); }

.ipd-t-mosaic span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.85rem 1rem;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.78));
  font-weight: 800;
  font-size: 0.95rem;
}

/* —— CTA buttons override for travel theme —— */
.ipd-t-page .ipd-flight-btn-primary,
.ipd-t-page button[type="submit"].rounded-xl.bg-rose-600,
.ipd-t-cta-btn {
  background: var(--ipd-t-cta) !important;
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.28) !important;
  cursor: pointer;
  transition: background 0.2s var(--ipd-t-ease), transform 0.2s var(--ipd-t-ease);
}

.ipd-t-page .ipd-flight-btn-primary:hover,
.ipd-t-page button[type="submit"].rounded-xl.bg-rose-600:hover,
.ipd-t-cta-btn:hover {
  background: var(--ipd-t-cta-hover) !important;
  transform: translateY(-1px);
}

.ipd-t-footer {
  border-top: 1px solid var(--ipd-t-border);
  background: #fff;
  padding: 1.35rem 0;
}

.ipd-t-footer__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
}

@media (min-width: 640px) {
  .ipd-t-footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
  }
}
@media (min-width: 1024px) {
  .ipd-t-footer__inner { padding: 0 2rem; }
}

.ipd-t-footer a {
  color: var(--ipd-t-primary-deep);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.ipd-t-footer a:hover { text-decoration: underline; }

@keyframes ipd-t-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ipd-t-kenburns {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .ipd-t-hero__media img,
  .ipd-t-kicker,
  .ipd-t-hero h1,
  .ipd-t-hero__lead,
  .ipd-t-hero__pills,
  .ipd-t-hero__search {
    animation: none !important;
  }
  .ipd-t-ribbon img,
  .ipd-t-mosaic img {
    transition: none !important;
  }
}

/* Portal: full-bleed inside main column (sidebar stays visible) */
.ipd-travel--wide {
  max-width: none;
  width: 100%;
}

.ipd-portal-body--travel .content-area--flush {
  padding: 0;
  background: var(--ipd-t-bg);
  overflow-x: clip;
}

.ipd-portal-body--travel .top-header--travel {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.ipd-travel-header-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ipd-t-primary-deep);
}

.ipd-t-dash {
  font-family: "Noto Sans", Manrope, ui-sans-serif, system-ui, sans-serif;
  color: var(--ipd-t-ink);
  width: 100%;
  max-width: none;
}

.ipd-t-dash h1,
.ipd-t-dash h2,
.ipd-t-dash h3 {
  font-family: Figtree, Manrope, ui-sans-serif, system-ui, sans-serif;
}

/* Edge-to-edge within main-content only — never under the left sidebar */
.ipd-t-dash .ipd-portal-bleed {
  margin: 0;
  width: 100%;
}

.ipd-t-dash .ipd-t-hero {
  border-radius: 0;
  min-height: clamp(16rem, 34vh, 24rem);
}

.ipd-t-dash .ipd-t-hero__content {
  max-width: none;
  padding: 2.25rem 1.25rem 2rem;
}

@media (min-width: 768px) {
  .ipd-t-dash .ipd-t-hero__content {
    padding: 2.75rem 1.75rem 2.25rem;
  }
}

@media (min-width: 1200px) {
  .ipd-t-dash .ipd-t-hero__content {
    padding-left: 2.25rem;
    padding-right: 2.25rem;
  }
}

.ipd-t-dash .ipd-t-ribbon {
  border-radius: 0;
}

.ipd-t-dash .ipd-t-trust {
  border-bottom: 1px solid var(--ipd-t-border);
}

.ipd-t-dash .ipd-t-trust__inner,
.ipd-t-dash .ipd-t-shell {
  max-width: none;
  width: 100%;
  margin: 0;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 768px) {
  .ipd-t-dash .ipd-t-trust__inner,
  .ipd-t-dash .ipd-t-shell {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }
}

@media (min-width: 1200px) {
  .ipd-t-dash .ipd-t-trust__inner,
  .ipd-t-dash .ipd-t-shell {
    padding-left: 2.25rem;
    padding-right: 2.25rem;
  }
}

.ipd-t-dash .ipd-t-shell {
  padding-top: 1.35rem;
  padding-bottom: 2.5rem;
}

.ipd-t-dash .ipd-travel-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
}

.ipd-t-dash .ipd-home-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.55rem 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ipd-t-ease);
}

.ipd-t-dash .ipd-home-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.ipd-t-dash .ipd-travel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* Fallback when flush mode is not used (older pages) */
.ipd-portal-bleed {
  margin-left: -1rem;
  margin-right: -1rem;
}

@media (min-width: 768px) {
  .ipd-portal-bleed {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
  }
}

.ipd-t-dash .ipd-portal-bleed {
  margin-left: 0;
  margin-right: 0;
}
