/* ||||||||||||||||||||||||||||||||||||||||||||||||*/
/* ESB Section Schedule CTA */
/* ||||||||||||||||||||||||||||||||||||||||||||||||*/

.esb-schedule-cta {
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 244px 1fr;
  align-items: center;
  --color-scheme: #afafaf;
  background: repeating-radial-gradient(
      circle at 30vw 150px,
      rgb(from var(--color-scheme) r g b / 0),
      rgb(from var(--color-scheme) r g b / 0) 10px,
      rgb(from var(--color-scheme) r g b / 0.04) 10px,
      rgb(from var(--color-scheme) r g b / 0.04) 20px
    ),
    linear-gradient(
      180deg,
      rgb(from var(--color-scheme) r g b / 0.03),
      rgb(from var(--color-scheme) r g b / 0.01)
    );
}
.esb-schedule-cta.esb-bg-offwhite {
  border: 1px solid var(--LightGrey2);
}

.esb-schedule-cta__image {
  position: relative;
  min-height: 140px;
  height: 100%;
}

.esb-schedule-cta__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 35px 35px 35px 48px;
}

.esb-schedule-cta__content p {
  margin-bottom: 0;
}

.esb-schedule-cta__content .btn {
  flex-shrink: 0;
  margin-left: auto;
}

/* ------------------------------------------------ */
/* Desktop Large and Down */
/* ------------------------------------------------ */

@media (max-width: 1919px) {
  .esb-schedule-cta__content {
    padding-left: 30px;
  }
}

/* ------------------------------------------------ */
/* Desktop Smaller and Down */
/* ------------------------------------------------ */

@media (max-width: 1439px) {
  .esb-schedule-cta__content {
    flex-direction: column;
    align-items: flex-start;
    padding: 25px 25px 25px 30px;
  }

  .esb-schedule-cta__content .btn {
    margin: 0;
  }
}

/* ------------------------------------------------ */
/* Mobile */
/* ------------------------------------------------ */

@media (max-width: 767px) {
  .esb-schedule-cta {
    grid-template-columns: 1fr;
    border-radius: 6px;
  }

  .esb-schedule-cta__image {
    aspect-ratio: 16/9;
  }

  .esb-schedule-cta__content {
    padding: 20px;
  }
}
