/*
 * ╔══════════════════════════════════════════════════════════════════╗
 * ║  ejurnal.staikualakapuas.ac.id — Site Stylesheet                ║
 * ║  Modern & Professional Redesign                                  ║
 * ║  Loads AFTER modernAesthetic theme — no !important needed        ║
 * ╚══════════════════════════════════════════════════════════════════╝
 */

/* ─── Premium fonts ──────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=DM+Serif+Display:ital@0;1&display=swap');

/* ═══════════════════════════════════════════════════════════════════
   1. DESIGN TOKENS  — override CSS variables dari tema
   ═══════════════════════════════════════════════════════════════════ */
body.ma-theme {
  --site-custom-css-loaded: 1;

  /* Brand palette — indigo-to-blue premium */
  --c-primary:        #1e40af;   /* indigo-800  */
  --c-primary-mid:    #2563eb;   /* blue-600    */
  --c-primary-light:  #3b82f6;   /* blue-500    */
  --c-primary-soft:   #eff6ff;   /* blue-50     */
  --c-primary-line:   #bfdbfe;   /* blue-200    */

  /* Override tema */
  --ma-green:         var(--c-primary-light);
  --ma-green-dark:    var(--c-primary);
  --ma-green-light:   var(--c-primary-mid);
  --ma-shadow-glow:   0 0 24px rgba(37, 99, 235, 0.16);

  /* Surface & background */
  --c-surface:        #ffffff;
  --c-surface-2:      #f8faff;
  --c-page-bg:        #f1f5fb;
  --ma-page:          var(--c-page-bg);
  --ma-surface-soft:  var(--c-surface-2);

  /* Text */
  --c-ink:            #0d1b3e;
  --c-muted:          #4a5578;
  --c-soft:           #6d7a99;
  --ma-ink:           var(--c-ink);
  --ma-muted:         var(--c-muted);
  --ma-soft:          var(--c-soft);

  /* Border */
  --c-line:           #e2e8f7;
  --ma-line:          var(--c-line);
  --ma-line-strong:   #c8d3ea;

  /* Shadows */
  --s-xs:  0 1px 3px rgba(13, 27, 62, 0.06);
  --s-sm:  0 4px 14px rgba(13, 27, 62, 0.07);
  --s-md:  0 8px 24px rgba(13, 27, 62, 0.09);
  --s-lg:  0 16px 40px rgba(13, 27, 62, 0.12);
  --s-xl:  0 24px 60px rgba(13, 27, 62, 0.16);
  --ma-shadow-sm:  var(--s-sm);
  --ma-shadow-md:  var(--s-md);
  --ma-shadow-lg:  var(--s-lg);

  /* Radius */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  18px;
  --r-xl:  24px;
  --ma-radius:    var(--r-md);
  --ma-radius-sm: var(--r-sm);
  --ma-radius-lg: var(--r-lg);

  /* Typography */
  --ma-font-sans:  "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ma-font-serif: "DM Serif Display", Georgia, serif;

  font-size: 15.5px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════
   2. BODY & PAGE BACKGROUND
   ═══════════════════════════════════════════════════════════════════ */
body.ma-theme {
  background:
    radial-gradient(ellipse 80% 40% at 10% 0%,   rgba(37, 99, 235, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 100%,  rgba(99, 102, 241, 0.05) 0%, transparent 60%),
    linear-gradient(180deg, #f8faff 0%, var(--c-page-bg) 100%);
  color: var(--c-ink);
}

body.ma-theme a {
  color: var(--c-primary);
}

body.ma-theme a:hover,
body.ma-theme a:focus {
  color: var(--c-primary-mid);
}

/* ═══════════════════════════════════════════════════════════════════
   3. HEADER & NAVIGASI
   ═══════════════════════════════════════════════════════════════════ */
body.ma-theme .ma-site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--c-line);
  box-shadow: 0 1px 0 var(--c-line), var(--s-sm);
  backdrop-filter: saturate(160%) blur(24px);
}

/* Monogram badge */
body.ma-theme .ma-site-mark {
  background: linear-gradient(145deg, var(--c-primary) 0%, var(--c-primary-mid) 100%);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.32);
  border-radius: var(--r-sm);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

body.ma-theme .ma-site-title {
  color: var(--c-ink);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Nav links */
body.ma-theme .ma-navigation-primary > li > a,
body.ma-theme .ma-guest-nav > li > a,
body.ma-theme .ma-search-link a {
  color: var(--c-muted);
  font-size: 0.86rem;
  font-weight: 650;
  border-radius: var(--r-sm);
}

body.ma-theme .ma-navigation-primary > li > a:hover,
body.ma-theme .ma-navigation-primary > li > a:focus,
body.ma-theme .ma-guest-nav > li > a:hover,
body.ma-theme .ma-guest-nav > li > a:focus,
body.ma-theme .ma-search-link a:hover,
body.ma-theme .ma-search-link a:focus {
  background: var(--c-primary-soft);
  color: var(--c-primary);
  transform: translateY(-1px);
}

body.ma-theme .ma-navigation-primary .current > a,
body.ma-theme .ma-navigation-primary > li > a[aria-current="page"] {
  background: var(--c-primary-soft);
  color: var(--c-primary);
  font-weight: 750;
}

/* Dropdown nav */
body.ma-theme .ma-navigation-primary ul {
  border: 1px solid var(--c-line);
  box-shadow: var(--s-lg);
  border-radius: var(--r-md);
}

body.ma-theme .ma-navigation-primary ul a:hover,
body.ma-theme .ma-navigation-primary ul a:focus {
  background: var(--c-primary-soft);
  color: var(--c-primary);
}

/* ═══════════════════════════════════════════════════════════════════
   4. HERO JURNAL  (.ma-journal-hero-modern)
   ═══════════════════════════════════════════════════════════════════ */
body.ma-theme .ma-journal-hero-modern {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  box-shadow: var(--s-lg);
  padding: 44px 48px;
  margin: 0;
  gap: 40px;
}

/* Accent strip kiri */
body.ma-theme .ma-journal-hero-modern::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
  border-radius: 4px 0 0 4px;
}

/* Orb dekorasi kanan atas */
body.ma-theme .ma-journal-hero-modern::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Cover image */
body.ma-theme .ma-journal-hero-left img {
  max-width: 220px;
  border-radius: var(--r-lg);
  border: 3px solid #ffffff;
  box-shadow: var(--s-xl), 0 0 0 1px var(--c-primary-line);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease;
}

body.ma-theme .ma-journal-hero-left img:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--s-xl), 0 0 0 1px var(--c-primary-mid);
}

/* Judul jurnal */
body.ma-theme .ma-journal-title {
  font-family: var(--ma-font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--c-ink);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  padding-bottom: 18px;
}

body.ma-theme .ma-journal-title::after {
  background: linear-gradient(90deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
  width: 48px;
  height: 3px;
  border-radius: 2px;
}

/* Info table */
body.ma-theme .ma-journal-info-table {
  background: var(--c-surface-2);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 20px 22px;
  box-shadow: var(--s-xs);
  gap: 10px;
}

body.ma-theme .ma-info-row {
  grid-template-columns: 148px 12px 1fr;
  font-size: 13.5px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--c-line);
  align-items: baseline;
}

body.ma-theme .ma-info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

