/* Global Settings */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  width: 100%;
}

.pkp_structure_page {
  width: 100%;
}

.container {
  padding-top: 20px;
}

/* === Header === */
header {
  text-align: start;
}
.header_view {
  background-color: #800000;
}

.header_view :hover {
  background-color: #a00000 !important;
}

header h1 {
  font-size: 2em;
  margin-top: 10px;
}

/* Styling untuk Editorial Team Custom Page */
.page_custom {
  font-family: "Segoe UI", Tahoma, sans-serif;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  background: #f9f9f9;
}

.page_custom .header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #eee;
}

.page_custom h1 {
  color: #2c3e50;
  margin-bottom: 5px;
}

.page_custom h2 {
  color: #3498db;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  margin-top: 30px;
}

.editor-card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: flex-start;
}

.editor-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 20px;
  border: 3px solid #3498db;
}

.editor-info {
  flex: 1;
}

.editor-name {
  font-weight: bold;
  font-size: 1.2em;
  color: #2c3e50;
  margin-bottom: 5px;
}

.editor-id {
  font-size: 0.9em;
  color: #7f8c8d;
  margin: 3px 0;
}

.editor-affiliation {
  font-style: italic;
  color: #16a085;
  margin-top: 10px;
}

.checkbox {
  margin-right: 10px;
}

.section-divider {
  border: 0;
  height: 1px;
  background-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0)
  );
  margin: 30px 0;
}

/* === Reviewers Section Styling === */
.page_custom .header img {
  height: 80px;
  margin-bottom: 15px;
}

.page_custom h1 {
  color: #2c3e50;
  margin-bottom: 5px;
  text-align: center;
}

.page_custom h2 {
  color: #3498db;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  margin-top: 30px;
}

.reviewer-card {
  cursor: default;
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: flex-start;
}

.reviewer-card:hover,
.editor-card:hover {
  background-color: #fff4f4;
}

.reviewer-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 20px;
  border: 3px solid #e67e22; /* warna berbeda dari editor agar visual beda */
}

.reviewer-info {
  flex: 1;
}

.reviewer-name {
  font-weight: bold;
  font-size: 1.2em;
  color: #2c3e50;
  margin-bottom: 5px;
}

.reviewer-number {
  background: #e67e22;
  color: #fff;
  padding: 4px 10px;
  border-radius: 50%;
  font-size: 0.9em;
  margin-right: 8px;
}

.reviewer-id {
  font-size: 0.9em;
  color: #7f8c8d;
  margin: 3px 0;
}

.reviewer-affiliation {
  font-style: italic;
  color: #16a085;
  margin-top: 10px;
}

/* === Navigation Bar Styling === */
.pkp_navigation_primary {
  align-items: start;
}

.pkp_navigation_primary li a {
  color: #ffffff;
  font-weight: 500;
  padding: 10px 15px;
  display: inline-block;
  transition: background 0.3s, color 0.3s;
}

.pkp_navigation_primary li a:hover {
  background-color: #a83232; /* Warna terang saat hover */
  color: #fff;
}

.pkp_navigation_primary li.current a {
  background-color: #b72b2b; /* Warna untuk tab aktif */
  color: #fff;
  font-weight: 700;
}

/* === User Menu (Register & Login) === */
.pkp_navigation_user li a {
  background-color: #a83232; /* warna merah */
  color: #fff;
  padding: 6px 12px;
  margin-left: 8px;
  border-radius: 4px;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9em;
  transition: background 0.3s ease;
}

.pkp_navigation_user li a:hover {
  background-color: #8b1d1d; /* lebih gelap saat hover */
}

