/* ===== Offers Section ===== */

.offers {
  padding-top: 0;
  background: var(--color-background);
}

.offers__content {
  text-align: center;
}

.offers__accent {
  margin: 0;
  font-size: 1.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.offers__title {
  margin: 1.6rem 0 0;
  color: var(--color-font);
}

.offers__description {
  margin: 2.4rem auto 0;
  max-width: 68ch;
  font-size: 1.6rem;
  line-height: 1.75;
  color: var(--color-light-grey);
}

.offers__button {
  margin-top: 2.8rem;
  margin-inline: auto;
  align-self: center;
}

.offers__content > .offers__card {
  margin-top: 5.6rem;
  margin-inline: auto;
}

.offers__grid {
  margin-top: 5.6rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  justify-items: center;
}

.offers__card {
  position: relative;
  width: min(100%, 980px);
  min-height: 30rem;
  padding: 2rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.offers__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.offers__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offers__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--color-overlay);
}

.offers__card-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  width: min(100%, 92rem);
  padding-inline: 2rem;
}

.offers__card-title {
  margin: 0;
  font-size: clamp(3rem, 1.721vw + 2.449rem, 4.8rem);
  line-height: 1.05;
}

.offers__card-description {
  margin: 1.2rem auto 0;
  font-size: clamp(1.6rem, 0.574vw + 1.416rem, 2.2rem);
  line-height: 1.35;
}

.offers__card-button {
  margin-top: 2.8rem;
  margin-inline: auto;
  align-self: center;
}

/* ===== End Offers Section ===== */