/*
Theme Name: DGB Untad
Theme URI: https://dgb.untad.ac.id
Author: Dewan Guru Besar Universitas Tadulako
Author URI: https://dgb.untad.ac.id
Description: Tema resmi, berwibawa, dan ultra-ringan untuk Dewan Guru Besar Universitas Tadulako. Standar institusi akademik modern dengan performa instan dan keamanan maksimal.
Version: 1.1.0
Text Domain: dgb-untad
*/

:root {
  /* PALET WARNA RESMI UNIVERSITAS TADULAKO */
  --untad-navy: #09192f;
  --untad-navy-deep: #050d1a;
  --untad-navy-light: #11294d;
  --untad-blue: #1d4ed8;
  --untad-blue-light: #3b82f6;
  --untad-gold: #eab308;
  --untad-gold-dark: #ca8a04;
  --untad-gold-light: #fef08a;
  --untad-bg-slate: #f8fafc;
  --untad-surface: #ffffff;
  --untad-border: #e2e8f0;
  --untad-border-light: #f1f5f9;
  --untad-text-heading: #0f172a;
  --untad-text-body: #334155;
  --untad-text-muted: #64748b;
  --untad-text-subtle: #94a3b8;
  
  /* TIPOGRAFI AKADEMIK */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* UKURAN & ELEVASI */
  --container-max: 1240px;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 4px rgba(9, 25, 47, 0.04);
  --shadow-md: 0 10px 30px -5px rgba(9, 25, 47, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(9, 25, 47, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--untad-text-body);
  background-color: var(--untad-bg-slate);
  line-height: 1.7;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--untad-blue);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: var(--untad-navy);
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.bg-slate {
  background-color: #f1f5f9;
}

/* =========================================
   TOP UTILITY BAR AKADEMIK
========================================= */
.top-bar {
  background: var(--untad-navy-deep);
  color: #94a3b8;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar-motto {
  font-weight: 500;
  color: var(--untad-gold);
  letter-spacing: 0.3px;
}

.top-bar-sep {
  color: rgba(255, 255, 255, 0.2);
}

.top-bar-link {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-link:hover, .top-bar-right a:hover {
  color: #fff;
}

.top-bar-right a {
  color: #94a3b8;
}

/* =========================================
   MAIN HEADER & NAV
========================================= */
.site-header {
  background: var(--untad-surface);
  border-bottom: 1px solid var(--untad-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.site-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-sub {
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--untad-text-muted);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  color: var(--untad-navy);
  line-height: 1.15;
  letter-spacing: -0.3px;
}

/* MAIN NAVIGATION */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 6px;
  align-items: center;
}

.nav-menu > li {
  position: relative;
}

.nav-menu a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--untad-navy);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-menu a:hover,
.nav-menu > li.current-menu-item > a {
  color: var(--untad-blue);
  background-color: rgba(29, 78, 216, 0.06);
}

/* DROPDOWN SUBMENU */
.nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--untad-surface);
  border: 1px solid var(--untad-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 250px;
  padding: 10px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1010;
}

.nav-menu > li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu .sub-menu li {
  margin-bottom: 2px;
}

.nav-menu .sub-menu li a {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--untad-text-body);
  border-radius: var(--radius-xs);
}

.nav-menu .sub-menu li a:hover {
  background-color: var(--untad-bg-slate);
  color: var(--untad-blue);
  padding-left: 18px;
}

/* MOBILE TOGGLE */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--untad-navy);
}

.mobile-toggle svg {
  width: 30px;
  height: 30px;
}

/* =========================================
   HERO SECTION AKADEMIK
========================================= */
.hero-section {
  position: relative;
  min-height: 560px;
  background-color: var(--untad-navy-deep);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 60px 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.92;
  filter: brightness(0.9);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(9, 25, 47, 0.94) 0%, rgba(9, 25, 47, 0.82) 45%, rgba(9, 25, 47, 0.25) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 620px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  padding: 44px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(29, 78, 216, 0.08);
  color: var(--untad-blue);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
  border: 1px solid rgba(29, 78, 216, 0.15);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--untad-gold);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(234, 179, 8, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(234, 179, 8, 0); }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 700;
  color: var(--untad-navy);
  line-height: 1.15;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--untad-gold-dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.hero-tagline {
  font-size: 15px;
  font-style: italic;
  font-weight: 500;
  color: var(--untad-navy-light);
  border-left: 3px solid var(--untad-gold);
  padding-left: 14px;
  margin-bottom: 18px;
  line-height: 1.5;
}

