/**
 * Vacations in Egypt — Jawda Theme v1.0.1
 * Design System: Lapis Lazuli (#0A1C2E) + Egyptian Gold (#C39A48) + Papyrus (#F5EEE0)
 */

:root {
  /* Primary Dark — Lapis Lazuli */
  --lapis-900: #0A1C2E;
  --lapis-850: #0D2338;
  --lapis-800: #122C46;
  --lapis-700: #1A3D5E;

  /* Warm neutrals — Papyrus & Sand */
  --papyrus: #F5EEE0;
  --papyrus-2: #EFE5D2;
  --sand: #E5D7BC;

  /* Accent — Egyptian Gold */
  --gold: #C39A48;
  --gold-bright: #E1BE6E;
  --gold-dark: #9C772F;

  /* Accent — Faience (Egyptian turquoise) */
  --faience: #2F8E88;
  --faience-deep: #1F6B67;
  --clay: #C2571B;

  /* Text & Surfaces */
  --ink: #20190F;
  --ink-soft: #5C503C;
  --cream: #F3EBDA;
  --cream-soft: #BEAF92;
  --white: #FFFFFF;

  /* Layout & Elevations */
  --maxw: 1240px;
  --maxw-narrow: 860px;
  --r: 14px;
  --shadow: 0 16px 40px -20px rgba(10, 28, 46, 0.35);
  --shadow-lift: 0 28px 60px -24px rgba(10, 28, 46, 0.45);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Layout tokens (v1.1) */
  --header-h: 76px;
  --topbar-h: 38px;
  --pad: clamp(16px, 4vw, 36px);
  --shadow-sm: 0 6px 18px -10px rgba(10, 28, 46, 0.35);
  --focus-ring: 0 0 0 3px rgba(195, 154, 72, 0.45);
  --chevron-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23C39A48' stroke-width='2.2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

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

body {
  background-color: var(--papyrus);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-serif, .serif-heading {
  font-family: 'Marcellus', Georgia, serif;
  letter-spacing: 0.01em;
  line-height: 1.2;
  font-weight: 400;
  color: var(--lapis-900);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

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

/* Container */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 36px);
}

.container-narrow {
  max-width: var(--maxw-narrow);
}

/* Eyebrow Label */
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: 0.75rem;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 24px;
  height: 1px;
  background-color: var(--gold);
  opacity: 0.6;
}

.eyebrow-gold {
  color: var(--gold-bright);
}
.eyebrow-gold::before,
.eyebrow-gold::after {
  background-color: var(--gold-bright);
}

.gold-text {
  color: var(--gold);
}

.text-cream {
  color: var(--cream) !important;
}

.text-cream-soft {
  color: var(--cream-soft) !important;
}

.text-faience {
  color: var(--faience) !important;
}

.text-clay {
  color: var(--clay) !important;
}

.text-center {
  text-align: center;
}

.justify-center {
  justify-content: center;
}

/* Topbar */
.topbar {
  background-color: #081726;
  color: var(--cream-soft);
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(195, 154, 72, 0.14);
  position: relative;
  z-index: 50;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--topbar-h);
}

.topbar-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  color: var(--cream-soft);
  transition: color 0.2s var(--ease);
}
.topbar-link .icon-sm {
  color: var(--gold);
}
.topbar-link:hover {
  color: var(--gold-bright);
}

.topbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  background: none;
  border: 0;
  border-radius: 999px;
  color: var(--cream);
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.topbar-btn .icon-sm {
  width: 14px;
  height: 14px;
  opacity: 0.8;
}
.topbar-btn:hover,
.topbar-btn[aria-expanded="true"] {
  background-color: var(--lapis-800);
  color: var(--gold-bright);
}

/* Dropdown menus (topbar switchers) */
.currency-dropdown,
.language-dropdown,
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 170px;
  padding: 0.4rem;
  background-color: var(--lapis-850);
  border: 1px solid rgba(195, 154, 72, 0.5);
  border-radius: 10px;
  box-shadow: var(--shadow-lift);
  z-index: 100;
}
.dropdown-menu--right {
  left: auto;
  right: 0;
}
.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  background: none;
  border: 0;
  border-radius: 6px;
  color: var(--cream);
  font: inherit;
  font-size: 0.82rem;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}
.dropdown-item:hover,
.dropdown-item:focus-visible,
.dropdown-item.active {
  background-color: var(--gold);
  color: var(--lapis-900);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background-color: var(--lapis-900);
  border-bottom: 1px solid rgba(195, 154, 72, 0.22);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.scrolled {
  background-color: rgba(10, 28, 46, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 46px;
  width: auto;
}

/* Desktop navigation */
.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.6vw, 1.6rem);
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0;
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-link:hover {
  color: var(--gold-bright);
}
.nav-link:hover::after {
  transform: scaleX(1);
}

.icon-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.2s var(--ease);
}
.nav-item:hover .icon-chevron,
.nav-item:focus-within .icon-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: -12px;
  min-width: 240px;
  margin-top: 12px;
  padding: 0.5rem;
  list-style: none;
  background-color: var(--lapis-850);
  border: 1px solid rgba(195, 154, 72, 0.45);
  border-top: 2px solid var(--gold);
  border-radius: 10px;
  box-shadow: var(--shadow-lift);
  z-index: 100;
}
/* Bridges the gap between the trigger and the panel so hover is not lost */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  display: block;
}

.dropdown-link {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 6px;
  color: var(--cream-soft);
  font-size: 0.85rem;
  white-space: nowrap;
}
.dropdown-link:hover,
.dropdown-link:focus-visible {
  background-color: var(--lapis-800);
  color: var(--gold-bright);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.action-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  border-radius: 50%;
  color: var(--cream);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.action-btn .icon {
  width: 20px;
  height: 20px;
}
.action-btn:hover {
  background-color: var(--lapis-800);
  color: var(--gold-bright);
}

.compare-badge {
  position: absolute;
  top: -2px;
  right: -3px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background-color: var(--gold);
  color: var(--lapis-900);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

.header-cta {
  margin-left: 0.5rem;
  white-space: nowrap;
}

/* Hamburger (shown below the desktop breakpoint, see Responsive) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 9px;
  background: none;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background-color: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
              color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
}
.btn-md {
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
}
.btn-lg {
  padding: 0.95rem 2.1rem;
  font-size: 1rem;
}
.btn-block {
  width: 100%;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--lapis-900);
  box-shadow: 0 6px 18px rgba(195, 154, 72, 0.3);
}
.btn-gold:hover {
  background: linear-gradient(135deg, #ECC87A, var(--gold-bright));
  color: var(--lapis-900);
  box-shadow: 0 10px 24px rgba(195, 154, 72, 0.4);
}

/* Gold outline — for light surfaces (cards, papyrus) */
.btn-outline-gold {
  background: transparent;
  border-color: var(--gold);
  color: #7E5F22;
}
.btn-outline-gold:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--lapis-900);
}

