/*
Theme Name: Jamia Islamia Blue
Theme URI: https://jamiaislamiaglasgow.org.uk/
Author: Jamia Islamia Glasgow
Description: Bespoke light blue WordPress theme for Jamia Islamia Glasgow. Manual prayer times, event posts and Dona link configuration through Appearance > Customize.
Version: 3.6
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: jamia-islamia-blue
License: GPL-2.0-or-later
*/
:root{--ink:#2f3557;--primary:#5f679b;--mid:#aeb7da;--pale:#f4f8fc;--light:#d9e5f7;--white:#fff;--line:#dee5f0;--shadow:0 16px 36px rgba(47,53,87,.09)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--white);color:var(--ink);font-family:Inter,system-ui,-apple-system,'Segoe UI',Arial,sans-serif;line-height:1.65}a{color:inherit}img{max-width:100%;height:auto}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:500;line-height:1.18}h1{font-size:clamp(2.7rem,5.2vw,5rem);margin:.3em 0}h2{font-size:clamp(2rem,3vw,3rem);margin:.3em 0 1rem}.container{width:min(1180px,calc(100% - 40px));margin:auto}.site-header{position:relative;background:#fff;z-index:5;box-shadow:0 3px 18px rgba(47,53,87,.07)}.header-wrap{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:93px}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;font-family:Georgia,serif;font-size:1.15rem;line-height:1.18;letter-spacing:.04em;font-weight:600}.brand img{width:54px;height:68px;object-fit:contain}.site-nav{display:flex;flex-wrap:wrap;align-items:center;gap:18px;font-size:.82rem;font-weight:650}.site-nav a{text-decoration:none}.site-nav a:hover,.site-nav a:focus{color:var(--primary);text-decoration:underline}.nav-donate,.btn{display:inline-block;border-radius:7px;background:var(--primary);color:white!important;padding:12px 19px;text-decoration:none;font-size:.83rem;font-weight:700;letter-spacing:.035em;border:1px solid var(--primary)}.btn.outline{color:var(--ink)!important;background:transparent}.btn:hover{filter:brightness(.92)}.hero{position:relative;overflow:hidden;background:linear-gradient(110deg,#f4f8fc 8%,#e6edfa 55%,#cbd8ef 100%);padding:84px 0 120px}.hero:before{content:'۞';position:absolute;right:5%;top:-90px;font-size:420px;color:rgba(95,103,155,.075);pointer-events:none}.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:36px}.eyebrow{text-transform:uppercase;letter-spacing:.27em;font-weight:750;font-size:.74rem;color:var(--primary)}.hero p{max-width:480px;font-size:1.1rem}.hero-art{min-height:350px;display:grid;place-items:center;position:relative}.hero-art:before{content:'';display:block;position:absolute;width:65%;aspect-ratio:1;border:2px solid #aeb7da;border-radius:50%;box-shadow:0 0 0 24px rgba(255,255,255,.22),0 0 0 45px rgba(174,183,218,.12)}.hero-art img{position:relative;max-height:310px;width:auto;filter:drop-shadow(0 14px 16px rgba(47,53,87,.15))}.hero-buttons{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}.prayer-panel{margin-top:-80px;position:relative;z-index:2;background:white;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:14px;padding:27px 30px}.prayer-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.prayer-heading h2{font-size:1.4rem;margin:0}.prayer-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-top:20px}.prayer-tile{text-align:center;background:#f6f8fd;border-radius:10px;padding:18px 7px}.prayer-tile .symbol{color:var(--primary);font-size:1.45rem}.prayer-tile strong{display:block;margin-top:5px;font-size:.89rem}.prayer-tile time{font-size:1.13rem;font-weight:750}.small-note{font-size:.82rem;color:#68708c}.section{padding:84px 0}.section-tint{background:var(--pale)}.center{text-align:center}.center .sub{max-width:650px;margin:auto}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:32px}.card{background:white;border:1px solid var(--line);border-radius:13px;padding:29px;box-shadow:0 8px 20px rgba(47,53,87,.035)}.card .symbol{font-size:2rem;color:var(--primary)}.card h3{font-size:1.43rem;margin:15px 0 7px}.card p{margin-top:0;color:#59627e}.card a{font-weight:700;color:var(--primary)}.split{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.about-visual{min-height:310px;display:grid;place-items:center;border:1px solid #ccd9ef;border-radius:16px;background:linear-gradient(145deg,#dce8f8,#f9fbff);text-align:center;padding:40px;color:#5f679b}.about-visual .symbol{font-size:8rem;line-height:1}.event-list{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.event-card{padding:22px;background:#fff;border-radius:12px;border:1px solid var(--line)}.event-card h3{font-size:1.3rem}.donate-banner{background:linear-gradient(115deg,#3a466f,#6575ae);color:#fff;padding:65px 0}.donate-banner h2{margin:0 0 12px}.donate-banner .btn{background:#fff;color:var(--ink)!important;border-color:#fff}.site-footer{background:#2f3557;color:#fff;padding:42px 0;font-size:.92rem}.footer-grid{display:flex;justify-content:space-between;flex-wrap:wrap;gap:20px}.footer-grid a{color:#fff}.content-shell{padding:80px 0;max-width:850px}.content-shell h1{font-size:clamp(2.2rem,4vw,3.4rem)}.menu-toggle{display:none}.screen-reader-text{position:absolute;left:-9999px}button:focus-visible,a:focus-visible{outline:3px solid #6976b6;outline-offset:3px}@media(max-width:900px){.header-wrap{flex-wrap:wrap;padding:12px 0}.site-nav{width:100%;gap:11px;justify-content:center}.hero-grid{grid-template-columns:1fr}.hero-art{min-height:210px}.hero-art img{max-height:180px}.prayer-grid{grid-template-columns:repeat(3,1fr)}.cards,.event-list{grid-template-columns:repeat(2,1fr)}.split{grid-template-columns:1fr}}@media(max-width:560px){.container{width:min(100% - 28px,1180px)}.site-nav{gap:10px;font-size:.76rem}.nav-donate{padding:8px 12px}.hero{padding:54px 0 110px}.hero-art{min-height:160px}.hero-art img{max-height:145px}.prayer-panel{padding:20px 14px}.prayer-grid{grid-template-columns:repeat(2,1fr)}.cards,.event-list{grid-template-columns:1fr}.section{padding:60px 0}.split{gap:30px}}

.jig-prayer-overlap{position:relative;z-index:2;margin-top:-80px}.jig-prayer-overlap .prayer-panel{margin-top:0}

/* Version 0.4: transparent official-emblem-inspired artwork and refined layout */
.site-header{border-bottom:1px solid #e9edf5;box-shadow:0 4px 22px rgba(47,53,87,.045)}
.header-wrap{min-height:100px}.brand{gap:12px;letter-spacing:.065em}.brand img{width:64px;height:74px;object-fit:contain;object-position:center;filter:drop-shadow(0 3px 3px rgba(44,54,106,.08))}
.site-nav{gap:20px}.nav-donate{box-shadow:0 5px 14px rgba(95,103,155,.19)}
.hero{background:linear-gradient(112deg,#f7faff 0%,#edf3ff 49%,#d5dff4 100%);padding:78px 0 127px}
.hero:after{content:'';position:absolute;width:250px;height:250px;right:-90px;bottom:-110px;border-radius:50%;border:55px solid rgba(255,255,255,.22);pointer-events:none}
.hero-grid{grid-template-columns:1fr .95fr;gap:45px}.hero h1{letter-spacing:-.035em}.hero p{color:#485675;line-height:1.75}
.hero-art{min-height:400px;isolation:isolate}.hero-art:before{width:72%;border:1px solid rgba(102,119,181,.30);box-shadow:0 0 0 22px rgba(255,255,255,.25),0 0 0 46px rgba(132,156,204,.10)}
.hero-art img{max-height:360px;max-width:83%;width:auto;object-fit:contain;filter:drop-shadow(0 18px 20px rgba(40,50,107,.16))}
.hero-circle{position:absolute;inset:11%;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.43),rgba(255,255,255,0) 69%);z-index:-1}
.prayer-panel,.jmt-widget{border-radius:17px!important;box-shadow:0 18px 45px rgba(47,53,87,.08)}
.section-tint{background:#f3f7ff}.card{transition:transform .2s ease,box-shadow .2s ease}.card:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(47,53,87,.09)}
/* Full prayer timetable must use page width rather than default reading column */
body.page .content-shell:has(.jmt-monthly){max-width:1260px;width:min(1260px,calc(100% - 40px))}
body.page .content-shell:has(.jmt-monthly) .entry-content{min-width:0;width:100%}
body.page .content-shell:has(.jmt-monthly) .jmt-table-scroll{max-width:100%;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
body.page .content-shell:has(.jmt-monthly) .jmt-table{width:max-content;min-width:100%}
body.page .content-shell:has(.jmt-monthly) .jmt-monthly{width:100%;min-width:0}
@media(max-width:900px){.hero-art{min-height:260px}.hero-art img{max-height:230px}.brand img{width:55px;height:62px}}
@media(max-width:560px){.hero{padding:56px 0 115px}.hero-art img{max-height:205px}.hero-art{min-height:235px}.site-nav{gap:10px}.brand img{width:48px;height:58px}body.page .content-shell:has(.jmt-monthly){width:calc(100% - 24px)}}
@media(prefers-reduced-motion:reduce){.card{transition:none}}

/* Version 0.5: section-specific content pages */
.jig-page-hero{padding:82px 0 78px;background:linear-gradient(120deg,#f6f9ff,#dfe8fa);position:relative;overflow:hidden}
.jig-page-hero:after{content:'۞';position:absolute;right:-40px;top:-115px;font-size:340px;color:rgba(95,103,155,.065);pointer-events:none}
.jig-page-hero .container{position:relative;z-index:1}.jig-page-hero h1{font-size:clamp(2.8rem,5vw,4.8rem);margin:12px 0}
.jig-page-hero p{font-size:1.12rem;max-width:660px;color:#4e5d7b}
.jig-content-section{padding:75px 0}.jig-intro-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:72px;align-items:start}
.jig-richcopy{font-size:1.07rem;line-height:1.85}.jig-richcopy p:first-child{margin-top:0}
.jig-feature-card{background:#f0f5fe;border:1px solid #dce6f7;border-radius:18px;padding:33px}
.jig-feature-card h2{font-size:1.6rem;margin:0 0 12px}.jig-feature-card p{color:#4c5977}
.jig-values{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:35px}.jig-value{background:white;padding:27px;border:1px solid var(--line);border-radius:14px}
.jig-value h3{font-size:1.42rem;margin:0 0 10px}.jig-value p{margin:0;color:#57627b}
.jig-section-divider{height:1px;background:#dfe6f2;margin:0}.jig-panel-layout{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.jig-panel{padding:32px;border:1px solid var(--line);border-radius:15px;background:white}
.jig-panel h2{font-size:1.65rem}.jig-panel p{color:#56627d}
.jig-detail-note{font-size:.88rem;color:#67728e}.jig-page-cta{background:#e7eefc;padding:50px 0}
.jig-page-cta .container{display:flex;align-items:center;gap:30px;justify-content:space-between}.jig-page-cta h2{margin:0 0 8px;font-size:2rem}.jig-page-cta p{margin:0;color:#4c5c7c}
@media(max-width:800px){.jig-intro-grid,.jig-panel-layout{grid-template-columns:1fr;gap:24px}.jig-values{grid-template-columns:1fr}.jig-page-cta .container{display:block}.jig-page-cta .btn{margin-top:22px}}
@media(max-width:560px){.jig-page-hero{padding:60px 0}.jig-content-section{padding:48px 0}.jig-feature-card,.jig-panel{padding:24px}}

/* Version 0.6: events, Ramadan and contact pages */
.jig-event-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:25px}
.jig-event-item{border:1px solid var(--line);border-radius:14px;padding:27px;background:#f8faff}
.jig-event-item h3{font-size:1.4rem;margin:12px 0}.jig-event-item a{color:var(--primary)}
.jig-event-item p{color:#52617d}.jig-editor-content{margin-bottom:24px;max-width:760px}
.jig-contact-details>div{padding-bottom:16px;border-bottom:1px solid var(--line);margin-bottom:16px}
.jig-contact-details strong{font-weight:750}.jig-contact-details p{margin:4px 0;overflow-wrap:anywhere}
@media(max-width:850px){.jig-event-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.jig-event-grid{grid-template-columns:1fr}}

/* v0.7 donation page */
.jig-donate-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:45px;align-items:start}.jig-donate-panel{border:1px solid #d9e3f3;background:#f2f6ff;border-radius:20px;padding:38px}.jig-donate-panel .btn{margin:12px 0;display:inline-flex;align-items:center;gap:8px}.jig-donate-panel a:not(.btn){overflow-wrap:anywhere}.jig-donate-note{font-size:.85rem;color:#566381}.jig-donate-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:25px 0}.jig-donate-step{border:1px solid var(--line);border-radius:13px;padding:24px;background:#fff}.jig-donate-step strong{display:block;color:var(--primary);margin-bottom:8px}@media(max-width:800px){.jig-donate-grid,.jig-donate-steps{grid-template-columns:1fr}.jig-donate-panel{padding:26px}}

/* v0.8: replaceable photographic hero */
.hero.hero-photographic{position:relative;isolation:isolate;overflow:hidden;background:#eaf1fb;min-height:530px;display:flex;align-items:center}
.hero.hero-photographic:before{content:"";position:absolute;inset:0;z-index:-2;background-image:var(--jig-hero-photo);background-repeat:no-repeat;background-size:cover;background-position:center 48%;}
.hero.hero-photographic:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(239,245,255,.98) 0%,rgba(235,242,254,.96) 26%,rgba(230,239,253,.79) 40%,rgba(228,236,251,.18) 72%,rgba(228,236,251,.03) 100%)}
.hero.hero-photographic .hero-grid{display:block;width:100%;padding-top:80px;padding-bottom:105px}
.hero.hero-photographic .hero-copy{max-width:550px}
.hero.hero-photographic h1{text-shadow:0 1px 0 rgba(255,255,255,.25)}
.hero.hero-photographic .hero-copy p{max-width:450px}
@media(max-width:700px){.hero.hero-photographic{min-height:585px;align-items:flex-start}.hero.hero-photographic:before{background-position:62% center}.hero.hero-photographic:after{background:linear-gradient(180deg,rgba(239,245,255,.99),rgba(239,245,255,.97) 44%,rgba(239,245,255,.70) 74%,rgba(239,245,255,.25))}.hero.hero-photographic .hero-grid{padding:55px 0 120px}.hero.hero-photographic .hero-copy{max-width:100%}}

/* v0.9: balanced split hero — no fullscreen background image or decorative overlays */
.hero.hero-photographic{display:block;min-height:0;overflow:visible;isolation:auto;padding:56px 0 106px;background:linear-gradient(115deg,#f5f8ff 0%,#e8f0fd 55%,#dce7f9 100%)}
.hero.hero-photographic::before,.hero.hero-photographic::after{content:none!important;display:none!important}
.hero.hero-photographic .container.hero-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);align-items:center;gap:clamp(26px,5vw,72px);padding-top:0!important;padding-bottom:0!important;position:relative;z-index:1}
.hero.hero-photographic .hero-copy{max-width:550px;min-width:0;padding:20px 0}
.hero.hero-photographic .hero-copy h1{font-size:clamp(2.75rem,4.8vw,4.8rem);line-height:1.1;letter-spacing:-.025em;color:#2f3557;margin:18px 0 22px;text-shadow:none}
.hero.hero-photographic .hero-copy p{max-width:440px;color:#465574;font-size:1.07rem;line-height:1.75;margin:0}
.hero.hero-photographic .hero-copy .eyebrow{font-size:.7rem;letter-spacing:.2em;line-height:1.6}
.hero.hero-photographic .hero-photo-frame{height:clamp(290px,32vw,430px);min-width:0;overflow:hidden;border-radius:20px;box-shadow:0 18px 48px rgba(47,53,87,.15);background:#dce4f4;border:5px solid rgba(255,255,255,.9)}
.hero.hero-photographic .hero-photo-frame img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 54%;filter:none}
.hero.hero-photographic .hero-buttons{margin-top:28px}
#daily-prayers{position:relative;z-index:2}
#daily-prayers .jig-prayer-overlap{margin-top:-64px}
@media(max-width:850px){.hero.hero-photographic{padding:42px 0 92px}.hero.hero-photographic .container.hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:24px}.hero.hero-photographic .hero-copy h1{font-size:clamp(2.2rem,5vw,3.6rem)}.hero.hero-photographic .hero-photo-frame{height:320px}}
@media(max-width:650px){.hero.hero-photographic{padding:42px 0 94px}.hero.hero-photographic .container.hero-grid{grid-template-columns:minmax(0,1fr);gap:22px}.hero.hero-photographic .hero-copy{padding:0}.hero.hero-photographic .hero-copy h1{font-size:clamp(2.7rem,10vw,4.2rem)}.hero.hero-photographic .hero-photo-frame{height:260px}.hero.hero-photographic .hero-buttons{gap:10px}.hero.hero-photographic .btn{font-size:.73rem;padding:11px 13px}#daily-prayers .jig-prayer-overlap{margin-top:-58px}}

/* v1.0: Fix inherited full-width hero override from v0.8.
   Match the header and prayer panel's centred 1180px container. */
.hero.hero-photographic > .container.hero-grid {
  width: min(1180px, calc(100% - 40px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
@media (max-width: 560px) {
  .hero.hero-photographic > .container.hero-grid {
    width: calc(100% - 28px) !important;
  }
}

/* v1.1: Render-inspired homepage design. Scoped selectors avoid old hero conflicts. */
.jig11-hero{position:relative;min-height:550px;isolation:isolate;display:flex;align-items:center;background:#e9f2ff;overflow:hidden}
.jig11-hero:before{content:"";position:absolute;inset:0;z-index:-2;background:var(--jig11-photo) center 44%/cover no-repeat}
.jig11-hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#e8f2ff 0%,rgba(232,242,255,.99) 20%,rgba(232,242,255,.95) 32%,rgba(232,242,255,.68) 45%,rgba(232,242,255,.13) 65%,transparent 83%)}
.jig11-hero-inner{position:relative;padding-top:73px;padding-bottom:126px;width:min(1180px,calc(100% - 40px));margin-inline:auto}
.jig11-copy{width:min(515px,50%);max-width:100%}
.jig11-copy h1{color:#202e5b;font-size:clamp(3.3rem,5.1vw,5.4rem);line-height:1.03;letter-spacing:-.035em;margin:18px 0 25px}
.jig11-copy p{color:#495d80;font-size:1.06rem;line-height:1.7;max-width:450px}
.jig11-copy .eyebrow{color:#405d9a;font-size:.68rem;letter-spacing:.22em}
.jig11-copy .hero-buttons .btn{font-size:.73rem;padding:15px 20px;border-radius:6px}
.jig11-copy .hero-buttons .btn.outline{background:rgba(255,255,255,.5);border-color:#5f679b}
.jig11-prayer-container{position:relative;z-index:2;margin-top:-68px}
.jig11-prayer-bar{border-radius:22px;background:#fff;box-shadow:0 24px 55px rgba(43,60,109,.13);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:20px 22px;border:1px solid rgba(215,227,250,.8)}
.jig11-prayer-bar .jmt-widget{min-width:0;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important}
.jig11-prayer-bar .jmt-head{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;float:left;min-height:96px;width:155px;padding-right:15px;border-right:1px solid #d9e3f4;margin:6px 17px 6px 0}
.jig11-prayer-bar .jmt-head h2{font:700 .85rem/1.35 Inter,system-ui,sans-serif;margin:0}
.jig11-prayer-bar .jmt-head span{font-size:.77rem;line-height:1.55}
.jig11-prayer-bar .jmt-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;margin:0;align-items:center;min-height:100px}
.jig11-prayer-bar .jmt-tile{background:transparent;border-radius:0;padding:5px 12px;min-width:0;gap:1px;border-right:1px solid #e1e8f5}
.jig11-prayer-bar .jmt-tile:last-child{border-right:0}
.jig11-prayer-bar .jmt-tile strong{font-weight:650;color:#40537d;font-size:.78rem;margin:0}
.jig11-prayer-bar .jmt-tile time{font-size:1.15rem;color:#23305d;font-weight:750;line-height:1.4}
.jig11-prayer-bar .jmt-tile .jmt-label{font-size:.62rem;line-height:1.25;color:#7382a0}
.jig11-prayer-bar .jmt-tile .jmt-label:not(:first-of-type){margin-top:3px}
.jig11-prayer-bar .jmt-foot{display:none}
.jig11-time-link{border:1px solid #8292c7;border-radius:6px;padding:12px 14px;color:#253761;text-decoration:none;font-weight:750;font-size:.68rem;letter-spacing:.02em;white-space:nowrap;text-align:center}
.jig11-time-link:hover,.jig11-time-link:focus{background:#eef3fd}
.jig11-quicklinks{background:linear-gradient(180deg,#f7faff,#fff);padding:40px 0 48px}
.jig11-link-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
.jig11-link{min-width:0;display:flex;gap:15px;text-decoration:none;align-items:flex-start;padding:10px 17px;border-right:1px solid #e0e8f5}
.jig11-link:first-child{padding-left:0}.jig11-link:last-child{border:0}
.jig11-icon{display:grid;place-items:center;flex:0 0 53px;width:53px;height:53px;border-radius:50%;background:#e5edfc;color:#4e70b5;font:normal 1.9rem Georgia,serif}
.jig11-link strong{display:block;font:500 1.18rem/1.2 Georgia,serif;color:#26355c}
.jig11-link small{display:block;font-size:.79rem;color:#687a9c;line-height:1.5;margin:6px 0}
.jig11-link em{display:block;font:750 .63rem/1.3 Inter,system-ui,sans-serif;letter-spacing:.14em;color:#4763a8;font-style:normal}
.jig11-jummah{padding:14px 0 34px}
@media(max-width:1150px){.jig11-prayer-bar{grid-template-columns:1fr}.jig11-time-link{justify-self:center}.jig11-link{padding:10px}}
@media(max-width:850px){.jig11-hero:after{background:linear-gradient(90deg,#e8f2ff 0%,rgba(232,242,255,.98) 30%,rgba(232,242,255,.75) 60%,rgba(232,242,255,.1) 100%)}.jig11-copy{width:min(520px,75%)}.jig11-link-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:24px}.jig11-link:nth-child(2){border:0}.jig11-prayer-bar .jmt-head{float:none;border:0;width:auto;min-height:0;margin:0 0 12px;padding:0}.jig11-prayer-bar .jmt-grid{clear:both}}
@media(max-width:600px){.jig11-hero{min-height:590px;align-items:flex-start}.jig11-hero:before{background-position:65% bottom}.jig11-hero:after{background:linear-gradient(180deg,#e8f2ff 0%,rgba(232,242,255,.99) 35%,rgba(232,242,255,.79) 65%,rgba(232,242,255,.2) 100%)}.jig11-hero-inner{padding:56px 0 150px}.jig11-copy{width:100%}.jig11-copy h1{font-size:clamp(3rem,12vw,4.4rem)}.jig11-prayer-container{margin-top:-76px}.jig11-prayer-bar{padding:18px 12px}.jig11-prayer-bar .jmt-grid{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:10px}.jig11-prayer-bar .jmt-tile:nth-child(3){border:0}.jig11-link-grid{grid-template-columns:1fr}.jig11-link,.jig11-link:first-child{padding:12px 0;border:0;border-bottom:1px solid #e0e8f5}.jig11-quicklinks{padding:25px 0}}

/* 1.2: use temporary enhanced building image; preserve full roofline without stretching. */
.jig11-hero{min-height:580px;background:#e8f2ff}
.jig11-hero::before{background-position:center top;background-size:cover}
.jig11-hero::after{background:linear-gradient(90deg,#e8f2ff 0%,rgba(232,242,255,.99) 19%,rgba(232,242,255,.94) 32%,rgba(232,242,255,.72) 43%,rgba(232,242,255,.2) 61%,transparent 78%)}
.jig11-hero-inner{padding-top:74px;padding-bottom:132px}
@media(max-width:750px){
 .jig11-hero{min-height:530px}
 .jig11-hero::before{background-position:60% top}
 .jig11-hero::after{background:linear-gradient(90deg,rgba(232,242,255,.99) 0%,rgba(232,242,255,.89) 58%,rgba(232,242,255,.55) 100%)}
 .jig11-copy{width:min(100%,520px)}
}
@media(max-width:480px){.jig11-hero::after{background:linear-gradient(90deg,rgba(232,242,255,.97),rgba(232,242,255,.84))}}

/* v1.3 — show the whole mosque photograph rather than cropping it to cover
   a very wide hero. The image fills the hero height, with blue canvas left. */
@media (min-width: 851px) {
  .jig11-hero {
    background:linear-gradient(100deg,#e8f2ff 0%,#e4efff 52%,#d3e4fc 100%);
    min-height:620px;
  }
  .jig11-hero::before {
    background-image:var(--jig11-photo);
    background-size:auto 100%;
    background-position:right center;
    background-repeat:no-repeat;
  }
  .jig11-hero::after {
    background:linear-gradient(90deg,#e8f2ff 0%,rgba(232,242,255,.99) 20%,rgba(232,242,255,.93) 31%,rgba(232,242,255,.68) 43%,rgba(232,242,255,.16) 60%,transparent 77%);
  }
}
@media (max-width: 850px) {
  .jig11-hero::before { background-size:auto 100%; background-position:right center; }
}

/* v1.4: Accessible prayer-time typography without altering the approved hero */
.jig11-prayer-bar .jmt-head{width:178px;margin-right:10px;padding-right:13px}
.jig11-prayer-bar .jmt-head h2{font-size:.94rem;line-height:1.35}
.jig11-prayer-bar .jmt-head span{font-size:.84rem;line-height:1.45}
.jig11-prayer-bar .jmt-head .jmt-hijri{display:block;font-size:.88rem;font-weight:650;color:#445889;margin-top:4px}
.jig11-prayer-bar .jmt-grid{min-height:116px}
.jig11-prayer-bar .jmt-tile{padding:6px 8px;gap:2px}
.jig11-prayer-bar .jmt-tile strong{font-size:.88rem}
.jig11-prayer-bar .jmt-tile .jmt-label{font-size:.80rem;color:#495a7a;font-weight:550;line-height:1.35}
.jig11-prayer-bar .jmt-tile time{font-size:1.22rem;line-height:1.4}
.jig11-prayer-bar .jmt-tile .jmt-label:not(:first-of-type){margin-top:5px}
.jig11-prayer-bar{padding:17px 18px}
.jig11-time-link{font-size:.74rem}
.jig11-jummah{padding:16px 0 22px}
.jig11-jummah .jmt-jummah{margin:0}
@media(max-width:1150px){.jig11-prayer-bar .jmt-head{width:auto;margin:0 0 12px;padding:0;border:0;float:none}}
@media(max-width:700px){.jig11-prayer-bar .jmt-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.jig11-prayer-bar .jmt-tile{border:0}.jig11-prayer-bar .jmt-tile time{font-size:1.23rem}}
@media(max-width:400px){.jig11-prayer-bar .jmt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v1.5 — prominent dates; approved hero image and prayer-time functionality unchanged. */
.jig11-prayer-bar{grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:14px}
.jig11-prayer-bar .jmt-widget{display:flex;flex-direction:column}
.jig11-prayer-bar .jmt-head{float:none;display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;width:100%;min-height:0;margin:0 0 12px;padding:0 0 12px;border-right:0;border-bottom:1px solid #e1e8f5;gap:3px 18px}
.jig11-prayer-bar .jmt-head h2{font:700 .76rem/1.3 Inter,system-ui,sans-serif;letter-spacing:.09em;text-transform:uppercase;color:#53689b;width:100%}
.jig11-prayer-bar .jmt-head span:not(.jmt-hijri){display:block;font:700 1.11rem/1.4 Inter,system-ui,sans-serif;color:#24365f;white-space:normal}
.jig11-prayer-bar .jmt-head .jmt-hijri{display:block;margin:0;color:#50659c;font-size:.94rem;line-height:1.4;font-weight:600;white-space:normal}
.jig11-prayer-bar .jmt-head .jmt-hijri::before{content:'☾';font-size:1.15rem;line-height:1;vertical-align:-.03em;margin-right:7px;color:#677bbb}
.jig11-prayer-bar .jmt-grid{clear:both;width:100%;min-height:104px}
.jig11-prayer-bar .jig11-time-link{align-self:center;white-space:nowrap}
@media(max-width:1040px){.jig11-prayer-bar{grid-template-columns:minmax(0,1fr)}.jig11-prayer-bar .jig11-time-link{justify-self:center;margin-top:12px}}
@media(max-width:600px){.jig11-prayer-bar .jmt-head{gap:4px}.jig11-prayer-bar .jmt-head span:not(.jmt-hijri){font-size:1.07rem}.jig11-prayer-bar .jmt-head .jmt-hijri{font-size:.92rem}}

/* v1.6: Keep photographic desktop hero; restore emblem-only mobile hero. */
.jig16-mobile-logo{display:none}
/* Clearly separated pale-indigo cards, without altering the prayer plugin data. */
.jig11-prayer-bar .jmt-grid{gap:9px;align-items:stretch}
.jig11-prayer-bar .jmt-tile{background:#eaf0fc;border:1px solid #dce5f7;border-radius:11px;padding:13px 7px;min-height:122px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.jig11-prayer-bar .jmt-tile:last-child{border-right:1px solid #dce5f7}
.jig11-prayer-bar .jmt-tile strong{font-size:.88rem;color:#293c6a}
.jig11-prayer-bar .jmt-tile .jmt-label{font-size:.79rem;color:#4e6083}
.jig11-prayer-bar .jmt-tile time{font-size:1.16rem}
@media(max-width:850px){
 .jig11-hero{background:linear-gradient(150deg,#f4f8ff,#e3ecfc);min-height:0;display:block}
 .jig11-hero::before,.jig11-hero::after{content:none!important;display:none!important}
 .jig11-hero-inner{padding-top:42px;padding-bottom:96px}
 .jig11-copy{max-width:100%;width:100%;text-align:center}
 .jig16-mobile-logo{display:block;max-width:120px;margin:0 auto 20px}
 .jig16-mobile-logo img{display:block;max-width:100%;height:120px;object-fit:contain;filter:drop-shadow(0 7px 9px rgba(47,53,87,.1))}
 .jig11-copy h1{font-size:clamp(2.65rem,8.8vw,3.8rem);line-height:1.12;margin:14px auto 18px}
 .jig11-copy p{margin:0 auto;max-width:480px}
 .jig11-copy .hero-buttons{justify-content:center}
 .jig11-prayer-container{margin-top:-60px}
 .jig11-prayer-bar .jmt-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .jig11-prayer-bar .jmt-tile{min-height:145px;padding:16px 9px}
 .jig11-prayer-bar .jmt-tile strong{font-size:1rem}
 .jig11-prayer-bar .jmt-tile time{font-size:1.27rem}
 .jig11-prayer-bar .jmt-tile .jmt-label{font-size:.85rem}
}
@media(max-width:420px){
 .jig11-hero-inner{padding-top:33px;padding-bottom:90px}
 .jig16-mobile-logo{max-width:104px;margin-bottom:14px}
 .jig16-mobile-logo img{height:104px}
 .jig11-copy h1{font-size:clamp(2.5rem,10vw,3.2rem)}
 .jig11-prayer-bar{padding:16px 12px}
 .jig11-prayer-bar .jmt-grid{gap:9px}
 .jig11-prayer-bar .jmt-tile{padding:12px 5px;min-height:140px}
}

/* v1.7 accessible mobile menu — homepage and timetable layouts unchanged */
.jig-mobile-menu-toggle{display:none}
@media(max-width:850px){
 .header-wrap{display:flex;flex-wrap:nowrap;min-height:76px;padding:8px 0;position:relative;gap:10px}
 .brand{font-size:clamp(.85rem,3.6vw,1.06rem);letter-spacing:.035em;min-width:0}
 .brand img{width:45px;height:54px;flex-shrink:0}
 .jig-mobile-menu-toggle{display:inline-flex;align-items:center;gap:7px;flex-shrink:0;justify-content:center;border:1px solid #cbd6ed;border-radius:9px;padding:10px 13px;background:#f1f5ff;color:#293b69;font:700 .88rem/1.2 Inter,system-ui,sans-serif;cursor:pointer}
 .jig-mobile-menu-toggle span[aria-hidden]{font-size:1.2rem;line-height:1}
 .site-nav{display:none;position:absolute;top:calc(100% - 1px);left:0;right:0;width:100%;z-index:20;background:white;border:1px solid #e2e8f5;border-radius:0 0 15px 15px;box-shadow:0 15px 28px rgba(47,53,87,.13);padding:12px;flex-direction:column;align-items:stretch;gap:2px}
 .site-nav.jig-nav-open{display:flex}
 .site-nav a{display:block;padding:11px 13px;border-radius:8px;font-size:.96rem}
 .site-nav a:hover,.site-nav a:focus-visible{background:#f0f4fc}
 .site-nav .nav-donate{text-align:center;margin-top:8px;color:white!important}
}
@media(max-width:400px){.brand img{width:38px;height:47px}.jig-mobile-menu-toggle{padding:9px}.jig-menu-label{display:none}}

/* Version 1.8: heritage and About page (homepage unaffected). */
.jig-about-hero{position:relative;min-height:340px;display:flex;align-items:center;overflow:hidden;background:#e9f1fd}
.jig-about-hero-picture{position:absolute;inset:0;background-size:cover;background-position:center 45%}
.jig-about-hero:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#eaf2ff 0%,rgba(234,242,255,.98) 35%,rgba(234,242,255,.62) 62%,rgba(234,242,255,.04) 100%)}
.jig-about-hero .container{z-index:2;position:relative;padding:56px 0}
.jig-about-hero h1{font-size:clamp(2.8rem,5vw,4.9rem);max-width:650px;margin:10px 0 16px}
.jig-about-hero p{max-width:510px;font-size:1.1rem}
.jig-about-section{padding:70px 0}.jig-about-section.soft{background:#f6f9fe}
.jig-about-two{display:grid;grid-template-columns:1fr 1.5fr;gap:48px;align-items:center}
.jig-about-two.reverse{grid-template-columns:1.5fr 1fr}
.jig-about-two img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:18px;box-shadow:0 16px 32px rgba(47,53,87,.09)}
.jig-about-two h2,.jig-history-title{font-size:clamp(1.9rem,3vw,2.85rem)}
.jig-about-two p,.jig-history-intro{color:#4d5a7a;font-size:1.04rem}
.jig-history-timeline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:32px}
.jig-history-entry{border:1px solid #dce6f7;border-top:4px solid #9aabdb;background:#eff4fe;border-radius:14px;padding:19px}
.jig-history-entry strong{display:block;color:#30395f;font-family:Georgia,serif;font-size:1.48rem}
.jig-history-entry p{margin:8px 0 0;color:#4b5a78;font-size:.92rem}
.jig-heritage-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;margin:27px 0 0}
.jig-heritage-gallery figure{margin:0}.jig-heritage-gallery img{display:block;width:100%;height:230px;object-fit:cover;border-radius:14px;border:1px solid #dce6f7}
.jig-heritage-gallery figcaption{font-size:.84rem;color:#576784;padding:9px 2px}
.jig-about-services{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:24px}
.jig-about-service{background:#edf3fd;border:1px solid #dce6f7;border-radius:14px;padding:22px}
.jig-about-service h3{font-size:1.35rem;margin:0 0 6px}
.jig-about-service p{font-size:.94rem;margin:0;color:#576784}
@media(max-width:800px){.jig-about-two,.jig-about-two.reverse{grid-template-columns:1fr}.jig-history-timeline,.jig-about-services{grid-template-columns:repeat(2,minmax(0,1fr))}.jig-heritage-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.jig-about-hero{min-height:290px}.jig-about-hero:before{background:linear-gradient(90deg,rgba(234,242,255,.96),rgba(234,242,255,.76))}.jig-about-hero h1{font-size:2.65rem}.jig-about-section{padding:48px 0}.jig-history-timeline,.jig-about-services{grid-template-columns:1fr}.jig-heritage-gallery{grid-template-columns:1fr}.jig-heritage-gallery img{height:auto;max-height:340px;object-fit:contain;background:#edf3fd}}

/* v1.9 – show more of the real main hall, with readable editorial text */
@media(min-width:761px){
.jig-about-hero{min-height:440px;background:#eaf2ff}
.jig-about-hero-picture{background-size:auto 100%;background-position:right center;background-repeat:no-repeat}
.jig-about-hero:before{background:linear-gradient(90deg,#eaf2ff 0%,#eaf2ff 23%,rgba(234,242,255,.97) 36%,rgba(234,242,255,.62) 54%,rgba(234,242,255,.03) 72%)}
.jig-about-hero .container{padding:72px 0}
.jig-about-hero h1{max-width:580px}
}
@media(max-width:760px){
.jig-about-hero{min-height:440px;align-items:flex-start;flex-direction:column}
.jig-about-hero-picture{position:relative;inset:auto;order:2;width:100%;height:220px;background-position:center;background-size:contain;background-repeat:no-repeat;background-color:#eaf2ff}
.jig-about-hero:before{display:none}
.jig-about-hero .container{order:1;padding:38px 0 22px}
.jig-about-hero h1{font-size:clamp(2.4rem,8vw,3.2rem);margin:9px 0}
}
.jig-history-prose{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:30px}
.jig-history-prose article{border:1px solid #dbe5f6;background:#f6f9fe;padding:28px;border-radius:15px}
.jig-history-prose h3{font-size:1.65rem;margin:0 0 14px;color:#30395f}
.jig-history-prose p{font-size:.98rem;line-height:1.78}
.jig-history-source-note{font-size:.82rem;color:#697798;margin-top:22px}
@media(max-width:900px){.jig-history-prose{grid-template-columns:1fr}}

/* V2.0: dedicated wide faded image retains the hall and avoids the prior split image. */
@media (min-width:561px){
 .jig-about-hero{min-height:440px;align-items:center;flex-direction:row;background:#eaf2ff}
 .jig-about-hero-picture{position:absolute;inset:0;width:100%;height:100%;background-size:cover;background-position:center center;background-repeat:no-repeat}
 .jig-about-hero:before{display:block;background:linear-gradient(90deg,rgba(234,242,255,.55),rgba(234,242,255,.12) 48%,rgba(234,242,255,0) 85%)}
 .jig-about-hero .container{padding:72px 0}
}
@media (max-width:560px){
 .jig-about-hero-picture{background-image:none !important;display:none}
 .jig-about-hero{min-height:0;background:linear-gradient(135deg,#eaf2ff,#f5f8ff)}
 .jig-about-hero .container{padding:50px 0}
}

/* v2.1 — Qur’an and Hifz classes */
.jig-classes-hero{background:linear-gradient(115deg,#eaf2ff,#f4f7fe)}
.jig-classes-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(290px,.9fr);gap:44px;align-items:start}
.jig-class-offerings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:27px}
.jig-class-offering,.jig-classes-schedule{background:#f0f5fe;border:1px solid #dce6f7;border-radius:16px;padding:24px}
.jig-class-offering h3{margin:8px 0 9px;font-size:1.5rem}
.jig-class-offering p{margin:0;color:#4d5a7a}
.jig-classes-schedule{background:#eaf1fc;padding:28px}
.jig-classes-schedule h2{margin:8px 0 22px}
.jig-classes-schedule-line{display:flex;justify-content:space-between;gap:20px;align-items:baseline;border-bottom:1px solid #d0dbee;padding:14px 0;color:#475779}
.jig-classes-schedule-line strong{color:#30395f;text-align:right;font-size:1.07rem}
.jig-classes-schedule p{color:#4d5a7a;margin:23px 0}
.jig-classes-adults-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:32px;align-items:center}
.jig-classes-adults-grid p{max-width:740px}
@media(max-width:850px){.jig-classes-layout{grid-template-columns:1fr}.jig-classes-adults-grid{grid-template-columns:1fr}}
@media(max-width:540px){.jig-class-offerings{grid-template-columns:1fr}.jig-classes-schedule{padding:20px}.jig-classes-schedule-line{flex-direction:column;gap:3px}.jig-classes-schedule-line strong{text-align:left}}

/* v2.2 — Contact Us */
.jig-contact-hero{background:linear-gradient(115deg,#e9f1fe 0%,#f5f8ff 83%)}
.jig-contact-hero h1{max-width:960px}
.jig-contact-hero p{max-width:650px}
.jig-contact-main h2,.jig-contact-visit h2,.jig-contact-enquiries h2{margin:10px 0 14px}
.jig-contact-lead{max-width:750px;color:#4b5c80}
.jig-contact-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:30px}
.jig-contact-info-card{padding:30px 27px;background:#eff4fd;border:1px solid #dce6f7;border-radius:18px;min-width:0}
.jig-contact-card-icon{display:flex;align-items:center;justify-content:center;background:#dce7fa;color:#59669e;border-radius:12px;width:48px;height:48px;font-size:1.7rem;margin-bottom:18px}
.jig-contact-info-card h3{font-size:1.55rem;margin:0 0 12px;color:#30395f}
.jig-contact-info-card p{line-height:1.75;color:#435579;overflow-wrap:anywhere;min-height:58px;margin:0 0 17px}
.jig-contact-info-card>a,.jig-contact-info-card p+a{font-size:.77rem;font-weight:800;letter-spacing:.06em;color:#526399;text-decoration:none}
.jig-contact-info-card .jig-contact-detail-link{color:#30395f;font-size:1rem;letter-spacing:0;font-weight:600;text-transform:none}
.jig-contact-small{display:block;font-size:.84rem;color:#647394;line-height:1.65}
.jig-contact-visit{background:#f3f7fe}
.jig-contact-visit-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.9fr);gap:70px;align-items:center}
.jig-contact-visit-grid p{max-width:640px;color:#4d5a7a}
.jig-contact-visit-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.jig-contact-visitor-note{padding:30px;border-radius:18px;background:#e7eefb;border:1px solid #d8e3f7}
.jig-contact-visitor-note h3{font-size:1.6rem;margin:10px 0}
.jig-contact-enquiries p{max-width:810px;color:#4d5a7a}
.jig-contact-enquiries .btn{margin-top:15px}
@media(max-width:850px){.jig-contact-card-grid{grid-template-columns:1fr}.jig-contact-info-card p{min-height:0}.jig-contact-visit-grid{grid-template-columns:1fr;gap:28px}}
@media(max-width:540px){.jig-contact-info-card{padding:24px}.jig-contact-visit-actions .btn{width:100%;text-align:center}}

/* Version 2.3: event programme cards */
.jig-event-time{font-weight:700;font-size:1.1rem;color:#2d3b6a;margin:8px 0 12px}
.jig-recurring-events .jig-event-item{background:#eaf0fc;border-color:#d8e3f5;border-top:3px solid #879ad0}
.jig-events-upcoming{background:#f6f9ff}
.jig-event-image{display:block;width:100%;height:180px;object-fit:cover;border-radius:10px;margin-bottom:15px}
.jig-event-grid{align-items:stretch}

/* v2.4 — dedicated Ramadan landing page */
.jig-ramadan-hero{background:linear-gradient(115deg,#e8f0ff,#f5f8ff);padding:0}
.jig-ramadan-hero-inner{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);align-items:center;gap:46px;padding-top:55px;padding-bottom:55px}
.jig-ramadan-hero h1{font-size:clamp(2.5rem,4.7vw,4.8rem);line-height:1.13;margin:16px 0 22px}
.jig-ramadan-hero p{max-width:510px;color:#4b5c80;font-size:1.08rem}
.jig-ramadan-hero-photo{margin:0;min-width:0}
.jig-ramadan-hero-photo img{width:100%;height:350px;object-fit:cover;border-radius:18px;border:5px solid #fff;box-shadow:0 18px 32px rgba(43,60,108,.12)}
.jig-ramadan-datestamp{margin-top:28px;max-width:490px;padding:18px 22px;border:1px solid #cbd9f1;background:#f7faff;border-radius:15px;display:flex;flex-direction:column;gap:3px}
.jig-ramadan-datestamp strong{font-family:Georgia,serif;font-size:1.65rem;color:#30395f}
.jig-ramadan-datestamp span{font-size:1.08rem;color:#30395f;font-weight:700}
.jig-ramadan-datestamp small{color:#667797;font-size:.83rem}
.jig-ramadan-section{padding:75px 0}
.jig-ramadan-section h2{font-size:clamp(2rem,3.5vw,3rem);margin:12px 0 20px}
.jig-ramadan-section p{color:#4b5c80;max-width:700px;line-height:1.75}
.jig-ramadan-columns{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(310px,.8fr);gap:64px;align-items:start}
.jig-ramadan-download,.jig-ramadan-message{padding:32px;border-radius:18px;background:#eaf1fd;border:1px solid #d6e1f5}
.jig-ramadan-download h3,.jig-ramadan-message h3{font-size:1.85rem;margin:11px 0}
.jig-ramadan-download .btn{display:inline-block;margin:13px 0 8px}
.jig-ramadan-secondary-link{display:block;font-size:.88rem;margin-top:10px;color:#465b99}
.jig-ramadan-pending{border:1px dashed #94a9d6;border-radius:9px;padding:14px 16px;color:#485e92;font-weight:700;text-align:center;margin-top:24px}
.jig-ramadan-soft{background:#f4f7fe}
.jig-ramadan-section .btn{margin-top:12px}
.jig-ramadan-editor-notes{margin:20px 0 25px;max-width:850px}
@media(max-width:850px){.jig-ramadan-hero-inner,.jig-ramadan-columns{grid-template-columns:1fr;gap:26px}.jig-ramadan-hero-inner{padding-top:42px;padding-bottom:42px}.jig-ramadan-hero-photo img{height:270px}.jig-ramadan-section{padding:52px 0}}
@media(max-width:540px){.jig-ramadan-hero h1{font-size:2.45rem}.jig-ramadan-hero-photo img{height:auto;aspect-ratio:16/10}.jig-ramadan-download,.jig-ramadan-message{padding:22px}.jig-ramadan-download .btn{width:100%;text-align:center}}

/* v2.5 — smooth About-style fade across the DESKTOP homepage hero.
   Keep original building image, prayer layout and mobile logo presentation. */
@media (min-width: 851px) {
  .jig11-hero::after {
    background: linear-gradient(90deg,
      #e8f2ff 0%,
      rgba(232,242,255,0.99) 22%,
      rgba(232,242,255,0.97) 32%,
      rgba(232,242,255,0.88) 42%,
      rgba(232,242,255,0.62) 53%,
      rgba(232,242,255,0.26) 67%,
      rgba(232,242,255,0.04) 82%,
      transparent 94%);
  }
}

/* v2.6: purpose-built, full-width, pre-faded hero asset.
   WordPress heading and functional buttons stay live HTML. */
@media (min-width: 851px) {
 .jig11-hero {background:#eaf2ff;}
 .jig11-hero::before {background-image:url('assets/home-hero-faded-v26.webp') !important;background-size:cover !important;background-position:center center !important;}
 .jig11-hero::after {background:none !important;}
}


/* Version 2.7 — next prayer and centred Jumu'ah on smaller screens */
.jig11-prayer-bar .jig27-next{grid-column:1/-1;min-width:0;background:#e9effc;border:1px solid #cbd8f4;border-radius:13px;padding:15px 18px;text-align:center;color:#23345f;margin-top:4px}
.jig27-next-top{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap}
.jig27-next-kicker{font-size:.7rem;font-weight:800;letter-spacing:.14em;color:#5166a8}
.jig27-name{font-size:1.25rem;font-family:Georgia,serif}
.jig27-counters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px auto;max-width:560px}
.jig27-counters>div{background:#fff;border-radius:9px;padding:10px}
.jig27-counters span{display:block;font-size:.79rem;color:#536589;margin-bottom:4px}
.jig27-counters strong{font-size:1.55rem;font-weight:750;font-variant-numeric:tabular-nums;letter-spacing:.025em}
.jig27-next-note{font-size:.69rem;color:#536589;margin:5px 0 0}
.jig11-prayer-bar .jmt-tile.jig27-highlight{background:#dce6ff!important;outline:2px solid #5268b6;outline-offset:-2px;box-shadow:0 3px 12px rgba(75,97,159,.13)}
.jig11-prayer-bar .jmt-tile.jig27-highlight strong{color:#234da1}
@media(min-width:1151px){.jig11-prayer-bar .jig27-next{grid-row:2}.jig11-prayer-bar .jig11-time-link{grid-column:1/-1;grid-row:3;justify-self:center}}
@media(max-width:650px){.jig11-jummah .jmt-jummah{align-items:center!important;text-align:center!important;flex-direction:column!important;gap:14px}.jig11-jummah .jmt-jummah-times{width:100%;display:flex!important;justify-content:space-evenly!important;text-align:center}.jig11-jummah .jmt-jummah-times span{align-items:center}.jig11-jummah .jmt-jummah h2{text-align:center}.jig27-counters strong{font-size:1.2rem}.jig27-counters{gap:8px}}


/* v2.8 — improve visual hierarchy of next-prayer status across screen sizes */
.jig11-prayer-bar .jig27-next{padding:19px 20px 17px}
.jig11-prayer-bar .jig27-next-top{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:5px;text-align:center;line-height:1.25;
}
.jig11-prayer-bar .jig27-next-kicker{display:block;font-size:.72rem;letter-spacing:.15em}
.jig11-prayer-bar .jig27-name{display:block;font-size:1.55rem;line-height:1.2;font-weight:700;color:#253862}
.jig11-prayer-bar .jig27-counters{margin:16px auto 12px;gap:12px;max-width:560px}
.jig11-prayer-bar .jig27-counters>div{padding:13px 8px;min-width:0}
.jig11-prayer-bar .jig27-counters span{font-size:.8rem;line-height:1.35;margin-bottom:6px}
.jig11-prayer-bar .jig27-counters strong{display:block;white-space:nowrap;line-height:1.25}
/* Centre every element in the Jumu'ah card on narrow screens, including the lower timing columns. */
@media(max-width:650px){
  .jig11-jummah .jmt-jummah{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:20px!important;padding:25px 18px!important}
  .jig11-jummah .jmt-jummah>div:first-child{width:100%;text-align:center!important}
  .jig11-jummah .jmt-jummah h2,.jig11-jummah .jmt-jummah p{width:100%;text-align:center!important;margin-left:auto;margin-right:auto}
  .jig11-jummah .jmt-jummah-times{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important;width:100%;max-width:350px;margin:0 auto;align-items:start;justify-items:center;text-align:center!important}
  .jig11-jummah .jmt-jummah-times span{width:100%;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:7px}
  .jig11-jummah .jmt-jummah-times strong{display:block;text-align:center!important;font-variant-numeric:tabular-nums}
  .jig11-prayer-bar .jig27-next{padding:18px 12px 15px}
  .jig11-prayer-bar .jig27-counters{gap:8px;margin:14px auto 11px}
  .jig11-prayer-bar .jig27-counters>div{padding:13px 5px}
  .jig11-prayer-bar .jig27-counters strong{font-size:1.14rem;letter-spacing:0}
  .jig11-prayer-bar .jig27-name{font-size:1.5rem}
}

/* v2.9: homepage upcoming event schedule and archive history image */
.jig29-upcoming .jig29-intro{max-width:680px;color:#526080;margin:0 0 28px}
.jig29-event-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.jig29-event-card{min-width:0;position:relative;overflow:hidden;background:#fff;border:1px solid #dbe4f4;border-radius:16px;box-shadow:0 7px 25px rgba(47,53,87,.04)}
.jig29-event-photo{display:block;overflow:hidden;height:158px}.jig29-event-photo img{width:100%;height:100%;object-fit:cover;display:block}
.jig29-event-body{padding:24px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.jig29-event-date{font-size:.75rem;font-weight:750;letter-spacing:.13em;text-transform:uppercase;color:#5f679b}
.jig29-event-card h3{font-size:1.5rem;margin:0;line-height:1.2}.jig29-event-card h3 a{text-decoration:none}.jig29-event-card h3 a:hover{text-decoration:underline}
.jig29-event-time{font-weight:750;color:#31436f;font-size:.99rem}.jig29-event-card p{font-size:.92rem;color:#526080;margin:0}
.jig29-next-label{font-weight:750;font-size:.69rem;letter-spacing:.08em;text-transform:uppercase;color:#52629e;background:#eaf0ff;padding:5px 10px;border-radius:30px}
.jig29-all-events{margin-top:26px}.jig29-empty{padding:24px;border:1px solid #dbe4f4;background:#fff;border-radius:14px}
.jig29-history-image{display:block;overflow:hidden;border-radius:17px;box-shadow:var(--shadow);height:320px}
.jig29-history-image img{width:100%;height:100%;display:block;object-fit:cover}
@media(max-width:900px){.jig29-event-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.jig29-event-grid{grid-template-columns:1fr}.jig29-event-photo{height:190px}.jig29-history-image{height:245px}.jig29-event-body{padding:22px}}

/* v3.0 — accessible donor reminder and restrained gold accents */
.jig30-donate{background:linear-gradient(125deg,#303b62,#56689b);text-align:center;padding:66px 0 68px}
.jig30-donate-inner{max-width:760px}.jig30-donate h2{color:#fff;font-size:clamp(2rem,3.4vw,3.25rem);margin:10px auto 12px}
.jig30-gold{color:#dfc88e!important}.jig30-gold-rule{display:block;width:66px;height:2px;background:#d9be84;margin:18px auto}
.jig30-donate-intro{font-size:1rem;color:#edf1fb;max-width:590px;margin:0 auto 26px}
.jig30-reminder{border:1px solid rgba(217,190,132,.54);border-radius:17px;background:rgba(255,255,255,.065);padding:23px 24px 15px;margin:0 auto 23px;max-width:660px}
.jig30-reminder-content{min-height:114px;display:flex;flex-direction:column;justify-content:center;gap:8px}
.jig30-reminder-label{font-size:.68rem;letter-spacing:.15em;font-weight:700;color:#e3ce96;margin:0}
.jig30-reminder-quote{font:400 clamp(1.18rem,2.1vw,1.55rem)/1.42 Georgia,serif;color:white;margin:0}
.jig30-reminder-source{color:#e7d49e;font-size:.8rem;margin:0}
.jig30-reminder-controls{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:12px}
.jig30-reminder-controls button{cursor:pointer;color:white;border:1px solid rgba(240,231,210,.6);background:rgba(255,255,255,.08);border-radius:8px;min-width:38px;min-height:36px;font-size:1.25rem}
.jig30-reminder-controls [data-reminder-pause]{font:600 .75rem system-ui,sans-serif;padding:0 13px}
.jig30-reminder-count{font-size:.78rem;color:#f0e5cb;min-width:40px}
.jig30-donate .jig30-donate-cta{background:#fff;border-color:#fff;color:#283457!important;padding:14px 24px}
.jig30-donate-footnote{color:#e6e9f4;font-size:.76rem;margin:12px 0 0}
.jig29-event-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:900px){.jig29-event-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.jig29-event-grid{grid-template-columns:1fr}.jig30-donate{padding:52px 0}.jig30-reminder{padding:18px 14px 12px}}
/* print a single month on A4 landscape; keep all eleven timing columns */
@page{size:A4 landscape;margin:8mm}
@media print{
 html,body{margin:0!important;padding:0!important;background:white!important;color:#222!important;height:auto!important;min-width:0!important}
 body *{visibility:hidden!important}
 .jmt-monthly,.jmt-monthly *{visibility:visible!important}
 .jmt-monthly{position:absolute!important;top:0!important;left:0!important;right:0!important;width:100%!important;margin:0!important;padding:0!important;font-family:Arial,sans-serif!important;color:#202c4f!important}
 .jmt-monthly h2{font-size:15pt!important;margin:0 0 2mm!important;text-align:center!important}
 .jmt-monthly h2:before{content:'Jamia Islamia Glasgow — ';font-weight:700}
 .jmt-monthly>p:not(.jmt-disclaimer),.jmt-disclaimer,.jmt-month-controls,.jmt-print{display:none!important}
 .jmt-table-scroll{width:100%!important;max-width:none!important;overflow:visible!important;border:none!important;border-radius:0!important}
 .jmt-table{table-layout:fixed!important;width:100%!important;min-width:0!important;white-space:nowrap!important;border-collapse:collapse!important;font:7.3pt/1.2 Arial,sans-serif!important}
 .jmt-table thead{display:table-header-group!important}
 .jmt-table th,.jmt-table td{padding:1.1mm .35mm!important;font-size:7.3pt!important;line-height:1.16!important;border-bottom:1px solid #d7deec!important;text-align:center!important;overflow:visible!important}
 .jmt-table th:first-child,.jmt-table td:first-child{width:12%!important}
 .jmt-table thead th{font-size:6.6pt!important;white-space:normal!important;line-height:1.1!important;background:#e9eefb!important}
 .jmt-table tr{break-inside:avoid!important;page-break-inside:avoid!important}
 .jmt-current{outline:none!important}
}

@media print{.jmt-monthly h2 .jig30-print-month{font-weight:400!important;font-size:13pt!important}}

/* v3.1 — Arabic and hadith reminder presentation; understated gold accents */
.jig31-reminder-arabic{font-family:'Noto Naskh Arabic','Traditional Arabic','Amiri',serif;font-size:clamp(1.45rem,2.6vw,2.05rem);line-height:1.9;color:#fff;margin:3px 0 5px;direction:rtl;text-align:center;font-weight:500}
.jig30-reminder-content{min-height:215px;align-items:center;justify-content:center}
.jig30-reminder-quote{max-width:560px;margin-inline:auto}
.jig29-upcoming .eyebrow,.jig29-history .eyebrow{color:#82663e}
.jig29-upcoming h2:after,.jig29-history h2:after{content:'';display:block;width:42px;height:2px;background:#d9be84;margin:13px 0 0}
.jig29-event-card{border-top:2px solid #e3d0a7}
.jig29-next-label{background:#f0e6d2;color:#6e542e}
.jig29-all-events:hover,.jig29-history .btn:hover{border-color:#b89b66}
@media(max-width:600px){
 .jig29-upcoming>.container>.eyebrow,.jig29-upcoming h2,.jig29-intro{text-align:center}
 .jig29-upcoming h2:after,.jig29-history h2:after{margin:13px auto 0}
 .jig29-history .split>div{text-align:center}
 .jig29-event-card,.jig29-event-body{text-align:left}
 .footer-grid{flex-direction:column;align-items:center;text-align:center;justify-content:center;gap:14px}
 .jig30-reminder-content{min-height:235px}
 .jig31-reminder-arabic{font-size:1.55rem;line-height:1.85}
}

/* v3.2 — restrained gold sitewide and refined header. */
:root{--jig-gold:#c5a66f;--jig-gold-soft:#eee1c6}
.site-header{background:linear-gradient(180deg,#fff 0%,#fbfcff 100%);border-bottom:2px solid rgba(197,166,111,.55);box-shadow:0 7px 25px rgba(47,53,87,.065)}
.site-header .header-wrap{position:relative}
.site-header .brand{color:#263965}
.site-header .brand:after{content:'';display:block;width:1px;height:32px;background:linear-gradient(transparent,#c5a66f,transparent);margin-left:6px}
.site-nav>a:not(.nav-donate){position:relative;padding-block:9px}
.site-nav>a:not(.nav-donate):after{content:'';position:absolute;bottom:3px;left:0;right:0;height:2px;background:var(--jig-gold);transform:scaleX(0);transition:transform .2s ease}
.site-nav>a:not(.nav-donate):hover:after,.site-nav>a:not(.nav-donate):focus-visible:after{transform:scaleX(1)}
.site-nav .nav-donate{border-bottom:2px solid #c5a66f}
/* Gold only in small navigation/section accents; retain existing blue reading text. */
.jig-page-hero .eyebrow,.jig-about-hero .eyebrow,.jig-classes-hero .eyebrow,.jig-contact-hero .eyebrow,.jig-ramadan-hero .eyebrow,.jig-content-section .eyebrow,.jig-about-section .eyebrow,.jig29-upcoming .eyebrow,.jig29-history .eyebrow{color:#846534}
.jig-page-hero h1:after,.jig-about-hero h1:after,.jig-classes-hero h1:after,.jig-contact-hero h1:after,.jig-ramadan-hero h1:after{content:'';display:block;width:54px;height:2px;margin-top:16px;background:var(--jig-gold)}
.jig-feature-card,.jig-value,.jig-event-item,.jig-event-card,.jig-ramadan-download,.jig-ramadan-message{border-top:2px solid rgba(197,166,111,.6)}
.site-footer{border-top:2px solid var(--jig-gold)}
/* Desktop: keep hero copy compact and keep live title/links accessible. */
.jig32-hero-dua{max-width:470px;min-height:135px;margin-top:12px;color:#30416b}
.jig32-hero-dua p{margin:0!important}
.jig32-dua-label{font-size:.64rem!important;font-weight:750;letter-spacing:.17em;color:#8a6a38!important;line-height:1.5!important}
.jig32-dua-arabic{font-family:'Traditional Arabic','Noto Naskh Arabic','Amiri',serif;font-size:1.35rem!important;line-height:1.7!important;direction:rtl;text-align:left;color:#233966!important;padding-top:5px}
.jig32-dua-meaning{font-size:.88rem!important;line-height:1.55!important;color:#3e5377!important}
.jig32-dua-source{font-size:.71rem!important;color:#85683d!important;margin-top:5px!important}
.jig11-copy .hero-buttons{margin-top:15px}
.jig30-reminder-content{min-height:235px}
@media(max-width:900px){.site-header .brand:after{display:none}}
@media(max-width:850px){.site-nav>a:not(.nav-donate):after{display:none}.site-nav>a:not(.nav-donate){padding-block:11px}}
@media(max-width:600px){
 .jig32-hero-dua{max-width:345px;min-height:175px;margin:16px auto 0;text-align:center}
 .jig32-dua-arabic{text-align:center;font-size:1.4rem!important}
 .jig32-dua-label,.jig32-dua-meaning,.jig32-dua-source{text-align:center}
 .jig11-copy .hero-buttons{margin-top:14px}
 .jig-page-hero h1:after,.jig-about-hero h1:after,.jig-classes-hero h1:after,.jig-contact-hero h1:after,.jig-ramadan-hero h1:after{margin-inline:auto}
}
@media(prefers-reduced-motion:reduce){.site-nav>a:not(.nav-donate):after{transition:none}}

/* Version 3.3: clear controls for hero du'as; stable, compact on desktop and mobile. */
.jig33-hero-controls{display:flex;align-items:center;gap:12px;margin-top:9px;color:#846534;font-size:.72rem;font-weight:700;letter-spacing:.06em}
.jig33-hero-controls button{font:inherit;cursor:pointer;border:1px solid rgba(132,101,52,.45);border-radius:7px;background:rgba(255,255,255,.64);color:#283a68;min-width:32px;min-height:29px;line-height:1;padding:3px 8px;font-size:1.3rem}
.jig33-hero-controls button:hover,.jig33-hero-controls button:focus-visible{border-color:#846534;background:#fff;outline-offset:3px}
.jig32-hero-dua{min-height:190px}
@media(max-width:600px){.jig33-hero-controls{justify-content:center}.jig32-hero-dua{min-height:255px}}

/* v3.4 — ten auto-advancing supplications; prayer-time gold botanical detail */
.jig11-prayer-bar{position:relative;isolation:isolate;border:1px solid rgba(197,166,111,.42);box-shadow:0 18px 40px rgba(44,58,99,.08),0 0 0 1px rgba(197,166,111,.1)}
.jig11-prayer-bar:after{content:"";position:absolute;z-index:0;pointer-events:none;top:4px;right:10px;width:112px;height:51px;background:url('assets/gold-vine.svg') center/contain no-repeat;opacity:.46}
.jig11-prayer-bar>*{position:relative;z-index:1}
.jig11-prayer-bar .jmt-tile{border-top:2px solid rgba(197,166,111,.65)}
.jig11-prayer-bar .jig27-next{border-color:rgba(197,166,111,.6)}
.jig11-prayer-bar .jig27-next-kicker{color:#8a692f}
.jig11-jummah{position:relative}
.jig11-jummah:before{content:"";pointer-events:none;position:absolute;right:12px;top:8px;width:88px;height:40px;background:url('assets/gold-vine.svg') center/contain no-repeat;opacity:.36;z-index:0}
.jig11-jummah>*{position:relative;z-index:1}
@media(max-width:600px){.jig11-prayer-bar:after{width:74px;height:34px;right:7px;top:5px;opacity:.3}.jig11-jummah:before{width:55px;opacity:.22}.jig32-hero-dua{min-height:275px}}
@media print{.jig11-prayer-bar:after,.jig11-jummah:before{display:none!important}}

/* v3.5 — visible flowing-gold ornament on prayer sections (not botanical vines). */
.jig11-prayer-bar:after,.jig11-jummah:before{background-image:none!important;content:none!important}
.jig11-prayer-bar{overflow:visible;border:1px solid rgba(184,145,82,.54)!important}
.jig11-prayer-bar:before{content:"";display:block;position:absolute;pointer-events:none;top:-24px;right:24px;width:min(36%,310px);height:55px;background:url('assets/gold-waves.svg') center/contain no-repeat;opacity:.92;z-index:2}
.jig11-jummah:after{content:"";position:absolute;pointer-events:none;bottom:-14px;right:21px;width:min(42%,290px);height:49px;background:url('assets/gold-waves.svg') center/contain no-repeat;opacity:.72;z-index:2}
@media(max-width:700px){.jig11-prayer-bar:before{width:155px;top:-16px;right:12px;height:32px;opacity:.83}.jig11-jummah:after{width:145px;right:9px;bottom:-10px;height:25px;opacity:.65}}
@media print{.jig11-prayer-bar:before,.jig11-jummah:after{display:none!important}}

/* v3.6 launch cleanup: remove floating gold waves; retain subtle gold accents. */
.jig11-prayer-bar::before,
.jig11-prayer-bar::after,
.jig11-jummah::before,
.jig11-jummah::after { content: none !important; display: none !important; background: none !important; }
