.collection-banner {
  margin-top: 100px;
  margin-bottom: 120px;
}

.collection-header {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  font-family: "Gilroy";
  display: flex;
  flex-direction: column;
  gap: 16px 0;
  padding-bottom: 50px;
}
.collection-header .collection-subtitle {
  font-size: 34px;
  text-transform: uppercase;
  font-weight: "Gilroy";
}
.collection-header .collection-title {
  font-size: 30px;
  font-weight: 900;
  text-transform: uppercase;
  font-family: "Gilroy";
}
.collection-header .collection-description {
  font-size: 20px;
  font-family: "Gilroy";
  letter-spacing: -1px;
}

.collection-banner {
  position: relative;
}
.collection-banner img {
  width: 100%;
  height: 675px;
  object-fit: cover;
  object-position: top;
}

.collection__action-card {
  position: absolute;
  bottom: 0;
  padding: 18px;
  box-sizing: border-box;
  max-width: 428px;
  width: 100%;
  color: var(--dark);
}
.collection__action-card .card-title {
  font-size: 40px;
  text-transform: uppercase;
}
.collection__action-card .card__info-text {
  font-family: "Gilroy";
  font-size: 18px;
  text-transform: uppercase;
}
.collection__action-card a {
  text-transform: uppercase;
}
.collection__action-card a svg {
  margin-left: 10px;
}

.card__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 16px 0;
  font-family: "Gilroy";
}

.card__overlay {
  bottom: 0;
  left: 0;
  height: 0;
  width: 100%;
  background-color: #fff;
  position: absolute;
  transition: 0.2s ease-in;
  z-index: 1;
}

.collection-banner-wrapper:hover .card__overlay {
  height: 100%;
}

@media only screen and (min-width: 1440px) {
  .collection-banner img {
    height: 1000px;
  }
}
@media only screen and (max-width: 1024px) {
  .collection-banner img {
    height: 500px;
  }
}
@media only screen and (max-width: 992px) {
  .collection-banner {
    margin: 50px 0;
  }
}
@media only screen and (max-width: 767px) {
  .collection__action-card {
    position: static;
  }
  .card__overlay {
    height: 0 !important;
  }
  .collection-banner img {
    height: 450px;
  }
  .collection-header .collection-title {
    font-size: 24px;
  }
  .collection__action-card {
    max-width: 100%;
  }
  .collection__action-card .card-title {
    font-size: 32px;
  }
}
@media only screen and (max-width: 576px) {
  .collection-banner img {
    height: 350px;
  }
}
@media only screen and (max-width: 552px) {
  .collection-header {
    padding: 20px;
  }
  .collection-header .collection-title {
    font-size: 20px;
  }
  .collection-header .collection-description {
    font-size: 16px;
  }
}
