/* ==========================================================================
   ETDC — Educational Technology in Developing Countries
   Journal Style Sheet
   Jambi Tuah Tengganai Publisher
   ========================================================================== */

/* === Layout dasar homepage === */
.homepage_image {
    display: inline-block;
    width: 28%;
    margin-left: 0px;
    float: right;
}

.homepage_image img {
    margin: 60px 0px 0px -20px;
    box-shadow: 4px 2px 5px gray;
    width: 300px;
}

.homepage_about {
    display: inline-block;
    width: 70%;
}

.homepage_about p {
    text-align: justify;
}

.current_issue {
    display: block;
}

/* === Responsive === */
@media (max-width: 600px) {
    .homepage_about {
        width: 100%;
    }
}

@media (max-width: 991px) {
    .homepage_about {
        margin-top: 30px;
    }
}

@media (max-width: 360px) {
    .homepage_image {
        width: 90%;
        margin: 0;
    }
    .homepage_about {
        margin-top: 0px;
    }
}

/* === Navigasi user === */
.pkp_navigation_user > li > a {
    color: rgba(0, 0, 0, 0.84);
    background: #8c8c8c;
}

/* === Sidebar block === */
.pkp_block {
    padding: 2.143rem 1.43rem;
    font-size: 1rem;
    line-height: 1.43rem;
    width: 300px;
}

/* === Warna judul artikel di Current Issue === */
.obj_issue_toc .articles .title a,
.obj_issue_toc .section .title a,
.obj_issue_toc h3 a,
.obj_issue_toc h4 a,
.obj_article_summary .title a {
    color: #1A3E6C;
}

.obj_issue_toc .articles .title a:hover,
.obj_issue_toc .section .title a:hover,
.obj_issue_toc h3 a:hover,
.obj_issue_toc h4 a:hover,
.obj_article_summary .title a:hover {
    color: #2c5a99;
    text-decoration: underline;
}

/* === Warna link di About the Journal === */
.homepage_about table a,
.homepage_about a {
    color: #1A3E6C;
}

.homepage_about table a:hover,
.homepage_about a:hover {
    color: #2c5a99;
    text-decoration: underline;
}

/* === Tabel info jurnal (About the Journal) — efek 3D timbul === */
.homepage_about table {
    background-color: #D6E2EE;
    border-radius: 12px;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    padding: 4px;
    box-shadow: 
        0 6px 12px rgba(26, 62, 108, 0.35),
        0 2px 4px rgba(26, 62, 108, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -2px 4px rgba(26, 62, 108, 0.15);
}

.homepage_about table td {
    background-color: #D6E2EE;
    padding: 3px 12px;
    line-height: 1.4;
}

/* === Deskripsi Current Issue — efek 3D timbul === */
.obj_issue_toc .description,
.obj_issue_toc .series,
.issue_description,
.cmp_issue .description,
article.obj_issue_toc .description {
    background-color: #D6E2EE;
    border-radius: 12px;
    padding: 15px 20px;
    line-height: 1.5;
    box-shadow: 
        0 6px 12px rgba(26, 62, 108, 0.35),
        0 2px 4px rgba(26, 62, 108, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -2px 4px rgba(26, 62, 108, 0.15);
    box-sizing: border-box;
}

/* === Heading CURRENT ISSUE — efek 3D timbul (button-like) === */
.current_issue h2,
.current_issue > h2,
h2.current_issue_title {
    background-color: #D6E2EE;
    background-image: linear-gradient(180deg, #E4ECF4 0%, #D6E2EE 50%, #C5D4E4 100%);
    border-radius: 12px;
    padding: 12px 20px;
    display: inline-block;
    margin-bottom: 20px;
    color: #1A3E6C;
    box-shadow: 
        0 6px 12px rgba(26, 62, 108, 0.40),
        0 2px 4px rgba(26, 62, 108, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -2px 4px rgba(26, 62, 108, 0.20);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* === Warna judul issue di halaman Archives === */
.cmp_archives_listing .obj_issue_summary .title,
.cmp_archives_listing .obj_issue_summary .title a,
.obj_issue_summary .title,
.obj_issue_summary .title a,
.obj_issue_summary h2 a,
.obj_issue_summary h3 a {
    color: #1A3E6C;
}

.cmp_archives_listing .obj_issue_summary .title a:hover,
.obj_issue_summary .title a:hover,
.obj_issue_summary h2 a:hover,
.obj_issue_summary h3 a:hover {
    color: #2c5a99;
    text-decoration: underline;
}

/* === Background pattern hexagon di area luar === */
html, body {
    background-color: #F5F5F5 !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='52' viewBox='0 0 60 52'><polygon points='30,1 58,15 58,37 30,51 2,37 2,15' fill='none' stroke='%23999999' stroke-width='1' opacity='0.25'/></svg>") !important;
    background-repeat: repeat !important;
}

/* === Konten utama tetap putih === */
.pkp_structure_page,
.pkp_structure_main,
.pkp_structure_content,
.page,
.pkp_content_main,
#main {
    background-color: #FFFFFF !important;
}

/* === Box biru muda lain di halaman About the Journal — efek 3D timbul === */
.pkp_structure_main table[style*="background"],
.pkp_structure_main table[bgcolor],
#journalDescription table,
.obj_journal_summary table {
    box-shadow: 
        0 6px 12px rgba(26, 62, 108, 0.35),
        0 2px 4px rgba(26, 62, 108, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -2px 4px rgba(26, 62, 108, 0.15) !important;
    border-radius: 6px;
    border-collapse: separate !important;
    overflow: hidden;
}

#journalDescription div[style*="background"],
.pkp_structure_main div[style*="#D"],
.pkp_structure_main div[style*="#d"],
.pkp_structure_main div[style*="background-color"] {
    box-shadow: 
        0 6px 12px rgba(26, 62, 108, 0.35),
        0 2px 4px rgba(26, 62, 108, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -2px 4px rgba(26, 62, 108, 0.15) !important;
    border-radius: 6px;
}

/* === Footer dengan border biru sederhana === */
.pkp_structure_footer_wrapper {
    background-color: #D6E2EE !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    border: 1px solid #1A3E6C !important;
    border-radius: 20px 20px 0 0 !important;
    overflow: hidden !important;
    box-shadow: none !important;
}

.pkp_structure_footer {
    background-color: #D6E2EE !important;
    color: #1A3E6C !important;
    padding: 35px 40px !important;
    margin: 0 auto !important;
    max-width: 1140px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
}

.pkp_brand_footer {
    align-self: center !important;
    margin: 0 !important;
}

.pkp_structure_footer p,
.pkp_structure_footer strong,
.pkp_structure_footer span {
    color: #1A3E6C !important;
    margin: 0 !important;
}

.pkp_structure_footer a {
    color: #1A3E6C !important;
    font-weight: 500;
    text-decoration: underline;
}

.pkp_structure_footer a:hover {
    color: #0d2949 !important;
}

/* === Pastikan elemen dalam footer tidak punya border/shadow ganda === */
.pkp_structure_footer_wrapper .pkp_structure_footer,
.pkp_structure_footer_wrapper #pkpFooter,
.pkp_structure_footer_wrapper footer,
.pkp_structure_footer_wrapper > div {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* === Garis penutup navy full-width di paling bawah === */
.pkp_structure_footer_wrapper::after {
    content: "" !important;
    display: block !important;
    width: 100vw !important;
    height: 12px !important;
    background-color: #1A3E6C !important;
    margin-left: calc(-50vw + 50%) !important;
    position: relative !important;
}
