/* =========================================================
   ISMATECH JOURNAL - OFFICIAL CUSTOM CSS
   Elsevier-style professional theme
   Dominant blue | clean | academic | modern
   ========================================================= */

/* ===================== ROOT COLOR ===================== */
:root {
  --primary: #0b5fa5;
  --secondary: #0a3f6f;
  --accent: #1e90ff;
  --light: #f4f7fb;
  --dark: #0a2540;
  --text: #1f2d3d;
}

/* ===================== GLOBAL ===================== */
body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.7;
}

a {
  color: var(--primary);
  font-weight: 500;
}

a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* ===================== HEADER ===================== */
.pkp_structure_head {
  background: linear-gradient(135deg, #0b5fa5, #08345f);
  border-bottom: 4px solid #1e90ff;
}

/* LOGO */
.pkp_site_name img {
  max-height: none !important;
  height: auto !important;
  width: auto !important;
  max-width: 1100px !important;   /* ATUR LEBAR BANNER */
  min-width: 600px;
  object-fit: contain;
  display: block;
}

.pkp_site_name img {
  max-height: 150px;
  width: auto;
  max-width: 95%;
  object-fit: contain;
}

/* ===================== NAVIGATION ===================== */
.pkp_navigation_primary_wrapper {
  background: #083a66;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 3px solid var(--accent);
}

.pkp_navigation_primary > li > a {
  color: #fff !important;
  padding: 14px 18px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-size: 13px;
}

.pkp_navigation_primary > li > a:hover {
  background: var(--accent);
  color: #fff !important;
  border-radius: 4px;
}

/* ===================== MAIN LAYOUT ===================== */
.pkp_structure_main {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  margin-top: 25px;
}

/* ===================== PAGE TITLE ===================== */
.page_title, h1, h2 {
  color: var(--secondary);
  font-weight: 700;
  border-left: 5px solid var(--primary);
  padding-left: 12px;
}

/* ===================== ARTICLE CARD ===================== */
.obj_article_summary {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #e5ecf3;
  margin-bottom: 18px;
  transition: all 0.3s ease;
}

.obj_article_summary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
  border-left: 5px solid var(--primary);
}

/* ===================== BUTTON ===================== */
.pkp_button,
.cmp_button,
button,
input[type="submit"] {
  background: linear-gradient(135deg, #0b5fa5, #1e90ff);
  border: none;
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
}

.pkp_button:hover {
  background: linear-gradient(135deg, #08345f, #0b5fa5);
}

/* ===================== SIDEBAR ===================== */
.pkp_structure_sidebar {
    background: linear-gradient(180deg, #0f4c81, #1b6ca8) !important;
    padding: 25px 20px;
}

/* Kotak menu di sidebar */
.pkp_structure_sidebar .block {
    background: #f4f8fc !important;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* Judul block */
.pkp_structure_sidebar .block .title {
    background: linear-gradient(135deg, #0b5ed7, #1386ff);
    color: #ffffff !important;
    padding: 12px;
    font-weight: 700;
    text-align: center;
}

/* ===================== ANNOUNCEMENT ===================== */
.obj_announcement_summary {
  background: #f0f6ff;
  padding: 15px;
  border-left: 5px solid var(--primary);
  border-radius: 6px;
}

/* ===================== FOOTER ===================== */
.pkp_structure_footer_wrapper {
  background: linear-gradient(135deg, #0a2540, #08345f);
  color: #eaf3ff;
  padding: 40px 10px;
  margin-top: 50px;
}

.pkp_structure_footer_wrapper a {
  color: #ffd700;
}

.pkp_structure_footer_wrapper a:hover {
  color: #ffffff;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  .pkp_site_name img {
    max-height: 95px;
  }

  .pkp_structure_main {
    padding: 18px;
  }
/* ============================= */
/* ===== MOBILE RESPONSIVE ===== */
/* ============================= */
@media (max-width: 768px) {

  /* Header area */
  .pkp_structure_head {
      padding: 10px 10px !important;
  }

  /* Banner journal */
  .pkp_site_name_wrapper,
  .pkp_site_name {
      padding: 0 !important;
      margin: 0 !important;
  }

  .pkp_site_name img {
      width: 100% !important;
      height: auto !important;
      max-height: 180px;
      object-fit: cover;
      border-radius: 10px;
  }
}
