/*
Theme Name: Base
Theme URI: https://www.invbit.com
Author: Base
Author URI: https://www.invbit.com
Description: Base para Betheme
Template: betheme
Version: 1.6.2
*/

@import "./css/variables.css";
@import "./css/noticias.css";

/*********************************\
     CROSS-DOCUMENT TRANSITIONS
\*********************************/
@view-transition {
  navigation: auto;
}

html {
  view-transition-name: root;
  --view-transition-duration: 0.45s;
  --view-transition-easing: cubic-bezier(0.4, 0, 0.2, 1);
}

html.view-transition-disabled {
  view-transition-name: none;
}

html.is-view-transitioning {
  cursor: wait;
}

html::view-transition-old(root),
html::view-transition-new(root) {
  animation-duration: var(--view-transition-duration);
  animation-timing-function: var(--view-transition-easing);
  animation-fill-mode: both;
  will-change: opacity, transform;
  backface-visibility: hidden;
}

html::view-transition-old(root) {
  animation-name: base-view-transition-fade-out;
}

html::view-transition-new(root) {
  animation-name: base-view-transition-fade-in;
}

html:active-view-transition-type(forwards)::view-transition-old(root) {
  animation-name: base-view-transition-slide-left-out;
}

html:active-view-transition-type(forwards)::view-transition-new(root) {
  animation-name: base-view-transition-slide-left-in;
}

html:active-view-transition-type(backwards)::view-transition-old(root) {
  animation-name: base-view-transition-slide-right-out;
}

html:active-view-transition-type(backwards)::view-transition-new(root) {
  animation-name: base-view-transition-slide-right-in;
}

html:active-view-transition-type(reload)::view-transition-old(root),
html:active-view-transition-type(reload)::view-transition-new(root) {
  animation-name: base-view-transition-fade-out, base-view-transition-fade-in;
}

@media (prefers-reduced-motion: reduce) {
  html {
    view-transition-name: none;
  }

  html::view-transition-old(root),
  html::view-transition-new(root) {
    animation: none !important;
  }
}

