/* notice.css */
:root { --bg-light: #ffffff; --border-color: #e2e8f0; }
body { background: #ffffff; }

.page-header {
    max-width: 1000px;
    margin: 3rem auto 1rem auto;
    padding: 0 1.5rem 1rem 1.5rem;
    border-bottom: 2px solid var(--primary);
}
.page-header h2 {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.container { max-width: 1000px; margin: 0 auto 4rem auto; padding: 0 1.5rem; }

.notice-list { display: flex; flex-direction: column; }

.notice-row {
    display: flex;
    align-items: center;
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    transition: background 0.2s ease;
    gap: 20px;
    color: var(--text-main);
}
.notice-row:hover { background: #f8fafc; }
.notice-row.non-clickable:hover { background: transparent; cursor: default; }

.notice-date {
    min-width: 100px;
    display: flex;
    flex-direction: column;
    color: var(--secondary);
}
.date-day { font-size: 1.4rem; font-weight: 800; line-height: 1; color: var(--primary); }
.date-my { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

.notice-info { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.notice-title { font-size: 1.05rem; font-weight: 600; color: var(--primary); line-height: 1.4; transition: color 0.2s; }
.notice-row:not(.non-clickable):hover .notice-title { color: var(--accent); }
.notice-subtext { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

.notice-badge {
    background: #10b981;
    color: white;
    font-size: 0.65rem;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.notice-icon { color: var(--text-muted); font-size: 1.2rem; opacity: 0.5; transition: opacity 0.2s, transform 0.2s; }
.notice-row:hover .notice-icon { opacity: 1; transform: translateX(5px); color: var(--accent); }

@media (max-width: 992px) {
    .page-header { margin: 2rem auto 1rem auto; padding-bottom: 0.5rem; }
    .page-header h2 { font-size: 1.4rem; }
    .notice-row { padding: 1rem 0; gap: 15px; }
    .notice-date { min-width: 60px; background: #f8fafc; padding: 10px 5px; border-radius: 8px; border: 1px solid #e2e8f0; align-items: center; text-align: center; }
    .date-day { font-size: 1.15rem; }
    .date-my { margin-top: 2px; font-size: 0.65rem; }
    .notice-title { font-size: 0.9rem; }
    .notice-subtext { font-size: 0.75rem; }
    .notice-badge { font-size: 0.6rem; padding: 3px 8px; }
    .notice-icon { display: block; font-size: 1rem; opacity: 0.7; }
}
