/* ═══════════════════════════════════════════
   WANDERLUST — components.css
   All layout & component styles
═══════════════════════════════════════════ */

/* ─────────────────────────────────────────
   NAV / HEADER
───────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.2s;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  height: 64px;
}

.nav__logo {
  flex-shrink: 0;
  text-decoration: none;
}

.nav__logo img { height: 40px; width: auto; }

.nav__logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--color-text);
  line-height: 1;
}

/* Menu */
.nav__menu-wrap { flex: 1; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}

.nav__item { position: relative; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  cursor: pointer;
  white-space: nowrap;
}

.nav__link:hover,
.nav__item--has-dropdown:hover > .nav__link {
  color: var(--color-purple);
  background: var(--color-bg-subtle);
}

.nav__chevron {
  transition: transform 0.2s;
  color: var(--color-text-muted);
}

/* Dropdown */
.nav__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  list-style: none;
  z-index: 10;
}

.nav__item--has-dropdown:hover .nav__dropdown,
.nav__item--has-dropdown:focus-within .nav__dropdown {
  display: block;
}

.nav__item--has-dropdown:hover .nav__chevron {
  transform: rotate(180deg);
}

.nav__dropdown .nav__item { width: 100%; }
.nav__dropdown .nav__link {
  width: 100%;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  border-radius: var(--radius-sm);
}

/* Actions */
.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.nav__action-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.15s;
}

.nav__action-btn:hover {
  background: var(--color-purple-light);
  border-color: var(--color-purple);
  color: var(--color-purple);
}

.nav__action-label { white-space: nowrap; }

/* Language switcher */
.nav__lang { position: relative; }

.nav__lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: var(--space-2) var(--space-3);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.nav__lang-btn:hover { border-color: var(--color-purple); }

.nav__lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-2);
  list-style: none;
  min-width: 80px;
  z-index: 10;
}

.nav__lang:hover .nav__lang-dropdown,
.nav__lang:focus-within .nav__lang-dropdown { display: block; }

.nav__lang-dropdown a {
  display: block;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background 0.1s;
}

.nav__lang-dropdown a:hover {
  background: var(--color-bg-subtle);
  color: var(--color-purple);
}

/* Social */
.nav__social { display: flex; align-items: center; gap: var(--space-2); }

.nav__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--color-text-muted);
  border-radius: var(--radius-full);
  transition: color 0.15s, background 0.15s;
}

.nav__social-link:hover {
  color: var(--color-text);
  background: var(--color-bg-subtle);
}

/* Hamburger (mobile) */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.2s;
}

/* Search overlay */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.97);
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.search-overlay.is-open {
  display: flex;
}

.search-overlay__inner {
  position: relative;
  width: 100%;
  max-width: 680px;
}

.search-overlay__form {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--color-bg-subtle);
  border: 2px solid var(--color-border-dark);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  transition: border-color 0.2s;
}

.search-overlay__form:focus-within {
  border-color: var(--color-purple);
}

.search-overlay__input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: var(--text-md);
  color: var(--color-text);
}

.search-overlay__input::placeholder { color: var(--color-text-light); }

.search-overlay__submit {
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0;
  display: flex;
}

.search-overlay__close {
  position: absolute;
  top: -48px;
  right: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}


/* ─────────────────────────────────────────
   BREADCRUMBS
───────────────────────────────────────── */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.breadcrumbs__back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-lg);
  cursor: pointer;
  color: var(--color-text);
  transition: all 0.15s;
}

.breadcrumbs__back:hover {
  background: var(--color-purple-light);
  border-color: var(--color-purple);
  color: var(--color-purple);
}


/* ─────────────────────────────────────────
   POST HERO (single.php split layout)
───────────────────────────────────────── */
.post-hero {
  padding: var(--space-10) 0 var(--space-6);
  overflow: hidden;
}

.post-hero__inner {
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
  gap: var(--space-8);
  min-height: 480px;
}

.post-hero__title {
  font-size: clamp(var(--text-3xl), 4.5vw, var(--text-5xl));
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--space-5);
  color: var(--color-text);
}

.post-hero__intro {
  font-family: var(--font-serif);
  font-size: var(--text-md);
  font-style: italic;
  line-height: 1.85;
  color: var(--color-text);
  max-width: 54ch;
}

