/* --- Notice Archive Styles --- */

body{
    background-color: #0E2148;
}
.page-title{
    color: #e8e5e5;
}
.notice-archive-wrapper {
    max-width: 900px; /* Adjust as needed */
    margin: 40px auto;
    padding: 0 25px;
}

.notice-list-container {
    list-style: none; /* Remove bullet points */
    margin: 0;
    padding: 0;
}

.notice-list-item {
    display: flex;
    align-items: flex-start;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.notice-list-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.notice-date {
    flex-shrink: 0;
    font-family: 'Arial', sans-serif;
    font-size: 0.9em;
    color: #777;
    width: 100px;
    text-align: right;
    padding-right: 20px;
    border-right: 1px solid #e0e0e0;
}

.notice-content {
    flex-grow: 1;
    padding-left: 20px;
}

.notice-content h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2em;
    margin-top: 0;
    margin-bottom: 5px;
    line-height: 1.4;
}

.notice-content h3 a {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.notice-content h3 a:hover {
    color: #007bff; /* Primary color */
}

.notice-excerpt {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9em;
    color: #555;
    line-height: 1.6;
}

.notice-arrow {
    flex-shrink: 0;
    margin-left: 20px;
    font-size: 1.5em;
    color: #007bff;
    align-self: center;
    transition: transform 0.3s ease;
}

.notice-list-item:hover .notice-arrow {
    transform: translateX(5px);
}

/* Pagination Styling */
.pagination {
    margin-top: 30px;
    text-align: center;
}

.pagination a, .pagination span.current {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    border-radius: 4px;
    text-decoration: none;
    background-color: #f1f1f1;
    color: #333;
    transition: background-color 0.3s ease;
}

.pagination a:hover {
    background-color: #e0e0e0;
}

.pagination span.current {
    background-color: #007bff;
    color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .notice-list-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
    }

    .notice-date {
        width: 100%;
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 10px;
        margin-bottom: 10px;
        text-align: center;
    }

    .notice-content {
        padding-left: 0;
    }

    .notice-arrow {
        margin-left: 0;
        margin-top: 10px;
    }

    .notice-list-item:hover .notice-arrow {
        transform: translateY(3px);
    }
}
/* --- Responsive Adjustments for Mobile Phones (max-width: 480px) --- */
@media (max-width: 480px) {
    .notice-archive-wrapper {
        padding: 0 10px;
    }
    .page-header .page-title {
        font-size: 1.8em; /* Even smaller title */
    }
    .notice-list-item {
        padding: 10px; /* Even less padding */
        margin-bottom: 15px;
    }
    .notice-date {
        font-size: 0.8em; /* Even smaller date */
    }
    .notice-content h3 {
        font-size: 1em; /* Final size for title */
    }
    .notice-excerpt {
        font-size: 0.8em; /* Final size for excerpt */
    }
    .notice-arrow {
        font-size: 1.1em; /* Smallest arrow */
    }
}