/* ==========================================================================
   FLYING HORSE (flyinghorse.online)
   Modern Travel & Tourism Platform Stylesheet
   Editorial Aesthetic Inspired by Lonely Planet
   ========================================================================== */

:root {
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #e0f2fe;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --border-light: #e2e8f0;
  --border-dark: #cbd5e1;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 30px rgba(15, 23, 42, 0.12), 0 4px 8px rgba(15, 23, 42, 0.06);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

/* Base Reset & Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-dark);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--text-main);
  background-color: #f1f5f9;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Top Announcement Bar
   ========================================================================== */
.top-banner {
  background-color: #0f172a;
  color: #e2e8f0;
  font-size: 0.82rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.domain-tag {
  background: rgba(255, 255, 255, 0.15);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-family: monospace;
  font-size: 0.8rem;
  color: #7dd3fc;
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.2s ease;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), #0369a1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-main);
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-item {
  font-size: 0.83rem;
  font-weight: 600;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 3px;
  position: relative;
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: color 0.15s ease;
}

.nav-item i {
  font-size: 0.84rem;
  opacity: 0.85;
}

.nav-item:hover, .nav-item.active {
  color: var(--primary);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 580px;
  background: url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?auto=format&fit=crop&w=2000&q=85') center/cover no-repeat;
  color: #ffffff;
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(15, 23, 42, 0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 960px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #bae6fd;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 18px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-subtext {
  font-size: 1.15rem;
  color: #e2e8f0;
  max-width: 740px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

/* Search Box Card */
.search-box-card {
  background: #ffffff;
  color: var(--text-main);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: left;
}

.search-inputs-row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr auto;
  gap: 16px;
  align-items: flex-end;
}

.search-col label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.search-col input,
.search-col select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  background-color: #f8fafc;
  color: var(--text-main);
  outline: none;
  transition: all 0.2s ease;
}

.search-col input:focus,
.search-col select:focus {
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.btn-search {
  padding: 13px 28px;
  font-size: 1rem;
}

.quick-chips-row {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.chips-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.chips-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip:hover {
  background: #e2e8f0;
}

.chip.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Hero Stats Row */
.hero-stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin-top: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-item strong {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
}

.stat-item span {
  font-size: 0.85rem;
  color: #bae6fd;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.section-description {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 640px;
  margin-top: 8px;
}

.badge-count {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #f1f5f9;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Trips Grid & Cards
   ========================================================================== */
.main-content {
  padding: 64px 24px;
}

.active-filters-bar {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}

.trips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 32px;
}

.trip-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.trip-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.trip-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: #e2e8f0;
}

.trip-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.trip-card:hover .trip-card-image img {
  transform: scale(1.06);
}

.trip-badge-top {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
}

.trip-badge-budget {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #ffffff;
  color: var(--text-main);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.trip-badge-budget.tier-budget { color: #16a34a; }
.trip-badge-budget.tier-mid-range { color: #0284c7; }
.trip-badge-budget.tier-luxury { color: #d97706; }

.trip-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.trip-location-breadcrumb {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.trip-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--text-main);
}

.trip-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trip-places-pill-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.place-pill {
  background: #f1f5f9;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.trip-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.traveller-mini {
  display: flex;
  align-items: center;
  gap: 10px;
}

.traveller-mini img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.traveller-mini-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.trip-budget-sum {
  text-align: right;
}

.trip-budget-sum strong {
  display: block;
  font-size: 1rem;
  color: var(--text-main);
}

.trip-budget-sum span {
  font-size: 0.72rem;
  color: var(--text-light);
}

/* ==========================================================================
   Map & Route Feature Section
   ========================================================================== */
.map-feature-section {
  background-color: #0f172a;
  color: #ffffff;
  padding: 80px 0;
}

.map-feature-section .section-title {
  color: #ffffff;
}

.map-feature-section .section-description {
  color: #94a3b8;
}

.map-explorer-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
  background: #1e293b;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid #334155;
}

.route-picker-sidebar {
  padding: 24px;
  background: #1e293b;
  border-right: 1px solid #334155;
  display: flex;
  flex-direction: column;
  max-height: 520px;
}

.sidebar-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7dd3fc;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.route-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding-right: 4px;
}

.route-item {
  padding: 12px 14px;
  background: #0f172a;
  border-radius: var(--radius-md);
  border: 1px solid #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}

.route-item:hover, .route-item.active {
  border-color: var(--primary);
  background: #0369a1;
}

.route-item-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #ffffff;
}

.route-item-sub {
  font-size: 0.78rem;
  color: #94a3b8;
}

.route-item.active .route-item-sub {
  color: #bae6fd;
}

.map-container-wrapper {
  position: relative;
  min-height: 520px;
}

#interactive-map {
  width: 100%;
  height: 100%;
  min-height: 520px;
  z-index: 1;
}

.map-floating-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid #334155;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  z-index: 10;
  max-width: 320px;
  box-shadow: var(--shadow-lg);
}

.active-route-name {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.active-route-meta {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 12px;
}

/* ==========================================================================
   Budget Explorer Section
   ========================================================================== */
.budget-explorer-section {
  padding: 80px 0;
  background-color: var(--bg-page);
}

.budget-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.budget-tier-card {
  background: #ffffff;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.budget-tier-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.budget-tier-card.highlighted {
  border: 2px solid var(--primary);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.15);
}

.tier-badge {
  position: absolute;
  top: -12px;
  right: 28px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.tier-header {
  margin-bottom: 14px;
}

.tier-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.tier-header h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.tier-range {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 700;
}

.tier-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.tier-stats {
  margin-top: auto;
  margin-bottom: 24px;
  padding: 14px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.t-stat strong {
  display: block;
  font-size: 1.25rem;
  color: var(--text-main);
}

.t-stat span {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ==========================================================================
   Traveller Profiles Hub
   ========================================================================== */
.travellers-section {
  padding: 80px 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
}

.travellers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.traveller-card {
  background: var(--bg-page);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  cursor: pointer;
}

.traveller-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.traveller-card-cover {
  height: 140px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  position: relative;
  overflow: hidden;
}

.cover-gradient-scrim {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, transparent 100%);
  pointer-events: none;
}

.traveller-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.traveller-card-body {
  padding: 0 20px 20px;
  position: relative;
}

.traveller-avatar-wrapper {
  margin-top: -42px;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
  display: inline-block;
}

.traveller-avatar-wrapper img {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  background: #ffffff;
  display: block;
}

.avatar-verified-tick {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: #ffffff;
  border-radius: 50%;
  color: #0284c7;
  font-size: 14px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.traveller-card-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.traveller-card-handle {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.traveller-card-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.traveller-meta-row {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.traveller-meta-row strong {
  color: var(--text-main);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #0b1120;
  color: #e2e8f0;
  padding: 70px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.brand-col .brand-title {
  color: #ffffff;
}

.footer-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  margin: 16px 0;
  line-height: 1.6;
  max-width: 320px;
}

.footer-domain {
  font-size: 0.85rem;
  color: #7dd3fc;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-note {
  font-size: 0.88rem;
  color: #94a3b8;
  margin-bottom: 18px;
}

.social-icons {
  display: flex;
  gap: 14px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2e8f0;
  transition: all 0.2s ease;
}

.social-icons a:hover {
  background: var(--primary);
  color: #ffffff;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a:hover {
  color: #94a3b8;
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.modal-window {
  background: #ffffff;
  border-radius: var(--radius-lg);
  position: relative;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  animation: modalEnter 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalEnter {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.large-modal { max-width: 960px; }
.medium-modal { max-width: 640px; }
.form-modal { padding: 36px; }

.modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: #f1f5f9;
  border: none;
  font-size: 1.8rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #e2e8f0;
  transform: rotate(90deg);
}

.modal-header {
  margin-bottom: 24px;
}

.modal-header h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.modal-header p {
  color: var(--text-muted);
}

/* Forms in Modals */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  outline: none;
  background: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row .form-group {
  flex: 1;
}

.form-row .flex-2 { flex: 2; }
.form-row .flex-1 { flex: 1; }

.form-fieldset {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 20px;
}

.form-fieldset legend {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  padding: 0 8px;
}

.form-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 4px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 24px;
}

/* Trip Modal Detail Content */
.trip-detail-hero {
  position: relative;
  height: 380px;
}

.trip-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trip-detail-hero-content {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  color: #ffffff;
}

.trip-detail-hero-content h1 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  margin-bottom: 8px;
}

.trip-detail-body {
  padding: 36px;
}

.trip-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #f8fafc;
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  border: 1px solid var(--border-light);
}

.meta-block {
  display: flex;
  flex-direction: column;
}

.meta-block span {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
}

.meta-block strong {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-top: 2px;
}

.trip-story-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 32px;
}

.budget-breakdown-bar {
  margin-bottom: 32px;
}

.budget-bar-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.budget-progress-track {
  display: flex;
  height: 14px;
  border-radius: var(--radius-full);
  overflow: hidden;
  background: #e2e8f0;
}

.b-bar-stay { background-color: #0284c7; }
.b-bar-transit { background-color: #0ea5e9; }
.b-bar-food { background-color: #f59e0b; }
.b-bar-act { background-color: #10b981; }

.budget-legend {
  display: flex;
  gap: 20px;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}

.trip-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.trip-gallery-grid img {
  border-radius: var(--radius-sm);
  height: 140px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.trip-gallery-grid img:hover {
  transform: scale(1.03);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 992px) {
  .search-inputs-row {
    grid-template-columns: 1fr 1fr;
  }
  .budget-tiers-grid {
    grid-template-columns: 1fr;
  }
  .map-explorer-layout {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .hero-headline {
    font-size: 2.2rem;
  }
  .search-inputs-row {
    grid-template-columns: 1fr;
  }
  .trip-meta-grid {
    grid-template-columns: 1fr 1fr;
  }
  .trips-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Smart Photo & Social Integration Component (Instagram, Google Photos, Upload)
   ========================================================================== */
.photo-import-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 8px;
  overflow-x: auto;
}

.photo-tab-btn {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.photo-tab-btn:hover {
  background: #ffffff;
  color: var(--text-main);
  border-color: var(--border-dark);
}

.photo-tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.photo-tab-btn.active i {
  color: #ffffff !important;
}

.photo-tab-pane {
  margin-bottom: 20px;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.integration-banner {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
}

.instagram-banner {
  border-left: 4px solid #e1306c;
}

.gphotos-banner {
  border-left: 4px solid #d97706;
}

.integration-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.int-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: #fdf2f8;
  color: #e1306c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.gphotos-icon {
  background: #fef3c7;
  color: #d97706;
}

.integration-header h4 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.integration-header p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.import-input-group {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.import-input-group input {
  flex: 1;
  padding: 9px 12px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: #ffffff;
}

.divider-text {
  text-align: center;
  position: relative;
  margin: 14px 0 12px;
}

.divider-text::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-light);
  z-index: 1;
}

.divider-text span {
  position: relative;
  z-index: 2;
  background: var(--bg-page);
  padding: 0 10px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  font-weight: 600;
}

.quick-media-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px;
}

.media-picker-item {
  position: relative;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.media-picker-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-picker-item:hover {
  transform: scale(1.04);
}

.media-picker-item.selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(217, 83, 47, 0.3);
}

.media-picker-item .check-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.7rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* File Dropzone */
.file-dropzone {
  border: 2px dashed var(--border-dark);
  border-radius: var(--radius-md);
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  background: var(--bg-page);
  transition: all 0.2s ease;
}

.file-dropzone:hover, .file-dropzone.dragover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.dropzone-icon {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.file-dropzone h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.file-dropzone p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Selected Media Tray */
.selected-media-section {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 14px;
}

.selected-media-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.selected-media-tray {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  min-height: 96px;
  align-items: center;
}

.selected-media-empty {
  color: var(--text-light);
  font-size: 0.85rem;
  font-style: italic;
  width: 100%;
  text-align: center;
}

.selected-media-card {
  position: relative;
  width: 90px;
  height: 85px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-dark);
}

.selected-media-card.is-cover {
  border: 2px solid var(--primary);
}

.selected-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.star-cover-btn {
  position: absolute;
  top: 4px;
  left: 4px;
  background: rgba(0, 0, 0, 0.65);
  border: none;
  color: #ffffff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.68rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.selected-media-card.is-cover .star-cover-btn {
  background: var(--primary);
  color: #ffffff;
}

.remove-media-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.65);
  border: none;
  color: #ffffff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.remove-media-btn:hover {
  background: #ef4444;
}

.media-source-pill {
  position: absolute;
  bottom: 3px;
  left: 3px;
  right: 3px;
  background: rgba(36, 30, 28, 0.85);
  color: #ffffff;
  font-size: 0.62rem;
  text-align: center;
  padding: 1px 2px;
  border-radius: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   OFFICIAL LOGO & BRANDING ENHANCEMENTS
   ========================================================================== */
.brand-logo-img {
  height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.03);
}

.footer-logo-img {
  height: 58px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  margin-bottom: 14px;
}

.microsite-link-pill {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(2, 132, 199, 0.08);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.card-curated-by:hover .microsite-link-pill {
  background: var(--primary);
  color: #ffffff;
}

.micro-badge-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
}

.traveller-card:hover .micro-badge-overlay {
  background: var(--primary);
  color: #ffffff;
}

/* ==========================================================================
   ACCESSIBLE TRAVELLERS SECTION (#accessible-travellers)
   ========================================================================== */
.accessible-section {
  padding: 90px 0 80px;
  background: linear-gradient(180deg, #f0fdfa 0%, #f8fafc 100%);
  border-top: 1px solid #ccfbf1;
  border-bottom: 1px solid #e2e8f0;
}

.accessible-standards-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}

.standard-pill {
  background: #ffffff;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid #99f6e4;
  font-size: 0.88rem;
  color: #0f766e;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.06);
}

.standard-pill i {
  font-size: 1.15rem;
  color: #0d9488;
}

.subsection-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #0f172a;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.subsection-title i {
  color: var(--primary);
}

.specialist-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 30px;
}

.specialist-highlight-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.specialist-highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}

.highlight-card-cover {
  height: 120px;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 12px;
}

.highlight-badge {
  background: rgba(13, 148, 136, 0.9);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.highlight-badge.family-badge {
  background: rgba(217, 119, 6, 0.9);
}

.highlight-card-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.highlight-avatar-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: -38px;
  margin-bottom: 14px;
}

.highlight-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.highlight-titles h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.highlight-handle {
  font-size: 0.8rem;
  color: #64748b;
}

.highlight-bio {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}

.highlight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.h-tag {
  background: #f0fdfa;
  color: #0d9488;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid #ccfbf1;
}

.h-tag.family-tag {
  background: #fffbeb;
  color: #d97706;
  border-color: #fde68a;
}

.feature-trips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-trip-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.feature-trip-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.09);
}

.feature-card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.feature-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.feature-trip-card:hover .feature-card-img-wrap img {
  transform: scale(1.05);
}

.feature-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(13, 148, 136, 0.9);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.feature-card-badge.family-badge {
  background: rgba(217, 119, 6, 0.9);
}

.feature-card-content {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-author-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.8rem;
  color: #64748b;
}

.feature-author-tag img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.feature-trip-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.35;
}

.feature-trip-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 14px;
  flex: 1;
}

.feature-meta-row {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.8rem;
  color: #475569;
  margin-bottom: 14px;
}

.feature-meta-row span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.feature-action-row {
  display: flex;
  gap: 10px;
}

/* ==========================================================================
   KIDS & OLDER PARENTS (MULTI-GEN) SECTION (#multigen-family)
   ========================================================================== */
.multigen-section {
  padding: 90px 0 80px;
  background: linear-gradient(180deg, #fffbeb 0%, #fefce8 100%);
  border-top: 1px solid #fde68a;
  border-bottom: 1px solid #e2e8f0;
}

.multigen-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}

.pillar-card {
  background: #ffffff;
  padding: 22px 20px;
  border-radius: 14px;
  border: 1px solid #fed7aa;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.05);
  position: relative;
}

.pillar-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #f59e0b;
  font-family: var(--font-sans);
  line-height: 1;
  margin-bottom: 8px;
}