.post-hero__intro a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Blob-clipped image */
.post-hero__image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.post-hero__blob {
  width: 100%;
  max-width: 580px;
  aspect-ratio: 1 / 1;
  border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%;
  overflow: hidden;
  animation: blobMorph 12s ease-in-out infinite;
}

.post-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.post-hero__blob:hover .post-hero__img {
  transform: scale(1.04);
}

@keyframes blobMorph {
  0%,100% { border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%; }
  33%      { border-radius: 50% 50% 40% 60% / 60% 40% 55% 45%; }
  66%      { border-radius: 45% 55% 60% 40% / 45% 60% 40% 55%; }
}


/* ─────────────────────────────────────────
   CHAPTERS ACCORDION
───────────────────────────────────────── */
.chapters {
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-8);
}

.chapters__header {
  margin-bottom: var(--space-4);
}

.chapters__label {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.chapters__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-1);
}

.chapters__item {}

.chapters__link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-3);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.chapters__link:hover {
  background: var(--color-white);
  color: var(--color-purple);
}

.chapters__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}

.chapters__link:hover .chapters__icon { color: var(--color-purple); }

.chapters__title {
  flex: 1;
  line-height: 1.3;
}

/* Sticky chapters bottom bar */
.chapters-sticky {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  z-index: 50;
  padding: var(--space-3) 0;
}

.chapters-sticky.is-visible { display: block; }

.chapters-sticky__toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-5);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.chapters-sticky__toggle:hover {
  border-color: var(--color-purple);
  color: var(--color-purple);
}


/* ─────────────────────────────────────────
   POST LAYOUT (two-column: content + sidebar)
───────────────────────────────────────── */
.post-layout {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: var(--gap-layout);
  padding-top: var(--space-8);
  padding-bottom: var(--space-16);
  align-items: start;
}

/* ── Article content ── */
.post-content {}

/* Body content styles */
.entry-content {
  font-size: var(--text-md);
  line-height: 1.85;
  color: var(--color-text);
}

.entry-content > * + * { margin-top: var(--space-6); }

.entry-content h2 {
  font-size: var(--text-3xl);
  font-weight: 900;
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
  color: var(--color-text);
  scroll-margin-top: 80px;
}

.entry-content h3 {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
  color: var(--color-text);
  scroll-margin-top: 80px;
}

.entry-content h4 {
  font-size: var(--text-xl);
  font-weight: 800;
  margin-top: var(--space-6);
  color: var(--color-text);
}

.entry-content p {
  color: var(--color-text);
  line-height: 1.85;
}

.entry-content a {
  color: var(--color-purple);
  text-decoration: underline;
  text-decoration-color: rgba(107,82,200,0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s;
}

.entry-content a:hover {
  text-decoration-color: var(--color-purple);
}

.entry-content ul,
.entry-content ol {
  list-style: revert;
  padding-left: var(--space-6);
  line-height: 1.9;
}

.entry-content ul li,
.entry-content ol li { margin-bottom: var(--space-2); }

.entry-content img,
.entry-content figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

.entry-content figure figcaption {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: center;
  margin-top: var(--space-2);
}

.entry-content blockquote {
  border-left: 4px solid var(--color-purple);
  padding: var(--space-4) var(--space-6);
  background: var(--color-bg-purple);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-text);
}

/* Tip box — use in content as <div class="tip-box"> */
.tip-box {
  background: var(--color-bg-teal);
  border: 1px solid var(--color-teal-light);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  margin: var(--space-8) 0;
}

.tip-box__title {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 800;
  color: var(--color-teal);
  margin-bottom: var(--space-2);
}

.tip-box p { font-size: var(--text-base); }

/* Hotel / Accommodation block — use as shortcode or Gutenberg block */
.hotel-block {
  background: var(--color-bg-purple);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin: var(--space-8) 0;
}

.hotel-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
}

.hotel-block__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 900;
}

.hotel-block__view-all {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: underline;
}

.hotel-block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.hotel-block__list { display: flex; flex-direction: column; gap: var(--space-3); }

.hotel-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
  transition: box-shadow 0.15s;
}

.hotel-item:hover { box-shadow: var(--shadow-md); }

.hotel-item__thumb {
  width: 64px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.hotel-item__name {
  font-weight: 700;
  font-size: var(--text-sm);
  flex: 1;
}

.hotel-item__location {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 2px;
}

.hotel-item__arrow { color: var(--color-text-muted); }

.hotel-block__featured {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-text);
  transition: box-shadow 0.15s;
}

