/* ============================================
   India 365 Portal — Design System
   Matching india365.in visual style
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ── Reset & Base ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #faf5ee;
  --hero:        #221608;
  --hero-card:   #2d1e0c;
  --orange:      #c8622a;
  --orange-light:#d97b45;
  --orange-pale: #f3e8de;
  --text:        #1c1208;
  --text-mid:    #5a4a38;
  --text-muted:  #9a8878;
  --border:      #e8ddd2;
  --white:       #ffffff;
  --card-bg:     #ffffff;
  --nav-h:       62px;
  --serif:       'Playfair Display', Georgia, serif;
  --sans:        'Inter', -apple-system, sans-serif;
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.06);
  --shadow:      0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.14);
  --radius:      8px;
  --radius-lg:   12px;
}

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Top accent bar ───────────────────────── */
body::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--orange) 0%, #e07844 50%, #c8622a 100%);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
}

/* ── Navigation ───────────────────────────── */
.nav {
  position: fixed;
  top: 3px; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 32px;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 3px;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-text {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--orange);
  letter-spacing: -0.3px;
}
.nav-logo-badge {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-mid);
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
  background: var(--orange-pale);
}

.nav-search {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 16px;
  gap: 8px;
  width: 260px;
  flex-shrink: 0;
}
.nav-search svg { color: var(--text-muted); flex-shrink: 0; }
.nav-search input {
  border: none;
  background: transparent;
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--text);
  width: 100%;
  outline: none;
}
.nav-search input::placeholder { color: var(--text-muted); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-signout {
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s;
}
.nav-signout:hover { color: var(--text); }

/* ── Page Wrapper ─────────────────────────── */
.page {
  padding-top: calc(var(--nav-h) + 3px);
  min-height: 100vh;
}

/* ── Hero ─────────────────────────────────── */
.hero {
  background: var(--hero);
  padding: 48px 32px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: center;
}

.hero-greeting {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 28px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
  border: 1.5px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-light);
  border-color: var(--orange-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200,98,42,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-dark {
  background: transparent;
  color: var(--text-mid);
  border-color: var(--border);
}
.btn-outline-dark:hover {
  background: var(--orange-pale);
  border-color: var(--orange);
  color: var(--orange);
}
.btn-sm {
  font-size: 12.5px;
  padding: 7px 16px;
}

/* ── Hero Update Card ─────────────────────── */
.hero-card {
  background: var(--hero-card);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,0.07);
}
.hero-card-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 12px;
}
.hero-card-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 8px;
}
.hero-card-date {
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.hero-card-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ── Stats Bar ────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.stat-item {
  padding: 20px 28px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Section Layout ───────────────────────── */
.section {
  padding: 40px 32px;
}
.section + .section {
  border-top: 1px solid var(--border);
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
}
.section-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── Destination Cards ────────────────────── */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.dest-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  group: true;
}
.dest-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.dest-card:hover img { transform: scale(1.05); }
.dest-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 100%);
}
.dest-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  text-align: center;
}
.dest-card-icon {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  border: 1px solid rgba(255,255,255,0.25);
}
.dest-card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.dest-card-meta {
  font-size: 11.5px;
  color: var(--orange-light);
  font-weight: 500;
}
.dest-card-cats {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
}

/* ── Itinerary Cards ──────────────────────── */
.itin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.itin-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.itin-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.itin-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.itin-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.itin-card:hover .itin-card-img img { transform: scale(1.04); }
.itin-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--orange);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}
.itin-card-body {
  padding: 16px 18px 18px;
}
.itin-card-category {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}
.itin-card-title {
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 8px;
}
.itin-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}
.itin-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.itin-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.itin-meta-item svg { color: var(--orange); }
.itin-card-btns { display: flex; gap: 8px; }

/* ── Experience Cards ─────────────────────── */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.exp-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  cursor: pointer;
}
.exp-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.exp-card:hover img { transform: scale(1.05); }
.exp-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(20,10,0,0.85) 100%);
}
.exp-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 16px;
}
.exp-card-theme {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 6px;
}
.exp-card-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
}

/* ── Festival Calendar Cards ──────────────── */
.festival-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.festival-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: stretch;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.festival-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.festival-date-col {
  background: var(--orange);
  color: var(--white);
  min-width: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
}
.festival-month {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.85;
}
.festival-day {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}
.festival-card-body {
  padding: 14px 16px;
  flex: 1;
}
.festival-name {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}
.festival-location {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.festival-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tag {
  font-size: 10.5px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--orange-pale);
  color: var(--orange);
}
.tag-neutral {
  background: #f0ede8;
  color: var(--text-muted);
}

