/*
 * AlRashdi Modern — Visual Refresh (preview-only)
 * Visual rules only: no posts, media, settings, forms, or member data are changed.
 * Loaded after the existing theme assets so it can be removed cleanly on rollback.
 */

#alrashdiApp{
  --alr-navy:#0b1b2b;
  --alr-navy-2:#153756;
  --alr-blue:#1d4ed8;
  --alr-red:#dc2626;
  --alr-gold:#d6a234;
  --alr-surface:#ffffff;
  --alr-surface-soft:#f6f8fc;
  --alr-border:rgba(11,27,43,.10);
  --alr-shadow:0 18px 42px rgba(11,27,43,.08);
  --alr-shadow-soft:0 8px 24px rgba(11,27,43,.055);
  --alr-radius:24px;
  --alr-radius-sm:16px;
  background:
    radial-gradient(900px 480px at 8% 3%,rgba(29,78,216,.08),transparent 64%),
    radial-gradient(860px 460px at 96% 14%,rgba(220,38,38,.055),transparent 66%),
    linear-gradient(180deg,#fff 0%,#f7f9fc 58%,#fff 100%);
  color:var(--alr-navy);
  isolation:isolate;
}

#alrashdiApp .wrap{
  max-width:1200px;
  padding-inline:clamp(16px,3vw,24px);
}

#alrashdiApp main{display:block}
#alrashdiApp > main > section,
#alrashdiApp > #community{
  padding-block:clamp(28px,4.5vw,56px);
  scroll-margin-top:92px;
}
#alrashdiApp > main > section + section{border-top:1px solid rgba(11,27,43,.035)}

#alrashdiApp .topbar{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid rgba(11,27,43,.08);
  box-shadow:0 8px 26px rgba(11,27,43,.055);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
#alrashdiApp .topbar .nav{
  min-height:72px;
  padding-block:10px;
  direction:rtl;
}
#alrashdiApp .topbar .brand{
  min-width:220px;
  gap:10px;
}
#alrashdiApp .topbar .logo{
  width:44px;
  height:44px;
  border-radius:15px;
  background:
    radial-gradient(22px 22px at 28% 27%,rgba(255,255,255,.62),transparent 62%),
    linear-gradient(135deg,#2563eb 0%,#153756 48%,#dc4052 100%);
  border-color:rgba(11,27,43,.10);
  box-shadow:0 11px 25px rgba(29,78,216,.16);
}
#alrashdiApp .topbar .brand-title{
  display:block;
  color:var(--alr-navy);
  font-size:15px;
  font-weight:900;
  line-height:1.4;
}
#alrashdiApp .topbar .brand small{
  color:#64748b;
  font-size:10px;
  letter-spacing:.25px;
}
#alrashdiApp .topbar .menu{gap:3px}
#alrashdiApp .topbar .menu a{
  min-height:42px;
  padding:9px 12px;
  border-radius:12px;
  color:#26384b;
  font-size:12px;
  font-weight:800;
}
#alrashdiApp .topbar .menu a:hover,
#alrashdiApp .topbar .menu a:focus-visible{
  color:var(--alr-blue);
  background:#eff4ff;
  border-color:#d9e4fb;
  transform:none;
}
#alrashdiApp .topbar .cta{
  min-width:auto;
  gap:8px;
}
#alrashdiApp .topbar .alr-portal-entry,
#alrashdiApp .topbar .btn.primary{
  min-height:44px;
  padding-inline:15px;
  border:0;
  border-radius:14px;
  background:linear-gradient(135deg,#1d4ed8 0%,#153756 100%);
  color:#fff;
  box-shadow:0 10px 24px rgba(29,78,216,.18);
}
#alrashdiApp .topbar .alr-portal-entry:hover,
#alrashdiApp .topbar .alr-portal-entry:focus-visible{
  background:linear-gradient(135deg,#1e40af 0%,#0b1b2b 100%);
  box-shadow:0 13px 28px rgba(29,78,216,.23);
  transform:translateY(-1px);
}
#alrashdiApp .topbar .alr-header-logout{
  min-height:42px;
  border-radius:12px;
  font-size:12px;
}

#alrashdiApp .hero{
  padding-block:clamp(28px,5vw,62px) clamp(22px,3vw,34px);
}
#alrashdiApp .hero-grid{
  grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);
  gap:24px;
}
#alrashdiApp .hero-card,
#alrashdiApp .hero-side{
  border-radius:var(--alr-radius);
  border:1px solid var(--alr-border);
  box-shadow:var(--alr-shadow);
}
#alrashdiApp .hero-card{
  position:relative;
  overflow:hidden;
  padding:clamp(24px,4vw,42px) clamp(20px,4vw,42px);
  background:
    radial-gradient(520px 260px at 92% 8%,rgba(29,78,216,.10),transparent 70%),
    linear-gradient(180deg,rgba(255,255,255,.98),rgba(250,252,255,.98));
}
#alrashdiApp .hero-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:4px;
  background:linear-gradient(90deg,var(--alr-blue),var(--alr-red));
}
#alrashdiApp .hero-card .kicker{
  margin-bottom:2px;
  padding:8px 13px;
  border:1px solid rgba(29,78,216,.18);
  border-radius:999px;
  background:#eff4ff;
  color:#1e3a8a;
  font-size:11px;
  font-weight:900;
}
#alrashdiApp .hero :is(h1,h2,.alr-home-title){
  max-width:22ch;
  margin:14px 0 14px;
  color:var(--alr-navy);
  font-size:clamp(30px,3.5vw,46px);
  line-height:1.4;
  letter-spacing:-.35px;
  font-weight:900;
}
#alrashdiApp .hero-card>p{
  max-width:61ch;
  color:#4b5d70;
  font-size:clamp(14px,1.4vw,17px);
  line-height:2;
}
#alrashdiApp .hero-card>p[style*="margin-top"]{
  color:#64748b!important;
  font-size:13px!important;
  line-height:1.9!important;
}
#alrashdiApp .hero-actions{
  gap:10px;
  margin-top:22px;
}
#alrashdiApp .hero-actions .btn{
  min-height:46px;
  padding-inline:17px;
  border-radius:14px;
  box-shadow:0 8px 18px rgba(11,27,43,.06);
}
#alrashdiApp .hero-actions .btn.primary{
  border-color:transparent;
  background:linear-gradient(135deg,var(--alr-blue),var(--alr-navy-2));
  box-shadow:0 12px 26px rgba(29,78,216,.18);
}
#alrashdiApp .hero-actions .btn:not(.primary):hover{
  border-color:rgba(29,78,216,.24);
  background:#f5f8ff;
}

