/* =================================================
   GURU / GENIUS JOURNAL FINAL CLEAN CSS
   OJS 3.4 Manuscript - Gold Premium Version
   ================================================= */

:root{
  --gold-main:#C68904;
  --gold-soft:#f6ead1;
  --gold-border:rgba(198,137,4,.22);
  --gold-glow:rgba(198,137,4,.12);

  --text-main:#111827;
  --text-soft:#4b5563;
  --border-soft:#e5e7eb;
  --white:#ffffff;
  --bg-soft:#faf7f2;
}

/* =========================
   GLOBAL PAGE
   ========================= */
body{
  background:
    radial-gradient(1200px 600px at 10% 0%, rgba(198,137,4,.10), transparent 60%),
    linear-gradient(180deg, #faf7f2 0%, #f1ebe3 50%, #e9e1d7 100%) !important;
  color: var(--text-main);
}

.pkp_structure_page,
.pkp_structure_body{
  overflow: visible !important;
  transform: none !important;
}

/* =========================
   STICKY HEADER
   ========================= */
#headerNavigationContainer{
  position: sticky !important;
  top: 0 !important;
  z-index: 99999 !important;
  overflow: visible !important;
}

.pkp_structure_content{
  padding-top: 0 !important;
}

/* =========================
   HOMEPAGE ORDER
   Hero -> Additional Content -> Current Issue
   ========================= */
.page_index_journal{
  display:flex !important;
  flex-direction:column !important;
}

.page_index_journal .homepage_image{ order:1 !important; }
.page_index_journal .additional_content{ order:2 !important; }
.page_index_journal .current_issue{ order:3 !important; }

/* =========================
   MAIN CONTENT CONTAINER
   ========================= */
.pkp_structure_main{
  background: var(--white) !important;
  border: 1px solid var(--gold-border) !important;
  border-radius: 20px !important;
  box-shadow:
    0 30px 80px rgba(0,0,0,.08),
    0 10px 30px var(--gold-glow) !important;
  position: relative;
}

.pkp_structure_main::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  border-radius:20px 20px 0 0;
  background: linear-gradient(90deg, var(--gold-main), #e0a800, var(--gold-main));
}

@media (max-width:768px){
  .pkp_structure_main{
    border-radius:16px !important;
  }
}

/* =========================
   GURU CARD
   ========================= */
.guru-card{
  margin: 36px 0 !important;
  padding: 22px !important;
  background: var(--white) !important;
  border: 1px solid var(--gold-border) !important;
  border-left: 6px solid var(--gold-main) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.06) !important;
}

.page_index .guru-card{
  margin-top: 40px !important;
}

.guru-grid{
  display:flex;
  gap:28px;
  align-items:flex-start;
}

.guru-cover{
  flex:0 0 280px;
}

.guru-cover img{
  width:100%;
  height:auto;
  display:block;
  border-radius:14px;
  border:3px solid var(--gold-main);
  box-shadow:0 8px 20px rgba(198,137,4,.22);
}

.guru-meta{
  flex:1;
}

.guru-table{
  width:100%;
  border-collapse:collapse;
  background:var(--white);
}

.guru-table th,
.guru-table td{
  padding:12px 14px;
  border-bottom:1px solid var(--border-soft);
  font-size:14px;
  vertical-align:top;
}

.guru-table th{
  width:35%;
  text-align:left;
  font-weight:700;
  background:var(--gold-soft);
  color:var(--text-main);
}

.guru-table td{
  color:var(--text-soft);
  background:var(--white);
}

.guru-table tr:hover td{
  background:rgba(198,137,4,.06);
  transition:.2s ease;
}

.guru-about{
  margin-top:22px;
  padding-top:16px;
  border-top:2px solid var(--gold-main);
  font-size:15px;
  line-height:1.8;
  color:#333;
}

.guru-about strong{
  color:var(--gold-main);
}

.guru-about h2,
.guru-about h3{
  color:var(--text-main);
  font-weight:800;
}

/* =========================
   SIDEBAR
   ========================= */
.pkp_structure_sidebar{
  padding-top:8px !important;
}

.pkp_structure_sidebar .pkp_block{
  background:var(--white) !important;
  border:1px solid var(--gold-border) !important;
  border-radius:16px !important;
  padding:14px !important;
  margin:0 0 14px !important;
  box-shadow:0 10px 24px rgba(0,0,0,.05) !important;
  overflow:hidden;
}

.pkp_structure_sidebar .pkp_block .title,
.pkp_structure_sidebar .pkp_block h2{
  margin:0 0 12px !important;
  padding:0 0 10px !important;
  font-size:13px !important;
  font-weight:800 !important;
  letter-spacing:.4px;
  text-transform:uppercase;
  color:var(--text-main) !important;
  background:linear-gradient(0deg,#fff,rgba(198,137,4,.08)) !important;
  border-bottom:2px solid var(--gold-main) !important;
}

.pkp_structure_sidebar .pkp_block .content{
  padding:0 !important;
  color:var(--text-main);
}

.pkp_structure_sidebar .pkp_block ul{
  list-style:none !important;
  margin:0 !important;
  padding:0 !important;
}

.pkp_structure_sidebar .pkp_block li{
  margin:0 !important;
  padding:0 !important;
}

.pkp_structure_sidebar .pkp_block ul li a{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  padding:10px !important;
  border-radius:10px !important;
  color:#0f3d5e !important;
  font-weight:700 !important;
  text-decoration:none !important;
  transition:all .15s ease !important;
}

.pkp_structure_sidebar .pkp_block ul li a::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:999px;
  background:rgba(17,24,39,.18);
  flex:0 0 auto;
}