/* === Search Bar Styling === */
.pkp_search input[type="text"] {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
  font-size: 0.9em;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pkp_search input[type="text"]:focus {
  border-color: #a83232;
  box-shadow: 0 0 5px rgba(168, 50, 50, 0.4);
}

.pkp_search button {
  background-color: #a83232;
  color: #fff;
  border: none;
  padding: 6px 12px;
  margin-left: 5px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s ease;
}

.pkp_search button:hover {
  background-color: #8b1d1d;
}

/* === Dropdown Menu Styling === */
.pkp_navigation_primary li ul {
  display: none;
  position: absolute;
  background: #fff;
  border: 1px solid #ccc;
  min-width: 200px;
  padding: 5px 0;
  margin: 0;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.pkp_navigation_primary li:hover ul,
.pkp_navigation_primary li:focus-within ul {
  display: block;
}

.pkp_navigation_primary li ul li {
  display: block;
  width: 100%;
}

.pkp_navigation_primary li ul li a {
  display: block;
  padding: 8px 15px;
  color: #333;
  font-size: 0.95em;
  background: transparent;
  transition: background 0.3s, color 0.3s;
}

.pkp_navigation_primary li ul li a:hover {
  background: #a83232;
  color: #fff;
}
/* -------------------------------------------------------------------- */

/* pkp struktur main */
.pkp_structure_main h3 {
  font-size: 1.7rem !important;
}

/* breadcumbs */
/* === Custom Breadcrumb Modern Flat Style === */
.cmp_breadcrumbs {
  margin: 12px 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.95em;
}

.cmp_breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.cmp_breadcrumbs li {
  display: flex;
  align-items: center;
  font-weight: 500;
  color: #555;
}

.cmp_breadcrumbs li a {
  color: #781315; /* warna tema */
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.cmp_breadcrumbs li a:hover {
  background: #781315;
  color: #fff;
}

/* Chevron separator */
.cmp_breadcrumbs li + li::before {
  content: "›"; /* bisa ganti dengan "/" */
  margin: 0 8px;
  color: #aaa;
  font-weight: normal;
}

/* Aktif (halaman terakhir) */
.cmp_breadcrumbs li:last-child {
  font-weight: 600;
  color: #222;
}

.cmp_breadcrumbs li:last-child a {
  pointer-events: none;
  background: #e9e9e9;
  color: #555;
}

/* Footer */
.pkp_structure_footer_wrapper {
  background-color: #e9e9e9;
}

.pkp_footer_content {
  width: 100%;
  margin-top: 0;
}

.footer {
  width: 100%;
  padding: 20px;
  text-align: center;
  font-family: Arial, sans-serif;
}

.footer-row {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.row-1 {
  justify-content: left;
  width: 100%;
}

.footer-logo {
  width: 250px;
  height: 90px;
}

.row-2 {
  justify-content: center;
  text-align: left;
  width: 100%;
}

.footer-column {
  margin: 0 20px;
}

.footer-bottom {
  border-top: 2px #333;
  color: #080808;
  padding: 10px 0;
  margin-top: 20px;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
}

.footer-bottom a {
  color: #781315;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.footer-bottom img {
  max-width: 100%;
  width: auto;
  height: auto;
  border-style: none;
}

.policies-container {
  width: 300px;
  font-family: Arial, sans-serif;
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(220px, 1fr)
  ); /* otomatis menyesuaikan */
}

.policies-container button {
  width: 100%;
}

/* Button Styles */
.pkp_block {
  padding-top: 0px;
  padding-bottom: 12px;
}

.download-btn,
.index,
.tools-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  font-size: 1em;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid #781315;
  background-color: transparent;
  transition: all 0.3s ease;
}

button.tools-btn {
  margin-bottom: 8px;
}

.download-btn img {
  width: 64px;
  height: 64px;
  transition: transform 0.3s ease;
}

.index img,
.tools-btn img {
  width: auto;
  height: 64px;
  transition: transform 0.3s ease;
}
.download-btn:hover,
.index:hover,
.tools-btn:hover {
  background-color: #781315;
  border-color: #781315;
  color: white;
}

.index:hover img,
.tools-btn:hover img {
  transform: scale(1.1);
  filter: brightness(0) invert(1);
}

/* Sidebar */
.title {
  font-size: 2em;
  font-weight: 600;
}

.policy-item {
  background-color: white;
  border: 2px solid #781315;
  color: #781315;
  padding: 12px;
  margin-bottom: 8px;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.policy-item:hover {
  background-color: #781315;
  color: white;
}

.page_search .submit button {
  position: relative;
  background-color: white;
  color: maroon;
  transition: background-color 0.3s, color 0.3s;
}

.page_search .submit button:hover {
  background-color: maroon;
  color: white;
}

.page_search .submit button svg {
  fill: maroon;
  transition: fill 0.3s;
}

.page_search .submit button:hover svg {
  fill: white;
}

.pkp_brand_footer {
  display: none;
}

/* pkp article */

.main_entry .item {
  padding-top: 20px;
  padding-bottom: 12px;
}

.main_entry .keywords {
  padding-bottom: 0px;
}

.main_entry section {
  border-bottom: 5px;
}

/* artikel style */
/* Container daftar artikel */
.cmp_article_list.articles {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}

.cmp_article_list > li {
  margin-bottom: 4px !important;
}

/* Setiap artikel */
.obj_article_summary {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.obj_article_summary:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Judul artikel */
.obj_article_summary .title {
  font-size: 1.2rem !important;
  font-weight: 600;
  margin-bottom: 8px;
  color: #800000; /* warna tema */
}

.obj_article_summary .title a {
  text-decoration: none;
  color: inherit;
}

.obj_article_summary .title a:hover {
  text-decoration: underline;
}

/* Meta (penulis, tanggal, dll) */
.obj_article_summary .meta {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 12px;
}

/* Link galley (PDF, HTML, dsb) */
.galleys_links {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 10px;
}

.galleys_links li {
  margin: 0;
}

.galleys_links a {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 6px;
  background: #800000;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease;
}

.galleys_links a:hover {
  background: #a00000;
}

/* Issue Details */
.obj_issue_summary .title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #800000;
  margin-bottom: 8px;
}

/* artikel details */
.pkp_structure_main .page h1 {
  font-size: 2rem;
  margin-top: 12px;
}

/* issue link on articel */
/* hanya untuk title di dalam Issue */
.item.issue .title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #800000 !important; /* merah tua */
  text-decoration: none;
  display: inline-block;
  margin-top: 6px;
}

.item.issue .title:hover {
  color: #b00000 !important; /* merah lebih terang saat hover */
  text-decoration: underline !important;
}

/* read more tombol */
.read_more {
  color: #a00000 !important;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.read_more:hover {
  text-decoration: underline !important;
  color: #781315 !important;
}

/* text-suthor */
/* Biar author, afiliasi, dan role sejajar */
.authors li {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 14px;
  line-height: 1.5;
}

.authors .name {
  font-weight: bold;
}

.authors .affiliation,
.authors .userGroup {
  font-style: italic;
  color: #555 !important;
}

.authors .affiliation::before {
  content: "(";
}

.authors .affiliation::after {
  content: ")";
}

.authors .userGroup::before {
  content: " – ";
}

.obj_article_details .sub_item {
  margin-bottom: 4px !important;
}

/* === Responsive Design === */
@media (max-width: 768px) {
  .container {
    padding-top: 10px;
  }

  header {
    padding: 15px 10px;
  }

  header h1 {
    font-size: 1.5em;
  }

  .page_custom {
    padding: 15px;
  }

  .editor-card,
  .reviewer-card {
    flex-direction: column;
    text-align: center;
  }

  .editor-photo,
  .reviewer-photo {
    margin-bottom: 10px;
    max-width: 80px;
    height: 80px;
  }

  .footer-row {
    flex-direction: column;
    align-items: center;
  }

  .footer-column {
    margin: 5px 0;
  }

  .index img,
  .tools-btn img {
    width: auto;
    height: 50px;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.2em;
  }

  .footer-bottom p {
    font-size: 12px;
  }

  .page_custom h1 {
    font-size: 1.5em;
  }

  .footer-logo {
    width: 200px;
  }
}

/* Tablet dan Mobile */
@media (max-width: 768px) {
  .policies-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* selalu 2 kolom */
    gap: 8px; /* jarak antar kotak */
  }
}

@media (max-width: 480px) {
  .policies-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* selalu 2 kolom */
    gap: 5px;
  }
  .policy-item {
    height: 70px;
  }
}
/* End of Global Styles */
