:root{
  --green:#137333;--green-dark:#0b4f25;--green-deep:#083c1d;
  --gold:#b98a32;--gold-light:#e8c878;--cream:#fbfaf5;--ink:#172019;
  --muted:#5d6962;--white:#fff;--line:#e6e4dc;--shadow:0 6px 20px rgba(8,60,29,.08);
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--cream);line-height:1.58}
a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}.wrap{width:min(1160px,calc(100% - 32px));margin-inline:auto}
.skip{position:absolute;left:-9999px;top:8px}.skip:focus{left:12px;z-index:1000;background:#fff;color:var(--green);padding:8px 12px;border-radius:6px}
.top{background:linear-gradient(135deg,var(--green-deep),var(--green));color:#fff;border-bottom:4px solid var(--gold);box-shadow:0 2px 12px rgba(0,0,0,.08)}
.top .bar{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:8px 0}.brand{display:flex;align-items:center;gap:11px;color:#fff;min-width:0}.brand-logo{width:58px;height:58px;object-fit:contain;background:#fff;border-radius:9px;border:2px solid rgba(232,200,120,.9);box-shadow:0 2px 8px rgba(0,0,0,.12);flex:0 0 auto}.brand-text{min-width:0}.brand strong{display:block;font-size:18px;line-height:1.1;letter-spacing:.01em}.brand small{display:block;color:#eaf5ec;margin-top:3px;font-size:12px}.nav{display:flex;align-items:center;gap:3px}.nav a{color:#fff;padding:8px 7px;border-radius:7px;font-size:13px;font-weight:650;white-space:nowrap}.nav a:hover{background:rgba(255,255,255,.12);text-decoration:none}.nav .donate{background:var(--gold);box-shadow:0 2px 6px rgba(0,0,0,.14)}
.mobile-toggle{display:none;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.08);color:#fff;border-radius:8px;padding:9px 11px;font-size:20px;line-height:1;cursor:pointer}.mobile-toggle span{display:block;width:21px;height:2px;background:#fff;margin:4px 0;border-radius:2px}
.hero{padding:34px 0 28px;background:linear-gradient(120deg,#f4f9f3 0%,#fffdf7 52%,#f8f1df 100%);border-bottom:1px solid var(--line)}.hero .wrap{max-width:960px}.hero h1{font-size:clamp(30px,4vw,48px);line-height:1.08;margin:7px 0 8px;color:var(--green-dark)}.hero p{max-width:760px;font-size:16px;color:var(--muted);margin:0}.pill{display:inline-block;background:#e4f0e5;color:var(--green-dark);padding:4px 9px;border-radius:999px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.section{padding:28px 0}.prose{max-width:960px}.prose p{margin:0 0 13px}.prose h2{color:var(--green-dark);margin:24px 0 9px}.prose h3{color:var(--green-dark)}.prose ul{padding-left:21px;margin-top:8px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.card{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:17px;box-shadow:var(--shadow)}.card h3{margin:0 0 7px;color:var(--green-dark);font-size:18px}.card p{margin:0 0 10px}.cta{background:linear-gradient(135deg,var(--green-deep),var(--green));color:#fff;border-radius:13px;padding:22px;border-left:5px solid var(--gold)}.cta h2{margin:0 0 6px}.cta p{margin:0 0 10px}.btn{display:inline-block;padding:9px 15px;border-radius:7px;background:var(--green);color:#fff;font-weight:750;margin:3px 4px 3px 0;border:0}.btn:hover{text-decoration:none;filter:brightness(.96)}.btn.gold{background:var(--gold);color:#fff}.btn.light{background:#fff;color:var(--green-dark)}.notice{background:#fff8df;border-left:4px solid var(--gold);padding:12px 15px;border-radius:7px;margin:14px 0}.table{width:100%;border-collapse:collapse;background:#fff;border-radius:10px;overflow:hidden}.table th,.table td{padding:10px;border-bottom:1px solid var(--line);text-align:left}.donation-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.donation-card{min-height:180px}.paypal-wrap{display:flex;justify-content:center;align-items:flex-start}.paypal-btn{display:inline-flex;align-items:center;justify-content:center;min-width:190px}
footer{background:linear-gradient(135deg,var(--green-deep),#0d5b2b);color:#fff;margin-top:20px;border-top:5px solid var(--gold)}footer .foot{padding:23px 0;display:grid;grid-template-columns:1.7fr 1fr 1fr;gap:22px}footer h3,footer h4{margin:0 0 7px}footer p{margin:0;color:#edf6ef}footer a{color:#fff}footer small{opacity:.8}.footer-bottom{border-top:1px solid rgba(255,255,255,.14);padding:9px 0;color:#dcebe0;font-size:12px}.socials{display:flex;gap:8px;flex-wrap:wrap}.socials a{border:1px solid rgba(255,255,255,.25);border-radius:999px;padding:5px 9px;font-size:12px}
@media(max-width:980px){.nav a{font-size:12px;padding:7px 7px}.brand strong{font-size:16px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.wrap{width:min(100% - 24px,600px)}.top .bar{min-height:68px;padding:7px 0;position:relative}.brand-logo{width:52px;height:52px}.brand strong{font-size:15px}.brand small{font-size:10px}.mobile-toggle{display:block}.nav{display:none;position:absolute;left:0;right:0;top:100%;z-index:20;background:var(--green-deep);padding:7px;border-top:1px solid rgba(255,255,255,.15);box-shadow:0 8px 18px rgba(0,0,0,.15)}.nav.open{display:flex;flex-direction:column;align-items:stretch}.nav a{font-size:14px;padding:10px 12px}.nav .donate{text-align:center}.hero{padding:27px 0 23px}.hero h1{font-size:34px}.section{padding:22px 0}.grid,.donation-grid{grid-template-columns:1fr;gap:12px}.card{padding:15px}.cta{padding:18px}.prose h2{margin-top:19px}footer .foot{grid-template-columns:1fr;gap:16px;padding:20px 0}.footer-bottom{text-align:center}}

.muted{color:var(--muted)}
.card .btn{margin-top:7px}
@media(max-width:1100px){.nav{gap:1px}.nav a{font-size:12px;padding:7px 6px}}

/* Live Iqamah schedule */
.iqamah-section{margin:0 0 28px}
.iqamah-card{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:18px}
.iqamah-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:13px}
.iqamah-heading h2{margin:7px 0 5px}
.iqamah-heading p{margin:0;max-width:720px}
.iqamah-frame-wrap{width:100%;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:#111}
.iqamah-frame{display:block;width:100%;height:430px;border:0;background:#111}
.iqamah-note{font-size:12px;color:var(--muted);margin:10px 0 0}
.khateeb-section{margin-top:22px}
@media(max-width:760px){
  .iqamah-card{padding:13px}
  .iqamah-heading{align-items:stretch;flex-direction:column;gap:10px}
  .iqamah-heading .btn{align-self:flex-start}
  .iqamah-frame{height:520px}
}


/* Primary navigation dropdown */
.nav-dropdown{position:relative;display:block}
.nav-dropdown summary{list-style:none;color:#fff;padding:8px 7px;border-radius:7px;font-size:13px;font-weight:650;white-space:nowrap;cursor:pointer}
.nav-dropdown summary::-webkit-details-marker{display:none}
.nav-dropdown summary::after{content:"▾";font-size:10px;margin-left:5px;opacity:.85}
.nav-dropdown:hover summary,.nav-dropdown[open] summary{background:rgba(255,255,255,.12)}
.nav-submenu{position:absolute;top:calc(100% + 5px);left:0;min-width:170px;background:var(--green-deep);border:1px solid rgba(255,255,255,.14);border-radius:9px;padding:6px;box-shadow:0 10px 24px rgba(0,0,0,.2);z-index:50}
.nav-submenu a{display:block!important;padding:9px 10px!important;border-radius:6px}
.nav-submenu a:hover{background:rgba(255,255,255,.12)}

@media(max-width:760px){
  .nav-dropdown{display:block}
  .nav-dropdown summary{font-size:14px;padding:10px 12px}
  .nav-dropdown[open] summary{background:rgba(255,255,255,.08)}
  .nav-submenu{position:static;min-width:0;margin:2px 0 4px 10px;padding:2px 0 2px 8px;border:0;border-left:2px solid rgba(232,200,120,.65);border-radius:0;box-shadow:none;background:rgba(0,0,0,.08)}
  .nav-submenu a{padding:9px 12px!important;font-size:13px!important}
}

/* Jumma page: live prayer schedule and Khateeb list share the desktop width */
.jumma-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:stretch}
.jumma-grid>.iqamah-section,.jumma-grid>.khateeb-section{margin:0;min-width:0}
.jumma-grid .iqamah-card,.jumma-grid .khateeb-card{height:100%;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:18px}
.jumma-grid .khateeb-card{display:flex;flex-direction:column}
.jumma-grid .khateeb-card h2{margin:7px 0 14px}
.jumma-grid .table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:10px}
.jumma-grid .table{margin:0;min-width:360px}
.jumma-grid .khateeb-note{margin-top:10px}
.jumma-grid .khateeb-card .btn{margin-top:auto}
@media(max-width:760px){
  .jumma-grid{grid-template-columns:1fr;gap:14px}
  .jumma-grid .iqamah-card,.jumma-grid .khateeb-card{padding:13px}
  .jumma-grid .khateeb-card .btn{margin-top:3px}
}


/* ================================================================
   ICR — Strategic Community Photography
   ================================================================ */
.icr-photo-section{padding:42px 0;background:#f7f8f5}
.icr-photo-section .photo-wrap{display:grid;grid-template-columns:.82fr 1.18fr;gap:24px;align-items:stretch}
.icr-photo-copy{display:flex;flex-direction:column;justify-content:center;padding:6px 0}
.icr-photo-copy .pill{align-self:flex-start}
.icr-photo-copy h2{margin:9px 0 10px;font-size:clamp(24px,3vw,34px);line-height:1.15;color:#164f2d}
.icr-photo-copy p{margin:0 0 15px;font-size:14px;line-height:1.65;color:#4c5d54}
.icr-photo-tags{display:flex;flex-wrap:wrap;gap:7px}
.icr-photo-tags span{padding:5px 9px;border-radius:999px;background:#e8f1ea;color:#164f2d;font-size:11px;font-weight:700}
.icr-photo-mosaic{display:grid;grid-template-columns:1.25fr .75fr;grid-template-rows:1fr 1fr;gap:10px;min-height:300px}
.icr-photo-mosaic a,.icr-photo-mosaic button{padding:0;border:0;overflow:hidden;border-radius:12px;background:#ddd;cursor:pointer}
.icr-photo-mosaic .photo-large{grid-row:1 / span 2}
.icr-photo-mosaic img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.icr-photo-mosaic a:hover img,.icr-photo-mosaic button:hover img{transform:scale(1.035)}
.icr-photo-strip{padding:30px 0;background:#fff}
.icr-photo-strip .strip-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.icr-photo-strip .strip-item{height:150px;overflow:hidden;border-radius:10px;position:relative}
.icr-photo-strip img{width:100%;height:100%;object-fit:cover;display:block}
.icr-photo-strip .strip-caption{position:absolute;left:8px;bottom:8px;padding:5px 8px;border-radius:999px;background:rgba(0,0,0,.62);color:#fff;font-size:10px;font-weight:700}
.icr-photo-feature{display:grid;grid-template-columns:1.1fr .9fr;gap:22px;align-items:center;padding:24px;border-radius:14px;background:linear-gradient(135deg,#0e542b,#174f35);color:#fff}
.icr-photo-feature img{width:100%;height:280px;object-fit:cover;border-radius:11px;display:block}
.icr-photo-feature h2{font-size:28px;line-height:1.15;margin:0 0 9px}
.icr-photo-feature p{font-size:14px;line-height:1.6;opacity:.9}
.icr-photo-feature .btn{margin-top:10px}
.icr-inline-photo{display:grid;grid-template-columns:.95fr 1.05fr;gap:22px;align-items:center;margin:28px 0}
.icr-inline-photo img{width:100%;height:260px;object-fit:cover;border-radius:12px;display:block}
.icr-inline-photo h2{margin:0 0 8px;font-size:26px;color:#164f2d}
.icr-inline-photo p{font-size:14px;line-height:1.65;color:#4c5d54}
.icr-photo-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:20px}
.icr-photo-card{overflow:hidden;border:1px solid #e1e6e2;border-radius:12px;background:#fff}
.icr-photo-card img{display:block;width:100%;height:180px;object-fit:cover}
.icr-photo-card .photo-card-body{padding:12px 14px}
.icr-photo-card h3{font-size:16px;margin:0 0 5px;color:#164f2d}
.icr-photo-card p{font-size:12.5px;line-height:1.5;color:#5a685f;margin:0}
.icr-simple-gallery{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin-top:18px}
.icr-simple-gallery img{width:100%;height:120px;object-fit:cover;border-radius:9px;display:block}
.icr-click-photo{cursor:pointer}
.icr-photo-lightbox{position:fixed;inset:0;z-index:300;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(0,0,0,.82)}
.icr-photo-lightbox.open{display:flex}
.icr-photo-lightbox-inner{position:relative;max-width:min(1100px,94vw);max-height:92vh}
.icr-photo-lightbox img{display:block;max-width:100%;max-height:84vh;border-radius:10px;object-fit:contain}
.icr-photo-lightbox button{position:absolute;top:-12px;right:-12px;width:38px;height:38px;border:0;border-radius:50%;background:#fff;color:#164f2d;font-size:24px;cursor:pointer}
@media(max-width:900px){
  .icr-photo-section .photo-wrap,.icr-photo-feature,.icr-inline-photo{grid-template-columns:1fr}
  .icr-photo-strip .strip-grid{grid-template-columns:repeat(2,1fr)}
  .icr-photo-card-grid{grid-template-columns:repeat(2,1fr)}
  .icr-simple-gallery{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:600px){
  .icr-photo-section{padding:34px 0}
  .icr-photo-mosaic{min-height:240px}
  .icr-photo-strip .strip-grid{grid-template-columns:1fr 1fr}
  .icr-photo-card-grid{grid-template-columns:1fr}
  .icr-simple-gallery{grid-template-columns:repeat(2,1fr)}
  .icr-photo-feature img{height:220px}
}


/* ===== Layout integrity fix after photo integration ===== */
main > .wrap > .icr-photo-section,
main > .wrap > .section{
  width:100%;
}
.icr-photo-section{
  clear:both;
  display:block;
}
.grid > .card > .icr-photo-section,
.grid > .card > .section{
  position:static;
}


/* Homepage prayer schedule: scale the fixed-width schedule to fit its card */
.home-prayer-frame-wrap{
  width:100%;
  height:230px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:10px;
  background:#111;
  margin:10px 0;
}
.home-prayer-frame{
  display:block;
  width:152%;
  height:350px;
  border:0;
  background:#111;
  transform:scale(.658);
  transform-origin:top left;
}
@media(max-width:760px){
  .home-prayer-frame-wrap{height:250px}
  .home-prayer-frame{height:380px}
}


/* Homepage balanced feature layout: prayer schedule at left, compact cards and photos at right */
.home-feature-layout{
  display:grid;
  grid-template-columns:minmax(280px, .92fr) minmax(0, 1.8fr);
  gap:18px;
  align-items:start;
}
.home-prayer-card{align-self:start}
.home-right-area{min-width:0;display:flex;flex-direction:column;gap:16px}
.home-short-cards{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:15px;
  align-items:start;
}
.home-short-cards>.card{align-self:start}
.home-photo-section{
  display:block;
  margin:0;
  padding:16px;
  border-radius:12px;
  background:var(--soft);
}
.home-photo-copy h2{font-size:23px;margin:8px 0}
.home-photo-copy p{margin:0 0 12px}
.home-photo-section .icr-photo-mosaic{
  display:grid;
  grid-template-columns:1.25fr 1fr 1fr;
  gap:9px;
  min-height:145px;
}
.home-photo-section .icr-photo-mosaic button{
  width:100%;height:145px;overflow:hidden;border:0;border-radius:10px;padding:0;
}
.home-photo-section .icr-photo-mosaic img{
  display:block;width:100%;height:100%;object-fit:cover;
}
@media(max-width:900px){
  .home-feature-layout{grid-template-columns:1fr}
  .home-short-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .home-short-cards{grid-template-columns:1fr}
  .home-photo-section .icr-photo-mosaic{grid-template-columns:1fr 1fr}
  .home-photo-section .icr-photo-mosaic button{height:130px}
}


/* =========================================================
   ICR Modern Homepage — homepage-only visual refresh
   ========================================================= */
body{background:#f7f8f5}
.top{background:#fff;color:#183f2b;border-bottom:1px solid #e6ebe5;box-shadow:0 3px 18px rgba(14,55,32,.07)}
.top .bar{min-height:86px;gap:22px}
.brand{color:#123f2a}
.brand-logo{width:66px;height:66px;background:#fff;border:0;box-shadow:none;border-radius:0}
.brand strong{font-size:20px;color:#123f2a}
.brand small{color:#617066;font-size:12px}
.nav a,.nav-dropdown summary{color:#234a35;font-size:13px;padding:10px 9px}
.nav a:hover,.nav-dropdown:hover summary,.nav-dropdown[open] summary{background:#edf5ee}
.nav .donate{background:#0d5b38;color:#fff;padding-inline:16px}
.nav .donate:hover{background:#08472b}
.nav-submenu{background:#fff;border:1px solid #e1e9e2;box-shadow:0 12px 28px rgba(12,50,29,.14)}
.nav-submenu a{color:#234a35}
.hero.home-hero{position:relative;isolation:isolate;min-height:440px;padding:0;display:flex;align-items:center;overflow:hidden;border:0;background:#0b3d26}
.home-hero-image{position:absolute;inset:0;z-index:-2;background-image:linear-gradient(90deg,rgba(4,47,27,.78) 0%,rgba(4,47,27,.56) 38%,rgba(4,47,27,.10) 78%,rgba(4,47,27,.02) 100%),url("assets/community/masjid-exterior.jpg");background-size:cover;background-position:center 56%}
.home-hero:after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(0deg,rgba(5,39,24,.08),transparent 55%)}
.home-hero-inner{padding:62px 0 66px}
.home-hero .pill{background:rgba(255,255,255,.14);color:#f4dfaa;border:1px solid rgba(255,255,255,.25);font-size:11px}
.home-hero h1{max-width:690px;color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:clamp(42px,5.5vw,68px);font-weight:600;line-height:1.04;letter-spacing:-.025em;margin:20px 0 15px}
.home-hero h1 em{color:#f0d58f;font-style:normal}
.home-hero p{max-width:610px;color:#f1f5f1;font-size:18px;line-height:1.55;margin:0 0 24px}
.home-hero-actions{display:flex;gap:10px;flex-wrap:wrap}
.home-hero-actions .btn{margin:0;padding:12px 18px;border-radius:9px;background:#176a43;border:1px solid rgba(255,255,255,.65)}
.home-hero-actions .home-btn-light{background:#fff;color:#164b31}
.home-hero-actions .home-btn-outline{background:rgba(10,75,43,.36);color:#fff;border:1px solid rgba(255,255,255,.8)}
.home-main{padding:38px 0 30px;background:#f7f8f5}
.home-section-heading{text-align:center;margin:0 auto 25px}
.home-section-heading .pill{font-size:10px}
.home-section-heading h2{font-family:Georgia,"Times New Roman",serif;font-size:clamp(29px,3vw,38px);line-height:1.15;color:#164b31;margin:10px 0 5px}
.home-section-heading p{margin:0;color:#68766d;font-size:15px}
.home-feature-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.home-feature-card{padding:0 17px 18px;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;min-width:0;box-shadow:0 8px 24px rgba(15,57,34,.075);border:1px solid #e4eae3}
.home-card-heading{display:flex;align-items:center;gap:11px;margin:0 -17px 14px;padding:15px 17px;background:#edf4ed;min-height:66px}
.home-card-heading h3{margin:0;color:#164b31;font-size:20px}
.home-card-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#d9eadc;color:#0e5b38;font-size:22px;font-weight:800}
.home-feature-card>p{font-size:14px;line-height:1.55;color:#56645b;margin:0 0 12px}
.home-feature-card h4{font-size:18px;color:#174b31;margin:14px 0 6px}
.home-feature-photo{width:100%;height:190px;object-fit:cover;border-radius:10px;display:block}
.home-feature-card .home-card-link{margin-top:auto;align-self:flex-start}
.home-feature-card .home-btn-ghost{background:#fff;color:#155c38;border:1px solid #17643e}
.home-prayer-frame-wrap{width:100%;height:350px;overflow:hidden;border:1px solid #dce4dc;border-radius:10px;background:#050505;margin:4px 0 13px}
.home-prayer-frame{display:block;width:166.67%;height:585px;border:0;background:#050505;transform:scale(.6);transform-origin:top left}
.home-prayer-card .home-card-link{align-self:stretch;text-align:center;font-size:13px;padding:10px 8px}
.home-life-section{margin-top:26px;padding:24px;border-radius:17px;background:#fff;border:1px solid #e7ece6;display:grid;grid-template-columns:.82fr 1.18fr;gap:24px;align-items:center;box-shadow:0 7px 22px rgba(15,57,34,.045)}
.home-life-copy h2{font-family:Georgia,"Times New Roman",serif;color:#164b31;font-size:30px;line-height:1.12;margin:11px 0}
.home-life-copy p{font-size:14px;color:#5c6a61;line-height:1.65;margin:0 0 14px}
.home-life-gallery{display:grid;grid-template-columns:1.2fr 1fr;grid-template-rows:135px 135px;gap:10px}
.home-life-gallery img{width:100%;height:100%;object-fit:cover;border-radius:11px;display:block}
.home-life-gallery img:first-child{grid-row:1 / span 2}
.home-join{margin-top:25px;padding:25px 28px;border-radius:16px;background:linear-gradient(120deg,#0b482c,#17643e);color:#fff;display:flex;justify-content:space-between;align-items:center;gap:20px}
.home-join h2{font-family:Georgia,"Times New Roman",serif;font-size:27px;margin:7px 0 4px;color:#fff}
.home-join p{margin:0;color:#e2eee5;font-size:14px}
.home-join .pill{background:rgba(255,255,255,.13);color:#f0d58f}
.home-join-actions{display:flex;gap:9px;flex-wrap:wrap}
.home-join-actions .btn{margin:0;padding:11px 17px}
.home-join-actions .home-btn-light{background:#fff;color:#164b31}
.home-join-actions .home-btn-outline{background:transparent;border:1px solid rgba(255,255,255,.8);color:#fff}
.home-main .notice{margin-top:22px}
.home-weekly{padding:6px 0 10px}
.home-weekly h2{font-family:Georgia,"Times New Roman",serif;color:#164b31;font-size:27px}
.home-weekly ul{columns:2;column-gap:35px;color:#536258;font-size:14px}
.home-weekly li{break-inside:avoid;margin-bottom:6px}
@media(max-width:980px){
  .top .bar{align-items:center}
  .nav{gap:0}
  .home-feature-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-prayer-card{grid-column:1/-1}
  .home-prayer-frame-wrap{height:340px}
  .home-prayer-frame{height:567px}
}
@media(max-width:760px){
  .top{background:#fff}
  .nav{background:#fff;border-top:1px solid #e5ebe5}
  .nav a,.nav-dropdown summary{color:#234a35}
  .nav .donate{color:#fff}
  .nav-submenu{background:#f7faf7}
  .home-hero.home-hero{min-height:390px}
  .home-hero-inner{padding:48px 0}
  .home-hero-image{background-position:center}
  .home-hero h1{font-size:43px}
  .home-hero p{font-size:16px}
  .home-feature-cards{grid-template-columns:1fr}
  .home-prayer-card{grid-column:auto}
  .home-feature-photo{height:210px}
  .home-prayer-frame-wrap{height:350px}
  .home-prayer-frame{width:142.86%;height:500px;transform:scale(.7)}
  .home-life-section{grid-template-columns:1fr;padding:18px}
  .home-life-gallery{grid-template-rows:120px 120px}
  .home-join{align-items:flex-start;flex-direction:column;padding:21px}
  .home-weekly ul{columns:1}
}


/* Homepage hero height refinement: bring key content higher on the page */
.hero.home-hero{
  height:360px;
  min-height:360px;
}
.home-hero-inner{
  padding:34px 0 38px;
}
.home-hero h1{
  font-size:clamp(40px,4.6vw,58px);
  line-height:1.02;
  margin:15px 0 12px;
}
.home-hero p{
  font-size:17px;
  line-height:1.45;
  margin-bottom:19px;
}
.home-hero-actions .btn{
  padding:10px 16px;
}
@media(max-width:760px){
  .hero.home-hero{
    height:auto;
    min-height:330px;
  }
  .home-hero-inner{padding:36px 0 38px}
  .home-hero h1{font-size:40px}
  .home-hero p{font-size:15px}
}


/* Simplified ICR homepage: fewer panels, fewer calls to action, clear hierarchy */
.hero.home-hero.home-hero-simple{height:320px;min-height:320px}
.home-hero-simple .home-hero-image{
  background-image:linear-gradient(90deg,rgba(4,47,27,.76) 0%,rgba(4,47,27,.52) 42%,rgba(4,47,27,.10) 100%),url("assets/community/masjid-exterior.jpg");
  background-size:cover;background-position:center 56%
}
.home-hero-simple .home-hero-inner{padding:30px 0}
.home-hero-simple h1{font-size:clamp(38px,4.2vw,54px);margin:0 0 12px;max-width:660px}
.home-hero-simple p{font-size:16px;margin:0 0 18px}
.home-hero-simple .home-hero-actions{gap:10px}
.home-hero-simple .home-hero-actions .btn{padding:9px 15px}
.home-main-simple{padding:30px 0 38px;background:#fff}
.simple-prayer{max-width:900px;margin:0 auto 28px}
.simple-section-title{display:flex;align-items:baseline;justify-content:space-between;gap:18px;border-bottom:1px solid #e5ebe5;padding-bottom:10px;margin-bottom:14px}
.simple-section-title h2,.simple-weekly h2{font-family:Georgia,"Times New Roman",serif;color:#164b31;font-size:27px;margin:0}
.simple-section-title a{color:#17643e;font-size:14px;text-decoration:none;font-weight:700}
.simple-prayer-frame{height:205px;overflow:hidden;border-radius:9px;background:#050505;border:1px solid #e0e6e0}
.simple-prayer-frame iframe{display:block;width:100%;height:342px;border:0;background:#050505}
.simple-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid #e5ebe5;border-bottom:1px solid #e5ebe5}
.simple-links>a{padding:21px 22px;text-decoration:none;display:flex;flex-direction:column;gap:7px;border-right:1px solid #e5ebe5}
.simple-links>a:last-child{border-right:0}
.simple-links span{font-size:19px;font-weight:700;color:#164b31}
.simple-links small{font-size:13px;line-height:1.5;color:#66736a}
.simple-links b{font-size:13px;color:#17643e;margin-top:3px}
.simple-links>a:hover{background:#f7faf7}
.simple-weekly{display:grid;grid-template-columns:.8fr 1.2fr;gap:28px;align-items:start;padding:26px 0 0}
.simple-weekly h2{font-size:24px}
.simple-weekly p{font-size:14px;color:#66736a;margin:8px 0 0}
.simple-weekly ul{margin:0;padding-left:19px;columns:2;column-gap:24px;color:#4e5e53;font-size:13px;line-height:1.8}
.simple-weekly li{break-inside:avoid}
@media(max-width:760px){
 .hero.home-hero.home-hero-simple{height:auto;min-height:290px}
 .home-hero-simple .home-hero-inner{padding:34px 0}
 .home-hero-simple h1{font-size:39px}
 .simple-section-title{align-items:flex-start;flex-direction:column;gap:6px}
 .simple-prayer-frame{height:220px}
 .simple-prayer-frame iframe{height:314px}
 .simple-links{grid-template-columns:1fr}
 .simple-links>a{border-right:0;border-bottom:1px solid #e5ebe5;padding:16px 4px}
 .simple-links>a:last-child{border-bottom:0}
 .simple-weekly{grid-template-columns:1fr;gap:12px}
 .simple-weekly ul{columns:1}
}


/* Simple ICR landing page: no photographic hero banner */
.home-welcome{background:#f3f7f2;border-bottom:1px solid #e5ebe4}
.home-welcome-inner{padding:27px 0 29px;text-align:center}
.home-eyebrow{margin:0 0 5px;color:#39714d;text-transform:uppercase;letter-spacing:.11em;font-size:11px;font-weight:800}
.home-welcome h1{margin:0;color:#164b31;font-family:Georgia,"Times New Roman",serif;font-size:36px;line-height:1.15;font-weight:600}
.home-welcome-message{margin:8px 0 0;color:#5c6a61;font-size:15px}
.home-main-simple{padding:25px 0 38px;background:#fff}
.simple-prayer{max-width:760px;margin:0 auto 30px}
.simple-section-title{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #e5ebe5;padding-bottom:11px;margin-bottom:13px}
.simple-section-title h2,.simple-weekly h2,.home-directory-heading h2{font-family:Georgia,"Times New Roman",serif;color:#164b31;font-size:25px;margin:0}
.simple-section-title p{font-size:13px;color:#66736a;margin:5px 0 0}
.simple-section-title>a{color:#17643e;font-size:13px;text-decoration:none;font-weight:700;white-space:nowrap}
.simple-prayer-frame{height:185px;overflow:hidden;border-radius:9px;background:#050505;border:1px solid #e0e6e0}
.simple-prayer-frame iframe{display:block;width:100%;height:308px;border:0;background:#050505}
.home-link-directory{padding:23px 0 25px;border-top:1px solid #e8ede8;border-bottom:1px solid #e8ede8}
.home-directory-heading{text-align:center;margin-bottom:15px}
.home-directory-heading h2{font-size:26px}
.home-directory-heading p{font-size:13px;color:#66736a;margin:5px 0 0}
.home-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 24px}
.home-directory-grid a{display:flex;flex-direction:column;gap:4px;text-decoration:none;padding:12px 8px;border-bottom:1px solid #edf0ed}
.home-directory-grid a:hover{background:#f7faf7}
.home-directory-grid strong{font-size:15px;color:#185236}
.home-directory-grid span{font-size:12px;line-height:1.4;color:#68756c}
.simple-weekly{display:grid;grid-template-columns:.8fr 1.2fr;gap:28px;align-items:start;padding:24px 0 0}
.simple-weekly h2{font-size:23px}
.simple-weekly p{font-size:13px;color:#66736a;margin:7px 0 0}
.simple-weekly ul{margin:0;padding-left:19px;columns:2;column-gap:24px;color:#4e5e53;font-size:12px;line-height:1.8}
.simple-weekly li{break-inside:avoid}
@media(max-width:760px){
 .home-welcome-inner{padding:23px 0}
 .home-welcome h1{font-size:31px}
 .home-welcome-message{font-size:14px}
 .simple-section-title{align-items:flex-start;flex-direction:column;gap:8px}
 .simple-section-title>a{white-space:normal}
 .simple-prayer{max-width:100%}
 .simple-prayer-frame{height:190px}
 .simple-prayer-frame iframe{height:290px}
 .home-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
 .simple-weekly{grid-template-columns:1fr;gap:10px}
 .simple-weekly ul{columns:1}
}


/* Restored ICR homepage composition with compact prayer schedule in the welcome area */
.home-welcome-with-prayer{background:linear-gradient(105deg,#f3f8f2 0%,#fbfaf5 100%);border-bottom:1px solid #e7ece4}
.home-welcome-layout{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:34px;align-items:center;padding:27px 0}
.home-welcome-copy{text-align:left}
.home-welcome-copy .home-eyebrow{margin:0 0 7px;color:#287047;text-transform:uppercase;letter-spacing:.1em;font-size:11px;font-weight:800}
.home-welcome-copy h1{margin:0;color:#164b31;font-family:Georgia,"Times New Roman",serif;font-size:39px;line-height:1.12;font-weight:600}
.home-welcome-copy>p:last-child{margin:9px 0 0;color:#596b60;font-size:15px;line-height:1.5}
.home-prayer-mini{background:#fff;border:1px solid #e0e8df;border-radius:12px;box-shadow:0 5px 17px rgba(15,57,34,.08);overflow:hidden;padding:0}
.home-prayer-mini h2{margin:0;padding:9px 13px;background:#125b38;color:#fff;font-size:15px;font-weight:700}
.home-prayer-mini-frame{height:88px;overflow:hidden;background:#050505}
.home-prayer-mini-frame iframe{display:block;width:100%;height:300px;border:0;background:#050505;transform:scale(.72);transform-origin:top left;width:138.89%}
.home-prayer-mini>a{display:block;padding:8px 12px;text-align:center;text-decoration:none;color:#17643e;font-size:12px;font-weight:700;background:#f2f8f2}
.home-restored-layout{padding:28px 0 38px;background:#f8f9f6}
.home-restored-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.home-restored-cards .home-feature-card{background:#fff;padding:20px 21px;border:1px solid #e5e9e2;border-radius:15px;box-shadow:0 7px 20px rgba(17,57,35,.055);display:flex;flex-direction:column;min-width:0}
.home-restored-cards .home-card-heading{background:none;padding:0;margin:0 0 10px;min-height:0}
.home-restored-cards .home-card-heading h2{margin:0;color:#164b31;font-size:21px}
.home-restored-cards .home-feature-card p{margin:0 0 16px;color:#27362d;font-size:15px;line-height:1.6}
.home-restored-cards .home-card-link{align-self:flex-start;margin-top:auto;padding:10px 15px;font-size:14px}
.home-text-link{display:inline-block;margin-top:9px;color:#17643e;font-size:13px;font-weight:700;text-decoration:none}
.home-photo-strip{margin-top:27px;display:grid;grid-template-columns:.8fr 1.2fr;gap:25px;align-items:center;padding:22px;background:#fff;border:1px solid #e6ebe5;border-radius:15px}
.home-photo-intro h2{font-family:Georgia,"Times New Roman",serif;color:#164b31;font-size:26px;line-height:1.15;margin:10px 0 8px}
.home-photo-intro p{font-size:14px;color:#657269;line-height:1.5;margin:0 0 11px}
.home-photo-intro>a{font-size:13px;color:#17643e;text-decoration:none;font-weight:700}
.home-photo-grid{display:grid;grid-template-columns:1.25fr 1fr;grid-template-rows:112px 112px;gap:9px}
.home-photo-grid img{width:100%;height:100%;object-fit:cover;border-radius:10px;display:block}
.home-photo-grid img:first-child{grid-row:1 / span 2}
.home-quick-links{display:flex;justify-content:center;flex-wrap:wrap;gap:0;margin-top:17px;border-top:1px solid #e3e9e2;padding-top:13px}
.home-quick-links a{padding:7px 14px;color:#24583b;text-decoration:none;font-size:13px;font-weight:600}
.home-quick-links a:hover{text-decoration:underline}
@media(max-width:900px){
 .home-welcome-layout{grid-template-columns:minmax(0,1fr) 340px;gap:20px}
 .home-prayer-mini-frame{height:82px}
}
@media(max-width:700px){
 .home-welcome-layout{grid-template-columns:1fr;padding:22px 0;gap:16px}
 .home-welcome-copy h1{font-size:33px}
 .home-prayer-mini{max-width:100%}
 .home-restored-cards{grid-template-columns:1fr}
 .home-photo-strip{grid-template-columns:1fr;padding:17px}
 .home-photo-grid{grid-template-rows:100px 100px}
 .home-quick-links{justify-content:flex-start}
 .home-quick-links a{padding:7px 10px}
}


/* Clean, image-free homepage matching the simple reference screenshot */
.home-welcome-with-prayer{background:linear-gradient(105deg,#f3f8f2 0%,#fbfaf5 100%);border-bottom:1px solid #e7ece4}
.home-welcome-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:30px;align-items:center;padding:27px 0}
.home-welcome-copy{text-align:left}
.home-welcome-copy .home-eyebrow{margin:0 0 7px;color:#287047;text-transform:uppercase;letter-spacing:.1em;font-size:11px;font-weight:800}
.home-welcome-copy h1{margin:0;color:#164b31;font-family:Georgia,"Times New Roman",serif;font-size:38px;line-height:1.12;font-weight:600}
.home-welcome-copy>p:last-child{max-width:740px;margin:9px 0 0;color:#596b60;font-size:15px;line-height:1.5}
.home-prayer-mini{background:#fff;border:1px solid #e0e8df;border-radius:11px;box-shadow:0 4px 13px rgba(15,57,34,.07);overflow:hidden;padding:0}
.home-prayer-mini h2{margin:0;padding:8px 12px;background:#125b38;color:#fff;font-size:14px;font-weight:700}
.home-prayer-mini-frame{height:76px;overflow:hidden;background:#050505}
.home-prayer-mini-frame iframe{display:block;width:145%;height:290px;border:0;background:#050505;transform:scale(.69);transform-origin:top left}
.home-prayer-mini>a{display:block;padding:7px 10px;text-align:center;text-decoration:none;color:#17643e;font-size:11px;font-weight:700;background:#f2f8f2}
.home-restored-layout{padding:28px 0 34px;background:#f8f9f6}
.home-restored-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.home-restored-cards .home-feature-card{background:#fff;padding:20px 21px;border:1px solid #e5e9e2;border-radius:15px;box-shadow:0 7px 20px rgba(17,57,35,.055);display:flex;flex-direction:column;min-width:0;min-height:205px}
.home-restored-cards .home-card-heading{background:none;padding:0;margin:0 0 10px;min-height:0}
.home-restored-cards .home-card-heading h2{margin:0;color:#164b31;font-size:21px}
.home-restored-cards .home-feature-card p{margin:0 0 16px;color:#27362d;font-size:15px;line-height:1.6}
.home-restored-cards .home-card-link{align-self:flex-start;margin-top:auto;padding:10px 15px;font-size:14px}
.home-quick-links-simple{display:flex;justify-content:center;flex-wrap:wrap;gap:0;margin-top:20px;border-top:1px solid #e3e9e2;padding-top:13px}
.home-quick-links-simple a{padding:7px 14px;color:#24583b;text-decoration:none;font-size:13px;font-weight:600}
.home-quick-links-simple a:hover{text-decoration:underline}
@media(max-width:850px){
 .home-welcome-layout{grid-template-columns:minmax(0,1fr) 330px;gap:18px}
}
@media(max-width:700px){
 .home-welcome-layout{grid-template-columns:1fr;padding:22px 0;gap:15px}
 .home-welcome-copy h1{font-size:32px}
 .home-prayer-mini{max-width:100%}
 .home-restored-cards{grid-template-columns:1fr}
 .home-restored-cards .home-feature-card{min-height:0}
 .home-quick-links-simple{justify-content:flex-start}
 .home-quick-links-simple a{padding:7px 10px}
}


/* Prayer schedule refinement only: clearer placement and compact typography */
.home-welcome-layout{
  grid-template-columns:minmax(0,1fr) 400px;
  gap:34px;
  align-items:center;
}
.home-prayer-mini{
  width:100%;
  max-width:400px;
  justify-self:end;
  border:1px solid #cbdacb;
  border-radius:12px;
  box-shadow:0 7px 20px rgba(15,57,34,.13);
}
.home-prayer-mini h2{
  padding:9px 13px;
  font-size:13px;
  letter-spacing:.02em;
}
.home-prayer-mini-frame{
  height:104px;
  background:#050505;
}
.home-prayer-mini-frame iframe{
  width:161.3%;
  height:320px;
  transform:scale(.62);
  transform-origin:top left;
}
.home-prayer-mini>a{
  padding:8px 11px;
  font-size:11px;
}
@media(max-width:850px){
  .home-welcome-layout{
    grid-template-columns:minmax(0,1fr) 360px;
    gap:20px;
  }
}
@media(max-width:700px){
  .home-welcome-layout{grid-template-columns:1fr;gap:15px}
  .home-prayer-mini{max-width:100%;justify-self:stretch}
  .home-prayer-mini-frame{height:105px}
}


/* Halal food directory contact details */
.halal-directory .halal-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0 26px}
.halal-directory .halal-listing{padding:16px 18px;border:1px solid #e1e9df;border-radius:12px;background:#fff;box-shadow:0 3px 12px rgba(18,65,39,.045)}
.halal-directory .halal-listing h3{margin:0 0 5px;color:#145532;font-size:18px}
.halal-directory .halal-listing p{margin:4px 0;color:#59675e;font-size:14px;line-height:1.5}
.halal-directory .halal-listing .halal-note{font-size:13px;color:#53675a}
.halal-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:11px}
.halal-contact{display:inline-flex;align-items:center;justify-content:center;padding:7px 11px;border-radius:7px;background:#eaf4ec;color:#145532;text-decoration:none;font-size:13px;font-weight:700}
.halal-contact:hover{background:#dcecdf;text-decoration:underline}
.halal-contact.halal-website{background:#145532;color:#fff}
.halal-contact.halal-website:hover{background:#0d4327}
.halal-disclaimer{margin-top:24px;padding:13px 15px;border-left:3px solid #b68a36;background:#f7f8f4;color:#59675e;font-size:13px}
@media(max-width:680px){.halal-directory .halal-list{grid-template-columns:1fr}}