/* ── News / What's New Cards ──────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.news-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.news-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.news-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.news-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.news-card:hover .news-card-img img { transform: scale(1.04); }
.news-card-body { padding: 16px 18px 18px; }
.news-card-type {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.news-card-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 8px;
}
.news-card-date {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Visual Library Grid ──────────────────── */
.visual-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.visual-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.visual-card.tall { grid-row: span 2; }
.visual-card img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  transition: transform 0.4s;
  display: block;
}
.visual-card:hover img { transform: scale(1.05); }
.visual-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.visual-card:hover .visual-card-overlay { background: rgba(0,0,0,0.35); }
.visual-card-dl {
  opacity: 0;
  transition: opacity 0.2s;
  background: var(--white);
  border-radius: 50%;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
}
.visual-card:hover .visual-card-dl { opacity: 1; }

/* ── Resource Cards ───────────────────────── */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.resource-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.resource-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.resource-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--orange-pale);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
}
.resource-card-body {}
.resource-card-type {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.resource-card-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 4px;
}
.resource-card-meta {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Filter Tabs ──────────────────────────── */
.filter-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.filter-tab {
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.15s;
}
.filter-tab:hover,
.filter-tab.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

/* ── Calendar Month View ──────────────────── */
.cal-header {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
  margin-bottom: 24px;
}
.cal-month-tab {
  text-align: center;
  padding: 8px 4px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  background: var(--white);
  cursor: pointer;
  transition: all 0.15s;
}
.cal-month-tab:hover,
.cal-month-tab.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

/* ── Page Hero (inner pages) ──────────────── */
.page-hero {
  background: var(--hero);
  padding: 40px 32px 36px;
}
.page-hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 10px;
}
.page-hero-title {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 10px;
}
.page-hero-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  line-height: 1.7;
}

/* ── Featured Banner ──────────────────────── */
.featured-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  min-height: 280px;
}
.featured-banner img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.featured-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,10,0,0.8) 0%, rgba(20,10,0,0.3) 60%, transparent 100%);
  display: flex;
  align-items: center;
  padding: 32px;
}
.featured-banner-content {
  max-width: 460px;
}
.featured-banner-tag {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 10px;
}
.featured-banner-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.3;
}
.featured-banner-date {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.featured-banner-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ── Footer ───────────────────────────────── */
.footer {
  background: var(--hero);
  color: rgba(255,255,255,0.7);
  padding: 40px 32px 28px;
  margin-top: 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 220px repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand .nav-logo-text { color: var(--orange); font-size: 20px; }
.footer-brand-desc {
  font-size: 13px;
  line-height: 1.65;
  margin-top: 12px;
  color: rgba(255,255,255,0.45);
}
.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-links a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: rgba(255,255,255,0.35);
}

/* ── Breadcrumb ───────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  padding: 14px 32px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.breadcrumb a { color: var(--text-muted); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: var(--text-mid); font-weight: 500; }

/* ── Horizontal scroll fade hint ─────────────*/
.scroll-hint {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Utility ──────────────────────────────── */
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.flex  { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.text-orange { color: var(--orange); }
.text-muted  { color: var(--text-muted); }
.font-serif  { font-family: var(--serif); }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }


/* ── Login Page ───────────────────────────── */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hero);
  padding: 40px;
}
.login-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}
.login-box .nav-logo { justify-content: center; margin-bottom: 28px; }
.login-box .nav-logo-text { font-size: 28px; }
.login-title {
  font-family: var(--serif);
  font-size: 22px;
  text-align: center;
  margin-bottom: 6px;
  color: var(--text);
}
.login-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 28px;
}
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}
.form-input:focus { border-color: var(--orange); }
.form-btn {
  width: 100%;
  padding: 11px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.form-btn:hover { background: var(--orange-light); }
.form-link {
  display: block;
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-muted);
}
.form-link a { color: var(--orange); font-weight: 500; }
.login-error {
  background: #fff0ee;
  color: #c0392b;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 18px;
  text-align: center;
}

/* ── WP Admin Bar Fix ─────────────────────── */
body.admin-bar .nav { top: 35px; }
body.admin-bar body::before { top: 32px; }
@media (max-width: 782px) { body.admin-bar .nav { top: 49px; } }

/* ── Inline styles from itineraries.html ──── */
.itin-page-layout { display: grid; grid-template-columns: 240px 1fr; gap: 0; }
    .itin-sidebar {
      padding: 28px 20px;
      border-right: 1px solid var(--border);
      background: var(--white);
      position: sticky;
      top: calc(var(--nav-h) + 3px);
      height: calc(100vh - var(--nav-h) - 3px);
      overflow-y: auto;
    }
    .sidebar-section { margin-bottom: 28px; }
    .sidebar-title {
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      color: var(--text);
      margin-bottom: 12px;
      padding-bottom: 8px;
      border-bottom: 2px solid var(--orange);
    }
    .sidebar-link {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 8px 12px;
      border-radius: 6px;
      font-size: 13px;
      color: var(--text-mid);
      cursor: pointer;
      transition: all 0.15s;
      margin-bottom: 2px;
      text-decoration: none;
      text-align: left;
    }
    .sidebar-link:hover, .sidebar-link.active {
      background: var(--orange-pale);
      color: var(--orange);
    }
    .sidebar-count {
      font-size: 11px;
      background: var(--border);
      color: var(--text-muted);
      padding: 2px 7px;
      border-radius: 999px;
    }
    .sidebar-link.active .sidebar-count, .sidebar-filter.checked .sidebar-count {
      background: var(--orange);
      color: var(--white);
    }
    .itin-main { padding: 28px 32px; }
    .itin-grid-4 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
    }
    .duration-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-size: 11px;
      font-weight: 500;
      padding: 3px 8px;
      border-radius: 4px;
      background: rgba(0,0,0,0.45);
      color: white;
      position: absolute;
      bottom: 10px; right: 10px;
    }

