/* ==========================================
   E-Journal Akiopedia Press - Main Stylesheet
   Theme: Warm Orange / Amber
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Merriweather:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  /* === New Orange/Warm Palette === */
  --primary: #d4561a;         /* Burnt Orange */
  --primary-dark: #b84211;
  --primary-light: #e8763a;
  --primary-xlight: #fff4ee;
  --secondary: #fff8f4;
  --accent: #f59e0b;          /* Golden Amber */
  --accent-dark: #d97706;
  --header-bg: #1a0a02;       /* Very Dark Brown / Near Black */
  --header-top: #d4561a;      /* Orange top strip */
  --nav-bg: linear-gradient(90deg, #c04415 0%, #e07830 60%, #d4561a 100%);
  --footer-bg: linear-gradient(135deg, #1a0a02 0%, #2d1105 50%, #3d1a08 100%);

  --text-dark: #1c1c1c;
  --text-muted: #6c757d;
  --border: #e8ddd7;
  --bg-light: #fdf6f2;
  --bg-white: #ffffff;
  --shadow: 0 2px 12px rgba(180,65,17,0.09);
  --shadow-hover: 0 8px 32px rgba(180,65,17,0.20);
  --radius: 8px;
  --transition: 0.22s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 14.5px;
  color: var(--text-dark);
  background: #f5ede8;
  line-height: 1.7;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* ==========================================
   PAGE STRUCTURE
   ========================================== */
.pkp_structure_page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==========================================
   HEADER — Orange top strip + dark bar
   ========================================== */
.pkp_structure_head {
  background: var(--header-bg);
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Thin top accent line */
.pkp_structure_head::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b 0%, #d4561a 50%, #f59e0b 100%);
}

.pkp_head_wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}

.pkp_site_name_wrapper {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 14px 0;
}

.pkp_site_name img {
  height: 55px;
  width: auto;
  display: block;
}

.pkp_site_name a.text-logo {
  display: block;
  text-decoration: none;
}

.logo-text-primary {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Merriweather', serif;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.logo-text-sub {
  display: block;
  font-size: 11.5px;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  margin-top: 3px;
}

.pkp_site_nav_toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 18px;
  margin-right: 12px;
}

/* Nav */
.pkp_site_nav_menu {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.pkp_navigation_primary_row {
  background: var(--nav-bg);
  margin-left: 20px;
}

.pkp_navigation_primary_wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#navigationPrimary {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

#navigationPrimary > li > a {
  display: block;
  padding: 12px 16px;
  color: rgba(255,255,255,0.92);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.2px;
}

#navigationPrimary > li > a:hover,
#navigationPrimary > li.active > a {
  background: rgba(0,0,0,0.25);
  color: #fff;
  text-decoration: none;
}

#navigationPrimary li { position: relative; }

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-hover);
  z-index: 999;
  list-style: none;
  padding: 6px 0;
}

#navigationPrimary li:hover .dropdown-menu { display: block; }

.dropdown-menu li a {
  display: block;
  padding: 9px 18px;
  color: var(--text-dark);
  font-size: 13px;
  transition: background var(--transition), color var(--transition);
}

.dropdown-menu li a:hover {
  background: var(--primary-xlight);
  color: var(--primary);
  text-decoration: none;
}

/* Search */
.pkp_navigation_search_wrapper { padding: 0 16px; }
.pkp_search {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  gap: 6px;
  padding: 8px 0;
  text-decoration: none;
}
.pkp_search:hover { color: var(--accent); text-decoration: none; }

/* Skip links */
.cmp_skip_to_content { position: absolute; top: -100px; left: 0; z-index: 9999; }

/* ==========================================
   CONTENT STRUCTURE
   ========================================== */
.pkp_structure_content {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 24px 20px;
  gap: 24px;
  flex: 1;
}

.pkp_structure_main { flex: 1; min-width: 0; }
.pkp_structure_sidebar { flex: 0 0 280px; order: -1; }

/* ==========================================
   HOMEPAGE — New journal-card style
   ========================================== */

/* Hero banner strip */
.homepage-hero {
  background: var(--nav-bg);
  border-radius: var(--radius);
  margin-bottom: 24px;
  overflow: hidden;
  position: relative;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-hover);
}

.homepage-hero img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  display: block;
  opacity: 0.88;
}

