/*
Theme Name: Equilatera Child Theme
Description: This is a custom child theme
Template: salient
Version: 1.0
*/

/*GENERAL*/
:root {
  --light: #f6f3ec;
  --dark: #373a36;
  --dark-cream: #c8b497;
  --accent: #216e65;
  --secondary: #113834;

  --current-color: var(--light);
  --base: 1440;

  --primary-font: 'Silka', sans-serif;
  --secondary-font: 'Manrope', sans-serif;

  --fnt-size-huge: calc(75/1440 * 100vw);
  --fnt-size-big: calc(55 / 1440 * 100vw);
  --fnt-size-medium: calc(40 / 1440 * 100vw);
  --fnt-size-small: calc(25 / 1440 * 100vw);
  --fnt-size-body: calc(16 / 1440 * 100vw);
  --fnt-size-big-body: calc(20 / 1440 * 100vw);
  --fnt-size-tiny: calc(13 / 1440 * 100vw);
  --fnt-size-huge-mb: calc(46 / 390 * 100vw);
  --fnt-size-big-mb: calc(46 / 390 * 100vw);
  --fnt-size-medium-mb: calc(24 / 390 * 100vw);
  --fnt-size-small-mb: calc(22 / 390 * 100vw);
  --fnt-size-body-mb: calc(16 / 390 * 100vw);
  --fnt-size-tiny-mb: calc(14 / 390 * 100vw);
}

/* Salient pone body { overflow: hidden }: el body se convierte en contenedor de scroll
   (que nunca se desplaza) y ningún position: sticky funciona. clip recorta igual en
   horizontal sin crear contenedor de scroll. */
body {
  overflow: visible !important;
  overflow-x: clip !important;
}

::selection {
  background-color: var(--dark-cream);
  color: var(--light);
  text-shadow: none;
}

@font-face {
  font-family: 'Silka';
  src:
    url('/wp-content/themes/equilatera-child/fonts/Silka-Medium.woff2') format('woff2'),
    url('/wp-content/themes/equilatera-child/fonts/Silka-Medium.woff') format('woff'),
    url('/wp-content/themes/equilatera-child/fonts/Silka-Medium.ttf') format('ttf');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Silka';
  src:
    url('/wp-content/themes/equilatera-child/fonts/Silka-SemiBold.woff2') format('woff2'),
    url('/wp-content/themes/equilatera-child/fonts/Silka-SemiBold.woff') format('woff'),
    url('/wp-content/themes/equilatera-child/fonts/Silka-SemiBold.ttf') format('ttf');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src:
    url('/wp-content/themes/equilatera-child/fonts/Manrope-Regular.woff2') format('woff2'),
    url('/wp-content/themes/equilatera-child/fonts/Manrope-Regular.woff') format('woff'),
    url('/wp-content/themes/equilatera-child/fonts/Manrope-Regular.ttf') format('ttf');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src:
    url('/wp-content/themes/equilatera-child/fonts/Manrope-Bold.woff2') format('woff2'),
    url('/wp-content/themes/equilatera-child/fonts/Manrope-Bold.woff') format('woff'),
    url('/wp-content/themes/equilatera-child/fonts/Manrope-Bold.ttf') format('ttf');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/*WRAPPERS*/
@media (min-width: 1000px) {
  .full-width-content:not(.no-padding, .special-padding) > .row_col_wrap_12 {
    padding-left: 28px !important;
    padding-right: 28px !important;
  }

  .no-padding {
    padding: 0 !important;
  }

  .no-padding > .row_col_wrap_12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .special-padding {
    padding: 0 8vw;
  }
}

@media (max-width: 1000px) {
  .full-width-content:not(.no-padding) > .row_col_wrap_12 {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .no-padding > .row_col_wrap_12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/*NAV*/
body #header-outer,
body[data-header-color='dark'] #header-outer {
  background-color: var(--light);
}
#top nav ul li a,
body[data-header-color='light'] .mobile-header,
body[data-header-color='light'] .span_9 > .slide-out-widget-area-toggle a .label {
  color: var(--accent);
}

#header-outer nav .nectar-global-section-megamenu {
  width: 100vw;
  left: -28px;
  overflow-y: hidden;
}

.nectar-global-section-megamenu {
  background-color: transparent !important;
}

.nectar-fancy-box .heading-wrap {
  font-family: var(--primary-font) !important;
  font-size: 20px !important;
  line-height: 1.1;
}

#slide-out-widget-area .off-canvas-menu-container {
  padding: 0 20px !important;
}

