@font-face{font-family:Portal;src:url("/fonts/arabic.woff2") format("woff2");font-display:swap}
*{box-sizing:border-box}
body{margin:0;background:radial-gradient(ellipse at 80% 5%,#0e3644 0,transparent 48%),#071421;color:#f5f7f6;font-family:Portal,Tahoma,Arial,sans-serif;min-height:100vh}
a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible{outline:3px solid #ffce75;outline-offset:4px}
.wrap{width:min(1160px,92%);margin:auto;padding-bottom:48px}
header{display:flex;align-items:center;justify-content:space-between;padding:20px 0;border-bottom:1px solid #ffffff26}
.brand{font:italic 800 30px Arial,sans-serif;letter-spacing:-2px}.brand span{color:#ffc970}
.toplink,.back{font-size:.95rem;color:#d0e4e7}.toplink b{color:#ffce75}
.hero{display:grid;align-items:center;grid-template-columns:.88fr 1.12fr;gap:6%;padding:clamp(24px,4vw,60px) 0}
h1,h2,p{margin:0}h1{font-size:clamp(2.7rem,5.5vw,5rem);line-height:1.32;letter-spacing:-.035em}em{font-style:normal;color:#9be5e7}
.intro p,.lead{font-size:clamp(1rem,1.4vw,1.2rem);line-height:1.85;color:#c2d5d9;margin-top:14px;max-width:31em}
.art{position:relative;isolation:isolate}.art:before{position:absolute;content:"";inset:5%;z-index:-1;border-radius:50%;box-shadow:0 0 60px 12px #19729166}.art img,.banner{width:100%;height:auto;display:block;border-radius:23px;border:1px solid #ffffff24}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.card{--accent:#86e3ef;position:relative;background:radial-gradient(ellipse at 100% 0%,#144052,#102331 70%);border:1px solid #ffffff24;border-top:2px solid var(--accent);border-radius:18px;padding:22px;display:grid;justify-items:start;grid-template-rows:auto auto 1fr auto;transition:transform .25s,border-color .25s}
.card.directory{--accent:#ffc870;background:radial-gradient(ellipse at 100% 0%,#38372c,#17232d 70%)}.card.upcoming{--accent:#91dfac;background:radial-gradient(ellipse at 100% 0%,#174436,#102a2d 70%)}
.card img{width:66px;height:66px;border-radius:16px}.card h2{margin-top:14px;font-size:1.52rem}.card p{color:#c8d5dc;margin:3px 0 18px}.card strong{display:flex;align-items:center;justify-content:space-between;width:100%;border-top:1px solid #ffffff21;padding-top:12px;color:var(--accent)}i{font:24px Arial}
.badge{display:inline-block;color:#ffe4aa;background:#304638;border:1px solid #b6aa6d;padding:2px 13px;border-radius:50px;font-weight:bold}.card .badge{position:absolute;left:20px;top:22px}
@media(hover:hover){.card:hover{transform:translateY(-5px);border-color:var(--accent)}}
@keyframes arrive{from{opacity:.25;transform:translateY(14px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:no-preference){.art,.intro,.card{animation:arrive .65s backwards}.card:nth-child(2){animation-delay:.1s}.card:nth-child(3){animation-delay:.2s}.art:before{animation:glimmer 4s ease-in-out alternate 1}@keyframes glimmer{to{box-shadow:0 0 80px 18px #2692ae88}}}
@media(max-width:700px){.hero{grid-template-columns:1fr;gap:18px}.art{max-width:420px;width:100%;margin:auto}.intro h1 br{display:none}.intro h1{font-size:2.45rem}.cards{grid-template-columns:1fr}.intro p{margin-top:6px}}
.cards .card{grid-template-columns:minmax(0,1fr) 42%;grid-template-rows:auto auto 1fr auto;gap:4px 14px;align-content:center;padding:clamp(14px,1.7vw,22px)}
.card img{grid-column:2;grid-row:1/4;width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:16px;align-self:center}
.card .badge{position:static;grid-area:1/1;font-size:.8rem}.card h2{grid-area:2/1;align-self:end;margin:0;font-size:clamp(1.15rem,2vw,1.52rem)}
.card p{grid-area:3/1;margin:0;align-self:start;line-height:1.6}.card strong{grid-area:4/1/5/3;margin-top:10px}
@media(min-width:701px) and (max-width:930px){.cards{grid-template-columns:1fr}.cards .card{grid-template-columns:1fr 120px}}
.hub-nav{display:flex;align-items:center;gap:12px}
.hub-nav button,dialog button,dialog a{border:1px solid #5b858c;border-radius:10px;background:#193e47;color:#f4fbfc;padding:7px 14px;cursor:pointer;font:inherit}
dialog{color:#eff8f9;background:#102938;border:1px solid #497482;border-radius:20px;padding:26px;width:min(420px,92vw);box-shadow:0 12px 60px #0008}
dialog::backdrop{background:#06131fd4}dialog .close{float:left;font:20px Arial;padding:4px 10px}dialog h2{margin:5px 0 12px}dialog label,dialog input,dialog #hub-profile a{display:block}dialog label{margin:14px 0}
dialog [hidden]{display:none!important}dialog input{width:100%;font:inherit;border:1px solid #64818c;padding:10px;border-radius:8px;margin-top:5px}
dialog #hub-profile a,dialog #hub-profile button{margin-top:12px;text-align:center;width:100%}
#change-phone{background:transparent;margin-top:8px}#login-note{color:#ffe0a1;margin-top:10px}

/* The public hub takes its paper and green tones from Pray and Daleel. */
body.hub {
  background:radial-gradient(ellipse at 80% 0%, #e4eee5 0, transparent 54%), #f7f6ef;
  color:#183b32;
}
.hub header {border-color:#d6e2d8}
.hub .brand span,.hub .toplink b {color:#805d20}
.hub .toplink,.hub .intro p,.hub .card p {color:#485f56}
.hub .intro em {color:#165341}
.hub .art::before {opacity:.35}
.hub .card {
  --accent:#226155;
  background:linear-gradient(135deg,#fffefa 45%,#edf4ee);
  border-color:#d3dfd4; border-top-color:var(--accent);
  box-shadow:0 6px 20px #183c3710;
}
.hub .card.directory {--accent:#775b27;background:linear-gradient(135deg,#fffefa 45%,#f5f0e4)}
.hub .card.upcoming {--accent:#356741;background:linear-gradient(135deg,#fffefa 45%,#ecf1e1)}
.hub .card strong {border-top-color:#d5ded4}
.hub .card .badge {background:#f2eddc;color:#665021;border-color:#d9ca9e}
.hub .card:hover {border-color:var(--accent)}
.hub .hub-nav button,.hub dialog button,.hub dialog a {background:#164e40;color:white;border-color:#164e40}
.hub dialog {background:#fffefa;color:#183b32;border-color:#c3d1c7;box-shadow:0 12px 65px #143e3430}
.hub dialog::backdrop {background:#123b32a6}
.hub #change-phone {background:transparent;color:#164e40}
.hub #login-note {color:#654c18}
.hub :focus-visible {outline:3px solid #846420;outline-offset:3px}
