/* ============================================================
   JourneyAble Theme — Main Stylesheet
   ============================================================ */

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

:root {
  --navy:           #0D2B4B;
  --teal:           #2ABFA3;
  --teal-light:     #E6F8F5;
  --teal-dark:      #1E9F87;
  --btn-navy:       #1B3D6E;
  --btn-navy-hover: #142E52;
  --gray-100:       #F7F8FA;
  --gray-200:       #EEF0F3;
  --gray-400:       #9AA3AE;
  --gray-600:       #5C6570;
  --gray-800:       #1E2530;
  --white:          #ffffff;
  --font:           'DM Sans', sans-serif;
  --shadow-sm:      0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:      0 4px 24px rgba(0,0,0,0.10);
  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      24px;
  --radius-pill:    100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── UTILITY ── */
.container    { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.btn-primary  {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--btn-navy); color: var(--white);
  font-family: var(--font); font-size: 15px; font-weight: 600;
  padding: 11px 24px; border-radius: var(--radius-pill);
  border: none; cursor: pointer; transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--btn-navy-hover); transform: translateY(-1px); color: var(--white); }
.btn-outline {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--gray-800);
  font-family: var(--font); font-size: 15px; font-weight: 500;
  padding: 10px 22px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--gray-200); cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none;
}
.btn-outline:hover { border-color: var(--gray-400); background: var(--gray-100); }
.tag {
  display: inline-block;
  background: var(--gray-100); color: var(--gray-600);
  font-size: 13px; font-weight: 500;
  padding: 5px 14px; border-radius: var(--radius-pill);
  border: 1px solid var(--gray-200);
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
}
.tag:hover { background: var(--teal-light); border-color: var(--teal); color: var(--teal-dark); }
.section-title { font-size: 26px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.view-all {
  font-size: 14px; font-weight: 600; color: var(--teal-dark);
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap 0.2s;
}
.view-all:hover { gap: 8px; color: var(--teal-dark); }

/* ── NAVBAR ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 0 24px;
}
.navbar__inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; gap: 32px;
  height: 68px;
}
.navbar__logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 20px; color: var(--navy);
  flex-shrink: 0; text-decoration: none;
}
.navbar__logo:hover { color: var(--navy); }
.navbar__logo-icon {
  width: 69px;
  height: 62px;
  background: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.navbar__logo-icon svg { width: 22px; height: 22px; fill: white; }
.navbar__logo-text { display: flex; flex-direction: column; }
.navbar__logo-name { line-height: 1.2; }
.navbar__logo-sub  { font-size: 11px; font-weight: 400; color: var(--gray-400); }

/* WordPress nav menu */
.navbar__nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.navbar__nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.navbar__nav ul li a {
  font-size: 15px; font-weight: 500; color: var(--gray-600);
  padding: 8px 14px; border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
  display: block; text-decoration: none;
}
.navbar__nav ul li a:hover,
.navbar__nav ul li.current-menu-item > a { background: var(--gray-100); color: var(--navy); }

.navbar__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }
.navbar__search-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--gray-200); background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--gray-600);
  transition: background 0.15s, border-color 0.15s; flex-shrink: 0;
}
.navbar__search-btn:hover { background: var(--gray-100); border-color: var(--gray-400); }
.navbar__login-btn  { display: inline-flex; }
.navbar__signup-btn { display: inline-flex; }
.navbar__hamburger {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--gray-200); background: transparent;
  display: none; align-items: center; justify-content: center;
  cursor: pointer; color: var(--gray-600); flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}
.navbar__hamburger:hover { background: var(--gray-100); border-color: var(--gray-400); }

/* WP Search Form in header */
.navbar .search-form { display: flex; align-items: center; }
.navbar .search-form label { display: none; }
.navbar .search-field {
  padding: 6px 14px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--gray-200); font-size: 14px;
  font-family: var(--font); outline: none; width: 180px;
  transition: border-color 0.2s;
}
.navbar .search-field:focus { border-color: var(--teal); }
.navbar .search-submit {
  display: none; /* icon button handles this */
}

/* ── MOBILE NAV OVERLAY ── */
.mobile-nav {
  position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 9999;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}
.mobile-nav.open {
  opacity: 1; visibility: visible;
  pointer-events: auto; transform: translateY(0);
}
.mobile-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav ul li a {
  display: block;
  font-size: 16px; font-weight: 500; color: var(--gray-800);
  padding: 14px 16px; border-radius: var(--radius-sm);
  transition: background 0.15s; text-decoration: none;
}
.mobile-nav ul li a:hover { background: var(--gray-100); color: var(--navy); }
.mobile-nav__divider { height: 1px; background: var(--gray-200); margin: 8px 0; }
.mobile-nav__btns { display: flex; flex-direction: column; gap: 10px; padding: 8px 0 16px; }
.mobile-nav__btns .btn-outline,
.mobile-nav__btns .btn-primary {
  width: 100%; justify-content: center; text-align: center;
  padding: 13px 24px; font-size: 15px;
}

/* ── HERO ── */
.hero {
  position: relative;
  background: var(--white);
  padding: 0;
  min-height: 520px;
  overflow: hidden;
}

/* Full-width container — image is absolute, content sits on top */
.hero__inner {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: flex;
  align-items: flex-start;
  min-height: 520px;
  position: relative;
}

/* ── LEFT CONTENT — narrower column, z-index above image ── */
.hero__content {
  width: 520px;
  flex-shrink: 0;
  padding: 64px 0 64px;
  position: relative;
  z-index: 3;
}
.hero__headline {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800; color: var(--navy);
  line-height: 1.1; margin-bottom: 18px; letter-spacing: -1.5px;
}
.hero__headline em { color: var(--teal); font-style: normal; }
.hero__sub {
  font-size: 16px; color: var(--gray-600); line-height: 1.7;
  max-width: 420px; margin-bottom: 28px;
}

/* Search Box */
.search-box {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 40px rgba(13,43,75,0.13);
  padding: 20px 20px 16px;
  /* Wider than the content column — overlaps the image */
  width: calc(100% + 180px);
  position: relative;
  z-index: 4;
}
.search-box__label { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.search-box__fields {
  display: grid; grid-template-columns: 1fr 1fr 1fr auto;
  gap: 8px; align-items: center;
}
.search-field {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  background: var(--gray-100); font-family: var(--font);
}
.search-field i { color: var(--gray-400); font-size: 15px; flex-shrink: 0; }
.search-field input {
  border: none; background: transparent; font-family: var(--font);
  font-size: 14px; color: var(--gray-800); width: 100%; outline: none;
}
.search-field input::placeholder { color: var(--gray-400); }
.search-box__btn {
  background: var(--btn-navy); color: var(--white);
  border: none; border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 15px; font-weight: 600;
  padding: 11px 24px; cursor: pointer;
  transition: background 0.2s; white-space: nowrap;
}
.search-box__btn:hover { background: var(--btn-navy-hover); }
.search-box__tags { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.search-box__tags .label { font-size: 13px; color: var(--gray-400); font-weight: 500; }

/* Hero Image — D-shape clip: rect with smooth left arc */
.hero__image-wrap {
  position: absolute;
  top: 0; bottom: 0; right: 0;
  /* left matches the path start: 38% of the hero width */
  left: 20%;         /* wider image — starts behind content area */
  z-index: 1;
  overflow: hidden;
  clip-path: url(#heroSCurve);
}
.hero__image-wrap::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to left, rgba(0,0,0,0.02) 0%, transparent 20%);
  z-index: 2; pointer-events: none;
}
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}
.hero-family-illustration {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #a8d8ea 0%, #6bb8d4 35%, #4a9abf 65%, #3a8aad 100%);
  position: relative; overflow: hidden;
}
.hero__badge {
  position: absolute;
  bottom: 40px; right: 28px;
  z-index: 3;
  background: var(--white); border-radius: var(--radius-md);
  padding: 18px 20px; max-width: 220px;
  box-shadow: 0 8px 32px rgba(13,43,75,0.14);
  border: 1px solid var(--gray-200);
}
.hero__badge p { font-size: 14px; font-weight: 500; color: var(--gray-600); line-height: 1.5; }
.hero__badge-heart { display: flex; justify-content: flex-end; margin-top: 10px; }
.hero__badge-heart i { color: var(--teal); font-size: 20px; }