.pillar-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #78350f;
  margin-bottom: 6px;
}

.pillar-card p {
  font-size: 0.82rem;
  color: #92400e;
  line-height: 1.45;
}

/* ==========================================================================
   TRAVELLER MICRO-SITE CORE STYLING (public/traveller.html)
   ========================================================================== */
.microsite-body {
  background-color: #f8fafc;
  color: var(--text-main);
  font-family: var(--font-sans);
}

.specialist-selector-section {
  background: #ffffff;
  padding: 24px 0 20px;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 76px;
  z-index: 90;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.specialist-selector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.selector-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
}

.selector-hint {
  font-size: 0.82rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.specialist-scroll-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: thin;
}

.specialist-scroll-row::-webkit-scrollbar {
  height: 5px;
}

.specialist-scroll-row::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.specialist-tab-btn {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  flex-shrink: 0;
}

.specialist-tab-btn:hover {
  background: #ffffff;
  border-color: #94a3b8;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.specialist-tab-btn.active {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15), 0 4px 12px rgba(2, 132, 199, 0.1);
}

.tab-avatar-wrap {
  position: relative;
}

.tab-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #e2e8f0;
}

.tab-verified-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: #0284c7;
  color: #ffffff;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  font-size: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffffff;
}

.tab-info {
  display: flex;
  flex-direction: column;
}

