/* ========================================================= 
ISEA Footer Professional – ICSEARD Identity (v4) Sejajar OJS/PKP 
========================================================= */

/* === Global body styling: latar belakang kertas, font klasik, layout flex === */
body {
    background-color: #f5f5dc; /* Warna dasar krem seperti kertas */
    background-image: url('https://www.transparenttextures.com/patterns/paper-fibers.png'); /* Tekstur kertas */
    background-repeat: repeat; /* Mengulang tekstur */
    background-attachment: fixed; /* Membuat latar belakang tetap */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #092D21; /* Warna teks gelap untuk kontras */
    font-family: "Georgia", serif; /* Font klasik untuk kesan elegan */
    margin: 0;
    padding: 0;
    position: relative;
}

/* Hide PKP branding (jika ingin tampilkan, hapus baris ini) */
.pkp_brand_footer {
    display: none;
}
/* Hide register link on login page */
.pkp_page_login a.register,
.pkp_page_login .register {
  display: none !important;
}

/* === Footer styling === */
.pkp_structure_footer_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 50px 0 0 0;
    position: relative;
    margin: 0;
    width: 100%;
    background: #092D21;;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.pkp_structure_footer {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
}

/* === Reset dan Dasar === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === Footer Wrapper === */
.pkp_structure_footer_wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 200px;
  width: 100%;
  position: relative;
  color: #ffffff;
  background: #092D21 url("https://iseaicseard.com/public/site/images/footer-bg.png") center/cover no-repeat;
  border-top: 4px solid #092D21;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
  padding: 60px 20px 0; /* Menambah padding atas */
  margin-top: auto; /* Memastikan footer selalu di bawah */
  flex-shrink: 0;
}

/* === Konten Footer 3 Kolom === */
.footer-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* Memastikan kolom sama lebar */
  gap: 20px; /* Menyesuaikan jarak antar kolom */
  justify-content: center; /* Menengahkan grid */
  margin: 0 auto;
  max-width: 900px; /* Mengurangi lebar maksimal */
  width: 100%;
  padding: 0 20px 0 120px; /* Memberikan ruang untuk logo di kiri */
  margin-bottom: 40px; /* Menambah jarak ke footer-bottom */
}

/* === Kolom Footer === */
.footer-left,
.footer-center,
.footer-right{
  color: rgba(255, 255, 255, 0.9);
  padding-left: 0; /* Menghapus padding kiri */
}


/* === Kolom Kiri === */
.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Memastikan konten mulai dari kiri */
}

.footer-left p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9em;
  line-height: 1.6;
  margin: 0 0 8px 0;
}

.footer-left strong {
  color: #fff;
  font-weight: 600;
}

.footer-left em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.95);
}

/* === Heading Kolom === */
.footer-left h3,
.footer-center h3,
.footer-right h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
}

.footer-left h3::after,
.footer-center h3::after,
.footer-right h3::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: #f1c40f;
}

/* === Link & Hover === */
.footer-left a,
.footer-center a,
.footer-right a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 4px 0;
  position: relative;
}

.footer-left a::after,
.footer-center a::after,
.footer-right a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #f1c40f;
  transition: width 0.3s ease;
}

.footer-left a:hover::after,
.footer-center a:hover::after,
.footer-right a:hover::after {
  width: 100%;
}

.footer-right a:hover {
  color: #f1c40f;
  transform: translateX(5px);
}

/* === Bagian Bawah Footer === */
.footer-bottom {
  width: 100%;
  text-align: center;
  padding: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-family: "Segoe UI", "Roboto", Arial, sans-serif;
  font-size: 0.9em;
  letter-spacing: 0.2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  line-height: 1.4;
}

.footer-bottom span {
  margin: 0 5px;
}

/* === Konten & Sidebar Wrapper === */
.pkp_structure_main_wrapper,
.pkp_structure_sidebar_wrapper {
  border: 2px solid #1A2F27;
  background-color: #ffffff;
  border-radius: 6px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}


/* === Struktur Halaman === */
.pkp_structure_page {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.pkp_structure_content {
  display: flex;
  justify-content: center;
  max-width: 1400px;
  width: 100%;
  min-height: 600px;
  padding: 0 20px;
  margin: 0 auto;
  position: relative;
}

/* === Responsif === */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px; /* Reset padding pada mobile */
  }
  .footer-left,
  .footer-center,
  .footer-right {
    text-align: center;
    padding: 10px;
  }
  .footer-bottom {
    padding: 12px 15px;
  }
  .footer-logo-absolute {
    position: relative;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    margin: 20px 0;
    max-width: 100px;
  }
}