/* ── FEATURES STRIP ── */
.features-strip {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 28px 0;
}
.features-strip__inner {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: grid;
  /* Force 5 equal columns — never wraps on desktop */
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.feature-item {
  display: flex; align-items: flex-start; gap: 12px;
  min-width: 0; /* allow text to shrink */
}
.feature-item__icon {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 18px;
}
.feature-item__icon--teal   { background: #E6F8F5; color: var(--teal-dark); }
.feature-item__icon--purple { background: #EEF0FF; color: #5B5ECA; }
.feature-item__icon--amber  { background: #FFF4E0; color: #C87B00; }
.feature-item__icon--blue   { background: #E8F1FF; color: #2563EB; }
.feature-item__icon--pink   { background: #FDE8F0; color: #C0496B; }
.feature-item__text { min-width: 0; }
.feature-item__text h4 { font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.feature-item__text p  { font-size: 12px; color: var(--gray-600); line-height: 1.5; }

/* ── EXPLORE SECTION ── */
.explore { padding: 60px 0 20px; }
.explore__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}

/* ════════════════════════════════════════════════════════
   EXPLORE + COMMUNITY SECTION  (ec- prefix)
   Reference: Image 2 — unified header row + side-by-side content
   ════════════════════════════════════════════════════════ */

/* ── SECTION WRAPPER ── */
.ec-section {
  padding: 36px 0 40px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

/* ── HEADER ROW (both titles in one line) ── */
.ec-header {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  align-items: center;
  margin-bottom: 18px;
}
.ec-header__left,
.ec-header__right {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ec-header__left  .section-title,
.ec-header__right .section-title {
  font-size: 18px; font-weight: 700; color: var(--navy);
  margin: 0;
}

/* ── BODY ROW (5 cards + community card) ── */
.ec-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  align-items: start;
}
.ec-explore { min-width: 0; }

/* ── 5 EXPLORE CARDS GRID ── */
.ec-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.ec-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--white);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ec-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ec-card__img {
  position: relative;
  height: 150px;
  overflow: hidden;
  background: var(--gray-200);
}
.ec-card__img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.3s;
}
.ec-card:hover .ec-card__img img { transform: scale(1.05); }
.ec-card__img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.ec-card__badge {
  position: absolute; top: 10px; left: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.ec-card__body {
  padding: 12px 14px 14px;
  display: flex; flex-direction: column; gap: 4px;
  flex: 1;
  position: relative;
}
.ec-card__title {
  font-size: 13.5px; font-weight: 700; color: var(--navy);
  line-height: 1.3; margin: 0;
}
.ec-card__desc {
  font-size: 12px; color: var(--gray-600); line-height: 1.5; margin: 0;
  padding-bottom: 28px; /* space for arrow below */
}
/* Arrow icon — positioned absolutely at bottom-left of card body */
i.ec-card__arrow {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-size: 15px;
  color: var(--teal-dark);
  line-height: 1;
}

/* ── COMMUNITY CARD ── */
.ec-community {
  width: 300px;
  min-width: 300px;
  flex-shrink: 0;
}
.ec-community__card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 18px;
}

/* Author row */
.ec-community__author {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.ec-community__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
}
.ec-community__avatar--initials {
  background: var(--teal-light); color: var(--teal-dark);
  font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.ec-community__author-info { flex: 1; min-width: 0; }
.ec-community__author-info strong {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ec-community__author-info span {
  display: block; font-size: 11.5px; color: var(--gray-400);
}
.ec-community__new {
  flex-shrink: 0;
  background: var(--teal); color: var(--white);
  font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: 99px;
}

/* Title + excerpt */
.ec-community__title {
  font-size: 15px; font-weight: 700; color: var(--navy);
  line-height: 1.35; margin: 0 0 8px;
}
.ec-community__title a { color: inherit; text-decoration: none; }
.ec-community__title a:hover { color: var(--teal-dark); }
.ec-community__excerpt {
  font-size: 13px; color: var(--gray-600); line-height: 1.6;
  margin: 0 0 14px;
}

/* Actions */
.ec-community__actions {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 14px;
}
.ec-community__action {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; color: var(--gray-400);
  background: none; border: none; cursor: pointer;
  font-family: var(--font); text-decoration: none;
  transition: color 0.15s;
}
.ec-community__action:hover { color: var(--navy); }
.ec-community__action i { font-size: 14px; }
.ec-community__action span { font-weight: 500; }
.ec-community__action--liked,
.ec-community__action--liked i { color: #E85D75; }

/* Dots */
.ec-community__dots {
  display: flex; gap: 6px; justify-content: center;
}
.ec-community__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gray-200);
}
.ec-community__dot--active { background: var(--teal); }

/* ── RESPONSIVE ── */
@media (max-width: 1080px) {
  .ec-header { grid-template-columns: 1fr 260px; gap: 24px; }
  .ec-body   { grid-template-columns: 1fr 260px; gap: 24px; }
  .ec-community { width: 260px; min-width: 260px; }
  .ec-cards  { gap: 10px; }
}
@media (max-width: 900px) {
  .ec-header { grid-template-columns: 1fr; }
  .ec-header__right { display: none; } /* community header shows inline on mobile */
  .ec-body   { grid-template-columns: 1fr; gap: 24px; }
  .ec-community { width: 100%; min-width: unset; }
  .ec-cards  { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 580px) {
  .ec-cards  { grid-template-columns: repeat(2, 1fr); }
}


.explore-card {
  border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer; text-decoration: none; display: block;
}
.explore-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.explore-card__img { position: relative; height: 160px; overflow: hidden; }
.explore-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.explore-card:hover .explore-card__img img { transform: scale(1.05); }
.explore-card__img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.explore-card__badge {
  position: absolute; top: 10px; left: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.explore-card__body { padding: 14px; background: var(--white); }
.explore-card__title { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.explore-card__desc  { font-size: 12.5px; color: var(--gray-600); line-height: 1.5; }

/* ── MAIN CONTENT LAYOUT ── */
.main-content { padding: 0 0 60px; }
.main-content__inner {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start;
}

/* ── COMMUNITY CARD (single featured post, beside explore grid) ── */
.community-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
}
.community-card__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-200);
}
.community-card__header h3 { font-size: 15px; font-weight: 700; color: var(--navy); }

/* Author row */
.community-post__meta {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.community-post__avatar {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  flex-shrink: 0;
}
.community-post__avatar--initials {
  background: var(--teal-light); color: var(--teal-dark);
  font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.community-post__author { flex: 1; min-width: 0; }
.community-post__author h5 { font-size: 13px; font-weight: 700; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.community-post__author p  { font-size: 11.5px; color: var(--gray-400); }
.community-post__new-badge {
  flex-shrink: 0;
  background: var(--teal); color: var(--white);
  font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: 99px;
}

/* Title + excerpt */
.community-post__title {
  font-size: 15px; font-weight: 700; color: var(--navy);
  line-height: 1.35; margin-bottom: 8px;
}
.community-post__title a { color: inherit; text-decoration: none; transition: color 0.15s; }
.community-post__title a:hover { color: var(--teal-dark); }
.community-post__excerpt {
  font-size: 13px; color: var(--gray-600);
  line-height: 1.6; margin-bottom: 14px;
}

/* Backwards-compat: old h4/p selectors */
.community-post h4 { font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.35; margin-bottom: 8px; }
.community-post p  { font-size: 13px; color: var(--gray-600); line-height: 1.6; margin-bottom: 14px; }

/* Action row */
.community-post__actions { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.community-post__action {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; color: var(--gray-400);
  background: none; border: none; cursor: pointer;
  font-family: var(--font); text-decoration: none;
  transition: color 0.15s;
}
.community-post__action:hover { color: var(--navy); }
.community-post__action i { font-size: 14px; }
.community-post__action span { font-weight: 500; }
.community-post__action--liked,
.community-post__action--liked i { color: #E85D75; }

/* Dot indicators */
.community-post__dots { display: flex; gap: 6px; justify-content: center; margin-top: 4px; }
.community-post__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-200); }
.community-post__dot--active { background: var(--teal); }

/* ── STATS BANNER ── */
.stats-banner {
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 32px 0;
}
.stats-banner__inner {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.stats-banner__left { display: flex; align-items: center; gap: 14px; }
.stats-banner__left-icon { color: var(--teal); font-size: 28px; }
.stats-banner__left-text h4 { font-size: 17px; font-weight: 700; color: var(--navy); }
.stats-banner__left-text p  { font-size: 14px; color: var(--gray-600); }
.stats-banner__metrics { display: flex; gap: 48px; }
.stat { text-align: center; }
.stat__num   { font-size: 26px; font-weight: 800; color: var(--navy); display: block; }
.stat__label { font-size: 13px; color: var(--gray-600); }
.stats-banner__cta {
  background: var(--btn-navy); color: var(--white);
  border: none; border-radius: var(--radius-pill);
  font-family: var(--font); font-size: 15px; font-weight: 600;
  padding: 12px 28px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.2s; white-space: nowrap; text-decoration: none;
}
.stats-banner__cta:hover { background: var(--btn-navy-hover); color: var(--white); }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 32px;
}
.footer__inner { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.footer__brand-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 12px;
  text-decoration: none;
}
.footer__brand-logo:hover { color: var(--white); }
.footer__brand-logo-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(42,191,163,0.25);
  display: flex; align-items: center; justify-content: center;
}
.footer__brand p { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer__brand-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer__social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: rgba(255,255,255,0.6);
  transition: background 0.15s, color 0.15s; text-decoration: none;
}
.footer__social-btn:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.footer__col h5 {
  font-size: 13px; font-weight: 700; color: var(--white);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px;
}
/* WP footer widget nav */
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col ul li { margin-bottom: 10px; }
.footer__col ul li a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.15s; text-decoration: none; }
.footer__col ul li a:hover { color: var(--teal); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,0.4);
}
.footer__bottom a { color: rgba(255,255,255,0.4); transition: color 0.15s; text-decoration: none; }
.footer__bottom a:hover { color: var(--teal); }
.footer__bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ── WORDPRESS CONTENT STYLES ── */
.site-content { padding: 60px 0; }
.entry-title  { font-size: 32px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.entry-content p  { margin-bottom: 16px; color: var(--gray-600); line-height: 1.7; }
.entry-content h2 { font-size: 24px; font-weight: 700; color: var(--navy); margin: 32px 0 12px; }
.entry-content h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin: 24px 0 8px; }
.entry-content ul,
.entry-content ol { padding-left: 24px; margin-bottom: 16px; color: var(--gray-600); }
.entry-content li { margin-bottom: 8px; }
.entry-content a  { color: var(--teal-dark); }
.entry-content a:hover { color: var(--navy); }
.entry-content img { border-radius: var(--radius-md); margin: 24px 0; }
.wp-block-image img { border-radius: var(--radius-md); }
.wp-block-button__link { background: var(--btn-navy) !important; border-radius: var(--radius-pill) !important; }

/* ── Gutenberg alignment ── */
.alignfull  { margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); max-width: 100vw; }
.alignwide  { margin-left: -40px; margin-right: -40px; }

/* Pagination */
.pagination { display: flex; gap: 8px; margin-top: 40px; justify-content: center; }
.pagination .page-numbers {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--gray-200); font-size: 14px; font-weight: 500;
  color: var(--gray-600); transition: background 0.15s; text-decoration: none;
}
.pagination .page-numbers:hover,
.pagination .current { background: var(--btn-navy); color: white; border-color: var(--btn-navy); }

/* ── RESPONSIVE ── */

/* Large desktop: everything single-row */
/* 1280px — covered by ec- rules above */

/* Medium desktop */
@media (max-width: 1080px) {
  .features-strip__inner        { gap: 10px; }
  .feature-item__icon           { width: 38px; height: 38px; font-size: 16px; }
  .feature-item__text h4        { font-size: 12.5px; }
  .feature-item__text p         { font-size: 11.5px; }
}

/* Tablet */
@media (max-width: 900px) {
  .main-content__inner          { grid-template-columns: 1fr; }
  .community-card               { position: static; }
  .footer__grid                 { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 1024px) {
  /* Legacy rule: only footer grid collapses here now */
  .footer__grid                 { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  /* Navbar */
  .navbar              { padding: 0 16px; }
  .navbar__inner       { height: 60px; gap: 0; }
  .navbar__logo        { font-size: 17px; gap: 8px; }
  .navbar__logo-icon   { width: 69px; height: 62px; }
  .navbar__logo-sub    { display: none; }
  .navbar__nav         { display: none !important; }
  .navbar__login-btn   { display: none !important; }
  .navbar__signup-btn  { display: none !important; }
  .navbar__search-btn  { display: none !important; }
  .navbar__hamburger   { display: flex !important; }
  .navbar__actions     { gap: 8px; }
  .mobile-nav          { top: 60px; }

  /* Hero */
  .hero__inner        { min-height: auto; padding: 0 16px; flex-direction: column; }
  .hero__content      { width: 100%; padding: 32px 0 24px; }
  .hero__image-wrap   {
    position: relative;
    left: auto; right: auto; top: auto; bottom: auto;
    width: calc(100% + 32px);
    margin-left: -16px;
    height: 260px;
    clip-path: none;
    border-radius: 0;
    margin-bottom: 0;
  }
  .search-box         { width: 100%; }
  .hero__content      { padding: 28px 0 0; }
  .hero__headline     { font-size: 34px; letter-spacing: -1px; }
  .hero__sub          { font-size: 15px; margin-bottom: 24px; }
  .hero__badge        { display: none; }

  /* Search */
  .search-box           { padding: 16px; }
  .search-box__fields   { grid-template-columns: 1fr; gap: 8px; }
  .search-box__btn      { width: 100%; justify-content: center; padding: 12px; }
  .search-box__tags     { flex-wrap: wrap; }

  /* Sections */
  .features-strip                 { padding: 20px 0; }
  .features-strip__inner          { grid-template-columns: 1fr 1fr; gap: 14px; padding: 0 16px; }
  .explore__grid                  { grid-template-columns: 1fr 1fr; gap: 12px; }
  .explore                        { padding: 32px 0 12px; }
  .stats-banner__inner            { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stats-banner__metrics          { gap: 20px; }
  .stats-banner__cta              { width: 100%; justify-content: center; }
  .footer__grid                   { grid-template-columns: 1fr; }
  .container                      { padding: 0 16px; }
  .main-content__inner            { padding: 0 16px; }
}

@media (max-width: 480px) {
  .explore__grid              { grid-template-columns: 1fr; }
  .features-strip__inner      { grid-template-columns: 1fr; }
  .stats-banner__metrics      { flex-wrap: wrap; gap: 12px; }
  .hero__headline             { font-size: 28px; }
  .search-box__tags .tag      { font-size: 12px; padding: 4px 10px; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__content    { animation: fadeUp 0.6s ease both; }
.hero__image-wrap { animation: fadeUp 0.6s 0.15s ease both; }
.feature-item     { animation: fadeUp 0.5s ease both; }
.explore-card     { animation: fadeUp 0.5s ease both; }



/* ============================================================
   DETAIL PAGES — Experience & Destination  (v2 — fixed)
   ============================================================ */

/* ── HERO ─────────────────────────────────────────────────── */
.detail-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.detail-hero--destination { min-height: 500px; }

.detail-hero__img {
  position: absolute;
  inset: 0;
}
.detail-hero__img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
/* Gradient placeholder when no featured image */
.detail-hero__img--placeholder {
  background: linear-gradient(160deg, #0D2B4B 0%, #1B3D6E 55%, #2ABFA3 100%);
}
.detail-hero__img--dest-placeholder {
  background: linear-gradient(145deg, #0D2B4B 0%, #1B3D6E 40%, #2ABFA3 100%);
}
.detail-hero__img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,43,75,0.20) 0%,
    rgba(13,43,75,0.50) 55%,
    rgba(13,43,75,0.80) 100%
  );
}

.detail-hero__inner {
  position: relative;
  z-index: 2;
  padding-top: 90px;
  padding-bottom: 44px;
  width: 100%;
}

/* Breadcrumb */
.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.60);
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.detail-breadcrumb a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  transition: color 0.15s;
}
.detail-breadcrumb a:hover { color: var(--teal); }
.detail-breadcrumb i { font-size: 9px; opacity: 0.6; }
.detail-breadcrumb span { color: rgba(255,255,255,0.45); }

/* Confidence / Score badge */
.detail-confidence {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.96);
  border-radius: var(--radius-sm);
  padding: 9px 16px;
  margin-bottom: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.14);
}
.detail-confidence--dest {
  background: rgba(13,43,75,0.55);
  border: 1.5px solid rgba(42,191,163,0.55);
  backdrop-filter: blur(10px);
  box-shadow: none;
}
.detail-confidence__num {
  font-size: 20px; font-weight: 800;
  color: var(--navy); line-height: 1;
}
.detail-confidence__label {
  font-size: 10px; font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.detail-confidence--dest .detail-confidence__num  { color: var(--white); }
.detail-confidence--dest .detail-confidence__label { color: rgba(255,255,255,0.65); }
.detail-confidence--dest > i { font-size: 18px; color: var(--teal); }

/* Accessibility tag pills */
.detail-hero__tags {
  display: flex; flex-wrap: wrap; gap: 7px;
  margin-bottom: 12px;
}
.detail-acc-tag {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 600;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  border: 1.5px solid;
  text-decoration: none;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.detail-acc-tag:hover { opacity: 0.80; }

/* Hero title */
.detail-hero__title {
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.10;
  letter-spacing: -0.8px;
  margin-bottom: 10px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.28);
}

/* Hero location line (story) */
.detail-hero__location {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; color: rgba(255,255,255,0.72);
}
.detail-hero__location i { color: var(--teal); font-size: 13px; }

/* Destination meta row */
.detail-hero__dest-meta {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  font-size: 14px; color: rgba(255,255,255,0.72);
  margin-bottom: 14px;
}
.detail-hero__dest-meta span { display: flex; align-items: center; gap: 5px; }
.detail-hero__dest-meta small { font-size: 12px; color: rgba(255,255,255,0.45); }

/* Quick info pills */
.detail-hero__pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 14px;
}
.detail-hero__pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-pill);
  padding: 6px 13px;
  font-size: 13px; color: rgba(255,255,255,0.82);
}
.detail-hero__pill i      { color: var(--teal); font-size: 12px; }
.detail-hero__pill strong { color: var(--white); }

/* ── BODY LAYOUT ────────────────────────────────────────────── */
.detail-body {
  padding: 44px 0 60px;
  background: var(--white);
}

/* Two-column grid: main | sidebar */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;   /* explicit sidebar width */
  gap: 36px;
  align-items: start;
}

/* ── MAIN COLUMN ──────────────────────────────────────────── */
.detail-main { min-width: 0; }

/* ── AUTHOR / INFO BAR ── */
.detail-author-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  padding: 14px 18px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}
.detail-author-bar__left { display: flex; align-items: center; gap: 11px; }
.detail-author-bar__avatar {
  width: 46px; height: 46px; border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--white);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.detail-author-bar__avatar--initials {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: var(--teal-dark);
  flex-shrink: 0;
}
.detail-author-bar__name { font-size: 14px; font-weight: 700; color: var(--navy); display: block; }
.detail-author-bar__meta { font-size: 12px; color: var(--gray-400); display: block; }
.detail-author-bar__stats {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.detail-author-bar__stat {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; color: var(--gray-600); font-weight: 500;
}
.detail-author-bar__save {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 14px; color: var(--gray-400);
  transition: color 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
.detail-author-bar__save:hover { color: #E85D75; border-color: #E85D75; }
.detail-author-bar__save.saved { color: #E85D75; border-color: #E85D75; }

/* Destination pin icon */
.detail-dest-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--white); flex-shrink: 0;
}

/* ── PULLQUOTE ── */
.detail-quote {
  background: var(--teal-light);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 48px 18px 22px;
  margin-bottom: 24px;
  position: relative;
}
.detail-quote__icon {
  font-size: 26px; color: var(--teal);
  opacity: 0.28;
  position: absolute; top: 10px; right: 14px;
}
.detail-quote p {
  font-size: 15px; font-style: italic;
  color: var(--navy); line-height: 1.65; font-weight: 500;
}

/* ── HIGHLIGHTS BAR ── */
.detail-highlights {
  display: flex; flex-wrap: wrap; gap: 7px;
  margin-bottom: 24px;
}
.detail-highlight {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-pill);
  padding: 5px 13px;
  font-size: 12.5px; color: var(--gray-600);
}
.detail-highlight i { color: var(--teal-dark); font-size: 11px; }
.detail-highlight--sm { font-size: 11.5px; padding: 3px 9px; }

/* ── ENTRY CONTENT ── */
.detail-content { margin-bottom: 32px; }
.detail-content h2,
.detail-section-title {
  font-size: 19px; font-weight: 700; color: var(--navy);
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gray-200);
}
.detail-content h2:first-child,
.detail-section-title:first-child { margin-top: 0; }
.detail-content p  { font-size: 15px; color: var(--gray-800); line-height: 1.75; margin-bottom: 14px; }
.detail-content ul { margin: 0 0 14px 20px; list-style: disc; }
.detail-content ul li { font-size: 15px; color: var(--gray-800); line-height: 1.7; margin-bottom: 6px; }
.detail-content strong { color: var(--navy); }

