/* Site-specific fixes on top of the copied Avada CSS. Loaded after Avada styles. */

/* Home › Calendar 2026: make all tour cards the same height
   (card height used to follow title length, so 2-line titles made a shorter card). */
.sm-cal .fusion_builder_column_1_4 .fusion-builder-row-inner {
  flex-grow: 1;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
}
.sm-cal .fusion_builder_column_1_4 .fusion-column-inner-bg-wrapper {
  flex-grow: 1;
}

/* Home › Calendar 2026: keep the date pill ("JUNE 18-27") on one line. */
.sm-cal .fusion-column-inner-bg-wrapper .fusion-button,
.sm-cal .fusion-column-inner-bg-wrapper .fusion-button-text {
  white-space: nowrap;
}
.sm-cal .fusion-column-inner-bg-wrapper .fusion-button {
  padding-left: 18px;
  padding-right: 18px;
}

/* Home › Calendar 2026: pin the date pill to the bottom of the card,
   so it lines up across cards regardless of title length. */
.sm-cal .fusion-column-inner-bg-wrapper > .fusion-column-wrapper > div:has(> .fusion-button) {
  margin-top: auto;
}

/* Recent posts (home "Stories & Travel Insights"): keep the excerpt beside the
   floated thumbnail instead of wrapping under it. */
.fusion-recent-posts .recent-posts-content {
  display: flow-root;
}

/* Mobile/tablet: the sticky header was 39% transparent, so page text showed
   through behind the logo and menu. */
