/*
Theme Name:   Astra Child LPMI
Template:     astra
Version:      1.6.0
Description:  Child theme for LPMI STTRII — inherits Astra, applies custom brand styles.
Changelog:    1.6.0 — Fixes: (1) sambutan photo border-radius 50% !important,
              (2) TOC no garis/border dari inner-page rule,
              (3) program-tab br hidden,
              (4) semua halaman inner: navy header + LPMI watermark + eyebrow parent + font putih,
              (5) em di heading putih = biru italic, (6) sambutan header font warna fix,
              (7) entry-header padding fix supaya tidak double dengan lpmi-page-header.
*/

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Source+Sans+4:ital,wght@0,300;0,400;0,600;1,300&display=swap');

/* ── DESIGN TOKENS ── */
:root {
  --navy:       #0d1f3c;
  --navy-mid:   #1a3a5a;
  --blue:       #5b9bd5;
  --blue-light: #7ab3e0;
  --blue-pale:  #eef5fb;
  --text:       #2c3e50;
  --text-muted: #6b7d8e;
  --border:     #d0e0ef;
  --bg-soft:    #f7f9fc;
  --white:      #ffffff;
  --serif:      'Lora', Georgia, serif;
  --sans:       'Source Sans 4', system-ui, sans-serif;
}

/* ── BASE ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  margin: 0; padding: 0;
}

/* ════════════════════════════════════════════════
   FIX 1 — FULL WIDTH + REMOVE ALL PADDING
   ════════════════════════════════════════════════ */

.ast-page-builder-template .site-content > .ast-container,
.ast-page-builder-template .ast-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body:has(.lpmi-homepage) .site-content,
body:has(.lpmi-homepage) #primary,
body:has(.lpmi-homepage) .site-main,
body:has(.lpmi-homepage) .hentry {
  padding: 0 !important;
  margin: 0 !important;
}

body:has(.lpmi-homepage) .site-main > article {
  padding-top: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body:has(.lpmi-homepage) .entry-content[data-ast-blocks-layout] > * {
  max-width: 100% !important;
}

body:has(.lpmi-homepage) .entry-content {
  padding: 0 !important;
  margin: 0 !important;
}

body:has(.lpmi-homepage) .site-content,
body:has(.lpmi-homepage) #content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.lpmi-homepage .wp-block-html,
.lpmi-homepage .wp-block-freeform {
  padding: 0 !important; margin: 0 !important;
}

/* ════════════════════════════════════════════════
   FIX 2 — HIDE PAGE TITLE ("Home")
   ════════════════════════════════════════════════ */

.ast-page-builder-template .entry-title,
.ast-page-builder-template .entry-header,
body.home .entry-title,
body.front-page .entry-title {
  display: none !important;
}

.ast-page-builder-template .ast-page-header-wrap,
.ast-page-builder-template .entry-header.ast-no-meta {
  display: none !important;
}

/* ════════════════════════════════════════════════
   FIX 3 — NAVBAR
   ════════════════════════════════════════════════ */

html body { margin-top: 0 !important; padding-top: 0 !important; }
body.ast-header-break-point, body { padding-top: 0 !important; }

#masthead,
.site-header,
.ast-site-header-wrap,
header.ast-site-header-wrap {
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important;
  z-index: 9999 !important;
  width: 100% !important;
  transition: background 0.35s ease, box-shadow 0.35s ease !important;
  background: transparent !important;
  box-shadow: none !important;
  border-bottom: none !important;
}

#masthead .ast-primary-header-bar,
#masthead .main-header-bar,
#masthead .ast-desktop-header,
#masthead .ast-builder-grid-row-container,
#masthead .ast-builder-grid-row-container-inner,
.ast-primary-header-bar {
  background: transparent !important;
  background-color: transparent !important;
  border-bottom: none !important;
  transition: background 0.35s ease !important;
}

#masthead .ast-above-header-bar,
.ast-above-header-bar {
  background-color: rgba(13, 31, 60, 0.88) !important;
  transition: background 0.35s ease !important;
}

#masthead .menu-link,
#masthead a.menu-link,
#masthead .ast-primary-header-bar a,
#masthead .main-header-bar a,
#masthead .ast-builder-menu-1 .menu-item > .menu-link,
#masthead .main-header-menu .menu-item > .menu-link {
  color: rgba(255, 255, 255, 1) !important;
  font-family: var(--sans) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  transition: color 0.2s !important;
}

#masthead .menu-link:hover,
#masthead a.menu-link:hover,
#masthead .ast-builder-menu-1 .menu-item:hover > .menu-link,
#masthead .ast-builder-menu-1 .menu-item.current-menu-item > .menu-link {
  color: #ffffff !important;
}

#masthead .sub-menu,
#masthead .ast-builder-menu-1 .sub-menu,
#masthead .main-header-menu .sub-menu {
  background: #1a3a5c !important;
  background-color: #1a3a5c !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(13,31,60,.22) !important;
  border-radius: 3px !important;
}

#masthead .sub-menu .menu-item,
#masthead .ast-builder-menu-1 .sub-menu .menu-item,
.ast-desktop .ast-builder-menu-1 .menu-item .sub-menu .menu-item {
  background: transparent !important;
  border: none !important;
}

.ast-desktop .ast-builder-menu-1 .menu-item .sub-menu .menu-link,
#masthead .ast-builder-menu-1 .sub-menu .menu-link,
#masthead .sub-menu .menu-link,
#masthead .main-header-menu .sub-menu .menu-link {
  color: rgba(255,255,255,.8) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  font-family: var(--sans) !important;
  background: transparent !important;
  padding: 9px 18px !important;
  border: none !important;
  border-bottom-width: 0 !important;
  border-color: transparent !important;
  transition: color .2s, background .2s !important;
}

#masthead .sub-menu .menu-link:hover,
#masthead .ast-builder-menu-1 .sub-menu .menu-item:hover > .menu-link {
  color: var(--white) !important;
  background: rgba(255,255,255,.08) !important;
  border: none !important;
}

.ast-builder-menu-1,
#masthead .ast-builder-menu-1 {
  text-transform: none !important;
}

/* Mobile menu */
#ast-mobile-header {
  --ast-global-color-4: #0d1f3c;
  --ast-global-color-5: #0d1f3c;
}

.ast-mobile-header-wrap .ast-mobile-header-content,
.ast-mobile-popup-drawer.active .ast-mobile-popup-inner,
#ast-mobile-header .ast-mobile-header-content,
#ast-mobile-header .ast-primary-header-bar,
#ast-mobile-header .main-header-bar {
  background-color: var(--navy) !important;
  background: var(--navy) !important;
}

@media (max-width: 921px) {
  .ast-builder-menu-1 .main-header-menu,
  .ast-builder-menu-1 .main-header-menu .sub-menu {
    background-color: var(--navy) !important;
    background-image: none !important;
  }
  .ast-builder-menu-1 .main-header-menu .menu-item > .menu-link {
    color: rgba(255,255,255,.85) !important;
    text-transform: none !important;
    font-family: var(--sans) !important;
  }
  .ast-builder-menu-1 .menu-item > .ast-menu-toggle {
    color: rgba(255,255,255,.5) !important;
  }
  .ast-builder-menu-1 .menu-item:hover > .menu-link,
  .ast-builder-menu-1 .inline-on-mobile .menu-item:hover > .ast-menu-toggle {
    color: var(--white) !important;
    background: rgba(255,255,255,.06) !important;
  }
  .ast-builder-menu-1 .menu-item.current-menu-item > .menu-link,
  .ast-builder-menu-1 .current-menu-ancestor > .menu-link,
  .ast-builder-menu-1 .current-menu-ancestor > .ast-menu-toggle {
    color: var(--white) !important;
    background: rgba(255,255,255,.08) !important;
  }
}

@media (max-width: 544px) {
  .ast-builder-menu-1 .main-header-menu,
  .ast-builder-menu-1 .main-header-menu .sub-menu {
    background-color: var(--navy) !important;
    background-image: none !important;
  }
}

#ast-mobile-header .ast-mobile-menu-trigger-fill {
  background: rgba(255,255,255,.15) !important;
  border: none !important;
}
#ast-mobile-header .ast-mobile-svg { fill: #ffffff !important; }

/* Submenu border kill */
.ast-builder-menu-1 .sub-menu,
.ast-builder-menu-1 .inline-on-mobile .sub-menu {
  border-top-width: 0 !important;
  border-bottom-width: 0 !important;
  border-right-width: 0 !important;
  border-left-width: 0 !important;
  border: none !important;
}

.ast-desktop .ast-builder-menu-1 .menu-item .sub-menu .menu-link,
.ast-desktop .ast-builder-menu-1 .menu-item .sub-menu:last-child > .menu-item > .menu-link {
  border-bottom-width: 0 !important;
  border-bottom: none !important;
  border: none !important;
  border-style: none !important;
}

.ast-header-break-point .main-navigation ul .menu-item .menu-link {
  border-bottom-width: 0 !important;
  border-bottom: none !important;
}

#masthead .ast-menu-toggle,
#masthead .ast-builder-menu-1 .menu-item > .ast-menu-toggle {
  color: rgba(255, 255, 255, 0.6) !important;
}

#masthead .ast-mobile-menu-trigger-fill {
  background: rgba(255,255,255,0.15) !important;
  border: none !important;
}
#masthead .mobile-menu-toggle-icon .ast-mobile-svg { fill: #ffffff !important; }
#masthead .mobile-menu { color: #ffffff !important; }

/* Site title */
#masthead .site-title,
#masthead .site-title a,
#masthead .ast-site-identity .site-title,
#masthead .ast-site-identity .site-title a {
  font-family: var(--sans) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
  line-height: 1.2 !important;
  color: #ffffff !important;
  text-transform: none !important;
}

#masthead .ast-site-identity .site-description {
  color: rgba(255, 255, 255, 0.45) !important;
  font-family: var(--sans) !important;
  font-size: 11px !important;
  letter-spacing: 0.04em !important;
}

p.site-description,
.site-header p.site-description,
#masthead p.site-description,
.ast-site-identity p.site-description {
  margin: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}

