/*
Theme Name: Al-Amal Institute
Theme URI: https://al-amal.ps
Author: Al-Amal Web Team
Description: Bilingual institutional news and information theme for Al-Amal Institute for Orphans. Translation of editorial content supported by Polylang.
Version: 1.0.0
Text Domain: al-amal
*/
:root{--navy:#112b4e;--deep:#091b32;--blue:#1384bc;--gold:#e4bb4d;--ink:#183251;--text:#53677f;--line:#e5eaf1;--bg:#f7f9fc;--radius:18px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:Arial,'Segoe UI',sans-serif;line-height:1.75}body[dir=rtl]{font-family:Tahoma,Arial,sans-serif}img{max-width:100%;height:auto}a{text-decoration:none;color:inherit}.container{width:min(1180px,92%);margin:auto}.skip{position:absolute;top:-99px}.skip:focus{top:5px;z-index:99;background:#fff;padding:10px}.topline{height:5px;background:linear-gradient(90deg,var(--navy) 0 38%,var(--blue) 38% 72%,var(--gold) 72%)}.site-header{background:#fff;position:sticky;top:0;z-index:20;border-bottom:1px solid var(--line);box-shadow:0 3px 14px #091b320a}.nav-bar{min-height:94px;display:flex;align-items:center;justify-content:space-between;gap:26px}.brand{display:flex;align-items:center;gap:13px;min-width:0}.brand img{width:75px;height:75px;object-fit:contain}.brand strong{font-size:1.1rem;display:block;color:var(--navy);line-height:1.45}.brand small{font-size:.72rem;color:var(--text)}.menu{list-style:none;padding:0;margin:0;display:flex;align-items:center;gap:21px}.menu a{font-size:.91rem;font-weight:700}.menu a:hover,.text-link:hover{color:var(--blue)}.nav-right{display:flex;gap:15px;align-items:center}.lang{padding:7px 12px;border-radius:999px;border:1px solid var(--line);font-weight:700;color:var(--navy);font-size:.82rem}.button{display:inline-block;padding:11px 20px;border-radius:9px;background:var(--blue);color:#fff;font-weight:700;border:0}.button:hover{background:var(--navy);color:#fff}.button.secondary{background:#fff;color:var(--navy);border:1px solid #cdd9e6}.hero{background:radial-gradient(circle at 85% 20%,#2171a652,transparent 32%),linear-gradient(115deg,#0b2444,#153d66);color:#fff;position:relative;overflow:hidden}.hero::after{content:'';position:absolute;width:460px;height:460px;border:2px solid #ffffff22;border-radius:50%;inset:auto -150px -220px auto}.hero-inner{min-height:455px;display:flex;align-items:center;justify-content:space-between;gap:50px;padding:54px 0}.hero-copy{max-width:700px;position:relative;z-index:1}.kicker{color:var(--gold);font-weight:700;letter-spacing:.06em;text-transform:uppercase;font-size:.83rem}.hero h1{font-size:clamp(2.2rem,4.8vw,4rem);line-height:1.28;margin:15px 0}.hero p{color:#d9e5f3;max-width:590px;font-size:1.05rem}.hero-visual{width:290px;aspect-ratio:1;background:#ffffff12;border:1px solid #ffffff2a;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.hero-visual img{width:72%;filter:drop-shadow(0 15px 25px #0003)}.hero .button{margin-top:22px;background:var(--gold);color:var(--deep)}.section{padding:76px 0}.section.alt{background:var(--bg)}.section-header{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:27px}.eyebrow{display:block;color:var(--blue);font-size:.8rem;text-transform:uppercase;font-weight:800;letter-spacing:.1em}.section h2,.page-title{font-size:clamp(1.8rem,3.5vw,2.5rem);margin:2px 0 8px;color:var(--navy);line-height:1.35}.lede{color:var(--text);max-width:750px}.line-gold{height:4px;width:52px;background:var(--gold);margin:12px 0 20px;border-radius:8px}.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.news-card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff;box-shadow:0 8px 30px #102d4c0a;display:flex;flex-direction:column}.news-thumb{width:100%;aspect-ratio:16/10;object-fit:cover;display:block;background:linear-gradient(125deg,#d4e7f5,#ecf1f5)}.placeholder{width:100%;aspect-ratio:16/10;background:linear-gradient(135deg,#d4e6f3,#f4f6fa);display:grid;place-items:center;color:var(--navy);font-size:3rem;font-weight:700}.news-body{padding:23px;flex:1}.news-body h3{font-size:1.17rem;line-height:1.5;margin:12px 0}.meta{font-size:.8rem;color:var(--text)}.news-body p{font-size:.92rem;color:var(--text);margin:8px 0}.text-link{color:var(--blue);font-weight:800;font-size:.88rem}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.service-card{background:#fff;padding:30px;border:1px solid var(--line);border-top:4px solid var(--gold);border-radius:var(--radius)}.service-icon{font-size:1.8rem;color:var(--blue)}.service-card h3{color:var(--navy);margin:10px 0}.service-card p{color:var(--text);margin:0}.about-row{display:grid;grid-template-columns:1.1fr .9fr;gap:50px;align-items:center}.about-art{border-radius:22px;min-height:300px;background:linear-gradient(135deg,#ebf2f9,#dae7f1);display:grid;place-items:center}.about-art img{max-width:280px;width:60%}.cta{background:var(--navy);color:#fff;border-radius:22px;padding:38px;display:flex;justify-content:space-between;align-items:center;gap:20px}.cta h2{color:white;margin:0}.site-footer{background:#0b182a;color:#e5edf7;padding-top:58px}.footer-grid{display:grid;grid-template-columns:1.25fr .8fr 1fr 1.25fr;gap:35px}.site-footer h3{font-size:1rem;margin:0 0 16px;color:#fff}.site-footer h3::after{content:'';display:block;width:35px;height:3px;background:var(--gold);margin-top:8px}.site-footer p,.site-footer li{font-size:.87rem;color:#afc2d8}.site-footer ul{list-style:none;padding:0;margin:0}.site-footer li{margin-bottom:9px}.site-footer a:hover{color:var(--gold)}.footer-brand{max-width:155px;background:#ffffff;max-height:128px;object-fit:contain;border-radius:12px;padding:8px;margin-bottom:10px}.footer-map{border:0;width:100%;height:180px;border-radius:12px;background:#21334c}.footer-bottom{border-top:1px solid #ffffff25;padding:18px 0;margin-top:40px;font-size:.83rem;color:#afc2d8;text-align:center}.content-wrap{padding:65px 0;min-height:40vh}.article-shell{max-width:850px;margin:auto}.article-shell h1{font-size:clamp(2rem,4vw,3rem);line-height:1.4}.article-shell .featured{width:100%;max-height:510px;object-fit:cover;border-radius:18px;margin:25px 0}.entry-content{font-size:1.07rem;line-height:1.95;overflow-wrap:anywhere}.entry-content img{border-radius:9px}.pagination{margin-top:35px}.pagination .page-numbers{margin:5px;padding:9px 14px;border:1px solid var(--line);border-radius:8px;display:inline-block}.pagination .current{background:var(--navy);color:#fff}.mobile-nav{display:none}.empty-news{background:#fff;padding:26px;border-radius:16px;border:1px dashed #c9d7e8}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:1040px){.menu{gap:11px}.menu a{font-size:.8rem}.footer-grid{grid-template-columns:1fr 1fr}.hero-visual{width:215px}}@media(max-width:760px){.nav-bar{min-height:78px}.brand img{width:57px;height:57px}.brand strong{font-size:.88rem}.brand small{font-size:.6rem}.desktop-nav{display:none}.mobile-nav{display:block}.mobile-nav summary{cursor:pointer;font-weight:bold;border:1px solid var(--line);border-radius:9px;padding:7px 10px}.mobile-nav .menu{display:block;position:absolute;top:78px;left:0;right:0;background:#fff;padding:20px 6%;box-shadow:0 20px 20px #0002}.mobile-nav .menu li{margin:12px 0}.hero-inner{min-height:370px}.hero-visual{display:none}.section{padding:54px 0}.card-grid,.service-grid,.about-row{grid-template-columns:1fr}.section-header,.cta{display:block}.footer-grid{grid-template-columns:1fr}.footer-map{height:240px}.cta .button{margin-top:15px}}
