/* ---------- COLOR SYSTEM ---------- */
:root {
    --jatl-green: #075c3b;
    --jatl-green-dark: #03452c;
    --jatl-green-light: #eaf6ef;
    --jatl-yellow: #d9e600;
    --jatl-yellow-dark: #b8c900;
    --jatl-text: #26352e;
    --jatl-muted: #6d7772;
    --jatl-border: #e3e9e5;
    --jatl-white: #ffffff;
    --jatl-bg: #f5f8f6;
    --jatl-shadow: 0 8px 25px rgba(0, 70, 40, .08);
}


/* =========================================================
   1. GLOBAL PAGE
   ========================================================= */

html,
body {
    margin: 0 !important;
    padding: 0 !important;
    background: var(--jatl-bg) !important;
    color: var(--jatl-text);
}

.pkp_structure_page {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
}

/* =========================================================
   2. HEADER FULL WIDTH
   ========================================================= */

.pkp_head_wrapper {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pkp_site_name {
    width: 100vw !important;
    max-width: none !important;
    height: 270px !important;

    margin: 0 !important;
    padding: 0 !important;

    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;

    overflow: hidden !important;
    background: #ffffff !important;
}

.pkp_site_name > a {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}

.pkp_site_name img {
    display: block !important;

    width: 100vw !important;
    max-width: none !important;

    height: 270px !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
    object-position: center center !important;
}

/* =========================================================
   10. SIDEBAR
   ========================================================= */

.pkp_structure_sidebar {
    padding-top: 0 !important;
}

.pkp_block {
    background: #ffffff !important;

    border-radius: 16px !important;

    border: 1px solid var(--jatl-border) !important;

    margin-bottom: 24px !important;

    padding: 0 !important;

    overflow: hidden !important;

    box-shadow: var(--jatl-shadow);
}

.pkp_block .title {
    margin: 0 !important;

    padding: 17px 20px !important;

    background: var(--jatl-green) !important;

    color: #ffffff !important;

    font-size: 16px !important;

    font-weight: 800 !important;

    border-bottom: 4px solid var(--jatl-yellow) !important;
}

.pkp_block .content {
    padding: 20px !important;

    color: #4c5953 !important;

    line-height: 1.7 !important;
}


/* Sidebar links */

.pkp_block a {
    color: var(--jatl-green) !important;

    font-weight: 600;

    text-decoration: none !important;
}

.pkp_block a:hover {
    color: var(--jatl-yellow-dark) !important;
}
.pkp_navigation_primary_wrapper {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    background: var(--jatl-green) !important;

    border: none !important;
    box-shadow: 0 3px 12px rgba(0,0,0,.10);
}

/* =========================================
   FOOTER MODERN JURNAL AGROEKOTEKNOLOGI
   OJS 3
   ========================================= */

/* Footer custom full kiri-kanan */
.pkp_structure_footer_wrapper {
    background: #087443 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.pkp_structure_footer {
    background: #087443 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Isi footer */
.journal-footer {
    width: 100%;
    background: #087443;
    color: #ffffff;
    padding: 45px 6% 25px;
    box-sizing: border-box;
}

.journal-footer * {
    box-sizing: border-box;
}

.journal-footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 45px;
}

/* Judul footer */
.journal-footer h3 {
    color: #ffffff !important;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 18px;
    line-height: 1.5;
}

/* Teks */
.journal-footer p {
    color: rgba(255,255,255,0.88) !important;
    font-size: 14px;
    line-height: 1.9;
    margin: 0 0 10px;
}

/* Link */
.journal-footer a {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.journal-footer a:hover {
    color: #f5d547 !important;
    padding-left: 4px;
}

/* Garis pemisah */
.journal-footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.25);
    margin: 35px 0 20px;
}

/* Bagian bawah footer */
.journal-footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.journal-footer-bottom p {
    margin: 0;
    font-size: 13px;
}

/* Hilangkan footer bawaan OJS paling bawah */
.pkp_brand_footer {
    display: none !important;
}

.pkp_footer_content {
    width: 100% !important;
}

/* Full width wrapper halaman */
.pkp_structure_page {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.pkp_structure_content {
    width: 100%;
}

/* Responsive HP */
@media (max-width: 768px) {

    .journal-footer {
        padding: 35px 25px 20px;
    }

    .journal-footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .journal-footer h3 {
        font-size: 18px;
    }

    .journal-footer-bottom {
        display: block;
    }

    .journal-footer-bottom p {
        margin-bottom: 8px;
    }
}
/* =========================================================
   MODERN ABOUT THE JOURNAL - JATL
   Humid Tropical Agroecotechnology Journal
   ========================================================= */

.pkp_page_index .about_journal,
.pkp_page_about .about_journal {
    max-width: 1200px;
    margin: 35px auto;
    padding: 0 20px;
    font-family: "Poppins", "Segoe UI", Arial, sans-serif;
    color: #333;
}

/* Judul utama */
.about_journal h2 {
    position: relative;
    margin: 0 0 25px;
    padding-bottom: 15px;
    color: #176b45;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
}

.about_journal h2:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 65px;
    height: 4px;
    border-radius: 10px;
    background: #e5b72c;
}

