/**
 * Lotus nav v2 preview styles.
 * Only loads when body has .fx-lotus-nav-v2 (secret URL / cookie preview).
 * Figma: Geogrotesque SemiBold 24px / tracking 7.2px; logo 178 x 96.
 * Solid + over-hero share the same padding/alignment; over-hero only overlays.
 */

@font-face {
  font-family: "Geogrotesque";
  src: url("/wp-content/themes/ratio/assets/fonts/Geogrotesque.woff2") format("woff2"),
    url("/wp-content/themes/ratio/assets/fonts/Geogrotesque.woff") format("woff"),
    url("/wp-content/themes/ratio/assets/fonts/Geogrotesque.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

body.fx-lotus-nav-v2 {
  --fx-nav-v2-olive: var(--fx-color-olive, #5a5c4c);
  --fx-nav-v2-text: #ffffff;
  --fx-nav-v2-font: "Geogrotesque", "Open Sans", sans-serif;
  --fx-nav-v2-tracking: 7.2px;
  --fx-nav-v2-link-size: 24px;
  --fx-nav-v2-link-leading: 0.89;
  --fx-nav-v2-logo-w: 178px;
  --fx-nav-v2-logo-h: 96px;
  --fx-nav-v2-bar-pad-top: 4.5rem;
  --fx-nav-v2-bar-pad-bottom: 1.75rem;
  --fx-nav-v2-search-size: 22px;
  --fx-hero-header-offset: calc(var(--fx-nav-v2-bar-pad-top) + 96px + var(--fx-nav-v2-bar-pad-bottom));
}

/* ----- Shared bar spacing + alignment (solid and over-hero) ----- */

body.fx-lotus-nav-v2 .edgtf-page-header .edgtf-menu-area {
  height: auto !important;
  min-height: 0;
  padding-top: var(--fx-nav-v2-bar-pad-top);
  padding-bottom: var(--fx-nav-v2-bar-pad-bottom);
  border-bottom: 0 !important;
  box-shadow: none !important;
}

body.fx-lotus-nav-v2 .edgtf-page-header .edgtf-sticky-header {
  height: 5rem !important;
}

body.fx-lotus-nav-v2 .edgtf-page-header .edgtf-sticky-header,
body.fx-lotus-nav-v2 .edgtf-page-header .edgtf-sticky-header .edgtf-sticky-holder,
body.fx-lotus-nav-v2 .edgtf-page-header .edgtf-sticky-header.header-appear .edgtf-sticky-holder {
  background-color: var(--fx-nav-v2-olive) !important;
  background-image: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

body.fx-lotus-nav-v2 .edgtf-page-header .edgtf-sticky-header .edgtf-sticky-holder {
  height: 100%;
}

body.fx-lotus-nav-v2 .edgtf-page-header .edgtf-menu-area .edgtf-vertical-align-containers {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  height: auto !important;
  min-height: 96px;
}

body.fx-lotus-nav-v2 .edgtf-page-header .edgtf-menu-area .edgtf-position-left,
body.fx-lotus-nav-v2 .edgtf-page-header .edgtf-menu-area .edgtf-position-right {
  position: relative !important;
  float: none !important;
  display: flex !important;
  align-items: center;
  height: auto !important;
}

body.fx-lotus-nav-v2 .edgtf-page-header .edgtf-menu-area .edgtf-position-left:before,
body.fx-lotus-nav-v2 .edgtf-page-header .edgtf-menu-area .edgtf-position-right:before {
  display: none !important;
  content: none !important;
}

body.fx-lotus-nav-v2 .edgtf-page-header .edgtf-menu-area .edgtf-position-left-inner,
body.fx-lotus-nav-v2 .edgtf-page-header .edgtf-menu-area .edgtf-position-right-inner {
  display: flex !important;
  align-items: center;
  height: auto !important;
  vertical-align: middle;
}

body.fx-lotus-nav-v2 .edgtf-page-header .edgtf-menu-area .edgtf-main-menu {
  display: block !important;
  height: auto !important;
}

body.fx-lotus-nav-v2 .edgtf-page-header .edgtf-menu-area .edgtf-main-menu > ul {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  height: auto !important;
  float: none !important;
}

body.fx-lotus-nav-v2 .edgtf-page-header .edgtf-menu-area .edgtf-main-menu > ul > li {
  display: block !important;
  position: relative;
  float: none !important;
  height: auto !important;
}

body.fx-lotus-nav-v2 .edgtf-page-header .edgtf-menu-area .edgtf-main-menu > ul > li > a {
  display: flex !important;
  align-items: center;
  height: auto !important;
}

body.fx-lotus-nav-v2 .edgtf-page-header .edgtf-menu-area .edgtf-main-menu > ul > li > a > span.edgtf-item-outer {
  display: block !important;
  position: static !important;
  top: auto !important;
  -webkit-transform: none !important;
  transform: none !important;
}

body.fx-lotus-nav-v2 .edgtf-page-header .edgtf-menu-area .edgtf-search-opener {
  display: inline-flex !important;
  align-items: center;
  align-self: center;
  height: auto !important;
  line-height: 1 !important;
}

/* Solid: same spacing, in document flow, olive bar (no overlap). */
body.fx-lotus-nav-v2.fx-lotus-nav--solid .edgtf-page-header .edgtf-menu-area {
  background-color: var(--fx-nav-v2-olive) !important;
  background-image: none !important;
}

/*
 * Transparent / hero-behind: same spacing as solid, but header overlays
 * so the hero can paint to the top of the browser.
 */
body.fx-lotus-nav-v2.fx-lotus-nav--over-hero .edgtf-page-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  background: transparent !important;
}

body.fx-lotus-nav-v2.fx-lotus-nav--over-hero .edgtf-page-header .edgtf-menu-area,
body.fx-lotus-nav-v2.fx-lotus-nav--over-hero .edgtf-page-header > div:not(.edgtf-sticky-header) {
  background-color: transparent !important;
  background-image: none !important;
}

body.fx-lotus-nav-v2.fx-lotus-nav--over-hero .edgtf-content,
body.fx-lotus-nav-v2.fx-lotus-nav--over-hero .edgtf-content .edgtf-content-inner,
body.fx-lotus-nav-v2.fx-lotus-nav--over-hero .edgtf-content .edgtf-content-inner > .edgtf-full-width,
body.fx-lotus-nav-v2.fx-lotus-nav--over-hero .edgtf-content .edgtf-content-inner > .edgtf-full-width > .edgtf-full-width-inner {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.fx-lotus-nav-v2.fx-lotus-nav--over-hero .vc_row.edgtf-section:has(.fx-section--hero-behind),
body.fx-lotus-nav-v2.fx-lotus-nav--over-hero .vc_row.vc_custom_fx_hero_behind_row {
  margin-top: 0 !important;
}

/* ----- Logo: exact 178 x 96 ----- */

body.fx-lotus-nav-v2 .edgtf-page-header .edgtf-menu-area .edgtf-logo-wrapper a {
  display: block !important;
  box-sizing: border-box !important;
  width: 178px !important;
  height: 96px !important;
  max-width: 178px !important;
  max-height: 96px !important;
  padding: 0 !important;
  background-color: transparent !important;
  background-image: url("logo-nav-white.svg") !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
  background-size: 178px 96px !important;
}

body.fx-lotus-nav-v2 .edgtf-page-header .edgtf-sticky-header .edgtf-logo-wrapper a {
  display: block !important;
  box-sizing: border-box !important;
  width: 120px !important;
  height: 65px !important;
  max-width: 120px !important;
  max-height: 65px !important;
  padding: 0 !important;
  background-color: transparent !important;
  background-image: url("logo-nav-white.svg") !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
  background-size: 120px 65px !important;
}

body.fx-lotus-nav-v2 .edgtf-logo-wrapper a img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  opacity: 0 !important;
}

/* ----- Links: 24px SemiBold, border underline ----- */

body.fx-lotus-nav-v2 .edgtf-main-menu > ul > li > a,
body.fx-lotus-nav-v2 .edgtf-main-menu > ul > li > a .edgtf-item-outer,
body.fx-lotus-nav-v2 .edgtf-main-menu > ul > li > a .edgtf-item-inner,
body.fx-lotus-nav-v2 .edgtf-main-menu > ul > li > a .edgtf-item-text {
  color: #ffffff !important;
  font-family: var(--fx-nav-v2-font) !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  font-style: normal !important;
  letter-spacing: 7.2px !important;
  line-height: 0.89 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  -webkit-font-smoothing: antialiased;
}

body.fx-lotus-nav-v2 .edgtf-main-menu > ul > li > a > span.edgtf-item-outer:after {
  display: none !important;
  content: none !important;
  border: 0 !important;
}

body.fx-lotus-nav-v2 .edgtf-main-menu > ul > li > a:before,
body.fx-lotus-nav-v2 .edgtf-main-menu > ul > li > a:after,
body.fx-lotus-nav-v2 .edgtf-main-menu > ul > li > a .edgtf-item-inner:before,
body.fx-lotus-nav-v2 .edgtf-main-menu > ul > li > a .edgtf-item-inner:after {
  display: none !important;
  content: none !important;
  background: none !important;
}

body.fx-lotus-nav-v2 .edgtf-main-menu > ul > li > a .edgtf-item-inner {
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
}

body.fx-lotus-nav-v2 .edgtf-main-menu > ul > li > a .edgtf-item-text {
  display: inline-block !important;
  padding-bottom: 0.2em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease-out;
}

body.fx-lotus-nav-v2 .edgtf-main-menu > ul > li:hover > a .edgtf-item-text,
body.fx-lotus-nav-v2 .edgtf-main-menu > ul > li.edgtf-active-item > a .edgtf-item-text,
body.fx-lotus-nav-v2 .edgtf-main-menu > ul > li.current-menu-item > a .edgtf-item-text,
body.fx-lotus-nav-v2 .edgtf-main-menu > ul > li.current-menu-ancestor > a .edgtf-item-text,
body.fx-lotus-nav-v2 .edgtf-main-menu > ul > li > a.current .edgtf-item-text {
  border-bottom-color: #ffffff;
}

body.fx-lotus-nav-v2 .edgtf-main-menu > ul > li:hover > a,
body.fx-lotus-nav-v2 .edgtf-main-menu > ul > li.edgtf-active-item > a,
body.fx-lotus-nav-v2 .edgtf-main-menu > ul > li.current-menu-item > a,
body.fx-lotus-nav-v2 .edgtf-main-menu > ul > li.current-menu-ancestor > a {
  color: #ffffff !important;
}

body.fx-lotus-nav-v2 .edgtf-main-menu > ul > li.edgtf-has-sub > a span.plus,
body.fx-lotus-nav-v2 .edgtf-main-menu > ul > li.edgtf-has-sub > a i.edgtf-menu-arrow {
  display: none !important;
}

/* Sticky links: slightly smaller */
body.fx-lotus-nav-v2 .edgtf-sticky-nav > ul > li > a,
body.fx-lotus-nav-v2 .edgtf-sticky-nav > ul > li > a .edgtf-item-inner,
body.fx-lotus-nav-v2 .edgtf-sticky-nav > ul > li > a .edgtf-item-text {
  color: #ffffff !important;
  font-family: var(--fx-nav-v2-font) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 4.8px !important;
  line-height: 0.89 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

body.fx-lotus-nav-v2 .edgtf-sticky-nav > ul > li > a > span.edgtf-item-outer:after,
body.fx-lotus-nav-v2 .edgtf-sticky-nav > ul > li > a:before,
body.fx-lotus-nav-v2 .edgtf-sticky-nav > ul > li > a:after,
body.fx-lotus-nav-v2 .edgtf-sticky-nav > ul > li > a .edgtf-item-inner:before,
body.fx-lotus-nav-v2 .edgtf-sticky-nav > ul > li > a .edgtf-item-inner:after {
  display: none !important;
  content: none !important;
}

body.fx-lotus-nav-v2 .edgtf-sticky-nav > ul > li > a .edgtf-item-text {
  display: inline-block !important;
  padding-bottom: 0.2em;
  border-bottom: 1px solid transparent;
}

body.fx-lotus-nav-v2 .edgtf-sticky-nav > ul > li:hover > a .edgtf-item-text,
body.fx-lotus-nav-v2 .edgtf-sticky-nav > ul > li.edgtf-active-item > a .edgtf-item-text,
body.fx-lotus-nav-v2 .edgtf-sticky-nav > ul > li.current-menu-item > a .edgtf-item-text,
body.fx-lotus-nav-v2 .edgtf-sticky-nav > ul > li.current-menu-ancestor > a .edgtf-item-text {
  border-bottom-color: #ffffff;
}

/* ----- Search: a bit larger, white ----- */

body.fx-lotus-nav-v2 .edgtf-search-opener {
  color: #ffffff !important;
  font-size: var(--fx-nav-v2-search-size) !important;
  line-height: 1 !important;
  margin-left: 1.25rem !important;
  opacity: 1;
}

body.fx-lotus-nav-v2 .edgtf-search-opener i,
body.fx-lotus-nav-v2 .edgtf-search-opener .icon-magnifier {
  color: #ffffff !important;
  font-size: var(--fx-nav-v2-search-size) !important;
  line-height: 1 !important;
}

body.fx-lotus-nav-v2 .edgtf-search-opener:before {
  display: none !important;
  background: none !important;
  content: none !important;
  width: 0 !important;
}

body.fx-lotus-nav-v2 .edgtf-search-opener:hover,
body.fx-lotus-nav-v2 .edgtf-search-opener:hover i {
  opacity: 0.8;
  color: #ffffff !important;
}

/* Hide side-area hamburger (main + sticky) and its gold pipe divider. */
body.fx-lotus-nav-v2 .edgtf-side-menu-button-opener,
body.fx-lotus-nav-v2 .edgtf-page-header .edgtf-sticky-header .edgtf-side-menu-button-opener,
body.fx-lotus-nav-v2 .edgtf-header-standard .edgtf-side-menu-button-opener {
  display: none !important;
}

body.fx-lotus-nav-v2 .edgtf-search-opener:before,
body.fx-lotus-nav-v2 .edgtf-header-cart:before,
body.fx-lotus-nav-v2 .edgtf-fullscreen-menu-opener:before,
body.fx-lotus-nav-v2 .edgtf-side-menu-button-opener:before,
body.fx-lotus-nav-v2 .edgtf-header-standard .edgtf-search-opener:before,
body.fx-lotus-nav-v2 .edgtf-header-standard .edgtf-side-menu-button-opener:before,
body.fx-lotus-nav-v2 .edgtf-page-header .edgtf-sticky-header .edgtf-search-opener:before {
  display: none !important;
  content: none !important;
  background: none !important;
  width: 0 !important;
}

/* Gold pipes between top-level menu items */
body.fx-lotus-nav-v2 .edgtf-main-menu > ul > li > a > span.edgtf-item-outer:after,
body.fx-lotus-nav-v2 .edgtf-sticky-nav > ul > li > a > span.edgtf-item-outer:after {
  display: none !important;
  content: none !important;
  border: 0 !important;
}

/* Dropdowns: leave Ratio look alone. */

/* ----- Mobile ----- */

body.fx-lotus-nav-v2.fx-lotus-nav--over-hero .edgtf-mobile-header .edgtf-mobile-header-inner {
  background-color: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

body.fx-lotus-nav-v2.fx-lotus-nav--solid .edgtf-mobile-header .edgtf-mobile-header-inner,
body.fx-lotus-nav-v2 .edgtf-mobile-header.edgtf-animate-mobile-header .edgtf-mobile-header-inner,
body.fx-lotus-nav-v2 .edgtf-mobile-header.edgtf-sticky-up-mobile-header .edgtf-mobile-header-inner {
  background-color: var(--fx-nav-v2-olive) !important;
  border-bottom: 0 !important;
}

body.fx-lotus-nav-v2 .edgtf-mobile-header .edgtf-mobile-logo-wrapper a {
  display: block !important;
  width: 120px !important;
  height: 65px !important;
  max-height: 65px !important;
  background: url("logo-nav-white.svg") left center / 120px 65px no-repeat !important;
}

body.fx-lotus-nav-v2 .edgtf-mobile-header .edgtf-mobile-logo-wrapper img {
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
}

body.fx-lotus-nav-v2 .edgtf-mobile-header .edgtf-mobile-menu-opener a,
body.fx-lotus-nav-v2 .edgtf-mobile-header .edgtf-mobile-menu-opener a span,
body.fx-lotus-nav-v2 .edgtf-mobile-header .edgtf-mobile-menu-opener .edgtf-mobile-menu-icon {
  color: #ffffff !important;
}

body.fx-lotus-nav-v2 .edgtf-mobile-header .edgtf-mobile-menu-opener .edgtf-line {
  background-color: #ffffff !important;
}

body.fx-lotus-nav-v2 .edgtf-mobile-nav {
  background-color: var(--fx-nav-v2-olive);
}

body.fx-lotus-nav-v2 .edgtf-mobile-nav ul li a,
body.fx-lotus-nav-v2 .edgtf-mobile-nav ul li a span {
  color: #ffffff !important;
  font-family: var(--fx-nav-v2-font) !important;
  font-weight: 600 !important;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

body.fx-lotus-nav-v2 .edgtf-mobile-nav .mobile_arrow {
  color: #ffffff;
}

@media only screen and (max-width: 1024px) {
  body.fx-lotus-nav-v2 {
    --fx-nav-v2-bar-pad-top: 1.5rem;
    --fx-nav-v2-bar-pad-bottom: 1.25rem;
  }

  body.fx-lotus-nav-v2 .edgtf-page-header .edgtf-menu-area .edgtf-logo-wrapper a {
    width: 120px !important;
    height: 65px !important;
    max-width: 120px !important;
    max-height: 65px !important;
    background-size: 120px 65px !important;
  }

  body.fx-lotus-nav-v2 .edgtf-main-menu > ul > li > a,
  body.fx-lotus-nav-v2 .edgtf-main-menu > ul > li > a .edgtf-item-inner,
  body.fx-lotus-nav-v2 .edgtf-main-menu > ul > li > a .edgtf-item-text {
    font-size: 16px !important;
    letter-spacing: 4.8px !important;
  }
}
