/* ====== BASE (DESKTOP) ====== */
.pkp_site_name {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.pkp_site_name > a {
  padding-top: 0;
  padding-bottom: 0;
}

/* Logo */
.pkp_site_name .is_img img {
  max-height: 200px !important;
  max-width: 100%; /* penting utk responsive */
  height: auto;
  width: auto;
  display: block;
}

/* Wrapper nama situs */
.pkp_site_name_wrapper {
  padding-left: 0;
  padding-right: 0;
}

/* User navigation (login, dll) */
.pkp_navigation_user_wrapper {
  top: 0;
  right: 0;
  padding-right: 30px;
}

/* Struktur halaman */
.pkp_structure_page {
  margin-top: 20px !important;
  margin-bottom: 20px !important; /* tambahkan px */
  padding-bottom: 20px !important; /* tambahkan px */
}

/* ====== TABLET (â‰¤ 992px) ====== */
@media (max-width: 992px) {
  .pkp_site_name .is_img img {
    max-height: 160px !important;
  }

  .pkp_navigation_user_wrapper {
    padding-right: 15px;
  }

  .pkp_structure_page {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
    padding-bottom: 15px !important;
  }
}

/* ====== HP / SMALL TABLET (â‰¤ 768px) ====== */
@media (max-width: 768px) {
  /* Logo & title ditengah */
  .pkp_site_name_wrapper {
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
  }

  .pkp_site_name .is_img img {
    margin: 0 auto;
    max-height: 120px !important;
  }

  /* Menu user turun ke bawah & center,
     supaya tidak numpuk dengan logo */
  .pkp_navigation_user_wrapper {
    position: static; /* lepas dari posisi kanan atas */
    padding-right: 0;
    margin-top: 10px;
    text-align: center;
  }

  .pkp_structure_page {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    padding-bottom: 10px !important;
  }
}

/* ====== HP KECIL (â‰¤ 480px) ====== */
@media (max-width: 480px) {
  .pkp_site_name .is_img img {
    max-height: 90px !important;
  }

  .pkp_site_name_wrapper {
    padding-left: 10px;
    padding-right: 10px;
  }

  .pkp_structure_page {
    margin-top: 8px !important;
    margin-bottom: 8px !important;
    padding-bottom: 8px !important;
  }
}

/* ======================================
SIDEBAR LINK EFFECT (UNDERLINE)
====================================== */

.pkp_structure_sidebar a{
    text-decoration:none;
    transition:all .2s ease;
}

.pkp_structure_sidebar a:hover{
    text-decoration:underline;
}


/* ======================================
SIDEBAR IMAGE ZOOM EFFECT
====================================== */

.pkp_structure_sidebar img{
    transition:transform .25s ease;
}

.pkp_structure_sidebar img:hover{
    transform:scale(1.07);
}


/* ======================================
JOURNAL INFORMATION MENU STYLE
====================================== */

#customblock-about-journal a{
    border-left:3px solid transparent;
    padding-left:10px;
}

#customblock-about-journal a:hover{
    border-left:3px solid #43a047; /* hijau */
    background:#e8f5e9; /* hijau muda */
}


/* ======================================
SUBMIT BUTTON UNDERLINE
====================================== */

#customblock-e-issn a{
    position:relative;
    text-decoration:none;
}

/* garis bawah */

#customblock-e-issn a::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:8px;
    width:0;
    height:2px;
    background:#ffffff;
    transition:all .3s ease;
    transform:translateX(-50%);
}

/* animasi */

#customblock-e-issn a:hover::after{
    width:110px;
}


/* ======================================
USERNAME HEADER (MODERN USER MENU)
====================================== */

/* sembunyikan angka task */
.pkp_navigation_user_wrapper .task_count{
    display:none !important;
}

/* style username */
.pkp_navigation_user_wrapper a{
    color:#2e7d32 !important; /* hijau */
    font-weight:600;
    padding:6px 12px;
    border-radius:6px;
    transition:all .2s ease;
}

/* hover effect */
.pkp_navigation_user_wrapper a:hover{
    background:#e8f5e9;
    color:#1b5e20 !important;
}

/* icon user */
.pkp_navigation_user_wrapper #pkpDropdown1::before{
    content:"👤";
    margin-right:6px;
}

/* icon dropdown */
.pkp_navigation_user_wrapper #pkpDropdown1::after{
    content:" ▼";
    font-size:10px;
    margin-left:4px;
}

/* dropdown menu style */
.pkp_navigation_user_wrapper .dropdown-menu{
    border-radius:6px;
    box-shadow:0 6px 18px rgba(0,0,0,0.15);
}

/* ======================================
STICKY HEADER OJS
====================================== */

.pkp_structure_head {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* biar lebih modern */
}

/* supaya tidak transparan saat scroll */
.pkp_head_wrapper {
    background: #fff;
}


/* ======================================
TYPOGRAPHY (GEOTERA STYLE)
====================================== */

/* body text */
body {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 14.5px;
    line-height: 1.7;
    color: #2c3e50;
}


