/* ========================================
   ALBOR BLOG SHORTCODE STYLES
   ======================================== */

.albor-blog-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.albor-blog-post {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.albor-blog-post:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.albor-blog-post a {
    display: flex;
}

.albor-blog-post__thumbnail {
    width: 260px;
    height: 260px;
    overflow: hidden;
}

.albor-blog-post__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.albor-blog-post:hover .albor-blog-post__thumbnail img {
    transform: scale(1.05);
}

.albor-blog-post__content {
    padding: 24px;
    flex: 1;
}

.albor-blog-post__title {
    font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0;
    color: #000;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
}

.albor-blog-post__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #546a79;
}

.albor-blog-post__author {
    font-weight: 500;
    color: #A29BAD;
}

.albor-blog-post__date {
    color: #A29BAD;
}

.albor-blog-post__excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #546a79;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.albor-blog-post__read-more {
    display: inline-block;
    color: #254490;
    font-weight: 500;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.albor-blog-post__read-more:hover {
    color: #03255D;
}

/* Paginación */
.albor-blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-top: 40px;
}

.pagination-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0.7;
    background: none;
    border: none;
    font-size: 16px;
}

.pagination-item:hover {
    opacity: 1;
}

.pagination-item.active {
    opacity: 1;
}

.pagination-item.prev,
.pagination-item.next {
    font-size: 18px;
    font-weight: bold;
}

.pagination-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-item.dots {
    cursor: default;
    opacity: 0.7;
    font-weight: bold;
}

.pagination-item.dots:hover {
    opacity: 0.7;
}

/* Loading states */
.albor-blog-posts.loading {
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.albor-blog-pagination.loading {
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Responsive */
@media all and (max-width: 1200px) {
    .albor-blog-posts {
        gap: 24px;
    }
}

@media all and (max-width: 768px) {
    .albor-blog-posts {
        gap: 20px;
    }
    
    .albor-blog-posts .albor-blog-post a {
        flex-wrap: wrap;
    }
    
    .albor-blog-post__thumbnail {
        width: 100%;
    }
    
    .albor-blog-post__content {
        padding: 20px;
    }
    
    .albor-blog-post__title {
        font-size: 20px;
    }
    
    .albor-blog-pagination {
        gap: 6px;
    }
    
    .pagination-item {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