.homepage-hero-text {
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, rgba(26,10,2,0.62) 0%, rgba(212,86,26,0.45) 100%);
}
.homepage-hero-text h2 {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  font-family: 'Merriweather', serif;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  margin-bottom: 8px;
}
.homepage-hero-text p {
  color: rgba(255,255,255,0.88);
  font-size: 13.5px;
}

/* Section headers on homepage */
.homepage-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--primary);
}

.homepage-section-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  font-family: 'Merriweather', serif;
  display: flex;
  align-items: center;
  gap: 10px;
}

.homepage-section-header h2 .fa {
  font-size: 18px;
  color: var(--accent);
}

.homepage-section-header a {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Journal card — OJS-style but premium */
.journal-card-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.journal-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  gap: 0;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  box-shadow: var(--shadow);
}

.journal-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.journal-card-thumb {
  flex: 0 0 160px; /* Standard book width */
  background: #fdfdfd;
  display: flex;
  align-items: flex-start; /* Align top instead of center to prevent weird flex stretches */
  justify-content: center;
  border-right: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  padding: 18px 14px; /* give it breathing room */
}

.journal-card-thumb img {
  width: 100%;
  aspect-ratio: 3/4; /* STRICT BOOK COVER RATIO */
  object-fit: cover; /* Crop center/top cleanly */
  object-position: top center;
  display: block;
  box-shadow: -2px 0 5px rgba(0,0,0,0.05), 4px 4px 12px rgba(0,0,0,0.15); /* book shadow */
  border-radius: 2px 5px 5px 2px; /* book spine feel */
}

.journal-card-thumb .no-cover {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, var(--primary-xlight), #ffe8d6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  padding: 12px;
}
.journal-card-thumb .no-cover .fa { font-size: 36px; margin-bottom: 8px; }
.journal-card-thumb .no-cover span { font-size: 13px; font-weight: 700; text-align: center; color: var(--primary-dark); }

.journal-card-body {
  flex: 1;
  padding: 20px 22px;
  min-width: 0;
}

.journal-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 14px;
  font-family: 'Merriweather', serif;
  line-height: 1.4;
}

.journal-card-body h3 a {
  color: inherit;
  text-decoration: none;
}
.journal-card-body h3 a:hover { color: var(--primary); text-decoration: underline; }

/* Info table inside card */
.journal-info-table {
  border: 3px dashed var(--primary);
  border-radius: 6px;
  padding: 12px 14px;
  background: #fff;
  margin-bottom: 14px;
  font-size: 13px;
}

