.paragraph--type--hero-cards {
  @media (width > 1139px) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 2.5rem;
  }

  @media (width > 1439px) {
    display: block;
  }

  .paragraph--type--hero-card-reference {
    @media (width > 1139px) {
      margin: 0 !important;
    }

    @media (width > 1439px) {
      margin-bottom: 3rem !important;
    }
  }
}

.tour-card-hero {
  max-width: 90rem;
  margin: 0 auto;
  border-radius: 1.875rem;
  padding: 1.5rem;
  border: 1px solid #301B3C;
  background-color: #99DBF8;
  box-shadow: var(--shadow-large);

  @media (width > 700px) {
    border-radius: 2.5rem;
    padding: 2rem;
  }

  @media (width > 1139px) {
    height: 100%;
  }

  @media (width > 1439px) {
    border-radius: 3.75rem;
    padding: 3.75rem;
  }

  .hero-button {
    order: 2;
  }
}

.tour-card-hero__wrapper {
  display: flex;
  flex-direction: column;


  @media (width > 1439px) {
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
  }

  @media (width > 1439px) {
    gap: 3rem;
  }
}

.tour-card-hero__title h2,
.tour-card-hero__title h3,
.tour-card-hero__title h4 {
  font-size: 2.375rem;
  line-height: 1.2;
  margin-top: 1rem;
  margin-bottom: 0.75rem;

  @media (width > 700px) {
    font-size: 3.75rem;
    line-height: 1;
    margin-top: 2rem;
  }
}

.tour-card-hero__exerpt {
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 1rem;

  @media (width > 700px) {
    font-size: 1.5rem;
    line-height: 1.37;
  }

}

.tour-card-hero__image {

  @media (width > 1439px) {
    display: flex;
    width: 53.2%;
  }

  img {
    border-radius: 1.25rem;
    aspect-ratio: 690 / 542;
    object-fit: cover;
    width: 100%;
    height: 100%;

    @media (width > 1439px) {
      border-radius: 2.5rem;
    }
  }
}

.tour-card-hero__content {

  @media (width > 1439px) {
    width: calc(100% - 53.2%);
  }
}

.tour-card-hero__info {
  display: flex;
  flex-direction: column;

  @media (width > 700px) {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.tour-card-hero__info-wrapper {
  display: flex;
  order: 1;
  margin-bottom: 1.25rem;
  gap: 2rem;

  @media (width > 700px) {
    margin-bottom: 0;
  }
}

.tour-card-hero__info-time,
.tour-card-hero__info-amount {
  font-size: 1.25rem;
  font-family: 'DIN Next LT Pro Medium Condensed';
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;

  @media (width > 700px) {
    font-size: 1.5rem;
  }
}

.tour-card-hero__info-amount {
  display: flex;
  gap: 0.3rem;
}

.tour-card__info-amount-currency {
  font-family: 'DIN Next LT Pro Light Condensed';
}

.tour-card-hero__info-icon {
  svg {
    display: block;
  }
}

.icon-rib-boat {
  display: none;
}

.rib_boat {
  .icon-ship {
    display: none;
  }

  .icon-rib-boat {
    display: block;
  }
}

.tour-card-hero__info-duration,
.tour-card-hero__info-price {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.tour-card-hero__label {
  font-size: 1.5rem;
  font-family: 'DIN Next LT Pro Medium Condensed';
  font-weight: 500;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.tour-card-hero__footer {
  margin-top: 1.5rem;
}

.tour-card-hero__schedule {
  .field--name-field-date {
    font-size: 1.125rem;
    font-family: 'DIN Next LT Pro Light Condensed';
    text-transform: uppercase;

    @media (width > 760px) {
      font-size: 1.25rem;
    }
  }
}

.paragraph--type--hero-cards>div:nth-child(2) {
  .tour-card-hero__image {
    @media (width > 1439px) {
      order: 2;
    }
  }

  .tour-card-hero__content {
    display: flex;
    flex-direction: column;

    @media (width > 1439px) {
      align-items: flex-end;
      text-align: right;
    }
  }

  .tour-card-hero__info {
    @media (width > 1439px) {
      align-self: stretch;
      justify-content: flex-end;
    }
  }

  .hero-button {
    order: 2;
  }
}