/* ===================================================
   PORTAL FAKULTAS KESEHATAN (FKES) HAMZANWADI - STYLE
   =================================================== */

:root {
  --primary: #059669;
  --primary-dark: #047857;
  --primary-light: #10b981;
  --primary-subtle: #d1fae5;
  --secondary: #0284c7;
  --accent: #f59e0b;
  --dark-navy: #0f172a;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--slate-50);
  color: var(--slate-800);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------------- TOPBAR ---------------- */
.topbar {
  background: var(--slate-900);
  color: var(--slate-400);
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.topbar-info, .topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
}
.topbar-info span, .topbar-info a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar-info a:hover, .topbar-links a:hover {
  color: var(--primary-light);
}

/* ---------------- TICKER ---------------- */
.ticker-wrap {
  background: linear-gradient(90deg, var(--primary-dark), #065f46);
  color: var(--white);
  padding: 6px 0;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
}
.ticker-title {
  background: var(--accent);
  color: var(--slate-900);
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 4px;
  margin-right: 15px;
  white-space: nowrap;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ticker-content {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
}
.ticker-inner {
  display: inline-block;
  animation: tickerSlide 25s linear infinite;
}
@keyframes tickerSlide {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ---------------- NAVBAR ---------------- */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3);
}
.brand-text h1 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.1;
}
.brand-text span {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Navigation Links & Dropdowns */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-700);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--primary-subtle);
}
.dropdown-icon {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}
.nav-item:hover .dropdown-icon {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 1050;
}
.nav-item:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 9px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate-700);
}
.dropdown-menu li a:hover {
  background: var(--slate-50);
  color: var(--primary);
  padding-left: 22px;
}

/* Mobile Toggle */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-login-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--primary);
  color: var(--white) !important;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.25);
}
.btn-login-nav:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--slate-800);
  cursor: pointer;
}

/* ---------------- HERO SECTION ---------------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #064e3b 0%, #0f172a 100%);
  color: var(--white);
  padding: 90px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.2), transparent 40%),
              radial-gradient(circle at 10% 80%, rgba(2, 132, 199, 0.15), transparent 40%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero-title span {
  background: linear-gradient(135deg, #34d399, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--slate-200);
  margin-bottom: 30px;
  max-width: 540px;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.4);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.5);
}
.btn-outline-light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Hero Cards / Stats Column */
.hero-stats-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.stat-box {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 18px;
  text-align: center;
  transition: transform 0.2s ease;
}
.stat-box:hover {
  transform: translateY(-3px);
  border-color: var(--primary-light);
}
.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: #34d399;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--slate-300);
  font-weight: 500;
}

/* ---------------- SECTION COMMONS ---------------- */
.section {
  padding: 70px 0;
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}
.section-subtitle {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.25;
}
.section-desc {
  font-size: 0.95rem;
  color: var(--slate-600);
  margin-top: 10px;
}

/* ---------------- NEWS SECTION ---------------- */
.news-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}
.news-tab-btn {
  padding: 8px 18px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
  cursor: pointer;
  transition: all 0.2s ease;
}
.news-tab-btn.active, .news-tab-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 3px 8px rgba(5, 150, 105, 0.3);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}
.news-thumb {
  position: relative;
  height: 200px;
  background: var(--slate-200);
  overflow: hidden;
}
.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.news-card:hover .news-thumb img {
  transform: scale(1.06);
}
.news-cat-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(5, 150, 105, 0.9);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  text-transform: uppercase;
}
.news-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.78rem;
  color: var(--slate-500);
  margin-bottom: 12px;
}
.news-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.35;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card:hover .news-title {
  color: var(--primary);
}
.news-excerpt {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--slate-100);
  padding-top: 14px;
}
.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}
.read-count {
  font-size: 0.78rem;
  color: var(--slate-400);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ---------------- AGENDA & PRODI SECTION ---------------- */
.agenda-prodi-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 36px;
}
.agenda-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.agenda-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.2s ease;
}
.agenda-item:hover {
  transform: translateX(4px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}
.agenda-date-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  text-align: center;
  min-width: 62px;
}
.agenda-day {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}
.agenda-month {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 2px;
}
.agenda-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 6px;
}
.agenda-meta {
  display: flex;
  gap: 14px;
  font-size: 0.78rem;
  color: var(--slate-500);
  flex-wrap: wrap;
}

