/* ============================================
   PENGUMUMAN PAGE - Accent Theme & Split View
   ============================================ */
.pengumuman-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 900px) {
  .pengumuman-split { grid-template-columns: 2fr 1fr; align-items: start; }
}

/* Content Area */
.pengumuman-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  min-height: 400px;
  line-height: 1.8;
  color: var(--gray-700);
}
.pengumuman-content h1, .pengumuman-content h2, .pengumuman-content h3 {
  font-family: var(--font-display);
  color: var(--gray-900);
  margin: 1.5rem 0 0.75rem;
  line-height: 1.3;
}
.pengumuman-content p { margin-bottom: 1rem; }
.pengumuman-content a { color: var(--accent); font-weight: 600; text-decoration: none; }
.pengumuman-content a:hover { text-decoration: underline; }
.pengumuman-content ul, .pengumuman-content ol { margin: 1rem 0; padding-left: 1.5rem; }
.pengumuman-content li { margin-bottom: 0.4rem; }

.content-placeholder { text-align: center; padding: 3rem 1rem; color: var(--gray-400); }

/* Sidebar List */
.pengumuman-sidebar {
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding-right: 0.5rem;
}
.pengumuman-sidebar::-webkit-scrollbar { width: 6px; }
.pengumuman-sidebar::-webkit-scrollbar-track { background: var(--gray-100); border-radius: 3px; }
.pengumuman-sidebar::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }

.pengumuman-list { display: flex; flex-direction: column; gap: 0.75rem; }

.pengumuman-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem;
  border-left: 4px solid var(--accent);
  border: 1px solid var(--gray-100);
  cursor: pointer;
  transition: var(--transition);
}
.pengumuman-item:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.pengumuman-item.active { border-left-color: var(--accent-dark); background: #fffbeb; }
.pengumuman-item__content { flex: 1; min-width: 0; }
.pengumuman-item__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.pengumuman-item__meta {
  font-size: 0.72rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pengumuman-item.active .pengumuman-item__title { color: var(--accent-dark); }

/* Image wrapper for pengumuman */
.img-wrapper { text-align: center; margin: 1.5rem 0; }
.img-wrapper img { max-width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }

.empty-state { text-align: center; padding: 2rem; color: var(--gray-400); }

/* Mobile Stack */
@media (max-width: 899px) {
  .pengumuman-sidebar { position: static; max-height: none; overflow: visible; }
  .pengumuman-content { order: 2; }
  .pengumuman-sidebar { order: 1; }
}