/* ── ACTIONS BAR ── */
.detail-actions {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 18px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 32px;
}
.detail-actions__like {
  display: inline-flex; align-items: center; gap: 7px;
  background: #FEE8EE; color: #C0496B;
  border: 1.5px solid #FFC2D1;
  border-radius: var(--radius-pill);
  padding: 8px 18px; font-size: 13.5px; font-weight: 600;
  font-family: var(--font); cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.detail-actions__like:hover { background: #FDD0DA; transform: scale(1.02); }
.detail-actions__like.liked { background: #C0496B; color: white; border-color: #C0496B; }
.detail-actions__btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--gray-100); color: var(--gray-600);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-pill);
  padding: 8px 16px; font-size: 13.5px; font-weight: 500;
  font-family: var(--font); cursor: pointer; text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.detail-actions__btn:hover { background: var(--gray-200); border-color: var(--gray-400); }

/* ── POST NAVIGATION ── */
.detail-postnav {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 22px 0; flex-wrap: wrap;
}
.detail-postnav__item { flex: 1; min-width: 130px; }
.detail-postnav__item--next { text-align: right; }
.detail-postnav__dir {
  font-size: 11px; font-weight: 700; color: var(--gray-400);
  text-transform: uppercase; letter-spacing: 0.06em;
  display: flex; align-items: center; gap: 4px;
  margin-bottom: 4px;
}
.detail-postnav__item--next .detail-postnav__dir { justify-content: flex-end; }
.detail-postnav__title {
  font-size: 14px; font-weight: 700; color: var(--navy);
  text-decoration: none; line-height: 1.4; transition: color 0.15s;
}
.detail-postnav__title:hover { color: var(--teal-dark); }

/* ── COMMENTS ── */
.detail-comments { margin-top: 44px; }

/* ── ACCESSIBILITY FEATURES GRID (destination) ── */
.detail-acc-grid { margin-bottom: 28px; }
.detail-acc-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.detail-acc-feature {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 500; color: var(--gray-800);
}
.detail-acc-feature__icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 14px; color: var(--teal-dark);
}

/* ── GALLERY (destination) ── */
.detail-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 170px 170px;
  gap: 6px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
}
.detail-gallery__item { overflow: hidden; background: var(--gray-200); }
.detail-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.detail-gallery__item:hover img { transform: scale(1.04); }
.detail-gallery__item--main { grid-row: span 2; }

/* ── EXPERIENCE CARDS inside destination page ── */
.detail-dest-experiences { margin-top: 36px; }
.detail-dest-experiences__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}

.detail-exp-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 14px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.detail-exp-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.detail-exp-card__img-link {
  position: relative; display: block;
  overflow: hidden;
  min-height: 190px;
}
.detail-exp-card__img-link img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s;
}
.detail-exp-card:hover .detail-exp-card__img-link img { transform: scale(1.04); }
.detail-exp-card__img-placeholder {
  width: 100%; height: 100%; min-height: 190px;
  background: linear-gradient(160deg, #a8d8ea 0%, #1B3D6E 100%);
}
.detail-exp-card__confidence {
  position: absolute; top: 10px; left: 10px;
  background: rgba(255,255,255,0.96);
  border-radius: var(--radius-sm);
  padding: 5px 10px; text-align: center;
  box-shadow: var(--shadow-sm);
}
.detail-exp-card__confidence span  { font-size: 15px; font-weight: 800; color: var(--navy); display: block; line-height: 1; }
.detail-exp-card__confidence small { font-size: 9px; color: var(--gray-600); font-weight: 500; }
.detail-exp-card__body {
  padding: 18px 18px 14px;
  display: flex; flex-direction: column; gap: 7px;
}
.detail-exp-card__tags { display: flex; flex-wrap: wrap; gap: 5px; }
.detail-exp-card__body h3 {
  font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.3;
}
.detail-exp-card__body h3 a { color: inherit; text-decoration: none; }
.detail-exp-card__body h3 a:hover { color: var(--teal-dark); }
.detail-exp-card__quote  { font-size: 13.5px; color: var(--gray-600); line-height: 1.6; }
.detail-exp-card__highlights { display: flex; flex-wrap: wrap; gap: 5px; }
.detail-exp-card__footer {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid var(--gray-200);
}
.detail-exp-card__author {
  display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--gray-600);
}
.detail-exp-card__author-avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.detail-exp-card__author strong { font-size: 12.5px; font-weight: 700; color: var(--navy); display: block; }
.detail-exp-card__author span   { font-size: 11px; color: var(--gray-400); }
.detail-exp-card__stats {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--gray-600);
}
.detail-exp-card__stats span { display: flex; align-items: center; gap: 3px; }
.detail-exp-card__cta {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--teal-dark);
  border: 1.5px solid var(--teal);
  border-radius: var(--radius-pill);
  padding: 5px 14px; font-size: 12.5px; font-weight: 600;
  font-family: var(--font); cursor: pointer; text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.detail-exp-card__cta:hover { background: var(--teal); color: var(--white); }

/* ── SIDEBAR ─────────────────────────────────────────────── */
.detail-sidebar {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  /* Prevent sidebar from stretching full page height */
  align-self: start;
}

.detail-sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 18px;
}
.detail-sidebar-card__title {
  font-size: 15px; font-weight: 700; color: var(--navy);
  margin-bottom: 4px;
  display: flex; align-items: center; gap: 7px;
}
.detail-sidebar-card__title i { color: var(--teal-dark); font-size: 15px; }
.detail-sidebar-card__sub {
  font-size: 12.5px; color: var(--gray-600); margin-bottom: 14px; line-height: 1.5;
}

/* Match list */
.detail-match-list {
  list-style: none; margin: 10px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 9px;
}
.detail-match-item {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; color: var(--gray-800);
}
.detail-match-item > i:first-child {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--teal-dark); flex-shrink: 0;
}
.detail-match-item span { flex: 1; }
.detail-match-item__check {
  color: var(--teal-dark); font-size: 12px; margin-left: auto; flex-shrink: 0;
}

/* Community tip */
.detail-tip-quote {
  font-size: 13.5px; color: var(--gray-600);
  line-height: 1.65; font-style: italic;
  border-left: 3px solid var(--teal);
  padding-left: 12px;
  margin: 0 0 12px;
}
.detail-tip-author {
  display: flex; align-items: center; gap: 9px; font-size: 12.5px;
}
.detail-tip-author img,
.detail-tip-author__avatar {
  width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.detail-tip-author__avatar-placeholder {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: var(--teal-dark); flex-shrink: 0;
}
.detail-tip-author strong { display: block; font-size: 13px; font-weight: 700; color: var(--navy); }
.detail-tip-author span   { font-size: 11px; color: var(--gray-400); }
.detail-tip-author__icon  { margin-left: auto; font-size: 16px; color: var(--teal-dark); opacity: 0.55; flex-shrink: 0; }

/* Author bio card */
.detail-author-bio__top {
  display: flex; align-items: center; gap: 11px; margin-bottom: 9px;
}
.detail-author-bio__avatar {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.detail-author-bio__top strong { font-size: 13.5px; font-weight: 700; color: var(--navy); display: block; }
.detail-author-bio__top span   { font-size: 11.5px; color: var(--gray-400); }
.detail-author-bio p { font-size: 13px; color: var(--gray-600); line-height: 1.6; }

/* Sidebar CTAs */
.detail-sidebar-cta {
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 18px;
  font-size: 13.5px; line-height: 1.5;
  display: flex; flex-direction: column; gap: 10px;
  text-align: center;
}
.detail-sidebar-cta p { color: rgba(255,255,255,0.80); }
.detail-sidebar-cta--light {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
}
.detail-sidebar-cta--light p { color: var(--gray-600); }

/* ── ACCESSIBILITY SCORE RING ── */
.detail-acc-score-card {}
.detail-acc-score {
  display: flex; align-items: center; gap: 14px;
  margin: 10px 0 14px;
}
/* Fixed-size ring — never stretches */
.detail-acc-score__ring {
  position: relative;
  width: 72px; height: 72px;
  flex-shrink: 0;
}
.detail-acc-score__ring svg {
  width: 72px; height: 72px;
  display: block;
}
.detail-acc-score__ring span {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px; font-weight: 800; color: var(--navy);
  line-height: 1;
  pointer-events: none;
}
.detail-acc-score__meta strong { font-size: 15px; font-weight: 700; color: var(--navy); display: block; }
.detail-acc-score__meta span   { font-size: 11.5px; color: var(--gray-400); }

/* Quick facts */
.detail-quick-facts {
  list-style: none; margin: 10px 0 0; padding: 0;
  display: flex; flex-direction: column;
}
.detail-quick-facts li {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 13px;
}
.detail-quick-facts li:last-child { border-bottom: none; }
.detail-quick-facts li > i       { width: 18px; text-align: center; color: var(--teal-dark); font-size: 13px; flex-shrink: 0; }
.detail-quick-facts li > span    { color: var(--gray-600); flex: 1; }
.detail-quick-facts li > strong  { color: var(--navy); font-weight: 600; }

/* ── RELATED SECTION ── */
.detail-related {
  padding: 44px 0 60px;
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
}
.detail-related__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.detail-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.detail-related-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none; display: block;
  transition: transform 0.2s, box-shadow 0.2s;
}
.detail-related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.detail-related-card__img { position: relative; height: 170px; overflow: hidden; }
.detail-related-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.detail-related-card:hover .detail-related-card__img img { transform: scale(1.05); }
.detail-related-card__img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #a8d8ea 0%, #4a9abf 100%);
}
.detail-related-card__img-placeholder--dest {
  background: linear-gradient(160deg, #0D2B4B 0%, #2ABFA3 100%);
}
.detail-related-card__confidence {
  position: absolute; top: 9px; left: 9px;
  background: rgba(255,255,255,0.96);
  border-radius: var(--radius-sm);
  padding: 3px 8px;
  font-size: 12.5px; font-weight: 700; color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.detail-related-card__confidence--dest {
  display: flex; align-items: center; gap: 4px;
  background: rgba(42,191,163,0.92); color: var(--white);
}
.detail-related-card__confidence--dest i { font-size: 11px; }
.detail-related-card__save {
  position: absolute; top: 9px; right: 9px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,0.90); border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 13px; color: var(--gray-400);
  transition: color 0.15s;
}
.detail-related-card__save:hover { color: #E85D75; }
.detail-related-card__body { padding: 14px; }
.detail-related-card__tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 7px; }
.detail-related-card__body h3 {
  font-size: 13.5px; font-weight: 700; color: var(--navy);
  margin-bottom: 3px; line-height: 1.35;
}
.detail-related-card__body p { font-size: 12px; color: var(--gray-600); margin-bottom: 9px; }
.detail-related-card__meta {
  display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--gray-600);
}
.detail-related-card__avatar { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.detail-related-card__likes { margin-left: auto; display: flex; align-items: center; gap: 3px; }
.detail-related-card__likes i { color: #E85D75; font-size: 11px; }
.detail-related-card__rating { display: flex; align-items: center; gap: 3px; font-weight: 600; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .detail-layout { grid-template-columns: 1fr 290px; gap: 28px; }
}

@media (max-width: 900px) {
  /* Stack to single column on tablets */
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .detail-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .detail-sidebar > .detail-sidebar-cta { grid-column: 1 / -1; }
  .detail-related__grid { grid-template-columns: repeat(2, 1fr); }
  .detail-acc-features  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .detail-hero { min-height: 340px; }
  .detail-hero--destination { min-height: 380px; }
  .detail-hero__title { font-size: 24px; }
  .detail-hero__inner { padding-top: 56px; padding-bottom: 28px; }
  .detail-sidebar { grid-template-columns: 1fr; }
  .detail-exp-card { grid-template-columns: 1fr; }
  .detail-exp-card__img-link { min-height: 170px; max-height: 190px; }
  .detail-related__grid { grid-template-columns: 1fr; }
  .detail-acc-features  { grid-template-columns: 1fr; }
  .detail-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 120px;
  }
  .detail-gallery__item--main { grid-column: span 2; }
  .detail-author-bar { flex-direction: column; align-items: flex-start; }
  .detail-actions { gap: 7px; }
  .detail-actions__like,
  .detail-actions__btn { font-size: 13px; padding: 7px 13px; }
  .detail-related__grid { grid-template-columns: 1fr; }
}


/* ============================================================
   SEARCH RESULTS PAGE
   ============================================================ */

/* ── SEARCH BAR STRIP ── */
.sr-search-strip {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 0;
  position: sticky;
  top: 70px;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.sr-search-bar {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 18px;
  gap: 0;
  box-shadow: var(--shadow-sm);
}
.sr-search-bar__field {
  display: flex; align-items: center; gap: 8px;
  flex: 1; min-width: 0;
}
.sr-search-bar__field--dest { flex: 1.4; }
.sr-search-bar__field > i   { color: var(--gray-400); font-size: 15px; flex-shrink: 0; }
.sr-search-bar__field input {
  border: none; background: transparent; outline: none;
  font-family: var(--font); font-size: 14px; color: var(--gray-800);
  width: 100%; min-width: 0;
}
.sr-search-bar__field input::placeholder { color: var(--gray-400); }
.sr-search-bar__clear {
  background: none; border: none; cursor: pointer;
  color: var(--gray-400); font-size: 16px; padding: 0 4px;
  line-height: 1; flex-shrink: 0;
}
.sr-search-bar__clear:hover { color: var(--navy); }
.sr-search-bar__divider {
  width: 1px; height: 24px;
  background: var(--gray-200);
  margin: 0 12px; flex-shrink: 0;
}
.sr-search-bar__btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--btn-navy); color: var(--white);
  border: none; border-radius: var(--radius-pill);
  font-family: var(--font); font-size: 14px; font-weight: 600;
  padding: 10px 22px; cursor: pointer; white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.sr-search-bar__btn:hover { background: var(--btn-navy-hover); }

/* Applied filters row */
.sr-applied-filters {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap; margin-top: 10px;
}
.sr-applied-filters__label {
  font-size: 13px; font-weight: 500; color: var(--gray-600);
}
.sr-filter-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 600;
  padding: 4px 10px; border-radius: var(--radius-pill);
  border: 1.5px solid; text-decoration: none;
  transition: opacity 0.15s;
}
.sr-filter-chip:hover { opacity: 0.78; }
.sr-filter-chip i { font-size: 10px; }
.sr-clear-all {
  font-size: 13px; font-weight: 600; color: var(--gray-600);
  text-decoration: underline; cursor: pointer;
}
.sr-clear-all:hover { color: var(--navy); }

