@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

:root {
--warna-biru-tua: #0F2D53;
--warna-teal: #42B9B9;
--warna-latar-abu: #F3F3F3;
--warna-teks: #333333;
--warna-teks-muted: #666666;
}

body {
font-family: 'Open Sans', sans-serif;
color: var(--warna-teks);
background-color: #ffffff;
}

/* --- HEADER & LOGO --- */
.pkp_structure_header {
background-color: #ffffff;
border-bottom: none;
}

.pkp_site_name {
width: 100%;
text-align: center;
}

.pkp_site_name .is_img {
display: block;
width: 100%;
}

.pkp_site_name .is_img img {
width: 100% !important;
max-width: 100% !important;
height: auto !important;
max-height: none !important;
display: block;
margin: 0 auto !important;
}

.pkp_site_nav_toggle {
z-index: 999;
}

/* --- PRIMARY NAVIGATION --- */
.pkp_navigation_primary_wrapper {
background-color: var(--warna-biru-tua);
width: 100vw;
margin-left: calc(-50vw + 50%);
margin-right: calc(-50vw + 50%);
display: flex;
justify-content: center;
}

.pkp_navigation_primary {
max-width: 1100px;
width: 100%;
margin: 0;
padding: 0;
justify-content: flex-start;
}

.pkp_navigation_primary > li > a {
color: #ffffff !important;
font-weight: 600;
font-size: 14px;
padding: 14px 20px;
text-transform: uppercase;
transition: background-color 0.2s ease;
}

.pkp_navigation_primary > li.pkp_current > a,
.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus {
background-color: var(--warna-teal);
color: #ffffff !important;
text-decoration: none;
}

.pkp_navigation_primary ul {
background-color: var(--warna-biru-tua);
border-top: 3px solid var(--warna-teal);
}

.pkp_navigation_primary ul li a {
color: #ffffff;
}

.pkp_navigation_primary ul li a:hover {
background-color: var(--warna-teal);
}

/* --- FEATURED ARTICLES --- */
.cmp_article_list .title,
.homepage_issue .title {
font-size: 20px;
font-weight: 700;
color: var(--warna-biru-tua);
margin-bottom: 20px;
border-bottom: 1px solid #eaeaea;
padding-bottom: 10px;
}

.obj_article_summary {
margin-bottom: 30px;
border-bottom: 1px solid #eaeaea;
padding-bottom: 20px;
}

.obj_article_summary .title a {
font-size: 18px;
font-weight: 600;
color: var(--warna-biru-tua);
}

.obj_article_summary .title a:hover {
color: var(--warna-teal);
text-decoration: none;
}

.obj_article_summary .authors {
color: var(--warna-teks-muted);
font-size: 14px;
margin-top: 5px;
margin-bottom: 10px;
}

/* --- SIDEBAR --- */
.pkp_structure_sidebar .block {
background-color: var(--warna-latar-abu);
padding: 20px;
border-radius: 8px;
border: none;
margin-bottom: 25px;
}

.pkp_structure_sidebar .block .title {
font-size: 16px;
font-weight: 700;
color: var(--warna-teks);
border-bottom: none;
margin-bottom: 15px;
padding-bottom: 0;
}

