.notice_list_section {
    /* Section specific styles */
}

.notice-list {
    /* Container for the list */
}

.notice-items {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 2px solid #333; /* Top border for the list */
}

.notice-items li {
    border-bottom: 1px solid #eee; /* Separator line */
}

.notice-items li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s ease;
}

.notice-items li a:hover {
    background-color: #f9f9f9;
}

.notice-title {
    flex-grow: 1;
    margin-right: 20px; /* Space between title and date */
    font-size: 1em;
    font-weight: normal;
}

.notice-date {
    font-size: 0.9em;
    color: #777;
    white-space: nowrap; /* Prevent date wrapping */
}

/* Styles for the 'no data' message */
.no-data {
    text-align: center;
    padding: 50px 20px;
    color: #777;
    border-bottom: 1px solid #eee;
}

/* Ensure list-actions has some margin */
.list-actions {
    margin-bottom: 20px;
    text-align: right;
} 

.pagination-container {
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .sub_section{
        padding: calc(var(--spacing-unit) * 1);
    }
    .notice-title {
        display: block; /* Ensure it behaves like a block for overflow */
        white-space: nowrap; /* Prevent wrapping */
        overflow: hidden; /* Hide overflowing text */
        text-overflow: ellipsis; /* Add ... */
    }
}

