/* ============================================================
   HISBAH: Journal of Public Management and Services
   THEME CSS — Pasang di OJS > Settings > Website > Appearance > Stylesheet
   ============================================================ */

/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

/* ===== DESIGN TOKENS ===== */
:root {
  --hs-primary:      #1A4F72;   /* deep teal-navy */
  --hs-primary-dark: #123650;
  --hs-primary-hover:#1E6091;
  --hs-accent:       #2A9D8F;   /* teal */hs
  --hs-accent-light: #A8D8D3;
  --hs-accent-warm:  #E76F51;   /* coral call-to-action */
  --hs-gold:         #E9C46A;   /* subtle gold accent */
  --hs-bg:           #F4F8FB;
  --hs-soft-bg:      #EAF3F8;
  --hs-white:        #FFFFFF;
  --hs-border:       #C8DCE8;
  --hs-text:         #1E3444;
  --hs-muted:        #5A7A8E;
  --hs-light-text:   #8AA8BB;
  --hs-font-body:    'Plus Jakarta Sans', sans-serif;
  --hs-font-head:    'Plus Jakarta Sans', sans-serif;
  --hs-font-serif:   'Lora', serif;
  --hs-radius:       10px;
  --hs-radius-sm:    6px;
  --hs-radius-lg:    16px;
  --hs-shadow-sm:    0 1px 4px rgba(26,79,114,0.08);
  --hs-shadow-md:    0 4px 16px rgba(26,79,114,0.13);
  --hs-shadow-lg:    0 8px 32px rgba(26,79,114,0.16);
  --hs-topbar-h:     38px;
  --hs-header-h:     72px;
}

/* ===== GLOBAL RESET ===== */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--hs-font-body);
  background: var(--hs-bg);
  color: var(--hs-text);
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

/* ===== TOPBAR ===== */
.hs-topbar {
  background: var(--hs-primary-dark);
  color: rgba(255,255,255,0.82);
  font-size: 11.5px;
  height: var(--hs-topbar-h);
  position: relative;
  z-index: 100;
}
.hs-topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hs-topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hs-topbar-left a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color .2s;
}
.hs-topbar-left a:hover { color: var(--hs-gold); }
.hs-topbar-sep { color: rgba(255,255,255,0.25); }
.hs-topbar-right { display: flex; align-items: center; gap: 8px; }
.hs-btn-login {
  font-size: 11.5px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  transition: all .2s;
}
.hs-btn-login:hover { background: rgba(255,255,255,0.1); color: #fff; }
.hs-btn-register {
  font-size: 11.5px;
  color: var(--hs-primary-dark);
  text-decoration: none;
  padding: 4px 12px;
  background: var(--hs-gold);
  border-radius: 20px;
  font-weight: 600;
  transition: all .2s;
}
.hs-btn-register:hover { background: #f0d070; }

/* ===== MAIN HEADER ===== */
.hs-header {
  background: var(--hs-white);
  border-bottom: 2px solid var(--hs-accent-light);
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: var(--hs-shadow-md);
}
.hs-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  height: var(--hs-header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}
.hs-brand { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.hs-logo { height: 52px; width: auto; display: block; }

/* NAV */
.hs-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
}
.hs-nav-item { position: relative; }
.hs-nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hs-text);
  text-decoration: none;
  border-radius: var(--hs-radius-sm);
  transition: all .2s;
  white-space: nowrap;
}
.hs-nav-link:hover { color: var(--hs-primary); background: var(--hs-soft-bg); }
.hs-nav-link svg { transition: transform .2s; }
.hs-nav-item:hover > .hs-nav-link svg { transform: rotate(180deg); }

.hs-nav-link--active {
  color: var(--hs-primary);
  background: var(--hs-soft-bg);
}

/* Dropdown */
.hs-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 200px;
  background: var(--hs-white);
  border: 1px solid var(--hs-border);
  border-radius: var(--hs-radius);
  box-shadow: var(--hs-shadow-lg);
  padding: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: all .2s;
  z-index: 200;
}
.hs-nav-item:hover .hs-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.hs-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: 12.5px;
  color: var(--hs-text);
  text-decoration: none;
  border-radius: var(--hs-radius-sm);
  font-weight: 500;
  transition: all .18s;
}
.hs-dropdown-item:hover { background: var(--hs-soft-bg); color: var(--hs-primary); }
.hs-dropdown-item svg { flex-shrink: 0; color: var(--hs-accent); }

