/* Attaya exact homepage v22 — mirrors the supplied reference composition. */
.exact-home-page{
  --exact-green:#2f6f2d;
  --exact-green-dark:#0b4b39;
  --exact-lime:#a7cd48;
  --exact-gold:#d2b14d;
  --exact-text:#14362a;
  --exact-muted:#67766f;
  --exact-line:#dfe7e2;
  --exact-shadow:0 13px 38px rgba(16,52,40,.10);
  background:#fff;
  color:var(--exact-text);
  font-family:'Tajawal',Arial,sans-serif;
  overflow:hidden;
}
.exact-home-page *{box-sizing:border-box;font-family:'Tajawal',Arial,sans-serif}
.exact-home-page .exact-container{width:min(1200px,90%);margin-inline:auto}
.exact-home-page .exact-flash{margin:14px auto;padding:12px 16px;border-radius:10px;background:#eaf8ee;border:1px solid #c8e8d2;color:#175f37;font-weight:800}
.exact-home-page .exact-flash-error{background:#fff0f0;border-color:#f1cccc;color:#9b2727}

/* Header — exact compact composition */
.exact-home-page .exact-header{position:relative!important;top:auto!important;box-shadow:0 3px 18px rgba(15,52,40,.045);border-bottom:1px solid #eef2ef}
.exact-home-page .exact-header .attaya-container{width:min(1200px,92%)}
.exact-home-page .exact-header .attaya-header-inner{height:78px;grid-template-columns:260px 1fr 145px;gap:24px}
.exact-home-page .exact-header .attaya-brand{min-width:0;gap:11px;justify-self:start}
.exact-home-page .exact-header .attaya-brand-logo-image{width:58px!important;height:58px!important;max-width:58px!important;max-height:58px!important;object-fit:contain!important;flex:0 0 auto}
.exact-home-page .exact-header .attaya-brand-copy strong{font-size:18px;line-height:1.18;color:#0f2d22;font-weight:900}
.exact-home-page .exact-header .attaya-brand-copy small{font-size:12px;color:#65746d;margin-top:3px}
.exact-home-page .exact-header .attaya-nav{gap:32px}
.exact-home-page .exact-header .attaya-nav a{font-size:13px;font-weight:800;padding:29px 0 25px;color:#314d41}
.exact-home-page .exact-header .attaya-nav a:after{bottom:19px;height:2px}
.exact-home-page .exact-header .attaya-language{min-width:98px;padding:10px 13px;font-size:12px;border-radius:6px;background:linear-gradient(135deg,#4b8b2d,#2f6f2d)}

/* Hero — the supplied reference image is rendered directly for pixel fidelity. */
.exact-home-page .exact-hero{position:relative;width:100%;height:clamp(388px,45vw,620px);overflow:hidden;background:#173329}
.exact-home-page .exact-hero-picture,.exact-home-page .exact-hero-picture img{position:absolute;inset:0;width:100%;height:100%}
.exact-home-page .exact-hero-picture img{object-fit:cover;object-position:center}
.exact-home-page .exact-hero-accessible{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.exact-home-page .exact-hero-hotspot{position:absolute;z-index:4;display:block;border-radius:7px}
.exact-home-page .exact-hero-donate{right:11.5%;top:66.5%;width:12.2%;height:9.5%}
.exact-home-page .exact-hero-projects{right:25.3%;top:66.5%;width:16.8%;height:9.5%}

/* Trust */
.exact-home-page .exact-trust{position:relative;z-index:8;margin-top:-25px}
.exact-home-page .exact-trust-panel{width:min(1180px,82%);background:#fff;border:1px solid #edf0ee;border-radius:17px;box-shadow:var(--exact-shadow);display:grid;grid-template-columns:repeat(4,1fr);padding:22px 13px}
.exact-home-page .exact-trust-item{text-align:center;padding:1px 27px;border-left:1px solid #e5e9e7}
.exact-home-page .exact-trust-item:last-child{border-left:0}
.exact-home-page .exact-trust-item i{display:block;color:var(--exact-green);font-size:33px;line-height:1;margin-bottom:8px}
.exact-home-page .exact-trust-item h3{margin:0 0 9px;color:#3d762e;font-size:16px;font-weight:900}
.exact-home-page .exact-trust-item p{margin:0;color:#56665e;font-size:12px;line-height:1.8}

/* Shared headings */
.exact-home-page .exact-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}
.exact-home-page .exact-section-heading>div{text-align:right}
.exact-home-page .exact-eyebrow{display:block;color:#357d31;font-size:12px;font-weight:900;margin-bottom:2px}
.exact-home-page .exact-eyebrow i{font-size:11px;margin-left:4px}
.exact-home-page .exact-section-heading h2{margin:0;color:#14362a;font-size:30px;line-height:1.2;font-weight:900}
.exact-home-page .exact-section-heading p{margin:6px 0 0;color:#718078;font-size:12px;line-height:1.75}
.exact-home-page .exact-outline-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:142px;padding:11px 15px;border:1px solid #aec7b2;border-radius:7px;color:#3e7d31;background:#f9fbf9;font-size:12px;font-weight:900;transition:.2s}
.exact-home-page .exact-outline-button:hover{background:#eff6ef;transform:translateY(-1px)}

/* Projects */
.exact-home-page .exact-projects{padding:47px 0 22px;background:#fff}
.exact-home-page .exact-project-heading{margin-bottom:17px}
.exact-home-page .exact-project-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;direction:rtl}
.exact-home-page .exact-project-card{position:relative;overflow:visible;background:#fff;border:1px solid #e5e8e6;border-radius:12px;box-shadow:0 7px 19px rgba(18,52,41,.09);transition:.22s;min-width:0}
.exact-home-page .exact-project-card:hover{transform:translateY(-4px);box-shadow:0 13px 28px rgba(18,52,41,.13)}
.exact-home-page .exact-project-image{display:block;height:150px;overflow:hidden;border-radius:12px 12px 0 0;background:#e7eee9}
.exact-home-page .exact-project-image img{display:block;width:100%;height:100%;object-fit:cover;transition:.28s}
.exact-home-page .exact-project-card:hover .exact-project-image img{transform:scale(1.035)}
.exact-home-page .exact-project-icon{position:absolute;z-index:5;left:50%;top:126px;transform:translateX(-50%);width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#67a53c,#397b2d);color:#fff;border:3px solid #fff;font-size:18px;box-shadow:0 4px 12px rgba(24,83,48,.20)}
.exact-home-page .exact-project-body{text-align:center;padding:29px 11px 14px;min-height:139px}
.exact-home-page .exact-project-body h3{font-size:14px;line-height:1.35;margin:0 0 7px;color:#15362a;font-weight:900}
.exact-home-page .exact-project-body p{font-size:10.5px;line-height:1.72;margin:0;color:#64746c;min-height:36px}
.exact-home-page .exact-project-body>a{display:inline-block;margin-top:7px;color:#4a8b32;font-size:11px;font-weight:900}

/* Impact strip */
.exact-home-page .exact-impact{position:relative;background-size:cover;background-position:center;padding:23px 0 29px;margin-top:0;color:#fff;overflow:hidden}
.exact-home-page .exact-impact-overlay{position:absolute;inset:0;background:rgba(7,67,47,.86)}
.exact-home-page .exact-impact-grid{position:relative;z-index:2;display:grid;grid-template-columns:repeat(5,1fr);direction:rtl}
.exact-home-page .exact-impact-item{text-align:center;padding:0 18px;border-left:1px dotted rgba(255,255,255,.50)}
.exact-home-page .exact-impact-item:last-child{border-left:0}
.exact-home-page .exact-impact-item i{display:block;font-size:31px;line-height:1;color:#fff;margin-bottom:7px}
.exact-home-page .exact-impact-item strong{display:block;color:#cfe459;font-size:31px;line-height:1.1;font-weight:900;margin-bottom:5px}
.exact-home-page .exact-impact-item span{font-size:12px;font-weight:900}

/* Donation callout */
.exact-home-page .exact-donation{position:relative;background:#fff;padding:0 0 23px}
.exact-home-page .exact-donation-card{position:relative;z-index:5;margin-top:-1px;transform:translateY(-1px);display:grid;grid-template-columns:220px 1fr 265px;gap:22px;align-items:center;background:#fff;border:1px solid #dce4df;border-radius:14px;box-shadow:0 8px 25px rgba(16,52,40,.07);padding:15px 17px;direction:rtl}
.exact-home-page .exact-donation-options{direction:rtl}
.exact-home-page .exact-amount-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.exact-home-page .exact-amount-grid button,.exact-home-page .exact-other-amount{width:100%;height:37px;border:1px solid #b8cbbd;border-radius:6px;background:#fff;color:#315c36;font-weight:900;font-size:12px;cursor:pointer}
.exact-home-page .exact-other-amount{margin-top:8px;height:39px;font-size:13px}
.exact-home-page .exact-donation-copy{text-align:center;padding:0 9px}
.exact-home-page .exact-donation-copy h2{margin:0 0 8px;color:#234736;font-size:24px;font-weight:500}
.exact-home-page .exact-donation-copy p{margin:0;color:#6b7972;font-size:10.5px;line-height:1.75}
.exact-home-page .exact-primary-button{margin-top:13px;min-width:120px;height:38px;border:0;border-radius:5px;background:linear-gradient(135deg,#4a8b2e,#2e6f2c);color:#fff;font-weight:900;font-size:12px;cursor:pointer;box-shadow:0 8px 18px rgba(49,111,45,.18)}
.exact-home-page .exact-donation-photo{height:152px;border-radius:9px;overflow:hidden}
.exact-home-page .exact-donation-photo img{display:block;width:100%;height:100%;object-fit:cover}

/* News */
.exact-home-page .exact-news{padding:0 0 31px;background:#fff}
.exact-home-page .exact-news-heading{margin-bottom:14px}
.exact-home-page .exact-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;direction:rtl}
.exact-home-page .exact-news-card{position:relative;overflow:visible;background:#fff;border:1px solid #dfe5e1;border-radius:10px;box-shadow:0 6px 16px rgba(17,51,40,.07)}
.exact-home-page .exact-news-image{display:block;height:125px;overflow:hidden;border-radius:10px 10px 0 0;background:#eaf0ec}
.exact-home-page .exact-news-image img{display:block;width:100%;height:100%;object-fit:cover}
.exact-home-page .exact-news-date{position:absolute;z-index:4;top:0;right:0;width:58px;height:72px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(180deg,#448a35,#2f6f2d);color:#fff;border-radius:0 10px 0 6px;box-shadow:0 6px 14px rgba(21,77,46,.18)}
.exact-home-page .exact-news-date strong{font-size:21px;line-height:1;font-weight:900}
.exact-home-page .exact-news-date small{font-size:9px;line-height:1.25;text-align:center;margin-top:4px}
.exact-home-page .exact-news-body{padding:10px 13px 12px;text-align:right;min-height:103px}
.exact-home-page .exact-news-body h3{margin:0 0 5px;color:#345b39;font-size:14px;line-height:1.35;font-weight:800}
.exact-home-page .exact-news-body p{margin:0;color:#4e5e57;font-size:10px;line-height:1.65;min-height:32px}
.exact-home-page .exact-news-body>a{display:inline-block;margin-top:4px;color:#4b8c32;font-size:10px;font-weight:900}

/* Footer tuned to reference */
.exact-home-page .attaya-footer{margin-top:0;padding-top:25px;background:linear-gradient(110deg,#0f5c43,#074232)}
.exact-home-page .attaya-footer .attaya-container{width:min(1200px,90%)}
.exact-home-page .attaya-footer-grid{gap:28px;padding-bottom:17px}
.exact-home-page .attaya-footer h4{font-size:14px;margin:0 0 8px}
.exact-home-page .attaya-footer p,.exact-home-page .attaya-footer a{font-size:10.5px;line-height:1.72}
.exact-home-page .attaya-footer-brand img{width:58px!important;height:58px!important;object-fit:contain!important}
.exact-home-page .attaya-footer-bottom{padding:12px 0 15px;font-size:10px}
.exact-home-page .attaya-newsletter input{height:34px;font-size:10px}
.exact-home-page .attaya-newsletter button{width:36px}
.exact-home-page .attaya-socials a{width:27px;height:27px;font-size:12px}

.exact-home-page .exact-desktop-only{display:block}

@media (max-width:1100px){
  .exact-home-page .exact-header .attaya-header-inner{grid-template-columns:235px 1fr 120px;gap:14px}
  .exact-home-page .exact-header .attaya-nav{gap:20px}
  .exact-home-page .exact-header .attaya-nav a{font-size:12px}
  .exact-home-page .exact-project-image{height:142px}
  .exact-home-page .exact-project-icon{top:119px}
}

@media (max-width:900px){
  .exact-home-page .exact-header .attaya-header-inner{height:72px;display:flex;justify-content:space-between}
  .exact-home-page .exact-header .attaya-brand-logo-image{width:51px!important;height:51px!important;max-width:51px!important;max-height:51px!important}
  .exact-home-page .exact-header .attaya-brand-copy strong{font-size:15px}
  .exact-home-page .exact-header .attaya-brand-copy small{font-size:10px}
  .exact-home-page .exact-header .attaya-language{display:none}
  .exact-home-page .exact-hero{height:clamp(360px,56vw,500px)}
  .exact-home-page .exact-trust-panel{width:90%;grid-template-columns:repeat(2,1fr);gap:20px}
  .exact-home-page .exact-trust-item{border:0}
  .exact-home-page .exact-project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .exact-home-page .exact-project-image{height:220px}
  .exact-home-page .exact-project-icon{top:196px}
  .exact-home-page .exact-impact-grid{grid-template-columns:repeat(3,1fr);row-gap:25px}
  .exact-home-page .exact-impact-item{border-left:0}
  .exact-home-page .exact-donation-card{grid-template-columns:180px 1fr;grid-template-areas:'options copy' 'photo photo'}
  .exact-home-page .exact-donation-options{grid-area:options}.exact-home-page .exact-donation-copy{grid-area:copy}.exact-home-page .exact-donation-photo{grid-area:photo;height:220px}
  .exact-home-page .exact-news-grid{grid-template-columns:1fr 1fr}
}

@media (max-width:640px){
  .exact-home-page .exact-container{width:92%}
  .exact-home-page .exact-header .attaya-brand{gap:8px}
  .exact-home-page .exact-header .attaya-brand-logo-image{width:45px!important;height:45px!important;max-width:45px!important;max-height:45px!important}
  .exact-home-page .exact-header .attaya-brand-copy strong{font-size:13px}
  .exact-home-page .exact-header .attaya-brand-copy small{font-size:9px}
  .exact-home-page .exact-hero{height:390px;background:#16362a}
  .exact-home-page .exact-hero-picture img{object-position:34% center}
  .exact-home-page .exact-hero:after{content:'عطاؤك اليوم\A أملهم غداً';white-space:pre;position:absolute;right:6%;top:21%;font-size:35px;line-height:1.18;font-weight:900;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.35)}
  .exact-home-page .exact-hero-hotspot{display:none}
  .exact-home-page .exact-trust{margin-top:-18px}
  .exact-home-page .exact-trust-panel{grid-template-columns:1fr 1fr;padding:18px 8px}
  .exact-home-page .exact-trust-item{padding:4px 9px}.exact-home-page .exact-trust-item i{font-size:27px}.exact-home-page .exact-trust-item h3{font-size:13px}.exact-home-page .exact-trust-item p{font-size:10px}
  .exact-home-page .exact-section-heading{align-items:flex-start;flex-direction:column}.exact-home-page .exact-section-heading h2{font-size:25px}.exact-home-page .exact-outline-button{align-self:flex-start}
  .exact-home-page .exact-project-grid{grid-template-columns:1fr}.exact-home-page .exact-project-image{height:250px}.exact-home-page .exact-project-icon{top:225px}.exact-home-page .exact-project-body{min-height:125px}.exact-home-page .exact-project-body h3{font-size:17px}.exact-home-page .exact-project-body p{font-size:12px}
  .exact-home-page .exact-impact-grid{grid-template-columns:repeat(2,1fr)}.exact-home-page .exact-impact-item strong{font-size:27px}.exact-home-page .exact-impact-item span{font-size:11px}
  .exact-home-page .exact-donation-card{grid-template-columns:1fr;grid-template-areas:'photo' 'copy' 'options';padding:13px}.exact-home-page .exact-donation-photo{height:210px}.exact-home-page .exact-donation-copy h2{font-size:23px}.exact-home-page .exact-donation-copy p{font-size:11px}
  .exact-home-page .exact-news-grid{grid-template-columns:1fr}.exact-home-page .exact-news-image{height:220px}.exact-home-page .exact-news-body h3{font-size:16px}.exact-home-page .exact-news-body p{font-size:12px}
  .exact-home-page .exact-desktop-only{display:none}
}

/* v71.6 — concise and balanced homepage news cards */
.exact-home-page .exact-news-grid{align-items:stretch}
.exact-home-page .exact-news-card{display:flex;flex-direction:column;height:100%;overflow:hidden;border-radius:14px;box-shadow:0 10px 28px rgba(17,51,40,.09);transition:transform .25s ease,box-shadow .25s ease}
.exact-home-page .exact-news-card:hover{transform:translateY(-6px);box-shadow:0 18px 38px rgba(17,51,40,.14)}
.exact-home-page .exact-news-image{height:180px;border-radius:0}
.exact-home-page .exact-news-image img{transition:transform .45s ease}
.exact-home-page .exact-news-card:hover .exact-news-image img{transform:scale(1.05)}
.exact-home-page .exact-news-date{top:12px;right:12px;border-radius:10px;width:60px;height:74px}
.exact-home-page .exact-news-body{display:flex;flex:1;flex-direction:column;min-height:0;padding:16px 17px 15px}
.exact-home-page .exact-news-body h3{min-height:52px;margin:0 0 8px;font-size:16px;line-height:1.6}
.exact-home-page .exact-news-body h3 a{color:#315a39;text-decoration:none;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.exact-home-page .exact-news-body p{min-height:80px;margin:0 0 14px;font-size:12px;line-height:1.85;color:#66756e;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
.exact-home-page .exact-news-body .exact-news-more{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:auto;padding-top:11px;border-top:1px solid #edf1ee;color:#33824a;font-size:11px;font-weight:900;text-decoration:none}
.exact-home-page .exact-news-more i{font-size:10px;transition:transform .2s ease}
.exact-home-page .exact-news-more:hover i{transform:translateX(-4px)}
@media(max-width:700px){
  .exact-home-page .exact-news-image{height:225px}
  .exact-home-page .exact-news-body h3,.exact-home-page .exact-news-body p{min-height:auto}
}