/* ── PAGE LAYOUT ── */
.sr-page { padding: 28px 0 64px; background: var(--gray-100); }

.sr-layout {
  display: grid;
  grid-template-columns: 248px 1fr 280px;
  gap: 24px;
  align-items: start;
}

/* ── LEFT SIDEBAR ── */
.sr-sidebar {
  position: sticky;
  top: 130px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  align-self: start;
}
.sr-sidebar__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--gray-200);
}
.sr-sidebar__header h3 {
  font-size: 15px; font-weight: 700; color: var(--navy);
}
.sr-sidebar__reset {
  font-size: 13px; font-weight: 600; color: var(--teal-dark);
  text-decoration: none;
}
.sr-sidebar__reset:hover { text-decoration: underline; }

/* Filter groups */
.sr-filter-group {
  border-bottom: 1px solid var(--gray-200);
}
.sr-filter-group:last-of-type { border-bottom: none; }
.sr-filter-group__toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: 13.5px; font-weight: 600; color: var(--navy);
  transition: background 0.15s;
}
.sr-filter-group__toggle:hover { background: var(--gray-100); }
.sr-filter-group__toggle i { font-size: 11px; color: var(--gray-400); }
.sr-filter-group__body { padding: 4px 18px 12px; }
.sr-filter-group__body--closed { display: none; }

.sr-filter-item {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 0; cursor: pointer; font-size: 13px; color: var(--gray-800);
  position: relative;
}
.sr-filter-item:hover { color: var(--navy); }
.sr-filter-item input[type="checkbox"] {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.sr-filter-item__checkbox {
  width: 18px; height: 18px; border-radius: 4px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 10px; color: var(--white);
  transition: background 0.15s, border-color 0.15s;
}
.sr-filter-item:hover .sr-filter-item__checkbox { border-color: var(--teal); }
.sr-filter-item__label { flex: 1; }
.sr-filter-item__count {
  font-size: 11.5px; color: var(--gray-400); font-weight: 500;
}
.sr-filter-item--hidden { display: none; }

.sr-filter-showmore {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 18px 14px;
  background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: 13px; font-weight: 600; color: var(--teal-dark);
}
.sr-filter-showmore i { font-size: 10px; }

/* Help CTA */
.sr-help-cta {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px 16px;
  background: var(--teal-light);
  border-top: 1px solid var(--gray-200);
}
.sr-help-cta > i { font-size: 24px; color: var(--teal-dark); flex-shrink: 0; margin-top: 2px; }
.sr-help-cta p  { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.sr-help-cta a  { font-size: 12.5px; color: var(--teal-dark); font-weight: 500; text-decoration: none; display: flex; align-items: center; gap: 4px; }
.sr-help-cta a:hover { text-decoration: underline; }

/* ── CENTRE RESULTS ── */
.sr-results { min-width: 0; }

.sr-results__header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; margin-bottom: 16px; flex-wrap: wrap;
}
.sr-results__count h1 {
  font-size: 20px; font-weight: 800; color: var(--navy); line-height: 1.2;
}
.sr-results__count h1 strong { color: var(--navy); }
.sr-results__count h1 em     { font-style: normal; color: var(--teal-dark); }
.sr-results__count p  { font-size: 13px; color: var(--gray-600); margin-top: 3px; }

/* Sort */
.sr-sort {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.sr-sort label { font-size: 13.5px; color: var(--gray-600); white-space: nowrap; }
.sr-sort__select-wrap {
  position: relative; display: flex; align-items: center;
}
.sr-sort__select-wrap select {
  appearance: none;
  background: var(--white); border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 13.5px; font-weight: 600; color: var(--navy);
  padding: 7px 30px 7px 12px; cursor: pointer; outline: none;
  transition: border-color 0.15s;
}
.sr-sort__select-wrap select:focus { border-color: var(--teal); }
.sr-sort__select-wrap > i {
  position: absolute; right: 10px;
  font-size: 11px; color: var(--gray-400); pointer-events: none;
}

/* Tabs */
.sr-tabs {
  display: flex; border-bottom: 2px solid var(--gray-200);
  margin-bottom: 20px; gap: 2px;
}
.sr-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; font-size: 13.5px; font-weight: 600;
  color: var(--gray-600); text-decoration: none;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.sr-tab i { font-size: 13px; }
.sr-tab__count {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gray-200); color: var(--gray-600);
  font-size: 11px; font-weight: 700;
  min-width: 20px; height: 18px; border-radius: 9px; padding: 0 5px;
}
.sr-tab--active { color: var(--teal-dark); border-bottom-color: var(--teal-dark); }
.sr-tab--active .sr-tab__count { background: var(--teal-light); color: var(--teal-dark); }
.sr-tab:hover { color: var(--navy); }

/* Accessibility tag */
.sr-acc-tag {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 600;
  padding: 3px 10px; border-radius: var(--radius-pill);
  border: 1.5px solid; text-decoration: none;
  white-space: nowrap; transition: opacity 0.15s;
}
.sr-acc-tag:hover { opacity: 0.80; }

/* ── RESULT CARDS ── */
.sr-results__list { display: flex; flex-direction: column; gap: 14px; }

.sr-result-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.sr-result-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.sr-result-card__img-link {
  position: relative; display: block; overflow: hidden;
  min-height: 180px;
}
.sr-result-card__img-link img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.3s;
}
.sr-result-card:hover .sr-result-card__img-link img { transform: scale(1.04); }
.sr-result-card__img-placeholder {
  width: 100%; height: 100%; min-height: 180px;
  background: linear-gradient(160deg, #a8d8ea 0%, #1B3D6E 100%);
}
.sr-result-card__img-placeholder--dest {
  background: linear-gradient(160deg, #0D2B4B 0%, #2ABFA3 100%);
}

.sr-result-card__confidence {
  position: absolute; top: 10px; left: 10px;
  background: rgba(255,255,255,0.96);
  border-radius: var(--radius-sm);
  padding: 5px 9px; text-align: center;
  box-shadow: var(--shadow-sm);
}
.sr-result-card__confidence span  { font-size: 15px; font-weight: 800; color: var(--navy); display: block; line-height: 1; }
.sr-result-card__confidence small { font-size: 9px; color: var(--gray-600); font-weight: 500; }
.sr-result-card__confidence--dest {
  display: flex; align-items: center; gap: 4px;
  background: rgba(42,191,163,0.92); color: var(--white);
}
.sr-result-card__confidence--dest i    { font-size: 12px; }
.sr-result-card__confidence--dest span { font-size: 14px; font-weight: 800; color: var(--white); display: inline; line-height: 1; }

.sr-result-card__save {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.92); border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 14px; color: var(--gray-400);
  transition: color 0.15s;
}
.sr-result-card__save:hover { color: #E85D75; }
.sr-result-card__save.saved { color: #E85D75; }
.sr-result-card__save.saved i { font-weight: 900; }

.sr-result-card__body {
  padding: 16px 18px 14px;
  display: flex; flex-direction: column; gap: 8px;
  min-width: 0;
}
.sr-result-card__top { display: flex; flex-direction: column; gap: 6px; }
.sr-result-card__location {
  font-size: 12.5px; color: var(--gray-600);
  display: flex; align-items: center; gap: 5px;
}
.sr-result-card__location i { color: var(--teal-dark); font-size: 11px; }
.sr-result-card__tags { display: flex; flex-wrap: wrap; gap: 5px; }
.sr-result-card__title {
  font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.3;
}
.sr-result-card__title a { color: inherit; text-decoration: none; }
.sr-result-card__title a:hover { color: var(--teal-dark); }
.sr-result-card__quote { font-size: 13px; color: var(--gray-600); line-height: 1.6; }

/* Highlights */
.sr-result-card__highlights {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.sr-result-card__highlight {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--gray-100); border: 1px solid var(--gray-200);
  border-radius: var(--radius-pill);
  padding: 4px 10px; font-size: 12px; color: var(--gray-600);
}
.sr-result-card__highlight i { color: var(--teal-dark); font-size: 11px; }

/* Footer */
.sr-result-card__footer {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding-top: 10px; border-top: 1px solid var(--gray-200);
}
.sr-result-card__author {
  display: flex; align-items: center; gap: 7px; font-size: 12.5px;
}
.sr-result-card__avatar {
  width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.sr-result-card__avatar-placeholder {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 12px; color: var(--teal-dark); flex-shrink: 0;
}
.sr-result-card__author strong { display: block; font-size: 12.5px; font-weight: 700; color: var(--navy); }
.sr-result-card__author span   { font-size: 11px; color: var(--gray-400); }
.sr-result-card__stats {
  display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--gray-600);
}
.sr-result-card__stats span { display: flex; align-items: center; gap: 3px; }
.sr-result-card__dest-score {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--gray-600);
}
.sr-result-card__dest-score i { color: var(--teal); }
.sr-result-card__cta {
  display: inline-flex; align-items: center; gap: 4px;
  background: transparent; color: var(--teal-dark);
  border: 1.5px solid var(--teal);
  border-radius: var(--radius-pill);
  padding: 5px 14px; font-size: 12.5px; font-weight: 600;
  font-family: var(--font); text-decoration: none; white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.sr-result-card__cta:hover { background: var(--teal); color: var(--white); }

/* ── NO RESULTS / COMMUNITY EMPTY ── */
.sr-no-results,
.sr-community-empty {
  text-align: center; padding: 60px 24px;
  background: var(--white); border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}
.sr-no-results i, .sr-community-empty i {
  font-size: 44px; color: var(--gray-200);
  display: block; margin-bottom: 16px;
}
.sr-no-results h2, .sr-community-empty h2 {
  font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 8px;
}
.sr-no-results p, .sr-community-empty p {
  font-size: 14px; color: var(--gray-600); margin-bottom: 20px;
}

/* ── SHARE CTA BANNER ── */
.sr-share-cta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--teal-light);
  border: 1.5px solid var(--teal);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 20px;
}
.sr-share-cta__icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.sr-share-cta__text { flex: 1; min-width: 0; }
.sr-share-cta__text strong { display: block; font-size: 14px; font-weight: 700; color: var(--navy); }
.sr-share-cta__text span   { font-size: 13px; color: var(--gray-600); }
.sr-share-cta__btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--btn-navy); color: var(--white);
  border: none; border-radius: var(--radius-pill);
  padding: 9px 18px; font-size: 13.5px; font-weight: 600;
  font-family: var(--font); text-decoration: none; white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.sr-share-cta__btn:hover { background: var(--btn-navy-hover); }

/* ── PAGINATION ── */
.sr-pagination {
  display: flex; align-items: center; gap: 6px;
  margin-top: 24px; flex-wrap: wrap;
}
.sr-pagination__btn {
  display: inline-flex; align-items: center; gap: 5px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--gray-200);
  font-size: 13.5px; font-weight: 600; color: var(--navy);
  text-decoration: none; justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}
.sr-pagination__btn:hover { border-color: var(--teal); color: var(--teal-dark); }
.sr-pagination__btn--active { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }
.sr-pagination__btn--next { width: auto; padding: 0 14px; border-radius: var(--radius-pill); }

