:root{--purple:#6463d6;--purple-dark:#514fbc;--navy:#24385f;--teal:#139caf;--slate:#738097;--line:#e9e8f5;--light:#f7f7fc;--font:'IBM Plex Sans Arabic',sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;color:var(--navy);font-family:var(--font);background:#fff;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--purple);outline-offset:5px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6}img{max-width:100%}[hidden]{display:none!important}.shell{width:min(1200px,calc(100% - 64px));margin-inline:auto}.skip{position:fixed;top:-100px;right:20px;padding:12px 20px;background:var(--navy);color:#fff;z-index:100;border-radius:10px}.skip:focus{top:12px}.topline{font-size:11px;background:#fafaff;border-bottom:1px solid var(--line);color:#7e86a0}.topline .shell{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:38px}.topline a:last-child{color:#6c63ae}.header{background:#ffffffef;backdrop-filter:blur(16px);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.header-inner{min-height:97px;display:flex;align-items:center;justify-content:space-between;gap:32px}.brand{display:flex;align-items:center;gap:17px;flex:none}.brand img{object-fit:contain;width:78px;height:68px}.brand-rule{width:1px;height:35px;background:var(--line)}.brand-label{font-size:11px;color:#9a9eb0;line-height:1.8}.brand-label strong{font-size:14px;font-weight:600;color:var(--navy)}nav{display:flex;align-items:center;gap:32px;font-size:13px;color:#6b7690}nav a:hover{color:var(--purple)}.header-search{display:flex;align-items:center;gap:9px;background:#f6f5ff;border:1px solid #eae8fa;padding:10px 16px;border-radius:10px;color:#7c78aa;font-size:12px}.header-search svg{width:16px;height:16px}.hero{padding:32px 0 12px;background:linear-gradient(#fcfcff,#fff)}.hero-scene{position:relative;border-radius:24px;overflow:hidden;min-height:530px;background:#f4efe6}.hero-art{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;object-position:center}.hero-tint{position:absolute;inset:0;background:linear-gradient(270deg,#faf8f0ef 0%,#faf8f0d9 22%,#faf8f05e 48%,transparent 62%)}.hero-copy{position:relative;padding:64px 60px 85px;width:56%;z-index:1}.eyebrow{display:flex;align-items:center;gap:9px;font-size:11px;font-weight:600;color:var(--purple);margin:0 0 10px;letter-spacing:.02em}.eyebrow>span{width:6px;height:6px;border-radius:50%;background:var(--teal);flex:none}h1,h2,h3,p{margin-top:0}.hero h1{font-size:clamp(32px,3.3vw,46px);line-height:1.65;letter-spacing:-1.3px;margin:0 0 8px;font-weight:700}.hero h1 em{font-style:normal;color:var(--purple)}.hero-lead{font-size:25px;font-weight:500;line-height:1.8;margin:0 0 17px}.hero-description{color:#77808b;font-size:13px;line-height:2.05;max-width:340px;margin-bottom:25px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:14px;border-radius:10px;padding:12px 21px;font-size:13px;font-weight:600;border:1px solid transparent;transition:transform .2s,background .2s}.primary{background:var(--purple);color:#fff;box-shadow:0 5px 12px #6463d61c}.primary:hover{background:var(--purple-dark);transform:translateY(-1px)}.secondary{background:#fff;border-color:var(--line);color:var(--navy)}.secondary:hover{background:#fafaff}.hero-foot{position:absolute;bottom:24px;right:60px;display:flex;align-items:center;gap:15px;font-size:10px;color:#7b8092}.hero-foot i{height:3px;width:3px;border-radius:50%;background:#a1a1bd}.categories{padding-block:64px 70px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:26px}.section-heading h2{font-size:28px;line-height:1.8;font-weight:700;margin:0;letter-spacing:-.6px}.section-heading>p{font-size:13px;line-height:1.9;color:#8b92a5;margin:0 0 8px}.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.category{border:1px solid var(--line);border-radius:16px;overflow:hidden;transition:transform .2s,box-shadow .2s;background:#fff}.category:hover{transform:translateY(-4px);box-shadow:0 12px 30px #24385f09}.category-cover{height:155px;background-image:url('/tazawwad-assets/khair-library/reading-room.webp');background-size:220%;position:relative}.category-cover:after{position:absolute;inset:0;content:'';background:linear-gradient(0deg,#1b26482d,transparent 55%)}.category-ethics .category-cover{background-position:0% 65%}.category-quran .category-cover{background-position:40% 63%}.category-giving .category-cover{background-position:15% 25%}.category-number{position:absolute;left:15px;top:15px;background:#ffffffb8;backdrop-filter:blur(6px);color:#5c6480;font-size:11px;border:1px solid #ffffff8c;border-radius:8px;padding:5px 9px}.category-body{padding:21px 24px 22px}.category-kicker{font-size:10px;color:#9a9eb1}.category h3{font-size:21px;line-height:1.8;margin:3px 0 6px}.category-body p{font-size:12px;line-height:1.9;color:#8b92a5;margin-bottom:19px}.category-link{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:600;color:var(--purple)}.category-giving .category-link{color:var(--teal)}.collection{background:#f8f8fc;border-top:1px solid #f0eff9;padding:62px 0 50px}.collection-notice{display:flex;align-items:flex-start;gap:10px;padding:13px 18px;background:#fff;border:1px solid #eeedf8;border-radius:11px;margin:0 0 25px;font-size:11px;line-height:1.9;color:#9297aa}.collection-notice strong{color:#727b97;font-weight:600}.collection-notice p{margin:0}.notice-dot{width:6px;height:6px;border-radius:50%;background:#a09bd9;margin-top:7px;flex:none}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px 16px;background:white;border:1px solid var(--line);border-radius:13px}.filter-tabs{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.filter-tabs button{font-size:12px;border:0;padding:9px 14px;background:transparent;border-radius:8px;color:#83899b}.filter-tabs button[aria-pressed=true]{color:#fff;background:var(--purple);font-weight:600}.search{display:flex;align-items:center;gap:8px;border:1px solid #ededf7;border-radius:8px;background:#fafaff;padding:9px 12px;min-width:260px;color:#a1a5b7}.search svg{width:16px;height:16px;flex:none}.search input{border:0;outline:0;background:transparent;min-width:0;width:100%;color:var(--navy);font-size:12px}.search-key{font-size:18px;color:#a7a8bf;line-height:1}.results-heading{display:flex;align-items:center;justify-content:space-between;min-height:55px;font-size:11px;color:#9299ac}.results-heading p{margin:0}.text-button{font-size:11px;padding:5px;border:0;color:var(--purple);background:transparent}.text-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.text-card{background:#fff;border:1px solid var(--line);border-radius:16px;min-width:0;padding:26px;display:flex;flex-direction:column;position:relative;overflow:hidden;transition:box-shadow .2s,transform .2s}.text-card:before{content:'';position:absolute;right:26px;top:0;width:32px;height:3px;background:#8b86db;border-radius:0 0 3px 3px}.text-card:nth-child(2):before{background:#63b5bb}.text-card:hover{box-shadow:0 12px 24px #24385f07;transform:translateY(-2px)}.card-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#a1a6b4;font-size:10px;margin-bottom:15px}.card-category{color:#8780bf;font-weight:600}.card-time{white-space:nowrap}.text-card h3{font-size:19px;line-height:1.9;letter-spacing:-.2px;margin:0 0 14px;font-weight:600}.text-card h3 a:hover{color:var(--purple)}.card-excerpt{font-size:13px;line-height:2.1;color:#8b93a2;margin:0 0 24px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}.card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;border-top:1px solid #f0eff8;padding-top:18px}.card-read{display:inline-flex;align-items:center;gap:10px;color:var(--purple);font-size:11px;font-weight:600}.card-copy{background:transparent;border:0;color:#9b9faf;font-size:11px;display:flex;align-items:center;gap:6px;padding:3px}.card-copy svg{width:14px;height:14px}.collection-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:36px;padding-top:25px;border-top:1px solid var(--line);font-size:11px;color:#9299ac}.collection-bottom p{margin:0}.collection-bottom a{color:#7d78b1}.empty-state{padding:40px 20px 55px;text-align:center;color:#8b92a5}.empty-state>span{display:block;font-size:44px;font-weight:400;color:#b9b6db}.empty-state h3{font-size:21px;color:var(--navy);margin:5px 0 8px}.empty-state p{font-size:13px;line-height:1.9}.reader-top{padding-top:34px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px;color:#a1a5b5}.back-link{display:flex;align-items:center;gap:10px;color:#7770b5}.reader-article{max-width:800px;width:calc(100% - 48px);margin:52px auto 60px}.reader-category{font-size:12px;color:var(--teal);font-weight:600;margin-bottom:18px}.reader-article h1{font-size:clamp(29px,3.2vw,43px);line-height:1.9;letter-spacing:-.8px;font-weight:700;margin-bottom:21px}.reader-meta{display:flex;align-items:center;gap:18px;flex-wrap:wrap;font-size:11px;color:#9da3b4}.reader-meta span+span:before{content:'•';margin-left:18px;color:#b4b6c8}.reader-rule{width:60px;height:3px;background:linear-gradient(90deg,#5fb7bf,#8c83d7);border-radius:4px;margin:34px 0}.reader-text{font-size:21px;line-height:2.4;color:#596b85;white-space:pre-wrap;overflow-wrap:anywhere}.reader-text p{margin-bottom:23px}.reader-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:35px;padding-top:28px;border-top:1px solid var(--line)}.reader-actions svg{width:17px;height:17px}.reader-note{background:#fafaff;border:1px solid var(--line);border-radius:10px;padding:12px 17px;font-size:11px;line-height:1.9;color:#9396ae;margin-top:28px}.related{padding:35px 0 70px}.related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.footer{border-top:1px solid var(--line);background:white;padding-top:36px}.footer-main{display:flex;align-items:center;justify-content:space-between;gap:30px;padding-bottom:30px}.footer-brand{display:flex;align-items:center;gap:22px}.footer-brand img{width:80px;height:70px;object-fit:contain}.footer-brand strong{font-size:14px;font-weight:600}.footer-brand p{font-size:11px;color:#9a9eb0;margin:7px 0 0}.footer-links{display:flex;gap:25px;font-size:11px;color:#8e94a9}.institution-logo{width:75px;height:65px;object-fit:contain;opacity:.85}.footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #f0eff8;padding-block:18px;font-size:10px;color:#a1a6b7}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,15px);background:var(--navy);box-shadow:0 8px 30px #24385f1c;color:white;border-radius:12px;padding:12px 23px;font-size:12px;z-index:100;opacity:0;visibility:hidden;max-width:calc(100% - 32px);text-align:center;transition:opacity .2s,transform .2s}.toast.is-visible{opacity:1;visibility:visible;transform:translate(-50%,0)}.noscript{padding:20px;text-align:center;background:#fff7e8;font-size:14px}.noscript a{text-decoration:underline}
@media(max-width:1000px){.shell{width:calc(100% - 44px)}.header-inner{gap:20px}nav{gap:20px}.hero-scene{min-height:490px}.hero-copy{padding:50px 40px 85px;width:61%}.hero-foot{right:40px}.hero-lead{font-size:23px}.hero-tint{background:linear-gradient(270deg,#faf8f0f5,#faf8f0de 30%,#faf8f04d 62%,transparent)}.text-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.toolbar{align-items:stretch;flex-direction:column;gap:12px}.search{min-width:0}.category-body{padding:18px}.category h3{font-size:19px}.category-body p{min-height:44px}.footer-links{gap:16px}}
@media(max-width:680px){html{scroll-padding-top:98px}.shell{width:calc(100% - 36px)}.topline .shell{min-height:32px;font-size:10px}.topline .shell>a:first-child{display:none}.header-inner{min-height:82px;flex-wrap:wrap;gap:0;position:relative;padding-block:9px}.brand{gap:10px}.brand img{height:55px;width:63px}.brand-rule{height:28px}.brand-label{font-size:10px}.brand-label strong{font-size:12px}.header-search{padding:9px;border-radius:9px}.header-search span{display:none}.header nav{order:3;justify-content:center;gap:25px;width:100%;padding-top:9px;font-size:11px;border-top:1px solid #f3f2fa;margin-top:7px}.hero{padding-top:18px}.hero-scene{min-height:670px;border-radius:18px}.hero-art{object-position:24% bottom;object-fit:cover;height:49%;top:auto;bottom:0}.hero-tint{background:linear-gradient(180deg,#faf8f3 0%,#faf8f3 43%,#faf8f3d9 50%,transparent 76%)}.hero-copy{width:100%;padding:30px 27px 0}.eyebrow{font-size:10px}.hero h1{font-size:34px;line-height:1.7;margin-top:12px}.hero-lead{font-size:22px;line-height:1.8;margin-bottom:12px}.hero-description{font-size:12px;max-width:300px;margin-bottom:19px}.primary,.secondary{font-size:12px;padding:11px 18px}.hero-foot{right:25px;bottom:17px;padding:8px 12px;background:#ffffffe0;backdrop-filter:blur(5px);border:1px solid #ffffffa0;border-radius:8px;gap:11px;font-size:9px}.categories{padding-block:42px 45px}.section-heading{align-items:flex-start;flex-direction:column;gap:6px;margin-bottom:21px}.section-heading h2{font-size:25px}.section-heading>p{font-size:12px;margin:0}.category-grid{display:flex;overflow-x:auto;gap:14px;margin-inline:-18px;padding:0 18px 12px;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#d9d5ee transparent}.category{min-width:78%;scroll-snap-align:center}.category-cover{height:160px;background-size:180%}.category-body{padding:20px}.category-body p{min-height:0}.category h3{font-size:22px}.category-link{font-size:11px}.collection{padding:40px 0 32px}.collection-notice{font-size:10px;padding:12px 14px;gap:8px;margin-bottom:20px}.toolbar{padding:12px;border-radius:11px}.filter-tabs{gap:3px}.filter-tabs button{font-size:10px;padding:8px 10px}.search{padding:9px 10px}.search input{font-size:11px}.results-heading{min-height:48px;font-size:10px}.text-grid,.related-grid{grid-template-columns:1fr;gap:17px}.text-card{padding:24px}.text-card h3{font-size:20px}.card-excerpt{font-size:13px}.card-read,.card-copy{font-size:11px}.collection-bottom{flex-direction:column;align-items:flex-start;gap:10px;margin-top:27px;padding-top:23px}.reader-top{padding-top:23px;font-size:10px}.reader-article{width:calc(100% - 42px);margin:34px auto 38px}.reader-article h1{font-size:29px;line-height:1.9}.reader-meta{font-size:10px;gap:10px}.reader-meta span+span:before{margin-left:10px}.reader-rule{margin-block:26px}.reader-text{font-size:18px;line-height:2.35}.reader-note{padding:11px 13px;font-size:10px}.related{padding-block:25px 45px}.footer{padding-top:27px}.footer-main{flex-wrap:wrap;gap:24px;padding-bottom:24px}.footer-brand{gap:15px;flex:1}.footer-brand img{width:65px;height:60px}.footer-brand strong{font-size:12px}.footer-brand p{font-size:10px}.institution-logo{width:55px;height:55px}.footer-links{order:3;width:100%;justify-content:space-between;gap:12px;font-size:10px}.footer-bottom{font-size:9px;line-height:1.8;gap:14px}.footer-bottom span:last-child{max-width:110px;text-align:left}.toast{bottom:18px;font-size:11px;padding:11px 17px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
