/* Ramadan Transformation Planner page. Loaded on that page only; everything is scoped to body.sdi-rtp.
   The page content carries its own inline colours and <style> blocks from the old site —
   the selectors here are deliberately stronger so the page follows the maroon / gold / ivory theme. */
body.sdi-rtp{
	--rt-maroon:#6B1E2E;--rt-maroon-deep:#5A1424;--rt-wine:#7E2A3B;--rt-maroon-dark:#4A101D;
	--rt-gold:#B98B2E;--rt-gold-light:#D4AE5F;--rt-gold-soft:#D8BE86;
	--rt-ivory:#FBF7F1;--rt-beige:#F5EDE1;--rt-line:#E9DCC8;
	--rt-text:#4A3B3E;--rt-muted:#7A5A3A;--rt-cream:#F5EDE1;
	--rt-ease:cubic-bezier(.16,1,.3,1);--rt-t:.55s var(--rt-ease);
	--rt-shadow:0 1px 2px rgba(74,16,29,.04),0 12px 32px -20px rgba(74,16,29,.22);
	--rt-shadow-h:0 2px 4px rgba(74,16,29,.05),0 30px 56px -26px rgba(74,16,29,.36);
}

/* ---------- Section rhythm and backgrounds ---------- */
body.sdi-rtp .entry-content>section.sdi-block{padding:clamp(64px,7.5vw,104px) 0;scroll-margin-top:110px}
body.sdi-rtp .entry-content>section.sdi-block:not(:first-child){background:var(--rt-ivory)!important}
body.sdi-rtp .entry-content>section.sdi-block>.sdi-wrap{max-width:1180px}
body.sdi-rtp .entry-content>section.sdi-block:not(:first-child):is(:has(.ramadan-features),:has(+section .ramadan-features),:has(.rm-checklist),:has(.rp-steps),:last-of-type){background:var(--rt-beige)!important}
body.sdi-rtp .entry-content .sdi-raw,body.sdi-rtp .entry-content .sdi-cols{margin-bottom:0}

/* A heading-only section belongs to the section that follows it. */
body.sdi-rtp .entry-content>section.sdi-block:has(h2.sdi-h):not(:has(.sdi-cols,.sdi-raw,.sdi-boxbg)){padding-bottom:0;text-align:center}
body.sdi-rtp .entry-content>section.sdi-block:has(h2.sdi-h):not(:has(.sdi-cols,.sdi-raw,.sdi-boxbg))+section.sdi-block{padding-top:clamp(36px,4vw,56px)}
body.sdi-rtp .entry-content>section.sdi-block:has(.rm-checklist){padding-top:0}
body.sdi-rtp .entry-content>section.sdi-block:has(>.sdi-wrap>.sdi-group>.sdi-boxbg.sdi-on-dark){padding-top:0}

/* ---------- Section headings ---------- */
body.sdi-rtp .entry-content>section.sdi-block:not(:first-child) h2.sdi-h{color:var(--rt-maroon)!important;font-family:var(--sdi-serif);font-weight:500;font-size:clamp(32px,4vw,52px);line-height:1.08;letter-spacing:-.01em;margin:0 auto 20px;max-width:24ch;text-wrap:balance}
body.sdi-rtp .entry-content>section.sdi-block:not(:first-child):not(:has(.sdi-boxbg)) h2.sdi-h::after{content:"";display:block;width:56px;height:1px;margin:24px auto 0;background:linear-gradient(90deg,transparent,var(--rt-gold),transparent);transition:width var(--rt-t)}
body.sdi-rtp .entry-content>section.sdi-block:hover h2.sdi-h::after{width:120px}
body.sdi-rtp .entry-content>section.sdi-block:has(h2.sdi-h):not(:has(.sdi-cols,.sdi-raw,.sdi-boxbg)) .sdi-text{max-width:620px;margin:0 auto;font-size:17.5px;line-height:1.75;color:var(--rt-text)}
body.sdi-rtp .entry-content>section.sdi-block:has(h2.sdi-h):not(:has(.sdi-cols,.sdi-raw,.sdi-boxbg)) .sdi-text strong{font-weight:400}
body.sdi-rtp .entry-content>section.sdi-block:has(h2.sdi-h):not(:has(.sdi-cols,.sdi-raw,.sdi-boxbg)) .sdi-text p{margin:0}