body.ma-theme .ma-info-label {
  color: var(--c-soft);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

body.ma-theme .ma-info-separator {
  color: var(--c-line);
}

body.ma-theme .ma-info-value {
  color: var(--c-ink);
  font-weight: 500;
}

body.ma-theme .ma-info-value a {
  color: var(--c-primary);
  font-weight: 600;
  text-decoration: none;
}

body.ma-theme .ma-info-value a:hover {
  color: var(--c-primary-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Badge/CTA di hero */
body.ma-theme .ma-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

body.ma-theme .ma-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--r-sm);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: var(--c-primary);
  color: #fff;
  border: 1.5px solid var(--c-primary);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

body.ma-theme .ma-badge:hover {
  background: var(--c-primary-mid);
  border-color: var(--c-primary-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
  color: #fff;
}

body.ma-theme .ma-badge-outline {
  background: transparent;
  color: var(--c-primary);
  border: 1.5px solid var(--c-primary-line);
  box-shadow: none;
}

body.ma-theme .ma-badge-outline:hover {
  background: var(--c-primary-soft);
  border-color: var(--c-primary);
  color: var(--c-primary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

/* ═══════════════════════════════════════════════════════════════════
   5. SECTION HEADING & EYEBROW
   ═══════════════════════════════════════════════════════════════════ */
body.ma-theme .ma-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-primary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.ma-theme .ma-eyebrow::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
}

body.ma-theme .ma-section-heading h2 {
  font-family: var(--ma-font-serif);
  color: var(--c-ink);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* ═══════════════════════════════════════════════════════════════════
   6. CONTENT CARDS  (panel, surface, current_issue)
   ═══════════════════════════════════════════════════════════════════ */
body.ma-theme .ma-structure-main .current_issue,
body.ma-theme .ma-structure-main .homepage_about,
body.ma-theme .ma-structure-main .additional_content,
body.ma-theme .ma-structure-main .announcements,
body.ma-theme .ma-structure-main .obj_issue_toc,
body.ma-theme .ma-structure-main .obj_issue_summary,
body.ma-theme .ma-structure-main .page_search,
body.ma-theme .ma-structure-main .page_about,
body.ma-theme .ma-structure-main .page_contact,
body.ma-theme .ma-structure-main .page_submissions,
body.ma-theme .ma-structure-main .obj_article_details,
body.ma-theme .ma-surface-card,
body.ma-theme .ma-panel {
  background: #ffffff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--s-sm);
}

body.ma-theme .ma-structure-main .current_issue {
  position: relative;
  overflow: hidden;
}

/* Subtle top accent bar on current_issue */
body.ma-theme .ma-structure-main .current_issue::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
}

body.ma-theme .ma-structure-main .current_issue p.ma-eyebrow {
  margin-bottom: 4px;
}

body.ma-theme .ma-structure-main .current_issue h2 {
  font-family: var(--ma-font-serif);
  color: var(--c-ink);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* ═══════════════════════════════════════════════════════════════════
   7. KARTU ARTIKEL  (.obj_article_summary)
   ═══════════════════════════════════════════════════════════════════ */
body.ma-theme .ma-structure-main .obj_article_summary {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--s-xs);
  transition: transform 0.22s cubic-bezier(0.34,1.3,0.64,1),
              box-shadow 0.22s ease,
              border-color 0.2s ease;
  overflow: hidden;
}

/* Left accent line on hover */
body.ma-theme .ma-structure-main .obj_article_summary::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
  border-radius: 3px 0 0 3px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

body.ma-theme .ma-structure-main .obj_article_summary:hover {
  transform: translateY(-3px);
  border-color: var(--c-primary-line);
  box-shadow: var(--s-md);
}

body.ma-theme .ma-structure-main .obj_article_summary:hover::before {
  opacity: 1;
}

/* Article title */
body.ma-theme .ma-structure-main .obj_article_summary .title {
  font-family: var(--ma-font-serif);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

body.ma-theme .ma-structure-main .obj_article_summary .title a {
  color: var(--c-ink);
  text-decoration: none;
}

body.ma-theme .ma-structure-main .obj_article_summary .title a:hover,
body.ma-theme .ma-structure-main .obj_article_summary .title a:focus {
  color: var(--c-primary);
}

/* Authors */
body.ma-theme .ma-structure-main .obj_article_summary .authors {
  color: var(--c-muted);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 500;
}

/* Meta labels */
body.ma-theme .ma-article-meta-label {
  color: var(--c-soft);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Galley buttons */
body.ma-theme .ma-structure-main .obj_galley_link {
  background: var(--c-primary-soft);
  color: var(--c-primary);
  border: 1px solid var(--c-primary-line);
  border-radius: var(--r-sm);
  font-size: 0.8rem;
  font-weight: 750;
  box-shadow: none;
  padding: 0.42rem 0.85rem;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
}

body.ma-theme .ma-structure-main .obj_galley_link:hover,
body.ma-theme .ma-structure-main .obj_galley_link:focus {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.28);
}

/* Article stats */
body.ma-theme .ma-article-stat {
  background: var(--c-surface-2);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 3px 12px;
}

body.ma-theme .ma-article-stat__label {
  color: var(--c-soft);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

body.ma-theme .ma-article-stat__value {
  color: var(--c-primary);
  font-weight: 800;
  font-size: 0.9rem;
}

/* Section divider in issue toc */
body.ma-theme .ma-structure-main .section {
  border-top-color: var(--c-line);
}

body.ma-theme .ma-structure-main .section h2,
body.ma-theme .ma-structure-main .section h3 {
  font-family: var(--ma-font-serif);
  color: var(--c-ink);
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ═══════════════════════════════════════════════════════════════════
   8. ISSUE ARCHIVE  (.obj_issue_summary)
   ═══════════════════════════════════════════════════════════════════ */
body.ma-theme .ma-structure-main .obj_issue_summary {
  background: #ffffff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--s-sm);
  transition: transform 0.22s cubic-bezier(0.34,1.3,0.64,1),
              box-shadow 0.22s ease,
              border-color 0.2s ease;
}

body.ma-theme .ma-structure-main .obj_issue_summary:hover {
  transform: translateY(-3px);
  border-color: var(--c-primary-line);
  box-shadow: var(--s-md);
}

body.ma-theme .ma-structure-main .obj_issue_summary .ma-issue-summary-details .title {
  color: var(--c-primary);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.ma-theme .ma-structure-main .obj_issue_summary .ma-issue-summary-details .title:hover {
  color: var(--c-primary-mid);
}

body.ma-theme .ma-structure-main .obj_issue_summary .ma-issue-summary-details .series {
  background: var(--c-primary-soft);
  border-color: var(--c-primary-line);
  color: var(--c-primary);
  font-size: 0.82rem;
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════════
   9. TOMBOL UTAMA
   ═══════════════════════════════════════════════════════════════════ */
body.ma-theme .ma-pill-button,
body.ma-theme .ma-structure-main .read_more,
body.ma-theme .ma-structure-main .cmp_manuscript_button,
body.ma-theme .ma-structure-main .button,
body.ma-theme .ma-structure-main button.submit,
body.ma-theme .ma-structure-main input[type="submit"] {
  background: var(--c-primary);
  border-radius: var(--r-md);
  font-weight: 750;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

body.ma-theme .ma-pill-button:hover,
body.ma-theme .ma-pill-button:focus,
body.ma-theme .ma-structure-main .read_more:hover,
body.ma-theme .ma-structure-main .read_more:focus,
body.ma-theme .ma-structure-main .button:hover,
body.ma-theme .ma-structure-main .button:focus,
body.ma-theme .ma-structure-main input[type="submit"]:hover,
body.ma-theme .ma-structure-main input[type="submit"]:focus {
  background: var(--c-primary-mid);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
  transform: translateY(-2px);
  color: #fff;
  outline-color: rgba(37, 99, 235, 0.2);
}

body.ma-theme .ma-pill-button--secondary,
body.ma-theme .ma-structure-main .button.secondary {
  background: #ffffff;
  border: 1.5px solid var(--c-primary-line);
  color: var(--c-primary);
  box-shadow: var(--s-xs);
}

body.ma-theme .ma-pill-button--secondary:hover,
body.ma-theme .ma-pill-button--secondary:focus,
body.ma-theme .ma-structure-main .button.secondary:hover {
  background: var(--c-primary-soft);
  border-color: var(--c-primary);
  color: var(--c-primary);
  box-shadow: var(--s-sm);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════════
   10. FORM INPUT
   ═══════════════════════════════════════════════════════════════════ */
body.ma-theme .ma-structure-main input[type="text"],
body.ma-theme .ma-structure-main input[type="email"],
body.ma-theme .ma-structure-main input[type="password"],
body.ma-theme .ma-structure-main input[type="search"],
body.ma-theme .ma-structure-main input[type="url"],
body.ma-theme .ma-structure-main select,
body.ma-theme .ma-structure-main textarea {
  border-color: var(--c-line);
  border-radius: var(--r-md);
  color: var(--c-ink);
  background: #fff;
}

body.ma-theme .ma-structure-main input:focus,
body.ma-theme .ma-structure-main select:focus,
body.ma-theme .ma-structure-main textarea:focus {
  border-color: var(--c-primary-mid);
  outline: 3px solid rgba(37, 99, 235, 0.12);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.06);
}

/* ═══════════════════════════════════════════════════════════════════
   11. PAGINATION
   ═══════════════════════════════════════════════════════════════════ */
body.ma-theme .ma-structure-main .cmp_pagination a,
body.ma-theme .ma-structure-main .cmp_pagination span {
  border-color: var(--c-line);
  color: var(--c-muted);
  border-radius: var(--r-sm);
  font-weight: 700;
}

body.ma-theme .ma-structure-main .cmp_pagination .current,
body.ma-theme .ma-structure-main .cmp_pagination a:hover,
body.ma-theme .ma-structure-main .cmp_pagination a:focus {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════════════
   12. BREADCRUMB
   ═══════════════════════════════════════════════════════════════════ */
body.ma-theme .ma-structure-main .cmp_breadcrumbs {
  background: var(--c-surface-2);
  border-color: var(--c-line);
  border-radius: var(--r-md);
}

body.ma-theme .ma-structure-main .cmp_breadcrumbs a {
  color: var(--c-primary);
  font-weight: 600;
}

body.ma-theme .ma-structure-main .cmp_breadcrumbs a:hover {
  color: var(--c-primary-mid);
}

/* ═══════════════════════════════════════════════════════════════════
   13. NOTIFIKASI
   ═══════════════════════════════════════════════════════════════════ */
body.ma-theme .ma-structure-main .cmp_notification {
  border-left: 4px solid var(--c-primary);
  background: var(--c-primary-soft);
  border-radius: var(--r-md);
  color: var(--c-ink);
}

body.ma-theme .ma-structure-main .cmp_notification.error {
  border-left-color: #dc2626;
  background: #fff1f2;
}

/* ═══════════════════════════════════════════════════════════════════
   14. TABEL
   ═══════════════════════════════════════════════════════════════════ */
body.ma-theme .ma-structure-main table {
  border-radius: var(--r-md);
  border-color: var(--c-line);
  overflow: hidden;
}

body.ma-theme .ma-structure-main th {
  background: var(--c-primary-soft);
  color: var(--c-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

body.ma-theme .ma-structure-main td {
  border-bottom-color: var(--c-line);
  font-size: 0.92rem;
}

body.ma-theme .ma-structure-main tr:hover td {
  background: var(--c-surface-2);
}

/* ═══════════════════════════════════════════════════════════════════
   15. SIDEBAR
   ═══════════════════════════════════════════════════════════════════ */
body.ma-theme .ma-structure-sidebar .pkp_block {
  background: #ffffff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--s-sm);
  margin-bottom: 1rem;
}

body.ma-theme .ma-structure-sidebar .title {
  color: var(--c-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Custom wadah blocks */
body.ma-theme .ma-structure-sidebar .wadah {
  background: #ffffff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--s-sm);
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}

body.ma-theme .ma-structure-sidebar .wadah:hover {
  border-color: var(--c-primary-line);
  box-shadow: var(--s-md);
}

body.ma-theme .ma-structure-sidebar .judul {
  background: linear-gradient(135deg, var(--c-primary-soft) 0%, #e0eaff 100%);
  border-bottom: 1px solid var(--c-primary-line);
  padding: 10px 14px;
}

body.ma-theme .ma-structure-sidebar .judul p {
  color: var(--c-primary);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin: 0;
}

body.ma-theme .ma-structure-sidebar .isi a {
  color: var(--c-ink);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}

body.ma-theme .ma-structure-sidebar .isi a:hover {
  color: var(--c-primary);
}

/* Sidebar CTA buttons */
body.ma-theme .ma-structure-sidebar .glow-on-hover {
  background: #ffffff;
  border: 1px solid var(--c-line);
  color: var(--c-ink);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--r-sm);
  box-shadow: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}

body.ma-theme .ma-structure-sidebar .glow-on-hover:hover,
body.ma-theme .ma-structure-sidebar .glow-on-hover:focus {
  background: var(--c-primary-soft);
  color: var(--c-primary);
  border-color: var(--c-primary-line);
  transform: translateX(2px);
  box-shadow: none;
  outline: none;
}

/* ═══════════════════════════════════════════════════════════════════
   16. USER NAV
   ═══════════════════════════════════════════════════════════════════ */
body.ma-theme .ma-user-trigger {
  border-color: var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--s-xs);
}

body.ma-theme .ma-user-trigger:hover,
body.ma-theme .ma-user-trigger:focus {
  border-color: var(--c-primary-mid);
  outline: 3px solid rgba(37, 99, 235, 0.1);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
  transform: translateY(-1px);
}

body.ma-theme .ma-user-dropdown {
  border-color: var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--s-lg);
}

body.ma-theme .ma-user-dropdown a:hover,
body.ma-theme .ma-user-dropdown a:focus {
  background: var(--c-primary-soft);
  color: var(--c-primary);
}

body.ma-theme .ma-user-badge,
body.ma-theme .ma-inline-badge {
  background: var(--c-primary);
}

/* ═══════════════════════════════════════════════════════════════════
   17. HIGHLIGHTS / CALLOUT
   ═══════════════════════════════════════════════════════════════════ */
body.ma-theme .ma-callout {
  background: linear-gradient(135deg, var(--c-primary) 0%, #1e3a8a 100%);
  border-radius: var(--r-xl);
  border: none;
  box-shadow: var(--s-lg);
}

body.ma-theme .ma-callout h2 {
  font-family: var(--ma-font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
}

body.ma-theme .ma-callout .ma-eyebrow {
  color: #bfdbfe;
}

body.ma-theme .ma-callout .ma-eyebrow::before {
  background: #bfdbfe;
}

/* ═══════════════════════════════════════════════════════════════════
   18. FOOTER  — legacy selectors (kept for other pages)
   ═══════════════════════════════════════════════════════════════════ */
body.ma-theme .ma-site-footer { padding-bottom: 0; }
body.ma-theme .ma-footer-kicker { color: #93c5fd; }
body.ma-theme .ma-footer-copy a { color: #bfdbfe; }
body.ma-theme .ma-brand-footer a { color: #93c5fd; }
body.ma-theme .ma-footer-bottom { border-top-color: rgba(255,255,255,0.12); }

/* ═══════════════════════════════════════════════════════════════════
   19. BACK TO TOP
   ═══════════════════════════════════════════════════════════════════ */
body.ma-theme .ma-back-to-top {
  background: var(--c-primary);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease, opacity 0.3s, visibility 0.3s;
}

body.ma-theme .ma-back-to-top:hover,
body.ma-theme .ma-back-to-top:focus {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.45);
}

/* ═══════════════════════════════════════════════════════════════════
   20. SKIP LINK (accessibility)
   ═══════════════════════════════════════════════════════════════════ */
body.ma-theme .cmp_skip_to_content a:focus {
  color: var(--c-primary);
  outline: 3px solid var(--c-primary);
  border-radius: var(--r-sm);
}

/* ═══════════════════════════════════════════════════════════════════
   21. HEADING HIERARCHY  (article detail, about, etc.)
   ═══════════════════════════════════════════════════════════════════ */
body.ma-theme .ma-structure-main h1 {
  font-family: var(--ma-font-serif);
  color: var(--c-ink);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.03em;
}

body.ma-theme .ma-structure-main h2 {
  font-family: var(--ma-font-serif);
  color: var(--c-ink);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.025em;
}

body.ma-theme .ma-structure-main h3 {
  color: var(--c-ink);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Article detail card */
body.ma-theme .ma-structure-main .obj_article_details .label,
body.ma-theme .ma-structure-main .entry_details .label {
  color: var(--c-primary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

body.ma-theme .ma-structure-main .obj_article_details .entry_details {
  background: var(--c-surface-2);
  border-color: var(--c-line);
  border-radius: var(--r-md);
}

body.ma-theme .ma-structure-main .obj_article_details .references {
  border-top-color: var(--c-line);
}

/* ═══════════════════════════════════════════════════════════════════
   22. STAT CARDS  (hero panel)
   ═══════════════════════════════════════════════════════════════════ */
body.ma-theme .ma-stat-card {
  background: #ffffff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--s-xs);
  padding: 1rem 1.1rem;
}

body.ma-theme .ma-stat-card__value {
  font-family: var(--ma-font-serif);
  color: var(--c-ink);
  font-size: 1.6rem;
}

body.ma-theme .ma-stat-card__label {
  color: var(--c-muted);
  font-size: 0.84rem;
}

/* ═══════════════════════════════════════════════════════════════════
   23. MINI STAT  (journal hero meta)
   ═══════════════════════════════════════════════════════════════════ */
body.ma-theme .ma-mini-stat {
  background: #ffffff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--s-xs);
}

body.ma-theme .ma-mini-stat strong {
  font-family: var(--ma-font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--c-ink);
}

body.ma-theme .ma-mini-stat span {
  color: var(--c-muted);
  font-size: 0.84rem;
}

/* ═══════════════════════════════════════════════════════════════════
   24. ISSUE TOC COVER
   ═══════════════════════════════════════════════════════════════════ */
body.ma-theme .ma-structure-main .obj_issue_toc .cover img,
body.ma-theme .ma-structure-main .obj_issue_summary .cover img {
  border-radius: var(--r-md);
  border-color: var(--c-line);
  box-shadow: var(--s-md);
}

/* ═══════════════════════════════════════════════════════════════════
   25. SCROLLBAR  (Webkit — subtle branding)
   ═══════════════════════════════════════════════════════════════════ */
body.ma-theme ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

body.ma-theme ::-webkit-scrollbar-track {
  background: var(--c-surface-2);
}

body.ma-theme ::-webkit-scrollbar-thumb {
  background: var(--c-primary-line);
  border-radius: 4px;
}

body.ma-theme ::-webkit-scrollbar-thumb:hover {
  background: var(--c-primary-mid);
}

/* ═══════════════════════════════════════════════════════════════════
   26. SELECTION COLOR
   ═══════════════════════════════════════════════════════════════════ */
body.ma-theme ::selection {
  background: rgba(37, 99, 235, 0.15);
  color: var(--c-ink);
}

/* ═══════════════════════════════════════════════════════════════════
   27. RESPONSIVE  — mobile nav & tablet
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 920px) {

  /* ── Hamburger button ── */
  body.ma-theme .ma-nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--c-line);
    border-radius: var(--r-sm);
    background: #fff;
    color: var(--c-ink);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
  }

  body.ma-theme .ma-nav-toggle:hover,
  body.ma-theme .ma-nav-toggle:focus {
    background: var(--c-primary-soft);
    border-color: var(--c-primary-line);
    color: var(--c-primary);
    outline: none;
  }

  /* ── Header harus relative agar nav bisa absolute di bawahnya ── */
  body.ma-theme .ma-site-header {
    overflow: visible;
  }

  body.ma-theme .ma-head-wrapper {
    position: relative;
    flex-wrap: wrap;
    min-height: auto;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }

  /* ── Nav panel: full-width, slide-down dari header ── */
  body.ma-theme .ma-site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid var(--c-line);
    border-bottom: 3px solid var(--c-primary-line);
    box-shadow: 0 12px 32px rgba(13, 27, 62, 0.13);
    padding: 0;
    z-index: 999;
    overflow: hidden;

    /* Hidden state */
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition:
      max-height 0.38s cubic-bezier(0.16, 1, 0.3, 1),
      opacity    0.25s ease,
      transform  0.32s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Open state */
  body.ma-theme .ma-site-nav.is-open {
    max-height: 640px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    padding: 0.85rem 1.25rem 1.1rem;
    gap: 0.4rem;
  }

  /* ── Layout rows ── */
  body.ma-theme .ma-navigation-row,
  body.ma-theme .ma-navigation-primary-wrapper,
  body.ma-theme .ma-navigation-user {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  body.ma-theme .ma-navigation-user {
    padding-top: 0.6rem;
    margin-top: 0.2rem;
    border-top: 1px solid var(--c-line);
  }

  /* ── Nav list ── */
  body.ma-theme .ma-navigation-primary,
  body.ma-theme .ma-guest-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    flex-wrap: nowrap;
  }

  body.ma-theme .ma-navigation-primary > li,
  body.ma-theme .ma-guest-nav > li {
    width: 100%;
  }

  /* ── Nav link style ── */
  body.ma-theme .ma-navigation-primary > li > a,
  body.ma-theme .ma-guest-nav > li > a,
  body.ma-theme .ma-search-link a {
    display: flex;
    width: 100%;
    padding: 0.72rem 1rem;
    border-radius: var(--r-sm);
    border: 1px solid var(--c-line);
    background: var(--c-surface-2);
    color: var(--c-ink);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--s-xs);
    transition: background 0.18s, color 0.18s, border-color 0.18s;
    box-sizing: border-box;
  }

  body.ma-theme .ma-navigation-primary > li > a:hover,
  body.ma-theme .ma-navigation-primary > li > a:focus,
  body.ma-theme .ma-guest-nav > li > a:hover,
  body.ma-theme .ma-guest-nav > li > a:focus,
  body.ma-theme .ma-search-link a:hover,
  body.ma-theme .ma-search-link a:focus {
    background: var(--c-primary-soft);
    color: var(--c-primary);
    border-color: var(--c-primary-line);
    transform: none;
  }

  body.ma-theme .ma-navigation-primary .current > a,
  body.ma-theme .ma-navigation-primary > li > a[aria-current="page"] {
    background: var(--c-primary-soft);
    color: var(--c-primary);
    border-color: var(--c-primary-line);
    font-weight: 700;
  }

  /* Search wrapper full width */
  body.ma-theme .ma-search-link {
    width: 100%;
  }

  /* ── Last guest link (Login) — primary style ── */
  body.ma-theme .ma-guest-nav > li:last-child > a {
    background: var(--c-primary);
    color: #fff;
    border-color: var(--c-primary);
    font-weight: 700;
    justify-content: center;
  }

  body.ma-theme .ma-guest-nav > li:last-child > a:hover,
  body.ma-theme .ma-guest-nav > li:last-child > a:focus {
    background: var(--c-primary-mid);
    border-color: var(--c-primary-mid);
    color: #fff;
  }

  /* ── User trigger ── */
  body.ma-theme .ma-user-trigger {
    width: 100%;
    border-color: var(--c-line);
    border-radius: var(--r-sm);
    background: var(--c-surface-2);
    box-sizing: border-box;
  }

  /* ── Submenu dropdown ── */
  body.ma-theme .ma-navigation-primary > li > ul {
    position: static;
    width: 100%;
    box-shadow: none;
    border: 1px solid var(--c-line);
    border-radius: var(--r-sm);
    background: var(--c-surface-2);
    margin-top: 4px;
    padding: 0.35rem;
  }

  body.ma-theme .ma-navigation-primary > li > ul a {
    display: block;
    width: 100%;
    padding: 0.6rem 0.85rem;
    border-radius: 6px;
    font-size: 0.86rem;
    color: var(--c-muted);
    box-sizing: border-box;
  }

  body.ma-theme .ma-navigation-primary > li > ul a:hover,
  body.ma-theme .ma-navigation-primary > li > ul a:focus {
    background: var(--c-primary-soft);
    color: var(--c-primary);
  }
}

@media (max-width: 860px) {
  body.ma-theme .ma-journal-hero-modern {
    padding: 28px 28px;
    gap: 28px;
    border-radius: var(--r-lg);
  }

  body.ma-theme .ma-journal-title {
    font-size: 24px;
  }
}

@media (max-width: 600px) {
  body.ma-theme .ma-journal-hero-modern {
    padding: 20px;
    gap: 20px;
    border-radius: var(--r-md);
  }

  body.ma-theme .ma-journal-hero-modern::after {
    display: none;
  }

  body.ma-theme .ma-journal-title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  body.ma-theme .ma-journal-info-table {
    padding: 14px 16px;
  }

  body.ma-theme .ma-badge {
    padding: 6px 11px;
    font-size: 12px;
  }

  body.ma-theme .ma-structure-main h1 {
    font-size: 1.65rem;
  }

  body.ma-theme .ma-footer-grid {
    border-radius: var(--r-lg);
    padding: 1.5rem;
  }
}


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  SITE INDEX PAGE  — section prefix: .si-                        ║
   ╚══════════════════════════════════════════════════════════════════╝ */

/* ── Shared container ───────────────────────────────────────────── */
.si-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Shared section skeleton ────────────────────────────────────── */
.si-section {
  padding: 5rem 0;
}

.si-section--features  { background: var(--c-surface); }
.si-section--journals  { background: var(--c-surface-2); }
.si-section--highlights { background: var(--c-surface); padding: 3.5rem 0; }

.si-section__head {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}

.si-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 0.6rem;
  color: var(--c-primary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.si-label::before,
.si-label::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1.5px;
  background: var(--c-primary-line);
  border-radius: 2px;
}

.si-section__title {
  font-family: var(--ma-font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--c-ink);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.6rem;
}

.si-section__sub {
  color: var(--c-muted);
  font-size: 1rem;
  margin: 0;
  line-height: 1.6;
}

/* ── HERO — replaced with animated 2-col version ──────────────── */
/* (see appended section below) */
.si-hero { display: block; }

/* ── STATS ──────────────────────────────────────────────────────── */
.si-stats {
  background: var(--c-page-bg);
  padding: 3rem 0;
}

.si-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.si-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.75rem 1rem;
  background: #ffffff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--s-xs);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.si-stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--s-md);
}

.si-stat__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: var(--c-primary-soft);
  color: var(--c-primary);
  margin-bottom: 0.25rem;
}

.si-stat__value {
  font-family: var(--ma-font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--c-ink);
  line-height: 1;
  letter-spacing: -0.02em;
}

.si-stat__label {
  color: var(--c-muted);
  font-size: 0.82rem;
  font-weight: 500;
}

/* ── HIGHLIGHTS CARD ────────────────────────────────────────────── */
.si-highlights-card {
  background: #ffffff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--s-sm);
}

/* ── FEATURES ───────────────────────────────────────────────────── */
.si-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.si-feature-card {
  padding: 2rem 1.75rem;
  background: var(--c-surface-2);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  border-top: 3px solid var(--c-primary);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.si-feature-card:nth-child(2) { border-top-color: #6366f1; }
.si-feature-card:nth-child(3) { border-top-color: #0ea5e9; }

.si-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(37,99,235,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.si-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--s-md);
}

.si-feature-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: var(--c-primary-soft);
  color: var(--c-primary);
  margin-bottom: 1.25rem;
}

.si-feature-card:nth-child(2) .si-feature-card__icon {
  background: #eef2ff;
  color: #6366f1;
}

.si-feature-card:nth-child(3) .si-feature-card__icon {
  background: #f0f9ff;
  color: #0ea5e9;
}

.si-feature-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-ink);
  margin: 0 0 0.65rem;
  letter-spacing: -0.01em;
}

.si-feature-card__desc {
  color: var(--c-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

/* ── JOURNAL GRID ───────────────────────────────────────────────── */
.si-journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.si-journal-card {
  background: #ffffff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--s-xs);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s cubic-bezier(0.34,1.3,0.64,1), box-shadow 0.22s ease, border-color 0.2s;
}

.si-journal-card:hover {
  transform: translateY(-5px);
  border-color: var(--c-primary-line);
  box-shadow: var(--s-lg);
}

/* Cover */
.si-journal-card__cover-link { display: block; }

.si-journal-card__cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-primary-soft) 0%, #e0eaff 100%);
}

.si-journal-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.si-journal-card:hover .si-journal-card__cover img {
  transform: scale(1.04);
}

/* Placeholder */
.si-journal-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary-mid);
  opacity: 0.5;
}

/* Hover overlay arrow */
.si-journal-card__cover-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 64, 175, 0.55);
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
  backdrop-filter: blur(2px);
}

.si-journal-card:hover .si-journal-card__cover-hover { opacity: 1; }

/* Card body */
.si-journal-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  gap: 0.75rem;
}

.si-journal-card__status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--c-soft);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.si-journal-card__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
}

.si-journal-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.01em;
}

.si-journal-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}

.si-journal-card__title a:hover,
.si-journal-card__title a:focus {
  color: var(--c-primary);
}

.si-journal-card__desc {
  color: var(--c-muted);
  font-size: 0.86rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

/* Tags */
.si-journal-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.si-tag {
  padding: 3px 10px;
  border: 1px solid var(--c-primary-line);
  border-radius: 999px;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Card action buttons */
.si-journal-card__actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 0.25rem;
}

.si-btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.48rem 0.9rem;
  border-radius: var(--r-sm);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.18s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
}

.si-btn-sm--primary {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
  box-shadow: 0 2px 8px rgba(37,99,235,0.22);
}
.si-btn-sm--primary:hover, .si-btn-sm--primary:focus {
  background: var(--c-primary-mid);
  border-color: var(--c-primary-mid);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

.si-btn-sm--ghost {
  background: transparent;
  color: var(--c-muted);
  border-color: var(--c-line);
}
.si-btn-sm--ghost:hover, .si-btn-sm--ghost:focus {
  background: var(--c-primary-soft);
  color: var(--c-primary);
  border-color: var(--c-primary-line);
  transform: translateY(-1px);
}

/* Empty state */
.si-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--c-muted);
}

.si-empty__icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-primary-soft);
  color: var(--c-primary-line);
}

/* ── CTA SECTION ────────────────────────────────────────────────── */
.si-cta {
  position: relative;
  overflow: hidden;
  padding: 5rem 1.5rem;
  background: linear-gradient(145deg, #0d1b3e 0%, #1a2f6e 55%, #1e3a8a 100%);
  color: #fff;
  text-align: center;
}

.si-cta__bg { position: absolute; inset: 0; pointer-events: none; }

.si-cta__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}
.si-cta__orb--1 {
  width: 400px; height: 400px;
  top: -100px; right: -80px;
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
  opacity: 0.3;
}
.si-cta__orb--2 {
  width: 350px; height: 350px;
  bottom: -80px; left: -60px;
  background: radial-gradient(circle, #6366f1 0%, transparent 70%);
  opacity: 0.2;
}

.si-cta__inner {
  position: relative;
  z-index: 1;
}

.si-cta__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.08);
  color: #fff;
  margin: 0 auto 1.5rem;
  backdrop-filter: blur(8px);
}