@media (max-width: 480px) {
  .footer-content {
    padding: 0px;
  }
}


/* Footer: Logo di kiri atas di luar kolom */
.footer-logo-absolute {
  position: absolute;
  top: 40px;
  left: 20px;
  max-width: 120px;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7));
  transition: all 0.4s ease;
  transform-origin: center;
}

.footer-logo-absolute:hover {
  transform: scale(1.08) rotate(-1deg);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.8)) brightness(1.1);
  opacity: 0.95;
}

/* Responsif untuk logo footer */
@media (max-width: 700px) {
  .footer-logo-absolute {
    top: 15px;
    left: 15px;
    max-width: 80px; /* Sedikit lebih besar agar tetap terlihat */
  }
}


/* === Layout artikel: sidebar di samping abstrak === */
.article-main-layout {
  display: flex;
  flex-direction: row-reverse;
  gap: 32px;
  align-items: flex-start;
  margin: 32px 0;
}

.article-main-layout .article-sidebar {
  width: 320px;
  min-width: 260px;
  max-width: 100%;
  background: #f5f5f5;
  border-radius: 6px;
  border: 1px solid #ddd;
  padding: 20px 18px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07);
}

.article-main-layout .article-content {
  flex: 1;
  min-width: 0;
}

@media (max-width: 900px) {
  .article-main-layout {
    flex-direction: column;
  }
  .article-main-layout .article-sidebar {
    width: 100%;
    margin-bottom: 24px;
  }
}

.obj_article_details .abstract,
.obj_article_details .abstract .value,
.obj_article_details .abstract p {
  text-align: justify !important;
  text-justify: inter-word;
}

/* === AUTHOR BLOCK – Compact Elegant Style === */
.obj_article_details .authors {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 0;
  list-style: none;
  margin: 12px auto 26px auto;
  max-width: 600px;
}

/* Setiap author */
.obj_article_details .authors li {
  text-align: center;
  padding: 0 10px;
  max-width: 450px;
}

/* Nama author (lebih kecil) */
.obj_article_details .authors .name {
  font-size: 1rem;        /* sebelumnya 1.18rem */
  font-weight: 600;
  color: #0b2f25;
}

/* Affiliation kecil dan soft */
.obj_article_details .authors .affiliation {
  font-size: 0.85rem;     /* sebelumnya 0.95rem */
  color: #555;
  line-height: 1.4;
  margin-top: 2px;
  display: block;
}

/* ORCID kecil */
.obj_article_details .authors .orcid a {
  font-size: 0.78rem;     /* sebelumnya 0.88rem */
  color: #137e4c;
  margin-top: 3px;
  display: inline-block;
  text-decoration: none;
}

/* Hover tipis */
.obj_article_details .authors .orcid a:hover {
  text-decoration: underline;
}

/* UserGroup lebih kecil */
.obj_article_details .authors .userGroup {
  font-size: 0.8rem;      /* sebelumnya 0.85rem */
  color: #727272;
  margin-top: 2px;
  display: block;
}

/* Responsive */
@media (max-width: 600px) {
  .obj_article_details .authors {
    gap: 14px;
  }
  .obj_article_details .authors .name {
    font-size: 0.95rem;
  }
}
/* === TITLE CENTER === */
.obj_article_details .page_title,
.obj_article_details .title {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
}



/* === FORCE ARTICLE DETAILS LAYOUT: sidebar di samping abstrak === */
.obj_article_details > .row {
  display: flex !important;
  flex-direction: row-reverse !important;
  gap: 32px;
  align-items: flex-start;
  justify-content: flex-end;
}

.obj_article_details .entry_details {
  width: 320px;
  min-width: 260px;
  max-width: 100%;
  background: #f5f5f5;
  border-radius: 6px;
  border: 1px solid #ddd;
  padding: 20px 18px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07);
  margin-right: 0;
}

.obj_article_details .main_entry {
  flex: 1 1 0%;
  min-width: 0;
}

@media (max-width: 900px) {
  .obj_article_details > .row {
    flex-direction: column !important;
  }
  .obj_article_details .entry_details {
    width: 100%;
    margin-bottom: 24px;
  }
}

@media (min-width: 901px) {
  .obj_article_details > .row {
    padding-left: 0;
  }
  .obj_article_details .entry_details {
    margin-left: 0;
  }
}