@keyframes base-view-transition-fade-in {
  0% {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes base-view-transition-fade-out {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  100% {
    opacity: 0;
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes base-view-transition-slide-left-in {
  0% {
    opacity: 0;
    transform: translate3d(30px, 0, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes base-view-transition-slide-left-out {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  100% {
    opacity: 0;
    transform: translate3d(-30px, 0, 0);
  }
}

@keyframes base-view-transition-slide-right-in {
  0% {
    opacity: 0;
    transform: translate3d(-30px, 0, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes base-view-transition-slide-right-out {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  100% {
    opacity: 0;
    transform: translate3d(30px, 0, 0);
  }
}

/*********************************\
            GENERALES
\*********************************/
html.lenis {
  height: auto;
}

.lenis-stopped {
  overflow-y: scroll !important;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.validate_email_against_bot,
.otgs-development-site-front-end,
.wpml-ls-statics-footer {
  display: none;
}

:root {
  scrollbar-color: var(--negro) #fff;
  scrollbar-width: thin;
}

.style-simple,
.style-simple .mfn-header-tmpl {
  --mfn-column-gap-bottom: 0;
  --mfn-column-gap-top: 0;
  --mfn-column-gap-right: 0;
  --mfn-column-gap-left: 0;
}

p:empty {
  margin: 0;
  display: none;
  visibility: hidden;
  opacity: 0;
}

.admin-bar .full-screen .section_wrapper {
  min-height: calc(100vh - 32px);
}

.section.has-video .section_video {
  display: flex;
  align-items: center;
  justify-content: center;
}

.section.has-video .section_video video {
  top: unset;
  left: unset;
  height: 100%;
}

.section.has-video .section_video .mask {
  display: none;
}

.style-simple .responsiveWidth {
  max-width: calc(2 * var(--halfSection));
}

.mobile-side-slide {
  overflow-x: clip !important;
}

#Wrapper {
  @media (width>=2000px) {
    & .section.full-width > .section_wrapper {
      max-width: 1600px !important;
    }
  }
  & .section_wrapper,
  & .container {
    max-width: 1328px;
  }
}

.section_wrapper,
.container {
  box-sizing: border-box;
  padding-left: 33px;
  padding-right: 33px;
}

.slick-list {
  width: 100%;
}

.slick-track {
  display: flex;
}

h1 {
  font-size: var(--size-h1);
  line-height: 1;
  font-weight: 400;
}

h2 {
  font-size: var(--size-h2);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.0381em;
}

h3 {
  font-size: var(--size-h3);
  line-height: 1.2;
  font-weight: 500;
}

h4 {
  font-size: var(--size-h4);
  line-height: 1.2;
  font-weight: 500;
}

h5 {
  font-size: var(--size-h5);
  line-height: 1.2;
  font-weight: 500;
}

h6 {
  font-size: var(--size-h6);
  line-height: 1.2;
  font-weight: 500;
}

body,
p {
  font-size: var(--size-p);
  line-height: 1.3;
  font-weight: 400;
}

.destacado,
.destacado .title {
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 1.2;
  /* font-weight: 600; */
}

p.destacado {
  font-size: 2.125rem;
  font-weight: 400;
  color: #59324e;

  @media (width<=500px) {
    font-size: 18px;
    margin-bottom: 1.5rem;
  }
}

.lead,
.big {
  font-size: var(--size-plead);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.82px;
}

.small {
  font-size: var(--size-psmall);
  line-height: 1.3;
  font-weight: 400;
}

.fs-38 {
  font-size: 38px;
}

.fs-21 {
  font-size: 21px;
}

.fw600 {
  font-weight: 600;
}

.lh-1 {
  line-height: 1;
}

a:hover {
  text-decoration: none;
}

.decorative {
  font-family: var(--font-decorative);
}

.principal {
  color: var(--principal);
}

.secundario {
  color: var(--secundario);
}

.blanco {
  color: var(--blanco);
}

.negro {
  color: var(--negro);
}

.button {
  height: var(--button-height);
  border-radius: 100vmax;
  font-weight: 500;
}

.button_label {
  position: relative;
  display: inline-block;
  overflow: hidden;
  line-height: 1;
  will-change: transform;
}

.mfn-menu-link,
.menu-item a,
.title_link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.title_link .label-wrapper {
  position: relative;
  display: inline-block;
  overflow: hidden;
  line-height: 1;
}

.button_label-line {
  display: inline-block;
  line-height: 1;
  will-change: transform;
}

.button_label-line--lower {
  position: absolute;
  left: 0;
  top: 0;
}

.mfn-menu-label,
.menu-item a .menu-label,
.title_link .menu-label {
  position: relative;
  display: inline-block;
  overflow: hidden;
  line-height: 1.1;
}

.mfn-menu-label-line,
.menu-item a .menu-label-line,
.title_link .menu-label-line {
  display: inline-block;
  line-height: 1;
  will-change: transform;
}

.mfn-menu-label-line--lower,
.menu-item a .menu-label-line--lower,
.title_link .menu-label-line--lower {
  position: absolute;
  left: 0;
  top: 0;
}

.button.button_theme.button_size_2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 32px;
  color: var(--blanco);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--secundario);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  isolation: isolate;
  overflow: hidden;
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  will-change: transform, filter;
  backdrop-filter: blur(18px);
}

.button.button_theme.button_size_2::before,
.button.button_theme.button_size_2::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.button.button_theme.button_size_2::before {
  inset: 1px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.35),
    rgba(255, 255, 255, 0.05)
  );
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.25),
    inset 0 0 20px rgba(255, 255, 255, 0.15);
  z-index: -1;
}

@supports not (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  .button.button_theme.button_size_2::after {
    background: rgba(255, 255, 255, 0.15);
    filter: none;
    -webkit-filter: none;
  }
}

.button.button_theme.button_size_2:focus-visible {
  outline: 2px solid var(--principal);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .button.button_theme.button_size_2 {
    transition: none;
  }
}

.nowrap,
.nowrap > .mcb-wrap-inner {
  flex-wrap: nowrap;
}

.flexColumn,
.flexColumn > .mcb-wrap-inner,
.flexColumn .mfn-icon-box {
  flex-direction: column;
}

.placeEnd,
.placeEnd > .mcb-wrap-inner {
  place-content: end;
}

.dos-cols > .section_wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.no-icon .mfn-icon-box .icon-wrapper {
  display: none;
}

@media (width<=768px) {
  .section_wrapper,
  .container {
    padding-inline: 1rem;
  }
}

/* Pojo Accesibility */


body #pojo-a11y-toolbar {
  /*top: 93vh !important;
  bottom: 10px !important;*/

  & .pojo-a11y-toolbar-toggle a {
    font-size: 26px;
    padding: 8px;
    border-radius: 100px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    -ms-border-radius: 100px;
    -o-border-radius: 100px;
    transition: transform 1s ease-in-out;
    &:hover {
      transform: rotate(360deg);
    }
  }

  & .pojo-a11y-toolbar-overlay p.pojo-a11y-toolbar-title {
    line-height: 1.2;
  }

  & .pojo-a11y-toolbar-toggle a {
    background-color: #f3dded !important;
    border-radius: 100vmax;
    min-width: 50px;
    min-height: 50px;
    text-align: center;
    place-content: center;
    @media (width<=768px) {
      min-width: 35px;
      min-height: 35px;
    }
  }

  & .pojo-a11y-toolbar-toggle svg {
    fill: var(--principal);
    width: 100%;
    height: 100%;
    max-width: 26px;
    max-height: 26px;
    @media (width<=768px) {
      max-width: 20px;
      max-height: 20px;
    }
  }
}

body #cmplz-manage-consent .cmplz-manage-consent {
  display: block;
  background-image: unset;
  background-color: #f3dded !important;
  border-radius: 100vmax;
  min-width: 50px;
  max-width: 50px;
  max-height: 50px;
  min-height: 50px;
  right: 8px !important;
  /*left: 8px;*/
  bottom: 10px !important;
  font-size: 0px;
  color: var(--principal) !important;
  box-shadow: unset !important;
  padding: 0 !important;
  transition: transform 1s ease;
  &:hover {
    transform: rotate(360deg);
  }
  @media (width<=768px) {
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
  }
}

body #cmplz-manage-consent .cmplz-manage-consent:before {
  content: "";
  background-image: url(imagenes/icono-cookies.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  width: 26px;
  height: 26px;
  @media (width<=768px) {
    width: 20px;
    height: 20px;
  }
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.8s ease;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  -webkit-transition: all 0.8s ease;
  -moz-transition: all 0.8s ease;
  -ms-transition: all 0.8s ease;
  -o-transition: all 0.8s ease;
}

/* Arregla padding al abrir popup deshabilitando scroll de la web */
html.mfn-popup-browser-scroll-disabled {
  padding-right: 0;
}

/*************** BLOG ***************/
.grid .post-item {
  margin: 0 1% 40px;
}

.post-meta .category .cat-btn {
  display: none;
}

.post-item .post-meta.clearfix {
  display: flex;
  margin-left: 18px;
}

#Wrapper .post-meta .category .cat-wrapper {
  position: static;
  display: flex;
  place-items: start;
  place-content: start;
}

.post-meta .category .cat-wrapper ul li a {
  position: relative;
  font-size: 16px;
  color: var(--secundario);
  font-weight: 500;
}

.post-meta .category .cat-wrapper ul li a::before {
  top: 10px;
  content: "";
  position: absolute;
  left: -18px;
  background-color: var(--secundario);
  min-width: 12px;
  min-height: 12px;
  border-radius: 100vmax;
}

.post-meta .category .cat-wrapper ul li a:hover {
  background: none;
  color: var(--secundario);
}

.post-meta .category .cat-wrapper ul {
  padding: 0;
  min-width: unset;
  background: unset;
}

@media (width<=767px) {
  #Wrapper .photo .post-desc .post-head .post-meta .category {
    display: block;
  }

  #Wrapper .photo .post-desc .post-head .post-meta .category .post-categories {
    margin-left: 1.3rem;
  }
}
/*************** SINGLE POST ***************/
.mfn-ofcs-opened .mfn-off-canvas-sidebar {
  left: 0 !important;
}
.mfn-off-canvas-sidebar
  .mfn-off-canvas-content-wrapper
  .mfn-off-canvas-content {
  padding: 1.5rem;
}
.single-post {
  &.with_aside .sections_group {
    padding: 0;
  }
  &.with_aside {
    & #Content > .content_wrapper {
      display: flex;
      margin-top: 10rem;
      max-width: 1328px;
    }

    @media (width>=959px) {
      & #Content .sidebar.columns {
        flex: 0 0 25%;
        width: 100%;
        order: -1;
      }

      & #Content .sections_group {
        flex: 0 0 75%;
        width: 100%;
      }
    }

    @media (width<959px) {
      & #Content .sections_group {
        flex: 0 0 100%;
        width: 100%;
      }
    }

    @media (width<=768px) {
      & .single-photo-wrapper .image_frame.scale-with-grid {
        margin-bottom: 0.75rem;
      }
    }
  }

  /* Sidebar */
  & aside h4 {
    font-size: 1.15rem;
  }

  & aside.widget:not(.widget_block) > h3 {
    font-size: 1.4rem;
    line-height: 1;
    letter-spacing: -0.03em;
  }

  & aside input.field {
    border: 1px solid var(--principal);
    border-radius: 4px;
  }

  & aside#text-3 {
    font-size: 1.1rem;
    padding-bottom: 1.5rem;
  }

  & aside .Recent_posts ul li .desc {
    margin-right: 0;
    padding: 5px 0px;
    background: transparent;
    position: relative;
  }

  & aside .content_wrapper img,
  & aside img.scale-with-grid {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
  }

  & aside .Recent_posts ul li .photo {
    max-width: 100%;
    width: 100%;
    height: 100%;
    border-radius: 7px;
    margin-bottom: 1rem;
  }

  & aside .Recent_posts ul li .desc:after {
    display: none;
  }

  & aside .Recent_posts ul li .photo img {
    border-radius: 7px;
  }

  & aside .photo img {
    max-height: 200px;
    aspect-ratio: 1/1;
    object-fit: cover;
  }

  & #Wrapper aside .date,
  &.aside_left .widget:after,
  & .post .date {
    display: none !important;
  }

  & aside:not(:last-child) {
    border-bottom: 1px solid gainsboro;
  }

  & aside .Recent_posts ul li a:hover .desc h6,
  & aside .Recent_posts ul li a:hover .desc .date {
    color: var(--principal) !important;
    letter-spacing: 0.03em;
  }

  & aside .Recent_posts ul li .desc * {
    border: 0;
  }

  & aside.widget_categories ul {
    background-color: unset;
    list-style-type: disc;
  }

  & .post.format- > a {
    display: flex;
    flex-direction: column-reverse;
  }

  @media (width>481px) {
    & .mfn-off-canvas-sidebar {
      left: -380px;
      width: 380px;
    }
  }

  @media (width<=480px) {
    & .mfn-off-canvas-sidebar {
      left: -320px;
      width: 320px;
    }

    .mfn-off-canvas-sidebar
      .mfn-off-canvas-content-wrapper
      .mfn-off-canvas-content {
      padding: 2rem 1rem;
    }
  }

  /* Post content */
  & h1 {
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 500;
    text-transform: math-auto;
  }

  & h2 {
    margin-bottom: 1rem;
    font-weight: 400;
  }

  & article .image_frame,
  & article .image_frame * {
    min-width: 100%;
    width: 100%;
    max-height: 450px;
    border-radius: 16px;
    object-fit: cover;
  }

  @media (width>=768px) {
    & h1 {
      font-size: 3rem;
      margin-bottom: 2.5rem;
    }

    & h2 {
      font-size: 2rem;
    }
  }

  @media (width<768px) {
    & h1 {
      font-size: 2rem;
      margin-bottom: 1.5rem;
    }

    & h2 {
      font-size: 1.5rem;
    }
  }

  @media (width<=500px) {
    & article .image_frame,
    & article .image_frame * {
      max-height: 300px;
    }
  }

  & .the_content_wrapper .post-text-block:not(:last-child) {
    margin-bottom: 1.5rem;
  }

  & .post-header .post-meta.clearfix {
    display: none;
  }

  & article .single-photo-wrapper img,
  & .single-photo-wrapper .image_frame.scale-with-grid {
    border-radius: 7px;
  }

  & .single-photo-wrapper .image_frame.scale-with-grid {
    margin-bottom: 34px;
  }

  & .post-excerpt span {
    font-weight: 400;
    font-size: 1.125rem;
  }

  & .post-desc .entry-title {
    margin-bottom: 4px;
  }

  /* Relacionados */
  & .section-related-adjustment.blog_wrapper.simple {
    padding-top: 4rem;
  }

  & .section-related-adjustment.blog_wrapper.simple .image_frame {
    border-radius: 7px;
  }

  & .section-related-adjustment.blog_wrapper.simple .post-desc {
    padding-inline: 0;
  }

  & .post-meta .category .cat-wrapper ul li a::before {
    top: 50%;
    transform: translateY(-50%);
    content: "";
    position: absolute;
    left: -18px;
    background-color: var(--secundario);
    min-width: 12px;
    min-height: 12px;
    border-radius: 100vmax;
  }

  & .section-related-ul .entry-title {
    font-size: 1.3rem;
  }

  & .section-related-ul .post-excerpt {
    display: none;
  }

  /* Post navigation */
  & .fixed-nav .photo {
    overflow: hidden;
    line-height: 0;
    background-color: #eee;
    max-width: 80px;
    width: 100%;
    object-fit: cover;
  }

  & .fixed-nav .photo img {
    height: 100%;
  }
}

/*************** SINGLE POST. END ***************/

.widget_categories ul li::marker {
  color: var(--secundario);
}

.widget_categories ul {
  background-color: unset;
}

.widget_categories ul li {
  color: var(--negro);
}

/**************** LEGALES ****************/
body #cmplz-manage-consent .cmplz-manage-consent::before {
  background-color: transparent;
}

.cmplz-service-header .screen-reader-text {
  display: none;
}

.cmplz-cookiebanner .cmplz-body {
  overflow: hidden !important;
}

.cmplz-body .cmplz-message p:first-child {
  font-size: 14px;
  margin-bottom: 10px;
}

.cmplz-body .cmplz-message p {
  font-size: 16px;
}

.cmplz-buttons button {
  background-color: var(--principal) !important;
  border: 0 !important;
  border-radius: 200px !important;
}
.cmplz-cookiebanner .cmplz-message{
  font-size: 13.3px !important;
  line-height: 160% !important;
  margin-bottom: 12px !important;
}
.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-description{
  font-size: 13.3px !important;
  line-height: 160% !important;
}

/**************** PÁGINAS ****************/
div#cmplz-document {
  max-width: 100%;
}

div#cmplz-document {
  padding-top: 8rem;
  padding-bottom: 120px;
}

div#cmplz-document h2:not(:first-child) {
  margin-top: 32px;
  font-size: 1.75rem;
}

#cmplz-document .cmplz-subtitle {
  font-weight: 500;
  margin: 10px 0 16px 0;
}