/* Scrolled state */
#masthead.lpmi-nav-scrolled,
.site-header.lpmi-nav-scrolled,
.ast-site-header-wrap.lpmi-nav-scrolled,
header.ast-site-header-wrap.lpmi-nav-scrolled {
  background: var(--navy) !important;
  background-color: var(--navy) !important;
  box-shadow: 0 1px 24px rgba(13, 31, 60, 0.22) !important;
}

#masthead.lpmi-nav-scrolled .ast-primary-header-bar,
#masthead.lpmi-nav-scrolled .main-header-bar,
#masthead.lpmi-nav-scrolled .ast-desktop-header,
#masthead.lpmi-nav-scrolled .ast-builder-grid-row-container,
#masthead.lpmi-nav-scrolled .ast-builder-grid-row-container-inner,
.ast-site-header-wrap.lpmi-nav-scrolled .ast-primary-header-bar,
.ast-site-header-wrap.lpmi-nav-scrolled .main-header-bar {
  background: var(--navy) !important;
  background-color: var(--navy) !important;
}

.lpmi-hero { margin-top: 0 !important; }

body.ast-header-break-point .site,
body .site,
#page { margin-top: 0 !important; padding-top: 0 !important; }

.ast-header-break-point .ast-primary-header,
.main-header-bar-wrap { margin-top: 0 !important; }

body.home .site-content,
body.front-page .site-content { padding-top: 0 !important; margin-top: 0 !important; }

/* ════════════════════════════════════════════════
   FIX 4 — FOOTER
   ════════════════════════════════════════════════ */

.site-footer,
#colophon,
.ast-site-footer {
  background: var(--navy) !important;
  padding: 0 !important;
  margin: 0 !important;
  border-top: none !important;
}

.ast-footer-above-bar,
.ast-footer-below-bar,
.ast-footer-copyright,
.ast-footer-bar {
  display: none !important;
}

.ast-footer-widget-area,
.footer-widget-area,
.ast-footer-overlay {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: var(--navy) !important;
}

.ast-footer-widget-area .ast-container,
.footer-widget-area .ast-container {
  max-width: 100% !important;
  padding: 0 !important;
}

.lpmi-footer,
.entry-content .lpmi-footer,
.widget .lpmi-footer {
  display: block !important;
  background: var(--navy) !important;
  padding: 4rem 2.5rem 2rem !important;
  font-family: var(--sans) !important;
  margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.lpmi-footer-grid {
  max-width: 1060px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 2fr 1fr 1fr !important;
  gap: 3rem !important;
  padding-bottom: 3rem !important;
  border-bottom: 0.5px solid rgba(255,255,255,.1) !important;
  margin-bottom: 2rem !important;
}

.lpmi-footer-logo-row {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin-bottom: 1rem !important;
}

.lpmi-footer-logo {
  width: 38px !important; height: 38px !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) !important;
  opacity: .9 !important;
  flex-shrink: 0 !important;
  margin-top: 1px !important;
}

.lpmi-footer-logo-row > div,
.lpmi-footer-brand-wrap {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  gap: 0 !important;
}

.lpmi-footer-brand-name {
  color: var(--white) !important;
  font-family: var(--sans) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  display: block !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.lpmi-footer-brand-sub {
  color: rgba(255,255,255,.45) !important;
  font-size: 11px !important;
  letter-spacing: .01em !important;
  display: block !important;
  font-family: var(--sans) !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  padding: 0 !important;
  margin-top: 3px !important;
}

.lpmi-footer-address {
  font-size: 12.5px !important;
  color: rgba(255,255,255,.55) !important;
  line-height: 1.9 !important;
  font-family: var(--sans) !important;
  font-weight: 300 !important;
  margin: 0 !important;
}

.lpmi-footer-col-title,
p.lpmi-footer-col-title {
  font-size: 9.5px !important;
  font-weight: 600 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,.35) !important;
  margin-bottom: .9rem !important;
  display: block !important;
  font-family: var(--sans) !important;
}

.lpmi-footer-col-title.mt-lg { margin-top: 2.5rem !important; }

.lpmi-footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.lpmi-footer-links li {
  margin-bottom: .45rem !important;
  list-style: none !important;
  padding: 0 !important;
}

.lpmi-footer-links a,
.lpmi-footer-links li a {
  color: rgba(255,255,255,.6) !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-family: var(--sans) !important;
  font-weight: 300 !important;
  transition: color .2s !important;
}

.lpmi-footer-links a:hover,
.lpmi-footer-links li a:hover {
  color: var(--white) !important;
  text-decoration: none !important;
}

.lpmi-footer-links a.highlight { color: var(--blue-light) !important; }

.lpmi-footer-socials {
  display: flex !important;
  gap: .4rem !important;
  margin-top: .5rem !important;
  flex-wrap: wrap !important;
}

.lpmi-social-pill,
a.lpmi-social-pill {
  display: inline-block !important;
  border: 0.5px solid rgba(255,255,255,.2) !important;
  color: rgba(255,255,255,.6) !important;
  font-size: 11px !important;
  padding: 4px 12px !important;
  border-radius: 20px !important;
  text-decoration: none !important;
  font-family: var(--sans) !important;
  transition: all .2s !important;
  background: none !important;
}

.lpmi-social-pill:hover,
a.lpmi-social-pill:hover {
  border-color: var(--blue) !important;
  color: var(--white) !important;
  background: none !important;
  text-decoration: none !important;
}

.lpmi-footer-bottom {
  max-width: 1060px !important;
  margin: 0 auto !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: .5rem !important;
}

.lpmi-footer-copy,
p.lpmi-footer-copy {
  font-size: 11px !important;
  color: rgba(255,255,255,.3) !important;
  font-family: var(--sans) !important;
  font-weight: 300 !important;
  margin: 0 !important;
}

.footer-widget-area .ast-builder-html-element,
.ast-footer-widget-area .ast-builder-html-element,
.site-above-footer-wrap .ast-builder-html-element,
footer .ast-builder-html-element {
  text-align: left !important;
}

.lpmi-footer,
.lpmi-footer * { text-align: left !important; }

@media (max-width: 921px) {
  .footer-widget-area .ast-builder-html-element,
  .ast-footer-widget-area .ast-builder-html-element {
    text-align: left !important;
  }
}

/* ════════════════════════════════════════════════
   FIX 5 — FAQ
   ════════════════════════════════════════════════ */

.faq-section { background: var(--bg-soft) !important; }

.faq-list {
  margin-top: 2.5rem !important;
  max-width: 700px !important;
  padding: 0 !important;
  list-style: none !important;
}

.faq-item {
  border-bottom: 0.5px solid var(--border) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.faq-question {
  display: flex !important;
  width: 100% !important;
  box-sizing: border-box !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding: 1.1rem 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  user-select: none !important;
}

.faq-q-text {
  font-family: var(--sans) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: var(--navy) !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  flex: 1 !important;
  transition: color 0.2s !important;
}

.faq-question:hover .faq-q-text { color: var(--blue) !important; }

.faq-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  border: 1px solid var(--border) !important;
  color: var(--blue) !important;
  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 300 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: transform 0.25s ease !important;
  pointer-events: none !important;
}

.faq-item.open .faq-icon { transform: rotate(45deg) !important; }

.faq-answer {
  font-size: 13.5px !important;
  color: var(--text-muted) !important;
  line-height: 1.7 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  transition: max-height 0.4s ease, padding-bottom 0.4s ease !important;
  font-family: var(--sans) !important;
  padding: 0 !important;
}

.faq-item.open .faq-answer {
  max-height: 300px !important;
  padding-bottom: 1.1rem !important;
}

/* ════════════════════════════════════════════════
   SECTIONS & COMPONENTS
   ════════════════════════════════════════════════ */

section { padding: 5rem 2.5rem; }
.container { max-width: 1060px; margin: 0 auto; }

.section-label {
  font-family: var(--sans); font-size: 10px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .5rem; display: block;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500; color: var(--navy);
  margin-bottom: .75rem; line-height: 1.3;
}

.section-desc {
  font-size: 15px; color: var(--text-muted);
  max-width: 580px; line-height: 1.75; margin-bottom: 2.5rem;
}

.divider-line {
  max-width: 1060px; margin: 0 auto;
  height: 0.5px; background: var(--border);
}

/* ── HERO ── */
.lpmi-hero {
  position: relative;
  height: 100vh; min-height: 560px; max-height: 780px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}

.lpmi-hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  transform: scale(1.04);
  animation: lpmiHeroZoom 12s ease-out forwards;
}

@keyframes lpmiHeroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.00); }
}

.lpmi-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(170deg, rgba(13,31,60,.72) 0%, rgba(13,31,60,.58) 60%, rgba(13,31,60,.80) 100%);
}

.lpmi-hero-content {
  position: relative; z-index: 2;
  padding: 2rem; max-width: 720px;
  animation: lpmiHeroFadeUp .9s ease both;
  animation-delay: .2s;
}

@keyframes lpmiHeroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lpmi-hero-eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.95);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  width: 100%;
}

.lpmi-hero-eyebrow span {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: rgba(255,255,255,.95);
  flex-shrink: 0;
  vertical-align: middle;
}

.lpmi-hero-title {
  font-family: var(--serif);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 500; color: var(--white);
  line-height: 1.25; margin-bottom: .75rem;
  letter-spacing: -.01em;
}

.lpmi-hero-title em { font-style: italic; color: var(--blue-light); }

.lpmi-hero-tagline {
  font-family: var(--serif); font-size: 15px;
  font-style: italic; color: rgba(255,255,255,.8);
  letter-spacing: .04em; margin-bottom: 2.5rem;
}

.lpmi-hero-cta {
  display: inline-block;
  background: var(--blue); color: var(--white) !important;
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 12px 28px; text-decoration: none;
  border-radius: 2px; transition: background .2s, transform .2s;
}

.lpmi-hero-cta:hover {
  background: var(--blue-light); color: var(--white) !important;
  transform: translateY(-1px);
}

.lpmi-hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
  z-index: 2;
  animation: lpmiScrollBounce 2s ease infinite;
}