/* === Custom Sidebar Block Styling === */
/* Custom Block Guidelines Styling */
.pkp_structure_sidebar {
    float: right;
    width: 300px;
    padding-left: 30px;
    box-sizing: border-box;
}

.pkp_block.block_custom {
    width: 100%;
    background: #fff;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    clear: both;
}

/* Pengaturan layout konten utama */
.pkp_structure_main {
    float: left;
    width: calc(100% - 300px);
    padding-right: 30px;
    box-sizing: border-box;
}

/* Media query untuk responsive design */
@media (max-width: 992px) {
    .pkp_structure_main,
    .pkp_structure_sidebar {
        float: none;
        width: 100%;
        padding: 0;
    }
    
    .pkp_structure_sidebar {
        margin-top: 30px;
    }
}

.pkp_block.block_custom .content {
    padding: 0;
}

.pkp_block.block_custom .title {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

/* Link styling dalam custom block */
div.customblock-guidelines.pkp_block.block_custom a {
    display: block;
    padding: 10px 15px;
    margin: 5px 0;
    background: #f8f9fa;
    border-radius: 4px;
    color: #f1c40f;
    text-decoration: none;
    transition: all 0.3s ease;
}

div.customblock-guidelines.pkp_block.block_custom a:hover {
    background: #e9ecef;
    color: #f1c40f;
    transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    div.customblock-guidelines.pkp_block.block_custom {
        position: static;
        width: 100%;
        max-width: 300px;
        margin: 20px auto;
    }
}

.sidebar-block {
  background: #fff;
  border-radius: 14px;
  padding: 28px 22px 22px 22px;
  box-shadow: 0 4px 16px rgba(26,47,39,0.10);
  border: 2px solid #d0d0d0;
  margin-bottom: 20px;
  width: 100%;
}

.sidebar-title {
  color: #1A2F27;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.2;
}

.sidebar-desc {
  color: #3a5f52;
  font-size: 13px;
  margin-bottom: 10px;
}

.sidebar-block hr {
  border: none;
  border-top: 1.5px solid #e0e0e0;
  margin: 12px 0 14px 0;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list li {
  margin-bottom: 7px;
}

.sidebar-list li a {
  color: #1A2F27;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 16px;
}

.sidebar-list li a:hover {
  color: #f1c40f;
  text-decoration: underline;
}

/* ===========================================
   Custom Sidebar Quick Access Block – ICSEARD
   =========================================== */
.custom-quick-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.custom-quick-block a {
    display: block;
    text-align: center;
    background-color: #1A2F27; /* warna utama ICSEARD */
    color: #ffffff;
    font-weight: 600;
    font-family: "Segoe UI", "Open Sans", sans-serif;
    text-decoration: none;
    padding: 10px 0;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid #3A5F52; /* sedikit border agar tidak flat */
}

.custom-quick-block a:hover {
    background-color: #2E4E43; /* warna lebih terang saat hover */
    color: #f1c40f; /* aksen kuning ICSEARD */
    transform: scale(1.02);
}

/* === HEADER LAYOUT FIX (Logo | Title | User Nav sejajar) === */

/* Bungkus utama header */
.custom-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to left, #0c4935, #092D21);
  padding: 10px;
  color: #fff;
  position: relative;
}

/* Logo di kiri */
.header-logo {
  height: 180px;
  left: 0px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7)); /* bayangan halus */
  transition: all 0.4s ease;
  transform-origin: center;
}

/* Efek saat hover */
.header-logo:hover {
    transform: scale(1.08) rotate(-1deg); /* sedikit membesar dan miring halus */
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.8)) brightness(1.1);
    opacity: 0.95;
}

/* Judul di tengah */
.header-text {
  text-align: left;
  flex: 1;
  margin-bottom: 5px;
}

.header-text .journal-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.header-text .publisher-name {
  font-size: 1.2rem;
  font-style: italic;
  color: #d4ede2;
}


/* Membesarkan dan menonjolkan navigasi user pojok kanan */
.pkp_navigation_user {
    font-size: 20px !important;
    font-weight: 600 !important;
}

.pkp_navigation_user > li > a {
    padding: 14px 28px !important;
    font-size: 18px !important;
    border-radius: 6px !important;
    color: #fff !important;
}

.pkp_navigation_user > li > a:hover,
.pkp_navigation_user > li > a:focus {
    color: #e0e0e0 !important;
}

.pkp_navigation_user ul {
    min-width: 220px !important;
    font-size: 17px !important;
}

.pkp_navigation_user ul a {
    padding: 12px 24px !important;
    font-size: 17px !important;
}