.si-cta__title {
  font-family: var(--ma-font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
}

.si-cta__desc {
  max-width: 520px;
  margin: 0 auto 2.25rem;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.7;
}

.si-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ── Override: hide the ma-structure-content wrapper padding
      since the site page renders its own full-width sections ──── */
body.pkp_page_index.pkp_op_index .ma-structure-content {
  max-width: 100%;
  padding: 0;
  gap: 0;
}

body.pkp_page_index.pkp_op_index .ma-structure-main {
  padding: 0;
}

body.pkp_page_index.pkp_op_index .ma-structure-main > a#pkp_content_main {
  display: none;
}

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .si-journal-grid { grid-template-columns: repeat(2, 1fr); }
  .si-stats__grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .si-section { padding: 3.5rem 0; }
  .si-section__title { font-size: 1.65rem; }
  .si-features { grid-template-columns: 1fr; }
  .si-stats { padding: 2rem 0; }
  .si-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
}

@media (max-width: 560px) {
  .si-journal-grid { grid-template-columns: 1fr; }
  .si-stats__grid  { grid-template-columns: repeat(2, 1fr); }
  .si-cta { padding: 3.5rem 1rem; }
  .si-cta__title { font-size: 1.5rem; }
}

/* ╔══════════════════════════════════════════════════════════════════╗
   ║  HERO — Animated 2-column redesign                               ║
   ╚══════════════════════════════════════════════════════════════════╝ */

