/* ============================= */
/* RESET & GLOBAL STYLING       */
/* ============================= */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

body {
    line-height: 1.5;
    font-family: sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

ul,
ol {
    list-style-type: none;
}

p,
label {
    font-family: sans-serif;
}

/* ============================= */
/* LAYOUT WRAPPER                */
/* ============================= */

.container-wrapper {
    margin: 7% auto;
    position: relative;
    width: 500px;
    overflow: hidden;
}

/* ============================= */
/* HEADER / LOGO SECTION         */
/* ============================= */

#pageHeaderLogo {
    max-width: 100%;
    height: auto;
}

.pkp_site_name {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.pkp_site_name > a {
    padding-top: 0;
    padding-bottom: 0;
}

.pkp_site_name .is_img img {
    max-height: 200px !important;
}


/* ================================================= */
/* FOOTER 3 KOLOM – PERBAIKAN SUB KOLOM PERTAMA       */
/* ================================================= */

/* Area footer */
.pkp_structure_footer {
    font-size: 14px;
    line-height: 1.5;
}

/* Judul kolom (semua kolom) */
.pkp_structure_footer h1,
.pkp_structure_footer h2,
.pkp_structure_footer h3 {
    font-size: 20px;
    font-weight: 700;
    color: #800000;
    margin-bottom: 8px;
}

/* Default: semua link footer kecil */
.pkp_structure_footer a,
.pkp_structure_footer li,
.pkp_structure_footer p {
    font-size: 14px;
    font-weight: normal;
}

/* ================================================= */
/* 🔴 KHUSUS KOLOM PERTAMA (SUMBER MASALAH)           */
/* ================================================= */

/* Paksa semua teks & link di kolom pertama kecil */
.pkp_structure_footer .pkp_block:first-child a,
.pkp_structure_footer .pkp_block:first-child p,
.pkp_structure_footer .pkp_block:first-child li,
.pkp_structure_footer .pkp_block:first-child span {
    font-size: 14px !important;
    font-weight: normal !important;
}

/* KECUALI judul kolom pertama */
.pkp_structure_footer .pkp_block:first-child h1,
.pkp_structure_footer .pkp_block:first-child h2,
.pkp_structure_footer .pkp_block:first-child h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
}

/* ================================================= */
/* RAPAPI LIST                                       */
/* ================================================= */

.pkp_structure_footer ul {
    padding-left: 0;
    margin: 0;
}

.pkp_structure_footer li {
    list-style: none;
    margin-bottom: 6px;
}








/* =========================
   JOURNAL SEARCH & GALLERY
   ========================= */

.journal-widget {
  max-width: 900px;
  margin: 0 auto;
  font-family: "Segoe UI", Arial, sans-serif;
}

/* Card */
.journal-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  animation: fadeUp 0.6s ease both;
}

/* Title */
.journal-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1f2937;
}

/* Search */
.search-form {
  display: flex;
  gap: 12px;
  max-width: 600px;
}

.search-input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 15px;
}

.search-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.15);
}

.search-button {
  padding: 12px 22px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #ffffff;
  font-size: 15px;
  cursor: pointer;
}

/* Gallery */
.journal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.journal-item {
  display: block;
  padding: 18px;
  border-radius: 14px;
  background: #f8fafc;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: #1d4ed8;
  line-height: 1.4;
  transition: all 0.3s ease;
}

.journal-item:hover {
  background: #e0e7ff;
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

/* Animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