/* judul utama */
h1, h2, h3, h4 {
    font-weight: 600;
    color: #1b5e20;
    letter-spacing: 0.3px;
}

/* spacing heading */
h2 {
    margin-bottom: 12px;
}

h3 {
    margin-bottom: 8px;
}


/* paragraf */
p {
    margin-bottom: 12px;
}


/* link umum */
a {
    color: #2e7d32;
    transition: all 0.2s ease;
}

a:hover {
    color: #1b5e20;
}


/* sidebar text */
.pkp_structure_sidebar {
    font-size: 14px;
}


/* ======================================
BUTTON HOVER ZOOM ONLY (NO COLOR CHANGE)
====================================== */

button,
input[type="submit"],
a.btn,
.pkp_button,
.obj_galley_link {
    transition: transform 0.2s ease;
}

/* hover zoom tipis */
button:hover,
input[type="submit"]:hover,
a.btn:hover,
.pkp_button:hover,
.obj_galley_link:hover {
    transform: scale(1.03);
}

/* ======================================
FORCE DROPDOWN STYLE (OJS FIX)
====================================== */

/* background dropdown */
.pkp_site_nav_menu .dropdown-menu {
    background: #ffffff !important;
    border: none !important;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* item dropdown */
.pkp_site_nav_menu .dropdown-menu li a {
    color: #2c3e50 !important;
    padding: 10px 16px;
}

/* hover dropdown */
.pkp_site_nav_menu .dropdown-menu li a:hover {
    background: #e8f5e9 !important;
    color: #2e7d32 !important;
}

/* ======================================
FIX ABOUT JOURNAL (SAFE VERSION)
====================================== */

/* kecilkan gambar */
.homepage_about img {
    width: 140px !important;
    height: auto !important;
    float: left;
    margin-right: 15px;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    border-radius: 4px;
}

/* rapikan teks */
.homepage_about p {
    text-align: justify;
    line-height: 1.7;
    overflow: hidden;
}

/* clear hanya di akhir */
.homepage_about p:last-of-type::after {
    content: "";
    display: block;
    clear: both;
}

/* ======================================
REPLACE TITLE ABOUT JOURNAL
====================================== */

.homepage_about h2 {
    font-size: 0;
}

.homepage_about h2::after {
    content: "GEOTERA (Geoscience Technology, Environment, and Risk Analysis)";
    font-size: 20px;
    font-weight: 600;
    color: #2e7d32;
    letter-spacing: 0.3px;
}

/* ======================================
PARAGRAPH SPACING
====================================== */

.homepage_about p + p {
    margin-top: 8px;
}

/* ======================================
FOOTER MINIMAL SINTA STYLE (FINAL CLEAN)
====================================== */

/* wrapper utama footer */
.pkp_structure_footer_wrapper {
    background: #f5f5f5 !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    border-top: 1px solid #ddd;
    border-bottom: none !important;
}

/* hapus style bawaan theme */
.pkp_structure_footer {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
}

/* hapus logo OJS */
.pkp_brand_footer {
    display: none !important;
}

/* ======================================
ISI FOOTER (TEXT CONTROL)
====================================== */

.footer-minimal {
    text-align: center;
    font-size: 12px !important;   /* lebih kecil & profesional */
    color: #666;
    line-height: 1.4 !important;  /* lebih rapat */
    letter-spacing: 0.2px;
}

/* tiap baris */
.footer-minimal p {
    margin: 2px 0 !important;
    font-size: 12px !important;
}

/* baris pertama sedikit lebih tegas */
.footer-minimal p:first-child {
    font-weight: 500;
    font-size: 13px !important;
}

/* link */
.footer-minimal a {
    color: #2e7d32;
    text-decoration: none;
}

.footer-minimal a:hover {
    text-decoration: underline;
}

/* ======================================
REMOVE BLUE STRIP (OJS BUG FIX)
====================================== */

/* hapus pseudo element penyebab garis */
.pkp_structure_footer_wrapper::before,
.pkp_structure_footer_wrapper::after {
    display: none !important;
    content: none !important;
}

/* background halaman */
.pkp_structure_page {
    background: #ffffff !important;
}

/* hilangkan garis bawah konten */
.pkp_structure_content {
    border-bottom: none !important;
}

/* ======================================
GLOBAL CLEAN
====================================== */

html, body {
    margin: 0;
    padding: 0;
    background: #ffffff;
}

/* ======================================
REMOVE SPACE ABOVE FOOTER (FINAL FIX)
====================================== */

/* hapus jarak bawah konten */
.pkp_structure_content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* hapus jarak di page wrapper */
.pkp_structure_page {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* kadang ada padding dari main */
.pkp_structure_main {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* pastikan footer nempel */
.pkp_structure_footer_wrapper {
    margin-top: 0 !important;
}

.footer-stats {
    margin: 6px 0;
    display: flex;
    justify-content: center;
}

.footer-stats img {
    height: 16px; /* kecil & profesional */
}

.footer-minimal a {
    font-size: 12px;
    color: #2e7d32;
    text-decoration: none;
}

.footer-minimal a:hover {
    text-decoration: underline;
}