/* ====================================================
   FASYA CMS - Default Theme Main Stylesheet
   Refined to match fasya.uinsaizu.ac.id aesthetics & layout
   ==================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #06672B;
  --primary-dark: #044b1f;
  --primary-deep: #023816;
  --primary-soft: #edf7f0;
  --primary-light: #d1fae5;
  --secondary: #004d1f;
  --accent: #e67e22;
  --accent-gold: #f39c12;
  --text: #1a202c;
  --text-light: #4a5568;
  --text-muted: #718096;
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --bg-soft: #f8fafc;
  --border: #e2e8f0;
  --border-light: #edf2f7;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 18px 45px rgba(0, 0, 0, 0.12);
  --transition: .25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: #ffffff;
  font-size: 14.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.navbar-container { max-width: 1380px; padding: 0 16px; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 20px; }

/* ====================================================
   TOPBAR
   ==================================================== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.topbar-inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
}
.topbar-item svg {
  opacity: 0.85;
}
.topbar-item a, a.topbar-item {
  color: rgba(255, 255, 255, 0.88);
}
.topbar-item a:hover, a.topbar-item:hover {
  color: #fff;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transition: var(--transition);
}
.topbar-social:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ====================================================
   NAVBAR (Deep Green institutional)
   ==================================================== */
.navbar {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}
.navbar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  margin-right: 12px;
}
.navbar-logo {
  max-height: 46px;
  max-width: 190px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 6px;
}
.navbar-logo-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}
.navbar-brand-text {
  display: flex;
  flex-direction: column;
}
.navbar-brand-text .name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.navbar-brand-text .sub {
  margin-top: 1px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  white-space: nowrap;
}

.navbar-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  flex: 1;
  list-style: none;
  min-width: 0;
}
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: all var(--transition);
}
.nav-link:hover,
.nav-link.active,
.nav-item:hover > .nav-link,
.nav-item:focus-within > .nav-link {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}
.nav-link svg {
  width: 12px;
  height: 12px;
  transition: transform .2s ease;
  flex-shrink: 0;
}
.nav-item:hover > .nav-link svg,
.nav-item:focus-within > .nav-link svg {
  transform: rotate(180deg);
}

/* Primary Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% - 8px);
  left: 0;
  min-width: 250px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  list-style: none;
  z-index: 1050;
  pointer-events: none;
}
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-item:hover > .dropdown-menu,
.nav-item:focus-within > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Nested Dropdown Submenu */
.dropdown-item-wrap {
  position: relative;
  list-style: none;
}
.dropdown-item-wrap > .dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--transition);
}
.dropdown-item-wrap > .dropdown-item:hover,
.dropdown-item-wrap > .dropdown-item.active {
  background: var(--primary-soft);
  color: var(--primary);
  padding-left: 17px;
}
.submenu-arrow {
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  color: var(--text-muted);
  transition: transform .2s ease;
}
.dropdown-item-wrap:hover > .dropdown-item .submenu-arrow {
  color: var(--primary);
  transform: translateX(3px);
}

.dropdown-submenu {
  position: absolute;
  top: -4px;
  left: calc(100% + 4px);
  min-width: 250px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  list-style: none;
  z-index: 1060;
  pointer-events: none;
}
.dropdown-submenu::before {
  content: '';
  position: absolute;
  top: 0;
  left: -12px;
  bottom: 0;
  width: 12px;
}
.dropdown-item-wrap:hover > .dropdown-submenu,
.dropdown-item-wrap:focus-within > .dropdown-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}
.dropdown-submenu li {
  list-style: none;
}
.dropdown-submenu .dropdown-item {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--text);
  font-size: 12.5px;
  font-weight: 500;
  transition: all var(--transition);
}
.dropdown-submenu .dropdown-item:hover {
  background: var(--primary-soft);
  color: var(--primary);
  padding-left: 15px;
}

@media (max-width: 1300px) and (min-width: 992px) {
  .navbar-nav { gap: 1px; }
  .nav-link { padding: 6px 7px; font-size: 12.5px; gap: 3px; }
  .navbar-inner { gap: 10px; }
  .btn-sifasya { padding: 6px 12px; font-size: 11.5px; }
  .navbar-brand-text .name { font-size: 14px; }
  .navbar-brand-text .sub { font-size: 10px; }
}