div#cmplz-document p,
div#cmplz-document ul,
div#cmplz-document li {
  font-size: 16px;
  color: var(--negro);
}

div#cmplz-document b {
  font-weight: 600;
}

/**************** HEADER ****************/

#Wrapper #mfn-header-template {
  /* Top bar */
  & .top-bar {
    & > .section_wrapper {
      max-height: 41px;
      overflow: hidden;
      max-width: unset !important;
    }

    & .mcb-wrap-inner > .column {
      max-width: fit-content;
    }

    & .section_wrapper .wrap > .mcb-wrap-inner {
      column-gap: 2.75rem;
    }

    & .column_header_search .search_wrapper .icon_search {
      right: -20px;
      left: unset;
      cursor: pointer;
    }

    & .field.topBar-search__input {
      left: -50px;
    }

    & .header-search {
      display: flex;
      align-items: center;
      column-gap: 0.75rem;

      & .form-searchform {
        display: flex;
        align-items: center;
        column-gap: 0.75rem;
      }

      &__trigger {
        display: inline-flex;
        cursor: pointer;
      }

      &__input {
        background-color: transparent;
        border: 0;
        width: 0;
        max-width: var(--header-search-width, 16rem);
        box-shadow: none;
        padding: 0;
        opacity: 0;
        pointer-events: none;
        overflow: hidden;
      }

      &--active &__input {
        pointer-events: auto;
      }
    }
  }

  &
    .mfn-header-scrolled
    .mfn-header-tmpl.mfn-hasSticky
    .mfn-header-tmpl-builder
    > .mfn-default-section.top-bar {
    display: block;
  }

  /* Header */
  & .header {
    width: 95%;
    margin-inline: auto;
    margin-top: 1rem;
    place-content: center;
    min-height: 61px;
    background-color: var(--blanco);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.06);
    border-radius: 16px;

    @media (width >= 910px) {
      width: fit-content;

      & > .section_wrapper {
        padding: 4px 64px;

        & .wrap > .mcb-wrap-inner {
          gap: 64px;
        }
      }
    }

    @media (width < 910px) {
      padding-inline: 1rem;

      & > .section_wrapper > .wrap > .mcb-wrap-inner {
        gap: 1.5rem;
        justify-content: space-between;
      }

      & .logo-wrapper {
        padding-block: 0.5rem;
      }
    }
  }

  & .mfn-header-menu {
    flex-wrap: nowrap;

    & > li.mfn-menu-li > a.mfn-menu-link {
      padding-block: 0.5rem;
    }

    & > .mfn-menu-li .mfn-submenu {
      left: -25px;
      
    }
  }

  & .menu-item-has-children .sub-menu {
    padding: 40px 0 8px;
    background-color: transparent;
    box-shadow: unset;
  }
  & .menu-item-has-children .sub-menu li{
    background-color: var(--blanco);
  }
  & .menu-item-has-children .sub-menu li a{
    padding: 12px 20px 0;
  }
  & .menu-item-has-children .sub-menu li:first-child{
    border-radius: 16px 16px 0 0;
  }
  & .menu-item-has-children .sub-menu li:first-child a{
    padding: 16px 20px 0;
  }
  & .menu-item-has-children .sub-menu li:last-child{
    border-radius:  0 0 16px 16px;
  }
  & .menu-item-has-children .sub-menu li:last-child a{
    padding: 12px 20px 16px;
  }
}

.mfn-header-tmpl .column_header_icon .search_wrapper, .mfn-sidemenu-tmpl .column_header_icon .search_wrapper{
  top: 250px;
}
.mfn-header-tmpl .column_header_icon .search_wrapper, .mfn-sidemenu-tmpl .column_header_icon .search_wrapper, .mfn-header-tmpl .column_header_icon .search_wrapper input[type=text], .mfn-sidemenu-tmpl .column_header_icon .search_wrapper input[type=text]{
  border-radius: 16px;
}


/* Header. END */

/* Mobile menu */
.mfn-sidemenu-tmpl {
  & ul.social {
    display: flex;
    gap: 24px;

    & i {
      color: var(--principal);
      font-size: 32px;
      line-height: 1;
    }

    & i::before {
      width: 100%;
    }

  }

  & .mfn-sidemenu-menu {
    & li > .outer-menu-sub {
      margin-top: 10px;
    }

    & > .mfn-menu-li {
      border-bottom: 1px solid #dcdcdc8c;
    }
  }

  & .menu-item-has-children .sub-menu {
    box-shadow: unset;
  }
}

/* Chat */
/* #Wrapper .home-hero {
  background: #fbfbf3
    url(/wp-content/uploads/2025/11/inicio-2025-11-11-inicio-1.webp) 100% 100% /
    cover no-repeat;
} */
/* Chat. END */

/**************** FOOTER ****************/
.footer-rrss > .mcb-wrap-inner {
  gap: 1.25rem;
}

.footer-phones > .mcb-wrap-inner {
  gap: 1.5rem;
  @media (width<768px) {
    gap: 1rem;
  }
}

.footer > .section_wrapper > .wrap {
  flex: 0 0 auto;
}

.home .mfn-footer-tmpl {
  background-color: #fff910;
}

#Wrapper footer {
 
  & section > .section_wrapper {
    display: grid;
    column-gap: 4rem;
  }

  & .financiacion {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;

    & .logos img {
      max-width: 160px;
      max-height: 32px;
    }

  }

  & .financiacion p {
    font-size: 0.85rem;
    max-width: 720px;
    margin: 0;
    @media (width<=500px) {
      font-size: 0.6rem;
    }
  }



  @media (width<959px) {
    & section {
      background-image: unset;
    }

    & .accordion .question i {
      left: unset;
      right: 0;
    }
    & .accordion .question > .title,
    & .accordion .question > .answer {
      box-shadow: unset;
    }
    & .accordion .question.active::after {
      display: none;
    }

    & .accordion .question {
      border: 0;
      border-bottom: 1px solid #dcdcdc26;
    }

    & .accordion .question .answer {
      padding: 0;
    }

    & .accordion .question.active .answer {
      margin-bottom: 1.5rem;
    }

    & .shortcode-menu.mfn-print-menu .menu a {
      color: #fdfdfc;
      font-size: 1.1rem;
    }

    & .shortcode-menu.mfn-print-menu > .menu ul li::marker {
      display: none;
      color: transparent;
    }

    & .shortcode-menu.mfn-print-menu > .menu {
      margin: 0;
      margin-left: 0.5rem;
    }

    & .shortcode-menu.mfn-print-menu > .menu .sub-menu {
      margin: 0;
      margin: 0.5rem 0 1rem 1rem;
    }

    & .shortcode-menu.mfn-print-menu .menu .sub-menu a {
      font-size: 1rem;
    }
  }

  @media (width<=768px) {
    & section:not(.footer-bottom) > .section_wrapper {
      column-gap: 1rem;
    }
  }

  @media (width<=500px) {
    & .footer-logo .logo img {
      max-width: 60px !important;
    }

    & .footer-logo .text img {
      max-width: 140px;
    }

    & a:hover {
      letter-spacing: 0;
    }
  }

  @media (width<=440px) {
    & .separador {
      display: none;
    }
  }
}

@media (width<=959px) {
  .financiado {
    grid-column: span 2;
  }
}

body .copyright a:hover {
  text-decoration: none;
}

body .footer_copy {
  border: 0;
  background: black;
  color: white;
}

body .footer_copy a {
  color: white;
}

body .footer_copy a:hover {
  color: var(--primary);
}

body .footer_copy .one {
  --mfn-column-gap-bottom: 15px;
  padding-top: 15px;
  margin-bottom: 0;
}

body .footer_copy .mcb-column-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body .menu {
  list-style: none;
  padding: 0;
  background: none;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}

body .copyright .menu {
  gap: 0 10px;
  flex-direction: row;
}

body .menu li:after {
  content: none;
}

body .menu a {
  padding: 5px 0;
}

body .footer_copy .copyright {
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  float: none;
  text-align: left;
}

body .footer_copy .copyText {
  margin: 0 0 5px;
}

body .footer_copy .social {
  line-height: 0;
}

body .footer_copy .social li a {
  font-size: 22px;
  line-height: 1;
}

@media only screen and (max-width: 959px) {
  body .animate {
    animation-delay: 0ms !important;
  }

  body .footer_copy .mcb-column-inner {
    flex-direction: column;
  }

  body .copyright .menu {
    justify-content: center;
  }

  body .footer_copy .copyright {
    text-align: center;
  }

  body .footer_copy .social {
    margin-top: 15px;
  }
}

@media (width<=768px) {
  .mfn-footer-tmpl .mcb-section:not(.full-width) {
    padding-inline: 0;
  }
}