.lpmi-hero-scroll span {
  font-size: 9px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.4);
  font-family: var(--sans);
}

.lpmi-scroll-line {
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
}

@keyframes lpmiScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── KEGIATAN CARDS ── */
.kegiatan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.keg-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: 8px; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  text-decoration: none; display: block; color: inherit;
}

.keg-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(13,31,60,.09);
  text-decoration: none; color: inherit;
}

.keg-img { height: 165px; position: relative; overflow: hidden; }

.keg-img img {
  width: 100%; height: 100%;
  object-fit: cover; opacity: .88;
  transition: transform .4s;
}

.keg-card:hover .keg-img img { transform: scale(1.04); }

.keg-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.keg-tag-overlay {
  position: absolute; top: 12px; left: 12px;
  background: var(--blue); color: var(--white);
  font-size: 9.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 2px;
}

.keg-body { padding: 1.1rem 1.2rem 1.25rem; }

.keg-title {
  font-family: var(--serif); font-size: 15px; font-weight: 500;
  color: var(--navy); margin-bottom: .5rem; line-height: 1.4;
}

.keg-date {
  font-size: 11.5px; color: var(--text-muted);
  display: flex; align-items: center; gap: 6px;
}

.keg-date::before {
  content: ''; display: inline-block;
  width: 14px; height: 1px;
  background: var(--border); flex-shrink: 0;
}

.keg-view-all {
  display: inline-block; margin-top: 2rem;
  font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); text-decoration: none;
  border-bottom: 1px solid var(--blue); padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.keg-view-all:hover { color: var(--navy); border-color: var(--navy); }

.keg-loading, .keg-error {
  grid-column: 1 / -1; text-align: center;
  padding: 2rem; color: var(--text-muted);
  font-size: 14px; font-style: italic;
}

/* ── AKREDITASI ── */
.akred-section { background: var(--bg-soft); }

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

.akred-card {
  background: var(--white); border: 0.5px solid var(--border);
  border-radius: 8px; padding: 1.4rem 1.1rem 1.25rem;
  text-align: center; transition: transform .25s, box-shadow .25s;
  position: relative; overflow: hidden;
}

.akred-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--border);
}

.akred-card.high::after {
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
}

.akred-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(13,31,60,.08);
}

.akred-program {
  font-size: 10px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: .75rem;
}

.akred-divider { height: 0.5px; background: var(--border); margin: .75rem 0; }

.akred-score {
  font-family: var(--serif); font-size: 22px; font-weight: 500;
  color: var(--navy); line-height: 1.1; margin-bottom: .4rem;
}

.akred-sk { font-size: 9px; color: var(--text-muted); line-height: 1.6; }

/* ── PPEPP ── */
.ppepp-section {
  background: var(--navy); padding: 5rem 2.5rem;
  position: relative; overflow: hidden;
}

.ppepp-section::before {
  content: 'SPMI'; position: absolute;
  right: -1rem; top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-family: var(--serif); font-size: 120px; font-weight: 500;
  color: rgba(255,255,255,.03); letter-spacing: .1em;
  pointer-events: none;
}

.ppepp-section .section-label { color: var(--blue-light); }
.ppepp-section .section-title { color: var(--white); }
.ppepp-section .section-desc  { color: rgba(255,255,255,.5); }

.ppepp-wrapper {
  display: flex; align-items: center; justify-content: center;
  margin-top: 3rem; gap: 0; flex-wrap: wrap;
}

.ppepp-step {
  position: relative; display: flex; flex-direction: column;
  align-items: center; text-align: center;
  width: 160px; padding: 1.5rem 1rem; flex-shrink: 0;
}

.ppepp-circle {
  width: 72px; height: 72px; border-radius: 50%;
  border: 1.5px solid rgba(91,155,213,.4);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; position: relative; transition: border-color .3s;
}

.ppepp-step:hover .ppepp-circle { border-color: var(--blue); }

.ppepp-letter {
  font-family: var(--serif); font-size: 28px; font-weight: 500;
  color: var(--white); line-height: 1;
}

.ppepp-num {
  position: absolute; top: -6px; right: -6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  font-size: 9px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans);
}

.ppepp-word {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-light); margin-bottom: .35rem;
}

.ppepp-desc { font-size: 11.5px; color: rgba(255,255,255,.45); line-height: 1.5; }

.ppepp-arrow {
  color: rgba(91,155,213,.4); font-size: 18px;
  flex-shrink: 0; margin-bottom: 2rem; align-self: center;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .akred-grid { grid-template-columns: repeat(2, 1fr); }
  .kegiatan-grid { grid-template-columns: repeat(2, 1fr); }
  .ppepp-wrapper { gap: .5rem; }
  .ppepp-step { width: 130px; }
  .ppepp-arrow { display: none; }
  .lpmi-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr !important;
    gap: 2rem !important;
  }
}

@media (max-width: 600px) {
  section { padding: 3.5rem 1.25rem; }
  .ppepp-section { padding: 3.5rem 1.25rem; }
  .lpmi-footer { padding: 3rem 1.25rem 1.5rem !important; }
  .akred-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .kegiatan-grid { grid-template-columns: 1fr; }
  .ppepp-wrapper { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .ppepp-arrow { display: none; }
  .lpmi-hero-cta { font-size: 11px; padding: 10px 22px; }
  .lpmi-hero-eyebrow span { display: none; }
  .lpmi-footer-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .lpmi-footer-bottom { flex-direction: column !important; align-items: flex-start !important; }
}

/* ════════════════════════════════════════════════
   INNER PAGES — Halaman standard WordPress
   ════════════════════════════════════════════════ */

/* ── Page header banner (untuk semua halaman non-homepage yang TIDAK pakai custom .lpmi-page-header) ── */
body.page-template-default:not(.home):not(.front-page):not(.lpmi-has-custom-header) .entry-header,
body.single .entry-header {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5a 100%) !important;
  padding: 7rem 2.5rem 3.5rem !important;
  margin: 0 !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Dekorasi hatching */
body.page-template-default:not(.home):not(.front-page):not(.lpmi-has-custom-header) .entry-header::before,
body.single .entry-header::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,.012) 40px,
    rgba(255,255,255,.012) 41px
  ) !important;
  pointer-events: none !important;
}

/* Watermark LPMI di kanan bawah — semua inner page */
body.page-template-default:not(.home):not(.front-page) .entry-header::after,
body.single .entry-header::after {
  content: 'LPMI' !important;
  position: absolute !important;
  right: 2rem !important; bottom: -0.5rem !important;
  font-family: var(--serif) !important;
  font-size: 120px !important; font-weight: 500 !important;
  color: rgba(255,255,255,.04) !important;
  letter-spacing: .1em !important;
  pointer-events: none !important; line-height: 1 !important;
  z-index: 0 !important;
}

/* Title putih */
body.page-template-default:not(.home):not(.front-page) .entry-title,
body.single .entry-title,
header.entry-header .entry-title {
  font-family: var(--serif) !important;
  font-size: clamp(24px, 4vw, 36px) !important;
  font-weight: 500 !important;
  color: var(--white) !important;
  line-height: 1.25 !important;
  letter-spacing: -.01em !important;
  margin: 0 !important;
  max-width: 1060px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
  position: relative !important;
  z-index: 1 !important;
}

/* em di entry-title = biru italic */
body.page-template-default:not(.home):not(.front-page) .entry-title em,
body.single .entry-title em,
header.entry-header .entry-title em {
  font-style: italic !important;
  color: var(--blue-light) !important;
}

/* span.lpmi-blue di entry-title */
body.page-template-default:not(.home):not(.front-page) .entry-title span.lpmi-blue,
body.single .entry-title span.lpmi-blue {
  color: var(--blue-light) !important;
}

/* Eyebrow (parent page name) */
.lpmi-entry-eyebrow {
  display: block !important;
  font-family: var(--sans) !important;
  font-size: 10px !important; font-weight: 600 !important;
  letter-spacing: .16em !important; text-transform: uppercase !important;
  color: var(--blue-light) !important;
  margin-bottom: .6rem !important;
  position: relative !important; z-index: 1 !important;
  max-width: 1060px !important; margin-left: auto !important; margin-right: auto !important;
}

/* Breadcrumb */
body.page-template-default:not(.home):not(.front-page) .entry-header .ast-breadcrumbs,
body.single .entry-header .ast-breadcrumbs {
  max-width: 1060px !important;
  margin: 0 auto 0.75rem !important;
  font-size: 11px !important;
  font-family: var(--sans) !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,.45) !important;
  position: relative !important;
  z-index: 1 !important;
}

body.page-template-default:not(.home):not(.front-page) .entry-header .ast-breadcrumbs a,
body.single .entry-header .ast-breadcrumbs a {
  color: rgba(255,255,255,.45) !important;
  text-decoration: none !important;
}

body.page-template-default:not(.home):not(.front-page) .entry-header .ast-breadcrumbs a:hover,
body.single .entry-header .ast-breadcrumbs a:hover {
  color: var(--blue-light) !important;
}

/* ── Content area ── */
body.page-template-default:not(.home):not(.front-page):not(.lpmi-has-custom-header) .entry-content,
body.single .entry-content {
  max-width: 960px !important;
  margin: 0 auto !important;
  padding: 4rem 2.5rem 5rem !important;
  font-family: var(--sans) !important;
  font-size: 16px !important;
  color: var(--text) !important;
  line-height: 1.8 !important;
}

/* Headings */
body.page-template-default:not(.home):not(.front-page):not(.lpmi-has-custom-header) .entry-content h1,
body.page-template-default:not(.home):not(.front-page):not(.lpmi-has-custom-header) .entry-content h2,
body.page-template-default:not(.home):not(.front-page):not(.lpmi-has-custom-header) .entry-content h3,
body.page-template-default:not(.home):not(.front-page):not(.lpmi-has-custom-header) .entry-content h4,
body.single .entry-content h1,
body.single .entry-content h2,
body.single .entry-content h3,
body.single .entry-content h4 {
  font-family: var(--serif) !important;
  color: var(--navy) !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  margin-top: 2.5rem !important;
  margin-bottom: .75rem !important;
}

