/**
 * Theme Name:     Hello Elementor Child
 * Author:         Elementor Team
 * Template:       hello-elementor
 * Text Domain:	   Hello Elementor Child
 * Description:    Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
 */
@media (max-width: 767px) {

  /* Contenedor de las seis tarjetas */
  .elementor .elementor-element.grid-flex-mobile {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;

    justify-content: flex-start !important;
    align-items: stretch !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;

    gap: 16px !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    scroll-snap-type: x proximity;
    padding-bottom: 16px !important;
  }

  /* Solo las tarjetas, sin afectar a sus contenedores internos */
  .elementor .elementor-element.grid-flex-mobile > .e-con {
    flex: 0 0 85% !important;

    width: 85% !important;
    min-width: 0 !important;
    max-width: none !important;

    margin-inline: 0 !important;
    box-sizing: border-box;

    scroll-snap-align: start;
  }

}

@media (max-width: 767px) {

  .elementor .elementor-element.grid-flex-mobile {
    margin-inline: 0 !important;

    padding-left: 16px !important;
    padding-right: 0 !important;

    /* Evitar que el navegador salte el espacio inicial */
    scroll-snap-type: none !important;
    scroll-padding: 0 !important;
  }

  .elementor .elementor-element.grid-flex-mobile > .e-con {
    scroll-snap-align: none !important;
    scroll-margin: 0 !important;
  }
  .elementor .elementor-element.grid-flex-mobile {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

.lwptoc_item {
    font-family: 'Instrument Sans';
    font-size: 14px;
    line-height: 18px;
    border-bottom: 1px solid #EAEEEF;
    padding: 8px;
    font-weight: 600;
}

.lwptoc_i {
    width: 100%;
    background-color: #1365DF !important;
    border-radius: 5px;
    color: #EAEEEF !important;
}

.lwptoc_item * {
    color: #EAEEEF !important;
}

b.lwptoc_title {
    font-family: 'Fraunces';
    font-size: 24px;
    line-height: 24px;
}

.lwptoc_header {
    border-bottom: 1px solid;
    padding-bottom: 16px;
    margin-bottom: 0;
}

nav.rank-math-breadcrumb p {
    margin-bottom: 0;
}

nav.rank-math-breadcrumb a:hover {
    color: #1365DF;
}

nav.rank-math-breadcrumb a {
    color: #0F2135;
}

nav.rank-math-breadcrumb .last {
    color: #1365DF !important;
}

nav.rank-math-breadcrumb * {
    font-size: 12px;
    line-height: 16px;
    font-family: 'Instrument Sans';
}

h2.wp-block-heading {
    font-family: 'Fraunces';
    font-size: 24px;
    line-height: 24px;
}

h3.wp-block-heading {
    font-family: 'Fraunces';
    font-size: 21px;
    line-height: 24px;
}

.elementor-widget-theme-post-content ul.wp-block-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 16px;
}

.elementor-widget-theme-post-content a {
    color:#1365DF;
}

.elementor-widget-theme-post-content a:hover {
    text-decoration: underline;
}

div#form-mensaje {
    background-color: #EAEEEF;
    border-radius: 5px;
    padding: 4px 16px;
    width: max-content;
}

.grecaptcha-badge {
    display: none !important;
}