.hotel-block__featured:hover { box-shadow: var(--shadow-md); }

.hotel-block__featured-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.hotel-block__featured-body {
  padding: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hotel-block__featured-title {
  font-weight: 800;
  font-size: var(--text-sm);
  line-height: 1.3;
}

.hotel-block__ctas {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.hotel-block__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-muted);
  text-decoration: none;
}

.hotel-block__cta:hover { color: var(--color-purple); }

.hotel-block__cta-badge {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--color-purple);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
}

.hotel-block__cta-badge--hostel {
  background: #ff6600;
}

/* Cost/budget grid */
.cost-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin: var(--space-6) 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.cost-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.cost-item__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--color-text-muted);
}

.cost-item__label {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-text);
}

.cost-item__amount {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.cost-item__link {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-purple);
  text-decoration: underline;
  margin-top: 2px;
}

/* Advertisement label */
.ad-label {
  text-align: center;
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin: var(--space-4) 0 var(--space-2);
}

/* Post content footer */
.post-content__footer {
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.post-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.post-tags__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  margin-right: var(--space-1);
}

.share-bar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.share-bar__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
}

.share-bar__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s;
}

.share-bar__btn--pinterest {
  background: #e60023;
  color: var(--color-white);
}

.share-bar__btn--pinterest:hover { background: #c0001e; }

.share-bar__btn--facebook {
  background: #1877f2;
  color: var(--color-white);
}

.share-bar__btn--facebook:hover { background: #1467d0; }

/* Author box (bottom of article) */
.author-box {
  display: flex;
  gap: var(--space-5);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-top: var(--space-10);
}

.author-box__avatar img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.author-box__label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.author-box__name {
  font-size: var(--text-lg);
  font-weight: 900;
  margin-bottom: var(--space-2);
}

.author-box__name a {
  color: var(--color-text);
  text-decoration: none;
}

.author-box__bio { font-size: var(--text-sm); color: var(--color-text-muted); }


/* ─────────────────────────────────────────
   SIDEBAR
───────────────────────────────────────── */
.post-sidebar {}

.post-sidebar__sticky {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

/* Sidebar author card */
.sidebar-author-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
}

.sidebar-author-card__avatar img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-3);
  border: 3px solid var(--color-border);
}

.sidebar-author-card__label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.sidebar-author-card__name {
  font-size: var(--text-lg);
  font-weight: 900;
  margin-bottom: var(--space-2);
}

.sidebar-author-card__bio {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

.sidebar-author-card__link {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-purple);
  text-decoration: underline;
  margin-bottom: var(--space-4);
}

.sidebar-author-card__social {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
}

.sidebar-author-card__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: all 0.15s;
}

.sidebar-author-card__social-link:hover {
  background: var(--color-purple-light);
  border-color: var(--color-purple);
  color: var(--color-purple);
}

/* Sidebar newsletter */
.sidebar-newsletter {
  background: var(--color-bg-purple);
  border: 1px solid #d8d0f0;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
}

.sidebar-newsletter__emoji { font-size: 2rem; margin-bottom: var(--space-2); }

.sidebar-newsletter__title {
  font-size: var(--text-md);
  font-weight: 900;
  margin-bottom: var(--space-2);
}

.sidebar-newsletter__sub {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.sidebar-newsletter__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.sidebar-newsletter__input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  background: var(--color-white);
  outline: none;
  transition: border-color 0.2s;
}

.sidebar-newsletter__input:focus { border-color: var(--color-purple); }

.sidebar-newsletter__btn {
  width: 100%;
  justify-content: center;
}

/* Widgets */
.widget { }
.widget__title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}


/* ─────────────────────────────────────────
   POST META
───────────────────────────────────────── */
.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
}

.post-meta > * + *::before {
  content: '·';
  margin-right: var(--space-2);
}

.post-meta__author a {
  color: var(--color-text);
  font-weight: 600;
  text-decoration: none;
}

.post-meta__author a:hover { color: var(--color-purple); }


/* ─────────────────────────────────────────
   POST CARD
───────────────────────────────────────── */
.post-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.post-card__thumb-link { display: block; }

.post-card__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-bg-subtle);
}

