/**
 * Image CTA Block Styles
 */

.block-image-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
}

@media screen and (max-width: 1024px) {
  .block-image-cta {
        height: 31.4375em;
        min-height: 100% !important;
    }
}

.block-image-cta__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.block-image-cta__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 2;
}

.block-image-cta__eyebrow {
    margin-bottom: 2.125em;
}

.block-image-cta__content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2em;
    z-index: 3;
    color: var(--color-primary);
}

.block-image-cta__icon {
    width: auto;
    height: 3em;
    margin-bottom: 1.5em;
    object-fit: contain;
}

.block-image-cta__title {
    max-width: 14em;
    margin-bottom: 1.5em;
}

.block-image-cta__button {
    color: var(--color-primary);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    height: 3.125em;
    padding: 0px 2.5em;
    border-radius: 0.375em;
    background: transparent;
    transition:
    backdrop-filter 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.block-image-cta__button:hover {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

.block-image-cta__button svg circle {
    fill: var(--color-primary);
}

.block-image-cta__button svg path {
    fill: var(--color-secondary);
}

/* Tablet */
@media screen and (max-width: 1024px) {
    .block-image-cta__title {
        max-width: 100%;
    }
}

/* Mobile */
@media screen and (max-width: 1024px) {
    .block-image-cta {
        min-height: 100vh;
    }

    .block-image-cta__content {
        padding: 1.5em;
    }

    .block-image-cta__icon {
        height: 2.5em;
    }
}