/* SEARCH */
.hs-search-wrap { margin-left: auto; }
.hs-search-form {
  display: flex;
  align-items: center;
  background: var(--hs-soft-bg);
  border: 1.5px solid var(--hs-border);
  border-radius: 24px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.hs-search-form:focus-within {
  border-color: var(--hs-accent);
  box-shadow: 0 0 0 3px rgba(42,157,143,.15);
}
.hs-search-input {
  border: none;
  background: transparent;
  padding: 7px 14px;
  font-size: 12.5px;
  font-family: var(--hs-font-body);
  color: var(--hs-text);
  width: 190px;
  outline: none;
}
.hs-search-input::placeholder { color: var(--hs-light-text); }
.hs-search-btn {
  background: var(--hs-accent);
  border: none;
  padding: 0 14px;
  height: 34px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  color: #fff;
}
.hs-search-btn:hover { background: var(--hs-primary); }

/* ===== SIDEBAR ===== */
.hs-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hs-sb-block {
  background: var(--hs-white);
  border: 1px solid var(--hs-border);
  border-radius: var(--hs-radius);
  overflow: hidden;
  box-shadow: var(--hs-shadow-sm);
}
.hs-sb-head {
  background: linear-gradient(135deg, var(--hs-primary) 0%, var(--hs-primary-hover) 100%);
  padding: 11px 16px;
}
.hs-sb-head h3 {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hs-sb-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 12.5px;
  color: var(--hs-text);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--hs-border);
  transition: all .18s;
}
.hs-sb-nav-item:last-child { border-bottom: none; }
.hs-sb-nav-item:hover { background: var(--hs-soft-bg); color: var(--hs-primary); padding-left: 20px; }
.hs-sb-subnav { background: var(--hs-bg); padding: 4px 0; }
.hs-sb-subnav-item {
  display: block;
  padding: 7px 26px;
  font-size: 11.5px;
  color: var(--hs-muted);
  text-decoration: none;
  transition: all .18s;
  border-bottom: 1px solid var(--hs-border);
}
.hs-sb-subnav-item:last-child { border-bottom: none; }
.hs-sb-subnav-item:hover { color: var(--hs-primary); background: var(--hs-soft-bg); }

/* Template block */
.hs-template-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--hs-text);
  font-size: 12.5px;
  font-weight: 600;
  transition: background .2s;
}
.hs-template-link:hover { background: var(--hs-soft-bg); }
.hs-template-img { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }

/* Notice */
.hs-sb-notice { padding: 14px 16px; }
.hs-sb-notice-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--hs-accent-warm);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 6px;
}
.hs-sb-notice-text { font-size: 11.5px; color: var(--hs-muted); line-height: 1.65; margin-bottom: 10px; }
.hs-sb-notice-link {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--hs-white);
  background: var(--hs-accent);
  padding: 5px 12px;
  border-radius: 20px;
  text-decoration: none;
  transition: background .2s;
}
.hs-sb-notice-link:hover { background: var(--hs-primary); }

/* Stats */
.hs-sb-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--hs-border);
}
.hs-sb-stat-item {
  padding: 14px 16px;
  text-align: center;
  border-right: 1px solid var(--hs-border);
}
.hs-sb-stat-item:last-child { border-right: none; }
.hs-sb-stat-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--hs-primary);
  line-height: 1.2;
}
.hs-sb-stat-label { font-size: 10px; color: var(--hs-muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 3px; }

/* Info list */
.hs-sb-info-list { padding: 6px 0; }
.hs-sb-info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--hs-border);
  font-size: 12px;
}
.hs-sb-info-row:last-child { border-bottom: none; }
.hs-sb-info-lbl { color: var(--hs-muted); flex-shrink: 0; width: 80px; font-weight: 500; }
.hs-sb-info-val { color: var(--hs-text); font-weight: 600; }
.hs-sb-issn-bar {
  display: flex;
  gap: 8px;
  padding: 10px 16px;
  background: var(--hs-soft-bg);
  border-top: 1px solid var(--hs-border);
}
.hs-issn {
  font-size: 11px;
  font-weight: 700;
  color: var(--hs-primary);
  background: var(--hs-white);
  border: 1px solid var(--hs-border);
  padding: 3px 8px;
  border-radius: 4px;
}