.navbar-end {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 600;
}
.lang-switcher a {
  color: rgba(255, 255, 255, 0.75);
}
.lang-switcher a.active {
  color: #fff;
  font-weight: 700;
}
.lang-switcher span {
  opacity: 0.5;
}

.btn-sifasya {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(230, 126, 34, 0.35);
  transition: var(--transition);
}
.btn-sifasya:hover {
  background: #d35400;
  color: #fff;
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-mobile {
  display: none;
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 16px 0;
  box-shadow: 0 10px 24px rgba(0,0,0,0.1);
}
.nav-mobile.open {
  display: block;
}
.nav-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.lang-switcher.mobile {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #64748b;
}
.lang-switcher.mobile a { color: #64748b; }
.lang-switcher.mobile a.active { color: var(--primary); font-weight: 700; }
.mobile-nav-link {
  display: block;
  padding: 10px 20px;
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
}
.mobile-nav-link:hover {
  background: var(--primary-soft);
  color: var(--primary);
}
.mobile-submenu-link {
  display: block;
  padding: 8px 20px 8px 36px;
  font-size: 13px;
  color: var(--text-light);
}
.mobile-submenu-link:hover {
  color: var(--primary);
}

/* ====================================================
   HERO SLIDER
   ==================================================== */
.hero-slider-section {
  position: relative;
  overflow: hidden;
  height: 580px;
  margin-top: 114px;
  background: #022b11;
}
.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.hero-slide:not([style*="background-image"]) {
  background: linear-gradient(135deg, #033c19 0%, #06672B 55%, #022810 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 52, 22, 0.45) 0%, rgba(2, 28, 12, 0.75) 100%);
}
.hero-container {
  position: relative;
  z-index: 5;
  width: 100%;
}
.hero-content-center {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  padding-bottom: 40px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f1f5f9;
  margin-bottom: 14px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.hero-main-title {
  font-size: clamp(34px, 5.5vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  text-transform: uppercase;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.hero-btn-wrap {
  margin-top: 10px;
}
.btn-hero-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 36px;
  border-radius: 999px;
  background: var(--primary);
  border: 2px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all var(--transition);
}
.btn-hero-solid:hover {
  background: #044b1f;
  border-color: #fff;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* Slider Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }

/* Slider Dots */
.hero-dots {
  position: absolute;
  bottom: 85px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}
.hero-dot.active, .hero-dot:hover {
  background: #ffffff;
  transform: scale(1.2);
}

/* ====================================================
   FLOATING PRODI CARDS (Overlapping Hero)
   ==================================================== */
.prodi-floating-section {
  position: relative;
  z-index: 25;
  margin-top: -65px;
  margin-bottom: 30px;
}
.prodi-floating-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.prodi-floating-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px 22px 26px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
}
.prodi-floating-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(6, 103, 43, 0.15);
  border-color: rgba(6, 103, 43, 0.2);
}
.prodi-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: var(--transition);
}
.prodi-floating-card:hover .prodi-icon-circle {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.08);
}
.prodi-card-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 10px;
}
.prodi-card-desc {
  font-size: 12.5px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ====================================================
   SECTION TITLE BAR (With Orange Divider Line)
   ==================================================== */
.section {
  padding: 60px 0;
}
.section-title-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
}
.bar-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.bar-divider {
  flex: 1;
  height: 2.5px;
  background: var(--accent);
  border-radius: 2px;
}
.bar-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(6, 103, 43, 0.2);
  transition: var(--transition);
}
.bar-action-btn:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateX(3px);
}

/* ====================================================
   NEWS 3-COLUMN GRID
   ==================================================== */
.news-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-item-card {
  background: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.news-item-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
  border-color: rgba(6, 103, 43, 0.3);
}
.news-card-thumb {
  display: block;
  height: 210px;
  overflow: hidden;
  background: #f1f5f9;
}
.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.news-item-card:hover .news-card-thumb img {
  transform: scale(1.06);
}
.news-thumb-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 32px;
}
.news-card-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-card-title {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}
.news-card-title a {
  color: var(--primary);
}
.news-card-title a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}
.news-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.news-card-excerpt {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}
.empty-news-box {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
  background: var(--bg-soft);
  border-radius: var(--radius);
}

/* ====================================================
   PMB FULL-WIDTH BANNER
   ==================================================== */
