/* ==========================================================================
   INTERNATIONAL JOURNAL OF COMMUNITY HEALTH SCIENCES (IJCHS) / VISIKES
   Modern Professional Theme for OJS 3 (No-Search Clean Layout)
   ========================================================================== */

:root {
  --primary: #0F4C81;
  --secondary: #2FA84F;
  --lightblue: #EAF5FB;
  --lightgreen: #F4FBF6;
  --text: #2D3748;
  --border: #E2E8F0;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* =======================================
   BODY & GENERAL
   ======================================= */
body {
  background: #f8fafc;
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary);
  text-decoration: none;
}

/* =======================================
   HEADER: FULL COLOR #ADE3B2 UNIFIED AREA
   ======================================= */
.pkp_structure_head {
  background: #ADE3B2 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  position: relative;
}

.pkp_structure_head a {
  color: var(--primary) !important;
}

.pkp_structure_head a:hover {
  color: var(--secondary) !important;
}

/* Logo di sebelah kiri */
.pkp_site_name_wrapper {
  max-width: 1300px;
  margin: 0 auto;
  padding: 15px 25px;
  display: flex !important;
  align-items: center;
  justify-content: flex-start !important;
  background: transparent !important;
  position: relative;
}

.pkp_site_name {
  display: block !important;
  padding: 5px 0;
  text-align: left;
}

.pkp_site_name img {
  max-height: 110px;
  width: auto;
  display: inline-block;
  object-fit: contain;
  background: transparent !important;
}

/* =======================================
   NAVIGATION BAR (RATA KIRI TANPA SEARCH)
   ======================================= */
.pkp_navigation_primary_wrapper {
  background: #ADE3B2 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 4px solid var(--primary);
  position: relative;
  padding: 10px 25px;
  min-height: 60px;
  display: block !important;
  max-width: 100%;
}

.pkp_navigation_primary_wrapper > *,
.pkp_navigation_primary_wrapper .pkp_navigation_primary_row,
.pkp_navigation_primary_wrapper nav {
  max-width: 1260px;
  width: 100%;
  margin: 0 auto;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
}

.pkp_navigation_primary {
  display: flex !important;
  flex-direction: row !important;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: center;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 8px;
}

.pkp_navigation_primary > li {
  display: inline-block !important;
  float: none !important;
}

/* Desain menu horizontal */
.pkp_navigation_primary > li > a {
  color: #3a4a3c !important;
  font-weight: 600;
  padding: 8px 14px;
  display: inline-block !important;
  white-space: nowrap !important;
  transition: all 0.3s ease;
  font-size: 13.5px;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
}

.pkp_navigation_primary > li > a:hover {
  color: var(--primary) !important;
  background: rgba(255, 255, 255, 0.6);
  border-color: var(--primary);
}

/* =======================================
   MENYEMBUNYIKAN SEMUA TOMBOL/KOTAK SEARCH
   ======================================= */
.pkp_search {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* =======================================
   MAIN CONTENT STRUCTURE
   ======================================= */
.pkp_structure_content {
  padding-top: 35px;
  padding-bottom: 40px;
}

.obj_issue_summary,
.obj_article_summary,
.page,
.current_issue {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}

/* =======================================
   ARTICLE & LISTINGS
   ======================================= */
.obj_article_summary .title a {
  color: var(--primary);
  font-size: 20px;
  font-weight: 700;
  transition: color 0.3s ease;
}

.obj_article_summary .title a:hover {
  color: var(--secondary);
}

.obj_article_summary .authors {
  color: #666;
  font-size: 14px;
}

.obj_article_summary .summary {
  margin-top: 12px;
  font-size: 15px;
}

.read_more {
  color: var(--secondary);
  font-weight: bold;
}

/* =======================================
   BUTTONS
   ======================================= */
.cmp_button,
button,
input[type="submit"] {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border: none;
  border-radius: 30px;
  color: white;
  padding: 12px 24px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cmp_button:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(47, 168, 79, 0.2);
}

/* =======================================
   SIDEBAR BLOCKS
   ======================================= */
.pkp_block {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--secondary);
}

.pkp_block .title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
  border-bottom: 2px solid var(--lightblue);
  padding-bottom: 10px;
}

.pkp_block ul {
  padding-left: 18px;
}

.pkp_block li {
  margin-bottom: 8px;
}

/* =======================================
   SIDEBAR: CUSTOM EDITORIAL POLICIES
   ======================================= */