/* Light outline — for dark surfaces (lapis bands, hero) */
.btn-outline {
  background: transparent;
  border-color: rgba(245, 238, 224, 0.55);
  color: var(--cream);
}
.btn-outline:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

/* Dark outline — for light surfaces (blog article, papyrus) */
.btn-outline-dark {
  background: transparent;
  border-color: var(--lapis-900);
  color: var(--lapis-900);
}
.btn-outline-dark:hover {
  background-color: var(--lapis-900);
  color: var(--cream);
}

.btn-wa,
.btn-wa-chat {
  background-color: #25D366;
  color: #FFFFFF;
}
.btn-wa:hover,
.btn-wa-chat:hover {
  background-color: #20BD5A;
  color: #FFFFFF;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 60% 40%, rgba(26,61,94,0.75), var(--lapis-900) 85%), url('/uploads/2024/02/pyramids.webp') center/cover no-repeat;
  color: var(--cream);
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  border-bottom: 1px solid var(--gold);
}

.hero-wrap {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 800px;
}

.hero-title {
  color: var(--cream);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--cream-soft);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

/* Quick search widget */
.hero-search-box {
  background: rgba(10, 28, 46, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(195, 154, 72, 0.6);
  border-radius: var(--r);
  padding: 1.25rem;
  box-shadow: var(--shadow-lift);
  max-width: 920px;
}

.hero-search-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 1rem;
  align-items: end;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}
.search-field label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  font-weight: 700;
}
.search-field select,
.search-field input {
  width: 100%;
  appearance: none;
  padding: 0.7rem 2.4rem 0.7rem 0.9rem;
  background-color: var(--lapis-800);
  background-image: var(--chevron-gold);
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 16px;
  border: 1px solid rgba(195, 154, 72, 0.4);
  border-radius: 8px;
  color: var(--cream);
  font-family: inherit;
  font-size: 0.92rem;
}
.search-field select:focus,
.search-field input:focus {
  outline: none;
  border-color: var(--gold-bright);
  box-shadow: var(--focus-ring);
}

.btn-search {
  min-height: 46px;
  padding: 0.7rem 1.6rem;
  white-space: nowrap;
}

/* Section Shared */
.section {
  padding-block: clamp(3.5rem, 6vw, 6rem);
}

.section-head {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.section-lead {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 680px;
  margin-inline: auto;
}

.bg-paper-deep {
  background-color: var(--papyrus-2);
}

.bg-night {
  background-color: var(--lapis-900);
}

.bg-lapis {
  background-color: var(--lapis-850);
}

/* Tour Card */
.tour-card {
  background-color: var(--white);
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid rgba(229, 215, 188, 0.6);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.tour-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
}

.tour-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--lapis-900);
}

.tour-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.tour-card:hover .tour-card-img {
  transform: scale(1.05);
}

.category-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--faience);
  color: #FFF;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.rating-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(10, 28, 46, 0.85);
  backdrop-filter: blur(4px);
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.star-icon {
  width: 12px;
  height: 12px;
  fill: var(--gold);
}
.rating-count {
  color: var(--cream-soft);
  font-size: 0.65rem;
}

.compare-card-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background-color: rgba(10, 28, 46, 0.8);
  backdrop-filter: blur(4px);
  color: var(--cream);
  border: 1px solid rgba(195, 154, 72, 0.4);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.compare-card-btn:hover, .compare-card-btn.active {
  background-color: var(--gold);
  color: var(--lapis-900);
}

.tour-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tour-card-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.icon-xs {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.tour-card-title {
  font-size: 1.15rem;
  line-height: 1.35;
  margin-bottom: 1rem;
  color: var(--lapis-900);
  flex-grow: 1;
}
.tour-card-title a:hover {
  color: var(--gold-dark);
}

.tour-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(229, 215, 188, 0.6);
  padding-top: 0.85rem;
}

.price-box {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.price-amount {
  font-family: 'Marcellus', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--lapis-900);
  line-height: 1.1;
}

.price-sub {
  font-size: 0.65rem;
  color: var(--ink-soft);
}

/* Grids */
.tours-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Destination Card */
.destination-card {
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  aspect-ratio: 4 / 5;
}

.destination-media {
  position: relative;
  width: 100%;
  height: 100%;
}

.dest-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.destination-card:hover .dest-img {
  transform: scale(1.06);
}

.dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,28,46,0.95) 0%, rgba(10,28,46,0.2) 60%, transparent 100%);
}

.dest-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: var(--cream);
}

.dest-eyebrow {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  display: block;
  margin-bottom: 0.3rem;
}

.dest-title {
  color: var(--cream);
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.dest-badge {
  font-size: 0.78rem;
  color: var(--gold-bright);
  font-weight: 600;
}

/* Single Tour Page Layout */
.tour-header {
  background-color: var(--lapis-900);
  color: var(--cream);
  padding-block: 3rem;
  border-bottom: 1px solid var(--gold);
}
.tour-header .breadcrumb {
  color: var(--cream-soft);
}

.tour-header-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: center;
}

.tour-title {
  color: var(--cream);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}

.tour-key-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.meta-pill {
  background-color: var(--lapis-800);
  border: 1px solid rgba(195, 154, 72, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.tour-header-card {
  background: var(--lapis-850);
  border: 1px solid var(--gold);
  border-radius: var(--r);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lift);
}

.price-callout {
  margin-bottom: 1.25rem;
}
.price-tag-sub {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--cream-soft);
  display: block;
}
.price-val {
  font-family: 'Marcellus', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1.1;
  margin-block: 0.2rem;
}
.price-tag-per {
  font-size: 0.75rem;
  color: var(--cream-soft);
}

/* Tour Gallery */
.tour-gallery-section {
  padding-top: 2rem;
}
.tour-gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  border-radius: var(--r);
  overflow: hidden;
}
.gallery-lead img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.gallery-thumb img {
  width: 100%;
  height: 232px;
  object-fit: cover;
}

/* Tour Layout Grid */
.tour-layout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  padding-block: 3.5rem;
  align-items: start;
}

.tour-section {
  margin-bottom: 3.5rem;
}

/* Itinerary Timeline */
.itinerary-timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.25rem;
}

.itinerary-day {
  background: var(--white);
  border: 1px solid rgba(229, 215, 188, 0.7);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.itinerary-day-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-family: 'Marcellus', serif;
  font-size: 1.15rem;
  background-color: var(--white);
  list-style: none;
}
.itinerary-day-header::-webkit-details-marker {
  display: none;
}

.day-badge {
  background-color: var(--gold);
  color: var(--lapis-900);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  text-transform: uppercase;
}