.pmb-banner-section {
  padding: 60px 0;
  background-color: #033c19;
  background-size: cover;
  background-position: center;
  color: #ffffff;
}
.pmb-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.pmb-banner-text {
  max-width: 680px;
}
.pmb-banner-title {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #ffffff;
}
.pmb-title-line {
  width: 60px;
  height: 4px;
  background: #22c55e;
  border-radius: 2px;
  margin-bottom: 14px;
}
.pmb-banner-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}
.btn-pmb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 999px;
  background: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  transition: all var(--transition);
}
.btn-pmb:hover {
  background: #034b1c;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

/* ====================================================
   STATS STRIP
   ==================================================== */
.stats-strip-section {
  background: var(--primary);
  color: #ffffff;
  padding: 45px 0;
}
.stats-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-col {
  padding: 10px;
}
.stat-big-num {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.stat-label-text {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

/* ====================================================
   2-COLUMN CONTENT SPLIT (Artikel & Pengumuman)
   ==================================================== */
.content-split-section {
  background: var(--bg-soft);
}
.split-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.split-col {
  display: flex;
  flex-direction: column;
}

/* Artikel Compact */
.article-list-compact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.article-compact-item {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 16px 20px;
  border: 1px solid var(--border);
  box-shadow: 0 3px 10px rgba(0,0,0,0.03);
  transition: all var(--transition);
}
.article-compact-item:hover {
  border-color: rgba(6, 103, 43, 0.35);
  box-shadow: 0 6px 18px rgba(6, 103, 43, 0.08);
  transform: translateX(4px);
}
.article-compact-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.article-compact-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}
.article-compact-title a {
  color: var(--primary);
}
.article-compact-title a:hover {
  color: var(--primary-dark);
}

/* Pengumuman Row */
.announcement-list-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.announcement-row-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border-radius: var(--radius);
  padding: 14px 18px;
  border: 1px solid var(--border);
  box-shadow: 0 3px 10px rgba(0,0,0,0.03);
  transition: all var(--transition);
}
.announcement-row-item:hover {
  border-color: rgba(6, 103, 43, 0.35);
  box-shadow: 0 6px 18px rgba(6, 103, 43, 0.08);
  transform: translateX(4px);
}
.announcement-calendar-badge {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--primary-soft);
  border: 1px solid rgba(6, 103, 43, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.announcement-calendar-badge .cal-day {
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
}
.announcement-calendar-badge .cal-month {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 2px;
}
.announcement-row-content {
  flex: 1;
}
.announcement-row-meta {
  display: flex;
  gap: 10px;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.announcement-row-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.announcement-row-title a {
  color: var(--primary);
}
.announcement-row-title a:hover {
  color: var(--primary-dark);
}
.empty-text {
  color: var(--text-muted);
  font-size: 13px;
  font-style: italic;
  padding: 20px 0;
}

/* ====================================================
   ZONA INTEGRITAS
   ==================================================== */
.zi-section {
  padding: 60px 0;
  text-align: center;
  background: #ffffff;
}
.zi-heading {
  margin-bottom: 36px;
}
.zi-badge-icon {
  font-size: 42px;
  margin-bottom: 8px;
}
.zi-main-title {
  font-size: 26px;
  font-weight: 800;
  color: #c53030;
  letter-spacing: 0.02em;
}
.zi-sub-title {
  font-size: 18px;
  font-weight: 700;
  color: #c53030;
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.zi-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.zi-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
}
.zi-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  border-color: #cbd5e1;
}
.zi-card-icon-wrap {
  margin-bottom: 16px;
}
.zi-card-brand {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.zi-card-label {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
}

/* ====================================================
   TESTIMONI ALUMNI
   ==================================================== */
.alumni-section {
  background: var(--bg-soft);
  padding: 60px 0;
}
.testi-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.testi-slider-nav {
  display: flex;
  gap: 10px;
  align-items: center;
}
.testi-slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: #ffffff;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
.testi-slider-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,102,51,0.25);
}
.testi-slider-container {
  position: relative;
  overflow: hidden;
}
.testi-slider-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 4px 18px 4px;
}
.testi-slider-track::-webkit-scrollbar {
  display: none;
}
.testi-slide-card {
  flex: 0 0 calc(50% - 12px);
  min-width: 320px;
  scroll-snap-align: start;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.testi-slide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
@media (max-width: 860px) {
  .testi-slide-card {
    flex: 0 0 calc(85% - 12px);
    min-width: 280px;
  }
}
@media (max-width: 540px) {
  .testi-slide-card {
    flex: 0 0 92%;
    min-width: 260px;
  }
}
.testi-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.testi-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
}
.testi-quote-icon {
  font-size: 46px;
  color: var(--accent);
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: -10px;
}
.testi-text {
  font-size: 14.5px;
  color: var(--text-light);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
  flex: 1;
}
.testi-user-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}
.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
}
.testi-avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.testi-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
}
.testi-role {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ====================================================
   FOOTER (4 Columns on Green Background)
   ==================================================== */
.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.9);
  padding: 60px 0 24px;
  font-size: 13.5px;
}
.footer-columns-4 {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-col {
  display: flex;
  flex-direction: column;
}
.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo-img {
  height: 48px;
  width: auto;
}
.footer-logo-circle {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.footer-brand-title strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}
.footer-brand-title span {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.85);
}
.footer-desc-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 18px;
}
.footer-social-list {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.footer-social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer-social-icon:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}
.visitor-counter-box {
  background: rgba(0, 0, 0, 0.22);
  border-radius: 8px;
  padding: 10px 14px;
  max-width: 220px;
  font-size: 12px;
}
.vc-row {
  display: flex;
  justify-content: space-between;
  padding: 2px 0;
}
.vc-label { color: rgba(255, 255, 255, 0.7); }
.vc-val { font-weight: 700; color: #fff; }

.footer-col-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}
.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2.5px;
  background: var(--accent);
  border-radius: 2px;
}
.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav-list a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  transition: var(--transition);
}
.footer-nav-list a:hover {
  color: #ffffff;
  padding-left: 5px;
}
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  line-height: 1.5;
}
.contact-line svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-line a {
  color: rgba(255, 255, 255, 0.85);
}
.contact-line a:hover {
  color: #ffffff;
}

