/* temporary fixes for xr services page */

/* .bg-light-blue p,
.bg-blue p,
.blue-light-bg p {
    color: white;
}

#mce-responses {
    display: none !important;
}

#mc_embed_signup_submit_wrap {
    margin-right: 0;
}

.row {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cat_list_wrap .cat_list_item {
    display: grid;
    margin-bottom: 20px;
    background: #FCFCFC;
    box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.05);
    border-radius: 14px;
    overflow: hidden;
    border: none;
}

figure.wp-caption {
    border: none !important;
}

figure.wp-caption img {
    border: solid 2px var(--bg-light-gray-2) !important;
}

.wp-caption-text {
    background: white !important;
}

.btn-yellow {
    color: var(--ee-blue) !important;
}

@media screen and (min-width: 767px) {
    #mc_embed_signup_scroll .mc-field-group {
        display: flex !important;
    }
    .mc-field-group:has(#mce-EMAIL) {
        width: calc(100% - 156px - 1rem);
    }
} */
/* end temporary fixes */

.xr-services p {
    font-family: Nunito Sans,sans-serif;
}

figcaption {
    font-size: .75rem;
}

.xr-blue-bg { background-color: var(--ee-blue); }
.xr-white-bg { background-color: white; }
.xr-light-gray-bg { background-color: var(--bg-light-gray); }
.xr-gray-bg { background-color: var(--bg-light-gray-2); }

.xr-white-bg,
.xr-light-gray-bg,
.xr-gray-bg,
.xr-blue-bg {
    padding: 40px 20px;
}

.xr-blue-bg > *,
.xr-white-bg > *,
.xr-light-gray-bg > *,
.xr-gray-bg > * {
    max-width: 800px;
    display: block;
    margin: 0 auto;
}

.xr-blue-bg * {
    color: white !important;
}

.xr-services h2 {
    margin-bottom: 16px;
    text-align: center;
}

.xr-white-bg h2,
.xr-light-gray-bg h2,
.xr-gray-bg h2 {
    color: var(--ee-blue);
}

.xr-services .blog-card-text {
    display: flex;
    align-items: center;
}

.meetup {
    position: relative;
}

.meetup > div {
    display: grid;
    max-width: 1048px;
    margin: 0 auto;
    gap: 48px;
}

.text-highlight {
    color: var(--highlight-blue);
    font-family: 'Lato', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

div:has(>.vr-img) {
    position: relative;
    margin-top: 20vw;
    padding-top: 70vw;
}

.vr-img {
    width: 80%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -20vw;
}

.xr-services p:not(:last-child) {
    margin-bottom: 16px;
}

.xr-services figure:has(figcaption) img {
    border-radius: 24px;
}

.xr-services .ee-blog-container {
    padding: 0;
}

.logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 40px;
    column-gap: 80px;
}

.xr-meetup-card {
    margin: auto;
    max-width: 400px;
    height: fit-content;
}

.xr-meetup-card:has(a:focus) {
    box-shadow: var(--focus-border);
}

.xr-services .round-btn-container {
    margin: 40px auto 0;
}

@media only screen and (min-width: 330px) {
    div:has(>.vr-img) { padding-top: 60vw; }
}

@media only screen and (min-width: 410px) {
    div:has(>.vr-img) { padding-top: 50vw; }
}

@media only screen and (min-width: 480px) {
    div:has(>.vr-img) { padding-top: 45vw; }
}


@media only screen and (min-width: 615px) {
    div:has(>.vr-img) { padding-top: 40vw; }
}

@media only screen and (min-width: 900px) {
    .vr-img {
        max-width: 600px;
        top: -115px;
    }

    div:has(>.vr-img) {
        margin-top: 115px;
        padding-top: 340px;
    }
}

@media only screen and (min-width: 840px) {
    .xr-services div:has(.xr-meetup-card) .round-btn-container {
        margin: 0;
        position: absolute;
        bottom: 100px;
    }

    .xr-gray-bg:has(.xr-meetup-card) {
        padding: 100px 20px;
    }

    .xr-gray-bg.meetup > div > div p:last-child {
        margin-bottom: 6rem !important;
    }

    .meetup > div {
        grid-template-columns: 1fr auto;
        max-width: 1048px;
    }
}

/* larger screens */
@media only screen and (min-width: 1280px) {
    .xr-white-bg,
    .xr-light-gray-bg,
    .xr-gray-bg,
    .xr-blue-bg {
        padding: 100px 0;
    }

    .xr-services h2 {
        line-height: 1.2;
        margin-bottom: 40px;
    }

    .xr-services p:not(:last-child) {
        margin-bottom: 28px;
    }

    .logos {
        flex-direction: row;
        justify-content: space-between;
    }
}


@media (max-width: 650px) {
    .xr-services .ee-banner {
        height: 140px;
        min-height: unset;
        border-radius: 0 0 80px 80px;
    }
}