@media (max-width: 1024px) {
  .fusion-tb-header .fusion-sticky-container {
    background-color: rgba(255, 255, 255, 0.95) !important;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
}

/* Mobile: the booking form sat inside three stacked side paddings (~190px wide
   fields, cut-off placeholders). Let it use the screen width. */
@media (max-width: 640px) {
  .fusion-fullwidth:has(> .fusion-builder-row .fusion-form-form-wrapper) {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .fusion-column-wrapper:has(> .fusion-form-form-wrapper) {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .fusion-form-form-wrapper form .fusion-fullwidth {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Home "Welcome" curve (intro-bg2). The image is a cut-out of a larger swoosh, so drawn
   as-is its bottom and right edges end abruptly. Draw it in a pseudo-element, as wide as
   the site content (1200px), and feather the edges so it melts into the white page. */
[data-bg*="intro-bg2"] {
  background-image: none !important;
  position: relative;
  isolation: isolate;
}
[data-bg*="intro-bg2"]::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: 0;
  width: min(100%, var(--site_width, 1200px));
  aspect-ratio: 1600 / 478;
  transform: translateX(-50%);
  pointer-events: none;
  background: url("/wp-content/uploads/2017/11/intro-bg2_02-scaled.jpg") center / 100% 100% no-repeat;
  -webkit-mask-image:
    linear-gradient(to bottom, #000 45%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 22%, #000 70%, transparent 92%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, #000 45%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 22%, #000 70%, transparent 92%);
  mask-composite: intersect;
}
/* dark mode: dark.css replaces this curve with the pinstripe texture */

/* Contact band: rounded split notch at the top centre, like Avada's "rounded-split"
   section separator in the Salon demo. Two quarter-circles cut from the colour of the
   section above (white; page background in dark mode). */
.sm-notch { position: relative; --sm-notch-r: 56px; --sm-notch-bg: #fff; }
html.sm-dark .sm-notch { --sm-notch-bg: var(--dk-bg); }
.sm-notch::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  z-index: 2;
  width: calc(var(--sm-notch-r) * 2);
  height: var(--sm-notch-r);
  transform: translateX(-50%);
  pointer-events: none;
  background:
    radial-gradient(circle at 0 100%, transparent calc(var(--sm-notch-r) - 0.5px), var(--sm-notch-bg) var(--sm-notch-r)) left / 50% 100% no-repeat,
    radial-gradient(circle at 100% 100%, transparent calc(var(--sm-notch-r) - 0.5px), var(--sm-notch-bg) var(--sm-notch-r)) right / 50% 100% no-repeat;
}
@media (max-width: 640px) { .sm-notch { --sm-notch-r: 36px; } }

/* Post grids with image rollovers (home "About Mongolia" cards): both themes: photos sit under a dark veil that
   lifts on hover. The rollover stays as an invisible click target. */
.fusion-post-grid .fusion-image-wrapper { position: relative; }
.fusion-post-grid .fusion-image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(10, 9, 8, 0.45);
  transition: opacity 0.45s ease;
}
.fusion-post-grid:hover .fusion-image-wrapper::after,
.fusion-post-grid .fusion-image-wrapper:hover::after,
.fusion-post-grid:focus-within .fusion-image-wrapper::after { opacity: 0; }
.fusion-post-grid .fusion-rollover {
  background: transparent !important;
  opacity: 1 !important;
  z-index: 2;
}
.fusion-post-grid .fusion-rollover .fusion-rollover-content { opacity: 0 !important; }
/* masonry cards: Avada lays the caption over the image bottom and slides it away on
   hover (translateY 105%) — keep it in place and above the veil/rollover layers */
.fusion-post-grid .fusion-post-content-wrapper { z-index: 3; }
.fusion-blog-layout-masonry.fusion-blog-rollover .fusion-post-wrapper:hover .fusion-post-content-wrapper { transform: none; }
/* Avada slides the rollover in from the side on hover (transform + .3s transition), so a
   click right after the pointer enters landed on nothing until the mouse moved again.
   Keep the rollover in place at all times and stretch its post link over the whole photo. */
.fusion-post-grid .fusion-rollover { transform: none !important; transition: none !important; }
.fusion-post-grid .fusion-rollover .fusion-rollover-content { position: static; transform: none; }
.fusion-post-grid .fusion-rollover .fusion-rollover-link {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  font-size: 0;
  color: transparent !important;
}
.fusion-post-grid .fusion-rollover .fusion-rollover-link::before,
.fusion-post-grid .fusion-rollover .fusion-rollover-link::after { display: none !important; }
.fusion-post-grid .fusion-rollover .fusion-rollover-gallery,
.fusion-post-grid .fusion-rollover .fusion-rollover-sep { display: none !important; }
/* caption: whole caption box is the link too */
.fusion-post-grid .fusion-post-content-wrapper .blog-shortcode-post-title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* Caption title on card hover: colour warms to sand and an underline draws in */
.fusion-post-grid { --sm-card-accent: #a8866c; }
html.sm-dark .fusion-post-grid { --sm-card-accent: #ceb19c; }
.fusion-post-grid .blog-shortcode-post-title a {
  background: linear-gradient(var(--sm-card-accent), var(--sm-card-accent)) 0 100% / 0 1px no-repeat;
  padding-bottom: 3px;
  transition: color 0.35s ease, background-size 0.45s cubic-bezier(0.22, 0.61, 0.16, 1);
}
.fusion-post-grid:hover .blog-shortcode-post-title a,
.fusion-post-grid:focus-within .blog-shortcode-post-title a {
  color: var(--sm-card-accent) !important;
  background-size: 100% 1px;
}

/* "Stories & Travel Insights" (recent posts): sand underline on the title on hover
   (no photo veil here), and the whole card is one link (title link stretched over it). */
.fusion-recent-posts article.post { position: relative; --sm-card-accent: #a8866c; }
html.sm-dark .fusion-recent-posts article.post { --sm-card-accent: #ceb19c; }
.fusion-recent-posts article.post .entry-title a {
  background: linear-gradient(var(--sm-card-accent), var(--sm-card-accent)) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px;
  transition: color 0.35s ease, background-size 0.45s cubic-bezier(0.22, 0.61, 0.16, 1);
}
.fusion-recent-posts article.post:hover .entry-title a,
.fusion-recent-posts article.post:focus-within .entry-title a {
  color: var(--sm-card-accent) !important;
  background-size: 100% 1px;
}
.fusion-recent-posts article.post .entry-title a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Do's and Don'ts page: the two lists as tinted cards — rose ✕ for Don't, teal ✓ for Do */
.sm-dd {
  --dd-accent: #e0335a;
  --dd-tint: rgba(241, 52, 93, 0.05);
  --dd-line: rgba(241, 52, 93, 0.16);
  --dd-mark: "\2715";
  align-self: stretch !important;
}
.sm-dd--do {
  --dd-accent: #2f7d74;
  --dd-tint: rgba(47, 125, 116, 0.06);
  --dd-line: rgba(47, 125, 116, 0.18);
  --dd-mark: "\2713";
}
html.sm-dark .sm-dd { --dd-accent: #f2708c; --dd-tint: rgba(241, 52, 93, 0.07); --dd-line: rgba(241, 52, 93, 0.2); }
html.sm-dark .sm-dd--do { --dd-accent: #6fc0b4; --dd-tint: rgba(111, 192, 180, 0.07); --dd-line: rgba(111, 192, 180, 0.2); }

.sm-dd > .fusion-column-wrapper {
  height: 100%;
  padding: 44px 40px 36px !important;
  border-radius: 20px;
  background: var(--dd-tint);
  border-top: 3px solid var(--dd-accent);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.sm-dd > .fusion-column-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.35);
}
/* heading with a round badge */
.sm-dd .fusion-title { flex-direction: column; align-items: center; margin-bottom: 26px !important; }
.sm-dd .fusion-title::before {
  content: var(--dd-mark);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--dd-accent);
  color: #fff;
  font: 600 24px/1 "Poppins", sans-serif;
  box-shadow: 0 0 0 8px var(--dd-tint), 0 0 0 9px var(--dd-line);
}
.sm-dd .fusion-title h3 { color: var(--dd-accent) !important; letter-spacing: 0.02em; }
/* list */
.sm-dd .fusion-text { margin-top: 0 !important; }
.sm-dd .fusion-text ul { list-style: none; margin: 0; padding: 0; }
.sm-dd .fusion-text li {
  position: relative;
  padding: 11px 10px 11px 42px;
  border-bottom: 1px dashed var(--dd-line);
  line-height: 1.35;
  border-radius: 8px;
  transition: background-color 0.25s ease;
}
.sm-dd .fusion-text li:last-child { border-bottom: 0; }
.sm-dd .fusion-text li:hover { background: var(--dd-tint); }
.sm-dd .fusion-text li::before {
  content: var(--dd-mark);
  position: absolute;
  left: 8px;
  top: 13px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--dd-accent);
  color: var(--dd-accent);
  font: 600 11px/1 "Poppins", sans-serif;
}
@media (max-width: 640px) {
  .sm-dd > .fusion-column-wrapper { padding: 34px 20px 26px !important; }
  .sm-dd .fusion-text li { padding-left: 38px; }
}

/* Mobile menu button: replace the boxed icon-font hamburger with a light round button —
   two offset lines (long / short) that fold into an × when the menu is open. */
.awb-menu__m-toggle {
  --sm-burger: #8c6f5a;
  width: 48px !important;
  height: 48px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.75) !important;
  border: 1px solid rgba(206, 177, 156, 0.6) !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px -10px rgba(0, 0, 0, 0.35);
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}
html.sm-dark .awb-menu__m-toggle {
  --sm-burger: #e2cfb8;
  background: rgba(32, 29, 26, 0.75) !important;
  border-color: rgba(206, 177, 156, 0.4) !important;
}
.awb-menu__m-toggle:active { transform: scale(0.94); }
.awb-menu__m-toggle .awb-menu__m-toggle-inner { justify-content: center !important; width: 100%; height: 100%; }
.awb-menu__m-toggle .awb-menu__m-collapse-icon { position: relative; width: 22px; height: 14px; }
.awb-menu__m-toggle .awb-menu__m-collapse-icon > span { display: none !important; } /* icon-font glyphs */
.awb-menu__m-toggle .awb-menu__m-collapse-icon::before,
.awb-menu__m-toggle .awb-menu__m-collapse-icon::after {
  content: "";
  position: absolute;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--sm-burger);
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.16, 1), width 0.4s ease, top 0.4s ease;
}
.awb-menu__m-toggle .awb-menu__m-collapse-icon::before { top: 2px; width: 22px; }
.awb-menu__m-toggle .awb-menu__m-collapse-icon::after { top: 10px; width: 13px; }
.awb-menu__m-toggle:hover .awb-menu__m-collapse-icon::after { width: 22px; }
.awb-menu__m-toggle[aria-expanded="true"] .awb-menu__m-collapse-icon::before { top: 6px; width: 20px; transform: rotate(45deg); right: 1px; }
.awb-menu__m-toggle[aria-expanded="true"] .awb-menu__m-collapse-icon::after { top: 6px; width: 20px; transform: rotate(-45deg); right: 1px; }
/* mobile menu rows: same thin divider in light mode as in dark */
.awb-menu { --awb-mobile-sep-color: rgba(206, 177, 156, 0.3) !important; }
/* mobile menu: smaller text + shorter rows so all items fit on a phone screen without scrolling */
.awb-menu.collapse-enabled {
  --awb-mobile-font-size: 15px !important;
  --awb-mobile-nav-items-height: 44 !important;
  --awb-submenu-font-size: 14px !important;
}
.awb-menu.collapse-enabled .awb-menu__sub-ul a { min-height: 38px; }
@media (max-height: 620px) {
  .awb-menu.collapse-enabled { --awb-mobile-nav-items-height: 38 !important; --awb-mobile-font-size: 14px !important; }
  .awb-menu.collapse-enabled .awb-menu__sub-ul a { min-height: 34px; }
}

/* "Go to top" button — shown on phones too (Avada had it desktop-only); round, matches the theme toggle */
.to-top-container #toTop {
  right: 18px !important;
  left: auto !important;
  bottom: 18px !important;
  z-index: 99998 !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.92) !important;
  color: #494949 !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  display: grid !important;
  place-items: center;
  line-height: 1 !important;
  transition: transform 0.2s ease;
}
.to-top-container #toTop::before { color: inherit !important; line-height: 1 !important; margin: 0 !important; }
.to-top-container #toTop:hover { transform: translateY(-2px); }
html.sm-dark .to-top-container #toTop {
  background: rgba(42, 38, 34, 0.92) !important;
  border-color: var(--dk-border);
  color: #ceb19c !important;
}

/* Mongolbank USD rate (public/js/usd-rate.js) */
.sm-usd-rate__src { font-size: 0.8em; opacity: 0.75; }

/* Masonry post grids that show an excerpt ("More to read" on Mongolia in Brief): Avada overlays the whole
   caption on the photo and slid it away on hover — with long excerpts the photo was never visible.
   Put the photo on top and the text under it instead. */
.fusion-post-grid:has(.fusion-post-content-container) .fusion-post-content-wrapper {
  position: relative !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
}
/* …and lay those cards out as an even grid (3 columns; 2 on tablets, 1 on phones) instead of masonry */
.fusion-posts-container:has(.fusion-post-content-container) {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  height: auto !important;
  margin: 0 !important;
}
.fusion-posts-container:has(.fusion-post-content-container) > article {
  position: static !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
}
.fusion-posts-container:has(.fusion-post-content-container) > article.fusion-grid-sizer { display: none !important; }
.fusion-posts-container:has(.fusion-post-content-container) .fusion-post-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto !important;
  margin: 0 !important;
  align-self: stretch;
}
.fusion-posts-container:has(.fusion-post-content-container) .fusion-post-content-wrapper { flex: 1 1 auto; }
@media (max-width: 1024px) {
  .fusion-posts-container:has(.fusion-post-content-container) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .fusion-posts-container:has(.fusion-post-content-container) { grid-template-columns: 1fr; gap: 18px; }
}

