/* Image Text Overlay Pattern Styles */
.image-text-overlay-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
    background-color: var(--color-white);
    padding: 150px 0 100px 100px;
}

.image-text-overlay-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 250px;
    max-width: 970px;
    margin: 0 auto;
    padding: 0;
}

.image-text-overlay-background {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    margin: 0;
}

.image-text-overlay-background img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-text-overlay-woman {
    position: absolute;
    left: -100px;
    bottom: -4px;
    z-index: 2;
    max-width: 310px;
    margin: 0;
}

.image-text-overlay-woman img {
    width: 100%;
    height: auto;
    display: block;
}

.image-text-overlay-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
}

.image-text-overlay-text {
    color: white;
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 3.0rem;
    margin: 0 0 2rem 0;
}

.image-text-overlay-button-container {
    margin: 0;
    justify-content: center;
}

.image-text-overlay-button .wp-block-button__link {
    background-color: var(--color-yellow);
    color: var(--color-nav-gray);
    border: 2px solid var(--color-yellow);
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.image-text-overlay-button .wp-block-button__link:hover {
    background-color: var(--color-red);
    color: var(--color-yellow);
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {

    .image-text-overlay-container {
        max-width: 800px;
    }

    .image-text-overlay-content {
        max-width: 70%;
        padding: 0 4% 0 11%;
    }
}

@media screen and (max-width: 768px) {

    .image-text-overlay-wrapper {
        padding: 360px 0 245px;
    }

    .image-text-overlay-container{
        position: absolute;
        max-width: 100%;
        width: 100%;
        background-color: var(--color-red);
        flex-direction: column;
    }
    .image-text-overlay-background {
        display: none;
    }
    .image-text-overlay-woman {
        left: auto;
        bottom: 245px;
        margin: 0 0 0 -40px;
    }
    .image-text-overlay-content {
        padding: 0 10%;
        max-width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .image-text-overlay-content {
        padding: 0 5%;
    }

    .image-text-overlay-text {
        color: white;
        font-size: 2rem;
        font-weight: 600;
        line-height: 2.6rem;
        margin: 0 0 1rem 0;
    }
}