.tab-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
}

.tab-specialty {
  font-size: 0.72rem;
  color: #64748b;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tab-trips-count {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 1px;
}

/* ==========================================================================
   TRAVELLER HERO CARD (BIO HUB)
   ========================================================================== */
.traveller-microsite-container {
  padding: 40px 0 80px;
}

.microsite-hero-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  margin-bottom: 50px;
}

.microsite-hero-cover {
  height: 260px;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.microsite-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.6) 100%);
}

.hero-top-badges {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.expert-status-pill {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #facc15;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(250, 204, 21, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge-tag {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  color: #0f172a;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge-accessible {
  background: rgba(13, 148, 136, 0.95);
  color: #ffffff;
}

.badge-sensory {
  background: rgba(168, 85, 247, 0.95);
  color: #ffffff;
}

.badge-family {
  background: rgba(217, 119, 6, 0.95);
  color: #ffffff;
}

.microsite-hero-body {
  padding: 30px 40px 36px;
}

.microsite-profile-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-top: -85px;
  margin-bottom: 24px;
  position: relative;
  z-index: 5;
}

.microsite-avatar-container {
  position: relative;
  flex-shrink: 0;
}

.microsite-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 5px solid #ffffff;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.microsite-avatar-badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: #0284c7;
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.microsite-title-block {
  flex: 1;
}

