.template-7002-dropdown .template-7002-dropdown__title {
    position: relative;
    cursor: pointer;
    padding-right: 30px; 
}

.template-7002-dropdown .template-7002-dropdown__title:before {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: #505050; 
    left: 0;
    bottom: -2px;
}

.template-7002-dropdown .template-7002-dropdown__title i {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 20px;
}

.template-7002-dropdown .template-7002-dropdown__title.is-active i {
    transform: rotate(180deg);
}

@media (max-width: 991.98px) {
    .template-7002-dropdown ul {
        max-height: 0 !important;
        opacity: 0 !important;
        transform: scaleY(0) !important;
        transform-origin: top !important;
        transition: transform 0.4s ease, opacity 0.4s ease, max-height 0.4s ease !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }

    .template-7002-dropdown ul.is-active {
        max-height: 1000px !important;
        opacity: 1 !important;
        transform: scaleY(1) !important;
        pointer-events: auto !important;
    }
}

@media (min-width: 991.98px) {
    .template-7002-dropdown ul {
        max-height: none !important;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
    }
}

.template-7002 .card__content.style-1 {
    position: absolute;
    bottom: 0;
    padding: 15px;
    min-height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.template-7002 .card__content.style-1:after {
    content: '';
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    position: absolute;
    bottom: 0;
    left: 0;
    right :0;
    top: 0;
    z-index: 0;
}

.template-7002 .card__content.style-1 .card__title {
    position: relative;
    z-index: 1;
}

.template-7002 .card__content.style-1 .card__text {
    position: relative;
    z-index: 1;
}


@media ( min-width: 991.92px ) {
    
    .template-7002 .card__content.style-1 {
        padding: 25px;
    }
    
    .template-7002 .card__content.style-1 .card__title {
        transform: translateY(100%);
        transition: transform .3s;
    }
    
    .template-7002 .card__content.style-1 .card__text {
        opacity: 0;
        max-height: 0;
        transform: scaleY(0);
        transition: opacity .5s;
    }
    
    .template-7002 .card-7002:hover .card__content.style-1 .card__text {
        opacity: 1;
        max-height: 1000px;
        transform: scaleY(1);
    }
    
    .template-7002 .card-7002:hover .card__content.style-1 .card__title {
        transform: translateY(0);
    }
}