.day-title {
  flex-grow: 1;
}

.day-toggle-icon {
  font-size: 1.4rem;
  color: var(--gold);
  line-height: 1;
}

.itinerary-day[open] .day-toggle-icon {
  transform: rotate(45deg);
}

.itinerary-day-content {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--sand);
  background-color: #FAFAFA;
}

/* Inclusions Grid */
.tour-inclusions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.inclusion-box {
  background-color: var(--white);
  border-radius: var(--r);
  padding: 1.5rem;
  border: 1px solid rgba(229, 215, 188, 0.7);
}
.inclusion-box.included {
  border-left: 4px solid var(--faience);
}
.inclusion-box.excluded {
  border-left: 4px solid var(--clay);
}
.box-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Sticky Sidebar Box */
.sticky-inquiry-box {
  position: sticky;
  top: 100px;
  background-color: var(--white);
  border-radius: var(--r);
  padding: 1.75rem;
  border: 1px solid var(--sand);
  box-shadow: var(--shadow);
}

.sidebar-form-title {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}
.sidebar-form-sub {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

/* Forms */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--sand);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background-color: #FCFAF5;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}
.form-group select {
  appearance: none;
  background-image: var(--chevron-gold);
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 16px;
  padding-right: 2.4rem;
}
.form-group textarea {
  resize: vertical;
  min-height: 96px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background-color: var(--white);
  box-shadow: var(--focus-ring);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Submission feedback (set by main.js) */
.form-feedback {
  margin-top: 0.25rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.form-feedback.is-success {
  background-color: rgba(47, 142, 136, 0.12);
  border: 1px solid rgba(47, 142, 136, 0.4);
  color: var(--faience-deep);
}
.form-feedback.is-error {
  background-color: rgba(194, 87, 27, 0.1);
  border: 1px solid rgba(194, 87, 27, 0.4);
  color: #8F3A0E;
}

/* FAQs */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--r);
  border: 1px solid rgba(229, 215, 188, 0.7);
  overflow: hidden;
}
.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-family: 'Marcellus', serif;
  font-size: 1.15rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: bold;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-body {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--sand);
  background-color: #FAFAFA;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* WhatsApp Floating */
.whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}

.wa-float-btn {
  background-color: #25D366;
  color: #FFF;
  border: none;
  border-radius: 9999px;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.25s var(--ease);
}
.wa-float-btn:hover {
  transform: translateY(-3px) scale(1.02);
}
.wa-icon {
  width: 22px;
  height: 22px;
}

.wa-modal {
  position: absolute;
  bottom: 60px;
  right: 0;
  width: 320px;
  background-color: #FFF;
  border-radius: var(--r);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  border: 1px solid var(--sand);
}

.wa-modal-header {
  background-color: var(--lapis-900);
  color: var(--cream);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.wa-avatar {
  font-size: 1.5rem;
}
.wa-header-info strong {
  display: block;
  font-size: 0.88rem;
}
.wa-header-info span {
  font-size: 0.72rem;
  color: var(--gold-bright);
}
.wa-close-btn {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.5rem;
  cursor: pointer;
}

.wa-modal-body {
  padding: 1rem;
}
.wa-bubble {
  background-color: #E8F8F5;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--ink);
  margin-bottom: 0.85rem;
}
.wa-quick-questions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.wa-chip {
  background-color: #F3F4F6;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--lapis-900);
  text-decoration: none;
}
.wa-chip:hover {
  background-color: var(--gold);
  color: var(--lapis-900);
}

.wa-modal-footer {
  padding: 0.75rem 1rem;
  border-top: 1px solid #EEE;
  text-align: center;
}

/* Modals */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 10vh 16px 16px;
}
.search-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(10, 28, 46, 0.8);
  backdrop-filter: blur(6px);
}
.search-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 680px;
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.search-modal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--sand);
}
.search-input-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink-soft);
}
.search-input-wrap input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 1.1rem;
  color: var(--ink);
  padding: 0.4rem 0;
}
.search-input-wrap input:focus {
  outline: none;
}
.search-modal-filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background-color: #FBF8F1;
  border-bottom: 1px solid var(--sand);
}
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.filter-group label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.filter-group select {
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--sand);
  border-radius: 8px;
  background-color: var(--white);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--ink);
}
.search-modal-footer {
  display: flex;
  justify-content: flex-end;
  padding: 1rem 1.25rem;
}

/* Footer */
.site-footer {
  background-color: var(--lapis-900);
  color: var(--cream-soft);
  border-top: 2px solid var(--gold);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3rem;
}

.footer-col-brand {
  min-width: 0;
}

.footer-brand-link {
  display: inline-block;
}
.footer-logo-img {
  height: 52px;
  width: auto;
}

.footer-desc {
  margin: 1.25rem 0 1.5rem;
  max-width: 360px;
  line-height: 1.7;
  color: var(--cream-soft);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--cream-soft);
  overflow-wrap: anywhere;
  transition: color 0.2s var(--ease);
}
.footer-contact-item .icon-sm {
  color: var(--gold);
  margin-top: 0.2em;
}
a.footer-contact-item:hover {
  color: var(--gold-bright);
}

.social-links {
  list-style: none;
  display: flex;
  gap: 0.6rem;
}
.social-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--lapis-800);
  border: 1px solid rgba(195, 154, 72, 0.25);
  color: var(--cream);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.social-btn svg {
  width: 18px;
  height: 18px;
}
.social-btn:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--lapis-900);
}

.footer-heading {
  font-family: 'Marcellus', serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--gold-bright);
  margin-bottom: 1.1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  color: var(--cream-soft);
  line-height: 1.4;
  transition: color 0.2s var(--ease);
}
.footer-links a:hover {
  color: var(--gold-bright);
}