/* ── Inline styles from experiences.html ──── */
.exp-hero-grid {
      display: grid;
      grid-template-columns: 1.2fr 1fr 1fr;
      grid-template-rows: 250px 250px;
      gap: 8px;
      margin-bottom: 32px;
    }
    .exp-hero-main {
      grid-row: span 2; position: relative; overflow: hidden;
      border-radius: var(--radius-lg);
    }
    .exp-hero-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; display: block; }
    .exp-hero-main:hover img { transform: scale(1.05); }
    .exp-hero-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(180deg, transparent 30%, rgba(20,10,0,0.85) 100%);
      display: flex; flex-direction: column; justify-content: flex-end;
      padding: 28px;
    }
    .exp-hero-tag { font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--orange); font-weight: 600; margin-bottom: 10px; }
    .exp-hero-title { font-family: var(--serif); font-size: 24px; font-weight: 700; color: white; line-height: 1.25; margin-bottom: 16px; max-width: 380px; }
    .exp-hero-side {
      position: relative; overflow: hidden; cursor: pointer;
      border-radius: var(--radius);
    }
    .exp-hero-side img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; display: block; }
    .exp-hero-side:hover img { transform: scale(1.06); }
    .exp-hero-side-overlay {
      position: absolute; bottom: 0; left: 0; right: 0;
      padding: 12px 14px;
      background: linear-gradient(transparent, rgba(0,0,0,0.8));
    }
    .exp-hero-side-name {
      font-family: var(--serif); font-size: 13px; font-weight: 600; color: white; line-height: 1.3; margin-bottom: 8px;
    }
    .exp-hero-btns { display: flex; gap: 10px; }

    .thematic-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 14px;
      margin-bottom: 36px;
    }
    .theme-card {
      background: var(--card-bg);
      border: 1.5px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 22px 18px;
      cursor: pointer;
      transition: all 0.2s;
      text-align: center;
    }
    .theme-card:hover {
      border-color: var(--orange);
      background: var(--orange-pale);
      transform: translateY(-2px);
    }
    .theme-icon {
      width: 48px; height: 48px;
      border-radius: 12px;
      background: var(--orange-pale);
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 12px;
      color: var(--orange);
      font-size: 22px;
    }
    .theme-card:hover .theme-icon { background: var(--orange); color: white; }
    .theme-name {
      font-weight: 600;
      font-size: 14px;
      color: var(--text);
      margin-bottom: 4px;
    }
    .theme-count { font-size: 12px; color: var(--text-muted); }

    .exp-list-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }
    .exp-list-card {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      cursor: pointer;
      transition: box-shadow 0.2s, transform 0.2s;
    }
    .exp-list-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
    .exp-list-img {
      aspect-ratio: 4/3;
      overflow: hidden;
    }
    .exp-list-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
    .exp-list-card:hover .exp-list-img img { transform: scale(1.05); }
    .exp-list-body { padding: 14px 16px 16px; }
    .exp-list-theme {
      font-size: 10.5px; font-weight: 600;
      letter-spacing: 1.2px; text-transform: uppercase;
      color: var(--orange); margin-bottom: 6px;
    }
    .exp-list-title {
      font-family: var(--serif);
      font-size: 15px; font-weight: 600;
      color: var(--text); line-height: 1.35;
      margin-bottom: 6px;
    }
    .exp-list-loc {
      font-size: 12px; color: var(--text-muted);
      display: flex; align-items: center; gap: 4px;
    }

