
.jlws{padding:clamp(22px,3vw,34px) 0 4px}
.jlws-in,.jlsh-in,.jlt-in{max-width:1180px;margin:0 auto;padding:0 clamp(16px,4vw,32px)}
.jlh-h{display:flex;justify-content:space-between;align-items:baseline;gap:6px 14px;flex-wrap:wrap}
.jlh-h h2{margin:0;font:600 clamp(24px,2.6vw,30px)/1.1 "Cormorant Garamond",Cormorant,Georgia,serif;color:#1B2A21}
.jlh-h p{margin:0;font:400 13.5px/1.4 "Hanken Grotesk","Segoe UI",system-ui,sans-serif;color:#7A8A80}
.jlws-g{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:14px}
.jlws-c{--c1:#1A2A4E;--c2:#0F1A33;--acc:#E3C27E;position:relative;overflow:hidden;display:flex;flex-direction:column;gap:4px;padding:20px 20px 18px;border-radius:18px;color:#fff;font-family:"Hanken Grotesk","Segoe UI",system-ui,sans-serif;background:radial-gradient(120% 90% at 100% 0%,rgba(255,255,255,.10),transparent 55%),linear-gradient(160deg,var(--c1),var(--c2));box-shadow:0 22px 40px -26px var(--c2)}
.jlws-c::after{content:"";position:absolute;right:-46px;bottom:-46px;width:170px;height:170px;border-radius:50%;opacity:.16;background:repeating-conic-gradient(from 0deg,var(--acc) 0 7.5deg,transparent 7.5deg 22.5deg);-webkit-mask:radial-gradient(circle,transparent 30%,#000 31%,#000 70%,transparent 71%);mask:radial-gradient(circle,transparent 30%,#000 31%,#000 70%,transparent 71%);pointer-events:none}
.jlws-w{--c1:#D9779A;--c2:#B04E74;--acc:#FFE6EE}
.jlws-f{--c1:#2C6B4A;--c2:#123524;--acc:#E3C27E;background:radial-gradient(120% 90% at 100% 0%,rgba(227,194,126,.22),transparent 55%),linear-gradient(160deg,var(--c1),var(--c2));box-shadow:0 0 0 2px #E3C27E,0 24px 46px -24px #0F2F20}
.jlws-f::after{opacity:.3}
.jlws-badge{position:absolute;top:16px;right:16px;padding:5px 10px;border-radius:999px;background:#E3C27E;color:#1A3326;font-weight:700;font-size:10.5px;line-height:1;letter-spacing:.12em;text-transform:uppercase}
.jlws-day{font:italic 600 32px/1 "Cormorant Garamond",Cormorant,Georgia,serif;color:var(--acc)}
.jlws-for{margin-top:6px;font-weight:700;font-size:11.5px;line-height:1;letter-spacing:.16em;text-transform:uppercase;opacity:.82}
.jlws-c strong{margin-top:2px;font:600 26px/1.1 "Cormorant Garamond",Cormorant,Georgia,serif;color:#fff}
.jlws-now{font-size:14px;opacity:.88}
.jlws-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.2);font-size:13px}
.jlws-foot b{font-weight:600}
.jlws-all{position:absolute;inset:0;z-index:1;border-radius:inherit}
.jlws-go{position:relative;z-index:2;color:#fff!important;text-decoration:none!important;transition:background .2s}
.jlws-go:hover{background:rgba(255,255,255,.28)}
.jlws-allt{display:block;margin-top:3px;font-size:12px;opacity:.75}
.jlws-c:hover .jlws-allt{opacity:1;text-decoration:underline}
.jlws-go{padding:8px 13px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.3);font-weight:600;font-size:12.5px;line-height:1;white-space:nowrap}
@media (max-width:760px){.jlws-g{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px}.jlws-g::-webkit-scrollbar{display:none}.jlws-c{flex:0 0 86%;scroll-snap-align:start}.jlws-g:has(.jlws-c:only-child) .jlws-c{flex-basis:100%}.jlws-day{font-size:29px}.jlws-c strong{font-size:24px}}
/* hub: compact hero */
.p-library .lib-hero-art,.p-library .lib-search .jhsh{display:none !important}
.p-library .lib-hero-grid{grid-template-columns:minmax(0,1fr) !important;padding-block:clamp(22px,3vw,34px) clamp(16px,2vw,22px) !important}
.p-library .lib-hero-copy{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,520px);column-gap:40px;align-items:end;max-width:none !important}
.p-library .lib-hero-copy > .eyebrow{grid-column:1;grid-row:1}
.p-library .lib-hero-copy > .h1{grid-column:1;grid-row:2;font-size:clamp(32px,4vw,46px) !important;margin-top:8px !important}
.p-library .lib-hero-copy > .lede{grid-column:1;grid-row:3;font-size:15.5px !important;max-width:52ch;margin-top:8px !important}
.p-library .lib-hero-copy > .lib-search{grid-column:2;grid-row:1 / span 3;align-self:end;margin:0 !important}
.p-library .lib-hero-copy > .lib-trust{grid-column:2;grid-row:4;margin-top:10px !important}
.p-library .jhls-pops{margin-top:10px !important}
@media (max-width:900px){.p-library .lib-hero-copy{grid-template-columns:minmax(0,1fr)}.p-library .lib-hero-copy > *{grid-column:1 !important;grid-row:auto !important}.p-library .lib-hero-copy > .lib-search{margin-top:14px !important}}
@media (max-width:760px){.p-library .lib-hero-copy > .eyebrow,.p-library .lib-trust{display:none !important}.p-library .lib-hero-copy > .h1{margin-top:0 !important}.p-library .lib-hero-copy > .lede{font-size:14.5px !important}.p-library .jhls-pops{flex-wrap:nowrap !important;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}.p-library .jhls-pops::-webkit-scrollbar{display:none}.p-library .jhls-pops > *{flex:none !important;white-space:nowrap}.p-library .jhls-br{height:44px !important;margin-top:8px !important}}
/* hub: Weekly Series beside the hero (v3.1) */
.p-library .lib-hero-grid > .jlws{padding:18px 0 0}
.p-library .lib-hero-grid > .jlws .jlws-in{max-width:none;padding:0}
@media (min-width:1100px){
.p-library .lib-hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,480px) !important;column-gap:52px !important;align-items:stretch !important}
.p-library .lib-hero-copy{display:block}
.p-library .lib-hero-copy > .lede{max-width:56ch}
.p-library .lib-hero-copy > .lib-search{margin-top:22px !important;max-width:640px}
.p-library .lib-hero-copy > .lib-trust{margin-top:14px !important}
.p-library .lib-hero-grid > .jlws{padding:0;display:flex;flex-direction:column}
.p-library .lib-hero-grid > .jlws .jlws-in{flex:1;display:flex;flex-direction:column}
.p-library .lib-hero-grid > .jlws .jlh-h p{font-size:12.5px}
.p-library .lib-hero-grid > .jlws .jlws-g{flex:1;grid-template-columns:minmax(0,1fr);grid-auto-rows:1fr;gap:10px;margin-top:12px}
.p-library .lib-hero .jlws-c{display:grid;grid-template-columns:minmax(0,1fr) 168px;column-gap:16px;row-gap:3px;align-content:center;padding:14px 16px;border-radius:16px}
.p-library .lib-hero .jlws-c > :not(.jlws-foot):not(.jlws-all):not(.jlws-badge){grid-column:1}
.p-library .lib-hero .jlws-c::after{width:120px;height:120px;right:-34px;bottom:-40px}
.p-library .lib-hero .jlws-badge{top:15px;right:216px;padding:4px 8px;font-size:9px}
.p-library .lib-hero .jlws-day{font-size:20px}
.p-library .lib-hero .jlws-for{margin-top:2px;font-size:10px}
.p-library .lib-hero .jlws-c strong{font-size:21px}
.p-library .lib-hero .jlws-now{font-size:13px}
.p-library .lib-hero .jlws-foot{grid-column:2;grid-row:1 / span 4;align-self:center;flex-direction:column;align-items:stretch;gap:9px;margin:0;padding:0 0 0 16px;border-top:0;border-left:1px solid rgba(255,255,255,.2);font-size:12.5px;line-height:1.35}
.p-library .lib-hero .jlws-go{text-align:center}
}
/* hub: line every section up with the hero edge */
.p-library .jlsh-in,.p-library .jlt-in,.p-library .jla-in{width:min(100% - 2 * var(--gut,20px),var(--wrap,1200px));max-width:none;padding:0;margin-inline:auto}
/* hub: slim "Read the Qur'an online" strip */
.p-library .jhq-ban{padding-top:12px !important}
.p-library .jhq-ban a{gap:12px !important;padding:7px 8px 7px 10px !important;border-radius:999px !important;box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 10px 22px -16px rgba(150,104,28,.8) !important}
.p-library .jhq-ban a > span:first-child{width:30px !important;height:30px !important;border-radius:50% !important}
.p-library .jhq-ban a > span:first-child svg{width:16px;height:16px}
.p-library .jhq-ban a > span:nth-child(2){display:flex !important;align-items:baseline;gap:4px 12px;flex-wrap:wrap;overflow:hidden}
.p-library .jhq-ban a > span:nth-child(2) b{font-size:19px !important;line-height:1.1 !important;white-space:nowrap}
.p-library .jhq-ban a > span:nth-child(2) span{font-size:13px !important}
.p-library .jhq-ban a > span:last-child{padding:7px 14px !important;font-size:13px !important}
@media (max-width:760px){.p-library .jhq-ban a[href][style]{grid-template-columns:auto minmax(0,1fr) auto !important;padding:6px 6px 6px 8px !important}.p-library .jhq-ban a[href][style] > span:last-child{grid-column:auto !important;grid-row:auto !important;justify-self:end}.p-library .jhq-ban a > span:nth-child(2) span{display:none}.p-library .jhq-ban a > span:nth-child(2) b{font-size:17px !important}}
/* hub: hide old long sections */
.p-library .lib-doors-sec,.p-library .lib-how,.p-library .lib-learn,.p-library .lib-x:has(.jhlx-rc){display:none !important}
/* hub: premium shelves */
.jlsh{padding:clamp(22px,3vw,34px) 0 6px}
.jlsh-g{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:14px}
.jlsh-c{--c:#B9790E;--a:#FFF4DA;--b:#FBE3A8;position:relative;overflow:hidden;display:flex;flex-direction:column;min-height:250px;padding:18px 18px 16px;border-radius:18px;background:linear-gradient(165deg,var(--a) 0%,var(--b) 100%);border:1px solid rgba(0,0,0,.06);color:#1B2A21;text-decoration:none;font-family:"Hanken Grotesk","Segoe UI",system-ui,sans-serif;transition:transform .25s,box-shadow .25s}
.jlsh-c:hover{transform:translateY(-3px);box-shadow:0 22px 40px -28px var(--c)}
.jlsh-c:focus-visible{outline:2px solid var(--c);outline-offset:3px}
.jlsh-c.a-sisters{--c:#9A3F57;--a:#FBEFF2;--b:#F2D3DC}.jlsh-c.a-brothers{--c:#1F3159;--a:#EEF1F8;--b:#D5DCEC}.jlsh-c.a-adults{--c:#2F5E46;--a:#EEF5F0;--b:#D2E4D8}
.jlsh-k{font-weight:700;font-size:11px;line-height:1;letter-spacing:.16em;text-transform:uppercase;color:var(--c)}
.jlsh-c b{display:block;margin-top:8px;font:600 32px/1 "Cormorant Garamond",Cormorant,Georgia,serif;color:#1B2A21}
.jlsh-c i{display:block;margin-top:4px;font:italic 500 17px/1.25 "Cormorant Garamond",Cormorant,Georgia,serif;color:#4A5B50;max-width:13ch}
.jlsh-n{margin-top:auto;font-size:13px;color:#4A5B50;position:relative;z-index:2}
.jlsh-n strong{font:600 22px/1 "Cormorant Garamond",Cormorant,Georgia,serif;color:var(--c);margin-right:4px}
.jlsh-arw{position:absolute;left:18px;bottom:44px;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--c);color:#fff;font-size:16px;z-index:2}
.jlsh-fan{position:absolute;right:-6px;bottom:-14px;width:150px;height:170px}
.jlsh-fan img{position:absolute;bottom:0;width:86px;height:auto;aspect-ratio:3/4.2;object-fit:cover;border-radius:6px;background:#fff;box-shadow:0 10px 22px -10px rgba(0,0,0,.45),0 0 0 1px rgba(0,0,0,.06)}
.jlsh-fan img:nth-child(1){right:58px;transform:rotate(-12deg);bottom:-4px}
.jlsh-fan img:nth-child(2){right:30px;transform:rotate(-2deg);bottom:6px;z-index:1}
.jlsh-fan img:nth-child(3){right:2px;transform:rotate(9deg);bottom:-2px;z-index:2}
@media (max-width:1000px){.jlsh-g{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:620px){.jlsh-g{gap:10px}.jlsh-c{min-height:210px;padding:14px}.jlsh-c b{font-size:26px}.jlsh-c i{font-size:15px}.jlsh-n{margin-top:8px}.jlsh-arw{left:14px;bottom:14px;width:32px;height:32px}.jlsh-fan{width:112px;height:130px;right:-10px;bottom:-30px}.jlsh-fan img{width:64px}.jlsh-fan img:nth-child(1){right:44px}.jlsh-fan img:nth-child(2){right:22px}.jlsh-fan img:nth-child(3){right:0}}
/* hub: slim teacher band */
.jlt{padding:10px 0 clamp(30px,4vw,48px)}
.jlt-b{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;padding:20px 22px;border-radius:16px;background:#2F5E46;color:#fff;font-family:"Hanken Grotesk","Segoe UI",system-ui,sans-serif}
.jlt-b b{display:block;font:600 24px/1.1 "Cormorant Garamond",Cormorant,Georgia,serif}
.jlt-b p{margin:4px 0 0;font-size:14px;opacity:.88;max-width:58ch}
.jlt-b a{padding:12px 18px;border-radius:999px;background:#fff;color:#2F5E46 !important;font-weight:600;font-size:14px;line-height:1;white-space:nowrap;text-decoration:none}