body.page-template-default:not(.home):not(.front-page):not(.lpmi-has-custom-header) .entry-content h2,
body.single .entry-content h2 {
  font-size: clamp(20px, 3vw, 26px) !important;
  padding-bottom: .5rem !important;
  border-bottom: 0.5px solid var(--border) !important;
  margin-bottom: 1.25rem !important;
}

body.page-template-default:not(.home):not(.front-page):not(.lpmi-has-custom-header) .entry-content h3,
body.single .entry-content h3 {
  font-size: clamp(17px, 2.5vw, 21px) !important;
}

body.page-template-default:not(.home):not(.front-page):not(.lpmi-has-custom-header) .entry-content h4,
body.single .entry-content h4 {
  font-size: 17px !important;
  font-family: var(--sans) !important;
  font-weight: 600 !important;
}

body.page-template-default:not(.home):not(.front-page):not(.lpmi-has-custom-header) .entry-content p,
body.single .entry-content p {
  font-size: 15.5px !important;
  color: var(--text) !important;
  line-height: 1.8 !important;
  margin-bottom: 1.25rem !important;
}

body.page-template-default:not(.home):not(.front-page):not(.lpmi-has-custom-header) .entry-content a,
body.single .entry-content a {
  color: var(--blue) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(91,155,213,.3) !important;
  transition: border-color .2s, color .2s !important;
}

body.page-template-default:not(.home):not(.front-page):not(.lpmi-has-custom-header) .entry-content a:hover,
body.single .entry-content a:hover {
  color: var(--navy) !important;
  border-bottom-color: var(--navy) !important;
}

body.page-template-default:not(.home):not(.front-page):not(.lpmi-has-custom-header) .entry-content ul,
body.page-template-default:not(.home):not(.front-page):not(.lpmi-has-custom-header) .entry-content ol,
body.single .entry-content ul,
body.single .entry-content ol {
  padding-left: 1.5rem !important;
  margin-bottom: 1.25rem !important;
}

body.page-template-default:not(.home):not(.front-page):not(.lpmi-has-custom-header) .entry-content li,
body.single .entry-content li {
  font-size: 15.5px !important;
  line-height: 1.75 !important;
  margin-bottom: .4rem !important;
  color: var(--text) !important;
}

body.page-template-default:not(.home):not(.front-page):not(.lpmi-has-custom-header) .entry-content table,
body.single .entry-content table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 14px !important;
  margin-bottom: 2rem !important;
  font-family: var(--sans) !important;
}

body.page-template-default:not(.home):not(.front-page):not(.lpmi-has-custom-header) .entry-content th,
body.single .entry-content th {
  background: var(--navy) !important;
  color: var(--white) !important;
  font-family: var(--sans) !important;
  font-weight: 600 !important;
  font-size: 11px !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  padding: .75rem 1rem !important;
  text-align: left !important;
}

body.page-template-default:not(.home):not(.front-page):not(.lpmi-has-custom-header) .entry-content td,
body.single .entry-content td {
  padding: .65rem 1rem !important;
  border-bottom: 0.5px solid var(--border) !important;
  color: var(--text) !important;
  vertical-align: top !important;
}

body.page-template-default:not(.home):not(.front-page):not(.lpmi-has-custom-header) .entry-content tr:nth-child(even) td,
body.single .entry-content tr:nth-child(even) td {
  background: var(--bg-soft) !important;
}

body.page-template-default:not(.home):not(.front-page):not(.lpmi-has-custom-header) .entry-content blockquote,
body.single .entry-content blockquote {
  border-left: 3px solid var(--blue) !important;
  margin: 1.5rem 0 !important;
  padding: .75rem 1.5rem !important;
  background: var(--blue-pale) !important;
  border-radius: 0 4px 4px 0 !important;
  font-style: italic !important;
  color: var(--navy) !important;
}

body.page-template-default:not(.home):not(.front-page):not(.lpmi-has-custom-header) .entry-content img,
body.single .entry-content img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 4px !important;
  margin: 1rem 0 !important;
}

@media (max-width: 768px) {
  body.page-template-default:not(.home):not(.front-page):not(.lpmi-has-custom-header) .entry-header,
  body.single .entry-header {
    padding: 6rem 1.5rem 2.5rem !important;
  }
  body.page-template-default:not(.home):not(.front-page):not(.lpmi-has-custom-header) .entry-content,
  body.single .entry-content {
    padding: 3rem 1.25rem 3.5rem !important;
  }
}

/* ════════════════════════════════════════════════
   HALAMAN DENGAN CUSTOM HEADER (lpmi-has-custom-header)
   e.g. Tentang Kami
   ════════════════════════════════════════════════ */

/* Hide Astra's entry-header — custom header takes over */
body.lpmi-has-custom-header .entry-header {
  display: none !important;
}

/* Reset article/content padding — lpmi-page-header is self-contained */
body.lpmi-has-custom-header .site-main > article,
body.lpmi-has-custom-header .hentry {
  padding: 0 !important;
  margin: 0 !important;
}

body.lpmi-has-custom-header .entry-content {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.lpmi-has-custom-header .ast-single-post .site-main > article,
body.lpmi-has-custom-header.ast-single-post .site-main > article {
  padding-top: 0 !important;
}

body.page-template-default:not(.home):not(.front-page):not(.lpmi-has-custom-header) .site-main > article {
  padding-top: 0 !important;
}

/* :has() fallback */
body.page-template-default:not(.home):not(.front-page) .entry-content:has(.lpmi-page-header) {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ════════════════════════════════════════════════
   TENTANG LPMI — PAGE COMPONENTS
   ════════════════════════════════════════════════ */

/* ── PAGE HEADER BANNER ── */
.lpmi-page-header {
  background: linear-gradient(135deg, var(--navy) 0%, #162d50 60%, #1a3a5a 100%);
  padding: 7rem 2.5rem 4rem;
  position: relative; overflow: hidden;
}
.lpmi-page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(255,255,255,.015) 40px, rgba(255,255,255,.015) 41px);
  pointer-events: none;
}
.lpmi-page-header::after {
  content: 'LPMI';
  position: absolute; right: 2rem; bottom: -0.5rem;
  font-family: var(--serif); font-size: 120px; font-weight: 500;
  color: rgba(255,255,255,.04); letter-spacing: .1em;
  pointer-events: none; line-height: 1;
}
.lpmi-page-header-inner {
  max-width: 1060px; margin: 0 auto; position: relative; z-index: 1;
}
.lpmi-page-eyebrow {
  font-family: var(--sans); font-size: 10px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-light); margin-bottom: .75rem; display: block;
}
.lpmi-page-title {
  font-family: var(--serif); font-size: clamp(28px, 4vw, 42px);
  font-weight: 500; color: var(--white); line-height: 1.2; letter-spacing: -.01em;
  margin: 0 !important;
}
.lpmi-page-title em { font-style: italic; color: var(--blue-light); }

/* ── TWO-COLUMN LAYOUT: TOC + CONTENT ── */
.lpmi-page-layout {
  max-width: 1060px !important; margin: 0 auto;
  display: grid; grid-template-columns: 220px 1fr; gap: 3rem;
  padding: 3.5rem 2.5rem 5rem; align-items: start;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* ── ANCHOR SCROLL OFFSET (compensate for fixed navbar ~72px) ── */
.lpmi-content-section[id] {
  scroll-margin-top: 90px;
}

/* ── STICKY TABLE OF CONTENTS ── */
.lpmi-toc {
  position: sticky; top: 90px;
  border-left: 2px solid var(--border) !important;
  padding-left: 1.25rem !important;
  /* Kill any Astra overrides */
  border-right: none !important;
  border-top: none !important;
  border-bottom: none !important;
}
.lpmi-toc-label {
  font-size: 9px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: .75rem; display: block;
}
/* TOC links — aggressively kill all border/underline from inner-page rules */
.lpmi-toc a,
.lpmi-toc a:link,
.lpmi-toc a:visited,
.lpmi-toc a:hover,
.lpmi-toc a:focus,
.lpmi-toc a.active,
body.page-template-default .lpmi-toc a,
body.single .lpmi-toc a,
.entry-content .lpmi-toc a,
.lpmi-content .lpmi-toc a {
  display: block !important;
  font-size: 12.5px !important;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  border-bottom: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: .3rem 0 !important;
  transition: color .2s !important;
  font-family: var(--sans) !important;
  border-left: 2px solid transparent !important;
  margin-left: -1.27rem !important;
  padding-left: 1.1rem !important;
}
.lpmi-toc a:hover,
body.page-template-default .lpmi-toc a:hover,
.lpmi-toc a.active,
body.page-template-default .lpmi-toc a.active {
  color: var(--blue) !important;
  border-left-color: var(--blue) !important;
  border-bottom: none !important;
}

/* ── CONTENT COLUMN ── */
.lpmi-content { min-width: 0; }
.lpmi-content-section { margin-bottom: 2.5rem; padding-top: .5rem; }
.lpmi-content-section:last-child { margin-bottom: 0; }
.lpmi-content-section:first-child { margin-top: 0; }

.lpmi-section-heading {
  font-family: var(--serif) !important; font-size: clamp(20px, 3vw, 26px) !important;
  font-weight: 500 !important; color: var(--navy) !important;
  border-bottom: 0.5px solid var(--border) !important;
  padding-bottom: .6rem !important; margin-bottom: 1.5rem !important; line-height: 1.3 !important;
  margin-top: 0 !important;
}
.lpmi-subsection-heading {
  font-family: var(--serif) !important; font-size: 16px !important; font-weight: 500 !important;
  color: var(--navy) !important; margin-bottom: .75rem !important; letter-spacing: .01em !important;
  margin-top: 1.75rem !important;
}

/* Paragraph in lpmi-content — override inner page rule */
.lpmi-content p {
  font-size: 15.5px !important;
  color: var(--text) !important;
  line-height: 1.8 !important;
  margin-bottom: 1.1rem !important;
}
.lpmi-content p:last-child { margin-bottom: 0 !important; }

/* Headings in lpmi-content */
.lpmi-content h1, .lpmi-content h2,
.lpmi-content h3, .lpmi-content h4,
.lpmi-content h5, .lpmi-content h6 {
  color: var(--navy) !important;
  font-family: var(--serif) !important;
}

/* ── KATA SAMBUTAN CARD ── */
.lpmi-sambutan-card {
  background: var(--bg-soft); border: 0.5px solid var(--border);
  border-radius: 8px; overflow: hidden;
}
.lpmi-sambutan-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 1.5rem 2rem; display: flex; align-items: center; gap: 1.25rem;
}
/* FIX: sambutan photo = circle, not square */
.lpmi-sambutan-photo,
img.lpmi-sambutan-photo,
.lpmi-sambutan-header img.lpmi-sambutan-photo,
.entry-content .lpmi-sambutan-photo,
.lpmi-content .lpmi-sambutan-photo {
  width: 72px !important; height: 72px !important;
  border-radius: 50% !important;
  object-fit: cover !important; object-position: top !important;
  border: 2.5px solid rgba(255,255,255,.25) !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  /* Kill Astra inner page img border-radius: 4px */
}
.lpmi-sambutan-meta { color: white; }
.lpmi-sambutan-name {
  font-family: var(--serif) !important; font-size: 17px !important; font-weight: 500 !important;
  margin-bottom: .2rem !important; color: white !important;
}
.lpmi-sambutan-role {
  font-size: 11px !important; color: rgba(255,255,255,.55) !important; letter-spacing: .04em !important;
}
/* sambutan-header: paragraf juga putih (Astra .entry-content p override) */
.lpmi-sambutan-header p,
.lpmi-sambutan-meta p {
  color: white !important;
  margin: 0 !important;
}
.lpmi-sambutan-body { padding: 2rem; }
.lpmi-sambutan-body p { font-size: 15px !important; color: var(--text) !important; line-height: 1.85 !important; margin-bottom: 1rem !important; }
.lpmi-sambutan-body ul { padding-left: 1.25rem !important; margin: .75rem 0 1rem !important; }
.lpmi-sambutan-body li { font-size: 15px !important; line-height: 1.75 !important; margin-bottom: .4rem !important; color: var(--text) !important; }
.lpmi-sambutan-body h2, .lpmi-sambutan-body h3, .lpmi-sambutan-body h4 { color: var(--navy) !important; }
.lpmi-sambutan-signature {
  margin-top: 1.5rem; padding-top: 1.25rem; border-top: 0.5px solid var(--border);
}
.lpmi-sambutan-signature p { font-size: 14px !important; font-weight: 600 !important; color: var(--navy) !important; margin: 0 !important; }
.lpmi-sambutan-signature span { font-size: 12.5px; color: var(--text-muted); font-weight: 300; display: block; }