#alrashdiApp .hero-side{
  gap:12px;
  padding:12px;
  background:linear-gradient(180deg,#fff,#f8faff);
}
#alrashdiApp .showcase{
  min-height:0;
  border-radius:20px;
  border-color:rgba(11,27,43,.09);
  box-shadow:0 8px 22px rgba(11,27,43,.08);
}
#alrashdiApp .slides{height:clamp(240px,28vw,360px)}
#alrashdiApp .slide img{object-position:center;filter:saturate(.96)}
#alrashdiApp .slide-cap{padding-inline:14px;bottom:14px}
#alrashdiApp .slide-cap b{font-size:15px}
#alrashdiApp .slide-desc{font-size:11px}

#alrashdiApp .section-title{
  align-items:flex-end;
  gap:14px;
  margin-bottom:20px;
}
#alrashdiApp .section-title h3{
  color:var(--alr-navy);
  font-size:clamp(23px,2.7vw,31px);
  line-height:1.45;
  font-weight:900;
}
#alrashdiApp .section-title p{
  max-width:64ch;
  color:#64748b;
  font-size:13px;
  line-height:1.8;
}

#alrashdiApp #about .grid.cards{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
#alrashdiApp #about .card{
  min-height:0;
  padding:0 0 18px;
  border-radius:20px;
  border-color:rgba(11,27,43,.095);
  background:rgba(255,255,255,.96);
  box-shadow:var(--alr-shadow-soft);
}
#alrashdiApp #about .card:hover{
  border-color:rgba(29,78,216,.22);
  box-shadow:0 15px 34px rgba(11,27,43,.10);
  transform:translateY(-3px);
}
#alrashdiApp #about .card .media{
  aspect-ratio:16/10;
  margin-bottom:15px;
  border:0;
  border-radius:20px 20px 14px 14px;
  background:#edf2f8;
}
#alrashdiApp #about .card .media img{object-fit:cover}
#alrashdiApp #about .card .tag,
#alrashdiApp #about .card h4,
#alrashdiApp #about .card p,
#alrashdiApp #about .card .link{
  margin-inline:18px;
}
#alrashdiApp #about .card .tag{margin-bottom:7px}
#alrashdiApp #about .card h4{
  color:var(--alr-navy);
  font-size:17px;
  line-height:1.55;
}
#alrashdiApp #about .card p{
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:4;
  margin-bottom:8px;
  color:#64748b;
  font-size:13px;
  line-height:1.85;
}
#alrashdiApp #about .card .link{
  margin-top:auto;
  color:var(--alr-blue);
  font-size:12px;
}

#alrashdiApp #branches{
  background:linear-gradient(180deg,rgba(246,248,252,.72),rgba(255,255,255,.30));
}
#alrashdiApp #branches .branches-grid-wrap{overflow:visible}
#alrashdiApp #branches .alr-branches-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
#alrashdiApp #branches .alr-branch-card{
  min-height:0;
  padding:0 0 18px;
  border-radius:20px;
  border-color:rgba(11,27,43,.095);
  background:#fff;
  box-shadow:var(--alr-shadow-soft);
}
#alrashdiApp #branches .alr-branch-card:hover{
  border-color:rgba(29,78,216,.22);
  box-shadow:0 15px 34px rgba(11,27,43,.10);
  transform:translateY(-3px);
}
#alrashdiApp #branches .alr-card-media{
  aspect-ratio:16/9;
  height:auto;
  min-height:0;
  margin-bottom:15px;
  border:0;
  border-radius:20px 20px 14px 14px;
  overflow:hidden;
  background:#edf2f8;
}
#alrashdiApp #branches .alr-card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .45s ease;
}
#alrashdiApp #branches .alr-branch-card:hover .alr-card-media img{transform:scale(1.035)}
#alrashdiApp #branches .alr-branch-card .tag,
#alrashdiApp #branches .alr-branch-card h4,
#alrashdiApp #branches .alr-branch-card p,
#alrashdiApp #branches .alr-branch-card .link{
  margin-inline:18px;
}
#alrashdiApp #branches .alr-branch-card h4{
  color:var(--alr-navy);
  font-size:17px;
  line-height:1.55;
}
#alrashdiApp #branches .alr-branch-card p{
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  margin-bottom:8px;
  color:#64748b;
  font-size:13px;
  line-height:1.85;
}
#alrashdiApp #branches .alr-branch-card .link{
  margin-top:auto;
  color:var(--alr-blue);
  font-size:12px;
}

