/* Step 2 — Community Home mobile visual lock. Desktop remains on the existing Community layout. */
.urcm-home{display:none}
@media (max-width:900px){
  body.ur-community-home-mobile-v1{background:#f7fbff!important;color:#07174a!important}
  body.ur-community-home-mobile-v1 .urc-home{display:none!important}
  body.ur-community-home-mobile-v1 .urc-topnav{display:none!important}
  body.ur-community-home-mobile-v1 .site-footer{display:none!important}
  .urcm-home{display:block!important;padding:0 0 calc(72px + env(safe-area-inset-bottom));background:linear-gradient(180deg,#fff 0,#f7fbff 46%,#f4f9ff 100%);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
  .urcm-wrap{width:100%;max-width:430px;margin:0 auto;padding:8px 10px 16px}
  .urcm-hero{position:relative;min-height:236px;border-radius:17px;overflow:hidden;background:#dceeff;isolation:isolate}
  .urcm-hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;z-index:-3}
  .urcm-hero-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(247,252,255,.99) 0%,rgba(247,252,255,.94) 43%,rgba(247,252,255,.48) 70%,rgba(247,252,255,.08) 100%)}
  .urcm-hero-copy{padding:17px 18px 76px;max-width:68%}
  .urcm-hero-copy h1{margin:0 0 5px;color:#07174a;font-size:28px;line-height:1.04;letter-spacing:-1.05px;font-weight:800}
  .urcm-hero-copy p{margin:0;color:#405682;font-size:13px;line-height:1.4;font-weight:500}
  .urcm-search{position:absolute;left:10px;right:10px;bottom:9px;height:46px;display:flex;align-items:center;gap:9px;padding:0 14px;border:1px solid #d9e7f5;border-radius:14px;background:rgba(255,255,255,.97);box-shadow:0 8px 22px rgba(34,84,145,.12)}
  .urcm-search svg{width:20px;height:20px;color:#193c78;stroke-width:1.9;flex:0 0 auto}
  .urcm-search input{width:100%;min-width:0;border:0!important;outline:0!important;background:transparent!important;color:#0b2254!important;font:600 12px/1.2 Inter,sans-serif!important;box-shadow:none!important;padding:0!important}
  .urcm-search input::placeholder{color:#6f83a9;opacity:1}

  .urcm-topics{display:flex;flex-wrap:wrap;gap:7px 8px;padding:10px 0 8px}
  .urcm-topics a{display:inline-flex;align-items:center;gap:7px;min-height:33px;padding:0 13px;border:1px solid #dce8f6;border-radius:999px;background:#fff;color:#183564;text-decoration:none;font-size:10.8px;font-weight:700;box-shadow:0 2px 7px rgba(35,78,125,.035)}
  .urcm-topics a svg{width:14px;height:14px;color:#0e7cff;stroke-width:1.9;flex:0 0 auto}
  .urcm-topics a.active{background:#0d7cff;border-color:#0d7cff;color:#fff;padding-inline:17px}

  .urcm-actions{margin-top:2px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border:1px solid #e0ebf6;border-radius:16px;background:#fff;box-shadow:0 4px 18px rgba(36,78,123,.055);overflow:hidden}
  .urcm-actions a{position:relative;min-width:0;padding:12px 4px 10px;text-decoration:none;text-align:center;color:#07174a}
  .urcm-actions a:not(:last-child)::after{content:"";position:absolute;right:0;top:18px;bottom:18px;width:1px;background:#e8eff7}
  .urcm-actions i{width:34px;height:34px;margin:0 auto 6px;border-radius:50%;display:grid;place-items:center;font-style:normal}
  .urcm-actions i svg{width:20px;height:20px;stroke-width:2}
  .urcm-actions i.green{background:#dcfaec;color:#08a65c}.urcm-actions i.blue{background:#e4f0ff;color:#0876f7}.urcm-actions i.purple{background:#f0e7ff;color:#7648e8}.urcm-actions i.orange{background:#fff0dc;color:#f08a00}.urcm-actions i.cyan{background:#e5f7ff;color:#0c86c8}
  .urcm-actions b{display:block;font-size:8.8px;line-height:1.15;font-weight:800;white-space:nowrap;overflow:visible;text-overflow:clip}
  .urcm-actions span{display:block;margin-top:3px;color:#667b9e;font-size:7.4px;line-height:1.22}

  .urcm-featured{margin-top:15px}
  .urcm-featured>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 2px 8px}
  .urcm-featured h2{margin:0;color:#07174a;font-size:18px;line-height:1.15;letter-spacing:-.5px;font-weight:800}
  .urcm-featured>header>a{color:#0878f6;text-decoration:none;font-size:10.5px;font-weight:800}
  .urcm-featured>header>a span{font-size:16px;vertical-align:-1px}
  .urcm-featured-list{display:grid;gap:8px}
  .urcm-discussion-card{padding:10px 10px 7px;border:1px solid #dfeaf6;border-radius:15px;background:#fff;box-shadow:0 3px 13px rgba(36,78,123,.045)}
  .urcm-discussion-main{display:grid;grid-template-columns:34px minmax(0,1fr) 74px;gap:8px;align-items:start}
  .urcm-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#ffd8be,#f5a975);color:#6c2f10;font-size:11px;font-weight:800;border:2px solid #fff;box-shadow:0 0 0 1px #e7eef7}
  .urcm-avatar.cool{background:linear-gradient(145deg,#d9efff,#8fc5ef);color:#0a4f83}.urcm-avatar.dark{background:linear-gradient(145deg,#d9d8eb,#7f80a3);color:#fff}
  .urcm-discussion-copy{min-width:0}
  .urcm-meta{display:flex;align-items:center;gap:4px;min-width:0;white-space:nowrap;overflow:hidden}
  .urcm-meta b{font-size:10.2px;color:#0c2252;overflow:hidden;text-overflow:ellipsis}
  .urcm-verified{width:12px;height:12px;display:inline-grid;place-items:center;border-radius:50%;background:#0d7cff;color:#fff;font-size:8px;font-style:normal;flex:0 0 auto}
  .urcm-meta em{display:inline-flex;align-items:center;height:18px;padding:0 6px;border-radius:999px;background:#eaf4ff;color:#0d73eb;font-size:7.5px;font-style:normal;font-weight:700;max-width:74px;overflow:hidden;text-overflow:ellipsis}
  .urcm-meta time{margin-left:auto;color:#7385a2;font-size:7.3px;font-style:normal}
  .urcm-title{display:block;margin-top:3px;color:#081b4c;text-decoration:none;font-size:11.4px;line-height:1.25;font-weight:800}
  .urcm-discussion-copy p{margin:3px 0 0;color:#566d93;font-size:8.8px;line-height:1.28;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .urcm-thumb{display:block;width:74px;height:58px;border-radius:10px;overflow:hidden;background:#edf5fd}
  .urcm-thumb img{width:100%;height:100%;object-fit:cover;display:block}
  .urcm-card-actions{display:flex;align-items:center;gap:18px;margin-top:7px;padding-left:42px;color:#49617f;font-size:8.4px}
  .urcm-card-actions span,.urcm-card-actions>a{display:inline-flex;align-items:center;gap:4px;color:inherit;text-decoration:none}
  .urcm-card-actions svg{width:15px;height:15px;stroke:#123d7a;stroke-width:1.8}
  .urcm-card-actions .urcm-more{margin-left:auto;color:#0b376f;font-weight:900;letter-spacing:1px}
  .urcm-empty{padding:22px 14px;text-align:center;border:1px dashed #cddcec;border-radius:15px;background:#fff;color:#526b8f}.urcm-empty b,.urcm-empty span{display:block}.urcm-empty a{display:inline-block;margin-top:9px;color:#0d73eb;font-weight:800}

  .urcm-bottom-cards{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:9px}
  .urcm-guide-card,.urcm-help-card{min-height:105px;border:1px solid #dce9f5;border-radius:15px;position:relative;overflow:hidden;text-decoration:none}
  .urcm-guide-card{display:grid;grid-template-columns:34px 1fr 18px;gap:7px;padding:11px;background:linear-gradient(125deg,#eef8ff 0,#dfefff 70%,#fff 100%);color:#0b2253}
  .urcm-guide-card::after{content:"";position:absolute;right:-8px;bottom:-18px;width:80px;height:95px;background:url('../images/makkah-clock.jpg') center/cover;border-radius:50% 0 0 0;opacity:.25}
  .urcm-guide-card i,.urcm-help-card>i{position:relative;z-index:1;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#0d75ed}
  .urcm-guide-card svg,.urcm-help-card svg{width:21px;height:21px;stroke-width:1.8}
  .urcm-guide-card div,.urcm-guide-card strong{position:relative;z-index:1}.urcm-guide-card b,.urcm-help-card b{display:block;font-size:11px;line-height:1.15}.urcm-guide-card span,.urcm-help-card span{display:block;margin-top:3px;color:#5c7294;font-size:8px;line-height:1.25}.urcm-guide-card strong{align-self:center;color:#0d7cff;font-size:19px}
  .urcm-help-card{display:grid;grid-template-columns:34px 1fr;gap:7px;padding:11px;background:linear-gradient(130deg,#f4fff8 0,#e6faee 100%);color:#0b2253}
  .urcm-help-card>i{color:#0aa75f}.urcm-help-card a{display:block;margin-top:6px;padding:5px 4px;border-radius:999px;background:#09b760;color:#fff;text-align:center;text-decoration:none;font-size:7.8px;font-weight:800}.urcm-help-card a.secondary{margin-top:4px;background:#fff;border:1px solid #bddbca;color:#0b7d4b}

  html[dir="rtl"] .urcm-hero-shade{background:linear-gradient(270deg,rgba(247,252,255,.99) 0%,rgba(247,252,255,.94) 43%,rgba(247,252,255,.48) 70%,rgba(247,252,255,.08) 100%)}
  html[dir="rtl"] .urcm-meta time{margin-left:0;margin-right:auto}
  html[dir="rtl"] .urcm-card-actions{padding-left:0;padding-right:42px}
  html[dir="rtl"] .urcm-card-actions .urcm-more{margin-left:0;margin-right:auto}
}
@media (max-width:380px){
  .urcm-wrap{padding-inline:8px}.urcm-hero-copy{max-width:71%;padding-left:15px;padding-right:15px}.urcm-hero-copy h1{font-size:25px}.urcm-topics{gap:6px}.urcm-topics a{padding-inline:11px;font-size:10px}.urcm-actions span{font-size:6.8px}.urcm-discussion-main{grid-template-columns:32px minmax(0,1fr) 68px}.urcm-avatar{width:32px;height:32px}.urcm-thumb{width:68px;height:55px}.urcm-card-actions{gap:12px;padding-left:40px}
}