.footer-copyright-row {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
}

/* ====================================================
   WHATSAPP FLOATING ACTION BUTTON (FAB)
   ==================================================== */
.whatsapp-fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: all 0.3s ease;
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
}
.whatsapp-fab-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.7;
  animation: pulseFab 2s infinite ease-out;
  pointer-events: none;
}
@keyframes pulseFab {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ====================================================
   POPUP / ANNOUNCEMENT MODAL
   ==================================================== */
.announcement-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeInModal .3s ease;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.announcement-modal-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
  animation: scaleUpModal .3s ease;
}
@keyframes scaleUpModal {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.modal-close-btn:hover {
  background: #000;
}
.modal-image-wrap img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
}
.modal-content-body {
  padding: 26px 28px;
}
.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.modal-text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}
.modal-btn-wrap {
  text-align: right;
}
.btn-modal-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
}
.btn-modal-action:hover {
  background: var(--primary-dark);
  color: #fff;
}

/* ====================================================
   BACK TO TOP BUTTON
   ==================================================== */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 500;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(12px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top-btn:hover {
  background: var(--primary-dark);
}

/* ====================================================
   SUBPAGE & POST STYLES
   ==================================================== */
.subpage-header,
.post-header {
  margin-top: 114px;
  background: var(--primary);
  color: #ffffff;
  padding: 50px 0 40px;
}
.subpage-header h1,
.post-header h1 {
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 700;
  color: #ffffff;
  margin-top: 10px;
  line-height: 1.3;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
  flex-wrap: wrap;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
}
.breadcrumb a:hover {
  color: #fff;
}
.breadcrumb-sep {
  opacity: 0.5;
}
.post-cat {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-top: 14px;
}
.post-meta-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.8);
}
.post-body {
  padding: 50px 0 70px;
  background: #ffffff;
}
.post-featured-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 36px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.post-content {
  font-size: 16px;
  line-height: 1.8;
  color: #1e293b;
}
.post-content p { margin-bottom: 20px; color: #1e293b; }
.post-content a {
  color: var(--primary, #15803d);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.15s ease;
}
.post-content a:hover {
  color: var(--primary-dark, #0f766e);
  text-decoration: underline;
}
.post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 {
  color: #0f172a;
  margin: 28px 0 16px;
  font-weight: 700;
}
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 20px; color: #1e293b; }
.post-content li { margin-bottom: 8px; }
/* Anti-invisible-text safeguard if content pasted with white/light inline styles */
.post-content [style*="color: #fff"],
.post-content [style*="color: white"],
.post-content [style*="color: rgb(255, 255, 255)"],
.post-content [style*="color: rgb(248, 250, 252)"] {
  background-color: #0f172a !important;
  color: #f8fafc !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  display: inline-block !important;
}
.post-content img {
  border-radius: 8px;
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
  vertical-align: top;
}

/* Allow regular images inside post-content to sit side-by-side if they fit */
.post-content img:not(.aligncenter):not(.post-featured-img) {
  display: inline-block;
}

/* WordPress & CKEditor Image Alignments (Berjejer ke samping / rata kiri-kanan) */
.post-content .alignleft,
.post-content img.alignleft {
  float: left !important;
  margin: 0.3em 1.2em 0.8em 0 !important;
  max-width: 100%;
  height: auto;
}

.post-content .alignright,
.post-content img.alignright {
  float: right !important;
  margin: 0.3em 0 0.8em 1.2em !important;
  max-width: 100%;
  height: auto;
}

.post-content .aligncenter,
.post-content img.aligncenter {
  display: block !important;
  margin: 1.5em auto !important;
  clear: both !important;
}

.post-content .alignnone,
.post-content img.alignnone {
  float: none;
  display: inline-block !important;
  margin: 0.4em 0.8em 0.4em 0;
  vertical-align: top;
}

/* When a paragraph only contains a floated image, eliminate paragraph margin trap */
.post-content p:has(> img.alignleft),
.post-content p:has(> .alignleft),
.post-content p:has(> img.alignright),
.post-content p:has(> .alignright) {
  display: contents;
}

/* Fallback for browsers without :has */
.post-content p > img.alignleft:only-child,
.post-content p > img.alignright:only-child {
  margin-top: 0.3em;
}

/* Container clearfix at end of post only, not every paragraph */
.post-content::after {
  content: "";
  display: table;
  clear: both;
}

.post-content .clear,
.post-content .clearfix {
  clear: both;
}

@media (max-width: 640px) {
  .post-content .alignleft,
  .post-content img.alignleft,
  .post-content .alignright,
  .post-content img.alignright {
    float: none !important;
    display: block !important;
    margin: 16px auto !important;
    max-width: 100% !important;
    height: auto !important;
  }
}

/* Search form on archive */
.search-form {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  padding: 4px 6px 4px 16px;
}
.search-form input {
  border: none;
  background: none;
  outline: none;
  font-family: inherit;
  font-size: 13.5px;
  flex: 1;
}
.search-form button {
  border: none;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 36px;
  justify-content: center;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  background: #fff;
}
.pagination a:hover {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: var(--primary);
}
.pagination .active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Prodi Single Hero */
.prodi-hero {
  margin-top: 114px;
  padding: 70px 0 50px;
  color: #ffffff;
}
.prodi-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.prodi-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.prodi-info-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 12px 16px;
}
.prodi-info-card .label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.prodi-info-card .value {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 2px;
}

/* ====================================================
   RESPONSIVE DESIGN (Mobile & Tablet)
   ==================================================== */
@media (max-width: 992px) {
  .navbar-nav { display: none; }
  .navbar-end { display: flex !important; align-items: center; gap: 8px; }
  .navbar-end .lang-switcher,
  .navbar-end .btn-sifasya { display: none !important; }
  .nav-toggle { display: flex !important; }
  .prodi-floating-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split-grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .footer-columns-4 { grid-template-columns: 1fr 1fr; gap: 30px; }
  .pmb-banner-inner { flex-direction: column; text-align: center; }
  .pmb-title-line { margin: 0 auto 14px; }
}

@media (max-width: 768px) {
  .topbar { display: none !important; }
  .navbar { top: 0 !important; }
  .hero-slider-section { height: 460px; margin-top: 68px; }
  .hero-main-title { font-size: 26px; line-height: 1.25; margin-bottom: 12px; }
  .hero-eyebrow { font-size: 13px; margin-bottom: 8px; letter-spacing: 0.5px; }
  .hero-content-center { padding: 0 16px 20px; }
  .btn-hero-solid { padding: 10px 22px; font-size: 14px; }
  .hero-dots { bottom: 16px; }
  .hero-arrow { display: none !important; }
  .prodi-floating-section { margin-top: -30px; }
  .prodi-floating-grid { grid-template-columns: 1fr; gap: 14px; }
  .news-grid-3 { grid-template-columns: 1fr; }
  .stats-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .zi-cards-grid { grid-template-columns: 1fr; }
  .testi-grid-2 { grid-template-columns: 1fr; }
  .footer-columns-4 { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 12px; }
  .whatsapp-fab { bottom: 16px; right: 16px; width: 48px; height: 48px; }
  .whatsapp-fab svg { width: 26px; height: 26px; }
  .back-to-top-btn { bottom: 16px; left: 16px; width: 38px; height: 38px; }
  .dean-welcome-section { flex-direction: column; align-items: center; text-align: center; gap: 24px; }
  .visi-misi-section { grid-template-columns: 1fr; }
  .single-post-header h1, .post-title { font-size: 22px; line-height: 1.35; }
  .post-meta-bar { flex-wrap: wrap; gap: 8px; font-size: 12px; }
  .pdf-embed-box div[style*="height:700px"],
  .pdf-embed-box object,
  .pdf-embed-box iframe {
    height: 480px !important;
  }
}

@media (max-width: 480px) {
  .navbar-brand .logo-text .title { font-size: 13.5px; }
  .navbar-brand .logo-text .sub { font-size: 10px; }
  .hero-slider-section { height: 420px; }
  .hero-main-title { font-size: 21px; }
  .hero-eyebrow { font-size: 11.5px; }
  .stats-grid-4 { grid-template-columns: 1fr; }
  .section-title { font-size: 22px; }
  .container { padding: 0 16px; }
  .container-sm { padding: 0 16px; }
  .post-content { font-size: 15px; }
  .post-featured-img { border-radius: 8px; margin-bottom: 24px; }
}

/* Ensure no horizontal scroll blowout */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Responsive table scrolling across all content */
.post-content table,
.page-content-rich table,
.curriculum-table,
.accreditation-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ====================================================
   PAGE CONTENT RICH - Styles for static pages
   ==================================================== */

.page-content-rich {
  line-height: 1.8;
}

/* Visi Misi */
.visi-misi-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 16px;
}
.vm-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.vm-card.tujuan-card { grid-column: 1 / -1; }
.vm-icon { font-size: 32px; margin-bottom: 12px; }
.vm-card h2 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.vm-card ol, .vm-card ul { padding-left: 20px; }
.vm-card li { margin-bottom: 8px; }

/* Dean / Sambutan */
.dean-welcome-section { display: flex; gap: 40px; align-items: flex-start; }
.dean-photo-placeholder { font-size: 80px; text-align: center; background: var(--bg-alt); border-radius: 50%; width: 150px; height: 150px; display: flex; align-items: center; justify-content: center; border: 3px solid var(--primary); flex-shrink: 0; }
.dean-greeting h2 { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 16px; }
.dean-greeting p { margin-bottom: 14px; color: var(--text); }
.dean-signature { margin-top: 24px; padding: 16px 24px; background: var(--primary); border-radius: var(--radius); color: #fff; display: inline-block; }

/* Org Chart */
.org-chart-container { text-align: center; margin-top: 32px; }
.org-level { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; }
.org-box { background: var(--bg-alt); border: 1px solid var(--primary); border-radius: var(--radius); padding: 14px 20px; min-width: 120px; }
.dekan-box { background: var(--primary); color: #fff; border-color: var(--primary-dark); }
.dekan-box .org-title { color: #fff; }
.org-icon { font-size: 24px; }
.org-title { font-size: 13px; font-weight: 600; color: var(--text); }
.prodi-box { border-color: var(--secondary); }

/* Pimpinan */
.pimpinan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 24px; }
.pimpinan-card { text-align: center; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 20px; }
.pimpinan-photo-placeholder { font-size: 56px; margin-bottom: 12px; }
.pimpinan-name { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.pimpinan-jabatan { font-size: 12px; color: var(--text-muted); }

/* Tendik */
.tendik-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 24px; }
.tendik-card { display: flex; align-items: center; gap: 16px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.tendik-icon { font-size: 32px; flex-shrink: 0; }
.tendik-name { font-size: 15px; font-weight: 600; color: var(--text); }
.tendik-desc { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* Fasilitas */
.fasilitas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 24px; }
.fasilitas-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; text-align: center; transition: all 0.2s; }
.fasilitas-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); border-color: var(--primary); }
.fasilitas-icon { font-size: 40px; margin-bottom: 12px; }
.fasilitas-name { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.fasilitas-card p { font-size: 13px; color: var(--text-muted); }

/* Dokumen */
.dokumen-list { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.dokumen-item { display: flex; align-items: center; gap: 16px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.dokumen-icon { font-size: 28px; flex-shrink: 0; }
.dokumen-title { font-size: 15px; font-weight: 600; color: var(--text); }
.dokumen-desc { font-size: 13px; color: var(--text-muted); margin-top: 3px; }

/* Akreditasi */
.akreditasi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 24px; }
.akreditasi-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; text-align: center; }
.akreditasi-badge { font-size: 28px; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
.akreditasi-prodi { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.akreditasi-info { font-size: 12px; color: var(--text-muted); }

/* Lab */
.lab-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 24px; }
.lab-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.lab-icon { font-size: 40px; margin-bottom: 12px; }
.lab-card h3 { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.lab-card ul { padding-left: 20px; }
.lab-card li { margin-bottom: 6px; font-size: 14px; color: var(--text-muted); }

/* LKBH */
.lkbh-section { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.lkbh-info-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.lkbh-info-card h3 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.lkbh-info-card ul { padding-left: 20px; }
.lkbh-info-card li { margin-bottom: 7px; font-size: 14px; }
.lkbh-info-card p { font-size: 14px; margin-bottom: 6px; }

/* Kerja Sama */
.kerjasama-section h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.mitra-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.mitra-card { display: flex; align-items: center; gap: 12px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; font-size: 14px; font-weight: 500; color: var(--text); }
.mitra-icon { font-size: 22px; flex-shrink: 0; }

/* Jurnal */
.jurnal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 24px; }
.jurnal-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.jurnal-icon { font-size: 32px; margin-bottom: 12px; }
.jurnal-card h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.jurnal-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.jurnal-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.jurnal-link { font-size: 13px; font-weight: 600; color: var(--primary); text-decoration: none; }
.jurnal-link:hover { text-decoration: underline; }

/* Publikasi */
.publikasi-notice { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; text-align: center; margin-top: 24px; }
.publikasi-icon { font-size: 48px; margin-bottom: 16px; }

/* Penelitian */
.penelitian-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 24px; }
.penelitian-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.penelitian-icon { font-size: 32px; margin-bottom: 12px; }
.penelitian-card h3 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.penelitian-card ul { padding-left: 20px; }
.penelitian-card li { margin-bottom: 6px; font-size: 14px; }
.penelitian-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }

/* Pengabdian */
.pengabdian-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 24px; }
.pengabdian-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; text-align: center; }
.pengabdian-icon { font-size: 36px; margin-bottom: 12px; }
.pengabdian-card h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.pengabdian-card p { font-size: 13px; color: var(--text-muted); }