.footer .row-info-principal > .mcb-wrap-inner{ gap: 64px; justify-content: space-between; }
.footer .row-info-principal > .mcb-wrap-inner .mcb-column{ width: fit-content; }
.footer .row-info-principal > .mcb-wrap-inner .column_image{ width: 542px; }
.footer .row-info-principal > .mcb-wrap-inner .column_image > .mcb-column-inner{ padding-right: 64px; border-right: 1px solid #F4DDEE; padding-bottom: 12px; }
.footer .row-info-principal .col-info{ max-width: 640px; margin-right: auto; }
.footer .row-info-principal .col-info > .mcb-wrap-inner{ gap: 34px 24px; }
.footer .row-info-principal .col-info > .mcb-wrap-inner .column_heading:nth-child(3) .title{ position: relative; padding-left: 35px; }
.footer .row-info-principal .col-info > .mcb-wrap-inner .column_heading:nth-child(3) .title::after{ content: ''; position: absolute; top: 50%; left: 0; transform: translateY(-50%); width: 15px; height: 15px; border-radius: 50%; background-color: #F4DDEE; }

.footer .row-info-legal > .mcb-wrap-inner{ gap: 64px; justify-content: space-between; }
.footer .row-info-legal > .mcb-wrap-inner .mcb-column{ width: fit-content; }
.footer .row-info-legal > .mcb-wrap-inner .column_html{ width: 542px; }
.footer .row-info-legal > .mcb-wrap-inner .column_html > .mcb-column-inner{ padding-top: 120px; padding-right: 64px; padding-bottom: 6px; border-right: 1px solid #F4DDEE; }
.footer .row-info-legal > .mcb-wrap-inner .column_html p{ font-size: 12px; margin-bottom: 0; font-weight: 400; line-height: 160%; letter-spacing: 0.12px; color: var(--blanco);  }
.footer .row-info-legal > .mcb-wrap-inner .column_heading{ margin-right: auto; padding-bottom: 6px; }
.footer .row-info-legal .mfn-footer-menu{ gap: 8px; }

.footer .social{ display: flex; justify-content: flex-start; align-items: center; gap: 30px; }
.footer .social li a{ color: var(--blanco); font-size: 30px; line-height: 1; transition: all 0.3s ease; display: block; }
.footer .social li a:hover{ color: var(--blanco); transform: translateY(-5px); }

.sec-logos-footer{ border-bottom: 6px solid var(--secundario); padding: 8px 64px; }
.sec-logos-footer .gallery{ display: flex; justify-content: flex-start; align-items: center; gap: 12px; flex-wrap: nowrap; }
.sec-logos-footer .gallery .gallery-item{ padding: 0 !important; margin: 0 !important; }
.sec-logos-footer .gallery.equal-heights .gallery-item .image_frame a, .sec-logos-footer .gallery.equal-heights .gallery-item .wp-caption a{ text-align: center; }
.sec-logos-footer .gallery.equal-heights .gallery-item .image_frame .image_wrapper img{ margin: 0 auto; max-height: 90px; width: auto; max-width: 200px !important; min-width: unset; min-height: auto; }


@media only screen and (max-width: 1536px) {
  
  .footer .row-info-principal > .mcb-wrap-inner, .footer .row-info-legal > .mcb-wrap-inner{ gap: 32px; }

}
@media only screen and (max-width: 1463px) {
  
  .footer .row-info-principal > .mcb-wrap-inner, .footer .row-info-legal > .mcb-wrap-inner{ gap: 0 32px; }
  .footer .row-info-principal > .mcb-wrap-inner .mcb-column.column_plain_text{ width: 542px;  }
  .footer .row-info-principal > .mcb-wrap-inner .mcb-column.column_plain_text > .mcb-column-inner{ padding-top: 32px; padding-right: 32px; border-right: 1px solid #F4DDEE; }
  .footer .row-info-principal > .mcb-wrap-inner .column_image > .mcb-column-inner{ padding-right: 32px; }
  .footer .row-info-legal > .mcb-wrap-inner .column_html > .mcb-column-inner{ padding-right: 32px; }
}
@media only screen and (max-width: 1341px) {
  
  .footer .row-info-principal > .mcb-wrap-inner .column_image, .footer .row-info-legal > .mcb-wrap-inner .column_html, .footer .row-info-principal > .mcb-wrap-inner .mcb-column.column_plain_text{ width: 442px; }
  .financiacion > div:first-child{ display: flex; gap: 8px; flex-wrap: wrap; }
  .financiacion > div img{ width: auto; max-height: 42px; max-width: unset; }
}
@media only screen and (max-width: 1280px){

  .footer .row-info-principal .col-info { max-width: 520px; }
  .footer .row-info-principal > .mcb-wrap-inner .mcb-column.column_plain_text > .mcb-column-inner { padding-top: 0; }
  .footer .row-info-principal > .mcb-wrap-inner .column_image > .mcb-column-inner{ padding-bottom: 40px; }
}
@media only screen and (max-width: 1121px){

  .footer .section_wrapper{ gap: 64px; }
  .footer .section_wrapper::after{ content: unset; }
  .footer .row-info-principal > .mcb-wrap-inner, .footer .row-info-legal > .mcb-wrap-inner{ gap: 32px; }
  .footer .row-info-principal > .mcb-wrap-inner .column_image, .footer .row-info-legal > .mcb-wrap-inner .column_html, .footer .row-info-principal > .mcb-wrap-inner .mcb-column.column_plain_text{ width: 100%;}
  .footer .row-info-principal > .mcb-wrap-inner .column_image > .mcb-column-inner, .footer .row-info-legal > .mcb-wrap-inner .column_html > .mcb-column-inner, .footer .row-info-principal > .mcb-wrap-inner .mcb-column.column_plain_text > .mcb-column-inner{ padding: 0; border-right: unset; }
  .footer .row-info-principal .col-info{ max-width: 640px; }
  .footer .row-info-legal > .mcb-wrap-inner{ padding-top: 64px; border-top: 1px solid #F4DDEE; }
  .footer .row-info-legal > .mcb-wrap-inner .column_html p{ max-width: 100% !important; }
  .footer .row-info-legal > .mcb-wrap-inner .column_heading{ padding-bottom: 0; }
}
@media only screen and (max-width: 767px){

  .footer .section_wrapper{ display: flex !important; }
  .footer > .section_wrapper > .wrap{ flex: unset; }
  .footer .row-info-legal > .mcb-wrap-inner .mcb-column{ width: 100%; }
  .footer .row-info-legal .mfn-footer-menu{ flex-direction: row; justify-content: flex-start; flex-wrap: wrap; gap: 0 12px; }
}
@media only screen and (max-width: 480px){

  .footer .section_wrapper{ gap: 32px; }
  .footer .row-info-principal > .mcb-wrap-inner{ padding-top: 0 !important; }
  .footer .row-info-principal > .mcb-wrap-inner, .footer .row-info-legal > .mcb-wrap-inner { padding-top: 32px; gap: 24px; }
  .footer .row-info-principal .col-info > .mcb-wrap-inner{ gap: 16px 24px; }
  .footer .row-info-principal .col-info > .mcb-wrap-inner .column_heading:nth-child(3) .title{ padding-left: 26px; }
  .footer .row-info-principal .col-info > .mcb-wrap-inner .column_heading:nth-child(3) .title::after{ width: 10px; height: 10px; }
}


/**************** KIT DIGITAL ****************/
@media only screen and (max-width: 959px) {
  body .footer_action .financiacion {
    grid-template-columns: 1fr 1fr;
    text-align: center;
    gap: 5px;
  }

  body .footer_action .financiacion > div:last-child {
    grid-column: 1 / span 2;
  }
}

@media only screen and (max-width: 767px) {
  body .footer_action .financiacion > div img {
    max-height: unset;
    width: 100%;
  }
}

body #pojo-a11y-toolbar .pojo-a11y-toolbar-overlay p.pojo-a11y-toolbar-title {
  line-height: 1.2;
  font-size: 1.1rem;
}

/**************** CONTACTO ****************/
/* fix clip path background color */
.page-id-178 #Wrapper .mfn-footer-tmpl {
  background-color: #fbfbf3;
}

.contacto {
  & .service-item {
    overflow: hidden;
    background-color: #fbfbf3;
  }
  & .service-item h2 {
    margin-bottom: 2rem;
    @media (width<=500px) {
      margin-bottom: 1rem;
    }
  }
  & .service-item .button {
    margin-block: 2.5rem 3rem;
  }

  & .service-item .column_attr p:first-child {
    font-weight: 500;
  }

  &.image-switcher {
    & .column_image:not(.mascara-logo) img {
      max-height: 88vh;
      min-height: 100%;
      object-fit: cover;
      aspect-ratio: auto;
    }
    & .mascara-logo {
      width: 10vw;
    }
  }

  .wpcf7-acceptance * {
    font-size: 1rem;
    line-height: 1.1;
    & label {
      margin: 0;
      display: flex;
      place-items: start;
      & input[type="checkbox"] {
        margin: 2px 6px 0 0;
      }
    }
  }

  @media (width>1441px) {
    & .service-item {
      top: 8.5vh;
    }
  }
  @media (width>=960px) and (width<=1440px) {
    & .sticky {
      top: 17vh;
    }
  }

  @media (width>959px) {
    & .service-item,
    & .sticky {
      position: sticky;
      top: 15vh;
    }
  }
  @media (width<=959px) {
    & .mascara-video {
      max-width: 100%;
    }
    & .service-item {
      position: sticky;
      top: 0;
      min-height: 380px;
      place-items: center;

      & > .mcb-column-inner {
        padding: 0 !important;
      }
    }
  }

  @media (width<320px) {
    & .service-item {
      min-height: 480px;
    }
  }
}
.scroll-indicator {
  --ease-in-out-quad: cubic-bezier(0.455, 0.03, 0.515, 0.955);

  position: fixed;
  top: 50%;
  left: 5px;
  transform: translate(0, -50%);
  z-index: 10;
  display: none; /* Oculto por defecto, se mostrará cuando la sección esté visible */

  & .scroll-container {
    width: 30px;
    height: 100px;
    background: transparent;
    border: 2px solid var(--principal);
    border-radius: 100vmax;
    position: relative;

    & .circle {
      position: absolute;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: var(--principal);
      inset: 0;
      margin: auto;
      animation: circle 2.5s ease-in-out infinite alternate;
    }

    & .text {
      font-weight: 500;
      position: absolute;
      left: 0;
      top: 50%;
      transform: rotate(90deg);
      font-size: 1rem;
      min-width: 90px;
    }
  }
}

/* Definición de la curva de animación para que sea suave*/
:root {
  --ease-nav: cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

/* Posicionamiento del contenedor */

#scroll-indicator {
  position: fixed;
  top: 50%;
  left: 8px;
  transform: translateY(-50%);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-nav), visibility 0.3s var(--ease-nav);

  /* Cuando está visible (controlado por JavaScript con clase is-visible) */
  &.is-visible {
    opacity: 1;
    visibility: visible;
  }

  & ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  & li {
    position: relative;
    line-height: 36px;
    margin-bottom: 4px;
    cursor: pointer;

    /* -- ESTADO ACTIVO (Muestra el número) -- */
    &.active {
      & a {
        height: 30px; /* Se abre para mostrar el número */
        @media (width<=1360px) {
          height: 25px;
        }
        @media (width<=768px) {
          height: 20px;
        }
        transition: height 0.25s var(--ease-nav); /* Asegurar transición al activar */
      }

      &:before {
        /* Ocultamos el título de texto si está activo, ya que mostramos el número */
        opacity: 0;
        visibility: hidden;
        transform: translateX(-50%);
        transition: left 0.25s var(--ease-nav), opacity 0.25s var(--ease-nav),
          visibility 0.25s var(--ease-nav), transform 0.25s var(--ease-nav);
      }

      /* Cuando está activo Y en hover, mostrar el texto correctamente posicionado */
      &:hover:before {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
        left: calc(100% + 10px);
      }
    }

    /* -- ELEMENTO DE TEXTO (HOVER) -- */
    &:before {
      content: attr(data-title);
      position: absolute;
      bottom: -5px;
      left: calc(100% + 20px);
      font-weight: 400;
      font-size: 12px;
      line-height: 1;
      text-transform: lowercase;
      opacity: 0;
      visibility: hidden;
      white-space: nowrap;
      max-width: 200px;
      overflow: hidden;
      text-overflow: ellipsis;
      transition: left 0.25s var(--ease-nav), opacity 0.25s var(--ease-nav),
        visibility 0.25s var(--ease-nav);
    }

    /* -- LA LÍNEA DECORATIVA -- */
    &:after {
      content: "";
      display: block;
      position: absolute;
      bottom: 0px;
      left: 2px;
      height: 2px;
      width: 35px;
      @media (width<=1360px) {
        width: 25px;
      }
      background: #59324e;
      border-radius: 100vmax;
      pointer-events: none;
      transition: width 0.25s var(--ease-nav) 0.1s,
        height 0.25s var(--ease-nav) 0.1s, left 0.25s var(--ease-nav) 0.1s,
        bottom 0.25s var(--ease-nav) 0.1s;
    }

    /* -- HOVER STATE -- */
    &:hover {
      &:after {
        left: 0px;
        bottom: -1px;
        width: 30px; /* Se hace un poco más larga al hover */
        height: 4px; /* Se hace más gruesa */
        transition: width 0.15s var(--ease-nav), height 0.15s var(--ease-nav),
          left 0.15s var(--ease-nav), bottom 0.15s var(--ease-nav);
      }

      &:before {
        left: calc(100% + 10px);
        opacity: 1;
        visibility: visible;
      }
    }
  }

  /* -- EL NÚMERO (ENLACE) -- */
  & a {
    display: block;
    position: relative;
    height: 4px;
    margin: 4px 0 0 4px;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1;
    text-decoration: none;
    color: #59324e;
    overflow: hidden;
    transition: height 0.25s var(--ease-nav);
    will-change: height;
    @media (width<=1360px) {
      font-size: 1rem;
      height: 3px;
    }
    @media (width<=768px) {
      height: 2px;
    }
  }
}

@keyframes circle {
  0% {
    transform: translateY(-35px);
  }
  100% {
    transform: translateY(35px);
  }
}

.contact-col {
  & .desc-wrapper {
    text-align: center;
  }

  & .column_icon_box_2 {
    min-width: 100%;
  }
}

.contact-info {
  & .desc-wrapper .desc {
    word-wrap: anywhere;
  }
  @media (width>=959px) {
    &.sticky {
      position: sticky;
      top: 15vh;
    }
  }

  @media (width>=501px) and (width<=959px) {
    /* & .mfn-icon-box {
      place-items: center;
      text-align: center;
    } */

    & .desc {
      word-wrap: anywhere;
    }
  }
  @media (width<960px) {
    & > .mcb-wrap-inner {
      display: grid;
      gap: 2rem;
    }
  }
}

#Wrapper .contact-info {
  @media (width>768px) {
    & > .mcb-wrap-inner {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  @media (width<=767px) {
    & > .mcb-wrap-inner {
      grid-template-columns: 1fr;
    }
  }
}

/* Placeholders */
#Wrapper .wpcf7-form {
  & .wpcf7-response-output {
    margin: 1.5rem 0 0;
    padding: 1rem;
    border: 1px solid #59324e4d;
    border-radius: 24px;
    line-height: 1;
    text-align: center;
  }
  & input,
  & textarea {
    &::-webkit-input-placeholder {
      color: var(--principal);
      opacity: 1 !important;
    }

    &:-moz-placeholder {
      color: var(--principal);
      opacity: 1 !important;
    }

    &::-moz-placeholder {
      color: var(--principal);
      opacity: 1 !important;
    }

    &:-ms-input-placeholder {
      color: var(--principal);
      opacity: 1 !important;
    }

    &::-ms-input-placeholder {
      color: var(--principal);
      opacity: 1 !important;
    }

    &::placeholder {
      color: var(--principal);
      opacity: 1 !important;
    }
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  & label {
    font-weight: 500;
    color: var(--principal);
  }

  & .wpcf7-form-control-wrap {
    position: relative;
    display: block;
  }

  & input,
  & textarea {
    background-color: transparent;
    color: var(--principal);
    box-shadow: unset;
    border: 1px solid;
    border-radius: 7px;
    position: relative;
    transition: border-color 0.3s ease;
  }

  & input:not([type="submit"]):focus,
  & textarea:focus,
  & input[type="text"]:focus {
    border: 1px solid var(--principal) !important;
    outline: none;
    background-color: rgba(244, 221, 238, 0.5686274509803921);
    color: var(--principal);
  }

  & .wpcf7-form-control-wrap::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid var(--principal);
    border-radius: 9px;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.2s ease;
  }

  &
    .form-row:not(.checkbox)
    .wpcf7-form-control-wrap:has(
      input:not([type="submit"]):not([type="checkbox"]):focus
    )::before,
  &
    .form-row:not(.checkbox)
    .wpcf7-form-control-wrap:has(textarea:focus)::before {
    opacity: 1;
    animation: borderDraw 0.6s ease-out forwards;
  }

  @keyframes borderDraw {
    0% {
      clip-path: inset(0 100% 100% 0);
    }
    25% {
      clip-path: inset(0 0 100% 0);
    }
    50% {
      clip-path: inset(0 0 0 0);
    }
    100% {
      clip-path: inset(0 0 0 0);
    }
  }

  & input[type="checkbox"] {
    accent-color: #76556d;
  }

  & .form-row {
    display: flex;
    gap: 1rem;

    @media (width<=500px) {
      flex-direction: column;
    }

    &.message {
      flex-direction: column;
      gap: 0;
    }
  }

  & .checkbox,
  & .checkbox * {
    cursor: pointer;
    margin-bottom: 0;
    line-height: 1.2;
  }
}

.wpcf7-acceptance {
  & label {
    font-weight: 400;
    font-size: 1.1rem;
  }

  & > span {
    margin-left: 0;
  }

  & a {
    color: var(--principal);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

.form-legal {
  & p {
    font-size: 0.6rem;
    font-weight: 400;
    margin: 0;
  }
}

.form-row.button-row {
  margin-top: 0.5rem;
  & button {
    min-width: 100%;
    font-size: 1.325rem;
    &:hover {
      background-color: rgba(244, 221, 238, 0.5686274509803921);
      border: 2px solid var(--principal);
    }
    &::before,
    &:hover::before {
      background-color: rgba(244, 221, 238, 0.5686274509803921);
    }
  }
}

.leaflet-control-attribution.leaflet-control {
  border-radius: 4px 4px 0 0;
}

.leaflet-bottom.leaflet-right {
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 620px;
  text-align: center;
}

.themebg,
#comments .commentlist > li .reply a.comment-reply-link,
#Filters .filters_wrapper ul li a:hover,
#Filters .filters_wrapper ul li.current-cat a,
.fixed-nav .arrow,
.offer_thumb .slider_pagination a:before,
.offer_thumb .slider_pagination a.selected:after,
.pager .pages a:hover,
.pager .pages a.active,
.pager .pages span.page-numbers.current,
.pager-single span:after,
.portfolio_group.exposure .portfolio-item .desc-inner .line,
.Recent_posts ul li .desc:after,
.Recent_posts ul li .photo .c,
.slider_pagination a.selected,
.slider_pagination .slick-active a,
.slider_pagination a.selected:after,
.slider_pagination .slick-active a:after,
.testimonials_slider .slider_images,
.testimonials_slider .slider_images a:after,
.testimonials_slider .slider_images:before,
#Top_bar .header-cart-count,
#Top_bar .header-wishlist-count,
.mfn-footer-stickymenu ul li a .header-wishlist-count,
.mfn-footer-stickymenu ul li a .header-cart-count,
.widget_categories ul,
.widget_mfn_menu ul li a:hover,
.widget_mfn_menu ul li.current-menu-item:not(.current-menu-ancestor) > a,
.widget_mfn_menu ul li.current_page_item:not(.current_page_ancestor) > a,
.widget_product_categories ul,
.widget_recent_entries ul li:after,
.woocommerce-account table.my_account_orders .order-number a,
.woocommerce-MyAccount-navigation ul li.is-active a,
.style-simple .accordion .question:after,
.style-simple .faq .question:after,
.style-simple .icon_box .desc_wrapper .title:before,
.style-simple #Filters .filters_wrapper ul li a:after,
.style-simple .trailer_box:hover .desc,
.tp-bullets.simplebullets.round .bullet.selected,
.tp-bullets.simplebullets.round .bullet.selected:after,
.tparrows.default,
.tp-bullets.tp-thumbs .bullet.selected:after {
  background-color: var(--secundario);
}

hr.hr_color,
.hr_color hr,
.hr_dots span {
  color: var(--morado);
  background: var(--morado);
}

.tagcloud a {
  color: var(--secundario);
}

#back_to_top {
  transition: all 0.6s ease-in-out !important;
  &.sticky {
    right: 8px;
    bottom: 70px;
    background-color: #f3dded;
    min-width: 50px;
    min-height: 50px;
  }
  @media (width<=768px) {
    &.sticky {
      min-width: 40px;
      min-height: 40px;
      max-width: 40px;
      max-height: 40px;
      bottom: 61px !important;
    }
    
  }
  @media (width<=768px) {
    &.sticky {
      right: 7px !important;
    }
  }
  & i {
    color: #65666c;
    width: 100%;
    height: 100%;
    position: relative;
  }
  & i::before {
    content: url(/wp-content/uploads/2025/12/back-to-top-2025-12-04-back-to-top.svg);
    fill: currentColor;
    position: absolute;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 51%;
    transform: translate(-50%, -50%);
  }
  &::before,
  &:hover,
  &:hover::before {
    background-color: #f3dded !important;
  }

  &:hover {
    transform: rotate(360deg);
  }
}

/* ERROR 404 */
#Error_404{ position: relative; margin-top: 0; padding-top: 0 !important; left: unset; top: unset; min-height: 100vh; display: flex; justify-content: center; align-items: center; }
#Error_404.mcb-column-inner{ margin: 0 !important; display: flex; flex-direction: column; justify-content: center; align-items: center; }
#Error_404 .error_pic, #Error_404 .error_desk{ width: 100%; text-align: center; }
#Error_404 .error_desk p .button { margin: 15px auto 0px; position: relative; display: block; width: fit-content; line-height: 1; }



/*********************************\
            GENERALES. END
\*********************************/

/*********************************\
                PÁGINAS
\*********************************/

/**************** HOME ****************/

.home-hero{
  min-height: 915px;
}
.home-hero > .section_wrapper > .one.mcb-wrap{
  margin-top: 120px;
}

/* Hero con máscara circular */
#Wrapper section {
  &.home-hero,
  &.bottom-mask {
    @media (width>=768px) {
      clip-path: ellipse(100% 100% at 50% 0%);
      -webkit-clip-path: ellipse(100% 100% at 50% 0%);
    }

    @media (width<768px) {
      clip-path: ellipse(150% 100% at 50% 0%);
      -webkit-clip-path: ellipse(150% 100% at 50% 0%);
    }

    @media (width<425px) {
      clip-path: ellipse(200% 100% at 50% 0%);
      -webkit-clip-path: ellipse(200% 100% at 50% 0%);
      height: 100dvh;
    }
  }

  &.top-mask {
    @media (width>=768px) {
      clip-path: ellipse(100% 100% at 50% 100%);
      -webkit-clip-path: ellipse(100% 100% at 50% 100%);
    }

    @media (width<768px) {
      clip-path: ellipse(150% 100% at 50% 100%);
      -webkit-clip-path: ellipse(150% 100% at 50% 100%);
    }

    @media (width<425px) {
      clip-path: ellipse(200% 100% at 50% 100%);
      -webkit-clip-path: ellipse(200% 100% at 50% 100%);
    }
  }
}

/* Slider service cards */
.slider-servicios,
.slider-testimonios,
.slider-logos,
.marquee-logos {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  /* user-select: none; */
  pointer-events: all;

  & > .mcb-wrap-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    will-change: transform;
    margin-left: 0;
    width: auto;
    min-width: fit-content;
    transform-origin: center center;
  }

  & .wrap .mfn-icon-box {
    align-items: center;
    width: 100%;
  }
}

#Wrapper .slider-servicios {
  & .wrap .column_icon_box_2,
  & .wrap .column_icon_box_2 .mcb-column-inner,
  & .wrap .column_icon_box_2 a {
    /* min-height: 640px; */
    display: flex;
    place-items: end;
    justify-content: space-between;
    width: 100%;
    margin: 0;

    @media (width<500px) {
      & .mfn-icon-box-left .icon-wrapper,
      & .mfn-icon-box-right .icon-wrapper {
        width: 0;
        display: none;
      }
    }
  }

  & .wrap.mfn-nested-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    margin-right: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;

    @media (width>=1025px) {
      width: 500px;
      min-width: 500px;
    }

    @media (width>=500px) and (width<=1024px) {
      width: 400px;
      min-width: 400px;
    }

    @media (width<500px) {
      width: 250px;
      min-width: 250px;
    }

    & .mcb-wrap-inner {
      font-size: 48px;
      max-height: 661px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: default;
      position: relative;
      overflow: hidden;

      @media (width>=1025px) {
        height: 661px;
        min-height: 661px;
      }

      @media (width>=768px) and (width<=1024px) {
        height: 75dvh;
        min-height: 75dvh;
      }

      @media (width>=500px) and (width<768px) {
        height: 55dvh;
        min-height: 55dvh;
      }

      @media (width<500px) {
        height: 40dvh;
        min-height: 40dvh;
      }
    }
  }
}