.hero-desc {
  font-size: 14.5px;
  color: var(--untad-text-muted);
  line-height: 1.7;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* BUTTONS */
.btn-primary-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--untad-gold-dark);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(202, 138, 4, 0.35);
  transition: all 0.25s ease;
}

.btn-primary-gold:hover {
  background: #b45309;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(202, 138, 4, 0.45);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--untad-navy);
  border: 1.5px solid var(--untad-border);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
}

.btn-outline-light:hover {
  background: var(--untad-navy);
  color: #fff;
  border-color: var(--untad-navy);
  transform: translateY(-2px);
}

/* =========================================
   STATS SECTION / INDIKATOR KELEMBAGAAN
========================================= */
.stats-section {
  position: relative;
  z-index: 20;
  margin-top: -45px;
  margin-bottom: 25px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--untad-surface);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--untad-border);
  border-top: 3px solid var(--untad-gold);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(29, 78, 216, 0.08);
  color: var(--untad-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.stat-icon svg {
  width: 24px;
  height: 24px;
}

.stat-number {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 800;
  color: var(--untad-navy);
  line-height: 1.2;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--untad-text-heading);
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 12.5px;
  color: var(--untad-text-muted);
}

/* =========================================
   SAMBUTAN KETUA DEWAN GURU BESAR
========================================= */
.section-padding {
  padding: 75px 0;
}

.chairman-card {
  background: var(--untad-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--untad-border);
  display: grid;
  grid-template-columns: 340px 1fr;
  overflow: hidden;
}

.chairman-photo-col {
  background: linear-gradient(180deg, #0e2038 0%, #15325b 100%);
  padding: 40px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.chairman-photo-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chairman-img {
  width: 200px;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 3px solid var(--untad-gold);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  margin-bottom: 20px;
}

.chairman-badge {
  display: flex;
  flex-direction: column;
}

.chairman-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 4px;
}

.chairman-role {
  font-size: 12.5px;
  color: var(--untad-gold-light);
  font-weight: 500;
}

.chairman-content-col {
  padding: 45px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--untad-gold-dark);
  margin-bottom: 10px;
}

.chairman-heading {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--untad-navy);
  line-height: 1.35;
  margin-bottom: 20px;
}

.chairman-body p {
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--untad-text-body);
  line-height: 1.75;
}

.chairman-signature {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--untad-border);
}

.sign-block {
  display: flex;
  flex-direction: column;
}

.sign-block strong {
  font-size: 14px;
  color: var(--untad-navy);
}

.sign-block span {
  font-size: 12px;
  color: var(--untad-text-muted);
}

.sign-divider {
  color: var(--untad-border);
}

.text-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--untad-blue);
}

.text-link-arrow:hover {
  color: var(--untad-navy);
  gap: 10px;
}

/* =========================================
   PILAR UTAMA DEWAN GURU BESAR
========================================= */
.section-header-center {
  max-width: 680px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-title-center {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--untad-navy);
  margin-bottom: 12px;
}

.section-desc-center {
  font-size: 15px;
  color: var(--untad-text-muted);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pillar-card {
  background: var(--untad-surface);
  border-radius: var(--radius-md);
  padding: 35px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--untad-border);
  transition: all 0.3s ease;
  position: relative;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(29, 78, 216, 0.3);
}

.pillar-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: rgba(29, 78, 216, 0.08);
  color: var(--untad-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.pillar-card:hover .pillar-icon-wrap {
  background: var(--untad-blue);
  color: #fff;
}

.pillar-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.pillar-card h3 {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 700;
  color: var(--untad-navy);
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 14.5px;
  color: var(--untad-text-muted);
  line-height: 1.65;
}

/* =========================================
   BERITA & PUBLIKASI TERKINI
========================================= */
.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  border-bottom: 1.5px solid var(--untad-border);
  padding-bottom: 20px;
}

.section-title-academic {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--untad-navy);
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}