/* Phones/tablets: the logo that swaps in when the header turns sticky was 140×83 — size it like the menu button */
@media (max-width: 1024px) {
  .fusion-tb-header .fusion-sticky-logo {
    height: 48px !important;
    max-height: 48px !important;
    width: auto !important;
  }
  /* …and slim the stuck bar itself: 15px padding + 15px column margins made it 110px tall */
  .fusion-tb-header .fusion-sticky-container.fusion-container-stuck {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
  .fusion-tb-header .fusion-sticky-container.fusion-container-stuck .fusion-layout-column {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  /* the opened menu hangs below the toggle by this gap — keep it flush with the slimmer bar */
  .fusion-tb-header .fusion-sticky-container.fusion-container-stuck .awb-menu {
    --awb-mobile-nav-trigger-bottom-margin: 8px !important;
  }
}

/* Home page body text blocks (Welcome, Footsteps of Nomads, Impact Investment, Priorities): justified,
   last line kept centred like the original centred layout */
.sm-justify, .sm-justify p, .sm-justify div {
  text-align: justify !important;
  text-align-last: center;
  -webkit-hyphens: auto;
  hyphens: auto;
}
/* Priorities cards: 50px side padding left only ~25 characters per line — too narrow to justify cleanly */
.fusion-column-wrapper:has(> .sm-justify--card) { padding-left: 16px !important; padding-right: 16px !important; }

/* Light theme, home: "Our Priorities" paper-stripe texture fades out at the bottom, and the
   "Treat Yourself to a trip to Mongolia" section below sits on plain white (no texture). */
html:not(.sm-dark) .sm-priorities[data-bg] {
  background-image: none !important;
  position: relative;
  isolation: isolate;
}
html:not(.sm-dark) .sm-priorities[data-bg]::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(100%, 692px);
  pointer-events: none;
  background: url("/wp-content/uploads/2017/11/services-bg3_26-e1518615760726-scaled.jpg") center bottom / auto 100% repeat-x;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 260px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 260px), transparent 100%);
}
html:not(.sm-dark) .sm-treat[data-bg] { background-image: none !important; background-color: #fff !important; }

/* Scroll progress (public/js/scroll-progress.js sets --sm-scroll 0…1): a ring that fills around the "go to top" button */
:root { --sm-progress: #a8866c; }
html.sm-dark { --sm-progress: #ceb19c; }
.to-top-container #toTop { position: fixed; overflow: visible; }
.to-top-container #toTop::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(var(--sm-progress) calc(var(--sm-scroll, 0) * 1turn), rgba(206, 177, 156, 0.18) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  pointer-events: none;
}

/* Scroll reveal (public/js/sm-reveal.js) — home "Our Priorities": heading block and cards rise in,
   staggered per row; the swirl icon spins up, the short rule under each title draws in. */
html.sm-rv-on .sm-rv {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease var(--rv-delay, 0ms), transform 0.9s cubic-bezier(0.22, 0.61, 0.16, 1) var(--rv-delay, 0ms);
}
html.sm-rv-on .sm-rv.is-in { opacity: 1; transform: none; }
html.sm-rv-on .sm-priorities .sm-rv .fusion-image-element img {
  transform: scale(0.4) rotate(-40deg);
  opacity: 0;
  transition: transform 1s cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--rv-delay, 0ms) + 0.2s), opacity 0.6s ease calc(var(--rv-delay, 0ms) + 0.2s);
}
html.sm-rv-on .sm-priorities .sm-rv.is-in .fusion-image-element img { transform: none; opacity: 1; }
html.sm-rv-on .sm-priorities .sm-rv .fusion-separator {
  transform: scaleX(0);
  transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.16, 1) calc(var(--rv-delay, 0ms) + 0.45s);
}
html.sm-rv-on .sm-priorities .sm-rv.is-in .fusion-separator { transform: none; }

