/* =========================================================
   WORLD HALAL REVIEW – PRODUCTION STABLE VERSION
   ========================================================= */

/* ================= GLOBAL ================= */

body {
  font-family: "Inter", "Segoe UI", sans-serif;
  background: #f6f8f7;
  color: #1f2937;
  line-height: 1.75;
}

h1, h2, h3, h4 {
  font-weight: 700;
  color: #0C3447;
}

a {
  text-decoration: none;
  transition: all .25s ease;
  color: #0C3447;
}

a:hover {
  color: #2DBE60;
}


/* ================= HEADER (FULL WIDTH FIX) ================= */

.pkp_site_name_wrapper {
  background: linear-gradient(135deg, #0C3447, #0F3E53);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  padding: 22px 0;
  max-width: 100%;
}

@media (min-width: 992px) {
  .pkp_site_name {
    width: 100% !important;
  }
}

.pkp_site_name a.is_img img {
  width: 100%;
  height: auto;
  max-width: 100%;
}

.pkp_navigation_primary_wrapper {
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.pkp_navigation_primary > li > a {
  font-weight: 500;
  color: #0C3447;
}

.pkp_navigation_primary > li > a:hover {
  color: #2DBE60;
}


/* ================= LAYOUT ================= */

.pkp_structure_content .row {
  display: flex !important;
  flex-wrap: wrap;
}

.pkp_structure_main {
  flex: 0 0 72% !important;
  max-width: 72% !important;
  padding-right: 40px;
}

.pkp_structure_sidebar {
  flex: 0 0 28% !important;
  max-width: 28% !important;
}

@media (max-width: 992px) {
  .pkp_structure_main,
  .pkp_structure_sidebar {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding-right: 0;
  }
}


/* =========================================================
   JOURNAL META CARD
   ========================================================= */

.journal-meta-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  background: #ffffff;
  padding: 45px 50px;
  border-radius: 18px;
  border: 1px solid #e8ecef;
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
  margin: 60px 0;
  align-items: center;
}

.journal-cover img {
  width: 100%;
  max-width: 300px;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

.journal-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.meta-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: #0C3447;
}

/* ===== META LINE CLEAN ===== */

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 35px;
}

.meta-line span {
  color: #374151;
}

.meta-line strong {
  color: #0C3447;
  font-weight: 600;
}

/* LICENSE PILL */

.meta-pill {
  background: rgba(45,190,96,.12);
  color: #2DBE60;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
}


/* ================= BUTTONS ================= */

.meta-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-primary {
  background: #2DBE60;
  color: #fff;
  padding: 12px 30px;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(45,190,96,.25);
  transition: all .25s ease;
}

.btn-primary:hover {
  background: #249E50;
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid #2DBE60;
  color: #2DBE60;
  padding: 12px 30px;
  border-radius: 10px;
  font-weight: 600;
  transition: all .25s ease;
}

.btn-outline:hover {
  background: #2DBE60;
  color: #fff;
}


/* =========================================================
   FOOTER
   ========================================================= */

.whr-footer {
  background: #0C3447;
  color: rgba(255,255,255,0.75);
  padding: 70px 0 30px;
}

.whr-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 60px;
}

.whr-footer h3,
.whr-footer h4 {
  color: #ffffff;
  margin-bottom: 18px;
}

.whr-footer a {
  color: rgba(255,255,255,0.75);
}

.whr-footer a:hover {
  color: #2DBE60;
}

.whr-footer-bottom {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.75rem;
  color: rgba(255,255,255,.5);
}


/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {

  .journal-meta-card {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .meta-actions {
    justify-content: center;
  }

  .whr-footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

}
.whr-history-table {
  width: 100%;
  border-collapse: collapse;
  margin: 40px 0;
  font-size: 0.95rem;
}

.whr-history-table thead {
  background: #0C3447;
  color: #ffffff;
}

.whr-history-table th,
.whr-history-table td {
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  text-align: left;
}

.whr-history-table th {
  font-weight: 600;
}

.whr-history-table tbody tr:nth-child(even) {
  background: #f9fafb;
}

.whr-sidebar-menu .title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 18px 20px;
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
}

.whr-sidebar-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.whr-sidebar-menu ul li {
  border-bottom: 1px solid #f1f1f1;
}

.whr-sidebar-menu ul li a {
  display: block;
  padding: 12px 20px;
  font-size: 0.92rem;
  color: #374151;
  transition: all .2s ease;
}

.whr-sidebar-menu ul li a:hover {
  background: rgba(45,190,96,.08);
  color: #2DBE60;
  padding-left: 24px;
}