#content {
    background: var(--opacity-blue);
}
#content:has(.steps-wrapper:last-child) {
    padding-bottom: 130px;
}
#content:has(.bottom-banner) {
    padding-bottom: 0 !important;
}
.title-and-search {
    padding: 40px 0;
}
.title-and-search .ca-main-title {
    margin-bottom: 53px;
}
.title-and-search .ca-search-bar {
    max-width: 642px;
    margin: 0 auto;
}
.title-and-search .ca-search-bar:after {
    display: none;
}
.title-and-search .ca-search-bar .search-input {
    padding-left: 20px;
}

.main-content-wrapper {
    padding: 56px 0 10px;
}
#content:has(.steps-wrapper) .main-content-wrapper {
    padding-bottom: 90px;
}
.main-content-wrapper .main-content-title {
    margin-bottom: 90px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    text-align: center;
}
.main-content-wrapper .entry-content {
    font-size: 20px;
}
.main-content-wrapper .entry-content h2,
.main-content-wrapper .entry-content h3 {
    font-size: 20px;
    font-weight: 700;
}
.main-content-wrapper .entry-content p {
    margin-bottom: 30px;
}

.steps-wrapper {
    flex-direction: column;
    gap: 153px;
    position: relative;
    margin-bottom: 80px;
}
.steps-wrapper + .steps-wrapper {
    margin-top: 153px;
}
.steps-wrapper.steps-with-numbers:before {
    content: '';
    position: absolute;
    top: -30px;
    left: calc(97px / 2 - 1.5px);
    bottom: -8px;
    width: 3px;
    background: #DFE5E5;
}
.steps-wrapper .indicator {
    position: absolute;
    top: -37.5px;
    left: calc(97px / 2 - 7.5px);
    z-index: 1;
    width: 15px;
    height: 15px;
    background: var(--ca-gradient);
    border-radius: 50%;
    transition: transform .5s ease;
}
.steps-wrapper:has(.active-bar + .step-item.active) .indicator {
    transform: translateY(0) !important;
}
.steps-wrapper .active-bar {
    position: absolute;
    top: -30px;
    left: calc(97px / 2 - 1.5px);
    width: 3px;
    background: linear-gradient(to bottom, transparent 0%, #65D4EA 15%, #0288D1 50%, #65D4EA 85%, transparent 100%);
}
.steps-wrapper .step-item {
    justify-content: space-between;
    align-items: center;
}
.steps-wrapper .step-item .step-number {
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    width: 97px;
    height: 97px;
    font-size: 62px;
    line-height: 35px;
    background: #DFE5E5;
    color: #fff;
    border-radius: 50%;
}
.steps-wrapper .step-item .step-item-title {
    width: auto; 
    margin-right: 80px;
    font-size: 40px;
    line-height: 1.22;
    color: #DFE5E5;
    transition: color .5s ease;
}
.steps-wrapper.steps-with-numbers .step-item .step-item-title {
    width: 312px;
    margin-left: 50px;
    margin-right: 0;
}
.steps-wrapper .step-item.active .step-number {
    background: var(--ca-gradient);
}
.steps-wrapper .step-item.active .step-item-title {
    color: var(--black);
}
.steps-wrapper .step-item .step-item-title span {
    color: #DFE5E5;
    transition: color .5s ease;
}
.steps-wrapper .step-item.active .step-item-title span {
    color: var(--blue);
}
.steps-wrapper .step-item .step-item-title a {
    text-decoration: underline;
}
.steps-wrapper .step-item .img-wrapper {
    flex-shrink: 0;
    position: relative;
    /* width: 525px; */
    width: 450px;
    max-width: 47%;
    padding: 8px;
    border-radius: 26px;
    background: var(--ca-gradient);
}
.steps-wrapper .step-item .img-wrapper:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #DFE5E5;
    border-radius: 26px;
    opacity: 1;
    transition: opacity .5s ease;
}
.steps-wrapper .step-item .img-wrapper:after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    background: #fff;
    opacity: .5;
    border-radius: 20px;
    transition: opacity .5s ease;
}
.steps-wrapper .step-item .img-wrapper iframe {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 19px;
}
.steps-wrapper .step-item .img-wrapper .step-img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    border-radius: 19px;
}
.steps-wrapper .step-item.active .img-wrapper:before {
    opacity: 0;
}
.steps-wrapper .step-item.active .img-wrapper:after {
    opacity: 0;
    z-index: -1;
}
.more-info-wrapper {
    margin-top: 42px;
    padding: 62px 0 70px;
    text-align: center;
    border-top: 1px solid #65D4EA;
}
.more-info-wrapper .short-text {
    font-size: 20px;
    margin-bottom: 44px;
    color: var(--blue);
}
.more-info-wrapper .info-button {
    display: inline-block;
    padding: 13.5px 30px;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 400;
    text-transform: none;
    border-radius: 8px;
    background: #f0fbfd;
}
.more-info-wrapper .info-button:before {
    display: none;
}
.more-info-wrapper .info-button:after {
    border-radius: 10px;
}
.more-info-wrapper .info-button:hover {
    background: var(--ca-gradient);
    color: #fff;
}

.bottom-banner {
    margin-top: 240px;
    padding: 46px 0;
    text-align: center;
    color: #fff;
    background: var(--ca-gradient);
}
.bottom-banner .banner-inner {
    max-width: 950px;
    margin: 0 auto;
    line-height: 1.02;
}