/* ── RIGHT INFO SIDEBAR ── */
.sr-info-sidebar {
  position: sticky; top: 130px;
  display: flex; flex-direction: column; gap: 14px;
  align-self: start;
}

/* Map panel */
.sr-map-panel {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); overflow: hidden;
}
.sr-map-panel__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  font-size: 13px;
}
.sr-map-panel__header span { font-weight: 700; color: var(--navy); }
.sr-map-panel__header a    { color: var(--teal-dark); font-weight: 600; font-size: 12.5px; text-decoration: none; }
.sr-map-panel__header a:hover { text-decoration: underline; }
.sr-map-panel__map { height: 180px; position: relative; overflow: hidden; }
.sr-map-panel__map-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #E8F4FD 0%, #D0EAF8 50%, #B8DDEF 100%);
  position: relative; overflow: hidden;
}
.sr-map-panel__map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(42,191,163,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42,191,163,0.12) 1px, transparent 1px);
  background-size: 28px 28px;
}
.sr-map-dot {
  position: absolute; color: var(--teal-dark); font-size: 18px;
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  animation: mapPop 0.4s ease backwards;
}
@keyframes mapPop {
  from { transform: translate(-50%, -80%) scale(0); opacity: 0; }
  to   { transform: translate(-50%, -100%) scale(1); opacity: 1; }
}
.sr-map-panel__map-label {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  background: rgba(13,43,75,0.85); color: var(--white);
  font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* Why this matches */
.sr-why-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 16px;
}
.sr-why-card h3 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.sr-why-card > p { font-size: 12.5px; color: var(--gray-600); margin-bottom: 12px; line-height: 1.5; }
.sr-why-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sr-why-list li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--gray-800);
}
.sr-why-list li > i:first-child {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--teal-dark); flex-shrink: 0;
}
.sr-why-list li span { flex: 1; }
.sr-why-check { color: var(--teal-dark); font-size: 12px; flex-shrink: 0; }

/* Tip card */
.sr-tip-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 16px;
}
.sr-tip-card h3 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.sr-tip-card blockquote {
  border-left: 3px solid var(--teal);
  padding-left: 10px;
  font-size: 13px; font-style: italic; color: var(--gray-600); line-height: 1.65;
  margin: 0 0 12px;
}
.sr-tip-card__author {
  display: flex; align-items: center; gap: 8px;
}
.sr-tip-card__author img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.sr-tip-card__avatar-placeholder {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: var(--teal-dark); flex-shrink: 0;
}
.sr-tip-card__author strong { display: block; font-size: 12.5px; font-weight: 700; color: var(--navy); }
.sr-tip-card__author span   { font-size: 11px; color: var(--gray-400); }
.sr-tip-card__author > i    { margin-left: auto; color: var(--teal-dark); opacity: 0.55; font-size: 16px; flex-shrink: 0; }

/* Can't find card */
.sr-cantfind-card {
  background: var(--navy); border-radius: var(--radius-md);
  padding: 16px; text-align: center;
  display: flex; flex-direction: column; gap: 6px;
}
.sr-cantfind-card > p     { font-size: 13.5px; font-weight: 700; color: var(--white); }
.sr-cantfind-card__sub    { font-size: 12.5px; color: rgba(255,255,255,0.65) !important; font-weight: 400 !important; }

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  .sr-layout { grid-template-columns: 220px 1fr 240px; gap: 18px; }
}

@media (max-width: 1024px) {
  .sr-layout { grid-template-columns: 220px 1fr; }
  .sr-info-sidebar {
    display: none; /* hidden on tablet — shown via toggle */
  }
}

@media (max-width: 768px) {
  .sr-search-strip { top: 56px; }
  .sr-layout { grid-template-columns: 1fr; }
  .sr-sidebar { position: static; }
  .sr-result-card { grid-template-columns: 1fr; }
  .sr-result-card__img-link { min-height: 160px; max-height: 200px; }
  .sr-search-bar { flex-wrap: wrap; border-radius: var(--radius-md); padding: 10px 14px; gap: 8px; }
  .sr-search-bar__divider { display: none; }
  .sr-search-bar__field { width: 100%; }
  .sr-search-bar__btn   { width: 100%; justify-content: center; }
  .sr-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .sr-results__header { flex-direction: column; gap: 10px; }
}

/* ── DESTINATION AUTOCOMPLETE ── */
.ja-autocomplete {
  position: absolute;
  top: calc(100% + 6px);
  left: -18px; right: -18px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  list-style: none;
  margin: 0; padding: 6px 0;
  z-index: 999;
  display: none;
  max-height: 220px;
  overflow-y: auto;
}
.ja-autocomplete li {
  padding: 9px 16px;
  font-size: 14px; color: var(--gray-800);
  cursor: pointer; display: flex; align-items: center; gap: 8px;
}
.ja-autocomplete li::before {
  content: '\f3c5';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 12px;
  color: var(--teal-dark);
  flex-shrink: 0;
}
.ja-autocomplete li:hover,
.ja-autocomplete li.active { background: var(--teal-light); color: var(--navy); }


/* ============================================================
   SCHEMA v2 — NEW FIELDS: Photos, Tips, Sub-scores, Maps
   ============================================================ */

/* ── VERIFIED BADGE ── */
.story-verified-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #E8F8F5; color: #1E9F87;
  border: 1.5px solid #B2EBE1;
  border-radius: var(--radius-pill);
  padding: 6px 14px; font-size: 12.5px; font-weight: 700;
}
.story-verified-badge i { font-size: 13px; }

/* ── STRESS BADGE ── */
.story-stress-badge {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1.5px solid; border-radius: var(--radius-pill);
  padding: 6px 14px; font-size: 12.5px; font-weight: 600;
}
.story-stress-badge i { font-size: 12px; }

/* ── TRIP META PILLS ── */
.story-meta-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 20px;
}
.story-meta-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-pill);
  padding: 6px 13px;
  font-size: 13px; color: var(--gray-600);
}
.story-meta-pill i     { color: var(--teal-dark); font-size: 12px; }
.story-meta-pill strong { color: var(--navy); }

/* ── EXPERIENCE PHOTO GALLERY ── */
.story-gallery { margin-bottom: 32px; }
.story-gallery h2.detail-section-title {
  display: flex; align-items: center; gap: 8px;
}
.story-gallery h2.detail-section-title i { color: var(--teal-dark); }

.story-gallery__grid {
  display: grid; gap: 6px;
  border-radius: var(--radius-md); overflow: hidden;
}
.story-gallery__grid--single {
  grid-template-columns: 1fr;
  height: 300px;
}
.story-gallery__grid--double {
  grid-template-columns: 1fr 1fr;
  height: 240px;
}
.story-gallery__grid--triple {
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 160px 160px;
}
.story-gallery__grid--quad {
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 170px 170px;
}

.story-gallery__item {
  position: relative; overflow: hidden; display: block;
  background: var(--gray-200);
}
.story-gallery__item--main {
  grid-row: span 2;
}
.story-gallery__item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.3s;
}
.story-gallery__item:hover img { transform: scale(1.04); }
.story-gallery__more {
  position: absolute; inset: 0;
  background: rgba(13,43,75,0.65);
  display: flex; align-items: center; justify-content: center;
}
.story-gallery__more span {
  color: var(--white); font-size: 24px; font-weight: 800;
}

/* ── ACCESSIBILITY SUB-SCORES ── */
.story-subscores { margin-bottom: 32px; }
.story-subscores__grid {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px;
}
.story-subscore {}
.story-subscore__header {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--gray-800);
  margin-bottom: 6px;
}
.story-subscore__header i    { font-size: 14px; flex-shrink: 0; }
.story-subscore__header span { flex: 1; }
.story-subscore__header strong { font-size: 13px; font-weight: 700; }
.story-subscore__bar {
  height: 8px; background: var(--gray-200);
  border-radius: var(--radius-pill); overflow: hidden;
}
.story-subscore__fill {
  height: 100%; border-radius: var(--radius-pill);
  transition: width 0.6s ease;
}

/* ── SIDEBAR SCORE ROWS (used by both story + destination) ── */
.sidebar-score-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--gray-600);
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-200);
}
.sidebar-score-row:last-child { border-bottom: none; }
.sidebar-score-row span { flex: 1; white-space: nowrap; }
.sidebar-score-row strong { font-size: 12px; font-weight: 700; min-width: 24px; text-align: right; }
.sidebar-score-bar {
  width: 60px; height: 6px;
  background: var(--gray-200); border-radius: var(--radius-pill);
  overflow: hidden; flex-shrink: 0;
}
.sidebar-score-fill {
  height: 100%; border-radius: var(--radius-pill);
  transition: width 0.5s ease;
}
.dest-subscores { margin: 12px 0 4px; }

/* ── EXPERIENCE TIPS ── */
.story-tips { margin-bottom: 32px; }
.story-tips__list {
  display: flex; flex-direction: column; gap: 10px;
}
.story-tip {
  display: flex; gap: 12px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 13px 16px;
  align-items: flex-start;
}
.story-tip__icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--teal-dark); flex-shrink: 0;
}
.story-tip__body { flex: 1; min-width: 0; }
.story-tip__cat {
  font-size: 11px; font-weight: 700; color: var(--teal-dark);
  text-transform: uppercase; letter-spacing: 0.06em;
  display: block; margin-bottom: 3px;
}
.story-tip__body p { font-size: 13.5px; color: var(--gray-800); line-height: 1.6; margin: 0; }

/* ── DESTINATION MAP CARD ── */
.dest-map-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.dest-map-card__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 16px;
  font-size: 13px;
  border-bottom: 1px solid var(--gray-200);
}
.dest-map-card__header span { font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 6px; }
.dest-map-card__header span i { color: var(--teal-dark); }
.dest-map-card__header a { color: var(--teal-dark); font-weight: 600; font-size: 12px; text-decoration: none; }
.dest-map-card__header a:hover { text-decoration: underline; }
.dest-map-card__embed {
  height: 180px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #E8F4FD 0%, #B8DDEF 100%);
}
.dest-map-card__overlay {
  position: absolute; inset: 0;
  background: rgba(13,43,75,0);
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 12px;
  text-decoration: none;
  transition: background 0.2s;
}
.dest-map-card__overlay:hover { background: rgba(13,43,75,0.25); }
.dest-map-card__overlay span {
  display: none; background: rgba(13,43,75,0.85);
  color: var(--white); font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: var(--radius-pill);
}
.dest-map-card__overlay:hover span { display: flex; align-items: center; gap: 5px; }
.dest-map-card__fallback {
  height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  color: var(--gray-400); font-size: 13px;
}
.dest-map-card__fallback i { font-size: 32px; }
.dest-map-card--placeholder .dest-map-card__header { border-bottom: none; }
.dest-map-card__search-link {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 16px; font-size: 13px; color: var(--teal-dark);
  font-weight: 600; text-decoration: none;
  transition: background 0.15s;
}
.dest-map-card__search-link:hover { background: var(--teal-light); }

/* ── RELATED CARD VERIFIED BADGE ── */
.detail-related-card__verified {
  position: absolute; bottom: 10px; left: 10px;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--teal-dark);
  box-shadow: var(--shadow-sm);
}

/* ── SEARCH RESULTS: NEW TAG COLORS ── */
/* special-diet and quiet-environment are added to tag_colors in PHP;
   no extra CSS needed — the inline styles handle them */

/* ── RESPONSIVE ADDITIONS ── */
@media (max-width: 768px) {
  .story-gallery__grid--triple,
  .story-gallery__grid--quad {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 130px 130px;
  }
  .story-gallery__item--main { grid-column: span 2; }
  .story-meta-pills { gap: 6px; }
  .story-meta-pill { font-size: 12px; padding: 5px 10px; }
}
@media (max-width: 480px) {
  .story-gallery__grid--double,
  .story-gallery__grid--triple,
  .story-gallery__grid--quad { grid-template-columns: 1fr; height: auto; }
  .story-gallery__item { height: 200px; }
  .story-gallery__item--main { grid-row: span 1; }
}


/* ============================================================
   COMMENTS — JourneyAble styled template
   ============================================================ */

.ja-comments {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 2px solid var(--gray-200);
}

/* ── TITLE ── */
.ja-comments__title {
  font-size: 20px; font-weight: 700; color: var(--navy);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 28px;
}
.ja-comments__title i { color: var(--teal-dark); font-size: 18px; }
.ja-comments__count {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--teal-light); color: var(--teal-dark);
  font-size: 13px; font-weight: 700;
  min-width: 26px; height: 22px; border-radius: 11px; padding: 0 7px;
}

/* ── COMMENT LIST ── */
.ja-comments__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0;
}

/* ── SINGLE COMMENT ── */
.ja-comment {
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
}
.ja-comment:last-child { border-bottom: none; }
.ja-comment--nested {
  margin-left: 52px;
  padding-left: 20px;
  border-left: 2px solid var(--teal-light);
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.ja-comment__inner {
  display: flex; gap: 14px; align-items: flex-start;
}
.ja-comment__avatar-wrap { flex-shrink: 0; }
.ja-comment__avatar {
  width: 44px !important; height: 44px !important;
  border-radius: 50% !important; object-fit: cover;
  border: 2px solid var(--white);
  box-shadow: var(--shadow-sm);
  display: block;
}

.ja-comment__body { flex: 1; min-width: 0; }
.ja-comment__header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; margin-bottom: 8px; flex-wrap: wrap;
}
.ja-comment__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ja-comment__author {
  font-size: 14px; font-weight: 700; color: var(--navy); text-decoration: none;
}
.ja-comment__author:hover { color: var(--teal-dark); }
.ja-comment__date {
  font-size: 12px; color: var(--gray-400);
}
.ja-comment__badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600;
  padding: 2px 8px; border-radius: var(--radius-pill);
}
.ja-comment__badge--author {
  background: var(--teal-light); color: var(--teal-dark);
}
.ja-comment__badge--author i { font-size: 10px; }