/* Layanan */
.layanan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 24px; }
.layanan-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.layanan-icon { font-size: 32px; margin-bottom: 12px; }
.layanan-card h3 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.layanan-card ul { padding-left: 20px; }
.layanan-card li { margin-bottom: 6px; font-size: 14px; color: var(--text-muted); }

/* Lembaga */
.lembaga-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 24px; }
.lembaga-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.lembaga-icon { font-size: 32px; margin-bottom: 10px; }
.lembaga-card h3 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.lembaga-card p { font-size: 13px; color: var(--text-muted); }

/* Prestasi */
.prestasi-notice { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); border-radius: var(--radius-lg); padding: 28px; text-align: center; color: #fff; margin-bottom: 24px; }
.prestasi-icon { font-size: 40px; margin-bottom: 10px; }
.prestasi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.prestasi-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; text-align: center; }
.prestasi-medal { font-size: 40px; margin-bottom: 12px; }
.prestasi-card h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.prestasi-card p { font-size: 13px; color: var(--text-muted); }

/* Alumni */
.alumni-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.alumni-stat-card { background: var(--primary); border-radius: var(--radius-lg); padding: 24px; text-align: center; color: #fff; }
.alumni-stat-number { font-size: 32px; font-weight: 800; }
.alumni-stat-label { font-size: 13px; opacity: 0.85; margin-top: 4px; }
.alumni-profesi h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.profesi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.profesi-item { display: flex; align-items: center; gap: 10px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; font-size: 14px; font-weight: 500; }
.profesi-icon { font-size: 20px; }

/* Alumni Testimonials Grid */
.alumni-testimonials-section { margin-top: 40px; margin-bottom: 30px; }
.alumni-testimonials-section h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 20px; }
.alumni-testi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.alumni-testi-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.2s, box-shadow 0.2s; position: relative; }
.alumni-testi-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.alumni-testi-quote-icon { font-size: 32px; line-height: 1; color: var(--primary); opacity: 0.3; font-family: Georgia, serif; margin-bottom: 8px; }
.alumni-testi-quote { font-size: 14px; color: var(--text-secondary); line-height: 1.6; font-style: italic; margin-bottom: 20px; flex-grow: 1; }
.alumni-testi-author-row { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--border); padding-top: 16px; }
.alumni-testi-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary); flex-shrink: 0; }
.alumni-testi-avatar-placeholder { width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.alumni-testi-name { font-size: 14.5px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.alumni-testi-role { font-size: 12px; color: var(--primary); font-weight: 600; margin-bottom: 4px; }
.alumni-testi-badge { display: inline-block; font-size: 11px; padding: 2px 8px; background: rgba(0,102,51,0.08); color: var(--primary); border-radius: 12px; font-weight: 500; }

/* PPID */
.ppid-section { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.ppid-info-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.ppid-info-card h3 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.ppid-info-card ul { padding-left: 20px; }
.ppid-info-card li { margin-bottom: 8px; font-size: 14px; }
.ppid-info-card p { font-size: 14px; margin-bottom: 6px; }

/* Btn small variants */
.btn-primary-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  margin: 4px;
}
.btn-primary-sm:hover { background: var(--primary-dark); color: #fff; }
.btn-outline-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--primary);
  transition: all 0.2s;
  margin: 4px;
}
.btn-outline-sm:hover { background: var(--primary); color: #fff; }

/* SIFAYSA Stats on Prodi page */
.sifaysa-stats-section {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-top: 20px;
}
.sifaysa-stats-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sifaysa-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 16px;
}
.sifaysa-stat-item { text-align: center; }
.sifaysa-stat-num { font-size: 24px; font-weight: 800; color: var(--primary); }
.sifaysa-stat-lbl { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* Responsive fixes for new pages */
@media (max-width: 768px) {
  .visi-misi-section { grid-template-columns: 1fr; }
  .vm-card.tujuan-card { grid-column: auto; }
  .dean-welcome-section { flex-direction: column; }
  .dean-photo-placeholder { width: 100px; height: 100px; font-size: 56px; }
  .lkbh-section { grid-template-columns: 1fr; }
  .ppid-section { grid-template-columns: 1fr; }
  .alumni-stats-grid { grid-template-columns: 1fr; }
  .org-level { flex-wrap: wrap; }
}

/* Dosen Profil Grid */
.dosen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.dosen-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.dosen-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.dosen-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px;
  border: 3px solid var(--border);
}
.dosen-photo-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  border: 3px solid var(--border);
}
.dosen-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.4;
}
.dosen-jabatan {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}
.dosen-nidn {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
}

