/* Increase the base font size of the entire website by 20% */
body {
    font-size: 1.3em !important;
    /* 1.0em = 100%, so 1.2em = 120% */
}

/* Increase the journal title in the header */
h1.pkp_site_name {
    font-size: 7.0em !important;
    /* Adjust this value as needed */
}

/* Increase main navigation menu items */
.pkp_navigation_primary a {
    font-size: 1.2em !important;
}

/* Increase user navigation links (Login/Register) */
.pkp_navigation_user a {
    font-size: 1.2em !important;
}

/* Option 1: If the cover is added as a "Homepage Image" */
.homepage-image {
    transform: scale(1.1);
    /* Increases size by 20% */
    transition: transform 0.3s ease;
}

/* Option 2: If the cover is in a custom block */
.block_custom img {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Option 3: General rule for any image in the main content area */
.pkp_structure_main img {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Increase font size of the user navigation links (Login/Register) */
.pkp_navigation_user a {
    font-size: 1.2em !important;
    /* Adjust as needed */
}

/* If they are inside a list, also target the list items */
.pkp_navigation_user li {
    font-size: 1.2em !important;
}

/* Hide any search-related icons */
.fa-search,
.search-icon,
.pkp_search {
    display: none !important;
}

/* Increase icons */
.block_information .fa,
.block_information .fas,
.block_information .far {
    font-size: 1.5em !important;
    margin-right: 8px !important;
}

/* Increase the text as well */
.block_information a {
    font-size: 1.1em !important;
}

/* Increase the block title */
.block_information .title {
    font-size: 1.3em !important;
}

/* Increase the button size and text */
.block_make_submission .block_make_submission_link {
    font-size: 1.4em !important;
    padding: 5px 5px !important;
    background-color: #4da885 !important;
    color: #ffffff !important;
    border-radius: 5px !important;
    display: block !important;
    text-align: left !important;
    text-decoration: none !important;
}

/* Add hover effect */
.block_make_submission .block_make_submission_link:hover {
    background-color: #86c2c2 !important;
}

/* Move the user navigation to the same line as the primary navigation */
.pkp_site_navbar {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* Keep primary navigation on the left */
.pkp_navigation_primary {
    order: 1 !important;
    flex: 1 1 auto !important;
}

/* Move user navigation to the right, on the same row */
.pkp_navigation_user {
    order: 2 !important;
    margin-left: auto !important;
    padding-left: 20px !important;
}

/* Hide the header's top bar if it exists */
.pkp_site_header .header_top,
.pkp_site_header .user-nav {
    display: none !important;
}

/* Change the entire sidebar background */
.pkp_structure_sidebar {
    background-color: #cbf0fc !important;
    padding: 10px !important;
    border-radius: 5px !important;
}

/* Sidebar block styling */
.pkp_structure_sidebar .pkp_block {
    background-color: #46859e !important;
    padding: 15px !important;
    border-radius: 5px !important;
    margin-bottom: 20px !important;
    color: #ffffff !important;
    /* White text for contrast */
}

/* Keep links readable */
.pkp_structure_sidebar .pkp_block a {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.pkp_structure_sidebar .pkp_block a:hover {
    color: #ffcc00 !important;
    /* Highlight on hover */
}

/* Block titles */
.pkp_structure_sidebar .pkp_block .title {
    color: #ffffff !important;
    font-weight: bold !important;
}

/* Sidebar container */
.pkp_structure_sidebar {
    background-color: #46859e !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

/* Sidebar blocks */
.pkp_structure_sidebar .pkp_block {
    background-color: #46859e !important;
    padding: 15px !important;
    margin: 0 0 10px 0 !important;
    border-radius: 0 !important;
}

/* Inner content of blocks */
.pkp_structure_sidebar .pkp_block .content {
    background-color: transparent !important;
    color: #ffffff !important;
}

/* Block titles */
.pkp_structure_sidebar .pkp_block .title {
    color: #ffffff !important;
    font-weight: bold !important;
}

/* Links inside blocks */
.pkp_structure_sidebar .pkp_block a {
    color: #ffffff !important;
}

.pkp_structure_sidebar .pkp_block a:hover {
    color: #ffcc00 !important;
}

/* Target the container with class "password" */
.password {
    min-width: 250px !important;
    /* Increase width to fit the link */
    white-space: nowrap !important;
    /* Prevent text from breaking */
}

/* Target the link inside the container */
.password a {
    white-space: nowrap !important;
    display: inline-block !important;
    font-size: 0.95em !important;
}

/* If the link is inside a list item */
.password li {
    display: inline-block !important;
    white-space: nowrap !important;
}

.pkp_structure_sidebar {
    flex: 0 0 300px !important;
    max-width: 300px !important;
    width: 300px !important;
}

/* Remove all margins from the sidebar */
.pkp_structure_sidebar {
    margin: 0 !important;
    padding: 0 10px !important;
    /* Keep small padding if needed */
}

/* Make the parent container use full width */
.pkp_structure_content {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
   /* align-items: stretch !important; */
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure the main content takes available space */
.pkp_structure_main {
    flex: 1 1 auto !important;
    max-width: 100% !important;
    margin-left: 100px !important;
    padding: 0 20px !important;
}

.pkp_structure_content_has_sidebar {
    background-color: #46859e !important;
}

/* Remove right margin and shift border */
.pkp_structure_sidebar {
    margin-right: 0 !important;
    padding-right: 0 !important;
    border-right: 1px solid #ddd !important;
}

/* Ensure the main content does not have extra space */
.pkp_structure_main {
    margin-right: 0 !important;
    padding-right: 0 !important;
}

/* Unified background for the entire content area */
.pkp_structure_content {
    background-color: #ffffff !important;
    gap: 0 !important;
}

.pkp_structure_main {
    background-color: #46859e !important;
    box-shadow: none !important;
}

.pkp_structure_sidebar {
    background-color: #46859e !important;
    /* Keep your sidebar color */
    box-shadow: none !important;
}

/* Remove any pseudo-elements that may create lines */
.pkp_structure_content::before,
.pkp_structure_content::after,
.pkp_structure_main::before,
.pkp_structure_main::after {
    display: none !important;
    content: none !important;
}

/* Increase font size for the entire custom block */
#customblock {
    font-size: 1.3em !important;
    /* Adjust as needed */
}

/* Style all action links in the header */
.pkp_navigation_user a[href*="submissions"],
.pkp_navigation_primary a[href*="register"] {
    display: inline-block !important;
    padding: 8px 16px !important;
    margin: 0 4px !important;
    background: #fc7b03 !important;
    color: #ffffff !important;
    font-size: 1.1em !important;
    font-weight: bold !important;
    text-decoration: none !important;
    border-radius: 5px !important;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}
.pkp_navigation_primary a[href*="about"],
.pkp_navigation_primary a[href*="current"],
.pkp_navigation_primary a[href*="Focus"],
.pkp_navigation_primary a[href*="login"],
.pkp_navigation_primary a[href*="archive"] {
    display: inline-block !important;
    padding: 8px 16px !important;
    margin: 0 4px !important;
    background: #4da885 !important;
    color: #ffffff !important;
    font-size: 1.1em !important;
    font-weight: bold !important;
    text-decoration: none !important;
    border-radius: 5px !important;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.pkp_navigation_user a[href*="submissions"]:hover,
.pkp_navigation_primary a[href*="register"]:hover,
.pkp_navigation_primary a[href*="about"]:hover,
.pkp_navigation_primary a[href*="current"]:hover,
.pkp_navigation_primary a[href*="Focus"]:hover,
.pkp_navigation_primary a[href*="login"]:hover,
.pkp_navigation_primary a[href*="archive"]:hover {
    background: #4da885 !important;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2) !important;
    transform: translateY(-2px) !important;
}

/* ============================================================
   MOBILE NAVIGATION STYLES (for screens smaller than 768px)
   ============================================================ */
@media (max-width: 768px) {
 /* Reduce the width of the mobile navigation background */
    .pkp_navigation_primary_wrapper {
    width: 70% !important;
    max-width: 260px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}
    .pkp_navigation_user_wrapper {
    width: 70% !important;
    max-width: 260px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}
    .pkp_navigation_search_wrapper {
    width: 70% !important;
    max-width: 260px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}
 /* Style the search link */
    .pkp_navigation_search_wrapper a.pkp_search {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        font-size: 0.9em !important;
        padding: 10px 12px !important;
        background: #4da885 !important;
        color: #ffffff !important;
        text-align: center !important;
        border-radius: 5px !important;
        text-decoration: none !important;
    }
    /* Hover effect */
    .pkp_navigation_search_wrapper a.pkp_search:hover {
        background: #3c8a6b !important;
    }

    /* Ensure the navigation list items fit within the reduced width */
    .pkp_nav_list {
        width: 100% !important;
    }
    /* Make navigation buttons larger and full-width */
    .pkp_navigation_user a[href*="submissions"],
    .pkp_navigation_primary a[href*="register"] {
        display: block !important;
        width: 70% !important;
        padding: 5px 5px !important;
        margin: 2px 0 !important;
        background: #f36f04 !important;
        color: #ffffff !important;
        font-size: .8em !important;
        font-weight: bold !important;
        text-decoration: none !important;
        border-radius: 6px !important;
        box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1) !important;
        transition: all 0.3s ease !important;
        text-align: left !important;
    }
    .pkp_navigation_primary a[href*="about"],
    .pkp_navigation_primary a[href*="current"],
    .pkp_navigation_primary a[href*="Focus"],
    .pkp_navigation_primary a[href*="login"],
    .pkp_navigation_primary a[href*="archive"] {
        display: block !important;
        width: 70% !important;
        padding: 5px 5px !important;
        margin: 2px 0 !important;
        background: #4da885 !important;
        color: #ffffff !important;
        font-size: .8em !important;
        font-weight: bold !important;
        text-decoration: none !important;
        border-radius: 6px !important;
        box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1) !important;
        transition: all 0.3s ease !important;
        text-align: left !important;
    }

    /* Hover effect for mobile */
    .pkp_navigation_user a[href*="submissions"]:hover,
    .pkp_navigation_primary a[href*="about"]:hover,
    .pkp_navigation_primary a[href*="current"]:hover,
    .pkp_navigation_primary a[href*="Focus"]:hover,
    .pkp_navigation_primary a[href*="login"]:hover,
    .pkp_navigation_primary a[href*="register"]:hover,
    .pkp_navigation_primary a[href*="archive"]:hover {
        background: #3c8a6b !important;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2) !important;
        transform: translateY(-2px) !important;
    }

    /* Adjust the mobile menu toggle button */
    .pkp_site_nav_toggle {
        font-size: 1.2em !important;
        padding: 10px 5px !important;
        background: #4da885 !important;
        color: #ffffff !important;
        border-radius: 5px !important;
    }

    /* Adjust the header title for mobile */
    .pkp_site_name a {
        font-size: 1.2em !important;
    }

    /* Add spacing between items in the mobile menu */
    .pkp_nav_list li {
        margin-bottom: 8px !important;
    }
.pkp_site_nav_menu {
    width: 50% !important;
    max-width: 280px !important;
    right: auto !important;
    left: 0 !important;
}
}
/* ============================================================*/

/* Target all strong elements inside the custom block */
#customblock-info strong {
    color: #e4c722 !important;
}

/* Container for the cover image */
.cover-image-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Style the image itself */
.cover-image-container img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: zoom-in;
}

/* Target the footer wrapper to cover the side margins */
.pkp_structure_footer_wrapper {
    background-color: #46859e !important; /* Change to your preferred color */
}

/* Also ensure the footer itself matches */
.pkp_structure_footer {
    background-color: #46859e !important;
    padding: 20px 0 !important;
}

/* Adjust text and link colors for readability */
.pkp_structure_footer,
.pkp_structure_footer .pkp_block {
    color: #ffffff !important;
}

.pkp_structure_footer a {
    color: #ffcc00 !important;
}

.pkp_structure_footer a:hover {
    color: #ffffff !important;
}
/*******************************************************************************/
/* Enlarge the main content area */
.main_entry {
    width: 65% !important; /* Adjust this value as needed */
    max-width: 65% !important;
    padding-right: 10px !important;
}

/* Shorten the entry details column */
.entry_details {
    width: 25% !important; /* Adjust this value as needed */
    max-width: 25% !important;
    padding-left: 10px !important;
}
/* Decrease font size for all content inside main_entry */
.main_entry {
    font-size: 0.8em !important; /* Adjust as needed (0.8em, 0.85em, etc.) */
}
/******************************************************/
/* Sticky header */
.pkp_structure_head {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background-color: #46859e !important;
}

/* Main content background */
.pkp_structure_main {
    background-color: #edf7f7 !important;
}
/****************************************************************/
/* Increase font size of article titles */
.issue_toc .title a,
.obj_issue_toc .title {
    font-size: 1.2em !important;
    font-weight: 600 !important; /* Optional: make them slightly bolder */
}

/* Increase font size of author names */
.issue_toc .authors,
.obj_issue_toc .authors {
    font-size: 1.2em !important;
    font-weight: bold !important;
    font-style: italic !important; /* Makes the text italic */
}
    /* Increase font size of pages */
.issue_toc .pages,
.obj_issue_toc .pages {
    font-size: 1.3em !important;
    font-weight: bold !important;
}
      /* Increase font size of galleys_link */
.issue_toc .galleys_link,
.obj_issue_toc .galleys_link {
    font-size: 1.3em !important;
    font-weight: bold !important;
   }
   /****************************************************************/
   /* Caption text color */
.cover-image-caption {
    color: #003366 !important;
    font-size: 0.9em !important;
    text-align: center !important;
    margin-top: 5px !important;
}

/* Caption link color */
.cover-image-caption a {
    color: #008080 !important;
    text-decoration: underline !important;
}

.cover-image-caption a:hover {
    color: #ff6600 !important;
}
/*********************************************************************/
/* Change the color of all galley links */
.obj_galley_link {
    background-color: #008080 !important; /* Change to your preferred color */
    color: #ffffff !important; /* Text color */
    padding: 4px 10px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
}

/* Change color on hover */
.obj_galley_link:hover {
    background-color: #003366 !important;
    color: #ffffff !important;
}
/*********************************************************************/
.custom-login-message {
    background-color: #f0f8ff;
    color: #003366 !important; /* Text color */
    font-size: 1.1em !important;
    font-weight: bold !important;
    border-left: 4px solid #003366;
    padding: 10px 15px;
    margin: 15px 0;
}
/*********************************************************************/
/* Editorial board page styling */
.user_listing li {
    font-family: 'Georgia', serif !important;
    font-size: 1.0em !important;
    font-weight: bold !important;
    color: #003366 !important;
    margin-bottom: 10px !important;
}

.user_listing li .affiliation {
    font-family: 'Arial', sans-serif !important;
    font-size: 0.8em !important;
    font-weight: normal !important;
    font-style: italic !important;
    color: #555555 !important;
}

h2 {
    font-family: 'Arial', sans-serif !important;
    font-size: 1.2em !important;
    font-weight: 600 !important;
    color: #003366 !important;
    border-bottom: 2px solid #003366 !important;
    padding-bottom: 10px !important;
}
/**********************************************************/
/*changing of the podding for the custom login page*/
.custom-login-message {
    background-color: #f9f9f9;      /* Light gray background */
    color: #333333 !important;      /* Dark gray text */
    font-size: 0.8em !important;      /* Slightly smaller text */
    font-weight: 200 !important;    /* Semi-bold */
    border-left: 3px solid #008080; /* Teal accent */
    padding: 1px 1px;             /* More padding */
    margin: 10px 0;                 /* More margin */
    border-radius: 4px;             /* Rounded corners */
}
/**********************************************************************/
/** adding some fonts to the website */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Open+Sans:wght@400;600&display=swap');
/* ============================================
   GLOBAL FONTS
   ============================================ */
body {
    font-family: 'Open Sans', Arial, sans-serif !important;
    color: #333333 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', Georgia, serif !important;
    color: #003366 !important;
}

/* ============================================
   HEADER
   ============================================ */
.pkp_structure_head {
    background-color: #003366 !important;
}

.pkp_site_name a {
    color: #ffffff !important;
    font-family: 'Merriweather', Georgia, serif !important;
}

/* ============================================
   NAVIGATION
   ============================================ */
.pkp_navigation_primary a {
    color: #ffffff !important;
    font-family: 'Open Sans', sans-serif !important;
}

.pkp_navigation_primary a:hover {
    color: #ffcc00 !important;
}

/* ============================================
   LINKS
   ============================================ */
a {
    color: #008080 !important;
}

a:hover {
    color: #00a0a0 !important;
}

/* ============================================
   BUTTONS
   ============================================ */
.button, .btn, input[type="submit"] {
    background-color: #008080 !important;
    color: #ffffff !important;
    font-family: 'Open Sans', sans-serif !important;
}

.button:hover, .btn:hover, input[type="submit"]:hover {
    background-color: #003366 !important;
}

/* ============================================
   SIDEBAR
   ============================================ */
.pkp_structure_sidebar .pkp_block {
    background-color: #003366 !important;
    border-left: 4px solid #008080 !important;
}

.pkp_structure_sidebar .title {
    color: #003366 !important;
    font-family: 'Merriweather', Georgia, serif !important;
}

/* ============================================
   FOOTER
   ============================================ */
.pkp_structure_footer {
    background-color: #003366 !important;
    color: #ffffff !important;
}

.pkp_structure_footer a {
    color: #ffcc00 !important;
}
/***********************************************************************/
/* AMSE top header tagline */
.pkp_structure_head {
    position: relative;
}

.pkp_structure_head::before {
    content: "Advancing the Design and Engineering of Autonomous Marine Systems";
    position: absolute;
    top: 10px;
    left: 95px;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    z-index: 9999;
}
/* Add the journal status line below the existing logo/title */
.pkp_site_name::after {
    content: "International  •  Peer-Reviewed  •  Open Access";
    display: block;
    width: 100%;
    margin-top: 5px;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    text-align: left;
    letter-spacing: 0.4px;
}

/* Arrange the existing logo/title between the two new lines */
.pkp_site_name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Keep the existing logo/title centered */
.pkp_site_name > a {
    display: block;
}

/* Make sure the logo itself does not become too large */
.pkp_site_name img {
    max-height: 120px;
    width: auto;
}

/* ---------------------------------------------------------
   Mobile adjustment
   --------------------------------------------------------- */

@media (max-width: 768px) {

    .pkp_structure_head::before {
        font-size: 0.1px;
        margin-bottom: 1px;
        padding: 0 10px;
    }

    .pkp_site_name::after {
        font-size: 0.1px;
        margin-top: 1px;
    }

    .pkp_site_name img {
        max-height: 75px;
    }
    .pkp_structure_main {
    margin-left: 0px !important;
    padding: 0 10px !important;
}
}
@media (max-width: 768px) {

    /* Stack the sidebar and main content vertically */
    .pkp_structure_content {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    /* Make the sidebar full width (or a specific width) at the top */
    .pkp_structure_sidebar {
        width: 92% !important;
        max-width: 100% !important;
        order: 1 !important; /* Sidebar appears first */
        margin-bottom: 15px !important;
    }

    /* Make the main content full width below the sidebar */
    .pkp_structure_main {
        width: 100% !important;
        max-width: 100% !important;
        order: 2 !important; /* Main content appears second */
        padding: 0 10px !important; /* Optional: add some padding */
    }

    /* Ensure the footer is also full width */
    .pkp_structure_footer {
        width: 100% !important;
    }
    /* Change the color of the Logout button */
.pkp_navigation_user a[href*="signOut"] {
    color: #ffffff !important;
}
}
/* Change the color of the Logout button */
.pkp_navigation_user a[href*="signOut"] {
    color: #ffffff !important;
}
/* ============================================================
   COVER SLIDER - 8 SLIDES WITH SMOOTH FADE
   ============================================================ */
.cover-slider {
    position: relative;
    width: 100%;
    min-height: 400px; /* Adjust based on your image height */
}

.cover-slider .cover-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    animation: smoothFade 40s infinite;
}

/* Stagger each slide by 5 seconds */
.cover-slider .cover-slide:nth-child(1) { animation-delay: 0s; }
.cover-slider .cover-slide:nth-child(2) { animation-delay: 5s; }
.cover-slider .cover-slide:nth-child(3) { animation-delay: 10s; }
.cover-slider .cover-slide:nth-child(4) { animation-delay: 15s; }
.cover-slider .cover-slide:nth-child(5) { animation-delay: 20s; }
.cover-slider .cover-slide:nth-child(6) { animation-delay: 25s; }
.cover-slider .cover-slide:nth-child(7) { animation-delay: 30s; }
.cover-slider .cover-slide:nth-child(8) { animation-delay: 35s; }


/* Smooth fade animation */
@keyframes smoothFade {
    0%   { opacity: 0; }
    5%   { opacity: 1; }
    20%  { opacity: 1; }
    25%  { opacity: 0; }
    100% { opacity: 0; }
}

/* Ensure images fill the container */
.cover-slider .cover-slide img {
    width: 100%;
    height: auto;
    display: block;
}
/* Fix the form error message styling */
.pkp_form_error {
    background-color: #f8d7da !important; /* Light red background */
    color: #850915 !important;            /* Dark red text */
    border: 1px solid #f5c6cb !important; /* Red border */
    font-size: 1.01em !important;
    padding: 10px 15px !important;
    border-radius: 5px !important;
    display: block !important;
    margin-bottom: 15px !important;
    text-decoration: none !important;
}
.pkp_form_error_list {
    background-color: #f8d7da !important; /* Light red background */
    color: #850915 !important;            /* Dark red text */
    border: 1px solid #f5c6cb !important; /* Red border */
    font-size: 1.01em !important;
    padding: 10px 15px !important;
    border-radius: 5px !important;
    display: block !important;
    margin-bottom: 15px !important;
    text-decoration: none !important;
}
/* ============================================================
   EDITORIAL BOARD PAGE STYLING
   ============================================================ */

/* Style the page title "Editorial Board" */
.page_masthead h1 {
    font-family: 'Georgia', serif !important;
    font-size: 1.2em !important;
    font-weight: bold !important;
    color: #003366 !important;
    border-bottom: 2px solid #008080 !important;
    padding-bottom: 10px !important;
    margin-bottom: 20px !important;
}

/* Style the section headings ("Journal editor", "Editorial Board Member") */
.page_masthead h2 {
    font-family: 'Georgia', serif !important;
    font-size: 1.2em !important;
    font-weight: bold !important;
    color: #008080 !important;
    margin-top: 25px !important;
    margin-bottom: 10px !important;
}

/* Style the list container */
.user_listing {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* Style each board member list item */
.user_listing li {
    margin-bottom: 12px !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid #eeeeee !important;
    line-height: 1.3 !important;
}

/* Style the date range (e.g., "2026 –") */
.user_listing .date_start {
    font-family: 'Arial', sans-serif !important;
    font-size: 0.85em !important;
    color: #888888 !important;
    margin-right: 8px !important;
}

/* Style the member name */
.user_listing .name {
    font-family: 'Georgia', serif !important;
    font-size: 1.1em !important;
    font-weight: bold !important;
    color: #003366 !important;
    display: block !important;
    margin-bottom: 3px !important;
}

/* Style the affiliation on the Editorial Board page */
.page_masthead .user_listing .affiliation,
.page_masthead ul.user_listing li .affiliation {
    color: #045f8a !important;
    font-family: 'Arial', sans-serif !important;
    font-size: 0.95em !important;
    font-style: italic !important;
    font-weight: bold !important;
    display: block !important;
    line-height: 1.05 !important;
}

/* Style the "View Editorial History" link */
.page_masthead p a {
    font-family: 'Arial', sans-serif !important;
    font-size: 0.95em !important;
    color: #008080 !important;
    text-decoration: none !important;
}

.page_masthead p a:hover {
    color: #003366 !important;
    text-decoration: underline !important;
}
/*******************************************************************/
/* Justify the abstract text on desktop */
.main_entry .abstract,
.main_entry .abstract p,
.main_entry .item.abstract,
.main_entry section.abstract {
    text-align: justify !important;
    text-justify: inter-word !important;
    line-height: 1.7 !important;
}
/* ============================================================
   MOBILE ARTICLE PAGE FIXES
   ============================================================ */
@media (max-width: 768px) {

    /* 1. Make the abstract and main content full width */
    .main_entry,
    .main_entry .abstract,
    .main_entry section,
    .pkp_structure_main,
    .page_article .main_entry {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        box-sizing: border-box !important;
    }

    /* 2. Justify the text content */
    .main_entry p,
    .main_entry .abstract,
    .main_entry .abstract p,
    .main_entry .value {
        text-align: justify !important;
        text-justify: inter-word !important;
        line-height: 1.6 !important;
    }

    /* Remove any fixed width or margin that restricts the content */
    .main_entry .abstract {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Ensure the container itself doesn't have side margins */
    .pkp_structure_content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
@media (max-width: 768px) {

    /* 1. Make the entry_details block full width */
    .entry_details,
    .entry_details .item,
    .entry_details section,
    .entry_details .sub_item {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    /* 2. Justify the text inside entry_details */
    .entry_details p,
    .entry_details .value,
    .entry_details .abstract,
    .entry_details .abstract p,
    .entry_details .keywords .value,
    .entry_details .authors .name,
    .entry_details .authors .affiliation {
        text-align: justify !important;
        text-justify: inter-word !important;
        line-height: 1.6 !important;
    }

    /* 3. Make the cover image responsive and centered */
    .entry_details .cover_image img,
    .entry_details .item.cover_image img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        display: block !important;
        margin: 0 auto !important;
    }

    /* 4. Remove any floating or fixed positioning that restricts the layout */
    .entry_details {
        float: none !important;
        position: static !important;
    }
}
/* ============================================================
   EDITORIAL MASTHEAD - WITH PROFILE PHOTOS
   ============================================================ */

/* Layout: photo on left, info on right */
.editorial-member {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #eeeeee;
}

/* Profile photo */
.editorial-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #008080;
    flex-shrink: 0;
    display: block;
}

/* Placeholder when no photo is uploaded */
.editorial-photo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #003366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    border: 2px solid #008080;
    flex-shrink: 0;
    text-transform: uppercase;
}

/* Member information */
.editorial-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.editorial-info .date_start {
    font-size: 0.85em;
    color: #888888;
    margin-bottom: 2px;
}

.editorial-info .name {
    font-family: 'Georgia', serif;
    font-size: 1.15em;
    font-weight: bold;
    color: #003366;
    margin-bottom: 4px;
}

.editorial-info .affiliation {
    font-size: 0.95em;
    color: #555555;
    font-style: italic;
    line-height: 1.4;
}

.editorial-info .orcid {
    margin-left: 5px;
}

/* Remove default list styling */
.user_listing {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.user_listing li {
    list-style: none !important;
}
/********************* background-color********************/
/* Background outside the main OJS page */
html,
body {
    background-color: #003366 !important;
}
/* Content area */
.pkp_structure_content {
    background-color: #46859e !important;
}
/* footer */
.pkp_structure_footer_wrapper {
    background-color: #003366 !important;
}