.cont-servicios > .mcb-wrap-inner{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.cont-servicios > .mcb-wrap-inner > .box-servicio:nth-child(2){
  margin-top: 64px;
}
.cont-servicios > .mcb-wrap-inner > .box-servicio:nth-child(n + 4):not(:nth-child(3n - 1)){
  margin-top: -64px;
}
.box-servicio .mfn-banner-box{
  border-radius: 16px;
}
.box-servicio .mfn-banner-box .banner-image{
  border-radius: 16px;
}
.box-servicio .mfn-banner-box .banner-image::before{
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(89, 50, 78, 0.00) 74.51%, rgba(89, 50, 78, 0.57) 87.59%);
  z-index: 1;
}
.box-servicio .mfn-banner-box .banner-image img{
  width: 100%;
  object-fit: cover;
  aspect-ratio: 500/661;
}
.box-servicio .mfn-banner-box .banner-wrapper{
  width: 100%;
  padding: 34px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap-reverse;
  gap: 6px;
}
.box-servicio .mfn-banner-box .banner-wrapper h3{
  margin-bottom: 0;
  color: var(--blanco);
  font-size: var(--size-h2);
  font-weight: 500;
  line-height: 120%;
}
.box-servicio .mfn-banner-box .cta-image img{
  width: 60px;
  height: 60px;
}

