.seccion-explorar {
    padding: 60px 0;
}

.seccion-explorar .title {
    /* font-size: 32px; */
    margin-bottom: 20px;
    font-weight: bold;
}

.seccion-explorar .content {
    margin-bottom: 40px;
}

.explore-filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.filters-section {
    flex: 0 0 250px;
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.search-input input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.dropdown-filter select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
}

.checkbox-filter {
    max-height: 150px;
    overflow-y: auto;
}

.checkbox-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 8px;
}

.filter-actions {
    margin-top: 30px;
}

.btn-primary {
    background-color: #6c5ce7;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #5649c9;
}

.btn-secondary {
    background-color: #e0e0e0;
    color: #333;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    margin-right: 10px;
}

.btn-secondary:hover {
    background-color: #d0d0d0;
}

.posts-grid-container {
    flex: 1;
    min-width: 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.post-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background-color: white;
    display: flex;
    flex-direction: column;
}

.post-image {
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.post-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    flex-grow: 1;
}

.read-more {
    display: inline-block;
    padding: 8px 0;
    color: #6c5ce7;
    font-weight: bold;
    text-decoration: none;
    position: relative;
}

.read-more:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #6c5ce7;
    transition: width 0.3s;
}

.read-more:hover:after {
    width: 100%;
}

.pagination-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: 5px;
}

.page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #f5f5f5;
    cursor: pointer;
    transition: background-color 0.3s;
}

.page-number:hover {
    background-color: #e0e0e0;
}

.page-number.active {
    background-color: #6c5ce7;
    color: white;
}

.loading, .error, .no-posts-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #666;
    background-color: #f5f5f5;
    border-radius: 8px;
}

@media (max-width: 991px) {
    .explore-filter-container {
        flex-direction: column;
    }
    
    .filters-section {
        flex: 0 0 100%;
    }
    
    .posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 767px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
}
