/* ==========================================================================
   IPM JAWA TIMUR — PUBLIC SITE STYLESHEET
   Layout: Navbar top, hero, sections, footer
   Palette: Emerald (#059669) + Amber (#F59E0B)
   ========================================================================== */

/* ---- Reset & Base ---- */
.public-body {
  background: #f8fafc;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1e293b;
  margin: 0;
  padding: 0;
}

/* ========== NAVBAR ========== */
.pub-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.pub-navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.pub-nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  height: 70px;
  gap: 2rem;
}

/* Brand */
.pub-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.pub-brand-logo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.pub-brand-logo svg {
  width: 100%;
  height: 100%;
}

.pub-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.pub-brand-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: #059669;
}

.pub-brand-tagline {
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Nav Menu */
.pub-nav-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: auto;
}

.pub-nav-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.pub-nav-link:hover,
.pub-nav-link.active {
  color: #059669;
  background: #ecfdf5;
}

.dropdown-arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}

/* Dropdown */
.pub-nav-dropdown {
  position: relative;
}

.pub-nav-dropdown:hover .pub-dropdown-menu,
.pub-nav-dropdown:focus-within .pub-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pub-nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.pub-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  min-width: 280px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
}

.pub-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  text-decoration: none;
  color: #334155;
  transition: all 0.18s ease;
}

.pub-dropdown-item:hover {
  background: #ecfdf5;
  color: #059669;
}

.pub-dropdown-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pub-dropdown-icon svg {
  width: 18px;
  height: 18px;
  color: #059669;
  stroke: #059669;
}

.pub-dropdown-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
}

.pub-dropdown-desc {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 1px;
}

.pub-dropdown-item:hover .pub-dropdown-title {
  color: #059669;
}

/* Login Button */
.pub-btn-login {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  background: #059669;
  color: #fff !important;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  margin-left: 0.5rem;
}

.pub-btn-login svg {
  width: 16px;
  height: 16px;
}

.pub-btn-login:hover {
  background: #047857;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
}

/* Hamburger */
.pub-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  margin-left: auto;
}

.pub-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #334155;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.pub-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pub-hamburger.open span:nth-child(2) { opacity: 0; }
.pub-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== MAIN ========== */
.pub-main {
  min-height: calc(100vh - 70px);
}

/* Flash */
.pub-flash {
  max-width: 1240px;
  margin: 1rem auto;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
}
.pub-flash-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.pub-flash-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ========== HERO ========== */
.pub-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f0fdf4 0%, #fffbeb 50%, #ecfdf5 100%);
}

.pub-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.pub-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
}

.pub-hero-blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #a7f3d0, transparent 70%);
  top: -150px; left: -150px;
}

.pub-hero-blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #fde68a, transparent 70%);
  bottom: -100px; right: 200px;
}

.pub-hero-blob-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #6ee7b7, transparent 70%);
  top: 50%; right: -50px;
  transform: translateY(-50%);
}

.pub-hero-container {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 5rem 1.5rem 5rem;
  flex: 1;
  max-width: 680px;
  padding-left: calc((100vw - 1240px) / 2 + 1.5rem);
}

@media (max-width: 1280px) {
  .pub-hero-container { padding-left: 1.5rem; }
}

.pub-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(5, 150, 105, 0.12);
  border: 1px solid rgba(5, 150, 105, 0.3);
  color: #059669;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.pub-hero-badge svg {
  width: 14px;
  height: 14px;
}

.pub-hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.pub-hero-accent {
  background: linear-gradient(135deg, #059669, #F59E0B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pub-hero-subtitle {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 540px;
}

.pub-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Hero Stats */
.pub-hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.pub-stat-item {
  display: flex;
  flex-direction: column;
}

.pub-stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #059669;
  line-height: 1;
}

.pub-stat-label {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 2px;
}

.pub-stat-divider {
  width: 1px;
  height: 36px;
  background: #cbd5e1;
}

