#Top_bar #logo img {
    max-height: 90px;
}

@media only screen and (min-width: 768px) {
    #Top_bar.is-sticky #logo img.logo-sticky {
        display: inline;
        max-height: 52px;
    }
}

/* Segundo CTA: normal blanco con borde negro; hover negro con texto blanco */
#slider-1-slide-1-layer-8b {
  background:#124F7D !important;
  color:#fff !important;
  border:3px solid #124F7D !important;
  border-radius:6px !important;
  font-family:'Poppins',sans-serif !important;
  font-weight:600 !important;
}

/* Hover azul para el boton secundario del slider */
#slider-1-slide-1-layer-8b:hover {
  background-color: #0F3F65 !important; /* carbon */
  color: #fff !important;                /* texto blanco */
  border-color: #0F3F65 !important;      /* borde gris */
}

#Top_bar a.responsive-menu-toggle {
    right: -81px !important;
}

@media only screen and (max-width: 768px) {
    #Top_bar #logo, .header-fixed #Top_bar #logo, .header-plain #Top_bar #logo, .header-transparent #Top_bar #logo {
    padding: 2px 0px;
    height: 73px;
    }
}

@media only screen and (max-width: 768px) {
    #Top_bar .logo {
    float: left;
    margin: 0 30px 0 -27px;
    }
}

@media only screen and (max-width: 768px) {
    .mfn-main-slider {
    position: relative;
    margin-top: 30px;
    }
}

.top-bar-right-icon-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #333;
  text-decoration: none;
  font-weight: 700;
  font-size: 32px !important;
}

.top-bar-right-icon-phone svg {
  width: 28px;
  height: 28px;
}

.top-bar-right-icon-phone:hover {
  color: #00796b;
}

.button-custom .button_theme {
    color: #192a45;
    background-color: #fff;
    border-color: #0F3F65;
}


.button-custom .button_theme:hover {
    color: #fff;
    background-color: #0F3F65;
    border-color: #0F3F65;
}


.button-custom .button {
    color: #fff;
    background-color: #124F7D;
    border-color: #0F3F6500;
}

.button-custom .button:hover {
    color: #fff;
    background-color: #0F3F65;
    border-color: #0F3F6500;
}

#slider-1-slide-1-layer-8b {
  transition: all 0.3s ease !important;
}

/* Bot贸n principal - estado normal */
#slider-1-slide-1-layer-8 {
  background-color: #F25555 !important; /* rojo principal */
  color: #fff !important;
  border: 3px solid #F25555 !important;
  transition: all 0.3s ease !important;
}

/* Bot贸n principal - hover */
#slider-1-slide-1-layer-8:hover {
  background-color: #D63C3C !important;
  color: #fff !important;
  border: 3px solid #D63C3C !important;
  transition: all 0.3s ease !important;
  border-color: #F25555 !important;
}

