/* trophos-style.css */

/* 1. Change the header background color */
.pkp_structure_head {
    background-color: #004b87 !important; /* Elsevier/Food Control dark blue */
    border-bottom: 3px solid #00a160 !important; /* Optional: Food Control green accent line */
}

/* 2. Change the site title and top-level navigation links to white for contrast */
.pkp_structure_head .pkp_site_name,
.pkp_structure_head .pkp_navigation_primary > li > a,
.pkp_structure_head .pkp_navigation_user > li > a {
    color: #ffffff !important;
}

/* 3. Add a hover effect so users know they are pointing at a top-level link */
.pkp_structure_head .pkp_navigation_primary > li > a:hover,
.pkp_structure_head .pkp_navigation_primary > li > a:focus,
.pkp_structure_head .pkp_navigation_user > li > a:hover,
.pkp_structure_head .pkp_navigation_user > li > a:focus {
    color: #cccccc !important;
}

/* 4. Fix dropdown menu contrast (Dark text on white background) */
.pkp_structure_head .pkp_navigation_primary ul,
.pkp_structure_head .pkp_navigation_user ul {
    background-color: #ffffff !important; /* Force white background for dropdowns */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15) !important; /* Adds a nice shadow depth */
}

.pkp_structure_head .pkp_navigation_primary ul li a,
.pkp_structure_head .pkp_navigation_user ul li a {
    color: #333333 !important; /* Dark grey text for readability */
}

.pkp_structure_head .pkp_navigation_primary ul li a:hover,
.pkp_structure_head .pkp_navigation_user ul li a:hover,
.pkp_structure_head .pkp_navigation_primary ul li a:focus,
.pkp_structure_head .pkp_navigation_user ul li a:focus {
    color: #ffffff !important; /* White text on hover */
    background-color: #004b87 !important; /* Elsevier blue background on hover */
}

/* ----------------------------------------- */
/* 5. Style the Footer to match the Header   */
/* ----------------------------------------- */

/* Apply the background and top border to the full-width wrapper */
.pkp_structure_footer_wrapper {
    background-color: #004b87 !important; /* Elsevier/Food Control dark blue */
    border-top: 3px solid #00a160 !important; /* Food Control green accent line */
}

/* Format the text inside the central footer container */
.pkp_structure_footer {
    color: #ffffff !important; /* Makes standard text white */
    padding-top: 40px !important; /* Adds breathing room */
    padding-bottom: 40px !important;
}

/* 6. Fix footer links so they are visible on the dark background */
.pkp_structure_footer_wrapper a {
    color: #80c7ff !important; /* Soft light blue for links */
    text-decoration: none !important;
}

.pkp_structure_footer_wrapper a:hover,
.pkp_structure_footer_wrapper a:focus {
    color: #ffffff !important; /* Turns white when hovered over */
    text-decoration: underline !important;
}

/* 7. Ensure any headings placed in the footer remain white */
.pkp_structure_footer_wrapper h1, 
.pkp_structure_footer_wrapper h2, 
.pkp_structure_footer_wrapper h3, 
.pkp_structure_footer_wrapper h4 {
    color: #ffffff !important;
}


.pkp_structure_page {
  margin-top: 0px !important;
  margin-bottom: 20px !important; /* Fixed a missing 'px' here for you */
  padding-bottom: 0px !important;
}

.obj_article_details .abstract {
    text-align: justify;
}
.pkp_footer_content {
  float: left;
  width: 75%;  
  padding-top: 10px;
  padding-bottom:10px;
}
.pkp_brand_footer {
  float: right;
  width: 25%;
  padding-bottom:10px;
  padding-top: 50px;
}
.pkp_structure_main p {
    text-align: justify;
}

/* =========================================
   TROPHOS: ARTICLE LIST STYLING (CURRENT ISSUE)
   ========================================= */
.obj_article_summary {
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0;
}

/* Make article titles Elsevier Blue */
.obj_article_summary .title a {
    color: #005ea5; 
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
}

.obj_article_summary .title a:hover {
    text-decoration: underline;
    color: #00467f;
}

/* Italicize the author names */
.obj_article_summary .authors {
    color: #4b4b4b;
    font-style: italic;
    margin-top: 5px;
    margin-bottom: 15px;
}

/* Style the PDF Galley Button */
.obj_article_summary .galleys .obj_galley_link {
    background-color: transparent;
    color: #e9711c; 
    border: 1px solid #e9711c;
    padding: 6px 15px;
    border-radius: 20px; 
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.2s ease-in-out;
}

.obj_article_summary .galleys .obj_galley_link:hover {
    background-color: #e9711c;
    color: #ffffff;
    text-decoration: none;
}

/* Automatically inject "Open Access" label before the PDF buttons */
.obj_article_summary .galleys::before {
    content: "• Open Access";
    display: block;
    color: #007e2f; /* Elsevier Green */
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* =========================================
   TROPHOS: ARTICLE DETAILS COVER IMAGE
   ========================================= */

.obj_article_details .entry_details .item.cover_image {
    margin-bottom: 25px;
    text-align: center;
}

.obj_article_details .entry_details .item.cover_image img {
    max-width: 100%;
    height: auto;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15); /* Soft, professional shadow */
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    transition: transform 0.2s ease-in-out;
}

/* Adds a very slight zoom effect when the reader hovers over the cover */
.obj_article_details .entry_details .item.cover_image img:hover {
    transform: scale(1.02);
}



