/* Blog: daftar, kartu, halaman artikel */
.nav a.on{color:var(--orange)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* kartu (dipakai di beranda, daftar, dan "baca juga") */
.b-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.b-card{display:flex;flex-direction:column;background:var(--ink-2);border:1px solid rgba(255,255,255,.1);border-radius:var(--r);overflow:hidden;transition:transform .25s,border-color .25s}
.b-card:hover{transform:translateY(-6px);border-color:var(--orange)}
.b-img{aspect-ratio:16/10;overflow:hidden;background:linear-gradient(135deg,var(--rust-2),var(--ink))}
.b-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.b-card:hover .b-img img{transform:scale(1.05)}
.b-body{padding:18px 20px 22px;display:flex;flex-direction:column;gap:8px;flex:1}
.b-meta{display:flex;justify-content:space-between;gap:12px;font-size:.74rem;font-weight:600;letter-spacing:.05em;color:var(--orange);text-transform:uppercase}
.b-meta time{color:var(--muted);text-transform:none;letter-spacing:0;font-weight:500}
.b-card h3{font-size:1.12rem;line-height:1.28;letter-spacing:-.01em}
.b-card p{font-size:.88rem;color:#cfc4bc;line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

/* beranda */
.blog-latest{background:var(--ink-2)}
.blog-more{margin-top:32px;text-align:center}

/* halaman daftar */
.blog-hero{padding:clamp(120px,16vh,160px) 0 clamp(28px,4vw,48px);background:radial-gradient(800px 380px at 85% 0%,rgba(200,52,26,.28),transparent 65%),var(--ink)}
.blog-hero h1{font-size:clamp(2.2rem,5vw,4rem);max-width:18ch}
.blog-hero .lead{margin-top:18px;color:#d8cdc5}
.blog-list{background:var(--ink);padding:0 0 var(--section-y)}
.b-tools{display:flex;flex-wrap:wrap;gap:16px 24px;align-items:center;margin-bottom:20px}
.b-search input{width:min(340px,100%);font:inherit;color:#fff;background:#120d0b;border:1px solid rgba(255,255,255,.18);border-radius:99px;padding:11px 18px}
.b-search input:focus{outline:2px solid var(--orange);border-color:transparent}
.b-cats{display:flex;flex-wrap:wrap;gap:8px}
.b-cats button{background:none;color:#fff;border:1.5px solid rgba(255,255,255,.28);padding:7px 16px;border-radius:99px;font:600 .82rem inherit;font-family:inherit;cursor:pointer;transition:background .2s,border-color .2s}
.b-cats button em{font-style:normal;opacity:.6;margin-left:6px;font-weight:500}
.b-cats button:hover{border-color:var(--orange)}
.b-cats button[aria-pressed=true]{background:var(--rust);border-color:var(--rust)}
.b-count{font-size:.85rem;color:var(--muted);margin-bottom:20px}
.b-empty{grid-column:1/-1;padding:48px;text-align:center;color:var(--muted);border:1px dashed rgba(255,255,255,.2);border-radius:var(--r)}
.b-pager{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:40px}
.b-pager button{min-width:42px;height:42px;padding:0 14px;border-radius:99px;border:1.5px solid rgba(255,255,255,.28);background:none;color:#fff;font:600 .88rem inherit;font-family:inherit;cursor:pointer}
.b-pager button:hover:not(:disabled){border-color:var(--orange)}
.b-pager button[aria-current=page]{background:var(--rust);border-color:var(--rust)}
.b-pager button:disabled{opacity:.35;cursor:default}

/* halaman artikel */
main>article{background:var(--cream-2);color:var(--ink)}
.a-head{background:radial-gradient(700px 320px at 90% 0%,rgba(200,52,26,.3),transparent 65%),var(--ink);color:#fff;padding:clamp(110px,15vh,150px) 0 clamp(32px,4vw,52px)}
.a-wrap{max-width:780px;margin:0 auto;padding:0 clamp(20px,4vw,32px)}
.a-wrap--wide{max-width:1240px}
.a-back{display:inline-block;font-size:.85rem;font-weight:600;color:var(--muted);margin-bottom:22px;transition:color .2s}
.a-back:hover{color:var(--orange)}
.a-cats{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.a-cats a{font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--orange);border:1px solid rgba(226,86,43,.5);padding:4px 12px;border-radius:99px}
.a-cats a:hover{background:var(--orange);color:#fff}
.a-head h1{font-size:clamp(1.9rem,4.4vw,3.2rem);line-height:1.12}
.a-meta{margin-top:18px;font-size:.88rem;color:var(--muted)}
.a-cover{max-width:1000px;margin:clamp(24px,3.5vw,44px) auto 0;padding:0 clamp(20px,4vw,32px)}
.a-cover img{width:100%;max-height:560px;object-fit:cover;border-radius:var(--r);display:block}
.a-body{padding-top:clamp(28px,3.5vw,44px);padding-bottom:var(--section-y);font-size:1.1rem;line-height:1.85;color:#2b211d;overflow-wrap:break-word}
.a-body>*+*{margin-top:1.15em}
.a-body h2,.a-body h3,.a-body h4{line-height:1.25;letter-spacing:-.01em;color:var(--ink);margin-top:1.8em}
.a-body h2{font-size:1.6rem}.a-body h3{font-size:1.3rem}.a-body h4{font-size:1.1rem}
.a-body a{color:var(--rust);text-decoration:underline;text-underline-offset:3px}
.a-body a:hover{color:var(--rust-2)}
.a-body img{max-width:100%;height:auto;border-radius:10px;display:block;margin-inline:auto}
.a-body figure{margin-inline:0}
.a-body figcaption{font-size:.85rem;color:#6b5b52;text-align:center;margin-top:8px;line-height:1.5}
.a-body blockquote{border-left:4px solid var(--rust);padding:4px 0 4px 20px;font-style:italic;color:#4a3d36}
.a-body ul,.a-body ol{padding-left:1.4em}
.a-body li+li{margin-top:.4em}
.a-body iframe,.a-body video{max-width:100%}
.a-body iframe{aspect-ratio:16/9;width:100%;height:auto;border:0;border-radius:10px}
.a-body table{display:block;overflow-x:auto;border-collapse:collapse}
.a-body td,.a-body th{border:1px solid rgba(22,17,15,.2);padding:8px 12px}
.a-body hr,.a-body .wp-block-separator{border:0;border-top:1px solid rgba(22,17,15,.18);margin:2em 0}
.a-body .wp-block-columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}
.a-source{margin-top:2.4em!important;padding:16px 20px;background:#fff;border-left:4px solid var(--rust);border-radius:0 10px 10px 0;font-size:.9rem;line-height:1.6;color:#4a3d36}
.a-more{background:var(--ink);padding:var(--section-y) 0}
.a-pn{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:clamp(32px,4vw,52px)}
.a-pn a{display:flex;flex-direction:column;gap:4px;padding:18px 22px;border:1px solid rgba(255,255,255,.14);border-radius:var(--r);transition:border-color .2s,transform .2s}
.a-pn a:hover{border-color:var(--orange);transform:translateY(-3px)}
.a-pn small{font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--orange)}
.a-pn span{font-weight:700;line-height:1.3}
.a-pn .next{text-align:right}
.a-more h2{font-size:clamp(1.4rem,2.6vw,2rem);margin-bottom:22px}

@media (max-width:1000px){.b-grid{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.b-grid{grid-template-columns:1fr}.a-pn{grid-template-columns:1fr}.a-pn .next{text-align:left}.a-body{font-size:1.04rem}}

/* gambar bercaption WordPress membawa lebar inline: batasi ke lebar kolom */
.a-body figure,.a-body .wp-caption,.a-body [style*="width"]{max-width:100%!important;height:auto}
.a-body .alignleft,.a-body .alignright,.a-body .aligncenter{float:none;margin-inline:auto}
@media (min-width:720px){
  .a-body .alignleft{float:left;margin:.3em 1.4em .8em 0;max-width:48%!important}
  .a-body .alignright{float:right;margin:.3em 0 .8em 1.4em;max-width:48%!important}
}
.a-body::after{content:"";display:block;clear:both}
.a-source{clear:both}

/* Halaman artikel: judul, gambar sampul, dan teks selebar sama (sisi kiri & kanan sejajar dengan gambar) */
article .a-wrap{max-width:1000px}
.a-head h1{font-size:clamp(1.75rem,3.6vw,2.7rem);line-height:1.16;text-wrap:balance}
.a-body{font-size:1.12rem;line-height:1.9}
@media (min-width:768px){
  .a-body>p,.a-body>ul,.a-body>ol,.a-body>.a-take p{text-align:justify;text-justify:inter-word;hyphens:auto;-webkit-hyphens:auto}
  .a-body>.a-take p{text-align:start}
}

/* keterangan foto sampul */
.a-cover figcaption{margin-top:10px;font-size:.88rem;line-height:1.5;color:#6b5b52;text-align:start}