/* ── Base & Background ─────────────────────────────────────────── */
.si-hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(150deg, #060f2e 0%, #0d1b4a 40%, #112060 70%, #0f1a3e 100%);
  color: #fff;
}

.si-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Particle canvas */
.si-hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

/* Orbs */
.si-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: si-orb-drift 14s ease-in-out infinite alternate;
}
.si-hero__orb--1 {
  width: 700px; height: 700px;
  top: -250px; left: -200px;
  background: radial-gradient(circle, rgba(59,130,246,0.4) 0%, transparent 65%);
  animation-duration: 16s;
}
.si-hero__orb--2 {
  width: 550px; height: 550px;
  bottom: -150px; right: -150px;
  background: radial-gradient(circle, rgba(99,102,241,0.35) 0%, transparent 65%);
  animation-duration: 12s;
  animation-delay: -4s;
}
.si-hero__orb--3 {
  width: 380px; height: 380px;
  top: 35%; left: 48%;
  background: radial-gradient(circle, rgba(56,189,248,0.2) 0%, transparent 65%);
  animation-duration: 18s;
  animation-delay: -8s;
}
.si-hero__orb--4 {
  width: 260px; height: 260px;
  top: 15%; right: 15%;
  background: radial-gradient(circle, rgba(167,139,250,0.22) 0%, transparent 65%);
  animation-duration: 10s;
  animation-delay: -2s;
}