#alrashdiApp #announcements{
  background:
    radial-gradient(760px 360px at 10% 4%,rgba(29,78,216,.10),transparent 68%),
    linear-gradient(180deg,#f2f5fa,#f8fafc);
}
#alrashdiApp #announcements .ann-wrap{
  position:relative;
  overflow:hidden;
  padding:clamp(16px,3vw,26px);
  border:1px solid rgba(255,255,255,.20);
  border-radius:26px;
  background:
    radial-gradient(360px 210px at 92% 2%,rgba(37,99,235,.22),transparent 72%),
    linear-gradient(135deg,#0b1b2b 0%,#153756 68%,#1e4a73 100%);
  box-shadow:0 20px 44px rgba(11,27,43,.16);
}
#alrashdiApp #announcements .ann-wrap::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:4px;
  background:linear-gradient(90deg,var(--alr-red),var(--alr-blue),var(--alr-red));
}
#alrashdiApp #announcements .section-title h3{color:var(--alr-navy)}
#alrashdiApp #announcements .ann-head{
  position:relative;
  z-index:1;
  align-items:flex-end;
  gap:16px;
  margin-bottom:18px;
}
#alrashdiApp #announcements .ann-head>h4{
  color:#fff;
  font-size:clamp(20px,2.5vw,28px);
  line-height:1.5;
}
#alrashdiApp #announcements .ann-head__controls{
  justify-content:flex-end;
  gap:9px;
}
#alrashdiApp #announcements .tabs{
  display:flex;
  gap:6px;
  padding:4px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:999px;
  background:rgba(255,255,255,.08);
}
#alrashdiApp #announcements .tab{
  min-height:38px;
  padding:8px 13px;
  border:1px solid transparent;
  border-radius:999px;
  color:rgba(255,255,255,.76);
  font-size:11px;
  font-weight:900;
  cursor:pointer;
  transition:background-color .2s ease,color .2s ease,box-shadow .2s ease;
}
#alrashdiApp #announcements .tab[aria-selected="true"],
#alrashdiApp #announcements .tab.is-active{
  color:var(--alr-navy);
  background:#fff;
  box-shadow:0 7px 16px rgba(0,0,0,.13);
}
#alrashdiApp #announcements .ann-archive-link{
  min-height:38px;
  padding:8px 13px;
  border-color:rgba(255,255,255,.34);
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:11px;
}
#alrashdiApp #announcements .ann-body{position:relative;z-index:1}
#alrashdiApp #announcements .ann-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:13px;
}
#alrashdiApp #announcements .ann{
  min-height:0;
  padding:18px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:18px;
  background:rgba(255,255,255,.095);
  color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}
#alrashdiApp #announcements .ann .type{
  color:#9fc5ff;
  font-size:11px;
  font-weight:900;
}
#alrashdiApp #announcements .ann h5{
  margin:10px 0 8px;
  color:#fff;
  font-size:16px;
  line-height:1.65;
}
#alrashdiApp #announcements .ann p{
  display:block;
  overflow:visible;
  margin-bottom:14px;
  color:rgba(255,255,255,.74);
  font-size:12px;
  line-height:1.85;
}
#alrashdiApp #announcements .ann .meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  color:rgba(255,255,255,.66);
  font-size:10px;
}
#alrashdiApp #announcements .ann .meta span:last-child{color:#8ce0bf;font-weight:900}

#alrashdiApp .alr-event-teaser{
  margin-top:20px;
  border-radius:22px;
  box-shadow:0 16px 34px rgba(11,27,43,.14);
}

#alrashdiApp #news .alr-news-visual-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
#alrashdiApp #news .alr-news-visual-card{
  display:flex;
  min-width:0;
  min-height:100%;
  flex-direction:column;
  overflow:hidden;
  border:1px solid rgba(11,27,43,.095);
  border-radius:20px;
  background:#fff;
  box-shadow:var(--alr-shadow-soft);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
#alrashdiApp #news .alr-news-visual-card:hover{
  border-color:rgba(29,78,216,.23);
  box-shadow:0 16px 35px rgba(11,27,43,.10);
  transform:translateY(-3px);
}
#alrashdiApp #news .alr-news-visual-card__media{
  position:relative;
  display:block;
  aspect-ratio:16/10;
  overflow:hidden;
  background:#edf2f8;
}
#alrashdiApp #news .alr-news-visual-card__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .45s ease;
}
#alrashdiApp #news .alr-news-visual-card:hover .alr-news-visual-card__media img{transform:scale(1.035)}
#alrashdiApp #news .alr-news-visual-card__category{
  right:12px;
  bottom:12px;
  padding:6px 9px;
  border-radius:999px;
  background:rgba(11,27,43,.78);
  color:#fff;
  font-size:10px;
  font-weight:900;
}
#alrashdiApp #news .alr-news-visual-card__body{
  display:flex;
  min-height:0;
  flex:1;
  flex-direction:column;
  padding:16px 17px 17px;
}
#alrashdiApp #news .alr-news-visual-card__date{
  color:#64748b;
  font-size:10px;
  font-weight:800;
}
#alrashdiApp #news .alr-news-visual-card h4{
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  margin:7px 0 8px;
  color:var(--alr-navy);
  font-size:17px;
  line-height:1.6;
}
#alrashdiApp #news .alr-news-visual-card h4 a:hover{color:var(--alr-blue)}
#alrashdiApp #news .alr-news-visual-card p{
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  margin-bottom:14px;
  color:#64748b;
  font-size:13px;
  line-height:1.85;
}
#alrashdiApp #news .alr-news-visual-card__link{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-top:auto;
  color:var(--alr-blue);
  font-size:12px;
  font-weight:900;
}
#alrashdiApp .alr-news-more{justify-content:center;margin-top:20px}
#alrashdiApp .alr-news-more .btn{
  min-height:44px;
  padding-inline:18px;
  border-radius:13px;
}

