.layout-container > header {
  z-index: 100;
}



.container {
  max-width: 1600px;
}
/*
h1 {
  font-size: clamp(32px, 5vw, 75px);
  line-height: 85px;
  font-weight: 500;
}*/

h2 {
  font-size: 42px;
  line-height: 58px;
  font-weight: 500;
}

h3 {
  font-size: 32px;
  line-height: 46px;
  font-weight: 300;
}

h4 {
  font-size: 26px;
  line-height: 36px;
  font-weight: 300;
}

p {
  font-size: 16px;
  line-height: 28px;
  font-weight: 300;
}

.preamble {
  font-size: 20px;
  line-height: 34px;
}

.main-link {
  font-weight: 300;
  transition: text-decoration ease-in 1s;
}

.arrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.5em;
  width: 1.8em;
  height: 1.8em;
  background-color: #f03;
  color: #FFF;
  border-radius: 50%;
  font-size: 0.8em;
  line-height: 1;
}

.main-button {
  display: block;
  background-color: #ED002F;
  border-radius: 30px;
  color: #FFF;
  font-weight: 500;
  font-size: 16px;
  padding: 15px;
  max-width: 200px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.main-button:hover {
  background-color: #BF0026;
  color: #FFF;
}

.secondary-button {
  background-color: #FFF;
  border-radius: 30px;
  color: #000;
  font-size: 21px;
}

li {
  font-weight: 300;
}

.block-appearance {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.block-appearance.visible {
  opacity: 1;
  transform: translateY(0);
}

.block6-6 img {
  border-radius: 30px;
}

.red-background-card {
  background: #EC173C;
  background: linear-gradient(45deg, rgba(236, 23, 60, 1) 0%, rgba(63, 0, 11, 1) 88%);
}

.red-background-card .content-box {
  border: 1pt solid #FFF;
  border-radius: 30px;
  text-align: center;
}

.red-background-card .content-box h2 {
  color: #FFF;
}

.red-background-card .content-box h3 {
  color: #FFF;
}

.red-background-card .content-box p {
  color: #FFF;
}

.background-card .content-box {
  background-image: url('/sites/cl/files/flmngr/protege-lo-que-mas-quieres-cra.webp');
  background-size: cover;
  background-position: center;
  text-align: center;
  border-radius: 30px;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.background-card .content-box .rapid-logo {
  position: absolute;
  width: 120px;
  top: 30px;
  right: 30px;
}

.background-card .content-box h2 {
  color: #FFF;
}

.background-card .content-box h3 {
  color: #FFF;
}

.background-card .content-box p {
  color: #FFF;
}

.awards-block .awards-card {
  background-color: #f1f1f1;
  border-radius: 30px;
}

.back-to-top {
    bottom: 10px;
    right: 10px;
}

@media (max-width: 768px) {
  .background-card .content-box {
    background-position: right;
    border-radius: 0px;
  }

  .background-card .content-box .rapid-logo {
    width: 80px;
    top: 15px;
    right: 15px;
  }
    h2 {
       font-size: 28px;
       line-height: 30px;
}
  h3 {
       font-size: 22px;
       line-height: 30px;
}
  h4 {
       font-size: 20px;
       line-height: 30px;
}
  
}

  .double-card-block {
    background-color: #F1F1F1;
    text-align: center;
  }

  .double-card-block .first-column .double-card-copy {
    background-color: #FFF;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    min-height: 300px;
    padding: 5rem;
  }

  .double-card-block .first-column .double-card-img {
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    max-height: 472px;
    object-fit: cover;
  }

  .double-card-block .second-column .double-card-copy {
    background-color: #FFF;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    min-height: 300px;
    padding: 5rem;
  }

  .double-card-block .second-column .double-card-img {
    object-fit: cover;
  }

  .double-card-block .video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
  }

  .double-card-block .video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .double-card-block .first-column .arrow-icon,
  .double-card-block .second-column .arrow-icon {
    position: absolute;
    width: 35px;
    height: 35px;
    font-size: 1rem;
    bottom: 30px;
    right: 40px;
  }

  @media (min-width: 992px) {
    .double-card-block .row {
      display: flex;
      align-items: stretch;
    }

    .double-card-block .first-column,
    .double-card-block .second-column {
      display: flex;
      flex-direction: column;
    }

    .double-card-block .double-card-copy {
      flex-grow: 1;
    }

    .first-column .video-wrapper {
      border-bottom-left-radius: 30px;
      border-bottom-right-radius: 30px;
    }

    .second-column .video-wrapper {
      border-top-left-radius: 30px;
      border-top-right-radius: 30px;
    }
  }

  @media (max-width: 992px) {

    .double-card-block .first-column,
    .double-card-block .second-column {
      display: flex;
      flex-direction: column;
    }

    .double-card-block .first-column {
      flex-direction: column-reverse;
    }

    .double-card-block .first-column .double-card-img,
    .double-card-block .second-column .double-card-img {
      border-top-left-radius: 30px;
      border-top-right-radius: 30px;
      border-bottom-left-radius: 0;
      border-bottom-right-radius: 0;
    }

    .double-card-block .first-column .double-card-copy,
    .double-card-block .second-column .double-card-copy {
      border-bottom-left-radius: 30px;
      border-bottom-right-radius: 30px;
      border-top-left-radius: 0;
      border-top-right-radius: 0;
    }

    .double-card-block .first-column {
      margin-bottom: 2rem;
    }

    .first-column .video-wrapper,
    .second-column .video-wrapper {
      border-top-left-radius: 30px;
      border-top-right-radius: 30px;
    }
  }
  
  
  .cards-block {
    background-color: #f1f1f1;
  }

  .cards-block .card-image {
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    width: 100%;
  }

  .cards-block .card-text {
    background-color: #fff;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    position: relative;
    padding-bottom: 60px !important;
  }

  .cards-block .arrow-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
  }