/* OKU: The four caliphs. All selectors scoped; original site header/footer untouched. */
#screen-home .hc-home,
.hc-screen .hc-detail { --hc-font:'JetBrains Mono Local','JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace; color:#1d1d1d; box-sizing:border-box; font-family:var(--hc-font); }
#screen-home .hc-home *, .hc-screen .hc-detail * { box-sizing:border-box; }
#screen-home .hc-home { width:min(100%,1840px); max-width:none; margin:clamp(44px,5vw,90px) auto 46px; padding:0; }
#screen-home .hc-head { display:grid;grid-template-columns:minmax(0,1.32fr) minmax(0,1fr);gap:36px;align-items:start;padding:0 7px;margin:0 0 45px; }
#screen-home .hc-eyebrow {display:block;font-size:clamp(20px,1.55vw,29px);font-weight:400;line-height:1.3;letter-spacing:.01em;}
#screen-home .hc-head h2 {font-size:clamp(27px,2.4vw,47px)!important;font-weight:750;line-height:1.16;letter-spacing:-.04em;color:#1d1d1d;margin:4px 0 0;max-width:100%;}
#screen-home .hc-head p {font-size:clamp(11px,.76vw,15px);font-weight:450;line-height:1.25;max-width:590px;min-width:0;text-align:right;margin:3px 0 0 auto;}
#screen-home .hc-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;align-items:stretch;width:100%;}
#screen-home .hc-card {all:unset;box-sizing:border-box!important;display:block!important;position:relative!important;isolation:isolate;overflow:hidden!important;border:0!important;background:var(--hc-bg)!important;color:#1c1c1c!important;box-shadow:none!important;border-radius:clamp(25px,2.55vw,51px)!important;width:100%!important;height:auto!important;aspect-ratio: .76!important;min-height:0!important;min-width:0!important;padding:clamp(13px,1.05vw,22px) clamp(12px,1.05vw,23px)!important;cursor:pointer!important;text-align:left!important;transition:transform .2s ease,box-shadow .2s ease;}
#screen-home .hc-card:is(:hover,:focus-visible){transform:translateY(-5px);box-shadow:0 16px 34px rgba(35,60,43,.18)!important;outline-offset:3px;}
#screen-home .hc-card-top{position:absolute!important;z-index:3;top:clamp(17px,1.2vw,24px)!important;left:clamp(12px,1.05vw,23px)!important;right:clamp(10px,1vw,18px)!important;display:grid;grid-template-columns:26px minmax(0,1fr);gap:12px;align-items:start;max-width:none!important;}
#screen-home .hc-card-label{display:block;min-width:0;}
#screen-home .hc-num {font-size:clamp(13px,.9vw,19px);font-weight:450;line-height:1.6;white-space:nowrap;}
#screen-home .hc-card-name {display:block;font-size:clamp(22px,2.05vw,43px);letter-spacing:-.065em;font-weight:800;line-height:1.16;overflow-wrap:normal;white-space:nowrap;}
#screen-home .hc-card-sub {display:block;font-size:clamp(12px,1.08vw,22px);font-weight:400;letter-spacing:-.03em;line-height:1.25;margin:9px 0 0;white-space:normal;}
#screen-home .hc-flower {position:absolute!important;display:block!important;z-index:1;pointer-events:none;bottom:-36%!important;left:-19%!important;width:111%!important;height:111%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:left bottom!important;transform:none!important;filter:none!important;}
#screen-home .hc-card:nth-child(2) .hc-flower{width:121%!important;left:-17%!important;bottom:-35%!important;}
#screen-home .hc-card:nth-child(3) .hc-flower{width:122%!important;left:-21%!important;bottom:-35%!important;}
#screen-home .hc-card:nth-child(4) .hc-flower{width:124%!important;left:-20%!important;bottom:-31%!important;}
#screen-home .hc-calligraphy {position:absolute!important;display:block!important;z-index:2;pointer-events:none;right:3%!important;top:22%!important;width:51%!important;height:40%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:center!important;filter:none!important;}
#screen-home .hc-card:nth-child(2) .hc-calligraphy{width:57%!important;top:23%!important;right:1%!important;}
#screen-home .hc-card:nth-child(4) .hc-calligraphy{width:54%!important;top:22%!important;}
#screen-home .hc-down{position:absolute;z-index:3;bottom:clamp(13px,1.4vw,30px);left:clamp(15px,1.4vw,30px);font-size:35px;line-height:1;}
/* A real OKU screen: native page header and nav, exact native page footer. */
.hc-screen{--hc-paper:var(--paper,#f1ecde);color:#1c1c1c;background:var(--hc-paper);min-height:100vh;display:flex;flex-direction:column;}
.hc-screen .hc-detail {width:min(100%,var(--content-max,1680px));max-width:var(--content-max,1680px);margin:0 auto;padding:16px 36px 70px;flex:1;}
.hc-screen .hc-hero,.hc-screen .hc-motto,.hc-screen .hc-profile,.hc-screen .hc-story {border-radius:27px;overflow:hidden;width:100%;}
.hc-screen .hc-hero {position:relative;display:flex;align-items:center;min-height:240px;padding:28px 3.2%;background:#9abfa2;margin-bottom:12px;}
.hc-screen .hc-hero-copy {position:relative;z-index:2;max-width:49%;min-width:0;}
.hc-screen .hc-kicker{font-size:clamp(15px,1.3vw,22px);font-weight:650;line-height:1.2;margin:0 0 7px;}
.hc-screen .hc-hero h1 {font-size:clamp(40px,4.6vw,80px);font-weight:850;line-height:1.05;letter-spacing:-.07em;margin:0 0 13px;}
.hc-screen .hc-hero-copy p{font-size:clamp(11px,.94vw,16px);line-height:1.4;max-width:580px;margin:0;}
.hc-screen .hc-hero-flower {position:absolute;pointer-events:none;right:-3%;top:-21%;width:58%;height:155%;max-width:none;object-fit:contain;object-position:right center;}
.hc-screen .hc-motto {min-height:215px;margin-bottom:12px;padding:23px 3.2%;background:#e9d5a9;display:flex;align-items:center;justify-content:space-between;gap:22px;}
.hc-screen .hc-motto-title{min-width:0;flex:1;}
.hc-screen .hc-motto-label {font-size:clamp(29px,3vw,49px);font-weight:700;line-height:1.2;letter-spacing:-.04em;}
.hc-screen .hc-motto h2{font-size:clamp(37px,4.1vw,70px);font-weight:800;line-height:1.08;letter-spacing:-.045em;margin:3px 0 0;white-space:normal;}
.hc-screen .hc-motto-arabic{flex-shrink:0;max-width:44%;font-family:'Adobe Arabic','Amiri','Times New Roman',serif;font-size:clamp(54px,7vw,117px);font-weight:400;line-height:1.05;direction:rtl;white-space:nowrap;}
.hc-screen .hc-profile{display:grid;grid-template-columns:minmax(0,40%) minmax(0,60%);align-items:center;min-height:380px;padding:28px 4%;margin-bottom:12px;background:var(--hc-profile-bg,#9dbf9f);position:relative;gap:0;}
.hc-screen .hc-calligraphy-wrap{min-width:0;min-height:250px;display:flex;align-items:center;justify-content:flex-start;}
.hc-screen .hc-calligraphy-wrap img{display:block;width:min(87%,415px);height:auto;max-height:360px;object-fit:contain;}
.hc-screen .hc-profile-copy{z-index:1;position:relative;min-width:0;padding:0 6px;}
.hc-screen .hc-profile h3{font-size:clamp(21px,2.65vw,43px);font-weight:750;line-height:1.17;letter-spacing:-.035em;margin:0 0 24px;overflow-wrap:break-word;}
.hc-screen .hc-facts{display:grid;gap:10px;font-size:clamp(12px,1.11vw,18px);line-height:1.35;margin:0;}
.hc-screen .hc-facts div{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px;}
.hc-screen .hc-facts dt{font-weight:800;white-space:nowrap;}
.hc-screen .hc-facts dd{margin:0;min-width:0;overflow-wrap:break-word;}
.hc-screen .hc-sword{position:absolute;right:2%;bottom:3%;width:17%;height:auto;max-height:25%;object-fit:contain;pointer-events:none;}
.hc-screen .hc-story {background:#9fbe9f;padding:clamp(25px,3.5vw,61px);font-size:clamp(13px,1.04vw,17.5px);font-weight:450;line-height:1.5;letter-spacing:-.015em;overflow-wrap:break-word;}
.hc-screen .hc-story p{margin:0 0 20px;}
.hc-screen .hc-story .hc-story-lead{font-weight:750;font-size:clamp(17px,1.4vw,25px);line-height:1.35;margin-bottom:24px;}
.hc-screen .hc-story p:last-child{margin-bottom:0;font-weight:750;font-size:clamp(16px,1.27vw,22px);}
/* Screenshot hierarchy: opening text and key closing passages are deliberately bold. */
.hc-screen .hc-story--ebubekir p:nth-last-child(-n+3),
.hc-screen .hc-story--omer p:nth-last-child(-n+2),
.hc-screen .hc-story--osman p:nth-last-child(-n+3) {font-weight:740;font-size:clamp(16px,1.23vw,21px);line-height:1.42;}
.hc-screen .hc-prophet{font-weight:850!important;}
.hc-screen .hc-action-row{display:flex;justify-content:space-between;flex-wrap:wrap;gap:15px;margin:20px 0 0;}
.hc-screen .hc-back{border:1px solid #b8a77f;border-radius:12px;background:#e8d4a9;color:#191919;cursor:pointer;padding:15px 20px;font:700 13px/1.3 var(--hc-font);}
.hc-screen .hc-back:hover{background:#deb969;}
/* Native footer (including original legal actions) is the same size and style as other pages. */
.hc-screen > .screen-footer{margin-top:auto;}
@media (max-width:1250px){
 #screen-home .hc-grid{gap:13px;}#screen-home .hc-card-top{grid-template-columns:18px minmax(0,1fr);gap:7px;}#screen-home .hc-card{padding:14px!important;}
 #screen-home .hc-card-name{font-size:clamp(21px,2.1vw,31px);}#screen-home .hc-card-sub{font-size:clamp(11px,1.2vw,16px);}
}
@media (max-width:950px){
 #screen-home .hc-head{grid-template-columns:1fr;gap:12px;margin-bottom:28px;}#screen-home .hc-head p{text-align:left;margin:0;max-width:600px;}
 #screen-home .hc-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}#screen-home .hc-card{aspect-ratio:.8!important;}
 #screen-home .hc-card-name{font-size:clamp(25px,4vw,42px);}#screen-home .hc-card-sub{font-size:clamp(12px,2vw,21px);}
 .hc-screen .hc-detail{padding:14px 16px 65px;}
 .hc-screen .hc-hero{min-height:210px}.hc-screen .hc-motto{min-height:175px;}.hc-screen .hc-profile{min-height:300px;}
}
@media (max-width:620px){
 #screen-home .hc-home{padding:0;margin:35px auto;}#screen-home .hc-grid{gap:9px;}#screen-home .hc-card{padding:10px!important;aspect-ratio:.69!important;border-radius:24px!important;}
 #screen-home .hc-card-top{top:12px!important;left:10px!important;right:5px!important;grid-template-columns:15px minmax(0,1fr);gap:4px;}#screen-home .hc-num{font-size:10px;}#screen-home .hc-card-name{font-size:clamp(15px,4.5vw,25px);white-space:normal;line-height:1.13;}#screen-home .hc-card-sub{font-size:10px;margin-top:5px;}
 #screen-home .hc-calligraphy{top:30%!important;width:64%!important;}#screen-home .hc-flower{bottom:-24%!important;width:110%!important;}#screen-home .hc-down{left:12px;bottom:11px;font-size:27px;}
 .hc-screen .hc-detail{padding:10px 10px 55px;}.hc-screen .hc-hero,.hc-screen .hc-motto,.hc-screen .hc-profile,.hc-screen .hc-story{border-radius:20px;}
 .hc-screen .hc-hero{min-height:174px;padding:17px 4%;}.hc-screen .hc-hero-copy{max-width:59%;}.hc-screen .hc-hero h1{font-size:clamp(33px,8vw,43px);margin-bottom:7px;}.hc-screen .hc-kicker{font-size:12px;}.hc-screen .hc-hero-copy p{font-size:9px;line-height:1.35;}.hc-screen .hc-hero-flower{width:65%;right:-15%;}
 .hc-screen .hc-motto{min-height:142px;padding:18px 4%;gap:6px;}.hc-screen .hc-motto-label{font-size:clamp(20px,5vw,28px);}.hc-screen .hc-motto h2{font-size:clamp(24px,5.8vw,34px);}.hc-screen .hc-motto-arabic{font-size:clamp(38px,10vw,58px);white-space:normal;max-width:40%;}
 .hc-screen .hc-profile{grid-template-columns:36% 64%;min-height:245px;padding:15px 4%;gap:0;}.hc-screen .hc-calligraphy-wrap{min-height:140px;}.hc-screen .hc-calligraphy-wrap img{width:98%;max-height:215px;}.hc-screen .hc-profile h3{font-size:clamp(15px,4vw,22px);margin-bottom:13px;}.hc-screen .hc-facts{font-size:clamp(9px,2.15vw,12px);gap:6px;}.hc-screen .hc-facts div{grid-template-columns:1fr;gap:0;}
 .hc-screen .hc-story{font-size:12px;line-height:1.5;padding:18px 15px;}.hc-screen .hc-story .hc-story-lead{font-size:15px;}.hc-screen .hc-story p:last-child{font-size:14px;}
}
@media (max-width:365px){ #screen-home .hc-grid{grid-template-columns:1fr;}#screen-home .hc-card{aspect-ratio:1.1!important;}#screen-home .hc-card-name{font-size:26px;} }


/* ===== v31 · homepage caliph cards ===== */
#screen-home .hc-home{margin:22px 0 0;}
#screen-home .hc-head{display:flex;justify-content:space-between;gap:18px;align-items:end;margin:0 4px 14px;}
#screen-home .hc-head h2{margin:6px 0 0;font:740 clamp(28px,2.8vw,42px)/.95 var(--mono);letter-spacing:-.045em;color:#1f2217;}
#screen-home .hc-head p{max-width:620px;margin:0;color:#4a4a40;font:560 13px/1.35 var(--mono);}
#screen-home .hc-eyebrow{display:block;color:#585b47;font:700 11px/1 var(--mono);letter-spacing:.12em;text-transform:uppercase;}
#screen-home .hc-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;}
#screen-home .hc-card{position:relative;display:flex;flex-direction:column;min-height:340px;padding:18px 18px 14px;border:0;border-radius:24px;background:var(--hc-bg,#b7c8b1);color:#262720;text-align:left;cursor:pointer;overflow:hidden;}
#screen-home .hc-card-top{display:block;min-height:72px;}
#screen-home .hc-num{display:block;margin-bottom:8px;color:#454736;font:700 11px/1 var(--mono);letter-spacing:.12em;}
#screen-home .hc-card-name{display:block;font:760 18px/1.05 var(--mono);}
#screen-home .hc-card-sub{display:block;margin-top:6px;color:#44523c;font:560 13px/1.2 var(--mono);}
#screen-home .hc-calligraphy{display:block;width:78%;max-width:210px;margin:auto auto 18px;object-fit:contain;}
#screen-home .hc-flower{position:absolute;left:10px;bottom:10px;width:94px;max-width:34%;object-fit:contain;opacity:.97;}
#screen-home .hc-down{display:block;margin-top:auto;color:#55614b;font:700 18px/1 var(--mono);}
#screen-home .hc-card:hover .hc-calligraphy,#screen-home .hc-card:focus-visible .hc-calligraphy{transform:translateY(-2px);}
@media(max-width:1100px){#screen-home .hc-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:700px){#screen-home .hc-head{flex-direction:column;align-items:flex-start;}#screen-home .hc-grid{grid-template-columns:1fr 1fr;gap:12px;}#screen-home .hc-card{min-height:250px;padding:14px 14px 12px;border-radius:20px;}#screen-home .hc-card-name{font-size:15px;}#screen-home .hc-card-sub{font-size:11px;}#screen-home .hc-flower{width:70px;left:7px;bottom:7px;}}


/* v31.1: hard override legacy absolute art offsets, compact floral bottom left */
#screen-home .hc-card{aspect-ratio:auto!important;min-height:clamp(250px,25vw,385px)!important;padding:18px!important;overflow:hidden!important;}
#screen-home .hc-card .hc-card-top{position:relative!important;left:auto!important;top:auto!important;right:auto!important;display:block!important;z-index:2!important;min-height:82px!important;}
#screen-home .hc-card .hc-num{position:absolute!important;left:0!important;top:0!important;display:block!important;margin:0!important;font-size:clamp(10px,.75vw,13px)!important;}
#screen-home .hc-card .hc-card-label{display:block!important;padding:0 0 0 28px!important;}
#screen-home .hc-card .hc-card-name{font-size:clamp(20px,1.65vw,34px)!important;letter-spacing:-.055em!important;line-height:1.03!important;}
#screen-home .hc-card .hc-card-sub{font-size:clamp(9px,1vw,15px)!important;line-height:1.18!important;}
#screen-home .hc-card .hc-calligraphy,#screen-home .hc-card:nth-child(2) .hc-calligraphy,#screen-home .hc-card:nth-child(4) .hc-calligraphy{position:absolute!important;inset:auto 8% 20% auto!important;width:clamp(80px,13vw,225px)!important;max-width:65%!important;height:52%!important;max-height:52%!important;margin:0!important;object-fit:contain!important;transform:none!important;}
#screen-home .hc-card .hc-flower{position:absolute!important;inset:auto auto 0 0!important;width:clamp(64px,7.2vw,124px)!important;max-width:35%!important;height:auto!important;max-height:43%!important;object-fit:contain!important;object-position:left bottom!important;margin:0!important;transform:none!important;}
#screen-home .hc-card .hc-down{position:absolute!important;inset:auto auto 9px 12px!important;z-index:5!important;margin:0!important;font-size:22px!important;}
@media(max-width:700px){#screen-home .hc-card{min-height:240px!important;aspect-ratio:auto!important;padding:10px!important;}#screen-home .hc-card .hc-card-top{min-height:70px!important;}#screen-home .hc-card .hc-card-label{padding-left:18px!important;}#screen-home .hc-card .hc-card-name{font-size:clamp(14px,4vw,22px)!important;}#screen-home .hc-card .hc-card-sub{font-size:9px!important;}#screen-home .hc-card .hc-calligraphy{width:60%!important;max-width:66%!important;height:48%!important;inset:auto 4% 22% auto!important;}#screen-home .hc-card .hc-flower{width:60px!important;max-width:34%!important;max-height:38%!important;bottom:0!important;left:0!important;}}

/* v31.3 final alignment: unconditionally pin copy to top, isolate calligraphy below */
#screen-home .hc-card .hc-card-top{position:absolute!important;left:14px!important;top:18px!important;right:14px!important;bottom:auto!important;width:auto!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;display:block!important;z-index:5!important;transform:none!important;}
#screen-home .hc-card .hc-num{position:relative!important;left:auto!important;top:auto!important;display:inline-block!important;vertical-align:top!important;font-size:11px!important;margin:0 7px 0 0!important;}
#screen-home .hc-card .hc-card-label{display:inline-block!important;vertical-align:top!important;max-width:calc(100% - 29px)!important;padding:0!important;}
#screen-home .hc-card .hc-card-name{font-size:clamp(20px,1.8vw,30px)!important;line-height:1.12!important;white-space:normal!important;}
/* Hindi names must wrap inside four equal cards, never clip at the edge. */
html[lang='hi'] #screen-home .hc-card .hc-card-label,
html[data-oku-lang='hi'] #screen-home .hc-card .hc-card-label{display:block!important;max-width:100%!important;padding-top:19px!important}
html[lang='hi'] #screen-home .hc-card .hc-card-name,
html[data-oku-lang='hi'] #screen-home .hc-card .hc-card-name{font-family:system-ui,'Noto Sans Devanagari',sans-serif!important;font-size:clamp(18px,1.65vw,31px)!important;line-height:1.28!important;letter-spacing:0!important;white-space:normal!important;overflow-wrap:anywhere!important}
#screen-home .hc-card .hc-calligraphy{position:absolute!important;top:29%!important;right:6%!important;bottom:auto!important;left:auto!important;width:63%!important;height:48%!important;max-width:65%!important;max-height:48%!important;}
#screen-home .hc-card:nth-child(2) .hc-calligraphy,#screen-home .hc-card:nth-child(4) .hc-calligraphy{position:absolute!important;top:29%!important;right:6%!important;bottom:auto!important;left:auto!important;width:63%!important;height:48%!important;max-width:65%!important;max-height:48%!important;}
#screen-home .hc-card .hc-flower,#screen-home .hc-card:nth-child(2) .hc-flower,#screen-home .hc-card:nth-child(3) .hc-flower,#screen-home .hc-card:nth-child(4) .hc-flower{position:absolute!important;left:0!important;bottom:0!important;top:auto!important;right:auto!important;max-width:34%!important;width:clamp(62px,7.5vw,116px)!important;height:auto!important;max-height:37%!important;}
@media(max-width:700px){#screen-home .hc-card .hc-card-top{top:12px!important;left:9px!important;right:8px!important;}#screen-home .hc-card .hc-num{font-size:9px!important;margin-right:3px!important;}#screen-home .hc-card .hc-card-name{font-size:clamp(13px,4vw,20px)!important;}#screen-home .hc-card .hc-card-sub{font-size:9px!important;}#screen-home .hc-card .hc-calligraphy{top:34%!important;right:5%!important;height:45%!important;width:61%!important;}#screen-home .hc-card .hc-flower{width:60px!important;max-height:38%!important;}}

/* v31.7 ref-caliphs */
#screen-home .hc-home{margin:28px 0 0!important;padding:0!important;}
#screen-home .hc-head{display:grid!important;grid-template-columns:minmax(0,1.18fr) minmax(0,.92fr)!important;gap:24px!important;align-items:start!important;margin:0 12px 20px!important;padding:0!important;}
#screen-home .hc-eyebrow{display:block!important;font:500 clamp(24px,2.1vw,33px)/1.18 var(--hc-font)!important;letter-spacing:0!important;color:#202020!important;text-transform:none!important;}
#screen-home .hc-head h2{margin:10px 0 0!important;font:800 clamp(34px,4vw,64px)/1.03 var(--hc-font)!important;letter-spacing:-.055em!important;color:#191919!important;max-width:11ch!important;}
#screen-home .hc-head p{margin:6px 0 0 auto!important;max-width:670px!important;font:500 clamp(12px,.92vw,18px)/1.23 var(--hc-font)!important;text-align:right!important;color:#2f2f2a!important;}
#screen-home .hc-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:21px!important;}
#screen-home .hc-card{position:relative!important;display:block!important;padding:0!important;min-height:586px!important;aspect-ratio:auto!important;border-radius:44px!important;background:var(--hc-bg)!important;overflow:hidden!important;box-shadow:none!important;}
#screen-home .hc-card-top{position:absolute!important;left:24px!important;right:22px!important;top:24px!important;display:grid!important;grid-template-columns:26px minmax(0,1fr)!important;gap:10px!important;align-items:start!important;z-index:5!important;}
#screen-home .hc-num{font:500 clamp(15px,1vw,21px)/1.1 var(--hc-font)!important;color:#1d1d1d!important;margin:4px 0 0!important;}
#screen-home .hc-card-label{display:block!important;max-width:100%!important;}
#screen-home .hc-card-name{display:block!important;margin:0!important;font:800 clamp(31px,2.55vw,55px)/1.05 var(--hc-font)!important;letter-spacing:-.07em!important;color:#191919!important;white-space:nowrap!important;}
#screen-home .hc-card-sub{display:block!important;margin:14px 0 0!important;font:500 clamp(14px,1.2vw,26px)/1.18 var(--hc-font)!important;letter-spacing:-.03em!important;color:#1f1f1f!important;}
#screen-home .hc-calligraphy,#screen-home .hc-card:nth-child(2) .hc-calligraphy,#screen-home .hc-card:nth-child(4) .hc-calligraphy{position:absolute!important;top:148px!important;right:24px!important;left:auto!important;bottom:auto!important;width:52%!important;height:38%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:center!important;z-index:2!important;}
#screen-home .hc-card:nth-child(2) .hc-calligraphy{width:56%!important;top:154px!important;right:16px!important;}
#screen-home .hc-card:nth-child(3) .hc-calligraphy{width:54%!important;top:150px!important;right:16px!important;}
#screen-home .hc-card:nth-child(4) .hc-calligraphy{width:54%!important;top:147px!important;right:18px!important;}
#screen-home .hc-flower,#screen-home .hc-card:nth-child(2) .hc-flower,#screen-home .hc-card:nth-child(3) .hc-flower,#screen-home .hc-card:nth-child(4) .hc-flower{position:absolute!important;left:0!important;bottom:0!important;top:auto!important;right:auto!important;height:auto!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:left bottom!important;z-index:1!important;}
#screen-home .hc-card:nth-child(1) .hc-flower{width:59%!important;}
#screen-home .hc-card:nth-child(2) .hc-flower{width:48%!important;}
#screen-home .hc-card:nth-child(3) .hc-flower{width:50%!important;}
#screen-home .hc-card:nth-child(4) .hc-flower{width:52%!important;}
#screen-home .hc-down{position:absolute!important;left:22px!important;bottom:22px!important;font-size:42px!important;line-height:1!important;color:#31372f!important;z-index:3!important;}
@media(max-width:1180px){
 #screen-home .hc-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
 #screen-home .hc-card{min-height:520px!important;}
}
@media(max-width:760px){
 #screen-home .hc-head{grid-template-columns:1fr!important;gap:12px!important;margin:0 4px 18px!important;}
 #screen-home .hc-head p{text-align:left!important;margin:0!important;max-width:none!important;}
 #screen-home .hc-grid{gap:12px!important;}
 #screen-home .hc-card{min-height:340px!important;border-radius:28px!important;}
 #screen-home .hc-card-top{left:14px!important;right:12px!important;top:14px!important;grid-template-columns:18px minmax(0,1fr)!important;gap:6px!important;}
 #screen-home .hc-num{font-size:12px!important;margin-top:2px!important;}
 #screen-home .hc-card-name{font-size:clamp(19px,5vw,32px)!important;white-space:normal!important;}
 #screen-home .hc-card-sub{font-size:clamp(10px,2.4vw,14px)!important;margin-top:8px!important;}
 #screen-home .hc-calligraphy,#screen-home .hc-card:nth-child(2) .hc-calligraphy,#screen-home .hc-card:nth-child(3) .hc-calligraphy,#screen-home .hc-card:nth-child(4) .hc-calligraphy{top:108px!important;right:10px!important;width:59%!important;height:42%!important;}
 #screen-home .hc-card:nth-child(1) .hc-flower{width:60%!important;}#screen-home .hc-card:nth-child(2) .hc-flower{width:51%!important;}#screen-home .hc-card:nth-child(3) .hc-flower{width:54%!important;}#screen-home .hc-card:nth-child(4) .hc-flower{width:56%!important;}
 #screen-home .hc-down{left:14px!important;bottom:12px!important;font-size:28px!important;}
}

/* Hindi: do not crop long Devanagari titles in the four caliph cards. */
html[lang='hi'] #screen-home .hc-card .hc-card-top,
html[data-oku-lang='hi'] #screen-home .hc-card .hc-card-top{top:13px!important;left:13px!important;right:13px!important}
html[lang='hi'] #screen-home .hc-card .hc-card-label,
html[data-oku-lang='hi'] #screen-home .hc-card .hc-card-label{display:block!important;max-width:100%!important;padding-top:21px!important}
html[lang='hi'] #screen-home .hc-card .hc-card-name,
html[data-oku-lang='hi'] #screen-home .hc-card .hc-card-name{display:block!important;font-family:system-ui,'Noto Sans Devanagari',sans-serif!important;font-size:clamp(17px,1.55vw,28px)!important;line-height:1.27!important;white-space:normal!important;overflow-wrap:anywhere!important;letter-spacing:0!important}

/* Hindi headings: number first, full two-line name below, with clear space for the artwork. */
html:is([lang='hi'],[data-oku-lang='hi']) #screen-home .hc-card .hc-card-top{
 display:flex!important;flex-direction:column!important;align-items:flex-start!important;
 gap:7px!important;top:22px!important;left:23px!important;right:19px!important;
 width:auto!important;max-width:calc(100% - 42px)!important;
}
html:is([lang='hi'],[data-oku-lang='hi']) #screen-home .hc-card .hc-num{
 display:block!important;position:static!important;margin:0!important;
 font-size:clamp(13px,.9vw,19px)!important;line-height:1.2!important;
}
html:is([lang='hi'],[data-oku-lang='hi']) #screen-home .hc-card .hc-card-label{
 display:block!important;width:100%!important;max-width:100%!important;
 min-width:0!important;padding:0!important;margin:0!important;
}
html:is([lang='hi'],[data-oku-lang='hi']) #screen-home .hc-card .hc-card-name{
 display:block!important;font-family:system-ui,'Noto Sans Devanagari',sans-serif!important;
 font-size:clamp(19px,1.65vw,30px)!important;font-weight:800!important;
 line-height:1.26!important;white-space:normal!important;
 overflow-wrap:normal!important;word-break:normal!important;letter-spacing:0!important;
}
html:is([lang='hi'],[data-oku-lang='hi']) #screen-home .hc-card .hc-card-sub{
 display:block!important;font-family:system-ui,'Noto Sans Devanagari',sans-serif!important;
 font-size:clamp(12px,1.02vw,19px)!important;line-height:1.3!important;
 white-space:normal!important;overflow-wrap:normal!important;
 margin:9px 0 0!important;
}
html:is([lang='hi'],[data-oku-lang='hi']) #screen-home .hc-card .hc-calligraphy,
html:is([lang='hi'],[data-oku-lang='hi']) #screen-home .hc-card:nth-child(n) .hc-calligraphy{
 top:36%!important;max-height:37%!important;height:37%!important;
}
@media(max-width:760px){
 html:is([lang='hi'],[data-oku-lang='hi']) #screen-home .hc-card .hc-card-top{
  top:14px!important;left:13px!important;right:12px!important;max-width:calc(100% - 25px)!important;gap:5px!important;
 }
 html:is([lang='hi'],[data-oku-lang='hi']) #screen-home .hc-card .hc-card-name{font-size:clamp(14px,3vw,21px)!important;line-height:1.22!important;}
 html:is([lang='hi'],[data-oku-lang='hi']) #screen-home .hc-card .hc-card-sub{font-size:clamp(10px,2vw,13px)!important;margin-top:5px!important;}
 html:is([lang='hi'],[data-oku-lang='hi']) #screen-home .hc-card .hc-calligraphy,
 html:is([lang='hi'],[data-oku-lang='hi']) #screen-home .hc-card:nth-child(n) .hc-calligraphy{top:43%!important;height:32%!important;max-height:32%!important;}
}
@media(max-width:440px){
 html:is([lang='hi'],[data-oku-lang='hi']) #screen-home .hc-grid{grid-template-columns:1fr!important;}
 html:is([lang='hi'],[data-oku-lang='hi']) #screen-home .hc-card{min-height:340px!important;}
 html:is([lang='hi'],[data-oku-lang='hi']) #screen-home .hc-card .hc-card-name{font-size:clamp(21px,6vw,28px)!important;}
}
