.hp-ai-badge-holder {}

.hp-ai-badge p {
    margin-bottom: 0;
}

.hp-ai-tag-holder {}

.hp-ai-tag {
    width: 180px !important;
}

.hp-ai-tag-icon-holder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 24px !important;
}

.hp-ai-tag-icon,
.hp-ai-tag-icon .elementor-widget-container,
.hp-ai-tag-icon .elementor-icon-wrapper,
.hp-ai-tag-icon .elementor-icon {
    height: fit-content !important;
    display: block !important;
}

.hp-ai-tag-text p {
    width: max-content;
    margin-bottom: 0;
}

/* CARD */
/* CARD HEADER */

.hp-ai-header-icon-holder {}

.hp-ai-header-icon {}

.hp-ai-header-icon-holder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 40px !important;
}

.hp-ai-header-icon,
.hp-ai-header-icon .elementor-widget-container,
.hp-ai-header-icon .elementor-icon-wrapper,
.hp-ai-header-icon .elementor-icon {
    height: fit-content !important;
    display: block !important;
}

.hp-ai-card {
    height: fit-content !important;
}

.hp-ai-card-header-text-holder {
    width: max-content !important;
    margin-right: auto !important;
}

.hp-ai-card-header-text p {
    margin-bottom: 0;
}

.hp-ai-card-header-badge {
    height: fit-content !important;
    text-align: center !important;
}

.hp-ai-card-header-badge p {
    margin-bottom: 0;
}

.hp-ai-button .elementor-button-icon {
    transition: 0.4s;
}

.hp-ai-button:hover .elementor-button-icon {
    transform: translate(5px, 0px);
}

/* POST*/


.hp-ai-post-holder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 12px;
}

.hp-ai-post-achor {
    transition: 0.4s;
}

.hp-ai-post-achor:hover {
    transform: scale(1.02);
}

.hp-ai-post-achor:first-child .hp-ai-post-card-title::before {
    content: "Latest";
    color: #ffd800;
    font-size: 14px;
}

.hp-ai-post-card {
    display: flex;
    flex-direction: column;
    justify-content: start;
    column-gap: 12px;
    height: 70px;
    width: 100%;
    border-radius: 8px;
    background-color: #ffffff1a;
    /* padding: 12px; */

    flex-direction: row;

}

.hp-ai-post-image-holder {
    width: 125px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
}

.hp-ai-post-image {
    width: 100%;
    height: 100%;
}

.hp-ai-post-card-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: calc(100% - 125px - 30px - 12px - 12px);
    line-height: 1;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    padding-top: 12px;
    padding-bottom: 12px;
}

.hp-ai-post-card i {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    color: #ffffff;
    padding-right: 12px;
}

@media only screen and (max-width: 1400px) {
    .hp-ai-tag-holder {
        /* flex-direction: column!important; */
        flex-wrap: wrap !important;
    }
}

@media only screen and (max-width: 1100px) {
    .hp-ai-container .e-con-inner {
        flex-direction: column !important;
    }

    .hp-ai-tag-holder {
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }
}

@media only screen and (max-width: 767px) {

    .hp-ai-tag-holder {
        justify-content: center !important;
    }

    .hp-ai-tag {
        display: flex !important;
        flex-direction: column !important;
        row-gap: 8px !important;
        width: 150px !important;
    }

    .hp-ai-tag-icon-holder {
        width: 100% !important;
    }
}

@media only screen and (max-width: 600px) {
    .hp-ai-card {
        width: calc(100% - 30px) !important;
        margin: auto !important;
    }

    .hp-ai-card-header {
        flex-direction: row !important;
    }

    .hp-ai-header-icon-holder {
        width: 40px !important;
    }

    .hp-ai-card-header-badge {
        width: fit-content !important;
    }
}

@media only screen and (max-width: 560px) {
    .hp-ai-tag {
        width: 100% !important;
    }
}

@media only screen and (max-width: 560px) {
    .hp-ai-post-card {
        height: 105px;
    }

    .hp-ai-post-image-holder {
        margin: auto 0;
    }

}