#alrashdiApp #gallery .section-title{align-items:flex-end}
#alrashdiApp #gallery .alr-gallery-showcase{gap:13px}
#alrashdiApp #gallery .alr-gallery-feature,
#alrashdiApp #gallery .alr-gallery-tile,
#alrashdiApp #gallery .alr-gallery-more-tile{
  border-radius:19px;
  border-color:rgba(11,27,43,.09);
  box-shadow:var(--alr-shadow-soft);
}
#alrashdiApp #gallery .alr-gallery-feature img,
#alrashdiApp #gallery .alr-gallery-tile img{
  object-fit:contain;
  background:#edf2f8;
}
#alrashdiApp #gallery .alr-gallery-more-tile{
  border-color:rgba(29,78,216,.17);
  background:linear-gradient(145deg,#f8fbff,#eef4ff);
}
#alrashdiApp #gallery .alr-gallery-more-icon{
  color:var(--alr-blue);
  background:#fff;
  box-shadow:0 8px 18px rgba(29,78,216,.13);
}

#alrashdiApp #community{
  background:linear-gradient(180deg,rgba(246,248,252,.78),rgba(255,255,255,.52));
}
#alrashdiApp #community .alr-community-intro{
  max-width:700px;
  margin-inline:auto;
  text-align:center;
}
#alrashdiApp #community .alr-community-eyebrow{
  display:inline-flex;
  color:var(--alr-blue);
  font-size:11px;
  font-weight:900;
}
#alrashdiApp #community .alr-community-intro h3{
  margin:6px 0 8px;
  color:var(--alr-navy);
  font-size:clamp(24px,3vw,32px);
  line-height:1.5;
}
#alrashdiApp #community .alr-community-intro p{
  color:#64748b;
  font-size:13px;
  line-height:1.9;
}
#alrashdiApp #community .alr-community-choices{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:22px;
}
#alrashdiApp #community .alr-community-choice{
  min-width:0;
  min-height:76px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:13px 15px;
  border:1px solid rgba(11,27,43,.10);
  border-radius:18px;
  background:#fff;
  color:var(--alr-navy);
  text-align:right;
  box-shadow:var(--alr-shadow-soft);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background-color .2s ease;
}
#alrashdiApp #community .alr-community-choice:hover{
  border-color:rgba(29,78,216,.24);
  box-shadow:0 14px 28px rgba(11,27,43,.09);
  transform:translateY(-2px);
}
#alrashdiApp #community .alr-community-choice__icon,
#alrashdiApp #community .alr-community-panel__icon{
  display:grid;
  place-items:center;
  flex:0 0 42px;
  width:42px;
  height:42px;
  border-radius:13px;
  background:#eff4ff;
  color:var(--alr-blue);
}
#alrashdiApp #community .alr-community-choice__icon svg,
#alrashdiApp #community .alr-community-panel__icon svg{
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
}
#alrashdiApp #community .alr-community-choice__copy{
  display:grid;
  min-width:0;
  gap:2px;
}
#alrashdiApp #community .alr-community-choice__copy strong{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:14px;
}
#alrashdiApp #community .alr-community-choice__copy small{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#64748b;
  font-size:11px;
}
#alrashdiApp #community .alr-community-choice__arrow{
  margin-inline-start:auto;
  color:#64748b;
  font-size:18px;
}
#alrashdiApp #community .alr-community-workspace{margin-top:16px}
#alrashdiApp #community .alr-community-panel{
  border-radius:22px;
  border-color:rgba(11,27,43,.10);
  box-shadow:var(--alr-shadow);
}
#alrashdiApp #community .alr-community-panel__head{
  gap:14px;
  padding:18px 20px;
  border-bottom:1px solid rgba(11,27,43,.08);
  background:linear-gradient(180deg,#fff,#f8faff);
}
#alrashdiApp #community .alr-community-panel__title{
  min-width:0;
}
#alrashdiApp #community .alr-community-panel__title h4{
  color:var(--alr-navy);
  font-size:18px;
  line-height:1.55;
}
#alrashdiApp #community .alr-community-panel__title p{
  color:#64748b;
  font-size:12px;
  line-height:1.8;
}
#alrashdiApp #community .alr-community-change{
  min-height:38px;
  padding:8px 12px;
  border:1px solid rgba(29,78,216,.16);
  border-radius:11px;
  background:#f4f7ff;
  color:var(--alr-blue);
  font:inherit;
  font-size:11px;
  font-weight:900;
}
#alrashdiApp #community .alr-community-note{
  color:#64748b;
  font-size:11px;
  text-align:center;
}

#alrashdiApp #contact{
  padding-block:32px 48px;
  background:linear-gradient(180deg,rgba(255,255,255,.2),rgba(238,244,251,.75));
}
#alrashdiApp #contact .foot{
  gap:22px;
  padding-top:22px;
  border-top:1px solid rgba(11,27,43,.10);
}
#alrashdiApp #contact .foot h4{color:var(--alr-navy)}
#alrashdiApp #contact .foot p{color:#64748b;line-height:1.9}
#alrashdiApp #contact .copy{color:#64748b;font-size:11px}

