.guides-cta__headline {
  margin-bottom: var(--spacer);
}

.guides-cta__buckets {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacer);
}

@media (min-width: 768px) {
  .guides-cta__buckets {
    flex-wrap: nowrap;
  }
}

.guides-cta__bucket {
  display: block;
  position: relative;
  width: calc(50% - var(--spacer) / 2);
  max-width: calc(50% - var(--spacer) / 2);
  transition:
    width 0.3s ease-in-out,
    max-width 0.3s ease-in-out;
  overflow: hidden;
}

.guides-cta__bucket__image {
  width: 100%;
  height: 100%;
  border-radius: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: brightness(45%);
}

@media (min-width: 768px) {
  .guides-cta__bucket__image {
    filter: brightness(100%);
  }
}

@media (min-width: 768px) {
  .guides-cta__bucket {
    width: 100%;
    max-width: 100%;
  }

  .guides-cta__bucket.inactive-0 {
    width: 20.25%;
    max-width: 20.25%;
  }

  .guides-cta__bucket.inactive-1 {
    width: 11.4%;
    max-width: 11.4%;
  }

  .guides-cta__bucket.inactive-2 {
    width: 5.5%;
    max-width: 5.5%;
  }

  .guides-cta__bucket.active .guides-cta__bucket__content {
    opacity: 1;
    scale: 1;
  }

  .guides-cta__bucket.active .guides-cta__bucket__image {
    filter: brightness(45%);
  }
}

.guides-cta__bucket__content {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  transform: translateY(-50%);
  transition: all 0.6s ease-in-out;
  text-align: center;
  transform-origin: center center;
  zoom: 0.5;
}

@media (min-width: 768px) {
  .guides-cta__bucket__content {
    opacity: 0;
    scale: 0;
    zoom: 1;
  }
}

.guides-cta__bucket__content svg {
  width: 1rem;
  height: 1rem;
  margin: var(--spacer) auto 0;
  object-fit: contain;
  fill: var(--white);
  transition: var(--transition);
}

.guides-cta__bucket:focus svg,
.guides-cta__bucket:hover svg {
  rotate: -90deg;
}

.guides-cta__bucket__eyebrow {
  margin-bottom: 0.75rem;
  color: var(--white);
}

.guides-cta__bucket__headline {
  margin-bottom: 0;
  color: var(--white);
}

@media (min-width: 768px) {
  .guides-cta__content-wrapper {
    grid-column: 1 / 3;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .guides-cta__buckets {
    grid-column: 3 / 6;
  }
}
