/* ================================================
   Portal Jurnal Kreyat Center - Custom CSS
   ================================================ */

/* --- HEADER --- */
.main-header {
  background-color: #1e7b6a;
  min-height: auto;
}

.main-header__title {
  color: #ffffff;
  background-color: transparent;
}

.main-header__title span {
  background: transparent;
  color: #ffffff;
  font-size: 1.8rem;
  letter-spacing: 1px;
}

.main-header a {
  color: #ffffff;
}

.main-header__hero {
  display: none;
}

/* --- DESKRIPSI PORTAL --- */
.main__content > p {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.8;
  max-width: 800px;
  margin: 30px auto;
  text-align: center;
}

/* --- JUDUL JOURNALS --- */
.main__content h2 {
  text-align: center;
  font-size: 1.6rem;
  color: #1e7b6a;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 12px;
}

.main__content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #1e7b6a;
  border-radius: 2px;
}

/* --- CARD JURNAL --- */
.index-site__journals {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 850px;
  margin: 0 auto;
}

.index-site__journals li {
  background: #ffffff;
  border: 1px solid #e0f0ec;
  border-left: 5px solid #1e7b6a;
  border-radius: 10px;
  padding: 30px 35px;
  box-shadow: 0 4px 16px rgba(30, 123, 106, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.index-site__journals li:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(30, 123, 106, 0.18);
}

.index-site__journals h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.index-site__journals h3 a {
  color: #1e7b6a;
  text-decoration: none;
}

.index-site__journals h3 a:hover {
  color: #155f52;
  text-decoration: underline;
}

/* --- DESKRIPSI JURNAL --- */
.index-site__journals .description {
  max-height: 150px;
  overflow: hidden;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* --- TOMBOL --- */
.btn-primary {
  background-color: #1e7b6a;
  border-color: #155f52;
  color: #ffffff;
  border-radius: 6px;
  padding: 8px 20px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #155f52;
  color: #ffffff;
}

a.btn-primary,
a.btn-primary:hover,
a.btn-primary:focus,
a.btn-primary:visited {
  color: #ffffff;
}

.btn-default {
  border-color: #1e7b6a;
  color: #1e7b6a;
  border-radius: 6px;
  padding: 8px 20px;
  font-weight: 600;
}

.btn-default:hover {
  background-color: #e0f0ec;
  color: #1e7b6a;
}

/* --- FOOTER --- */
.main-footer {
  background-color: #1e7b6a;
  color: #ffffff;
  padding: 20px 0;
}

.main-footer a {
  color: #ffffff;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
  .index-site__journals li {
    padding: 20px;
  }

  .main-header__title span {
    font-size: 1.3rem;
  }
}

/* --- FOOTER: Sembunyikan logo OJS/PKP & center teks copyright (versi kuat) --- */
#immersion_content_footer .row > .col-2.col-sm-1.offset-10.offset-sm-11 {
  display: none !important;
  width: 0 !important;
  flex: 0 0 0 !important;
  max-width: 0 !important;
}

#immersion_content_footer .row {
  justify-content: center !important;
}

#immersion_content_footer .row > .col-md-8 {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  text-align: center !important;
}

#immersion_content_footer .container p {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}