/* Centrar los íconos de servicios en todos los dispositivos */
.image_frame.image_item.no_link.scale-with-grid.no_border {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

.image_frame img {
  display: block;
  margin: 0 auto;
}

/* Regla original (para desktop) */
.column_attr.align_right {
    padding-bottom: 14px;
    padding-right: 27px;
}

/* Corrige solo en mobile */
@media (max-width: 767px) {
  .column-margin-10px .column_attr.align_right {
    padding-right: 0 !important;
    text-align: center !important;
  }

  .column-margin-10px .button_align {
    float: none !important;
    text-align: center !important;
    width: 100%;
  }

  .column-margin-10px .button_align a.button {
    margin: 0 auto;
    display: inline-block;
  }
}


.offer .slider_pagination {
    display: none;
}

.slider_prev,
.slider_next {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media only screen and (min-width: 768px) {
#slider-1-slide-1-layer-8b {
  margin-left: 10px !important; /* SEPARA BOTONES CTA */
    }
}

.offer .list_custom {
    list-style: none !important;
    padding-left: 0 !important;
}

/* Ajustes CTA inferior en móvil */
@media (max-width: 767px) {

  /* Más espacio dentro del recuadro */
  .column-margin-10px {
      padding: 30px 25px 30px !important;
      text-align: center !important;
  }

  /* Centrar el botón */
  .column-margin-10px .button_align {
      justify-content: center !important;
      text-align: center !important;
      width: 100% !important;
      margin-top: 15px !important;
  }

  .column-margin-10px a.button {
      width: 100%;
      max-width: 260px; /* opcional, queda más bonito */
  }
}

/* Ajustar el slider de servicios en móviles sin romper Slick */
@media (max-width: 767px) {

  /* Que el texto use todo el ancho disponible */
  .offer .desc_wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    float: none !important;
    padding: 15px 20px 0 !important; /* ajusta si quieres más/menos aire */
  }

  /* Evitar columnas “fantasma” dentro del contenido */
  .offer .desc {
    max-width: 100% !important;
  }

  /* Centrar imagen de cada slide */
  .offer .image_wrapper {
    text-align: center !important;
  }

  .offer .image_wrapper img {
    max-width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 767px) {
  /* Fuerza que cada slide se comporte como una columna */
  .offer_ul .offer_li {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  /* Imagen primero */
  .offer_li .image_wrapper {
    order: 1 !important;
    text-align: center !important;
    margin-bottom: 20px !important;
  }

  /* Título y texto después */
  .offer_li .desc_wrapper {
    order: 2 !important;
    text-align: center !important;
    width: 100% !important;
    padding: 0 20px !important;
  }

  /* Centrar título */
  .offer_li .desc_wrapper h3 {
    text-align: center !important;
    width: 100%;
  }
}

/* Texto del listado de artículos */
.post-excerpt {
  margin-top: 10px;
  margin-bottom: 20px;
  text-align: justify;
}

/* Botón Leer más debajo, sin cruzarse */
.post-readmore {
  display: inline-block;
  margin-top: 5px;
}

/* Asegurar que todo el bloque del post esté alineado a la izquierda */
.ul-first .post .desc {
  text-align: left;
}

/* Blog: una sola columna en móviles */
@media (max-width: 767px) {

  /* Que el contenedor no trate de mantener columnas flotadas */
  .Latest_news.featured {
    overflow: visible !important;
  }

  /* ul-first (post principal) y ul-second (lista derecha) uno debajo del otro */
  .Latest_news.featured .ul-first,
  .Latest_news.featured .ul-second {
    float: none !important;
    width: 100% !important;
    display: block !important;
    margin: 0 0 25px 0 !important;
  }

  /* Cada post ocupa todo el ancho */
  .Latest_news.featured .post {
    display: block !important;
  }

  /* Imagen responsiva solo dentro del bloque de noticias */
  .Latest_news.featured .photo img {
    width: 100% !important;
    height: auto !important;
  }

  /* Texto del extracto más legible */
  .Latest_news.featured .post-excerpt {
    text-align: justify;
    margin-bottom: 15px;
  }

  /* Separar el botón del texto */
  .Latest_news.featured .post-readmore {
    display: inline-block;
    margin-top: 5px;
  }
}

@media (max-width: 767px) {
  .Latest_news.featured .ul-second {
    margin-top: 25px !important;
    /* border-top: 1px solid #eee; */
    padding-top: 15px;
  }
}

/* Estilo discreto para enlace Leer más */
.readmore-link {
    display: inline-block;
    margin-top: 9px;
    font-size: 14px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease-in-out;
}

.readmore-link:hover {
    color: #0da122; /* tu color verde para coherencia */
    border-bottom: 1px solid #0da122;
}

.readmore-link {
    float: right;
}

/* Separar texto de imagen en los posts secundarios (columna derecha) */
.Latest_news .ul-second .post .desc {
    padding-left: 15px;
}

.Latest_news .ul-second .post:first-child {
    border-top: none !important;
}

/* Meta (fecha + categoría) posts secundarios derecha */
.Latest_news.featured .ul-second .desc_footer {
    margin-top: 4px;
    font-size: 13px;
    font-weight: 400;
    color: #8a8a8a;
}

/* Fecha y categoría en la misma línea, estilo suave */
.Latest_news.featured .ul-second .desc_footer span {
    display: inline-flex;      /* clave: misma línea */
    align-items: center;
    margin-right: 10px;
    text-transform: none;
    letter-spacing: 0;
}

/* Iconos más discretos */
.Latest_news.featured .ul-second .desc_footer span i {
    font-size: 15px;
    color: #8a8a8a;
    margin-right: 4px;
}

.Latest_news ul li .desc_footer {
    padding-top: 8px;
    font-size: 14px;
    color: #8a8a8a;
}

/* SOLO móviles: fecha arriba y categoría abajo, sin espacio raro */
@media (max-width: 767px) {

  /* Contenedor meta del primer post: apilar en columna */
  .Latest_news.featured .ul-first .desc_footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;               /* espacio pequeño entre fecha y categoría */
  }

  /* Fecha y categoría en línea (icono + texto), sin márgenes extra */
  .Latest_news.featured .ul-first .desc_footer .date,
  .Latest_news.featured .ul-first .desc_footer .category {
    display: inline-flex;
    align-items: center;
    margin: 0 !important;
  }
}

/* SOLO PC: Separa los bloques del Blog */

/* Más espacio entre el post principal (izq) y los secundarios (der) SOLO en desktop */
@media (min-width: 992px) {
  .Latest_news.featured .ul-first {
    padding-right: 20px;      /* ajusta 40px al gusto: 30, 50, etc. */
    box-sizing: border-box;   /* evita que el padding rompa el ancho */
  }
}

/* SÓLO MOVILES Espaciado entre posts secundarios (columna derecha) */
@media (max-width: 767px) {
    .Latest_news .ul-second .post {
      padding-top: 15px;
      padding-bottom: 25px;
      margin-bottom: 25px;
      /* border-bottom: 1px solid #ececec; */
    }
}

/* SÓLO PC Espaciado entre posts secundarios (columna derecha) */
@media (min-width: 992px) {
    .Latest_news .ul-second .post {
      padding-top: 9px;
      padding-bottom: 9px;
      /* border-bottom: 1px solid #ececec; */
    }
}

@media (max-width: 767px) {
  .Latest_news.featured .ul-second .post-top-row {
    display: block !important;
  }

  .Latest_news.featured .ul-second .photo {
    width: 100% !important;
    margin-bottom: 12px !important;
  }

  .Latest_news.featured .ul-second .photo img {
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .Latest_news.featured .ul-second .desc {
    padding-left: 0 !important;
  }

  /* TEXTOS ALINEADOS A LA IZQUIERDA */
  .Latest_news.featured .ul-second .desc {
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
  }

  /* Ajuste del excerpt */
  .Latest_news.featured .ul-second .post-excerpt {
    margin-top: 0 !important;
  }

  .Latest_news ul li .desc {
      width: 100% !important;
  }

}

.post-meta .category .cat-wrapper ul {
    padding: 5px;
    min-width: 300px;
}

@media (max-width: 767px) {
    #Subheader {
    padding: 54px 0 15px;
    }
}

.post-nav.minimal.column {
    height: 63px !important;
}

/* SOLO móviles: fecha arriba y categoría abajo, sin espacio raro */
@media (max-width: 767px) {

  /* Contenedor meta del primer post: apilar en columna */
  .meta-visible {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;               /* espacio pequeño entre fecha y categoría */
  }

  /* Fecha y categoría en línea (icono + texto), sin márgenes extra */
  .meta-visible .meta-reading,
  .meta-visible .meta-category {
    display: inline-flex;
    align-items: center;
    margin: 0 !important;
  }
}

@media (max-width: 767px) {
    .post-meta .category {
        margin-top: 36px;
    }
}

.meta-visible {
    margin-top: 0px;
}

html {
  scroll-behavior: smooth;
}

.post-content [id],
.column_attr [id],
.section [id] {
    scroll-margin-top: 90px;
}

/* Ocultar tabla de contenidos en móviles */
@media (max-width: 767.98px) {
    .column_table_of_contents {
        display: none !important;
    }
}

/* Justificar texto del artículo en desktop y móviles */
.article-content p,
.article-content li {
    text-align: justify;
    text-justify: inter-word;
}

/* No justificar los párrafos que contienen botones */
.article-content p:has(.button),
.article-content p:has(a.button) {
    text-align: center !important;
    text-justify: auto !important;
}


.lista-check li {
    list-style: none;
    margin-bottom: 0px;
    display: flex;
    align-items: flex-start;
}

@media (max-width: 767.98px) {
    .lista-check li i {
        color: #0da122;
        margin-right: 5px;
        font-size: 16px;
        line-height: 0;
    }
}

@media (min-width: 992px) {
    .lista-check li i {
        color: #0da122;
        margin-right: 5px;
        font-size: 16px;
        line-height: 1.8;
    }
}

/* Centrar texto dentro del botón */
.button .button_label {
    display: block;
    width: 100%;
    text-align: center !important;
}




/* Ocultar TOC en móviles */
@media (max-width: 991.98px) {
    .section-toc .column_table_of_contents {
        display: none !important;
    }
}

/* Desktop: comportamiento controlado por clases JS */
@media (min-width: 992px) {

    /* La sección será el contenedor base */
    .section-toc {
        position: relative;
    }

    /* Columna del TOC en su ancho normal dentro del flujo */
    .section-toc .column_table_of_contents {
        width: 260px;
        margin-top: 27px;
    }

    /* El contenido SOLO se corre cuando haya TOC activo */
    .section-toc .article-content {
        margin-left: 0;
        transition: margin-left 0.2s ease;
    }

    .section-toc .article-content.with-toc {
        margin-left: 320px;   /* 260 del TOC + margen */
    }

    /* Estado fijo mientras se lee el artículo */
    .section-toc .column_table_of_contents.toc-fixed {
        position: fixed;
        top: 100px;           /* ajusta según header */
        left: 166px;           /* ajusta según tu layout */
        z-index: 10;
    }

    /* Estado “pegado al fondo” de la sección, sin meterse al footer */
    .section-toc .column_table_of_contents.toc-bottom {
        position: absolute;
        bottom: 0;
        left: 15px;
    }
}

/* Color base de los enlaces del TOC */
.section-toc .column_table_of_contents a {
    color: #3055A8 !important;
    transition: color 0.2s ease;
}

/* Numeración */
.section-toc .mfn_toc_numbers li {
    color: #3055A8 !important;
}

/* Hover sobre el enlace */
.section-toc .column_table_of_contents a:hover {
    color: #111111 !important; /* tono más oscuro al pasar el mouse */
}

/* Color cuando seleccionas texto */
::selection {
  background-color: #3055A8;
  color: #ffffff;
}

/* Firefox */
::-moz-selection {
  background-color: #3055A8;
  color: #ffffff;
}

h6, h6 a, h6 a:hover, a.content_link .title {
    color: #111;
}



/* MENÚ: item activo y hover en azul */
#Top_bar .menu > li.current-menu-item > a,
#Top_bar .menu > li.current-menu-ancestor > a,
#Top_bar .menu > li:hover > a {
  color: #3055A8 !important;
}