.ja-comment__actions { flex-shrink: 0; }
.ja-comment__reply a {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 600; color: var(--gray-400);
  text-decoration: none; transition: color 0.15s;
}
.ja-comment__reply a:hover { color: var(--teal-dark); }
.ja-comment__reply i { font-size: 11px; }

.ja-comment__pending {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--gray-400);
  background: var(--gray-100); border-radius: var(--radius-pill);
  padding: 4px 12px; margin-bottom: 8px;
}
.ja-comment__pending i { font-size: 11px; }

.ja-comment__text { font-size: 14.5px; color: var(--gray-800); line-height: 1.7; }
.ja-comment__text p { margin-bottom: 8px; }
.ja-comment__text p:last-child { margin-bottom: 0; }

/* ── COMMENT PAGINATION ── */
.ja-comments__pagination {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--gray-200);
}
.ja-comments__pagination a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 600; color: var(--teal-dark);
  text-decoration: none; transition: color 0.15s;
}
.ja-comments__pagination a:hover { color: var(--navy); }

/* ── COMMENTS CLOSED ── */
.ja-comments__closed {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--gray-400);
  background: var(--gray-100); border-radius: var(--radius-md);
  padding: 14px 18px; margin-bottom: 24px;
}

/* ── REPLY TITLE ── */
.ja-comments__reply-title {
  font-size: 20px; font-weight: 700; color: var(--navy);
  margin-bottom: 20px; margin-top: 36px;
  padding-top: 28px;
  border-top: 2px solid var(--gray-200);
  display: flex; align-items: center; gap: 10px;
}
.ja-comments__reply-title .ja-comments__form-title {
  display: flex; align-items: center; gap: 10px;
}
.ja-comments__reply-title i { color: var(--teal-dark); font-size: 18px; }
.ja-comments__reply-title #cancel-comment-reply-link {
  font-size: 13px; font-weight: 500; color: var(--gray-400);
  text-decoration: none; margin-left: auto;
}
.ja-comments__reply-title #cancel-comment-reply-link:hover { color: var(--navy); }

/* ── COMMENT FORM ── */
.ja-comment-form-wrap {}
.ja-comment-form__logged-in {
  display: flex; align-items: center; gap: 7px;
  font-size: 13.5px; color: var(--gray-600);
  background: var(--teal-light);
  border: 1px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 20px;
}
.ja-comment-form__logged-in i  { color: var(--teal-dark); font-size: 16px; }
.ja-comment-form__logged-in a  { color: var(--teal-dark); font-weight: 600; text-decoration: none; }
.ja-comment-form__logged-in a:hover { text-decoration: underline; }

.ja-comment-form__fields-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 16px;
}
.ja-comment-form__field {
  display: flex; flex-direction: column; gap: 6px;
}
.ja-comment-form__field label {
  font-size: 13px; font-weight: 600; color: var(--navy);
}
.ja-comment-form__field label .required {
  color: #C0496B; margin-left: 2px;
}
.ja-comment-form__field input[type="text"],
.ja-comment-form__field input[type="email"] {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  font-family: var(--font); font-size: 14px; color: var(--gray-800);
  padding: 10px 14px; outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.ja-comment-form__field input:focus {
  border-color: var(--teal); background: var(--white);
}
.ja-comment-form__field input::placeholder { color: var(--gray-400); }

.ja-comment-form__field--textarea {
  margin-bottom: 16px;
}
.ja-comment-form__field textarea {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  font-family: var(--font); font-size: 14px; color: var(--gray-800);
  padding: 12px 14px; outline: none; resize: vertical;
  min-height: 130px; width: 100%;
  transition: border-color 0.15s, background 0.15s;
  line-height: 1.6;
}
.ja-comment-form__field textarea:focus {
  border-color: var(--teal); background: var(--white);
}
.ja-comment-form__field textarea::placeholder { color: var(--gray-400); }

.ja-comment-form__submit {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.ja-comment-form__submit .btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
}

/* Override WP default comment form styles */
.ja-comment-form p { margin: 0; }
.ja-comment-form .comment-form-comment { margin-bottom: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .ja-comment-form__fields-row { grid-template-columns: 1fr; }
  .ja-comment--nested { margin-left: 24px; }
  .ja-comments__title { font-size: 17px; }
  .ja-comments__reply-title { font-size: 17px; }
  .ja-comment__header { flex-direction: column; gap: 6px; }
}


/* ============================================================
   AUTH PAGES — Signup, Login
   ============================================================ */
.auth-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* Left panel */
.auth-page__left {
  background: linear-gradient(160deg, var(--navy) 0%, #0a3060 60%, #0e4a7a 100%);
  padding: 48px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: var(--white);
  position: relative; overflow: hidden;
}
.auth-page__left::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(42,191,163,0.18) 0%, transparent 70%);
  border-radius: 50%;
}
.auth-page__brand { display: flex; align-items: center; gap: 12px; }
.auth-page__site-name { font-size: 18px; font-weight: 800; color: var(--white); display: block; }
.auth-page__tagline   { font-size: 12px; color: rgba(255,255,255,0.6); display: block; }
.auth-page__hero-text h1 {
  font-size: clamp(26px,3.5vw,40px); font-weight: 800;
  line-height: 1.2; margin-bottom: 28px;
  color: var(--white);
}
.auth-page__hero-text h1 em { color: var(--teal); font-style: normal; }
.auth-page__stats { display: flex; gap: 24px; margin-top: 20px; }
.auth-page__stat { display: flex; flex-direction: column; }
.auth-page__stat strong { font-size: 26px; font-weight: 800; color: var(--teal); }
.auth-page__stat span  { font-size: 12px; color: rgba(255,255,255,0.6); }
.auth-page__testimonial {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}
.auth-page__testimonial p { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.9); margin-bottom: 14px; font-style: italic; }
.auth-page__testimonial-author { display: flex; align-items: center; gap: 10px; }
.auth-page__testimonial-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; flex-shrink: 0;
}
.auth-page__testimonial-author strong { display: block; font-size: 13px; color: var(--white); }
.auth-page__testimonial-author span  { font-size: 11.5px; color: rgba(255,255,255,0.6); }

/* Right panel */
.auth-page__right {
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 32px;
  overflow-y: auto;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 36px 40px;
  width: 100%; max-width: 520px;
}
.auth-card__header { margin-bottom: 24px; }
.auth-card__header h2 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.auth-card__header p { font-size: 13.5px; color: var(--gray-600); }
.auth-card__header p a { color: var(--teal-dark); font-weight: 600; text-decoration: none; }
.auth-card__errors {
  background: #FEE8EE; border: 1px solid #FFC2D1;
  border-radius: var(--radius-sm); padding: 12px 16px;
  margin-bottom: 20px; display: flex; gap: 10px; align-items: flex-start;
}
.auth-card__errors i { color: #C0496B; flex-shrink: 0; margin-top: 2px; }
.auth-card__errors ul { margin: 0; padding: 0 0 0 4px; list-style: none; }
.auth-card__errors li { font-size: 13px; color: #7A1530; margin-bottom: 2px; }

/* Form elements */
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-form__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.auth-form__field { display: flex; flex-direction: column; gap: 5px; }
.auth-form__field label {
  font-size: 12.5px; font-weight: 600; color: var(--navy);
}
.auth-form__field label .required { color: #C0496B; margin-left: 2px; }
.auth-form__field input,
.auth-form__field select,
.auth-form__field textarea {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  font-family: var(--font); font-size: 13.5px; color: var(--gray-800);
  padding: 9px 13px; outline: none;
  transition: border-color 0.15s, background 0.15s;
  width: 100%;
}
.auth-form__field input:focus,
.auth-form__field select:focus,
.auth-form__field textarea:focus {
  border-color: var(--teal); background: var(--white);
}
.auth-form__field textarea { resize: vertical; line-height: 1.6; }
.auth-form__password-wrap { position: relative; }
.auth-form__password-wrap input { padding-right: 40px; }
.auth-form__toggle-pw {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: var(--gray-400); font-size: 14px; padding: 4px;
}
.auth-form__toggle-pw:hover { color: var(--navy); }

/* User type selector */
.auth-form__type-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 4px; }
.auth-type-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  border: 2px solid var(--gray-200); border-radius: var(--radius-sm);
  padding: 12px 16px; cursor: pointer; font-size: 13px; font-weight: 600;
  color: var(--gray-600); background: var(--white);
  transition: all 0.15s;
}
.auth-type-btn input { display: none; }
.auth-type-btn:hover { border-color: var(--teal); color: var(--teal-dark); }
.auth-type-btn--active { border-color: var(--teal); color: var(--teal-dark); background: var(--teal-light); }
.auth-form__submit { width: 100%; justify-content: center; font-size: 14.5px; padding: 12px; margin-top: 4px; }
.auth-form__terms { font-size: 11.5px; color: var(--gray-400); text-align: center; }
.auth-form__terms a { color: var(--teal-dark); }

/* ============================================================
   DASHBOARD LAYOUT
   ============================================================ */
.ja-dashboard {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 88px);
  background: var(--gray-100);
}

/* Sidebar */
.ja-dashboard__sidebar {
  background: var(--white);
  border-right: 1px solid var(--gray-200);
  display: flex; flex-direction: column;
  position: sticky; top: 88px;
  height: calc(100vh - 88px);
  overflow-y: auto;
}
.ja-dashboard__profile {
  padding: 24px 20px;
  border-bottom: 1px solid var(--gray-200);
  display: flex; align-items: flex-start; gap: 12px;
}
.ja-dashboard__avatar {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.ja-dashboard__avatar-placeholder {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--teal-light); color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 17px; flex-shrink: 0;
}
.ja-dashboard__profile-info strong { display: block; font-size: 14px; font-weight: 700; color: var(--navy); }
.ja-dashboard__profile-info span  { display: block; font-size: 11.5px; color: var(--gray-400); line-height: 1.5; }
.ja-dashboard__child-info { font-style: italic; }

.ja-dashboard__nav { padding: 12px 0; flex: 1; }
.ja-dashboard__nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px; font-size: 13.5px; font-weight: 500;
  color: var(--gray-600); text-decoration: none;
  transition: all 0.15s; position: relative;
}
.ja-dashboard__nav-item i { width: 18px; text-align: center; font-size: 14px; flex-shrink: 0; }
.ja-dashboard__nav-item:hover { background: var(--gray-100); color: var(--navy); }
.ja-dashboard__nav-item--active {
  background: var(--teal-light); color: var(--teal-dark); font-weight: 700;
  border-right: 3px solid var(--teal-dark);
}
.ja-dashboard__nav-badge {
  margin-left: auto; background: var(--teal); color: var(--white);
  font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 99px;
}

.ja-dashboard__sidebar-actions { padding: 16px 20px; border-top: 1px solid var(--gray-200); display: flex; flex-direction: column; gap: 10px; }
.ja-dashboard__logout {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--gray-400); text-decoration: none;
  padding: 6px 0; transition: color 0.15s;
}
.ja-dashboard__logout:hover { color: #C0496B; }
.ja-dashboard__logout i { font-size: 13px; }

/* Main content */
.ja-dashboard__main { padding: 32px; max-width: 900px; }
.ja-dashboard__section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}
.ja-dashboard__section-header h1 { font-size: 22px; font-weight: 800; color: var(--navy); margin: 0; }
.ja-dashboard__section-header p  { font-size: 13px; color: var(--gray-400); margin: 0; }
.ja-dashboard__section-subheader { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ja-dashboard__section-subheader h2 { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0; }

/* Welcome banner */
.ja-dashboard__welcome-banner {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--teal-light) 0%, #d0f5ef 100%);
  border: 1px solid var(--teal);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 28px;
}
.ja-dashboard__welcome-banner i { font-size: 22px; color: var(--teal-dark); flex-shrink: 0; }
.ja-dashboard__welcome-banner div { flex: 1; min-width: 0; }
.ja-dashboard__welcome-banner strong { display: block; font-size: 14.5px; font-weight: 700; color: var(--navy); }
.ja-dashboard__welcome-banner span  { font-size: 13px; color: var(--gray-600); }

