.loan-checklist-block{
    background: #083D5B;
    background: linear-gradient(90deg,rgba(8, 61, 91, 1) 0%, rgba(8, 61, 91, 1) 50%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 100%);
    position: relative;
        .wp-block-heading{
            margin-bottom: 33px;
        }
        .checklist-title{
            font-size: 24px;
            line-height: 1;
            font-weight: 500;
            font-family: var(--wp--preset--font-family--outfit);
            color: var(--wp--preset--color--tertiary);
            position: relative;
            &:before{
                content: "";
                position: absolute;
                width: 22px;
                height: 22px;
                left: -38px;
                top: 1px;
                background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_2273_1925)'%3E%3Cpath d='M21.4895 21.4905H0.507812V0.508789H21.4895V21.4905Z' stroke='%23083D5B' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M5.49219 10.8954L9.23473 14.6375L16.5085 7.36328' stroke='%23EE6F49' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_2273_1925'%3E%3Crect width='22' height='22' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
            }
        }
        .checklist-description{
            p{
                font-size: 15px;
                line-height: 22px;
                font-weight: 400;
                margin-bottom: 0;
                margin-top: 10px;
            }
        }
    .docs-wrap{
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap:nowrap;
        gap: 9px;
        margin-top: 14px;
        width:100%;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease-in-out;
        .docs-cell{
            box-sizing: border-box;
            background-color: #fff;
            text-align: left;
            .docs-cell-inner{
                color:var(--wp--preset--color--tertiary);
            }
            .toggler-icon{
                transition: all 0.3s ease-in-out;
                transform: rotate(0deg);
            }
            .title-row{
                margin-bottom: 4px;
                .doc-title{
                    font-size: 16px;
                    font-weight: 700;
                    line-height: 24px;
                    font-family: var(--wp--preset--font-family--lato);
                    margin: 0;
                    color: var(--wp--preset--color--secondary);
                }
            }
            .doc-row{
                font-size: 15px;
                font-weight: 400;
                line-height: 24px;
                font-family: var(--wp--preset--font-family--lato);
                color: var(--wp--preset--color--tertiary);
                margin-bottom: 3px;
                position: relative;
                padding-left:10px;
                &:before{
                    content:"·";
                    display: inline-block;
                    font-size:24px;
                    line-height: 24px;
                    align-items: middle;
                    position: absolute;
                    left: 0;
                    top: 0;
                }
            }
        }
    }
    .docs-info-wrap{
        padding-left:38px;
    }
    .doc-toggler{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        flex-grow: 1;
        margin-top: 15px;
        padding:10px 0;
        border: none;
        border-top: solid 1px #DCE2E6;
        background: none;
        color: var(--wp--preset--color--primary);
        text-transform: uppercase;
        font-size: 14px;
        font-weight: 600;
    }
    .checklist-box:not(:last-child){
        margin-bottom: 14px;
    }
    .checklist-box{
        &.no-docs{
            .docs{
                display: flex;
                flex-direction: row;
                align-items: flex-start;
                justify-content: flex-start;
                gap: 0 15px;
                flex-wrap: wrap;
                width:100%;
                  .doc-row{
                        width: calc(50% - 8px);
                        flex-grow: 0;
                        flex-shrink: 0;
                  }
            }
        }
        &.active{
            .doc-toggler{
                .toggler-icon{
                    transform: rotate(180deg);
                }
            }
            .docs-wrap{
                max-height: 9999px;
                transition: all 0.3s ease-in-out;
            }
        }
    }
}



.loan-checklist-wrapper{
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.loan-checklist-block-inner, .loan-checklist-media{
    flex-basis: 50%;
    flex-grow: 0;
    flex-shrink: 0;
    width:50%;
}

.loan-checklist-block-inner{
    padding:30px 20px 33px 60px;
}

.loan-checklist-media{
    .img-holder{
        width:100%;
        height:100%;
        min-height: 446px;
        border-radius: 100px 0 0 0;
        overflow: hidden;
        img{
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
}

@media (max-width: 1240px){
    .loan-checklist-block{
        > div {
            padding: 0 !important;
        }
    }
}

@media (max-width: 991px){
    .loan-checklist-block-inner {
        padding: 57px 55px 73px 55px;
    }
}

@media (max-width: 860px){
    .loan-checklist-block{
        background: transparent;
            .wp-block-heading {
                margin-bottom: 13px;
            }
    }
    
    .loan-checklist-wrapper {
        flex-direction: column;
    }
    .loan-checklist-block-inner {
        padding: 20px 25px 47px 25px;
    }
    .loan-checklist-media {
        .img-holder {
            width: 100%;
            height: 414px;
            min-height: 414px;
            border-radius: 0;
        }
    }
    .loan-checklist-block-inner, .loan-checklist-media {
        width: 100%;
    }
    .checklist-boxes{
        min-height: auto !important;
    }
}