/* Línea inferior del menú activo */
#Top_bar .menu > li.current-menu-item > a::after,
#Top_bar .menu > li.current-menu-ancestor > a::after,
#Top_bar .menu > li:hover > a::after {
  background-color: #3055A8 !important;
}

.Latest_news ul li .photo, .Recent_posts.blog_news ul li .photo, .style-simple .opening_hours .opening_hours_wrapper li label, .style-simple .timeline_items li:hover h3, .style-simple .timeline_items li:nth-child(even):hover h3, .style-simple .timeline_items li:hover .desc, .style-simple .timeline_items li:nth-child(even):hover, .style-simple .offer_thumb .slider_pagination a.selected {
    border-color: #3c8f6900;
}

.hide-more .post-footer .post-links .icon-doc-text, .hide-more .post-footer .post-links .post-more {
    display: inline-block;
}

.hide-love .button-love {
    display: block !important;
}

.grid .post-desc-wrapper .post-footer .button-love .love-text {
    display: block;
}

.badge-premium {
    display: inline-block;
    background: #ffffff;
    color: #4e4e4e;
    border: 1px solid rgb(0 0 0);
    padding: 0px 14px;
    border-radius: 13px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.badge-premium2_old {
    display: inline-block;
    backdrop-filter: blur(4px);
    background: rgba(255,255,255,0.55);
    color: #0F2738;
    border: 1px solid rgba(15,39,56,0.4);
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: none;
}

.badge-premium2 {
    display: inline-block;
    backdrop-filter: blur(4px);
    background: rgba(255,255,255,0.55);
    color: #0F2738;
    border: 2px solid rgb(15 39 56 / 16%);
    padding: 4px 16px;
    border-radius: 23px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: none;
}

.badge-premium3 {
    display: inline-block;
    background: #0F2738;
    color: #fff;
    border: 1px solid rgb(0 0 0);
    padding: 0px 14px;
    border-radius: 13px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.section h2 {
    font-size: 41px;
    line-height: 1.25;
}

.blog-cta-strip {
  max-width: 720px;
  margin: 30px auto 60px auto;
  padding: 18px 20px;
  text-align: center;
  border-radius: 10px;
  background-color: #f8f8f8;
  border: 1px solid #e5e5e5;
  font-family: 'Poppins', Arial, sans-serif;
}

.blog-cta-main {
  margin: 0 0 5px 0;
  font-size: 14px;
  color: #333333;
}

.blog-cta-main a {
  font-weight: 600;
  color: #252525;
  border-bottom: 2px solid #0da122;
  text-decoration: none;
}

.blog-cta-main a:hover {
  color: #0da122;
}

.blog-cta-note {
  margin: 0;
  font-size: 12px;
  color: #888888;
}

.mfn-main-slider {
    background: #F0F9FF;
}

#Footer {
    background-color: #F5F7F8;
}

/* Ajuste de orden en móviles para secciones .wrap-reverse
   - Desktop: se mantiene el zig-zag actual
   - Mobile/Tablet: imagen arriba, texto abajo (orden consistente)
*/
@media (max-width: 991.98px) {
  .wrap-reverse > .container > .row {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column-reverse; /* invierte solo las dos columnas principales */
  }
}

.seo-hero-footnote {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.2;
  color: #555555;
  max-width: 640px;
  text-align: justify;
}

.seo-hero-ctas {
    display: flex;
    gap: 9px;
    margin: 36px 0px 27px 0px;
    flex-wrap: wrap;
}

.seo-hero-ctas a {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.25s ease;
    text-align: center;
    border: 3px solid transparent;
}

.btn-cta-b {
    background-color: #F25555;
    color: #fff !important;
    border-color: #F25555;
}
.btn-cta-b:hover {
    background-color: #d94444;
    border-color: #d94444;
}

.btn-cta-r {
    background-color: #fff;
    color: #E02E2E !important;
    border-width: 3px;
    border-color: #E02E2E !important;
}
.btn-cta-r:hover {
    background-color: #E02E2E;
    border-color: #D63C3C !important;
    color: #FFF !important;
    border-width: 3px;
}

@media (max-width: 767.98px) {
    .column_attr.align_left {
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .google_font {
    margin-top: 18px;
    }
}