.editorial-policies-block {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box;
  border-top: none !important;
}

.editorial-policies-block .sidebar-title {
  background: var(--primary);
  color: #ffffff !important;
  text-align: center;
  font-weight: 700;
  font-size: 14.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px;
  border-radius: 6px;
  margin-top: 0;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(15, 76, 129, 0.15);
}

.editorial-policies-block .sidebar-menu {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.editorial-policies-block .sidebar-menu li {
  padding: 0 !important;
  margin: 0 !important;
  border-bottom: 1px solid var(--lightblue);
}

.editorial-policies-block .sidebar-menu li:last-child {
  border-bottom: none;
}

.editorial-policies-block .sidebar-menu li a {
  display: block;
  padding: 11px 8px;
  color: var(--text) !important;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none !important;
  text-align: center;
  transition: all 0.25s ease-in-out;
}

.editorial-policies-block .sidebar-menu li a:hover {
  color: var(--secondary) !important;
  background-color: var(--lightgreen);
  font-weight: 600;
}

/* =======================================
   FORMS, TABLES & COMPONENTS
   ======================================= */
input,
select,
textarea {
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 10px;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(47, 168, 79, 0.15);
}

table {
  border-collapse: collapse;
  width: 100%;
}

table th {
  background: var(--primary);
  color: white;
  padding: 12px;
  border: 1px solid #eee;
}

table td {
  padding: 12px;
  border: 1px solid #eee;
}

/* =======================================
   FOOTER: WIDE, COMPACT & #ADE3B2 BACKGROUND
   ======================================= */
.pkp_structure_footer_wrapper {
  background: #ADE3B2 !important;
  padding: 22px 15px 15px 15px !important;
  margin-top: 50px;
  color: #3a4a3c;
  font-family: 'Segoe UI', Arial, sans-serif;
  border-top: 4px solid var(--primary);
}

.pkp_brand_footer,
.pkp_structure_footer .pkp_brand,
.pkp_footer .pkp_brand {
  display: none !important;
}

.ijchs-footer-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 15px;
}

.ijchs-footer-row {
  display: table;
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 25px 0;
}

.footer-item {
  display: table-cell;
  vertical-align: top;
  color: #3a4a3c;
  font-size: 13.5px;
  line-height: 1.55;
}

.footer-item.col-profile  { width: 38%; }
.footer-item.col-links    { width: 22%; }
.footer-item.col-contact  { width: 40%; }

.footer-item h3,
.footer-item h4 {
  color: var(--primary);
  font-size: 14.5px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 10px;
  border-bottom: 2px solid rgba(15, 76, 129, 0.2);
  padding-bottom: 6px;
}

.footer-item p {
  margin-bottom: 8px;
  text-align: justify;
}

.footer-meta {
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.45);
  padding: 8px 12px;
  border-radius: 6px;
  border-left: 3px solid var(--secondary);
}

.footer-meta p {
  margin: 2px 0;
  font-size: 12.5px;
  color: #3a4a3c;
}

.footer-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-item li {
  margin-bottom: 6px;
}

.footer-item li a {
  color: #3a4a3c !important;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-item li a:hover {
  color: var(--primary) !important;
  padding-left: 4px;
}

.footer-item.col-contact a {
  color: #3a4a3c !important;
  text-decoration: none;
}

.footer-item.col-contact a:hover {
  text-decoration: underline;
}

.contact-label {
  font-weight: 600;
  color: var(--primary);
  display: inline-block;
  width: 65px;
}

.oa-badge {
  display: inline-block;
  background: var(--secondary);
  color: white;
  padding: 3px 8px;
  font-size: 10.5px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 4px;
  margin-top: 6px;
}

.footer-copy {
  max-width: 1300px;
  margin: 18px auto 0 auto;
  padding-top: 10px;
  border-top: 1px solid rgba(15, 76, 129, 0.15);
  text-align: center;
  font-size: 12px;
  color: #4a5c4c;
}

/* =======================================
   RESPONSIVE (MOBILE VIEW ONLY)
   ======================================= */
@media (max-width: 992px) {
  .pkp_navigation_primary_wrapper > * {
    flex-direction: column !important;
    gap: 10px;
  }
  
  .pkp_navigation_primary {
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
  
  .ijchs-footer-row {
    display: block;
  }
  
  .footer-item {
    display: block;
    width: 100% !important;
    margin-bottom: 20px;
  }
}