.microsite-handle-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.microsite-handle {
  font-weight: 700;
  color: var(--primary);
}

.microsite-meta-bullet {
  opacity: 0.5;
}

.microsite-name {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 4px;
}

.microsite-specialist-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #475569;
}

.microsite-hero-actions {
  display: flex;
  gap: 10px;
  align-self: center;
}

.microsite-quote-card {
  background: #f8fafc;
  border-left: 4px solid var(--primary);
  border-radius: 0 12px 12px 0;
  padding: 18px 24px;
  margin-bottom: 24px;
  position: relative;
}

.quote-icon {
  color: var(--primary);
  opacity: 0.25;
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.microsite-quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: #1e293b;
  line-height: 1.5;
  margin-bottom: 6px;
}

.quote-author-tag {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.microsite-bio-narrative {
  margin-bottom: 28px;
}

.microsite-bio-narrative h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.microsite-bio-narrative p {
  font-size: 0.98rem;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 12px;
}

.specialty-focus-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: #1e40af;
}

.microsite-metrics-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: #0f172a;
  border-radius: 14px;
  padding: 18px 24px;
  color: #ffffff;
  flex-wrap: wrap;
  gap: 16px;
}

.metric-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metric-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #38bdf8;
  font-family: var(--font-sans);
}

.metric-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.metric-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   TRIPS UNDER BIO SECTION
   ========================================================================== */
.trips-under-bio-header {
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 18px;
  margin-bottom: 36px;
}

.traveller-trips-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.micro-trip-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  padding: 30px;
}

.micro-trip-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 18px;
}

.micro-trip-meta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.tag-geo, .tag-duration, .tag-budget, .tag-pick {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.tag-geo {
  background: #eff6ff;
  color: #0284c7;
}

.tag-duration {
  background: #f1f5f9;
  color: #475569;
}

.tag-budget {
  background: #ecfdf5;
  color: #059669;
}

.tag-pick {
  background: #fef3c7;
  color: #b45309;
}

.micro-trip-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 6px;
}

.micro-trip-subtitle {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.45;
}

.micro-trip-content-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
}

.micro-trip-cover-wrap {
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}

.micro-trip-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.micro-trip-gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.gallery-thumb-wrap {
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-thumb-wrap:hover .gallery-thumb-img {
  transform: scale(1.08);
}

.micro-trip-map-container {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
}

.map-label-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 10px;
}

.map-hint {
  color: #94a3b8;
  font-weight: 400;
}

.embedded-trip-map {
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
}

.specialist-field-note {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 20px;
}

.specialist-field-note .note-header {
  font-size: 0.82rem;
  font-weight: 700;
  color: #b45309;
  margin-bottom: 4px;
}

.specialist-field-note .note-body {
  font-size: 0.9rem;
  font-style: italic;
  color: #78350f;
  line-height: 1.45;
}

.micro-trip-story-box {
  margin-bottom: 20px;
}

.micro-trip-story-box h4,
.micro-trip-waypoints-box h4,
.micro-trip-budget-box h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.micro-trip-story-text {
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.6;
}

.micro-trip-waypoints-box {
  margin-bottom: 20px;
}

.waypoints-timeline {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.waypoint-timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.86rem;
}

.waypoint-marker-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.waypoint-item-content strong {
  color: #0f172a;
}

.waypoint-desc {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
}

.micro-trip-budget-box {
  background: #f8fafc;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  margin-bottom: 20px;
}

.budget-breakdown-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.b-item {
  background: #ffffff;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.b-label {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  margin-bottom: 2px;
}

.b-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
}

.total-item {
  background: #0f172a;
  border-color: #0f172a;
}

.total-item .b-label {
  color: #94a3b8;
}

.total-item .b-val {
  color: #38bdf8;
}

.daily-avg-sub {
  font-size: 0.8rem;
  color: #64748b;
  text-align: right;
}

