/* ===================================================== */
/* OJS BOOTSTRAP 3 POWERFULL OPTIMIZATION */
/* Modern - Clean - Responsive */
/* ===================================================== */

/* GLOBAL */
body {
  font-family: "Segoe UI", Arial, sans-serif !important;
  font-size: 15px;
  line-height: 1.8;
  background: #f4f7f8;
  color: #222;
}

a {
  color: #008080;
  transition: all 0.2s ease;
}

a:hover {
  color: #005f5f;
  text-decoration: underline;
}

/* CONTAINER */
.container {
  max-width: 1180px;
}

/* HEADER */
#header {
  background: #ffffff;
  padding: 0 !important;
  margin: 0 !important;
  border-bottom: 4px solid #008080;
}

/* LOGO / BANNER */
#header .logo img,
#header img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  display: block;
}

/* NAVBAR */
.navbar {
  margin-bottom: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: #008080 !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

/* NAVBAR LINKS */
.navbar-nav > li > a {
  color: #ffffff !important;
  font-weight: 600;
  padding: 14px 16px;
  transition: all 0.2s ease;
}

.navbar-nav > li > a:hover,
.navbar-nav > li.active > a {
  background: rgba(255, 255, 255, 0.15) !important;
  border-radius: 6px;
}

/* NAVBAR DROPDOWN */
.dropdown-menu {
  border-radius: 10px !important;
  border: none !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.dropdown-menu > li > a {
  padding: 10px 15px;
  font-weight: 600;
}

/* SEARCH FORM */
.navbar-form input[type="text"] {
  border-radius: 10px !important;
  padding: 8px 12px;
  border: 1px solid #ddd;
}

/* MAIN CONTENT */
#main,
#content {
  background: transparent !important;
  margin-top: 20px;
}

/* MAIN CONTENT BOX */
#main .page,
#content .page,
#content > .container {
  background: #ffffff;
  border-radius: 14px;
  padding: 25px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* ARTICLE LIST CARD */
.article-summary,
.media,
.obj_issue_toc .article {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  border-left: 5px solid #008080;
}

/* ARTICLE TITLE */
.article-summary h3 a,
.media-heading a,
.obj_issue_toc .article .title a {
  font-size: 17px;
  font-weight: 700;
  color: #222 !important;
}

.article-summary h3 a:hover,
.media-heading a:hover,
.obj_issue_toc .article .title a:hover {
  color: #008080 !important;
}

/* ARTICLE META */
.article-summary .meta,
.media-body small,
.obj_issue_toc .article .meta {
  font-size: 13px;
  color: #666;
}

/* SIDEBAR BLOCK */
#sidebar .block,
.sidebar .block,
#rightSidebar .block {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
}

/* SIDEBAR TITLE */
#sidebar .block .title,
.sidebar .block .title,
#rightSidebar .block .title {
  font-size: 15px;
  font-weight: 700;
  color: #008080;
  border-bottom: 2px solid #008080;
  padding-bottom: 6px;
  margin-bottom: 12px;
}

/* BUTTONS */
.btn,
button,
input[type="submit"],
input[type="button"] {
  background: #008080 !important;
  border: none !important;
  border-radius: 8px !important;
  color: #fff !important;
  font-weight: 600;
  padding: 10px 16px !important;
  transition: all 0.3s ease;
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
  background: #006666 !important;
  transform: translateY(-1px);
}

/* FORM INPUT */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
  border-radius: 10px !important;
  border: 1px solid #ddd !important;
  padding: 10px 14px !important;
}

/* TABLE */
table {
  width: 100%;
  border-collapse: collapse;
}

table th {
  background: #008080;
  color: #fff;
  padding: 10px;
}

table td {
  padding: 10px;
  border: 1px solid #ddd;
}

/* FOOTER */
#footer,
footer {
  background: #008080 !important;
  color: #ffffff !important;
  padding: 25px;
  margin-top: 30px;
}

#footer a,
footer a {
  color: #ffffff !important;
  font-weight: 600;
}

#footer a:hover,
footer a:hover {
  text-decoration: underline;
}

/* ===================================================== */
/* MOBILE RESPONSIVE */
/* ===================================================== */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  #main .page,
  #content .page,
  #content > .container {
    padding: 18px;
    border-radius: 10px;
  }

  #sidebar .block,
  .sidebar .block,
  #rightSidebar .block {
    padding: 15px;
    border-radius: 10px;
  }

  .navbar-nav > li > a {
    padding: 12px 12px;
  }

  /* FIX MENU TOGGLE */
  .navbar-toggle {
    border: 1px solid #fff !important;
  }

  .navbar-toggle .icon-bar {
    background: #fff !important;
  }

  /* dropdown menu mobile */
  .navbar-nav .open .dropdown-menu {
    background: #006666 !important;
  }

  .navbar-nav .open .dropdown-menu > li > a {
    color: #fff !important;
  }
}

/* ===================================================== */
/* HEADER MENU DIPADATKAN + TENGAH + LOGO AREA LEBIH BESAR */
/* ===================================================== */

/* Banner/logo dibuat lebih tinggi */
#header img {
  max-height: 450px !important; /* sebelumnya 380 */
  object-fit: cover !important;
}

/* Navbar tidak mepet pojok */
.navbar .container {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* Menu dipadatkan biar tidak terlalu renggang */
.navbar-nav > li > a {
  padding: 12px 12px !important; /* sebelumnya 14px 16px */
  font-size: 13.5px !important;
}

/* Supaya menu tidak terlalu ke kiri */
.navbar-nav {
  margin-left: 10px !important;
}

/* Agar menu terlihat lebih rapat dan rapi */
.navbar-collapse {
  padding-left: 10px !important;
  padding-right: 10px !important;
}

/* Mobile: banner jangan terlalu tinggi */
@media (max-width: 768px) {
  #header img {
    max-height: 260px !important;
  }

  .navbar-nav > li > a {
    padding: 10px 10px !important;
  }
}
