/* ==========================================================================
   OJS THEME OVERRIDE: DIGITAL COMMONS (AUSS REPOSITORY STYLE)
   ========================================================================== */

/* --- Page Foundation --- */
body {
    background-color: #fcfcfc;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: #333333;
    line-height: 1.5;
}

/* --- Header Setup for Logo Image --- */
.pkp_structure_head {
    background-color: #007940 !important; /* Matches the image's green color */
    padding: 20px 0 !important; /* Restores safe vertical space around your logo */
    border-bottom: none !important;
    height: auto !important;
}

/* Forces the uploaded logo image to look centered and clean */
.pkp_site_name_wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important; /* Allows layout to expand wide */
    max-width: 100% !important; 
    min-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    float: none !important;
}

/* Fixed image configuration blocks */
.pkp_site_name .is_img img,
.pkp_site_name img {
    width: 100% !important;
    max-width: 1000px !important; /* <--- THIS WILL NOW ALLOW YOUR LOGO TO BE BIG */
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    float: none !important;
}

/* Main Brand Title Formatting */
.pkp_site_name a {
    color: #ffffff !important; /* Crisp White Main Title */
    font-size: 58px; 
    font-weight: bold;
    font-family: Arial, sans-serif;
    letter-spacing: 2px;
    text-decoration: none;
    display: block !important;
    visibility: visible !important;
    line-height: 1.1;
    padding-left: 20px;
    text-align: center !important;
}

/* Secondary Gold Sub-Header Banner Strip */
.pkp_navigation_primary_wrapper {
    background-color: #b78a28 !important; 
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: none !important; 
    margin-bottom: 25px;
    padding: 10px 0 !important; 
    clear: both !important; 
    display: block !important; 
}

/* Text Links inside the Gold Banner */
.pkp_navigation_primary li a {
    color: #000000 !important; /* Keeps links highly visible black over gold */
    font-size: 15px;
    font-weight: bold !important;
    font-family: "Times New Roman", Times, serif; /* Serifs match subheader feel */
}

.pkp_navigation_primary li a:hover {
    background-color: #926d1d !important; /* Darker Gold Hover Tint */
    text-decoration: none !important;
}

/* --- Main Layout Structure --- */
.pkp_structure_content {
    margin-top: 25px;
}

/* --- Table of Contents / Article Rows --- */
.obj_article_summary {
    border-bottom: 1px dashed #cccccc;
    padding: 15px 0;
    margin-bottom: 15px;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.obj_article_summary .title a {
    color: #1155cc !important; /* Standard Academic Hyperlink Blue */
    font-size: 16px;
    font-weight: normal;
    text-decoration: none;
}

.obj_article_summary .title a:hover {
    text-decoration: underline;
}

/* --- Simple PDF Download Badges --- */
.obj_galley_link {
    background: #ffffff !important;
    color: #222222 !important;
    border: 1px solid #999999 !important;
    border-radius: 3px !important;
    padding: 4px 10px !important;
    font-size: 12px !important;
    text-transform: uppercase;
    font-weight: bold;
}

.obj_galley_link:hover {
    background: #f0f0f0 !important;
    border-color: #333333 !important;
}

/* --- Digital Commons Style Sidebar --- */
.pkp_structure_sidebar {
    background-color: #f4f4f4;
    border: 1px solid #e1e1e1;
    padding: 15px;
}

.pkp_structure_sidebar .block {
    border: none;
    background: transparent;
    padding: 0;
    margin-bottom: 25px;
    box-shadow: none;
}

.pkp_structure_sidebar .block .title {
    color: #003366;
    font-size: 15px;
    font-weight: bold;
    text-transform: none;
    border-bottom: 1px solid #003366;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

/* Sidebar Links */
.pkp_structure_sidebar .block a {
    color: #1155cc !important;
    font-size: 13px;
    text-decoration: none;
}

.pkp_structure_sidebar .block a:hover {
    text-decoration: underline;
}

/* --- Sidebar Dropdowns & Search Fields --- */
.pkp_structure_sidebar select,
.pkp_structure_search input[type="text"] {
    width: 100%;
    padding: 6px;
    border: 1px solid #cccccc;
    font-size: 13px;
    background-color: #ffffff;
    margin-bottom: 8px;
}

.pkp_structure_search button[type="submit"] {
    background-color: #003366;
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}

/* --- Corporate Footer Area --- */
.pkp_structure_footer {
    background-color: #f4f4f4;
    color: #666666;
    border-top: 1px solid #e1e1e1;
    padding: 25px 0;
    font-size: 12px;
    text-align: center;
}

.pkp_structure_footer a {
    color: #1155cc !important;
}