.post-card--large .post-card__thumb { aspect-ratio: 4 / 3; }

.post-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.post-card:hover .post-card__img { transform: scale(1.04); }

.post-card__cat-overlay {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
}

.post-card__body {
  padding: var(--space-4) var(--space-5) var(--space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card__title {
  font-size: var(--text-xl);
  font-weight: 900;
  line-height: 1.25;
  margin: var(--space-2) 0;
}

.post-card--large .post-card__title { font-size: var(--text-2xl); }

.post-card__title-link {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.15s;
}

.post-card__title-link:hover { color: var(--color-purple); }

.post-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: var(--space-4);
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: auto;
}

.post-card__avatar {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.post-card__sep { opacity: 0.4; }


/* Category pills */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}


/* ─────────────────────────────────────────
   HOME HERO
───────────────────────────────────────── */
.home-hero {
  padding: var(--space-12) 0 var(--space-8);
  overflow: hidden;
}

.home-hero__inner {
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
  gap: var(--space-8);
  min-height: 520px;
}

.home-hero__title {
  font-size: clamp(var(--text-3xl), 5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.1;
  margin: var(--space-3) 0 var(--space-5);
}

.home-hero__title-link {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.15s;
}

.home-hero__title-link:hover { color: var(--color-purple); }

.home-hero__excerpt {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  max-width: 50ch;
}

.home-hero__cta { margin-bottom: var(--space-4); }

.home-hero__image-wrap {
  display: flex;
  justify-content: center;
}

.home-hero__blob {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1 / 1;
  border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%;
  overflow: hidden;
  animation: blobMorph 12s ease-in-out infinite;
}

.home-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.home-hero__blob:hover .home-hero__img { transform: scale(1.04); }


/* ─────────────────────────────────────────
   HOME DESTINATIONS
───────────────────────────────────────── */
.home-destinations {
  padding: var(--space-4) 0 var(--space-6);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-10);
}

.home-destinations__inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.home-destinations__label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.home-destinations__pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}


/* ─────────────────────────────────────────
   HOME FEATURED GRID
───────────────────────────────────────── */
.home-featured {
  padding-bottom: var(--space-12);
}

.home-featured__header,
.home-latest__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.home-featured__title,
.home-latest__title {
  font-size: var(--text-2xl);
  font-weight: 900;
}

.home-featured__all {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-purple);
  text-decoration: none;
  transition: gap 0.15s;
}

.home-featured__all:hover { gap: var(--space-3); }

/* Grid: first card large, next two stacked right */
.home-featured__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-5);
}

.home-featured__grid .post-card:first-child {
  grid-row: 1 / 3;
}


/* ─────────────────────────────────────────
   HOME LATEST — 3-col grid
───────────────────────────────────────── */
.home-latest {
  padding-bottom: var(--space-12);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-10);
}

.home-latest__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

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


/* ─────────────────────────────────────────
   ARCHIVE
───────────────────────────────────────── */
.archive-header {
  padding: var(--space-12) 0 var(--space-8);
  background: var(--color-bg-subtle);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-8);
}

.archive-header__inner {}

.archive-header__kicker {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-purple);
  margin-bottom: var(--space-2);
}

.archive-header__title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 900;
  margin-bottom: var(--space-3);
}