.footer-bottom {
  border-top: 1px solid rgba(195, 154, 72, 0.15);
  padding-block: 1.25rem;
  font-size: 0.82rem;
  color: var(--cream-soft);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  flex-wrap: wrap;
}
.copyright {
  margin: 0;
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
}
.footer-legal-links a:hover {
  color: var(--gold-bright);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--lapis-900);
  border: 1px solid var(--gold);
  color: var(--gold);
  cursor: pointer;
  z-index: 999;
  box-shadow: var(--shadow);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* Empty State Placeholder */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background-color: var(--white);
  border-radius: var(--r);
  border: 1px dashed var(--gold);
}
.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.empty-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.empty-desc {
  color: var(--ink-soft);
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

/* Responsive */
/* Desktop nav collapses to the hamburger at this width and below */
@media (max-width: 1080px) {
  :root {
    --header-h: 68px;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 0.5rem var(--pad) 1.5rem;
    background-color: var(--lapis-900);
    border-bottom: 1px solid var(--gold);
    box-shadow: var(--shadow-lift);
  }
  .site-nav.open {
    display: block;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-item {
    border-bottom: 1px solid rgba(195, 154, 72, 0.14);
  }
  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 0.95rem 0.2rem;
    font-size: 1rem;
  }
  .nav-link::after {
    display: none;
  }
  .icon-chevron {
    display: none;
  }
  .nav-dropdown {
    position: static;
    display: block;
    min-width: 0;
    margin: 0 0 0.75rem;
    padding: 0 0 0 0.75rem;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .nav-dropdown::before {
    display: none;
  }
  .dropdown-link {
    padding: 0.5rem 0.4rem;
    white-space: normal;
  }
  .nav-toggle {
    display: flex;
  }
  .header-cta {
    display: none;
  }
  .hero-search-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .btn-search {
    grid-column: 1 / -1;
    width: 100%;
  }
  .tour-header-grid,
  .tour-layout-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-col-brand {
    grid-column: 1 / -1;
  }
  .sticky-inquiry-box,
  .blog-sidebar-cta {
    position: static;
  }
}

@media (max-width: 900px) {
  .topbar-link--email {
    display: none;
  }
  .articles-grid-3,
  .reviews-grid-3,
  .about-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid,
  .nile-showcase-grid,
  .blog-layout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-search-form {
    grid-template-columns: 1fr;
  }
  .btn-search {
    grid-column: auto;
  }
  .tour-gallery-grid {
    grid-template-columns: 1fr;
  }
  .tour-inclusions-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .hide-mobile {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .topbar-group:last-child .topbar-btn {
    padding-inline: 0.4rem;
  }
  .topbar-inner {
    gap: 0.5rem;
  }
  .topbar-group {
    gap: 0.75rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-col-brand {
    grid-column: auto;
  }
  .hero-search-box {
    padding: 1rem;
  }
  .search-modal-filters {
    grid-template-columns: 1fr;
  }
  .compare-card-mini {
    grid-template-columns: 56px 1fr auto;
  }
  .compare-card-mini .btn {
    display: none;
  }
}

@media (max-width: 480px) {
  :root {
    --header-h: 64px;
  }
  .brand-logo-img {
    height: 38px;
  }
  .wa-label {
    display: none;
  }
  .wa-float-btn {
    padding: 0.85rem;
  }
  .wa-modal {
    width: calc(100vw - 32px);
  }
}

/* ==========================================================================
   VACATIONS IN EGYPT — COMPREHENSIVE THEME STYLING ENHANCEMENTS
   Zero CDN Dependencies — 100% Local Styling System
   ========================================================================== */

/* --- ARCHIVE HERO & GENERAL HERO HEADINGS --- */
.archive-hero {
  background: radial-gradient(circle at 50% 30%, rgba(26,61,94,0.85), var(--lapis-900) 85%), url('/uploads/2024/02/pyramids.webp') center/cover no-repeat;
  color: var(--cream);
  padding-block: clamp(3.5rem, 7vw, 6rem);
  border-bottom: 2px solid var(--gold);
  position: relative;
}

.archive-title {
  color: var(--cream);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-family: 'Marcellus', serif;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.archive-lead {
  color: var(--cream-soft);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 720px;
  margin-inline: auto;
  line-height: 1.65;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--cream-soft);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--cream-soft);
  transition: color 0.2s ease;
}
.breadcrumb a:hover {
  color: var(--gold-bright);
}
.breadcrumb span[aria-current="page"] {
  color: var(--gold-bright);
  font-weight: 600;
}
.breadcrumb.justify-center {
  justify-content: center;
}

/* --- ARCHIVE FILTER BAR --- */
.archive-filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--sand);
  padding: 1rem 0;
  position: sticky;
  top: 72px;
  z-index: 20;
  box-shadow: 0 4px 15px rgba(10, 28, 46, 0.04);
}

.filter-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.filter-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-select {
  padding: 0.6rem 2.2rem 0.6rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--sand);
  background: var(--papyrus) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23C39A48' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.85rem center;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.filter-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(195, 154, 72, 0.2);
}

.filter-count {
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 600;
}

/* --- BLOG CARDS & BLOG GRID --- */
.articles-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid rgba(229, 215, 188, 0.7);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
}

.blog-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--lapis-900);
}
.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.blog-card:hover .blog-img {
  transform: scale(1.06);
}

.blog-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-date {
  font-size: 0.78rem;
  color: var(--gold-dark);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.blog-title {
  font-size: 1.25rem;
  font-family: 'Marcellus', serif;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: var(--lapis-900);
}
.blog-title a:hover {
  color: var(--gold);
}

.blog-excerpt {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more-link {
  font-size: 0.88rem;
  color: var(--gold);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s ease, color 0.2s ease;
}
.read-more-link:hover {
  color: var(--gold-dark);
  gap: 0.55rem;
}

/* --- BLOG SINGLE EDITORIAL LAYOUT --- */
.blog-layout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.blog-main-card {
  background: var(--white);
  border-radius: var(--r);
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(229, 215, 188, 0.7);
  box-shadow: var(--shadow);
}

.blog-meta-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--sand);
  font-size: 0.85rem;
  color: var(--ink-soft);
  flex-wrap: wrap;
}

.blog-tag-pill {
  background: var(--faience);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.blog-byline-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--papyrus);
  border: 1px solid var(--sand);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 2.25rem;
}

.byline-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lapis-900);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Marcellus', serif;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.byline-info strong {
  display: block;
  font-family: 'Marcellus', serif;
  font-size: 1rem;
  color: var(--lapis-900);
}
.byline-info span {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.blog-sidebar-cta {
  background: var(--lapis-900);
  color: var(--cream);
  border-radius: var(--r);
  padding: 2rem;
  border: 1px solid rgba(195, 154, 72, 0.4);
  box-shadow: var(--shadow-lift);
  position: sticky;
  top: 100px;
}
.blog-sidebar-cta .eyebrow {
  margin-bottom: 0.5rem;
}
.blog-sidebar-cta h3 {
  color: var(--cream);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}
.blog-sidebar-cta p {
  color: var(--cream-soft);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

/* --- PROSE RICH STYLING & GOODLAYERS ICON FIX --- */
.prose {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink);
}

.prose h2 {
  font-size: 1.65rem;
  color: var(--lapis-900);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--sand);
  padding-bottom: 0.5rem;
}

