/* ==========================================
   IMPROVED OJS JOURNAL CUSTOM CSS
   Modern, Professional, Academic Style
   ========================================== */

/* Google Fonts Import */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

/* ==========================================
   GLOBAL STYLES & RESET
   ========================================== */

html {
  background: transparent !important;
  margin: 0;
  padding: 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: inherit;
}

body {
  font-family: "Poppins", sans-serif;
  background: url("https://i.pinimg.com/736x/c3/21/94/c3219466e6ec6dfc1181e31336bfc6d1.jpg");
  background-size: 30% !important;
  min-height: 100vh;
  line-height: 1.6;
  color: #333;
  margin: 0 !important;
  padding: 0 !important;
}

/* "https://i.pinimg.com/736x/6f/76/97/6f769766a1ebea9f1b9c92281df8c518.jpg */

/* Homepage About */
.homepage_about h2 {
  color: #e6a500;
}

/* Current issue */
.current_issue h2 {
  color: #e6a500;
}

/* galleys_links */
.galleys_links {
  display: flex;
  align-items: center;
  gap: 5px;
}

.galleys_links img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: inline-block;
  flex-shrink: 0;
}

/* Detail Journal */
.main_entry {
  padding: 20px;
}

/* Link Styles */
a {
  color: #012060;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

a:hover {
  color: #0071c1;
}

header {
  background-color: #fff !important;
  color: #fff !important;
  margin: 0 !important;
  padding: 0 !important;
}

section {
  margin: 0 !important;
  padding: 0 !important;
}

.pkp_head_wrapper {
  padding: 0 !important;
  margin: 0 !important;
}

.pkp_navigation_user pkp_nav_list {
  display: none !important;
}

#navigationUser {
  display: none !important;
}

/* ==========================================
   NAVIGATION STYLES - MODERN HOVER EFFECTS
   ========================================== */

/* Primary Navigation */
.pkp_navigation_primary_row {
  background: linear-gradient(135deg, #012060 0%, #1e3a8a 100%) !important;
  box-shadow: 0 4px 15px rgba(1, 32, 96, 0.2);
  position: relative;
  overflow: hidden;
}

.pkp_navigation_primary_row::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.8s ease-in-out;
  z-index: 1;
}

.pkp_navigation_primary_row:hover::before {
  left: 100%;
}