@keyframes si-orb-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(30px, -20px) scale(1.06); }
  100% { transform: translate(-20px, 15px) scale(0.96); }
}

/* Dot grid */
.si-hero__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 20%, transparent 100%);
}

/* ── 2-Column Layout ───────────────────────────────────────────── */
.si-hero__layout {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 6rem 2rem 5rem;
}

/* ── LEFT: Copy ────────────────────────────────────────────────── */
.si-hero__copy {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.si-hero__copy.si-anim-in {
  opacity: 1;
  transform: translateY(0);
}

/* Badge */
.si-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,0.8);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  margin-bottom: 1.6rem;
}

.si-hero__badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74,222,128,0.8);
  animation: si-pulse 2.2s ease-in-out infinite;
}

@keyframes si-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(74,222,128,0.8); }
  50%       { opacity: 0.65; box-shadow: 0 0 16px rgba(74,222,128,0.9); }
}

/* Title */
.si-hero__title {
  font-family: var(--ma-font-serif);
  margin: 0 0 1.4rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.si-hero__title-line1 {
  display: block;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  color: rgba(255,255,255,0.65);
  font-style: italic;
  animation: si-fade-in 0.6s 0.1s both;
}

.si-hero__title-line2 {
  display: block;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: #ffffff;
  min-height: 1.15em;
  background: linear-gradient(135deg, #ffffff 0%, #93c5fd 60%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: si-fade-in 0.6s 0.2s both;
}

.si-hero__title-line3 {
  display: block;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  color: rgba(255,255,255,0.6);
  font-style: italic;
  animation: si-fade-in 0.6s 0.3s both;
}

@keyframes si-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Typed cursor */
.si-hero__typed-cursor {
  display: inline-block;
  color: #60a5fa;
  font-weight: 300;
  animation: si-blink 1s step-end infinite;
  margin-left: 2px;
  -webkit-text-fill-color: #60a5fa;
}

@keyframes si-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Description */
.si-hero__desc {
  color: rgba(255,255,255,0.68);
  font-size: 1.02rem;
  line-height: 1.72;
  margin: 0 0 2rem;
  max-width: 480px;
  animation: si-fade-in 0.7s 0.4s both;
}

/* CTA buttons */
.si-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 2.2rem;
  animation: si-fade-in 0.7s 0.5s both;
}

/* Shared button base */
.si-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.72rem 1.4rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s ease, background 0.2s, border-color 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}
.si-btn--lg { padding: 0.82rem 1.6rem; font-size: 0.96rem; }