/* Hero Visual */
.pub-hero-visual {
  position: absolute;
  right: calc((100vw - 1240px) / 2);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 1280px) {
  .pub-hero-visual { right: 2rem; }
}

.pub-hero-emblem {
  width: 320px;
  height: 360px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroPulse 4s ease-in-out infinite;
}

.pub-hero-emblem svg,
.pub-hero-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@keyframes heroPulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.04) rotate(2deg); }
}

.pub-hero-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  width: 230px;
}

.pub-hero-card svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.pub-hero-card div {
  display: flex;
  flex-direction: column;
}

.pub-hero-card strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
}

.pub-hero-card span {
  font-size: 0.72rem;
  color: #64748b;
}

.pub-hero-card-float-1 {
  animation: float1 3.5s ease-in-out infinite;
  align-self: flex-start;
}

.pub-hero-card-float-2 {
  animation: float2 4s ease-in-out infinite;
  align-self: flex-end;
}

@keyframes float1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes float2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ========== BUTTONS ========== */
.pub-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.pub-btn svg {
  width: 18px;
  height: 18px;
}

.pub-btn-primary {
  background: #059669;
  color: #fff;
  border-color: #059669;
}

.pub-btn-primary:hover {
  background: #047857;
  border-color: #047857;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35);
}

.pub-btn-outline {
  background: transparent;
  color: #059669;
  border-color: #059669;
}

.pub-btn-outline:hover {
  background: #059669;
  color: #fff;
  transform: translateY(-2px);
}

.pub-btn-outline-green {
  background: transparent;
  color: #059669;
  border-color: rgba(5, 150, 105, 0.4);
}

.pub-btn-outline-green:hover {
  background: #059669;
  color: #fff;
  border-color: #059669;
}

.pub-btn-white {
  background: #fff;
  color: #059669;
  border-color: #fff;
}

.pub-btn-white:hover {
  background: #f0fdf4;
  color: #047857;
}

.pub-btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.pub-btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
}

.pub-btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
}

.pub-btn-block {
  width: 100%;
  justify-content: center;
}

/* ========== SECTIONS ========== */
.pub-section {
  padding: 5rem 0;
}

.pub-section-alt {
  background: #f1f5f9;
}

.pub-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.pub-container-narrow {
  max-width: 860px;
}

.pub-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.pub-section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pub-section-label svg {
  width: 14px;
  height: 14px;
}

.pub-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.pub-section-subtitle {
  font-size: 1rem;
  color: #64748b;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

.pub-section-action {
  text-align: center;
  margin-top: 2.5rem;
}

/* ========== NEWS CARDS ========== */
.pub-card-grid {
  display: grid;
  gap: 1.5rem;
}

.pub-card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.pub-card-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.pub-news-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.pub-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border-color: #a7f3d0;
}

.pub-news-card-featured {
  border-color: #fde68a;
}

.pub-news-card-featured:hover {
  border-color: #F59E0B;
}