.prose h3 {
  font-size: 1.3rem;
  color: var(--lapis-900);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose h4 {
  font-size: 1.15rem;
  color: var(--lapis-800);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose p {
  margin-bottom: 1.35rem;
}

.prose a {
  color: var(--faience-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s ease;
}
.prose a:hover {
  color: var(--gold-dark);
}

.prose figure {
  margin: 2rem 0;
  text-align: center;
}
.prose figure img {
  border-radius: var(--r);
  box-shadow: 0 10px 30px rgba(10, 28, 46, 0.12);
  margin-inline: auto;
  max-width: 100%;
}
.prose figcaption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}
.prose th, .prose td {
  padding: 0.85rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--sand);
}
.prose th {
  background: var(--lapis-900);
  color: var(--cream);
  font-family: 'Marcellus', serif;
  font-weight: 600;
}
.prose tr:hover td {
  background-color: var(--papyrus);
}

/* GoodLayers / FontAwesome Pure CSS Replacements (No CDN needed) */
.gdlr-core-icon-list-icon,
i.fa,
i.fa-map-marker {
  display: inline-block;
  width: 1.2rem;
  height: 1.2rem;
  margin-right: 0.45rem;
  vertical-align: -0.2em;
  background-color: var(--gold);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") no-repeat center / contain;
}

i.fa-check {
  background-color: var(--faience);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
}

i.fa-times {
  background-color: var(--clay);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* --- TAILOR-MADE BESPOKE FORM STYLING --- */
.tailor-made-card {
  background: var(--white);
  border-radius: var(--r);
  padding: clamp(1.75rem, 5vw, 3.5rem);
  border: 1px solid rgba(229, 215, 188, 0.7);
  box-shadow: var(--shadow);
}

.tailor-form .form-step {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--sand);
}
.tailor-form .form-step:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.step-title {
  font-size: 1.35rem;
  color: var(--lapis-900);
  font-family: 'Marcellus', serif;
  margin-bottom: 1.25rem;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.checkbox-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.15rem;
  border-radius: 9999px;
  background: var(--papyrus);
  border: 1px solid var(--sand);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.checkbox-pill:hover {
  border-color: var(--gold);
  background: var(--white);
}
.checkbox-pill input[type="checkbox"] {
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
}
.checkbox-pill:has(input:checked) {
  border-color: var(--gold);
  background: rgba(195, 154, 72, 0.12);
  font-weight: 600;
  color: var(--lapis-900);
}

/* --- CONTACT PAGE & ABOUT PAGE --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.contact-card {
  background: var(--white);
  border-radius: var(--r);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(229, 215, 188, 0.7);
  box-shadow: var(--shadow);
  height: 100%;
}

.contact-card-title {
  font-size: 1.5rem;
  color: var(--lapis-900);
  font-family: 'Marcellus', serif;
  margin-bottom: 0.5rem;
}
.contact-card-sub {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 2rem;
}

.contact-channel-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.channel-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--papyrus);
  border: 1px solid var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.channel-item strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-dark);
  margin-bottom: 0.2rem;
}
.channel-item a, .channel-item span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--lapis-900);
}
.channel-item a:hover {
  color: var(--gold);
}

/* About Us Pillars */
.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.pillar-card {
  background: var(--white);
  border-radius: var(--r);
  padding: 1.75rem;
  border: 1px solid rgba(229, 215, 188, 0.7);
  box-shadow: var(--shadow);
  text-align: center;
}
.pillar-card .pillar-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}
.pillar-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.pillar-card p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --- HOMEPAGE PILLARS, REVIEWS & NILE SHOWCASE --- */
.pillars-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.pillar-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(195, 154, 72, 0.25);
  border-radius: var(--r);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.pillar-box:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}
.pillar-icon-wrap {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.pillar-title {
  color: var(--cream);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.pillar-desc {
  color: var(--cream-soft);
  font-size: 0.88rem;
  line-height: 1.5;
}

.reviews-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.review-card {
  background: var(--white);
  border-radius: var(--r);
  padding: 2rem;
  border: 1px solid rgba(229, 215, 188, 0.7);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.review-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}
.review-text {
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.reviewer-meta strong {
  display: block;
  font-size: 0.95rem;
  color: var(--lapis-900);
}
.reviewer-meta span {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.nile-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.nile-content .lead-text {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}
.check-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.check-list li {
  position: relative;
  padding-left: 1.75rem;
  font-weight: 500;
  color: var(--ink);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  background-color: var(--faience);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* --- 404 ERROR PAGE --- */
.error-404 {
  background: radial-gradient(circle at 50% 30%, rgba(26,61,94,0.6), var(--lapis-900) 80%);
  color: var(--cream);
  padding: clamp(5rem, 12vw, 9rem) 0;
  text-align: center;
}
.error-404 .kicker {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-bright);
  font-weight: 700;
}
.error-404 h1 {
  font-size: clamp(4rem, 12vw, 8rem);
  color: var(--gold);
  line-height: 1;
  margin-top: 0.5rem;
}
.error-404 .section-lead {
  color: var(--cream-soft);
  font-size: 1.15rem;
  max-width: 500px;
  margin: 1rem auto 2.5rem;
}

@media (max-width: 900px) {
  .articles-grid-3,
  .reviews-grid-3,
  .about-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid,
  .nile-showcase-grid,
  .blog-layout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .articles-grid-3,
  .reviews-grid-3,
  .about-pillars-grid,
  .pillars-grid-4 {
    grid-template-columns: 1fr;
  }
  .filter-bar-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-select {
    width: 100%;
  }
}


/* --- INCLUSIONS / EXCLUSIONS RICH LISTS --- */
.prose-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.prose-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink);
}
.inclusion-box.included .prose-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 1rem;
  height: 1rem;
  background-color: var(--faience);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
}
.inclusion-box.excluded .prose-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 1rem;
  height: 1rem;
  background-color: var(--clay);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") no-repeat center / contain;
}


/* --- BLOG CATEGORY RAIL & CHIPS --- */
.blog-masthead {
  background: radial-gradient(circle at 50% 30%, rgba(26,61,94,0.85), var(--lapis-900) 85%), url('/uploads/2024/02/pyramids.webp') center/cover no-repeat;
  color: var(--cream);
  padding: clamp(3.5rem, 6vw, 5rem) 0 3rem;
  border-bottom: 2px solid var(--gold);
}
.blog-crumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--cream-soft);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.blog-crumbs a {
  color: var(--cream-soft);
}
.blog-crumbs a:hover {
  color: var(--gold-bright);
}
.blog-crumbs span[aria-current="page"] {
  color: var(--gold-bright);
  font-weight: 600;
}

.blog-cat-rail {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}
.blog-cat-rail__label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-right: 0.5rem;
}
.blog-chip {
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(195, 154, 72, 0.3);
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.blog-chip:hover,
.blog-chip.is-active {
  background: var(--gold);
  color: var(--lapis-900);
  border-color: var(--gold);
  font-weight: 600;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-block: 3.5rem;
}
@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--white);
  border-radius: var(--r);
  border: 1px dashed var(--gold);
  margin: 3rem 0;
}