.si-btn--primary {
  background: var(--c-primary-mid);
  color: #fff;
  border-color: var(--c-primary-mid);
  box-shadow: 0 4px 18px rgba(37,99,235,0.45);
}
.si-btn--primary:hover, .si-btn--primary:focus {
  background: var(--c-primary-light);
  border-color: var(--c-primary-light);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(37,99,235,0.55);
}

.si-btn--ghost {
  background: rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
}
.si-btn--ghost:hover, .si-btn--ghost:focus {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.45);
  color: #fff;
  transform: translateY(-3px);
}

.si-btn--white {
  background: #fff;
  color: var(--c-primary);
  border-color: #fff;
  box-shadow: 0 4px 16px rgba(13,27,62,0.2);
}
.si-btn--white:hover, .si-btn--white:focus {
  background: #f0f6ff;
  color: var(--c-primary-mid);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(13,27,62,0.28);
}

.si-btn--outline-white {
  background: transparent;
  color: rgba(255,255,255,0.88);
  border-color: rgba(255,255,255,0.3);
}
.si-btn--outline-white:hover, .si-btn--outline-white:focus {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.55);
  color: #fff;
  transform: translateY(-3px);
}

/* Trust badges */
.si-hero__trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  animation: si-fade-in 0.7s 0.65s both;
}

.si-hero__trust-label {
  color: rgba(255,255,255,0.45);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.si-hero__trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.si-trust-badge {
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
  transition: background 0.2s, color 0.2s;
}

.si-trust-badge:hover {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
}

/* ── RIGHT: Visual Cards ───────────────────────────────────────── */
.si-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.9s 0.2s cubic-bezier(0.16,1,0.3,1),
              transform 0.9s 0.2s cubic-bezier(0.16,1,0.3,1);
}
.si-hero__visual.si-anim-in {
  opacity: 1;
  transform: translateX(0);
}

/* Decorative ring behind cards */
.si-hero__ring {
  position: absolute;
  width: 380px; height: 380px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: si-rotate-slow 40s linear infinite;
  pointer-events: none;
}
.si-hero__ring svg { width: 100%; height: 100%; }

@keyframes si-rotate-slow {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}

/* ── Main floating card ────────────────────────────────────────── */
.si-hero__card {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-lg);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.1);
  color: #fff;
}

.si-hero__card--main {
  position: relative;
  width: 100%;
  max-width: 340px;
  padding: 1.5rem;
  animation: si-float 6s ease-in-out infinite;
}

@keyframes si-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.si-hcard__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
}

.si-hcard__icon {
  width: 40px; height: 40px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(59,130,246,0.3);
  color: #93c5fd;
}

.si-hcard__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.si-hcard__sub {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.55);
  margin-top: 1px;
}

.si-hcard__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(74,222,128,0.12);
  border: 1px solid rgba(74,222,128,0.3);
  color: #4ade80;
  font-size: 0.7rem;
  font-weight: 700;
}

.si-hcard__live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: si-pulse 2s infinite;
}

.si-hcard__stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.si-hcard__stat {
  text-align: center;
  flex: 1;
}

.si-hcard__stat-val {
  display: block;
  font-family: var(--ma-font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.si-hcard__stat-lbl {
  display: block;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.5);
  margin-top: 3px;
  font-weight: 500;
}

.si-hcard__stat-div {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.12);
}

.si-hcard__bar {
  height: 5px;
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
}

.si-hcard__bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #60a5fa 0%, #a78bfa 100%);
  border-radius: 999px;
  animation: si-bar-grow 2s 1s cubic-bezier(0.16,1,0.3,1) forwards;
}

@keyframes si-bar-grow {
  to { width: 78%; }
}

.si-hcard__bar-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
  font-weight: 500;
}

/* ── Mini floating cards ───────────────────────────────────────── */
.si-hero__card--mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.75rem 1rem;
  border-radius: var(--r-md);
  min-width: 190px;
}

.si-hero__card--mini-1 {
  top: 0; right: -20px;
  animation: si-float 5s 0.5s ease-in-out infinite;
}

.si-hero__card--mini-2 {
  bottom: 20px; left: -10px;
  animation: si-float 7s 1s ease-in-out infinite;
}

.si-hero__card--mini-3 {
  bottom: -10px; right: 10px;
  animation: si-float 6s 1.5s ease-in-out infinite;
}

.si-mini-icon {
  width: 36px; height: 36px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  background: rgba(59,130,246,0.25);
  color: #93c5fd;
}

.si-mini-icon--green {
  background: rgba(74,222,128,0.2);
  color: #4ade80;
}

.si-mini-icon--purple {
  background: rgba(167,139,250,0.2);
  color: #a78bfa;
}

.si-mini-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.si-mini-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

/* ── Pills strip (bottom of hero) ─────────────────────────────── */
.si-hero__pills-strip {
  position: relative;
  z-index: 2;
  padding: 1.2rem 2rem 3.5rem;
  display: flex;
  justify-content: center;
}

.si-hero__pills-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  animation: si-fade-in 0.8s 0.8s both;
}

.si-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.65);
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.si-pill:hover {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.25);
}

/* ── Scroll indicator ──────────────────────────────────────────── */
.si-hero__scroll {
  position: absolute;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.4);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 0.4s ease;
  animation: si-fade-in 1s 1.2s both;
}