/* Stats row */
.ja-dashboard__stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 28px; }
.ja-dash-stat {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 16px;
  display: flex; align-items: center; gap: 14px;
}
.ja-dash-stat__icon {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.ja-dash-stat__body strong { display: block; font-size: 22px; font-weight: 800; color: var(--navy); }
.ja-dash-stat__body span  { font-size: 12px; color: var(--gray-400); }

/* Quick actions */
.ja-dashboard__quick-actions { margin-bottom: 32px; }
.ja-dashboard__quick-actions h2 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.ja-dashboard__action-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.ja-dash-action {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 16px;
  text-decoration: none; transition: box-shadow 0.2s, transform 0.2s;
  display: flex; flex-direction: column; gap: 8px;
}
.ja-dash-action:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.ja-dash-action__icon {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.ja-dash-action strong { font-size: 13px; font-weight: 700; color: var(--navy); }
.ja-dash-action span   { font-size: 11.5px; color: var(--gray-500); line-height: 1.4; }

/* Post list */
.ja-dashboard__post-list { display: flex; flex-direction: column; gap: 0; }
.ja-post-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm); padding: 14px 16px;
  margin-bottom: 8px; transition: box-shadow 0.15s;
}
.ja-post-row:hover { box-shadow: var(--shadow-sm); }
.ja-post-row__thumb {
  width: 70px; height: 54px; border-radius: var(--radius-sm);
  overflow: hidden; flex-shrink: 0; background: var(--gray-200);
}
.ja-post-row__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ja-post-row__thumb--placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--gray-400);
}
.ja-post-row__body { flex: 1; min-width: 0; }
.ja-post-row__top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; flex-wrap: wrap; }
.ja-post-row__status {
  font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px;
}
.ja-post-row__type  { font-size: 11px; color: var(--gray-400); }
.ja-post-row__date  { font-size: 11px; color: var(--gray-400); margin-left: auto; }
.ja-post-row__title { font-size: 14px; font-weight: 700; color: var(--navy); margin: 0 0 4px; }
.ja-post-row__title a { color: inherit; text-decoration: none; }
.ja-post-row__title a:hover { color: var(--teal-dark); }
.ja-post-row__meta { display: flex; gap: 12px; font-size: 12px; color: var(--gray-400); flex-wrap: wrap; }
.ja-post-row__meta span { display: flex; align-items: center; gap: 4px; }
.ja-post-row__actions { display: flex; gap: 6px; flex-shrink: 0; }
.ja-post-row__btn {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--gray-500);
  background: var(--gray-100); border: 1px solid var(--gray-200);
  text-decoration: none; transition: all 0.15s;
}
.ja-post-row__btn:hover              { background: var(--teal-light); color: var(--teal-dark); border-color: var(--teal); }
.ja-post-row__btn--edit:hover        { background: #EEF4FF; color: #2563EB; border-color: #C7D9FF; }
.ja-post-row__btn--delete:hover      { background: #FEE8EE; color: #C0496B; border-color: #FFC2D1; }

/* Alerts */
.ja-dashboard__alert {
  display: flex; align-items: flex-start; gap: 10px;
  border-radius: var(--radius-sm); padding: 13px 16px; margin-bottom: 20px;
  font-size: 13.5px;
}
.ja-dashboard__alert i { flex-shrink: 0; margin-top: 1px; }
.ja-dashboard__alert p { margin: 0; }
.ja-dashboard__alert--success { background: #F0FDF4; border: 1px solid #BBF7D0; color: #16A34A; }
.ja-dashboard__alert--success i { color: #16A34A; }
.ja-dashboard__alert--error   { background: #FEE8EE; border: 1px solid #FFC2D1; color: #7A1530; }
.ja-dashboard__alert--error i { color: #C0496B; }

/* Empty state */
.ja-dashboard__empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 60px 24px; gap: 12px;
}
.ja-dashboard__empty i    { font-size: 48px; color: var(--gray-300); }
.ja-dashboard__empty h3   { font-size: 18px; font-weight: 700; color: var(--navy); margin: 0; }
.ja-dashboard__empty p    { font-size: 14px; color: var(--gray-500); max-width: 320px; margin: 0; }

/* ============================================================
   PROFILE FORM
   ============================================================ */
.ja-profile-form { display: flex; flex-direction: column; gap: 16px; }
.ja-profile-form__avatar-row {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 16px; border-bottom: 1px solid var(--gray-200); margin-bottom: 4px;
}
.ja-profile-form__avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.ja-profile-form__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.ja-profile-form__section-title {
  grid-column: 1/-1; font-size: 13px; font-weight: 700; color: var(--navy);
  padding-top: 8px; border-top: 1px solid var(--gray-200);
}
.ja-profile-form__footer { display: flex; align-items: center; gap: 16px; padding-top: 8px; }

/* ============================================================
   SUBMISSION FORMS (new experience / new destination)
   ============================================================ */
.ja-form-page { max-width: 780px; margin: 0 auto; padding: 32px 24px 60px; }
.ja-form-page__header { margin-bottom: 28px; }
.ja-form-page__back {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--teal-dark); text-decoration: none;
  margin-bottom: 14px; font-weight: 600;
}
.ja-form-page__back:hover { color: var(--navy); }
.ja-form-page__header h1 { font-size: 24px; font-weight: 800; color: var(--navy); margin: 0 0 6px; }
.ja-form-page__header p  { font-size: 14px; color: var(--gray-500); margin: 0; }

.ja-submit-form { display: flex; flex-direction: column; gap: 20px; }
.ja-submit-form__card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 24px;
}
.ja-submit-form__card h2 { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0 0 16px; }
.ja-submit-form__card > p { font-size: 13px; color: var(--gray-500); margin: -8px 0 14px; }
.ja-submit-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ja-submit-form__footer {
  display: flex; align-items: center; gap: 16px; padding-top: 4px;
}

/* Accessibility tag checkboxes */
.ja-submit-form__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ja-submit-form__tag {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-pill);
  padding: 7px 14px; cursor: pointer; font-size: 13px; color: var(--gray-600);
  background: var(--white); transition: all 0.15s; user-select: none;
}
.ja-submit-form__tag input { display: none; }
.ja-submit-form__tag:hover { border-color: var(--teal); color: var(--teal-dark); }
.ja-submit-form__tag--checked { font-weight: 600; }

/* Star rating */
.ja-star-rating { display: flex; flex-direction: row-reverse; gap: 4px; align-items: center; }
.ja-star-rating input { display: none; }
.ja-star-rating label { font-size: 22px; color: var(--gray-300); cursor: pointer; transition: color 0.15s; }
.ja-star-rating input:checked ~ label { color: #F59E0B; }
.ja-star-rating label:hover,
.ja-star-rating label:hover ~ label { color: #F59E0B; }

/* Score sliders */
.ja-score-slider { display: flex; align-items: center; gap: 12px; }
.ja-score-slider input[type="range"] { flex: 1; accent-color: var(--teal); }
.ja-score-slider__val {
  min-width: 36px; text-align: right; font-weight: 700;
  font-size: 14px; color: var(--teal-dark);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .auth-page                         { grid-template-columns: 1fr; }
  .auth-page__left                   { display: none; }
  .ja-dashboard                      { grid-template-columns: 1fr; }
  .ja-dashboard__sidebar             { position: static; height: auto; flex-direction: row; flex-wrap: wrap; }
  .ja-dashboard__nav                 { display: flex; flex-wrap: wrap; padding: 8px; }
  .ja-dashboard__nav-item            { padding: 8px 12px; font-size: 12.5px; border-right: none; }
  .ja-dashboard__nav-item--active    { border-right: none; border-bottom: 2px solid var(--teal-dark); }
  .ja-dashboard__main                { padding: 20px 16px; }
  .ja-dashboard__stats               { grid-template-columns: repeat(2,1fr); }
  .ja-dashboard__action-grid         { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .auth-form__row                    { grid-template-columns: 1fr; }
  .auth-card                         { padding: 24px 20px; }
  .ja-submit-form__grid              { grid-template-columns: 1fr; }
  .ja-dashboard__stats               { grid-template-columns: 1fr 1fr; }
  .ja-dashboard__action-grid         { grid-template-columns: 1fr 1fr; }
  .ja-profile-form__grid             { grid-template-columns: 1fr; }
}


/* ============================================================
   DESTINATION GALLERY — thumbnail grid + lightbox
   ============================================================ */

/* ── Gallery wrapper ── */
.ja-gallery { margin-bottom: 28px; }

/* Single image layout */
.ja-gallery__single { border-radius: var(--radius-md); overflow: hidden; height: 380px; }
.ja-gallery__single .ja-gallery__cell { width: 100%; height: 100%; }

/* Two-column layout: big left + right column */
.ja-gallery__layout {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 6px;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 380px;
}

/* Left: main large image */
.ja-gallery__main-cell {
  position: relative; overflow: hidden;
  background: var(--gray-200);
  border: none; padding: 0; cursor: pointer;
  display: block; width: 100%; height: 100%;
  transition: filter 0.2s;
}
.ja-gallery__main-cell:hover { filter: brightness(0.88); }
.ja-gallery__main-cell img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.3s;
}
.ja-gallery__main-cell:hover img { transform: scale(1.03); }

/* Right column: 2 thumbnails + View all button */
.ja-gallery__right-col {
  display: flex; flex-direction: column;
  gap: 6px;
  overflow: visible;
}

/* Right thumb cells */
.ja-gallery__thumb-cell {
  position: relative; overflow: hidden;
  background: var(--gray-200);
  border: none; padding: 0; cursor: pointer;
  display: block; width: 100%;
  flex: 1;
  transition: filter 0.2s;
  min-height: 0;
}
.ja-gallery__thumb-cell:hover { filter: brightness(0.88); }
.ja-gallery__thumb-cell img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.3s;
}
.ja-gallery__thumb-cell:hover img { transform: scale(1.05); }

/* +N more overlay */
.ja-gallery__more-overlay {
  position: absolute; inset: 0;
  background: rgba(13,43,75,0.58);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.ja-gallery__more-overlay span {
  color: var(--white); font-size: 18px;
  font-weight: 800;
}

/* Generic cell (used for single layout) */
.ja-gallery__cell {
  position: relative; overflow: hidden;
  background: var(--gray-200);
  border: none; padding: 0; cursor: pointer;
  display: block; width: 100%; height: 100%;
  transition: filter 0.2s;
}
.ja-gallery__cell:hover { filter: brightness(0.88); }
.ja-gallery__cell img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.3s;
}
.ja-gallery__cell:hover img { transform: scale(1.03); }

/* View all button — sits BELOW the right column thumbnails */
.ja-gallery__view-all-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--white); color: var(--navy);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 8px 10px; font-size: 12.5px; font-weight: 600;
  cursor: pointer; box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, background 0.15s;
  white-space: nowrap;
  width: 100%;
  flex-shrink: 0;
}
.ja-gallery__view-all-btn:hover { box-shadow: var(--shadow-md); background: var(--teal-light); color: var(--teal-dark); border-color: var(--teal); }
.ja-gallery__view-all-btn i { color: var(--teal-dark); font-size: 14px; }

/* ── Lightbox ── */
.ja-lightbox {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
}
.ja-lightbox__backdrop {
  position: absolute; inset: 0;
  background: rgba(5,15,30,0.93);
  backdrop-filter: blur(6px);
}
.ja-lightbox__inner {
  position: relative; z-index: 1;
  width: 100%; max-width: 1100px;
  display: flex; flex-direction: column;
  align-items: center; padding: 16px 16px 0;
  height: 100vh; justify-content: center;
}

/* Close button */
.ja-lightbox__close {
  position: fixed; top: 18px; right: 22px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: var(--white); font-size: 18px;
  cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.ja-lightbox__close:hover { background: rgba(255,255,255,0.24); }

/* Stage with prev/next */
.ja-lightbox__stage {
  display: flex; align-items: center; gap: 16px;
  width: 100%; flex: 1; max-height: calc(100vh - 160px);
}
.ja-lightbox__img-wrap {
  flex: 1; display: flex; align-items: center;
  justify-content: center; position: relative;
  min-height: 200px;
}
.ja-lightbox__img {
  max-width: 100%; max-height: calc(100vh - 180px);
  object-fit: contain; border-radius: 6px;
  display: block;
  transition: opacity 0.2s;
}
.ja-lightbox__spinner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: 28px;
}

/* Nav arrows */
.ja-lightbox__nav {
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: var(--white); font-size: 18px;
  cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; z-index: 2;
}
.ja-lightbox__nav:hover { background: rgba(255,255,255,0.28); }

/* Footer: counter + thumbnails */
.ja-lightbox__footer {
  width: 100%; padding: 14px 0 18px;
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
}
.ja-lightbox__counter {
  font-size: 13px; color: rgba(255,255,255,0.6);
  font-weight: 500; letter-spacing: .03em;
}
.ja-lightbox__thumbs {
  display: flex; gap: 8px;
  overflow-x: auto; max-width: 100%;
  padding: 4px 0 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.3) transparent;
}
.ja-lightbox__thumb {
  width: 56px; height: 44px;
  flex-shrink: 0; border-radius: 4px;
  overflow: hidden; border: 2px solid transparent;
  cursor: pointer; padding: 0; background: var(--gray-600);
  transition: border-color 0.15s, opacity 0.15s;
  opacity: 0.55;
}
.ja-lightbox__thumb:hover { opacity: 0.8; }
.ja-lightbox__thumb--active { border-color: var(--teal); opacity: 1; }
.ja-lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .ja-gallery__layout  { grid-template-columns: 1fr; grid-template-rows: 220px auto; height: auto; }
  .ja-gallery__right-col { flex-direction: row; height: 100px; }
  .ja-gallery__single  { height: 240px; }
  .ja-lightbox__nav { width: 38px; height: 38px; font-size: 15px; }
  .ja-lightbox__stage { gap: 8px; }
}
@media (max-width: 480px) {
  .ja-gallery__layout  { grid-template-rows: 180px auto; }
  .ja-gallery__right-col { height: 80px; }
  .ja-lightbox__thumb { width: 44px; height: 36px; }
}


/* ============================================================
   ARCHIVE PAGES — /stories/ & /destinations/
   ============================================================ */

/* ── Hero banner ── */
.archive-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0a3060 60%, #0e4a7a 100%);
  padding: 48px 0 0;
  position: relative; overflow: hidden;
}
.archive-hero::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(42,191,163,0.12) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.archive-hero__inner {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 32px;
  flex-wrap: wrap; margin-bottom: 28px;
}
.archive-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; color: var(--teal);
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 10px;
}
.archive-hero__title {
  font-size: clamp(26px,4vw,42px); font-weight: 800;
  color: var(--white); line-height: 1.1; margin: 0 0 8px;
}
.archive-hero__desc {
  font-size: 15px; color: rgba(255,255,255,0.7);
  max-width: 520px; line-height: 1.6; margin: 0;
}
.archive-hero__stats {
  display: flex; gap: 28px; flex-shrink: 0;
  align-self: center;
}
.archive-hero__stat { text-align: center; }
.archive-hero__stat strong {
  display: block; font-size: 26px; font-weight: 800;
  color: var(--teal); line-height: 1;
}
.archive-hero__stat span {
  font-size: 11.5px; color: rgba(255,255,255,0.6);
  text-transform: uppercase; letter-spacing: .06em;
}