.section-subtitle-academic {
  font-size: 14.5px;
  color: var(--untad-text-muted);
}

.btn-more-academic {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--untad-navy);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(9, 25, 47, 0.2);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-more-academic:hover {
  background: var(--untad-blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.3);
}

.news-grid-academic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.academic-news-card {
  background: var(--untad-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--untad-border);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.academic-news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(29, 78, 216, 0.25);
}

.card-thumb-wrap {
  position: relative;
  display: block;
  height: 220px;
  overflow: hidden;
  background-color: #e2e8f0;
}

.card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.academic-news-card:hover .card-thumb-img {
  transform: scale(1.06);
}

.card-cat-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(9, 25, 47, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-body-wrap {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-date-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--untad-text-muted);
  margin-bottom: 12px;
  font-weight: 500;
}

.card-title-academic {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--untad-navy);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-title-academic a {
  color: inherit;
}

.card-title-academic a:hover {
  color: var(--untad-blue);
}

.card-excerpt-academic {
  font-size: 14px;
  color: var(--untad-text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.card-readmore-link {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--untad-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

.card-readmore-link:hover {
  color: var(--untad-navy);
  gap: 8px;
}

/* =========================================
   DIREKTORI BANNER CTA
========================================= */
.directory-banner-section {
  background: linear-gradient(135deg, #071324 0%, #0e2038 50%, #15325b 100%);
  color: #fff;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.dir-banner-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.dir-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--untad-gold);
  margin-bottom: 12px;
}

.dir-banner-content h2 {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.dir-banner-content p {
  color: #cbd5e1;
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 30px;
}

.dir-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

/* =========================================
   ARTICLE CONTENT & PAGES
========================================= */
.content-wrapper {
  background: var(--untad-surface);
  border-radius: var(--radius-md);
  padding: 45px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--untad-border);
  margin-top: 40px;
  margin-bottom: 60px;
}

.article-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--untad-border);
}

.article-title {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--untad-navy);
  line-height: 1.3;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--untad-text-muted);
}

.article-featured-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 30px;
}

.article-body {
  font-size: 16.5px;
  line-height: 1.8;
  color: #334155;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body h2, .article-body h3, .article-body h4 {
  font-family: var(--font-serif);
  color: var(--untad-navy);
  margin: 35px 0 15px;
  font-weight: 700;
}

