/* London Muslims reels, production layout rules (from tested staging-lm.css v3, staging ribbon removed). 29 Nov 2026 */

/* 1. readers: remove the oversized floating badges, show compact inline buttons */
.hero-home .lm-quran-badge,.hero-home .lm-hadith-badge{display:none!important}
.hero-home .actions{flex-wrap:wrap}
.lm-readers{display:inline-flex;flex-wrap:wrap;gap:8px;align-items:center}
.lm-reader-btn{display:inline-flex;align-items:center;gap:.4rem;min-height:40px;padding:.45rem .9rem;border-radius:999px;
  border:1px solid rgba(212,167,58,.75);background:rgba(10,40,32,.55);color:#f6d77b;font-weight:700;font-size:.9rem;
  line-height:1.2;text-decoration:none;white-space:nowrap}
.lm-reader-btn:hover,.lm-reader-btn:focus-visible{background:#d4a73a;color:#0b2a21}
.lm-reader-btn:focus-visible{outline:3px solid #f6d77b;outline-offset:2px}
@media (max-width:560px){
  .lm-readers{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .lm-reader-btn{justify-content:center;white-space:normal;text-align:center}
}

/* 2. Quran Shorts + Hadith Reels side by side */
.lm-reel-duo{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:14px;border:1px solid rgba(212,167,58,.35);
  border-radius:18px;background:rgba(6,24,19,.55);margin-bottom:18px}
.lm-reel-duo .lmr{--lmr-w:min(100%,220px)}
.lm-reel-duo > .lmr{justify-self:center;width:100%;max-width:220px}
@media (max-width:600px){.lm-reel-duo{gap:10px;padding:10px}.lm-reel-duo .lmr-count{display:none}.lm-reel-duo .lmr-btn{min-width:28px;height:32px;padding:0 4px;font-size:.85rem}.lm-reel-duo .lmr-title{font-size:.9rem}}

/* 3. Shop Reels inside the Winter Warmers banner */
.lm-heat-promo.lm-heat-has-reel{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:28px;align-items:center}
.lm-heat-promo.lm-heat-has-reel{justify-items:start}
.lm-heat-promo.lm-heat-has-reel > :not(.lm-heat-reel){grid-column:1;max-width:100%}
.lmr.lm-heat-reel{--lmr-w:140px}
.lmr.lm-heat-reel .lmr-title{font-size:.95rem}
.lm-heat-promo.lm-heat-has-reel > .lm-heat-reel{grid-column:2;grid-row:1 / span 6;align-self:center;
  background:rgba(60,20,6,.35);padding:12px;border-radius:16px;max-width:380px}
.lmr.lm-heat-reel{--lmr-ink:#fff7ed;--lmr-bg:rgba(60,20,6,.55);--lmr-line:rgba(255,237,213,.55);--lmr-gold:#fde68a}
@media (max-width:820px){
  .lm-heat-promo.lm-heat-has-reel{grid-template-columns:1fr}
  .lm-heat-promo.lm-heat-has-reel > .lm-heat-reel{grid-column:1;grid-row:auto;margin-top:16px;max-width:none}
}

/* 4. Shop hero reels */
.hero.hero-page .wrap.lm-shop-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center}
.lm-shop-hero-reel{max-width:400px;padding:12px;border-radius:16px;background:rgba(6,24,19,.35);border:1px solid rgba(212,167,58,.35)}
@media (max-width:820px){.hero.hero-page .wrap.lm-shop-hero-grid{grid-template-columns:1fr}.lm-shop-hero-reel{max-width:none}}

/* 5. Hadith page section */
.hr-reels{margin:16px 0 8px}
.hr-reels-in{display:grid;grid-template-columns:auto minmax(0,1fr);gap:22px;align-items:start;padding:16px;border-radius:16px;
  background:linear-gradient(160deg,#0f3a2e,#082019);color:#f6f1e3;border:1px solid rgba(212,167,58,.4)}
.hr-reels .lmr{--lmr-w:190px}
.hr-reels h2{margin:0 0 6px;font-size:1.25rem;color:#f6d77b}
.hr-reels p{margin:0 0 10px;font-size:.92rem;line-height:1.5}
.hr-recent{list-style:none;margin:0 0 10px;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.hr-recent-btn{display:flex;gap:8px;align-items:center;width:100%;padding:6px;border-radius:10px;border:1px solid rgba(212,167,58,.4);
  background:rgba(0,0,0,.25);color:inherit;font:inherit;font-size:.78rem;text-align:left;cursor:pointer}
.hr-recent-btn img{width:48px;height:64px;object-fit:cover;border-radius:6px;flex:0 0 auto}
.hr-recent-btn:focus-visible{outline:3px solid #f6d77b;outline-offset:2px}
.hr-more a{color:#f6d77b}
@media (max-width:600px){.hr-reels-in{grid-template-columns:1fr;justify-items:center;gap:12px;padding:12px}.hr-reels-copy{width:100%;min-width:0}.hr-reels .lmr{--lmr-w:160px}.hr-recent{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(170px,72%);overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px}.hr-recent li{scroll-snap-align:start}.hr-reels-copy{order:-1}.hr-reels-copy > p:first-of-type{display:none}}

/* staged Quran Reader reels tab */
.lmr-quran-tab{max-width:420px;margin:1.2rem auto 2rem;padding:0 12px}
.lm-reel-duo:empty{display:none}

/* v20261130a: readers at the top of the hero copy, Shop button in the hero actions */
.lm-readers-top{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.lm-readers-top .lm-reader-btn{min-height:36px;padding:.35rem .85rem;font-size:.92rem}
.hero-home .actions .lm-shop-btn{border:1px solid #d4a73a;color:#f6d77b;gap:.45rem}
.hero-home .actions .lm-shop-btn:hover,.hero-home .actions .lm-shop-btn:focus-visible{background:#d4a73a;color:#0b2a21}
@media (max-width:640px){
  .lm-readers-top{display:grid;grid-template-columns:1fr 1fr;width:100%;margin:0 0 14px}
  .hero-home .actions .lm-shop-btn{width:100%;justify-content:center}
}
