/* markup: paragraph--image-text.html.twig */

/* .image-text-custom-basic {
  margin: 0 0 90px 0;
  padding: 0;

  .row {
    flex-direction: row-reverse;
    padding-top: 64px;
    padding-bottom: 80px;
  }

  .col-media {
    margin: 0;

    .field--type-entity-reference img {
      height: 400px;
      max-width: 100%;
      object-fit: cover;
    }
  }

  .col-text {
    margin: 0;
    padding-top: 0;
    padding-left: 12px;
    padding-right: 12px;

    .field--name-field-text {
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;

      p {
        text-align: left;
      }

      h2 {
        text-align: left;
        font-weight: 600;
        font-style: normal;
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 24px;
        color: var(--color-secondary-09);
      }
    }
  }
}

@media (max-width: 992px) {

  .image-text-custom-basic {
    .row {
      flex-direction: column-reverse;
    }
  }
} */

.image-text {
  font-size: 18px;
  line-height: 24px;
  text-align: left;
  padding-bottom: 32px;
  margin-bottom: 32px;
}

.image-text--type-2 .row,
.image-text--type-5 .row {
  flex-direction: row-reverse;
}

.image-text--type-3 {
  padding-bottom: 0 !important;
}

.image-text--type-3 .row {
  align-items: flex-start;
}

.image-text--type-3.image-text--color-1,
.image-text--type-3.image-text--color-2,
.image-text--type-3.image-text--color-3 {
  background-color: transparent;
}

.image-text--color-1,
.image-text--type-3.image-text--color-1 .col-text {
  background-color: var(--color-primary-01);
}

.image-text--color-2,
.image-text--type-3.image-text--color-2 .col-text {
  background-color: #EAEAEA45;
}

.image-text--color-3,
.image-text--type-3.image-text--color-3 .col-text {
  background-color: var(--color-white);
}

.image-text--type-3 .col-text {
  margin: -80px auto 0;
  padding: 48px;
  border-radius: 8px;
  position: relative;
  z-index: 1;
}

.image-text img {
  margin-bottom: 0;
}

.image-text p {
  font-size: 18px;
  line-height: 24px;
  font-family: 'neosans';
}

.image-text .col-media img {
  width: 100%;
  height: auto;
  display: block;
}

.image-text .col-text {
  font-size: 18px;
  line-height: 24px;
  color: var(--color-secondary-09);
  padding-top: 32px;
}

.image-text .block-title {
  font-family: neosans;
  font-size: 32px;
  font-weight: normal;
  font-style: normal;
  line-height: 40px;
  color: var(--color-primary-08);
  text-align: left;
  margin-top: 0;
  margin-bottom: 40px;
}

/* .image-text .block-title::before {
  content: "";
  width: 72px;
  height: 1px;
  background-color: var(--color-secondary-01);
  display: block;
  margin-bottom: 24px;
} */

.image-text .node-link {
  text-align: left;

  a {
    font-size: 16px;
    line-height: 24px;
    font-weight: normal;
    color: var(--color-primary-09);
    display: block;
    width: fit-content;
    position: relative;
    border: 1px solid var(--color-primary-09);
    padding: 10px 48px 10px 28px;
    border-radius: 100px;

    &::before {
      content: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.8558 7.62496H0.75V6.375H10.8558L6.10898 1.62819L6.99998 0.75L13.25 6.99998L6.99998 13.25L6.10898 12.3718L10.8558 7.62496Z' fill='%23681F24'/%3E%3C/svg%3E%0A");
      height: 14px;
      margin: 0;
      position: absolute;
      right: 10px;
      top: 16px;
    }
  }
}

/*.image-text .node-link a {
  font-size: 18px;
  line-height: 24px;
  border-bottom: none;
}

.image-text .node-link a::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='9' viewBox='0 0 24 9'%3E%3Ctitle%3EEnlace%3C/title%3E%3Cpath d='M23.94,4.21A.78.78,0,0,0,23.78,4L20,.22A.75.75,0,0,0,19,1.28l2.47,2.47H.75a.75.75,0,0,0,0,1.5H21.44L19,7.72a.75.75,0,0,0,0,1.06.75.75,0,0,0,1.06,0L23.78,5a.78.78,0,0,0,.16-.24A.73.73,0,0,0,23.94,4.21Z' style='fill:%230073ab'/%3E%3C/svg%3E");
  vertical-align: text-top;
  line-height: 18px;
  margin-right: 8px;
  display: inline-block;
  transition: all .35s;
}

.image-text .node-link a:hover::before {
  margin-left: 6px;
  margin-right: 2px;
}*/

@media only screen and (min-width: 768px) {

  .image-text {
    padding-bottom: 64px;
    margin-top: 128px;
    margin-bottom: 64px;
  }

  .image-text--type-4,
  .image-text--type-5 {
    padding-top: 64px;
  }

  .image-text--type-3,
  .image-text--type-4,
  .image-text--type-5 {
    margin-top: 0;
  }

  .image-text--type-4 .row,
  .image-text--type-5 .row {
    align-items: center;
  }

  .image-text--type-3 .col-text {
    margin-top: 128px;
    margin-left: -8.3333333333%;
  }

  .image-text .col-media {
    margin-top: -64px;
  }

  .image-text--type-3 .col-media {
    margin-top: 0;
    margin-left: 8.3333333333%;
  }

  .image-text--type-4 .col-media,
  .image-text--type-5 .col-media {
    margin-top: 0;
  }

  .image-text .col-text {
    padding-top: 64px;
  }

  .image-text--type-3 .col-text {
    color: var(--color-primary-08);
  }

  .image-text--type-4 .col-text,
  .image-text--type-5 .col-text {
    padding-top: 0;
  }
}

@media only screen and (min-width: 992px) {

  .image-text--type-1 .col-media {
    margin-right: 8.3333333333%;
  }

  .image-text--type-2 .col-text {
    margin-left: 8.3333333333%;
    margin-right: 8.3333333333%;
  }

  .image-text--type-4 .col-media {
    margin-right: 8.3333333333%;
  }

  .image-text--type-5 .col-media {
    margin-left: 8.3333333333%;
  }
}