/* Blog CTA Band */
.blog-cta {
  background: var(--lapis-900);
  color: var(--cream);
  padding: 4rem 0;
  border-top: 2px solid var(--gold);
}
.blog-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.blog-cta__title {
  color: var(--cream);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 0.5rem;
}
.blog-cta__text {
  color: var(--cream-soft);
  font-size: 1rem;
  max-width: 580px;
}
.blog-cta__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}


/* ==========================================================================
   v1.1 — utilities, missing component classes, polish
   ========================================================================== */

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Honeypot field: present for bots, invisible to people */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 3000;
  padding: 0.6rem 1rem;
  background-color: var(--gold);
  color: var(--lapis-900);
  border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
main:focus {
  outline: none;
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.icon-sm {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.mt-sm { margin-top: 0.75rem; }
.mt-lg { margin-top: 2rem; }
.mt-xl { margin-top: 3rem; }
.mb-sm { margin-bottom: 0.75rem; }

.rounded-img {
  border-radius: var(--r);
}
.shadow-md {
  box-shadow: 0 10px 30px rgba(10, 28, 46, 0.12);
}
.shadow-lg {
  box-shadow: 0 20px 50px rgba(10, 28, 46, 0.18);
}

.kicker {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Breadcrumb variants used by hub/landing templates */
.page-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}
.page-crumbs a:hover {
  color: var(--gold-dark);
}
.page-crumbs [aria-current="page"] {
  color: var(--lapis-900);
  font-weight: 600;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Post & page layout spacing (moved out of inline styles) */
.post-body-wrap {
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}
.page-body-wrap {
  padding-top: 3rem;
  padding-bottom: 4rem;
}
.featured-img-cover {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--r);
}
.page-featured-media {
  margin: 0 0 2.5rem;
}
.post-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--sand);
}
.faq-block {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--sand);
}
.section-related-articles {
  border-top: 1px solid var(--sand);
}

/* Hub cards (service / insight / case-study listings) */
.hub-cats {
  margin-bottom: 0.75rem;
}
.hub-draft {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background-color: var(--clay);
  color: #FFF;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hub-meta {
  margin-top: auto;
}
a.blog-media {
  display: block;
}

/* Destination card: keep the whole tile clickable and visibly focusable */
.destination-card-link {
  display: block;
  height: 100%;
  color: inherit;
}
.destination-card:focus-within {
  box-shadow: var(--shadow-lift), 0 0 0 3px rgba(195, 154, 72, 0.5);
}

/* Tour single: header meta pills and their icons */
.tour-key-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background-color: rgba(18, 44, 70, 0.75);
  border: 1px solid rgba(195, 154, 72, 0.3);
  font-size: 0.85rem;
  line-height: 1.3;
  color: var(--cream);
}
.meta-pill .icon {
  width: 16px;
  height: 16px;
  color: var(--gold-bright);
}
.price-val--text {
  font-size: 1.9rem;
}
.tour-faqs {
  margin-top: 1rem;
}
.section-related-tours {
  border-top: 1px solid var(--sand);
}
.sticky-inquiry-box {
  top: calc(var(--header-h) + 24px);
}
.blog-sidebar-cta {
  top: calc(var(--header-h) + 24px);
}
.itinerary-day[open] .day-toggle-icon {
  display: inline-block;
}
.day-toggle-icon {
  transition: transform 0.2s var(--ease);
}

/* Filter bar sits under the sticky header */
.archive-filter-bar {
  top: var(--header-h);
}
.filter-empty {
  margin-top: 1rem;
}

/* Blog CTA band: constrained inner width */
.blog-cta .container {
  max-width: var(--maxw);
}

/* 404 page layout */
.error-404 {
  padding: clamp(5rem, 12vw, 9rem) 0;
}
.error-404 .cta-buttons {
  margin-top: 2.5rem;
}

/* WhatsApp launcher */
.wa-modal {
  width: 320px;
}
.wa-modal-footer .btn-wa {
  width: 100%;
}


/* ==========================================================================
   v1.2 — home sections, wide menu panel, static currency label
   ========================================================================== */

/* Close control (search dialog) */
.close-btn {
  background: none;
  border: 0;
  color: var(--ink-soft);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.1rem 0.3rem;
}
.close-btn:hover {
  color: var(--gold-dark);
}

/* Topbar: fixed USD label */
.topbar-currency {
  padding: 0.3rem 0.6rem;
  color: var(--cream);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Wide dropdown (Tours): two columns */
.nav-dropdown--wide {
  min-width: 520px;
  grid-template-columns: 1fr 1fr;
  gap: 0.1rem 0.5rem;
}
.nav-item:hover .nav-dropdown--wide,
.nav-item:focus-within .nav-dropdown--wide {
  display: grid;
}

/* Section rhythm */
.section-why,
.section-about,
.section-styles,
.section-journal,
.section-steps {
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

/* Why book with us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}
.why-card {
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border: 1px solid rgba(229, 215, 188, 0.7);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.why-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--papyrus);
  border: 1px solid var(--sand);
}
.why-icon svg {
  width: 24px;
  height: 24px;
}
.why-icon--gold { color: var(--gold-dark); }
.why-icon--faience { color: var(--faience-deep); }
.why-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.why-text {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.about-copy p {
  color: var(--ink-soft);
  line-height: 1.75;
  margin-top: 1rem;
}
.about-copy .section-title {
  margin-top: 0.25rem;
}
.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.about-media {
  position: relative;
  margin-bottom: 1.5rem;
}
.about-photo {
  border-radius: var(--r);
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 3;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  left: -1.25rem;
  bottom: -1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 320px;
  padding: 1rem 1.2rem;
  background: var(--lapis-900);
  color: var(--cream);
  border: 1px solid rgba(195, 154, 72, 0.45);
  border-radius: 12px;
  box-shadow: var(--shadow-lift);
}
.about-badge strong {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: 1rem;
  color: var(--gold-bright);
}
.about-badge p {
  margin-top: 0.2rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--cream-soft);
}
.about-badge-icon {
  flex-shrink: 0;
  color: var(--gold-bright);
}
.about-badge-icon svg {
  width: 22px;
  height: 22px;
  fill: rgba(225, 190, 110, 0.25);
}

/* Holiday styles */
.styles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.style-tile {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.style-tile:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.style-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--papyrus);
  color: var(--gold-dark);
}
.style-icon svg {
  width: 22px;
  height: 22px;
}
.style-label {
  flex: 1;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
}
.style-arrow {
  color: var(--gold);
  font-weight: 700;
  transition: transform 0.25s var(--ease);
}
.style-tile:hover .style-arrow {
  transform: translateX(3px);
}

/* Destination tiles */
.destinations-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.dest-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  border-radius: var(--r);
  box-shadow: var(--shadow);
  background: var(--lapis-900);
  color: var(--cream);
  isolation: isolate;
}
.dest-card:hover .dest-img {
  transform: scale(1.05);
}
.dest-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
  z-index: -2;
}
.dest-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 28, 46, 0.95) 0%, rgba(10, 28, 46, 0.35) 55%, rgba(10, 28, 46, 0.05) 100%);
  z-index: -1;
}
.dest-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.4rem 1.4rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.dest-name {
  font-family: 'Marcellus', serif;
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--cream);
}
.dest-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--cream-soft);
}
.dest-cta {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-bright);
}

