/**
 * Elementor Category Posts Widget Styles
 */
.title {
    border-bottom: var(--rule) solid 1px;
}

.elementor-category-posts-title {
    font-family: var(--font-editorial);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--ink);
    text-align: center;
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Posts list */
.category-posts-list {
    list-style: none;
    padding: 0;
    padding-top: 10px;
    margin: 0;
}

.category-post-item {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
}

.category-post-item::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
    line-height: 1.5;
    color: var(--ink);
}

.category-post-link {
    color: var(--ink);
    text-decoration: none;
    font-size: 16px;
    line-height: 1.5;
    transition: color 0.2s ease;
    display: inline-block;
}

.post-author {
    font-family: var(--font-ui);
    font-size: 0.64rem;
    color: var(--ink-light);
    margin-top: 2px;
}

.category-post-link:hover {
    color: #fff;
    background-color: var(--ink);
}

/* Responsive design */
@media (max-width: 768px) {
    .elementor-category-posts-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .category-post-item {
        margin-bottom: 10px;
    }

    .category-post-link {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .elementor-category-posts-title {
        font-size: 24px;
    }

    .category-post-link {
        font-size: 14px;
    }
}
