@font-face {
  font-family: 'Chronicle Display';
  src: url('/avantages-exclusifs/assets/fonts/Chronicle-Display-Roman.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham Book';
  src: url('/avantages-exclusifs/assets/fonts/Gotham-Book.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

body {
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #000;
  font-family: 'Gotham Book', sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.main-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch; /* Fuerza altura igual */
  min-height: 100vh;
  padding: 20px;
  gap: 40px;
  box-sizing: border-box;
}

.image-container,
.text-container {
  width: 50%;
  max-width: 600px;
  box-sizing: border-box;
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: stretch; /* Imagen iguala altura del texto */
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Recorta si es necesario */
  display: block;
  border-radius: 4px;
}

.text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  height: 100%;
}

.text-container p {
  margin-bottom: 1.5em;
  text-align: center;
}

.intro {
  font-family: 'Chronicle Display', serif;
  font-style: italic;
  font-weight: bold;
  font-size: 1.5em;
  margin-top: 0 !important;
  

}

.welcome {
  font-family: 'Chronicle Display', serif;
  font-style: normal;
  font-size: 1.8em;
  margin-bottom: 0.0em !important;
}

.bottom-image {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bottom-image img {
  max-width: 300px;
  height: auto;
}

/* Invertir orden: texto a la izquierda, imagen a la derecha */
.main-container.reverse {
  flex-direction: row-reverse;
}

.main-container.column {
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.main-container.column .image-container,
.main-container.column .text-container {
  width: 100%;
  max-width: 700px;
}


@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
    height: auto;
    padding: 20px;
  }

  .image-container,
  .text-container {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
  }

  .text-container {
    text-align: center;
    padding: 0;
  }

.welcome {
  font-size: 1.0em;
  margin-bottom: 0.0em !important;
 }
.intro {
  font-size: 1.1em;
  margin-top: 0 !important;
 }
}