/* ---------- Hero ---------- */
body.sdi-rtp .entry-content>section.sdi-block:first-child{position:relative;isolation:isolate;display:flex;align-items:center;min-height:min(88vh,800px);padding:clamp(72px,9vw,120px) 0 clamp(56px,6vw,84px)!important;background-color:var(--rt-maroon-dark)!important;background-size:cover!important;background-position:center!important;overflow:hidden}
body.sdi-rtp .entry-content>section.sdi-block:first-child::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse 62% 78% at 50% 50%,rgba(58,10,22,.86) 0%,rgba(66,13,25,.66) 55%,rgba(74,16,29,.28) 100%)}
body.sdi-rtp .entry-content>section.sdi-block:first-child>.sdi-wrap{width:100%;text-align:center;padding-top:clamp(36px,6vw,84px)}
body.sdi-rtp .entry-content>section.sdi-block:first-child>.sdi-wrap>*{max-width:640px;margin-left:auto;margin-right:auto}
body.sdi-rtp .entry-content>section.sdi-block:first-child>.sdi-wrap::before{content:"Free 30-day planner";display:block;margin:0 0 22px;font-family:var(--sdi-sans);font-size:12px;font-weight:500;letter-spacing:.24em;text-transform:uppercase;color:var(--rt-gold-light)}
body.sdi-rtp .entry-content>section.sdi-block:first-child :is(h1,h2).sdi-h{color:#fff!important;font-family:var(--sdi-serif);font-weight:500;font-size:clamp(40px,5vw,68px);line-height:1.04;letter-spacing:-.012em;margin:0 auto 24px;max-width:820px}
body.sdi-rtp .entry-content>section.sdi-block:first-child :is(h1,h2).sdi-h::first-line{color:var(--rt-gold-light)}
body.sdi-rtp .entry-content>section.sdi-block:first-child>.sdi-wrap>.sdi-text{color:rgba(245,237,225,.86)!important;font-size:18.5px;line-height:1.65;margin:0 auto 30px}
body.sdi-rtp .entry-content>section.sdi-block:first-child>.sdi-wrap>.sdi-text p{margin:0;color:inherit}
body.sdi-rtp .entry-content>section.sdi-block:first-child .sdi-boxbg{position:relative;margin:0 auto 34px;padding:26px 30px 24px;background:rgba(255,255,255,.06)!important;border:1px solid rgba(216,190,134,.24);border-radius:16px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:border-color var(--rt-t),background-color var(--rt-t),transform var(--rt-t)}
body.sdi-rtp .entry-content>section.sdi-block:first-child .sdi-boxbg::before{content:"";position:absolute;left:50%;top:-1px;width:56px;height:2px;margin-left:-28px;border-radius:2px;background:var(--rt-gold-light)}
body.sdi-rtp .entry-content>section.sdi-block:first-child .sdi-boxbg:hover{border-color:rgba(216,190,134,.5);background:rgba(255,255,255,.09)!important;transform:translateY(-2px)}
body.sdi-rtp .entry-content>section.sdi-block:first-child .sdi-boxbg .sdi-text,
body.sdi-rtp .entry-content>section.sdi-block:first-child .sdi-boxbg .sdi-text p{margin:0;color:var(--rt-cream);font-family:var(--sdi-serif);font-style:italic;font-size:20px;line-height:1.5}
body.sdi-rtp .entry-content>section.sdi-block:first-child .sdi-boxbg strong{font-weight:500}
body.sdi-rtp .entry-content>section.sdi-block:first-child .sdi-btnwrap{display:flex;justify-content:center;margin:0 auto;text-align:center}

/* Buttons on this page: solid gold on dark, maroon on light, with a little arrow. */
body.sdi-rtp .entry-content .sdi-btn{padding:17px 34px;font-size:12.5px;letter-spacing:.18em}
body.sdi-rtp .entry-content .sdi-btn::after{content:""}
body.sdi.sdi-rtp .entry-content .sdi-on-dark .sdi-btn.sdi-btn.sdi-btn{--b-fill:var(--sdi-grad-gold);--b-hover:linear-gradient(135deg,#fff,#F5EDE1);--b-text:var(--rt-maroon-dark);--b-text-h:var(--rt-maroon);--b-ring:transparent;color:var(--rt-maroon-dark);border-color:transparent;box-shadow:0 16px 34px -16px rgba(0,0,0,.6)}
body.sdi.sdi-rtp .entry-content .sdi-on-dark .sdi-btn.sdi-btn.sdi-btn:hover{color:var(--rt-maroon);box-shadow:0 20px 40px -16px rgba(212,174,95,.55)}

/* ---------- Why it's different: six cards ---------- */
body.sdi-rtp .entry-content .sdi-cols-3{gap:22px;counter-reset:rt-card;align-items:stretch}
body.sdi-rtp .entry-content .sdi-cols-3>.sdi-col:has(.sdi-btnwrap){grid-column:1/-1;text-align:center;padding-top:22px}
body.sdi-rtp .entry-content .sdi-cols-3>.sdi-col:has(.sdi-btnwrap) .sdi-btnwrap{margin:0}
body.sdi-rtp .entry-content .sdi-cols-3 .sdi-card{position:relative;counter-increment:rt-card;margin:0;padding:38px 32px 34px;background:#fff;border:1px solid var(--rt-line);border-radius:18px;box-shadow:var(--rt-shadow);overflow:hidden;transition:transform var(--rt-t),box-shadow var(--rt-t),border-color var(--rt-t)}
body.sdi-rtp .entry-content .sdi-cols-3 .sdi-card::before{content:counter(rt-card,decimal-leading-zero);display:block;width:auto;height:auto;margin:0 0 22px;background:none;font-family:var(--sdi-serif);font-size:30px;font-weight:500;line-height:1;color:var(--rt-gold);transition:color var(--rt-t),transform var(--rt-t);transform-origin:left center}
body.sdi-rtp .entry-content .sdi-cols-3 .sdi-card::after{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:linear-gradient(90deg,var(--rt-gold),var(--rt-gold-light));transform:scaleX(0);transform-origin:left;transition:transform .7s var(--rt-ease)}
body.sdi-rtp .entry-content .sdi-cols-3 .sdi-card h3{margin:0 0 10px;font-family:var(--sdi-serif);font-size:25px;font-weight:600;line-height:1.15;color:var(--rt-maroon-dark);transition:color var(--rt-t)}
body.sdi-rtp .entry-content .sdi-cols-3 .sdi-card p{margin:0;font-size:15.5px;line-height:1.7;color:var(--rt-text)}
body.sdi-rtp .entry-content .sdi-cols-3 .sdi-card:hover{transform:translateY(-6px);box-shadow:var(--rt-shadow-h);border-color:var(--rt-gold-light)}
body.sdi-rtp .entry-content .sdi-cols-3 .sdi-card:hover::before{color:var(--rt-maroon);transform:scale(1.12)}
body.sdi-rtp .entry-content .sdi-cols-3 .sdi-card:hover::after{transform:scaleX(1)}
body.sdi-rtp .entry-content .sdi-cols-3 .sdi-card:hover h3{color:var(--rt-maroon)}

/* ---------- What's inside: eight feature cards ---------- */
body.sdi-rtp .entry-content .ramadan-features{padding:0;background:none}
body.sdi-rtp .entry-content .rf-wrap{max-width:1040px}
body.sdi-rtp .entry-content .rf-grid{gap:18px 20px}
body.sdi-rtp .entry-content .rf-card{position:relative;gap:20px;align-items:center;padding:24px 26px;background:#fff;border:1px solid var(--rt-line);border-radius:18px;box-shadow:var(--rt-shadow);overflow:hidden;transition:transform var(--rt-t),box-shadow var(--rt-t),border-color var(--rt-t)}
body.sdi-rtp .entry-content .rf-card::before{content:"";position:absolute;left:0;top:50%;width:3px;height:0;border-radius:0 3px 3px 0;background:linear-gradient(180deg,var(--rt-gold-light),var(--rt-gold));transform:translateY(-50%);transition:height .6s var(--rt-ease)}
body.sdi-rtp .entry-content .rf-icon{width:60px;min-width:60px;height:60px;font-size:27px;border-radius:50%;background:var(--rt-beige);box-shadow:inset 0 0 0 1px var(--rt-line);transition:transform var(--rt-t),background-color var(--rt-t),box-shadow var(--rt-t)}
body.sdi-rtp .entry-content .rf-title{margin:0 0 6px;font-family:var(--sdi-serif);font-size:23px;font-weight:600;line-height:1.15;color:var(--rt-maroon);transition:color var(--rt-t)}
body.sdi-rtp .entry-content .rf-text{font-size:15.5px;line-height:1.65;color:var(--rt-text)}
body.sdi-rtp .entry-content .rf-card:hover{transform:translateY(-5px);box-shadow:var(--rt-shadow-h);border-color:var(--rt-gold-light)}
body.sdi-rtp .entry-content .rf-card:hover::before{height:56%}
body.sdi-rtp .entry-content .rf-card:hover .rf-icon{transform:scale(1.08) rotate(-6deg);background:#fff;box-shadow:inset 0 0 0 1px var(--rt-gold-light),0 10px 20px -12px rgba(185,139,46,.7)}
body.sdi-rtp .entry-content .rf-card:hover .rf-title{color:var(--rt-maroon-dark)}

body.sdi-rtp .entry-content :is(.rf-text,.rb-text,.rp-text){margin:0!important}

/* ---------- Daily structure checklist ---------- */
body.sdi-rtp .entry-content .rm-checklist{padding:0}
body.sdi-rtp .entry-content .rm-checklist__box{position:relative;max-width:1040px;padding:clamp(36px,5vw,64px) clamp(24px,5vw,68px);border-radius:26px;background:radial-gradient(ellipse 60% 90% at 100% 0%,rgba(212,174,95,.2),transparent 62%),linear-gradient(140deg,var(--rt-wine) 0%,var(--rt-maroon) 42%,var(--rt-maroon-dark) 100%);box-shadow:0 34px 60px -34px rgba(74,16,29,.6);overflow:hidden}
body.sdi-rtp .entry-content .rm-checklist__title{max-width:22ch;margin:0 auto 34px!important;color:#fff!important;font-family:var(--sdi-serif);font-weight:500;font-size:clamp(26px,3vw,38px);line-height:1.15;text-wrap:balance}
body.sdi-rtp .entry-content .rm-checklist__title::after{content:"";display:block;width:56px;height:1px;margin:22px auto 0;background:linear-gradient(90deg,transparent,var(--rt-gold-light),transparent)}
body.sdi-rtp .entry-content .rm-checklist__grid{gap:0 clamp(28px,5vw,64px)}
body.sdi-rtp .entry-content .rm-check{align-items:center;gap:16px;padding:16px 4px;border-bottom:1px solid rgba(245,237,225,.12);transition:transform var(--rt-t),border-color var(--rt-t)}
body.sdi-rtp .entry-content .rm-checklist__grid>div>.rm-check:last-child{border-bottom:0}
body.sdi-rtp .entry-content .rm-check__icon{display:flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;border:1px solid rgba(212,174,95,.6);font-size:14px;font-weight:600;color:var(--rt-gold-light);transform:none;transition:background-color var(--rt-t),color var(--rt-t),border-color var(--rt-t),transform var(--rt-t)}
body.sdi-rtp .entry-content .rm-check__text{font-family:var(--sdi-sans);font-size:17px;line-height:1.5;color:rgba(245,237,225,.88);transition:color var(--rt-t)}
body.sdi-rtp .entry-content .rm-check:hover{transform:translateX(6px);border-color:rgba(212,174,95,.4)}
body.sdi-rtp .entry-content .rm-check:hover .rm-check__icon{background:var(--rt-gold-light);border-color:var(--rt-gold-light);color:var(--rt-maroon-dark);transform:scale(1.1)}
body.sdi-rtp .entry-content .rm-check:hover .rm-check__text{color:#fff}

/* ---------- This planner is for you if… ---------- */
body.sdi-rtp .entry-content .sdi-cols-2{gap:clamp(32px,5vw,72px);align-items:center;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)!important}
body.sdi-rtp .entry-content .sdi-cols-2 .sdi-img{position:relative;margin:0}
body.sdi-rtp .entry-content section:has(.rb-section) .sdi-img{max-width:460px;margin:0 auto;border-radius:240px 240px 22px 22px;overflow:hidden;box-shadow:0 34px 60px -34px rgba(74,16,29,.5)}
body.sdi-rtp .entry-content section:has(.rb-section) .sdi-img img{aspect-ratio:4/5;object-fit:cover;transition:transform 1.4s var(--rt-ease)}
body.sdi-rtp .entry-content section:has(.rb-section) .sdi-img::after{content:"";position:absolute;inset:12px;border:1px solid rgba(255,255,255,.55);border-radius:228px 228px 12px 12px;pointer-events:none;transition:inset var(--rt-t),border-color var(--rt-t)}
body.sdi-rtp .entry-content section:has(.rb-section) .sdi-img:hover img{transform:scale(1.05)}
body.sdi-rtp .entry-content section:has(.rb-section) .sdi-img:hover::after{inset:18px;border-color:var(--rt-gold-light)}
body.sdi-rtp .entry-content .rb-section{padding:0}
body.sdi-rtp .entry-content .rb-stack{gap:12px}
body.sdi-rtp .entry-content .rb-card{position:relative;padding:22px 56px 22px 28px;background:#fff;border:1px solid var(--rt-line);border-left:1px solid var(--rt-line);border-radius:16px;box-shadow:var(--rt-shadow);overflow:hidden;transition:transform var(--rt-t),box-shadow var(--rt-t),border-color var(--rt-t),background-color var(--rt-t)}
body.sdi-rtp .entry-content .rb-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(180deg,var(--rt-gold-light),var(--rt-gold));transform:scaleY(.35);transform-origin:center;transition:transform .6s var(--rt-ease)}
body.sdi-rtp .entry-content .rb-card::after{content:"\2192";position:absolute;right:24px;top:50%;font-size:18px;line-height:1;color:var(--rt-gold);opacity:0;transform:translate(-10px,-50%);transition:opacity var(--rt-t),transform var(--rt-t)}
body.sdi-rtp .entry-content .rb-title{margin:0 0 5px;font-family:var(--sdi-serif);font-size:22px;font-weight:600;line-height:1.2;color:var(--rt-maroon)}
body.sdi-rtp .entry-content .rb-text{font-family:var(--sdi-sans);font-size:15.5px;line-height:1.6;color:var(--rt-text)}
body.sdi-rtp .entry-content .rb-card:hover{transform:translateX(8px);background:#fff;box-shadow:var(--rt-shadow-h);border-color:var(--rt-gold-light)}
body.sdi-rtp .entry-content .rb-card:hover::before{transform:scaleY(1)}
body.sdi-rtp .entry-content .rb-card:hover::after{opacity:1;transform:translate(0,-50%)}

/* ---------- "Ramadan is not just 30 days" band ---------- */
body.sdi-rtp .entry-content .sdi-group>.sdi-boxbg.sdi-on-dark{position:relative;margin:0;padding:clamp(48px,6.5vw,88px) clamp(24px,5vw,64px);text-align:center;border-radius:28px;background:radial-gradient(ellipse 55% 110% at 50% 0%,rgba(212,174,95,.2),transparent 65%),linear-gradient(150deg,var(--rt-maroon-deep) 0%,var(--rt-maroon-dark) 100%)!important;box-shadow:0 34px 60px -34px rgba(74,16,29,.6);overflow:hidden;transition:box-shadow var(--rt-t)}
body.sdi-rtp .entry-content .sdi-group>.sdi-boxbg.sdi-on-dark::before{content:"";position:absolute;inset:12px;border:1px solid rgba(216,190,134,.22);border-radius:18px;pointer-events:none;transition:border-color var(--rt-t)}
body.sdi-rtp .entry-content .sdi-group>.sdi-boxbg.sdi-on-dark:hover::before{border-color:rgba(216,190,134,.5)}
body.sdi-rtp .entry-content .sdi-group>.sdi-boxbg.sdi-on-dark h2.sdi-h{max-width:none;margin:0 0 10px;color:#fff!important;font-size:clamp(34px,4.6vw,60px)}
body.sdi-rtp .entry-content .sdi-group>.sdi-boxbg.sdi-on-dark .sdi-text{margin:0 0 30px;color:var(--rt-gold-soft)!important;font-family:var(--sdi-serif);font-style:italic;font-size:clamp(20px,2.2vw,26px);line-height:1.4}
body.sdi-rtp .entry-content .sdi-group>.sdi-boxbg.sdi-on-dark .sdi-text p{margin:0;color:inherit}
body.sdi-rtp .entry-content .sdi-group>.sdi-boxbg.sdi-on-dark .sdi-btnwrap{margin:0}

/* ---------- How to use the planner: numbered steps ---------- */
body.sdi-rtp .entry-content section:has(.rp-steps) .sdi-narrow{max-width:820px;text-align:left}
body.sdi-rtp .entry-content .rp-steps{padding:0}
body.sdi-rtp .entry-content .rp-steps::before{content:attr(aria-label);display:block;margin:0 0 44px;text-align:center;font-family:var(--sdi-serif);font-weight:500;font-size:clamp(32px,4vw,52px);line-height:1.08;letter-spacing:-.01em;text-transform:capitalize;color:var(--rt-maroon)}
body.sdi-rtp .entry-content .rp-stack{position:relative;gap:14px}
body.sdi-rtp .entry-content .rp-stack::before{content:"";position:absolute;left:57px;top:40px;bottom:40px;width:1px;background:linear-gradient(180deg,transparent,var(--rt-gold-light) 12%,var(--rt-gold-light) 88%,transparent)}
body.sdi-rtp .entry-content .rp-card{position:relative;gap:24px;padding:22px 28px;background:#fff;border:1px solid var(--rt-line);border-radius:18px;box-shadow:var(--rt-shadow);transition:transform var(--rt-t),box-shadow var(--rt-t),border-color var(--rt-t)}
body.sdi-rtp .entry-content .rp-number{width:58px;min-width:58px;height:58px;background:#fff;border:1px solid var(--rt-gold-light);color:var(--rt-maroon);font-family:var(--sdi-serif);font-size:24px;font-weight:600;letter-spacing:0;transition:background-color var(--rt-t),color var(--rt-t),border-color var(--rt-t),transform var(--rt-t),box-shadow var(--rt-t)}
body.sdi-rtp .entry-content .rp-title{margin:0 0 4px;font-family:var(--sdi-serif);font-size:23px;font-weight:600;line-height:1.2;color:var(--rt-maroon)}
body.sdi-rtp .entry-content .rp-text{font-size:15.5px;line-height:1.6;color:var(--rt-text)}
body.sdi-rtp .entry-content .rp-card:hover{transform:translateX(8px);box-shadow:var(--rt-shadow-h);border-color:var(--rt-gold-light)}
body.sdi-rtp .entry-content .rp-card:hover .rp-number{background:var(--rt-maroon);border-color:var(--rt-maroon);color:var(--rt-gold-light);transform:scale(1.06);box-shadow:0 12px 22px -12px rgba(74,16,29,.7)}

/* ---------- Download: planner cover + form ---------- */
body.sdi-rtp .entry-content section:has(.fluentform) .sdi-cols-2{align-items:center;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important}
body.sdi-rtp .entry-content section:has(.fluentform) .sdi-img{max-width:440px;margin:0 auto;border-radius:20px;overflow:hidden;box-shadow:0 40px 70px -36px rgba(74,16,29,.6);transform:rotate(-1.5deg);transition:transform .9s var(--rt-ease),box-shadow .9s var(--rt-ease)}
body.sdi-rtp .entry-content section:has(.fluentform) .sdi-img:hover{transform:rotate(0) translateY(-6px);box-shadow:0 50px 80px -36px rgba(74,16,29,.65)}
body.sdi-rtp .entry-content section:has(.fluentform) .sdi-boxbg{margin:0;padding:0;background:none!important;border:0;box-shadow:none;overflow:visible}

/* ---------- Closing quote ---------- */
body.sdi-rtp .entry-content>section.sdi-block:last-of-type{padding:clamp(56px,6.5vw,88px) 0}
body.sdi-rtp .entry-content>section.sdi-block:last-of-type .sdi-narrow{max-width:840px}
body.sdi-rtp .entry-content>section.sdi-block:last-of-type .sdi-text{color:var(--rt-maroon)!important;font-family:var(--sdi-serif);font-style:italic;font-size:clamp(23px,2.6vw,32px);line-height:1.4;text-wrap:balance}
body.sdi-rtp .entry-content>section.sdi-block:last-of-type .sdi-text::before{content:"";display:block;width:56px;height:1px;margin:0 auto 30px;background:linear-gradient(90deg,transparent,var(--rt-gold),transparent)}
body.sdi-rtp .entry-content>section.sdi-block:last-of-type .sdi-text p{margin:0;color:inherit}
body.sdi-rtp .entry-content>section.sdi-block:last-of-type .sdi-text strong{font-weight:500}

/* ---------- Cards arrive one after another (only when ramadan.js is running) ---------- */
html.rtp-js body.sdi-rtp :is(.sdi-cols-3 .sdi-card,.rf-card,.rb-card,.rp-card,.rm-check){opacity:0;translate:0 22px;transition:opacity .9s var(--rt-ease),translate .9s var(--rt-ease),transform var(--rt-t),box-shadow var(--rt-t),border-color var(--rt-t);transition-delay:calc(var(--rt-i,0)*70ms),calc(var(--rt-i,0)*70ms),0s,0s,0s}
html.rtp-js body.sdi-rtp .rtp-in :is(.sdi-cols-3 .sdi-card,.rf-card,.rb-card,.rp-card,.rm-check),
html.rtp-js body.sdi-rtp :is(.sdi-cols-3,.rf-grid,.rb-stack,.rp-stack,.rm-checklist__grid).rtp-in :is(.sdi-card,.rf-card,.rb-card,.rp-card,.rm-check){opacity:1;translate:0 0}

/* ---------- Keyboard focus ---------- */
body.sdi-rtp .entry-content .sdi-btn:focus-visible{outline:2px solid var(--rt-gold-light);outline-offset:4px}

/* ---------- Tablet ---------- */
@media (max-width:1024px){
	body.sdi-rtp .entry-content .sdi-cols-3{grid-template-columns:repeat(2,1fr)}
	body.sdi-rtp .entry-content>section.sdi-block:first-child::before{background:linear-gradient(180deg,rgba(58,10,22,.78),rgba(74,16,29,.7))}
}

/* ---------- Mobile ---------- */
@media (max-width:767px){
	body.sdi-rtp .entry-content>section.sdi-block:first-child{min-height:0}
	body.sdi-rtp .entry-content>section.sdi-block:first-child::before{background:linear-gradient(180deg,rgba(58,10,22,.9),rgba(74,16,29,.8))}
	body.sdi-rtp .entry-content>section.sdi-block:first-child .sdi-boxbg .sdi-text,
	body.sdi-rtp .entry-content>section.sdi-block:first-child .sdi-boxbg .sdi-text p{font-size:18px}
	body.sdi-rtp .entry-content .sdi-btn{display:flex;justify-content:center;width:100%;box-sizing:border-box;text-align:center}
	body.sdi-rtp .entry-content .sdi-cols-3{grid-template-columns:1fr;gap:14px}
	body.sdi-rtp .entry-content .sdi-cols-3 .sdi-card{padding:28px 24px 26px}
	body.sdi-rtp .entry-content .rf-grid{grid-template-columns:1fr;gap:12px}
	body.sdi-rtp .entry-content .rf-card{padding:18px 20px;gap:16px}
	body.sdi-rtp .entry-content .rf-icon{width:50px;min-width:50px;height:50px;font-size:23px}
	body.sdi-rtp .entry-content .rf-title,body.sdi-rtp .entry-content .rb-title,body.sdi-rtp .entry-content .rp-title{font-size:20px}
	body.sdi-rtp .entry-content .rm-checklist__box{border-radius:20px}
	body.sdi-rtp .entry-content .rm-checklist__grid{grid-template-columns:1fr}
	body.sdi-rtp .entry-content .rm-checklist__grid>div:first-child>.rm-check:last-child{border-bottom:1px solid rgba(245,237,225,.12)}
	body.sdi-rtp .entry-content .rm-check__text{font-size:16px}
	body.sdi-rtp .entry-content .sdi-cols-2,
	body.sdi-rtp .entry-content section:has(.fluentform) .sdi-cols-2{grid-template-columns:1fr!important;gap:32px}
	body.sdi-rtp .entry-content section:has(.rb-section) .sdi-img{max-width:340px}
	body.sdi-rtp .entry-content .rb-card{padding:20px 22px}
	body.sdi-rtp .entry-content .rb-card::after{display:none}
	body.sdi-rtp .entry-content .sdi-group>.sdi-boxbg.sdi-on-dark{border-radius:20px}
	body.sdi-rtp .entry-content .rp-card{padding:18px 18px;gap:16px}
	body.sdi-rtp .entry-content .rp-number{width:48px;min-width:48px;height:48px;font-size:20px}
	body.sdi-rtp .entry-content .rp-stack::before{left:42px}
	body.sdi-rtp .entry-content section:has(.fluentform) .sdi-img{max-width:300px}
}

/* ---------- Touch screens and reduced motion: no lifts, no slides ---------- */
@media (hover:none){
	body.sdi-rtp .entry-content :is(.sdi-card,.rf-card,.rb-card,.rp-card,.rm-check):hover{transform:none}
}
@media (prefers-reduced-motion:reduce){
	body.sdi-rtp .entry-content :is(.sdi-card,.rf-card,.rb-card,.rp-card,.rm-check,.rf-icon,.rp-number,.sdi-img,.sdi-img img,.sdi-boxbg),
	body.sdi-rtp .entry-content :is(.sdi-card,.rf-card,.rb-card,.rp-card)::before,
	body.sdi-rtp .entry-content :is(.sdi-card,.rb-card)::after{transition:none!important;transform:none!important}
	html.rtp-js body.sdi-rtp :is(.sdi-cols-3 .sdi-card,.rf-card,.rb-card,.rp-card,.rm-check){opacity:1!important;translate:none!important}
	body.sdi-rtp .entry-content section:has(.fluentform) .sdi-img{transform:none!important}
}

/* ---------- Six cards, homepage style: number badge, gold tab, first card maroon and the highlight follows the pointer ---------- */
body.sdi-rtp .entry-content .sdi-cols-3 .sdi-card{padding:30px 28px 30px;transition:transform var(--rt-t),box-shadow var(--rt-t),border-color var(--rt-t),background-color var(--rt-t)}
html.rtp-js body.sdi-rtp .entry-content .sdi-cols-3 .sdi-card{transition:opacity .9s var(--rt-ease),translate .9s var(--rt-ease),transform var(--rt-t),box-shadow var(--rt-t),border-color var(--rt-t),background-color var(--rt-t);transition-delay:calc(var(--rt-i,0)*70ms),calc(var(--rt-i,0)*70ms),0s,0s,0s,0s}
body.sdi-rtp .entry-content .sdi-cols-3 .sdi-card::before{display:grid;place-items:center;width:48px;height:48px;margin:0 0 18px;border-radius:14px;background:linear-gradient(145deg,#FBF1E2,#F5E6EC);border:1px solid #EBDCC7;color:var(--rt-maroon);font:600 17px/1 var(--sdi-sans);transform:none;transition:background .5s var(--rt-ease),color .5s var(--rt-ease),border-color .5s var(--rt-ease)}
body.sdi-rtp .entry-content .sdi-cols-3 .sdi-card::after{left:28px;right:auto;top:0;width:32px;height:3px;border-radius:0 0 3px 3px;transform:none;transition:width .5s var(--rt-ease)}
body.sdi-rtp .entry-content .sdi-cols-3 .sdi-card h3,body.sdi-rtp .entry-content .sdi-cols-3 .sdi-card p{transition:color .5s var(--rt-ease)}
body.sdi-rtp .entry-content .sdi-cols-3 .sdi-card:hover,
body.sdi-rtp .entry-content .sdi-cols-3:not(:has(.sdi-card:hover))>.sdi-col:first-child .sdi-card{background:#5A1424;border-color:var(--rt-gold-light);transform:translateY(-6px);box-shadow:var(--rt-shadow-h)}
body.sdi-rtp .entry-content .sdi-cols-3 .sdi-card:hover::before,
body.sdi-rtp .entry-content .sdi-cols-3:not(:has(.sdi-card:hover))>.sdi-col:first-child .sdi-card::before{background:linear-gradient(135deg,#C9A15A,#B8924A 50%,#D8BE86);border-color:transparent;color:#3E0A1B;transform:none}
body.sdi-rtp .entry-content .sdi-cols-3 .sdi-card:hover::after,
body.sdi-rtp .entry-content .sdi-cols-3:not(:has(.sdi-card:hover))>.sdi-col:first-child .sdi-card::after{width:64px;transform:none}
body.sdi-rtp .entry-content .sdi-cols-3 .sdi-card:hover h3,
body.sdi-rtp .entry-content .sdi-cols-3:not(:has(.sdi-card:hover))>.sdi-col:first-child .sdi-card h3{color:#fff}
body.sdi-rtp .entry-content .sdi-cols-3 .sdi-card:hover p,
body.sdi-rtp .entry-content .sdi-cols-3:not(:has(.sdi-card:hover))>.sdi-col:first-child .sdi-card p{color:rgba(245,237,225,.82)}
@media (max-width:640px){
body.sdi-rtp .entry-content .sdi-cols-3 .sdi-card{padding:24px 22px}
body.sdi-rtp .entry-content .sdi-cols-3 .sdi-card::after{left:22px}
}
/* Hero heading on phones: keep it to two lines */
@media (max-width:480px){body.sdi-rtp .entry-content>section.sdi-block:first-child :is(h1,h2).sdi-h{font-size:7.6vw;line-height:1.12}}