#pre-footer {
    margin-top: 0;
}


@media (max-width: 1299px) {
    .steps-wrapper.steps-with-numbers .step-item .step-item-title {
        margin-left: 32px;
    }
    .steps-wrapper .step-item .img-wrapper {
        /* width: 510px; */
        width: 436px;
    }
}

@media (max-width: 1199px) {
    .steps-wrapper {
        gap: 100px;
    }
    .steps-wrapper .indicator {
        left: calc(86px / 2 - 7.5px);
    }
    .steps-wrapper:before {
        left: calc(86px / 2 - 1.5px);
    }
    .steps-wrapper .step-item .step-number {
        width: 86px;
        height: 86px;
        font-size: 50px;
    }
    .steps-wrapper .step-item .step-item-title {
        font-size: 36px;
    }
    .steps-wrapper.steps-with-numbers .step-item .step-item-title {
        width: 290px;
        margin-left: 10px;
    }
    .steps-wrapper .step-item .img-wrapper {
        max-width: 42%;
    }
}

@media (max-width: 1023px) {
    .steps-wrapper {
        gap: 84px;
    }
    .steps-wrapper.steps-with-numbers:before {
        left: calc(70px / 2 - 1.5px);
    }
    .steps-wrapper.steps-with-numbers .active-bar {
        left: calc(70px / 2 - 1.5px);
    }
    .steps-wrapper .indicator {
        left: calc(70px / 2 - 7.5px);
    }
    .steps-wrapper .step-item .step-number {
        width: 70px;
        height: 70px;
        font-size: 40px;
    }
    .steps-wrapper .step-item .step-item-title {
        margin-left: 10px;
        font-size: 30px;
    }
    .steps-wrapper.steps-with-numbers .step-item .step-item-title {
        width: 240px;
        margin-left: 0;
    }
    .main-content-wrapper .main-content-title {
        max-width: 700px;
        margin-bottom: 70px;
    }
    .steps-wrapper .step-item .img-wrapper {
        padding: 7px;
        border-radius: 23px;
    }
    .steps-wrapper .step-item .img-wrapper:before {
        border-radius: 23px;
    }
    .steps-wrapper .step-item .img-wrapper:after {
        top: 7px;
        left: 7px;
        width: calc(100% - 14px);
        height: calc(100% - 14px);
        border-radius: 15px;
    }
    .steps-wrapper .step-item .img-wrapper .step-img {
        border-radius: 15px;
    }
    .bottom-banner {
        margin-top: 180px;
    }
    .bottom-banner .banner-inner {
        padding: 0 28px;
        line-height: 1.1;
    }
}

@media (max-width: 767px) {
    #content:has(.steps-wrapper:last-child) {
        padding-bottom: 10px;
    }
    .title-and-search .ca-main-title {
        margin-bottom: 40px;
    }
    .main-content-wrapper .main-content-title {
        max-width: 320px;
        margin-bottom: 40px;
    }
    .main-content-wrapper {
        padding: 0;
    }
    .main-content-wrapper .entry-content {
        font-size: 16px;
    }
    .main-content-wrapper .entry-content h2,
    .main-content-wrapper .entry-content h3 {
        font-size: 16px;
    }
    .more-info-wrapper {
        margin-top: 40px;
        padding: 40px 0 70px;
    }
    .more-info-wrapper .short-text {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .more-info-wrapper .info-button {
        font-size: 16px;
    }
    
    .steps-wrapper {
        margin-left: -8px;
        margin-bottom: 50px;
    }
    .steps-wrapper + .steps-wrapper {
        margin-top: 84px;
    }
    .steps-wrapper.steps-with-numbers:before {
        left: calc(32px / 2 - 1px);
        width: 2px;
        opacity: 0.8;
    }
    .steps-wrapper.steps-with-numbers .active-bar {
        left: calc(32px / 2 - 1px);
    }
    .steps-wrapper .indicator {
        left: calc(32px / 2 - 4px);
        width: 8px;
        height: 8px;
        opacity: 0.8;
    }
    .steps-wrapper .step-item .step-number {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
    .steps-wrapper .step-item .step-item-title {
        width: calc(53.5% - 20px);
        margin-left: 8px;
        margin-right: 10px;
        font-size: 16px;
    }
    .steps-wrapper.steps-with-numbers .step-item .step-item-title {
        width: 120px;
        margin-left: 8px;
    }
    .steps-wrapper .step-item .step-item-title br {
        display: none;
    }
    .steps-wrapper .step-item .img-wrapper {
        max-width: 46.5%;
        padding: 4px;
        border-radius: 10px;
    }
    .steps-wrapper .step-item .img-wrapper iframe {
        border-radius: 8px;
    }
    .steps-wrapper .step-item .img-wrapper:before {
        border-radius: 10px;
    }
    .steps-wrapper .step-item .img-wrapper:after {
        top: 4px;
        left: 4px;
        width: calc(100% - 8px);
        height: calc(100% - 8px);
        border-radius: 6px;
    }
    .steps-wrapper .step-item .img-wrapper .step-img {
        border-radius: 8px;
    }

    .bottom-banner {
        margin-top: 60px;
    }
}

/* DEBUG */
body.debug > * {
    opacity: 0.7;
}
body.debug {
    background: url(../debug/support-inner2.jpg) no-repeat top center;
}