.prayer-book-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 14rem;
    margin: 3rem 0;
    padding: 2.5rem 2rem;
    color: #fff;
    text-align: center;
    isolation: isolate;
}

.prayer-book-cta::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background: #086ba1 url("../images/prayer-book-banner.png") center / cover no-repeat;
    -webkit-mask: url("../images/blue_button.png") center / 100% 100% no-repeat;
    mask: url("../images/blue_button.png") center / 100% 100% no-repeat;
}

.prayer-book-cta__content {
    width: 100%;
}

.prayer-book-cta__title {
    margin: 0 0 0.5rem;
    color: #fff;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.prayer-book-cta__subtitle {
    margin: 0;
    font-family: "Roboto Serif", serif;
    font-size: 1rem;
    line-height: 1.5;
}

.prayer-book-cta .prayer-book-cta__button {
    display: inline-block;
    max-width: 100%;
    margin-top: 1.125rem;
    border-radius: 0.25rem;
    padding: 0.375rem 1.75rem;
    background: #f6b900;
    color: #fff;
    font-family: "Roboto Serif", serif;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.125em;
    line-height: 1.3;
    text-decoration: none;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.prayer-book-cta .prayer-book-cta__button:hover,
.prayer-book-cta .prayer-book-cta__button:focus-visible {
    background: #ffd04a;
    color: #341412;
}

.prayer-book-cta__button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

@media (max-width: 575px) {
    .prayer-book-cta {
        margin: 2rem 0;
        padding: 2.5rem 1.5rem;
    }
}

@media (width < 400px) {
    .prayer-book-cta {
        aspect-ratio: 1;
    }

    .prayer-book-cta::before {
        background: #086ba1;
        -webkit-mask: none;
        mask: none;
    }
}