/* Indexed */
.hs-sb-indexed-body { padding: 8px 0; }
.hs-sb-indexed-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  font-size: 12px;
  color: var(--hs-text);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--hs-border);
  transition: background .18s;
}
.hs-sb-indexed-item:last-child { border-bottom: none; }
.hs-sb-indexed-item:hover { background: var(--hs-soft-bg); }
.hs-indexed-status {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: #27AE60;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* CTA */
.hs-sb-cta {
  padding: 18px 16px;
  text-align: center;
  background: linear-gradient(135deg, var(--hs-primary) 0%, var(--hs-primary-hover) 100%);
}
.hs-sb-cta-title { font-size: 14px; font-weight: 800; color: #fff; margin: 0 0 6px; }
.hs-sb-cta-desc { font-size: 11.5px; color: rgba(255,255,255,0.78); margin-bottom: 14px; line-height: 1.55; }
.hs-sb-cta-btn {
  display: inline-block;
  background: var(--hs-gold);
  color: var(--hs-primary-dark);
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 24px;
  text-decoration: none;
  transition: all .2s;
}
.hs-sb-cta-btn:hover { background: #f0d070; transform: translateY(-1px); }

/* ===== FOOTER ===== */
.hs-footer {
  background: var(--hs-primary-dark);
  color: rgba(255,255,255,0.8);
  margin-top: 48px;
  border-top: 3px solid var(--hs-accent);
}
.hs-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px 28px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 40px;
}
.hs-footer-logo {
  height: 50px;
  width: auto;
  display: block;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}
.hs-footer-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 14px;
}
.hs-footer-issn-wrap { display: flex; gap: 8px; flex-wrap: wrap; }
.hs-footer-col-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--hs-gold);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.hs-footer-links { list-style: none; padding: 0; margin: 0; }
.hs-footer-links li { margin-bottom: 8px; }
.hs-footer-links a {
  font-size: 12.5px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.hs-footer-links a:hover { color: var(--hs-gold); }
.hs-footer-address {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}
.hs-footer-address a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color .2s; }
.hs-footer-address a:hover { color: var(--hs-gold); }
.hs-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 14px 24px;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 8px;
}
.hs-footer-bottom a { color: rgba(255,255,255,0.65); text-decoration: none; }
.hs-footer-bottom a:hover { color: var(--hs-gold); }