body #slide-out-widget-area .inner-wrap > .inner .off-canvas-menu-container li > a,
body #slide-out-widget-area.fullscreen .inner-wrap > .inner .off-canvas-menu-container li > a,
body #slide-out-widget-area.fullscreen-alt .inner-wrap > .inner .off-canvas-menu-container li > a,
body #slide-out-widget-area.slide-out-from-right-hover .inner-wrap > .inner .off-canvas-menu-container li > a,
body #nectar-ocm-ht-line-check {
  font-size: 20px !important;
  text-transform: uppercase;
  color: var(--light) !important;
  letter-spacing: 0;
  line-height: 1.1;
}

.nectar-fancy-box[data-style='hover_desc'][data-color='accent-color'] .box-bg::after {
  background: linear-gradient(rgba(0, 0, 0, 0), rgb(33, 110, 101) 100%) !important;
}

/* Menú móvil (Off Canvas fullscreen-alt) alineado a la izquierda, como en La Tetera */
#slide-out-widget-area.fullscreen .inner-wrap > .inner,
#slide-out-widget-area.fullscreen-alt .inner-wrap > .inner {
  margin: 0 !important;
  text-align: left;
}

#header-outer[data-lhe='animated_underline'] #top nav > .sf-menu > li[class*='button_bordered'] > a,
#top .right-aligned-menu-items nav > ul > li[class*='button_bordered'] > a {
  margin-left: 5px;
  margin-right: 5px;
}

body[data-header-search='false'][data-user-set-ocm='off']
  #header-outer[data-lhe='animated_underline'][data-format='menu-left-aligned'][data-cart='false']
  #top
  nav
  > .buttons
  > li:last-child
  > a {
  margin-left: 5px;
}

#top nav > ul > li[class*='button_bordered'] > a:before {
  border-color: var(--accent);
}
#top nav > ul > li[class*='button_solid_color'] > a * {
  color: var(--light) !important;
}

ul.sub-menu.tracked-pos {
  border-radius: 16px !important;
}
#header-outer:not([data-format='left-header']) #top nav > ul > li:not(.megamenu) ul .current-menu-item > a {
  color: var(--black);
  background-color: transparent !important;
}

#header-outer #top nav > ul > li:not(.megamenu) ul a:hover,
#header-outer:not([data-format='left-header']) #top nav > ul > li:not(.megamenu) ul a:hover {
  background-color: transparent !important;
  color: var(--accent);
}

/*BTN*/

/*TITLES*/
.custom-title *,
.custom-title {
  margin-bottom: 0;
}

.custom-title strong {
  font-weight: 600;
}
.custom-title.regular,
.custom-title.regular * {
  font-weight: 400;
}
.custom-title.semibold,
.custom-title.semibold * {
  font-weight: 500;
}

.custom-title.bold,
.custom-title.bold * {
  font-weight: 600;
}

.custom-title.uppercase .custom-title.uppercase * {
  text-transform: uppercase !important;
}

.custom-title.lowercase,
.custom-title.lowercase * {
  text-transform: initial !important;
}

.custom-title.black,
.custom-title.black * {
  color: var(--black);
}
.custom-title.light,
.custom-title.light * {
  color: var(--light) !important;
}

.custom-title.dark,
.custom-title.dark * {
  color: var(--dark);
}

.custom-title.accent,
.custom-title.accent * {
  color: var(--accent);
}