#alrashdiApp .alr-portal,
#alrashdiApp .alr-identity,
#alrashdiApp .alr-legal-page{
  position:relative;
  z-index:1;
}
#alrashdiApp .alr-portal{
  max-width:1180px;
  margin:clamp(24px,4vw,44px) auto 54px;
}
#alrashdiApp .alr-portal-hero,
#alrashdiApp .alr-identity-hero,
#alrashdiApp .alr-legal-page>header{
  border-radius:26px;
  background:
    radial-gradient(460px 220px at 12% 0%,rgba(255,255,255,.11),transparent 72%),
    linear-gradient(135deg,#0b1b2b,#153756 72%,#214d76);
  box-shadow:0 18px 40px rgba(11,27,43,.16);
}
#alrashdiApp .alr-portal-card,
#alrashdiApp .alr-legal-page .alr-content{
  border-radius:22px;
  border-color:rgba(11,27,43,.09);
  box-shadow:var(--alr-shadow-soft);
}
#alrashdiApp .alr-portal-tools a{
  border-radius:12px;
  border-color:rgba(11,27,43,.10);
  box-shadow:0 6px 16px rgba(11,27,43,.04);
}
#alrashdiApp .alr-portal-tools a:hover,
#alrashdiApp .alr-portal-tools a:focus-visible{
  border-color:rgba(29,78,216,.24);
  background:#f4f7ff;
  color:var(--alr-blue);
}
#alrashdiApp .alr-auth-switch{
  border-radius:15px;
  background:#eef4ff;
  border-color:#dbe5f5;
}
#alrashdiApp .alr-auth-switch button.is-active{
  color:var(--alr-blue);
}
#alrashdiApp .alr-legal-page .alr-content{line-height:2}
#alrashdiApp .alr-legal-page h2{color:var(--alr-navy)}

@media (max-width:1100px){
  #alrashdiApp .topbar .wrap,
  #alrashdiApp .topbar .nav{
    width:100%;
    max-width:100%;
    box-sizing:border-box;
  }
  #alrashdiApp .topbar .nav{
    display:flex;
    direction:rtl;
    justify-content:space-between;
    align-items:center;
    gap:8px;
  }
  #alrashdiApp .topbar .brand{
    order:1;
    min-width:0;
    flex:0 1 auto;
    margin:0;
  }
  #alrashdiApp .topbar .menu{display:none}
  #alrashdiApp .topbar .cta{
    order:3;
    min-width:auto;
    margin-inline-start:auto;
    margin-inline-end:0;
    direction:ltr;
  }
  #alrashdiApp .topbar .burger{
    display:flex;
    order:2;
    width:44px;
    height:44px;
    min-height:44px;
  }
  #alrashdiApp .topbar .brand-title{
    max-width:clamp(145px,40vw,250px);
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  #alrashdiApp .drawer{
    padding:0;
    background:rgba(5,15,28,.42);
    backdrop-filter:blur(7px);
    -webkit-backdrop-filter:blur(7px);
  }
  #alrashdiApp .drawer-panel{
    width:min(380px,92vw);
    height:100dvh;
    border-radius:24px 0 0 24px;
  }
  #alrashdiApp .drawer-head{
    min-height:70px;
    padding:14px 16px;
  }
  #alrashdiApp .drawer-nav{padding:14px 16px 24px}
  #alrashdiApp .drawer-nav a{
    min-height:50px;
    padding:13px 14px;
    border-radius:14px;
    background:#f7f9fd;
  }
}

@media (max-width:900px){
  #alrashdiApp #about .grid.cards,
  #alrashdiApp #branches .alr-branches-grid,
  #alrashdiApp #news .alr-news-visual-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  #alrashdiApp .hero-grid{grid-template-columns:minmax(0,1fr)}
  #alrashdiApp .hero-card{order:1}
  #alrashdiApp .hero-side{order:2}
  #alrashdiApp #announcements .ann-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #alrashdiApp #announcements .ann-head{
    align-items:flex-start;
    flex-direction:column;
  }
  #alrashdiApp #announcements .ann-head__controls{
    justify-content:space-between;
    width:100%;
  }
  #alrashdiApp #community .alr-community-choices{grid-template-columns:1fr}
}

@media (max-width:640px){
  #alrashdiApp > main > section,
#alrashdiApp > #community{padding-block:32px}
  #alrashdiApp .wrap{padding-inline:14px}
  #alrashdiApp .hero{padding-top:24px}
  #alrashdiApp .hero-card{
    padding:26px 18px 22px;
    border-radius:21px;
  }
  #alrashdiApp .hero :is(h1,h2,.alr-home-title){
    max-width:none;
    font-size:clamp(28px,8.6vw,38px);
    line-height:1.25;
  }
  #alrashdiApp .hero-card>p{font-size:14px;line-height:1.9}
  #alrashdiApp .hero-actions{gap:8px;margin-top:18px}
  #alrashdiApp .hero-actions .btn{
    flex:1 1 calc(50% - 8px);
    min-height:44px;
    padding-inline:12px;
    font-size:12px;
  }
  #alrashdiApp .hero-side{padding:9px;border-radius:21px}
  #alrashdiApp .slides{height:clamp(220px,68vw,300px)}
  #alrashdiApp .section-title{margin-bottom:15px}
  #alrashdiApp .section-title h3{font-size:23px}
  #alrashdiApp .section-title p{font-size:12px}
  #alrashdiApp #announcements .ann-wrap{padding:14px;border-radius:21px}
  #alrashdiApp #announcements .ann-head__controls{
    align-items:stretch;
    flex-wrap:wrap;
  }
  #alrashdiApp #announcements .tabs{
    flex:1 1 100%;
    justify-content:stretch;
  }
  #alrashdiApp #announcements .tab{
    flex:1 1 0;
    padding-inline:8px;
    font-size:10px;
  }
  #alrashdiApp #announcements .ann-archive-link{
    width:100%;
  }
  #alrashdiApp #announcements .ann-grid{
    grid-template-columns:1fr;
  }
  #alrashdiApp #news .alr-news-visual-grid{
    grid-template-columns:1fr;
    gap:12px;
  }
  #alrashdiApp #gallery .alr-gallery-showcase{gap:8px}
  #alrashdiApp #community .alr-community-choice{
    min-height:68px;
    padding:11px 12px;
  }
  #alrashdiApp #community .alr-community-panel__head{
    align-items:flex-start;
    flex-direction:column;
    padding:15px;
  }
  #alrashdiApp #community .alr-community-change{width:100%}
  #alrashdiApp .topbar .brand-title{
    max-width:clamp(125px,38vw,185px);
    font-size:12px;
  }
  #alrashdiApp .topbar .brand small{display:none}
  #alrashdiApp .topbar .logo{
    width:38px;
    height:38px;
    flex-basis:38px;
    border-radius:13px;
  }
  #alrashdiApp .topbar .alr-portal-entry{
    min-height:42px;
    padding-inline:10px;
    border-radius:12px;
    font-size:12px;
  }
  #alrashdiApp .topbar .burger{
    width:42px;
    height:42px;
    min-height:42px;
  }
  #alrashdiApp .alr-portal{padding-inline:14px}
  #alrashdiApp .alr-portal-tools{gap:8px}
}

