/* =========================================================
   PREMIUM JOURNAL STYLE - JURNAL GEMA PATRIOT
   Main color preserved: #173
   ========================================================= */

:root {
    --gp-primary: #173;
    --gp-primary-soft: rgba(17, 119, 51, 0.08);
    --gp-primary-border: rgba(17, 119, 51, 0.18);
    --gp-text: #1f1f1f;
    --gp-muted: #666;
    --gp-white: #ffffff;
    --gp-light: #f7f9f7;
    --gp-border: rgba(0, 0, 0, 0.08);
    --gp-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    --gp-shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.06);
    --gp-radius: 16px;
    --gp-radius-sm: 10px;
}

/* ===============================
   GENERAL LAYOUT
   =============================== */

body {
    background: var(--gp-light);
    color: var(--gp-text);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
}

.pkp_structure_page {
    background: transparent;
}

a {
    transition: all 0.25s ease;
}

a:hover {
    text-decoration: none;
}

/* ===============================
   HEADER
   =============================== */

.pkp_structure_head {
    background: var(--gp-primary);
    box-shadow: var(--gp-shadow-soft);
    border-bottom: none;
    position: relative;
    z-index: 99;
}

.pkp_head_wrapper {
    max-width: 1220px;
    margin: 0 auto;
    padding: 18px 24px;
}

.pkp_site_name_wrapper {
    padding: 6px 0 14px;
}

.pkp_site_name .is_text {
    color: var(--gp-white) !important;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.3px;
    line-height: 1.25;
    text-transform: none;
}

.pkp_site_name .is_text:hover {
    opacity: 0.9;
}

/* ===============================
   NAVIGATION
   =============================== */

.pkp_site_nav_menu {
    background: transparent;
}

.pkp_navigation_primary_row {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 10px;
}

.pkp_navigation_primary_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.pkp_navigation_primary {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pkp_navigation_primary > li > a {
    color: var(--gp-white) !important;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 13px;
    border-radius: 999px;
    letter-spacing: 0.1px;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus {
    background: rgba(255, 255, 255, 0.16);
    color: var(--gp-white) !important;
}

.pkp_navigation_primary ul {
    background: var(--gp-white);
    border-radius: 12px;
    box-shadow: var(--gp-shadow);
    border: 1px solid var(--gp-border);
    padding: 8px;
    overflow: hidden;
}

.pkp_navigation_primary ul li a {
    color: var(--gp-text) !important;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 500;
}

.pkp_navigation_primary ul li a:hover {
    background: var(--gp-primary-soft);
    color: var(--gp-primary) !important;
}

.pkp_navigation_search_wrapper .pkp_search,
.pkp_navigation_user li a {
    color: var(--gp-white) !important;
    font-weight: 600;
    border-radius: 999px;
    padding: 9px 13px;
}

.pkp_navigation_search_wrapper .pkp_search:hover,
.pkp_navigation_user li a:hover {
    background: rgba(255, 255, 255, 0.16);
}

/* ===============================
   MAIN CONTENT CONTAINER
   =============================== */

.pkp_structure_content {
    max-width: 1220px;
    margin: 34px auto;
    padding: 0 24px;
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.pkp_structure_main {
    background: transparent;
    padding: 0;
}

.has_sidebar .pkp_structure_main {
    width: calc(100% - 320px);
}

.pkp_structure_sidebar.left {
    width: 292px;
}

/* ===============================
   HOMEPAGE IMAGE
   =============================== */

.homepage_image {
    margin-bottom: 28px;
    border-radius: var(--gp-radius);
    overflow: hidden;
    box-shadow: var(--gp-shadow);
    background: var(--gp-white);
}

.homepage_image img {
    width: 100%;
    display: block;
    border-radius: var(--gp-radius);
}

/* ===============================
   SECTION CARD STYLE
   =============================== */

.homepage_about,
.current_issue,
.obj_issue_toc {
    background: var(--gp-white);
    border-radius: var(--gp-radius);
    padding: 28px;
    margin-bottom: 28px;
    border: 1px solid var(--gp-border);
    box-shadow: var(--gp-shadow-soft);
}

.homepage_about h2,
.current_issue h2,
.obj_issue_toc h3,
.pkp_block .title {
    color: var(--gp-primary);
    font-weight: 800;
    letter-spacing: 0.2px;
}

.homepage_about h2,
.current_issue h2 {
    font-size: 24px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gp-primary-border);
    position: relative;
}

.homepage_about h2::after,
.current_issue h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 72px;
    height: 3px;
    background: var(--gp-primary);
    border-radius: 99px;
}

.homepage_about p,
.obj_issue_toc .description p {
    color: var(--gp-text);
    text-align: justify;
    margin-bottom: 0;
}

/* ===============================
   CURRENT ISSUE
   =============================== */

.current_issue_title {
    display: inline-block;
    background: var(--gp-primary-soft);
    color: var(--gp-primary);
    font-weight: 800;
    border: 1px solid var(--gp-primary-border);
    border-radius: 999px;
    padding: 9px 16px;
    margin-bottom: 24px;
}

.obj_issue_toc .heading {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    align-items: start;
    margin-bottom: 28px;
}

.obj_issue_toc .heading .cover img {
    width: 100%;
    border-radius: 14px;
    box-shadow: var(--gp-shadow-soft);
    border: 1px solid var(--gp-border);
}

.obj_issue_toc .published {
    margin-top: 16px;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    background: var(--gp-light);
    border-radius: 999px;
    padding: 8px 14px;
    border: 1px solid var(--gp-border);
}

.obj_issue_toc .published .label {
    color: var(--gp-muted);
    font-weight: 700;
}

.obj_issue_toc .published .value {
    color: var(--gp-primary);
    font-weight: 800;
}

/* ===============================
   ARTICLE LIST
   =============================== */

.sections .section h3 {
    font-size: 21px;
    padding-bottom: 12px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--gp-primary-border);
}

