
/* RED NOTICES GRID */
.notices-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; }

.filter-sidebar { background: var(--gray-bg); padding: 1.5rem; border-radius: 4px; height: fit-content; }
.filter-group { margin-bottom: 1.5rem; }
.filter-group label { font-weight: 700; font-size: 0.85rem; display: block; margin-bottom: 0.5rem; text-transform: uppercase; }
.filter-group input, .filter-group select { width: 100%; padding: 0.6rem; border: 1px solid var(--border-gray); border-radius: 3px; }

.notices-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.notice-card { background: #fff; border: 1px solid var(--border-gray); border-radius: 4px; overflow: hidden; transition: transform 0.2s; display: flex; flex-direction: column; }
.notice-card:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); border-color: var(--link-blue); }

.notice-img-wrapper { height: 220px; overflow: hidden; background: #eee; position: relative; }
.notice-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.notice-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #ccc; font-size: 3rem; }

.notice-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.notice-name { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--card-red); line-height: 1.2; }
.notice-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.3rem; }
.notice-meta i { width: 16px; color: var(--link-blue); }

/* PERSON PROFILE */
.profile-header { background: var(--gray-bg); padding: 2rem; border-bottom: 1px solid var(--border-gray); display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.profile-title h2 { margin-bottom: 0.5rem; color: var(--card-red); font-family: var(--serif); }
.profile-id { font-family: monospace; color: var(--text-muted); }

.profile-grid { display: grid; grid-template-columns: 300px 1fr; gap: 3rem; }
.profile-photo img { width: 100%; border-radius: 4px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

.profile-data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.data-item label { font-size: 0.8rem; text-transform: uppercase; color: var(--text-muted); font-weight: 700; display: block; margin-bottom: 0.3rem; }
.data-item span { font-size: 1.1rem; font-weight: 600; color: var(--text-dark); }

.profile-reason { background: #fff4f4; border-left: 4px solid var(--card-red); padding: 1.5rem; }
.profile-reason h3 { color: var(--card-red); font-size: 1.1rem; margin-bottom: 0.5rem; }

@media (max-width: 1024px) {
    .notices-layout { grid-template-columns: 1fr; gap: 3rem; }
    .filter-sidebar { order: -1; width: 100%; }
    .profile-grid { grid-template-columns: 1fr; gap: 3rem; }
    .profile-photo { max-width: 400px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .profile-header { flex-direction: column; text-align: center; gap: 1rem; padding: 1.5rem; }
    .profile-data-grid { grid-template-columns: 1fr; gap: 1rem; }
    .notices-grid { grid-template-columns: repeat(auto-fill, minmax(100%, 1fr)); }
    .notice-img-wrapper { height: 280px; }
}

/* PAGINATION STYLES */
.notices-grid-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-gray);
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.pagination-link:hover {
    background: var(--gray-bg);
    border-color: var(--link-blue);
    color: var(--link-blue);
}

.pagination-link.active {
    background: var(--link-blue);
    border-color: var(--link-blue);
    color: #fff;
}

.pagination-dots {
    color: var(--text-muted);
    padding: 0 0.5rem;
}

.pagination-link i {
    font-size: 0.8rem;
}

.pagination-link:first-child,
.pagination-link:last-child {
    min-width: 100px;
}

