/* ===================================================================
   Portal Theme — portal.css
   =================================================================== */

/* ── Variables ───────────────────────────────────────────────────── */
:root {
  --pt-primary:   #8B0000;
  --pt-accent:    #c0392b;
  --pt-dark:      #2d2d2d;
  --pt-light:     #f8f9fc;
  --pt-border:    #e8ecf0;
  --pt-text:      #2d3748;
  --pt-muted:     #718096;
  --pt-white:     #ffffff;
  --pt-shadow:    0 4px 24px rgba(0,0,0,.08);
  --pt-shadow-md: 0 8px 32px rgba(0,0,0,.12);
  --pt-radius:    12px;
  --pt-radius-sm: 8px;
  --pt-ease:      all .25s ease;
  font-family: 'Inter', sans-serif;
}

/* ── Global ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body.pt-portal {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--pt-text);
  background: var(--pt-white);
  line-height: 1.6;
}

/* ===================================================================
   NAVBAR
   =================================================================== */
.pt-navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--pt-white);
  border-bottom: 2px solid rgba(139,0,0,.1);
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
}
.pt-navbar__inner {
  max-width: 1400px; margin: 0 auto; padding: 0 40px;
  height: 96px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.pt-navbar__brand {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; flex-shrink: 0;
}
.pt-navbar__logo { height: 80px; width: auto; max-height: 80px; }
.pt-navbar__brand-name {
  font-size: 1.1rem; font-weight: 700; color: var(--pt-primary); line-height: 1.2;
}
/* Navigation — dirender oleh {load_menu}, OJS inject ul#pt-nav-primary */
.pt-navbar__nav-wrap { flex: 1; display: flex; justify-content: center; }
#pt-nav-primary {
  display: flex; align-items: center; list-style: none; gap: 4px; flex-wrap: wrap;
}
#pt-nav-primary li a, #pt-nav-primary > a {
  display: block; padding: 8px 14px; font-size: .875rem; font-weight: 500;
  color: var(--pt-text); text-decoration: none;
  border-radius: var(--pt-radius-sm); transition: var(--pt-ease);
}
#pt-nav-primary li a:hover, #pt-nav-primary li a.active,
#pt-nav-primary > a:hover {
  color: var(--pt-primary); background: rgba(139,0,0,.07);
}
/* Dropdown support — lebih besar dan elegan */
#pt-nav-primary li { position: relative; }
#pt-nav-primary li ul {
  display: none; position: absolute;
  /* top: 100% tanpa gap — padding-top beri jarak visual tanpa putus hover */
  top: 100%; left: 0;
  background: var(--pt-white); border: 1px solid var(--pt-border);
  border-radius: 10px; min-width: 220px;
  box-shadow: 0 8px 32px rgba(0,0,0,.14); z-index: 200;
  padding: 8px 0; padding-top: 16px;   /* 16px = 8px visual gap + 8px inner */
  list-style: none;
  animation: ptDropIn .15s ease;
}
/* Jembatan hover transparan — menutup gap antara link dan dropdown */
#pt-nav-primary li ul::before {
  content: ''; position: absolute; top: -8px; left: 0;
  width: 100%; height: 8px;
}
@keyframes ptDropIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
#pt-nav-primary li:hover > ul { display: block; }
#pt-nav-primary li ul li a {
  padding: 10px 24px; border-radius: 0; font-size: .875rem;
  display: block; color: var(--pt-text);
  white-space: nowrap;
  transition: background .15s, color .15s;
}
#pt-nav-primary li ul li a:hover { background: rgba(139,0,0,.06); color: var(--pt-primary); }