.pub-news-img {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pub-news-img svg {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}

.pub-news-img-green { background: linear-gradient(135deg, #a7f3d0, #6ee7b7); }
.pub-news-img-amber { background: linear-gradient(135deg, #fde68a, #fbbf24); }
.pub-news-img-blue  { background: linear-gradient(135deg, #bae6fd, #7dd3fc); }

.pub-news-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pub-news-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pub-news-category-amber { color: #92400e; background: #fffbeb; }
.pub-news-category-blue  { color: #0c4a6e; background: #e0f2fe; }

.pub-news-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.pub-news-excerpt {
  font-size: 0.83rem;
  color: #64748b;
  line-height: 1.55;
  flex: 1;
  margin-bottom: 0.75rem;
}

.pub-news-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f5f9;
}

.pub-news-date {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #94a3b8;
}

.pub-news-date svg {
  width: 12px;
  height: 12px;
}

.pub-news-readmore {
  font-size: 0.8rem;
  font-weight: 700;
  color: #059669;
  text-decoration: none;
}

.pub-news-readmore:hover {
  color: #047857;
}

/* ========== AGENDA LIST ========== */
.pub-agenda-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pub-agenda-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
}

.pub-agenda-item:hover {
  border-color: #6ee7b7;
  box-shadow: 0 4px 16px rgba(5,150,105,0.1);
  transform: translateX(4px);
}

.pub-agenda-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 64px;
  background: linear-gradient(135deg, #059669, #047857);
  border-radius: 12px;
  color: #fff;
  text-align: center;
  flex-shrink: 0;
}

.pub-agenda-day {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.pub-agenda-month {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

.pub-agenda-info {
  flex: 1;
}

.pub-agenda-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

.pub-agenda-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.pub-agenda-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: #64748b;
}

.pub-agenda-meta svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: #059669;
  stroke: #059669;
}

.pub-agenda-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
}

.pub-agenda-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: #059669;
  text-decoration: none;
}

.pub-agenda-link:hover { color: #047857; }

/* Badges */
.pub-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  white-space: nowrap;
}

.pub-badge-green { background: #ecfdf5; color: #059669; }
.pub-badge-amber { background: #fffbeb; color: #92400e; }

/* ========== PENA CARDS ========== */
.pub-pena-card {
  display: flex;
  gap: 1.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.25s ease;
}

.pub-pena-card:hover {
  border-color: #a7f3d0;
  box-shadow: 0 8px 24px rgba(5,150,105,0.08);
  transform: translateY(-3px);
}

.pub-pena-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pub-pena-icon svg {
  width: 22px;
  height: 22px;
  stroke: #059669;
}

.pub-pena-icon-amber {
  background: linear-gradient(135deg, #fffbeb, #fde68a);
}

.pub-pena-icon-amber svg {
  stroke: #92400e;
}

.pub-pena-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pub-pena-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 0.18rem 0.6rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pub-pena-category-amber { color: #92400e; background: #fffbeb; }

.pub-pena-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}

.pub-pena-body p {
  font-size: 0.83rem;
  color: #64748b;
  line-height: 1.55;
}

.pub-pena-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.pub-pena-author {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #94a3b8;
}

.pub-pena-author svg {
  width: 13px;
  height: 13px;
}

/* ========== CTA ========== */
.pub-cta {
  background: linear-gradient(135deg, #059669, #047857);
  padding: 5rem 0;
}

.pub-cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.pub-cta-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.pub-cta-icon svg {
  width: 32px;
  height: 32px;
  stroke: #F59E0B;
}

.pub-cta-inner h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.pub-cta-inner p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.pub-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== PAGE HERO (inner pages) ========== */
.pub-page-hero {
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.pub-page-hero-green {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 50%, #fffbeb 100%);
  border-bottom: 1px solid #d1fae5;
}

.pub-page-hero-inner {
  max-width: 700px;
}

.pub-page-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.pub-page-hero p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.6;
}

/* ========== CONTENT CARD ========== */
.pub-content-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ========== VISI MISI ========== */
.pub-vm-block {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 14px;
}

.pub-vm-visi {
  background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
  border: 1px solid #a7f3d0;
}

.pub-vm-misi {
  background: linear-gradient(135deg, #fffbeb, #fef9c3);
  border: 1px solid #fde68a;
}

.pub-vm-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  background: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pub-vm-icon svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
}

.pub-vm-icon-amber { background: #F59E0B; }

.pub-vm-block h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.pub-vm-text {
  font-size: 1rem;
  font-style: italic;
  color: #334155;
  line-height: 1.7;
  font-weight: 600;
}

.pub-vm-list {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pub-vm-list li {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
}

/* ========== SAMBUTAN ========== */
.pub-sambutan-ketua {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pub-sambutan-foto {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.pub-sambutan-avatar {
  width: 80px;
  height: 80px;
  min-width: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 3px solid #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pub-sambutan-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.pub-sambutan-avatar svg {
  width: 40px;
  height: 40px;
}

.pub-sambutan-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.pub-sambutan-info h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
}

.pub-sambutan-info span {
  font-size: 0.8rem;
  color: #64748b;
}

.pub-sambutan-quote {
  background: #ecfdf5;
  border-left: 4px solid #059669;
  padding: 1rem 1.25rem;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: #1e293b;
  line-height: 1.7;
  margin: 0;
}

.pub-sambutan-teks {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pub-sambutan-teks p {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.75;
}

.pub-sambutan-salam {
  font-weight: 700;
  color: #059669 !important;
}

/* ========== STRUKTURAL ========== */
.pub-struktur-level {
  margin-bottom: 3rem;
}

.pub-struktur-level-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pub-struktur-level-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.pub-struktur-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.pub-struktur-grid-center {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  justify-content: center;
}

.pub-struktur-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
}

.pub-struktur-card:hover {
  border-color: #6ee7b7;
  box-shadow: 0 6px 20px rgba(5,150,105,0.1);
  transform: translateY(-3px);
}

.pub-struktur-card-sm {
  padding: 1.1rem 0.9rem;
}

.pub-struktur-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ecfdf5;
  border: 2px solid #a7f3d0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  overflow: hidden;
}

.pub-struktur-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.pub-struktur-avatar svg {
  width: 30px;
  height: 30px;
}

.pub-struktur-avatar-sm {
  width: 52px;
  height: 52px;
  overflow: hidden;
}

.pub-struktur-avatar-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.pub-struktur-avatar-sm svg {
  width: 22px;
  height: 22px;
}

.pub-struktur-jabatan {
  font-size: 0.7rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 0.15rem 0.6rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 0.4rem;
  text-align: center;
}

.pub-struktur-nama {
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.pub-struktur-asal {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 2px;
}

/* ========== DOWNLOAD ========== */
.pub-download-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pub-download-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
}

.pub-download-item:hover {
  border-color: #6ee7b7;
  box-shadow: 0 4px 16px rgba(5,150,105,0.08);
}

.pub-download-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pub-download-icon svg {
  width: 22px;
  height: 22px;
}

.pub-download-icon-green { background: #ecfdf5; }
.pub-download-icon-green svg { stroke: #059669; }
.pub-download-icon-amber { background: #fffbeb; }
.pub-download-icon-amber svg { stroke: #92400e; }
.pub-download-icon-blue  { background: #e0f2fe; }
.pub-download-icon-blue svg  { stroke: #0c4a6e; }

.pub-download-info {
  flex: 1;
}

.pub-download-kat {
  font-size: 0.7rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 0.15rem 0.55rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pub-download-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.pub-download-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #94a3b8;
}

/* ========== KONTAK ========== */
.pub-kontak-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.pub-kontak-info h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.pub-kontak-info > p {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.pub-kontak-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.pub-kontak-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.pub-kontak-icon svg {
  width: 20px;
  height: 20px;
  stroke: #059669;
}

.pub-kontak-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.15rem;
}

.pub-kontak-item p {
  font-size: 0.88rem;
  color: #475569;
}

/* Form */
.pub-kontak-form-wrap {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.pub-kontak-form-wrap h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.pub-kontak-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pub-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pub-form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
}

.pub-form-group input,
.pub-form-group textarea {
  padding: 0.7rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: inherit;
  color: #1e293b;
  background: #f8fafc;
  transition: all 0.2s ease;
  outline: none;
}

.pub-form-group input:focus,
.pub-form-group textarea:focus {
  border-color: #059669;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(5,150,105,0.12);
}

.pub-form-group textarea {
  resize: vertical;
}

/* ========== FOOTER ========== */
.pub-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 4rem 0 0;
}

.pub-footer-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.pub-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.pub-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pub-footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pub-footer-logo svg {
  width: 40px;
  height: 40px;
}

.pub-footer-logo span {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.pub-footer-brand p {
  font-size: 0.83rem;
  line-height: 1.65;
  max-width: 280px;
}

.pub-footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pub-footer-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pub-footer-col ul li a {
  color: #94a3b8;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}

.pub-footer-col ul li a:hover {
  color: #6ee7b7;
}

.pub-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem !important;
}

.pub-footer-contact li {
  display: flex !important;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: #94a3b8;
}

.pub-footer-contact li svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: #6ee7b7;
}

.pub-footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pub-footer-bottom p {
  font-size: 0.8rem;
}

.pub-footer-login {
  font-size: 0.8rem;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}

.pub-footer-login:hover { color: #6ee7b7; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .pub-hero-visual { display: none; }
  .pub-hero-container { max-width: 100%; padding: 4rem 1.5rem; }
  .pub-card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pub-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .pub-kontak-grid { gap: 2rem; }
}

@media (max-width: 992px) {
  .pub-nav-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0; right: 0;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    z-index: 999;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .pub-nav-menu.open { display: flex; }

  .pub-hamburger { display: flex; }

  .pub-nav-dropdown .pub-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: #f8fafc;
    border-radius: 10px;
    display: none;
    padding: 0.5rem;
    margin-top: 0.25rem;
  }

  .pub-nav-dropdown.open .pub-dropdown-menu { display: block; }

  .pub-card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pub-card-grid-2 { grid-template-columns: 1fr; }
  .pub-kontak-grid { grid-template-columns: 1fr; }
  .pub-footer-grid { grid-template-columns: 1fr 1fr; }
  .pub-agenda-item { flex-wrap: wrap; }
  .pub-agenda-status { flex-direction: row; width: 100%; }
  .pub-hero-stats { gap: 1rem; }
  .pub-hero-actions { flex-direction: column; }
  .pub-cta-actions { flex-direction: column; align-items: center; }
  .pub-struktur-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .pub-card-grid-3 { grid-template-columns: 1fr; }
  .pub-footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .pub-nav-container { padding: 0 1rem; }
  .pub-brand-tagline { display: none; }
  .pub-struktur-grid { grid-template-columns: 1fr; }
}

/* Landscape Phone Adaptation (Screen rotation with short height) */
@media (max-height: 520px) and (orientation: landscape) {
  .pub-navbar {
    height: 56px;
  }
  .pub-nav-container {
    height: 56px;
  }
  .pub-nav-menu {
    top: 56px;
    max-height: calc(100vh - 56px);
  }
  .pub-hero {
    padding: 60px 0 20px;
    min-height: auto;
  }
  .pub-hero-container {
    padding: 1.5rem 1rem;
  }
  .pub-hero-title {
    font-size: 1.85rem;
    line-height: 1.25;
  }
  .pub-hero-lead {
    font-size: 0.92rem;
    margin-bottom: 1rem;
  }
  .pub-hero-stats {
    margin-top: 1.25rem;
    gap: 1rem;
  }
  .pub-stat-num {
    font-size: 1.5rem;
  }
  .agenda-modal-content, .pena-modal-content {
    max-height: 88vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .agenda-modal-grid {
    grid-template-columns: 1fr;
  }
  .agenda-modal-poster-col {
    max-height: 180px;
  }
  .agenda-modal-poster-img {
    height: 180px;
  }
  .pub-section-header {
    margin-bottom: 1.5rem;
  }
}



/* ==========================================================================
   AGENDA POSTER GALLERY & MODAL SYSTEM (PUBLIC)
   ========================================================================== */

/* Filter & Search Bar */
.agenda-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.agenda-filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.agenda-filter-pill {
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  color: #475569;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.agenda-filter-pill:hover {
  border-color: #059669;
  color: #059669;
  background: #ecfdf5;
}

.agenda-filter-pill.active {
  background: #059669;
  border-color: #059669;
  color: #fff;
  box-shadow: 0 4px 12px rgba(5,150,105,0.25);
}

.agenda-search-form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 50px;
  padding: 0.35rem 0.6rem 0.35rem 1rem;
  min-width: 280px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  transition: border-color 0.2s;
}

.agenda-search-form:focus-within {
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5,150,105,0.1);
}

.agenda-search-form svg {
  width: 17px;
  height: 17px;
  stroke: #94a3b8;
  flex-shrink: 0;
}

.agenda-search-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.88rem;
  font-family: inherit;
  color: #1e293b;
  width: 100%;
}

.agenda-search-btn {
  background: #059669;
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s;
}

.agenda-search-btn:hover {
  background: #047857;
}

/* Poster Cards Grid */
.agenda-poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.agenda-poster-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.agenda-poster-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(5, 150, 105, 0.15);
  border-color: #6ee7b7;
}

/* Poster Visual / Image */
.agenda-poster-media {
  position: relative;
  width: 100%;
  height: 240px;
  background: #0f172a;
  overflow: hidden;
}

.agenda-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.agenda-poster-card:hover .agenda-poster-img {
  transform: scale(1.06);
}

.agenda-poster-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.1) 0%, rgba(15,23,42,0.7) 100%);
  pointer-events: none;
}

/* Top Badges on Poster */
.agenda-poster-top-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}

.agenda-poster-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.agenda-badge-pw { background: #059669; color: #fff; }
.agenda-badge-pd { background: #0284c7; color: #fff; }
.agenda-badge-pc { background: #d97706; color: #fff; }
.agenda-badge-pr { background: #7c3aed; color: #fff; }
.agenda-badge-status { background: rgba(255,255,255,0.92); color: #059669; }
.agenda-badge-status-tutup { background: rgba(239,68,68,0.9); color: #fff; }

/* Date on Poster */
.agenda-poster-date-overlay {
  position: absolute;
  bottom: 12px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.agenda-poster-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(15,23,42,0.85);
  backdrop-filter: blur(6px);
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.agenda-poster-date-pill svg {
  width: 13px;
  height: 13px;
  stroke: #F59E0B;
}

.agenda-poster-fee-pill {
  background: #F59E0B;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Poster Card Body */
.agenda-poster-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
}

.agenda-poster-org {
  font-size: 0.72rem;
  font-weight: 700;
  color: #059669;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.agenda-poster-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0;
}

.agenda-poster-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.agenda-poster-details {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f5f9;
}

.agenda-poster-detail-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: #475569;
}

.agenda-poster-detail-item svg {
  width: 14px;
  height: 14px;
  stroke: #059669;
  flex-shrink: 0;
}

.agenda-poster-action {
  margin-top: 0.5rem;
}

.agenda-poster-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  background: #ecfdf5;
  color: #059669;
  font-weight: 700;
  font-size: 0.86rem;
  border: 1.5px solid #a7f3d0;
  transition: all 0.2s ease;
  cursor: pointer;
}

.agenda-poster-btn svg {
  width: 15px;
  height: 15px;
}

.agenda-poster-card:hover .agenda-poster-btn {
  background: #059669;
  border-color: #059669;
  color: #fff;
  box-shadow: 0 4px 14px rgba(5,150,105,0.3);
}

/* Empty State */
.agenda-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background: #fff;
  border-radius: 20px;
  border: 1px dashed #cbd5e1;
}

.agenda-empty-state svg {
  width: 56px;
  height: 56px;
  stroke: #94a3b8;
  margin-bottom: 1rem;
}

.agenda-empty-state h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.agenda-empty-state p {
  color: #64748b;
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   AGENDA DETAIL MODAL (Clean, Informative, No Registration Form)
   ========================================================================== */
.agenda-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.agenda-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.agenda-modal-content {
  background: #fff;
  border-radius: 24px;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.agenda-modal-overlay.open .agenda-modal-content {
  transform: scale(1) translateY(0);
}

.agenda-modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}

.agenda-modal-close-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: rotate(90deg);
}

.agenda-modal-close-btn svg {
  width: 18px;
  height: 18px;
}

/* Modal Layout: 2 Columns */
.agenda-modal-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
}

.agenda-modal-poster-col {
  background: #0f172a;
  position: relative;
  min-height: 380px;
}

.agenda-modal-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.agenda-modal-poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.1) 0%, rgba(15,23,42,0.7) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.agenda-modal-poster-overlay .modal-poster-badge {
  display: inline-block;
  background: #059669;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  width: fit-content;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.agenda-modal-info-col {
  padding: 2.25rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.modal-header-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.modal-org-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #059669;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modal-agenda-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

.modal-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.1rem;
}

.modal-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.modal-meta-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 10px;
  background: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-meta-icon svg {
  width: 16px;
  height: 16px;
  stroke: #059669;
}

.modal-meta-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.modal-meta-val {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
}

.modal-desc-section h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.modal-desc-section p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.7;
}

/* Informational Notice (replaces registration form) */
.modal-notice-box {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
  border: 1.5px solid #a7f3d0;
  border-radius: 14px;
  padding: 1rem 1.15rem;
}

.modal-notice-box svg {
  width: 20px;
  height: 20px;
  stroke: #059669;
  flex-shrink: 0;
  margin-top: 2px;
}

.modal-notice-box strong {
  display: block;
  font-size: 0.85rem;
  color: #065f46;
  margin-bottom: 0.2rem;
}

.modal-notice-box p {
  font-size: 0.82rem;
  color: #047857;
  line-height: 1.5;
  margin: 0;
}

.modal-footer-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.modal-footer-actions .pub-btn {
  flex: 1;
  justify-content: center;
}

/* Modal Responsive */
@media (max-width: 768px) {
  .agenda-modal-grid {
    grid-template-columns: 1fr;
  }
  .agenda-modal-poster-col {
    height: 220px;
    min-height: 220px;
  }
  .agenda-modal-info-col {
    padding: 1.5rem;
  }
  .modal-meta-grid {
    grid-template-columns: 1fr;
  }
  .agenda-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .agenda-search-form {
    min-width: 100%;
  }
}

/* ==========================================================================
   PENA POSTER CARDS & READER MODAL
   ========================================================================== */

/* Toolbar & Filters (shares structure with agenda) */
.pena-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.pena-filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.pena-filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.15rem;
  border-radius: 50px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  color: #475569;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.pena-filter-pill:hover {
  border-color: #059669;
  color: #059669;
  background: #ecfdf5;
}

.pena-filter-pill.active {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(5,150,105,0.25);
}

.pena-search-form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 50px;
  padding: 0.35rem 0.5rem 0.35rem 1rem;
  min-width: 280px;
  max-width: 100%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.pena-search-form:focus-within {
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5,150,105,0.12);
}

.pena-search-form svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  stroke: #64748b;
  flex-shrink: 0;
}

.pena-search-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.88rem;
  font-family: inherit;
  color: #1e293b;
  width: 100%;
  padding: 0.35rem 0;
}

.pena-search-btn {
  background: #059669;
  border: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.8rem;
  font-family: inherit;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.pena-search-btn:hover {
  background: #047857;
}

/* Pena Poster Grid */
.pena-poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.pena-poster-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.pena-poster-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(5, 150, 105, 0.16);
  border-color: #6ee7b7;
}

/* Media Poster Box */
.pena-poster-media {
  position: relative;
  width: 100%;
  height: 240px;
  background: #0f172a;
  overflow: hidden;
}

.pena-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.pena-poster-card:hover .pena-poster-img {
  transform: scale(1.06);
}

.pena-poster-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.15) 0%, rgba(15,23,42,0.78) 100%);
  pointer-events: none;
}

/* Badges on Poster */
.pena-poster-top-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}

.pena-poster-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  color: #fff;
}