.custom-title.secondary,
.custom-title.secondary * {
  color: var(--secondary-font);
}

.custom-title.body strong {
  font-weight: 600;
}

a.toggle-heading {
  font-family: var(--secondary-font) !important;
  text-transform: uppercase !important;
  line-height: 1.1 !important;
  color: var(--dark) !important;
}
span.open-quote,
span.close-quote {
  display: none !important;
}

.custom-title.space-bottom {
  margin-bottom: 40px !important;
}

/*1vw = 14.4 en 1440px*/
@media (min-width: 1000px) {
  .custom-title.huge *,
  .custom-title.huge {
    font-size: var(--fnt-size-huge) !important;
    line-height: 0.95 !important;
    letter-spacing: calc(-4.2 / 1440 * 100vw);
  }
  .custom-title.big *,
  .custom-title.big {
    font-size: var(--fnt-size-big) !important;
    line-height: 1.05 !important;
    letter-spacing: calc(-3 / 1440 * 100vw);
  }

  .custom-title.medium *,
  .custom-title.medium {
    font-size: var(--fnt-size-medium) !important;
    line-height: 1.1 !important;
    letter-spacing: calc(-3 / 1440 * 100vw);
  }
  .custom-title.small *,
  .custom-title.small {
    font-size: var(--fnt-size-small) !important;
    line-height: 1.1 !important;
    letter-spacing: calc(-1 / 1440 * 100vw);
  }

  .custom-title.body *,
  .custom-title.body {
    font-size: var(--fnt-size-body) !important;
    line-height: 1.4 !important;
  }

  .custom-title.tiny *,
  .custom-title.tiny,
  .nectar-button.medium {
    font-size: var(--fnt-size-tiny) !important;
    line-height: 1.1 !important;
    letter-spacing: calc(-0.1 / 1440 * 100vw);
  }

  a.toggle-heading {
    font-size: var(--fnt-size-tiny) !important;
  }
}

@media (max-width: 1000px) {
  .custom-title.huge *,
  .custom-title.huge {
    font-size: var(--fnt-size-huge-mb) !important;
    line-height: 1 !important;
    letter-spacing: calc(-3 / 390 * 100vw);
  }
  .custom-title.big *,
  .custom-title.big {
    font-size: var(--fnt-size-big-mb) !important;
    line-height: 1 !important;
    letter-spacing: calc(-2 / 390 * 100vw);
  }
  .custom-title.medium *,
  .custom-title.medium {
    font-size: var(--fnt-size-medium-mb) !important;
    line-height: 1.1 !important;
    letter-spacing: calc(-2 / 390 * 100vw);
  }
  .custom-title.small *,
  .custom-title.small,
  a.toggle-heading {
    font-size: var(--fnt-size-small-mb) !important;
    line-height: 1.3 !important;
    letter-spacing: calc(-1 / 390 * 100vw);
  }

  .custom-title.tiny *,
  .custom-title.tiny,
  .nectar-button.medium {
    font-size: 14px !important;
    line-height: 1.1 !important;
    letter-spacing: calc(-0.5 / 390 * 100vw);
  }

  .custom-title.body *,
  .custom-title.body {
    font-size: var(--fnt-size-body-mb) !important;
    line-height: 1.4 !important;
  }
}
.custom-title.primary,
.custom-title.primary * {
  font-family: var(--primary-font) !important;
}

.custom-title.mono,
.custom-title.mono * {
  font-family: var(--mono-font) !important;
}

.custom-title.secondary,
.custom-title.secondary *,
.nectar-button.medium {
  font-family: var(--secondary-font) !important;
}

/*TITLE ANIMATION*/

/*Fix lines*/
.animated.lines:before,
.animated.lines:after,
.splitting-lines.lines:after,
.splitting.lines:before {
  display: none !important;
}

.splitting-lines.lines {
  background-color: transparent;
  width: fit-content;
  height: auto !important;
}

