
:root{--fifs-navy:#072f45;--fifs-deep:#073e2b;--fifs-green:#4f972f;--fifs-lime:#8acb49;--fifs-ink:#173446;--fifs-line:#dce7e3}
body{background:#f6f9f8;color:var(--fifs-ink)}
.pkp_structure_head{background:#fff!important;border-bottom:0!important;box-shadow:0 4px 18px rgba(6,47,69,.08)}
.pkp_head_wrapper,.pkp_structure_content,.pkp_structure_footer{max-width:1220px!important;margin-left:auto!important;margin-right:auto!important}
.pkp_site_name{padding-top:22px!important;padding-bottom:16px!important}
.pkp_site_name .is_text{color:var(--fifs-deep)!important;font-weight:800!important;font-size:30px!important;line-height:1.15!important;letter-spacing:-.025em!important;text-decoration:none!important}
.pkp_site_name:after{content:"Advancing Food Science for a Better Future";display:block;margin-top:6px;color:#5f766c;font-size:13px;font-weight:600}
.pkp_navigation_primary_wrapper{background:linear-gradient(90deg,var(--fifs-navy),var(--fifs-deep))!important;border:0!important}
.pkp_navigation_primary{max-width:1220px!important;margin:0 auto!important}
.pkp_navigation_primary>li>a{color:#fff!important;font-weight:700!important;padding:15px 14px!important;border-bottom:3px solid transparent!important}
.pkp_navigation_primary>li>a:hover,.pkp_navigation_primary>li>a:focus{background:rgba(255,255,255,.06)!important;border-bottom-color:var(--fifs-lime)!important}
.pkp_navigation_primary ul{min-width:275px!important;background:#fff!important;border:1px solid var(--fifs-line)!important;border-radius:0 0 12px 12px!important;box-shadow:0 12px 30px rgba(7,47,69,.12)!important;padding:7px 0!important}
.pkp_navigation_primary ul a{color:var(--fifs-ink)!important;padding:10px 16px!important}
.pkp_navigation_primary ul a:hover{background:#eef6ef!important;color:var(--fifs-deep)!important}
.pkp_navigation_search_wrapper a,.pkp_navigation_user>li>a{color:#fff!important}
.pkp_structure_sidebar .pkp_block{background:#fff;border:1px solid var(--fifs-line);border-radius:14px;box-shadow:0 8px 22px rgba(8,50,69,.06);padding:20px 22px;margin-bottom:20px}
.pkp_structure_main h1{color:var(--fifs-navy);font-weight:800}.pkp_structure_main h2,.pkp_structure_main h3{color:var(--fifs-deep)}
.obj_article_summary,.obj_issue_summary{border:1px solid var(--fifs-line);border-radius:12px;background:#fff;padding:20px 22px;margin-bottom:16px}
.page_index_journal .additional_content{background:#fff;border:1px solid var(--fifs-line);border-radius:16px;box-shadow:0 12px 30px rgba(7,47,69,.08);padding:28px 30px;margin-top:24px}
.pkp_structure_footer_wrapper{background:linear-gradient(135deg,#062d43,#073e2b)!important;border-top:0!important;color:#fff!important}
.pkp_footer_content,.pkp_footer_content p,.pkp_footer_content strong{color:#fff!important}.pkp_footer_content a{color:#d5edcf!important}
@media(max-width:767px){.pkp_site_name .is_text{font-size:23px!important}.pkp_site_name:after{font-size:11px}}



/* ===== FIFS HOMEPAGE PATCH ===== */

/* Full-width journal homepage only */
.page_index_journal .pkp_structure_content{
  max-width:none!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
.page_index_journal .pkp_structure_main{
  width:100%!important;
  max-width:none!important;
  float:none!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
}
.page_index_journal .pkp_structure_sidebar{display:none!important}
.fifs_index{width:100%;font-family:Arial,Helvetica,sans-serif}

/* Hero */
.fifs_hero{
  min-height:500px;
  background:
    linear-gradient(90deg,rgba(3,43,30,.98) 0%,rgba(3,49,34,.96) 42%,rgba(3,49,34,.42) 69%,rgba(3,49,34,.08) 100%),
    url("https://scientificscholarly.org/fifs-assets/fifs-hero.jpg") right center/62% 100% no-repeat;
  color:#fff;
}
.fifs_hero_inner{
  max-width:1180px;
  margin:0 auto;
  padding:72px 34px 78px;
}
.fifs_kicker{
  display:inline-block;
  color:#c8ecc2;
  font-size:12px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:15px;
}
.fifs_hero h1{
  max-width:660px;
  margin:0 0 22px!important;
  color:#fff!important;
  font-size:58px!important;
  line-height:1.03!important;
  letter-spacing:-.045em!important;
  font-weight:850!important;
}
.fifs_hero h1 span{color:#8acb49}
.fifs_hero p{
  max-width:620px;
  color:rgba(255,255,255,.94);
  font-size:18px;
  line-height:1.65;
  margin:0 0 30px;
}
.fifs_actions{display:flex;gap:12px;flex-wrap:wrap}
.fifs_btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 23px;
  border-radius:9px;
  text-decoration:none!important;
  font-weight:800;
}
.fifs_btn_primary{
  background:linear-gradient(135deg,#8acb49,#61ae39);
  color:#0a311f!important;
  box-shadow:0 8px 20px rgba(93,164,53,.24);
}
.fifs_btn_secondary{
  color:#fff!important;
  border:1px solid rgba(255,255,255,.75);
  background:rgba(0,0,0,.08);
}
.fifs_btn:hover{transform:translateY(-2px)}

/* Feature strip */
.fifs_feature_wrap{
  max-width:1120px;
  margin:-26px auto 0;
  padding:0 24px;
  position:relative;
  z-index:3;
}
.fifs_feature_strip{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  background:#fff;
  border:1px solid #dce7e3;
  border-radius:14px;
  box-shadow:0 14px 34px rgba(5,55,36,.09);
}
.fifs_feature{
  min-height:92px;
  padding:18px 16px;
  border-right:1px solid #e8eeeb;
}
.fifs_feature:last-child{border-right:0}
.fifs_feature strong{
  display:block;
  color:#072f45;
  font-size:14px;
}
.fifs_feature small{
  display:block;
  color:#667c87;
  font-size:11px;
  margin-top:4px;
}

/* About + CFP cards */
.fifs_home_grid{
  max-width:1120px;
  margin:0 auto;
  padding:54px 24px 26px;
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:24px;
}
.fifs_card{
  background:#fff;
  border:1px solid #dce7e3;
  border-radius:16px;
  box-shadow:0 14px 34px rgba(5,55,36,.09);
  padding:30px 32px;
}
.fifs_card h2{
  color:#072f45!important;
  font-size:27px!important;
  line-height:1.2!important;
  margin:0 0 20px!important;
  font-weight:850!important;
}
.fifs_card p,.fifs_description{
  color:#435b66;
  font-size:15px;
  line-height:1.75;
}
.fifs_additional{
  color:#435b66;
  font-size:14px;
  line-height:1.65;
}
.fifs_text_link{
  color:#0b765f!important;
  font-weight:850;
  text-decoration:none!important;
}

/* OJS announcements + current issue */
.fifs_index>.cmp_announcements,
.fifs_current_issue{
  max-width:1072px;
  margin:26px auto;
  background:#fff;
  border:1px solid #dce7e3;
  border-radius:16px;
  box-shadow:0 14px 34px rgba(5,55,36,.09);
  padding:28px 30px;
}
.fifs_current_issue h2{color:#072f45!important}

/* Quick links */
.fifs_quick_links{
  max-width:1072px;
  margin:26px auto 56px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.fifs_quick_links a{
  display:block;
  background:#fff;
  border:1px solid #dce7e3;
  border-radius:12px;
  padding:18px 20px;
  color:#073e2b!important;
  font-weight:800;
  text-decoration:none!important;
  box-shadow:0 6px 18px rgba(8,50,69,.05);
}
.fifs_quick_links a:hover{
  transform:translateY(-2px);
  border-color:#bcd9b0;
  box-shadow:0 14px 34px rgba(5,55,36,.09);
}

@media(max-width:900px){
  .fifs_home_grid{grid-template-columns:1fr}
  .fifs_feature_strip{grid-template-columns:repeat(2,1fr)}
  .fifs_quick_links{grid-template-columns:1fr 1fr;padding:0 18px}
}
@media(max-width:700px){
  .fifs_hero{
    min-height:auto;
    background:
      linear-gradient(90deg,rgba(3,43,30,.96),rgba(3,43,30,.88)),
      url("https://scientificscholarly.org/fifs-assets/fifs-hero.jpg") center/cover no-repeat;
  }
  .fifs_hero_inner{padding:50px 22px 56px}
  .fifs_hero h1{font-size:41px!important}
  .fifs_hero p{font-size:16px}
  .fifs_feature_strip{grid-template-columns:1fr}
  .fifs_feature{border-right:0;border-bottom:1px solid #e8eeeb}
  .fifs_quick_links{grid-template-columns:1fr}
}
/* ===== FIFS FOOTER REFINEMENT ===== */

.pkp_structure_footer_wrapper{
  background:linear-gradient(135deg,#062d43,#073e2b)!important;
  color:#fff!important;
  padding:0!important;
  border-top:0!important;
}

.pkp_structure_footer{
  max-width:1180px!important;
  margin:0 auto!important;
  padding:34px 30px!important;
  min-height:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:40px!important;
}

.pkp_footer_content{
  padding:0!important;
  margin:0!important;
  max-width:620px!important;
}

.pkp_footer_content p{
  margin:2px 0!important;
  line-height:1.45!important;
  font-size:14px!important;
}

.pkp_footer_content strong{
  font-size:15px!important;
}

.pkp_brand_footer{
  margin:0!important;
  padding:0!important;
  width:auto!important;
  max-width:180px!important;
  opacity:.88!important;
}

.pkp_brand_footer img{
  max-width:170px!important;
  height:auto!important;
}

@media(max-width:700px){
  .pkp_structure_footer{
    display:block!important;
    padding:28px 22px!important;
  }

  .pkp_brand_footer{
    margin-top:24px!important;
  }
}

/* ===== FINAL COMPACT FOOTER OVERRIDE ===== */

.pkp_structure_footer_wrapper{
  padding:0 !important;
  margin:0 !important;
  min-height:0 !important;
}

.pkp_structure_footer{
  padding:28px 30px !important;
  margin:0 auto !important;
  min-height:0 !important;
  height:auto !important;
}

.pkp_footer_content{
  padding:0 !important;
  margin:0 !important;
  min-height:0 !important;
}

.pkp_footer_content p{
  margin:0 0 3px 0 !important;
  padding:0 !important;
}

.pkp_brand_footer{
  padding:0 !important;
  margin:0 !important;
  min-height:0 !important;
}

.pkp_brand_footer img{
  max-width:145px !important;
  height:auto !important;
}

.pkp_structure_footer::before,
.pkp_structure_footer::after,
.pkp_structure_footer_wrapper::before,
.pkp_structure_footer_wrapper::after{
  display:none !important;
  content:none !important;
}
.pkp_structure_footer{
  align-items:center!important;
}

.pkp_footer_content,
.pkp_brand_footer{
  align-self:center!important;
}
/* ===== FIFS HEADER REFINEMENT ===== */

.pkp_site_name{
  padding-top:14px!important;
  padding-bottom:11px!important;
}

.pkp_site_name .is_text{
  font-size:28px!important;
  line-height:1.12!important;
}

.pkp_site_name:after{
  margin-top:4px!important;
}

.pkp_head_wrapper{
  padding-top:0!important;
  padding-bottom:0!important;
}
/* ===== FIFS CLEAN MOBILE JOURNAL HEADER ===== */
@media (max-width: 767px) {

  .pkp_site_name .is_text {
    font-size: 0 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    text-align: center !important;
  }

  .pkp_site_name .is_text::before {
    content: "FIFS";
    display: block;
    font-size: 26px !important;
    line-height: 1.2;
    font-weight: 800;
    color: #073e2b;
    letter-spacing: .04em;
  }

  .pkp_site_name {
    padding: 12px 15px !important;
    text-align: center !important;
  }
}
/* Hide OJS/PKP footer branding */
.pkp_brand_footer {
    display: none !important;
}
/* ===== FIFS HEADER LOGO ===== */

.pkp_site_name {
    position: relative !important;
    padding-left: 90px !important;
    min-height: 72px !important;
}

.pkp_site_name::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 72px !important;
    height: 58px !important;
    background: url("https://scientificscholarly.org/fifs-assets/fifs-logo.png") center/contain no-repeat !important;
}

@media (max-width: 767px) {
    .pkp_site_name {
        padding-left: 70px !important;
        min-height: 58px !important;
        text-align: left !important;
    }

    .pkp_site_name::before {
        width: 58px !important;
        height: 48px !important;
    }
}
/* =========================================================
   FIFS ISSUE PAGE + ARTICLE LANDING PAGE REFINEMENT
   ========================================================= */


/* ---------- GENERAL INNER PAGE WIDTH ---------- */

.page_issue .pkp_structure_content,
.page_article .pkp_structure_content{
    max-width:1180px !important;
    margin:0 auto !important;
    padding-left:24px !important;
    padding-right:24px !important;
}


/* =========================================================
   ISSUE PAGE
   ========================================================= */

.page_issue .pkp_structure_main{
    width:calc(100% - 300px) !important;
    max-width:none !important;
    padding-right:34px !important;
}

.page_issue .pkp_structure_sidebar{
    width:270px !important;
}


/* Issue heading */
.page_issue .page_title{
    font-size:30px !important;
    line-height:1.2 !important;
    font-weight:800 !important;
    color:#072f45 !important;
    margin-bottom:26px !important;
}


/* Issue header / cover area */
.page_issue .obj_issue_toc .heading{
    display:grid !important;
    grid-template-columns:190px 1fr !important;
    gap:30px !important;
    align-items:start !important;
    padding:26px !important;
    margin-bottom:30px !important;
    background:#fff !important;
    border:1px solid #dce7e3 !important;
    border-radius:14px !important;
    box-shadow:0 10px 28px rgba(7,47,69,.07) !important;
}


/* Make issue cover larger */
.page_issue .obj_issue_toc .cover{
    width:190px !important;
    max-width:190px !important;
    margin:0 !important;
}

.page_issue .obj_issue_toc .cover img{
    width:100% !important;
    height:auto !important;
    display:block !important;
    border-radius:4px !important;
    box-shadow:0 8px 24px rgba(0,0,0,.12) !important;
}


/* Issue information */
.page_issue .obj_issue_toc .published{
    font-size:14px !important;
    color:#60727a !important;
    margin-top:8px !important;
}


/* Section headings */
.page_issue .obj_issue_toc .section{
    margin-top:34px !important;
}

.page_issue .obj_issue_toc .section > h2{
    font-size:18px !important;
    line-height:1.2 !important;
    font-weight:800 !important;
    text-transform:uppercase !important;
    letter-spacing:.06em !important;
    color:#073e2b !important;
    border-bottom:2px solid #8acb49 !important;
    padding-bottom:10px !important;
    margin-bottom:18px !important;
}


/* Article cards on issue page */
.page_issue .obj_article_summary{
    padding:22px 24px !important;
    margin-bottom:16px !important;
    border:1px solid #dce7e3 !important;
    border-radius:12px !important;
    background:#fff !important;
    box-shadow:0 5px 16px rgba(7,47,69,.04) !important;
    transition:.2s ease !important;
}

.page_issue .obj_article_summary:hover{
    transform:translateY(-2px) !important;
    box-shadow:0 10px 26px rgba(7,47,69,.08) !important;
    border-color:#bfd8cd !important;
}


/* Article title */
.page_issue .obj_article_summary .title{
    font-size:17px !important;
    line-height:1.45 !important;
    font-weight:800 !important;
    margin-bottom:8px !important;
}

.page_issue .obj_article_summary .title a{
    color:#072f45 !important;
    text-decoration:none !important;
}

.page_issue .obj_article_summary .title a:hover{
    color:#0b765f !important;
}


/* Authors */
.page_issue .obj_article_summary .authors{
    font-size:13px !important;
    line-height:1.55 !important;
    color:#64777f !important;
    margin-bottom:13px !important;
}


/* PDF button */
.page_issue .obj_article_summary .galleys_links a{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:72px !important;
    min-height:34px !important;
    padding:6px 15px !important;
    background:#073e2b !important;
    border:0 !important;
    border-radius:6px !important;
    color:#fff !important;
    font-size:12px !important;
    font-weight:800 !important;
    text-decoration:none !important;
}

.page_issue .obj_article_summary .galleys_links a:hover{
    background:#0b765f !important;
}


/* =========================================================
   ARTICLE LANDING PAGE
   ========================================================= */

.page_article .pkp_structure_main{
    width:calc(100% - 320px) !important;
    max-width:none !important;
    padding-right:36px !important;
}

.page_article .pkp_structure_sidebar{
    width:285px !important;
}


/* Article container */
.page_article .obj_article_details{
    background:#fff !important;
}


/* Article title */
.page_article .obj_article_details .page_title{
    font-size:32px !important;
    line-height:1.25 !important;
    letter-spacing:-.02em !important;
    color:#072f45 !important;
    font-weight:800 !important;
    margin:4px 0 28px !important;
}


/* Authors */
.page_article .obj_article_details .authors{
    margin-bottom:22px !important;
}

.page_article .obj_article_details .authors li{
    margin-bottom:14px !important;
}

.page_article .obj_article_details .name{
    color:#073e2b !important;
    font-size:15px !important;
    font-weight:800 !important;
}

.page_article .obj_article_details .affiliation{
    color:#667b84 !important;
    font-size:12px !important;
    line-height:1.5 !important;
}


/* DOI */
.page_article .obj_article_details .doi{
    margin:22px 0 !important;
    padding:12px 16px !important;
    background:#f2f8f4 !important;
    border-left:4px solid #4f972f !important;
    border-radius:0 7px 7px 0 !important;
}

.page_article .obj_article_details .doi a{
    color:#0b765f !important;
    font-weight:700 !important;
}


/* Keywords */
.page_article .obj_article_details .keywords{
    margin:22px 0 !important;
    line-height:1.7 !important;
}


/* Abstract */
.page_article .obj_article_details .abstract{
    margin-top:30px !important;
}

.page_article .obj_article_details .abstract h2{
    font-size:20px !important;
    font-weight:800 !important;
    color:#073e2b !important;
    border-bottom:2px solid #8acb49 !important;
    padding-bottom:9px !important;
    margin-bottom:17px !important;
}

.page_article .obj_article_details .abstract p{
    font-size:15px !important;
    line-height:1.8 !important;
    color:#374f5a !important;
}


/* Right metadata column */
.page_article .obj_article_details .entry_details{
    background:#fff !important;
    border:1px solid #dce7e3 !important;
    border-radius:12px !important;
    overflow:hidden !important;
}

.page_article .obj_article_details .entry_details > div{
    padding:16px 18px !important;
    border-bottom:1px solid #e7efeb !important;
}


/* Issue cover on article page */
.page_article .obj_article_details .cover_image img,
.page_article .obj_article_details .entry_details img{
    max-width:180px !important;
    height:auto !important;
    margin:0 auto !important;
    display:block !important;
}


/* PDF button on article page */
.page_article .obj_article_details .galleys_links a,
.page_article .obj_article_details .galley-link{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:9px 18px !important;
    min-width:80px !important;
    background:#073e2b !important;
    color:#fff !important;
    border:0 !important;
    border-radius:7px !important;
    font-weight:800 !important;
    text-decoration:none !important;
}

.page_article .obj_article_details .galleys_links a:hover,
.page_article .obj_article_details .galley-link:hover{
    background:#0b765f !important;
}


/* License */
.page_article .obj_article_details .license{
    font-size:13px !important;
    line-height:1.65 !important;
    color:#536a74 !important;
}


/* References */
.page_article .obj_article_details .references{
    margin-top:34px !important;
}

.page_article .obj_article_details .references h2{
    font-size:20px !important;
    color:#073e2b !important;
    border-bottom:2px solid #8acb49 !important;
    padding-bottom:9px !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media(max-width:900px){

    .page_issue .pkp_structure_main,
    .page_article .pkp_structure_main{
        width:100% !important;
        padding-right:0 !important;
    }

    .page_issue .pkp_structure_sidebar,
    .page_article .pkp_structure_sidebar{
        width:100% !important;
        margin-top:30px !important;
    }

    .page_issue .obj_issue_toc .heading{
        grid-template-columns:150px 1fr !important;
    }

    .page_issue .obj_issue_toc .cover{
        width:150px !important;
        max-width:150px !important;
    }
}


@media(max-width:600px){

    .page_issue .pkp_structure_content,
    .page_article .pkp_structure_content{
        padding-left:15px !important;
        padding-right:15px !important;
    }

    .page_issue .obj_issue_toc .heading{
        display:block !important;
        padding:20px !important;
    }

    .page_issue .obj_issue_toc .cover{
        width:160px !important;
        max-width:160px !important;
        margin:0 auto 22px !important;
    }

    .page_article .obj_article_details .page_title{
        font-size:25px !important;
    }

    .page_issue .obj_article_summary{
        padding:18px !important;
    }
}
/* ===== FIFS OJS PAGE SELECTOR FIX ===== */

/* ARTICLE PAGE TEST */
.pkp_page_article .obj_article_details .page_title{
    font-size:32px !important;
    line-height:1.25 !important;
    color:#072f45 !important;
    font-weight:800 !important;
}

/* ISSUE PAGE TEST */
.pkp_page_issue .obj_issue_toc .section > h2{
    color:#073e2b !important;
    font-size:20px !important;
    font-weight:800 !important;
    text-transform:uppercase !important;
    border-bottom:3px solid #8acb49 !important;
    padding-bottom:10px !important;
}
/* ===== FIFS ARTICLE FINAL POLISH ===== */

/* Hide repeated contributor role label */
.pkp_page_article .obj_article_details .authors .user_group{
    display:none !important;
}

/* Tighten author spacing */
.pkp_page_article .obj_article_details .authors li{
    margin-bottom:9px !important;
}

.pkp_page_article .obj_article_details .authors .name{
    margin-bottom:2px !important;
}

.pkp_page_article .obj_article_details .authors .affiliation{
    line-height:1.35 !important;
}

/* Give main article content a little more room */
.pkp_page_article .obj_article_details .main_entry{
    width:67% !important;
}

.pkp_page_article .obj_article_details .entry_details{
    width:33% !important;
}

/* Slightly tighten sidebar metadata text */
.pkp_page_article .obj_article_details .entry_details{
    font-size:12px !important;
    line-height:1.55 !important;
}

/* DOI strip refinement */
.pkp_page_article .obj_article_details .doi{
    padding:14px 16px !important;
}
/* ===== FIFS HIDE PUBLIC CONTRIBUTOR ROLE LABEL ===== */

/* Hide "Author" underneath each contributor */
.pkp_page_article .obj_article_details .authors .user_group {
    display: none !important;
}

.pkp_page_article .obj_article_details .authors .role {
    display: none !important;
}