.journal-info-table table { width: 100%; border-collapse: collapse; }
.journal-info-table td { padding: 4px 6px; vertical-align: top; color: #333; }
.journal-info-table td:first-child { width: 38%; font-weight: 700; white-space: nowrap; }

.journal-card-desc {
  font-size: 13.5px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.journal-card-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.journal-card-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}

.journal-card-links .btn-view {
  background: var(--primary);
  color: #fff;
}
.journal-card-links .btn-view:hover {
  background: var(--primary-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.journal-card-links .btn-current {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.journal-card-links .btn-current:hover {
  background: var(--primary-xlight);
  text-decoration: none;
}

/* Stats badges inline */
.card-stats {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}
.card-stats span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-light);
  padding: 3px 10px;
  border-radius: 20px;
}
.card-stats .fa { color: var(--primary); }

/* About journal section on homepage */
.homepage_about {
  background: var(--bg-white);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.homepage_about h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--primary);
  font-family: 'Merriweather', serif;
}

.journal-info-box {
  border: 3px dashed var(--primary);
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
  margin-bottom: 18px;
}
.journal-info-box table { width: 100%; border-collapse: collapse; }
.journal-info-box td { padding: 6px 8px; font-size: 13.5px; vertical-align: top; }
.journal-info-box td:first-child { width: 38%; font-weight: 600; color: #333; white-space: nowrap; }
.homepage_about p { font-size: 14px; color: #444; line-height: 1.75; margin-top: 14px; }

/* ==========================================
   SIDEBAR
   ========================================== */
.pkp_block {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pkp_block h2.title {
  background: var(--nav-bg);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 10px 14px;
  margin: 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pkp_block .content { padding: 14px; }

/* ISSN Block */
.issn-table { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.issn-table th {
  background: var(--nav-bg);
  color: #fff;
  text-align: center;
  padding: 8px;
  font-size: 12px;
  font-weight: 700;
}
.issn-table td {
  text-align: center;
  padding: 8px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

/* Main menu */
.head-menu {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--nav-bg);
  padding: 8px 14px;
  margin: 0 -14px 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.menu-sidebar ul { list-style: none; padding: 0; }
.menu-sidebar ul li { border-bottom: 1px solid #f0e8e0; }
.menu-sidebar ul li:last-child { border-bottom: none; }
.menu-sidebar ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px;
  font-size: 12.5px;
  color: #333;
  transition: all var(--transition);
}
.menu-sidebar ul li a:hover {
  color: var(--primary);
  text-decoration: none;
  padding-left: 8px;
}
.menu-sidebar ul li a .fa {
  color: var(--primary);
  width: 16px;
  text-align: center;
  font-size: 13px;
}

/* Popular */
.most_read { list-style: none; padding: 0; }
.most_read_article { padding: 10px 0; border-bottom: 1px solid #f0e8e0; }
.most_read_article:last-child { border-bottom: none; }
.most_read_article_title a {
  font-size: 12.5px;
  color: #333;
  line-height: 1.5;
  display: block;
  margin-bottom: 4px;
}
.most_read_article_title a:hover { color: var(--primary); }
.most_read_article_journal { font-size: 11.5px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }

/* Keywords cloud */
.keyword-cloud { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 0; }
.keyword-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid;
}
.keyword-tag:hover {
  transform: scale(1.08);
  text-decoration: none;
  filter: brightness(0.88);
}

/* Information block */
.block_information ul { list-style: none; padding: 0; }
.block_information ul li { border-bottom: 1px solid #f0e8e0; }
.block_information ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 4px;
  font-size: 13px;
  color: var(--primary);
}
.block_information ul li a:hover { text-decoration: none; font-weight: 600; }

/* ==========================================
   PAGE SECTIONS
   ========================================== */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 30px;
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.page-header h1 { font-size: 22px; font-weight: 700; font-family: 'Merriweather', serif; }
.page-header p { font-size: 14px; opacity: 0.85; margin-top: 6px; }

.content-card {
  background: var(--bg-white);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.content-card h2, .content-card h3 {
  font-size: 18px;
  color: var(--primary-dark);
  margin-bottom: 16px;
  font-family: 'Merriweather', serif;
}
.content-card h4 { font-size: 15px; color: #333; margin: 18px 0 10px; }
.content-card p { margin-bottom: 14px; color: #444; font-size: 14px; line-height: 1.8; }
.content-card ul, .content-card ol { padding-left: 22px; margin-bottom: 14px; }
.content-card li { margin-bottom: 6px; font-size: 14px; line-height: 1.7; }
.content-card table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.content-card table th { background: var(--primary); color: #fff; padding: 10px 14px; text-align: left; font-size: 13px; }
.content-card table td { padding: 10px 14px; border: 1px solid var(--border); font-size: 13.5px; }
.content-card table tr:nth-child(even) td { background: var(--bg-light); }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--text-dark); font-weight: 500; }

/* Archives */
.archive-year-group { margin-bottom: 28px; }
.archive-year-group h3 {
  font-size: 17px;
  color: var(--primary-dark);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 8px;
  margin-bottom: 14px;
  font-family: 'Merriweather', serif;
}

.issue-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: #fff;
  transition: box-shadow var(--transition);
}
.issue-card:hover { box-shadow: var(--shadow-hover); }
.issue-card .cover img { width: 60px; border-radius: 4px; }
.issue-card .info { flex: 1; }
.issue-card .info h4 { font-size: 14.5px; font-weight: 600; color: var(--primary-dark); margin-bottom: 4px; }
.issue-card .info p { font-size: 12.5px; color: var(--text-muted); margin: 0; }
.issue-card .btn-view {
  display: inline-block;
  padding: 7px 16px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition);
}
.issue-card .btn-view:hover { background: var(--primary-dark); text-decoration: none; }

/* Article listing in issue/index */
.current_issue {
  background: var(--bg-white);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.current_issue > h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--primary);
  font-family: 'Merriweather', serif;
}
.current_issue_title {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--primary-xlight);
  padding: 10px 16px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  border-left: 4px solid var(--primary);
}

.obj_issue_toc .heading { display: flex; gap: 20px; margin-bottom: 24px; align-items: flex-start; flex-wrap: wrap; }
.obj_issue_toc .heading .cover img { width: 110px; border-radius: 4px; box-shadow: var(--shadow); }
.obj_issue_toc .heading .description { flex: 1; font-size: 13.5px; color: #555; line-height: 1.7; }
.obj_issue_toc .heading .published { font-size: 13px; color: var(--text-muted); margin-top: 10px; }
.obj_issue_toc .heading .published .label { font-weight: 600; }

.sections .section h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
  border-left: 4px solid var(--primary);
  padding: 7px 14px;
  margin-bottom: 16px;
  background: var(--primary-xlight);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.cmp_article_list { list-style: none; padding: 0; }
.obj_article_summary { padding: 18px 0; border-bottom: 1px solid #f0e8e0; }
.obj_article_summary:last-child { border-bottom: none; }

.obj_article_summary .title { font-size: 15px; font-weight: 600; margin-bottom: 8px; line-height: 1.5; }
.obj_article_summary .title a { color: var(--primary-dark); }
.obj_article_summary .title a:hover { color: var(--primary); }

.obj_article_summary .meta {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.obj_article_summary .authors { font-style: italic; }
.obj_article_summary .pages { background: var(--primary-xlight); padding: 2px 10px; border-radius: 20px; color: var(--primary); font-weight: 500; }

.galleys_links { list-style: none; padding: 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.obj_galley_link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--transition);
}
.obj_galley_link.pdf { background: #e74c3c; color: #fff; }
.obj_galley_link.pdf:hover { background: #c0392b; color: #fff; text-decoration: none; }

.stats-badge { font-size: 12.5px; color: var(--text-muted); display: flex; gap: 12px; align-items: center; }
.stats-badge span { display: flex; align-items: center; gap: 4px; }
.stats-badge .fa { color: var(--primary); }

.read_more {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 24px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 13.5px;
  transition: all var(--transition);
}
.read_more:hover { background: var(--primary-dark); color: #fff; text-decoration: none; transform: translateY(-1px); }

/* Article Detail */
.article-detail .article-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.45;
  margin-bottom: 18px;
  font-family: 'Merriweather', serif;
}

.article-meta { display: flex; gap: 6px 20px; flex-wrap: wrap; margin-bottom: 20px; font-size: 13px; }
.article-meta .badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: var(--primary-xlight);
  color: var(--primary);
  border-radius: 20px;
  font-weight: 500;
}

.article-authors { margin-bottom: 18px; }
.author-item { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f5ede8; align-items: flex-start; }
.author-item .fa { color: var(--primary); margin-top: 2px; }
.author-item-name { font-weight: 600; font-size: 14px; }
.author-item-affil { font-size: 12.5px; color: var(--text-muted); }

.article-abstract { margin-bottom: 20px; }
.article-abstract p { font-size: 14px; color: #444; line-height: 1.85; text-align: justify; }

.article-keywords .keyword-tag { margin-bottom: 6px; }

.article-downloads .btn-pdf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #e74c3c;
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all var(--transition);
}
.article-downloads .btn-pdf:hover { background: #c0392b; color: #fff; text-decoration: none; transform: translateY(-2px); }

.article-stats {
  display: flex;
  gap: 20px;
  padding: 16px;
  background: var(--bg-light);
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.stat-item { text-align: center; }
.stat-number { font-size: 24px; font-weight: 700; color: var(--primary); }
.stat-label { font-size: 11.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

.cite-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  font-size: 13px;
  color: #444;
  font-style: italic;
  position: relative;
}

/* Search */
.search-form-card {
  background: var(--bg-white);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 24px;
  display: flex;
  gap: 10px;
}
.search-form-card input[type="text"] {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  outline: none;
  font-family: inherit;
}
.search-form-card input[type="text"]:focus { border-color: var(--primary); }
.search-form-card button {
  padding: 10px 22px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
  font-family: inherit;
}
.search-form-card button:hover { background: var(--primary-dark); }

/* Announcements */
.announcement-card {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  margin-bottom: 16px;
  transition: box-shadow var(--transition);
}
.announcement-card:hover { box-shadow: var(--shadow-hover); }
.announcement-card h3 a { font-size: 16px; color: var(--primary-dark); }
.announcement-card h3 a:hover { color: var(--primary); }
.announcement-card .date { font-size: 12px; color: var(--text-muted); margin: 6px 0 10px; display: flex; align-items: center; gap: 5px; }
.announcement-card p { font-size: 13.5px; color: #555; }

/* Auth */
.auth-container { max-width: 500px; margin: 40px auto; }
.auth-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-hover);
  overflow: hidden;
}
.auth-header { background: var(--nav-bg); color: #fff; padding: 24px 28px; text-align: center; }
.auth-header h2 { font-size: 22px; font-weight: 700; }
.auth-header p { font-size: 13px; opacity: 0.85; margin-top: 5px; }
.auth-body { padding: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; color: #444; margin-bottom: 6px; }
.form-control {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: inherit;
  background: #fff;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(212,86,26,0.1); }
textarea.form-control { min-height: 100px; resize: vertical; }
.auth-footer { padding: 18px 28px; text-align: center; font-size: 13.5px; color: var(--text-muted); border-top: 1px solid var(--border); }

.btn-primary {
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-primary:hover { background: var(--primary-dark); text-decoration: none; color: #fff; }

/* Alert */
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; font-size: 13.5px; display: flex; align-items: flex-start; gap: 10px; }
.alert-success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.alert-danger { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.alert-info { background: #fff8ee; color: var(--primary-dark); border: 1px solid #ffd9b7; }

/* Team cards */
.team-group { margin-bottom: 32px; }
.team-group h3 {
  font-size: 17px;
  color: var(--primary-dark);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 8px;
  margin-bottom: 18px;
  font-family: 'Merriweather', serif;
}
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.team-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  transition: box-shadow var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-hover); }
.team-avatar {
  width: 70px; height: 70px;
  background: var(--primary-xlight);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 28px;
  margin: 0 auto 12px;
  overflow: hidden;
}
.team-name { font-weight: 700; font-size: 14px; color: var(--text-dark); margin-bottom: 4px; }
.team-role { font-size: 12.5px; color: var(--primary); font-weight: 600; margin-bottom: 4px; }
.team-affil { font-size: 12px; color: var(--text-muted); }

/* Pagination */
.pagination { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 20px; }
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 4px 10px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--primary);
  text-decoration: none;
  transition: all var(--transition);
}
.pagination a:hover { background: var(--primary); color: #fff; border-color: var(--primary); text-decoration: none; }
.pagination .active { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .dots { background: none; border: none; color: var(--text-muted); cursor: default; }

/* ==========================================
   FOOTER — Very Dark Brown / Warm
   ========================================== */
.pkp_structure_footer_wrapper {
  background: var(--footer-bg);
  margin-top: 32px;
}

.pkp_structure_footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 24px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.pkp_footer_content {
  flex: 1;
  min-width: 200px;
  color: rgba(255,255,255,0.7);
  font-size: 13.5px;
  line-height: 1.8;
}
.pkp_footer_content strong { color: #fff; }
.pkp_footer_content a { color: var(--accent); }
.pkp_footer_content a:hover { color: #fff; }
.pkp_footer_content hr { border-color: rgba(255,255,255,0.12); margin: 14px 0; }

.pkp_brand_footer { text-align: right; }

.footer-bottom {
  background: rgba(0,0,0,0.4);
  text-align: center;
  padding: 14px 20px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--accent); }

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 900;
  transition: all var(--transition);
  text-decoration: none;
}
.whatsapp-float:hover { background: #1da851; transform: scale(1.1); text-decoration: none; color: #fff; }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 900px) {
  .pkp_structure_content { flex-direction: column; }
  .pkp_structure_sidebar { flex: none; width: 100%; order: 0; }
  .journal-card { flex-direction: column; }
  .journal-card-thumb { flex: none; width: 100%; height: 180px; }
  .journal-card-thumb img { width: 100%; height: 180px; }
}

@media (max-width: 768px) {
  .pkp_site_nav_toggle { display: flex; }
  .pkp_navigation_primary_row { display: none; margin: 0; }
  .pkp_navigation_primary_row.open { display: block; }
  #navigationPrimary { flex-direction: column; }
  #navigationPrimary > li > a { padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .pkp_structure_footer { flex-direction: column; }
  .pkp_brand_footer { text-align: left; }
  .homepage-hero-text h2 { font-size: 18px; }
}

@media (max-width: 576px) {
  .content-card { padding: 16px; }
  .journal-info-table td:first-child { width: 45%; }
  .article-detail .article-title { font-size: 18px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
