/* === NOTICE SYSTEM STYLES === */

/* Filter Bar on Notice Board */
.filter-bar {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    border: 1px solid #e8e8e8;
}

.filter-bar form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.search-input, .filter-select {
    font-family: var(--font-family);
    font-size: 1rem;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-input:focus, .filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
}

.search-input {
    flex-grow: 1;
}

.filter-button {
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 700;
    padding: 12px 25px;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    background-color: var(--primary-color);
    color: var(--secondary-color);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-button:hover {
    background-color: #000;
    border-color: #000;
}

/* Notice List & Cards */
.notice-list {
    display: grid;
    gap: 30px;
}

.notice-card {
    background-color: var(--secondary-color);
    border: 1px solid #e8e8e8;
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition-smooth);
}

.notice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.07);
    border-color: transparent;
}

.notice-tags {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background-color: #eee;
    color: #333;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.notice-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-top: 15px;
}

.notice-meta span {
    display: inline-block;
}

.notice-excerpt {
    margin-top: 15px;
    color: var(--accent-color);
}

.notice-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.notice-card h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.notice-card h3 a:hover {
    color: #000;
}

/* Single Notice Page Styles */
.notice-single {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--secondary-color);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid #e8e8e8;
}

.notice-header h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    line-height: 1.2;
}

.notice-single hr {
    border: 0;
    border-top: 1px solid #e8e8e8;
    margin: 30px 0;
}

.notice-content p, .notice-content ul {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.notice-content h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.back-link {
    display: inline-block;
    margin-top: 40px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.notice-attachment {
    margin-top: 30px;
    padding: 20px;
    background-color: var(--light-bg-color);
    border-radius: var(--border-radius);
    border: 1px solid #e8e8e8;
}

.notice-attachment a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    margin-left: 10px;
}

.notice-attachment a:hover {
    text-decoration: underline;
}