.aetf-delivery-cards {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 80px;
  font-family: "Allianz Neo", sans-serif;
  color: #3c3c3c;
}

.c-agi-tile--negative.t-bg-rich-petrol {
  background-color: #122b54;
}

.aetf-delivery-cards__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.aetf-delivery-cards__card {
  border: 1px solid #dfeff2;
  padding: 32px 28px 36px;
  min-height: 260px;
  text-align: left;
}

.aetf-delivery-cards__icon {
  display: block;
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
}

.aetf-delivery-cards__title-wrap {
  margin-bottom: 24px;
}

.aetf-delivery-cards__card-title {
  margin: 0 0 12px;
  color: #003781;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 400;
}

.aetf-delivery-cards__title-track {
  display: block;
  width: 72px;
  height: 3px;
  overflow: hidden;
}

.aetf-delivery-cards__title-line {
  display: block;
  width: 72px;
  height: 3px;
  background: #f86200;
  transform: scaleX(0);
  transform-origin: left center;
}

/* Initial state */

.aetf-delivery-cards.is-sequence-playing .aetf-delivery-cards__title-line {
  transform: scaleX(0);
}

.aetf-delivery-cards.is-sequence-finished .aetf-delivery-cards__card.is-line-rest .aetf-delivery-cards__title-line {
  transform: scaleX(0);
}

/* Initial auto animation */

.aetf-delivery-cards.is-sequence-playing
  .aetf-delivery-cards__card:nth-child(1)
  .aetf-delivery-cards__title-line {
  animation: aetf-title-line-card-1 3.5s ease-in-out 3;
}

@keyframes aetf-title-line-card-1 {
  0%, 20% {
    transform: scaleX(0);
  }

  30%, 45% {
    transform: scaleX(1);
  }

  55%, 75% {
    transform: scaleX(0);
  }

  100% {
    transform: scaleX(0);
  }
}

/* Hover animation */

.aetf-delivery-cards.is-sequence-finished .aetf-delivery-cards__card.is-line-in .aetf-delivery-cards__title-line {
  transform: scaleX(1);
  transition: transform 450ms ease;
}

.aetf-delivery-cards.is-sequence-finished .aetf-delivery-cards__card.is-line-out .aetf-delivery-cards__title-line {
  transform: scaleX(0);
  transition: transform 450ms ease;
}

.aetf-delivery-cards__card-text {
  font-size: 18px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .aetf-delivery-cards__grid {
    grid-template-columns: 1fr;
  }

  .aetf-delivery-cards__card {
    min-height: auto;
  }
}

/* Distributor section */

.rte-distributors-block {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-color: #d7e9ef;
    padding: 48px 0 32px;
}

.rte-distributors-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

.rte-distributors-block h2 {
    color: #3c3c3c;
    font-size: 40px;
    line-height: 48px;
    letter-spacing: .3px;
    font-weight: 300;
    text-align: center;
    margin: 0 0 12px;
}

.rte-distributors-block p {
    color: #3c3c3c;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    padding: 0 94px;
    margin: 0 0 40px;
}

.rte-distributors-buttons {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.rte-distributors-button {
    flex: 1;
    text-align: center;
}

.rte-distributors-button a.c-button {
    display: inline-block;
    background-color: #007ab3;
    color: #fff !important;
    border: 2px solid transparent;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .1rem;
    line-height: 24px;
    padding: 10px 32px;
    text-transform: uppercase;
    text-decoration: none;
    min-width: 190px;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease;
}

.rte-distributors-button a.c-button:hover,
.rte-distributors-button a.c-button:focus {
    background-color: #006192;
    color: #fff !important;
    border-color: #006192;
    text-decoration: none;
}

@media (max-width: 767px) {
    .rte-distributors-block p {
        padding: 0;
    }

    .rte-distributors-buttons {
        flex-direction: column;
        gap: 20px;
    }
}