/* =========================
   PKJ — AUTHOR/WEJANGAN BOX (theme-safe)
   ========================= */
body .pkj-author-card{
  position:relative; display:flex; flex-direction:column; align-items:center; text-align:center;
  gap:10px; max-width:740px;
  margin:16px auto 18px; padding:16px 18px; border-radius:16px;
  border:1px solid rgba(245,194,59,.35);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cg fill='none' stroke='%23b07f05' stroke-opacity='.10' stroke-width='.8'%3E%3Cpath d='M0 9h18M9 0v18'/%3E%3Cpath d='M0 0l18 18M18 0L0 18'/%3E%3C/g%3E%3C/svg%3E") repeat,
    linear-gradient(180deg, #141820, #10151c);
  background-size:18px 18px, auto;
  box-shadow:0 14px 28px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.05);
  color:#EDEFF6;
}
body .pkj-author-card--batik::before{
  content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  box-shadow:0 0 0 1px rgba(255,213,120,.25) inset;
}
body .pkj-author-card__media{ width:96px; height:96px; }
body .pkj-author-card__avatar{
  width:100%; height:100%; display:block; border-radius:50%;
  object-fit:cover; object-position:50% 22%;
  border:3px solid #E8C35A;
  box-shadow:0 6px 14px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.55);
  background:#0f141b;
}
body .pkj-author-card__name{ margin:0; font-weight:900; letter-spacing:.2px; font-size:1.25rem; color:#F2C94C; }
body .pkj-author-card__role{ margin:.05rem 0 .25rem; color:#FFD780; font-weight:700; font-size:.95rem; }
body .pkj-author-card__bio{ margin:.2rem 0 .4rem; line-height:1.65; color:#EAF1FF; }
body .pkj-author-card__links{ display:flex; flex-wrap:wrap; justify-content:center; gap:.35rem .6rem; }
body .pkj-author-link{ color:#FFD45A; text-decoration:underline; text-underline-offset:2px; }
body .pkj-author-card__links .sep{ opacity:.6; color:#FFD45A; }
body .pkj-author-card__meta{ margin-top:.2rem; font-size:.9rem; opacity:.9; }
body .pkj-author-card__soc{
  width:100%; max-width:420px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.6rem; margin-top:.6rem;
}
body .pkj-soc-btn{
  display:flex; align-items:center; justify-content:center;
  height:42px; padding:0 .8rem; border-radius:9999px;
  background:linear-gradient(180deg,#fff3a3 0%, #ffd95a 46%, #ffc93a 100%);
  color:#111; font-weight:800; font-size:.85rem; text-decoration:none;
  border:1px solid rgba(214,165,26,.65);
  box-shadow:0 8px 16px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.6);
  transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
body .pkj-soc-btn:hover{ transform:translateY(-1px); filter:brightness(1.03); box-shadow:0 12px 20px rgba(0,0,0,.26); }

@media (max-width:360px){
  body .pkj-author-card__media{ width:88px; height:88px; }
  body .pkj-soc-btn{ height:40px; font-size:.8rem; }
}
@media (min-width:960px){
  body .pkj-author-card{
    display:grid; grid-template-columns:140px 1fr; column-gap:18px;
    align-items:center; text-align:left; padding:18px 22px;
  }
  body .pkj-author-card__media{ width:120px; height:120px; grid-column:1; }
  body .pkj-author-card > *:not(.pkj-author-card__media){ grid-column:2; }
  body .pkj-author-card__name{ font-size:1.35rem; }
  body .pkj-author-card__role{ font-size:1rem; }
  body .pkj-author-card__links{ justify-content:flex-start; }
  body .pkj-author-card__soc{ max-width:none; grid-template-columns:repeat(3,minmax(0,1fr)); justify-items:start; margin-top:.5rem; }
}

/* Heading & list emas untuk versi “wejangan” */
body .pkj-author-card h4{ margin:.45rem 0 .25rem; color:#FFD780; font-weight:800; letter-spacing:.2px; }
body .pkj-author-card ul{ margin:.25rem 0 .5rem; padding-left:1.1rem; }
body .pkj-author-card li{ line-height:1.65; }

/* HARD MODE — aktifkan kalau pattern masih dihapus tema (OPSIONAL) */
/*
body .pkj-author-card{
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cg fill='none' stroke='%23b07f05' stroke-opacity='.10' stroke-width='.8'%3E%3Cpath d='M0 9h18M9 0v18'/%3E%3Cpath d='M0 0l18 18M18 0L0 18'/%3E%3C/g%3E%3C/svg%3E") repeat,
    linear-gradient(180deg, #141820, #10151c) !important;
  background-size:18px 18px, auto !important;
}
*/
/* ======= MOBILE FIX: cegah overflow lebar layar ======= */
@media (max-width: 600px){
  /* Author box ikut safe area */
  body .pkj-author-card{
    max-width: calc(100% - 28px);
    margin-left: 14px;
    margin-right: 14px;
    box-sizing: border-box;
  }
  /* Jangan ada anak yang memaksa lebar */
  body .pkj-author-card,
  body .pkj-author-card *{
    min-width: 0;
  }
  /* Email & link panjang boleh patah di mana saja */
  body .pkj-author-link{
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  /* Tombol sosmed aman kalau teks panjang */
  body .pkj-soc-btn{ white-space: normal; }

  /* --- Guard umum untuk area konten di bawahnya --- */
  .entry-content a,
  .entry-content .button,
  .entry-content .tagcloud a {
    max-width: 100%;
    white-space: normal !important; /* bantai yang set nowrap */
    overflow-wrap: anywhere;
    word-break: break-word;
    box-sizing: border-box;
  }
}

/* Opsi darurat (kalau masih ada scrollbar horisontal karena script/plugin lain) */
/* html, body { overflow-x: hidden; } */