/*
 * 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;
    }
}

/* =========================================================
   CORNERSTONE CIVIL ENGINEERING JOURNAL (CCEJ)
   EDITORIAL TEAM PAGE
   ========================================================= */

.ccej-editorial-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 0 45px 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #263746;
    line-height: 1.6;
    box-sizing: border-box;
}

.ccej-editorial-page * {
    box-sizing: border-box;
}

/* =========================================================
   HERO / PAGE HEADER
   ========================================================= */

.ccej-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 38px;
    padding: 42px 38px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0d3655 0%, #125d78 60%, #16809a 100%);
    box-shadow: 0 10px 30px rgba(13, 54, 85, 0.16);
}

.ccej-hero:before {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    right: -90px;
    top: -100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
}

.ccej-hero:after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: 120px;
    bottom: -100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}

.ccej-hero-content {
    position: relative;
    z-index: 2;
}

.ccej-hero-label {
    display: inline-block;
    margin-bottom: 13px;
    padding: 5px 11px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 20px;
    background: rgba(255,255,255,0.10);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.ccej-hero h1 {
    margin: 0 0 8px 0;
    padding: 0;
    border: 0;
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
}

.ccej-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255,255,255,0.86);
    font-size: 14px;
    line-height: 1.7;
}

/* =========================================================
   SECTION
   ========================================================= */

.ccej-section {
    margin-bottom: 38px;
}

.ccej-section-heading {
    display: flex;
    align-items: center;
    margin: 0 0 18px 0;
    padding: 0 0 10px 0;
    border-bottom: 1px solid #dce5eb;
}

.ccej-section-marker {
    display: inline-block;
    width: 5px;
    height: 25px;
    margin-right: 11px;
    border-radius: 4px;
    background: #d1a12a;
}

.ccej-section-heading h2 {
    margin: 0;
    padding: 0;
    border: 0;
    color: #103b5a;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}

/* =========================================================
   PATRON & PUBLISHER
   ========================================================= */

.ccej-highlight-card {
    position: relative;
    overflow: hidden;
    padding: 23px 25px;
    border: 1px solid #e0e7ec;
    border-left: 5px solid #d1a12a;
    border-radius: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    box-shadow: 0 4px 14px rgba(18, 55, 78, 0.06);
}

.ccej-highlight-label {
    display: block;
    margin-bottom: 5px;
    color: #a77a11;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.ccej-highlight-name {
    display: block;
    margin-bottom: 4px;
    color: #153d59;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
}

.ccej-highlight-affiliation {
    margin: 0;
    color: #687986;
    font-size: 13px;
}

/* =========================================================
   GRID
   ========================================================= */

.ccej-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

/* =========================================================
   PERSON CARD
   ========================================================= */

.ccej-person-card {
    position: relative;
    display: flex;
    min-height: 125px;
    gap: 16px;
    padding: 20px;
    overflow: hidden;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(19, 49, 72, 0.055);
    transition: all 0.25s ease;
}

.ccej-person-card:hover {
    transform: translateY(-3px);
    border-color: #bdd0dc;
    box-shadow: 0 10px 24px rgba(19, 49, 72, 0.11);
}

.ccej-person-card.featured {
    border-top: 4px solid #d1a12a;
}

.ccej-avatar {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #103b5a, #16748f);
    box-shadow: 0 4px 10px rgba(16, 59, 90, 0.18);
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.ccej-person-card.featured .ccej-avatar {
    background: linear-gradient(135deg, #a8790a, #d1a12a);
}

.ccej-person-content {
    flex: 1;
    min-width: 0;
}

.ccej-role {
    display: inline-block;
    margin-bottom: 5px;
    color: #ae7f13;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.75px;
    text-transform: uppercase;
}

.ccej-person-name {
    margin: 0 0 5px 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: #173d57 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

.ccej-person-affiliation {
    margin: 0;
    color: #657785;
    font-size: 13px;
    line-height: 1.55;
}

/* =========================================================
   REVIEWER CARD
   ========================================================= */

.ccej-review-number {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3px;
    border: 1px solid #d4e4eb;
    border-radius: 50%;
    background: #eef6f9;
    color: #176b85;
    font-size: 12px;
    font-weight: 700;
}

/* =========================================================
   JOURNAL CONTACT
   ========================================================= */

.ccej-contact-box {
    overflow: hidden;
    border: 1px solid #dce5eb;
    border-radius: 14px;
    background: #f5f9fb;
    box-shadow: 0 4px 15px rgba(18, 55, 78, 0.05);
}

.ccej-contact-head {
    padding: 22px 25px;
    background: linear-gradient(135deg, #123b59, #176c86);
}

.ccej-contact-head h3 {
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

.ccej-contact-head p {
    margin: 0;
    color: rgba(255,255,255,0.80);
    font-size: 13px;
}

.ccej-contact-body {
    padding: 22px 25px;
}

.ccej-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ccej-contact-item {
    padding: 15px 17px;
    border: 1px solid #e2e8ed;
    border-radius: 9px;
    background: #ffffff;
}

.ccej-contact-label {
    display: block;
    margin-bottom: 5px;
    color: #9a761d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.ccej-contact-value {
    color: #405563;
    font-size: 13px;
    line-height: 1.6;
}

.ccej-contact-value a {
    color: #12647e;
    font-weight: 600;
    text-decoration: none;
    word-break: break-word;
}

.ccej-contact-value a:hover {
    color: #0d3d58;
    text-decoration: underline;
}

/* =========================================================
   FOOTER NOTE
   ========================================================= */

.ccej-editorial-note {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid #e4eaee;
    color: #87949d;
    font-size: 11px;
    text-align: center;
}

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

@media screen and (max-width: 768px) {

    .ccej-editorial-page {
        padding-left: 0;
        padding-right: 0;
    }

    .ccej-hero {
        padding: 32px 23px;
        border-radius: 12px;
    }

    .ccej-hero h1 {
        font-size: 26px;
    }

    .ccej-grid,
    .ccej-contact-grid {
        grid-template-columns: 1fr;
    }

    .ccej-person-card {
        min-height: auto;
        padding: 17px;
    }

    .ccej-section-heading h2 {
        font-size: 19px;
    }
}

@media screen and (max-width: 480px) {

    .ccej-hero {
        padding: 27px 19px;
    }

    .ccej-hero h1 {
        font-size: 23px;
    }

    .ccej-hero p {
        font-size: 13px;
    }

    .ccej-avatar {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
        font-size: 15px;
    }

    .ccej-person-name {
        font-size: 15px !important;
    }

    .ccej-highlight-card {
        padding: 19px 20px;
    }

    .ccej-contact-head,
    .ccej-contact-body {
        padding: 19px;
    }
}


