/*
Theme Name: bekerja Blog
Theme URI: https://bekerja.id
Author: bekerja
Description: Theme blog bekerja — mengikuti desain situs utama "Merawat Dengan Hati" (teal #227D75, lime #AEDD2B, Baloo 2 + Nunito). Dipakai untuk WordPress yang di-install di subfolder /blog.
Version: 1.0.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: bekerja-blog
*/

/* ====== Reset & dasar (mengikuti referensi situs utama) ====== */
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #FAFAF4;
  font-family: 'Nunito', sans-serif;
  color: #2E4A45;
}
a { color: #227D75; }
a:hover { color: #14544E; }
img { max-width: 100%; height: auto; }

.bkj-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 3.5rem);
  padding-right: clamp(16px, 4vw, 3.5rem);
}
.bkj-narrow { max-width: 840px; margin: 0 auto; }

/* ====== Nav ====== */
.bkj-nav {
  display: flex; flex-wrap: wrap; row-gap: 12px;
  align-items: center; justify-content: space-between;
  padding-top: 20px; padding-bottom: 20px;
}
.bkj-nav-logo img { height: 52px; width: auto; display: block; }
.bkj-nav-links {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(14px, 2.5vw, 32px);
  font-weight: 700; font-size: 15px;
}
.bkj-nav-links a { color: #2E4A45; text-decoration: none; }
.bkj-nav-links a:hover { color: #227D75; }
.bkj-nav-links a.bkj-active {
  color: #227D75;
  border-bottom: 3px solid #AEDD2B;
  padding-bottom: 2px;
}
.bkj-btn {
  background: #227D75; color: #fff !important; text-decoration: none;
  padding: 12px 24px; border-radius: 99px; font-weight: 800;
  transition: background 150ms; display: inline-block;
}
.bkj-btn:hover { background: #14544E; }
.bkj-burger {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; color: #14544E;
}
@media (max-width: 767px) {
  .bkj-nav-links {
    display: none; width: 100%; flex-direction: column; align-items: stretch;
    background: #fff; border: 2px solid #E1E7D2; border-radius: 16px;
    padding: 8px; margin-top: 4px; font-size: 16px;
  }
  .bkj-nav-links.bkj-open { display: flex; }
  .bkj-nav-links a { display: flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 12px; }
  .bkj-nav-links a.bkj-active { background: #EAF3D2; border-bottom: none; padding-bottom: 0; }
  .bkj-nav-links .bkj-btn { justify-content: center; display: flex; min-height: 48px; padding: 0 24px; margin-top: 4px; }
  .bkj-burger { display: flex; }
}

/* ====== Header halaman blog ====== */
.bkj-page-head { text-align: center; padding: clamp(16px, 4vw, 3.5rem) 0 48px; }
.bkj-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #EAF3D2; color: #3D6B14;
  font-weight: 800; font-size: 14px;
  padding: 8px 16px; border-radius: 99px; margin-bottom: 20px;
}
h1.bkj-title {
  font-family: 'Baloo 2', sans-serif; font-weight: 700;
  font-size: clamp(32px, 4.6vw, 50px); line-height: 1.12;
  color: #14544E; margin: 0 0 16px;
}
.bkj-lead { font-size: 18px; line-height: 1.65; color: #4A5A50; margin: 0; }

/* ====== Kartu artikel (indeks) ====== */
.bkj-featured {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px; align-items: center;
  background: #fff; border-radius: 28px;
  padding: clamp(20px, 4vw, 48px);
  text-decoration: none; margin-bottom: 28px;
}
.bkj-featured img { width: 100%; height: 320px; object-fit: cover; border-radius: 22px; display: block; }
.bkj-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; padding-bottom: 48px;
}
.bkj-card {
  background: #fff; border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none;
}
.bkj-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.bkj-card-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.bkj-chip {
  display: inline-block; background: #EAF3D2; color: #3D6B14;
  font-weight: 800; font-size: 12px;
  padding: 6px 12px; border-radius: 99px;
}
.bkj-date { font-size: 13px; font-weight: 700; color: #7A8A80; }
.bkj-card-title, .bkj-featured-title {
  font-family: 'Baloo 2', sans-serif; font-weight: 700;
  color: #14544E; margin: 0;
}
.bkj-card-title { font-size: 20px; line-height: 1.25; }
.bkj-featured-title { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; margin-bottom: 12px; }
.bkj-excerpt { font-size: 15px; line-height: 1.6; color: #4A5A50; margin: 0; flex: 1; }
.bkj-read { font-size: 15px; font-weight: 800; color: #227D75; }

/* ====== Artikel (single) ====== */
.bkj-article { padding-top: clamp(16px, 4vw, 3.5rem); padding-bottom: 24px; }
.bkj-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.bkj-back { font-size: 14px; font-weight: 800; color: #227D75; text-decoration: none; }
h1.bkj-article-title {
  font-family: 'Baloo 2', sans-serif; font-weight: 700;
  font-size: clamp(28px, 4vw, 42px); line-height: 1.15;
  color: #14544E; margin: 0 0 24px;
}
.bkj-cover { width: 100%; height: clamp(220px, 40vw, 400px); object-fit: cover; border-radius: 22px; display: block; margin-bottom: 32px; }

.bkj-prose h2 {
  font-family: 'Baloo 2', sans-serif; font-weight: 700;
  font-size: 24px; line-height: 1.25; color: #14544E; margin: 36px 0 12px;
}
.bkj-prose h3 {
  font-family: 'Baloo 2', sans-serif; font-weight: 700;
  font-size: 19px; line-height: 1.3; color: #14544E; margin: 28px 0 10px;
}
.bkj-prose p { font-size: 16px; line-height: 1.75; color: #4A5A50; margin: 0 0 16px; }
.bkj-prose ul { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-direction: column; gap: 8px; }
.bkj-prose ul li {
  position: relative; padding-left: 26px;
  font-size: 16px; font-weight: 600; line-height: 1.65; color: #2E4A45;
}
.bkj-prose ul li::before { content: "✓"; position: absolute; left: 0; color: #8FBF1F; font-weight: 800; }
.bkj-prose ol { padding-left: 22px; margin: 16px 0; color: #4A5A50; font-size: 16px; line-height: 1.75; }
.bkj-prose strong { color: #2E4A45; font-weight: 800; }
.bkj-prose img { border-radius: 16px; }
.bkj-prose blockquote {
  margin: 20px 0; padding: 4px 20px;
  border-left: 4px solid #AEDD2B; color: #4A5A50; font-style: italic;
}

/* ====== Artikel lainnya ====== */
.bkj-related { padding: 24px 0 48px; }
.bkj-related h2 {
  font-family: 'Baloo 2', sans-serif; font-weight: 700;
  font-size: 22px; color: #14544E; margin: 0 0 20px;
}
.bkj-related a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  background: #fff; border: 2px solid #E1E7D2; border-radius: 16px;
  padding: 16px 24px; text-decoration: none; margin-bottom: 12px;
}
.bkj-related a span:first-child { font-size: 16px; font-weight: 800; color: #14544E; }
.bkj-related a span:last-child { font-size: 14px; font-weight: 800; color: #227D75; white-space: nowrap; }

/* ====== CTA card ====== */
.bkj-cta-wrap { padding-bottom: clamp(16px, 4vw, 3.5rem); }
.bkj-cta {
  background: #227D75; border-radius: 28px;
  padding: clamp(24px, 5vw, 3.5rem); text-align: center;
}
.bkj-cta h2 {
  font-family: 'Baloo 2', sans-serif; font-weight: 700;
  font-size: clamp(27px, 3.6vw, 40px); color: #fff; margin: 0 0 12px;
}
.bkj-cta p { color: #CFE6E1; font-size: 17px; margin: 0 0 28px; }
.bkj-cta a {
  display: inline-block; background: #AEDD2B; color: #204F1D; text-decoration: none;
  padding: 18px 36px; border-radius: 99px; font-weight: 800; font-size: 18px;
  transition: background 150ms;
}
.bkj-cta a:hover { background: #8FBF1F; color: #204F1D; }

/* ====== Footer ====== */
.bkj-footer {
  padding-bottom: 32px;
  color: #7A8A80; font-size: 14px; font-weight: 700;
}
.bkj-footer-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: space-between; align-items: center;
}
.bkj-footer-row nav { display: flex; gap: 24px; }
.bkj-footer a { color: #7A8A80; text-decoration: none; }
.bkj-footer a:hover { color: #227D75; }
.bkj-socials { display: flex; justify-content: flex-end; margin-top: 12px; gap: 4px; }
.bkj-socials a {
  display: flex; width: 40px; height: 40px; align-items: center; justify-content: center;
  border-radius: 99px; color: #7A8A80;
}
.bkj-socials a:hover { color: #227D75; }
@media (max-width: 639px) { .bkj-socials { justify-content: center; } }

/* ====== Pagination ====== */
.bkj-pagination { text-align: center; padding-bottom: 48px; font-weight: 800; }
.bkj-pagination .page-numbers {
  display: inline-flex; min-width: 40px; height: 40px; padding: 0 12px;
  align-items: center; justify-content: center;
  border-radius: 99px; text-decoration: none; color: #227D75; margin: 0 3px;
}
.bkj-pagination .page-numbers.current { background: #227D75; color: #fff; }
.bkj-pagination .page-numbers:hover:not(.current) { background: #EAF3D2; }