.archive-header__desc {
  max-width: 60ch;
  font-size: var(--text-md);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.archive-header__count {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
}

.archive-header__author-card {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.archive-header__avatar {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

/* Sub-category pills */
.archive-subcats {
  margin-bottom: var(--space-6);
}

.archive-subcats__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* Grid */
.archive-grid {
  padding-bottom: var(--space-16);
}

.archive-grid__posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

/* Pagination */
.archive-pagination {
  display: flex;
  justify-content: center;
}

.archive-pagination .nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.15s;
}

.archive-pagination .page-numbers:hover,
.archive-pagination .page-numbers.current {
  background: var(--color-purple);
  border-color: var(--color-purple);
  color: var(--color-white);
}

.archive-pagination .prev,
.archive-pagination .next {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

/* No results */
.archive-empty {
  text-align: center;
  padding: var(--space-16) 0;
}

.archive-empty__msg {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}


/* ─────────────────────────────────────────
   RELATED POSTS
───────────────────────────────────────── */
.related-posts {
  background: var(--color-bg-subtle);
  padding: var(--space-12) 0;
  margin-top: var(--space-10);
}

.related-posts__title {
  font-size: var(--text-2xl);
  font-weight: 900;
  margin-bottom: var(--space-8);
}

.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}


/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer-newsletter {
  background: var(--color-text);
  padding: var(--space-10) 0;
}

.footer-newsletter__inner {
  display: flex;
  align-items: center;
  gap: var(--space-10);
  flex-wrap: wrap;
}

.footer-newsletter__text { flex: 1; min-width: 220px; }

.footer-newsletter__title {
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: var(--space-2);
}

.footer-newsletter__sub {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
}

.footer-newsletter__form {
  display: flex;
  gap: var(--space-3);
  flex: 1;
  min-width: 280px;
  max-width: 480px;
}

.footer-newsletter__input {
  flex: 1;
  padding: var(--space-3) var(--space-5);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  outline: none;
  transition: border-color 0.2s;
}

.footer-newsletter__input::placeholder { color: rgba(255,255,255,0.45); }
.footer-newsletter__input:focus { border-color: rgba(255,255,255,0.5); }

.footer-newsletter__btn { flex-shrink: 0; }

.footer-newsletter__privacy {
  width: 100%;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
  margin-top: var(--space-2);
}

.footer-newsletter__privacy a {
  color: rgba(255,255,255,0.65);
  text-decoration: underline;
}

/* Footer main */
.footer-main {
  background: var(--color-bg-subtle);
  padding: var(--space-12) 0;
}

.footer-main__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-10);
}

.footer-col__bio {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: var(--space-4) 0;
}

.footer-logo { display: inline-block; }
.footer-logo img { height: 36px; width: auto; }
.footer-logo__text {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--color-text);
}

.footer-social {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: all 0.15s;
}

.footer-social__link:hover {
  background: var(--color-purple-light);
  border-color: var(--color-purple);
  color: var(--color-purple);
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-nav a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-nav a:hover { color: var(--color-purple); }

.widget__title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

/* Footer bar */
.footer-bar {
  background: var(--color-bg-subtle);
  border-top: 1px solid var(--color-border);
  padding: var(--space-4) 0;
}

.footer-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-bar__copy {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.footer-bar__copy a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 600;
}

.footer-bar__links {
  display: flex;
  gap: var(--space-5);
}

.footer-bar__links a {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-decoration: none;
}

.footer-bar__links a:hover { color: var(--color-purple); }


/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .post-layout {
    grid-template-columns: 1fr;
  }

  .post-sidebar__sticky {
    position: static;
  }

  .post-sidebar {
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-8);
  }

  .footer-main__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 768px) {
  .nav__menu-wrap { display: none; }
  .nav__menu-wrap.is-open { display: block; }
  .nav__social { display: none; }
  .nav__lang { display: none; }
  .nav__hamburger { display: flex; }

  .nav__menu-wrap.is-open {
    position: fixed;
    inset: 64px 0 0;
    background: var(--color-white);
    overflow-y: auto;
    padding: var(--space-6);
    z-index: 99;
  }

  .nav__menu-wrap.is-open .nav__menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__menu-wrap.is-open .nav__dropdown {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 0 var(--space-4);
    display: none;
  }

  .nav__menu-wrap.is-open .nav__item--has-dropdown.is-open .nav__dropdown {
    display: block;
  }

  .post-hero__inner,
  .home-hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .post-hero__image-wrap,
  .home-hero__image-wrap {
    order: -1;
  }

  .post-hero__blob,
  .home-hero__blob {
    max-width: 320px;
    margin: 0 auto;
  }

  .chapters__grid {
    grid-template-columns: 1fr;
  }

  .home-featured__grid {
    grid-template-columns: 1fr;
  }

  .home-featured__grid .post-card:first-child {
    grid-row: auto;
  }

  .home-latest__grid,
  .related-posts__grid,
  .archive-grid__posts {
    grid-template-columns: 1fr;
  }

  .footer-newsletter__inner {
    flex-direction: column;
    gap: var(--space-6);
  }

  .footer-newsletter__form {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }

  .footer-main__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .chapters-sticky { display: block; }

  .hotel-block__grid {
    grid-template-columns: 1fr;
  }

  .cost-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nav__action-label { display: none; }

  .share-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ═══════════════════════════════════════════
   DARK NAV — overrides previous nav styles
═══════════════════════════════════════════ */

/* Reset old nav rules */
.site-header { background: #1c1c1e; border-bottom: none; }
.site-header.is-scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.4); }

