/*
 * CCEJ Journal Style Sheet
 * Cornerstone Civil Engineering Journal
 * Theme colors based on Akademi Teknik Kupang identity
 * Primary: Navy Blue #002776
 * Accent: Gold #f2b705
 */

/* ===============================
   GLOBAL
================================ */
body {
    background: #f4f7fb;
    color: #1f2933;
}

a {
    color: #002776;
}

a:hover,
a:focus {
    color: #f2b705;
    text-decoration: none;
}

/* ===============================
   HEADER
================================ */
.pkp_structure_head {
    background: #ffffff;
    border-bottom: 4px solid #f2b705;
}

.pkp_site_name,
.pkp_site_name a {
    color: #002776 !important;
    font-weight: 700;
}

.pkp_site_nav_menu {
    background: #002776;
}

.pkp_navigation_primary > li > a {
    color: #ffffff !important;
    font-weight: 600;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus {
    background: #f2b705;
    color: #002776 !important;
}

/* Dropdown menu */
.pkp_navigation_primary ul a {
    color: #002776 !important;
}

.pkp_navigation_primary ul a:hover {
    background: #f2b705;
    color: #002776 !important;
}

/* Search */
.pkp_head_wrapper .pkp_search .search_prompt {
    color: #ffffff !important;
}

/* ===============================
   HOMEPAGE IMAGE / BANNER
================================ */
.homepage_image img,
.pkp_page_index .homepage_image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

/* ===============================
   MAIN CONTENT
================================ */
.pkp_structure_main {
    background: #ffffff;
}

.pkp_page_index .additional_content {
    padding: 25px;
    border-left: 5px solid #f2b705;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(0, 39, 118, 0.08);
}

.pkp_page_index .additional_content h2,
.pkp_page_index .additional_content h3,
.page h1,
.page h2,
.page h3 {
    color: #002776;
}

.page h1 {
    border-bottom: 3px solid #f2b705;
    padding-bottom: 8px;
}

/* ===============================
   BUTTONS
================================ */
.pkp_button,
.cmp_button,
.cmp_form button,
input[type="submit"],
button.submit {
    background: #002776 !important;
    border-color: #002776 !important;
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 4px;
}

.pkp_button:hover,
.cmp_button:hover,
.cmp_form button:hover,
input[type="submit"]:hover,
button.submit:hover {
    background: #f2b705 !important;
    border-color: #f2b705 !important;
    color: #002776 !important;
}

/* Make a Submission button */
.block_make_submission a,
.block_make_submission_link {
    background: #002776 !important;
    color: #ffffff !important;
    border: 2px solid #002776 !important;
    border-radius: 4px;
    font-weight: 700;
}

.block_make_submission a:hover,
.block_make_submission_link:hover {
    background: #f2b705 !important;
    color: #002776 !important;
    border-color: #f2b705 !important;
}

/* ===============================
   SIDEBAR BLOCKS
================================ */
.pkp_structure_sidebar .pkp_block {
    border-top: 4px solid #f2b705;
    background: #ffffff;
    box-shadow: 0 3px 12px rgba(0, 39, 118, 0.08);
    padding: 15px;
}

.pkp_block .title {
    color: #002776;
    font-weight: 700;
}

/* ===============================
   ISSUE & ARTICLE LIST
================================ */
.obj_issue_summary,
.obj_article_summary {
    border-bottom: 1px solid #d8e0ea;
    padding-bottom: 15px;
}

.obj_issue_summary .title,
.obj_issue_summary .title a,
.obj_article_summary .title,
.obj_article_summary .title a {
    color: #002776 !important;
    font-weight: 700;
}

.obj_article_summary .authors {
    color: #4b5563;
}

/* ===============================
   TABLES
================================ */
table {
    border-collapse: collapse;
}

table th {
    background: #002776;
    color: #ffffff;
}

table td,
table th {
    border: 1px solid #d8e0ea;
    padding: 8px;
}

/* ===============================
   NOTIFICATIONS
================================ */
.cmp_notification {
    border-left: 5px solid #f2b705;
    background: #fff9e6;
}

/* ===============================
   FORMS
================================ */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    border: 1px solid #b8c4d6;
    border-radius: 4px;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #002776;
    box-shadow: 0 0 0 2px rgba(0, 39, 118, 0.15);
}

/* ===============================
   FOOTER
================================ */
.pkp_structure_footer_wrapper {
    background: #002776;
    border-top: 5px solid #f2b705;
}

.pkp_structure_footer,
.pkp_structure_footer a {
    color: #ffffff;
}

.pkp_structure_footer a:hover {
    color: #f2b705;
}

/* Hide default PKP/OJS branding footer if desired */
.pkp_brand_footer {
    display: none;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    .pkp_page_index .additional_content {
        padding: 15px;
    }

    .pkp_navigation_primary > li > a {
        padding: 10px;
    }

    .page h1 {
        font-size: 1.6rem;
    }
}