.pena-badge-opini { background: #059669; }
.pena-badge-esai { background: #d97706; }
.pena-badge-analisis { background: #0284c7; }
.pena-badge-refleksi { background: #7c3aed; }
.pena-badge-umum { background: #475569; }

/* Date & Reading Time Overlay */
.pena-poster-date-overlay {
  position: absolute;
  bottom: 12px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.pena-poster-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(15,23,42,0.85);
  backdrop-filter: blur(6px);
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
}

.pena-poster-date-pill svg {
  width: 13px;
  height: 13px;
  min-width: 13px;
  stroke: #F59E0B;
}

.pena-poster-time-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(245, 158, 11, 0.95);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.pena-poster-time-pill svg {
  width: 12px;
  height: 12px;
  min-width: 12px;
  stroke: currentColor;
}

/* Card Body */
.pena-poster-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
}

.pena-poster-author-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.pena-poster-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  border: 1px solid #a7f3d0;
  flex-shrink: 0;
}

.pena-poster-author-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.pena-poster-author-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
}

.pena-poster-author-origin {
  font-size: 0.72rem;
  color: #059669;
  font-weight: 600;
}

.pena-poster-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.pena-poster-card:hover .pena-poster-title {
  color: #059669;
}

.pena-poster-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pena-poster-action {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f5f9;
}

.pena-poster-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  background: #ecfdf5;
  color: #059669;
  font-weight: 700;
  font-size: 0.86rem;
  font-family: inherit;
  border: 1.5px solid #a7f3d0;
  transition: all 0.2s ease;
  cursor: pointer;
}

.pena-poster-btn svg {
  width: 15px;
  height: 15px;
  min-width: 15px;
  stroke: currentColor;
}

.pena-poster-card:hover .pena-poster-btn {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(5,150,105,0.3);
}

/* ==========================================================================
   PENA ARTICLE DETAIL / READER MODAL
   ========================================================================== */
.pena-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pena-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.pena-modal-content {
  background: #ffffff;
  border-radius: 24px;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.pena-modal-overlay.open .pena-modal-content {
  transform: scale(1) translateY(0);
}

.pena-modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}

.pena-modal-close-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: rotate(90deg);
}