/* Prodi Cards */
.prodi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.prodi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.prodi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
}
.prodi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.prodi-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
}
.prodi-badge {
  display: inline-block;
  background: var(--primary-subtle);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.prodi-card p {
  font-size: 0.85rem;
  color: var(--slate-600);
  line-height: 1.5;
}

/* ---------------- STAFF DIRECTORY ---------------- */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.staff-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.staff-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.staff-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--slate-200), var(--slate-300));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--slate-500);
  overflow: hidden;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
}
.staff-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.staff-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 4px;
}
.staff-role {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
}
.staff-nip {
  font-size: 0.75rem;
  color: var(--slate-400);
}

/* ---------------- DOWNLOAD & GALLERY ---------------- */
.download-table {
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-md);
  border-collapse: collapse;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
}
.download-table th, .download-table td {
  padding: 14px 18px;
  text-align: left;
  font-size: 0.88rem;
}
.download-table th {
  background: var(--slate-100);
  font-weight: 700;
  color: var(--slate-700);
  border-bottom: 1px solid var(--slate-200);
}
.download-table tr:not(:last-child) td {
  border-bottom: 1px solid var(--slate-100);
}
.download-table tr:hover td {
  background: var(--slate-50);
}
.btn-dl {
  padding: 5px 12px;
  font-size: 0.78rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 4px;
  font-weight: 600;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.gallery-item {
  position: relative;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
}

/* ---------------- CONTACT FORM ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}
.contact-info-card {
  background: linear-gradient(135deg, var(--slate-900), #1e293b);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
}
.contact-info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 1.1rem;
}
.contact-item h5 {
  font-size: 0.9rem;
  color: var(--slate-300);
}
.contact-item p {
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 0.9rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: var(--slate-50);
  transition: all 0.2s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}
textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

/* ---------------- FOOTER ---------------- */
.footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 70px 0 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 50px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--primary);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
}
.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.82rem;
}

/* ---------------- MODAL DETAIL ---------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  padding: 20px;
}
.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: transform 0.25s ease;
  position: relative;
}
.modal-backdrop.active .modal-box {
  transform: scale(1);
}
.modal-header {
  padding: 24px;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 10;
}
.modal-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--slate-900);
}
.btn-close-modal {
  background: var(--slate-100);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--slate-600);
}
.modal-body {
  padding: 24px;
  line-height: 1.8;
  color: var(--slate-700);
}
.modal-body img {
  border-radius: var(--radius-md);
  margin: 16px 0;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .agenda-prodi-grid, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.2rem;
  }
}

/* ===================================================
   DEDICATED FULL PAGE VIEW STYLES
   =================================================== */

.page-view-section {
  padding: 40px 0 80px;
  background-color: var(--slate-50);
  min-height: calc(100vh - 200px);
}

.page-view-top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
  padding: 14px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--slate-500);
}
.page-breadcrumb a {
  color: var(--primary);
  font-weight: 600;
}
.page-breadcrumb a:hover {
  text-decoration: underline;
}
.page-breadcrumb-sep {
  color: var(--slate-400);
}
.page-breadcrumb-current {
  color: var(--slate-800);
  font-weight: 600;
  max-width: 400px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--slate-100);
  color: var(--slate-700);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-back-home:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateX(-3px);
}

/* 2-Column Layout */
.page-view-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

/* Main Article Card */
.page-article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
  padding: 40px;
  overflow: hidden;
}

.page-badge-wrap {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.page-type-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--primary-subtle);
  color: var(--primary-dark);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.page-cat-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: #e0f2fe;
  color: #0369a1;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.page-article-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.3;
  margin-bottom: 20px;
}

.page-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 14px 0 20px;
  border-bottom: 1px solid var(--slate-200);
  margin-bottom: 28px;
  font-size: 0.88rem;
  color: var(--slate-500);
}
.page-article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-copy-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--slate-700);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-copy-link:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}

/* Featured Media */
.page-featured-media {
  margin-bottom: 32px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}