.testimonials_slider a.slider_next, .testimonials_slider a.slider_prev{
  padding: 0;
  background-color: transparent;
  color: var(--principal) !important;
  font-size: 32px;
  line-height: 1;
  transition: all 0.3s ease;
}
.testimonials_slider a.slider_next::before, .testimonials_slider a.slider_prev::before{
  content: unset;
}
.testimonials_slider a.slider_next i, .testimonials_slider a.slider_prev i{
  color: var(--principal) !important;
}
.testimonials_slider a.slider_next:hover, .testimonials_slider a.slider_prev:hover{
  background-color: transparent;
}
.testimonials_slider a.slider_next:hover{
  transform: translateX(5px);
}
.testimonials_slider a.slider_prev:hover{
  transform: translateX(-5px);
}

.cont-colaboradores .clients_ul{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.cont-colaboradores .clients_ul::before, .cont-colaboradores .clients_ul::after{ content: unset; }
.cont-colaboradores .clients_ul li{ width: 100% !important; }
.cont-colaboradores .clients_ul .client_wrapper{ padding: 0; margin: 0; background: transparent; height: 120px; }
.cont-colaboradores .clients_ul .client_wrapper img{ max-width: 60%; }


/* Fila máscara */
.mascara-video {
  max-width: 729px;

  & .rotate video {
    transform: rotate(180deg);
  }

  @media (width<=959px) {
    #Wrapper & .mcb-video {
      height: 528px;
      transform: rotate(90deg);
    }
  }
  @media (width<768px) {
    #Wrapper & .column_video > div {
      overflow: visible;
    }
  }
}

.mascara-logo {
  position: absolute;
  left: 20px;
  bottom: 0;
  max-width: 191px;

  @media (width<=959px) {
    max-width: 100px;
    left: 0;
  }
}

/* Slider transparencia */
#Wrapper .slider-transparencia {
  & .title_link:hover {
    letter-spacing: inherit;
  }
  & .slick-dots {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    gap: 1.5rem;

    & button {
      font-size: 0;
      padding: 0;
      min-width: 8px;
      min-height: 8px;
      background-color: #f4ddee;
      transition: all 0.3s ease;
    }

    & .slick-active button {
      min-width: 10px;
      min-height: 10px;
      background-color: var(--principal);
    }
  }
  @media (width<500px) {
    & h2 {
      font-size: clamp(1.5rem, 6vw, 6rem);
    }
  }
}

/*************** Servicios ***************/

