/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.0
 Text Domain:  bricks
 */
 
 /* Restaura el tamaño de fuente base para que Tailwind funcione correctamente */
 html,
 body {
   font-size: 100% !important;
   font-family: "Inter", sans-serif;
   overflow-x: hidden; /* Evita el scroll horizontal en móviles */
  }
  
  /* Define fuentes con sus pesos. Lo ideal es agruparlas para evitar duplicidad. */
  @font-face {
    font-family: "Quantify";
    src: url("https://2.aroninasesores.com/wp-content/uploads/2025/08/Quantify.woff2") format("woff2"),
         url("https://2.aroninasesores.com/wp-content/uploads/2025/08/Quantify.woff") format("woff");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: "Page Grotesque";
    src: url("https://2.aroninasesores.com/wp-content/uploads/2025/07/PagesGrotesqueBlackDemo.woff2") format("woff2"),
       url("https://2.aroninasesores.com/wp-content/uploads/2025/07/PagesGrotesqueBlackDemo.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap; /* Mejora la carga de la fuente */
}

@font-face {
  font-family: "Page Grotesque";
  src: url("https://2.aroninasesores.com/wp-content/uploads/2025/07/PagesGrotesqueDemo.woff2") format("woff2"),
       url("https://2.aroninasesores.com/wp-content/uploads/2025/07/PagesGrotesqueDemo.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Page Grotesque";
  src: url("https://2.aroninasesores.com/wp-content/uploads/2025/07/PagesGrotesqueLightDemo.woff2") format("woff2"),
       url("https://2.aroninasesores.com/wp-content/uploads/2025/07/PagesGrotesqueLightDemo.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("https://2.aroninasesores.com/wp-content/uploads/2025/07/Inter24pt-Medium.woff2") format("woff2"),
       url("https://2.aroninasesores.com/wp-content/uploads/2025/07/Inter24pt-Medium.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Clases de fuente reutilizables */
.quantify { font-family: "Quantify", sans-serif; font-weight: 900; }
.grotesque-ebold { font-family: "Page Grotesque", sans-serif; font-weight: 900; }
.grotesque-bold { font-family: "Page Grotesque", sans-serif; font-weight: 700; }
.grotesque-regular { font-family: "Page Grotesque", sans-serif; font-weight: 400; }
.inter-regular { font-family: "Inter", sans-serif; font-weight: 400; }

/* Configuración de tipografía responsiva */
h1 {
  font-family: "Page Grotesque", sans-serif;
  font-weight: 900;
  font-size: 3rem;  
}
h2 {
  font-family: "Page Grotesque", sans-serif;
  font-weight: 700;
  font-size: 2.25rem;
}
h3 {
  font-family: "Page Grotesque", sans-serif;
  font-weight: 400;
  font-size: 1.875rem;
}
h4 {
  font-family: "Page Grotesque", sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
}

/* Optimiza los tamaños de fuente para móviles */
@media (max-width: 767px) {
  h1 {
    font-size: 2rem; /* Reduce el tamaño para que quepa en pantallas pequeñas */
  }
  h2 {
    font-size: 1.5rem; /* Reduce el tamaño de los subtítulos */
  }
  h3 {
    font-size: 1.25rem;
  }
  h4 {
    font-size: 1rem;
  }
}

/* Espacio luego de cada p y li (reorganizado)*/
p:not(:last-child), li:not(:last-child) {
  margin-bottom: 1em;
}

/* Contenedor responsivo */
.container {
  max-width: 1200px; /* Establece un ancho máximo en pantallas grandes */
  margin: 0 auto;    /* Centra el contenedor */
  padding: 0 1rem;   /* Espaciado horizontal para móviles */
}

/* Carrusel de Logos */
#brxe-knvcoz .gradient, #brxe-atgagt .gradient, #brxe-iuqgys .gradient, .gradient {
  mask: linear-gradient(90deg, transparent, black 20%, black 80%, transparent);
  -webkit-mask: linear-gradient(90deg, transparent, black 20%, black 80%, transparent);
}

#brxe-knvcoz .animate-slide-logos { animation: slide-logos 40s linear infinite; }
#brxe-iuqgys .animate-slide-logos, #brxe-atgagt .animate-slide-logos, .animate-slide-logos{ animation: slide-logos 15s linear infinite; }

@keyframes slide-logos {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Forzar dos líneas de texto (ajustado) */
.force-two-lines {
  width: 25ch; /* Aumenta el ancho para dar más flexibilidad */
  word-break: normal;
  overflow-wrap: break-word; /* Rompe palabras para evitar desbordamiento */
}

/* Estilo para la primera línea de un párrafo */
.first-line::first-line {
    font-weight: normal;
    font-size: 1.4em;
}

/* Sección con padding responsivo */
.section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

@media (max-width: 767px) {
    .section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

#brxe-oshrpf .jet-listing-dynamic-repeater__items {
    display: flex;
    flex-direction: column;
    gap: 0px;
}