.CTACard {
    width: 100%;
    background-color: #ccc;
    position: relative;
    overflow: hidden;
    display: grid;
    padding-top: 20px;
    container-type: inline-size;
}

.CTA_Background {
    position: absolute;
    inset: 0;
    background-image: url('/img/CTA_Background.png');
    background-size: cover;
    background-position: center;
    filter: blur(10px) brightness(1.2);
    -webkit-filter: blur(10px) brightness(1.2); /* Safari */
    z-index: 1;
    overflow: hidden;
}

.CTA_Content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    z-index: 2;
    margin: 0 auto
}

.CTA_Content .ImageBox {
    display: grid;
    justify-content: center;
    align-items: end;
    justify-items: center;
}

.CTA_Content .ImageBox .SideImg {
    width: 70%;
    height: 90%;
    object-fit: cover;
}

.CTA_Content .ContentBox {
    display: grid;
    gap: 30px;
    justify-content: center;
    justify-items: center;
    align-items: center;
    align-content: center;
    padding: 50px 0px;
}

.CTA_Content .ContentBox .CTA_Logo {
    width: 250px;
    height: auto;
    filter: drop-shadow(2px 2px 7px #fff);
}

.CTA_Content .ContentBox .ContentTitle {
    font-size: 1.4em;
    font-weight: bold;
    color: var(--PrimaryColor);
    text-align: center;
    filter: drop-shadow(2px 2px 7px #fff);
}
.CTA_Content .ContentBox .ContentText {
    color: var(--PrimaryColor);
    text-align: center;
    filter: drop-shadow(2px 2px 7px #fff);
}

.CTA_Content .ContentBox .CTA_Button {
    display: grid;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--SecondaryColor);
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid var(--SecondaryColor);
    padding: 10px 40px;
}
.CTA_Content .ContentBox .CTA_Button.Hidden {
    display: none;
}
.CTA_Content .ContentBox .CTA_Button .SubText {
    font-size: 12px;
    text-decoration: underline;
    text-align: center;
}
.CTA_Content .ContentBox .CTA_Button .MainText {
    font-size: 23px;
    font-weight: bold;
    text-align: center;
}
.CTA_Content .ContentBox .CTA_Button .MainText i {
    margin-left: 10px;
}

@container (max-width: 780px) {
    .CTA_Content {
        display: flex;
        flex-direction: column-reverse;
    }

    .CTA_Content .ImageBox .SideImg {
        width: 90%;
    }
}