.micro-trip-card-footer {
  display: flex;
  gap: 12px;
}

/* ==========================================================================
   OTHER SPECIALISTS GRID
   ========================================================================== */
.other-specialists-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid #e2e8f0;
}

.other-specialists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.other-specialist-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.other-specialist-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.other-card-avatar img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2e8f0;
}

.other-card-body {
  flex: 1;
}

.other-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.other-card-title {
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 4px;
  line-height: 1.3;
}

.other-card-meta {
  display: flex;
  gap: 10px;
  font-size: 0.74rem;
  color: #0284c7;
  font-weight: 600;
}

.other-card-btn {
  padding: 4px 10px;
  font-size: 0.75rem;
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 992px) {
  .micro-trip-content-grid {
    grid-template-columns: 1fr;
  }
  .microsite-hero-body {
    padding: 24px 20px;
  }
  .microsite-profile-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .microsite-avatar {
    width: 90px;
    height: 90px;
  }
  .microsite-hero-actions {
    align-self: flex-start;
    margin-top: 10px;
  }
  .budget-breakdown-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .specialist-scroll-row {
    padding-bottom: 6px;
  }
  .micro-trip-card {
    padding: 18px;
  }
  .budget-breakdown-row {
    grid-template-columns: 1fr 1fr;
  }
  .micro-trip-card-footer {
    flex-direction: column;
  }
  .accessible-standards-banner,
  .multigen-pillars-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   BLUE INLINE LOGO & BRANDING ("TRAVEL & TOURISM" IN LINE)
   ========================================================================== */
.brand-logo {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
}

.brand-logo-img {
  height: 48px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
  transition: transform 0.2s ease !important;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.03);
}

.brand-divider {
  width: 1.5px;
  height: 24px;
  background-color: rgba(2, 132, 199, 0.4);
  display: inline-block;
}

.brand-sub-inline {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--primary);
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

.footer-brand-inline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-brand-divider {
  width: 1.5px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0.25);
  display: inline-block;
}

.footer-sub-inline {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #7dd3fc;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ==========================================================================
   INTEGRATED SPECIALISTS & MICRO-HUBS TAB (#travellers-hub)
   ========================================================================== */
.specialists-hub-section {
  padding: 85px 0 80px;
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.hub-spec-selector-wrapper {
  margin-bottom: 30px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.hub-spec-tabs {
  display: flex;
  gap: 12px;
}

.hub-spec-tab {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  flex-shrink: 0;
}

.hub-spec-tab:hover {
  background: #ffffff;
  border-color: #94a3b8;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.hub-spec-tab.active {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15), 0 4px 12px rgba(2, 132, 199, 0.1);
}

.hub-tab-avatar-wrap {
  position: relative;
}

.hub-tab-avatar-wrap img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #e2e8f0;
}

.hub-tab-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: #0284c7;
  color: #ffffff;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  font-size: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffffff;
}

.hub-tab-text {
  display: flex;
  flex-direction: column;
}

.hub-tab-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
}

.hub-tab-title {
  font-size: 0.72rem;
  color: #64748b;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hub-tab-trips-pill {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
}

.hub-bio-card {
  background: #f8fafc;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
  margin-bottom: 40px;
}

.hub-bio-cover {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.hub-bio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.25) 0%, rgba(15, 23, 42, 0.65) 100%);
}

.hub-top-pills {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hub-expert-pill {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #facc15;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(250, 204, 21, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.spec-cat-badge {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.spec-cat-badge.badge-autism {
  background: rgba(124, 58, 237, 0.95);
  color: #ffffff;
}

.spec-cat-badge.badge-accessible {
  background: rgba(13, 148, 136, 0.95);
  color: #ffffff;
}

.spec-cat-badge.badge-family {
  background: rgba(217, 119, 6, 0.95);
  color: #ffffff;
}

.hub-bio-body {
  padding: 24px 32px 30px;
  background: #ffffff;
}

.hub-bio-header-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: -65px;
  margin-bottom: 20px;
  position: relative;
  z-index: 5;
}

.hub-bio-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.hub-bio-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid #ffffff;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.hub-bio-avatar-seal {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: #0284c7;
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  border: 2px solid #ffffff;
}

.hub-bio-info-col {
  flex: 1;
}

.hub-bio-handle-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.hub-bio-handle {
  font-weight: 700;
  color: var(--primary);
}

.hub-bio-name {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 2px;
}

.hub-bio-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: #475569;
}

.hub-bio-actions {
  display: flex;
  gap: 10px;
  align-self: center;
}

.hub-quote-box {
  background: #f8fafc;
  border-left: 4px solid var(--primary);
  border-radius: 0 10px 10px 0;
  padding: 14px 20px;
  margin-bottom: 20px;
}

.hub-quote-icon {
  color: var(--primary);
  opacity: 0.3;
  font-size: 1.4rem;
  margin-bottom: 2px;
}

.hub-quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: #1e293b;
  line-height: 1.5;
  margin-bottom: 4px;
}

.hub-quote-tag {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
}

.hub-bio-narrative {
  margin-bottom: 22px;
}

.hub-bio-narrative h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hub-bio-narrative p {
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 10px;
}

.hub-specialty-highlight {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #1e40af;
}

.hub-metrics-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: #0f172a;
  border-radius: 12px;
  padding: 14px 20px;
  color: #ffffff;
  flex-wrap: wrap;
  gap: 14px;
}

.h-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.h-metric-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #38bdf8;
  font-family: var(--font-sans);
}

.h-metric-lbl {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.h-metric-divider {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.15);
}

.hub-trips-subhead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 14px;
  margin-bottom: 30px;
}

.hub-trips-container {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.hub-trip-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  padding: 26px;
}

