/* A contemporary architectural frame inspired by Malay craft. */
body.refresh-2026.kraf-melayu { --kraf-maroon:#5a1020; --kraf-gold:#d6b674; background:#fffefa; }
body.refresh-2026.kraf-melayu :is(.site-header,.seo-header,.top) { border-bottom:1px solid #ddc7a4; }
body.refresh-2026.kraf-melayu.laman-utama .hero {
  background: url('/assets/kraf-medallion.svg') right -110px center / min(58vw,690px) auto no-repeat, linear-gradient(120deg,#410b19 0%,#681225 55%,#7c1d2e 100%);
  padding-block:clamp(34px,4vw,62px);
}
body.refresh-2026.kraf-melayu.laman-utama .hero:before { background:none; }
body.refresh-2026.kraf-melayu.laman-utama .hero-copy { background:transparent; color:#fffaf1; padding:clamp(10px,2vw,28px) 0; border:0; outline:0; box-shadow:none; }
body.refresh-2026.kraf-melayu.laman-utama .hero-copy :is(h1,.hero-line span) { color:#fffaf1; }
body.refresh-2026.kraf-melayu.laman-utama .hero-copy :is(h1 em,.eyebrow,.bismillah) { color:#efd59b; }
body.refresh-2026.kraf-melayu.laman-utama .hero-copy :is(.hero-description,.hero-note) { color:#fff4e8; }
body.refresh-2026.kraf-melayu.laman-utama .hero-portrait {
  border:2px solid #d7b574; border-radius:48% 48% 14px 14px; outline:0; background:#f8f1e6;
  box-shadow:0 20px 50px rgba(30,4,12,.32);
}
body.refresh-2026.kraf-melayu.laman-utama .hero-portrait figcaption { border-radius:10px; }
body.refresh-2026.kraf-melayu.refresh-2026 .page-hero {
  background: url('/assets/kraf-medallion.svg') right -145px center / min(48vw,580px) auto no-repeat, linear-gradient(115deg,#480c1a 0%,#6b1426 65%,#7c2030 100%);
  border:0; border-bottom:3px solid #c49b5d;
  color:#fffaf1;
}
body.refresh-2026.kraf-melayu .page-hero :is(h1,h2) { color:#fffaf1; }
body.refresh-2026.kraf-melayu .page-hero :is(h1 em,h2 em,.eyebrow) { color:#efd59b; }
body.refresh-2026.kraf-melayu .page-hero p.lead { color:#fff4e8; }
body.refresh-2026.kraf-melayu .page-hero .sosial-tajuk { color:#f2d9aa; }
body.refresh-2026.kraf-melayu :is(.editorial-hero-media,.situasi-hero-image,.search-team) {
  border:2px solid #d5b373; border-radius:46% 46% 12px 12px; outline:0;
  box-shadow:0 18px 40px rgba(33,5,13,.28); background:#f8f1e6;
}
body.refresh-2026.kraf-melayu .seo-hero {
  background: url('/assets/kraf-medallion.svg') right -145px center / min(48vw,580px) auto no-repeat, linear-gradient(115deg,#480c1a 0%,#6b1426 65%,#7c2030 100%);
  color:#fffaf1; border:0; border-bottom:3px solid #c49b5d;
  padding-inline:clamp(22px,4vw,52px);
}
body.refresh-2026.kraf-melayu .seo-hero h1 { color:#fffaf1; }
body.refresh-2026.kraf-melayu .seo-hero :is(h1 em,.seo-kicker) { color:#efd59b; }
body.refresh-2026.kraf-melayu .seo-hero :is(.seo-lead,.search-next) { color:#fff4e8; }
body.refresh-2026.kraf-melayu .seo-hero .seo-button.alt { border-color:#e3c88f; color:#fffaf1; }
body.refresh-2026.kraf-melayu .seo-hero .seo-button.alt:hover { background:#fffaf1; color:#5a1020; }
body.refresh-2026.kraf-melayu[data-page="kalkulator-faraid"] .hero {
  background:url('/assets/kraf-medallion.svg') right -120px center / min(45vw,540px) auto no-repeat,linear-gradient(115deg,#480c1a,#7c2030);
  border-bottom:3px solid #c49b5d;
}
body.refresh-2026.kraf-melayu[data-page="kalkulator-faraid"] .hero h1 { color:#fffaf1; }
body.refresh-2026.kraf-melayu[data-page="kalkulator-faraid"] .hero h1 em { color:#efd59b; }
body.refresh-2026.kraf-melayu :is(.card,.alat-card,.seo-card,.m-kad,.calc,.result) { border-top:3px solid #c6a16b; }
body.refresh-2026.kraf-melayu :is(.pantas,.service-workspace) { border:1px solid #d6c2a4; }
body.refresh-2026.kraf-melayu :is(.pantas-out,.calc-out,.m-hasil) { box-shadow:inset 0 0 0 1px #c09a61,0 12px 30px #441c2424; }
body.refresh-2026.kraf-melayu :is(.page-cta,.closing) { border-top:3px solid #c49b5d; }
body.refresh-2026.kraf-melayu .page-cta { background:linear-gradient(115deg,#480c1a,#741a2b); }
body.refresh-2026.kraf-melayu .page-cta h2 { color:#fffaf1; }
body.refresh-2026.kraf-melayu .page-cta h2 em { color:#efd59b; }
body.refresh-2026.kraf-melayu :is(.site-foot,.seo-footer) { border-top:1px solid #dec9ab; }
@media(max-width:760px) {
  body.refresh-2026.kraf-melayu.laman-utama .hero { background-size:390px auto,auto; background-position:right -190px top 100px,center; }
  body.refresh-2026.kraf-melayu.laman-utama .hero-copy { padding:12px 0 0; }
  body.refresh-2026.kraf-melayu.laman-utama .hero-portrait { border-radius:46% 46% 12px 12px; }
  body.refresh-2026.kraf-melayu.refresh-2026 .page-hero, body.refresh-2026.kraf-melayu .seo-hero { background-size:300px auto,auto; background-position:right -200px top 0,center; }
}
/* Homepage sections: a clean field, with colour and ornament on the components. */
body.refresh-2026.kraf-melayu.laman-utama .alat { background:#fffefa; }
body.refresh-2026.kraf-melayu.laman-utama .alat-head h2 { color:#3d1520; }
body.refresh-2026.kraf-melayu.laman-utama .alat-stat > div { border-top:3px solid #bd975b; padding:18px 12px 8px; background:#fbf6ed; border-radius:0 0 12px 12px; }
body.refresh-2026.kraf-melayu.laman-utama .alat-stat strong { color:#7a172a; }
body.refresh-2026.kraf-melayu.laman-utama .alat-card { background:#fffefa; border:1px solid #e6d6c1; border-top:4px solid #ae8551; box-shadow:0 12px 30px rgba(61,21,32,.07); }
body.refresh-2026.kraf-melayu.laman-utama .alat-card svg { color:#9b7038; }
body.refresh-2026.kraf-melayu.laman-utama .jalan-card { background:#fffefa; border:1px solid #dfc7a9; box-shadow:0 10px 26px rgba(61,21,32,.07); }
body.refresh-2026.kraf-melayu.laman-utama .pantas { border:1px solid #dbc4a3; box-shadow:0 20px 45px rgba(61,21,32,.12); }
/* Keep people and objects clear of the architectural frame. */
body.refresh-2026.kraf-melayu.laman-utama .hero {
  background: url('/assets/kraf-daun.svg') right -28px center / auto min(92%,650px) no-repeat, linear-gradient(120deg,#410b19 0%,#681225 55%,#7c1d2e 100%);
}
body.refresh-2026.kraf-melayu.laman-utama .hero-portrait { border-radius:28% 28% 14px 14px; }
body.refresh-2026.kraf-melayu.laman-utama .hero-portrait > img {
  inset:24px 0 0; width:100%; height:calc(100% - 24px); object-fit:contain; object-position:center bottom; transform:none;
}
body.refresh-2026.kraf-melayu :is(.editorial-hero-media,.situasi-hero-image,.search-team) { border-radius:22% 22% 12px 12px; }
body.refresh-2026.kraf-melayu[data-page="kalkulator-faraid"] .hero p.lead,
body.refresh-2026.kraf-melayu[data-page="kalkulator-faraid"] .hero .pledge { color:#fff4e8; }
@media(max-width:760px) {
  body.refresh-2026.kraf-melayu.laman-utama .hero { background-size:auto 470px,auto; background-position:right -55px bottom 15px,center; }
  body.refresh-2026.kraf-melayu.laman-utama .hero-portrait { border-radius:28% 28% 12px 12px; }
  body.refresh-2026.kraf-melayu.laman-utama .hero-portrait > img { inset:24px 0 0; height:calc(100% - 24px); transform:none; }
  body.refresh-2026.kraf-melayu :is(.editorial-hero-media,.situasi-hero-image,.search-team) { border-radius:14% 14% 12px 12px; }
}
/* Repeating eight-point geometry on the red panels requested by the owner. */
body.refresh-2026.kraf-melayu.refresh-2026 :is(.page-hero,.seo-hero,.page-cta,.closing,.contact,.pantas-out,.calc-out,.m-hasil,.situation-invite),
body.refresh-2026.kraf-melayu[data-page="kalkulator-faraid"] .hero {
  background-color:#5a1020;
  background-image:url('/assets/corak-islam.svg');
  background-size:128px 128px;
  background-repeat:repeat;
}
body.refresh-2026.kraf-melayu.laman-utama .hero {
  background-color:#5a1020;
  background-image:url('/assets/kraf-daun.svg'),url('/assets/corak-islam.svg');
  background-size:auto min(92%,650px),128px 128px;
  background-position:right -28px center,left top;
  background-repeat:no-repeat,repeat;
}
body.refresh-2026.kraf-melayu .jalan-pusaka .jalan-art {
  background-image:url('/assets/corak-islam.svg');
  background-size:96px 96px;
}
@media(max-width:760px) {
  body.refresh-2026.kraf-melayu.laman-utama .hero {
    background-size:auto 470px,112px 112px;
    background-position:right -55px bottom 15px,left top;
  }
}
