.vc-posts-slider {
    background: transparent;
    position: relative;
}

.vc-posts-slider__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.vc-posts-slider__heading {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.vc-posts-slider__nav {
    display: flex;
    gap: 8px;
    align-items: center;

}

.vc-posts-slider__nav a {
    font-weight: 600;
}

.vc-posts-slider__btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s;
    flex-shrink: 0;
    padding: 0;
}

.vc-posts-slider__btn:focus,
.vc-posts-slider__btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
}

.vc-posts-slider__btn svg {
    width: 10px;
    height: 10px;
    display: block;
    transition: transform 0.2s;
}

.vc-posts-slider__btn--prev svg {
    transform: rotate(-135deg);
}

.vc-posts-slider__btn--next svg {
    transform: rotate(45deg);
}

.vc-posts-slider__viewport {
    overflow: hidden;
    position: relative;
}

.vc-posts-slider__track {
    display: flex;
    gap: 14px;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.vc-posts-slider__card {
    flex: 0 0 calc(25% - 11px);
    min-width: 200px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 2px;
    padding: 12px 16px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.25s, border-color 0.25s, backdrop-filter 0.25s;
    position: relative;
}

.vc-posts-slider__card-arrow {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0;
    transition: opacity 0.2s;
    line-height: 1;
    flex-shrink: 0;
}

.vc-posts-slider__card:hover {
    background: #FFFFFF1A;
    border-color: #FFFFFF29;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    transform: none;
}

.vc-posts-slider__card:hover .vc-posts-slider__card-arrow {
    opacity: 1;
}

.vc-posts-slider__card .vc-posts-slider__thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #FFFFFF4D;
}

.vc-posts-slider__card-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vc-posts-slider__card::before {
    content: '';
    border-left: 1px solid black;
    height: calc(100% - 24px);
    position: absolute;
    left: 0;
}

.vc-posts-slider__card:hover::before {
    border: 0;
}

.vc-posts-slider__card-new {
    background: #0c8feb;
    margin-left: 5px;
    padding: 2px 5px;
    border-radius: 3px;
    color: white;
}

.vc-posts-slider__card-date,
.vc-posts-slider__card-category {
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #FFFFFFCC;
    display: block;
}

.vc-posts-slider__card-title {
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #FFFFFF;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Community Highlights */
/*==========================
    Posts Wrapper
==========================*/
.ilm-posts {
    width: 100%;
}

/*==========================
    Single Post
==========================*/
.ilm-post-item {
    display: grid;
    grid-template-columns: 180px 1fr 120px 60px;
    align-items: center;
    gap: 30px;
    padding: 35px 0;
    border-bottom: 1px solid #e6e6e6;
}

.ilm-post-item:first-child {
    border-top: 1px solid #e6e6e6;
}

.ilm-post-category {
    font-size: 15px;
    color: #888;
    font-weight: 400;
    line-height: 1.4;
}

.ilm-post-title a {
    font-size: 20px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    line-height: 1.2;
    transition: color .3s ease;
}

.ilm-post-title a:hover {
    color: #555;
}

.ilm-post-date {
    text-align: right;
    font-size: 15px;
    color: #777;
    white-space: nowrap;
}

/*==========================
    Arrow Button
==========================*/
.ilm-post-arrow {
    display: flex;
    justify-content: flex-end;
}

.ilm-post-arrow a {
    width: 48px;
    height: 48px;
    border: 1px solid #d8d8d8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    text-decoration: none;
    font-size: 22px;
    transition: all .3s ease;
    rotate: -45deg;
    padding-bottom: 3px;
}

.ilm-post-arrow a:hover {
    background: #111;
    color: #fff;
    border-color: #111;
    transform: rotate(45deg);
}

/*==========================
    Pagination
==========================*/
.ilm-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 60px 0;
}

.ilm-pagination a {
    width: 46px;
    height: 46px;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #111;
    font-size: 16px;
    transition: all .3s ease;
}

