.publicaciones-table {
    display: flex;
    justify-content: center;
}

.main-table {
    text-align: center;
    display: flex;
    align-items: center;
    align-content: center;
    flex-direction: column;
    justify-content: center;
}

.custom-table {
    max-width: 1200px;
    border-collapse: collapse;
    margin-top: 20px;
    border: none; /* Eliminar los bordes de la tabla */
}

.custom-table th {
    background-color: #182951;
    color: white;
    padding: 10px;
    text-align: center;
    border: 1px solid #CFAC65; /* Borde solo para el encabezado */
}

.custom-table td {
    padding: 5px;
    border: none;
}

.custom-table tbody tr:nth-child(odd) {
    background-color: #18295129;
}

.custom-table tbody tr:nth-child(even) {
    background-color: white;
}

.custom-table img.featured-image {
    max-width: 50px;
    max-height: 50px;
}

/* Botón de ver */
/* .download-button-per {
    text-align: center;
    text-decoration: none !important;
    padding: 10px 10px;
    color: #fff;
    display: block;
    font-size: 1.2em;
    line-height: 1.5em;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .4);
    cursor: pointer;
} */

.download-button-per {
	text-align: center;
    text-decoration: none !important;
    color: #0000ff47;
    display: block;
    font-size: 1.2em;
    line-height: 1.5em;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    box-shadow: 0 2px 4px #0000ff47, inset 0 1px 0 #0000ff47;
    cursor: pointer;
    background: #182951;
}

.download-button-per a {
    display: inline-block;
    padding: 10px 10px;
    color: #fff;
    text-decoration: none !important;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.download-button-per a:hover {
    color: #182951;
}

.download-button-per:hover {
    background-color: #cfac65;
    color: #182951;
}

#pagination-buttons {
    margin-top: 20px;
    text-align: center;
}

#pagination-buttons button {
    padding: 10px 15px;
    margin: 0 5px;
    cursor: pointer;
    background-color: #182951;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

#pagination-buttons button:hover {
    background-color: #0749e529;
}



/* Estilos responsivos */
@media (max-width: 768px) {
    .custom-table {
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow-x: auto;
        white-space: nowrap;
    }

    .custom-table thead {
        display: none;
    }

    .custom-table tbody tr {
        display: block;
        margin-bottom: 10px;
        border: 1px solid #182951;
        padding: 15px;
    }

    .custom-table tbody tr:nth-child(odd) {
        background-color: transparent;
    }

    .custom-table tbody tr:nth-child(even) {
        background-color: transparent;
    }

    .custom-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 10px;
        border-bottom: 1px solid #ddd;
        white-space: normal; 
        word-wrap: break-word; 
        overflow-wrap: break-word; 
    }

    .custom-table td::before {
        content: attr(data-label);
        flex-basis: 50%;
        text-align: left;
        font-weight: bold;
        color: #182951;
    }

    .custom-table td:last-child {
        border-bottom: none;
    }
}