/* Nile: keep the list readable on the papyrus background */
.section-nile-cruises .check-list li {
  font-weight: 600;
}

/* Booking steps (dark band) */
.steps-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  counter-reset: none;
}
.step-card {
  position: relative;
  padding: 1.9rem 1.5rem 1.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(195, 154, 72, 0.25);
  border-radius: var(--r);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--lapis-900);
  font-weight: 800;
  font-size: 1.05rem;
}
.step-title {
  color: var(--cream);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.step-text {
  color: var(--cream-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Journal (home) */
.section-journal .articles-grid-3 {
  gap: 1.75rem;
}

/* Reviews */
.review-card {
  margin: 0;
}
.review-text {
  margin: 0 0 1.5rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.65;
  flex-grow: 1;
}
.reviewer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

/* Responsive for the home sections */
@media (max-width: 1080px) {
  .nav-dropdown--wide {
    display: block;
    min-width: 0;
    grid-template-columns: none;
  }
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-badge {
    left: 0.75rem;
    bottom: -1.25rem;
  }
  .styles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .destinations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .why-grid,
  .steps-grid,
  .styles-grid,
  .destinations-grid {
    grid-template-columns: 1fr;
  }
  .dest-card {
    aspect-ratio: 4 / 3.6;
  }
  .about-badge {
    position: static;
    margin-top: 1rem;
    max-width: none;
  }
}

/* ==========================================================================
   v1.3 — tour page (hero, facts, itinerary, booking card)
   ========================================================================== */
.tp {
  background: var(--papyrus);
}

/* Hero */
.tp-hero {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  background: var(--lapis-900);
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid rgba(195, 154, 72, 0.4);
}
.tp-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}
.tp-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--lapis-900) 0%, rgba(10, 28, 46, 0.75) 55%, rgba(10, 28, 46, 0.35) 100%);
}
.tp-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.tp-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--cream-soft);
}
.tp-crumbs a:hover {
  color: var(--gold-bright);
}
.tp-crumbs-current {
  color: var(--gold-bright);
  font-weight: 600;
}
.tp-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tp-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(243, 235, 218, 0.25);
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tp-badge--teal {
  background: var(--faience);
  border-color: var(--faience);
  color: #FFF;
}
.tp-title {
  color: #FFF;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.12;
  max-width: 22ch;
}
.tp-lead {
  max-width: 62ch;
  color: var(--cream-soft);
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
  line-height: 1.65;
}
.tp-hero-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(195, 154, 72, 0.3);
}
.tp-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.6rem;
}
.tp-price-label,
.tp-price-note {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-soft);
}
.tp-price-value {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 2.6rem);
  color: var(--gold-bright);
  line-height: 1;
}
.tp-price-value--text {
  font-size: 1.6rem;
}
.tp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Facts strip */
.tp-facts {
  background: #FFF;
  border-bottom: 1px solid var(--sand);
  padding: 1rem 0;
}
.tp-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.tp-fact {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 0.25rem;
}
.tp-fact-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--papyrus);
  color: var(--gold-dark);
}
.tp-fact-icon svg {
  width: 20px;
  height: 20px;
}
.tp-fact-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.tp-fact strong {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: 1rem;
  color: var(--lapis-900);
}

/* Layout */
.tp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
  padding-block: clamp(2rem, 4vw, 3.5rem);
}
.tp-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}
.tp-card {
  background: #FFF;
  border: 1px solid var(--sand);
  border-radius: 16px;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.tp-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.tp-h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  color: var(--lapis-900);
  margin-bottom: 0.9rem;
}
.tp-prose {
  color: var(--ink);
}
.tp-card-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.tp-card-head .tp-h2 {
  margin-bottom: 0;
}
.tp-link-btn {
  background: none;
  border: 0;
  padding: 0.3rem 0;
  color: var(--gold-dark);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

/* Gallery */
.tp-gallery {
  padding: 0.75rem;
}
.tp-gallery .gallery-lead {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: var(--lapis-900);
}
.tp-gallery .gallery-lead img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumbs {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}
.gallery-thumb {
  flex: 0 0 auto;
  width: 96px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: var(--lapis-900);
  opacity: 0.75;
  cursor: pointer;
  transition: opacity 0.2s var(--ease), border-color 0.2s var(--ease);
}
.gallery-thumb:hover,
.gallery-thumb:focus-visible {
  opacity: 1;
  border-color: var(--gold);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Itinerary */
.tp-days {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.tp-day {
  border: 1px solid var(--sand);
  border-radius: 12px;
  overflow: hidden;
  background: #FFF;
}
.tp-day[open] {
  border-color: rgba(195, 154, 72, 0.6);
}
.tp-day-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--papyrus);
  cursor: pointer;
  list-style: none;
}
.tp-day-summary::-webkit-details-marker {
  display: none;
}
.tp-day-badge {
  flex-shrink: 0;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--lapis-900);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.tp-day-title {
  flex: 1;
  font-family: 'Marcellus', serif;
  font-size: 1.05rem;
  color: var(--lapis-900);
  line-height: 1.3;
}
.tp-day-chevron {
  display: inline-flex;
  color: var(--gold);
  transition: transform 0.25s var(--ease);
}
.tp-day-chevron svg {
  width: 18px;
  height: 18px;
}
.tp-day[open] .tp-day-chevron {
  transform: rotate(180deg);
}
.tp-day-body {
  padding: 0.9rem 1.2rem 1.2rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Included / excluded */
.tp-incl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.tp-panel {
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid;
}
.tp-panel h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
}
.tp-panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 800;
}
.tp-panel--yes {
  background: #F0FDF4;
  border-color: #BBF7D0;
  color: #14532D;
}
.tp-panel--yes h3 {
  color: #166534;
}
.tp-panel--yes .tp-panel-icon {
  background: #DCFCE7;
  color: #16A34A;
}
.tp-panel--no {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #7F1D1D;
}
.tp-panel--no h3 {
  color: #991B1B;
}
.tp-panel--no .tp-panel-icon {
  background: #FEE2E2;
  color: #DC2626;
}
.tp-list {
  font-size: 0.92rem;
  line-height: 1.55;
}
.tp-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.tp-list li {
  position: relative;
  padding-left: 1.4rem;
}
.tp-panel--yes .tp-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #16A34A;
  font-weight: 800;
}
.tp-panel--no .tp-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #DC2626;
  font-weight: 800;
  font-size: 0.85em;
}
.tp-list p {
  margin: 0;
}