/* pt-nav-extra: OJS menu items injected inline di dalam #pt-nav-primary */
.pt-nav-extra {
  display: contents; /* tidak buat container sendiri, children masuk flow parent */
  list-style: none; padding: 0; margin: 0;
}
.pt-nav-extra li { display: inline-flex; position: relative; flex-direction: column; }
.pt-nav-extra li a {
  display: flex; align-items: center; padding: 8px 14px; font-size: .875rem; font-weight: 500;
  color: var(--pt-text); text-decoration: none;
  border-radius: var(--pt-radius-sm); transition: var(--pt-ease);
}
.pt-nav-extra li a:hover { color: var(--pt-primary); background: rgba(139,0,0,.07); }
/* Sub-menu dari OJS (children) — gap fix sama dengan #pt-nav-primary */
.pt-nav-extra li ul {
  display: none; position: absolute;
  top: 100%; left: 0;
  background: var(--pt-white); border: 1px solid var(--pt-border);
  border-radius: 10px; min-width: 220px;
  box-shadow: 0 8px 32px rgba(0,0,0,.14); z-index: 200;
  padding: 8px 0; padding-top: 16px;
  list-style: none;
  animation: ptDropIn .15s ease;
}
.pt-nav-extra li ul::before {
  content: ''; position: absolute; top: -8px; left: 0;
  width: 100%; height: 8px;
}
.pt-nav-extra li:hover > ul { display: block; }
.pt-nav-extra li ul li { display: block; }
.pt-nav-extra li ul li a {
  padding: 10px 24px; border-radius: 0; font-size: .875rem;
  display: block; color: var(--pt-text);
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.pt-nav-extra li ul li a:hover { background: rgba(139,0,0,.06); color: var(--pt-primary); }

/* Dropdown arrow — ditambahkan via JS ke item yang punya sub-menu */
.pt-nav-arrow::after { content: ' ▾'; font-size: 1em; margin-left: 1px; }
.has-dropdown > a { gap: 2px; }

/* Reset OJS pkp_nav_list bawaan agar tidak ada bullet/marker */
.pkp_nav_list { list-style: none !important; padding: 0 !important; margin: 0 !important; }

/* Sembunyikan <ul> kosong dalam nav agar JS tidak salah deteksi child
   dan tidak menambahkan arrow/dot ke item yang tidak punya submenu */
#pt-nav-primary li > ul:empty { display: none !important; }
.pt-navbar__nav li > ul:empty { display: none !important; }


/* Auth */
.pt-navbar__auth { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.pt-btn {
  display: inline-flex; align-items: center; padding: 8px 18px;
  font-size: .875rem; font-weight: 500; border-radius: 40px;
  text-decoration: none; transition: var(--pt-ease);
  cursor: pointer; border: none; font-family: inherit;
}
.pt-btn--outline {
  color: var(--pt-primary); border: 1.5px solid var(--pt-primary); background: transparent;
}
.pt-btn--outline:hover { background: var(--pt-primary); color: var(--pt-white); }
.pt-btn--primary { background: var(--pt-primary); color: var(--pt-white); }
.pt-btn--primary:hover { background: var(--pt-accent); color: var(--pt-white); }

/* User dropdown — tampil saat login */
.pt-user-menu { position: relative; }
.pt-user-menu__toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--pt-primary); color: var(--pt-white);
  border: none; border-radius: 40px; padding: 8px 16px;
  font-size: .875rem; font-weight: 600; cursor: pointer;
  font-family: inherit; transition: var(--pt-ease);
}
.pt-user-menu__toggle:hover { background: var(--pt-accent); }
.pt-user-menu__chevron { font-size: .65rem; transition: transform .2s; }
.pt-user-menu.open .pt-user-menu__chevron { transform: rotate(180deg); }
.pt-user-menu__dropdown {
  display: none; position: absolute; right: 0; top: calc(100% + 8px);
  background: var(--pt-white); border: 1px solid var(--pt-border);
  border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.12);
  list-style: none; margin: 0; padding: 6px 0; min-width: 180px; z-index: 999;
}
.pt-user-menu.open .pt-user-menu__dropdown { display: block; }
.pt-user-menu__dropdown li a {
  display: block; padding: 9px 18px; font-size: .875rem;
  color: var(--pt-text); text-decoration: none; transition: background .15s;
}
.pt-user-menu__dropdown li a:hover { background: #f4f6f9; color: var(--pt-primary); }
.pt-user-menu__divider { height: 1px; background: var(--pt-border); margin: 4px 12px; }

/* Mobile toggle */
.pt-navbar__toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.pt-navbar__toggle span {
  display: block; width: 22px; height: 2px; background: var(--pt-text);
  border-radius: 2px; transition: var(--pt-ease);
}

/* ===================================================================
   HERO — clean, hanya title + subtitle + search
   =================================================================== */
.pt-hero {
  background: linear-gradient(135deg, #f0f4f8 0%, #e8ecf4 60%, #dde4ef 100%);
  padding: 72px 24px 64px; text-align: center; position: relative; overflow: hidden;
}
.pt-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(139,0,0,.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(192,57,43,.05) 0%, transparent 50%);
}
.pt-hero__inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.pt-hero__title {
  font-size: clamp(2rem,4vw,3rem); font-weight: 800;
  color: #1a202c; line-height: 1.15; margin-bottom: 14px; letter-spacing: -.03em;
}
.pt-hero__subtitle {
  font-size: 1.05rem; color: var(--pt-muted); margin-bottom: 32px; line-height: 1.7;
}

/* Search */
.pt-search {
  display: flex; max-width: 560px; margin: 0 auto;
  background: var(--pt-white); border-radius: 50px;
  box-shadow: 0 6px 28px rgba(0,0,0,.14);
  overflow: hidden; border: 1.5px solid transparent; transition: var(--pt-ease);
}
.pt-search:focus-within { border-color: var(--pt-primary); box-shadow: 0 4px 24px rgba(139,0,0,.15); }
.pt-search input {
  flex: 1; border: none; outline: none; padding: 14px 22px;
  font-size: .95rem; font-family: inherit; color: var(--pt-text); background: transparent;
}
.pt-search input::placeholder { color: #b0bec5; }
.pt-search button {
  background: var(--pt-primary); border: none; color: var(--pt-white);
  padding: 14px 26px; font-size: .9rem; font-weight: 600;
  cursor: pointer; transition: var(--pt-ease); font-family: inherit;
  border-radius: 0 50px 50px 0;
}
.pt-search button:hover { background: var(--pt-accent); }

/* ===================================================================
   ABOUT SECTION — full width, single column, elegan
   =================================================================== */
.pt-about-section {
  background: #f5f7f9;
  border-top: 1px solid var(--pt-border);
  border-bottom: 1px solid var(--pt-border);
  padding: 40px 0;
}
.pt-about-section__inner {
  max-width: 1280px; margin: 0 auto; padding: 0 48px;
}

/* Heading baris atas — "About" dengan ikon */
.pt-about-section__heading {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
  font-size: .72rem; font-weight: 900; color: var(--pt-primary);
  text-transform: uppercase; letter-spacing: .14em;
}
.pt-about-section__icon {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--pt-primary); color: white; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: .85rem;
}

/* Konten — full width */
.pt-about-content {
  border-top: 1px solid rgba(139,0,0,.12); padding-top: 20px;
}

/* ── Typography dari OJS site settings HTML ── */
.pt-about-content p {
  font-size: .93rem; color: #4a5568; line-height: 1.9;
  margin-bottom: 12px; text-align: justify;
}
.pt-about-content strong { color: var(--pt-text); font-weight: 700; }

/* VISION / MISSION headings */
.pt-about-content h2,
.pt-about-content h3,
.pt-about-content h4 {
  display: inline-block;
  font-size: .68rem; font-weight: 900; letter-spacing: .13em;
  text-transform: uppercase; color: var(--pt-primary);
  background: rgba(139,0,0,.07); border-left: 3px solid var(--pt-primary);
  padding: 4px 12px; border-radius: 0 4px 4px 0;
  margin: 20px 0 10px; line-height: 1.4;
}

/* List */
.pt-about-content ul { padding-left: 0; margin-bottom: 14px; list-style: none; }
.pt-about-content ul li {
  font-size: .9rem; color: #4a5568; line-height: 1.8;
  margin-bottom: 5px; padding-left: 20px; position: relative; text-align: justify;
}
.pt-about-content ul li::before {
  content: '›'; position: absolute; left: 0;
  color: var(--pt-primary); font-weight: 700; font-size: 1.1rem; line-height: 1.5;
}
.pt-about-content ol { padding-left: 20px; margin-bottom: 14px; }
.pt-about-content ol li { font-size: .9rem; color: #4a5568; line-height: 1.8; margin-bottom: 6px; }
.pt-about-content hr { border: none; border-top: 1px solid var(--pt-border); margin: 16px 0; }

/* ===================================================================
   JOURNALS SECTION
   =================================================================== */
.pt-journals { background: #f8f9fb; }
.pt-journals__wrap { max-width: 1280px; margin: 0 auto; padding: 48px 40px 80px; }

.pt-journals__header {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 8px; margin-bottom: 4px;
}

/* Filter tabs */
.pt-filters {
  display: flex; align-items: center; gap: 2px;
  border-bottom: 2px solid var(--pt-border); flex-wrap: wrap;
}
.pt-filter-btn {
  padding: 10px 20px; font-size: .875rem; font-weight: 500; color: var(--pt-muted);
  background: none; border: none; cursor: pointer;
  position: relative; bottom: -2px; border-bottom: 2px solid transparent;
  transition: var(--pt-ease); font-family: inherit;
}
.pt-filter-btn:hover { color: var(--pt-primary); }
.pt-filter-btn.active { color: var(--pt-primary); border-bottom-color: var(--pt-primary); font-weight: 700; }

/* Count badge */
.pt-count { font-size: .85rem; color: var(--pt-muted); padding-bottom: 2px; }
.pt-count-badge {
  display: inline-block; background: var(--pt-primary); color: var(--pt-white);
  font-size: .75rem; font-weight: 700; padding: 2px 10px; border-radius: 20px;
}

/* ── Layout: GRID (3-kolom vertikal, default) ── */
.pt-grid--grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 28px;
}

/* ── Layout: LIST (1-kolom horizontal, cover kiri + info kanan) ── */
.pt-grid--list {
  display: flex; flex-direction: column;
  gap: 16px; margin-top: 28px;
}
.pt-grid--list .pt-card {
  flex-direction: row; align-items: stretch;
  padding: 10px; gap: 10px;
  background: #f0f2f5;
}
.pt-grid--list .pt-card__cover {
  width: 200px; flex-shrink: 0; aspect-ratio: unset;
  min-height: 220px; border-radius: 8px;
}
.pt-grid--list .pt-card__placeholder { border-radius: 8px; font-size: 2.8rem; }
.pt-grid--list .pt-card__body {
  background: var(--pt-white); border-radius: 8px;
  justify-content: center; padding: 24px 28px;
}
.pt-grid--list .pt-card__title { font-size: 1.2rem; -webkit-line-clamp: unset; overflow: visible; }
.pt-grid--list .pt-card__desc  { -webkit-line-clamp: 4; }


/* Card — vertikal (cover atas, body bawah) */
.pt-card {
  background: var(--pt-white);
  border: 1px solid var(--pt-border); border-radius: 16px;
  overflow: hidden; transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
  text-decoration: none;
  display: flex; flex-direction: column; align-items: stretch;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.pt-card:hover {
  border-color: var(--pt-primary);
  box-shadow: 0 8px 32px rgba(139,0,0,.15);
  transform: translateY(-4px);
}
.pt-card:hover .pt-card__title { color: var(--pt-primary); }

/* Cover — atas card, portrait ratio 3:4 */
.pt-card__cover {
  width: 100%; aspect-ratio: 3/4; overflow: hidden;
  background: #eef0f4;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.pt-card__cover img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.pt-card:hover .pt-card__cover img { transform: scale(1.06); }
.pt-card__placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(145deg, var(--pt-primary) 0%, var(--pt-accent) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; font-weight: 900; color: rgba(255,255,255,.95); letter-spacing: -.04em;
}

/* Body — bawah card */
.pt-card__body {
  padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column;
  gap: 8px;
}
.pt-card__title {
  font-size: 1.05rem; font-weight: 700; color: var(--pt-text);
  line-height: 1.35; transition: color .2s;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pt-card__desc {
  font-size: .83rem; color: #6b7588; line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  flex: 1;
}
.pt-card__meta {
  display: flex; align-items: center; gap: 8px; margin-top: 4px;
  font-size: .78rem; color: var(--pt-muted);
  padding-top: 12px; border-top: 1px solid var(--pt-border);
}
.pt-card__meta .pt-card__arrow {
  margin-left: auto; color: var(--pt-primary); font-size: 1rem; opacity: 0;
  transition: opacity .2s, transform .2s;
}
.pt-card:hover .pt-card__arrow { opacity: 1; transform: translateX(4px); }


/* Empty */
.pt-empty { text-align: center; color: var(--pt-muted); padding: 60px 0; font-size: .95rem; }

/* ===================================================================
   FOOTER  (OJK style — light gray)
   =================================================================== */
.pt-footer {
  background: #eaedee;
  box-shadow: 0 -5px 10px rgba(0,0,0,.2);
  margin-top: 24px;
}
.pt-footer__main {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 24px; padding: 32px 32px;
  align-items: flex-start;
}
.pt-footer__logo { max-width: 200px; height: auto; margin-bottom: 8px; }
.pt-footer h5 { color: #000; font-size: .9rem; font-weight: 700; margin-bottom: 12px; }
.pt-footer p  { font-size: .85rem; color: #333; line-height: 1.6; margin-bottom: 6px; }
.pt-footer a  { color: #333; text-decoration: none; }
.pt-footer a:hover { text-decoration: underline; }

/* Contact */
.pt-footer__contact-item {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: .85rem; color: #333; margin-bottom: 8px;
}
.pt-footer__contact-item .fa { color: var(--pt-primary); margin-top: 3px; flex-shrink: 0; }

/* Social */
.pt-footer__social { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.pt-footer__social a img { width: 35px; height: 35px; border-radius: 4px; }

/* Copyright */
.pt-footer__copy {
  border-top: 1.5px solid #ccc; padding: 14px 32px;
  text-align: center;
}
.pt-footer__copy p { font-size: .8rem; color: #333; margin: 2px 0; }
.pt-footer__copy a { color: #333; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1024px) {
  .pt-grid--grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 960px) {
  .pt-footer__main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .pt-navbar__nav-wrap { display: none; }
  .pt-navbar__toggle { display: flex; }
  #pt-nav-primary.open { display: flex; flex-direction: column; }
  .pt-footer__main { grid-template-columns: 1fr; }
  .pt-hero { padding: 52px 20px 52px; }
  .pt-journals { padding: 36px 20px 60px; }
  .pt-about-section__inner { padding: 0 20px; }
  .pt-grid--grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pt-grid--list .pt-card { flex-direction: column; padding: 0; }
  .pt-grid--list .pt-card__cover { width: 100%; min-height: 200px; border-radius: 0; }
  .pt-grid--list .pt-card__body { border-radius: 0; }
}

/* ===================================================================
   STICKY FOOTER — content selalu isi tinggi layar
   =================================================================== */
body.pt-portal {
  display: flex; flex-direction: column; min-height: 100vh;
}
/* Semua halaman konten flex-grow */
.pt-journals,
.page {
  flex: 1 0 auto;
}
.pt-footer { flex-shrink: 0; }

/* ===================================================================
   BREADCRUMB — clean text style, no background
   =================================================================== */
.cmp_breadcrumbs {
  background: transparent;
  border-bottom: 1px solid var(--pt-border);
  padding: 0 !important; margin: 0 !important;
}
.cmp_breadcrumbs > ol {
  list-style: none !important; display: flex; align-items: center;
  margin: 0; padding: 10px 32px; flex-wrap: wrap; gap: 0;
}
.cmp_breadcrumbs > ol > li {
  position: relative; display: inline-flex; align-items: center;
  font-size: .82rem; font-weight: 500; color: #888;
}
/* Separator › antar item */
.cmp_breadcrumbs > ol > li + li::before {
  content: '›'; margin: 0 8px; color: #bbb; font-size: .9rem;
  border: none; position: static;
}
/* Hapus ::after (tidak perlu) */
.cmp_breadcrumbs > ol > li::after { display: none !important; }

.cmp_breadcrumbs > ol > li a {
  color: #888 !important; text-decoration: none !important;
  font-weight: 500; transition: color .15s;
}
.cmp_breadcrumbs > ol > li a:hover { color: var(--pt-primary) !important; }

/* Item aktif (current/last) — hanya bold + warna primary, tanpa kotak */
.cmp_breadcrumbs > ol > li:last-child,
.cmp_breadcrumbs > ol > li.current {
  color: var(--pt-primary); font-weight: 700;
  background: none;
}
.cmp_breadcrumbs h1 { font-size: .82rem !important; font-weight: 700 !important; margin: 0 !important; color: var(--pt-primary); display: inline; }
.cmp_breadcrumbs .separator { display: none; }


/* ===================================================================
   PAGE CONTENT — login / register / search
   OJS wrapper: <div class="page page_login">, dll
   =================================================================== */

/* Page bg dan layout */
body.pt-portal:has(.page) {
  background: #f4f6f9;
}
.page {
  max-width: 760px; margin: 0 auto; padding: 40px 20px 80px;
  width: 100%;
}

/* ── Halaman About site-level ── */
.pt-page-about {
  background: #f8f9fb; flex: 1 0 auto; padding-bottom: 60px;
}
.pt-page-about__inner {
  max-width: 1100px; margin: 0 auto; padding: 0 40px 60px;
}

/* Page hero band — sama dengan home hero */
.pt-page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8ecf4 60%, #dde4ef 100%);
  padding: 64px 40px 56px;
  text-align: center;
}
/* Radial accent merah tipis — identik dengan home */
.pt-page-hero::before,
.pt-page-hero::after {
  content: ''; position: absolute;
  pointer-events: none;
}
.pt-page-hero::before {
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(139,0,0,.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(192,57,43,.05) 0%, transparent 50%);
}
.pt-page-hero::after { display: none; }
/* Inner */
.pt-page-hero__inner {
  position: relative; z-index: 1;
  max-width: 720px; margin: 0 auto;
}
/* Badge chip */
.pt-page-hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(139,0,0,.08); border: 1px solid rgba(139,0,0,.15);
  border-radius: 40px; padding: 6px 18px;
  font-size: .75rem; font-weight: 700; color: var(--pt-primary);
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 20px;
}
.pt-page-hero__badge::before {
  content: ''; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--pt-primary);
}
/* Judul */
.pt-page-hero__title {
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; color: #1a202c;
  letter-spacing: -.035em; line-height: 1.15; margin: 0 0 12px;
}
/* Divider */
.pt-page-hero__divider {
  width: 56px; height: 3px; border-radius: 2px;
  background: var(--pt-primary); opacity: .35;
  margin: 0 auto 16px;
}
/* Subtitle */
.pt-page-hero__sub {
  font-size: 1rem; color: var(--pt-muted);
  line-height: 1.6; margin: 0;
}

.pt-page-about__content {
  background: var(--pt-white); border: 1px solid var(--pt-border);
  border-radius: 0 0 16px 16px; box-shadow: 0 4px 24px rgba(0,0,0,.07);
  padding: 48px 56px; margin-top: 0;
}
/* Body text */
.pt-about-body { font-size: .97rem; line-height: 1.85; color: #3a3f4b; }
.pt-about-body p  { margin-bottom: 1.1em; }
.pt-about-body h3 {
  font-size: .72rem; font-weight: 900; color: var(--pt-primary);
  text-transform: uppercase; letter-spacing: .13em;
  background: rgba(139,0,0,.07); border-left: 3px solid var(--pt-primary);
  padding: 5px 14px; border-radius: 0 4px 4px 0;
  display: inline-block; margin: 1.8em 0 .8em;
}
.pt-about-body ul { padding-left: 0; margin-bottom: 1em; list-style: none; }
.pt-about-body ul li {
  padding-left: 22px; position: relative;
  margin-bottom: .6em; line-height: 1.75;
}
.pt-about-body ul li::before {
  content: '›'; position: absolute; left: 0;
  color: var(--pt-primary); font-weight: 700; font-size: 1.1rem; line-height: 1.6;
}
.pt-about-body ul li p { margin-bottom: 0; }
.pt-about-body hr  { border: none; border-top: 1px solid var(--pt-border); margin: 2em 0; }
.pt-about-body strong { color: var(--pt-text); }


/* Page title */
.page > h1 {
  font-size: 1.8rem; font-weight: 900; color: var(--pt-primary);
  margin-bottom: 28px; letter-spacing: -.025em;
}

/* Card white utama */
.page .cmp_form,
.page > .fields,
.page > form {
  background: white; border: 1px solid var(--pt-border);
  border-radius: 16px; box-shadow: 0 2px 20px rgba(0,0,0,.07);
  padding: 32px 36px; margin-bottom: 20px;
}

/* Required note */
.page > p:first-of-type { font-size: .85rem; color: var(--pt-muted); margin-bottom: 20px; }

/* Fieldsets — section dalam form */
.page fieldset {
  border: none; padding: 0 0 8px; margin: 0 0 16px; background: transparent;
}
.page fieldset + fieldset {
  border-top: 1px solid #eee;
  padding-top: 24px; margin-top: 24px;
}
/* Search: input ada di div.search_input, bukan fieldset */
.page .search_input { margin-bottom: 24px; }
/* Generic: div diikuti fieldset */
.page div + fieldset { margin-top: 20px; }

/* Legend sebagai section label — JANGAN pakai float/width pada legend di dalam fieldset */
.page legend {
  display: block;
  font-size: .65rem; font-weight: 900; color: var(--pt-primary);
  text-transform: uppercase; letter-spacing: .14em;
  padding: 5px 14px; background: rgba(139,0,0,.07);
  border-radius: 4px; border-left: 4px solid var(--pt-primary);
  margin-bottom: 18px; margin-left: 0;
  /* NO float, NO width:100% — legend in fieldset has special browser rendering */
}

/* Field row wrappers (OJS: .username .password .given_name dll) */
.page .fields > div,
.page fieldset > div:not(.buttons):not(.remember):not(.checkbox) {
  margin-bottom: 18px; clear: both;
}

/* Label — block, font kecil di atas input */
.page .fields label,
.page fieldset label {
  display: block;
  font-size: .82rem; font-weight: 700; color: #374151;
  margin-bottom: 6px; cursor: default;
}
/* Input di dalam label — jadikan block full width */
/* Input TEKS di dalam label — full width, block */
.page .fields label input:not([type="checkbox"]):not([type="radio"]),
.page fieldset label input:not([type="checkbox"]):not([type="radio"]),
.page .fields label select,
.page fieldset label select {
  display: block; width: 100%; margin-top: 6px;
}

/* Semua inputs FULL WIDTH, tinggi konsisten */
.page input[type="text"],
.page input[type="email"],
.page input[type="password"],
.page input[type="search"],
.page select,
.page textarea {
  display: block; width: 100%;
  border: 1.5px solid #d1d5db; border-radius: 8px;
  padding: 11px 16px; font-size: .92rem; font-family: inherit;
  color: var(--pt-text); background: #f9fafb; outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
  box-sizing: border-box;
}
.page input:focus,
.page select:focus,
.page textarea:focus {
  border-color: var(--pt-primary); background: #fff;
  box-shadow: 0 0 0 3px rgba(139,0,0,.1);
}

/* === CHECKBOX / RADIO === */

/* Reset: checkbox & radio JANGAN display:block atau width:100% */
.page input[type="checkbox"],
.page input[type="radio"] {
  display: inline-block !important;
  width: 16px !important; height: 16px !important;
  flex-shrink: 0; vertical-align: middle;
  accent-color: var(--pt-primary); cursor: pointer;
  margin-top: 0 !important;
}

/* Label yang mengandung checkbox/radio — inline-flex agar rapat */
.page fieldset > label,
.page .context_privacy label,
.page .optin label,
.page .remember label,
.page label:has(input[type="checkbox"]),
.page label:has(input[type="radio"]) {
  display: inline-flex !important;
  align-items: center; gap: 8px;
  font-weight: 500; font-size: .9rem; color: var(--pt-text);
  cursor: pointer; margin-bottom: 10px; line-height: 1.5;
  width: auto;
}

/* Baris checkbox standalone (remember, optin) */
.page .remember, .page .optin {
  display: flex; align-items: center; gap: 8px;
  font-size: .9rem; margin-bottom: 16px;
}

/* Fieldset roles (Reader/Reviewer per jurnal) */
.page fieldset.roles, .page ul.contexts {
  padding: 12px 0; border-top: 1px solid #f0f0f0;
}
/* Journal context item di register */
.page .context {
  background: #f8f9fb; border-radius: 8px;
  padding: 16px 20px; margin-bottom: 14px;
  border-left: 3px solid var(--pt-border);
}
.page .context .name {
  font-weight: 700; font-size: .95rem; color: var(--pt-text);
  margin-bottom: 10px;
}
.page .context_privacy {
  margin-top: 10px; padding-top: 8px;
  border-top: 1px dashed #e5e7eb;
  font-size: .85rem;
}

/* Button row */
.page .buttons {
  display: flex; align-items: center; gap: 14px; margin-top: 8px; flex-wrap: wrap;
}

/* Submit button — red pill */
.page input[type="submit"],
.page button.submit,
.page button[type="submit"],
.page .pkp_button_primary {
  background: var(--pt-primary); color: white; border: none;
  padding: 12px 36px; font-size: .95rem; font-weight: 800;
  border-radius: 40px; cursor: pointer; font-family: inherit;
  transition: background .2s, box-shadow .2s; letter-spacing: .02em;
  box-shadow: 0 4px 14px rgba(139,0,0,.25);
}
.page input[type="submit"]:hover,
.page button.submit:hover,
.page button[type="submit"]:hover,
.page .pkp_button_primary:hover {
  background: var(--pt-accent); box-shadow: 0 6px 20px rgba(139,0,0,.35);
}

/* Link register / forgot password */
.page .buttons a,
.page a.register,
.page a.forgotPassword {
  color: var(--pt-primary); font-size: .9rem; font-weight: 600;
  text-decoration: none; border-bottom: 1px solid transparent;
  transition: border-bottom-color .2s;
}
.page .buttons a:hover,
.page a.register:hover { border-bottom-color: var(--pt-primary); }

/* Links global dalam page */
.page a { color: var(--pt-primary); }
.page a:hover { text-decoration: underline; }
.page abbr.required { color: var(--pt-accent); text-decoration: none; font-style: normal; }

/* Notification */
.page .pkp_notification {
  padding: 14px 20px; border-radius: 8px;
  border-left: 4px solid var(--pt-primary);
  background: #fff8f8; font-size: .88rem; margin-bottom: 20px;
}

/* Journal role selection (pada register) */
.page ul { list-style: none; padding: 0; margin: 12px 0; }
.page ul li { font-size: .9rem; color: var(--pt-text); padding: 4px 0; }

/* Forgot password link */
.page a[href*="lostPassword"] {
  font-size: .82rem; color: var(--pt-primary);
  text-decoration: none; display: inline-block; margin-top: 4px;
}