.cmp_article_list.articles {
    display: grid;
    gap: 18px;
    padding-left: 0;
}

.cmp_article_list.articles > li {
    list-style: none;
    margin: 0;
}

.obj_article_summary {
    background: var(--gp-white);
    border: 1px solid var(--gp-border);
    border-radius: var(--gp-radius);
    padding: 18px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.045);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.obj_article_summary::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: var(--gp-primary);
}

.obj_article_summary:hover {
    transform: translateY(-3px);
    box-shadow: var(--gp-shadow);
    border-color: var(--gp-primary-border);
}

.obj_article_summary .cover {
    float: left;
    width: 118px;
    margin-right: 18px;
    margin-bottom: 10px;
}

.obj_article_summary .cover img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--gp-border);
    box-shadow: var(--gp-shadow-soft);
}

.obj_article_summary .title {
    margin-bottom: 10px;
}

.obj_article_summary .title a {
    color: var(--gp-primary);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.45;
}

.obj_article_summary .title a:hover {
    opacity: 0.85;
}

.obj_article_summary .subtitle {
    display: block;
    margin-top: 6px;
    color: var(--gp-muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
}

.obj_article_summary .meta {
    color: var(--gp-muted);
    font-size: 14px;
    margin-top: 8px;
}

.obj_article_summary .authors {
    font-weight: 600;
}

.obj_article_summary .pages {
    display: inline-block;
    margin-top: 8px;
    background: var(--gp-light);
    border: 1px solid var(--gp-border);
    border-radius: 999px;
    padding: 4px 10px;
    color: var(--gp-primary);
    font-weight: 700;
}

/* ===============================
   PDF / GALLEY BUTTON
   =============================== */

.galleys_links {
    margin-top: 14px;
    clear: both;
    padding-left: 0;
}

.galleys_links li {
    list-style: none;
    display: inline-block;
}

.obj_galley_link.pdf,
.obj_galley_link {
    background: var(--gp-primary) !important;
    color: var(--gp-white) !important;
    border: 1px solid var(--gp-primary) !important;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.4px;
    box-shadow: 0 6px 14px rgba(17, 119, 51, 0.20);
}

.obj_galley_link.pdf:hover,
.obj_galley_link:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ===============================
   READ MORE BUTTON
   =============================== */

.read_more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gp-primary);
    color: var(--gp-white) !important;
    border-radius: 999px;
    padding: 11px 20px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(17, 119, 51, 0.22);
}

