/* ======= GLOBAL ======= */
body {
  height: 100%;
  background-image: url('https://img.freepik.com/premium-vector/colorful-gentle-seamless-pattern-with-cartoon-cosmetics_304386-1829.jpg?w=740');
  background-repeat: repeat;
  background-position: left top;
}

/* Dark mode */
body.dark-mode {
  background-color: #1e1e1e;
  color: #eee;
}

/* ======= HEADER ======= */
.pkp_structure_head {
  background: linear-gradient(to right, #880e4f, #ad1457);
  background-size: cover;
  background-position: center;
  padding: 0;
  margin-bottom: 20px;
box-shadow: 0 2px 8px rgba(0,0,0,0.2);}
  .pkp_structure_content {
  background: #FFFFFF ;
  background-repeat: repeat;
  background-position: left top;
}
.pkp_site_name .is_img img {
  max-height: 600px !important;
}

/* ======= NAVIGATION ======= */
.pkp_navigation_primary {
  background-color: #880e4f;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.pkp_navigation_primary > li {
  list-style: none;
}
.pkp_navigation_primary > li > a {
  color: #fff !important;
  padding: 12px 18px;
  font-weight: 600;
  text-transform: uppercase;
  display: block;
  transition: background-color 0.3s;
}
.pkp_navigation_primary > li > a:hover {
  background-color: #6a0040;
}

/* ======= BUTTONS ======= */
.pkp_button, .obj_article_details .download {
  background-color: #880e4f;
  color: #fff !important;
  border-radius: 5px;
  padding: 10px 20px;
  font-weight: bold;
  text-transform: uppercase;
  transition: 0.3s;
}
.pkp_button:hover {
  background-color: #6a0040;
}

/* ======= SIDEBAR ======= */
.pkp_sidebar {
  background: #fff;
  border-left: 1px solid #ccc;
  padding: 20px;
}
.pkp_block h2 {
  font-size: 18px;
  font-weight: bold;
  color: #880e4f;
  border-bottom: 2px solid #880e4f;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

/* ======= FOOTER ======= */
.pkp_footer_content {
  background-color: #880e4f;
  color: #fff;
  padding: 25px 0;
  text-align: center;
  font-size: 14px;
}
.pkp_footer_content a {
  color: #ffe3ec;
}
.pkp_footer_content a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ======= ARTICLE CARDS ======= */
.obj_issue_toc .media {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.3s;
}
.obj_issue_toc .media:hover {
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

/* ======= JOURNAL LINKS BOX ======= */
.journal-links-box {
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  padding: 15px;
  max-width: 600px;
  margin: 0 auto 30px auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
.journal-links-box a {
  display: block;
  background-color: #f8f9fa;
  color: #333;
  padding: 10px 15px;
  margin-bottom: 8px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border: 1px solid #ddd;
  transition: all 0.2s ease-in-out;
}
.journal-links-box a:hover {
  background-color: #880e4f;
  color: #fff;
  border-color: #880e4f;
}

/* ======= SCROLL TO TOP BUTTON ======= */
#scrollToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: none;
  background: #880e4f;
  color: #fff;
  border: none;
  border-radius: 50%;
  padding: 12px;
  font-size: 20px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
#scrollToTopBtn:hover {
  background-color: #6a0040;
}

/* ======= CAROUSEL (optional) ======= */
.carousel-container {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin: 20px auto;
  border-radius: 10px;
}
.carousel-slide {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.carousel-image {
  width: 100%;
  flex-shrink: 0;
}
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 24px;
  z-index: 1;
}
.carousel-nav.left {
  left: 10px;
}
.carousel-nav.right {
  right: 10px;
}

/* ======= DARK MODE TOGGLE BUTTON ======= */
#darkModeToggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background-color: #880e4f;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
#darkModeToggle:hover {
  background-color: #6a0040;
}

/* ======= SMOOTH TRANSITIONS ======= */
* {
  scroll-behavior: smooth;
  transition: background-color 0.3s, color 0.3s;
}

/* ======= FIX CONTAINER PADDING ======= */
.pkp_structure_content.container {
  max-width: 1140px;
  padding-left: 15px;
  padding-right: 15px;
  margin: 0 auto;
  
}
