/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: #f2f6fc;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Latest Notices */
.latest-notices h2 {
    text-align: center;
    color: #004080;
    margin-bottom: 25px;
}
/* Notices Section */
.notice-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.notice-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.notice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.notice-card img.clickable {
    width: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s;
}
.notice-card img.clickable:hover {
    transform: scale(1.03);
}

.notice-content {
    padding: 20px;
}

.notice-content h3 {
    color: #004080;
    margin-top: 0;
    font-size: 18px;
}

.notice-content p {
    color: #333;
    font-size: 14px;
}

.no-notices {
    text-align: center;
    color: #6b7280;
    font-size: 16px;
    grid-column: 1 / -1;
}

/* Notice Search Bar */
.notice-search {
    text-align: center;
    margin-bottom: 20px;
}
.notice-search input {
    width: 60%;
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
}
.notice-search input:focus {
    border-color: #004080;
    box-shadow: 0 0 5px rgba(0, 64, 128, 0.5);
}

.notice-detail {
    margin: 40px 0;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.notice-detail h2 {
    color: #004080;
    margin-top: 0;
}

.notice-detail p {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

.notice-detail .notice-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: transform 0.3s;
}
.notice-detail .notice-image:hover {
    transform: scale(1.02);
}

.back-btn {
    display: inline-block;
    margin-bottom: 20px;
    text-decoration: none;
    color: #004080;
    font-weight: 500;
    transition: color 0.3s;
}
.back-btn:hover {
    color: #ff6600;
}

.download-btn {
    display: inline-block;
    padding: 8px 15px;
    background: #004080;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 20px;
    transition: background 0.3s;
}
.download-btn:hover {
    background: #ff6600;
}