.si-hero__scroll-mouse {
  width: 22px; height: 36px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.si-hero__scroll-wheel {
  width: 3px; height: 8px;
  background: rgba(255,255,255,0.5);
  border-radius: 999px;
  animation: si-scroll-wheel 1.8s ease-in-out infinite;
}

@keyframes si-scroll-wheel {
  0%   { transform: translateY(0); opacity: 1; }
  80%  { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ── Wave ──────────────────────────────────────────────────────── */
.si-hero__wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  line-height: 0;
  pointer-events: none;
  z-index: 2;
}

.si-hero__wave svg {
  width: 100%; height: 90px;
  color: var(--c-page-bg);
}

/* ── Entrance animation classes ─────────────────────────────────── */
[data-si-animate="fade-up"] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1),
              transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
[data-si-animate="fade-up"].si-anim-in {
  opacity: 1;
  transform: translateY(0);
}

[data-si-animate="fade-left"] {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.9s 0.2s cubic-bezier(0.16,1,0.3,1),
              transform 0.9s 0.2s cubic-bezier(0.16,1,0.3,1);
}
[data-si-animate="fade-left"].si-anim-in {
  opacity: 1;
  transform: translateX(0);
}

/* ── Reduced motion ────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .si-hero__orb,
  .si-hero__card--main,
  .si-hero__card--mini,
  .si-hero__ring,
  .si-hcard__bar-fill,
  .si-hero__scroll-wheel {
    animation: none !important;
  }
  [data-si-animate],
  .si-hero__copy,
  .si-hero__visual {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .si-hcard__bar-fill { width: 78%; }
}

/* ── Responsive: hero ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .si-hero__layout { gap: 2rem; padding: 5rem 1.5rem 4rem; }
  .si-hero__card--mini-1 { right: -10px; }
}

@media (max-width: 860px) {
  .si-hero__layout {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 4.5rem 1.25rem 3.5rem;
  }
  .si-hero__desc { max-width: 100%; }
  .si-hero__actions { justify-content: center; }
  .si-hero__trust { justify-content: center; }
  .si-hero__visual { min-height: 300px; margin-top: 1rem; }
  .si-hero__title-line1,
  .si-hero__title-line3 { font-size: 1.4rem; }
  .si-hero__title-line2 { font-size: 2.2rem; }
  .si-hero__card--main { max-width: 300px; }
  .si-hero__card--mini-1 { top: -10px; right: 0; }
  .si-hero__card--mini-2 { bottom: -10px; left: 0; }
  .si-hero__card--mini-3 { display: none; }
}

@media (max-width: 560px) {
  .si-hero__layout { padding: 3.5rem 1rem 3rem; }
  .si-hero__title-line2 { font-size: 1.9rem; }
  .si-hero__title-line1,
  .si-hero__title-line3 { font-size: 1.2rem; }
  .si-hero__desc { font-size: 0.94rem; }
  .si-hero__card--mini { display: none; }
  .si-hero__ring { width: 280px; height: 280px; }
  .si-hero__badge { font-size: 0.7rem; }
  .si-hero__scroll { display: none; }
  .si-hero__wave svg { height: 55px; }
  .si-hero__pills-strip { padding-bottom: 2.5rem; }
}

/* ── Responsive: rest of page ───────────────────────────────────── */
@media (max-width: 768px) {
  .si-section { padding: 3.5rem 0; }
  .si-section__title { font-size: 1.65rem; }
  .si-features { grid-template-columns: 1fr; }
  .si-stats { padding: 2rem 0; }
  .si-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
}

@media (max-width: 560px) {
  .si-journal-grid { grid-template-columns: 1fr; }
  .si-stats__grid  { grid-template-columns: repeat(2, 1fr); }
  .si-cta { padding: 3.5rem 1rem; }
  .si-cta__title { font-size: 1.5rem; }
}


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  FOOTER REDESIGN — prefix: .ft-                                 ║
   ╚══════════════════════════════════════════════════════════════════╝ */

/* ── Wrapper ───────────────────────────────────────────────────── */
.ft-root {
  position: relative;
  padding: 0;
  margin-top: 0;
}

/* ── Wave top ──────────────────────────────────────────────────── */
.ft-wave {
  position: relative;
  line-height: 0;
  z-index: 1;
  color: #070f28;          /* matches ft-body background */
  margin-bottom: -2px;
}
.ft-wave svg {
  width: 100%;
  height: 64px;
  display: block;
}

/* ── Dark body ─────────────────────────────────────────────────── */
.ft-body {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #070f28 0%, #0c1740 40%, #111f55 70%, #0a1535 100%);
  color: rgba(255,255,255,0.85);
  padding: 4rem 0 0;
}

/* ── Background orbs ───────────────────────────────────────────── */
.ft-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ft-bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: ft-orb-drift 18s ease-in-out infinite alternate;
}
.ft-bg__orb--1 {
  width: 500px; height: 500px;
  top: -180px; left: -120px;
  background: radial-gradient(circle, rgba(37,99,235,0.28) 0%, transparent 65%);
  animation-duration: 20s;
}
.ft-bg__orb--2 {
  width: 400px; height: 400px;
  bottom: 0; right: -100px;
  background: radial-gradient(circle, rgba(99,102,241,0.22) 0%, transparent 65%);
  animation-duration: 14s;
  animation-delay: -5s;
}
.ft-bg__orb--3 {
  width: 280px; height: 280px;
  top: 40%; left: 50%;
  background: radial-gradient(circle, rgba(56,189,248,0.14) 0%, transparent 65%);
  animation-duration: 24s;
  animation-delay: -10s;
}

@keyframes ft-orb-drift {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(24px,-16px) scale(1.05); }
  100% { transform: translate(-16px,12px) scale(0.97); }
}

/* Subtle dot grid */
.ft-bg__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, black 20%, transparent 80%);
}

/* ── Container ─────────────────────────────────────────────────── */
.ft-container {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── 2-row grid: brand full-width, then 3 equal cols ───────────── */
.ft-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 3rem;
  padding-bottom: 3rem;
}

/* Brand spans all 3 columns — row 1, vertical stack, centered */
.ft-col--brand {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
}

/* ── Entrance animation ────────────────────────────────────────── */
[data-ft-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
[data-ft-animate].ft-anim-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-ft-animate] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ── Brand column ──────────────────────────────────────────────── */
.ft-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* inside brand col: stack vertikal, full width */
.ft-col--brand .ft-brand  { margin-bottom: 0; }
.ft-col--brand .ft-desc   { margin: 0; max-width: 680px; }
.ft-col--brand .ft-social { flex-direction: row; margin-top: 0; }

.ft-brand__mark {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-mid) 100%);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 18px rgba(37,99,235,0.4);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
}

.ft-brand__mark:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 10px 24px rgba(37,99,235,0.5);
}

.ft-brand__kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #93c5fd;
  margin: 0 0 2px;
}

.ft-brand__name {
  font-family: var(--ma-font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}

.ft-desc {
  font-size: 0.87rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin: 0 0 1.5rem;
  max-width: 300px;
}

.ft-desc a { color: #93c5fd; }
.ft-desc a:hover { color: #bfdbfe; }

/* Social icons */
.ft-social {
  display: flex;
  gap: 8px;
}

.ft-social__link {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s,
              transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
}

.ft-social__link:hover,
.ft-social__link:focus {
  background: rgba(37,99,235,0.3);
  border-color: rgba(59,130,246,0.5);
  color: #93c5fd;
  transform: translateY(-3px);
}

/* ── Column headings ───────────────────────────────────────────── */
.ft-col__heading {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin: 0 0 1.1rem;
  position: relative;
  padding-bottom: 0.7rem;
}

.ft-col__heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c-primary-mid) 0%, var(--c-primary-light) 100%);
  transition: width 0.4s cubic-bezier(0.16,1,0.3,1);
}

.ft-col:hover .ft-col__heading::after { width: 40px; }

/* ── Nav links ─────────────────────────────────────────────────── */
.ft-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.ft-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.58);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.18s, transform 0.18s;
  position: relative;
  padding-left: 0;
}

.ft-links a::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 1.5px;
  background: var(--c-primary-light);
  border-radius: 2px;
  transition: width 0.22s ease, margin-right 0.22s ease;
  margin-right: 0;
  flex-shrink: 0;
}

.ft-links a:hover,
.ft-links a:focus {
  color: rgba(255,255,255,0.92);
  transform: translateX(4px);
}

.ft-links a:hover::before,
.ft-links a:focus::before {
  width: 12px;
  margin-right: 4px;
}

/* ── Contact list ──────────────────────────────────────────────── */
.ft-contact {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.ft-contact li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}

.ft-contact__icon {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #60a5fa;
}

.ft-contact a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.18s;
}
.ft-contact a:hover { color: #93c5fd; }

/* Info badges */
.ft-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0.25rem;
}

.ft-badge {
  padding: 3px 10px;
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 999px;
  background: rgba(59,130,246,0.1);
  color: #93c5fd;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.2s, border-color 0.2s;
}

.ft-badge:hover {
  background: rgba(59,130,246,0.2);
  border-color: rgba(59,130,246,0.5);
}

/* ── Animated divider ──────────────────────────────────────────── */
.ft-divider {
  padding: 0;
  overflow: hidden;
}

.ft-divider__line {
  height: 1px;
  width: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.08) 20%,
    rgba(59,130,246,0.35) 50%,
    rgba(255,255,255,0.08) 80%,
    transparent 100%);
  transition: width 1.2s cubic-bezier(0.16,1,0.3,1);
}

.ft-divider__line--grow { width: 100%; }

/* ── Bottom bar ────────────────────────────────────────────────── */
.ft-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.6rem 0 2rem;
}