.servicios:not(.contacto) {
  & .service-item {
    overflow: hidden;
    background-color: #fbfbf3;
  }
  /* & .mascara-logo img {
    filter: drop-shadow(0 0 2px var(--principal)) drop-shadow(0 0 2px var(--principal)  )
      drop-shadow(0 0 2px var(--principal)) drop-shadow(0 0 2px var(--principal));
  } */
  & .service-item h2 {
    margin-bottom: 2rem;
    @media (width<=500px) {
      margin-bottom: 1rem;
    }
  }
  & .service-item .button {
    margin: 18px 0 0;
  }

  & .service-item .column_attr p:first-child {
    font-weight: 500;
  }

  &.image-switcher {
    & .column_image:not(.mascara-logo) img {
      max-height: 88vh;
      min-height: 100%;
      object-fit: cover;
      aspect-ratio: auto;
    }
    & .mascara-logo {
      width: 10vw;
    }
  }

  @media (width>1441px) {
    & .service-item {
      top: 0px;
    }

    & .sticky {
      top: 5vh;
    }
  }
  @media (width>1025px) and (width<=1440px) {
    & .sticky {
      top: 17vh;
    }
  }
  @media (width>=960px) and (width<=1024px) {
    & .sticky {
      top: 28vh;
    }
  }

  @media (width>959px) {
    & .service-item,
    & .sticky {
      position: sticky;
    }
    @media (width<=959px) {
      & .mascara-video {
        max-width: 100%;
      }
    }
  }
}

/* Fila como trabajamos */
.title {
  & .destacado {
    color: transparent;
    font-style: italic;
    -webkit-text-stroke: 2px var(--principal);
    text-stroke: 2px var(--principal);
  }
}

#Wrapper .como-trabajamos {
  & > .section_wrapper {
    display: grid;
  }

  @media (width>1300px) {
    & .sticky {
      position: sticky;
      top: 140px;
    }
    & > .section_wrapper {
      grid-template-columns: 440px 1fr;
    }
    & .sticky-cards {
      max-width: 900px;
      margin-left: auto;
    }
    & .mfn-icon-box .icon-wrapper .primary {
      min-width: 284px;
    }
    & .destacado .title {
      font-size: clamp(2rem, 6vw, 6rem);
      line-height: 1;
    }
  }

  @media (width<=1300px) {
    & > .section_wrapper {
      gap: 2.5rem;
    }

    & .sticky-cards > .mcb-wrap-inner {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2rem;
    }
    & .destacado .title,
    & .destacado .title span {
      font-size: clamp(3.75rem, 12vw, 12rem);
    }
  }

  & .icon-wrapper {
    width: 100%;
    place-content: end;
    margin: 0;
  }

  & .mfn-icon-box {
    & .icon-wrapper .primary {
      width: 100%;
      min-height: 300px;
      max-height: 480px;
      object-fit: cover;
      border-radius: 2em;

      @media (width<500px) {
        min-height: 240px;
        max-height: 240px;
      }
    }

    & .desc-wrapper {
      height: 100%;
    }

    & .desc {
      place-content: end;
    }
  }

  @media (width<=959px) {
    & h3 {
      font-size: var(--size-h3);
    }
  }

  @media (width>768px) {
    & .mfn-icon-box-center {
      align-items: center;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
    }
  }

  @media (width<=768px) {
    /* & h3 {
      font-size: var(--size-h3);
    } */
    & .mfn-icon-box {
      flex-direction: column;
      gap: 1.5rem;
    }
  }
}

.sticky-cards {
  & .mcb-item-icon_box_2-inner {
    margin: 0;
  }
}

/* Slider testimonios */
.testimonios {
  & .destacado .title {
    font-size: clamp(3.25rem, 6vw, 6rem);
    line-height: 1;
  }
}

.slider-testimonios {
  padding: 16px 0;

  & > .mcb-wrap-inner > .wrap > .mcb-wrap-inner {
    place-items: center;
  }

  & .wrap.mfn-nested-wrap {
    width: 100%;
    min-width: 500px;
    margin-right: 20px;

    @media (width<768px) {
      min-width: 400px;
    }

    @media (width<500px) {
      min-width: 300px;
    }
  }

  & .icon-wrapper {
    width: 0;
    display: none;
  }

  & .mfn-icon-box {
    @media (width>=768px) {
      text-align: left;
    }
    @media (width<768px) {
      text-align: center;
    }
  }

  @media (width<768px) {
    & .column_icon_box_2 .mcb-column-inner {
      margin: 0;
    }
  }
}

body:not(.mfn-template-builder) .boton-absolute{ width: fit-content !important; position: absolute; bottom: 58px; right: 58px; z-index: 10; }

/* CTA video zoom */
.zoom {
  & .title {
    text-shadow: 0 0 black;
    text-shadow: 2px 1px 12px rgb(51 51 51);
  }

  & .title:not(p) {
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 1;
  }

  & > .mcb-background-overlay {
    display: none;
  }
}



/* Logos loop */
.slider-logos {
  overflow: hidden;
  position: relative;
  width: 100%;
  z-index: 1;

  & .mcb-wrap-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
    box-sizing: border-box;
  }

  & .column {
    flex: 0 0 auto !important;
    width: auto !important;
    float: none !important;
    max-width: none !important;
    margin-bottom: 0 !important;

    /* Espaciado entre logos */
    padding-left: 20px;
    padding-right: 20px;
  }

  & .icon-wrapper {
    width: 100%;
    max-width: 200px;
  }

  & .icon-wrapper img {
    display: block;
    max-height: 190px;
    width: 100%;
    object-fit: contain;
    aspect-ratio: 1/1;
    transition: transform 0.3s ease;
  }
}

#Subheader{ padding: 264px 0 64px; }
#Subheader::after{ content: unset; }
#Subheader .title{ float: unset; font-size: var(--size-h1); letter-spacing: unset; font-weight: 400; line-height: 100%; font-style: normal; text-align: center; max-width: 900px; margin: 0 auto; }

.search.search-results #Content, .search.search-no-results #Content{ padding: 120px 0 !important; }
.search-results .search-item.no-image .search-content{ height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.search.search-results #Content .posts_group{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; } 
.search.search-results #Content .posts_group .search-item{ margin-bottom: 0; padding: 24px; background-color: var(--blanco); border-radius: 16px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); }

span.wpcf7-form-control-wrap { display: inline-block; color: var(--principal); position: relative; }
span.wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-acceptance{ line-height: 28px; }
span.wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-acceptance input[type=checkbox] { margin: 0 !important; position: absolute; visibility: hidden; width: 20px; height: 20px; top: 0; left: 0; }
span.wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-acceptance input[type=checkbox] + span:before { display: block; position: absolute; content: ''; border-radius: 6px; height: 20px; width: 20px;
    top: 5px; left: 0px; background: transparent; border: 1px solid var(--principal); }
span.wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-acceptance input[type=checkbox] + span:after { display: block; position: absolute; content: "\2713"; height: 20px; width: 20px; top: 5px; left: 0;
    visibility: hidden; font-size: 12px; text-align: center; line-height: 20px; color: var(--blanco); }
span.wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-acceptance input[type=checkbox]:checked + span:before { background: var(--principal); }
span.wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-acceptance input[type=checkbox]:checked + span:after { visibility: visible; }
.wpcf7-list-item-label { margin-left: 30px; display: inline-block; }

.wpcf7-not-valid-tip{ font-size: 12px; margin-top: 4px; }

.cont-subvencion > .mcb-wrap-inner{ flex-direction: column; gap: 48px; }
.cont-subvencion .info-subvencion > .mcb-wrap-inner{ padding: 64px; flex-direction: column; gap: 12px; }
.cont-subvencion .info-subvencion .gallery{ display: flex; justify-content: flex-start; align-items: center; gap: 32px; flex-wrap: wrap; }
.cont-subvencion .info-subvencion .gallery .gallery-item{ flex-grow: unset !important; height: 64px; width: auto !important; float: unset !important; padding: 0 !important; margin: 0 !important; }
.cont-subvencion .info-subvencion .gallery .gallery-item .image_frame .image_wrapper img{ object-fit: contain !important; max-height: 64px; }

.cont-documentos > .mcb-wrap-inner{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; }
.cont-documentos.cols-2 > .mcb-wrap-inner{ grid-template-columns: repeat(2, 1fr); }
.cont-documentos .column_icon_box_2, .cont-documentos .mcb-column-inner{ height: 100%; }
.cont-documentos .mfn-icon-box{ padding: 24px; border-radius: 16px; }

.cta-banner::before{
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.34) 100%);
  z-index: 1;
}

.sec-lista-noticias > .section_wrapper{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.sec-lista-noticias .cont-noticia .column_image img{ aspect-ratio: 468/435; object-fit: cover; border-radius: 8px; }
.sec-lista-noticias .cont-noticia .titulo-noticia{ margin-bottom: 24px; padding: 0 16px; }
.sec-lista-noticias .cont-noticia .noticia-header{ margin-bottom: 12px; }
.sec-lista-noticias .cont-noticia .noticia-header .mcb-wrap-inner{ padding: 0 16px; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap-reverse; }
.sec-lista-noticias .cont-noticia .noticia-header .mcb-wrap-inner .one.column{ width: fit-content;}
.sec-lista-noticias .cont-noticia .noticia-header img{ aspect-ratio: 54/54; object-fit: cover; border-radius: 0px; transition: transform 0.3s ease, opacity 0.3s ease; }
.sec-lista-noticias .cont-noticia .noticia-header a:hover img{ transform: scale(1.1); opacity: 0.8; }
.sec-lista-noticias .cont-noticia .noticia-header .image_frame, .sec-lista-noticias .cont-noticia .noticia-header .image_wrapper{ overflow: visible; }

.mfn-query-pagination .next.page-numbers{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--mfn-button-gap);
  position: relative;
  box-sizing: border-box;
  font-family: var(--mfn-button-font-family);
  font-size: var(--mfn-button-font-size);
  font-style: var(--mfn-button-font-style);
  letter-spacing: var(--mfn-button-letter-spacing);
  line-height: 1.2;
  padding: var(--mfn-button-padding);
  border-width: var(--mfn-button-border-width);
  border-style: var(--mfn-button-border-style);
  height: var(--button-height);
  border-radius: 100vmax;
  font-weight: 500;
  outline: unset;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: color var(--mfn-button-transition) ease-in-out, background-color var(--mfn-button-transition) ease-in-out, border-color var(--mfn-button-transition) ease-in-out;
  background-color: var(--mfn-button-bg);
  background-image: var(--mfn-button-bg-image);
  border-color: var(--mfn-button-border-color);
  color: var(--mfn-button-color);
  box-shadow: var(--mfn-button-box-shadow);
}