/* FAQ */
.tp-faq {
  max-width: 820px;
  border-top: 1px solid var(--sand);
}
.tp-faq-item {
  border-bottom: 1px solid var(--sand);
}
.tp-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  font-family: 'Marcellus', serif;
  font-size: 1.08rem;
  color: var(--lapis-900);
  cursor: pointer;
  list-style: none;
}
.tp-faq-item summary::-webkit-details-marker {
  display: none;
}
.tp-faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
}
.tp-faq-item[open] summary::after {
  content: "−";
}
.tp-faq-body {
  padding: 0 0 1.2rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* Booking card */
.tp-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.tp-book {
  background: #FFF;
  border: 2px solid rgba(195, 154, 72, 0.55);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lift);
}
.tp-book-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--sand);
}
.tp-book-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.tp-book-price strong {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: 2rem;
  color: var(--gold-dark);
  line-height: 1.1;
}
.tp-book-price span {
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.tp-book-title {
  font-size: 1.2rem;
  color: var(--lapis-900);
  margin-bottom: 0.35rem;
}
.tp-book-lead {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 1rem;
}
.tp-form {
  gap: 0.85rem;
}
.tp-form .form-group label {
  font-size: 0.75rem;
}
.tp-form .form-group input,
.tp-form .form-group select,
.tp-form .form-group textarea {
  font-size: 0.9rem;
  padding: 0.65rem 0.8rem;
}
.tp-wa {
  margin-top: 0.75rem;
}
.tp-tailor {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
}
.tp-tailor a {
  color: var(--gold-dark);
  font-weight: 700;
}

@media (max-width: 1040px) {
  .tp-layout {
    grid-template-columns: 1fr;
  }
  .tp-aside {
    position: static;
  }
}

@media (max-width: 760px) {
  .tp-facts-grid {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .tp-incl-grid {
    grid-template-columns: 1fr;
  }
  .tp-card-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .tp-hero-actions .btn {
    flex: 1 1 auto;
  }
}

/* v1.4 — planning guide, destinations hub, footer licence */
.hub-intro { padding-bottom: 1rem; }
.pt-0 { padding-top: 0; }
.section-planning {
  background: #FFF;
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}
.plan-intro {
  margin: 1rem 0 2rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.plan-block {
  padding: 1.5rem 0;
  border-top: 1px solid var(--sand);
}
.plan-block h3 {
  font-size: 1.3rem;
  color: var(--lapis-900);
  margin-bottom: 0.6rem;
}
.plan-block p {
  line-height: 1.75;
  color: var(--ink-soft);
}
.footer-licence {
  display: inline-block;
  margin-left: 0.75rem;
  color: var(--cream-soft);
}
time.blog-date { display: block; }

/* v1.5 — taxonomy archives: hero, sub-category chips, load more, content, FAQ */
.ta-hero {
  background: var(--lapis-900);
  color: var(--cream);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(2rem, 4vw, 2.75rem);
  border-bottom: 1px solid rgba(195, 154, 72, 0.4);
}
.ta-kicker {
  margin-top: 1.25rem;
}
.ta-title {
  color: #FFF;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.12;
}
.ta-section {
  background: var(--papyrus);
  padding-block: clamp(2rem, 4vw, 3rem);
}
.ta-subs {
  margin-bottom: 1.75rem;
}
.ta-subs-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}
.ta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ta-chip {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: #FFF;
  border: 1px solid var(--sand);
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.ta-chip span {
  color: var(--ink-soft);
  font-weight: 500;
}
.ta-chip:hover,
.ta-chip:focus-visible {
  border-color: var(--gold);
}
.ta-chip.is-active {
  background: var(--lapis-900);
  border-color: var(--lapis-900);
  color: var(--cream);
}
.ta-chip.is-active span {
  color: var(--gold-bright);
}
.ta-count {
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 600;
}
.ta-more {
  display: flex;
  justify-content: center;
  margin-top: 2.25rem;
}
.ta-more[hidden] {
  display: none;
}
.ta-content {
  background: #FFF;
  border-top: 1px solid var(--sand);
}
.ta-content .tp-h2 {
  margin-bottom: 1rem;
}
.ta-prose p {
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.ta-faq {
  background: var(--papyrus);
  border-top: 1px solid var(--sand);
}
.ta-faq .tp-h2 {
  margin-bottom: 1rem;
}

/* v1.6 — archive hero, intro, chip links, pager, guide sections */
.ta-hero {
  position: relative;
  overflow: hidden;
  background: var(--lapis-900);
  color: var(--cream);
  padding: clamp(2.5rem, 5vw, 3.75rem) 0 clamp(2.25rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(195, 154, 72, 0.4);
}
.ta-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}
.ta-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--lapis-900) 0%, rgba(10, 28, 46, 0.7) 60%, rgba(10, 28, 46, 0.45) 100%);
}
.ta-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.ta-title {
  color: #FFF;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.12;
  max-width: 24ch;
}
.ta-intro {
  max-width: 70ch;
  color: var(--cream-soft);
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
  line-height: 1.7;
}
.ta-subs {
  background: #FFF;
  border-bottom: 1px solid var(--sand);
  padding: 1.1rem 0;
}
.ta-subs-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}
.ta-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ta-chip {
  display: inline-flex;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--papyrus);
  border: 1px solid var(--sand);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.ta-chip span {
  color: var(--ink-soft);
  font-weight: 500;
  margin-left: 0.25rem;
}
.ta-chip:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}
.ta-section {
  background: var(--papyrus);
  padding-block: clamp(2rem, 4vw, 3rem);
}
.ta-h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  color: var(--lapis-900);
  margin-bottom: 1rem;
}
.ta-count {
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 600;
}
.ta-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-top: 2.25rem;
}
.ta-pager-list {
  display: flex;
  gap: 0.4rem;
  list-style: none;
}
.ta-pager-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.6rem;
  border-radius: 999px;
  background: #FFF;
  border: 1px solid var(--sand);
  color: var(--ink);
  font-weight: 700;
}
.ta-pager-list a.is-current,
.ta-pager-list a[aria-current="page"] {
  background: var(--lapis-900);
  border-color: var(--lapis-900);
  color: var(--cream);
}
.ta-pager-link {
  font-weight: 700;
  color: var(--gold-dark);
}
.ta-guide {
  background: #FFF;
  border-top: 1px solid var(--sand);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.ta-guide p,
.ta-content p {
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.ta-link {
  color: var(--gold-dark);
  font-weight: 700;
}
.ta-content {
  background: var(--papyrus);
  border-top: 1px solid var(--sand);
}
.ta-faq {
  background: #FFF;
  border-top: 1px solid var(--sand);
}

