/* All Blogs Widget CSS */

.botvfx-all-blogs-plugin {
    width: 100%;
}

.botvfx-all-blogs-plugin a {
    text-decoration: none;
    color: inherit;
}

.botvfx-all-blogs-plugin .blog-hdn-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.botvfx-all-blogs-plugin .work-tab-wrap {
    margin: 0 auto;
    max-width: 600px;
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
}

.botvfx-all-blogs-plugin .work-tab-wrap::-webkit-scrollbar {
    height: 4px;
}

.botvfx-all-blogs-plugin .work-tab-wrap::-webkit-scrollbar-track {
    background: #2c2c2c;
    border-radius: 10px;
}

.botvfx-all-blogs-plugin .work-tab-wrap::-webkit-scrollbar-thumb {
    background: #d1d1d1;
    border-radius: 10px;
}

.botvfx-all-blogs-plugin .work-tab-wrap::-webkit-scrollbar-thumb:hover {
    background: #ffffff;
}

.botvfx-all-blogs-plugin #blog-filters {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
    width: max-content;
}

.botvfx-all-blogs-plugin #blog-filters li {
    font-size: 18px;
    color: #ffffff;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.3s ease;
    text-transform: uppercase;
}


.botvfx-all-blogs-plugin #blog-filters li.active {
    color: #ffffff;
}

.botvfx-all-blogs-plugin #blog-filters li:hover {
    color: #a91e22;
}

.botvfx-all-blogs-plugin .custom-blog-search {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 30px;
    padding: 0px 20px;
    flex: 1;
    max-width: 300px;
}

.botvfx-all-blogs-plugin .custom-blog-search-icon svg {
    width: 20px;
    height: 20px;
    stroke: #888;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.botvfx-all-blogs-plugin .custom-blog-search input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--white, #fff);
    font-size: var(--fs16, 16px);
    font-family: 'IBM Plex Sans';
}

.botvfx-all-blogs-plugin .custom-blog-search input::placeholder {
    color: #bbbbbb;
}

/* Blog Grid Styles */
.botvfx-all-blogs-plugin {
    --blogSpace: 12px;
    /* Adjusted for standard 24px gap */
}

.botvfx-all-blogs-plugin .blog-wrap .f-row {
    display: flex;
    flex-wrap: wrap;
    gap: 50px 0;
    margin-left: calc(-1 * var(--blogSpace));
    margin-right: calc(-1 * var(--blogSpace));
}

.botvfx-all-blogs-plugin .blog-item {
    width: 33.333%;
    display: flex;
    padding: 0 var(--blogSpace);
}

.botvfx-all-blogs-plugin .blog-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.botvfx-all-blogs-plugin .blog-img,
.elementor .elementor-element .botvfx-all-blogs-plugin .blog-img,
.elementor-widget-botvfx_all_blogs .blog-img {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1.6 !important;
    position: relative;
    background-color: #141414;
}

.botvfx-all-blogs-plugin .blog-img img,
.elementor .elementor-element .botvfx-all-blogs-plugin .blog-img img,
.elementor-widget-botvfx_all_blogs .blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center !important;
    display: block;
    transition: transform 0.4s ease;
}

.botvfx-all-blogs-plugin .blog-item:hover .blog-img img {
    transform: scale(1.05);
}


.botvfx-all-blogs-plugin .blog-cont {
    flex: 1;
}

.botvfx-all-blogs-plugin .blog-cont ul {
    display: flex;
    align-items: center;
    gap: 8px 20px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}

.botvfx-all-blogs-plugin .blog-cont li {
    color: #b8b8b8;
    font-size: var(--fs16, 16px);
    line-height: 1;
    position: relative;
    text-transform: uppercase;
}

.botvfx-all-blogs-plugin .blog-cont li:not(:last-child)::after {
    content: "|";
    color: #b8b8b8;
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
}

.botvfx-all-blogs-plugin .comm-card-hdn {

    line-height: 1.1;
    margin-bottom: 10px;
    transition: color 0.3s ease;
    text-transform: uppercase;
    margin: 0;
}

.botvfx-all-blogs-plugin .blog-cont p {
    color: var(--white, #fff);
    font-size: var(--fs16, 16px);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.botvfx-all-blogs-plugin .load-more-wrap {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Button Styles */
.botvfx-all-blogs-plugin .botvfx-custom-button {
    background: transparent;
    border: 1px solid #ffffff;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 10px;
    height: 60px;
    padding: 0 16px 0 64px;
    position: relative;
    border-radius: 60px;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.5s ease-in-out;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
}

.botvfx-all-blogs-plugin .botvfx-custom-button:hover {
    padding: 0 64px 0 16px;
}

.botvfx-all-blogs-plugin .botvfx-custom-button .btn-text {
    line-height: 60px;
    color: #ffffff;
    font-size: 16px;
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 500;
}


/* Responsive */
@media (max-width: 1200px) {
    .botvfx-all-blogs-plugin .blog-item {
        width: 50%;
    }

    .botvfx-all-blogs-plugin .botvfx-custom-button {
        height: 44px;
        line-height: 44px;
        padding: 0 16px 0 50px;
    }

    .botvfx-all-blogs-plugin .botvfx-custom-button:hover {
        padding: 0 50px 0 16px;
    }

    .botvfx-all-blogs-plugin .botvfx-custom-button .btn-elem {
        width: 34px;
        height: 34px;
        top: 4px;
        left: 5px;
    }

    .botvfx-all-blogs-plugin .botvfx-custom-button:hover .btn-elem {
        left: calc(100% - 39px);
    }

    .botvfx-all-blogs-plugin .botvfx-custom-button .btn-elem::after {
        width: 10px;
        height: 20px;
        right: 6px;
    }

    .botvfx-all-blogs-plugin .botvfx-custom-button .btn-text {
        font-size: 14px;
        line-height: 44px;
    }
}

@media (max-width: 767px) {
    .botvfx-all-blogs-plugin .blog-item {
        width: 100%;
    }

    .botvfx-all-blogs-plugin .blog-hdn-wrap {
        flex-direction: column;
        align-items: stretch;
    }

    .botvfx-all-blogs-plugin .custom-blog-search {
        max-width: 100%;
    }
}