.nav {
  display: flex;
  align-items: center;
  gap: 0;
  height: 58px;
  position: relative;
}

/* Logo */
.nav__logo { flex-shrink: 0; margin-right: var(--space-6); }
.nav__logo img { height: 36px; width: auto; filter: brightness(0) invert(1); }
.nav__logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
}

/* Primary list */
.nav__primary { flex: 1; }
.nav__list {
  display: flex;
  align-items: stretch;
  gap: 0;
  list-style: none;
  height: 58px;
}

.nav__item { display: flex; align-items: stretch; }

/* Trigger button / link — matches dark nav text */
.nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 var(--space-4);
  height: 100%;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.nav__trigger:hover,
.nav__trigger[aria-expanded="true"] {
  color: #fff;
  background: rgba(255,255,255,0.08);
  border-bottom-color: #fff;
}

.nav__trigger--link { gap: var(--space-2); }

.nav__chevron {
  transition: transform 0.2s;
  opacity: 0.7;
}
.nav__trigger[aria-expanded="true"] .nav__chevron { transform: rotate(180deg); }

/* ── Right actions ── */
.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-left: var(--space-4);
  flex-shrink: 0;
}

.nav__search-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  transition: all 0.15s;
}
.nav__search-btn:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

/* Language */
.nav__lang-wrap { position: relative; }

.nav__lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: var(--space-2) var(--space-3);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  transition: all 0.15s;
}
.nav__lang-btn:hover { background: rgba(255,255,255,0.2); }

.nav__lang-list {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 72px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  list-style: none;
  z-index: 200;
}
.nav__lang-wrap:hover .nav__lang-list,
.nav__lang-wrap:focus-within .nav__lang-list { display: block; }

.nav__lang-list a {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: background 0.1s;
}
.nav__lang-list a:hover { background: var(--color-bg-subtle); color: var(--color-purple); }

/* Social */
.nav__social { display: flex; gap: var(--space-2); }
.nav__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: rgba(255,255,255,0.65);
  border-radius: var(--radius-full);
  transition: color 0.15s, background 0.15s;
}
.nav__social-link:hover { color: #fff; background: rgba(255,255,255,0.1); }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: all 0.2s; }

/* ── MEGA PANEL ── */
.mega-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
  z-index: 150;
  /* animated open */
  transform: translateY(-6px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mega-panel:not([hidden]) {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

/* hidden attribute override — use JS to remove/add [hidden] */
.mega-panel[hidden] { display: block !important; } /* keep in DOM for animation */

.mega-backdrop {
  display: none;
  position: fixed;
  inset: 58px 0 0;
  background: rgba(0,0,0,0.35);
  z-index: 140;
}
.mega-backdrop.is-visible { display: block; }

/* Inner layout */
.mega-panel__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding: var(--space-8) var(--space-6);
}

.mega-panel__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

/* Footer bar at bottom of panel */
.mega-panel__footer {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: center;
}

.mega-panel__footer-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.15s, gap 0.15s;
}
.mega-panel__footer-link:hover { color: var(--color-purple); gap: var(--space-3); }

/* ── Region within mega panel ── */
.mega-region { margin-bottom: var(--space-6); }

.mega-region__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.mega-region__title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 900;
  color: var(--color-text);
  line-height: 1;
}

.mega-region__more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: all 0.15s;
  flex-shrink: 0;
}
.mega-region__more:hover {
  background: var(--color-purple-light);
  border-color: var(--color-purple);
  color: var(--color-purple);
}

/* ── Country pills inside mega panel ── */
.mega-region__pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.country-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: #f2f2f0;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  max-width: 150px;
  overflow: hidden;
}
.country-pill:hover {
  background: var(--color-purple-light);
  border-color: var(--color-purple);
}

