/* Paragraph "marcas IPLAN" — ver templates/paragraph--marcas-iplan.html.twig */

.marcas_iplan {
  padding: 16px;
}

.marcas_iplan_card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto;
  padding: 22px 16px;
  background: #EDF3FC;
  border-radius: 60px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  margin-top: 32px;
    max-width: 1308px;
}

.marcas_iplan_box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 365px;
  max-width: 100%;
  height: 110px;
  padding: 0 8px;
  background: transparent;
  border: 1px solid #A9B0BA;
  border-radius: 32px;
  box-sizing: border-box;
}

/* Los PNG (316x69) ya traen margen transparente alrededor del logo: se
   escalan al ancho de la caja, con tope de 240px. */
.marcas_iplan_img {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .marcas_iplan_card {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 270px;
    padding: 22px 52px;
  }

  .marcas_iplan_box {
    flex: 0 1 365px;
  }
}