/* Intro card */
.about-intro {
    background: linear-gradient(135deg, #176b45, #228b5b);
    color: #fff;
    padding: 30px;
    border-radius: 18px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,.10);
}

.about-intro h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 25px;
    font-weight: 700;
}

.about-intro p {
    margin: 0;
    color: rgba(255,255,255,.95);
    font-size: 15px;
    line-height: 1.8;
}

/* Grid informasi */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

/* Card */
.about-card {
    position: relative;
    background: #fff;
    border: 1px solid #e8eee9;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 6px 22px rgba(0,0,0,.06);
    transition: all .3s ease;
    overflow: hidden;
}

.about-card:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #176b45;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,.10);
}

.about-card h3 {
    margin: 0 0 14px;
    color: #176b45;
    font-size: 19px;
    font-weight: 700;
}

.about-card p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.8;
    color: #555;
}

/* List */
.about-card ul {
    margin: 0;
    padding-left: 20px;
}

.about-card li {
    margin-bottom: 8px;
    color: #555;
    font-size: 14.5px;
    line-height: 1.7;
}

.about-card li::marker {
    color: #e5b72c;
}

/* Card full width */
.about-card.full {
    grid-column: 1 / -1;
}

/* Highlight information */
.about-highlight {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 25px 0;
}

.about-highlight-item {
    background: #f6faf7;
    border-radius: 14px;
    padding: 22px;
    text-align: center;
    border: 1px solid #e2eee6;
}

.about-highlight-item strong {
    display: block;
    color: #176b45;
    font-size: 18px;
    margin-bottom: 7px;
}

.about-highlight-item span {
    color: #666;
    font-size: 13px;
}

/* Ikon */
.about-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 12px;
    background: #eaf5ee;
    color: #176b45;
    font-size: 20px;
}

/* Link OJS */
.about-card a {
    color: #176b45;
    font-weight: 600;
    text-decoration: none;
}