/* ── VISI BOX ── */
.lpmi-visi-box {
  background: var(--navy); border-radius: 8px;
  padding: 2rem 2.25rem; position: relative; overflow: hidden;
  margin-bottom: 2rem;
}
.lpmi-visi-box::before {
  content: '"'; position: absolute; top: -1rem; left: 1rem;
  font-family: var(--serif); font-size: 120px; color: rgba(255,255,255,.05);
  line-height: 1; pointer-events: none;
}
/* Visi text: putih — override entry-content p rule aggressively */
.lpmi-visi-box p,
.lpmi-visi-box > p,
.lpmi-content .lpmi-visi-box p,
body.lpmi-has-custom-header .lpmi-visi-box p,
body.page-template-default .lpmi-visi-box p {
  font-family: var(--serif) !important; font-size: 16px !important; font-style: italic !important;
  color: rgba(255,255,255,.88) !important; line-height: 1.9 !important;
  margin: 0 !important; position: relative; z-index: 1;
}
.lpmi-visi-year {
  display: inline-block; margin-top: 1rem;
  font-size: 10px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue-light);
  font-family: var(--sans); font-style: normal;
}

/* ── MISI LIST ── */
.lpmi-misi-list { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.lpmi-misi-list li {
  display: flex !important; gap: 1rem !important; align-items: flex-start !important;
  padding: .85rem 0 !important; border-bottom: 0.5px solid var(--border) !important;
  font-size: 15px !important; line-height: 1.7 !important; color: var(--text) !important;
}
.lpmi-misi-list li:last-child { border-bottom: none !important; }
.lpmi-misi-num {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue-pale); color: var(--blue);
  font-size: 11px; font-weight: 600; font-family: var(--sans);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}

/* ── TUJUAN BOX ── */
.lpmi-tujuan-box {
  border-left: 3px solid var(--blue); background: var(--blue-pale);
  border-radius: 0 8px 8px 0; padding: 1.25rem 1.5rem; margin-bottom: 2rem;
}
.lpmi-tujuan-box p { font-size: 15px !important; color: var(--navy) !important; line-height: 1.8 !important; margin: 0 !important; }

/* ── SASARAN CARDS ── */
.lpmi-sasaran-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.lpmi-sasaran-card {
  background: var(--bg-soft); border: 0.5px solid var(--border);
  border-radius: 8px; padding: 1.1rem 1.25rem;
  display: flex; gap: .85rem; align-items: flex-start;
}
.lpmi-sasaran-icon {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 6px;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.lpmi-sasaran-text { font-size: 14px; color: var(--text); line-height: 1.6; }
.lpmi-sasaran-text strong { color: var(--navy); display: block; margin-bottom: .2rem; font-size: 13px; }

/* ── STRUKTUR IMAGE ── */
.lpmi-struktur-wrap {
  border: 0.5px solid var(--border); border-radius: 8px;
  overflow: hidden; background: var(--bg-soft);
  text-align: center; padding: 1.5rem;
}
.lpmi-struktur-wrap img { max-width: 100%; height: auto; border-radius: 4px; margin: 0 !important; }
.lpmi-img-caption { font-size: 12px; color: var(--text-muted); margin-top: .75rem; font-style: italic; }

/* ── PPEPP ROW (inner page) ── */
.lpmi-ppepp-row {
  display: flex; gap: 0; flex-wrap: wrap;
  margin: 2rem 0; align-items: stretch;
}
.lpmi-ppepp-item {
  flex: 1; min-width: 100px; background: var(--bg-soft);
  border: 0.5px solid var(--border); padding: 1.5rem .75rem 1rem;
  text-align: center; position: relative;
}
.lpmi-ppepp-item:first-child { border-radius: 8px 0 0 8px; }
.lpmi-ppepp-item:last-child { border-radius: 0 8px 8px 0; }
.lpmi-ppepp-item + .lpmi-ppepp-item { border-left: none; }
.lpmi-ppepp-item .ppepp-letter { font-family: var(--serif); font-size: 28px; font-weight: 500; color: var(--navy); display: block; }
.lpmi-ppepp-item .ppepp-word { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin-top: .25rem; display: block; }
.lpmi-ppepp-item .ppepp-desc { font-size: 11px; color: var(--text-muted); line-height: 1.4; margin-top: .35rem; }
.lpmi-ppepp-item .ppepp-num {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 26px;
  background: var(--blue); color: white; border-radius: 50%;
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  font-family: var(--sans);
}

/* ── DOKUMEN MUTU GRID ── */
.lpmi-dokumen-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
  margin-top: 1.5rem;
}
.lpmi-dokumen-item {
  background: var(--bg-soft); border: 0.5px solid var(--border);
  border-radius: 6px; padding: .85rem 1rem;
  font-size: 13.5px; color: var(--text);
}

/* ── AMI STEPS ── */
.lpmi-ami-step-list { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.lpmi-ami-step {
  display: grid; grid-template-columns: 36px 1fr; gap: .75rem;
  padding: .9rem 0; border-bottom: 0.5px solid var(--border);
  align-items: start;
}
.lpmi-ami-step:last-child { border-bottom: none; }
.lpmi-ami-step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy); color: white;
  font-size: 12px; font-weight: 600; font-family: var(--sans);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  margin-top: 1px;
}
.lpmi-ami-step-content { font-size: 14.5px; line-height: 1.7; color: var(--text); }
.lpmi-ami-step-content strong { color: var(--navy); font-weight: 600; display: block; margin-bottom: .2rem; }

/* ── PROGRAM KERJA TABS ── */
/* FIX: WordPress adds <br> after each button — hide them */
.lpmi-program-tabs br { display: none !important; }

.lpmi-program-tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
  margin-bottom: 1.5rem !important;
  border-bottom: 1px solid var(--border) !important;
}
.lpmi-program-tab,
button.lpmi-program-tab {
  display: inline-flex !important;
  padding: .6rem 1.25rem !important;
  font-size: 12px !important; font-weight: 600 !important;
  letter-spacing: .06em !important; text-transform: uppercase !important;
  color: var(--text-muted) !important; cursor: pointer !important;
  border-bottom: 2px solid transparent !important; margin-bottom: -1px !important;
  font-family: var(--sans) !important;
  /* Kill ALL Astra button styles */
  background: none !important;
  background-color: transparent !important;
  border-left: none !important; border-right: none !important; border-top: none !important;
  border-radius: 0 !important; box-shadow: none !important;
  transition: color .2s !important;
  padding-top: .6rem !important; padding-bottom: .6rem !important;
  /* Kill large Astra button padding */
  padding-right: 1.25rem !important;
  padding-left: 1.25rem !important;
  /* Kill Astra uppercase override */
  text-transform: uppercase !important;
  line-height: 1.4 !important;
  /* Kill Astra button min-height */
  min-height: 0 !important; height: auto !important;
  /* Kill Astra hover background */
  outline: none !important;
}
.lpmi-program-tab.active,
button.lpmi-program-tab.active {
  color: var(--blue) !important;
  border-bottom: 2px solid var(--blue) !important;
}
.lpmi-program-tab:hover,
button.lpmi-program-tab:hover {
  color: var(--blue) !important;
  background: none !important;
  background-color: transparent !important;
}

