/* Advertisement popup: slides into the centre of the screen after the page loads */
.ad-popup{position:fixed;inset:0;z-index:5000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(20,18,15,0);transition:background .45s ease;font-family:"Mukta",-apple-system,sans-serif;}
.ad-popup[hidden]{display:none;}
.ad-popup.is-open{background:rgba(20,18,15,.62);}
.ad-popup__card{position:relative;width:min(560px,100%);max-height:calc(100vh - 40px);overflow:auto;background:#fff;color:#1C1D1A;border-radius:14px;box-shadow:0 24px 70px rgba(0,0,0,.4);opacity:0;transform:translateY(90px) scale(.96);transition:transform .6s cubic-bezier(.2,.85,.25,1),opacity .45s ease;}
.ad-popup.is-open .ad-popup__card{opacity:1;transform:none;}
.ad-popup__close{position:absolute;top:12px;right:12px;z-index:2;width:38px;height:38px;border:0;border-radius:50%;background:rgba(255,255,255,.95);color:#1C1D1A;font-size:1.5rem;line-height:1;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.3);display:flex;align-items:center;justify-content:center;}
.ad-popup__close:hover{background:#E84F23;color:#fff;}
.ad-popup__close:focus-visible,.ad-popup__cta:focus-visible{outline:3px solid #E84F23;outline-offset:2px;}
/* the poster is shown whole, at its own shape: never cropped */
.ad-popup__card--poster{width:fit-content;max-width:min(94vw,760px);}
.ad-popup__media{display:block;background:transparent;border-radius:14px 14px 0 0;line-height:0;}
.ad-popup__media img{display:block;width:100%;height:auto;max-width:100%;max-height:calc(100vh - 150px);margin:0 auto;object-fit:contain;border-radius:14px 14px 0 0;}
.ad-popup__body{padding:26px 30px 30px;}
.ad-popup__label{font-size:.68rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#E84F23;margin-bottom:10px;}
.ad-popup__title{font-family:"Eczar",Georgia,serif;font-weight:800;font-size:1.6rem;line-height:1.2;margin-bottom:10px;}
.ad-popup__text{font-size:1.02rem;line-height:1.55;color:#46453E;margin-bottom:20px;white-space:pre-line;}
.ad-popup__cta{display:inline-block;background:#E84F23;color:#fff;font-family:"Mukta",sans-serif;font-weight:700;font-size:.85rem;letter-spacing:.06em;text-transform:uppercase;padding:14px 30px;border-radius:4px;text-decoration:none;}
.ad-popup__cta:hover{background:#B63E19;}
@media (max-width:600px){.ad-popup{padding:14px;}.ad-popup__body{padding:20px 20px 24px;}.ad-popup__title{font-size:1.35rem;}}
@media (prefers-reduced-motion:reduce){.ad-popup,.ad-popup__card{transition:none;}.ad-popup__card{transform:none;}}

/* Quote of the day (सद्वाक्य) */
.ad-popup__card--quote{width:min(680px,100%);background:linear-gradient(160deg,#fff,#faf4ea);}
.ad-popup__body--quote{padding:50px 44px 46px;text-align:center;}
.ad-popup__body--quote::before{content:"\201C";display:block;font-family:Georgia,serif;font-size:4.5rem;line-height:.7;color:#E84F23;opacity:.35;margin-bottom:6px;}
.ad-popup__quote{margin:0;font-family:"Eczar",Georgia,serif;font-weight:700;font-size:clamp(1.55rem,4.2vw,2.2rem);line-height:1.5;color:#1C1D1A;white-space:pre-line;}
.ad-popup__author{margin:18px 0 0;font-weight:700;color:#46453E;}
.ad-popup__body--quote .ad-popup__label{font-size:1.15rem;letter-spacing:.06em;text-transform:none;margin-bottom:16px;}
.ad-popup__author{font-size:1.1rem;}
