:root {
  --agro-forest:#00733c;
  --agro-green:#178447;
  --agro-gold:#f2d700;
  --agro-cream:#fffbe0;
  --agro-line:#d5dfd5;
  --agro-ink:#303530;
  --agro-muted:#657168;
}

/* Original IJFT header, preserved from the legacy server. */
.pkp_site_name {
  min-height:0;
  aspect-ratio:7100 / 920;
  background:#00733c url("../assets/images/ijft-header-original.png") center/100% 100% no-repeat;
}
.pkp_site_name .is_text {
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
}
.pkp_site_name .is_text::before,.pkp_site_name .is_text::after { content:none; }

.pkp_site_nav_menu,.pkp_navigation_primary_row { background:#00733c; }
.pkp_navigation_primary>li>a::before { color:#f2d700; }
.pkp_navigation_primary>li>a:hover,.pkp_navigation_primary>li>a:focus { background:#075d35; box-shadow:inset 0 -3px 0 #f2d700; }
.pkp_navigation_primary ul { border-top-color:#f2d700; }
.pkp_structure_main h1,.pkp_structure_main h2,.pkp_structure_main h3 { color:#006b39; }
.page_index_journal .homepage_about h2::after { background:#f2d700; }

/* IJFT menu block based on the information available on the old server. */
#customblock-ijft-menu>.content>.content::before {
  display:block; padding:11px 14px; color:#fff; background:#00733c;
  font-size:.74rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase;
  content:"Journal Information";
}
#customblock-ijft-menu ul { margin:0; padding:0; list-style:none; }
#customblock-ijft-menu li { margin:0; border-bottom:1px solid #d9dfd8; }
#customblock-ijft-menu li:last-child { border-bottom:0; }
#customblock-ijft-menu a { position:relative; display:block; padding:10px 12px 10px 38px; color:#274c36; background:#fff; font-size:.77rem; font-weight:600; text-decoration:none; }
#customblock-ijft-menu a::before { position:absolute; top:11px; left:15px; color:#c4a900; font-family:FontAwesome; content:"\f15c"; }
#customblock-ijft-menu li:nth-child(1) a::before { content:"\f0c0"; }
#customblock-ijft-menu li:nth-child(2) a::before { content:"\f2bd"; }
#customblock-ijft-menu li:nth-child(3) a::before { content:"\f002"; }
#customblock-ijft-menu li:nth-child(4) a::before { content:"\f06e"; }
#customblock-ijft-menu li:nth-child(5) a::before { content:"\f040"; }
#customblock-ijft-menu li:nth-child(6) a::before { content:"\f1b2"; }
#customblock-ijft-menu li:nth-child(7) a::before { content:"\f09c"; }
#customblock-ijft-menu li:nth-child(8) a::before { content:"\f0e0"; }
#customblock-ijft-menu li:nth-child(9) a::before { content:"\f0ae"; }
#customblock-ijft-menu li:nth-child(10) a::before { content:"\f155"; }
#customblock-ijft-menu li:nth-child(11) a::before { content:"\f187"; }
#customblock-ijft-menu a:hover { color:#005d31; background:#fffbe0; }

.ijft-status { padding:15px; text-align:center; }
.ijft-status strong { display:block; width:210px; max-width:100%; height:126px; margin:0 auto 10px; overflow:hidden; background:url("../assets/images/sinta-4-badge.png") center/contain no-repeat; color:transparent; font-size:0; text-indent:-9999px; }
.ijft-status__badge { display:block; margin:0 auto 10px; }
.ijft-status__badge img { display:inline-block; width:210px; max-width:100%; height:auto; }
.ijft-status span { display:block; margin-top:3px; color:#657168; font-size:.7rem; }
.ijft-badges { display:flex; flex-wrap:wrap; gap:6px; padding:13px; justify-content:center; }
.ijft-badges span { padding:5px 7px; color:#075d35; background:#fff8bd; border:1px solid #ebdf83; border-radius:2px; font-size:.65rem; font-weight:700; }

#customblock-ijft-collaboration>.content { padding:0!important; }
.ijft-collaboration { margin:0 0 16px; overflow:hidden; background:#fff; border:1px solid #cfd8d0; border-radius:2px; box-shadow:0 4px 12px rgba(0,115,60,.05); }
.ijft-collaboration__title { margin:0; padding:11px 14px; color:#fff; background:#00733c; font-size:.72rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.ijft-collaboration__link { display:block; padding:18px; text-align:center; background:#fff; }
.ijft-collaboration__link img { display:inline-block; width:auto; max-width:100%; height:auto; transition:transform .15s ease; }
.ijft-collaboration__link:hover img { transform:scale(1.05); }

.cmp_button_wire,.obj_galley_link { background:#00733c; border-color:#00733c; }
.pkp_structure_footer_wrapper { background:#006b39; }

@media (max-width:760px) {
  .pkp_site_name { min-height:0; aspect-ratio:7100 / 920; background-position:center; }
}
