@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');
:root{--forest:#123d32;--green:#216d53;--gold:#d8b56c;--cream:#f9f8f4;--ink:#1c342c}html{scroll-behavior:smooth}body{background:var(--cream);color:var(--ink);font-family:'DM Sans',system-ui,sans-serif}.navbar{background:var(--forest);box-shadow:0 3px 18px #08281b20;min-height:70px}.navbar-brand{letter-spacing:.055em}.brand-mark{color:var(--gold)}.navbar .nav-link{color:#e4eee9!important;font-size:.94rem}.navbar .nav-link:hover{color:var(--gold)!important}.hero{position:relative;overflow:hidden;background:linear-gradient(118deg,#123e32,#20634c);color:white;padding:5rem 4.2rem;border-radius:1.25rem;min-height:365px}.hero-inner{position:relative;z-index:2;max-width:770px}.hero h1{font-family:'Playfair Display',Georgia,serif;font-size:clamp(2.7rem,5vw,4.9rem);line-height:1.14;letter-spacing:-.03em;margin:1rem 0}.hero h1 em{color:#e6c989;font-weight:600}.hero-lead{font-size:1.2rem}.hero-detail{opacity:.82}.hero-art{position:absolute;right:5%;top:-95px;font-size:480px;color:#ffffff0b;line-height:1}.eyebrow{font-size:.76rem;letter-spacing:.16em;font-weight:800}.eyebrow span{color:var(--gold)}.text-green{color:var(--green)}.btn-gold{background:var(--gold);color:#173c30;border-radius:.55rem;font-weight:700;padding:.8rem 1.25rem}.btn-gold:hover{background:#e9c984}.section-heading{font-family:'Playfair Display',Georgia,serif;font-size:2.3rem;font-weight:700}.card{border:1px solid #e6eae4;border-radius:1rem;box-shadow:0 7px 24px #123c3010}.article-card{transition:transform .2s,box-shadow .2s}.article-card:hover{transform:translateY(-4px);box-shadow:0 16px 35px #123c3020}.card-media{display:block;height:205px;overflow:hidden;background:#e3eee6}.card-media img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.article-card:hover .card-media img{transform:scale(1.045)}.media-placeholder{display:grid;place-items:center;height:100%;font-size:6rem;color:#9ab5a5}.btn-primary{background:var(--green);border-color:var(--green)}.btn-primary:hover{background:#174f3c;border-color:#174f3c}.btn-outline-primary{color:var(--green);border-color:var(--green)}.btn-outline-primary:hover{background:var(--green);border-color:var(--green)}.btn{border-radius:.55rem}.form-control,.form-select{padding:.7rem;border-radius:.55rem}.card-title a{text-decoration:none;color:var(--ink);font-weight:700;line-height:1.4}.card-title a:hover{color:var(--green)}.tag{color:var(--green);font-weight:700;font-size:.82rem}.excerpt{color:#64736b;font-size:.94rem;line-height:1.65;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.card-date{border-top:1px solid #eef0eb;padding-top:1rem;color:#7a857d;font-size:.82rem}.card-date span{padding:0 .4rem}.card-date a{color:var(--green);text-decoration:none;font-weight:700}.empty-state{border:1px dashed #c9d7ce;padding:2rem;border-radius:1rem;background:white}.site-footer{background:var(--forest);color:#b6cfc1}.site-footer a{color:#e6c989;margin-left:1.2rem;text-decoration:none}.site-footer hr{border-color:#ffffff30;margin:1.5rem 0}.reading-layout{max-width:850px;margin:0 auto}.back-link{display:inline-block;color:var(--green);text-decoration:none;margin-bottom:2.5rem;font-weight:600}.article-header{text-align:center;margin-bottom:2.5rem}.article-header h1{font-family:'Playfair Display',Georgia,serif;font-size:clamp(2.3rem,5vw,3.9rem);line-height:1.2;margin:1rem 0}.article-meta{color:#738179}.article-cover{width:100%;max-height:500px;object-fit:cover;border-radius:1rem;margin-bottom:2.5rem}.article-intro{font-size:1.2rem;font-weight:600;line-height:1.75;color:#476254;border-left:3px solid var(--gold);padding-left:1.25rem}.article-content{white-space:pre-wrap;font-size:1.08rem;line-height:2.05;overflow-wrap:anywhere}.share-strip{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;border-top:1px solid #dbe3db;border-bottom:1px solid #dbe3db;margin-top:3rem;padding:1.2rem 0}.share-strip a{color:var(--green);font-weight:700}.admin-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:2rem}.admin-heading h1{font-family:'Playfair Display',Georgia,serif;font-size:2.3rem;font-weight:700}.stat-card,.panel-card{background:white;border:1px solid #e5ebe5;border-radius:1rem;padding:1.6rem;box-shadow:0 7px 25px #123c300c}.stat-card{position:relative}.stat-icon{position:absolute;right:1.5rem;top:1.3rem;background:#edf5ef;color:var(--green);padding:.35rem .7rem;border-radius:.6rem;font-weight:800}.stat-number{font-size:2.5rem;font-weight:800}.panel-card a{color:var(--green);text-decoration:none;font-weight:700}.quick-links{display:grid;gap:.55rem}.quick-links a{padding:.85rem;background:#f6f9f6;border-radius:.6rem;display:flex;justify-content:space-between}.quick-links a:hover{background:#e7f1e9}.status-pill{padding:.3rem .65rem;border-radius:1rem;font-size:.78rem;font-weight:700}.status-published{background:#e4f3e9;color:#17613e}.status-draft{background:#f8eed9;color:#815d1a}@media(max-width:767px){.hero{padding:3rem 1.6rem;min-height:0}.hero-art{font-size:250px;top:10px;right:-40px}.section-heading{font-size:2rem}.site-footer .text-md-end a{margin:0 1rem 0 0}.article-header{text-align:left}.admin-heading h1{font-size:2rem}}
/* V1.1.1 — Admin studio. Scoped to avoid changing public pages. */
.admin-shell{background:#f3f6f4}.rm-admin-layout{display:flex;min-height:100vh}.rm-sidebar{position:sticky;top:0;height:100vh;flex:0 0 246px;background:#123d32;color:#e7f2ec;padding:26px 15px;display:flex;flex-direction:column}.rm-sidebar-brand{font-size:1.1rem;font-weight:800;letter-spacing:.04em;color:white;text-decoration:none;padding:9px 13px 30px}.rm-sidebar-brand small{display:block;font-size:.63rem;color:#b3d0bf;letter-spacing:.2em;margin:8px 0 0 24px}.rm-sidebar-label{font-size:.68rem;letter-spacing:.14em;color:#b1c9bb;padding:12px 14px}.rm-side-link{display:flex;align-items:center;gap:13px;color:#e2efe6;text-decoration:none;border:0;background:transparent;width:100%;text-align:left;padding:13px 15px;border-radius:10px;margin:2px 0;font-size:.94rem}.rm-side-link span{font-size:1.25rem;min-width:23px;text-align:center}.rm-side-link:hover,.rm-side-link.active{color:#fff;background:#286b53}.rm-side-link.active{font-weight:700;border-left:3px solid #dfc07e}.rm-sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff26;padding-top:14px}.rm-logout{cursor:pointer}.rm-admin-content{min-width:0;flex:1}.rm-admin-top{height:76px;background:#fff;border-bottom:1px solid #e3e9e4;padding:0 38px;display:flex;align-items:center;justify-content:space-between}.rm-admin-top span{color:#74877b;font-size:.84rem}.rm-admin-main{padding:36px 38px 60px;max-width:1600px}.admin-shell .admin-heading h1{font-family:'DM Sans',sans-serif;font-size:clamp(1.7rem,3vw,2.2rem);letter-spacing:-.035em}.admin-shell .stat-card,.admin-shell .panel-card{border:1px solid #e0e9e2;box-shadow:0 5px 18px #123c3009;border-radius:15px}.admin-shell .stat-card{min-height:160px}.admin-shell .stat-number{line-height:1.2}.admin-shell .stat-icon{display:grid;place-items:center;width:43px;height:43px;padding:0}.admin-shell .quick-links a{border:1px solid #e7eee8;align-items:center}.admin-shell .table{min-width:560px}.admin-shell .table td,.admin-shell .table th{padding:13px 10px}.admin-shell .panel-card h2{font-weight:800}.admin-shell .btn-primary{font-weight:700}.admin-shell .status-pill{white-space:nowrap}@media(max-width:900px){.rm-sidebar{flex-basis:205px}.rm-admin-main{padding:25px 20px}.rm-admin-top{padding:0 20px}}@media(max-width:650px){.rm-admin-layout{display:block}.rm-sidebar{position:relative;height:auto;width:100%;padding:12px;display:block}.rm-sidebar-brand{display:block;padding:6px 10px}.rm-sidebar-brand small,.rm-sidebar-label,.rm-sidebar-bottom{display:none}.rm-sidebar .rm-side-link{display:inline-flex;width:auto;padding:9px 10px;font-size:.83rem}.rm-sidebar .rm-side-link span{display:none}.rm-admin-top{height:56px}.rm-admin-top span{display:none}.rm-admin-main{padding:24px 14px}.admin-shell .stat-card{min-height:140px}}

/* V1.2 — Studio penulis */
.editor-toolbar{display:flex;flex-wrap:wrap;gap:.5rem;background:#f4f8f5;border:1px solid #dce9df;border-radius:.75rem;padding:.75rem;margin-bottom:.5rem}
.editor-input{font-size:1.03rem;line-height:1.8;min-height:360px}
.article-preview{padding:1.5rem;border:1px solid #dce9df;border-radius:.75rem;background:#fff;line-height:1.8;overflow-wrap:anywhere}
.editor-cover{width:240px;max-width:100%;max-height:180px;object-fit:cover;border-radius:.65rem}
.article-content{white-space:normal}.article-content p,.article-preview p{margin:0 0 1rem;line-height:1.9}
.article-content h2,.article-content h3,.article-preview h2,.article-preview h3{margin:1.5rem 0 .8rem;font-weight:750}
.article-content blockquote,.article-preview blockquote{border-left:4px solid var(--gold);padding:.75rem 1.25rem;background:#f6f8f3;font-style:italic}
.article-content ul,.article-preview ul{padding-left:1.8rem;margin-bottom:1rem}.article-spacer{height:.5rem}

/* V1.2.1 — typography of articles and matching previews */
.article-content h1,.article-preview h1{font-size:1.85rem;line-height:1.35;font-weight:800;margin:2rem 0 1rem}
.article-content h2,.article-preview h2{font-size:1.5rem;line-height:1.4}
.article-content h3,.article-preview h3{font-size:1.22rem;line-height:1.45}
.article-content ol,.article-preview ol{padding-left:1.8rem;margin-bottom:1.25rem}
.article-content li,.article-preview li{margin-bottom:.4rem;line-height:1.85}
.article-content p,.article-preview p{margin-bottom:1.2rem}
.article-content blockquote,.article-preview blockquote{margin:1.4rem 0;border-radius:0 .5rem .5rem 0}
/* V1.3 - editor visual */
.visual-editor{min-height:390px;padding:1.3rem;border:1px solid #d4dfe0;border-radius:.7rem;background:#fff;font-size:1.03rem;line-height:1.85;overflow-wrap:anywhere;outline:none}
.visual-editor:focus{border-color:#85b6d9;box-shadow:0 0 0 .2rem rgba(13,110,253,.13)}
.visual-editor p,.visual-editor div{margin:0 0 1rem}.visual-editor h1{font-size:1.85rem;font-weight:800}.visual-editor h2{font-size:1.5rem;font-weight:750}.visual-editor h3{font-size:1.22rem;font-weight:700}.visual-editor blockquote{border-left:4px solid #d9b76c;padding:.7rem 1rem;background:#f5f7f2}.visual-editor ul,.visual-editor ol{padding-left:2rem}.editor-toolbar{flex-wrap:wrap;gap:.4rem}

/* V1.3.1 — gambar utuh dan tipografi artikel */
.card-media{height:auto;aspect-ratio:16/10;display:flex;align-items:center;justify-content:center;background:#edf3ef;padding:0;overflow:hidden}
.card-media img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;transition:none}
.article-card:hover .card-media img{transform:none}
.article-cover{display:block;width:100%;height:auto;max-height:none;object-fit:contain;object-position:center;border-radius:1rem;margin:0 auto 2.5rem}
.editor-cover{width:240px;max-width:100%;height:auto;max-height:none;object-fit:contain}
.article-content,.article-preview{white-space:normal;overflow-wrap:break-word}
.article-content h1,.article-content h2,.article-content h3,.article-preview h1,.article-preview h2,.article-preview h3{color:#193e32;letter-spacing:-.015em}
.article-content p,.article-preview p{margin:0 0 1.15rem;line-height:1.85}
.article-content strong,.article-preview strong{font-weight:750}
@media(max-width:575px){.card-media{aspect-ratio:16/11}.article-cover{border-radius:.65rem}.article-content{font-size:1rem;line-height:1.8}}

/* V1.3.2: show entire poster without cropping */
.card-media{height:auto;min-height:205px;display:flex;align-items:center;justify-content:center;background:#f0f5f1}
.card-media img{display:block;width:100%;height:auto;max-height:350px;object-fit:contain;transition:none}
.article-card:hover .card-media img{transform:none}
.article-cover{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.article-content{white-space:normal}
.article-content p{margin:0 0 1.2em}
.article-content h1,.article-content h2,.article-content h3{margin:1.4em 0 .65em;line-height:1.35}

/* V1.3.4: preserve original image aspect ratios on every screen. */
.card-media{height:auto!important;min-height:0!important;aspect-ratio:auto!important;display:flex;align-items:center;justify-content:center;background:#edf4ef}
.card-media img{width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;transform:none!important}
.article-cover{width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}
.editor-cover{height:auto!important;max-height:none!important;object-fit:contain!important}

/* V1.3.6 — rich article reading and inline illustrations */
.article-figure{margin:1.7rem auto 2rem;text-align:center;max-width:100%}
.article-figure img{display:block;max-width:100%;width:auto;height:auto;max-height:none;object-fit:contain;border-radius:.75rem;margin:0 auto}
.visual-editor .article-figure{border:1px dashed #b6cfc0;padding:.75rem;border-radius:.65rem;background:#f7faf8}
.article-content{font-size:1.075rem;line-height:1.9}
.article-content h2{font-size:1.55rem;margin-top:2.3rem}
.article-content h3{font-size:1.27rem;margin-top:1.7rem}
.article-content ol,.article-content ul{padding-left:2rem}
.article-content li{padding-left:.25rem;margin-bottom:.55rem}
.article-preview .article-figure img{max-width:100%;height:auto}
@media(max-width:600px){.article-content{font-size:1rem}.article-content h2{font-size:1.35rem}}

/* V1.3.7 — editorial heading hierarchy and uncropped cover */
.article-cover{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.article-content h2,.article-preview h2,.visual-editor h2{font-size:clamp(1.35rem,2.3vw,1.65rem);font-weight:800;color:#173e32;line-height:1.4;margin:2.1rem 0 .85rem}
.article-content h3,.article-preview h3,.visual-editor h3{font-size:clamp(1.15rem,1.9vw,1.32rem);font-weight:750;color:#285d49;line-height:1.45;margin:1.6rem 0 .7rem}
.article-content p,.article-preview p,.visual-editor p{line-height:1.9}
.article-preview{font-size:1.075rem}

/* RUANG MAKNA V1.3.8: penyuntingan paragraf dan naskah */
.article-align-left{text-align:left}.article-align-center{text-align:center}.article-align-right{text-align:right}.article-align-justify{text-align:justify}
.article-space-relaxed{line-height:2.2!important}.article-space-wide{line-height:2.5!important}
.article-content .arabic-text,.article-preview .arabic-text,.visual-editor .arabic-text{direction:rtl;text-align:right;font-family:"Traditional Arabic","Noto Naskh Arabic",serif;font-size:1.65em;line-height:2.2}
.visual-editor [data-spacing="relaxed"]{line-height:2.2}.visual-editor [data-spacing="wide"]{line-height:2.5}
.editor-toolbar select{min-height:32px}

/* V1.3.9 — kelompok toolbar dan editor nyaman dibaca */
.editor-toolbar{display:flex;flex-wrap:wrap;align-items:stretch;gap:.65rem;padding:.85rem;background:#f3f8f5;border:1px solid #d4e5da}
.editor-group{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem;padding:.35rem .6rem .5rem;background:#fff;border:1px solid #e1e9e4;border-radius:.65rem;min-width:0}
.editor-group-label{flex-basis:100%;display:block;font-size:.71rem;font-weight:800;letter-spacing:.045em;text-transform:uppercase;color:#41675a;margin-bottom:.1rem}
.editor-group .btn{min-height:36px;padding:.35rem .55rem;white-space:nowrap}
.editor-group select{width:auto;max-width:160px;min-height:36px}
.visual-editor{line-height:1.9;min-height:430px}
.visual-editor:empty:before{content:'Mulai menulis artikel di sini…';color:#81938a}
.visual-editor .article-align-left,.article-preview .article-align-left,.article-content .article-align-left{text-align:left}
.visual-editor .article-align-center,.article-preview .article-align-center,.article-content .article-align-center{text-align:center}
.visual-editor .article-align-right,.article-preview .article-align-right,.article-content .article-align-right{text-align:right}
.visual-editor .article-align-justify,.article-preview .article-align-justify,.article-content .article-align-justify{text-align:justify}
.visual-editor .article-space-relaxed,.article-preview .article-space-relaxed,.article-content .article-space-relaxed{line-height:2.2}
.visual-editor .article-space-wide,.article-preview .article-space-wide,.article-content .article-space-wide{line-height:2.5}
@media(max-width:650px){.editor-group{width:100%}.editor-toolbar{gap:.4rem}}

/* V1.4.0 */
.editor-group{flex:1 1 290px}.editor-group select{max-width:170px}.rm-writing-status{font-size:.85rem;color:#446a59;display:flex;align-items:center;flex-wrap:wrap;gap:.25rem}.visual-editor{background:#fff}.visual-editor:focus{outline:2px solid #c4ddcf;outline-offset:1px}
