/**
 * TS Maintenance - Custom Styles
 */

.postie-post table:first-child td {
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
}

.postie-post table:first-child > tbody ul li {
  white-space: normal !important;
}

.postie-post p:has(> font:only-child > br:only-child) {
  margin-bottom: 0 !important;
}

.postie-post table:first-child > thead,
.postie-post table:first-child > tbody > tr:last-child,
.postie-post table:first-child > thead th[style*="background-color:rgb(102,0,0)"],
.postie-post table:first-child > tbody td[style*="background-color:rgb(102,0,0)"],
.postie-post table:first-child > tbody > tr[style*="height:98"],
.postie-post img[alt*="Technology Services department"] {
  display: none !important;
}

/* Archives Widget */
.tsmaintenance-archives-widget {
    /* Widget container styles if needed */
}

.tsmaintenance-archives-list {
    list-style: none;
    margin: 0;
    padding: 0;
    transition: opacity 0.2s ease;
}

.tsmaintenance-archives-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.tsmaintenance-archives-list li:last-child {
    border-bottom: none;
}

.tsmaintenance-archives-list a {
    text-decoration: none;
}

.tsmaintenance-archives-list a:hover {
    text-decoration: underline;
}

.tsmaintenance-archives-list .post-count {
    color: #888;
    font-size: 0.9em;
}

/* Pagination */
.tsmaintenance-archives-pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.tsmaintenance-archives-pagination button {
    background: none;
    border: none;
    color: #0073aa;
    cursor: pointer;
    font-size: 14px;
    padding: 5px 10px;
}

.tsmaintenance-archives-pagination button:hover:not(:disabled) {
    text-decoration: underline;
}

.tsmaintenance-archives-pagination button:disabled {
    color: #ccc;
    cursor: default;
}