.country-pill__code {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.country-pill__name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.country-pill:hover .country-pill__code { color: var(--color-purple); }
.country-pill:hover .country-pill__name { color: var(--color-purple-dark); }

/* ── Travel Tips panel specifics ── */
.mega-panel__inner--tips .mega-panel__col--booking {
  border-right: 1px solid var(--color-border);
  padding-right: var(--space-8);
}

.mega-panel__col--tips-content { padding-left: var(--space-2); }

/* Booking list */
.booking-list { list-style: none; margin-top: var(--space-2); }

.booking-item + .booking-item { margin-top: 2px; }

.booking-item__link {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-3);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-text);
  transition: background 0.15s;
}
.booking-item__link:hover { background: var(--color-bg-subtle); }

.booking-item__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}
.booking-item__link:hover .booking-item__icon { color: var(--color-purple); }

.booking-item__text { display: flex; flex-direction: column; gap: 1px; }
.booking-item__title { font-size: var(--text-sm); font-weight: 700; line-height: 1.3; }
.booking-item__provider { font-size: var(--text-xs); color: var(--color-text-muted); }

/* Trip planning posts grid — 2×2 */
.tips-post-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.tips-post-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  padding: var(--space-2);
  transition: background 0.15s;
}
.tips-post-item:hover { background: var(--color-bg-subtle); color: var(--color-purple); }

.tips-post-item__img {
  width: 72px;
  height: 52px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.tips-post-item__title {
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.35;
}

/* Sustainable travel cards — photo + title overlay */
.tips-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.tips-card-item {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 160px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #1a1a1a;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  padding: var(--space-3);
}

.tips-card-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 60%);
  border-radius: inherit;
}

.tips-card-item--placeholder { background: #bbb; }

.tips-card-item__title {
  position: relative;
  z-index: 1;
  display: inline;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 800;
  color: #fff;
  background: rgba(255,255,255,0.95);
  color: var(--color-text);
  border-radius: 20px;
  padding: 4px 10px;
  line-height: 1.5;
  /* multi-line pill effect */
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ── Mega tips section spacing ── */
.mega-tips-section + .mega-tips-section { margin-top: var(--space-6); }


/* ═══════════════════════════════════════════
   SEARCH OVERLAY (full-screen)
═══════════════════════════════════════════ */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.97);
  z-index: 300;
  align-items: center;
  justify-content: center;
}
.search-overlay.is-open { display: flex; }

.search-overlay__inner {
  position: relative;
  max-width: 680px;
  width: 100%;
}

.search-overlay__form {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--color-bg-subtle);
  border: 2px solid var(--color-border-dark);
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-5);
  transition: border-color 0.2s;
}
.search-overlay__form:focus-within { border-color: var(--color-purple); }

.search-overlay__input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--color-text);
}
.search-overlay__input::placeholder { color: var(--color-text-light); }

.search-overlay__submit {
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0;
  display: flex;
}

.search-overlay__close {
  position: absolute;
  top: -52px;
  right: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  transition: color 0.15s;
}
.search-overlay__close:hover { color: var(--color-text); }


/* ═══════════════════════════════════════════
   MOBILE NAV OVERRIDES
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav__primary { display: none; }
  .nav__primary.is-open {
    display: flex;
    position: fixed;
    inset: 58px 0 0;
    background: #fff;
    overflow-y: auto;
    flex-direction: column;
    z-index: 200;
    padding: var(--space-6);
    gap: 0;
  }

  .nav__primary.is-open .nav__list {
    flex-direction: column;
    height: auto;
    gap: 0;
  }

  .nav__primary.is-open .nav__item { flex-direction: column; border-bottom: 1px solid var(--color-border); }

  .nav__primary.is-open .nav__trigger {
    color: var(--color-text);
    height: 48px;
    width: 100%;
    justify-content: space-between;
    background: none;
    border-bottom: none;
    padding: 0 var(--space-2);
  }

  .nav__primary.is-open .mega-panel {
    position: static;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--color-border);
    transform: none;
    opacity: 1;
    pointer-events: all;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
  }

  .nav__primary.is-open .nav__item--mega.is-open .mega-panel {
    max-height: 1200px;
  }

  .nav__primary.is-open .mega-panel__columns {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .mega-panel__inner--tips .mega-panel__col--booking {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding-right: 0;
    padding-bottom: var(--space-5);
  }

  .tips-post-grid,
  .tips-card-grid { grid-template-columns: 1fr; }

  .nav__social { display: none; }
  .nav__hamburger { display: flex; }
}

@media (max-width: 600px) {
  .nav__search-btn span { display: none; }
  .nav__lang-wrap { display: none; }
}