.ft-bottom__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.38);
  margin: 0;
  line-height: 1.5;
}

.ft-bottom__center {
  text-align: center;
}

.ft-bottom__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ft-bottom__brand {
  display: flex;
  justify-content: flex-end;
}

.ft-bottom__brand img {
  max-width: 120px;
  height: auto;
  display: block;
  opacity: 0.5;
  filter: saturate(0) brightness(1.6);
  transition: opacity 0.25s, filter 0.25s;
}

.ft-bottom__brand img:hover {
  opacity: 0.8;
  filter: saturate(0.8) brightness(1.4);
}

/* ── Back-to-top (override existing) ──────────────────────────── */
body.ma-theme .ma-back-to-top {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-mid) 100%);
  box-shadow: 0 6px 20px rgba(37,99,235,0.38);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.3s ease, opacity 0.3s, visibility 0.3s;
  border-radius: 50%;
}

body.ma-theme .ma-back-to-top:hover,
body.ma-theme .ma-back-to-top:focus {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 14px 32px rgba(37,99,235,0.48);
}

/* ── Responsive ────────────────────────────────────────────────── */
/* ── Responsive footer ─────────────────────────────────────────── */

/* Tablet landscape — ≤1024px */
@media (max-width: 1024px) {
  .ft-cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem 2rem;
  }
  .ft-col--brand { gap: 0.75rem; }
  .ft-col--brand .ft-desc { max-width: 560px; }
}

/* Tablet portrait — ≤768px */
@media (max-width: 768px) {
  .ft-body { padding-top: 3rem; }

  .ft-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1.75rem;
  }

  .ft-col--brand {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
    gap: 0.7rem;
  }
  .ft-col--brand .ft-desc   { max-width: 480px; }
  .ft-col--brand .ft-social { justify-content: center; }

  .ft-col { text-align: center; }

  .ft-col__heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .ft-col:hover .ft-col__heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .ft-links a { justify-content: center; }
  .ft-links a::before { display: none; }
  .ft-links a:hover,
  .ft-links a:focus { transform: none; }

  .ft-contact { align-items: center; }
  .ft-contact li { justify-content: center; text-align: left; }
  .ft-badges { justify-content: center; }

  .ft-bottom {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.65rem;
    padding: 1.25rem 0 1.75rem;
  }
  .ft-bottom__brand  { justify-content: center; }
  .ft-bottom__copy   { text-align: center; }
  .ft-bottom__center { order: -1; }
}

/* Smartphone — ≤500px */
@media (max-width: 500px) {
  .ft-body { padding-top: 2rem; }
  .ft-wave svg { height: 40px; }

  .ft-cols {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ft-col { text-align: center; }
  .ft-contact li { justify-content: center; }
  .ft-badges { justify-content: center; }
  .ft-brand { justify-content: center; }
  .ft-brand__name { font-size: 0.95rem; }

  .ft-bottom {
    gap: 0.6rem;
    padding: 1rem 0 1.5rem;
  }
  .ft-bottom__tag { font-size: 0.65rem; white-space: normal; text-align: center; }
  .ft-bottom__brand img { max-width: 100px; }
}


/* ═══════════════════════════════════════════════════════════════════
   MOBILE NAV — PATCH SUBMENU & USER TRIGGER
   Fix: submenu floating, user trigger overflow, info table
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 920px) {

  /* ── 1. Paksa submenu tidak muncul via hover/focus-within ── */
  body.ma-theme .ma-navigation-primary > li:hover > ul,
  body.ma-theme .ma-navigation-primary > li:focus-within > ul {
    display: none;
  }

  /* ── 2. Submenu hanya muncul via kelas .is-submenu-open ── */
  body.ma-theme .ma-navigation-primary > li.is-submenu-open > ul {
    display: block;
    position: static;
    width: 100%;
    margin-top: 4px;
    margin-bottom: 4px;
    padding: 0.35rem;
    border: 1px solid var(--c-primary-line);
    border-radius: var(--r-sm);
    background: var(--c-primary-soft);
    box-shadow: none;
    min-width: 0;
    box-sizing: border-box;
  }

  body.ma-theme .ma-navigation-primary > li.is-submenu-open > ul a {
    display: block;
    width: 100%;
    padding: 0.62rem 1rem;
    border-radius: 6px;
    color: var(--c-primary);
    font-size: 0.87rem;
    font-weight: 600;
    box-sizing: border-box;
  }

  body.ma-theme .ma-navigation-primary > li.is-submenu-open > ul a:hover,
  body.ma-theme .ma-navigation-primary > li.is-submenu-open > ul a:focus {
    background: rgba(37, 99, 235, 0.1);
    color: var(--c-primary);
  }

  /* ── 3. Tombol toggle submenu ── */
  body.ma-theme .ma-submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.6rem;
    min-height: 2.6rem;
    border: 1px solid var(--c-line);
    border-radius: var(--r-sm);
    background: var(--c-surface-2);
    color: var(--c-muted);
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
    flex-shrink: 0;
  }

  body.ma-theme .ma-submenu-toggle:hover,
  body.ma-theme .ma-submenu-toggle:focus {
    background: var(--c-primary-soft);
    color: var(--c-primary);
    border-color: var(--c-primary-line);
    outline: none;
  }

  /* Ikon panah rotate saat submenu terbuka */
  body.ma-theme .ma-navigation-primary > li.is-submenu-open > .ma-submenu-toggle {
    background: var(--c-primary-soft);
    border-color: var(--c-primary-line);
    color: var(--c-primary);
  }

  body.ma-theme .ma-navigation-primary > li.is-submenu-open > .ma-submenu-toggle .fa {
    transform: rotate(180deg);
  }

  /* ── 4. Item yang punya submenu: grid 2 kolom (link | toggle) ── */
  body.ma-theme .ma-navigation-primary > li.has-submenu {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px;
    align-items: start;
  }

  body.ma-theme .ma-navigation-primary > li.has-submenu > a {
    width: 100%;
    grid-column: 1;
    grid-row: 1;
  }

  body.ma-theme .ma-navigation-primary > li.has-submenu > .ma-submenu-toggle {
    grid-column: 2;
    grid-row: 1;
  }

  body.ma-theme .ma-navigation-primary > li.has-submenu > ul {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  /* ── 5. User trigger — jangan overflow ── */
  body.ma-theme .ma-user-trigger {
    width: 100%;
    max-width: 100%;
    min-height: 2.6rem;
    box-sizing: border-box;
    overflow: hidden;
  }

  body.ma-theme .ma-user-name {
    max-width: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
  }

  body.ma-theme .ma-user-meta {
    min-width: 0;
    overflow: hidden;
  }

  /* User dropdown — full width di mobile */
  body.ma-theme .ma-user-dropdown {
    position: static;
    width: 100%;
    margin-top: 4px;
    box-shadow: none;
    border: 1px solid var(--c-line);
    border-radius: var(--r-sm);
    box-sizing: border-box;
  }

  /* ── 6. Info table jurnal — fix overflow ── */
  body.ma-theme .ma-info-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  body.ma-theme .ma-info-separator {
    display: none;
  }

  body.ma-theme .ma-info-label {
    font-size: 0.68rem;
    color: var(--c-soft);
    margin-bottom: 1px;
  }

  body.ma-theme .ma-info-value {
    font-size: 0.88rem;
    margin-bottom: 2px;
  }

  /* ── 7. Journal hero — stack vertikal ── */
  body.ma-theme .ma-journal-hero-modern {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    margin: 0;
    border-radius: var(--r-md);
  }

  body.ma-theme .ma-journal-hero-left {
    display: flex;
    justify-content: center;
  }

  body.ma-theme .ma-journal-hero-left img {
    max-width: 160px;
  }

  body.ma-theme .ma-journal-title {
    font-size: 20px;
  }

  body.ma-theme .ma-badges {
    flex-wrap: wrap;
    gap: 7px;
  }

  body.ma-theme .ma-badge {
    font-size: 11.5px;
    padding: 6px 11px;
  }
}

/* ── Sangat kecil (≤420px) ── */
@media (max-width: 420px) {
  body.ma-theme .ma-journal-hero-left img {
    max-width: 130px;
  }

  body.ma-theme .ma-journal-title {
    font-size: 18px;
  }

  body.ma-theme .ma-journal-info-table {
    padding: 12px;
  }

  body.ma-theme .ma-site-title span:last-child {
    max-width: 9rem;
    font-size: 0.82rem;
  }
}