.hub-trip-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 14px;
}

.hub-trip-tags-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.hub-trip-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 4px;
}

.hub-trip-subtitle {
  font-size: 0.9rem;
  color: #64748b;
}

.hub-trip-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  margin-bottom: 24px;
}

.hub-trip-hero-wrap {
  height: 260px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}

.hub-trip-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-trip-photos-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.hub-thumb-wrap {
  height: 64px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
}

.hub-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.hub-thumb-wrap:hover .hub-thumb-img {
  transform: scale(1.08);
}

.hub-trip-map-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px;
}

.hub-map-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.hub-map-hint {
  color: #94a3b8;
  font-weight: 400;
}

.hub-leaflet-map {
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
}

.hub-field-note {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 16px;
}

.hub-field-note strong {
  font-size: 0.8rem;
  color: #b45309;
  display: block;
  margin-bottom: 2px;
}

.hub-field-note p {
  font-size: 0.88rem;
  font-style: italic;
  color: #78350f;
  line-height: 1.45;
}

.hub-story-section {
  margin-bottom: 16px;
}

.hub-story-section h4,
.hub-stops-section h4,
.hub-budget-box h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hub-story-section p {
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.55;
}

.hub-stops-section {
  margin-bottom: 16px;
}

.hub-waypoints-timeline {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hub-timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
}

.hub-step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.hub-step-text strong {
  color: #0f172a;
}

.hub-step-text span {
  display: block;
  font-size: 0.78rem;
  color: #64748b;
}

.hub-budget-box {
  background: #f8fafc;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.hub-budget-pills-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.h-bpill {
  background: #ffffff;
  padding: 6px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.h-bpill span {
  display: block;
  font-size: 0.68rem;
  color: #64748b;
}

.h-bpill strong {
  font-size: 0.82rem;
  color: #0f172a;
}

.total-bpill {
  background: #0f172a;
  border-color: #0f172a;
}

.total-bpill span {
  color: #94a3b8;
}

.total-bpill strong {
  color: #38bdf8;
}

/* ==========================================================================
   AFFILIATE MARKETING & PRODUCT PLACEMENT CONTAINER
   ========================================================================== */
.affiliate-deals-container {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  padding: 18px 22px;
  margin-top: 20px;
}

.affiliate-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
}

.aff-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.aff-title i {
  color: #0284c7;
}

.aff-disclosure {
  font-size: 0.74rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 5px;
}

.affiliate-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.aff-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.aff-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.hotel-aff-card {
  border-left: 3.5px solid #0284c7;
}

.flight-aff-card {
  border-left: 3.5px solid #0369a1;
}

.gear-aff-card {
  border-left: 3.5px solid #f59e0b;
}

.aff-card-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0284c7;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.aff-card-badge.flight-badge {
  color: #0369a1;
}

.aff-card-badge.gear-badge {
  color: #d97706;
}

.aff-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.aff-hotel-rating {
  font-size: 0.82rem;
  color: #059669;
  margin-bottom: 8px;
}

.aff-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 0.78rem;
  color: #475569;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.aff-features-list li {
  display: flex;
  align-items: center;
  gap: 5px;
}

.aff-features-list li i {
  color: #0284c7;
  font-size: 0.68rem;
}

.aff-flight-tip {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.4;
  margin-bottom: 12px;
  flex: 1;
}

.aff-gear-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 4px;
}

.aff-gear-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #f1f5f9;
}

.aff-gear-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.aff-gear-info {
  display: flex;
  flex-direction: column;
}

.aff-gear-info strong {
  font-size: 0.82rem;
  color: #0f172a;
}

.gear-tip {
  font-size: 0.72rem;
  color: #64748b;
}

.gear-price {
  font-size: 0.76rem;
  font-weight: 700;
  color: #d97706;
}

.btn-hotel-aff {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  text-align: center;
  font-weight: 700;
}

.btn-hotel-aff:hover {
  background: #0369a1;
}

.btn-flight-aff {
  background: #0f172a;
  color: #38bdf8;
  border-color: #0f172a;
  text-align: center;
  font-weight: 700;
}

.btn-flight-aff:hover {
  background: #1e293b;
}

.btn-gear-aff {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
  font-weight: 700;
  padding: 4px 10px;
  font-size: 0.75rem;
  white-space: nowrap;
}

.btn-gear-aff:hover {
  background: #fef3c7;
}

.card-affiliate-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  border-radius: 6px;
  padding: 5px 10px;
  margin-top: 10px;
  font-size: 0.76rem;
}

.aff-hotel-name {
  color: #0f766e;
  font-weight: 600;
}

.aff-quick-link {
  color: #0284c7;
  font-weight: 700;
  text-decoration: none;
}

.aff-quick-link:hover {
  text-decoration: underline;
}

.affiliate-ftc-notice {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-top: 30px;
  margin-bottom: 20px;
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* ==========================================================================
   DEDICATED AUTISM & SPECTRUM SECTION (#special-needs-spectrum)
   ========================================================================== */
.autism-section {
  padding: 90px 0 80px;
  background: linear-gradient(180deg, #f5f3ff 0%, #faf5ff 100%);
  border-top: 1px solid #ddd6fe;
  border-bottom: 1px solid #e2e8f0;
}

.autism-expert-banner {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1.5px solid #c4b5fd;
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 36px;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.06);
}

.autism-expert-avatar-col {
  position: relative;
  flex-shrink: 0;
}

.autism-expert-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #7c3aed;
}

.expert-ot-seal {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: #7c3aed;
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  border: 1px solid #ffffff;
}

.autism-expert-info h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #4c1d95;
  margin-bottom: 2px;
}

