.expand-steps-module {
    display: block;
    width: 100%;
}

.expand-steps-module .ac{
    padding: 1rem 1.875rem;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    transition: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
}

.expand-steps-module .ac .ac-trigger {
    border: none;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow: visible;
    text-align: left;
    cursor:pointer;

    background: transparent;

    /* inherit font & color from ancestor */
    color: var(--ashen-500);
    font: inherit;

    /* Normalize `line-height`. Cannot be changed from `normal` in Firefox 4+. */
    line-height: normal;

    /* Corrects font smoothing for webkit */
    -webkit-font-smoothing: inherit;
    -moz-osx-font-smoothing: inherit;

    /* Corrects inability to style clickable `input` types in iOS */
    -webkit-appearance: none
    border-radius:0;
    -webkit-border-radius:0;
    -moz-border-radius:0;
    -ms-border-radius:0;
    -o-border-radius:0;
}

/* Remove excess padding and border in Firefox 4+ */
&::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.expand-steps-module .ac .ac-header {
    margin-bottom: 0;
}

.expand-steps-module .ac.is-active .ac-trigger  {
    color: var(--core-700);
}

.expand-steps-module .ac .ac-trigger .uh-tag {
    vertical-align: middle;
    margin-left: 0rem;
}

.expand-steps-module .ac.is-active {
    background-color: var(--core-100);
    padding: 2.25rem 1.875rem 2.25rem 1.875rem;

}

.expand-steps-module .ac .ac-panel {
    overflow: hidden;
    transition-property: height, visibility;
    transition-timing-function: linear;
}

.expand-steps-module .ac.js-enabled .ac-panel {
    visibility: hidden;
}

.expand-steps-module .ac.is-active .ac-panel {
    visibility: visible;
    padding-top: 1rem;
}

.expand-steps-module .ac .ac-panel .cta-btn{
    margin-top: 1.5rem;
}

.expand-steps-module .grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.875rem;
}

.expand-steps-module .grid .content,
.expand-steps-module .grid .image {
    grid-column: span 1 / span 1;
}

.expand-steps-module.type-rtl .grid .image{
    order: 2;
}
.expand-steps-module.type-rtl .grid .content{
    order: 1;
}



@media screen and (min-width:768px) {
    .expand-steps-module .grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }
    
    .expand-steps-module .grid .image {
        grid-column: span 7 / span 12;
    }

    .expand-steps-module.type-rtl .grid .image{
        order: 1;
    }
    .expand-steps-module.type-rtl .grid .content{
        order: 2;
    }
    
    .expand-steps-module .grid .content {
        grid-column: span 5 / span 12;
    }
}

.expand-steps-module .grid .image {
    min-height: 450px;
    position: relative;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    overflow: hidden;
}

.expand-steps-module .grid .image img {
    position: absolute;
    width: 100%;
    max-width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.25s ease-in;
    -webkit-transition: opacity 0.25s ease-in;
    -moz-transition: opacity 0.25s ease-in;
    -ms-transition: opacity 0.25s ease-in;
    -o-transition: opacity 0.25s ease-in;
}

.expand-steps-module .grid .image img.active {
    opacity: 1;
    visibility: visible;
}


@media screen and (max-width:767px) {
    
    .expand-steps-module .grid .content img {
        position: relative;
        display: block;
        max-width: 100%;
        width: 100%;
        max-height: 0;
        opacity: 0;
        margin-bottom: 0;
        
        transition:all .3s linear;
        -webkit-transition:all .3s linear;
        -moz-transition:all .3s linear;
        -ms-transition:all .3s linear;
        -o-transition:all .3s linear;
        transform-origin: bottom;
        border-radius: 20px;
        -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        -ms-border-radius: 20px;
        -o-border-radius: 20px;
}
    .expand-steps-module .grid .content img.active {
        max-height: 400px;
        height: auto;
        opacity: 1;
        margin-bottom: 1rem;
        transition:all .3s linear;
        -webkit-transition:all .3s linear;
        -moz-transition:all .3s linear;
        -ms-transition:all .3s linear;
        -o-transition:all .3s linear;
        transform-origin: top;
}
}