*{box-sizing:border-box}body{margin:0;background:#fff8f7;color:#252525;font:15px/1.6 system-ui,-apple-system,Segoe UI,Arial}.top{background:#a90e1a;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:10px max(4%,calc((100% - 1180px)/2));gap:18px;position:sticky;top:0;z-index:5;box-shadow:0 3px 14px #55000030}.top>a{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;font-weight:800;letter-spacing:.4px}.top img{width:56px;height:56px;border-radius:50%;object-fit:cover;background:#fff}.top nav{display:flex;gap:18px;flex-wrap:wrap}.top nav a{color:white;text-decoration:none;font-weight:650}.wrap{max-width:1160px;margin:auto;padding:34px 20px}.hero{background:linear-gradient(120deg,#780811,#bd1724);color:white;padding:70px 7%;display:grid;grid-template-columns:1.1fr .9fr;gap:30px;align-items:center}.hero h1{font-size:clamp(30px,5vw,56px);line-height:1.08;margin:0 0 18px}.hero p{font-size:18px;max-width:650px}.hero img{width:100%;max-height:410px;object-fit:contain;border-radius:16px;background:#fff}.btn{display:inline-block;border:0;background:#b5121b;color:white;padding:13px 22px;border-radius:8px;text-decoration:none;font-weight:750;cursor:pointer}.btn.light{background:#fff;color:#a90e1a}.btn.dark{background:#292929}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:28px 0}.card,.form-card{background:#fff;border:1px solid #f0d6d7;border-radius:14px;padding:22px;box-shadow:0 8px 25px #4c00000b}.leader img{width:100%;height:270px;object-fit:cover;border-radius:10px}.leader h3{margin-bottom:0;color:#9d101a}.section-title{color:#9d101a;font-size:30px}.page{max-width:900px;margin:35px auto;padding:0 16px}.form-card h1{color:#a90e1a;margin:0}.sub{color:#666;margin-top:4px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.field{display:flex;flex-direction:column;gap:5px}.field.full{grid-column:1/-1}label{font-weight:650}input,select,textarea{font:inherit;padding:12px;border:1px solid #d9c5c6;border-radius:8px;background:white;width:100%}textarea{min-height:90px}.check{display:flex;gap:10px;margin:14px 0;align-items:flex-start}.check input{width:auto;margin-top:5px}.notice,.alert{padding:13px 15px;border-radius:8px;margin:15px 0}.notice{background:#fff4df;color:#684b0c}.alert{background:#fce7e8;color:#85111a}.alert.ok{background:#e8f7ed;color:#176536}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;background:white}th,td{padding:11px;border-bottom:1px solid #eee;text-align:left;white-space:nowrap}th{background:#fff0f0;color:#8d111a}.pill{padding:4px 9px;border-radius:20px;background:#fce5e6;color:#8d111a;font-size:12px;font-weight:700}.actions{display:flex;gap:8px;flex-wrap:wrap}.actions form{display:inline}.footer{text-align:center;color:#777;padding:35px 15px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.stat{padding:18px;background:#fff;border:1px solid #f0d6d7;border-radius:12px}.stat b{font-size:28px;color:#a90e1a;display:block}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.gallery img{width:100%;height:210px;object-fit:cover;border-radius:10px}.navtabs{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.navtabs a{background:#fff;border:1px solid #edc8ca;padding:9px 13px;border-radius:8px;text-decoration:none;color:#9d101a}.idcard{width:min(100%,560px);border:3px solid #a90e1a;border-radius:16px;padding:20px;background:linear-gradient(120deg,#fff,#fff4f4);display:flex;gap:18px}.idcard img{width:115px;height:140px;object-fit:cover}.small{font-size:12px;color:#666}@media(max-width:760px){.top{align-items:flex-start;flex-direction:column}.hero{grid-template-columns:1fr;padding:42px 22px}.cards,.stats,.gallery{grid-template-columns:1fr}.grid{grid-template-columns:1fr}.field.full{grid-column:auto}}

/* TUSMN homepage gallery and updated leadership layout */
.hero-text{grid-template-columns:1fr;min-height:300px}.home-gallery{margin:0 0 42px}.gallery-heading{display:flex;align-items:end;justify-content:space-between;gap:15px}.gallery-heading p{color:#666}.gallery-stage{position:relative;min-height:260px;height:clamp(260px,48vw,540px);overflow:hidden;border-radius:16px;background:#4b080d}.gallery-slide{position:absolute;inset:0;margin:0;opacity:0;transition:opacity .7s ease;pointer-events:none}.gallery-slide.active{opacity:1;pointer-events:auto}.gallery-slide img{width:100%;height:100%;object-fit:cover}.gallery-slide figcaption{position:absolute;left:0;right:0;bottom:0;padding:38px 24px 18px;color:#fff;font-weight:750;font-size:clamp(16px,2.5vw,24px);background:linear-gradient(transparent,#000b)}.gallery-controls{display:flex;gap:8px}.gallery-controls button{border:0;border-radius:50%;width:42px;height:42px;font-size:27px;background:#a90e1a;color:#fff;cursor:pointer}.gallery-dots{display:flex;justify-content:center;gap:8px;padding:14px}.gallery-dots button{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:#d9a5a8;cursor:pointer}.gallery-dots button.active{background:#a90e1a;width:25px;border-radius:8px}.network-logo-under{height:115px!important;object-fit:contain!important;background:#fff;border:1px solid #eee;padding:8px;margin-top:12px}.gallery-admin{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-top:22px}.gallery-admin img{width:100%;height:150px;object-fit:cover;border-radius:8px}@media(max-width:760px){.gallery-admin{grid-template-columns:repeat(2,1fr)}.gallery-heading{align-items:start;flex-direction:column}}


/* Premium responsive homepage refinement (V2.1) */
html{scroll-behavior:smooth}body{min-width:320px;overflow-x:hidden;background:#fff;color:#242124}
.top{width:100%;min-width:0;min-height:82px;padding:12px max(5%,calc((100% - 1240px)/2));display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(105deg,#780812 0%,#a90e1a 58%,#c51d2a 100%)}
.top>a{flex:0 1 auto;min-width:0;display:flex;align-items:center;gap:13px;font-size:14px;line-height:1.25}
.top img{width:62px;height:62px;flex:0 0 62px;object-fit:contain;border:2px solid #ffffff55;border-radius:50%;padding:3px}
.top nav{flex:0 1 auto;display:flex;align-items:center;justify-content:flex-end;gap:clamp(10px,2vw,24px)}
.top nav a{font-size:14px;white-space:nowrap;padding:9px 0;border-bottom:2px solid transparent;transition:border-color .2s ease}
.top nav a:hover{border-color:#f4d27b}
.hero.hero-text{width:100%;min-height:330px;padding:clamp(42px,7vw,82px) max(5%,calc((100% - 1160px)/2));display:flex;align-items:center;background:radial-gradient(circle at 88% 15%,#d53b4540,transparent 28%),linear-gradient(120deg,#710711 0%,#a90e1a 58%,#c21c29 100%);}
.hero-text>div{width:100%;max-width:850px;margin:0 auto}
.hero-text .pill{display:inline-block;background:#ffffff1c;color:#ffe8a8;border:1px solid #ffffff45;padding:7px 13px;letter-spacing:1.2px}
.hero-text h1{max-width:850px;font-size:clamp(30px,5vw,58px);letter-spacing:-1.2px;line-height:1.06;margin:18px 0}
.hero-text p{max-width:720px;color:#fff;font-size:clamp(15px,1.5vw,18px);line-height:1.75}
.hero-text .actions{margin-top:25px;gap:12px}
.hero-text .btn{padding:13px 22px;border-radius:9px;box-shadow:0 6px 18px #3500062b}
.wrap{width:min(100%,1240px);max-width:1240px;margin:0 auto;padding:clamp(28px,4vw,52px) clamp(16px,3vw,28px)}
.home-gallery{width:100%;margin:0 auto clamp(42px,6vw,72px)}
.gallery-heading{align-items:center;margin-bottom:18px}
.gallery-heading .pill{background:#fff0d4;color:#8a111b;letter-spacing:.7px}
.gallery-heading .section-title{margin:10px 0 3px;font-size:clamp(25px,3vw,34px);letter-spacing:-.5px}
.gallery-heading p{margin:4px 0 0;font-size:15px}
.gallery-stage{width:100%;height:clamp(300px,52vw,610px);min-height:300px;aspect-ratio:16/9;border-radius:18px;overflow:hidden;background:#21070a;box-shadow:0 18px 48px #4a0a101f;isolation:isolate}
.gallery-slide{inset:0;width:100%;height:100%;display:block}
.gallery-slide img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 35%}
.gallery-slide figcaption{padding:70px clamp(18px,4vw,42px) 24px;font-size:clamp(17px,2vw,25px);letter-spacing:.1px}
.gallery-controls button{width:44px;height:44px;background:#a90e1a;border:1px solid #ffffff55;box-shadow:0 5px 14px #540a1020}
.gallery-dots{padding:16px 10px 0}
.section-title{font-size:clamp(26px,3vw,34px);letter-spacing:-.5px;margin:0 0 20px}
.cards{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:26px 0 clamp(42px,6vw,72px);align-items:stretch}
.card.leader{width:100%;min-width:0;padding:16px 16px 20px;border:1px solid #eee0df;border-radius:18px;box-shadow:0 12px 32px #4b0a1010;overflow:hidden;display:flex;flex-direction:column;transition:transform .25s ease,box-shadow .25s ease}
.card.leader:hover{transform:translateY(-4px);box-shadow:0 18px 38px #4b0a101b}
.card.leader>img:first-child{display:block;width:100%;height:clamp(230px,26vw,340px);max-height:none;object-fit:cover;object-position:center 25%;border-radius:12px;background:#f6eeee}
.card.leader h3{font-size:16px;line-height:1.45;margin:16px 2px 6px;color:#92101a}
.card.leader p{font-size:14px;color:#656064;margin:0 2px 4px;line-height:1.65}
.card.leader .network-logo-under{width:100%;height:145px!important;max-height:145px;object-fit:contain!important;margin:14px 0 0;padding:10px;background:#fff;border:1px solid #f0e5e5;border-radius:12px}
.wrap>.section-title:not(:first-child){margin-top:40px}
.wrap>p{font-size:16px;line-height:1.8;color:#575257;max-width:1000px}
.footer{background:#4b090f;color:#f7e9e9;padding:28px 16px;margin-top:35px}
@media(min-width:761px){.cards{grid-template-columns:repeat(3,minmax(0,1fr))}.card.leader{max-width:none}}
@media(max-width:760px){
 .top{width:100%;padding:12px 16px;flex-direction:column;align-items:stretch;gap:10px;min-height:0}
 .top>a{font-size:13px;gap:10px}.top img{width:48px;height:48px;flex-basis:48px}
 .top nav{width:100%;justify-content:flex-start;gap:8px 18px;flex-wrap:wrap;padding:4px 0 2px}
 .top nav a{font-size:12px;padding:5px 0;white-space:normal}
 .hero.hero-text{width:100%;min-height:0;padding:44px 20px 48px}
 .hero-text h1{font-size:clamp(28px,8vw,42px);letter-spacing:-.7px}
 .hero-text p{font-size:15px}
 .wrap{width:100%;padding:30px 16px}
 .gallery-heading{flex-direction:row;align-items:center;gap:12px}
 .gallery-heading .section-title{font-size:25px}
 .gallery-heading p{font-size:13px}
 .gallery-stage{height:clamp(270px,76vw,430px);min-height:270px;aspect-ratio:4/3;border-radius:14px}
 .gallery-slide img{object-fit:cover;object-position:center 30%}
 .gallery-slide figcaption{padding:55px 16px 17px;font-size:16px}
 .gallery-controls{flex:0 0 auto}.gallery-controls button{width:36px;height:36px;font-size:23px}
 .cards{width:100%;grid-template-columns:minmax(0,1fr);gap:18px;margin:20px 0 44px}
 .card.leader{width:100%;padding:14px;border-radius:15px}
 .card.leader>img:first-child{height:clamp(260px,82vw,420px);object-fit:cover;object-position:center 24%}
 .card.leader h3{font-size:16px;margin-top:14px}
 .card.leader p{font-size:14px}
 .card.leader .network-logo-under{height:150px!important;max-height:150px}
 .section-title{font-size:26px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.gallery-slide,.card.leader{transition:none}}


/* V2.2 gallery correction: contained original photo over a soft blurred fill */
.home-gallery{width:100%;max-width:1160px;margin:0 auto 58px;min-width:0}
.gallery-stage{position:relative;width:100%;height:clamp(280px,48vw,560px);min-height:280px;aspect-ratio:16/9;overflow:hidden;border-radius:20px;background:#26090d;box-shadow:0 18px 48px #4a0a101f;isolation:isolate}
.gallery-slide{position:absolute;inset:0;width:100%;height:100%;margin:0;display:block;opacity:0;visibility:hidden;transition:opacity .65s ease,visibility .65s ease;overflow:hidden}
.gallery-slide.active{opacity:1;visibility:visible;z-index:1}
.gallery-backdrop{position:absolute;inset:-3%;width:106%;height:106%;max-width:none;object-fit:cover;filter:blur(22px) brightness(.48);transform:scale(1.06)}
.gallery-shade{position:absolute;inset:0;background:linear-gradient(90deg,#16060955,transparent 35%,transparent 70%,#16060944);z-index:1}
.gallery-photo{position:absolute;z-index:2;inset:0;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center center;padding:10px 16px 54px;display:block}
.gallery-slide figcaption{position:absolute;z-index:3;left:0;right:0;bottom:0;padding:38px 26px 18px;color:#fff;font-weight:750;font-size:clamp(15px,2vw,22px);background:linear-gradient(transparent,#170609e8);text-shadow:0 1px 4px #0008}
.gallery-bottom{display:flex;align-items:center;justify-content:center;position:relative;min-height:42px}
.gallery-dots{display:flex;justify-content:center;align-items:center;gap:9px;padding:14px 10px 0}
.gallery-dots button{width:9px;height:9px;min-width:9px;padding:0;border:0;border-radius:50%;background:#d9a5a8;cursor:pointer;transition:all .2s}
.gallery-dots button.active{width:26px;background:#a90e1a;border-radius:8px}
.gallery-counter{position:absolute;right:8px;bottom:0;color:#80696b;font-size:12px;font-weight:700}
@media(max-width:760px){.home-gallery{margin-bottom:42px}.gallery-heading{align-items:flex-end}.gallery-stage{height:clamp(260px,68vw,390px);min-height:260px;aspect-ratio:4/3;border-radius:15px}.gallery-photo{padding:8px 8px 48px;object-fit:contain}.gallery-slide figcaption{padding:30px 15px 14px;font-size:15px}.gallery-counter{right:2px;font-size:11px}.gallery-bottom{min-height:38px}}
@media(prefers-reduced-motion:reduce){.gallery-slide{transition:none}}


/* TUSMN premium election countdown and Halal Global Tech footer */
.hero.hero-home{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(310px,.82fr);gap:clamp(20px,3vw,42px);align-items:center;padding-top:clamp(34px,5vw,58px);padding-bottom:clamp(34px,5vw,58px)}
.hero-home .hero-copy{max-width:740px}
.election-panel{width:100%;max-width:430px;justify-self:end;padding:20px;border:1px solid #ffffff35;border-radius:18px;background:linear-gradient(150deg,#fff 0%,#fff8f5 100%);color:#2a2021;box-shadow:0 18px 46px #32000645}
.countdown-heading{margin-bottom:14px}
.countdown-kicker{display:inline-block;color:#a90e1a;font-size:10px;font-weight:850;letter-spacing:1.7px}
.countdown-heading h2{margin:5px 0 1px;color:#571018;font-size:clamp(18px,2vw,23px);line-height:1.25}
.countdown-heading p{margin:0;color:#76696a;font-size:12px}
.countdown-event{padding:13px 0 12px;border-top:1px solid #f0dedc}
.event-title{display:flex;align-items:center;gap:9px;margin-bottom:10px}
.event-title>div{display:grid;gap:1px}
.event-title b{font-size:13px;color:#4c2528}
.event-title small{font-size:10px;color:#817476}
.event-dot{width:9px;height:9px;border-radius:50%;background:#b5121b;box-shadow:0 0 0 4px #b5121b18;flex:0 0 9px}
.event-dot.governor{background:#c18a37;box-shadow:0 0 0 4px #c18a371c}
.countdown-clock{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.countdown-clock>span{display:grid;justify-items:center;gap:1px;padding:8px 2px 6px;border-radius:9px;background:#f7e9e8}
.countdown-clock b{font-variant-numeric:tabular-nums;font-size:clamp(18px,2vw,23px);line-height:1.1;color:#8e111b}
.countdown-clock small{font-size:9px;color:#79696b;text-transform:uppercase;letter-spacing:.7px}
.countdown-foot{padding-top:9px;border-top:1px solid #f0dedc;color:#8c7c7e;font-size:10px;text-align:center}
.footer{padding:25px 18px;background:linear-gradient(110deg,#35070c,#590b13);color:#f8e8e9}
.footer-inner{max-width:1160px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:20px}
.footer-inner>div{display:grid;gap:4px;text-align:left}
.footer-inner>div strong{font-size:12px;letter-spacing:.3px}
.footer-inner>div span{font-size:11px;color:#d9bfc1}
.halal-tech-link{display:flex;align-items:center;gap:10px;max-width:310px;padding:10px 13px;border:1px solid #ffffff35;border-radius:12px;background:#ffffff10;color:#fff;text-align:left;text-decoration:none;transition:background .2s,transform .2s}
.halal-tech-link:hover{background:#ffffff20;transform:translateY(-2px)}
.tech-mark{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:10px;background:linear-gradient(135deg,#f5d17c,#c28b35);color:#4b0b12;font-size:12px;font-weight:950}
.halal-tech-link>span:nth-child(2){display:grid;gap:2px}
.halal-tech-link b{font-size:12px}
.halal-tech-link small{font-size:10px;color:#e5cfd1}
.tech-arrow{font-size:18px;color:#f5d17c}
@media(max-width:850px){.hero.hero-home{grid-template-columns:minmax(0,1fr);gap:24px}.election-panel{justify-self:start;max-width:100%}}
@media(max-width:600px){.hero.hero-home{padding:36px 18px}.election-panel{padding:16px;border-radius:14px}.countdown-clock{gap:5px}.countdown-clock>span{padding:8px 1px}.footer-inner{align-items:stretch;flex-direction:column}.halal-tech-link{max-width:none}.footer-inner>div{text-align:center}}


/* TUSMN V2.3 — compact election timer, mobile-safe layout and location guidance */
.hero.hero-home{
 display:grid!important;
 grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr)!important;
 align-items:center!important;
 gap:clamp(22px,3vw,38px)!important;
 width:100%;min-width:0;overflow:hidden;
}
.hero.hero-home>.hero-copy,.hero.hero-home>.election-panel{min-width:0;width:100%}
.election-panel{
 max-width:470px!important;min-width:0!important;width:100%!important;
 justify-self:end!important;overflow:hidden;
 padding:clamp(16px,2vw,24px)!important;
 border:1px solid #f1d8d4!important;border-radius:22px!important;
 background:linear-gradient(145deg,#fff 0%,#fff8f3 100%)!important;
 box-shadow:0 18px 48px #36040b45, inset 0 1px 0 #fff!important;
}
.countdown-heading{text-align:center;margin:0 0 14px!important}
.countdown-kicker{font-size:10px!important;letter-spacing:2px!important;font-weight:900!important}
.countdown-heading h2{font-size:clamp(19px,2vw,25px)!important;font-weight:900!important;margin:6px 0!important}
.countdown-heading p{font-size:12px!important}
.countdown-event{
 display:block!important;min-width:0;padding:13px 0!important;
 border-top:1px solid #efdfdc!important;
}
.event-title{
 display:flex!important;align-items:center!important;gap:10px!important;
 margin:0 0 11px!important;min-width:0;
}
.event-title>div{display:flex!important;flex-direction:column!important;gap:2px!important;min-width:0}
.event-title b{display:block!important;font-size:14px!important;line-height:1.3!important;color:#4c171d!important}
.event-title small{display:block!important;font-size:10px!important;line-height:1.4!important;color:#78696a!important}
.countdown-clock{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:7px!important;width:100%!important;min-width:0;
}
.countdown-clock>span{
 min-width:0!important;display:flex!important;flex-direction:column!important;
 align-items:center!important;justify-content:center!important;gap:4px!important;
 padding:10px 2px 8px!important;border-radius:11px!important;
 background:linear-gradient(160deg,#8f101b,#5f0a12)!important;
 border:1px solid #a82b34!important;box-shadow:0 5px 12px #5b0a141c!important;
}
.countdown-clock b{
 display:block!important;color:#fff!important;font-size:clamp(21px,2.5vw,29px)!important;
 font-weight:900!important;line-height:1!important;letter-spacing:-.5px;
 font-variant-numeric:tabular-nums!important;
}
.countdown-clock small{
 display:block!important;color:#ffe5b0!important;font-size:8px!important;
 font-weight:850!important;letter-spacing:1px!important;text-transform:uppercase!important;
}
.countdown-foot{font-size:10px!important;line-height:1.5!important}
.location-help{grid-column:1/-1}
@media(max-width:900px){
 .hero.hero-home{
  grid-template-columns:minmax(0,1fr)!important;
  gap:25px!important;
  padding:38px 20px 42px!important;
 }
 .hero.hero-home>.hero-copy{max-width:100%!important}
 .hero.hero-home>.election-panel{
  justify-self:stretch!important;max-width:560px!important;
  margin:0 auto!important;
 }
}
@media(max-width:480px){
 .election-panel{padding:14px!important;border-radius:17px!important}
 .countdown-clock{gap:5px!important}
 .countdown-clock>span{padding:9px 1px 8px!important;border-radius:9px!important}
 .countdown-clock b{font-size:clamp(19px,6vw,24px)!important}
 .countdown-clock small{font-size:7px!important;letter-spacing:.6px!important}
 .event-title b{font-size:13px!important}
 .event-title small{font-size:9px!important}
}

/* Professional responsive administration dashboard */
.dashboard-wrap{padding-top:30px;padding-bottom:42px}
.dashboard-wrap>h1{margin:0}
body:has(.dashboard-wrap) .top{background:linear-gradient(105deg,#780812 0%,#a90e1a 58%,#c51d2a 100%);min-height:138px;padding:18px max(4%,calc((100% - 1240px)/2));}
body:has(.dashboard-wrap) .top>a{font-size:clamp(15px,2vw,21px);line-height:1.25;gap:16px}
body:has(.dashboard-wrap) .top img{width:82px;height:82px;flex:0 0 82px;border:3px solid #ffffff70;padding:4px}
body:has(.dashboard-wrap) .top nav{display:none}
.dashboard-welcome{display:flex;align-items:center;gap:22px;padding:24px 26px;margin:0 0 24px;border:1px solid #e3e5f2;border-left:9px solid #b5121b;border-radius:17px;background:linear-gradient(110deg,#f6f5ff,#fff);box-shadow:0 8px 24px #1b1d3510}
.welcome-symbol{width:82px;height:82px;display:grid;place-items:center;flex:0 0 82px;color:#b5121b;font-size:48px}
.welcome-copy{min-width:0;flex:1}
.welcome-eyebrow{font-size:11px;letter-spacing:1.6px;font-weight:850;color:#a90e1a}
.welcome-copy h1{margin:3px 0 1px;font-size:clamp(22px,3vw,34px);line-height:1.2;color:#121a32}
.welcome-copy p{margin:4px 0;color:#566075;font-size:16px}
.welcome-meta{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:8px;color:#687084;font-size:12px}
.welcome-meta b{color:#98101a}
.welcome-date{display:flex;align-items:center;gap:10px;padding:13px 17px;border-radius:12px;background:linear-gradient(110deg,#a90e1a,#c71928);color:white;font-weight:750;white-space:nowrap}
.welcome-date span{font-size:22px}
.dashboard-menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0 30px}
.dashboard-menu-item{display:flex;align-items:center;gap:15px;min-width:0;min-height:94px;padding:14px 17px;border:1px solid #e1e3ee;border-radius:17px;background:linear-gradient(145deg,#fff,#fcfcff);box-shadow:0 5px 16px #11152b08;color:#111a32;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.dashboard-menu-item:hover{transform:translateY(-2px);border-color:#e5aeb2;box-shadow:0 9px 22px #6d0a1215}
.menu-icon{display:grid;place-items:center;width:62px;height:62px;flex:0 0 62px;border-radius:50%;background:linear-gradient(145deg,#d20d19,#97000c);color:white;font-size:29px;font-weight:700;box-shadow:inset 0 2px 6px #ffffff30}
.menu-label{font-size:16px;font-weight:750;line-height:1.25;flex:1}
.menu-arrow{font-size:32px;font-weight:400;color:#111a32;line-height:1}
.dashboard-stats{display:grid;grid-template-columns:1fr;gap:17px}
.dashboard-stat{position:relative;display:flex;align-items:center;gap:24px;min-height:142px;padding:18px 24px;border:1px solid;border-radius:23px;overflow:hidden}
.dashboard-stat.blue{background:linear-gradient(110deg,#eff5ff,#e7f1ff);border-color:#c9dcff;color:#0647c7}
.dashboard-stat.green{background:linear-gradient(110deg,#effbf5,#e4f8ef);border-color:#c6f0dd;color:#07834c}
.dashboard-stat.orange{background:linear-gradient(110deg,#fff7ed,#fff0df);border-color:#ffdfbd;color:#f28a00}
.dashboard-stat.purple{background:linear-gradient(110deg,#f5f1ff,#eee8ff);border-color:#ddd0ff;color:#6840bd}
.stat-icon{display:grid;place-items:center;width:112px;height:112px;flex:0 0 112px;border-radius:20px;background:currentColor;color:white;font-size:50px;box-shadow:0 8px 18px #17204417}
.stat-copy{position:relative;z-index:1;display:grid;gap:2px;color:#101a35}
.stat-copy b{font-size:48px;line-height:1.05;color:inherit}
.stat-copy span{font-size:23px}
.stat-watermark{position:absolute;right:35px;bottom:-25px;font-size:130px;opacity:.13;line-height:1}
.dashboard-role-card{display:flex;align-items:center;gap:18px;padding:25px;border:1px solid #e9dadd;border-radius:18px;background:#fff;box-shadow:0 8px 24px #4c00000b}
.role-card-icon{width:62px;height:62px;display:grid;place-items:center;border-radius:16px;background:#a90e1a;color:#fff;font-size:30px}
.dashboard-role-card h2{margin:0;color:#94101a}.dashboard-role-card p{margin:4px 0 0;color:#666}
body:has(.dashboard-wrap) .footer{background:#8e0711;color:#fff;margin-top:0}
@media(max-width:760px){
 .dashboard-wrap{padding:22px 16px 30px}
 body:has(.dashboard-wrap) .top{min-height:0;padding:14px 16px}
 body:has(.dashboard-wrap) .top img{width:64px;height:64px;flex-basis:64px}
 body:has(.dashboard-wrap) .top>a{font-size:14px;gap:12px}
 .dashboard-welcome{align-items:flex-start;gap:12px;padding:17px 14px;margin-bottom:18px}
 .welcome-symbol{width:48px;height:54px;flex-basis:48px;font-size:34px}
 .welcome-copy h1{font-size:22px}
 .welcome-copy p{font-size:13px;line-height:1.45}
 .welcome-eyebrow{font-size:9px;letter-spacing:1px}
 .welcome-date{display:none}
 .welcome-meta{font-size:10px}
 .dashboard-menu{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:18px 0 22px}
 .dashboard-menu-item{position:relative;min-height:116px;padding:12px 7px 10px;flex-direction:column;justify-content:center;gap:7px;text-align:center;border-radius:14px}
 .menu-icon{width:48px;height:48px;flex-basis:48px;font-size:23px}
 .menu-label{font-size:12px;line-height:1.2}
 .menu-arrow{position:absolute;right:7px;top:5px;font-size:20px;opacity:.65}
 .dashboard-stats{gap:13px}
 .dashboard-stat{min-height:112px;padding:13px 15px;gap:16px;border-radius:19px}
 .stat-icon{width:78px;height:78px;flex-basis:78px;border-radius:15px;font-size:36px}
 .stat-copy b{font-size:37px}
 .stat-copy span{font-size:17px;line-height:1.2}
 .stat-watermark{right:12px;font-size:90px;bottom:-18px}
}
@media(max-width:380px){.dashboard-menu{gap:7px}.dashboard-menu-item{min-height:106px}.menu-label{font-size:11px}.menu-icon{width:43px;height:43px;flex-basis:43px}}
@media(prefers-reduced-motion:reduce){.dashboard-menu-item{transition:none}}

/* Resilient gallery image fallbacks */
.gallery-slide.image-missing .gallery-backdrop,.gallery-slide.image-missing .gallery-photo{display:none!important}
.gallery-image-missing{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:24px;color:#fff;background:linear-gradient(135deg,#111c2d,#7d1425);font-weight:700;text-align:center}
.gallery-admin .card.image-missing img{display:none}


/* TUSMN visual refinement: watermark, reliable media presentation and richer admin workspace */
.hero-home.tusmn-watermark{position:relative;isolation:isolate;overflow:hidden}
.hero-home.tusmn-watermark:before{content:"";position:absolute;z-index:0;inset:0;background-image:linear-gradient(110deg,rgba(77,4,13,.94),rgba(145,10,25,.82)),url("/public/assets/tusmn-logo.jpg");background-repeat:no-repeat;background-position:center,right 7%;background-size:cover, min(48vw,520px) auto;opacity:1;pointer-events:none}
.hero-home.tusmn-watermark:after{content:"";position:absolute;z-index:0;width:460px;height:460px;right:-170px;top:-190px;border:1px solid rgba(255,255,255,.14);border-radius:50%;box-shadow:0 0 0 28px rgba(255,255,255,.025),0 0 0 58px rgba(255,255,255,.02)}
.hero-home.tusmn-watermark>.hero-copy,.hero-home.tusmn-watermark>.election-panel{position:relative;z-index:1}
.gallery-stage{background:#171c29;box-shadow:0 18px 44px rgba(24,12,18,.16)}
.gallery-slide{background:#171c29}
.gallery-slide img.gallery-photo{position:relative;z-index:1;display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.gallery-slide img.gallery-backdrop{position:absolute;inset:-18px;width:calc(100% + 36px);height:calc(100% + 36px);object-fit:cover;filter:blur(18px) brightness(.48);transform:scale(1.04)}
.gallery-shade{position:absolute;inset:0;z-index:2;background:linear-gradient(0deg,rgba(8,10,18,.78),transparent 45%);pointer-events:none}
.gallery-slide figcaption{z-index:3}
.gallery-slide.image-missing .gallery-image-missing{display:flex}
.gallery-image-missing{z-index:2}
.gallery-admin{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:24px}
.gallery-admin .card{min-width:0;overflow:hidden}
.gallery-admin .card img{display:block;width:100%;height:220px;object-fit:cover;border-radius:10px;background:#f2f2f2}
.dashboard-section-title{margin:30px 0 14px}
.dashboard-report{margin:26px 0;padding:24px;background:#fff;border:1px solid #e9e2e3;border-radius:18px;box-shadow:0 10px 28px rgba(35,20,24,.05)}
.dashboard-report-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}
.dashboard-report-heading h2{margin:4px 0;color:#172033;font-size:clamp(20px,2.5vw,27px)}
.dashboard-report-heading p{margin:3px 0;color:#667085;font-size:14px}
.location-register{min-width:900px}
.location-register th{font-size:12px;white-space:normal}
.location-register td{font-size:13px;white-space:normal;vertical-align:top}
.member-group-details summary{color:#941326;font-weight:750;cursor:pointer}
.member-group-details ul{margin:9px 0 4px;padding-left:18px;max-height:220px;overflow:auto;color:#4b5565}
.member-group-details li{padding:3px 0;font-size:12px}
@media(max-width:760px){
 .hero-home.tusmn-watermark:before{background-size:cover, min(78vw,340px) auto;background-position:center,right -12%}
 .gallery-admin{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .gallery-admin .card{padding:12px}
 .gallery-admin .card img{height:160px}
 .dashboard-report{padding:16px 12px;margin:18px 0}
 .dashboard-report-heading{align-items:flex-start;flex-direction:column}
 .dashboard-report-heading .btn{align-self:flex-start}
}
@media(max-width:440px){
 .gallery-admin{grid-template-columns:1fr}
 .gallery-admin .card img{height:210px}
}
@media(prefers-reduced-motion:reduce){
 .gallery-slide{transition:none}
}

.btn-small{display:inline-block;padding:7px 11px;font-size:12px;border-radius:7px;white-space:nowrap}

/* Gallery fallback is hidden unless a real image path/load fails. */
.gallery-slide .gallery-image-missing{display:none}
.gallery-slide.image-missing .gallery-image-missing{display:flex}


/* AMINIYYA MOVEMENT identity and responsive homepage refresh */
:root{--am-ink:#142033;--am-red:#a30f27;--am-deep:#510b1b;--am-gold:#d8b56b;--am-paper:#fffaf6}
body{background:var(--am-paper);color:var(--am-ink)}
.top{background:linear-gradient(105deg,#430817 0%,#8d1027 58%,#b51c36 100%);box-shadow:0 5px 22px rgba(38,4,13,.22)}
.top>a span{font-size:clamp(15px,1.5vw,19px);line-height:1.12;letter-spacing:1.15px;font-weight:900}
.top img{border:2px solid rgba(255,255,255,.78);box-shadow:0 3px 12px #26040b55}
.top nav a{padding:9px 12px;border-radius:999px;transition:background .2s ease}
.top nav a:hover{background:rgba(255,255,255,.15)}
.hero.hero-home{background:linear-gradient(120deg,#3c0716 0%,#7c1025 55%,#a71934 100%);min-height:440px}
.hero-home .hero-copy h1{max-width:820px;font-size:clamp(34px,5.4vw,66px);letter-spacing:-1.8px;font-weight:900;text-wrap:balance}
.hero-home .hero-copy>p{max-width:680px;color:#f7e9ec;font-size:clamp(16px,1.7vw,20px)}
.hero-home .pill{background:rgba(255,255,255,.14);color:#ffe6b2;border:1px solid rgba(255,255,255,.24);padding:7px 13px;letter-spacing:1px}
.hero-home .btn.light{color:#641126;background:#fff;border:1px solid #fff}
.hero-home .btn.dark{background:#d7b46e;color:#2c1b12}
.movement-mission{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.75fr);gap:28px;align-items:center;margin:46px 0 54px;padding:clamp(24px,4vw,48px);border-radius:24px;background:linear-gradient(125deg,#fff 0%,#fff5ec 100%);border:1px solid #ead9cb;box-shadow:0 18px 45px rgba(53,23,17,.07)}
.mission-kicker,.target-label{font-size:12px;font-weight:900;letter-spacing:1.8px;color:#a20f2a}
.mission-copy h2{font-size:clamp(25px,3.4vw,42px);line-height:1.12;letter-spacing:-.9px;margin:10px 0 14px;color:#17243a;max-width:760px}
.mission-copy p,.about-movement p{color:#5e6878;max-width:720px;font-size:16px}
.mission-points{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}
.mission-points span{padding:8px 12px;border-radius:999px;background:#f5e9e3;color:#6d1a2d;font-size:12px;font-weight:800}
.target-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:245px;padding:25px;border-radius:20px;color:#fff;background:radial-gradient(circle at 80% 15%,#b53a4d 0,#7c1128 48%,#430817 100%);box-shadow:0 15px 32px rgba(81,11,27,.22)}
.target-panel .target-label{color:#f4dca9}
.target-panel strong{font-size:clamp(58px,8vw,88px);line-height:1;font-weight:950;letter-spacing:-4px;margin:12px 0 3px}
.target-panel>b{font-size:14px;letter-spacing:2.5px;color:#f8e4bb}
.target-panel p{max-width:260px;margin:12px 0 0;color:#f4e8e8;font-size:13px;line-height:1.5}
.about-movement{padding:8px 0 34px}
.about-movement .section-title{margin:10px 0;color:#17243a}
.gallery-heading .pill{background:#f5e8e2;color:#8c142b}
.gallery-heading .section-title{color:#17243a;margin:10px 0 4px}
.gallery-stage{background:#200710;border:1px solid #ead8d8}
.gallery-slide img.gallery-photo{object-fit:contain;background:#16070b;padding:8px 10px 52px}
.gallery-image-missing{background:linear-gradient(135deg,#1a2435,#7c1027)}
.leadership-section .section-title{color:#17243a}
.leader.card{border-color:#eadbd8;box-shadow:0 12px 32px rgba(35,14,19,.07)}
.footer{background:#160b12;color:#e9dce0;padding:30px 18px}
.footer-inner{max-width:1180px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:20px}
.footer-inner strong{color:#fff}
.footer-inner span{display:block;color:#d3c2c8}
@media(max-width:760px){
 .top{padding:12px 15px;gap:12px}.top>a{gap:10px}.top img{width:48px;height:48px}.top nav{width:100%;gap:6px;justify-content:space-between}.top nav a{font-size:13px;padding:7px 9px}
 .hero.hero-home{padding:38px 18px;min-height:0}.hero-home .hero-copy h1{font-size:clamp(33px,9vw,48px);letter-spacing:-1px}
 .movement-mission{grid-template-columns:1fr;margin:30px 0 40px;padding:22px 17px;gap:20px;border-radius:18px}.target-panel{min-height:215px}
 .gallery-photo{object-fit:contain!important}.gallery-stage{height:clamp(260px,72vw,430px);min-height:260px}
 .footer-inner{text-align:center;align-items:center;flex-direction:column}
}

/* AMINIYYA MOVEMENT homepage welcome heading: two deliberate lines. */
.hero-home .hero-copy h1.home-welcome{display:flex;flex-direction:column;align-items:flex-start;gap:.08em;max-width:100%;line-height:1.02;text-wrap:nowrap;font-size:clamp(25px,4.3vw,58px);letter-spacing:clamp(-1.8px,-.12vw,-.4px)}
.hero-home .hero-copy h1.home-welcome span{display:block;white-space:nowrap}
@media(max-width:600px){.hero-home .hero-copy h1.home-welcome{font-size:clamp(19px,6.2vw,34px);letter-spacing:-.65px;line-height:1.08}}
/* Ensure hidden conditional form fields stay hidden even with .field layout rules. */
#registration-form [hidden]{display:none!important}
/* Uppercase presentation for user-entered text fields. */
#registration-form input:not([type="email"]):not([type="password"]):not([type="file"]):not([type="checkbox"]):not([type="radio"]),#registration-form textarea{text-transform:uppercase}


/* V5 gallery layout: consistent thumbnails, no stretched fallback overlays, full-bleed homepage photos. */
.gallery-admin{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start;width:100%;}
.gallery-admin .card{position:relative;display:flex;flex-direction:column;min-width:0;width:100%;padding:14px;overflow:hidden;gap:10px;}
.gallery-admin .card img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center;border-radius:10px;background:#f0f1f3;}
.gallery-admin .card p{margin:0;min-height:1.5em;overflow-wrap:anywhere;}
.gallery-admin .card form{margin-top:auto;}
.admin-image-missing{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:4/3;border-radius:10px;background:#f1e9e9;color:#7b2630;font-size:13px;text-align:center;padding:12px;}
.admin-image-missing[hidden]{display:none!important;}
.gallery-stage{height:clamp(280px,52vw,610px);min-height:280px;}
.gallery-slide img.gallery-photo{display:block;width:100%;height:100%;object-fit:cover!important;object-position:center center;background:#16070b;padding:0!important;}
.gallery-slide .gallery-shade{position:absolute;inset:0;z-index:2;background:linear-gradient(0deg,rgba(8,10,18,.72),transparent 42%);pointer-events:none;}
.gallery-slide figcaption{z-index:3;}
@media(max-width:760px){.gallery-admin{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gallery-admin .card{padding:10px}.gallery-admin .card img,.admin-image-missing{aspect-ratio:4/3;height:auto;}}
@media(max-width:440px){.gallery-admin{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.gallery-admin .card{padding:8px}.gallery-admin .card img,.admin-image-missing{aspect-ratio:1/1;height:auto;}}
