body {
    margin: 0;
    padding: 0;
}

.container {
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 0 20px;
}

.img_portada {
    width: 100%;
    height: 30vh;
    overflow: hidden;
}

.img_portada img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    list-style: none;
}

.page-item .page-link {
    color: black; 
    text-decoration: none; 
    padding: 8px 12px;
    border: 1px solid #ddd; 
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.page-item .page-link:hover {
    background-color: #007BFF;
    color: white; 
    border-color: #007BFF; 
}