/* Geser navigasi user lebih ke kanan dan beri background tipis */
.pkp_navigation_user_wrapper {
    position: absolute !important;
    top: 12px !important;
    right: 24px !important;
    padding: 2px 14px !important;
    z-index: 1001 !important;
}

.pkp_navigation_user > li > a {
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #F8B843 !important;
    background: transparent !important;
    transition: background 0.2s, color 0.2s;
}

.pkp_navigation_user > li > a:hover,
.pkp_navigation_user > li > a:focus {
    background: #092D21 !important;
    color: #F8B843 !important;
}

.pkp_navigation_user ul {
    background: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 6px 24px rgba(9,45,33,0.13) !important;
    margin-top: 6px !important;
}

.pkp_navigation_user ul a {
    color: #092D21 !important;
    border-radius: 5px !important;
    transition: background 0.2s, color 0.2s, padding-left 0.2s;
}

.pkp_navigation_user ul a:hover {
    background: #fff !important;
    color: #F8B843 !important;
    padding-left: 32px !important;
}

/* === ISEA Author Guidelines Layout === */
.isea-guidelines h3 {
  color: #092D21;
  margin-top: 25px;
  font-weight: 600;
}

.isea-guidelines ul,
.isea-guidelines ol {
  margin-left: 25px;
}

/* === Centered Buttons === */
.center-button {
  text-align: center;
  margin: 25px 0;
}

.btn-primary {
  display: inline-block;
  background-color: #092D21;
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  transition: 0.3s ease;
}

.btn-primary:hover {
  background-color: #0f4933;
  color: #f1c40f;
  text-decoration: none;
  transform: scale(1.03);
}

/* === Submit Button Larger === */
.btn-submit {
  padding: 14px 32px;
  font-size: 16px;
}

/* === Indexing Block Wrapper === */
.indexing-block {
  width: 100%;
  display: flex;
  justify-content: center;
  /*background: #f9f9f9;*/
  padding: 30px 0;
}

/* === Logo Container === */
.indexing-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 10px;
}

/* === Logo Box: Semua Ukuran Sama === */
.indexing-logos img {
  width: 150px;
  height: 110px;
  object-fit: contain; /* menjaga proporsi logo */
  background: #fff;
  border-radius: 10px;
  padding: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  filter: grayscale(40%) brightness(0.95)
    drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.indexing-logos img:hover {
  transform: scale(1.08);
  filter: grayscale(0%) brightness(1.1)
    drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* === Responsif === */
@media (max-width: 992px) {
  .indexing-logos img {
    width: 100px;
    height: 65px;
  }
}

@media (max-width: 600px) {
  .indexing-logos {
    gap: 18px;
  }

  .indexing-logos img {
    width: 90px;
    height: 55px;
    padding: 6px;
  }
}




/* === Indexing Section Wrapper === */
.indexing-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  font-family: "Segoe UI", "Roboto", Arial, sans-serif;
  color: #222;
  line-height: 1.7;
}

/* === Intro Text === */
.indexing-intro {
  text-align: justify;
  font-size: 0.95rem;
  margin-bottom: 25px;
}

/* === Section Title === */
.indexing-title {
  text-align: center;
  color: #092D21;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 40px 0 25px;
  position: relative;
}

.indexing-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #f1c40f;
  margin: 10px auto 0;
  border-radius: 3px;
}

/* === Index Logos === */
.indexing-logos- {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin: 25px 0;
}

.indexing-logos- img {
  height: 60px;
  border-radius: 8px;
  transition: all 0.3s ease;
  filter: grayscale(30%) brightness(0.95) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.indexing-logos- img:hover {
  transform: scale(1.08);
  filter: grayscale(0%) brightness(1.1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* === Index List === */
.indexing-list {
  list-style: disc;
  margin-left: 25px;
  font-size: 0.95rem;
  text-align: justify;
}

.indexing-list li {
  margin-bottom: 8px;
}

/* === Visibility Section === */
.indexing-visibility {
  text-align: justify;
  font-size: 0.95rem;
  margin-top: 25px;
}

/* === Divider & Footer Text === */
.indexing-divider {
  margin: 50px 0 20px;
  border: none;
  border-top: 1px solid #ccc;
}

.indexing-footer {
  text-align: center;
  font-size: 13px;
  color: #777;
}

/* === Responsive Adjustments === */
@media (max-width: 768px) {
  .indexing-logos- img {
    height: 50px;
  }

  .indexing-title {
    font-size: 1.2rem;
  }

  .indexing-section {
    padding: 0 15px;
  }
}