.page-featured-media img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* Rich Content Typography */
.page-rich-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #334155;
  word-break: break-word;
}
.page-rich-content p {
  margin-bottom: 20px;
}
.page-rich-content h2, .page-rich-content h3, .page-rich-content h4 {
  color: var(--slate-900);
  font-weight: 700;
  margin: 32px 0 16px;
  line-height: 1.4;
}
.page-rich-content h2 {
  font-size: 1.6rem;
  border-bottom: 2px solid var(--primary-subtle);
  padding-bottom: 8px;
}
.page-rich-content h3 {
  font-size: 1.35rem;
}
.page-rich-content h4 {
  font-size: 1.15rem;
}
.page-rich-content ul, .page-rich-content ol {
  margin: 16px 0 24px 28px;
}
.page-rich-content li {
  margin-bottom: 8px;
  padding-left: 4px;
}
.page-rich-content ul li {
  list-style-type: disc;
}
.page-rich-content ol li {
  list-style-type: decimal;
}
.page-rich-content blockquote {
  border-left: 4px solid var(--primary);
  background: var(--slate-50);
  padding: 16px 24px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--slate-700);
}
.page-rich-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 20px auto;
  display: block;
  box-shadow: var(--shadow-sm);
}
.page-rich-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
}
.page-rich-content table th, .page-rich-content table td {
  border: 1px solid var(--slate-200);
  padding: 12px 16px;
  text-align: left;
}
.page-rich-content table th {
  background: var(--slate-100);
  font-weight: 700;
  color: var(--slate-800);
}
.page-rich-content table tr:nth-child(even) td {
  background: var(--slate-50);
}

/* Article Footer */
.page-article-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--slate-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.page-share-box {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.page-share-buttons {
  display: flex;
  gap: 8px;
}
.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-share.wa {
  background: #25d366;
  color: #fff;
}
.btn-share.wa:hover {
  background: #1da851;
}
.btn-share.fb {
  background: #1877f2;
  color: #fff;
}
.btn-share.fb:hover {
  background: #0f5ecc;
}
.btn-share.tw {
  background: #0f172a;
  color: #fff;
}
.btn-share.tw:hover {
  background: #334155;
}
.btn-back-home-bottom {
  padding: 10px 22px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-back-home-bottom:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

/* Sidebar Styling */
.page-sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}
.sidebar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--slate-100);
}
.sidebar-links-list li {
  margin-bottom: 10px;
}
.sidebar-links-list li:last-child {
  margin-bottom: 0;
}
.sidebar-links-list a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--slate-700);
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--slate-50);
  border: 1px solid transparent;
  transition: all 0.2s;
}
.sidebar-links-list a:hover {
  background: var(--primary-subtle);
  color: var(--primary-dark);
  border-color: var(--primary-light);
  transform: translateX(4px);
}

.sidebar-news-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--slate-100);
  cursor: pointer;
}
.sidebar-news-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.sidebar-news-thumb {
  width: 70px;
  height: 55px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.sidebar-news-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-800);
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sidebar-news-meta {
  font-size: 0.75rem;
  color: var(--slate-400);
}

.pmb-cta-card {
  background: linear-gradient(135deg, #065f46 0%, #047857 100%);
  color: #fff;
  border: none;
}
.pmb-cta-badge {
  display: inline-block;
  background: #f59e0b;
  color: #0f172a;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.pmb-cta-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
}
.pmb-cta-card p {
  font-size: 0.85rem;
  color: #d1fae5;
  margin-bottom: 18px;
  line-height: 1.5;
}
.btn-pmb-cta {
  display: block;
  text-align: center;
  background: var(--white);
  color: var(--primary-dark);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}
.btn-pmb-cta:hover {
  background: #fef08a;
  color: #854d0e;
}

/* Spinner */
.page-spinner {
  display: inline-block;
  width: 36px;
  height: 36px;
  border: 3px solid var(--slate-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: pageSpin 0.8s linear infinite;
}
@keyframes pageSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 992px) {
  .page-view-layout {
    grid-template-columns: 1fr;
  }
  .page-article-card {
    padding: 24px;
  }
  .page-article-title {
    font-size: 1.7rem;
  }
}
