.glidy--posts {

    ul,
    ol {
        padding: 0;
    }

    li {
        list-style: none;
    }

    svg {
        width: 1em;
        height: 1em;
    }

    .excerpt {
        padding-bottom: 10px;
    }

    .read-more {
        font-size: 16px;
        fill: #222;
        color: #222;

        &:hover {
            fill: #ED8914;
            color: #ED8914;
        }
    }

}

.glidy--post-category {
    gap: 20px;
    display: flex;
    align-items: center;
    margin-bottom: 10px;

    a {
        color: #222;
        font-size: 16px;
        transition: all 0.3s;
        text-transform: capitalize;

        &:hover {
            color: #ED8914;
        }
    }
}

.glidy--post-meta {
    gap: 20px;
    display: flex;
    align-items: center;
    margin-bottom: 10px;

    li {
        color: #222;
        font-size: 16px;
        text-transform: capitalize;
    }

    a {
        color: #222;
        font-size: 16px;
        transition: all 0.3s;
        text-transform: capitalize;

        &:hover {
            color: #ED8914;
        }
    }
}

.glidy--post .separator {
    position: relative;
    width: 10px;
}

.glidy--post .separator span {
    display: inline-block;
    background: #222;
    line-height: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.glidy--post .separator .line {
    width: 10px;
    height: 1px;
}

.glidy--post .separator .pipe {
    width: 1px;
    height: 10px;
}

.glidy--post .separator .dot {
    width: 8px;
    height: 8px;
    border-radius: 100px;
}

/* Default */
.glidy--posts {
    display: grid;

    .thumb {
        margin-bottom: 10px;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    .title {
        transition: all 0.3s;

        a {
            color: inherit;
        }
    }
}

.border-line .title a {
    --color: currentColor;
    --thikness: 2px;
    background-image: linear-gradient(transparent calc(100% - var(--thikness)), var(--color) var(--thikness));
    background-repeat: no-repeat;
    background-size: 0% 100%;
    transition: background-size 1s;
    padding-bottom: 5px;
}

.border-line .title:hover a {
    background-size: 100% 100%;
}

/* Aside */
.glidy--posts.aside {
    .glidy--post {
        display: flex;
        gap: 30px;
    }

    .content {
        flex-basis: 0;
        flex-grow: 1;
    }

    .thumb {
        flex-basis: 250px;
        flex-shrink: 0;
    }


}

/* Overlay */
.glidy--posts.overlay {
    .glidy--post {
        position: relative;
        padding: 20px;
        overflow: hidden;
    }

    .title {
        color: #fff;
    }

    li,
    a,
    .excerpt {
        fill: #ddd;
        color: #ddd;
    }

    .separator {
        color: #ddd;
    }

    .thumb {
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;

        &::after {
            position: absolute;
            content: "";
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: #00000096;
        }
    }

    .content {
        position: relative;
        z-index: 1;
    }

}

/* ── Numbered Pagination ─────────────────────────────────────────────────── */
.glidy--pagination {
    margin-top: 30px;
}

.glidy--pagination-numbers ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.glidy--pagination-numbers ul li {
    list-style: none;
}

.glidy--pagination-numbers a,
.glidy--pagination-numbers span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
    background-color: #f0f0f0;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-size: 14px;
}

.glidy--pagination-numbers a:hover,
.glidy--pagination-numbers span.current {
    background-color: #000;
    color: #fff;
}

.glidy--pagination-numbers span.dots {
    background: transparent;
    width: auto;
}

/* ── Load More ───────────────────────────────────────────────────────────── */
.glidy--pagination-load-more {
    margin-top: 30px;
}

.glidy--load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: 4px;
    background-color: #000;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.glidy--load-more-btn:hover {
    opacity: 0.85;
}

.glidy--load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: glidy-spin 0.6s linear infinite;
    display: inline-block;
}

@keyframes glidy-spin {
    to {
        transform: rotate(360deg);
    }
}