/* --- HERO SECTION --- */
.hero-cache-wrapper {
display: flex;
align-items: center;
background: linear-gradient(to right, #e8f1f5, #f4f8fa);
padding: 40px 5%;
margin-bottom: 40px;
border-radius: 8px;
}

.hero-cache-image {
flex: 1;
text-align: center;
}

.hero-cache-image img {
max-width: 100%;
height: auto;
max-height: 350px;
filter: drop-shadow(0px 10px 15px rgba(0,0,0,0.1));
}

.hero-cache-content {
flex: 1;
padding-left: 40px;
}

.hero-cache-content h1 {
font-size: 48px;
font-weight: 700;
color: var(--warna-biru-tua);
margin: 0 0 10px 0;
}

.hero-cache-content h2 {
font-size: 28px;
font-weight: 600;
color: var(--warna-teks);
margin: 0 0 15px 0;
line-height: 1.3;
}

.hero-cache-content p {
font-size: 16px;
color: var(--warna-teks-muted);
margin-bottom: 30px;
}

.btn-submit-hero {
display: inline-block;
background-color: var(--warna-teal);
color: #ffffff;
font-weight: 600;
padding: 12px 25px;
border-radius: 6px;
text-decoration: none;
text-transform: uppercase;
font-size: 14px;
transition: background-color 0.3s ease;
}

.btn-submit-hero:hover {
background-color: #359b9b;
color: #ffffff;
text-decoration: none;
}

/* --- HOMEPAGE JOURNAL DETAILS TABLE --- */
.homepage_about table {
width: 100% !important;
max-width: 100%;
border-collapse: collapse;
margin-top: 20px;
margin-bottom: 25px;
background-color: #ffffff;
border: 1px solid #DFE1E6;
border-left: 4px solid #42B9B9;
border-radius: 6px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.homepage_about table tr {
border-bottom: 1px solid #DFE1E6;
transition: background-color 0.3s ease;
}

.homepage_about table tr:last-child {
border-bottom: none;
}

.homepage_about table tr:hover {
background-color: #f0fbfb;
}

.homepage_about table td {
padding: 14px 18px !important;
vertical-align: middle;
font-size: 14.5px;
line-height: 1.6;
color: #444444;
}

.homepage_about table td p {
margin: 0 !important;
}

.homepage_about table td:first-child {
background-color: #f9f9f9;
width: 35% !important;
border-right: 1px solid #DFE1E6;
color: #0F2D53;
}

.homepage_about table td:first-child strong {
color: #0F2D53;
font-weight: 700;
}

.homepage_about table td:nth-child(2) {
width: 65% !important;
}

/* --- FOOTER FULL WIDTH --- */
.pkp_structure_footer_wrapper {
background-color: #0F2D53 !important;
border-top: 4px solid #42B9B9 !important;
color: #e0e0e0 !important;
padding-bottom: 30px;
}

.pkp_structure_footer,
.pkp_footer_content {
background-color: transparent !important;
}

.pkp_footer_content > div {
background-color: transparent !important;
border-top: none !important;
}

.pkp_brand_footer img {
filter: brightness(0) invert(1);
opacity: 0.7;
transition: opacity 0.3s ease;
}

.pkp_brand_footer img:hover {
opacity: 1;
}

/* --- REMOVE OJS GHOST LINES --- */
.pkp_structure_content:before,
.pkp_structure_content::before,
.pkp_structure_content.has_sidebar:before,
.pkp_structure_content.has_sidebar::before,
.pkp_structure_page:before,
.pkp_structure_page::before {
display: none !important;
content: "" !important;
}

.pkp_structure_main,
.pkp_structure_sidebar,
.pkp_structure_content {
border-right: none !important;
border-left: none !important;
}

/* --- CUSTOM SIDEBAR MENU --- */
.custom-sidebar-menu ul {
list-style: none;
padding: 0;
margin: 0;
}

.custom-sidebar-menu li {
margin-bottom: 10px;
padding-bottom: 10px;
border-bottom: 1px dashed #DFE1E6;
}

.custom-sidebar-menu li:last-child {
margin-bottom: 0;
padding-bottom: 0;
border-bottom: none;
}

.custom-sidebar-menu a {
color: #5e6c84;
text-decoration: none;
display: block;
font-size: 14px;
font-weight: 500;
transition: all 0.3s ease;
}

.custom-sidebar-menu a:hover {
color: #42B9B9;
padding-left: 6px;
}

/* --- MAKE SUBMISSION BUTTON --- */
.pkp_block.block_make_submission .block_make_submission_link {
display: block;
background: linear-gradient(135deg, #42B9B9 0%, #359696 100%) !important;
color: #ffffff !important;
text-align: center;
padding: 16px 20px;
font-size: 15.5px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
border-radius: 6px;
text-decoration: none;
box-shadow: 0 4px 10px rgba(66, 185, 185, 0.3) !important;
transition: all 0.3s ease !important;
border: none;
}

.pkp_block.block_make_submission .block_make_submission_link::before {
content: "\f1d8";
font-family: "FontAwesome";
margin-right: 10px;
font-weight: normal;
font-size: 16px;
}

.pkp_block.block_make_submission .block_make_submission_link:hover {
background: linear-gradient(135deg, #0F2D53 0%, #1e4d8a 100%) !important;
box-shadow: 0 8px 15px rgba(15, 45, 83, 0.3) !important;
transform: translateY(-3px);
color: #ffffff !important;
}

.pkp_block.block_make_submission .content {
padding: 10px 0 !important;
}

/* --- ARTICLE LIST (TOC) --- */
.cmp_article_list {
list-style: none;
padding: 0;
margin: 0;
}

.cmp_article_list > li {
margin-bottom: 25px;
}

.obj_article_summary {
background-color: #ffffff;
border: 1px solid #DFE1E6;
border-left: 4px solid #DFE1E6;
border-radius: 6px;
padding: 20px;
box-shadow: 0 2px 4px rgba(0,0,0,0.03);
transition: all 0.3s ease;
display: flex;
flex-direction: column;
}

.obj_article_summary:hover {
border-left-color: #42B9B9;
box-shadow: 0 8px 15px rgba(0,0,0,0.08);
transform: translateY(-3px);
}

.obj_article_summary .title {
margin: 0 0 12px 0;
font-size: 17.5px;
line-height: 1.4;
}

.obj_article_summary .title a {
color: #0F2D53;
text-decoration: none;
font-weight: 700;
transition: color 0.3s ease;
}

.obj_article_summary .title a:hover {
color: #42B9B9;
}

.obj_article_summary .subtitle {
display: block;
font-size: 14px;
color: #777777;
font-weight: 400;
margin-top: 5px;
}

.obj_article_summary .meta {
font-size: 14.5px;
color: #555555;
margin-bottom: 15px;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
border-bottom: 1px dashed #eaeaea;
padding-bottom: 12px;
}

.obj_article_summary .authors {
font-weight: 600;
color: #333333;
flex: 1;
padding-right: 15px;
}

.obj_article_summary .pages {
font-size: 13px;
color: #5e6c84;
background-color: #f4f5f7;
padding: 4px 10px;
border-radius: 4px;
font-weight: 600;
white-space: nowrap;
}

.obj_article_summary .galleys_links {
list-style: none;
padding: 0;
margin: 0;
display: flex;
gap: 10px;
}

.obj_galley_link.pdf {
display: inline-block;
background-color: #42B9B9 !important;
color: #ffffff !important;
padding: 8px 16px;
border-radius: 4px;
font-size: 13px;
font-weight: 700;
text-transform: uppercase;
text-decoration: none;
letter-spacing: 0.5px;
transition: all 0.3s ease !important;
border: none;
}

.obj_galley_link.pdf::before {
content: "\f1c1";
font-family: "FontAwesome";
margin-right: 8px;
font-weight: normal;
font-size: 14px;
}

.obj_galley_link.pdf:hover {
background-color: #0F2D53 !important;
box-shadow: 0 4px 8px rgba(15, 45, 83, 0.2);
transform: translateY(-2px);
}

/* --- MEDIA QUERIES (RESPONSIVE) --- */
@media (max-width: 992px) {
.pkp_structure_content {
padding: 0 20px;
}
.pkp_navigation_primary > li > a {
padding: 12px 15px;
font-size: 13px;
}
body:not(.pkp_page_index) .pkp_structure_main {
padding: 20px;
}
}

@media (max-width: 768px) {
.hero-cache-wrapper {
flex-direction: column;
padding: 30px 20px;
text-align: center;
}
.hero-cache-content {
padding-left: 0;
margin-top: 30px;
}
.hero-cache-content h1 {
font-size: 36px;
}
.hero-cache-content h2 {
font-size: 22px;
}
.homepage_about table td:first-child {
width: 45% !important;
}
.homepage_about table td:nth-child(2) {
width: 55% !important;
}
.homepage_about table td {
padding: 10px 12px !important;
font-size: 13.5px;
}
}