/* =========================================
   FOOTER AKADEMIK RESMI
========================================= */
.site-footer {
  background: var(--untad-navy-deep);
  color: #94a3b8;
  padding: 65px 0 30px;
  border-top: 4px solid var(--untad-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 45px;
  margin-bottom: 50px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2.5px;
  background: var(--untad-gold);
}

.footer-col p {
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 14px;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: var(--untad-gold);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  text-align: center;
  font-size: 13.5px;
  color: #64748b;
}

/* =========================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
========================================= */
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .chairman-card {
    grid-template-columns: 1fr;
  }
  .chairman-content-col {
    padding: 35px 25px;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .news-grid-academic {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .main-nav {
    position: fixed;
    top: 86px;
    left: 0;
    width: 100%;
    background: var(--untad-surface);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--untad-border);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .main-nav.active {
    display: flex;
  }
  .nav-menu {
    flex-direction: column;
    width: 100%;
    gap: 4px;
  }
  .nav-menu > li {
    width: 100%;
  }
  .nav-menu a {
    width: 100%;
    padding: 12px;
  }
  .nav-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--untad-bg-slate);
    padding-left: 20px;
  }
  .hero-section {
    min-height: auto;
    padding: 40px 0;
  }
  .hero-card {
    padding: 24px;
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  .stats-section {
    margin-top: 15px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .news-grid-academic {
    grid-template-columns: 1fr;
  }
  .section-header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

/* =========================================
   DIREKTORI GURU BESAR & DGB AKTIF STYLES
========================================= */
.directory-hero {
  background: linear-gradient(135deg, var(--untad-navy-deep) 0%, var(--untad-navy) 100%);
  color: #ffffff;
  padding: 48px 0 36px 0;
  border-bottom: 3px solid var(--untad-gold);
  margin-bottom: 35px;
}

.directory-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 18px;
}

.directory-breadcrumb a {
  color: #cbd5e1;
  text-decoration: none;
}

.directory-breadcrumb a:hover {
  color: var(--untad-gold);
}

.directory-breadcrumb .sep {
  color: #64748b;
}

.directory-breadcrumb .current {
  color: var(--untad-gold);
  font-weight: 600;
}

.directory-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(234, 179, 8, 0.15);
  color: var(--untad-gold-light);
  border: 1px solid rgba(234, 179, 8, 0.35);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.directory-title {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.2;
}

.directory-subtitle {
  font-size: 16px;
  color: #cbd5e1;
  max-width: 780px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.directory-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f1f5f9;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
}

.meta-pill strong {
  color: var(--untad-gold);
  font-weight: 700;
}

/* NOTICE BOX */
.dgb-notice-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-left: 4px solid var(--untad-blue);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 25px;
}

.dgb-notice-icon {
  color: var(--untad-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.dgb-notice-text strong {
  color: var(--untad-navy);
  font-size: 14.5px;
  display: block;
  margin-bottom: 4px;
}

.dgb-notice-text p {
  color: #334155;
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

/* TOOLBAR & SEARCH BAR */
.dgb-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #ffffff;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--untad-border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.dgb-search-wrap {
  position: relative;
  flex: 1;
  min-width: 280px;
}

.dgb-search-wrap .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.dgb-search-input {
  width: 100%;
  padding: 12px 40px 12px 42px;
  font-size: 14.5px;
  border: 1.5px solid var(--untad-border);
  border-radius: var(--radius-sm);
  background: #f8fafc;
  color: var(--untad-text-heading);
  outline: none;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

.dgb-search-input:focus {
  background: #ffffff;
  border-color: var(--untad-blue);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.dgb-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 20px;
  color: #94a3b8;
  cursor: pointer;
  display: none;
  line-height: 1;
  padding: 0;
}

.dgb-clear-btn:hover {
  color: var(--untad-text-heading);
}

.dgb-badge-count {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--untad-navy);
  background: #f1f5f9;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--untad-border);
}

/* CARD TABEL */
.dgb-table-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--untad-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 60px;
}

.dgb-responsive-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* OVERRIDE STYLING WPDATATABLE */
.wpdtSimpleTable,
.wpDataTable {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 14.5px !important;
  color: var(--untad-text-body) !important;
}

/* Header Row */
.wpdtSimpleTable tr:first-child,
.wpdtSimpleTable tr.dgb-header-row {
  background: var(--untad-navy) !important;
  color: #ffffff !important;
}

.wpdtSimpleTable tr:first-child td,
.wpdtSimpleTable tr.dgb-header-row td {
  background: var(--untad-navy) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 14.5px !important;
  padding: 14px 16px !important;
  border-bottom: 2px solid var(--untad-gold) !important;
  border-top: none !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
}

/* Data Rows */
.wpdtSimpleTable tr:not(:first-child):not(.dgb-header-row) {
  transition: background 0.15s ease;
  border-bottom: 1px solid #f1f5f9;
}

.wpdtSimpleTable tr:not(:first-child):not(.dgb-header-row):nth-child(even) {
  background: #fafbfc;
}

.wpdtSimpleTable tr:not(:first-child):not(.dgb-header-row):hover {
  background: #f0f7ff !important;
}

.wpdtSimpleTable td {
  padding: 13px 16px !important;
  vertical-align: middle !important;
  border-color: #e2e8f0 !important;
}

/* Column 1: Number */
.wpdtSimpleTable td:first-child {
  font-weight: 600;
  color: var(--untad-text-muted);
  text-align: center !important;
  width: 55px !important;
  background: inherit !important;
}

/* Column 2: Professor Link */
.wpdtSimpleTable a,
.dgb-prof-link {
  color: var(--untad-blue) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: all 0.2s ease !important;
}

.wpdtSimpleTable a:hover,
.dgb-prof-link:hover {
  color: var(--untad-navy) !important;
  text-decoration: underline !important;
}

.wpdtSimpleTable a::after {
  content: "📄";
  font-size: 12px;
  opacity: 0.7;
}

/* Column 3: Judul Pidato */
.wpdtSimpleTable td:last-child {
  font-style: italic;
  color: #475569;
  line-height: 1.5;
}
