/* ================= BASE ================= */

.banner-seccion {
  display: flex;
  gap: 40px;
  padding: 32px 0;
  border-bottom: 2px solid #dcdcdc;
  align-items: center;
  font-family: "Arial", "Helvetica", sans-serif;
}

/* ================= IMAGEN ================= */

.banner-imagen {
  width: 42%;
}

.banner-imagen img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.banner-seccion.img-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.banner-seccion.img-center .banner-imagen {
  width: 100%;
  max-width: 600px;
  margin-bottom: 20px;
}

.banner-seccion.img-center .banner-imagen img {
  max-height: 300px;
  object-fit: cover;
}

/* ================= CONTENIDO ================= */

.banner-contenido {
  width: 58%;
  max-width: 620px;
}

.banner-contenido h1 {
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  color: #7ac143;
  line-height: 1.2;
}

.banner-contenido h2 {
  color: #7ac143;
  font-size: 30px;
  margin-bottom: 18px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.banner-contenido p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #222;
  max-width: 560px;
}

/* Si el texto viene en varios <p> */
.banner-contenido p + p {
  margin-top: 8px;
}

/* ================= BOTÓN (si existe) ================= */

.banner-boton {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 22px;
  background-color: #7ac143;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.banner-boton:hover {
  background-color: #64a836;
}

/* ================= IMAGEN POSITION ================= */

.img-left {
  flex-direction: row;
}

.img-right {
  flex-direction: row-reverse;
}

.img-center {
  flex-direction: column;
  align-items: center;
}

.img-center .banner-imagen,
.img-center .banner-contenido {
  width: 100%;
  text-align: center;
}

.img-center .banner-contenido p {
  margin-left: auto;
  margin-right: auto;
}

/* ================= TITLE ALIGN ================= */

.title-left h1 {
  text-align: left;
}

.title-center h1 {
  text-align: center;
}

.title-right h1 {
  text-align: right;
}

/* ================= TEXT ALIGN ================= */

.text-left .banner-contenido {
  text-align: justify;
}

.text-center .banner-contenido {
  text-align: center;
}

.text-right .banner-contenido {
  text-align: justify;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .banner-seccion {
    flex-direction: column;
    gap: 20px;
  }

  .banner-imagen,
  .banner-contenido {
    width: 100%;
  }

  .banner-imagen img {
    max-height: 220px;
  }

  .banner-contenido h1 {
    font-size: 22px;
    text-align: center;
  }

  .banner-contenido p {
    font-size: 14px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

.node__submitted {
	display:none;
}

