/* ===================================================
   OMP ELEGANT THEME v1.0 - PROFESSIONAL ACADEMIC 
   Open Monograph Press Optimized - From Scratch
   =================================================== */

/* ===== 1. CSS CUSTOM PROPERTIES ===== */
:root {
  /* Professional Academic Palette */
  --omp-blue: #2563eb;
  --omp-blue-dark: #1e40af;
  --omp-teal: #059669;
  --omp-teal-dark: #047857;
  --text-dark: #1f2937;
  --text-medium: #6b7280;
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px 0 rgba(0, 0, 0, 0.15);
  
  /* Typography & Spacing */
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Georgia', serif;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
}

/* ===== 2. GLOBAL RESET & BASE ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: rgb(255 255 255 / 87%);
  background: linear-gradient(to bottom, #fafbfc 0%, var(--bg-primary) 100%);
  scroll-behavior: smooth;
}
/* KHUSUS AREA CONTENT SAJA */
.pkp_structure_content {
    color: #1f5f8b !important;
}

/* ===== 3. HEADER - OMP BLUE BAR ===== */
.pkp_structure_head {
  background: #1e3b63 !important;
  padding: 1rem 0 !important;
  box-shadow: var(--shadow-md) !important;
  top: 0;
  z-index: 1000;
}

/* Header Wrapper */
.pkp_navigation_primary_wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.pkp_site_name .is_img img {
  width: 100%;
  height: auto;
  max-block-size: fit-content;
}

/* Primary Navigation */
.pkp_navigation_primary {
  display: flex !important;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}
/* HAPUS GAMBAR LOGO PKP */
.pkp_brand_footer{
    display: none !important;
}

.pkp_navigation_primary > li > a {
  color: #ffffff !important;
  padding: 0.75rem 1.25rem !important;
  text-decoration: none !important;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  position: relative;
}

.pkp_navigation_primary > li > a:hover {
  background-color: var(--omp-blue-dark) !important;
  transform: translateY(-1px);
}

.pkp_navigation_primary > li.current > a {
  background-color: var(--omp-blue-dark) !important;
}

.pkp_navigation_primary > li.current > a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 2px;
  background: #ffffff;
}

/* Dropdown */
.pkp_navigation_primary ul {
  background: var(--bg-primary) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-md) !important;
  margin-top: 0.25rem !important;
  padding: 0.5rem 0 !important;
}

.pkp_navigation_primary ul li a {
  color: var(--text-dark) !important;
  padding: 0.5rem 1.5rem !important;
  font-size: 0.9rem !important;
}

.pkp_navigation_primary ul li a:hover {
  background-color: var(--bg-secondary) !important;
  color: var(--omp-blue) !important;
}

/* CTA Button */
.nav-cta a {
  background: linear-gradient(135deg, var(--omp-teal), var(--omp-teal-dark)) !important;
  color: #ffffff !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: var(--radius-lg) !important;
  font-weight: 600 !important;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.nav-cta a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===== 4. MAIN CONTENT ===== */
.pkp_structure_content {
  min-height: 70vh;
  padding: 3rem 0;
  background: var(--bg-primary);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== 5. FOOTER - OMP PROFESSIONAL ===== */
.pkp_page_footer,
.pkp_structure_footer,
.pkp_structure_footer_wrapper {
  background: #1d406e !important;
}

.footer-modern {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-section h4 {
  color: var(--omp-blue) !important;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--omp-blue);
}

.footer-btn {
  display: block !important;
  padding: 0.75rem 1rem !important;
  margin-bottom: 0.75rem !important;
  background: var(--bg-primary) !important;
  color: var(--text-dark) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.footer-btn:hover {
  background: var(--omp-blue) !important;
  color: #ffffff !important;
  border-color: var(--omp-blue) !important;
  transform: translateX(4px);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-medium);
  font-size: 0.9rem;
}

/* ===== 6. RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .pkp_navigation_primary_wrapper {
    flex-direction: column;
    gap: 1rem;
  }
  
  .pkp_navigation_primary {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-section h4 {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .pkp_site_name .is_img img {
    height: 40px !important;
    max-block-size: fit-content;
  }
}

/* ===== 7. ACCESSIBILITY & PRINT ===== */
a:focus-visible {
  outline: 2px solid var(--omp-blue);
  outline-offset: 2px;
}

@media print {
  .pkp_structure_head {
    position: static !important;
    box-shadow: none !important;
  }
  
  body {
    background: white !important;
  }
}

/* END OMP THEME */

/* CONTENT */

/* =================================================
   FIX CONTAINER OMP (ANTI KELUAR BODY)
   ================================================= */
.pkp_structure_content {
    display: block;
}

.pkp_structure_content .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* CEGAH KONTEN KELUAR */
.pkp_structure_content,
.container,
section {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* =================================================
   HERO
   ================================================= */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 16px;
    margin: 30px 0;
}

.hero h1 {
    font-size: 36px;
    color: #1f5f8b;
    margin-bottom: 10px;
}

.hero p {
    color: #6b7280;
    max-width: 600px;
    margin: auto;
}

.hero-btn {
    margin-top: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.btn-primary {
    background: #1f5f8b;
    color: #fff;
}

.btn-outline {
    border: 2px solid #1f5f8b;
    color: #1f5f8b;
    margin-left: 10px;
}

/* =================================================
   GRID & CARD
   ================================================= */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    background: #e2f2fe;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}

/* =================================================
   SECTION
   ================================================= */ 

h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 26px;
    color: #111827;
}

/* =================================================
   RESPONSIVE
   ================================================= */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px;
    }
}

/* SIDEBAR WRAPPER */
.sidebar-menu {
    background: #ffffff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

/* SECTION */
.sidebar-section {
    margin-bottom: 25px;
}

/* TITLE */
.sidebar-section h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #1f5f8b;
    border-left: 4px solid #1f5f8b;
    padding-left: 10px;
}

/* LIST */
.sidebar-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ITEM */
.sidebar-section ul li {
    margin-bottom: 8px;
}

/* LINK */
.sidebar-section ul li a {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    font-size: 14px;
    transition: 0.3s;
}

/* HOVER */
.sidebar-section ul li a:hover {
    background: #f3f4f6;
    color: #1f5f8b;
    transform: translateX(4px);
}

/* FIX AGAR IFRAME TAMPIL */
.footer-map {
    width: 100%;
    height: 180px;
    position: relative;
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}