.pkp_structure_sidebar .pkp_block ul li a:hover,
.pkp_structure_sidebar .pkp_block ul li a:focus,
.pkp_structure_sidebar .pkp_block ul li.current a,
.pkp_structure_sidebar .pkp_block ul li a[aria-current="page"]{
  background:rgba(198,137,4,.08) !important;
  color:var(--gold-main) !important;
}

.pkp_structure_sidebar .pkp_block ul li a:hover::before,
.pkp_structure_sidebar .pkp_block ul li.current a::before,
.pkp_structure_sidebar .pkp_block ul li a[aria-current="page"]::before{
  background:var(--gold-main);
}

/* =========================
   FOOTER
   ========================= */
.gj-footer3{
  display:grid;
  grid-template-columns:220px 1fr 320px;
  gap:22px;
  align-items:start;
  padding:22px 18px;
  margin-top:26px;
  border-top:3px solid var(--gold-main);
  background:var(--white);
  box-shadow:0 -6px 18px rgba(17,24,39,.06);
  border-radius:14px;
}

.gj-logo{
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
}

.gj-logo-img{
  max-width:210px;
  width:100%;
  height:auto;
  display:block;
}

.gj-info{
  color:var(--text-main);
  font-size:14px;
  line-height:1.65;
}

.gj-block strong{
  color:var(--gold-main);
}

.gj-block--mt{
  margin-top:12px;
  padding-top:12px;
  border-top:1px dashed rgba(198,137,4,.35);
}

.gj-info a{
  color:var(--gold-main);
  font-weight:700;
  text-decoration:none;
}

.gj-info a:hover{
  text-decoration:underline;
}

.gj-cc{
  padding-left:18px;
  border-left:1px solid var(--border-soft);
}

.gj-cc-img{
  display:block;
  margin-bottom:10px;
}

.gj-cc-text{
  color:#6b7280;
  font-size:13px;
  line-height:1.55;
}

/* Hide PKP branding */
.pkp_brand_footer,
.pkp_structure_footer .pkp_brand_footer,
.pkp_footer_content .pkp_brand_footer,
.pkp_structure_footer .brand,
.pkp_structure_footer .pkp_footer_content .brand{
  display:none !important;
}

/* =========================
   BILINGUAL TABS
   ========================= */
.ethics-tabs{
  margin-top:18px;
}

.ethics-tabs input[type="radio"]{
  display:none;
}

.ethics-tab-buttons{
  display:flex;
  gap:10px;
  margin-bottom:18px;
  flex-wrap:wrap;
}

.ethics-tab-buttons label{
  display:inline-block;
  padding:10px 18px;
  border-radius:999px;
  border:1px solid rgba(198,137,4,.22);
  background:#fff;
  color:#6b7280;
  font-weight:700;
  cursor:pointer;
  transition:all .2s ease;
  box-shadow:0 4px 12px rgba(0,0,0,.04);
}

.ethics-tab-buttons label:hover{
  color:var(--gold-main);
  border-color:var(--gold-main);
}

#tab-en:checked ~ .ethics-tab-buttons label[for="tab-en"],
#tab-id:checked ~ .ethics-tab-buttons label[for="tab-id"]{
  background:var(--gold-main);
  color:#fff;
  border-color:var(--gold-main);
  box-shadow:0 8px 18px rgba(198,137,4,.22);
}

.ethics-tab-panels{
  position:relative;
}

.ethics-panel{
  display:none;
}

#tab-en:checked ~ .ethics-tab-panels .ethics-panel-en{
  display:block;
}

#tab-id:checked ~ .ethics-tab-panels .ethics-panel-id{
  display:block;
}

.ethics-card{
  max-width:900px;
  margin:auto;
  background:#fff;
  border:1px solid rgba(198,137,4,.18);
  border-radius:18px;
  padding:28px;
  box-shadow:0 12px 30px rgba(0,0,0,.05);
}

.ethics-card h2{
  margin-top:0;
  margin-bottom:18px;
  padding-bottom:10px;
  border-bottom:3px solid var(--gold-main);
  font-weight:800;
}

.ethics-card h3{
  margin-top:24px;
  margin-bottom:10px;
  color:var(--text-main);
  font-weight:800;
}

.ethics-card h4{
  margin-top:18px;
  margin-bottom:8px;
  color:#333;
  font-weight:700;
}

.ethics-card p{
  margin:0 0 12px;
  line-height:1.8;
  color:#333;
  font-size:14px;
  text-align:justify;
}

.ethics-card a{
  color:var(--gold-main);
  font-weight:700;
  text-decoration:none;
}

.ethics-card a:hover{
  text-decoration:underline;
}

.ethics-card hr{
  border:none;
  border-top:1px dashed rgba(198,137,4,.35);
  margin:22px 0;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 992px){
  .gj-footer3{
    grid-template-columns:1fr;
  }

  .gj-cc{
    border-left:0;
    padding-left:0;
    border-top:1px solid var(--border-soft);
    padding-top:14px;
    margin-top:6px;
  }

  .gj-logo{
    justify-content:center;
  }

  .gj-logo-img{
    max-width:260px;
  }
}

@media (max-width: 768px){
  .guru-grid{
    flex-direction:column;
  }

  .guru-cover{
    max-width:320px;
    margin:auto;
  }

  .pkp_structure_sidebar .pkp_block{
    border-radius:12px !important;
    padding:12px !important;
  }

  .ethics-card{
    padding:20px;
    border-radius:16px;
  }

  .ethics-tab-buttons label{
    width:100%;
    text-align:center;
  }
}