/* ===== EDITORIAL TEAM PAGE ===== */
.et-wrapper { max-width: 900px; margin: 0 auto; padding: 24px 0 48px; font-family: var(--hs-font-body); }
.et-page-hero {
  background: linear-gradient(135deg, var(--hs-primary) 0%, var(--hs-primary-hover) 60%, var(--hs-accent) 100%);
  border-radius: var(--hs-radius-lg);
  padding: 40px 36px;
  margin-bottom: 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.et-hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--hs-gold);
  text-transform: uppercase;
  letter-spacing: .1em;
  background: rgba(255,255,255,.1);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.et-hero-title {
  font-family: var(--hs-font-serif);
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.35;
}
.et-hero-title em { font-style: italic; color: var(--hs-gold); }
.et-hero-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto;
}
.et-section { margin-bottom: 28px; }
.et-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--hs-border);
  padding-bottom: 10px;
}
.et-section-ornament {
  width: 28px; height: 28px;
  background: var(--hs-accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.et-section-title {
  font-family: var(--hs-font-head);
  font-size: 17px; font-weight: 700; color: var(--hs-primary);
}

/* ── Chief Card ── */
.et-chief-card {
  background: var(--hs-white);
  border: 1.5px solid var(--hs-accent-light);
  border-left: 5px solid var(--hs-accent);
  border-radius: var(--hs-radius);
  overflow: hidden;
  display: flex;
  gap: 0;
  align-items: stretch;
  min-height: 240px;
  box-shadow: var(--hs-shadow-sm);
}

/* Photo replaces avatar for chief */
.et-chief-avatar {
  width: 262px;
  min-width: 180px;
  min-height: 240px;
  border-radius: 0;
  background: var(--hs-soft-bg);
  overflow: hidden;
  display: flex;
  align-self: stretch;
  flex-shrink: 0;
}
.et-chief-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.et-chief-detail {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.et-chief-name { font-size: 16px; font-weight: 700; color: var(--hs-primary); margin-bottom: 3px; }
.et-chief-affil { font-size: 12.5px; color: var(--hs-muted); margin-bottom: 10px; }
.et-chief-bio { font-size: 13px; color: var(--hs-text); line-height: 1.7; margin-bottom: 12px; }
.et-chief-links { display: flex; gap: 8px; flex-wrap: wrap; }
.et-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 600;
  color: var(--hs-primary);
  background: var(--hs-soft-bg);
  border: 1px solid var(--hs-border);
  padding: 4px 12px; border-radius: 20px;
  text-decoration: none;
  transition: all .2s;
}
.et-chip:hover { background: var(--hs-accent); color: #fff; border-color: var(--hs-accent); }

/* ── Member Grid ── */
.et-board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

/* Member card: vertical, photo on top */
.et-member-card {
  background: var(--hs-white);
  border: 1px solid var(--hs-border);
  border-radius: var(--hs-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--hs-shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.et-member-card:hover { box-shadow: var(--hs-shadow-md); transform: translateY(-2px); }

/* Photo replaces avatar for members */
.et-member-avatar {
  width: 100%;
  height: 262px;
  border-radius: 0;
  background: var(--hs-soft-bg);
  overflow: hidden;
  display: block;
  flex-shrink: 0;
}
.et-member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .3s ease;
}
.et-member-card:hover .et-member-avatar img {
  transform: scale(1.04);
}

/* Content area below photo */
.et-member-top {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 14px 0;
  margin-bottom: 6px;
}
.et-member-name { font-size: 13px; font-weight: 700; color: var(--hs-primary); margin: 0; }
.et-member-role {
  display: inline-block; font-size: 10.5px; font-weight: 700;
  color: var(--hs-accent); background: rgba(42,157,143,.1);
  padding: 2px 8px; border-radius: 10px; text-transform: uppercase; letter-spacing: .04em;
  align-self: flex-start;
}
.et-member-affil {
  font-size: 11.5px; color: var(--hs-muted); line-height: 1.55;
  padding: 0 14px;
  margin: 0 0 4px;
}
.et-member-links {
  display: flex; gap: 8px;
  margin: auto 0 0;
  padding: 10px 14px 12px;
  border-top: 1px solid var(--hs-border);
}
.et-member-link {
  font-size: 11px; font-weight: 600; color: var(--hs-primary);
  background: var(--hs-soft-bg); border: 1px solid var(--hs-border);
  padding: 3px 10px; border-radius: 12px; text-decoration: none; transition: all .18s;
}
.et-member-link:hover { background: var(--hs-primary); color: #fff; }

/* ===== UTILITY ===== */
.hs-container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

@media (max-width: 768px) {
  .hs-footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .hs-footer-bottom { flex-direction: column; text-align: center; }
  .hs-header-inner { gap: 12px; }
  .hs-nav { display: none; }
  .hs-search-input { width: 120px; }
  .et-chief-card { flex-direction: column; }
  .et-chief-avatar { width: 100%; min-width: unset; height: 220px; }
  .et-board-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .et-board-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   SEMBUNYIKAN HEADER & FOOTER BAWAAN OJS
   ============================================================ */

/* Sembunyikan header bawaan OJS (navbar default PKP) */
#navigationPrimary,
#navigationUser,
.pkp_navigation_primary_row,
.pkp_navigation_user,
nav#navigationPrimary,
nav.pkp_navigation_primary,
.pkp_head_wrapper,
header#headerNavigationContainer,
.pkp_structure_head,
.pkp_site_name,
.pkp_navigation_user_wrapper {
  display: none !important;
}

/* Sembunyikan footer bawaan OJS */
.pkp_structure_footer,
footer.pkp_structure_footer,
.pkp_footer_content,
.pkp_brand_footer {
  display: none !important;
}