.animated.lines {
  width: auto !important;
  height: auto;
  background-color: transparent;
}

.splitting-lines {
  opacity: 0;
}

.line-wrapper {
  display: block;
}

.line {
  display: block;
}

.word {
  display: inline-block;
}

.char {
  display: inline-block;
  will-change: transform, opacity;
}

/*HOME*/
#home-hero .home-hero__content-wrapper {
  min-height: calc(100vh - var(--header-nav-height) - 56px);
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding-bottom: 32px;
}
/* #home-hero .column-bg-overlay-wrap.column-bg-layer {
  backdrop-filter: blur(3.5px);
  -webkit-backdrop-filter: blur(3.5px);
  mask-image: linear-gradient(to bottom, transparent 25%, black 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 25%, black 100%);
} */

.revealing-text * {
  letter-spacing: -0.04em;
}
/*FOOTER*/

.legals .wpb_wrapper {
  display: flex;
  padding: 3rem 0 1rem 0;
  gap: 2rem;
}

#footer a:hover {
  color: #ffffff;
}

@media (max-width: 1000px) {
  .legals .wpb_wrapper {
    flex-flow: column;
  }
}

/*BTN*/
a.nectar-button.medium.see-through.extra-color-2:before {
  content: '';
  height: 0;
  background: var(--dark);
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  transition: all 0.3s cubic-bezier(0.7, 0, 0.2, 1);
  z-index: -1;
}

a.nectar-button.medium.see-through.extra-color-2.light:before {
  background: var(--light);
}

.submit-wrapper {
  position: relative;
}

a.nectar-button.medium.see-through.extra-color-2 {
  position: relative;
  z-index: 99;
  transition: all 0.3s cubic-bezier(0.7, 0, 0.2, 1);
  border-width: 1px;
  color: var(--dark);
  border: 1px solid var(--dark);
}

a.nectar-button.medium.see-through.extra-color-2.light {
  color: var(--light);
  border: 1px solid var(--light);
}

a.nectar-button.medium.see-through.extra-color-2 span {
  color: var(--dark);
}

a.nectar-button.medium.see-through.extra-color-2:hover span {
  color: var(--light);
}

a.nectar-button.medium.see-through.extra-color-2.light span {
  color: var(--light);
}

a.nectar-button.medium.see-through.extra-color-2.light:hover span {
  color: var(--dark);
}

a.nectar-button.medium.see-through.extra-color-2:hover:before,
.submit-wrapper:hover .submit-hover {
  height: 100%;
}

.footer-bottom-social .wpb_wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1000px) {
  span.not-break {
    white-space: nowrap;
  }
}

/*BLOG*/
h2.wp-block-heading {
  color: var(--accent);
  margin-bottom: 20px;
}
h2.wp-block-heading strong,
h3.wp-block-heading strong {
  font-family: var(--primary-font) !important;
}
.single-post .main-content img {
  border-radius: 16px !important;
  overflow: hidden !important;
  margin-bottom: 30px !important;
}

ul.wp-block-list {
  padding: 20px;
  background: var(--accent);
  color: var(--light);
  margin-left: 0;
  border-radius: 16px;
}

ol.wp-block-list {
  padding: 20px;
  background: var(--accent);
  color: var(--light);
  margin-left: 0;
  border-radius: 16px;
}

ul.wp-block-list li,
ol.wp-block-list li {
  margin-bottom: 10px;
  margin-left: 20px;
}

.blog-recent[data-style*='classic_enhanced'] .article-content-wrap,
.masonry.classic_enhanced .masonry-blog-item .article-content-wrap {
  padding: 10%;
  /* background-color: #ede8da; */
  background-color: #efebe5;
}

.masonry.classic_enhanced h3 {
  color: var(--black);
}

.blog-recent[data-style*='classic_enhanced'] .inner-wrap,
.masonry.classic_enhanced .masonry-blog-item .inner-wrap {
  border-radius: 16px;
}

.reviews-badge {
  max-width: 300px !important;
}