.read_more:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ===============================
   SIDEBAR BLOCKS
   =============================== */

.pkp_structure_sidebar .pkp_block {
    background: var(--gp-white);
    border-radius: var(--gp-radius);
    border: 1px solid var(--gp-border);
    box-shadow: var(--gp-shadow-soft);
    padding: 18px;
    margin-bottom: 20px;
    overflow: hidden;
}

.pkp_structure_sidebar .pkp_block .title,
.pkp_block .content > .title {
    font-size: 18px;
    font-weight: 800;
    color: var(--gp-primary);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gp-primary-border);
}

/* Additional Menu */
.add-menu {
    background: var(--gp-primary) !important;
    border-radius: 12px !important;
    margin: 8px 0 !important;
    padding: 0 !important;
    box-shadow: 0 5px 14px rgba(17, 119, 51, 0.16);
    overflow: hidden;
}

.add-menu a {
    display: block;
    color: var(--gp-white) !important;
    font-weight: 700;
    padding: 12px 14px;
}

.add-menu a:hover {
    background: rgba(255, 255, 255, 0.12);
    padding-left: 18px;
}

/* Template Image */
#customblock-template img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--gp-border);
    box-shadow: var(--gp-shadow-soft);
}

/* Information Block */
.block_information ul {
    padding-left: 0;
}

.block_information li {
    list-style: none;
    border-bottom: 1px solid var(--gp-border);
}

.block_information li:last-child {
    border-bottom: none;
}

.block_information li a {
    display: block;
    color: var(--gp-text);
    font-weight: 600;
    padding: 10px 0;
}

.block_information li a:hover {
    color: var(--gp-primary);
    padding-left: 6px;
}

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

.pkp_structure_footer_wrapper {
    background: var(--gp-primary);
    margin-top: 40px;
    color: var(--gp-white);
}

.pkp_structure_footer {
    max-width: 1220px;
    margin: 0 auto;
    padding: 30px 24px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.pkp_footer_content {
    color: var(--gp-white);
    font-size: 14px;
    line-height: 1.7;
}

.pkp_footer_content p {
    margin-bottom: 10px;
}

.pkp_footer_content a {
    color: var(--gp-white) !important;
    font-weight: 700;
    text-decoration: underline;
}

.pkp_brand_footer img {
    max-height: 48px;
    opacity: 0.92;
}

/* ===============================
   ACCESSIBILITY & FOCUS
   =============================== */

a:focus,
button:focus {
    outline: 2px solid var(--gp-white);
    outline-offset: 3px;
}

.pkp_structure_content a:focus,
.pkp_structure_sidebar a:focus {
    outline: 2px solid var(--gp-primary);
    outline-offset: 3px;
}

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

@media (max-width: 992px) {
    .pkp_structure_content {
        flex-direction: column;
        margin-top: 24px;
    }

    .has_sidebar .pkp_structure_main,
    .pkp_structure_sidebar.left {
        width: 100%;
    }

    .obj_issue_toc .heading {
        grid-template-columns: 1fr;
    }

    .obj_issue_toc .heading .cover {
        max-width: 260px;
    }

    .pkp_structure_footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .pkp_head_wrapper,
    .pkp_structure_content,
    .pkp_structure_footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .pkp_site_name .is_text {
        font-size: 22px;
    }

    .homepage_about,
    .current_issue,
    .obj_issue_toc,
    .pkp_structure_sidebar .pkp_block {
        padding: 20px;
        border-radius: 14px;
    }

    .obj_article_summary .cover {
        float: none;
        width: 100%;
        max-width: 190px;
        margin: 0 0 14px 0;
    }

    .obj_article_summary .title a {
        font-size: 16px;
    }

    .pkp_navigation_primary {
        display: block;
    }

    .pkp_navigation_primary > li > a {
        display: block;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .current_issue_title {
        border-radius: 12px;
        line-height: 1.5;
    }

    .obj_article_summary {
        padding: 16px;
    }

    .read_more,
    .obj_galley_link.pdf,
    .obj_galley_link {
        width: 100%;
        text-align: center;
    }
}