/* ── Inline styles from visual-library.html ──── */
.masonry-grid {
      columns: 4;
      column-gap: 10px;
    }
    .masonry-item {
      break-inside: avoid;
      margin-bottom: 10px;
      position: relative;
      border-radius: var(--radius);
      overflow: hidden;
      cursor: pointer;
      display: block;
    }
    .masonry-item img {
      width: 100%;
      display: block;
      transition: transform 0.4s;
    }
    .masonry-item:hover img { transform: scale(1.04); }
    .masonry-overlay {
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0);
      transition: background 0.2s;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 14px;
    }
    .masonry-item:hover .masonry-overlay { background: rgba(20,10,0,0.45); }
    .masonry-label {
      opacity: 0;
      transition: opacity 0.2s;
      color: white;
      font-size: 12.5px;
      font-weight: 500;
      margin-bottom: 6px;
    }
    .masonry-item:hover .masonry-label { opacity: 1; }
    .masonry-actions {
      opacity: 0;
      transition: opacity 0.2s;
      display: flex;
      gap: 8px;
    }
    .masonry-item:hover .masonry-actions { opacity: 1; }
    .masonry-btn {
      background: rgba(255,255,255,0.9);
      color: var(--text);
      border: none;
      border-radius: 5px;
      padding: 5px 11px;
      font-size: 11.5px;
      font-weight: 500;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 4px;
      font-family: var(--sans);
      transition: background 0.15s;
    }
    .masonry-btn:hover { background: white; }
    .masonry-btn.primary-btn {
      background: var(--orange);
      color: white;
    }
    .masonry-btn.primary-btn:hover { background: var(--orange-light); }

    .media-type-badge {
      position: absolute;
      top: 10px; right: 10px;
      background: rgba(0,0,0,0.5);
      color: white;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.8px;
      text-transform: uppercase;
      padding: 3px 8px;
      border-radius: 4px;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .dest-selector {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 8px;
      margin-bottom: 24px;
    }
    .dest-btn {
      border: 1.5px solid var(--border);
      background: var(--white);
      border-radius: var(--radius);
      padding: 0;
      overflow: hidden;
      cursor: pointer;
      transition: all 0.15s;
      position: relative;
    }
    .dest-btn:hover, .dest-btn.active {
      border-color: var(--orange);
      box-shadow: 0 0 0 2px var(--orange-pale);
    }
    .dest-btn img { width: 100%; height: 56px; object-fit: cover; display: block; }
    .dest-btn-label {
      font-size: 11.5px;
      font-weight: 600;
      padding: 6px 8px;
      color: var(--text-mid);
      text-align: center;
    }
    .dest-btn.active .dest-btn-label { color: var(--orange); }

/* ── Inline styles from festival-calendar.html ──── */
.cal-layout {
      display: grid;
      grid-template-columns: 1fr 320px;
      gap: 28px;
    }
    .month-section { margin-bottom: 36px; }
    .month-heading {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
    }
    .month-name {
      font-family: var(--serif);
      font-size: 20px;
      font-weight: 600;
      color: var(--text);
    }
    .month-line {
      flex: 1;
      height: 1px;
      background: var(--border);
    }
    .festival-list { display: flex; flex-direction: column; gap: 10px; }
    .festival-row {
      display: flex;
      align-items: stretch;
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      cursor: pointer;
      transition: box-shadow 0.2s, transform 0.2s;
    }
    .festival-row:hover { box-shadow: var(--shadow); transform: translateX(3px); }
    .festival-row-date {
      background: var(--orange);
      color: white;
      min-width: 68px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 12px 8px;
      flex-shrink: 0;
    }
    .frow-month { font-size: 9.5px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; opacity: 0.85; }
    .frow-day { font-family: var(--serif); font-size: 26px; font-weight: 700; line-height: 1; }
    .festival-row-img {
      width: 90px;
      flex-shrink: 0;
      overflow: hidden;
    }
    .festival-row-img img { width: 100%; height: 100%; object-fit: cover; }
    .festival-row-body {
      padding: 12px 16px;
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .frow-name {
      font-family: var(--serif);
      font-size: 15.5px;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 3px;
    }
    .frow-loc {
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 7px;
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .frow-desc { font-size: 12.5px; color: var(--text-mid); line-height: 1.5; }
    .festival-row-actions {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      justify-content: center;
      padding: 12px 16px;
      gap: 8px;
      flex-shrink: 0;
    }

    /* Sidebar */
    .cal-sidebar { position: sticky; top: calc(var(--nav-h) + 27px); }
    .sidebar-card {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      margin-bottom: 16px;
    }
    .sidebar-card-header {
      background: var(--hero);
      padding: 16px 18px;
      color: white;
    }
    .sidebar-card-header-title {
      font-family: var(--serif);
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 4px;
    }
    .sidebar-card-header-sub { font-size: 12px; color: rgba(255,255,255,0.5); }
    .sidebar-card-body { padding: 16px 18px; }
    .mini-event {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      padding: 9px 0;
      border-bottom: 1px solid var(--border);
    }
    .mini-event:last-child { border-bottom: none; }
    .mini-date {
      min-width: 38px;
      text-align: center;
      background: var(--orange-pale);
      border-radius: 6px;
      padding: 4px 6px;
    }
    .mini-date-m { font-size: 9px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--orange); }
    .mini-date-d { font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--orange); line-height: 1; }
    .mini-name { font-size: 13px; font-weight: 500; color: var(--text); line-height: 1.35; }
    .mini-loc { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

    .selling-tip {
      background: var(--orange-pale);
      border: 1px solid rgba(200,98,42,0.2);
      border-radius: var(--radius-lg);
      padding: 16px 18px;
    }
    .selling-tip-title {
      font-size: 12px;
      font-weight: 600;
      color: var(--orange);
      letter-spacing: 0.5px;
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .selling-tip-text { font-size: 12.5px; color: var(--text-mid); line-height: 1.6; }

/* ── Inline styles from resources.html ──── */
.res-layout {
      display: grid;
      grid-template-columns: 220px 1fr;
      gap: 0;
    }
    .res-sidebar {
      padding: 24px 18px;
      border-right: 1px solid var(--border);
      background: var(--white);
      position: sticky;
      top: calc(var(--nav-h) + 3px);
      height: calc(100vh - var(--nav-h) - 3px);
      overflow-y: auto;
    }
    .res-main { padding: 28px 32px; }

    .resource-section { margin-bottom: 40px; }
    .resource-section-title {
      font-family: var(--serif);
      font-size: 12px;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 4px;
    }
    .resource-section-desc {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 18px;
    }

    .doc-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
    }
    .doc-card {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 18px 18px 16px;
      cursor: pointer;
      transition: box-shadow 0.2s, transform 0.2s;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .doc-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
    .doc-card-top { display: flex; align-items: flex-start; gap: 12px; }
    .doc-icon {
      width: 42px; height: 42px;
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      font-size: 20px;
    }
    .doc-icon-pdf { background: #fff0ee; }
    .doc-icon-ppt { background: #fff5e8; }
    .doc-icon-vid { background: #eef4ff; }
    .doc-icon-zip { background: #eefaf3; }
    .doc-card-info {}
    .doc-card-type {
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 1.2px;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 4px;
    }
    .doc-card-title {
      font-size: 13.5px;
      font-weight: 600;
      color: var(--text);
      line-height: 1.35;
    }
    .doc-card-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-top: 10px;
      border-top: 1px solid var(--border);
    }
    .doc-meta-left { font-size: 11.5px; color: var(--text-muted); }
    .doc-dl-btn {
      display: flex;
      align-items: center;
      gap: 5px;
      font-size: 12px;
      font-weight: 500;
      color: var(--orange);
      background: var(--orange-pale);
      border: none;
      padding: 5px 11px;
      border-radius: 5px;
      cursor: pointer;
      font-family: var(--sans);
      transition: all 0.15s;
    }
    .doc-dl-btn:hover { background: var(--orange); color: white; }

    .video-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
    }
    .video-card {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      cursor: pointer;
      transition: box-shadow 0.2s, transform 0.2s;
    }
    .video-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
    .video-thumb {
      position: relative;
      aspect-ratio: 16/9;
      overflow: hidden;
    }
    .video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
    .video-card:hover .video-thumb img { transform: scale(1.04); }
    .video-play {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(0,0,0,0.3);
      transition: background 0.2s;
    }
    .video-card:hover .video-play { background: rgba(0,0,0,0.45); }
    .play-btn {
      width: 44px; height: 44px;
      background: rgba(255,255,255,0.9);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--orange);
      transition: transform 0.2s, background 0.2s;
    }
    .video-card:hover .play-btn { transform: scale(1.1); background: white; }
    .video-body { padding: 12px 14px 14px; }
    .video-title { font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 4px; line-height: 1.35; }
    .video-meta { font-size: 11.5px; color: var(--text-muted); display: flex; gap: 10px; }

    .faq-list { display: flex; flex-direction: column; gap: 8px; }
    .faq-item {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
    }
    .faq-q {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px 18px;
      cursor: pointer;
      font-weight: 500;
      font-size: 14px;
      color: var(--text);
      transition: background 0.15s;
      user-select: none;
    }
    .faq-q:hover { background: var(--orange-pale); }
    .faq-q.open { color: var(--orange); background: var(--orange-pale); }
    .faq-chevron { transition: transform 0.2s; color: var(--text-muted); flex-shrink: 0; }
    .faq-q.open .faq-chevron { transform: rotate(180deg); color: var(--orange); }
    .faq-a {
      padding: 0 18px;
      font-size: 13.5px;
      color: var(--text-mid);
      line-height: 1.7;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.2s;
    }
    .faq-a.open { max-height: 200px; padding: 0 18px 16px; }

    .contact-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
    }
    .contact-card {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 20px;
      text-align: center;
    }
    .contact-icon {
      width: 48px; height: 48px;
      border-radius: 12px;
      background: var(--orange-pale);
      color: var(--orange);
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 12px;
    }
    .contact-name { font-weight: 600; font-size: 14px; color: var(--text); margin-bottom: 4px; }
    .contact-role { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
    .contact-email { font-size: 13px; color: var(--orange); }

    .sidebar-link {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 8px 10px;
      border-radius: 6px;
      font-size: 13.5px;
      color: var(--text-mid);
      cursor: pointer;
      transition: all 0.15s;
      margin-bottom: 2px;
    }
    .sidebar-link:hover, .sidebar-link.active {
      background: var(--orange-pale);
      color: var(--orange);
    }
    .sidebar-section { margin-bottom: 24px; }
    .sidebar-title {
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      color: var(--text);
      margin-bottom: 12px;
      padding: 0 0 8px 0;
      border-bottom: 2px solid var(--orange);
    }


/* ══════════════════════════════════════════════
   RESPONSIVE — must be LAST to override all
   ══════════════════════════════════════════════ */
/* ── Hamburger Button (hidden on desktop) ──── */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav-mobile-signout { display: none; }

/* ── Responsive: Tablet ──────────────────── */
@media (max-width: 1100px) {
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .itin-grid, .itin-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .exp-list-grid { grid-template-columns: repeat(2, 1fr); }
  .thematic-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .doc-grid, .video-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry-grid { columns: 3; }
  .vl-grid { grid-template-columns: repeat(3, 1fr); }
  .exp-hero-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px; }
  .exp-hero-main { grid-row: span 2; }
  .exp-hero-title { font-size: 20px; }
  .cal-layout { grid-template-columns: 1fr 280px; gap: 20px; }
}

/* ── Responsive: Mobile ──────────────────── */
@media (max-width: 768px) {
  /* Nav */
  .nav { padding: 0 16px; gap: 12px; }
  .nav-links {
    display: none;
    position: fixed;
    top: calc(var(--nav-h) + 3px);
    left: 0; right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 20px 24px;
    gap: 0;
    z-index: 999;
    overflow-y: auto;
    border-top: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    font-size: 15px;
    padding: 14px 12px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-mobile-signout {
    display: block;
    color: var(--orange) !important;
    font-weight: 600 !important;
    margin-top: 8px;
    border-top: 2px solid var(--border) !important;
    border-bottom: none !important;
  }
  .nav-search { display: none; }
  .nav-signout { display: none; }
  .nav-hamburger { display: block; }
  .nav-actions { margin-left: auto; }

  /* Hero */
  .hero { grid-template-columns: 1fr; padding: 32px 20px; }
  .hero-card { display: none; }
  .hero-title { font-size: 30px; }
  .hero-desc { font-size: 13px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { text-align: center; justify-content: center; }

  /* Stats */
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 14px 16px; }
  .stat-number { font-size: 24px; }

  /* Sections */
  .section { padding: 28px 16px; }
  .section-header { flex-direction: column; gap: 12px; align-items: flex-start; }
  .page-hero { padding: 28px 16px 24px; }
  .page-hero-title { font-size: 28px; }
  .breadcrumb { padding: 10px 16px; }

  /* Grids → single column */
  .dest-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .itin-grid, .itin-grid-4 { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .festival-grid { grid-template-columns: 1fr; }
  .exp-list-grid { grid-template-columns: repeat(2, 1fr); }
  .thematic-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .doc-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: 1fr; }

  /* Experiences mosaic */
  .exp-hero-grid { grid-template-columns: 1fr; grid-template-rows: 240px repeat(4, 160px); gap: 8px; }
  .exp-hero-main { grid-row: auto; }
  .exp-hero-title { font-size: 20px; }

  /* Visual library */
  .masonry-grid { columns: 2; column-gap: 8px; }
  .vl-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .vl-card-img { height: 160px; }
  .dest-selector { grid-template-columns: repeat(3, 1fr); }

  /* Sidebar layouts → stack */
  .itin-page-layout, .res-layout { grid-template-columns: 1fr; }
  .itin-sidebar, .res-sidebar {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 16px 16px 8px;
    display: block;
    overflow: visible;
  }
  .itin-sidebar .sidebar-section,
  .res-sidebar .sidebar-section {
    margin-bottom: 14px;
    width: 100%;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
  }
  .itin-sidebar .sidebar-section:last-child,
  .res-sidebar .sidebar-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .itin-sidebar .sidebar-title,
  .res-sidebar .sidebar-title {
    margin-bottom: 8px;
    padding: 0;
    font-size: 9.5px;
  }
  .itin-sidebar .sidebar-link,
  .res-sidebar .sidebar-link {
    display: inline-flex;
    padding: 5px 12px;
    font-size: 12px;
    margin: 0 4px 6px 0;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    background: var(--white);
    gap: 5px;
  }
  .itin-sidebar .sidebar-link.active,
  .res-sidebar .sidebar-link.active {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
  }
  .itin-sidebar .sidebar-link.active .sidebar-count {
    background: rgba(255,255,255,0.3);
    color: var(--white);
  }
  .itin-sidebar .sidebar-count {
    font-size: 10px;
    padding: 1px 6px;
  }
  .itin-main, .res-main { padding: 20px 16px; }

  /* Calendar layout */
  .cal-layout { grid-template-columns: 1fr; }
  .cal-header { grid-template-columns: repeat(6, 1fr); gap: 4px; }
  .cal-sidebar { position: static; }
  .festival-row { flex-direction: column; }
  .festival-row-date { flex-direction: row; gap: 6px; min-width: auto; padding: 8px 12px; }
  .festival-row-img { width: 100%; height: 120px; }
  .festival-row-actions { flex-direction: row; padding: 8px 16px 12px; }

  /* Filter tabs scroll */
  .filter-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .filter-tab { flex-shrink: 0; }

  /* Footer */
  .footer { padding: 28px 16px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }

  /* Featured banner */
  .featured-banner { min-height: 220px; }
  .featured-banner img { height: 220px; }
  .featured-banner-overlay { padding: 20px; }
  .featured-banner-title { font-size: 22px; }

  /* Login */
  .login-page { padding: 20px 16px; }
  .login-box { padding: 28px 20px; }

  /* Visual Library stats row */
  .vl-stats-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0 !important;
    padding: 0 !important;
    text-align: center;
  }
  .vl-stats-row > div[style*="display:flex;align-items:center;gap:10px"] {
    flex-direction: column !important;
    padding: 14px 8px !important;
    gap: 6px !important;
    border-right: 1px solid var(--border);
  }
  .vl-stats-row > div[style*="display:flex;align-items:center;gap:10px"]:last-of-type {
    border-right: none;
  }
  .vl-stats-row .vl-divider { display: none !important; }
  .vl-stats-row > div[style*="margin-left:auto"] {
    grid-column: 1 / -1;
    margin-left: 0 !important;
    justify-content: center;
    border-top: 1px solid var(--border);
    padding: 12px !important;
  }
}

/* ── Responsive: Small Mobile ────────────── */
@media (max-width: 480px) {
  .dest-grid { grid-template-columns: 1fr; }
  .exp-list-grid { grid-template-columns: 1fr; }
  .thematic-grid { grid-template-columns: 1fr; }
  .dest-selector { grid-template-columns: repeat(2, 1fr); }
  .cal-header { grid-template-columns: repeat(4, 1fr); }
  .masonry-grid { columns: 1; }
  .vl-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 26px; }
  .page-hero-title { font-size: 24px; }
  .stat-item { padding: 12px; }
  .stat-number { font-size: 22px; }
  .nav { padding: 0 12px; }
}

/* ── reCAPTCHA mobile fix ─────────────────── */
@media (max-width: 420px) {
  .g-recaptcha {
    transform: scale(0.85);
    transform-origin: center center;
  }
}

/* ══════════════════════════════════════════════
   MODAL — Preview Popup
   ══════════════════════════════════════════════ */
.i365-modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,0);z-index:9999;display:flex;align-items:center;justify-content:center;padding:20px;pointer-events:none;transition:background 0.3s ease}
.i365-modal-overlay.open{background:rgba(0,0,0,0.7);pointer-events:auto}
.i365-modal{background:var(--white);border-radius:var(--radius-lg);width:90%;height:90vh;max-width:1200px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,0.4);transform:scale(0.9) translateY(20px);opacity:0;transition:transform 0.3s ease,opacity 0.3s ease}
.i365-modal-overlay.open .i365-modal{transform:scale(1) translateY(0);opacity:1}
.i365-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid var(--border);flex-shrink:0}
.i365-modal-title{font-family:var(--serif);font-size:16px;font-weight:600;color:var(--text);flex:1;margin-right:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.i365-modal-meta{font-size:11px;color:var(--text-muted);display:flex;gap:8px;align-items:center;margin-right:12px}
.i365-modal-actions{display:flex;gap:6px;align-items:center;flex-shrink:0}
.i365-modal-btn{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:6px;border:1.5px solid var(--border);background:var(--white);cursor:pointer;color:var(--text-mid);transition:all 0.15s}
.i365-modal-btn:hover{background:var(--orange-pale);border-color:var(--orange);color:var(--orange)}
.i365-modal-btn.primary{background:var(--orange);border-color:var(--orange);color:#fff}
.i365-modal-btn.primary:hover{background:var(--orange-light)}
.i365-modal-close{font-size:20px;width:34px;height:34px;display:flex;align-items:center;justify-content:center;border:none;background:none;cursor:pointer;color:var(--text-muted);border-radius:6px}
.i365-modal-close:hover{background:#f8d7da;color:#c0392b}
.i365-modal-body{flex:1;overflow:auto;display:flex;align-items:center;justify-content:center;background:#f5f0eb;min-height:300px;position:relative}
.i365-modal-body img{max-width:100%;max-height:100%;object-fit:contain;transition:transform 0.3s}
.i365-modal-body iframe{width:100%;height:100%;border:none;image-rendering:auto}
.i365-modal-body video{max-width:100%;max-height:100%}
.i365-modal-body embed{width:100%;height:100%}
.i365-modal-body .pdf-embed{width:100%;height:100%;min-height:500px}

/* ══════════════════════════════════════════════
   SEARCH — Autocomplete
   ══════════════════════════════════════════════ */
.nav-search{position:relative}
.i365-search-results{position:absolute;top:100%;left:0;right:0;background:var(--white);border:1px solid var(--border);border-radius:0 0 var(--radius) var(--radius);box-shadow:var(--shadow-lg);max-height:360px;overflow-y:auto;z-index:100;display:none}
.i365-search-results.open{display:block}
.i365-search-item{display:flex;align-items:center;gap:12px;padding:10px 16px;cursor:pointer;transition:background 0.1s;border-bottom:1px solid var(--border)}
.i365-search-item:last-child{border-bottom:none}
.i365-search-item:hover{background:var(--orange-pale)}
.i365-search-item-icon{width:36px;height:36px;border-radius:6px;background:var(--bg);display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:18px}
.i365-search-item-text{flex:1;overflow:hidden}
.i365-search-item-title{font-size:13px;font-weight:500;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.i365-search-item-meta{font-size:11px;color:var(--text-muted)}
.i365-search-empty{padding:20px;text-align:center;color:var(--text-muted);font-size:13px}

/* ── No files message ──────────────────────── */
.i365-empty-state{text-align:center;padding:48px 24px;color:var(--text-muted)}
.i365-empty-state svg{margin-bottom:16px;opacity:0.3}
.i365-empty-state p{font-size:14px;margin-bottom:4px}
.i365-empty-state small{font-size:12px}

/* ══════════════════════════════════════════════
   Visual Library — Equal Height Grid (replaces masonry)
   ══════════════════════════════════════════════ */
.vl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.vl-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
}
.vl-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.vl-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.vl-card:hover .vl-card-img img { transform: scale(1.05); }
.vl-video-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.vl-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
}
.vl-card-name {
  font-family: var(--serif);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vl-card-actions {
  display: flex;
  gap: 6px;
}

/* ── Resources sidebar left-align ─────────── */
.res-sidebar .sidebar-link {
  text-align: left;
  justify-content: flex-start;
}

/* ══════════════════════════════════════════════
   Smooth Popup Animations (all popups)
   ══════════════════════════════════════════════ */
.i365-popup-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0); z-index: 9999;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  pointer-events: none; transition: background 0.3s ease;
}
.i365-popup-overlay.open { background: rgba(0,0,0,0.6); pointer-events: auto; }
.i365-popup-box {
  background: var(--bg); border-radius: 16px; width: 90%; max-width: 480px;
  padding: 32px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); position: relative;
  transform: scale(0.9) translateY(20px); opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.i365-popup-overlay.open .i365-popup-box { transform: scale(1) translateY(0); opacity: 1; }

/* ── Experience sidebar hierarchy ──────────── */
.sidebar-sub { padding-left: 0px; }
.sidebar-sub .sidebar-link { font-size: 12px; padding: 5px 10px; }
.sidebar-parent { font-weight: 600; color: var(--text); pointer-events: none; }

/* ── Video play button overlay ─────────────── */
/* ── Training Video Card ───────────────────── */
.tv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tv-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.tv-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-2px); }
.tv-card-img {
  position: relative; height: 220px; overflow: hidden;
  background: #1a1a1a;
}
.tv-card-img img { width: 100%; height: 100%; object-fit: cover; }
.tv-card-img::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.05) 70%);
  pointer-events: none;
}
.tv-play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 60px; height: 60px; background: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4); transition: transform 0.2s;
  z-index: 2;
}
.tv-play-btn svg { margin-left: 3px; }
.tv-card:hover .tv-play-btn { transform: translate(-50%, -50%) scale(1.1); }
.tv-card-body { padding: 16px; }
.tv-card-title {
  font-family: var(--serif); font-size: 15px; font-weight: 600;
  color: var(--text); margin-bottom: 6px; line-height: 1.3;
}
.tv-card-meta { font-size: 12px; color: var(--text-muted); }