/* Filter pills row */
.archive-hero__filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 16px 0 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.archive-filter-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 15px; border-radius: var(--radius-pill);
  font-size: 12.5px; font-weight: 600;
  border: 1.5px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.07);
  text-decoration: none; transition: all 0.15s;
}
.archive-filter-pill:hover {
  background: rgba(255,255,255,0.15); color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.archive-filter-pill--active {
  background: var(--teal); color: var(--white);
  border-color: var(--teal);
}
.archive-filter-pill i { font-size: 11px; }

/* ── Archive body ── */
.archive-body { padding: 32px 0 60px; background: var(--gray-100); }

/* Sort row */
.archive-sort-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; flex-wrap: wrap; gap: 10px;
}
.archive-sort-row__count { font-size: 14px; color: var(--gray-600); margin: 0; }
.archive-sort-row__count strong { color: var(--navy); }
.archive-sort-row__right { display: flex; align-items: center; gap: 12px; }
.archive-sort-row__search-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--teal-dark);
  text-decoration: none; padding: 7px 14px;
  border: 1.5px solid var(--teal); border-radius: var(--radius-pill);
  transition: background 0.15s;
}
.archive-sort-row__search-link:hover { background: var(--teal-light); }

/* ── Card grid ── */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

/* ── Individual card ── */
.archive-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.archive-card:hover {
  box-shadow: 0 8px 32px rgba(13,43,75,0.12);
  transform: translateY(-3px);
}

/* Image */
.archive-card__img-link {
  display: block; position: relative;
  height: 200px; overflow: hidden;
  flex-shrink: 0; background: var(--gray-200);
}
.archive-card__img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.4s;
}
.archive-card:hover .archive-card__img { transform: scale(1.05); }
.archive-card__img--placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--teal-light), #87C0E8);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; color: var(--teal); opacity: 0.6;
}

/* Corner badges */
.archive-card__confidence {
  position: absolute; top: 10px; left: 10px;
  background: rgba(13,43,75,0.82); color: var(--white);
  font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; gap: 4px;
}
.archive-card__verified {
  position: absolute; top: 10px; left: auto; right: 38px;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--teal-dark);
  box-shadow: var(--shadow-sm);
}
.archive-card__save {
  position: absolute; top: 8px; right: 8px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--gray-500);
  transition: color 0.15s, background 0.15s;
  box-shadow: var(--shadow-sm);
}
.archive-card__save:hover { color: #E85D75; background: var(--white); }

/* Body */
.archive-card__body {
  padding: 16px; display: flex; flex-direction: column;
  gap: 8px; flex: 1;
}

/* Tags */
.archive-card__tags { display: flex; flex-wrap: wrap; gap: 5px; }
.archive-card__tag {
  font-size: 11px; font-weight: 600;
  padding: 3px 9px; border-radius: var(--radius-pill);
  border: 1px solid; text-decoration: none;
  transition: opacity 0.15s;
}
.archive-card__tag:hover { opacity: 0.8; }

/* Location */
.archive-card__location {
  font-size: 12px; color: var(--gray-500);
  display: flex; align-items: center; gap: 5px; margin: 0;
}
.archive-card__location i { color: var(--teal-dark); font-size: 11px; }

/* Title */
.archive-card__title {
  font-size: 15px; font-weight: 700; color: var(--navy);
  line-height: 1.3; margin: 0;
}
.archive-card__title a { color: inherit; text-decoration: none; }
.archive-card__title a:hover { color: var(--teal-dark); }

/* Excerpt */
.archive-card__excerpt {
  font-size: 13px; color: var(--gray-600); line-height: 1.5; margin: 0;
}

/* Meta pills */
.archive-card__meta-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.archive-card__meta-pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; color: var(--gray-600);
  background: var(--gray-100); border: 1px solid var(--gray-200);
  border-radius: var(--radius-pill); padding: 3px 8px;
}
.archive-card__meta-pill i { font-size: 10px; color: var(--teal-dark); }
.archive-card__meta-pill--stress-low    { background:#F0FDF4;color:#16A34A;border-color:#BBF7D0; }
.archive-card__meta-pill--stress-medium { background:#FFF4E0;color:#C87B00;border-color:#FFE0A3; }
.archive-card__meta-pill--stress-high   { background:#FEE8EE;color:#C0496B;border-color:#FFC2D1; }

/* Footer */
.archive-card__footer {
  display: flex; align-items: center;
  justify-content: space-between; gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--gray-200);
  margin-top: auto; flex-wrap: wrap;
}
.archive-card__author {
  display: flex; align-items: center; gap: 8px;
  min-width: 0;
}
.archive-card__author img {
  width: 28px; height: 28px; border-radius: 50%; object-fit: cover;
  flex-shrink: 0;
}
.archive-card__author span { font-size: 12px; font-weight: 600; color: var(--navy); display: block; }
.archive-card__author small { font-size: 11px; color: var(--gray-400); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
.archive-card__acc-score {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--teal-dark); font-weight: 600;
}
.archive-card__acc-score i { font-size: 13px; }
.archive-card__stats {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--gray-500); flex-wrap: wrap;
}
.archive-card__stats span { display: flex; align-items: center; gap: 3px; }

/* Hover CTA strip */
.archive-card__cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px; font-size: 13px; font-weight: 600;
  color: var(--white); background: var(--teal-dark);
  text-decoration: none; opacity: 0; transition: opacity 0.2s;
  flex-shrink: 0;
}
.archive-card:hover .archive-card__cta { opacity: 1; }

/* Pagination */
.archive-pagination { display: flex; justify-content: center; padding-top: 8px; }
.archive-pagination .nav-links { display: flex; gap: 6px; align-items: center; }
.archive-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 600; text-decoration: none;
  color: var(--gray-600); background: var(--white);
  border: 1.5px solid var(--gray-200); transition: all 0.15s;
}
.archive-pagination .page-numbers.current { background: var(--teal-dark); color: var(--white); border-color: var(--teal-dark); }
.archive-pagination .page-numbers:hover:not(.current) { background: var(--teal-light); color: var(--teal-dark); border-color: var(--teal); }
.archive-pagination .prev, .archive-pagination .next { width: auto; padding: 0 14px; gap: 6px; }

/* Empty state */
.archive-empty {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 80px 24px; gap: 12px;
}
.archive-empty i { font-size: 52px; color: var(--gray-300); }
.archive-empty h2 { font-size: 22px; font-weight: 700; color: var(--navy); margin: 0; }
.archive-empty p  { font-size: 15px; color: var(--gray-500); max-width: 360px; margin: 0; }

/* Responsive */
@media (max-width: 1024px) {
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .archive-hero__inner { flex-direction: column; gap: 20px; }
  .archive-hero__stats { gap: 20px; }
  .archive-hero__filters { gap: 6px; }
  .archive-filter-pill { font-size: 11.5px; padding: 5px 11px; }
  .archive-grid { grid-template-columns: 1fr; gap: 14px; }
  .archive-card__img-link { height: 180px; }
}


/* ── Additional auth form elements ── */

/* Forgot password link inline with label */
.auth-form__field label {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px;
}
.auth-form__forgot {
  font-size: 12px; font-weight: 500; color: var(--teal-dark);
  text-decoration: none; margin-left: auto;
}
.auth-form__forgot:hover { text-decoration: underline; }

/* Remember me checkbox */
.auth-form__remember {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--gray-600); cursor: pointer;
}
.auth-form__remember input[type="checkbox"] {
  width: 16px; height: 16px; accent-color: var(--teal-dark); cursor: pointer;
}

/* Divider between primary and secondary actions */
.auth-form__divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--gray-400); font-size: 12.5px;
  margin: 4px 0;
}
.auth-form__divider::before,
.auth-form__divider::after {
  content: ''; flex: 1; height: 1px; background: var(--gray-200);
}

/* Secondary action button (outline style) */
.auth-form__secondary-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 11px;
  border: 2px solid var(--gray-200); border-radius: var(--radius-sm);
  background: var(--white); color: var(--navy);
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: all 0.15s; cursor: pointer;
}
.auth-form__secondary-btn:hover {
  border-color: var(--teal); color: var(--teal-dark);
  background: var(--teal-light);
}


/* ── Featured image upload field ── */
.ja-featured-img-wrap { display: flex; flex-direction: column; align-items: flex-start; }
.ja-featured-img-preview {
  width: 100%; max-width: 420px; height: 200px;
  border: 2px dashed var(--gray-200); border-radius: var(--radius-md);
  overflow: hidden; position: relative; background: var(--gray-100);
}
.ja-featured-img-preview img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.ja-featured-img-preview--empty {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
}
.ja-featured-img-preview--empty i  { font-size: 36px; color: var(--gray-300); }
.ja-featured-img-preview--empty span { font-size: 13px; color: var(--gray-400); }
.ja-featured-img-remove {
  position: absolute; top: 8px; right: 8px;
  width: 24px; height: 24px; line-height: 22px;
  text-align: center; font-size: 12px; font-weight: 700;
  background: rgba(0,0,0,0.65); color: #fff;
  border: none; border-radius: 50%; cursor: pointer; padding: 0;
}
.ja-featured-img-remove:hover { background: #cc1818; }


/* ── Destination autocomplete ── */
.ja-dest-autocomplete {
  position: relative; width: 100%;
}
.ja-dest-autocomplete__input-wrap {
  position: relative; display: flex; align-items: center;
}
.ja-dest-autocomplete__icon {
  position: absolute; left: 12px; font-size: 13px;
  color: var(--teal-dark); pointer-events: none;
}
.ja-dest-autocomplete__input {
  width: 100%; padding: 9px 36px 9px 34px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  font-family: var(--font); font-size: 13.5px;
  color: var(--gray-800); outline: none;
  transition: border-color .15s, background .15s;
}
.ja-dest-autocomplete__input:focus {
  border-color: var(--teal); background: var(--white);
}
.ja-dest-autocomplete__clear {
  position: absolute; right: 10px;
  background: none; border: none; cursor: pointer;
  color: var(--gray-400); font-size: 14px; padding: 4px;
  line-height: 1; transition: color .15s;
}
.ja-dest-autocomplete__clear:hover { color: var(--navy); }

.ja-dest-autocomplete__dropdown {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(13,43,75,0.12);
  list-style: none; padding: 4px 0; margin: 0;
  max-height: 260px; overflow-y: auto;
  z-index: 999;
}
.ja-dest-autocomplete__item {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 14px; font-size: 13.5px; color: var(--gray-800);
  cursor: pointer; transition: background .12s;
}
.ja-dest-autocomplete__item i { color: var(--teal-dark); font-size: 12px; width: 14px; }
.ja-dest-autocomplete__item:hover { background: var(--teal-light); color: var(--teal-dark); }
.ja-dest-autocomplete__item--new {
  border-top: 1px solid var(--gray-200);
  color: var(--teal-dark); font-weight: 600; font-size: 13px;
}
.ja-dest-autocomplete__item--new i { color: var(--teal-dark); }
.ja-dest-autocomplete__item--new:hover { background: #e0f7f3; }

/* Experience type select — homepage & search bar */
.search-field--select { position: relative; }
.search-field--select select,
.sr-search-bar__field--select select {
  border: none; background: transparent;
  font-family: var(--font); font-size: 14px;
  color: var(--gray-800); width: 100%;
  outline: none; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  padding-right: 4px;
}
.search-field--select select:focus,
.sr-search-bar__field--select select:focus { outline: none; }
.search-field--select select option,
.sr-search-bar__field--select select option { color: var(--gray-800); background: var(--white); }
/* Placeholder colour when nothing selected */
.search-field--select select.placeholder,
.sr-search-bar__field--select select.placeholder { color: var(--gray-500); }


/* ============================================================
   CHIP SELECTORS — trip type, family context, child needs
   ============================================================ */
.ja-chip-grid {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 4px;
}
.ja-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--gray-200);
  background: var(--white); color: var(--gray-600);
  font-size: 13px; font-weight: 500;
  cursor: pointer; user-select: none;
  transition: all 0.15s;
}
.ja-chip input { display: none; }
.ja-chip i { font-size: 13px; width: 15px; text-align: center; }
.ja-chip:hover { border-color: var(--teal); color: var(--teal-dark); background: var(--teal-light); }
.ja-chip--active {
  background: var(--teal-light); color: var(--teal-dark);
  border-color: var(--teal); font-weight: 700;
}
/* Multi-select (checkbox chips) get a slightly different active colour */
.ja-chip--multi.ja-chip--active {
  background: #EEF4FF; color: #2563EB; border-color: #2563EB;
}

/* ── Custom upload button for frontend forms ── */
.ja-upload-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: var(--radius-sm);
  background: var(--white); color: var(--navy);
  border: 1.5px solid var(--gray-200);
  font-size: 13px; font-weight: 600; cursor: pointer;
  margin-top: 10px;
  transition: all 0.15s;
}
.ja-upload-btn:hover {
  border-color: var(--teal); color: var(--teal-dark);
  background: var(--teal-light);
}
.ja-upload-btn i { font-size: 13px; }

/* ── Form hint text ── */
.ja-form-hint {
  display: block; font-size: 11.5px;
  color: var(--gray-400); margin-top: 5px; line-height: 1.5;
}

/* ── Card header icon ── */
.ja-submit-form__card h2 {
  display: flex; align-items: center; gap: 9px;
  font-size: 16px; font-weight: 700; color: var(--navy);
  margin: 0 0 6px;
}
.ja-submit-form__card > p {
  font-size: 13px; color: var(--gray-500); margin: 0 0 16px;
}

@media (max-width: 600px) {
  .ja-chip { font-size: 12px; padding: 7px 12px; gap: 6px; }
  .ja-chip-grid { gap: 7px; }
}
