@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');
:root{--green:#123f35;--gold:#d8af4c;--cream:#f7f4e9;--muted:#53685f}body{background:#fffefa;font-size:16px}p{font-size:16px!important}a,button{touch-action:manipulation}.wrap{max-width:1280px;width:calc(100% - 96px)}.utility{background:#103a31;color:#e2e9dd}.utility>.wrap{font-size:13px;min-height:34px}header{background:#fffefa}.nav{height:100px}.nav nav{font-size:14px;gap:25px}.button{font-size:14px;border-radius:6px;min-height:48px}.button.gold{background:#d8af4c;color:#143d33}.brand .original-logo{width:210px}.eyebrow{font-size:12px!important;letter-spacing:2px}.sanctuary{background:#123f35;color:#f8f4e5;position:relative;overflow:hidden}.sanctuary:before{content:'';position:absolute;inset:0;opacity:.11;background-image:linear-gradient(45deg,transparent 48%,#d8af4c 49%,#d8af4c 50%,transparent 51%),linear-gradient(-45deg,transparent 48%,#d8af4c 49%,#d8af4c 50%,transparent 51%);background-size:88px 88px;mask-image:linear-gradient(90deg,black,transparent)}.sanctuary-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:90px;padding-top:65px;padding-bottom:65px;align-items:center;position:relative}.welcome>.eyebrow{color:#ddbd68}.welcome h1{font-family:var(--serif);font-weight:400;font-size:clamp(64px,5.9vw,94px);line-height:1.01;letter-spacing:-1.8px;margin:26px 0}.welcome h1 em{color:#dfc574;font-weight:400}.welcome .arabic{font-family:serif;font-size:35px!important;color:#dfb94f;direction:rtl;text-align:left;margin:24px 0 15px}.welcome>p{max-width:485px;color:#d6e0d4;line-height:1.8}.welcome .button-row{margin-top:30px}.hero-location{margin-top:42px;font-size:14px;line-height:1.8;color:#e1e5d7}.hero-location span{color:#a8bfb0}.prayer-arch{background:#f7f3e5;color:#153d33;border-radius:49% 49% 14px 14px / 15% 15% 14px 14px;padding:45px 26px 24px;outline:1px solid #cbbd94;outline-offset:-10px;text-align:center;min-width:0;box-shadow:0 25px 50px #092b3322}.arch-symbol{display:block;color:#9f7c2e;font-size:28px;margin-bottom:12px}.prayer-arch .eyebrow{display:block;color:#8a6b25;margin-bottom:12px}.prayer-arch h2{font-size:38px;margin:0 0 10px}.prayer-arch p{margin:5px 0;font-size:14px!important}.prayer-arch #hijri-date{font-size:12px!important;color:#657268}.live-label{margin:20px 0 10px;padding:11px;background:#164b3f;color:white;border-radius:5px;font-size:14px}.prayer-arch iframe{border:0;width:100%;height:280px;background:white;border-radius:5px}.prayer-arch>.text-link{display:inline-block;margin-top:12px;font-size:14px}.arch-bottom{margin-top:16px;border-top:1px solid #d7d5c4;padding-top:15px;display:flex;gap:12px;justify-content:space-between;font-size:12px}.arch-bottom button{border:0;background:transparent;color:inherit;font:inherit;text-decoration:underline;cursor:pointer}.quick-links{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid #dfe3d8;padding:26px 0;gap:20px}.quick-links a{font-size:14px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:14px;border-right:1px solid #dfe3d8}.quick-links a:last-child{border:0}.quick-links span{color:#a88332;font-size:25px}.section{padding:90px 0}.intro-row{grid-template-columns:1fr 1fr}.intro-row h2,.section-head h2{font-size:55px;line-height:1.08}.intro-row p{max-width:500px}.mosque-strip{position:relative;height:310px;overflow:hidden;border-radius:6px}.mosque-strip img{width:100%;height:100%;object-fit:cover}.mosque-strip:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#062f28a0,transparent 65%)}.mosque-strip>span{position:absolute;bottom:25px;left:30px;color:white;z-index:1;font-size:12px;letter-spacing:3px}.services{background:#f2f4ed}.program-card{border:1px solid #dce2d6;border-radius:8px;background:#fffefa;padding:30px}.program-card h3{font-size:31px}.program-card p{font-size:15px!important}.program-card button,.text-link{font-size:14px}.program-icon{color:#a9812d}.feature-section{background:#fffefa;padding:90px 0}.feature-copy h2{font-size:59px}.feature-list{font-size:14px}.feature-photo>img{border-radius:45% 45% 5px 5px / 25% 25% 5px 5px}.updates{background:#f6f4ec}.newsletter-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.newsletter-cards>a{padding:32px;background:#fffefa;border:1px solid #e0dfd2;border-radius:10px;display:flex;flex-direction:column;align-items:flex-start;transition:transform .2s,box-shadow .2s}.newsletter-cards>a:hover{transform:translateY(-5px);box-shadow:0 15px 30px #143f3510}.newsletter-cards h3{font:38px/1.1 var(--serif);margin:20px 0 30px}.newsletter-cards>a>span:last-child{font-size:14px;text-decoration:underline}.mail-icon{font-size:28px;color:#9a7730;padding:10px 15px;background:#f5f0df;border-radius:8px;margin-bottom:25px}.newsletter-cards .eyebrow{color:#8b783e}.calendar-section{background:#eaf0e7}.calendar-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:100px;align-items:center}.calendar-layout h2{font-size:55px}.calendar-layout p{max-width:470px}.calendar-note{font-size:13px!important;color:#5a6c61;margin-top:18px}.mini-calendar{background:#fffefa;padding:30px;border-radius:12px;border:1px solid #d3dfcf}.calendar-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.calendar-heading h3{font:30px var(--serif);margin:0}.calendar-heading button{border:1px solid #e0e3d6;border-radius:50%;width:36px;height:36px;background:transparent;color:var(--green);font-size:24px;cursor:pointer}.calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:7px;text-align:center}.calendar-days span{height:37px;display:grid;place-items:center;font-size:14px}.calendar-days .weekday{color:#7a846f;font-size:12px}.calendar-days .today{background:var(--green);color:white;border-radius:50%}.calendar-today{display:block;margin:20px auto 0;background:none;border:0;color:var(--green);text-decoration:underline;cursor:pointer}.portal-section{background:#fffefa}.portal-grid .program-card p{font-size:14px!important}.portal-tag{font-size:11px}.newsletter{background:#173f35}.newsletter h2{font-size:38px}.footer-grid h3{font-size:15px}.footer-grid p,.footer-grid>div>a:not(.brand){font-size:14px}.footer-bottom{font-size:12px}.event-copy .meta{font-size:12px}.event-copy p{font-size:15px!important}:focus-visible{outline:3px solid #b68b25;outline-offset:5px}html{scroll-padding-top:110px}
@media(max-width:1150px){.wrap{width:calc(100% - 56px)}.sanctuary-grid{gap:40px}.nav nav{gap:16px;font-size:12px}.brand .original-logo{width:175px}.welcome h1{font-size:76px}.prayer-arch h2{font-size:32px}.calendar-layout{gap:45px}}
@media(max-width:900px){.nav nav{font-size:16px}.sanctuary-grid{grid-template-columns:1fr 1fr;gap:30px}.welcome h1{font-size:58px}.quick-links{grid-template-columns:1fr 1fr}.quick-links a:nth-child(2){border:0}.intro-row h2,.section-head h2,.calendar-layout h2{font-size:44px}.newsletter-cards h3{font-size:31px}.newsletter-cards>a{padding:24px}.calendar-layout{gap:30px}.feature-copy h2{font-size:44px}}
@media(max-width:760px){.wrap{width:calc(100% - 36px)}.nav{height:78px}.brand .original-logo{width:160px}.utility>.wrap{font-size:11px}.sanctuary-grid{grid-template-columns:1fr;padding:42px 0 35px;gap:36px}.welcome h1{font-size:65px}.welcome>.eyebrow{font-size:10px!important;letter-spacing:1.4px}.welcome .arabic{margin-top:20px}.hero-location{margin-top:25px}.prayer-arch{padding:40px 22px 25px;max-width:480px;width:100%;margin:auto}.quick-links{gap:22px 10px;padding:25px 0}.quick-links a{font-size:12px;gap:8px}.quick-links span{font-size:21px}.section,.feature-section{padding:55px 0}.intro-row{grid-template-columns:1fr;gap:12px}.intro-row h2,.section-head h2,.calendar-layout h2{font-size:43px}.mosque-strip{height:230px}.mosque-strip>span{font-size:10px;letter-spacing:1px;left:20px}.program-grid{grid-template-columns:1fr}.program-card{padding:28px}.program-card h3{font-size:32px}.newsletter-cards{grid-template-columns:1fr}.newsletter-cards h3{font-size:37px}.calendar-layout{grid-template-columns:1fr;gap:25px}.mini-calendar{padding:22px}.calendar-days{gap:5px}.newsletter h2{font-size:32px}.footer-grid p{font-size:14px!important}.feature-list{grid-template-columns:1fr;font-size:14px}.portal-grid{grid-template-columns:1fr}.footer-bottom{padding-bottom:10px}}

/* Reference-style prayer calendar */
.prayer-arch{padding:28px 28px 22px;border-radius:48% 48% 16px 16px / 10% 10% 16px 16px}.prayer-arch .arch-symbol{margin:0 0 9px;font-size:26px}.prayer-date-nav{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:20px}.prayer-date-nav>div{flex:1}.prayer-date-nav button{flex:none;border:1px solid #d9d5c2;background:#faf7ed;border-radius:50%;width:36px;height:36px;font-size:26px;line-height:1;color:#21473c;cursor:pointer}.prayer-date-nav h2{font-size:25px;line-height:1.2;font-family:var(--serif);margin:0 0 6px}.prayer-date-nav .eyebrow{font-size:10px!important;margin:0 0 8px;letter-spacing:2px}.prayer-arch #prayer-hijri{font-size:12px!important;color:#5d7067;margin:0}.next-prayer{background:#103e33;border-radius:13px;padding:18px;color:#f8f3df;text-align:left}.next-label{display:flex;justify-content:space-between;font-size:10px;letter-spacing:1.4px;color:#bdd6d4;font-weight:700;gap:10px}.next-main{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px}.next-main h3{font:28px var(--serif);margin:0 0 8px}.next-main h3 span{font-size:20px;color:#ddb44b}.next-main p{font-size:12px!important;margin:0}.countdown{text-align:right}.countdown>strong{font-size:29px;color:#dcad39;font-variant-numeric:tabular-nums}.prayer-progress{height:4px;background:#43604d;border-radius:10px;margin-top:16px;overflow:hidden}.prayer-progress span{display:block;height:100%;background:#d9ad3c;border-radius:10px}.prayer-table{width:100%;border-collapse:collapse;margin-top:12px;text-align:left;font-size:14px}.prayer-table thead th{font-size:10px;letter-spacing:1.5px;color:#526a60;padding:11px 6px}.prayer-table th:first-child{width:43%;font-weight:600}.prayer-table td,.prayer-table tbody th{padding:11px 6px;border-top:1px solid #dedecb}.prayer-table th:nth-child(2),.prayer-table td:nth-child(2){text-align:center;white-space:nowrap}.prayer-table td:last-child,.prayer-table th:last-child{text-align:right;white-space:nowrap}.prayer-table tbody td:last-child{font-weight:650}.prayer-table tbody th span{font-weight:400;color:#3c7767;margin-left:5px}.prayer-table .upcoming{background:#efe4bf;box-shadow:inset 3px 0 #947120}.prayer-friday{border-top:1px solid #d6d8c5;margin-top:10px;padding:12px 0;display:grid;gap:9px;text-align:left;font-size:12px}.prayer-friday>div{display:flex;justify-content:space-between;gap:10px}.prayer-friday b{color:#947120;margin-right:8px}.prayer-download{display:flex;align-items:center;justify-content:space-between;gap:10px}.prayer-download button{border:0;background:#123f35;color:#fffefa;border-radius:24px;padding:13px 18px;font-size:12px;font-weight:600;cursor:pointer}.prayer-download #prayer-today{background:transparent;color:#365b4d;text-decoration:underline;padding:10px}.prayer-source{font-size:11px!important;line-height:1.5;color:#637269;text-align:left;margin:12px 0 5px!important}.prayer-official{font-size:12px;text-decoration:underline;display:block;text-align:left}@media(max-width:760px){.prayer-arch{padding:32px 22px 24px}.prayer-date-nav h2{font-size:24px}.prayer-date-nav{gap:7px}.prayer-date-nav button{width:31px;height:31px}.next-main h3{font-size:27px}.prayer-table{font-size:13px}.prayer-table th:first-child{width:40%}.prayer-table tbody th span{margin-left:2px}.prayer-table td,.prayer-table tbody th{padding:11px 4px}}
/* Stronger editorial type and a single-screen desktop opening. */

:root{--serif:'Lora',Georgia,serif}body{font-weight:450}h1,h2,h3,.welcome h1,.feature-copy h2,.intro-row h2,.section-head h2{font-family:var(--serif);font-weight:600;letter-spacing:-.035em}.nav nav{font-weight:650}.button,.text-link,.program-card button{font-weight:700}.nav{height:84px}.utility>.wrap{min-height:28px}.welcome h1{font-size:clamp(52px,4.8vw,76px);line-height:1.08;letter-spacing:-.045em;margin:20px 0}.welcome h1 em{font-weight:600}.welcome>p{max-width:485px;line-height:1.7}.welcome .arabic{font-size:30px!important;margin:20px 0 12px}.welcome .button-row{margin-top:24px}.hero-location{margin-top:28px}.sanctuary-grid{grid-template-columns:minmax(0,1.15fr) minmax(390px,.85fr);gap:clamp(35px,5vw,85px);min-height:calc(100svh - 112px);padding-top:24px;padding-bottom:24px;align-items:center}.prayer-arch{max-width:480px;justify-self:end;width:100%;padding:20px 23px 17px}.prayer-arch .arch-symbol{font-size:21px;margin-bottom:6px}.prayer-date-nav{margin-bottom:13px}.prayer-date-nav h2{font-size:21px;font-weight:600;letter-spacing:-.025em}.prayer-date-nav .eyebrow{font-size:10px!important;letter-spacing:1.5px;margin-bottom:6px}.prayer-arch #prayer-hijri{font-size:11px!important}.next-prayer{padding:13px 15px}.next-label{font-size:9px;letter-spacing:1px}.next-main{margin-top:8px}.next-main h3{font-family:var(--serif);font-size:26px;font-weight:600;margin-bottom:5px}.next-main p{font-size:11px!important}.countdown>strong{font-size:27px}.prayer-progress{margin-top:12px}.prayer-table{margin-top:9px;font-size:13px}.prayer-table td,.prayer-table tbody th{padding:8px 5px}.prayer-table thead th{padding:8px 5px}.prayer-friday{font-size:11px;margin-top:7px;padding:9px 0;gap:5px}.prayer-download button{font-size:11px;padding:10px 15px}.prayer-source{font-size:10px!important;line-height:1.4;margin:8px 0 4px!important}.prayer-official{font-size:11px}.mosque-strip{height:400px;border-radius:12px;box-shadow:0 16px 40px #123f3510}.mosque-strip img{object-position:center 52%}.mosque-strip:after{background:linear-gradient(0deg,#082e28dc 0%,#103b3230 48%,transparent 80%)}.mosque-strip>span{bottom:34px;left:40px;font-size:13px;letter-spacing:2px;line-height:1.6}.mosque-strip>span strong{display:block;font:600 36px/1.2 var(--serif);letter-spacing:-1px;color:#fff9e8;margin-top:8px}.intro-row h2,.section-head h2,.calendar-layout h2{font-size:clamp(38px,3.6vw,54px);font-weight:600}.feature-copy h2{font-size:54px;font-weight:600}.program-card h3{font-weight:600;font-size:28px}.newsletter-cards h3{font-family:var(--serif);font-weight:600;font-size:33px}.event-copy h3{font-weight:600}.callout h2{font-weight:600}.visit-photo img{border-radius:12px;object-fit:cover;object-position:center}.callout-image img{object-position:center}.callout-image:after{background:linear-gradient(90deg,#062d26f2,#062d2699 45%,#062d2610 80%)}
@media(min-width:1000px) and (max-height:820px){.welcome h1{font-size:62px}.sanctuary-grid{padding-top:18px;padding-bottom:18px}.prayer-arch{padding-top:17px;padding-bottom:14px}.prayer-date-nav{margin-bottom:10px}.prayer-table td,.prayer-table tbody th{padding-top:7px;padding-bottom:7px}.hero-location{margin-top:20px}.welcome .arabic{margin-top:15px}.welcome>p{line-height:1.6}}
@media(max-width:999px){.sanctuary-grid{gap:30px;grid-template-columns:minmax(0,1fr) minmax(340px,1fr);min-height:0;padding-top:35px;padding-bottom:35px}.welcome h1{font-size:49px}.welcome .button-row{gap:10px}.welcome .button{padding:11px 14px;font-size:12px}.prayer-arch{padding:23px 19px 18px}.prayer-date-nav h2{font-size:19px}}
@media(max-width:760px){.nav{height:76px}.sanctuary-grid{grid-template-columns:1fr;padding-top:34px;padding-bottom:30px;gap:32px;min-height:0}.welcome h1{font-size:clamp(44px,10vw,63px);line-height:1.09;max-width:560px}.welcome>.eyebrow{line-height:1.7}.welcome>p{font-size:15px!important}.welcome .button{font-size:13px;padding:12px 17px}.prayer-arch{justify-self:center;max-width:490px;padding:26px 22px 20px}.prayer-date-nav h2{font-size:22px}.prayer-table td,.prayer-table tbody th{padding:10px 5px}.prayer-friday{font-size:12px;gap:7px}.prayer-source{font-size:11px!important}.prayer-official{font-size:12px}.mosque-strip{height:280px}.mosque-strip>span{left:22px;bottom:22px;font-size:10px}.mosque-strip>span strong{font-size:27px;letter-spacing:-.6px}.feature-copy h2{font-size:42px}.intro-row h2,.section-head h2,.calendar-layout h2{font-size:38px}.newsletter-cards h3{font-size:32px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Final contrast and hero-image corrections. */
.newsletter,.newsletter h2,.newsletter p{color:#fff9e9}.newsletter .eyebrow{color:#e7c66d}.newsletter .button.light{background:#fff8e7;color:#123f35}.sanctuary{background:#0b352e url('assets/masjid-al-rahmah-dusk.png') center bottom/cover no-repeat}.sanctuary:before{opacity:1;background:linear-gradient(90deg,rgba(4,35,30,.94) 0%,rgba(5,38,32,.82) 35%,rgba(5,38,32,.38) 65%,rgba(5,38,32,.42) 100%);mask-image:none;pointer-events:none}.welcome{position:relative;z-index:1}.welcome h1{color:#fff9e9}.welcome>p{color:#edf0e5}.welcome .hero-location{color:#f0f0df}.sanctuary-grid{z-index:1}.prayer-arch p.prayer-source{font-size:10px!important;line-height:1.4}.prayer-arch p#prayer-hijri{font-size:11px!important}.prayer-arch .arch-symbol{line-height:1;height:23px}.prayer-table{line-height:1.35}.prayer-table td,.prayer-table tbody th{padding:7px 5px}.prayer-arch .next-main p{font-size:11px!important;line-height:1.4}.next-label{line-height:1.4}.prayer-friday{line-height:1.35}.prayer-date-nav h2{line-height:1.2}.next-main h3{line-height:1.15}.prayer-arch .next-main{min-height:52px}.prayer-arch .next-prayer{min-height:110px}.prayer-arch .prayer-source{margin-top:7px!important}.prayer-arch .prayer-official{line-height:1.4}.prayer-arch{box-shadow:0 15px 45px #001f2955}.sanctuary-grid{grid-template-columns:minmax(0,1fr) minmax(400px,.82fr)}
@media(min-width:1000px){.sanctuary-grid{padding-top:20px;padding-bottom:20px}.prayer-arch{max-width:460px;padding:18px 22px 16px}.prayer-date-nav{margin-bottom:10px}.prayer-friday{padding:8px 0;gap:5px}.prayer-date-nav h2{font-size:20px}}
@media(max-width:999px) and (min-width:761px){.sanctuary-grid{grid-template-columns:minmax(0,1fr) minmax(340px,1fr)}}
@media(max-width:760px){.sanctuary{background-size:auto 650px;background-position:42% top;background-repeat:no-repeat;background-color:#103d33}.sanctuary:before{background:linear-gradient(180deg,#072c26bd,#072c2685 480px,#103d33 700px)}.sanctuary-grid{grid-template-columns:1fr}.prayer-arch{padding:25px 22px 20px}.prayer-table td,.prayer-table tbody th{padding:10px 5px}.prayer-arch p.prayer-source{font-size:11px!important}.newsletter h2{color:#fff9e9}}
@media(min-width:761px){.sanctuary{background-position:right bottom}.sanctuary:before{background:linear-gradient(90deg,rgba(4,35,30,.92),rgba(5,38,32,.72) 38%,rgba(5,38,32,.22) 62%,rgba(5,38,32,.35))}}
@media(min-width:1000px) and (max-height:780px){.prayer-arch{padding-top:14px;padding-bottom:12px}.prayer-date-nav h2{font-size:19px}.prayer-arch .arch-symbol{height:19px;font-size:19px}.prayer-table td,.prayer-table tbody th{padding-top:6px;padding-bottom:6px}.welcome h1{font-size:56px}.welcome .arabic{font-size:26px!important}.welcome>p{font-size:15px!important}.hero-location{font-size:12px}.sanctuary-grid{padding-top:14px;padding-bottom:14px}}
@media(min-width:1000px) and (max-height:780px){.prayer-arch{zoom:.92}.sanctuary-grid{min-height:calc(100svh - 113px)}}
/* Riwaq-inspired, layered program photography with a prominent central slide. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.learning-showcase{background:#f2efe6;padding:85px 0 55px;overflow:hidden}.learning-intro{display:grid;grid-template-columns:1fr 1fr;gap:90px;margin-bottom:50px;align-items:start}.learning-intro h2{font:600 clamp(44px,4.8vw,73px)/1.08 var(--serif);letter-spacing:-.045em;margin:15px 0 0}.learning-intro h2 em{font-weight:500;color:#a07b2e}.learning-intro>div:last-child{max-width:480px;justify-self:end;padding-top:14px}.learning-intro p{color:#58645a;line-height:1.8;margin-bottom:23px}.learning-carousel{position:relative}.learning-stage{height:640px;position:relative;max-width:1800px;margin:auto;isolation:isolate;touch-action:pan-y}.learning-slide{position:absolute;top:0;left:50%;width:min(48vw,660px);transform:translateX(-50%);transition:transform .55s ease,opacity .55s ease,filter .55s ease;z-index:4}.slide-image{display:block;width:100%;height:430px;border:0;border-radius:15px;overflow:hidden;padding:0;background:#163e34;cursor:pointer;box-shadow:0 16px 35px #15382f15}.slide-image img{width:100%;height:100%;object-fit:cover;pointer-events:none}.slide-caption{padding:23px 16px 0;text-align:center;transition:opacity .25s}.slide-caption .eyebrow{font-size:10px!important;color:#887034}.slide-caption h3{font:600 30px/1.25 var(--serif);margin:10px 0}.slide-caption p{font-size:14px!important;color:#526358;margin:0 0 12px;line-height:1.5}.slide-caption .text-link{border:0;border-bottom:1px solid #829887;padding:0 0 4px;background:transparent;color:#123f35;cursor:pointer;font-size:13px}.learning-slide:not(.is-active) .slide-caption{opacity:0;visibility:hidden}.learning-slide[data-offset='-1']{transform:translateX(-111%) translateY(50px) scale(.87);opacity:.5;filter:saturate(.6);z-index:3}.learning-slide[data-offset='1']{transform:translateX(11%) translateY(50px) scale(.87);opacity:.5;filter:saturate(.6);z-index:3}.learning-slide[data-offset='-2']{transform:translateX(-162%) translateY(98px) scale(.73);opacity:.24;filter:saturate(.3);z-index:2}.learning-slide[data-offset='2']{transform:translateX(62%) translateY(98px) scale(.73);opacity:.24;filter:saturate(.3);z-index:2}.learning-slide[data-offset='3'],.learning-slide[data-offset='-3']{opacity:0;visibility:hidden;pointer-events:none;transform:translateX(170%) scale(.7);z-index:0}.learning-controls{display:flex;align-items:center;justify-content:center;gap:25px}.learning-controls>button{width:43px;height:43px;border:1px solid #b9c2b3;border-radius:50%;background:transparent;color:#123f35;font-size:26px;cursor:pointer}.learning-controls>button:hover{background:#123f35;color:#fff9e9}.learning-dots{display:flex;gap:10px}.learning-dots button{width:10px;height:10px;padding:0;background:#c4c8b7;border:0;border-radius:50%;cursor:pointer}.learning-dots button.active{background:#123f35;box-shadow:0 0 0 4px #123f3512}.welcome-faq{background:#f3f5ed}.faq-layout{display:grid;grid-template-columns:1fr 1fr;gap:100px}.faq-layout h2{font:600 48px/1.12 var(--serif);margin:15px 0 25px;letter-spacing:-.04em}.faq-layout h2 em{font-weight:500;color:#93722e}.faq-layout>div>p{color:#586a5d;max-width:460px;line-height:1.8;margin-bottom:25px}.faq-list details{border-bottom:1px solid #cfd8c8;padding:23px 0}.faq-list details:first-child{border-top:1px solid #cfd8c8}.faq-list summary{font-size:17px;font-weight:650;color:#123f35;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:20px}.faq-list summary:after{content:'+';font-weight:400;font-size:24px;line-height:1}.faq-list details[open] summary:after{content:'−'}.faq-list details p{font-size:15px!important;line-height:1.7;color:#536858;margin:20px 0 12px}.faq-list details a{font-size:14px;text-decoration:underline;text-underline-offset:4px}.faq-list details> a{display:inline-block;margin-bottom:8px}
@media(max-width:900px){.learning-intro{gap:40px}.learning-stage{height:580px}.slide-image{height:350px}.learning-slide{width:55vw}.faq-layout{gap:45px}.faq-layout h2{font-size:40px}}
@media(max-width:600px){.learning-showcase{padding:55px 0 38px}.learning-intro{grid-template-columns:1fr;gap:20px;margin-bottom:30px}.learning-intro h2{font-size:46px}.learning-intro>div:last-child{justify-self:start;padding:0}.learning-intro p{font-size:15px!important;margin-bottom:15px}.learning-slide{width:78vw}.slide-image{height:300px;border-radius:12px}.learning-stage{height:520px}.slide-caption{padding:20px 2px 0}.slide-caption h3{font-size:26px}.slide-caption p{font-size:14px!important}.learning-slide[data-offset='-1']{transform:translateX(-121%) translateY(40px) scale(.86)}.learning-slide[data-offset='1']{transform:translateX(21%) translateY(40px) scale(.86)}.learning-controls{gap:22px}.learning-dots{gap:9px}.faq-layout{grid-template-columns:1fr;gap:32px}.faq-layout h2{font-size:39px}.faq-list summary{font-size:16px}.faq-list details{padding:21px 0}}
@media(prefers-reduced-motion:reduce){.learning-slide,.slide-caption{transition:none}}
/* Purposeful imagery on every program card, with original brand badges retained. */
.program-card.photo-program-card,.portal-grid .program-card.photo-program-card{padding:0;overflow:hidden;display:flex;flex-direction:column;background:#fffefa}.program-cover{height:190px;position:relative;overflow:hidden;background:#dce5d8}.program-cover>img{width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .35s}.photo-program-card:hover .program-cover>img{transform:scale(1.035)}.program-card-body{padding:25px 24px;display:flex;flex-direction:column;flex:1}.program-card-body h3{font-size:27px;line-height:1.2;margin:9px 0 15px}.program-card-body>p{font-size:15px!important;line-height:1.7;margin:0 0 22px}.program-card-body>button,.program-card-body>.text-link{align-self:flex-start;margin-top:auto}.program-card-body .portal-tag{font-size:10px;letter-spacing:1.4px;line-height:1.6;margin:0;color:#886d2e}.program-logo-badge{position:absolute;left:16px;bottom:14px;width:58px;height:58px;background:#fffdf6;padding:6px;border-radius:10px;box-shadow:0 4px 15px #10382d22}.program-logo-badge>img{height:100%;width:100%;object-fit:contain}.portal-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.portal-grid .program-cover{height:215px}.portal-grid .program-card h3{font-size:27px}.program-detail-photo{height:240px;object-fit:cover;object-position:center}.newsletter-cards>a{overflow:hidden}.newsletter-photo{width:calc(100% + 64px);max-width:none;height:180px;object-fit:cover;margin:-32px -32px 27px;border-radius:0}.newsletter-cards .mail-icon{display:none}.newsletter-cards h3{margin-top:16px}.slide-image img{object-position:center!important}.learning-slide .slide-image{background:#dce5d8}
@media(max-width:1150px){.program-card-body{padding:22px 19px}.program-card-body h3{font-size:24px}.program-cover{height:170px}.portal-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.newsletter-photo{width:calc(100% + 48px);margin:-24px -24px 25px}}
@media(max-width:900px){.portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.program-cover{height:210px}.portal-grid .program-cover{height:200px}}
@media(max-width:600px){.program-cover,.portal-grid .program-cover{height:220px}.portal-grid{grid-template-columns:1fr}.program-card-body{padding:24px}.program-card-body h3,.portal-grid .program-card h3{font-size:28px}.newsletter-photo{height:200px}.program-detail-photo{height:200px}}
@media(prefers-reduced-motion:reduce){.program-cover>img{transition:none}}
.faq-photo{width:100%;max-width:460px;height:240px;object-fit:cover;border-radius:12px;margin:0 0 24px}.newsletter{background:linear-gradient(90deg,#123f35f5,#123f35e0),url('assets/isb-banner.jpg') center/cover}.photo-program-card .program-card-body p{min-height:0}.program-grid .photo-program-card{min-width:0}.program-detail-photo{width:100%}
.program-cover.official-artwork>img{object-fit:contain;background:#f5f1e7;padding:6px}.slide-image:has(img[src$="isb-sisters-official.png"]) img{object-fit:contain;background:#eeeaf0}.faq-photo{height:330px;object-position:center 65%}.learning-slide img[src$="p10-1.jpg"]{object-position:center 38%!important}.learning-slide img[src$="p7-3.jpg"]{object-fit:contain;background:#e8e7df}.program-cover img[src$="p8-3.jpg"]{object-position:center 35%}
@media(max-width:600px){.faq-photo{height:310px}.learning-slide img[src$="p10-1.jpg"]{object-fit:contain;background:#e9ece5}}

/* Consistent photo frames and a single combined visitor section. */
.program-cover>img{display:block;max-width:none;width:100%;height:100%;object-fit:cover}.program-cover{flex-shrink:0}.newsletter-photo{display:block;object-fit:cover}.welcome-faq .faq-photo{max-width:none;height:auto;aspect-ratio:2/1;object-fit:cover;object-position:center}.welcome-faq .address{margin:22px 0}.welcome-faq .address span{display:block;margin-top:8px}.welcome-faq .faq-list{align-self:center}

/* Shared landscape media format across every content card. */
.program-cover,.portal-grid .program-cover,.event-image{width:100%;height:auto;aspect-ratio:3/2;align-self:stretch;flex-shrink:0}
.program-cover>img,.program-cover.official-artwork>img,.event-image>img{display:block;width:100%;height:100%;max-width:none;object-fit:contain;object-position:center;padding:0;background:#f0eee6;transform:none!important}
.newsletter-cards>a{padding:0 0 28px;display:flex;flex-direction:column}
.newsletter-cards>a>.newsletter-photo{width:100%;max-width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;margin:0 0 26px;background:#f0eee6}
.newsletter-cards>a>:not(img){margin-left:26px;margin-right:26px}
.slide-image{height:auto;aspect-ratio:3/2}.slide-image img{object-fit:contain!important;object-position:center!important}
.program-detail-photo{height:auto;aspect-ratio:3/2;object-fit:contain}
@media(max-width:600px){.slide-image{height:auto}.newsletter-cards>a>.newsletter-photo{height:auto}.program-cover,.portal-grid .program-cover,.event-image{height:auto}}

/* Preserve original photographs completely inside consistent card frames. */
.program-cover,.portal-grid .program-cover{width:100%;align-self:stretch}.program-cover>img,.event-image>img,.slide-image img{object-fit:contain!important;object-position:center!important}.sanctuary{background-image:linear-gradient(90deg,rgba(10,40,32,.92),rgba(10,40,32,.55)),url('assets/quran-hero-generated.png');background-size:cover;background-position:center}