.pkp_navigation_primary_wrapper {
  padding-top: 5px;
  padding-left: 5px;
  padding-right: 5px;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li {
  padding: 0 !important;
  margin: 0 !important;
  position: relative;
  overflow: hidden;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a {
  margin: 0 !important;
  padding: 0px 20px !important;
  line-height: 40px !important;
  font-family: "Poppins", helvetica, sans-serif;
  color: #ffffff !important;
  font-weight: 500 !important;
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 2;
}

/* User Navigation */
.pkp_navigation_user_wrapper {
  top: 0;
  right: 0;
  padding: 0;
}

.pkp_navigation_user_wrapper .pkp_navigation_user {
  font-family: "Poppins", helvetica, sans-serif;
  font-weight: 400;
  border-bottom: 2px solid #ffb700;
}

.pkp_navigation_user_wrapper .pkp_navigation_user > li.profile {
  font-family: "Poppins", helvetica, sans-serif;
  background: linear-gradient(135deg, #15152f, #1e1e3f);
  color: #fff;
  border-radius: 25px;
  margin: 5px;
  transition: all 0.3s ease-in-out;
}

.pkp_navigation_user_wrapper .pkp_navigation_user > li.profile:hover {
  background: linear-gradient(135deg, #1e1e3f, #2a2a5f);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(21, 21, 47, 0.3);
}

.pkp_navigation_user_wrapper .pkp_navigation_user > li.profile > a {
  font-family: "Poppins", helvetica, sans-serif;
  font-weight: 400 !important;
  padding: 8px 15px;
  color: #fff;
  border-radius: 25px;
  transition: all 0.3s ease-in-out;
}

/* search */
.pkp_navigation_search_wrapper a {
  margin-top: 3px;
}

/* ==========================================
   SITE HEADER & STRUCTURE
   ========================================== */

.pkp_site_name {
  border-top: 5px solid #ffb700;
  max-height: 295px;
  padding: 0 !important;
  margin: 0 !important;
}

.pkp_site_name > a {
  padding: 0;
}

.pkp_site_name_wrapper {
  padding: 0;
  margin: 0;
}

.pkp_site_name .is_img img {
  margin-top: -5px;
  max-height: 100% !important;
  min-width: 100%;
  object-fit: cover;
  transition: all 0.3s ease-in-out;
}

.pkp_structure_page {
  margin: 20px auto !important;
  width: 1160px;
  padding: 0 !important;
  background: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* ==========================================
   BUTTONS & INTERACTIVE ELEMENTS
   ========================================== */
.cmp_button_wire,
.obj_galley_link {
  background: linear-gradient(135deg, #012060, #1e3a8a);
  border: 2px solid #012060;
  color: #fff;
  padding: 5px 20px;
  border-radius: 10px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.cmp_button_wire::before,
.obj_galley_link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0071c1, #3b82f6);
  transition: left 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

.cmp_button_wire:hover::before,
.obj_galley_link:hover::before {
  left: 0;
}

.cmp_button_wire:hover,
.obj_galley_link:hover {
  box-shadow: 0 8px 25px rgba(1, 32, 96, 0.3);
  color: #fff;
}

/* ==========================================
   ARTICLE SUMMARIES & CONTENT
   ========================================== */
.obj_article_summary {
  border: 2px solid #e5e9f0;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(1, 32, 96, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.obj_article_summary h4 a {
  color: #533c00;
}

.obj_article_summary h4 a:hover {
  color: #e6a500;
}

.obj_article_summary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #012060, #0071c1, #00d4ff);
  transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.obj_article_summary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(1, 32, 96, 0.15);
  border-color: #0071c1;
}

.obj_article_summary:hover::before {
  left: 0;
}

/* Article List Background */
.obj_issue_toc .articles > li {
  margin-bottom: 0 !important;
  /* border-bottom: 2px solid rgba(15, 2, 48, 0.1); */
  padding: 2rem;
  border-radius: 12px;
}

.obj_issue_toc .articles > li:hover {
  transform: translateY(-3px);
}

.obj_issue_toc .articles li {
  padding: 10px;
}

/* Make Submission Button */
.pkp_block.block_make_submission .content {
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

.pkp_block.block_make_submission .content a {
  background: linear-gradient(135deg, #012060, #1e3a8a);
  line-height: 50px;
  font-family: "Poppins", helvetica, sans-serif;
  color: #ffffff;
  display: block;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.pkp_block.block_make_submission .content a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0071c1, #3b82f6);
  transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

.pkp_block.block_make_submission .content a:hover::before {
  left: 0;
}

.pkp_block.block_make_submission .content a:hover {
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(1, 32, 96, 0.3);
}

/* ==========================================
   TYPOGRAPHY & HEADINGS
   ========================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", helvetica, sans-serif;
  color: #012060;
  margin-bottom: 10px;
}

.obj_article_details .abstract {
  text-align: justify;
  line-height: 1.8;
}

/* ==========================================
   FOOTER STYLES
   ========================================== */
.pkp_structure_footer_wrapper {
  border-bottom: none !important;
  margin-top: 50px;
}

.pkp_structure_footer {
  position: relative;
  background: #ffb700;
  width: 100%;
}

.pkp_structure_footer .pkp_footer_content {
  background: transparent;
  padding: 30px !important;
}

.pkp_structure_footer .pkp_footer_content p {
  margin: 0;
  color: #ffffff;
}

.pkp_structure_footer .pkp_brand_footer {
  background: transparent;
  height: auto !important;
  padding: 20px;
}

.pkp_structure_footer .pkp_brand_footer img {
  width: 48px !important;
  height: auto;
  transition: all 0.3s ease-in-out;
}

.pkp_structure_footer .pkp_brand_footer img:hover {
  transform: scale(1.1);
}

.pkp_structure_footer .pkp_footer_content img {
  width: 88px;
  height: 31px;
  transition: all 0.3s ease-in-out;
}

.pkp_structure_footer .pkp_footer_content div.logo img {
  width: 65px;
  height: 65px;
}

.pkp_structure_footer .pkp_footer_content div.logo2 img {
  width: 88px;
  height: 31px;
}

/* Modern Footer */
footer {
  position: relative;
  background: #ffb700;
  width: 100%;
  color: white;
}

footer .content {
  max-width: 1250px;
  margin: auto;
  padding: 40px;
}

footer .content .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
}

.content .top .logo-details {
  color: #fff;
  font-size: 30px;
  font-weight: 600;
}

.content .top .media-icons {
  display: flex;
  gap: 10px;
}

.content .top .media-icons a {
  height: 45px;
  width: 45px;
  border-radius: 50%;
  text-align: center;
  line-height: 45px;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.content .top .media-icons a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

.content .top .media-icons a:hover::before {
  transform: scale(1);
}

.content .top .media-icons a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Social Media Colors */
.top .media-icons a:nth-child(1) {
  background: #4267b2;
}
.top .media-icons a:nth-child(2) {
  background: #1da1f2;
}
.top .media-icons a:nth-child(3) {
  background: #e1306c;
}
.top .media-icons a:nth-child(4) {
  background: #0077b5;
}
.top .media-icons a:nth-child(5) {
  background: #ff0000;
}

/* ==========================================
   DOI & STATS ICONS
   ========================================== */
.obj_article_summary .item.doi .label {
  background: url(/public/journals/8/images/icon-doi.png) left center no-repeat;
  width: 25px !important;
  height: 24px !important;
  color: transparent;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.obj_article_summary .item.stats .abstract,
.obj_article_summary .item.stats .galley {
  position: relative;
}

.obj_article_summary .item.stats .abstract {
  margin-left: 20px;
  margin-right: 10px;
}

.obj_article_summary .item.stats .galley {
  margin-left: 25px;
}

.obj_article_summary .item.stats .abstract:before {
  content: "\f080";
  font-family: FontAwesome;
  left: -15px;
  position: absolute;
  top: 0;
}

.obj_article_summary .item.stats .galley:before {
  content: "\f1c1";
  font-family: FontAwesome;
  left: -15px;
  position: absolute;
  top: 0;
}

/* ==========================================
   TABLE HOVER EFFECTS
   ========================================== */
tr:hover {
  background: linear-gradient(
    90deg,
    rgba(124, 131, 227, 0.1),
    rgba(124, 131, 227, 0.2)
  );
  transform: translateX(2px);
  transition: all 0.3s ease-in-out;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1200px) {
  .pkp_structure_page {
    margin: 20px auto;
    width: 95%;
  }
}

@media (max-width: 768px) {
  .pkp_structure_page {
    margin: 10px auto;
    width: 98%;
  }

  .pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a {
    padding: 0 10px !important;
    font-size: 14px;
  }

  .obj_article_summary {
    padding: 15px;
  }

  footer .content {
    padding: 20px;
  }

  .content .top {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a {
    line-height: 40px !important;
    padding: 0 8px !important;
  }

  .obj_article_summary {
    padding: 10px;
  }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  zoom: 1;
}

/* Sidebar Block Styling */
.sidebar-block {
  background: linear-gradient(135deg, #bcd2e7, #a8c5e8);
  padding: 10px 15px;
  color: #012060;
  margin: 15px -15px;
  border-radius: 8px;
  font-weight: 500;
}

/* Announcements */
.cmp_announcements .obj_announcement_summary.full_width {
  width: 100% !important;
}

.cmp_announcements .obj_announcement_summary .summary p {
  line-height: 1.6;
  margin-top: 0 !important;
  margin-bottom: 1em !important;
}

/* ================================
   CUSTOM NAV ITEMS STYLE
   Primary Color: #0F0F43 (Biru Tua)
   ================================ */

/* Semua link menu utama */
.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a {
  color: #0f0f43 !important;
  font-weight: 600;
  background: transparent;
  transition: all 0.3s ease-in-out;
}

/* Hover link menu utama */
.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a:hover {
  background: rgba(15, 15, 67, 0.1);
  color: #0f0f43 !important;
  text-shadow: none;
  transform: none;
}

/* Garis bawah hover menu utama */
.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a::before {
  background: #0f0f43 !important;
}

/* Background sub-menu */
.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li ul {
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Link sub-menu */
.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li ul li a {
  color: #111827 !important;
  font-weight: 500;
}

/* Hover sub-menu */
.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li ul li:hover {
  background: rgba(15, 15, 67, 0.1) !important;
  transform: none;
}

/* Main Menu di Sidebar */
table.main-menu {
  border: 1px solid #ffb700 !important;
}

table.main-menu td {
  border-bottom: 1px solid #ffb70033;
}

table.main-menu strong {
  color: #ffb700 !important;
}

table.main-menu a {
  color: #111827 !important;
  font-weight: 500;
  transition: color 0.2s ease;
}

table.main-menu a:hover {
  color: #ffb700 !important;
}

/* Tombol PDF & Submit */
.cmp_button_wire,
.obj_galley_link {
  background: #ffb700 !important;
  border: 2px solid #ffb700 !important;
  color: #111827 !important;
  font-weight: 600;
}

.cmp_button_wire:hover,
.obj_galley_link:hover {
  background: #e6a500 !important;
  color: #111827 !important;
  box-shadow: 0 8px 25px rgba(255, 183, 0, 0.3);
}

/* Garis hover artikel */
.obj_article_summary::before {
  background: #ffb700 !important;
}

/* Hover artikel */
.obj_article_summary:hover {
  border-color: #ffb700 !important;
}

/* Sidebar Menu Hover */
#customblock-Sidebar_menu.pkp_block ul li:hover {
  background: rgba(255, 183, 0, 0.1) !important;
  transform: none;
  box-shadow: 0 4px 15px rgba(255, 183, 0, 0.2);
}

#customblock-Sidebar_menu.pkp_block ul li:hover a {
  color: #111827 !important;
}

/* Footer Link Hover */
.pkp_structure_footer a {
  color: #ffffff !important;
}

.pkp_structure_footer a:hover {
  color: #e6a500 !important;
}

/* ===== NAVBAR BIRU TUA #0F0F43 + TEXT PUTIH ===== */

/* Background navbar utama */
.pkp_navigation_primary_row {
  background: #ffb700 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Text menu utama */
.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a {
  color: #23190b !important;
  font-weight: 600;
}

/* Hover menu utama (background putih, text biru tua) */
.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a:hover {
  background: #ffffff;
  color: #23190b !important;
  border-radius: 5px;
}

/* Hapus garis bawah hover */
.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a::before {
  display: none;
}

/* Icon & text search */
.pkp_navigation_primary_row .pkp_navigation_search_wrapper a,
.pkp_navigation_primary_row .pkp_navigation_search_wrapper span {
  color: #23190b !important;
}