/* the icon's frame clips (overflow:hidden) — let the spinning/swaying icon spill over */
.sm-priorities .fusion-imageframe { overflow: visible !important; }

/* Priorities cards: hover lift + icon sway */
.sm-priorities .fusion-column-wrapper:has(> .sm-justify--card) {
  border-radius: 18px;
  transition: transform 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}
.sm-priorities .fusion-column-wrapper:has(> .sm-justify--card):hover {
  transform: translateY(-6px);
  background-color: rgba(206, 177, 156, 0.08);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.35);
}
.sm-priorities .fusion-column-wrapper:has(> .sm-justify--card):hover .fusion-image-element img {
  animation: sm-sway 1.2s ease-in-out;
}
@keyframes sm-sway {
  0%, 100% { transform: none; }
  25% { transform: rotate(-10deg) scale(1.08); }
  60% { transform: rotate(6deg) scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .sm-priorities .fusion-column-wrapper:has(> .sm-justify--card):hover { transform: none; }
  .sm-priorities .fusion-column-wrapper:has(> .sm-justify--card):hover .fusion-image-element img { animation: none; }
}

/* Wind logo (public/js/wind-logo.js): home "Welcome" — wind runs along the three strokes and winds into
   the Steppe Mind swirl, then "Welcome to / Steppe Mind" and the intro rise in. */
.sm-wind-hero { position: relative; width: 150px; max-width: 46vw; margin: 0 auto 6px; aspect-ratio: 914 / 748; color: #35454f; }
html.sm-dark .sm-wind-hero { color: #e2cfb8; }
.sm-wind-hero.is-ready .fusion-image-element { display: none; }
.sm-wind-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sm-wind-svg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sm-wind-lines path { stroke: currentColor; }
.sm-wind-lines path.head { stroke: #a8866c; }
html.sm-dark .sm-wind-lines path.head { stroke: #fff7ec; }
.sm-wind-gusts path { stroke: currentColor; opacity: 0; }
/* caption under the logo waits for the swirl, then rises in (only when the script runs) */
html.sm-wind-on .sm-wind-hero ~ * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.22, 0.61, 0.16, 1);
}
html.sm-wind-on .sm-wind-hero.is-drawn ~ * { opacity: 1; transform: none; }
html.sm-wind-on .sm-wind-hero.is-drawn ~ :nth-child(3) { transition-delay: 0.1s; }
html.sm-wind-on .sm-wind-hero.is-drawn ~ :nth-child(4) { transition-delay: 0.25s; }
html.sm-wind-on .sm-wind-hero.is-drawn ~ :nth-child(5) { transition-delay: 0.4s; }
html.sm-wind-on .sm-wind-hero.is-drawn ~ :nth-child(6) { transition-delay: 0.55s; }
html.sm-wind-on .sm-wind-hero.is-drawn ~ :nth-child(n+7) { transition-delay: 0.7s; }

/* Home slider height: Avada sizes it from the width (800px at 1920), which pushed the wind logo and
   "Welcome to Steppe Mind" below the fold on 1920×1080. Cap it so they stay in the first screen:
   420px = header (84) + welcome section top through the "Steppe Mind" title (~286) + ~50px breathing room.
   Floor of 360px so short windows keep a usable hero; phones are already shorter than the cap. */
#sliders-container .fusion-slider-container,
#sliders-container .tfs-slider,
#sliders-container .tfs-slider .slides > li .background {
  max-height: max(360px, calc(100vh - 420px)) !important;
}

/* Visually hidden but read by screen readers and search engines (e.g. the page <h1> on WordPress-era pages) */
.sm-vh { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }

/* Home "Mongolia In Brief": the cream title sat on bright sky and white rocks and was hard to read.
   A soft dark glow behind it and a text shadow keep it legible without boxing it in. */
.sm-brief-title { position: relative; isolation: isolate; }
.sm-brief-title::before {
  content: ""; position: absolute; z-index: -1; inset: -18% -22%;
  background: radial-gradient(closest-side, rgba(10, 18, 24, 0.28), rgba(10, 18, 24, 0.12) 60%, transparent);
  pointer-events: none;
}
.sm-brief-title .fusion-title-heading { text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45), 0 0 16px rgba(0, 0, 0, 0.25); }

/* Home "Guest Reviews" (after "About Mongolia"): short excerpts of BookRetreats reviews, linking to the
   full reviews there. Cards rise in via public/js/sm-reveal.js (.sm-rv-item). */
.sm-reviews { padding: 80px 20px 72px; text-align: center; }
.sm-reviews__inner { max-width: 1140px; margin: 0 auto; }
.sm-reviews__kicker { margin: 0; font-style: italic; font-size: 22px; color: #a69a8d; }
.sm-reviews__title { margin: 4px 0 14px !important; font-size: clamp(38px, 4.6vw, 58px) !important; line-height: 1.1 !important; color: #eee8e1 !important; font-weight: 500 !important; }
.sm-reviews__score { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 0 0 44px; font-size: 19px; color: #bdb5ac; }
.sm-reviews__score b { color: #eee8e1; font-size: 22px; }
.sm-reviews__score a, .sm-reviews__all { color: #ceb19c; text-decoration: none; border-bottom: 1px solid rgba(206, 177, 156, 0.45); }
.sm-reviews__score a:hover, .sm-reviews__all:hover { color: #f3e3d3; border-color: #f3e3d3; }
.sm-stars { display: inline-flex; gap: 3px; }
.sm-stars svg { width: 18px; height: 18px; fill: #e2b866; }
.sm-reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; text-align: left; }
.sm-review { margin: 0; display: flex; flex-direction: column; gap: 18px; padding: 30px 28px 26px; border: 1px solid #3b3630; border-radius: 4px;
  background: linear-gradient(180deg, rgba(42, 38, 34, 0.92), rgba(32, 29, 26, 0.92)); position: relative;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease; }
.sm-review::before { content: "“"; position: absolute; top: 4px; right: 22px; font-size: 96px; line-height: 1; color: rgba(206, 177, 156, 0.14); font-family: Georgia, serif; }
.sm-review:hover { transform: translateY(-4px); border-color: rgba(206, 177, 156, 0.45); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35); }
html.sm-dark .sm-review blockquote, .sm-review blockquote { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; flex: 1; }
.sm-review blockquote p { margin: 0; font-size: 22px; line-height: 1.45; color: #eee8e1; font-style: italic; }
.sm-review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid #3b3630; }
.sm-review__avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #ceb19c; color: #1a1612; font-weight: 700; font-size: 18px; }
.sm-review figcaption b { display: block; color: #eee8e1; font-size: 18px; font-weight: 600; }
.sm-review figcaption small { display: block; color: #8f877e; font-size: 15px; }
.sm-reviews__all { display: inline-block; margin-top: 34px; font-size: 19px; }
html.sm-rv-on .sm-rv-item { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease var(--rv-delay, 0ms), transform 0.9s cubic-bezier(0.22, 0.61, 0.16, 1) var(--rv-delay, 0ms); }
html.sm-rv-on .sm-rv-item.is-in { opacity: 1; transform: none; }
html.sm-rv-on .sm-rv-item.is-in:hover { transform: translateY(-4px); }
@media (max-width: 900px) {
  .sm-reviews { padding-top: 70px; }
  .sm-reviews__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

/* Travel home: trust strip under the hero (rating, facts, two calls to action)
   and a "Before you go" heading that groups the background-reading sections. */
.sm-trust { background: #201d1a; border-top: 1px solid #3b3630; border-bottom: 1px solid #3b3630; padding: 22px 20px; }
.sm-trust__inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; text-align: center; gap: 16px 36px; }
.sm-trust__facts { list-style: none; margin: 0 !important; padding: 0 !important; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; font-size: 18px; color: #bdb5ac; }
.sm-trust__facts li { margin: 0 !important; padding: 0 !important; display: flex; align-items: center; gap: 8px; }
.sm-trust__facts li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #a8866c; margin-right: 4px; }
.sm-trust__facts a { color: #eee8e1 !important; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.sm-trust__facts b { color: #eee8e1; }
.sm-trust__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.sm-btn { display: inline-block; padding: 13px 22px; border: 1px solid #ceb19c; border-radius: 3px; color: #ceb19c !important; text-decoration: none !important;
  font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; transition: background 0.25s, color 0.25s; }
.sm-btn:hover { background: rgba(206, 177, 156, 0.12); }
.sm-btn--solid { background: #ceb19c; color: #1a1612 !important; }
.sm-btn--solid:hover { background: #e2cfb8; }
.sm-before { text-align: center; padding: 100px 20px 50px; border-top: 1px solid #3b3630; }
.sm-before__kicker { margin: 0; font-style: italic; font-size: 22px; color: #a69a8d; }
.sm-before__title { margin: 4px 0 10px !important; font-size: clamp(38px, 4.6vw, 58px) !important; line-height: 1.1 !important; font-weight: 500 !important; color: #eee8e1 !important; }
.sm-before__lead { margin: 0 auto; max-width: 36em; font-size: 20px; color: #bdb5ac; }
@media (max-width: 900px) { .sm-trust__inner { justify-content: center; text-align: center; } .sm-trust__facts { justify-content: center; } }

/* Travel home: "Mongolia In Brief" right column = title at the top + the About Mongolia articles as a
   text-only list on a translucent panel (the photo is bright, so the panel keeps the text readable). */
.sm-brief-side > .fusion-column-wrapper { justify-content: flex-start !important; }
.sm-brief-side .sm-brief-title { margin-top: 0 !important; }
.sm-brief-topics { margin-top: 22px; padding: 18px 22px 10px; background: rgba(23, 21, 19, 0.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-radius: 3px; }
.sm-brief-topics__label { margin: 0 0 6px !important; font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase; color: #ceb19c; }
.sm-brief-topics ul { list-style: none; margin: 0 !important; padding: 0 !important; }
.sm-brief-topics li { margin: 0 !important; padding: 0 !important; border-top: 1px solid rgba(238, 232, 225, 0.14); }
.sm-brief-topics li:first-child { border-top: 0; }
.sm-brief-topics a { display: block; padding: 10px 0; text-decoration: none !important; }
.sm-brief-topics b { display: block; font-size: 20px; font-weight: 600; line-height: 1.25; color: #fff; transition: color 0.2s; }
.sm-brief-topics b::after { content: " →"; color: #ceb19c; opacity: 0; transition: opacity 0.2s; }
.sm-brief-topics span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; font-size: 16px; line-height: 1.35; color: rgba(255, 255, 255, 0.78); }
.sm-brief-topics a:hover b { color: #f3e3d3; }
.sm-brief-topics a:hover b::after { opacity: 1; }

/* Travel home: "Mongolia In Brief" background = sand dune with a lone ger (kept in view), title under the facts box */
.sm-brief-bg { background-position: center 92% !important; }
/* both panels look the same and start at the same height ("Mongolia In Brief" label like "About Mongolia") */
.sm-brief-bg { padding-bottom: 60px !important; }
.sm-brief-facts, .sm-brief-topics { margin-top: 0 !important; padding: 18px 22px 14px !important; background: rgba(23, 21, 19, 0.62);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-radius: 3px; }
.sm-brief-facts { color: rgba(255, 255, 255, 0.86); }
.sm-brief-facts p { margin: 0 0 12px !important; }
.sm-brief-facts p:last-child { margin-bottom: 0 !important; }
.sm-brief-facts strong, .sm-brief-facts b { color: #fff; }
.sm-brief-facts .sm-brief-topics__label { margin: 0 0 10px !important; }
.sm-before__lead { text-align: center !important; margin-left: auto !important; margin-right: auto !important; }

/* "About Mongolia" list: make each row read as a link (sand title, an arrow that is always shown,
   a highlighted row and underlined title on hover/focus) */
.sm-brief-topics a { display: grid !important; grid-template-columns: 1fr auto; column-gap: 14px; align-items: center;
  margin: 0 -10px; padding: 10px 10px !important; border-radius: 3px; cursor: pointer; transition: background 0.2s; }
.sm-brief-topics a::after { content: "→"; grid-column: 2; grid-row: 1 / span 2; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-size: 16px; color: #ceb19c; border: 1px solid rgba(206, 177, 156, 0.5);
  transition: background 0.2s, color 0.2s, transform 0.2s; }
.sm-brief-topics b { grid-column: 1; color: #f0dcc6 !important; text-decoration: underline; text-decoration-color: rgba(206, 177, 156, 0.4);
  text-underline-offset: 4px; text-decoration-thickness: 1px; }
.sm-brief-topics b::after { content: none !important; }
.sm-brief-topics span { grid-column: 1; }
.sm-brief-topics a:hover, .sm-brief-topics a:focus-visible { background: rgba(206, 177, 156, 0.14); }
.sm-brief-topics a:hover b, .sm-brief-topics a:focus-visible b { color: #fff !important; text-decoration-color: #ceb19c; }
.sm-brief-topics a:hover::after, .sm-brief-topics a:focus-visible::after { background: #ceb19c; color: #1a1612; transform: translateX(3px); }

/* Team page (/travel/about-us-page/): centre the team photo (it sat flush left in a row wider than the
   screen) and lift the dark wind logo above "Resilience, Growth, and Connection" to light, like the header logo */
.fusion-image-element:has(img.wp-image-1749) { text-align: center !important; }
.fusion-image-element:has(img.wp-image-1749) .fusion-imageframe { display: block !important; max-width: 1400px; margin: 0 auto !important; }
.fusion-image-element:has(img.wp-image-1749) img { width: 100%; }
html.sm-dark img.wp-image-939 { filter: brightness(0) invert(0.9); }