.portada-noticia.home-hero{ min-height: 560px; }
.portada-noticia.home-hero > .mcb-background-overlay{ display: none !important; }
.portada-noticia.home-hero::before{ content: ""; width: 100%; height: 3px; background-color: #F4DDEE; position: absolute; top: 41px; left: 0; }
.portada-noticia .mfn-tag-cloud li a{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  color: var(--blanco);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--secundario);
  isolation: isolate;
  overflow: hidden;
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  will-change: transform, filter;
  backdrop-filter: blur(18px);
  border-radius: 200px;
  font-size: 16px;
  line-height: 1;
 }
 .portada-noticia .mfn-tag-cloud li a:hover{ 
  transform: scale(1.05);
 }

 .sec-contenido-noticia > .section_wrapper{ gap: 64px; }
 .sec-contenido-noticia > .section_wrapper > .cont-sidebar{ width: 30%; }
 .sec-contenido-noticia > .section_wrapper > .cont-contenido{ width: calc(70% - 64px); }
 .sec-contenido-noticia img{ border-radius: 16px; }
 .sec-contenido-noticia .column_post_content img{ margin-top: 24px; }



/*** RESPONSIVE ***/

@media(max-width: 1536px){

  .home-hero > .section_wrapper > .one.mcb-wrap { margin-top: 64px; }

  /*FOOTER*/
  .sec-logos-footer .gallery.equal-heights .gallery-item .image_frame .image_wrapper img{ max-width: 160px !important; }

}
@media(max-width: 1366px){

  .cont-servicios > .mcb-wrap-inner{ gap: 32px; }
  .sec-texto-video > .section_wrapper > .one.mcb-wrap > .mcb-wrap-inner{ gap: 48px; }

  .cont-documentos > .mcb-wrap-inner{ grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 1239px){

  .sec-logos-footer .gallery{ flex-wrap: wrap; }
}
@media(max-width: 1024px){

  .box-servicio .mfn-banner-box .banner-wrapper h3{ font-size: var(--size-h3); }
  .sec-texto-video{ padding: 0 !important; } 
  .sec-texto-video .mfn-nested-wrap:not(.mascara-video){ padding: 0 64px !important; }
  .sec-texto-video > .section_wrapper > .one.mcb-wrap > .mcb-wrap-inner{ display: flex; flex-direction: column; }
  .sec-texto-video > .section_wrapper > .one.mcb-wrap > .mcb-wrap-inner .one.mcb-wrap{ width: 100%; }
  .mascara-video{ max-width: 100%; }
  .sec-texto-video .mascara-video .mcb-video{
    height: 1050px !important;
    transform: rotate(90deg) !important;;
    max-width: 100% !important;;
  }

  .cont-documentos > .mcb-wrap-inner{ grid-template-columns: repeat(2, 1fr); }

  .sec-contenido-noticia > .section_wrapper { gap: 48px; }
  .sec-contenido-noticia > .section_wrapper > .cont-contenido{ width: calc(70% - 48px);  }

  .search.search-results #Content .posts_group{ grid-template-columns: repeat(2, 1fr); }

  .sec-lista-noticias > .section_wrapper{ grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 959px){

  #Subheader .title{ max-width: 600px; }
  .search.search-results #Content .posts_group{ grid-template-columns: repeat(2, 1fr); } 

  .cont-servicios > .mcb-wrap-inner{ grid-template-columns: repeat(2, 1fr); }
  .cont-servicios > .mcb-wrap-inner > .box-servicio:nth-child(2){ margin-top: 64px !important; }
  .cont-servicios > .mcb-wrap-inner > .box-servicio:nth-child(2n + 1):not(:nth-child(1)) { margin-top: -64px !important; }
  .cont-servicios > .mcb-wrap-inner > .box-servicio:nth-child(n + 4):not(:nth-child(3n - 1)) { margin-top: 0px; }
  .sec-texto-video .mascara-video .mcb-video {  height: 780px !important; }

  .cont-colaboradores .clients_ul{ grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .cont-documentos > .mcb-wrap-inner{ gap: 32px; }

  .sec-logos-footer{ padding: 8px 34px; }
  .sec-texto-video .mfn-nested-wrap:not(.mascara-video) { padding: 0 34px !important; }

  .sec-contenido-noticia > .section_wrapper > .cont-sidebar{ width: 100%; }
  .sec-contenido-noticia > .section_wrapper > .cont-contenido{ width: 100%; }
  
}
@media(max-width: 767px){

  body #cmplz-manage-consent .cmplz-manage-consent{ bottom: 15px !important; }

  .search-not-found .snf-pic i{ font-size: 100px; line-height: 1; }

  .content_wrapper .mcb-column-inner, .mfn-footer-tmpl .mfn-builder-content .mcb-column-inner { margin: 0 !important; }

  .home-hero { min-height: 785px; }

  .cont-servicios > .mcb-wrap-inner { gap: 24px; }
  .cont-servicios > .mcb-wrap-inner > .box-servicio > .mcb-column-inner{ margin: 0 !important; }
  .cont-servicios > .mcb-wrap-inner > .box-servicio:nth-child(2){ margin-top: 24px !important; }
  .cont-servicios > .mcb-wrap-inner > .box-servicio:nth-child(2n + 1):not(:nth-child(1)) { margin-top: -24px !important; }
  .box-servicio .mfn-banner-box .banner-wrapper{ padding: 16px; }
  .box-servicio .mfn-banner-box .cta-image img { width: 32px; height: 32px; }

  .sec-texto-video .mascara-video .mcb-video { height: 600px !important; }

  .cont-colaboradores .clients_ul li.clients_li{ width: 100% !important; }

  .cont-documentos > .mcb-wrap-inner{ grid-template-columns: repeat(1, 1fr) !important; }
  .cont-subvencion .info-subvencion > .mcb-wrap-inner { padding: 48px 32px; }

  .portada-noticia.home-hero{ height: 100% !important; min-height: 360px; }
  .portada-noticia.home-hero::before{ top: 0; }
  .portada-noticia.home-hero > .section_wrapper > .one.mcb-wrap{ margin-top: 180px; }
  
  .testimonials_slider .testimonials_slider_ul li{ padding: 0 16px !important; }

  .sec-lista-noticias > .section_wrapper {
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
  }

  .sec-texto-video .mfn-nested-wrap:not(.mascara-video) {
    padding: 0 16px !important;
  }
  .sec-logos-footer {
    padding: 8px 16px;
  }

  .slider-noticias {
    & .noticias-list__date-wrapper{
      padding: 0 8px;
    }
    & .noticias-list__title {
        margin: 0 8px 16px 8px;
        font-size: var(--size-h3);
    }
  }
}
@media(max-width: 480px){

  .sec-logos-footer .gallery.equal-heights .gallery-item .image_frame .image_wrapper img { max-width: 170px !important; max-height: 60px; }

  .destacado, .destacado .title{ font-size: var(--size-h1); }

  #Subheader{ padding: 190px 0 48px; }

  .search.search-results #Content { padding: 64px 0 !important; }
  .search.search-results #Content .posts_group{ grid-template-columns: repeat(1, 1fr); } 

  .cont-servicios > .mcb-wrap-inner{ grid-template-columns: repeat(1, 1fr); }
  .cont-servicios > .mcb-wrap-inner > .box-servicio:nth-child(2){ margin-top: 0 !important; }
  .cont-servicios > .mcb-wrap-inner > .box-servicio:nth-child(2n + 1):not(:nth-child(1)) { margin-top: 0 !important; }
  .box-servicio .mfn-banner-box .banner-wrapper h3{ font-size: var(--size-h2); }
  .box-servicio .mfn-banner-box .cta-image img { width: 42px; height: 42px; }

  .sec-texto-video .mascara-video .mcb-video { height: 460px !important; }

  .testimonials_slider .testimonials_slider_ul li .bq_wrapper{ padding: 24px 0px 10px; }
  .cont-colaboradores .clients_ul { grid-template-columns: repeat(1, 1fr); }
  .cont-colaboradores .clients_ul .client_wrapper{ height: 92px; }

  #scroll-indicator{ display: none !important; }

  .cont-documentos > .mcb-wrap-inner { gap: 12px; }

  body:not(.mfn-template-builder) .boton-absolute{ bottom: 42px; right: 42px; }

  .cont-subvencion .info-subvencion > .mcb-wrap-inner {  padding: 48px 24px; }

  .sec-lista-noticias .cont-noticia .titulo-noticia{ margin-bottom: 16px; padding: 0 8px; }
  .sec-lista-noticias .cont-noticia .noticia-header .mcb-wrap-inner{ padding: 0 8px; }
}
@media(max-width: 320px){

  .home-hero > .section_wrapper > .one.mcb-wrap { margin-top: 160px; }
  .sec-texto-video .mascara-video .mcb-video { height: 385px !important; }
  
} 