.lpmi-program-panel { display: none !important; }
.lpmi-program-panel.active { display: block !important; }
.lpmi-program-list { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.lpmi-program-list li {
  display: flex !important; gap: .75rem !important; align-items: flex-start !important;
  padding: .7rem 0 !important; border-bottom: 0.5px solid var(--border) !important;
  font-size: 14.5px !important; line-height: 1.65 !important; color: var(--text) !important;
}
.lpmi-program-list li:last-child { border-bottom: none !important; }
.lpmi-prog-dot {
  flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); margin-top: 8px;
}

/* Kill border-bottom on links inside lpmi components */
.lpmi-sambutan-card a,
.lpmi-misi-list a,
.lpmi-ami-step-content a,
.lpmi-program-list a,
.lpmi-toc a,
.lpmi-page-layout a {
  border-bottom: none !important;
  text-decoration: none !important;
}

/* ── RESPONSIVE — Tentang LPMI ── */
@media (max-width: 900px) {
  .lpmi-page-layout {
    grid-template-columns: 1fr !important;
    padding: 2.5rem 1.5rem 4rem !important;
  }
  .lpmi-toc { display: none !important; }
}

@media (max-width: 768px) {
  .lpmi-page-layout {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.25rem 4rem;
  }
  .lpmi-toc { display: none; }
  .lpmi-sasaran-grid { grid-template-columns: 1fr; }
  .lpmi-dokumen-grid { grid-template-columns: 1fr; }
  .lpmi-ppepp-row { flex-direction: column; }
  .lpmi-ppepp-item { border-radius: 0 !important; border-left: 0.5px solid var(--border) !important; border-top: none; }
  .lpmi-ppepp-item:first-child { border-top: 0.5px solid var(--border) !important; border-radius: 8px 8px 0 0 !important; }
  .lpmi-ppepp-item:last-child { border-radius: 0 0 8px 8px !important; }
  .lpmi-page-header { padding: 6rem 1.5rem 3rem; }
  .lpmi-sambutan-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .lpmi-page-layout {
    padding: 2rem 1.25rem 3.5rem !important;
  }
  .lpmi-page-header {
    padding: 6rem 1.25rem 3rem !important;
  }
  .lpmi-sasaran-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ════════════════════════════════════════════════
   DOKUMEN SPMI — Document List Components
   Dipakai di halaman Dokumen SPMI dan halaman
   dokumen lainnya.
   ════════════════════════════════════════════════ */

/* Intro text */
.lpmi-spmi-intro p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0;
  padding: 1rem 1.25rem;
  background: var(--bg-soft);
  border-left: 3px solid var(--blue);
  border-radius: 0 6px 6px 0;
}

/* Doc list container */
.lpmi-doc-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 0.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

/* Single doc row */
a.lpmi-doc-item,
.lpmi-doc-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem 1.1rem;
  border-bottom: 0.5px solid var(--border);
  text-decoration: none !important;
  color: var(--text) !important;
  background: var(--white);
  transition: background .15s;
  cursor: pointer;
}

a.lpmi-doc-item:last-child,
.lpmi-doc-item:last-child {
  border-bottom: none;
}

a.lpmi-doc-item:hover {
  background: var(--bg-soft);
  text-decoration: none !important;
  color: var(--text) !important;
}

/* Icon cell */
.lpmi-doc-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: var(--bg-soft);
  border: 0.5px solid var(--border);
}

/* SOP badge icon */
.lpmi-doc-icon--sop {
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
  color: var(--blue) !important;
  font-family: var(--sans) !important;
  background: var(--blue-pale) !important;
  border-color: var(--border) !important;
}

/* Info cell */
.lpmi-doc-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lpmi-doc-name {
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  white-space: normal;
  letter-spacing: -.01em;
}

.lpmi-doc-meta {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--sans);
  letter-spacing: .02em;
}

