/* विवाह संस्कार प्रमाण-पत्र – 1536×1024 कैनवस (ट्रस्ट के नमूने के अनुसार) */
.cert-sheet{display:block!important;position:relative;width:1536px;height:1024px;overflow:hidden;color:#17106b;
  font-family:'Noto Sans Devanagari','Segoe UI',sans-serif;font-size:30px;line-height:1.3;
  background:radial-gradient(ellipse 62% 60% at 50% 38%,#fffefc 0%,#fdf9f2 52%,#faf1e2 100%)!important;box-shadow:none!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
.cert-sheet *{box-sizing:border-box}
.cert-sheet>*{position:absolute;margin:0}
.cert-sheet img{display:block;max-width:none}
.cert-sheet .r{color:#c9101a}
.ct-fit{white-space:nowrap}

/* किनारा + कोने */
.ct-edge{z-index:6}
.ct-et{left:0;top:0;width:1536px;height:24px;background:url(../img/cert/edge-top.png) 0 0/100% 100% no-repeat}
.ct-eb{left:0;top:1000px;width:1536px;height:24px;background:url(../img/cert/edge-bottom.png) 0 0/100% 100% no-repeat}
.ct-el{left:0;top:0;width:24px;height:1024px;background:url(../img/cert/edge-left.png) 0 0/100% 100% no-repeat}
.ct-er{left:1512px;top:0;width:24px;height:1024px;background:url(../img/cert/edge-right.png) 0 0/100% 100% no-repeat}
.ct-cor{z-index:7;width:150px;height:150px}
.ct-ctl{left:0;top:0}.ct-ctr{left:1386px;top:0}.ct-cbl{left:0;top:874px}.ct-cbr{left:1386px;top:874px}

/* चित्र */
.ct-art-l{left:22px;top:22px;width:350px;height:274px;z-index:1}
.ct-art-r{left:1190px;top:22px;width:324px;height:266px;z-index:1}

/* ऊपर की पंक्तियाँ */
.ct-jay{left:540px;top:23px;width:440px;height:36px;line-height:36px;text-align:center;font-size:28px;font-weight:700;z-index:3}
.ct-no{left:1140px;top:30px;width:290px;height:32px;line-height:32px;text-align:center;font-size:24px;font-weight:600;z-index:3}
.ct-trust{left:296px;top:50px;width:960px;height:100px;line-height:100px;text-align:center;font-size:98px;font-weight:800;color:#d10c12;z-index:3;
  -webkit-text-stroke:9px #fff;paint-order:stroke fill;text-shadow:0 2px 0 rgba(255,255,255,.9),0 0 8px rgba(255,255,255,.9)}
.ct-addr{left:330px;top:154px;width:884px;height:46px;line-height:46px;text-align:center;font-size:37px;font-weight:600;z-index:3}

/* शीर्षक पट्टी */
.ct-banner{left:420px;top:205px;width:694px;height:81px;border-radius:42px;z-index:2;border:3px solid #f6c21c;
  background:linear-gradient(180deg,#d8161e 0%,#bd0c12 55%,#a40a10 100%);box-shadow:inset 0 0 0 2px #8f0a0f,0 2px 4px rgba(120,20,10,.25)}
.ct-fl-t{top:200px;width:179px;height:110px;z-index:3}
.ct-fl-tl{left:326px}
.ct-fl-tr{left:1029px;transform:scaleX(-1)}
.ct-title{left:440px;top:207px;width:654px;height:78px;line-height:78px;text-align:center;font-size:64px;font-weight:800;color:#fff;z-index:4;text-shadow:0 2px 3px rgba(80,0,0,.35)}
.ct-sub{left:495px;top:298px;width:546px;height:58px;border-radius:30px;z-index:3;border:3px solid #f0a40f;
  background:linear-gradient(180deg,#fff27a 0%,#ffe030 100%);text-align:center;box-shadow:0 2px 3px rgba(150,100,0,.25)}
.ct-sub span{display:block;line-height:52px;font-size:33px;font-weight:800}

/* फ़ोटो + वर/वधू */
.ct-photo{width:226px;height:247px;border:3px solid #b8302e;padding:5px;background:#fde9de;z-index:3;box-shadow:0 2px 4px rgba(90,20,10,.25)}
.ct-photo img{width:100%;height:100%;object-fit:cover}
.ct-pg{left:75px;top:292px}.ct-pb{left:1243px;top:292px}
.ct-tag{width:126px;height:37px;line-height:31px;text-align:center;color:#fff;font-size:28px;font-weight:800;border:3px solid #f4bb2a;border-radius:15px;z-index:4;
  background:linear-gradient(180deg,#d9181f,#a30c11);box-shadow:0 2px 3px rgba(0,0,0,.25)}
.ct-tg{left:127px;top:520px}.ct-tb{left:1294px;top:520px}
.ct-who{width:310px;z-index:3;text-align:center}
.ct-who>*{display:block;white-space:nowrap}
.ct-wg{left:33px;top:578px}.ct-wb{left:1200px;top:578px}
.ct-nm{height:36px;line-height:36px;font-size:38px;font-weight:800}
.ct-who span{height:26px;line-height:26px;font-size:25px;font-weight:600}
.ct-who .ct-nm+span{margin-top:3px}

/* मूल पाठ */
.ct-body{left:330px;top:366px;width:880px;z-index:3}
.ct-body p{margin:0;height:48px;line-height:48px;text-align:center;font-size:34px;font-weight:600;white-space:nowrap}
.ct-body b.r{font-size:1.18em;font-weight:800}

/* गवाहगण */
.ct-fl-g{top:672px;width:171px;height:66px;z-index:3}
.ct-fl-gl{left:385px}
.ct-fl-gr{left:840px;transform:scaleX(-1)}
.ct-gaw{left:553px;top:682px;width:290px;height:46px;line-height:40px;text-align:center;color:#fff;font-size:40px;font-weight:800;border:3px solid #f4bb2a;border-radius:24px;z-index:3;
  background:linear-gradient(180deg,#d9181f,#a30c11);box-shadow:0 2px 3px rgba(0,0,0,.25)}
.ct-wit{left:0;top:0;width:0;height:0;z-index:3}
.ct-wit>*{position:absolute;display:block}
.ct-wn{height:36px;line-height:36px;font-size:28px;font-weight:600;top:734px;width:300px}
.ct-wv{height:28px;line-height:28px;font-size:24px;font-weight:600;top:768px;width:260px}
.ct-wsig{object-fit:contain;object-position:left bottom;z-index:2}
.ct-dots{height:0;border-top:3px dotted #1b1470}
.ct-wit1 .ct-wn{left:98px}.ct-wit1 .ct-wv{left:135px}.ct-wit1 .ct-wsig{left:340px;top:706px;width:130px;height:84px}.ct-wit1 .ct-dots{left:328px;top:794px;width:200px}
.ct-wit2 .ct-wn{left:597px}.ct-wit2 .ct-wv{left:634px}.ct-wit2 .ct-wsig{left:838px;top:706px;width:150px;height:84px}.ct-wit2 .ct-dots{left:818px;top:794px;width:208px}

/* मोहर + हस्ताक्षर */
.ct-stamp{left:680px;top:772px;width:196px;height:196px;object-fit:contain;z-index:4}
.ct-auth{left:0;top:0;width:0;height:0;z-index:3}
.ct-auth>*{position:absolute;display:block}
.ct-sig{left:1100px;top:716px;width:240px;height:84px;object-fit:contain;object-position:center bottom}
.ct-auth .ct-dots{left:1193px;top:780px;width:270px}
.ct-an{left:1118px;top:802px;width:420px;height:44px;line-height:44px;text-align:center;font-size:40px;font-weight:800}
.ct-ar{left:1118px;top:848px;width:420px;height:42px;line-height:42px;text-align:center;font-size:36px;font-weight:800;color:#c9101a}
.ct-at{left:1118px;top:894px;width:420px;height:38px;line-height:38px;text-align:center;font-size:31px;font-weight:800;color:#c9101a}

/* तिथि / स्थान */
.ct-issue{left:55px;top:838px;width:560px;z-index:3}
.ct-issue p{margin:0;height:48px;line-height:48px;font-size:32.5px;font-weight:700;white-space:nowrap}

.ct-qr{left:1394px;top:888px;width:86px;height:86px;background:#fff;padding:4px;border:1px solid #d9c18a;z-index:5}
.ct-qr .qr{width:76px}

/* नीचे की पट्टी */
.ct-ribbon{left:296px;top:960px;width:926px;height:40px;line-height:34px;text-align:center;color:#fff;font-size:27px;font-weight:700;border-radius:20px;z-index:5;
  border:3px solid #f1c24a;background:linear-gradient(180deg,#17159a 0%,#0c0a6e 60%,#08065a 100%)}

/* पेज पर प्रदर्शन / प्रिंट */
.cert-stage{background:#e9dcc1;border:1px solid var(--line,#ead9b2);border-radius:12px;padding:12px;overflow:hidden}
@media print{
  html:has(body.pr-cert),body.pr-cert{width:297mm!important;max-width:297mm!important;height:210mm!important;overflow:hidden!important;margin:0!important;padding:0!important}
  body.pr-cert *{visibility:hidden}
  body.pr-cert .cert-print,body.pr-cert .cert-print *{visibility:visible}
  body.pr-cert .cert-print{position:absolute;left:0;top:0;width:297mm}
  body.pr-cert .slip-print,body.pr-cert .idc-print{display:none!important}
  body.pr-slip .cert-print,body.pr-card .cert-print{display:none!important}
  .cert-stage{padding:0;border:0;background:#fff}
  .cert-fit{overflow:hidden!important;width:297mm!important;height:210mm!important;position:relative}
  .cert-sheet{transform:scale(.7308)!important;transform-origin:top left}
}
