/* RUANG MAKNA V1.4.33 — Pustaka Khutbah */
.kh-hero{background:linear-gradient(115deg,#123d32,#25684f);color:#fff;border-radius:18px;padding:42px 38px;margin-bottom:25px;position:relative;overflow:hidden}.kh-hero:after{content:'✦';position:absolute;right:6%;top:3%;font-size:150px;color:#d9bd78;opacity:.16}.kh-overline{color:#c9a35d;text-transform:uppercase;font-size:11px;font-weight:800;letter-spacing:.15em}.kh-hero h1{font-family:Georgia,serif;font-size:clamp(30px,4vw,48px);margin:12px 0}.kh-hero p{max-width:620px;line-height:1.75;margin:0;color:#e4eee8}.kh-filter{display:grid;grid-template-columns:minmax(0,2fr) minmax(150px,1fr) auto;gap:12px;align-items:end;background:#fff;border:1px solid #e3e8e2;border-radius:14px;padding:18px;margin-bottom:25px}.kh-filter label,.kh-editor label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:650;color:#174033}.kh-filter input,.kh-filter select,.kh-editor input,.kh-editor select,.kh-editor textarea{width:100%;border:1px solid #d5dfd8;border-radius:9px;padding:11px 13px;background:#fff;color:#213d35;font-size:14px;font-weight:400;outline-offset:2px}.kh-filter button,.kh-actions button,.kh-reader-toolbar button{border:0;border-radius:9px;padding:12px 16px;background:#216d50;color:#fff;font-size:13px;font-weight:700;cursor:pointer}.kh-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.kh-tile{background:#fff;border:1px solid #e0e7df;border-radius:14px;padding:23px;box-shadow:0 8px 24px #153e3008;display:flex;flex-direction:column;gap:12px}.kh-tag{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#ad8a4c}.kh-tile h2{font-family:Georgia,serif;font-size:23px;line-height:1.35;margin:0}.kh-tile h2 a{color:#153d32;text-decoration:none}.kh-tile p{color:#607069;font-size:14px;line-height:1.7;flex:1;margin:0}.kh-tile-bottom{display:flex;justify-content:space-between;align-items:end;gap:8px;border-top:1px solid #e4ebe5;padding-top:12px}.kh-tile-bottom small{color:#6b8175}.kh-tile-bottom a{white-space:nowrap;color:#206347;font-size:12px;font-weight:750}.kh-pagination{display:flex;gap:7px;margin-top:22px}.kh-pagination a{padding:8px 12px;border:1px solid #c5d5ca;border-radius:7px;text-decoration:none;color:#174534}.kh-pagination a.active{background:#174534;color:white}.kh-notice,.kh-empty{padding:20px;border:1px solid #e5d7b5;background:#fff9ea;border-radius:12px;margin:15px 0;color:#53452e}.kh-success{background:#e9f6ec;color:#196345;border-radius:9px;padding:12px 16px;margin-bottom:15px}.kh-reader-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 20px}.kh-reader-toolbar>div{display:flex;gap:8px}.kh-reader-toolbar a{color:#176249;text-decoration:none;font-weight:700}.kh-reader{background:#fff;border:1px solid #e3e9e4;border-radius:15px;padding:clamp(20px,4vw,52px);max-width:900px;margin:0 auto;box-shadow:0 12px 40px #123d3209}.kh-reader h1{font-family:Georgia,serif;font-size:clamp(29px,4vw,43px);line-height:1.28;margin:13px 0;color:#153e32}.kh-byline{font-size:13px;color:#6e8375;margin-bottom:25px}.kh-deck{font-size:16px;color:#536e60;line-height:1.7;border-left:3px solid #d0ae67;padding-left:16px}.kh-reader section{margin-top:35px}.kh-reader section h2{font-family:Georgia,serif;color:#1c6548;font-size:25px;border-bottom:1px solid #e5ece6;padding-bottom:12px;margin-bottom:20px}.kh-prose{font-size:17px;line-height:1.95;color:#263c32}.kh-prose p{margin-bottom:1.1em}.kh-prose .arabic-text{font-size:24px;line-height:2.3;text-align:right;direction:rtl}.kh-large .kh-prose{font-size:21px}.kh-large .kh-prose .arabic-text{font-size:29px}.kh-references{background:#f7faf7;padding:15px 20px;border-radius:12px}.kh-end{text-align:center;font-size:12px;color:#73917b;border-top:1px solid #edf0ed;padding-top:18px;margin-top:30px}.kh-admin-head{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:18px}.kh-admin-head h1{font-size:26px;color:#153f32;margin:10px 0}.kh-admin-head p{color:#66776d}.kh-admin-panel{background:#fff;border:1px solid #e0e8e1;padding:24px;border-radius:15px;margin:22px 0}.kh-admin-panel h2{font-size:19px;margin:0 0 18px;color:#164436}.kh-editor{display:grid;gap:16px}.kh-editor-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:12px}.kh-editor textarea{font-family:inherit;line-height:1.7;resize:vertical}.kh-tip{font-size:12px;color:#6a796f;margin:0}.kh-actions{display:flex;gap:9px;align-items:center}.kh-secondary{display:inline-flex;text-decoration:none;background:#f3f7f3;color:#21664d;border:1px solid #cbdcd0;border-radius:8px;padding:10px 14px;font-size:13px;font-weight:700}.kh-delete{display:inline}.kh-delete button{border:0;background:transparent;color:#b83f45;cursor:pointer;padding:0;font-size:13px}.kh-reader-toolbar button:hover,.kh-filter button:hover,.kh-actions button:hover{background:#124832}@media(max-width:850px){.kh-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kh-filter{grid-template-columns:1fr 1fr}.kh-filter button{grid-column:1/-1}.kh-list{grid-template-columns:1fr}}@media(max-width:575px){.kh-hero{padding:28px 20px}.kh-editor-grid,.kh-filter{grid-template-columns:1fr}.kh-filter button{grid-column:auto}.kh-reader-toolbar>div{flex-wrap:wrap}.kh-admin-head{align-items:flex-start;flex-direction:column}.kh-admin-panel{padding:16px}.kh-reader{padding:20px}.kh-prose{font-size:16px}}@media print{.navbar,.site-footer,.rm-public-sidebar,.kh-reader-toolbar,.rm-global-grid:before,.kh-actions,.kh-delete,.kh-admin-head{display:none!important}body{background:white!important}.container{max-width:100%!important;margin:0!important;padding:0!important}.rm-global-grid{display:block!important}.rm-global-content{width:100%!important}.kh-reader{max-width:none;padding:0;border:0;box-shadow:none}.kh-prose{font-size:13pt;line-height:1.65}.kh-reader section{break-inside:auto}.kh-reader h2{break-after:avoid}.kh-references{background:none!important}.kh-reader h1{font-size:22pt}@page{size:A4;margin:20mm}}