/* ===== Dokumen & Sertifikat Table Styling ===== */
.doc-card-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 30px;
}
.doc-filter-header {
  padding: 20px 24px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.doc-tabs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.doc-tab-btn {
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.doc-tab-btn:hover {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: var(--primary);
}
.doc-tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.25);
}
.doc-search-box {
  position: relative;
  min-width: 260px;
}
.doc-search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.doc-search-input {
  width: 100%;
  padding: 9px 14px 9px 38px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 13.5px;
  outline: none;
  transition: all 0.2s ease;
}
.doc-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.doc-table-wrap {
  width: 100%;
  overflow-x: auto;
}
.doc-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.doc-table th {
  background: var(--bg-alt);
  padding: 14px 18px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.doc-table td {
  padding: 16px 18px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.doc-table tr:last-child td {
  border-bottom: none;
}
.doc-table tbody tr {
  transition: background 0.15s ease;
}
.doc-table tbody tr:hover {
  background: rgba(0, 0, 0, 0.015);
}
.doc-btn-dl {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--primary);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.doc-btn-dl:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.25);
}
.doc-badge-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--primary-soft);
  color: var(--primary);
}
.doc-badge-year {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  background: #f1f5f9;
  color: #334155;
}

/* ===== Book / Publikasi Grid ===== */
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.book-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  border-color: var(--primary);
}
.book-cover-wrap {
  height: 280px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}
.book-cover-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.book-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.book-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.35;
}
.book-author {
  font-size: 13.5px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
}
.book-year {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.book-link-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.book-link-btn:hover {
  background: var(--primary-dark);
}