@media (max-width:520px){
  #alrashdiApp #about .grid.cards,
  #alrashdiApp #branches .alr-branches-grid{
    grid-template-columns:1fr;
  }
  #alrashdiApp .hero-actions .btn{flex-basis:calc(50% - 8px)}
  #alrashdiApp #gallery .alr-gallery-feature,
  #alrashdiApp #gallery .alr-gallery-tile,
  #alrashdiApp #gallery .alr-gallery-more-tile{
    border-radius:15px;
  }
  #alrashdiApp .drawer-panel{width:min(360px,94vw)}
}

@media (prefers-reduced-motion:reduce){
  #alrashdiApp *,
  #alrashdiApp *::before,
  #alrashdiApp *::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    scroll-behavior:auto!important;
    transition-duration:.01ms!important;
  }
}


/* Responsive refinements. All selectors are confined to theme presentation. */
#alrashdiApp { --alr-header-height:76px; }
#alrashdiApp :is(.hero-grid,.hero-grid > *, .section-title > *, .foot > *){min-width:0}
#alrashdiApp .topbar .menu :is(a,button){font-family:inherit;font-size:13px}
#alrashdiApp .hero-card > p{font-size:16px;line-height:1.95}
#alrashdiApp .hero-card > p[style*="margin-top"]{font-size:14px!important}
#alrashdiApp .hero-side .side-note{font-size:14px;line-height:1.9;padding:4px 10px 12px}
#alrashdiApp .hero-grid{align-items:stretch}
#alrashdiApp .hero-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
#alrashdiApp .hero-card .hero-actions{width:100%}
#alrashdiApp .hero-actions .btn{white-space:normal;text-align:center}
#alrashdiApp .dots{gap:2px;align-items:center}
#alrashdiApp .dot{
  display:grid;place-items:center;flex:0 0 28px;width:28px;height:32px;
  min-width:28px;min-height:32px;border:0;border-radius:8px;background:transparent;
}
#alrashdiApp .dot::after{content:"";width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.35);border:1px solid rgba(255,255,255,.7)}
#alrashdiApp .dot[aria-current="true"]{background:transparent;box-shadow:none}
#alrashdiApp .dot[aria-current="true"]::after{background:#fff}
#alrashdiApp .alr-slideshow-toggle{
  position:absolute;top:12px;left:12px;z-index:4;display:flex;align-items:center;gap:6px;
  min-height:36px;padding:6px 10px;border:1px solid rgba(255,255,255,.4);border-radius:10px;
  background:rgba(11,27,43,.75);color:white;font:inherit;font-size:12px;cursor:pointer;
}
#alrashdiApp .alr-home-statistics{margin:22px auto 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-radius:20px;background:#10263e;overflow:hidden}
#alrashdiApp .alr-home-statistics a{display:grid;gap:5px;text-align:center;padding:20px 8px;min-width:0;border-inline-start:1px solid rgba(255,255,255,.13);color:#fff}
#alrashdiApp .alr-home-statistics a:first-child{border-inline-start:0}
#alrashdiApp .alr-home-statistics a:hover{background:rgba(255,255,255,.05)}
#alrashdiApp .alr-home-statistics b{font-size:27px;line-height:1.3;font-weight:700;font-variant-numeric:tabular-nums;color:#edc274}
#alrashdiApp .alr-home-statistics span{font-size:13px;color:#d2dce9}
#alrashdiApp #branches .alr-branch-card{
  display:grid;grid-template-columns:72px minmax(0,1fr);grid-template-areas:"media tag" "media title" "description description" "link link";
  align-content:start;gap:6px 14px;padding:18px;height:100%;transform:none;
}
#alrashdiApp #branches .alr-branch-card > .alr-card-media{grid-area:media;width:72px;height:72px;aspect-ratio:1;margin:0;border-radius:15px;align-self:center}
#alrashdiApp #branches .alr-branch-card > .tag{grid-area:tag;align-self:end;margin:0;font-size:11px}
#alrashdiApp #branches .alr-branch-card > h4{grid-area:title;margin:0;font-size:17px}
#alrashdiApp #branches .alr-branch-card > p{grid-area:description;margin:8px 0 10px;font-size:14px}
#alrashdiApp #branches .alr-branch-card > .link{grid-area:link;margin:0;min-height:36px;align-self:end;font-size:13px}
#alrashdiApp #branches .alr-branch-card:first-child{
  grid-column:1/-1;grid-template-columns:180px minmax(0,1fr) 170px;
  grid-template-areas:"media tag link" "media title link" "media description link";
  background:linear-gradient(125deg,#0b1b2b,#183754);border-color:#19344e;column-gap:24px;padding:24px;
}
#alrashdiApp #branches .alr-branch-card:first-child > .alr-card-media{width:180px;height:146px;object-fit:cover}
#alrashdiApp #branches .alr-branch-card:first-child :is(.tag,h4){color:#fff}
#alrashdiApp #branches .alr-branch-card:first-child > h4{font-size:24px}
#alrashdiApp #branches .alr-branch-card:first-child > p{display:block;overflow:visible;color:#d6e1ed}
#alrashdiApp #branches .alr-branch-card:first-child > .link{align-self:center;justify-content:center;border-radius:13px;padding:12px 16px;background:#edc274;color:#10263e;min-height:46px}
#alrashdiApp #announcements .alr-ann-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:16px}
#alrashdiApp #announcements .alr-ann-column{border:1px solid rgba(255,255,255,.2);border-radius:18px;overflow:hidden;background:rgba(255,255,255,.055)}
#alrashdiApp #announcements .alr-ann-column > h5{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0;padding:15px 18px;background:#24538b;color:#fff;font-size:17px;line-height:1.5}
#alrashdiApp #announcements .alr-ann-column[data-category="congrats"] > h5{background:#177458}
#alrashdiApp #announcements .alr-ann-column[data-category="condolences"] > h5{background:#953c47}
#alrashdiApp #announcements .alr-ann-count{padding:3px 9px;border-radius:20px;background:rgba(255,255,255,.15);font-size:13px}
#alrashdiApp #announcements .alr-ann-column .ann{border:0;border-radius:0;background:none;box-shadow:none;padding:18px}
#alrashdiApp #announcements .alr-ann-column .ann + .ann{border-top:1px solid rgba(255,255,255,.15)}
#alrashdiApp #announcements .alr-ann-column .ann h6{color:white;font-size:17px;line-height:1.7;margin-bottom:10px}
#alrashdiApp #announcements .alr-ann-column .ann p{font-size:14px;line-height:1.9}
#alrashdiApp #announcements .alr-ann-column .meta{font-size:12px}
#alrashdiApp #announcements .alr-ann-older{border-top:1px solid rgba(255,255,255,.2)}
#alrashdiApp #announcements .alr-ann-older summary{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;cursor:pointer;color:white;font-size:14px;min-height:48px;list-style:none}
#alrashdiApp #announcements .alr-ann-older summary::-webkit-details-marker{display:none}
#alrashdiApp #announcements .alr-ann-older summary::after{content:"＋";font-size:18px}
#alrashdiApp #announcements .alr-ann-older[open] summary::after{content:"−"}
#alrashdiApp #announcements .alr-ann-category-link{display:block;padding:13px 18px;border-top:1px solid rgba(255,255,255,.2);color:#edc274;font-size:14px;font-weight:600}
#alrashdiApp .alr-event-teaser__play{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);margin:0}
#alrashdiApp #news .alr-news-visual-card__body{padding:18px}
#alrashdiApp #news .alr-news-visual-card p{font-size:14px}
#alrashdiApp #gallery .alr-gallery-feature img,#alrashdiApp #gallery .alr-gallery-tile img{object-fit:contain!important;transform:none}
#alrashdiApp #community .alr-community-choice__copy :is(strong,small){white-space:normal;overflow:visible}
#alrashdiApp #community .alr-community-intro p{font-size:15px}
#alrashdiApp #community .alr-community-note{font-size:13px}
#alrashdiApp #contact .links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#alrashdiApp #contact .links a{display:flex;align-items:center;justify-content:center;padding:9px 10px;min-height:42px;text-align:center;border-radius:10px;font-size:13px;white-space:normal}
#alrashdiApp :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #4b83f2;outline-offset:3px}
#alrashdiApp .reveal{transition-property:opacity,transform;transition-duration:.3s}
#alrashdiApp :is(.alr-portal,.alr-identity,.alr-legal-page) :is(p,label){overflow-wrap:anywhere}
@media (min-width:901px) and (max-width:1100px){
 #alrashdiApp .hero-grid{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:16px}
 #alrashdiApp .hero-card{padding:28px 22px}
 #alrashdiApp .hero :is(h1,h2,.alr-home-title){font-size:34px}
 #alrashdiApp .hero-actions .btn{font-size:12px;padding-inline:10px}
}
@media (max-width:1100px){
 #alrashdiApp .topbar .nav{gap:12px!important;padding-block:10px!important;min-height:66px}
 #alrashdiApp .topbar .brand{flex:1 1 auto!important;min-width:0!important}
 #alrashdiApp .topbar .brand > span:last-child{min-width:0}
 #alrashdiApp .topbar .cta{flex:0 0 auto!important;margin:0!important;gap:8px!important}
 #alrashdiApp .topbar .brand-title{max-width:none!important;white-space:normal!important;font-size:14px!important;line-height:1.55!important}
 #alrashdiApp .topbar .logo{flex:0 0 38px!important}
 #alrashdiApp .drawer{padding:0!important;backdrop-filter:none;-webkit-backdrop-filter:none}
 #alrashdiApp .drawer-panel{
   width:min(380px,calc(100vw - 28px))!important;max-width:none!important;height:100vh;height:100dvh;
   margin-left:auto!important;margin-right:0!important;right:0;left:auto;
   border-radius:20px 0 0 20px!important;animation:alr-drawer-arrive .22s ease-out;
 }
 #alrashdiApp .drawer-nav{padding:12px 16px max(24px,env(safe-area-inset-bottom))!important;overscroll-behavior:contain}
 #alrashdiApp .drawer-nav > .alr-portal-entry{width:100%;justify-content:center;margin-bottom:14px;min-height:48px}
 #alrashdiApp .drawer-menu-list{gap:8px!important}
 #alrashdiApp .drawer-menu-list > li > :is(a,button){min-height:48px!important;padding:12px 14px!important;border-radius:12px!important;box-shadow:none!important}
 #alrashdiApp .drawer-head{padding-top:max(16px,env(safe-area-inset-top))!important}
 #alrashdiApp .drawer-close{min-width:44px;min-height:44px}
}
@keyframes alr-drawer-arrive{from{transform:translateX(32px);opacity:.6}to{transform:translateX(0);opacity:1}}
@media (min-width:641px) and (max-width:900px){
 #alrashdiApp .hero-grid{gap:18px}
 #alrashdiApp .hero-side{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:center}
 #alrashdiApp .slides{height:260px}
 #alrashdiApp .hero-side .side-note{padding:16px;margin:0!important;font-size:15px}
 #alrashdiApp .hero :is(h1,h2,.alr-home-title){font-size:38px}
 #alrashdiApp #announcements .alr-ann-columns{grid-template-columns:1fr}
 #alrashdiApp #announcements .alr-ann-column .ann{padding:20px}
 #alrashdiApp #branches .alr-branch-card:first-child{grid-template-columns:140px minmax(0,1fr);grid-template-areas:"media tag" "media title" "media description" "link link"}
 #alrashdiApp #branches .alr-branch-card:first-child > .alr-card-media{width:140px;height:140px}
 #alrashdiApp #branches .alr-branch-card:first-child > .link{justify-self:end}
 #alrashdiApp #community .alr-community-choices{grid-template-columns:repeat(3,minmax(0,1fr))}
 #alrashdiApp #community .alr-community-choice{flex-direction:column;align-items:flex-start}
 #alrashdiApp #community .alr-community-choice__arrow{display:none}
}
@media (max-width:640px){
 #alrashdiApp .hero-grid{gap:14px}
 #alrashdiApp .hero-card{padding:24px 18px}
 #alrashdiApp .hero :is(h1,h2,.alr-home-title){font-size:clamp(27px,7.6vw,37px);line-height:1.4}
 #alrashdiApp .hero-card > p{font-size:15px}
 #alrashdiApp .hero-card > p[style*="margin-top"]{font-size:13px!important}
 #alrashdiApp .hero-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:8px}
 #alrashdiApp .hero-actions .btn:first-child{grid-column:1/-1}
 #alrashdiApp .hero-actions .btn{padding:10px 8px;font-size:13px}
 #alrashdiApp .slides{height:auto;aspect-ratio:4/3}
 #alrashdiApp .hero-side .side-note{font-size:13px;line-height:1.9}
 #alrashdiApp .alr-home-statistics{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:14px;border-radius:18px}
 #alrashdiApp .alr-home-statistics a{padding:16px 8px}
 #alrashdiApp .alr-home-statistics a:nth-child(3){border-inline-start:0}
 #alrashdiApp .alr-home-statistics a:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.13)}
 #alrashdiApp .alr-home-statistics b{font-size:25px}
 #alrashdiApp #branches .alr-branch-card:first-child{grid-template-columns:64px minmax(0,1fr);grid-template-areas:"media tag" "media title" "description description" "link link";gap:8px 14px;padding:20px}
 #alrashdiApp #branches .alr-branch-card:first-child > .alr-card-media{width:64px;height:76px}
 #alrashdiApp #branches .alr-branch-card:first-child > h4{font-size:20px}
 #alrashdiApp #branches .alr-branch-card:first-child > .link{justify-self:start}
 #alrashdiApp #announcements .alr-ann-columns{grid-template-columns:1fr}
 #alrashdiApp #announcements .alr-ann-column .ann h6{font-size:18px}
 #alrashdiApp #about .card p{font-size:14px}
 #alrashdiApp .alr-portal{margin:20px auto 32px}
 #alrashdiApp #contact .links{grid-template-columns:repeat(2,minmax(0,1fr))}
 #alrashdiApp .topbar .brand-title{font-size:12px!important}
 #alrashdiApp .topbar .brand small{display:none!important}
}
@media (max-width:360px){
 #alrashdiApp .topbar .wrap{padding-inline:10px!important}
 #alrashdiApp .topbar .brand{gap:6px!important}
 #alrashdiApp .topbar .logo{width:32px!important;height:32px!important;flex-basis:32px!important}
 #alrashdiApp .topbar .brand-title{font-size:11px!important}
 #alrashdiApp .topbar .cta{gap:5px!important}
 #alrashdiApp .topbar .alr-portal-entry{padding-inline:8px!important}
}
@media (hover:none){
 #alrashdiApp :is(.card,.alr-news-visual-card,.alr-community-choice):hover{transform:none}
}
@media (prefers-reduced-motion:reduce){
 #alrashdiApp .reveal{opacity:1!important;transform:none!important}
 #alrashdiApp .drawer-panel{animation:none!important}
}

/* Preserve sticky navigation and keep the preview banner compact on phones. */
@supports (overflow:clip){#alrashdiApp{overflow-x:clip}}
#wpvibe-preview-banner{box-sizing:border-box}
@media(max-width:640px){
 #wpvibe-preview-banner{padding:7px 8px!important;gap:7px!important;align-items:center!important;flex-wrap:nowrap!important}
 #wpvibe-preview-banner .wpvibe-info{display:none!important}
 #wpvibe-preview-banner .wpvibe-badge{margin-inline-end:auto!important;font-size:11px!important;white-space:nowrap!important}
 #wpvibe-preview-banner .wpvibe-btn{font-size:11px!important;line-height:1.4!important;padding:8px!important;white-space:nowrap!important}
}