.expert-sub {
  font-size: 0.82rem;
  color: #7c3aed;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.autism-expert-info p {
  font-size: 0.9rem;
  font-style: italic;
  color: #5b21b6;
  line-height: 1.5;
}

.autism-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}

.autism-pillar-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 18px;
  border: 1px solid #e9d5ff;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.04);
}

.pillar-icon {
  font-size: 1.4rem;
  color: #7c3aed;
  margin-bottom: 8px;
}

.autism-pillar-card h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #4c1d95;
  margin-bottom: 6px;
}

.autism-pillar-card p {
  font-size: 0.8rem;
  color: #6b21a8;
  line-height: 1.45;
}

.autism-trips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.autism-trip-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #ddd6fe;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.05);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.autism-trip-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.1);
}

.autism-card-img-wrap {
  position: relative;
  height: 200px;
}

.autism-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.autism-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(124, 58, 237, 0.92);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.autism-card-content {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.autism-author-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 8px;
}

.autism-author-row img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.autism-trip-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #0f172a;
  margin-bottom: 4px;
  line-height: 1.35;
}

.autism-trip-desc {
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 12px;
}

.autism-checklist-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.autism-checklist-pills span {
  background: #f5f3ff;
  color: #7c3aed;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #ddd6fe;
}

.autism-affiliate-mini {
  margin-bottom: 14px;
}

.mini-aff-item {
  background: #f8fafc;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  font-size: 0.76rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-xs {
  padding: 2px 8px;
  font-size: 0.72rem;
}

.autism-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.tag-autism {
  background: #f5f3ff;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
}

/* ==========================================================================
   MULTI-PAGE ARCHITECTURE & TRAVELLER SPOTLIGHT STYLES
   ========================================================================== */

/* Universal Page Header Section */
.page-header-section {
  padding: 56px 0 44px;
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
}

.page-header-section .container {
  max-width: 860px;
}

.page-headline {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: #0f172a;
  margin: 12px 0 16px;
  line-height: 1.25;
}

.page-subtext {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.6;
}

.autism-header-bg {
  background: linear-gradient(180deg, #faf5ff 0%, #ffffff 100%) !important;
}

.accessible-header-bg {
  background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 100%) !important;
}

.multigen-header-bg {
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%) !important;
}

/* Home Traveller Spotlight Section */
.spotlight-section {
  padding: 60px 0 75px;
  background: #ffffff;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
  margin-top: 36px;
}

.spotlight-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.spotlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.spotlight-img-wrap {
  position: relative;
  height: 220px;
  background: #0f172a;
}

.spotlight-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.spotlight-card:hover .spotlight-img-wrap img {
  transform: scale(1.03);
}

.spotlight-badge-duration {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.82);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

.spotlight-badge-budget {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
}

.spotlight-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.spotlight-author-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.spotlight-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e0f2fe;
}

.spotlight-author-meta {
  flex: 1;
  min-width: 0;
}

.spotlight-author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.spotlight-author-name i {
  color: var(--primary);
  font-size: 0.85rem;
}

.spotlight-author-specialty {
  font-size: 0.78rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.spotlight-geo {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.spotlight-title {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 8px;
}

.spotlight-desc {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.spotlight-expert-note {
  background: #f8fafc;
  border-left: 3px solid var(--primary);
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  font-size: 0.82rem;
  font-style: italic;
  color: #334155;
  margin-bottom: 14px;
}

.spotlight-affiliate-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.spotlight-aff-info {
  font-size: 0.8rem;
  color: #334155;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.spotlight-aff-info i {
  color: var(--primary);
}

.spotlight-aff-info strong {
  color: #0f172a;
}

.spotlight-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  gap: 8px;
  margin-top: auto;
}

/* Category Showcase Portal Cards */
.categories-showcase-section {
  padding: 70px 0 80px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.category-portals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.portal-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 28px 24px;
  display: flex;
  gap: 20px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.portal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.portal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  border-color: #cbd5e1;
}

.portal-card:hover::before {
  opacity: 1;
}

.portal-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.portal-autism .portal-icon {
  background: #f5f3ff;
  color: #7c3aed;
}
.portal-autism::before {
  background: #7c3aed;
}

.portal-accessible .portal-icon {
  background: #f0fdfa;
  color: #0d9488;
}
.portal-accessible::before {
  background: #0d9488;
}

.portal-multigen .portal-icon {
  background: #fffbeb;
  color: #d97706;
}
.portal-multigen::before {
  background: #d97706;
}

.portal-specialists .portal-icon {
  background: #f0f9ff;
  color: var(--primary);
}
.portal-specialists::before {
  background: var(--primary);
}

.portal-budget .portal-icon {
  background: #ecfdf5;
  color: #059669;
}
.portal-budget::before {
  background: #059669;
}

.portal-routes .portal-icon {
  background: #eff6ff;
  color: #2563eb;
}
.portal-routes::before {
  background: #2563eb;
}

.portal-body {
  flex: 1;
}

.portal-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  display: block;
  margin-bottom: 6px;
}

.portal-body h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.3;
}

.portal-body p {
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 12px;
}

.portal-cta {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease;
}

.portal-card:hover .portal-cta {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .page-headline {
    font-size: 2rem;
  }
  .spotlight-grid {
    grid-template-columns: 1fr;
  }
  .category-portals-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   TRAVELLERS GRID & DEDICATED PROFILE SUB-PAGE STYLES
   ========================================================================== */

.expert-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f0f9ff;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  border: 1px solid #bae6fd;
  margin-bottom: 8px;
}

.expert-specialty-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 4px;
}

.expert-quote {
  font-style: italic;
  font-size: 0.82rem;
  color: #475569;
  background: #f8fafc;
  padding: 8px 12px;
  border-left: 3px solid var(--primary);
  border-radius: 0 6px 6px 0;
  margin-bottom: 12px;
  line-height: 1.4;
}