.about-card a:hover {
    color: #d29d12;
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {

    .pkp_page_index .about_journal,
    .pkp_page_about .about_journal {
        padding: 0 15px;
        margin: 25px auto;
    }

    .about_journal h2 {
        font-size: 24px;
    }

    .about-intro {
        padding: 22px;
        border-radius: 14px;
    }

    .about-intro h3 {
        font-size: 21px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-card.full {
        grid-column: auto;
    }

    .about-highlight {
        grid-template-columns: 1fr;
    }
}
/* Membuat tulisan menu utama menjadi putih */
.pkp_site_nav_menu a,
.pkp_navigation_primary > li > a {
    color: #ffffff !important;
}

/* Menu About dan submenu */
.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus,
.pkp_navigation_primary > li > a:active {
    color: #ffffff !important;
}

/* Tulisan submenu About */
.pkp_navigation_primary .dropdown-menu a {
    color: #ffffff !important;
}

/* Saat mouse diarahkan ke submenu */
.pkp_navigation_primary .dropdown-menu a:hover,
.pkp_navigation_primary .dropdown-menu a:focus {
    color: #ffffff !important;
}

/* =====================================================
   JURNAL AGRO - OJS 3
   3 COLUMNS + SIDEBAR
   MODERN GREEN & YELLOW
===================================================== */

/* ===============================
   VARIABLES
================================ */

:root {
    --agro-green: #176b3a;
    --agro-dark: #10452d;
    --agro-yellow: #f5a623;
    --agro-light: #f5f8f2;
    --agro-border: #dce7dc;
    --agro-text: #24372c;
}

/* ===============================
   HOMEPAGE MAIN CONTENT
   SIDEBAR TETAP AKTIF
================================ */

/* Menyesuaikan area utama OJS */
.pkp_page_index .pkp_structure_main {
    box-sizing: border-box;
}

/* Pastikan sidebar tidak disembunyikan */
.pkp_page_index .pkp_structure_sidebar {
    display: block;
}

/* ===============================
   3 KOLOM DALAM MAIN CONTENT
================================ */

.agro-homepage {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 16px;

    width: 100%;

    margin: 20px 0 30px;

    padding: 0;

    box-sizing: border-box;

    align-items: start;
}

/* ===============================
   KARTU KOLOM
================================ */

.agro-column {
    position: relative;

    min-width: 0;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid var(--agro-border);

    border-radius: 14px;

    padding: 18px;

    box-shadow:
        0 4px 16px rgba(20, 65, 35, 0.06);

    overflow: hidden;
}

/* GARIS HIJAU ATAS */

.agro-column::before {
    content: "";

    display: block;

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 5px;

    background: var(--agro-green);
}

/* KOLOM TENGAH - AKSEN KUNING */

.agro-column-center {
    border-top: 5px solid var(--agro-yellow);
}

/* ===============================
   JUDUL
================================ */

.agro-column h2 {
    font-size: 21px;

    line-height: 1.35;

    font-weight: 800;

    color: var(--agro-dark);

    margin: 0 0 20px;
}

.agro-column h2::after {
    content: "";

    display: block;

    width: 45px;

    height: 3px;

    background: var(--agro-yellow);

    border-radius: 10px;

    margin-top: 10px;
}

.agro-column h3 {
    font-size: 16px;

    line-height: 1.5;

    color: var(--agro-green);

    font-weight: 700;

    margin: 0 0 12px;
}

/* ===============================
   TEKS
================================ */

.agro-column p {
    font-size: 13px;

    line-height: 1.75;

    color: var(--agro-text);

    overflow-wrap: anywhere;
}

/* ===============================
   JOURNAL FACTS
================================ */

.agro-facts {
    background: var(--agro-light);

    border-left: 4px solid var(--agro-yellow);

    border-radius: 8px;

    padding: 14px;

    margin-top: 20px;
}

.agro-facts strong {
    color: var(--agro-green);

    font-size: 12px;

    letter-spacing: 0.7px;
}

/* ===============================
   COVER JURNAL
================================ */

.agro-cover-box {
    width: 100%;

    text-align: center;

    margin: 0 0 18px;
}

.agro-cover-box img {
    display: block;

    width: 100%;

    max-width: 100%;

    height: auto;

    max-height: 520px;

    object-fit: contain;

    margin: 0 auto;

    border-radius: 6px;
}

/* ===============================
   CENTER INFORMATION
================================ */

.agro-center-info {
    background: var(--agro-light);

    border-radius: 10px;

    padding: 14px;

    text-align: center;
}

.agro-center-info p {
    margin: 5px 0;
}

/* ===============================
   AKREDITASI
================================ */

.agro-accreditation {
    background: #ffffff;

    border: 1px solid var(--agro-border);

    border-radius: 10px;

    padding: 8px;

    margin-bottom: 18px;
}

.agro-accreditation img {
    display: block;

    width: 100%;

    height: auto;

    max-height: 300px;

    object-fit: contain;

    margin: 0 auto;

    border-radius: 6px;
}

/* ===============================
   ADDITIONAL MENU
================================ */

.agro-menu-title {
    background: linear-gradient(
        90deg,
        #126b3b,
        #407f3d
    );

    color: #ffffff;

    text-align: center;

    font-size: 13px;

    font-weight: 800;

    padding: 14px 8px;

    border-radius: 8px;

    margin-bottom: 10px;
}

.agro-menu-list {
    display: flex;

    flex-direction: column;

    gap: 6px;
}

.agro-menu-list a {
    display: block;

    background: #f3f8f1;

    border: 1px solid var(--agro-border);

    border-radius: 7px;

    padding: 11px 9px;

    font-size: 11px;

    font-weight: 700;

    line-height: 1.4;

    text-align: center;

    color: var(--agro-green) !important;

    text-decoration: none !important;

    overflow-wrap: anywhere;

    transition: 0.2s ease;
}

.agro-menu-list a:hover {
    background: #e4f0df;

    border-color: var(--agro-green);
}

/* ===============================
   BUTTON
================================ */

.agro-button {
    display: block;

    text-align: center;

    background: var(--agro-green);

    color: #ffffff !important;

    border-radius: 8px;

    padding: 11px 8px;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none !important;
}

.agro-button:hover {
    background: var(--agro-yellow);

    color: #173e2a !important;
}

/* ===============================
   TABLET
================================ */

@media (max-width: 1200px) {

    .agro-homepage {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);

        gap: 16px;
    }

    .agro-column-center {
        grid-column: 1 / -1;

        grid-row: 1;
    }

    .agro-cover-box img {
        max-width: 350px;
    }
}

/* ===============================
   MOBILE
================================ */

@media (max-width: 700px) {

    .agro-homepage {
        display: flex;

        flex-direction: column;

        gap: 16px;

        width: 100%;
    }

    .agro-column {
        width: 100%;

        padding: 18px;
    }

    .agro-column-center {
        order: -1;
    }

    .agro-column h2 {
        font-size: 21px;
    }

    .agro-column p {
        font-size: 14px;
    }

    .agro-menu-list a {
        font-size: 13px;

        padding: 13px;
    }

}