.pena-modal-close-btn svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
}

/* Modal Banner Poster */
.pena-modal-banner {
  position: relative;
  width: 100%;
  height: 280px;
  background: #0f172a;
  overflow: hidden;
}

.pena-modal-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pena-modal-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.15) 0%, rgba(15,23,42,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 2.25rem;
}

.modal-pena-category-pill {
  display: inline-block;
  background: #059669;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  width: fit-content;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  letter-spacing: 0.04em;
}

.modal-pena-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Modal Article Content Area */
.pena-modal-article-wrap {
  padding: 2rem 2.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pena-modal-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}

.modal-author-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal-author-avatar-lg {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #059669;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.modal-author-details {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.modal-author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.modal-author-sub {
  font-size: 0.78rem;
  color: #059669;
  font-weight: 600;
}

.modal-meta-pills {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.modal-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #f1f5f9;
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
}

.modal-meta-pill svg {
  width: 14px;
  height: 14px;
  stroke: #059669;
}

.modal-pena-lead {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.7;
  padding: 1rem 1.25rem;
  background: #f8fafc;
  border-left: 4px solid #059669;
  border-radius: 0 12px 12px 0;
}

.modal-pena-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.modal-pena-paragraphs p {
  font-size: 0.96rem;
  color: #334155;
  line-height: 1.8;
  margin: 0;
}

.modal-pena-quote {
  margin: 0.5rem 0;
  padding: 1.2rem 1.5rem;
  background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
  border: 1.5px solid #a7f3d0;
  border-radius: 14px;
  font-style: italic;
  font-weight: 600;
  color: #065f46;
  font-size: 0.98rem;
  line-height: 1.6;
  position: relative;
}

.modal-author-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.modal-author-box-content h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.2rem 0;
}

.modal-author-box-content p {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* Modal Footer Actions */
.modal-pena-footer-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.modal-pena-footer-actions .pub-btn {
  flex: 1;
  justify-content: center;
}

@media (max-width: 768px) {
  .pena-toolbar { flex-direction: column; align-items: stretch; }
  .pena-search-form { min-width: 100%; }
  .pena-modal-banner { height: 210px; }
  .modal-pena-title { font-size: 1.25rem; }
  .pena-modal-article-wrap { padding: 1.5rem; }
}