/* Category colour dots */
.lpmi-doc-cat--akademik   { color: #3d7eaa; }
.lpmi-doc-cat--tata-kelola { color: #6b5ea8; }
.lpmi-doc-cat--sarana     { color: #5a8a60; }
.lpmi-doc-cat--penelitian { color: #a06030; }

/* Download/View label — styled as pill button */
.lpmi-doc-dl {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--white);
  background: var(--blue);
  font-family: var(--sans);
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 4px;
  opacity: 1;
  transition: background .15s;
}

a.lpmi-doc-item:hover .lpmi-doc-dl {
  background: var(--navy);
  opacity: 1;
}

.lpmi-doc-dl--na {
  color: var(--text-muted) !important;
  opacity: .4 !important;
}

/* Unavailable row */
.lpmi-doc-item--unavailable {
  opacity: .55;
  cursor: default;
}

.lpmi-doc-item--unavailable .lpmi-doc-name {
  color: var(--text-muted);
}

/* Multi-link row (e.g. SOP Keamanan 3 file) */
.lpmi-doc-item--multi {
  align-items: flex-start;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.lpmi-doc-multi-links {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: .4rem;
}

.lpmi-doc-multi-links a {
  font-size: 11.5px;
  color: var(--blue) !important;
  text-decoration: none !important;
  border: 0.5px solid var(--border) !important;
  border-radius: 4px;
  padding: 2px 8px;
  font-family: var(--sans);
  transition: background .15s, border-color .15s;
  background: var(--white);
}

.lpmi-doc-multi-links a:hover {
  background: var(--blue-pale) !important;
  border-color: var(--blue) !important;
  color: var(--navy) !important;
}

/* SOP filter tabs — override button styles di dalam lpmi-program-tabs */
#sop-tabs.lpmi-program-tabs {
  flex-wrap: wrap;
  gap: 0;
}

/* ── SOP TABLE & TOOLBAR ── */
.lpmi-sop-toolbar {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 1rem;
}

.lpmi-sop-search-wrap {
  position: relative;
  max-width: 340px;
}

.lpmi-sop-search-icon {
  position: absolute;
  left: .75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.lpmi-sop-search {
  width: 100%;
  padding: .5rem .85rem .5rem 2.6rem;
  font-size: 13px;
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.lpmi-sop-search:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(91,155,213,.12);
}

.lpmi-sop-search::placeholder { color: var(--text-muted); }

.lpmi-sop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.lpmi-sop-filter {
  padding: .35rem .85rem !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  font-family: var(--sans) !important;
  letter-spacing: .04em !important;
  text-transform: none !important;
  border-radius: 20px !important;
  border: 1px solid var(--border) !important;
  background: var(--white) !important;
  color: var(--text-muted) !important;
  cursor: pointer !important;
  transition: all .15s !important;
  box-shadow: none !important;
  outline: none !important;
  min-height: 0 !important;
  height: auto !important;
  line-height: 1.4 !important;
}

.lpmi-sop-filter.active,
.lpmi-sop-filter:hover {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
  color: var(--white) !important;
}

.lpmi-sop-table-wrap {
  border: 0.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.lpmi-sop-table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 13.5px !important;
  margin: 0 !important;
  font-family: var(--sans) !important;
  background: var(--white) !important;
}

.lpmi-sop-table thead th {
  background: var(--navy) !important;
  color: rgba(255,255,255,.75) !important;
  font-family: var(--sans) !important;
  font-weight: 600 !important;
  font-size: 9.5px !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  padding: .65rem 1rem !important;
  text-align: left !important;
  border: none !important;
}

.lpmi-sop-table thead th.col-aksi { width: 110px; text-align: right; }
.lpmi-sop-table thead th.col-cat  { width: 140px; }

.lpmi-sop-table tbody tr {
  border-bottom: 0.5px solid var(--border) !important;
  transition: background .12s !important;
}

.lpmi-sop-table tbody tr:last-child { border-bottom: none !important; }

.lpmi-sop-table tbody td {
  padding: .7rem 1rem !important;
  vertical-align: middle !important;
  border: none !important;
  background: transparent !important;
  color: var(--text) !important;
}

.lpmi-sop-table tbody tr:nth-child(even) td { background: var(--bg-soft) !important; }
.lpmi-sop-table tbody tr:hover td          { background: var(--blue-pale) !important; }
.lpmi-sop-table tbody tr:last-child td     { border-bottom: none !important; }

.sop-name-cell {
  display: flex !important;
  align-items: center !important;
  gap: .6rem !important;
  font-weight: 500 !important;
  color: var(--navy) !important;
  font-size: 13.5px !important;
}

.sop-badge {
  flex-shrink: 0;
  font-size: 8.5px !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  color: var(--blue) !important;
  background: var(--blue-pale) !important;
  border: 0.5px solid var(--border) !important;
  border-radius: 3px !important;
  padding: 2px 5px !important;
  font-family: var(--sans) !important;
  line-height: 1.4 !important;
}

.lpmi-sop-cat {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 3px;
  font-family: var(--sans);
  letter-spacing: .02em;
  white-space: nowrap;
}

.lpmi-sop-cat--akademik    { background: rgba(61,126,170,.1);  color: #3d7eaa; }
.lpmi-sop-cat--tata-kelola { background: rgba(107,94,168,.1);  color: #6b5ea8; }
.lpmi-sop-cat--sarana      { background: rgba(90,138,96,.1);   color: #5a8a60; }
.lpmi-sop-cat--penelitian  { background: rgba(160,96,48,.1);   color: #a06030; }

.lpmi-sop-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  letter-spacing: .02em !important;
  color: var(--navy) !important;
  text-decoration: none !important;
  border: 1px solid var(--border) !important;
  border-radius: 5px !important;
  padding: 4px 10px !important;
  font-family: var(--sans) !important;
  white-space: nowrap !important;
  transition: background .15s, color .15s, border-color .15s !important;
  background: var(--white) !important;
}

.lpmi-sop-btn:hover {
  background: var(--navy) !important;
  color: var(--white) !important;
  text-decoration: none !important;
  border-color: var(--navy) !important;
}

.lpmi-sop-empty {
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 13.5px;
  font-style: italic;
}

.lpmi-sop-count {
  display: inline-block;
  padding: .2rem .6rem;
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--sans);
  background: var(--bg-soft);
  border: 0.5px solid var(--border);
  border-radius: 4px;
  margin-bottom: .6rem;
}

.lpmi-sop-table tbody tr.sop-hidden { display: none !important; }

/* ── Responsive ── */
@media (max-width: 600px) {
  .lpmi-doc-item { padding: .75rem .9rem; gap: .6rem; flex-wrap: nowrap; }
  .lpmi-doc-icon { width: 30px; height: 30px; font-size: 15px; }
  /* Tombol "Lihat" tetap muncul di mobile — jangan sembunyikan */
  .lpmi-doc-dl { display: inline-flex; font-size: 10px; padding: 3px 8px; }
  .lpmi-doc-multi-links { flex-direction: column; }
  /* SOP table */
  .lpmi-sop-search-wrap { max-width: 100%; }
  .lpmi-sop-table thead th.col-cat { display: none; }
  .lpmi-sop-table tbody td:nth-child(2) { display: none; }
  .sop-name-cell { font-size: 12.5px !important; }
}

/* ── Patch v1.7: button always beside, new category colours, multi-file dividers ── */

/* Pastikan .lpmi-doc-dl selalu di samping (tidak wrap ke baris baru) */
a.lpmi-doc-item,
.lpmi-doc-item {
  flex-wrap: nowrap;
}

/* Divider tipis antar file dalam multi-link card */
.lpmi-doc-divider {
  border: none;
  border-top: 0.5px solid var(--border);
  margin: .25rem 0;
}

/* Multi-link: layout vertical dengan divider */
.lpmi-doc-multi-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: .45rem;
}

.lpmi-doc-multi-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .3rem 0;
  font-size: 12px;
  color: var(--blue) !important;
  text-decoration: none !important;
  font-family: var(--sans);
  transition: color .15s;
}

.lpmi-doc-multi-link:hover {
  color: var(--navy) !important;
}

/* Kategori warna tambahan */
.lpmi-doc-cat--kemahasiswaan { color: #3d7eaa; }
.lpmi-doc-cat--sdm           { color: #5a8a60; }
.lpmi-doc-cat--sarpras       { color: #5a8a60; }
.lpmi-doc-cat--perpustakaan  { color: #8a6a30; }
.lpmi-doc-cat--penelitian    { color: #a06030; }

/* ── Patch v1.8: WordPress p/br/a injection fix + SOP table fixes ── */

/* WordPress classic editor / Gutenberg sering inject <p>, <br>, <a> ekstra
   di dalam .lpmi-doc-list. Neutralize semua itu. */
.lpmi-doc-list > p,
.lpmi-doc-list > br {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  line-height: 0 !important;
}

/* Jika WordPress double-wrap <a> dalam <p>, pastikan <p> tidak menambah gap */
.lpmi-doc-list p:has(> a.lpmi-doc-item) {
  display: contents;
  margin: 0 !important;
  padding: 0 !important;
}

/* Ensure flex on doc-item beneran inline — button tidak turun ke bawah */
a.lpmi-doc-item,
.lpmi-doc-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: .85rem !important;
  padding: .75rem 1rem !important;
}

/* doc-info grow, button tidak ikut grow */
.lpmi-doc-info {
  flex: 1 1 0 !important;
  min-width: 0 !important;
}

.lpmi-doc-dl {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .04em !important;
  color: var(--navy) !important;
  background: var(--white) !important;
  border: 1px solid var(--border) !important;
  border-radius: 5px !important;
  padding: 4px 10px !important;
  font-family: var(--sans) !important;
  transition: background .15s, color .15s, border-color .15s !important;
}

a.lpmi-doc-item:hover .lpmi-doc-dl {
  background: var(--navy) !important;
  color: var(--white) !important;
  border-color: var(--navy) !important;
}

/* Hapus border-bottom terakhir dengan berbagai selector untuk override WP */
.lpmi-doc-list > a.lpmi-doc-item:last-child,
.lpmi-doc-list > a.lpmi-doc-item:last-of-type,
.lpmi-doc-list a.lpmi-doc-item:last-child {
  border-bottom: none !important;
}

/* SOP table: td tidak perlu border (hanya tr yang punya) */
.lpmi-sop-table tbody td {
  border: none !important;
  border-bottom: none !important;
}

/* SOP col-aksi: pastikan tidak overflow */
.lpmi-sop-table td:last-child {
  text-align: right;
  white-space: nowrap;
  padding-right: 1rem !important;
}

/* SOP search icon — pastikan tidak overlap dengan text */
.lpmi-sop-search-icon {
  left: .8rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-muted);
}

/* ════════════════════════════════════════════════
   PATCH v1.9 — SOP & Doc-list comprehensive fixes
   ════════════════════════════════════════════════ */

/* ── Fix 1: WordPress p/br injection — stronger kill ──
   WordPress classic editor wraps HTML blocks in <p> tags.
   The :has() selector may not be supported everywhere, so
   we also use a display:contents fallback via a direct rule. */
.lpmi-doc-list > p,
.lpmi-doc-list > br,
.lpmi-doc-list > span:empty {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* When WP wraps <a class="lpmi-doc-item"> inside a <p>,
   the <p> must be invisible as a layout box */
.lpmi-doc-list > p:has(> a.lpmi-doc-item) {
  display: contents !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ── Fix 2: doc-item always a single flex row, no wrapping ──
   Override any inherited flex-wrap or direction from WP */
a.lpmi-doc-item,
div.lpmi-doc-item,
.lpmi-doc-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: .75rem !important;
  padding: .75rem 1rem !important;
  text-decoration: none !important;
  border-bottom: 0.5px solid var(--border) !important;
  background: var(--white) !important;
  color: var(--text) !important;
  transition: background .15s !important;
}

a.lpmi-doc-item:last-child,
div.lpmi-doc-item:last-child {
  border-bottom: none !important;
}

a.lpmi-doc-item:hover {
  background: var(--bg-soft) !important;
}

/* ── Fix 3: doc-icon — no extra margin that could shift first item ── */
.lpmi-doc-icon {
  flex: 0 0 36px !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  background: var(--bg-soft) !important;
  border: 0.5px solid var(--border) !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ── Fix 4: doc-info grows, no shrink ── */
.lpmi-doc-info {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  overflow: hidden !important;
}

.lpmi-doc-name {
  font-family: var(--sans) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--navy) !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  letter-spacing: -.01em !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ── Fix 5: Lihat button — always visible, right-aligned, compact ── */
.lpmi-doc-dl {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .03em !important;
  color: var(--navy) !important;
  background: var(--white) !important;
  border: 1px solid var(--border) !important;
  border-radius: 5px !important;
  padding: 4px 10px !important;
  font-family: var(--sans) !important;
  transition: background .15s, color .15s, border-color .15s !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
}

a.lpmi-doc-item:hover .lpmi-doc-dl {
  background: var(--navy) !important;
  color: var(--white) !important;
  border-color: var(--navy) !important;
}

/* Mobile: Lihat stays on first row (nowrap already handles it),
   but allow doc-name to wrap to second line on very small screens */
@media (max-width: 480px) {
  .lpmi-doc-name {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  .lpmi-doc-dl {
    align-self: flex-start !important;
    margin-top: 0 !important;
  }
}

/* ── Fix 6: SOP table — cleaner layout ── */

/* Search bar: enough left padding so icon never overlaps text */
.lpmi-sop-search {
  padding-left: 2.4rem !important;
  padding-right: .85rem !important;
  padding-top: .45rem !important;
  padding-bottom: .45rem !important;
  font-size: 13px !important;
  font-family: var(--sans) !important;
  color: var(--text) !important;
  background: var(--white) !important;
  border: 1px solid var(--border) !important;
  border-radius: 6px !important;
  outline: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: border-color .2s, box-shadow .2s !important;
}

.lpmi-sop-search:focus {
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 3px rgba(91,155,213,.12) !important;
}

/* Toolbar: search + pills on same row, aligned nicely */
.lpmi-sop-toolbar {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: .6rem !important;
  margin-bottom: .85rem !important;
}

.lpmi-sop-search-wrap {
  position: relative !important;
  width: 220px !important;
  flex-shrink: 0 !important;
}

.lpmi-sop-filters {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .3rem !important;
  align-items: center !important;
}

/* ── Fix 7: SOP table column widths — consistent & minimal doc col ── */
.lpmi-sop-table {
  table-layout: fixed !important;
  width: 100% !important;
}

/* Nama column: takes remaining space */
.lpmi-sop-table colgroup,
.lpmi-sop-table col { display: none !important; }  /* kill any existing col defs */

.lpmi-sop-table thead th:nth-child(1) { width: auto !important; }
.lpmi-sop-table thead th:nth-child(2) { width: 130px !important; }
.lpmi-sop-table thead th:nth-child(3) { width: 90px !important; text-align: center !important; }

.lpmi-sop-table tbody td:nth-child(2) {
  width: 130px !important;
}

.lpmi-sop-table tbody td:nth-child(3) {
  width: 90px !important;
  text-align: center !important;
  padding-right: .75rem !important;
}

/* Lihat button in table: centered, compact */
.lpmi-sop-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .02em !important;
  color: var(--navy) !important;
  text-decoration: none !important;
  border: 1px solid var(--border) !important;
  border-radius: 5px !important;
  padding: 4px 10px !important;
  font-family: var(--sans) !important;
  white-space: nowrap !important;
  transition: background .15s, color .15s, border-color .15s !important;
  background: var(--white) !important;
}

.lpmi-sop-btn:hover {
  background: var(--navy) !important;
  color: var(--white) !important;
  text-decoration: none !important;
  border-color: var(--navy) !important;
}

/* ── Fix 8: Missing category colour — Kemahasiswaan ── */
.lpmi-sop-cat--kemahasiswaan {
  background: rgba(56,108,66,.10) !important;
  color: #386c42 !important;
}

.lpmi-doc-cat--kemahasiswaan {
  color: #386c42 !important;
}

/* ── Fix 9: Multi-file rows in table — align links col to center ── */
.lpmi-sop-table td:last-child > div {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 2px !important;
}

.lpmi-sop-table td:last-child > div hr {
  width: 100% !important;
  border: none !important;
  border-top: 0.5px solid var(--border) !important;
  margin: 2px 0 !important;
}

/* ── Fix 10: Mobile responsive — search full width ── */
@media (max-width: 600px) {
  .lpmi-sop-toolbar {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .lpmi-sop-search-wrap {
    width: 100% !important;
  }
  .lpmi-sop-table thead th:nth-child(2),
  .lpmi-sop-table tbody td:nth-child(2) {
    display: none !important;
  }
  .lpmi-sop-table thead th:nth-child(3) { width: 80px !important; }
  .lpmi-sop-table tbody td:nth-child(3) { width: 80px !important; }
}

/* ════════════════════════════════════════════════
   KEGIATAN FEATURED CARDS
   ════════════════════════════════════════════════ */

/* Wrapper featured — di atas grid 3 berita */
.kegiatan-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 2rem;
}

.keg-featured-card {
  display: flex;
  flex-direction: row;
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
}

.keg-featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(13,31,60,.11);
  border-color: var(--blue);
  text-decoration: none;
  color: inherit;
}

.keg-featured-img {
  flex: 0 0 210px;
  width: 210px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.keg-featured-img img {
  width: 100%; height: 100%;
  object-fit: cover; opacity: .9;
  transition: transform .4s;
  display: block;
}

.keg-featured-card:hover .keg-featured-img img { transform: scale(1.05); }

/* Ribbon bintang Featured */
.keg-featured-ribbon {
  position: absolute;
  top: 0; left: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 11px 5px 9px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom-right-radius: 6px;
  z-index: 2;
}

.keg-featured-ribbon svg {
  color: #f0c040;
  flex-shrink: 0;
}

.keg-featured-body {
  flex: 1;
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.keg-featured-label {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: .45rem;
}

.keg-featured-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: .6rem;
  margin-top: 0;
}

.keg-featured-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: .7rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 0;
}

.keg-featured-date {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--sans);
  display: flex;
  align-items: center;
  gap: 6px;
}

.keg-featured-date::before {
  content: '';
  display: inline-block;
  width: 14px; height: 1px;
  background: var(--border);
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .kegiatan-featured { grid-template-columns: 1fr; }
  .keg-featured-img { flex: 0 0 170px; width: 170px; }
}

@media (max-width: 600px) {
  .keg-featured-card { flex-direction: column; }
  .keg-featured-img { flex: none; width: 100%; height: 180px; }
}

/* ════════════════════════════════════════════════
   AKRED CARD — Clickable link variant
   ════════════════════════════════════════════════ */

a.akred-card--link {
  text-decoration: none !important;
  cursor: pointer !important;
  display: block !important;
  color: inherit !important;
}

a.akred-card--link::before {
  content: '↗';
  position: absolute;
  top: 10px; right: 12px;
  font-size: 11px;
  color: var(--blue);
  opacity: 0;
  transition: opacity .2s;
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1;
}

a.akred-card--link:hover::before { opacity: 1; }

a.akred-card--link:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 24px rgba(13,31,60,.10) !important;
  border-color: var(--blue) !important;
  text-decoration: none !important;
  color: inherit !important;
}


/* ════════════════════════════════════════════════
   PATCH v2.1 — SPMI page: spacing, buttons, SOP table
   ════════════════════════════════════════════════ */

/* ── Fix 1: Kurangi padding-bottom layout ── */
.lpmi-page-layout {
  padding-bottom: 3rem !important;
}

/* ── Fix 2: Gap antar section lebih rapat ── */
.lpmi-content-section {
  margin-bottom: 1.75rem !important;
}
.lpmi-content-section:last-child {
  margin-bottom: 0 !important;
}

/* ── Fix 3: Tombol "Lihat" — biru solid, lebih besar, selalu di kanan ── */
.lpmi-doc-dl {
  flex: 0 0 auto !important;
  align-self: center !important;
  white-space: nowrap !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: .03em !important;
  color: var(--white) !important;
  background: var(--blue) !important;
  border: none !important;
  border-radius: 5px !important;
  padding: 6px 14px !important;
  font-family: var(--sans) !important;
  transition: background .15s !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  box-shadow: none !important;
}

a.lpmi-doc-item:hover .lpmi-doc-dl {
  background: var(--navy) !important;
  color: var(--white) !important;
  border: none !important;
}

/* ── Fix 4: doc-item flex — button selalu di kanan, tidak wrap ── */
a.lpmi-doc-item,
div.lpmi-doc-item,
.lpmi-doc-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
}

/* ── Fix 5: Kill WordPress auto-injected p/br/a ── */
.lpmi-doc-list > p,
.lpmi-doc-list > br,
.lpmi-doc-list > span:empty {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
  border: none !important;
}

.lpmi-doc-list > p:has(> a.lpmi-doc-item) {
  display: contents !important;
  margin: 0 !important;
  padding: 0 !important;
}

.lpmi-doc-list > a:empty,
.lpmi-doc-list > p > a:empty {
  display: none !important;
}

/* ── Fix 6: SOP table — row lebih tinggi, name cell tidak tight ── */
.lpmi-sop-table tbody tr {
  height: 48px !important;
}

.lpmi-sop-table tbody td {
  padding: .75rem 1rem !important;
  vertical-align: middle !important;
  border: none !important;
  border-bottom: none !important;
  background: transparent !important;
}

.sop-name-cell {
  display: flex !important;
  align-items: center !important;
  gap: .6rem !important;
  font-weight: 500 !important;
  color: var(--navy) !important;
  font-size: 13.5px !important;
  height: auto !important;
  white-space: normal !important;
  line-height: 1.4 !important;
}

/* ── Fix 7: Kolom Dokumen SOP lebih lebar ── */
.lpmi-sop-table thead th:nth-child(3) {
  width: 110px !important;
  text-align: center !important;
}
.lpmi-sop-table tbody td:nth-child(3) {
  width: 110px !important;
  text-align: center !important;
  padding-right: .75rem !important;
}

/* ── Fix 8: SOP btn — biru solid, tanpa icon ── */
.lpmi-sop-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  letter-spacing: .02em !important;
  color: var(--white) !important;
  background: var(--blue) !important;
  text-decoration: none !important;
  border: none !important;
  border-radius: 5px !important;
  padding: 5px 12px !important;
  font-family: var(--sans) !important;
  white-space: nowrap !important;
  transition: background .15s !important;
  box-shadow: none !important;
}

.lpmi-sop-btn:hover {
  background: var(--navy) !important;
  color: var(--white) !important;
  text-decoration: none !important;
  border: none !important;
}

/* Sembunyikan emoji ↗ yang diinject WP */
.lpmi-sop-btn img.emoji,
.lpmi-doc-dl img.emoji {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
}

/* ── Fix 9: Warna kategori berbeda tiap tipe ── */
.lpmi-sop-cat--kemahasiswaan {
  background: rgba(56,108,66,.10) !important;
  color: #386c42 !important;
}
.lpmi-doc-cat--kemahasiswaan { color: #386c42 !important; }

.lpmi-sop-cat--sdm {
  background: rgba(30,120,140,.10) !important;
  color: #1e788c !important;
}
.lpmi-doc-cat--sdm { color: #1e788c !important; }

.lpmi-sop-cat--sarpras {
  background: rgba(100,80,160,.10) !important;
  color: #6450a0 !important;
}
.lpmi-doc-cat--sarpras { color: #6450a0 !important; }

.lpmi-sop-cat--perpustakaan {
  background: rgba(138,90,40,.10) !important;
  color: #8a5a28 !important;
}
.lpmi-doc-cat--perpustakaan { color: #8a5a28 !important; }

/* ── Mobile responsive ── */
@media (max-width: 600px) {
  .lpmi-sop-table thead th:nth-child(3) { width: 90px !important; }
  .lpmi-sop-table tbody td:nth-child(3) { width: 90px !important; }
}

/* ════════════════════════════════════════════════
   PATCH v2.2 — 4 targeted fixes
   1. sop-name-cell height gap
   2. unwanted br in content-section (outside doc-list)
   3. lpmi-doc-dl height 0 (span override)
   4. lpmi-doc-dl blue bg, white text (confirm)
   ════════════════════════════════════════════════ */

/* ── Fix 1: sop-name-cell — td must not have fixed height;
   use min-height instead so the flex child fills naturally ── */
.lpmi-sop-table tbody tr {
  height: auto !important;
  min-height: 48px !important;
}

/* td vertical-align:middle already set; ensure it fills row */
.lpmi-sop-table tbody td {
  height: 1px !important;          /* trick: makes td fill tr height in non-FF */
}

/* The flex cell itself should stretch to td height */
.sop-name-cell {
  height: 100% !important;
  min-height: 40px !important;
  box-sizing: border-box !important;
  align-items: center !important;
}

/* ── Fix 2: kill stray <br> anywhere inside .lpmi-content-section
   (outside doc-list, e.g. between <p> and <div class="lpmi-doc-list">) ── */
.lpmi-content-section br {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
}

/* ── Fix 3 & 4: lpmi-doc-dl — force visible regardless of element type
   (works whether it's <span>, <div>, or anything else) ── */
.lpmi-doc-dl,
a .lpmi-doc-dl,
div.lpmi-doc-item .lpmi-doc-dl,
a.lpmi-doc-item .lpmi-doc-dl,
.lpmi-doc-item > .lpmi-doc-dl,
.lpmi-doc-item > div.lpmi-doc-dl {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: auto !important;
  min-height: 28px !important;
  flex: 0 0 auto !important;
  align-self: center !important;
  white-space: nowrap !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: .03em !important;
  color: #ffffff !important;
  background: var(--blue) !important;
  border: none !important;
  border-radius: 5px !important;
  padding: 5px 14px !important;
  font-family: var(--sans) !important;
  transition: background .15s !important;
  margin: 0 !important;
  box-shadow: none !important;
  visibility: visible !important;
  opacity: 1 !important;
  overflow: visible !important;
  line-height: 1 !important;
}

a.lpmi-doc-item:hover .lpmi-doc-dl,
div.lpmi-doc-item:hover .lpmi-doc-dl {
  background: var(--navy) !important;
  color: #ffffff !important;
}