@media (max-width: 768px) { .tv-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .tv-grid { grid-template-columns: 1fr; } }

/* ── Language Switcher ─────────────────────── */
.i365-lang-switcher { position: relative; margin-right: 8px; }
.i365-lang-btn {
  display: flex; align-items: center; gap: 5px;
  background: none; border: 1px solid var(--border); border-radius: 6px;
  padding: 5px 10px; cursor: pointer; font-size: 12px;
  color: var(--text-mid); font-family: var(--sans); transition: all 0.15s;
}
.i365-lang-btn:hover { border-color: var(--orange); color: var(--orange); }
.i365-lang-flag { font-size: 14px; line-height: 1; }
.i365-lang-code { font-weight: 600; }
.i365-lang-dropdown {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 999;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; box-shadow: var(--shadow-lg);
  min-width: 170px; padding: 6px;
  display: none;
}
.i365-lang-switcher.open .i365-lang-dropdown { display: block; }
.i365-lang-option {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 5px; font-size: 13px;
  color: var(--text-mid); text-decoration: none; transition: all 0.12s;
}
.i365-lang-option:hover { background: var(--orange-pale); color: var(--orange); }
.i365-lang-option.active { background: var(--orange-pale); color: var(--orange); font-weight: 600; }
@media (max-width: 768px) {
  .i365-lang-switcher { order: -1; }
  .i365-lang-dropdown { right: auto; left: 0; }
}