.ilm-pagination a:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

.ilm-pagination a.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* Previous & Next */
.ilm-pagination .prev,
.ilm-pagination .next {
    font-size: 22px;
    font-weight: 600;
    padding-bottom: 3px;
}

.ilm-sort-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    white-space: nowrap;
}

/* Sorting Label */
.ilm-sort-wrapper label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

/* Sorting Select */
.ilm-post-sort {
    height: 44px;
    padding: 0 40px 0 14px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;

    /* Custom dropdown arrow */
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

/* Hover */
.ilm-post-sort:hover {
    border-color: #999;
}

/* Focus */
.ilm-post-sort:focus {
    border-color: #333;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

/* Partner Grid */
.vc_desk_partner_grid .fake-hover .gray_image {
    display: none;
}

.vc_desk_partner_grid .fake-hover .original_image {
    display: block !important;
}

.vc_desk_partner_grid {
    background-color: white;
}

.vc_desk_partner_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
    content-visibility: auto;
}

.vc_desk_partner_grid>.vc-partner-slot {
    position: relative;
    min-width: 0;
}

.vc_desk_partner_grid a[href]:not([href="#"]):not([href=""]) {
    position: relative;
}

.vc_mob_partner_grid a[href]:not([href="#"]):not([href=""])::after,
.vc_desk_partner_grid a[href]:not([href="#"]):not([href=""])::after {
    content: "";
    position: absolute;
    top: 3px;
    right: -3px;
    width: 28px;
    height: 28px;
    background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.43884 7.33203L15.0849 7.22842L14.9813 14.8745' stroke='%239F9FA9' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M15.085 7.22901L7.54248 14.7715' stroke='%239F9FA9' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
}

.vc_desk_partner_grid a {
    border: 0 !important;
}

/*
 * Every slot contains exactly one visible item.
 */
.vc_desk_partner_grid>.vc-partner-slot>* {
    width: 100%;
}

@media (max-width: 767px) {

    /* Odd last element → full width */
    .vc_mob_partner_grid>a:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }


    /* Text + arrow alignment */
    #vc_view_all_partners .elementor-button-content-wrapper {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }


    /* =========================================
       CHEVRON ARROW
       ========================================= */

    #vc_view_all_partners .elementor-button-content-wrapper::after {
        content: "";
        width: 8px;
        height: 8px;

        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;

        transform: rotate(45deg) translateY(-2px);

        transition:
            transform 0.35s ease,
            border-color 0.35s ease;
    }


    /* =========================================
       ARROW → UP WHEN EXPANDED
       ========================================= */

    #vc_view_all_partners.is-expanded .elementor-button-content-wrapper::after {
        transform: rotate(225deg) translateY(-2px);
    }

}

/* Mobile */
@media (max-width: 767px) {
    .ilm-sort-wrapper {
        justify-content: flex-start;
        width: 100%;
        margin-bottom: 20px;
    }

    .ilm-post-sort {
        flex: 1;
        min-width: 0;
    }
}

/*==========================
    Responsive
==========================*/
@media (max-width: 991px) {

    .ilm-post-item {
        position: relative;
        display: block;
        padding: 25px 70px 25px 0;
    }

    .ilm-post-arrow {
        position: absolute;
        top: 25px;
        right: 0;
    }

    .ilm-post-date {
        margin-top: 15px;
        text-align: left;
    }

    .ilm-post-title {
        margin-top: 15px;
    }

}

@media (max-width:576px) {

    .ilm-post-title a {
        font-size: 22px;
    }

    .ilm-post-item {
        padding: 25px 45px 25px 0;
    }

    .ilm-pagination {
        gap: 8px;
    }

    .ilm-pagination a {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

@media (max-width: 900px) {
    .vc-posts-slider__card {
        flex: 0 0 calc(50% - 7px);
    }
}

@media (max-width: 560px) {
    .vc-posts-slider__card {
        flex: 0 0 85%;
    }
}