@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

:root {
  /* Warna utama */
  --primary-color: #980230;
  --primary-hover: #6d0224;
  --primary-light: #f8e8ed;

  /* Gradient */
  --primary-gradient: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-hover) 100%
  );

  --primary-gradient-hover: linear-gradient(
    135deg,
    var(--primary-hover) 0%,
    #4a1024 100%
  );

  --primary-gradient-horizontal: linear-gradient(
    90deg,
    var(--primary-color) 0%,
    var(--primary-hover) 60%,
    var(--primary-light) 100%
  );

  /* Warna pendukung */
  --text-color: #333333;
  --background-color: #ffffff;
  --border-color: #e5e9f0;
  --white: #ffffff;

  /* Bayangan */
  --shadow-primary: 0 4px 15px rgba(152, 2, 48, 0.2);
  --shadow-primary-hover: 0 8px 25px rgba(152, 2, 48, 0.3);
}

/* ==========================================
   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 {
  min-height: 100vh;
  margin: 0 !important;
  padding: 0 !important;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-color);
  background: url("https://lh3.googleusercontent.com/u/0/d/1j66iMoj3g0lZDPyNmc_Ds-Tr1uZK3vv0");
  background-size: 30% !important;
}

/* Homepage About */
.homepage_about h2 {
  color: var(--primary-color);
}

/* Current issue */
.current_issue h2 {
  color: var(--primary-color);
}

/* 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: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

a:hover {
  color: var(--primary-hover);
}

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: var(--primary-gradient) !important;
  box-shadow: var(--shadow-primary);
  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;
}

/* Modern Hover Animation - Sliding Underline with Background */

/* 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 var(--primary-color);
}

.pkp_navigation_user_wrapper .pkp_navigation_user > li.profile {
  font-family: "Poppins", helvetica, sans-serif;
  background: var(--primary-gradient);
  color: var(--white);
  border-radius: 25px;
  margin: 5px;
  transition: all 0.3s ease-in-out;
}

.pkp_navigation_user_wrapper .pkp_navigation_user > li.profile:hover {
  background: var(--primary-gradient-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gradient-hover);
}

.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 var(--primary-color);
  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: var(--primary-color);
  border: 2px solid var(--primary-color);
  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: var(--primary-gradient-hover);
  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: var(--primary-color);
}

.obj_article_summary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--primary-hover),
    #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: var(--primary-hover);
}

.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;
}

/* ==========================================
   SIDEBAR STYLES
   ========================================== */
/* .pkp_structure_sidebar .pkp_block .title {
  font-family: "Poppins", helvetica, sans-serif;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--primary-hover);
  position: relative;
}

.pkp_block {
  padding: 20px 15px;
  margin: 15px 0 !important;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
}

.pkp_block:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
} */

/* 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, var(--primary-color), #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, var(--primary-hover), #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: var(--primary-color);
  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: var(--primary-gradient);
  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 (if using the complex footer structure) */
footer {
  position: relative;
  background: var(--primary-gradient);
  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(152, 2, 48, 0.1),
    rgba(152, 2, 48, 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: var(--primary-gradient-horizontal);
  padding: 10px 15px;
  color: var(--primary-color);
  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
   ================================ */

/* 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 #0f0f43 !important;
}

table.main-menu td {
  border-bottom: 1px solid #0f0f4333;
}

table.main-menu strong {
  color: #0f0f43 !important;
}

table.main-menu a {
  color: #111827 !important;
  font-weight: 500;
  transition: color 0.2s ease;
}

table.main-menu a:hover {
  color: #0f0f43 !important;
}

/* Tombol PDF & Submit */
.cmp_button_wire,
.obj_galley_link {
  background: var(--primary-gradient) !important;
  border: 2px solid var(--primary-color) !important;
  color: var(--white) !important;
  font-weight: 600;
}

.cmp_button_wire:hover,
.obj_galley_link:hover {
  background: var(--primary-gradient-hover) !important;
  color: var(--white) !important;
  box-shadow: var(--shadow-primary-hover);
}

/* Garis hover artikel */
.obj_article_summary::before {
  background: var(--primary-gradient-horizontal) !important;
}

/* Hover artikel */
.obj_article_summary:hover {
  border-color: var(--primary-color) !important;
}

/* Sidebar Menu Hover */
#customblock-Sidebar_menu.pkp_block ul li:hover {
  background: rgba(15, 15, 67, 0.1) !important;
  transform: none;
  box-shadow: 0 4px 15px rgba(152, 2, 48, 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: #b8b8d1 !important;
}

/* ===== NAVBAR BIRU TUA + TEXT PUTIH ===== */

/* Background navbar utama */
.pkp_navigation_primary_row {
  background: var(--primary-gradient) !important;
  box-shadow: var(--shadow-primary);
}

/* Text menu utama */
.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a {
  color: #ffffff !important;
  font-weight: 600;
}

/* Hover menu utama (background putih dengan text biru tua) */
.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a:hover {
  background: var(--white);
  color: var(--primary-color) !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: #ffffff !important;
}

/* =========================================
   CUSTOM BLOCK MENU - OJS
   Warna utama: #980230
========================================= */

/* Container Custom Block */
#customblock-main-block {
  border-radius: 0 !important;
}

/* Header menu */
#customblock-main-block .content > div > div:first-child {
  border-radius: 0 !important;
}

/* Semua tautan menu */
#customblock-main-block .content a {
  display: block;
  position: relative;
  box-sizing: border-box;
  padding: 12px 16px 12px 20px !important;

  color: #444444 !important;
  background-color: #ffffff !important;

  text-decoration: none !important;
  border-radius: 0 !important;
  border-bottom: 1px solid #eeeeee !important;

  box-shadow: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    padding-left 0.2s ease;
}

/* Efek hover */
#customblock-main-block .content a:hover {
  color: #980230 !important;
  background-color: #f4e5e9 !important;
  padding-left: 27px !important;
  box-shadow: inset 7px 0 0 #980230 !important;
  text-decoration: none !important;
}

/* Semua sudut berbentuk kotak */
#customblock-main-block,
#customblock-main-block * {
  border-radius: 0 !important;
}

/* ==========================================
   FLAG COUNTER - MEMUNCULKAN GAMBAR
   ========================================== */

#customblock-main-block img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;

  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;

  margin: 10px auto !important;
  object-fit: contain;
}