.traveller-card-action {
  margin-top: 14px;
}

.specialist-subnav-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 0 12px;
}

.subnav-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.subnav-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.subnav-title i {
  color: var(--primary);
}

.subnav-back-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.subnav-back-link:hover {
  text-decoration: underline;
  color: var(--primary-dark);
}

/* Floating Page Modal Enhancement */
.modal-window {
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.4) !important;
}

.traveller-card:hover .traveller-card-cover img {
  transform: scale(1.05);
}

/* ==========================================================================
   Floating Journey Page Modal (Matches Live flyinghorse.online Exactly)
   ========================================================================== */
#trip-modal .modal-window {
  max-width: 820px;
  background: #ffffff;
  border-radius: 20px;
  padding: 34px 38px 40px;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.4);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

@media (max-width: 640px) {
  #trip-modal .modal-window {
    padding: 24px 20px 28px;
    border-radius: 16px;
  }
}

.floating-modal-container {
  color: #1e293b;
}

/* 1. Top Summary Pill Bar */
.modal-summary-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 13px 28px;
  margin-bottom: 24px;
  background: #ffffff;
}

.summary-col {
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.summary-col.author-col {
  cursor: pointer;
  transition: color 0.15s ease;
}

.summary-col.author-col:hover {
  color: #0284c7;
}

.summary-col.cost-col {
  color: #ea580c; /* terracotta orange-red from live site */
}

.summary-col.avg-col {
  color: #0f172a;
}

/* 2. Budget Breakdown Section */
.modal-budget-breakdown {
  margin-bottom: 24px;
}

.budget-breakdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.budget-breakdown-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.budget-breakdown-title i {
  color: #0f172a;
  font-size: 0.95rem;
}

.budget-breakdown-total {
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
}

.budget-segmented-bar {
  display: flex;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: #e2e8f0;
  margin-bottom: 12px;
}

.seg-item {
  height: 100%;
  transition: width 0.3s ease;
}

.seg-item.seg-stay {
  background: #0284c7;
}

.seg-item.seg-transit {
  background: #38bdf8;
}

.seg-item.seg-food {
  background: #f59e0b;
}

.seg-item.seg-activities {
  background: #10b981;
}

.budget-legend-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

.legend-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.legend-dot.dot-stay { background: #0284c7; }
.legend-dot.dot-transit { background: #38bdf8; }
.legend-dot.dot-food { background: #f59e0b; }
.legend-dot.dot-activities { background: #10b981; }

/* 3. Serif Story Title */
.modal-story-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  margin: 28px 0 16px 0;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

/* 4. Story Content */
.modal-story-content p {
  font-family: var(--font-sans);
  font-size: 0.96rem;
  line-height: 1.72;
  color: #334155;
  margin-bottom: 24px;
}

/* 5. Recommended Route Stops (Sand/Cream Card) */
.modal-route-stops-card {
  background: #fdfaf6;
  border: 1px solid #f2e9dc;
  border-radius: 18px;
  padding: 24px 28px;
  margin-top: 24px;
  margin-bottom: 28px;
}

.route-stops-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 12px;
}

.route-stops-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
}

.route-stops-title i {
  color: #ea580c;
  font-size: 1.05rem;
}

.btn-gmaps-pill {
  background: #0284c7;
  color: #ffffff !important;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}

.btn-gmaps-pill:hover {
  background: #0369a1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
  color: #ffffff !important;
}

.route-stops-subtitle {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 22px;
  line-height: 1.45;
}

.route-stops-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.route-stop-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.stop-badge-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ea580c;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.stop-details {
  flex: 1;
}

.stop-name {
  font-size: 0.94rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.3;
}

.stop-desc {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 3px;
  line-height: 1.4;
  margin-bottom: 0;
}

/* 6. Handpicked Booking Partners */
.modal-affiliate-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 24px;
}

.affiliate-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.affiliate-section-header h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.affiliate-section-header h4 i {
  color: var(--primary);
}

.affiliate-badge-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: #0284c7;
  background: #e0f2fe;
  padding: 3px 10px;
  border-radius: 999px;
}

.modal-aff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.m-aff-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.m-aff-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.m-aff-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #0369a1;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.m-aff-badge.flight-badge { color: #0284c7; }
.m-aff-badge.gear-badge { color: #d97706; }

.m-aff-card h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.aff-details {
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 12px;
  line-height: 1.35;
}

.btn-hotel-aff {
  background: #003580;
  color: #ffffff;
}

.btn-hotel-aff:hover {
  background: #00224f;
  color: #ffffff;
}

.btn-flight-aff {
  background: #0770e3;
  color: #ffffff;
}

.btn-flight-aff:hover {
  background: #0554ab;
  color: #ffffff;
}

.btn-gear-aff {
  background: #ff9900;
  color: #111111;
  font-weight: 700;
}

.btn-gear-aff:hover {
  background: #e68a00;
  color: #111111;
}

/* 7. Footer Row */
.modal-footer-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f1f5f9;
  padding-top: 20px;
  margin-top: 10px;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Traveller Name Under Photo & Logo Refinements
   ========================================================================== */
.traveller-card-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a !important;
  margin: 6px 0 6px 0;
  line-height: 1.25;
}

.traveller-avatar-wrapper {
  margin-top: -42px;
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
  display: inline-block;
}

.avatar-sub-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  margin-top: 8px;
  line-height: 1.3;
}

/* Clean Brand Logo Without Travel & Tourism Text */
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 48px !important;
  width: auto !important;
  max-width: 190px !important;
  object-fit: contain !important;
  display: block !important;
}

.footer-brand-inline {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 52px !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain !important;
  display: block !important;
}
