/**
 * Spiritual Journey — platform theme
 * Blue accents replaced with logo orange (#F7941D) and red (#A50000)
 */

:root {
  --sj-orange: #F7941D;
  --sj-red: #A50000;
  --sj-bg: #eef2f6;
  --mmt-card-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

body.platform-theme {
  background: var(--sj-bg);
  font-family: "Inter", system-ui, sans-serif;
  overflow-x: clip;
}

body.platform-theme .page-content { padding-top: 0; }

body.platform-theme #smooth-wrapper,
body.platform-theme #smooth-content {
  overflow-x: clip;
}

.site-header .header-wrapper,
.site-header .main-bar-wraper {
  overflow: visible;
}

.sj-lang { position: relative; z-index: 1300; }
.sj-lang--glass .sj-lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  max-width: 7.5rem;
}
.sj-lang--glass .sj-lang__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sj-lang--glass .sj-lang__chev { font-size: 0.625rem; opacity: 0.7; }
.sj-lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 210px;
  max-height: 320px;
  overflow-y: auto;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: 0.2s ease;
  z-index: 1200;
}
.sj-lang.is-open .sj-lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sj-lang__item {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.sj-lang__item:last-child { border-bottom: none; }
.sj-lang__item:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.sj-lang__item.is-active { color: var(--sj-orange); font-weight: 700; }
.sj-lang__en { font-size: 0.75rem; opacity: 0.5; }

.site-header .site-search--icon .site-search-trigger {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.site-header .site-search--icon .site-search-trigger:hover {
  background: rgba(255, 255, 255, 0.15);
}
.site-header .site-search--icon .site-search-trigger__icon { color: #fff; }

.sj-hero {
  position: relative;
  min-height: 520px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  overflow: hidden;
}

.sj-hero .hero-cloud-wrap {
  overflow: hidden;
}
.sj-hero--home { min-height: 580px; }
.sj-hero__overlay { position: absolute; inset: 0; }
.sj-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
  text-align: center;
}
.sj-hero__content--center { display: flex; flex-direction: column; align-items: center; }
.sj-hero__badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.sj-hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.sj-hero__subtitle {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
  margin-bottom: 2rem;
  line-height: 1.55;
}

.sj-hero-search {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  width: 100%;
  max-width: 640px;
  height: 58px;
  padding: 0 1.25rem;
  background: #fff;
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  text-align: left;
  transition: box-shadow 0.2s, transform 0.15s;
}
.sj-hero-search:hover {
  box-shadow: 0 12px 40px rgba(247, 148, 29, 0.25);
  transform: translateY(-1px);
}
.sj-hero-search__icon { color: var(--sj-orange); font-size: 1.125rem; flex-shrink: 0; }
.sj-hero-search__field {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 1rem;
  color: #64748b;
}
.sj-hero-search__prefix { color: #94a3b8; font-weight: 500; white-space: nowrap; }
.sj-hero-search__typewriter {
  color: #334155;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sj-hero-search__cursor { color: var(--sj-orange); animation: sj-blink 1s step-end infinite; }
@keyframes sj-blink { 50% { opacity: 0; } }

.sj-section { padding: 2.5rem 0 3rem; background: #fff; }
.sj-section--alt { background: var(--sj-bg); }
.sj-section__head {
  max-width: 1280px;
  margin: 0 auto 1.75rem;
  padding: 0 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.sj-section__title { font-size: clamp(1.375rem, 3vw, 1.875rem); font-weight: 800; color: #0f172a; }
.sj-section__title span { color: var(--sj-orange); }
.sj-section__sub { font-size: 0.9375rem; color: #64748b; margin-top: 0.35rem; }
.sj-section__link { font-size: 0.9375rem; font-weight: 700; color: var(--sj-orange); }
.sj-container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }

.mmt-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.625rem;
}
@media (min-width: 640px) { .mmt-cards-grid { gap: 1rem; } }
@media (min-width: 768px) { .mmt-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (min-width: 1024px) { .mmt-cards-grid { grid-template-columns: repeat(3, 1fr); } }

.mmt-card {
  background: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--mmt-card-shadow);
  border: 1px solid #e8edf2;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
}
.mmt-card:hover { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12); transform: translateY(-3px); }
.mmt-card__media { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; }
.mmt-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.mmt-card:hover .mmt-card__img { transform: scale(1.06); }
.mmt-card__ribbon {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.35rem 0.75rem;
  background: var(--sj-orange);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
}
.mmt-card__duration {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.625rem;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0.25rem;
}
.mmt-card__body { padding: 1rem 1.125rem; flex: 1; display: flex; flex-direction: column; }
.mmt-card__location { font-size: 0.8125rem; color: var(--sj-orange); font-weight: 600; margin-bottom: 0.35rem; }
.mmt-card__title { font-size: 1.0625rem; font-weight: 700; color: #0f172a; line-height: 1.35; margin-bottom: 0.5rem; }
.mmt-card__title a:hover { color: var(--sj-orange); }
.mmt-card__desc {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mmt-card__date { font-size: 0.75rem; color: #94a3b8; margin-top: 0.35rem; }
.mmt-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 0.875rem;
  border-top: 1px solid #f1f5f9;
}
.mmt-card__price-label { display: block; font-size: 0.6875rem; color: #94a3b8; text-transform: uppercase; }
.mmt-card__price-value { display: block; font-size: 1.375rem; font-weight: 800; color: #0f172a; }
.mmt-card__price-note { display: block; font-size: 0.6875rem; color: #94a3b8; }
.mmt-card__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 0.375rem; }
.mmt-card__cta { font-size: 0.875rem; font-weight: 700; color: var(--sj-orange); }
.mmt-card__book {
  padding: 0.45rem 1rem;
  background: var(--sj-orange);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
}
.mmt-card__book:hover { background: var(--sj-red); }

.sj-cat-scroll { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.sj-cat-scroll::-webkit-scrollbar { display: none; }
.sj-cat-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--mmt-card-shadow);
  position: relative;
  aspect-ratio: 3/4;
}
@media (max-width: 767px) {
  .sj-cat-scroll { gap: 0.5rem; padding-bottom: 0.25rem; }
  .sj-cat-card {
    flex: 0 0 calc((100% - 0.5rem) / 2.4);
    max-width: calc((100% - 0.5rem) / 2.4);
  }
  .sj-cat-card__label { padding: 0.5rem 0.375rem; font-size: 0.6875rem; line-height: 1.2; }
}
@media (min-width: 480px) and (max-width: 767px) {
  .sj-cat-card {
    flex: 0 0 calc((100% - 1rem) / 3);
    max-width: calc((100% - 1rem) / 3);
  }
}
.sj-cat-card img { width: 100%; height: 100%; object-fit: cover; }
.sj-cat-card__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: #fff;
  font-weight: 700;
}

.sj-listing-toolbar {
  background: #fff;
  padding: 1.25rem;
  border-radius: 0.5rem;
  box-shadow: var(--mmt-card-shadow);
  margin-bottom: 1.5rem;
  border: 1px solid #e8edf2;
}
.sj-panel {
  background: #fff;
  border-radius: 0.5rem;
  border: 1px solid #e8edf2;
  box-shadow: var(--mmt-card-shadow);
  padding: 1.5rem;
}
body.platform-theme .package-detail-page .package-detail-body { background: var(--sj-bg); }

/* Mobile compact cards — 2 per row, small content, full-size images */
@media (max-width: 767px) {
  .mmt-cards-grid {
    gap: 0.5rem;
  }

  .home-blogs-swiper .swiper-slide {
    height: auto;
  }

  .mmt-card {
    min-width: 0;
    border-radius: 0.375rem;
  }

  /* Keep image area unchanged */
  .mmt-card__media {
    aspect-ratio: 16/10;
  }

  .mmt-card__body {
    padding: 0.375rem 0.3125rem 0.4375rem;
  }

  .mmt-card__location {
    font-size: 0.5625rem;
    margin-bottom: 0.125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mmt-card__location i {
    font-size: 0.5rem;
    margin-right: 0.125rem;
  }

  .mmt-card__title {
    font-size: 0.6875rem;
    line-height: 1.2;
    margin-bottom: 0.125rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
  }

  .mmt-card__desc,
  .mmt-card__date {
    display: none;
  }

  .mmt-card__ribbon {
    font-size: 0.4375rem;
    padding: 0.125rem 0.3rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
  }

  .mmt-card__duration {
    font-size: 0.5rem;
    padding: 0.125rem 0.3rem;
    bottom: 0.3rem;
    left: 0.3rem;
    line-height: 1.2;
  }

  .mmt-card__duration i {
    font-size: 0.4375rem;
  }

  .mmt-card__footer {
    margin-top: 0.3125rem;
    padding-top: 0.3125rem;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem;
  }

  .mmt-card__price {
    min-width: 0;
    flex: 1 1 auto;
  }

  .mmt-card__price-label,
  .mmt-card__price-note {
    display: none;
  }

  .mmt-card__price-value {
    font-size: 0.6875rem;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mmt-card__actions {
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.125rem;
  }

  .mmt-card__cta {
    font-size: 0.5625rem;
    line-height: 1.1;
    white-space: nowrap;
  }

  .mmt-card__book {
    padding: 0.1875rem 0.3125rem;
    font-size: 0.5625rem;
    line-height: 1.15;
    white-space: nowrap;
    border-radius: 0.1875rem;
  }

  /* Blog cards */
  .mmt-card--blog .mmt-card__body {
    padding: 0.375rem 0.3125rem 0.375rem;
  }

  .mmt-card--blog .mmt-card__date {
    display: block;
    font-size: 0.5rem;
    margin-top: 0;
    margin-bottom: 0.125rem;
    line-height: 1.2;
  }

  .mmt-card--blog .mmt-card__date i {
    font-size: 0.4375rem;
    margin-right: 0.125rem;
  }

  .mmt-card--blog .mmt-card__desc {
    display: none;
  }

  .mmt-card--blog .mmt-card__footer {
    margin-top: 0.1875rem;
    padding-top: 0.1875rem;
    justify-content: flex-start;
  }

  .mmt-card--blog .mmt-card__cta {
    font-size: 0.5625rem;
  }

  .sj-section__head {
    margin-bottom: 1rem;
  }

  .sj-section__title {
    font-size: 1.125rem;
  }

  .sj-section__sub {
    font-size: 0.8125rem;
  }

  .sj-section__link {
    font-size: 0.8125rem;
  }
}

@media (max-width: 380px) {
  .mmt-card__actions {
    gap: 0.0625rem;
  }

  .mmt-card__cta {
    font-size: 0.5rem;
  }

  .mmt-card__book {
    font-size: 0.5rem;
    padding: 0.125rem 0.25rem;
  }

  .mmt-card__title {
    font-size: 0.625rem;
  }

  .mmt-card__price-value {
    font-size: 0.625rem;
  }
}

.home-blogs-swiper { padding-bottom: 2.75rem; position: relative; }
.home-blogs-swiper__next,
.home-blogs-swiper__prev {
  top: auto;
  bottom: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--sj-orange);
  color: #fff;
}
.home-blogs-swiper__next::after,
.home-blogs-swiper__prev::after { font-size: 0.75rem; font-weight: 700; }
.home-blogs-swiper__next { right: calc(50% - 3.25rem); left: auto; }
.home-blogs-swiper__prev { left: calc(50% - 3.25rem); right: auto; }
.home-blogs-swiper__next:hover,
.home-blogs-swiper__prev:hover { background: var(--sj-red); }
.sj-section--blogs { padding-bottom: 2rem; }

/* Swiper nav — replace blue only on platform cards section */
body.platform-theme .home-blogs-swiper__next,
body.platform-theme .home-blogs-swiper__prev,
body.platform-theme .home-testimonials-swiper .swiper-button-next,
body.platform-theme .home-testimonials-swiper .swiper-button-prev,
body.platform-theme .home-banners-swiper .swiper-button-next,
body.platform-theme .home-banners-swiper .swiper-button-prev {
  background: var(--sj-orange) !important;
  color: #fff !important;
}
body.platform-theme .home-blogs-swiper__next:hover,
body.platform-theme .home-blogs-swiper__prev:hover,
body.platform-theme .home-testimonials-swiper .swiper-button-next:hover,
body.platform-theme .home-testimonials-swiper .swiper-button-prev:hover,
body.platform-theme .home-banners-swiper .swiper-button-next:hover,
body.platform-theme .home-banners-swiper .swiper-button-prev:hover {
  background: var(--sj-red) !important;
}

/* ≤375px only — slightly smaller logo so menu stays inside header */
@media (max-width: 375px) {
  .site-header .header-wrapper {
    overflow: hidden;
    padding-left: 0.625rem !important;
    padding-right: 0.625rem !important;
  }

  .site-header .header-wrapper > div:first-child {
    width: auto !important;
    max-width: 8.125rem;
    min-width: 0;
    flex: 0 1 8.125rem;
  }

  .site-header img[src*="spiritual-jouney/logo.png"],
  .site-header img[src*="logo-dark.png"] {
    max-width: 8.125rem !important;
  }

  .site-header .header-wrapper > div.ml-auto.shrink-0 {
    gap: 0.25rem !important;
    flex-shrink: 0;
  }

  .sj-lang--glass .sj-lang__btn {
    max-width: 5.5rem;
    padding: 0.35rem 0.5rem;
    font-size: 0.6875rem;
  }
}
