/* =====================================================================
   ASES — Aqaba Society for Environmental Sustainability
   Brand layer: overrides the base template (style.css) with the official
   ASES visual identity (colours, typography) + bilingual helpers.
   Load AFTER style.css.
   ===================================================================== */

/* -------------------------------------------------- 1. Brand palette */
:root {
  /* Core identity */
  --ases-green: #216e97;        /* Eco Green  — primary action / brand */
  /* Same colour as channel numbers, so a glow/shadow can follow the token instead of
     being frozen as a literal. Every rgba() glow used to carry the OLD palette
     (rgba(0,104,55) / rgba(31,157,87)), which left blue borders inside green halos. */
  --ases-green-rgb: 33,110,151;
  --ases-green-2: #15935a;      /* mid green  — gradients / hovers */
  --ases-green-3: #2e8b57;      /* light green */
  --ases-green-pale: #e6f0f8;   /* pale green tint — soft backgrounds */
  --ases-blue: #52a1d0;         /* Sea Blue — dominant brand colour */
  --ases-blue-dark: #216e97;    /* Dark Blue — deep sections / contrast */
  --ases-blue-light: #a7d5f2;   /* Light Blue */
  --ases-blue-sky: #c8e6f4;     /* Sky Blue — borders / shades */
  --ases-lime: #a8e10c;         /* Lime — energy accent (the leaf) */
  --ases-eco: #3f7a24;          /* Olive/eco green — donate-project buttons */
  --ases-eco-dark: #336420;     /* darker eco green — hover */
  --ases-yellow: #f2b705;       /* Earthy Yellow — highlight accent */
  --ases-orange: #f29f05;       /* Sun Orange — sparing accent */
  --ases-ink: #15212b;          /* near-black ink with a cool tint */
  --ases-offwhite: #f5f9f8;

  /* Map onto the template's tokens (recolours ~everything automatically) */
  --ul-primary: var(--ases-green);
  --ul-secondary: var(--ases-blue);
  --ul-c3: var(--ases-green-pale);
  --ul-c4: var(--ases-offwhite);
  --ul-c5: var(--ases-green-2);
  --ul-black: var(--ases-ink);
  --ases-green-dark: #246b42;   /* darker fresh green for hover */

  /* FLAT brand fills — no gradients (per brand identity). Kept as variables so
     existing references resolve to a solid colour. --ul-gradient stays a
     single-colour "gradient" only because a few rules use background-image. */
  --ul-gradient: linear-gradient(0deg, var(--ases-green), var(--ases-green));
  --ases-gradient-sea: var(--ases-blue-dark);
  --ases-gradient-blue: var(--ases-blue-dark);
}

/* -------------------------------------------------- 2. Typography
   English keeps Manrope/Quicksand. Arabic uses Tajawal (a modern,
   geometric Arabic face that mirrors the brand font "DG Agnadeen";
   swap in the licensed DG Agnadeen webfont here when available). */
:root {
  --font-primary: "Manrope", "Tajawal", system-ui, sans-serif;
  --font-quicksand: "Quicksand", "Tajawal", system-ui, sans-serif;
  --font-caveat: "Caveat", "Tajawal", system-ui, cursive;
  --font-ar: "Tajawal", "Manrope", system-ui, sans-serif;
}
html[lang="ar"] {
  --font-primary: var(--font-ar);
  --font-quicksand: var(--font-ar);
  --font-caveat: var(--font-ar);
}
/* Arabic reads a touch larger / looser for legibility */
html[lang="ar"] body { font-size: clamp(14px, 0.92vw, 17px); line-height: 1.9; }
html[lang="ar"] p { line-height: 1.95; }
html[lang="ar"] .ul-btn { font-weight: 700; letter-spacing: 0; }

/* ---- Balanced typography ----
   Headlines balance their line lengths; body text avoids orphan/widow lines. */
h1, h2, h3, h4, h5, h6,
.ul-section-title, .ul-section-sub-title, .ases-hero-title, .ases-page-hero h1,
.ases-service-title, .ases-project-body h3, .ases-news-body h3, .ases-involve-card h3,
.ases-team-card h3, .ases-event-body h3, .ases-price-card h3, .ul-footer-widget-title,
.ases-cta-inner h2, .ases-about-point h3, .ases-prose h2, .ases-prose h3,
.ul-donation-title, .ases-faq summary {
  text-wrap: balance;
}
p, .ul-section-descr, .ases-hero-descr, .ases-prose p, .ases-service p,
.ases-project-body p, .ases-involve-card p, .ases-event-body p, .ul-footer-about-txt,
.ases-news-body, .ases-faq .ans, blockquote {
  text-wrap: pretty;
}

/* -------------------------------------------------- 3. Bilingual swap
   Author both languages inline; CSS shows the active one. */
html[lang="ar"] [data-lang="en"] { display: none !important; }
html[lang="en"] [data-lang="ar"] { display: none !important; }
[data-lang] { } /* keep natural display for the active language */

/* QA helper: ?qa in URL reveals all scroll-animated content and stops loops */
html.ases-reveal .wow { opacity: 1 !important; visibility: visible !important; transform: none !important; animation: none !important; }
html.ases-reveal .ases-gallery-track { animation: none !important; }
/* the marquee's wide off-screen track distorts headless full-page captures in RTL — hide it during QA only */
html.ases-reveal .ases-gallery { display: none !important; }
/* Fix: once WOW reveals a scroll-animated element, it must stay visible (animate.css class mismatch left it reverting to opacity:0) */
.wow.animated { opacity: 1 !important; visibility: visible !important; }
.wow { animation-fill-mode: both !important; }

/* Ensure .ul-container fills its parent (it sizes to content as a flex child
   inside the hero, otherwise — which left it ~850px on ultra-wide screens). */
.ul-container { width: 100%; }

/* -------------------------------------------------- 4. Language toggle */
.ases-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: clamp(38px, 2.5vw, 44px);
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--ases-blue);
  background: transparent;
  color: var(--ases-blue-dark);
  font-weight: 800;
  font-size: clamp(13px, 0.84vw, 15px);
  cursor: pointer;
  transition: .3s ease;
  line-height: 1;
}
.ases-lang-toggle:hover { background: var(--ases-blue-dark); color: #fff; }
.ases-lang-toggle i { font-size: 1.05em; }
/* a white variant for dark headers / footers */
.ases-lang-toggle--light { border-color: rgba(255,255,255,.6); color: #fff; }
.ases-lang-toggle--light:hover { background: #fff; color: var(--ases-blue-dark); }

/* Small laptops (992–1199px, incl. 1366px screens at 125% Windows scaling ≈ 1093 CSS-px):
   the full 8-item nav was cramped here, so this range now uses the clean hamburger drawer
   (the inline→drawer switch moved from 992px to 1200px — see main.js + the drawer block below).
   The donate CTA + full language toggle stay visible alongside the hamburger, like on tablets. */
/* 1200–1450: small-desktop / large-tablet (e.g. Nest Hub Max 1280) — the full 8-item nav + actions + donate CTA
   were overflowing and clipping the CTA. Tighten the nav gap, action gap, language toggle and CTA so it all fits. */
@media (min-width: 1200px) and (max-width: 1450px) {
  .ul-header-nav { gap: clamp(12px, 1.3vw, 24px) !important; }
  .ul-header-actions { gap: 8px; }
  .ul-header-actions .ases-lang-toggle { min-width: 0; padding: 0 13px; }
  .ul-header-actions .ul-btn { padding-inline: 15px; }
}
/* 1200–1320: tightest — collapse the language toggle to an icon so everything stays fully visible. */
@media (min-width: 1200px) and (max-width: 1320px) {
  .ul-header-nav { gap: clamp(10px, 1.1vw, 18px) !important; }
  .ul-header-actions .ases-lang-toggle { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 50%; }
  .ul-header-actions .ases-lang-toggle [data-lang-label] { display: none; }
}

/* -------------------------------------------------- 5. Component polish */
/* Buttons: brand green by default, with brand-true variants */
.ul-btn { box-shadow: 0 10px 24px -14px rgba(var(--ases-green-rgb), .55); }
.ul-btn:hover { background-color: var(--ases-green-dark); }
.ul-btn--blue { background-color: var(--ases-blue-dark) !important; box-shadow: 0 10px 24px -14px rgba(33,110,151,.55); }
.ul-btn--blue:hover { background-color: #184f70 !important; }
.ul-btn--outline {
  background-color: transparent !important; color: var(--ases-green) !important;
  border-color: var(--ases-green) !important; box-shadow: none;
}
.ul-btn--outline:hover { background-color: var(--ases-green) !important; color: #fff !important; }
.ul-btn--light { background-color: #fff !important; color: var(--ases-green) !important; }
.ul-btn--light:hover { background-color: var(--ases-lime) !important; color: var(--ases-ink) !important; }

/* Section sub-title accent text -> brand green; small leaf-lime underline */
.ul-section-sub-title { color: var(--ases-green); font-weight: 800; }

/* Active nav link */
.ul-header-nav > a.active,
.ul-header-nav .has-sub-menu > a.active { color: var(--ases-green); }

/* Selection + links */
::selection { background: var(--ases-green); color: #fff; }
a:hover { color: var(--ases-green); }

/* Scrollbar */
@media (min-width: 992px){
  * { scrollbar-color: var(--ases-green) transparent; }
  *::-webkit-scrollbar { width: 10px; height: 10px; }
  *::-webkit-scrollbar-thumb { background: var(--ases-green); border-radius: 999px; }
}

/* -------------------------------------------------- 6. ASES media helpers */
/* Full-bleed media background (image or video) with a brand overlay */
.ases-media-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.ases-media-bg img,
.ases-media-bg video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ases-media-bg::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(6,40,62,.62);
}
.ases-media-bg--soft::after { background: rgba(10,28,36,.5); }
.ases-on-media { position: relative; z-index: 2; color: #fff; }
.ases-on-media .ul-section-title,
.ases-on-media .ul-section-sub-title,
.ases-on-media h1, .ases-on-media h2, .ases-on-media h3 { color: #fff; }

/* A logo lock-up sizing helper */
.ases-logo { max-width: clamp(132px, 10.5vw, 178px); }
.ases-logo--footer { max-width: clamp(160px, 12vw, 200px); }

/* Remove the template's decorative white "petal" shapes behind the header logo */
.ul-header .logo-container::before,
.ul-header .logo-container::after { display: none !important; content: none !important; }

/* Header logo swap: white logo over the (dark) hero at top, colour logo when the
   header turns solid white on scroll (sticky). */
.ases-logo--dark { display: none; }
.ul-header-bottom.sticky .ases-logo--light { display: none; }
.ul-header-bottom.sticky .ases-logo--dark { display: inline-block; }

/* Eyebrow marker — clean lime dot (simple round accent) */
.ases-eyebrow { display: inline-flex; align-items: center; gap: 9px; }
.ases-eyebrow::before {
  content: ""; display: block; flex: 0 0 auto;
  width: 9px; height: 9px; min-height: 9px; aspect-ratio: 1 / 1;
  margin: 0; border-radius: 50%; background: var(--ases-lime);
}

/* Soft brand section backgrounds */
.ases-bg-pale { background: var(--ases-green-pale); }
.ases-bg-offwhite { background: var(--ases-offwhite); }
.ases-bg-blue { background: var(--ases-blue-dark); color:#fff; }
.ases-bg-green { background: var(--ases-green); color:#fff; }

/* Stat / impact number accent */
.ases-accent-lime { color: var(--ases-lime); }
.ases-accent-yellow { color: var(--ases-yellow); }

/* Pattern motif (the ASES wave) as a faint decorative band */
.ases-pattern {
  background-color: var(--ases-blue-dark);
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,.06) 0 12px, transparent 13px);
}

/* =====================================================================
   7. ASES page components
   ===================================================================== */
/* media background children must overlap (poster + video) */
.ases-media-bg img,
.ases-media-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero ---------- */
.ases-hero {
  position: relative;
  min-height: clamp(560px, 88vh, 920px);
  display: flex;
  align-items: center;
  padding: clamp(120px, 14vh, 200px) 0 clamp(70px, 9vh, 130px);
  overflow: hidden;
}
.ases-hero-inner { max-width: 820px; }
.ases-hero .ases-eyebrow { color: #fff; font-size: clamp(14px, .95vw, 17px); margin-bottom: 18px; }
.ases-hero .ases-eyebrow::before { background: var(--ases-lime); }
.ases-hero-title {
  color: #fff; font-weight: 800; line-height: 1.5;
  font-size: clamp(32px, 4.4vw, 68px); margin: 0 0 22px;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
html[lang="en"] .ases-hero-title { line-height: 1.3; }
.ases-hero-descr { color: rgba(255,255,255,.92); font-size: clamp(15px, 1.1vw, 19px); max-width: 660px; margin: 0 0 32px; }
.ases-hero-btns { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.ases-hero-stats { display: flex; flex-wrap: wrap; gap: clamp(24px, 3vw, 56px); margin-top: clamp(36px, 5vh, 64px); }
.ases-hero-stat { display: flex; flex-direction: column; gap: 4px; }
.ases-hero-stat .num { font-size: clamp(26px, 2.6vw, 40px); font-weight: 800; color: #fff; line-height: 1; }
.ases-hero-stat .lbl { color: rgba(255,255,255,.8); font-size: clamp(12px, .8vw, 14px); }
.ases-hero-stat + .ases-hero-stat { padding-inline-start: clamp(24px, 3vw, 56px); border-inline-start: 1px solid rgba(255,255,255,.25); }
@media (max-width: 767px) { .ases-hero-video { display: none; } }

/* ---------- Section heading split ---------- */
.ases-heading-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.ases-heading-split .ul-section-title { margin-bottom: 0; }

/* ---------- About ---------- */
.ases-about-imgs { position: relative; padding-bottom: 40px; padding-inline-end: 40px; }
.ases-about-imgs .img-1 { width: 84%; border-radius: 18px; display: block; box-shadow: 0 30px 60px -30px rgba(0,52,28,.4); aspect-ratio: 4/3; object-fit: cover; }
.ases-about-imgs .img-2 { position: absolute; bottom: 0; inset-inline-end: 0; width: 46%; border-radius: 16px; border: 6px solid #fff; box-shadow: 0 20px 40px -20px rgba(0,0,0,.35); aspect-ratio: 1/1; object-fit: cover; }
.ases-about-badge {
  position: absolute; top: 18px; inset-inline-start: -10px;
  background: var(--ases-gradient-blue); color: #fff; border-radius: 14px;
  padding: 14px 18px; display: flex; flex-direction: column; line-height: 1.2;
  box-shadow: 0 16px 30px -16px rgba(33,110,151,.7); max-width: 160px;
}
.ases-about-badge .ases-num { font-size: 30px; font-weight: 800; }
.ases-about-badge span:last-child { font-size: 12.5px; opacity: .92; }
.ases-about-points { display: grid; gap: 18px; margin: 26px 0 30px; }
.ases-about-point { display: flex; gap: 14px; align-items: flex-start; }
.ases-about-point .ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--ases-green-pale); color: var(--ases-green); }
.ases-about-point .ico svg { width: 24px; height: 24px; }
.ases-about-point h3 { font-size: clamp(16px, 1.1vw, 19px); font-weight: 800; margin: 2px 0 4px; color: var(--ases-ink); }
.ases-about-point p { margin: 0; font-size: clamp(13px, .9vw, 15px); color: var(--ul-p); }

/* ---------- Services ---------- */
.ases-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.6vw, 28px); }
@media (max-width: 991px){ .ases-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px){ .ases-services-grid { grid-template-columns: 1fr; } }
.ases-service {
  background: #fff; border: 1px solid #eef1f0; border-radius: 18px;
  padding: clamp(24px, 2vw, 36px); display: block; color: inherit;
  transition: .35s ease; position: relative; overflow: hidden;
  box-shadow: 0 16px 38px -24px rgba(13,37,54,.26);   /* resting shadow for contrast (was flat on the off-white bg) */
}
.ases-service::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--ul-gradient); transform: scaleX(0); transform-origin: var(--_o, left); transition: .35s ease; }
html[dir="rtl"] .ases-service { --_o: right; }
.ases-service:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -28px rgba(0,52,28,.28); border-color: transparent; }
.ases-service:hover::before { transform: scaleX(1); }
.ases-service-ico { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: var(--ases-green-pale); color: var(--ases-green); margin-bottom: 20px; transition: .35s ease; }
.ases-service-ico svg { width: 30px; height: 30px; }
.ases-service:hover .ases-service-ico { background: var(--ases-green); color: #fff; }
.ases-service-title { font-size: clamp(17px, 1.25vw, 21px); font-weight: 800; color: var(--ases-ink); margin-bottom: 10px; }
.ases-service p { color: var(--ul-p); font-size: clamp(13px, .92vw, 15px); margin-bottom: 16px; }
.ases-service-link { color: var(--ases-green); font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; gap: 7px; }
.ases-service-link i { transition: .3s ease; }
.ases-service:hover .ases-service-link i { transform: translateX(4px); }
html[dir="rtl"] .ases-service:hover .ases-service-link i { transform: translateX(-4px); }
html[dir="rtl"] .ases-service-link i { transform: scaleX(-1); }

/* ---------- Impact band ---------- */
.ases-impact { position: relative; padding: clamp(70px, 8vw, 130px) 0; overflow: hidden; }
.ases-impact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: clamp(20px, 2.4vw, 40px); margin-top: clamp(36px, 4vw, 60px); }
.ases-stat { text-align: center; color: #fff; position: relative; }
.ases-stat + .ases-stat::before { content: ""; position: absolute; inset-inline-start: calc(-1 * clamp(10px, 1.2vw, 20px)); top: 10%; height: 80%; width: 1px; background: rgba(255,255,255,.22); }
.ases-stat-num { display: block; font-size: clamp(34px, 4vw, 60px); font-weight: 800; line-height: 1; color: #fff; }
.ases-stat-num .ases-num { color: var(--ases-lime); }
.ases-stat-lbl { display: block; margin-top: 10px; color: rgba(255,255,255,.9); font-size: clamp(13px, .95vw, 16px); }

/* ---------- Projects ---------- */
.ases-projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(18px, 1.8vw, 30px); }
.ases-project { display: block; color: inherit; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px -28px rgba(0,0,0,.3); transition: .35s ease; }
.ases-project:hover { transform: translateY(-6px); box-shadow: 0 30px 55px -28px rgba(0,52,28,.35); }
.ases-project-img { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.ases-project-img img { width: 100%; height: 100%; object-fit: cover; transition: .6s ease; }
.ases-project:hover .ases-project-img img { transform: scale(1.06); }
.ases-project-tag { position: absolute; top: 14px; inset-inline-start: 14px; background: var(--ases-green); color: #fff; font-weight: 800; font-size: 12px; padding: 6px 14px; border-radius: 999px; }
.ases-project-body { padding: clamp(20px, 1.6vw, 28px); }
.ases-project-body h3 { font-size: clamp(17px, 1.2vw, 21px); font-weight: 800; color: var(--ases-ink); margin-bottom: 10px; }
.ases-project-body p { color: var(--ul-p); font-size: clamp(13px, .9vw, 15px); margin: 0; }

/* ---------- Get Involved ---------- */
.ases-involve-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(18px, 1.8vw, 30px); }
.ases-involve-card { background: #fff; border-radius: 18px; padding: clamp(28px, 2.4vw, 44px); text-align: center; box-shadow: 0 18px 40px -30px rgba(0,0,0,.25); transition: .35s ease; }
.ases-involve-card:hover { transform: translateY(-6px); }
.ases-involve-ico { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 22px; background: var(--ases-green-pale); color: var(--ases-green); }
.ases-involve-ico svg { width: 34px; height: 34px; }
.ases-involve-card h3 { font-size: clamp(19px, 1.4vw, 24px); font-weight: 800; color: var(--ases-ink); margin-bottom: 12px; }
.ases-involve-card p { color: var(--ul-p); font-size: clamp(13px, .92vw, 15px); margin-bottom: 22px; }
.ases-involve-card--feature { background: var(--ases-gradient-sea); color: #fff; }
.ases-involve-card--feature h3, .ases-involve-card--feature p { color: #fff; }
.ases-involve-card--feature p { opacity: .95; }
.ases-involve-card--feature .ases-involve-ico { background: rgba(255,255,255,.18); color: #fff; }

/* ---------- News ---------- */
.ases-news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(18px, 1.8vw, 30px); }
.ases-news-card { display: block; color: inherit; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px -30px rgba(0,0,0,.25); transition: .35s ease; }
.ases-news-card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -28px rgba(0,52,28,.3); }
.ases-news-img { aspect-ratio: 16/10; overflow: hidden; }
.ases-news-img img { width: 100%; height: 100%; object-fit: cover; transition: .6s ease; }
.ases-news-card:hover .ases-news-img img { transform: scale(1.06); }
.ases-news-body { padding: clamp(18px, 1.5vw, 26px); }
.ases-news-meta { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ases-blue-dark); font-weight: 700; margin-bottom: 10px; }
.ases-news-meta i { color: var(--ases-green); }
.ases-news-body h3 { font-size: clamp(16px, 1.15vw, 20px); font-weight: 800; color: var(--ases-ink); line-height: 1.45; margin: 0; }

/* ---------- Gallery marquee ---------- */
.ases-gallery { padding: clamp(10px, 1vw, 20px) 0 clamp(50px, 6vw, 90px); overflow: hidden; }
.ases-gallery-track { display: flex; gap: 16px; width: max-content; animation: ases-marquee 40s linear infinite; }
html[dir="rtl"] .ases-gallery-track { animation-direction: reverse; }
.ases-gallery-track:hover { animation-play-state: paused; }
.ases-gallery-track img { height: clamp(170px, 18vw, 260px); width: clamp(240px, 26vw, 360px); object-fit: cover; border-radius: 14px; flex: 0 0 auto; }
@keyframes ases-marquee { to { transform: translateX(calc(-50% - 8px)); } }

/* ---------- CTA band ---------- */
.ases-cta { padding: 0 0 clamp(60px, 7vw, 110px); }
.ases-cta-inner {
  background: var(--ases-gradient-sea); border-radius: 26px;
  padding: clamp(36px, 4vw, 70px); display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap; position: relative; overflow: hidden;
}
.ases-cta-inner::after { content: ""; position: absolute; inset-inline-end: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.08); }
.ases-cta-inner h2 { color: #fff; font-weight: 800; font-size: clamp(22px, 2.2vw, 36px); margin: 0 0 10px; max-width: 620px; }
.ases-cta-inner p { color: rgba(255,255,255,.92); margin: 0; max-width: 560px; }
.ases-cta-btns { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }
.ul-btn--outline-light { background: transparent !important; border-color: rgba(255,255,255,.7) !important; color: #fff !important; box-shadow: none; }
.ul-btn--outline-light:hover { background: #fff !important; color: var(--ases-green) !important; }

/* duplicate gallery list for seamless loop is handled by repeating imgs in markup if needed */

/* =====================================================================
   8. Inner-page components
   ===================================================================== */
/* ---------- Page hero / breadcrumb ---------- */
.ases-page-hero { position: relative; padding: clamp(130px, 16vh, 220px) 0 clamp(60px, 7vw, 100px); overflow: hidden; }
.ases-page-hero .ases-media-bg::after { background: rgba(6,42,66,.74); }
.ases-page-hero-inner { position: relative; z-index: 2; text-align: center; color: #fff; }
.ases-page-hero h1 { color: #fff; font-weight: 800; font-size: clamp(28px, 3.6vw, 54px); margin: 0 0 14px; }
.ases-breadcrumb { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.85); font-weight: 700; font-size: clamp(13px, .9vw, 15px); flex-wrap: wrap; justify-content: center; }
.ases-breadcrumb a { color: rgba(255,255,255,.85); }
.ases-breadcrumb a:hover { color: var(--ases-lime); }
.ases-breadcrumb .sep { opacity: .6; }
.ases-breadcrumb .current { color: var(--ases-lime); }

/* ---------- Rich text / prose ---------- */
.ases-prose { color: var(--ul-p); font-size: clamp(15px, 1vw, 17px); }
.ases-prose > * + * { margin-top: 1.1em; }
.ases-prose h2 { font-size: clamp(22px, 1.9vw, 32px); font-weight: 800; color: var(--ases-ink); margin-top: 1.6em; }
.ases-prose h3 { font-size: clamp(18px, 1.4vw, 24px); font-weight: 800; color: var(--ases-ink); margin-top: 1.4em; }
.ases-prose p { line-height: 1.95; }
.ases-prose img { border-radius: 16px; width: 100%; }
.ases-prose ul { display: grid; gap: 12px; }
.ases-prose ul li { position: relative; padding-inline-start: 30px; }
.ases-prose ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--ases-green-pale); box-shadow: inset 0 0 0 4px var(--ases-green); }
.ases-prose blockquote { border-inline-start: 4px solid var(--ases-green); background: var(--ases-green-pale); padding: 18px 22px; border-radius: 12px; font-weight: 600; color: var(--ases-ink); }

/* ---------- 2-col detail layout (content + sidebar) ---------- */
.ases-detail-layout { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 3vw, 48px); }
@media (min-width: 992px) { .ases-detail-layout { grid-template-columns: 2fr 1fr; } .ases-detail-layout.rev { grid-template-columns: 1fr 2fr; } }
.ases-sidebar-widget { background: #fff; border: 1px solid #eef1f0; border-radius: 16px; padding: clamp(20px, 1.6vw, 28px); margin-bottom: 24px; }
.ases-sidebar-widget h3 { font-size: 18px; font-weight: 800; color: var(--ases-ink); margin-bottom: 16px; }
.ases-sidebar-links { display: grid; gap: 6px; }
.ases-sidebar-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-radius: 10px; background: var(--ases-offwhite); color: var(--ases-ink); font-weight: 700; font-size: 14px; }
.ases-sidebar-links a:hover { background: var(--ases-green); color: #fff; }
.ases-sidebar-links a i { transition: .3s; }
html[dir="rtl"] .ases-sidebar-links a i { transform: scaleX(-1); }
.ases-sidebar-cta { background: var(--ases-gradient-sea); color: #fff; border-radius: 16px; padding: clamp(24px,2vw,32px); text-align: center; }
.ases-sidebar-cta h3 { color: #fff; }
.ases-sidebar-cta p { opacity: .92; font-size: 14px; margin-bottom: 18px; }

/* ---------- FAQ (native details) ---------- */
.ases-faq { display: grid; gap: 14px; max-width: 880px; margin: 0 auto; }
.ases-faq details { background: #fff; border: 1px solid #e8eceb; border-radius: 14px; overflow: hidden; transition: .3s; }
.ases-faq details[open] { border-color: var(--ases-green); box-shadow: 0 16px 36px -26px rgba(var(--ases-green-rgb), .5); }
.ases-faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 800; color: var(--ases-ink); display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: clamp(15px,1.05vw,18px); }
.ases-faq summary::-webkit-details-marker { display: none; }
.ases-faq summary::after { content: "+"; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--ases-green-pale); color: var(--ases-green); display: grid; place-items: center; font-size: 20px; font-weight: 700; transition: .3s; }
.ases-faq details[open] summary::after { content: "\2212"; background: var(--ases-green); color: #fff; transform: rotate(180deg); }
.ases-faq .ans { padding: 0 24px 22px; color: var(--ul-p); line-height: 1.9; }

/* ---------- Team ---------- */
.ases-team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(18px, 1.8vw, 30px); }
.ases-team-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px -30px rgba(0,0,0,.25); text-align: center; transition: .35s; }
.ases-team-card:hover { transform: translateY(-6px); }
.ases-team-avatar { aspect-ratio: 1/1; display: grid; place-items: center; background: var(--ases-blue-dark); color: #fff; }
.ases-team-avatar svg { width: 46%; height: 46%; opacity: .9; }
.ases-team-card .body { padding: 22px 18px; }
.ases-team-card h3 { font-size: clamp(16px,1.15vw,20px); font-weight: 800; color: var(--ases-ink); margin-bottom: 4px; }
.ases-team-card .role { color: var(--ases-green); font-weight: 700; font-size: 14px; }
.ases-team-socials { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.ases-team-socials a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ases-offwhite); color: var(--ases-blue-dark); }
.ases-team-socials a:hover { background: var(--ases-green); color: #fff; }

/* ---------- Forms ---------- */
.ases-form { display: grid; gap: 18px; }
.ases-form .row2 { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 575px){ .ases-form .row2 { grid-template-columns: 1fr; } }
.ases-field label { display: block; font-weight: 700; color: var(--ases-ink); margin-bottom: 8px; font-size: 14px; }
.ases-field input, .ases-field textarea, .ases-field select {
  width: 100%; border: 1.5px solid #e2e7e5; border-radius: 12px; padding: 14px 16px;
  font-family: inherit; font-size: 15px; color: var(--ases-ink); background: #fff; transition: .25s;
}
.ases-field textarea { min-height: 140px; resize: vertical; }
.ases-field input:focus, .ases-field textarea:focus, .ases-field select:focus { border-color: var(--ases-green); box-shadow: 0 0 0 4px rgba(var(--ases-green-rgb), .1); }

/* ---------- Contact info ---------- */
.ases-contact-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 18px; }
.ases-contact-card { background: #fff; border: 1px solid #eef1f0; border-radius: 16px; padding: 26px; text-align: center; }
.ases-contact-card .ico { width: 56px; height: 56px; border-radius: 50%; background: var(--ases-green-pale); color: var(--ases-green); display: grid; place-items: center; margin: 0 auto 16px; }
.ases-contact-card .ico i { font-size: 22px; }
.ases-contact-card h3 { font-size: 17px; font-weight: 800; color: var(--ases-ink); margin-bottom: 6px; }
.ases-contact-card a, .ases-contact-card p { color: var(--ul-p); margin: 0; }
.ases-map { border-radius: 18px; overflow: hidden; min-height: 320px; border: 0; width: 100%; }

/* ---------- Pricing / packages ---------- */
.ases-pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(18px,1.8vw,30px); align-items: start; }
.ases-price-card { background: #fff; border: 1px solid #eef1f0; border-radius: 20px; padding: clamp(28px,2.2vw,40px); transition: .35s; }
.ases-price-card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -28px rgba(0,52,28,.25); }
.ases-price-card.feature { background: var(--ases-gradient-sea); color: #fff; box-shadow: 0 30px 60px -30px rgba(var(--ases-green-rgb), .6); }
.ases-price-card.feature h3, .ases-price-card.feature .price, .ases-price-card.feature li { color: #fff; }
.ases-price-card .tier { font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--ases-green); }
.ases-price-card.feature .tier { color: var(--ases-lime); }
.ases-price-card h3 { font-size: clamp(20px,1.5vw,26px); font-weight: 800; color: var(--ases-ink); margin: 6px 0 14px; }
.ases-price-card .price { font-size: clamp(26px,2.4vw,38px); font-weight: 800; color: var(--ases-ink); margin-bottom: 20px; }
.ases-price-card .price small { font-size: 14px; font-weight: 600; opacity: .7; }
.ases-price-features { display: grid; gap: 12px; margin-bottom: 26px; }
.ases-price-features li { display: flex; gap: 10px; align-items: flex-start; color: var(--ul-p); font-size: 14.5px; }
.ases-price-features li svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--ases-green); margin-top: 1px; }
.ases-price-card.feature .ases-price-features li svg { color: var(--ases-lime); }

/* ---------- Events ---------- */
.ases-events-list { display: grid; gap: 20px; }
.ases-event { background: #fff; border: 1px solid #eef1f0; border-radius: 18px; padding: clamp(18px,1.6vw,28px); display: grid; grid-template-columns: auto 1fr auto; gap: clamp(16px,1.6vw,28px); align-items: center; transition: .3s; }
.ases-event:hover { box-shadow: 0 22px 44px -30px rgba(0,52,28,.3); transform: translateY(-3px); }
.ases-event-date { background: var(--ases-blue-dark); color: #fff; border-radius: 14px; padding: 14px 18px; text-align: center; min-width: 78px; }
.ases-event-date .d { font-size: 28px; font-weight: 800; line-height: 1; }
.ases-event-date .m { font-size: 13px; text-transform: uppercase; }
.ases-event-body h3 { font-size: clamp(17px,1.25vw,21px); font-weight: 800; color: var(--ases-ink); margin-bottom: 8px; }
.ases-event-body p { color: var(--ul-p); margin: 0; font-size: 14.5px; }
.ases-event-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; font-size: 13px; color: var(--ases-blue-dark); font-weight: 700; }
.ases-event-meta span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 767px){ .ases-event { grid-template-columns: auto 1fr; } .ases-event .ul-btn { grid-column: 1 / -1; } }

/* ---------- Chips / filters / pagination / misc ---------- */
.ases-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: clamp(28px,3vw,44px); }
.ases-chip { padding: 9px 20px; border-radius: 999px; border: 1.5px solid #dfe5e3; background: #fff; color: var(--ases-ink); font-weight: 700; font-size: 14px; cursor: pointer; transition: .25s; }
.ases-chip:hover, .ases-chip.active { background: var(--ases-green); border-color: var(--ases-green); color: #fff; }
.ases-pagination { display: flex; gap: 8px; justify-content: center; margin-top: clamp(34px,4vw,56px); }
.ases-pagination a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid #e6eae9; color: var(--ases-ink); font-weight: 800; }
.ases-pagination a:hover, .ases-pagination a.active { background: var(--ases-green); color: #fff; border-color: var(--ases-green); }
html[dir="rtl"] .ases-pagination i { transform: scaleX(-1); }
.ases-note { font-size: 13px; color: #8a938f; background: var(--ases-offwhite); border-radius: 10px; padding: 12px 16px; display: inline-block; }
.ases-share { display: inline-flex; gap: 10px; align-items: center; }
.ases-share a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ases-offwhite); color: var(--ases-blue-dark); }
.ases-share a:hover { background: var(--ases-green); color: #fff; }
.ases-partners { display: flex; flex-wrap: wrap; gap: clamp(20px,3vw,50px); align-items: center; justify-content: center; opacity: .9; }
.ases-partners .p { font-weight: 800; color: var(--ases-blue-dark); font-size: clamp(16px,1.4vw,22px); display: inline-flex; align-items: center; gap: 10px; }
.ases-partners .p svg { width: 26px; height: 26px; color: var(--ases-green); }

/* ---------- generic 2/3 col content grids ---------- */
.ases-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: clamp(18px,2vw,34px); align-items: center; }
.ases-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: clamp(18px,1.8vw,30px); }
.ases-rounded { border-radius: 18px; width: 100%; object-fit: cover; }

/* ---------- Donation campaigns (projects with goal/progress) ---------- */
.ases-campaign { background:#fff; border-radius:18px; overflow:hidden; box-shadow:0 18px 40px -28px rgba(0,0,0,.3); transition:.35s ease; display:flex; flex-direction:column; }
.ases-campaign:hover { transform:translateY(-6px); box-shadow:0 30px 55px -28px rgba(0,52,28,.35); }
.ases-campaign-img { position:relative; aspect-ratio:16/11; overflow:hidden; display:block; }
.ases-campaign-img img { width:100%; height:100%; object-fit:cover; transition:.6s ease; }
.ases-campaign:hover .ases-campaign-img img { transform:scale(1.06); }
.ases-campaign-body { padding:clamp(20px,1.6vw,28px); display:flex; flex-direction:column; flex:1 1 auto; }
.ases-campaign-body h3 { font-size:clamp(17px,1.2vw,20px); font-weight:800; margin-bottom:8px; }
.ases-campaign-body h3 a { color:var(--ases-ink); }
.ases-campaign-body h3 a:hover { color:var(--ases-green); }
.ases-campaign-body > p { color:var(--ul-p); font-size:14px; margin-bottom:16px; flex:1 1 auto; }
.ases-progress { height:10px; border-radius:999px; background:var(--ases-green-pale); overflow:hidden; }
.ases-progress-bar { height:100%; border-radius:999px; background:var(--ases-green); min-width:6px; }
.ases-progress-meta { display:flex; justify-content:space-between; gap:8px; margin-top:10px; font-size:12.5px; color:var(--ul-p); flex-wrap:wrap; }
.ases-progress-meta strong { color:var(--ases-ink); }
.ases-donate-box { background:#fff; border:1px solid #eef1f0; border-radius:18px; padding:clamp(22px,2vw,34px); }
.ases-amount-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-bottom:16px; }
.ases-amount-grid label { display:block; text-align:center; padding:12px 6px; border:1.5px solid #e2e7e5; border-radius:12px; font-weight:800; cursor:pointer; transition:.2s; }
.ases-amount-grid input:checked + label { background:var(--ases-green); color:#fff; border-color:var(--ases-green); }
.ases-amount-grid input { position:absolute; opacity:0; pointer-events:none; }
.ases-bank-details { background:var(--ases-green-pale); border-radius:14px; padding:18px 20px; margin:18px 0; }
.ases-bank-details dt { font-weight:800; color:var(--ases-ink); font-size:13px; }
.ases-bank-details dd { margin:0 0 10px; color:var(--ul-p); }

/* ---------- Social posts feed (lightbox) ---------- */
.ases-posts-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:clamp(14px,1.5vw,24px); }
.ases-post { margin:0; background:#fff; border:1px solid #eef1f0; border-radius:16px; overflow:hidden; box-shadow:0 14px 34px -26px rgba(0,0,0,.3); transition:.3s ease; }
.ases-post:hover { transform:translateY(-5px); box-shadow:0 26px 48px -28px rgba(0,52,28,.32); }
.ases-post-media { display:block; position:relative; aspect-ratio:1/1; overflow:hidden; cursor:pointer; }
.ases-post-media img { width:100%; height:100%; object-fit:cover; transition:.5s ease; }
.ases-post:hover .ases-post-media img { transform:scale(1.05); }
.ases-post-media.is-video::before { content:""; position:absolute; inset:0; background:rgba(2,46,27,.28); z-index:1; }
.ases-post-play { position:absolute; inset:0; margin:auto; width:60px; height:60px; border-radius:50%; background:var(--ases-green); color:#fff; display:grid; place-items:center; z-index:2; box-shadow:0 8px 20px rgba(0,0,0,.35); transition:.3s; }
.ases-post-play svg { width:26px; height:26px; margin-inline-start:3px; }
.ases-post-media.is-video:hover .ases-post-play { transform:scale(1.1); background:var(--ases-green-dark); }
.ases-post-cap { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:13px 15px; }
.ases-post-cap .t { font-weight:700; font-size:14px; color:var(--ases-ink); line-height:1.5; }
.ases-post-cap .fb { flex:0 0 auto; width:32px; height:32px; border-radius:50%; display:grid; place-items:center; background:var(--ases-green-pale); color:var(--ases-green); }
.ases-post-cap .fb:hover { background:var(--ases-green); color:#fff; }

/* ===== Lime (logo-leaf green #a8e10c) as the ACTION green — per client ===== */
.ul-btn{ background-color: var(--ases-lime) !important; color: var(--ases-ink) !important; box-shadow: 0 12px 26px -14px rgba(168,225,12,.6); }
.ul-btn i{ color: var(--ases-ink) !important; }
.ul-btn:hover{ background-color:#95cb09 !important; color: var(--ases-ink) !important; }
/* Project-card donate CTA — elegant solid brand blue + white (hover → navy) */
.ases-project-cta{ background-color: var(--ases-green) !important; color:#fff !important; border:0 !important; box-sizing:border-box; box-shadow:0 12px 26px -16px rgba(33,110,151,.5) !important; }
.ases-project-cta i{ color:#fff !important; }
.ases-project-cta:hover{ background-color: var(--ases-navy) !important; color:#fff !important; }
/* variants (declared after base so they win) */
.ul-btn--blue{ background-color: var(--ases-blue-dark) !important; color:#fff !important; }
.ul-btn--blue i{ color:#fff !important; }
.ul-btn--blue:hover{ background-color:#184f70 !important; }
.ul-btn--light{ background-color:#fff !important; color: var(--ases-green) !important; }
.ul-btn--light i{ color: var(--ases-green) !important; }
.ul-btn--light:hover{ background-color: var(--ases-lime) !important; color: var(--ases-ink) !important; }
.ul-btn--light:hover i{ color: var(--ases-ink) !important; }
.ul-btn--outline{ background-color:transparent !important; color: var(--ases-green) !important; border-color: var(--ases-green) !important; }
.ul-btn--outline i{ color: var(--ases-green) !important; }
.ul-btn--outline:hover{ background-color: var(--ases-green) !important; color:#fff !important; }
.ul-btn--outline:hover i{ color:#fff !important; }
.ul-btn--outline-light{ background-color:transparent !important; color:#fff !important; border-color:rgba(255,255,255,.7) !important; }
.ul-btn--outline-light i{ color:#fff !important; }
.ul-btn--outline-light:hover{ background-color:#fff !important; color: var(--ases-blue-dark) !important; }
/* lime fills for progress bars, campaign tags, and the service accent bar */
.ases-progress-bar{ background: var(--ases-lime) !important; }
.ases-project-tag{ background: var(--ases-lime) !important; color: var(--ases-ink) !important; }
.ases-service::before{ background: var(--ases-lime) !important; }

/* ===== client tweak: strict blue + white + lime palette (professional) ===== */
/* eyebrow accent reads LIME on dark/media sections (hero/impact/page-hero) */
.ases-on-media .ul-section-sub-title{ color: var(--ases-lime) !important; }
.ases-eyebrow{ letter-spacing:.02em; }
.ases-hero .ases-eyebrow{ margin-bottom:22px; font-size:clamp(14px,1vw,16px); }
/* wider, more prominent language toggle */
.ases-lang-toggle{ padding:0 24px; min-width:108px; justify-content:center; gap:8px; }

/* ===== Environmental chatbot widget «سدير» ===== */
.ases-chat{ position:fixed; inset-inline-end:24px; bottom:24px; z-index:1200; }
.ases-chat-fab{ width:56px; height:56px; border-radius:50%; border:0; cursor:pointer; display:grid; place-items:center;
  background:var(--ases-lime); color:var(--ases-ink);
  box-shadow:0 12px 30px -8px rgba(168,225,12,.7), 0 0 0 6px rgba(168,225,12,.18); transition:.25s; }
.ases-chat-fab:hover{ transform:translateY(-2px) scale(1.04); }
.ases-chat-fab svg{ width:28px; height:28px; }
.ases-chat-fab .ico-close{ display:none; }
.ases-chat.open .ases-chat-fab .ico-open{ display:none; }
.ases-chat.open .ases-chat-fab .ico-close{ display:block; }
.ases-chat.open .ases-chat-fab{ background:var(--ases-blue-dark); color:#fff; box-shadow:0 12px 30px -10px rgba(33,110,151,.7); }

.ases-chat-panel{ position:absolute; bottom:78px; inset-inline-end:0; width:min(370px,calc(100vw - 32px)); height:min(540px,calc(100vh - 130px));
  background:#fff; border-radius:18px; overflow:hidden; display:flex; flex-direction:column;
  box-shadow:0 30px 70px -20px rgba(13,40,55,.5), 0 0 0 1px rgba(13,40,55,.06); animation:asesChatIn .25s ease both; }
@keyframes asesChatIn{ from{opacity:0; transform:translateY(14px)} to{opacity:1; transform:none} }
.ases-chat-head{ background:var(--ases-blue-dark); color:#fff; padding:14px 16px; display:flex; align-items:center; gap:11px; }
.ases-chat-ava{ width:40px; height:40px; border-radius:50%; background:var(--ases-lime); color:var(--ases-ink); display:grid; place-items:center; flex:0 0 auto; }
.ases-chat-ava svg{ width:22px; height:22px; }
.ases-chat-id{ flex:1; min-width:0; line-height:1.25; }
.ases-chat-id strong{ display:block; font-size:16px; font-weight:800; }
.ases-chat-id small{ opacity:.85; font-size:12px; }
.ases-chat-close{ background:rgba(255,255,255,.14); border:0; color:#fff; width:32px; height:32px; border-radius:9px; cursor:pointer; display:grid; place-items:center; }
.ases-chat-close:hover{ background:rgba(255,255,255,.26); }
.ases-chat-close svg{ width:16px; height:16px; }
.ases-chat-body{ flex:1; overflow-y:auto; padding:16px; background:#f4f8fa; display:flex; flex-direction:column; gap:10px; }
.ases-msg{ max-width:82%; padding:10px 14px; border-radius:14px; font-size:14.5px; line-height:1.7; white-space:pre-wrap; word-wrap:break-word; }
.ases-msg--bot{ align-self:flex-start; background:#fff; color:var(--ases-ink); border:1px solid #e6edf1; border-bottom-inline-start-radius:4px; }
.ases-msg--user{ align-self:flex-end; background:var(--ases-lime); color:var(--ases-ink); font-weight:600; border-bottom-inline-end-radius:4px; }
.ases-typing{ display:flex; gap:5px; align-items:center; }
.ases-typing span{ width:7px; height:7px; border-radius:50%; background:var(--ases-blue); opacity:.5; animation:asesDot 1s infinite; }
.ases-typing span:nth-child(2){ animation-delay:.15s } .ases-typing span:nth-child(3){ animation-delay:.3s }
@keyframes asesDot{ 0%,60%,100%{ transform:translateY(0); opacity:.4 } 30%{ transform:translateY(-5px); opacity:1 } }
.ases-chat-form{ display:flex; gap:8px; padding:12px; border-top:1px solid #e6edf1; background:#fff; }
.ases-chat-form input{ flex:1; border:1.5px solid #e2e8ec; border-radius:999px; padding:11px 16px; font-family:inherit; font-size:14.5px; color:var(--ases-ink); }
.ases-chat-form input:focus{ outline:none; border-color:var(--ases-blue-dark); box-shadow:0 0 0 3px rgba(82,161,208,.18); }
.ases-chat-form button{ flex:0 0 auto; width:44px; height:44px; border-radius:50%; border:0; cursor:pointer; background:var(--ases-blue-dark); color:#fff; display:grid; place-items:center; transition:.2s; }
.ases-chat-form button:hover{ background:#184f70; }
.ases-chat-form button svg{ width:19px; height:19px; }
html[dir="rtl"] .ases-chat-form button svg{ transform:scaleX(-1); }
.ases-chat-foot{ text-align:center; font-size:11px; color:#90a0aa; padding:7px; background:#fff; }
@media (max-width:480px){ .ases-chat{ inset-inline-end:14px; bottom:14px; } .ases-chat-fab{ width:56px; height:56px; } }

/* ===== footer tweaks ===== */
/* widget-title underline sits under the text start (RTL & LTR) */
.ul-footer-widget-title::before{ left:auto !important; inset-inline-start:0 !important; }
.ul-footer-widget-title::after{ left:auto !important; inset-inline-start:24px !important; }
/* footer-bottom legal bar — copyright on its own centered line, meta links centered below.
   One flex rule, inherently responsive (phone → ultra-wide); never crams into a corner.
   Font sizes are fluid (clamp → scale with the screen); all text white for contrast on the teal bar. */
.ul-footer-bottom-wrapper{ display:flex !important; flex-wrap:wrap; align-items:center; justify-content:center; gap:10px 26px; text-align:center; color:rgba(255,255,255,.92); }
.ul-footer-bottom-wrapper > *{ margin:0; }
/* fonts scale with the screen — readable on phones, comfortably bigger on wide screens */
.ul-footer-bottom-wrapper .copyright-txt{ flex-basis:100%; font-size:clamp(13px,1.05vw,16.5px); line-height:1.75; color:rgba(255,255,255,.92); }
.ul-footer-bottom-wrapper .ases-foot-legal{ display:inline-flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:8px 20px; }
.ul-footer-bottom-wrapper .ases-foot-legal a,
.ul-footer-bottom-wrapper .ases-natnum,
.ul-footer-bottom-wrapper .ases-credit{ font-size:clamp(12.5px,1vw,15.5px); }
.ul-footer-bottom-wrapper .ases-foot-legal a{ color:#fff; text-decoration:underline; text-underline-offset:3px; transition:color .2s; }
.ul-footer-bottom-wrapper .ases-foot-legal a:hover{ color:var(--ases-lime); }
.ul-footer-bottom-wrapper .ases-natnum{ color:#fff; }
.ul-footer-bottom-wrapper .ases-natnum a{ color:#fff; font-weight:700; text-decoration:underline; text-underline-offset:3px; }
.ul-footer-bottom-wrapper .ases-natnum a:hover{ color:var(--ases-lime); }
.ul-footer-bottom-wrapper .ases-credit{ font-weight:700; color:#fff; }
/* phones: copyright → privacy·terms → (national number + credit together), all centered (client-approved) */
@media (max-width:767.98px){
  .ul-footer-bottom-wrapper .ases-foot-legal{ flex-basis:100%; }
}
/* tablet/laptop/desktop: «تصميم وبرمجة taswiq4me» on its own line, pinned to the right (start); copyright + policies + national number stay centered */
@media (min-width:768px){
  .ul-footer-bottom-wrapper .ases-credit{ flex-basis:100%; display:block; text-align:start; }
}

/* ===== chatbot: always bottom-right + multi-conversation UI ===== */
.ases-chat{ inset-inline-end:auto !important; left:auto; right:24px; }
.ases-chat-panel{ inset-inline-end:auto !important; left:auto; right:0; }
.ases-chat-panel[hidden]{ display:none !important; }
@media (max-width:480px){ .ases-chat{ right:14px; } .ases-chat-panel{ width:min(360px,calc(100vw - 28px)); } }
.ases-chat-head-actions{ display:flex; align-items:center; gap:4px; }
.ases-chat-head-actions button{ background:rgba(255,255,255,.14); border:0; color:#fff; width:30px; height:30px; border-radius:8px; cursor:pointer; display:grid; place-items:center; }
.ases-chat-head-actions button:hover{ background:rgba(255,255,255,.28); }
.ases-chat-head-actions button svg{ width:16px; height:16px; }
.ases-chat-threads{ flex:1; overflow-y:auto; padding:12px; background:#f4f8fa; display:none; flex-direction:column; gap:8px; }
.ases-thread{ display:flex; align-items:center; gap:6px; background:#fff; border:1px solid #e6edf1; border-radius:12px; }
.ases-thread.active{ border-color:var(--ases-lime); box-shadow:0 0 0 2px rgba(168,225,12,.25); }
.ases-thread-open{ flex:1; text-align:start; background:none; border:0; cursor:pointer; padding:11px 14px; min-width:0; }
.ases-thread-open strong{ display:block; font-size:14px; color:var(--ases-ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ases-thread-open small{ color:#90a0aa; font-size:11.5px; }
.ases-thread-del{ flex:0 0 auto; width:30px; height:30px; margin-inline-end:6px; border:0; background:#f0f3f5; color:#c0392b; border-radius:8px; cursor:pointer; font-size:18px; line-height:1; }
.ases-thread-del:hover{ background:#fde8e6; }
.ases-threads-empty{ text-align:center; color:#90a0aa; padding:24px; }

/* ===== Wide (horizontal) logo — size by height; white over hero, colour when sticky; language via data-lang ===== */
.ases-logo{ height:clamp(34px,3.4vw,46px) !important; width:auto !important; max-width:none !important; }
.ases-logo--footer{ height:clamp(42px,3.6vw,54px) !important; width:auto !important; max-width:none !important; }
.ul-sidebar-header-logo .ases-logo{ height:40px !important; }


/* chatbot launcher — always bottom-right (both languages), comfortably inset from edges */
.ases-chat{ left:auto !important; inset-inline-end:auto !important; right:clamp(26px,2vw,42px) !important; bottom:clamp(26px,3vh,40px) !important; }
.ases-chat-panel{ left:auto !important; inset-inline-end:auto !important; right:0 !important; }
@media (max-width:480px){ .ases-chat{ right:18px !important; bottom:18px !important; } }

/* Align the header with the site content width on large screens
   (so the logo/nav sit within the content grid instead of floating into the far margin) */
@media (min-width:992px){
  .ul-header-container{ max-width: calc(clamp(1200px, 74.09vw, 1410px) + 30px) !important; padding-inline:15px !important; }
}

/* ===== Nursery store ===== */
.ases-shop-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(248px,1fr)); gap:clamp(16px,1.8vw,28px); }
.ases-shop-card{ background:#fff; border:1px solid #eef1f0; border-radius:18px; overflow:hidden; transition:.3s; display:flex; flex-direction:column; }
.ases-shop-card:hover{ transform:translateY(-6px); box-shadow:0 26px 50px -28px rgba(0,52,28,.28); }
.ases-shop-img{ display:block; position:relative; aspect-ratio:4/3; overflow:hidden; }
.ases-shop-img img{ width:100%; height:100%; object-fit:cover; transition:.5s; }
.ases-shop-card:hover .ases-shop-img img{ transform:scale(1.06); }
.ases-shop-out{ position:absolute; inset-inline-start:12px; top:12px; background:#c0392b; color:#fff; font-size:12px; font-weight:800; padding:5px 12px; border-radius:999px; }
.ases-shop-body{ padding:18px; display:flex; flex-direction:column; gap:8px; flex:1; }
.ases-shop-cat{ color:var(--ases-blue-dark); font-weight:800; font-size:12.5px; }
.ases-shop-body h3{ font-size:clamp(16px,1.15vw,19px); font-weight:800; margin:0; }
.ases-shop-body h3 a{ color:var(--ases-ink); }
.ases-shop-impact{ display:flex; gap:6px; align-items:flex-start; font-size:13px; color:var(--ul-p); margin:0; line-height:1.6; }
.ases-shop-impact .leaf{ flex:0 0 auto; }
.ases-shop-foot{ margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:10px; padding-top:8px; }
.ases-price{ font-weight:800; color:var(--ases-ink); font-size:14px; }
.ases-price .ases-num{ font-size:21px; color:var(--ases-blue-dark); }
.ases-add-cart{ height:auto !important; padding:9px 16px !important; font-size:13.5px; }
/* seedling detail */
.ases-price-big{ font-size:15px; font-weight:700; color:var(--ases-ink); margin:14px 0 18px; }
.ases-price-big .ases-num{ font-size:36px; color:var(--ases-blue-dark); }
.ases-impact-box{ background:var(--ases-green-pale); border-radius:14px; padding:18px 20px; margin-bottom:18px; }
.ases-impact-box h3{ font-size:16px; font-weight:800; margin:0 0 10px; color:var(--ases-ink); }
.ases-impact-box ul{ display:grid; gap:8px; margin:0; }
.ases-impact-box li{ position:relative; padding-inline-start:24px; color:var(--ases-ink); font-size:14.5px; }
.ases-impact-box li::before{ content:""; position:absolute; inset-inline-start:0; top:7px; width:12px; height:12px; border-radius:50%; background:#fff; box-shadow:inset 0 0 0 3px var(--ases-blue-dark); }
.ases-split-box{ border:1.5px dashed var(--ases-blue); border-radius:14px; padding:16px 18px; margin-bottom:20px; background:#f4fafd; }
.ases-split-box>p{ font-weight:800; margin:0 0 10px; color:var(--ases-ink); }
.ases-split-row{ display:flex; flex-wrap:wrap; gap:10px 20px; margin-bottom:10px; font-size:14px; }
.ases-split-don strong{ color:var(--ases-green); font-size:18px; } .ases-split-op strong{ color:var(--ases-blue-dark); font-size:18px; }
.ases-split-bar{ height:8px; border-radius:999px; background:#dceaf3; overflow:hidden; }
.ases-split-bar i{ display:block; height:100%; background:var(--ases-lime); }
.ases-split-box small{ color:var(--ul-p); display:block; margin-top:8px; }
.ases-buy-row{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.ases-qty{ display:inline-flex; align-items:center; border:1.5px solid #e2e8ec; border-radius:10px; overflow:hidden; }
.ases-qty button{ width:38px; height:44px; border:0; background:#f4f7f9; font-size:18px; cursor:pointer; color:var(--ases-ink); }
.ases-qty .qval{ width:46px; height:44px; text-align:center; border:0; font-weight:800; font-family:inherit; font-size:16px; background:#fff; }
/* header cart icon */
.ases-cart-link{ position:relative; display:inline-flex; align-items:center; justify-content:center; color:#fff; width:42px; height:42px; }
.ul-header-bottom.sticky .ases-cart-link{ color:var(--ases-ink); }
.ases-cart-count{ position:absolute; top:0; inset-inline-end:-2px; background:var(--ases-lime); color:var(--ases-ink); font-size:11px; font-weight:800; min-width:18px; height:18px; border-radius:999px; display:grid; place-items:center; padding:0 4px; }

/* ===== Cart / checkout ===== */
.ases-cart-items{ display:flex; flex-direction:column; gap:12px; margin-bottom:18px; }
.ases-cart-item{ display:flex; align-items:center; gap:14px; background:#fff; border:1px solid #eef1f0; border-radius:14px; padding:10px 14px; }
.ases-cart-item img{ width:64px; height:64px; object-fit:cover; border-radius:10px; flex:0 0 auto; }
.ases-cart-item .ci-info{ flex:1; min-width:0; }
.ases-cart-item .ci-info strong{ display:block; color:var(--ases-ink); font-size:15px; }
.ases-cart-item .ci-price{ color:var(--ases-blue-dark); font-weight:700; font-size:13.5px; }
.ases-cart-item .ases-qty button{ width:32px; height:38px; font-size:16px; } .ases-cart-item .ases-qty .qval{ width:38px; height:38px; }
.ases-cart-item .ci-del{ width:34px; height:34px; border:0; background:#f4f7f9; color:#c0392b; border-radius:9px; font-size:18px; cursor:pointer; flex:0 0 auto; }
.ases-cart-item .ci-del:hover{ background:#fde8e6; }
.ases-cart-summary{ background:var(--ases-green-pale); border-radius:14px; padding:16px 18px; }
.ases-cart-summary>div{ display:flex; justify-content:space-between; align-items:center; font-weight:700; color:var(--ases-ink); font-size:16px; }
.ases-cart-summary strong .ases-num{ font-size:24px; color:var(--ases-green); }
.ases-cart-summary small{ display:block; margin-top:8px; }
.ases-cart-empty{ text-align:center; padding:50px 20px; }
.ases-cart-empty p{ font-size:18px; color:var(--ul-p); margin-bottom:18px; }
.ases-card-form{ background:#fff; border:1px solid #eef1f0; border-radius:18px; padding:clamp(20px,2vw,30px); }
.ases-card-form h3{ font-size:18px; font-weight:800; margin:0 0 16px; color:var(--ases-ink); }
.ases-card-form .ases-field{ margin-bottom:14px; }
.ases-card-form input,.ases-card-form select,.ases-card-form textarea{ width:100%; border:1.5px solid #e2e8ec; border-radius:10px; padding:11px 13px; font-family:inherit; font-size:14.5px; color:var(--ases-ink); background:#fff; }
.ases-card-form input:focus,.ases-card-form select:focus,.ases-card-form textarea:focus{ outline:none; border-color:var(--ases-blue-dark); box-shadow:0 0 0 3px rgba(82,161,208,.15); }
.ases-order-success{ max-width:680px; margin:0 auto; background:#fff; border:1px solid #e6edf1; border-radius:20px; padding:clamp(26px,3vw,44px); text-align:center; box-shadow:0 24px 60px -30px rgba(0,52,28,.3); }
.ases-order-success .ico{ width:64px; height:64px; border-radius:50%; background:var(--ases-lime); color:var(--ases-ink); display:grid; place-items:center; font-size:34px; font-weight:800; margin:0 auto 16px; }
.ases-order-success h2{ font-size:clamp(22px,2vw,30px); font-weight:800; color:var(--ases-ink); margin:0 0 12px; }
.ases-order-success .ases-bank-details{ text-align:start; max-width:460px; margin:18px auto; }
.ases-toast{ position:fixed; left:50%; bottom:28px; transform:translate(-50%,20px); background:var(--ases-ink); color:#fff; padding:12px 22px; border-radius:999px; font-weight:700; z-index:1400; opacity:0; transition:.3s; box-shadow:0 12px 30px -10px rgba(0,0,0,.5); }
.ases-toast.show{ opacity:1; transform:translate(-50%,0); }

/* ===================== project before / after documentation ===================== */
.ases-ba-head{ text-align:center; max-width:720px; margin:0 auto 34px; }
.ases-ba-head h2{ font-weight:800; color:var(--ases-blue-dark); margin:0 0 10px; }
.ases-ba-head p{ color:#5b6b76; font-size:16px; margin:0; line-height:1.8; }
.ba-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(330px,1fr)); gap:26px; }
.ba-card{ background:#fff; border:1px solid #e7eef3; border-radius:18px; overflow:hidden; box-shadow:0 18px 44px -30px rgba(20,40,60,.45); }
.ba-card-body{ padding:18px 20px 22px; }
.ba-card-body h3{ font-weight:800; color:var(--ases-ink); margin:0 0 4px; font-size:18px; }
.ba-card-body p{ color:#5b6b76; margin:8px 0 0; line-height:1.85; }
.ba-project{ display:inline-block; font-weight:800; color:var(--ases-blue-dark); text-decoration:none; font-size:12.5px; margin-bottom:5px; }
.ba-project:hover{ text-decoration:underline; }
.ba-date{ display:inline-block; color:#8b9aa5; font-size:13px; }
.ba-progress-meta{ margin-top:7px; font-size:13.5px; color:#5b6b76; }
.ba-single img{ display:block; width:100%; aspect-ratio:16/10; object-fit:cover; }

.ba-slider{ position:relative; width:100%; aspect-ratio:16/10; overflow:hidden; --p:50%; background:#0a1f2c; touch-action:none; }
.ba-img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; pointer-events:none; }
.ba-before{ clip-path:inset(0 calc(100% - var(--p)) 0 0); }
.ba-divider{ position:absolute; top:0; bottom:0; left:var(--p); width:3px; background:#fff; transform:translateX(-50%); box-shadow:0 0 0 1px rgba(0,0,0,.12); pointer-events:none; }
.ba-divider::after{ content:""; position:absolute; top:50%; left:50%; width:42px; height:42px; border-radius:50%; background:#fff center/22px no-repeat; transform:translate(-50%,-50%); box-shadow:0 3px 12px rgba(0,0,0,.35); background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23216e97' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-4 5 4 5M15 7l4 5-4 5'/%3E%3C/svg%3E"); }
/* The clip-path, the divider offset and the two labels are all PHYSICAL (left/right),
   but a range input inherits dir="rtl" from <html> and every engine reverses its axis
   there — so on the Arabic site (the default) the handle ran backwards against the
   image it controls. Pin the control itself to ltr so --p always means "percent from
   the physical left", matching everything that consumes it. */
.ba-range{ position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:ew-resize; direction:ltr; }
.ba-label{ position:absolute; bottom:14px; background:rgba(10,31,44,.72); color:#fff; padding:5px 14px; border-radius:999px; font-size:13px; font-weight:700; pointer-events:none; }
.ba-label-before{ left:14px; }
.ba-label-after{ right:14px; }
@media (max-width:560px){ .ba-grid{ grid-template-columns:1fr; } }

/* completed-project badge on campaign cards */
.ases-campaign-img{ position:relative; }
.ases-done-badge{ position:absolute; top:14px; inset-inline-end:14px; background:var(--ases-blue); color:#fff; font-weight:800; font-size:12.5px; padding:5px 13px; border-radius:999px; box-shadow:0 6px 16px -6px rgba(0,0,0,.4); z-index:2; }

/* ===================== member accounts (auth + dashboard) ===================== */
.ases-auth{ max-width:460px; margin:0 auto; }
.ases-auth-card{ background:#fff; border:1px solid #e6edf1; border-radius:20px; padding:clamp(24px,3vw,40px); box-shadow:0 24px 60px -32px rgba(0,52,28,.3); }
.ases-auth-card h2{ font-weight:800; color:var(--ases-blue-dark); margin:0 0 6px; text-align:center; }
.ases-auth-sub{ text-align:center; color:#5b6b76; margin:0 0 22px; }
.ases-auth .fld{ display:block; font-weight:700; font-size:13.5px; margin-bottom:6px; color:var(--ases-ink); }
.ases-auth .ases-field{ margin-bottom:14px; }
.ases-auth input{ width:100%; border:1.5px solid #e2e8ec; border-radius:10px; padding:12px 14px; font-family:inherit; font-size:15px; color:var(--ases-ink); background:#fff; }
.ases-auth input:focus{ outline:none; border-color:var(--ases-blue-dark); box-shadow:0 0 0 3px rgba(82,161,208,.15); }
.ases-auth .ul-btn{ width:100%; justify-content:center; margin-top:6px; }
.ases-auth-alt{ text-align:center; margin-top:18px; color:#5b6b76; }
.ases-auth-alt a{ color:var(--ases-blue-dark); font-weight:800; text-decoration:none; }
.ases-social{ display:flex; flex-direction:column; gap:10px; margin-bottom:6px; }
.ases-social a{ display:flex; align-items:center; justify-content:center; gap:10px; border:1.5px solid #e2e8ec; border-radius:10px; padding:11px; font-weight:700; color:var(--ases-ink); text-decoration:none; background:#fff; }
.ases-social a:hover{ background:#f6f9fb; }
.ases-or{ text-align:center; color:#9aabb4; margin:16px 0; position:relative; font-size:13px; }
.ases-or::before,.ases-or::after{ content:""; position:absolute; top:50%; width:38%; height:1px; background:#e6edf1; }
.ases-or::before{ inset-inline-start:0; } .ases-or::after{ inset-inline-end:0; }
.ases-alert{ padding:12px 16px; border-radius:10px; margin-bottom:16px; font-weight:600; font-size:14px; }
.ases-alert-err{ background:#fde8e6; color:#c0392b; border:1px solid #efb9b2; }
.ases-alert-ok{ background:#eef8d6; color:#3d5709; border:1px solid var(--ases-lime); }
.ases-acct-head{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; margin-bottom:24px; }
.ases-acct-avatar{ width:66px; height:66px; border-radius:50%; object-fit:cover; background:#e6f0f8; display:grid; place-items:center; color:var(--ases-blue-dark); font-weight:800; font-size:24px; }
.ases-acct-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; align-items:start; }
@media(max-width:760px){ .ases-acct-grid{ grid-template-columns:1fr; } }
.ases-acct-card{ background:#fff; border:1px solid #e6edf1; border-radius:16px; padding:22px; }
@media(max-width:575.98px){ .ases-acct-card{ padding:16px; } }
.ases-acct-card h3{ font-weight:800; color:var(--ases-blue-dark); margin:0 0 14px; font-size:17px; }
.ases-acct-table{ width:100%; border-collapse:collapse; font-size:14px; }
.ases-acct-table th,.ases-acct-table td{ text-align:start; padding:9px 6px; border-bottom:1px solid #eef2f5; }
.ases-acct-table th{ color:#8b9aa5; font-weight:700; font-size:12.5px; }
.ases-badge{ display:inline-block; padding:3px 11px; border-radius:999px; font-size:12px; font-weight:800; }
.ases-badge-green{ background:#eef8d6; color:#5b7d10; } .ases-badge-amber{ background:#fef3cd; color:#9a6b00; } .ases-badge-blue{ background:#e6f0f8; color:var(--ases-blue-dark); } .ases-badge-grey{ background:#eef1f0; color:#7a8a94; }
.ases-acct-link{ display:inline-flex; align-items:center; gap:6px; color:var(--ases-blue-dark); font-weight:700; text-decoration:none; }
/* header account icon — white on hero, coloured when sticky (matches cart link) */
.ases-acct-icon{ display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:50%; color:#fff; border:1.5px solid rgba(255,255,255,.55); transition:.2s; }
.ul-header-bottom.sticky .ases-acct-icon{ color:var(--ases-blue-dark); border-color:#d9e6ee; }
.ases-acct-icon:hover{ background:var(--ases-blue); color:#fff; border-color:var(--ases-blue-dark); }
.ases-acct-icon.is-in,.ul-header-bottom.sticky .ases-acct-icon.is-in{ background:var(--ases-lime); color:var(--ases-ink); border-color:var(--ases-lime); }

/* ===================== Free Environmental Tools (/tools) ===================== */
.eco-intro{ max-width:720px; margin:14px auto 0; color:#5b6b76; font-size:16px; line-height:1.85; }
.eco-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:22px; margin-top:38px; }
.eco-card{ display:flex; flex-direction:column; gap:14px; text-align:start; background:#fff; border:1px solid #e7eef3; border-radius:18px; padding:24px; cursor:pointer; font-family:inherit; transition:.25s; box-shadow:0 16px 40px -30px rgba(20,40,60,.4); }
.eco-card:hover{ transform:translateY(-4px); border-color:var(--ases-lime); box-shadow:0 22px 48px -26px rgba(20,40,60,.5); }
.eco-card-ico{ width:52px; height:52px; border-radius:14px; display:grid; place-items:center; background:var(--ases-green-pale); color:var(--ases-green); }
.eco-card-ico svg{ width:28px; height:28px; }
.eco-card-title{ display:block; font-weight:800; font-size:18px; color:var(--ases-ink); }
.eco-card-desc{ display:block; color:#5b6b76; font-size:13.5px; line-height:1.7; margin-top:5px; }
.eco-card-open{ margin-top:auto; font-weight:800; font-size:13.5px; color:var(--ases-green); }

/* modal */
.eco-modal{ position:fixed; inset:0; z-index:1500; display:flex; align-items:center; justify-content:center; padding:20px; }
.eco-modal[hidden]{ display:none; }
.eco-modal-backdrop{ position:absolute; inset:0; background:rgba(8,28,38,.55); opacity:0; transition:.2s; backdrop-filter:blur(2px); }
.eco-modal.open .eco-modal-backdrop{ opacity:1; }
.eco-modal-card{ position:relative; width:100%; min-width:0; max-width:680px; max-height:90vh; overflow:auto; background:#fff; border-radius:20px; box-shadow:0 40px 90px -30px rgba(0,0,0,.6); transform:translateY(16px) scale(.98); opacity:0; transition:.22s; }
.eco-modal.open .eco-modal-card{ transform:none; opacity:1; }
.eco-modal-head{ position:sticky; top:0; z-index:2; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px 22px; background:var(--ases-green); color:#fff; }
.eco-modal-title{ margin:0; font-size:18px; font-weight:800; color:#fff; }
.eco-modal-x{ flex:0 0 auto; width:34px; height:34px; border-radius:9px; border:0; background:rgba(255,255,255,.18); color:#fff; cursor:pointer; display:grid; place-items:center; }
.eco-modal-x:hover{ background:rgba(255,255,255,.32); }
.eco-modal-x svg{ width:18px; height:18px; }
.eco-modal-body{ padding:22px; }

/* forms */
.eco-form{ display:flex; flex-direction:column; gap:14px; }
.eco-grid2{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media(max-width:540px){ .eco-grid2{ grid-template-columns:1fr; } }
.eco-field{ display:block; }
.eco-flabel{ display:block; font-weight:700; font-size:13.5px; color:var(--ases-ink); margin-bottom:6px; }
.eco-hint{ display:block; color:#8b9aa5; font-size:12px; margin-top:4px; }
.eco-modal-body input[type=number],.eco-modal-body input[type=text],.eco-modal-body select{ width:100%; border:1.5px solid #e2e8ec; border-radius:10px; padding:11px 13px; font-family:inherit; font-size:15px; color:var(--ases-ink); background:#fff; }
.eco-modal-body input:focus,.eco-modal-body select:focus{ outline:none; border-color:var(--ases-green); box-shadow:0 0 0 3px rgba(33,110,151,.15); }
.eco-seg{ display:inline-flex; background:#eef3f1; border-radius:11px; padding:4px; gap:4px; }
.eco-seg button{ border:0; background:transparent; padding:8px 16px; border-radius:8px; font-family:inherit; font-weight:700; font-size:13.5px; color:#5b6b76; cursor:pointer; }
.eco-seg button.on{ background:#fff; color:var(--ases-green); box-shadow:0 2px 8px -3px rgba(0,0,0,.2); }
.eco-checks{ display:flex; flex-wrap:wrap; gap:10px 18px; }
.eco-chk{ display:inline-flex; align-items:center; gap:7px; font-size:14px; cursor:pointer; font-weight:500; }
.eco-table-wrap{ overflow:auto; border:1px solid #eef2f5; border-radius:12px; }
.eco-table{ width:100%; border-collapse:collapse; font-size:13.5px; }
.eco-table th,.eco-table td{ padding:8px 10px; border-bottom:1px solid #eef2f5; text-align:start; }
.eco-table th{ background:#f6f9fb; color:#5b6b76; font-weight:700; font-size:12.5px; }
.eco-table input{ width:74px; padding:7px 8px !important; }
.eco-table td:first-child{ min-width:130px; }
.eco-add,.eco-clear{ align-self:flex-start; background:var(--ases-green-pale); color:var(--ases-green); border:0; border-radius:9px; padding:9px 15px; font-weight:800; font-size:13.5px; cursor:pointer; font-family:inherit; }
.eco-add:hover,.eco-clear:hover{ background:#d8ebf5; }
.eco-clear{ background:#fbeaea; color:#c0392b; margin-top:10px; }

/* output */
.eco-out{ margin-top:18px; }
.eco-tiles{ display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:12px; }
.eco-tile{ background:#f6f9fb; border:1px solid #eef2f5; border-radius:14px; padding:14px; }
.eco-tile-accent{ background:#f2f9e0; border-color:var(--ases-lime); }
.eco-tile-label{ color:#6b7c89; font-size:12.5px; font-weight:600; }
.eco-tile-value{ font-size:24px; font-weight:800; color:var(--ases-ink); margin-top:4px; line-height:1.1; }
.eco-tile-value small{ font-size:12.5px; font-weight:700; color:#7a8a94; }
.eco-h4{ margin:22px 0 10px; font-size:15px; font-weight:800; color:var(--ases-blue-dark); }
.eco-bars{ display:flex; flex-direction:column; gap:11px; }
.eco-bar-head{ display:flex; justify-content:space-between; gap:10px; font-size:13px; margin-bottom:4px; }
.eco-bar-head .ases-num{ color:#6b7c89; font-weight:700; }
.eco-bar-track{ height:12px; border-radius:999px; background:#eef2f5; overflow:hidden; }
.eco-bar-fill{ height:100%; border-radius:999px; background:linear-gradient(90deg,var(--ases-green),var(--ases-lime)); transition:width .5s ease; }
.eco-tips{ margin-top:18px; background:var(--ases-green-pale); border-radius:14px; padding:16px 18px; }
.eco-tips-title{ font-weight:800; color:var(--ases-green); margin-bottom:6px; }
.eco-tips ul{ margin:0; padding-inline-start:20px; }
.eco-tips li{ margin:5px 0; color:#3f5560; line-height:1.7; font-size:14px; }
.eco-warn{ margin-top:14px; background:#fff7e6; border:1px solid #f0c000; color:#8a5a00; border-radius:12px; padding:12px 15px; font-weight:600; font-size:14px; }
.eco-note{ background:#e6f0f8; border-radius:12px; padding:12px 15px; color:var(--ases-blue-dark); font-size:13.5px; margin-bottom:4px; }
.eco-muted{ color:#8b9aa5; font-size:13.5px; }
.eco-loglist{ display:flex; flex-direction:column; gap:6px; }
.eco-logrow{ display:flex; align-items:center; justify-content:space-between; gap:10px; background:#f6f9fb; border-radius:9px; padding:8px 12px; font-size:13.5px; }
.eco-logrow .ases-num{ color:#6b7c89; margin-inline-start:auto; }
.eco-del{ border:0; background:transparent; color:#c0392b; cursor:pointer; font-size:15px; line-height:1; }
/* challenge */
.eco-ch-card{ background:linear-gradient(135deg,var(--ases-green),#184f70); color:#fff; border-radius:18px; padding:24px; text-align:center; margin-bottom:16px; }
.eco-ch-card.is-done{ background:linear-gradient(135deg,#5b7d10,var(--ases-green)); }
.eco-ch-day{ font-size:13px; opacity:.85; font-weight:700; }
.eco-ch-text{ font-size:20px; font-weight:800; margin:10px 0 18px; line-height:1.5; }
.eco-ch-card .ul-btn{ background:var(--ases-lime); color:var(--ases-ink); }
.eco-ch-list{ display:flex; flex-direction:column; gap:7px; }
.eco-ch-li{ background:#f6f9fb; border:1px solid #eef2f5; border-radius:10px; padding:10px 14px; font-size:14px; color:#5b6b76; }
.eco-ch-li.on{ border-color:var(--ases-lime); background:#f2f9e0; color:var(--ases-ink); font-weight:700; }

/* favorite (save project) heart */
.ases-camp-titlerow{ display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.ases-camp-titlerow h3{ margin:0; }
.ases-fav-form{ margin:0; flex:0 0 auto; }
.ases-fav{ display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:50%; border:1.5px solid #e2e8ec; background:#fff; color:#9aabb4; cursor:pointer; transition:.2s; padding:0; flex:0 0 auto; }
.ases-fav svg{ width:20px; height:20px; }
.ases-fav:hover{ border-color:var(--ases-lime); color:var(--ases-green); transform:scale(1.08); }
.ases-fav.is-fav{ background:var(--ases-lime); border-color:var(--ases-lime); color:var(--ases-ink); }

/* prevent stray horizontal overflow on small screens (off-canvas drawer / decorative shapes) — RTL-safe, clip keeps sticky header + vertical scroll intact */
html, body { overflow-x: clip; max-width: 100%; }

/* phones: slim the header actions so the hamburger + logo always fit (language toggle becomes an icon-only circle) */
@media (max-width: 575.98px) {
  .ases-lang-toggle { min-width: 0; width: 38px; height: 38px; padding: 0; border-radius: 50%; gap: 0; }
  .ases-lang-toggle [data-lang-label] { display: none; }
  .ases-cart-link, .ases-acct-icon { width: 38px; height: 38px; }
  .ul-header-actions { gap: 6px; }
}
/* mobile + small-laptop drawer menu (≤1199px): show the hamburger and render the nav as a clean
   vertical list when the drawer is open. Overrides the template's d-lg-* (992px) so the nav switches
   to the drawer below 1200px instead of cramming inline. */
@media (max-width: 1199.98px) {
  .ul-header-sidebar-opener.d-lg-none { display: inline-flex !important; }   /* show hamburger on small laptops too */
  .ul-sidebar-header-nav-wrapper.d-lg-none { display: block !important; }    /* let the drawer actually hold the moved nav */
  /* breathing room at the very top of the page so the bar doesn't hug the top edge on tablet/phone (esp. with the announcement bar dismissed) */
  .ul-header-bottom:not(.sticky) { padding-top: 20px; padding-bottom: 14px; }
  .ul-sidebar .ul-header-nav { flex-direction: column; align-items: stretch; width: 100%; gap: 2px; }
  .ul-sidebar .ul-header-nav a { width: 100%; padding: 13px 6px; color: var(--ases-ink); border-bottom: 1px solid #eef2f5; font-weight: 600; }
  .ul-sidebar .ul-header-nav a:hover, .ul-sidebar .ul-header-nav a.active { color: var(--ases-green); }
}

/* phones: center the section headings that carry a side "see all" button */
@media (max-width: 767.98px) {
  .ases-heading-split { flex-direction: column; align-items: center; text-align: center; }
  .ases-heading-split > div { width: 100%; }
  .ases-heading-split .ases-eyebrow { justify-content: center; }
}
/* CTA card always keeps clear space above it (never flush to the section/image above) */
.ases-cta { padding-top: clamp(48px, 6vw, 90px) !important; }

/* ===================== eco-points: leaderboard, badges, redeem, certificate ===================== */
.lb-collective { background: linear-gradient(135deg, var(--ases-green), #184f70); color: #fff; border-radius: 22px; padding: clamp(24px, 3vw, 40px); text-align: center; margin-bottom: 28px; }
.lb-collective-head h2 { color: #fff; font-weight: 800; margin: 8px 0 0; }
.lb-collective .ases-eyebrow { color: #fff; }
.lb-collective .ases-eyebrow::before { background: var(--ases-lime); }
.lb-collective-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; margin: 24px 0 14px; }
.lb-ctile { background: rgba(255,255,255,.1); border-radius: 14px; padding: 16px 10px; }
.lb-ctile .n { font-size: clamp(22px, 3vw, 34px); font-weight: 800; color: var(--ases-lime); }
.lb-ctile .l { font-size: 13px; opacity: .9; margin-top: 4px; }
.lb-collective-note { margin: 0; font-size: 14px; opacity: .95; }
.lb-collective-note a { color: var(--ases-lime); font-weight: 700; text-decoration: none; }
.lb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 700px) { .lb-grid { grid-template-columns: 1fr; } }
.lb-card { background: #fff; border: 1px solid #e7eef3; border-radius: 18px; padding: 22px; box-shadow: 0 16px 40px -30px rgba(20,40,60,.4); }
.lb-card-title { font-weight: 800; color: var(--ases-blue-dark); margin: 0 0 14px; font-size: 17px; }
.lb-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; counter-reset: lb; }
.lb-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #f6f9fb; }
.lb-row.lb-top { background: #f2f9e0; }
.lb-rank { flex: 0 0 32px; text-align: center; font-size: 18px; }
.lb-rank b { color: #8b9aa5; font-size: 14px; }
.lb-name { flex: 1; font-weight: 700; color: var(--ases-ink); display: flex; flex-direction: column; gap: 2px; }
.lb-level { font-size: 11.5px; font-weight: 700; color: var(--ases-green); }
.lb-pts { font-weight: 700; color: var(--ases-ink); font-size: 13.5px; white-space: nowrap; }
.lb-pts b { color: var(--ases-green); font-size: 16px; }
/* badges */
.eco-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.eco-badge { display: inline-flex; align-items: center; gap: 5px; background: var(--ases-green-pale); color: var(--ases-ink); border-radius: 999px; padding: 5px 12px; font-size: 12.5px; font-weight: 700; }
/* redeem */
.redeem-balance { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.redeem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .redeem-grid { grid-template-columns: 1fr; } }
.redeem-card { background: #fff; border: 1px solid #e7eef3; border-radius: 18px; padding: 24px; text-align: center; box-shadow: 0 16px 40px -30px rgba(20,40,60,.4); }
.redeem-ico { font-size: 40px; }
.redeem-card h3 { font-weight: 800; color: var(--ases-ink); margin: 10px 0 8px; font-size: 18px; }
.redeem-card p { color: #5b6b76; font-size: 14px; line-height: 1.8; margin: 0 0 16px; }
.redeem-card .ul-btn { width: 100%; justify-content: center; }
.redeem-card .ul-btn[disabled] { opacity: .5; pointer-events: none; }
.redeem-have { background: var(--ases-green-pale); border-radius: 10px; padding: 12px; font-weight: 700; color: var(--ases-ink); }
.redeem-have code { background: #fff; padding: 2px 8px; border-radius: 6px; color: var(--ases-blue-dark); }
.redeem-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #f6f9fb; border-radius: 10px; padding: 12px 16px; margin-top: 8px; font-size: 14px; }
.redeem-row code { background: #fff; border: 1px solid #e2e8ec; padding: 2px 8px; border-radius: 6px; }
/* certificate */
.eco-cert { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 2px solid var(--ases-lime); border-radius: 16px; padding: 20px 22px; margin-top: 12px; box-shadow: 0 14px 36px -26px rgba(0,52,28,.4); }
.eco-cert-seal { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%; background: var(--ases-green-pale); display: grid; place-items: center; font-size: 28px; }
.eco-cert-title { font-weight: 700; color: var(--ases-green); font-size: 13px; }
.eco-cert-name { font-weight: 800; font-size: 20px; color: var(--ases-ink); margin: 2px 0 6px; }
.eco-cert-body p { color: #5b6b76; margin: 0 0 8px; font-size: 14px; line-height: 1.7; }
.eco-cert-meta { color: #8b9aa5; font-size: 12.5px; }

/* ===================== ASES Forest gallery + tree certificate ===================== */
.ases-qr svg { display: block; width: 100%; height: auto; }
.forest-counter { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 22px auto 30px; }
.forest-counter-n { font-size: clamp(40px, 7vw, 70px); font-weight: 800; line-height: 1; color: var(--ases-green); }
.forest-counter-l { color: #5b6b76; font-weight: 700; font-size: 15px; }
.forest-tools { display: flex; justify-content: center; margin-bottom: 22px; }
.forest-search { width: min(440px, 100%); border: 1.5px solid #dbe5ea; border-radius: 999px; padding: 12px 20px; font-family: inherit; font-size: 15px; background: #fff; }
.forest-search:focus { outline: none; border-color: var(--ases-green); box-shadow: 0 0 0 3px rgba(33,110,151,.12); }
.forest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.forest-card { background: #fff; border: 1px solid #e7eef3; border-radius: 18px; overflow: hidden; box-shadow: 0 16px 40px -30px rgba(20,40,60,.4); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.forest-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(20,40,60,.5); }
.forest-card-media { position: relative; display: block; aspect-ratio: 16/10; background: linear-gradient(160deg, #3f9d5a 0%, #2b8a86 100%); overflow: hidden; }
.forest-card-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) contrast(1.02); }
/* unified light-green wash over every tree photo so the gallery looks cohesive */
.forest-card-media.has-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(165deg, rgba(33,110,151,.12) 0%, rgba(46,125,50,.45) 100%); mix-blend-mode: multiply; }
.forest-card-ph { width: 100%; height: 100%; display: grid; place-items: center; background-image: radial-gradient(circle at 30% 25%, rgba(255,255,255,.18), transparent 60%); }
.forest-card-ph .ases-ico { width: 62px; height: 62px; color: #fff; opacity: .92; }
.forest-chip { position: absolute; z-index: 2; top: 10px; inset-inline-end: 10px; background: rgba(255,255,255,.94); border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 800; box-shadow: 0 4px 12px -6px rgba(0,0,0,.4); }
.forest-chip.is-planted { color: #2e7d32; } .forest-chip.is-pending { color: #9a6b00; }
.forest-card-body { display: flex; gap: 12px; padding: 14px 16px 16px; align-items: flex-start; }
.forest-qr { flex: 0 0 64px; width: 64px; height: 64px; border: 1px solid #eef2f5; border-radius: 8px; padding: 3px; background: #fff; }
.forest-card-info { min-width: 0; flex: 1; }
.forest-card-name { font-weight: 800; color: var(--ases-ink); font-size: 17px; margin: 0 0 4px; overflow-wrap: anywhere; }
.forest-card-meta { display: flex; flex-direction: column; gap: 2px; color: #6b7a84; font-size: 12.5px; }
.forest-card-meta span { overflow-wrap: anywhere; }
.forest-card-link { display: inline-block; margin-top: 8px; color: var(--ases-blue-dark); font-weight: 700; font-size: 13.5px; }
.forest-noresult { text-align: center; color: #8b9aa5; margin-top: 24px; }

/* certificate */
.tcert-section { background: linear-gradient(180deg, #f3f9f3, #eaf3f8); }
.tcert { position: relative; max-width: 640px; margin: 0 auto; background: #fff; border: 2px solid var(--ases-green); border-radius: 22px; padding: 40px 34px 34px; text-align: center; box-shadow: 0 30px 70px -40px rgba(0,52,28,.5); }
.tcert::before, .tcert::after { content: ""; position: absolute; width: 26px; height: 26px; border: 3px solid var(--ases-lime); }
.tcert::before { top: 12px; inset-inline-start: 12px; border-inline-end: 0; border-bottom: 0; }
.tcert::after { bottom: 12px; inset-inline-end: 12px; border-inline-start: 0; border-top: 0; }
.tcert-ribbon { display: inline-block; background: var(--ases-green); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .03em; border-radius: 999px; padding: 6px 18px; margin-bottom: 14px; }
.tcert-logo { max-width: 180px; margin: 0 auto 14px; display: block; }
.tcert-lead { color: #5b6b76; font-size: 14.5px; margin: 0 0 6px; }
.tcert-name { font-size: clamp(26px, 5vw, 38px); font-weight: 800; color: var(--ases-ink); margin: 4px 0; line-height: 1.2; }
.tcert-title { color: var(--ases-green); font-weight: 700; font-size: 15px; margin-bottom: 16px; }
.tcert-photo { margin: 16px auto; border-radius: 14px; overflow: hidden; max-width: 380px; }
.tcert-photo img { width: 100%; display: block; }
.tcert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; text-align: start; }
.tcert-fact { background: #f6faf6; border-radius: 12px; padding: 12px 14px; }
.tcert-fact .k { color: #8b9aa5; font-size: 12px; font-weight: 700; margin-bottom: 3px; text-align: start; }
.tcert-fact .v { color: var(--ases-ink); font-weight: 700; font-size: 14.5px; overflow-wrap: anywhere; text-align: start; }
.tcert-fact .v .ases-num { unicode-bidi: embed; }
.tcert-maplink { color: var(--ases-blue-dark); font-weight: 700; }
.tcert-ded { font-style: italic; color: #4a5b64; background: var(--ases-green-pale); border-radius: 12px; padding: 14px 18px; margin: 16px 0; border: 0; }
.tcert-qrbox { display: flex; gap: 18px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 20px; padding-top: 20px; border-top: 1px dashed #cfe0d2; }
.tcert-qr { flex: 0 0 150px; width: 150px; height: 150px; padding: 6px; background: #fff; border: 1px solid #e7eef3; border-radius: 12px; }
.tcert-qrnote { text-align: start; max-width: 260px; }
.tcert-qrnote p { color: #6b7a84; font-size: 13px; margin: 8px 0 0; }
.tcert-status { display: inline-block; font-weight: 800; font-size: 12.5px; border-radius: 999px; padding: 4px 12px; }
.tcert-status.is-planted { background: #eef8d6; color: #2e7d32; } .tcert-status.is-pending { background: #fef3cd; color: #9a6b00; }
.tcert-proj a { color: var(--ases-blue-dark); font-weight: 700; }
.tcert-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
.tcert-sh { display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 12px; padding: 11px 18px; font-family: inherit; font-weight: 800; font-size: 14px; line-height: 1; cursor: pointer; color: #fff; text-decoration: none; box-shadow: 0 10px 22px -14px rgba(0,0,0,.5); transition: transform .15s ease, filter .15s ease; }
.tcert-sh:hover { transform: translateY(-2px); filter: brightness(1.06); color: #fff; }
.tcert-wa { background: #25d366; }
.tcert-fb { background: #1877f2; }
.tcert-x { background: #111; }
.tcert-print { background: var(--ases-blue-dark); }
.tcert-forest { background: var(--ases-green, #2e7d32); }
.tcert-copy { background: #eef3f1; color: var(--ases-ink); box-shadow: none; }
.tcert-copy:hover { background: #e2eae6; color: var(--ases-ink); }
@media (max-width: 575.98px) { .tcert-sh { flex: 1 1 calc(50% - 10px); justify-content: center; padding: 11px 12px; } }
@media (max-width: 540px) { .tcert { padding: 28px 18px; } .tcert-grid { grid-template-columns: 1fr; } .tcert-qrbox { flex-direction: column; } .tcert-qrnote { text-align: center; } }
@media print {
  body { background: #fff !important; }
  body * { visibility: hidden !important; }
  #tcert, #tcert * { visibility: visible !important; }
  #tcert { position: absolute; left: 0; right: 0; top: 0; margin: 0 auto; box-shadow: none !important; }
  @page { margin: 12mm; }
}

/* ===================== clean vector icons (shared) ===================== */
.ases-ico { display: inline-block; vertical-align: -.15em; flex: 0 0 auto; }
.ases-ico.is-gold { color: #e0a92e; } .ases-ico.is-silver { color: #9aa6b2; } .ases-ico.is-bronze { color: #c4793f; }
.forest-card-ph { color: var(--ases-green); }
.redeem-ico { color: var(--ases-green); line-height: 0; }
.eco-cert-seal { color: var(--ases-green); }
.lb-rank .ases-ico { vertical-align: middle; }
.ases-shop-impact .leaf { color: var(--ases-green); line-height: 0; }

/* ===================== article comments ===================== */
.ases-comments { margin-top: 38px; padding-top: 26px; border-top: 1px solid #e7eef3; }
.ases-comments-title { font-weight: 800; color: var(--ases-blue-dark); font-size: 20px; margin: 0 0 18px; }
.ases-comments-empty { color: #7a8a94; }
.ases-comment-list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.ases-comment { display: flex; gap: 13px; align-items: flex-start; }
.ases-comment-av { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; background: var(--ases-green-pale, #eaf3ec); color: var(--ases-green); display: grid; place-items: center; font-weight: 800; font-size: 17px; overflow: hidden; }
.ases-comment-av img { width: 100%; height: 100%; object-fit: cover; }

/* Share widget + engagement-points toast */
/* Label on its own line, then ONE row of round icon-only buttons. The old pill buttons carried their
   network name as text, so on a phone they wrapped onto two or three ragged lines. */
.ases-share { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 24px 0; padding: 14px 16px; background: var(--ases-green-pale); border-radius: 14px; }
.ases-share-lbl { font-weight: 800; color: var(--ases-green); display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; }
.ases-share-btns { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; }
.ases-share button { width: 42px; height: 42px; flex: 0 0 auto; border: 1px solid #d7e3ea; background: #fff; color: var(--ases-ink);
    border-radius: 50%; padding: 0; display: inline-grid; place-items: center; cursor: pointer; transition: .18s; font-family: inherit; }
.ases-share button svg { display: block; }
/* brand colours on hover so each target is recognisable without a text label */
.ases-share button.sh-wa { color: #1da851; }
.ases-share button.sh-fb { color: #1877f2; }
.ases-share button.sh-x  { color: #15212b; }
.ases-share button.sh-cp { color: var(--ases-green); }
.ases-share button.sh-wa:hover { background: #25d366; border-color: #25d366; color: #fff; }
.ases-share button.sh-fb:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.ases-share button.sh-x:hover  { background: #000;    border-color: #000;    color: #fff; }
.ases-share button.sh-cp:hover { background: var(--ases-green); border-color: var(--ases-green); color: #fff; }
.ases-share button:focus-visible { outline: 2px solid var(--ases-green); outline-offset: 2px; }
@media (max-width: 380px) { .ases-share button { width: 38px; height: 38px; } .ases-share-btns { gap: 8px; } }
.ases-toast { position: fixed; inset-inline: 0; bottom: 24px; margin-inline: auto; width: max-content; max-width: 90%; background: var(--ases-navy); color: #fff; padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; box-shadow: 0 14px 36px -14px rgba(14, 38, 56, .6); opacity: 0; transform: translateY(12px); transition: .3s; z-index: 99998; pointer-events: none; }
.ases-toast.show { opacity: 1; transform: translateY(0); }
.ases-comment-main { flex: 1; min-width: 0; background: #f7faf9; border: 1px solid #eef2f5; border-radius: 14px; padding: 13px 16px; }
.ases-comment-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.ases-comment-head strong { color: var(--ases-ink); font-size: 14.5px; }
.ases-comment-head time { color: #9bb; font-size: 12px; }
.ases-comment-main p { margin: 0; color: #3f4f58; line-height: 1.8; overflow-wrap: anywhere; }
.ases-comment-form { background: #f7faf9; border: 1px solid #eef2f5; border-radius: 14px; padding: 16px; }
.ases-comment-form label { display: block; font-weight: 700; color: var(--ases-ink); margin-bottom: 8px; font-size: 14px; }
.ases-comment-form textarea { width: 100%; border: 1.5px solid #dbe5ea; border-radius: 10px; padding: 11px 13px; font-family: inherit; font-size: 14.5px; resize: vertical; margin-bottom: 12px; }
.ases-comment-form textarea:focus { outline: none; border-color: var(--ases-green); box-shadow: 0 0 0 3px rgba(33,110,151,.12); }
/* Spam honeypot — a real, focusable input that bots fill and humans never see.
   It must NOT be hidden with a negative offset: this site is RTL, so leftward overflow lies in the
   scrollable inline direction and `left:-9999px` inflates the document to ~10,000px wide at every
   viewport, which looks exactly like the layout having stopped being responsive. Clipping removes
   it from the layout while keeping it in the DOM and submittable. */
.ases-hp { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; border: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; opacity: 0 !important; pointer-events: none; }
.ases-comment-login { background: #f3f9f3; border: 1px solid #d6ebd6; border-radius: 14px; padding: 18px; }
.ases-comment-login .ul-btn { margin-inline-end: 8px; }

/* ===================== cookie consent bar ===================== */
.ases-cookie { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 1200; max-width: 780px; margin-inline: auto; background: #0e2638; color: #fff; border: 1px solid rgba(255,255,255,.09); border-radius: 16px; box-shadow: 0 24px 60px -22px rgba(0,0,0,.6); transform: translateY(180%); transition: transform .4s cubic-bezier(.2,.7,.3,1); }
.ases-cookie.show { transform: translateY(0); }
.ases-cookie-in { display: flex; align-items: center; gap: 14px; padding: 15px 18px; flex-wrap: wrap; }
.ases-cookie-ic { color: var(--ases-lime); flex: 0 0 auto; display: inline-flex; }
.ases-cookie-in p { margin: 0; flex: 1; min-width: 220px; font-size: 13.5px; line-height: 1.7; color: #dbe7ef; }
.ases-cookie-btns { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.ases-cookie-link { color: #b9cdda; font-weight: 700; font-size: 13px; text-decoration: underline; white-space: nowrap; }
.ases-cookie-link:hover { color: #fff; }
.ases-cookie-ok { background: var(--ases-lime); color: var(--ases-ink); border: 0; border-radius: 10px; padding: 10px 26px; font-family: inherit; font-weight: 800; font-size: 14px; cursor: pointer; transition: .18s; box-shadow: 0 8px 20px -10px rgba(168,225,12,.7); }
.ases-cookie-ok:hover { filter: brightness(1.06); transform: translateY(-1px); }
@media (max-width: 575.98px) { .ases-cookie { inset-inline: 10px; bottom: 10px; } .ases-cookie-in { padding: 14px; gap: 12px; } .ases-cookie-btns { width: 100%; justify-content: space-between; } }
/* Phones only: Tajawal renders «موافق» visually larger than Manrope renders «Accept» at the same 14px,
   so the Arabic accept button looked bigger than the English one. Match it visually (size only). */
@media (max-width: 575.98px) { html[lang="ar"] .ases-cookie-ok { font-size: 12.5px; } }

/* ===== Mobile/tablet nav drawer tidy-ups (≤991px, where the hamburger drawer is used) ===== */
@media (max-width: 991px) {
  /* «تابعنا / Follow us» was pinned to the very bottom (margin-top:auto), landing under the floating
     chat + accessibility FABs. Un-pin it so it sits right after the nav links, well clear of the FABs
     regardless of screen height (applies to both AR & EN). */
  .ul-sidebar .ul-sidebar-footer { margin-top: 18px; }
  /* The submenu chevron is pinned to the physical right (right:0). In RTL that put it on top of the
     right-aligned Arabic page name. Mirror it to the inline-start so it sits tidily like the English menu. */
  html[lang="ar"] .ul-sidebar .ul-header-nav .has-sub-menu > a::after { right: auto; left: 0; }
}
/* Hide the floating FABs (chat + accessibility) whenever a full-screen overlay covers them.
   JS toggles the html classes. Desktop (>=992px) is never affected. */
/* Open mobile/tablet nav drawer — hide the FABs while the menu is open (phones + tablets). */
@media (max-width: 991.98px) {
  .ases-chat, .ases-a11y { transition: opacity .3s ease, transform .3s ease, visibility .3s; }
  html.ases-menu-open .ases-chat,
  html.ases-menu-open .ases-a11y { opacity: 0; visibility: hidden; transform: translateY(14px); pointer-events: none; }
}
/* Cookie banner — overlaps the FABs (phones only, per request) until «موافق / Accept». */
@media (max-width: 575.98px) {
  html.ases-cookie-open .ases-chat,
  html.ases-cookie-open .ases-a11y { opacity: 0; visibility: hidden; transform: translateY(14px); pointer-events: none; }
}

/* ===================== lime + navy accents: Free Tools & Services ===================== */
:root { --ases-navy: #0e2638; }
/* tools cards: navy icon badge + lime glyph, navy→lime top reveal on hover */
.eco-card { position: relative; overflow: hidden; }
.eco-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--ases-navy), var(--ases-lime)); transform: scaleX(0); transform-origin: left; transition: .35s ease; }
html[dir="rtl"] .eco-card::before { transform-origin: right; }
.eco-card:hover::before { transform: scaleX(1); }
.eco-card-ico { background: var(--ases-navy); color: var(--ases-lime); }
.eco-card-open { color: var(--ases-navy); }
.eco-modal-head { background: linear-gradient(120deg, var(--ases-navy), var(--ases-green)); }

/* Legal / policy pages (privacy & cookies) */
.ases-legal { max-width: 860px; margin: 0 auto; }
.ases-legal-lead { font-size: 17px; line-height: 1.95; color: var(--ases-ink); font-weight: 500; }
.ases-legal h2 { font-size: 20px; color: var(--ases-blue-dark); margin: 30px 0 8px; }
.ases-legal p { color: #46555f; line-height: 1.95; margin: 0 0 10px; }
.ases-legal ul { margin: 0 0 10px; padding-inline-start: 22px; }
.ases-legal li { color: #46555f; line-height: 1.9; margin-bottom: 8px; }
.ases-legal-updated { margin-top: 26px; font-size: 13px; color: #8b9aa5; border-top: 1px solid #e7eef3; padding-top: 14px; }

/* Branded page loader — three recycling arrows (lime/navy/green) rotating right-to-left around the ASES mark */
.preloader { display: flex; align-items: center; justify-content: center; }
.ases-loader { position: relative; width: 90px; height: 90px; display: grid; place-items: center; }
.ases-rec-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: ases-rec-spin 2s linear infinite; }  /* negative = counter-clockwise = right-to-left */
@keyframes ases-rec-spin { to { transform: rotate(-360deg); } }
.ases-rec-logo { position: relative; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 3px 10px -4px rgba(14, 38, 56, .4); }
@media (prefers-reduced-motion: reduce) { .ases-rec-ring { animation-duration: 5s; } }

/* ===================== member "My Wallet" (points) ===================== */
.ases-wcard { max-width: 560px; color: #fff; border-radius: 20px; padding: 24px 26px; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--ases-navy) 0%, #15435f 55%, var(--ases-green-2) 135%); box-shadow: 0 26px 60px -28px rgba(14, 38, 56, .6); }
.ases-wcard::after { content: ""; position: absolute; width: 230px; height: 230px; border-radius: 50%; background: radial-gradient(circle, rgba(168, 225, 12, .22), transparent 70%); top: -90px; inset-inline-start: -70px; }
.ases-wcard > * { position: relative; z-index: 1; }
.ases-wcard-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ases-wcard-logo { height: 30px; width: auto; }
.ases-wcard-chip { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.ases-wcard-balance { margin: 22px 0 2px; }
.ases-wcard-lbl { display: block; font-size: 13px; opacity: .85; margin-bottom: 2px; }
.ases-wcard-pts { font-size: 46px; font-weight: 800; line-height: 1.05; color: var(--ases-lime); }
.ases-wcard-pts small { font-size: 16px; color: #fff; font-weight: 600; }
.ases-wcard-prog { height: 7px; border-radius: 999px; background: rgba(255, 255, 255, .18); overflow: hidden; margin: 14px 0 6px; }
.ases-wcard-prog i { display: block; height: 100%; background: var(--ases-lime); border-radius: 999px; }
.ases-wcard-next { font-size: 12.5px; opacity: .92; }
.ases-wcard-foot { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 18px; padding-top: 15px; border-top: 1px solid rgba(255, 255, 255, .16); }
.ases-wcard-foot div { display: flex; flex-direction: column; gap: 3px; }
.ases-wcard-foot span { font-size: 11.5px; opacity: .8; }
.ases-wcard-foot strong { font-size: 14px; font-weight: 700; }
.ases-wkpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 22px 0; }
.ases-wkpi { background: #fff; border: 1px solid #e7eef3; border-radius: 16px; padding: 18px 14px; text-align: center; box-shadow: 0 16px 40px -32px rgba(20, 40, 60, .45); }
.ases-wkpi .k-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ases-green-pale); color: var(--ases-green); margin-bottom: 9px; }
.ases-wkpi .k-val { display: block; font-size: 22px; font-weight: 800; color: var(--ases-ink); line-height: 1.2; }
.ases-wkpi .k-val small { font-size: 13px; color: #7a8a94; font-weight: 600; }
.ases-wkpi .k-lbl { display: block; font-size: 12.5px; color: #6b7a84; margin-top: 4px; line-height: 1.5; }
.ases-wgrid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; align-items: start; }
.ases-wstmt { display: flex; flex-direction: column; max-height: 460px; overflow: auto; }
.ases-wstmt-row { display: flex; align-items: center; gap: 11px; padding: 11px 2px; border-bottom: 1px solid #eef2f5; }
.ases-wstmt-row:last-child { border-bottom: 0; }
.ases-wstmt-row .s-ic { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--ases-green-pale); color: var(--ases-green); }
.ases-wstmt-row .s-main { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ases-wstmt-row .s-desc { font-size: 13.5px; color: var(--ases-ink); font-weight: 600; }
.ases-wstmt-row .s-date { font-size: 11.5px; color: #8b9aa5; }
.ases-wstmt-row .s-pts { flex: 0 0 auto; font-weight: 800; font-size: 14px; }
.ases-wstmt-row .s-pts.pos { color: var(--ases-green-2); }
.ases-wstmt-row .s-pts.neg { color: #c0791b; }
@media (max-width: 860px) { .ases-wgrid { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .ases-wkpis { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ases-wcard-pts { font-size: 38px; } }
/* services: original blue icon scheme (reverted from navy+lime per client) */
.ases-service-ico { background: var(--ases-green-pale); color: var(--ases-green); }
.ases-service:hover .ases-service-ico { background: var(--ases-green); color: #fff; }
.ases-service-link { color: var(--ases-green); }
.ba-print { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: #0e2638; font-weight: 700; font-size: 13px; }
.ba-print:hover { color: var(--ases-green); }

/* ===================== footer: balanced columns ===================== */
/* footer: EQUAL, aligned columns at every screen size + one-line links (no wrapping) */
/* Last column is the newsletter, which holds an input + submit button rather than plain links —
   at a bare 1fr the field was too narrow to show its own placeholder («بريدك الإلكتروني» clipped
   to «بريدك الإلكترو»). It gets a wider track; the link columns lose a few px each and still fit. */
.ul-footer-middle-wrapper { display: grid; grid-template-columns: 1.25fr repeat(4, 1fr) 1.3fr; gap: clamp(24px,2.4vw,38px) clamp(14px,1.4vw,28px); align-items: start; }
.ul-footer-widget { min-width: 0; max-width: none; }
.ul-footer-widget-links a { white-space: nowrap; font-size: 12.5px; }
/* Belt-and-braces for the newsletter field: min-width:0 lets it actually shrink inside the flex row
   (a flex item defaults to min-width:auto), and a slightly smaller placeholder keeps the full
   Arabic string readable even when the column is squeezed at intermediate widths. */
.ul-footer .ul-nwsltr-form .top { min-width: 0; }
.ul-footer .ul-nwsltr-form .top input { min-width: 0; font-size: clamp(12.5px, 0.8vw, 15px); text-overflow: ellipsis; }
.ul-footer .ul-nwsltr-form .top input::placeholder { font-size: 12.5px; }
@media (max-width: 1199px){ .ul-footer-middle-wrapper { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px){ .ul-footer-middle-wrapper { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px){ .ul-footer-middle-wrapper { grid-template-columns: 1fr; } }
.ul-footer-donate { align-self: flex-start; }
.ul-nwsltr-msg { font-size: 13px; font-weight: 700; margin: 0 0 8px; line-height: 1.6; }
.ul-nwsltr-msg.ok { color: var(--ases-lime); }
.ul-nwsltr-msg.err { color: #ffb4a8; }

/* ============================ Sponsors & Partners ============================ */
/* tier badge */
.ases-tier{display:inline-flex;align-items:center;gap:5px;color:#fff;font-weight:800;font-size:12px;padding:4px 11px;border-radius:999px;line-height:1.45}
.ases-tier svg{stroke:#fff}
.ases-tier--lg{font-size:13.5px;padding:6px 14px}
/* admin logo placeholder + public status pill */
.adm-spon-ph{width:42px;height:42px;border-radius:8px;display:inline-grid;place-items:center;color:#fff;flex:0 0 auto}
.adm-spon-ph svg{stroke:#fff}
.ases-spon-status{font-size:12px;font-weight:800;padding:4px 12px;border-radius:999px;background:rgba(255,255,255,.16);color:#fff}
.ases-spon-status--active{background:var(--ases-lime);color:var(--ases-ink)}

/* public sponsors page — tier blocks + cards */
.ases-spon-tier-block{margin-bottom:40px}
.ases-spon-tier-bar{display:flex;align-items:center;gap:13px;margin:0 0 18px}
.ases-spon-tier-bar::after{content:"";flex:1;height:1px;background:#e6ece6}
.ases-spon-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:18px}
.ases-spon-card{background:#fff;border:1px solid #eef2ef;border-top:3px solid var(--tc,#4F9D2A);border-radius:14px;padding:22px 16px;text-align:center;transition:.2s;box-shadow:0 8px 24px -18px rgba(0,0,0,.3)}
.ases-spon-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px -22px rgba(0,0,0,.4)}
.ases-spon-card-logo{height:64px;display:flex;align-items:center;justify-content:center;margin-bottom:12px}
.ases-spon-card-logo img{max-height:64px;max-width:140px;object-fit:contain}
.ases-spon-mono{width:54px;height:54px;border-radius:50%;color:#fff;display:inline-grid;place-items:center;font-weight:800;font-size:22px}
.ases-spon-card h4{font-size:15px;font-weight:800;margin:0 0 4px;color:var(--ases-ink)}
.ases-spon-card-tier{font-size:12px;font-weight:800;display:block;margin-bottom:8px}
.ases-spon-card-link{font-size:12.5px;font-weight:700;color:var(--ases-blue-dark);text-decoration:none}
.ases-spon-card-link:hover{text-decoration:underline}

/* become-a-sponsor tier ladder */
.ases-spon-join{background:var(--ases-green-pale)}
.ases-spon-ladder{display:grid;grid-template-columns:repeat(auto-fit,minmax(184px,1fr));gap:16px}
.ases-spon-opt{background:#fff;border:1px solid #eef2ef;border-top:3px solid var(--tc,#4F9D2A);border-radius:14px;padding:24px 18px;text-align:center}
.ases-spon-opt-ico{width:54px;height:54px;border-radius:14px;display:inline-grid;place-items:center;color:#fff;margin-bottom:12px}
.ases-spon-opt-ico svg{stroke:#fff}
.ases-spon-opt h4{font-size:16px;font-weight:800;margin:0 0 6px;color:var(--ases-ink)}
.ases-spon-opt-amt{font-weight:800;color:var(--ases-blue-dark);margin-bottom:8px;font-size:14px}
.ases-spon-opt p{font-size:13px;color:#5b6b76;line-height:1.7;margin:0}

/* sponsor dashboard card */
.ases-spon-dash-card{background:linear-gradient(135deg,var(--ases-ink),#243a47);color:#fff;border-radius:18px;padding:26px;border-top:4px solid var(--tc,#4F9D2A);margin-bottom:18px}
.ases-spon-dash-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px;flex-wrap:wrap}
.ases-spon-dash-name{font-size:clamp(20px,3vw,26px);font-weight:800;margin:0 0 16px;color:#fff}
.ases-spon-dash-meta{display:flex;flex-wrap:wrap;gap:10px 28px;font-size:13.5px;color:#cfe0d6}
.ases-spon-dash-meta strong{color:#fff}

/* homepage animated partner strip */
.ases-sponsors-band{background:#fff;overflow:hidden}
.ases-band-head{text-align:center;max-width:640px;margin:0 auto 26px}
.ases-band-head .ul-section-sub-title{color:var(--ases-green-2);font-weight:800}
.ases-band-head h2{font-size:clamp(22px,3vw,30px);font-weight:800;color:var(--ases-ink);margin:6px 0 0}
.ases-marquee{position:relative;overflow:hidden;padding:8px 0;-webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}
.ases-marquee-track{display:flex;align-items:center;gap:28px;width:max-content;animation:ases-marq 38s linear infinite}
.ases-marquee:hover .ases-marquee-track{animation-play-state:paused}
@keyframes ases-marq{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.ases-spon-chip{display:inline-flex;align-items:center;gap:10px;padding:10px 18px;border:1px solid #eef2ef;border-radius:14px;background:#fff;flex:0 0 auto;text-decoration:none;min-height:62px}
.ases-spon-chip img{height:42px;max-width:148px;object-fit:contain;filter:grayscale(1);opacity:.72;transition:.3s}
.ases-spon-chip:hover img{filter:none;opacity:1}
.ases-spon-dot{width:11px;height:11px;border-radius:50%;flex:0 0 auto}
.ases-spon-name{font-weight:800;color:var(--ases-ink);font-size:15px;white-space:nowrap}
@media (prefers-reduced-motion: reduce){ .ases-marquee-track{animation:none;flex-wrap:wrap;justify-content:center} }

/* member points hub — "how to earn" list */
.ases-earn-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.ases-earn-list li{display:flex;align-items:center;gap:10px;padding:9px 4px;border-bottom:1px dashed #e6ece6}
.ases-earn-list li:last-child{border-bottom:0}
.ases-earn-list .e-ic{flex:0 0 auto;color:var(--ases-green-2);display:inline-flex}
.ases-earn-list .e-main{flex:1;min-width:0;font-weight:700;font-size:13.5px;color:var(--ases-ink)}
.ases-earn-list .e-val{flex:0 0 auto;font-weight:800;color:#5b7d10;font-size:14px}
.ases-earn-list .e-val small{color:#8b9aa5;font-weight:600;font-size:11px}

/* ============================ Events & Activities ============================ */
.ases-events-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px}
.ases-event-card{background:#fff;border:1px solid #eef2ef;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 10px 30px -22px rgba(0,0,0,.35);transition:.2s}
.ases-event-card:hover{transform:translateY(-4px);box-shadow:0 22px 46px -26px rgba(0,0,0,.45)}
.ases-event-img{position:relative;display:block;aspect-ratio:16/10;background:var(--ases-green-pale);overflow:hidden}
.ases-event-img img{width:100%;height:100%;object-fit:cover;transition:.4s}
.ases-event-card:hover .ases-event-img img{transform:scale(1.05)}
.ases-event-date{position:absolute;inset-inline-start:14px;top:14px;background:#fff;border-radius:11px;padding:7px 11px;text-align:center;box-shadow:0 6px 18px -8px rgba(0,0,0,.4);line-height:1}
.ases-event-date .d{display:block;font-size:21px;font-weight:800;color:var(--ases-blue-dark)}
.ases-event-date .m{display:block;font-size:11px;font-weight:700;color:#8b9aa5;margin-top:2px}
.ases-event-past{position:absolute;inset-inline-end:0;top:14px;background:rgba(21,33,43,.82);color:#fff;font-size:11.5px;font-weight:800;padding:5px 12px;border-radius:999px 0 0 999px}
.ases-event-body{padding:18px;display:flex;flex-direction:column;flex:1}
.ases-event-cat{display:inline-block;align-self:flex-start;background:var(--ases-green-pale);color:var(--ases-blue-dark);font-size:11.5px;font-weight:800;padding:3px 10px;border-radius:999px;margin-bottom:8px}
.ases-event-body h3{font-size:17px;font-weight:800;margin:0 0 10px;line-height:1.5}
.ases-event-body h3 a{color:var(--ases-ink);text-decoration:none}
.ases-event-body h3 a:hover{color:var(--ases-green)}
.ases-event-meta{display:flex;flex-direction:column;gap:5px;font-size:13px;color:#5b6b76;margin-bottom:6px}
.ases-event-meta span{display:inline-flex;align-items:center;gap:7px}
.ases-event-meta svg{color:var(--ases-green-2);flex:0 0 auto}
.ases-event-spon{font-size:12.5px;color:#5b6b76;display:flex;align-items:center;gap:6px;margin-top:auto;padding-top:8px;flex-wrap:wrap}
.ases-event-sponsors{display:flex;flex-wrap:wrap;gap:14px;margin:6px 0 8px}
.ases-event-sponsor{display:flex;align-items:center;gap:11px;border:1px solid #eef2ef;border-radius:12px;padding:10px 14px;text-decoration:none;background:#fff;min-width:200px}
.ases-event-sponsor:hover{border-color:var(--ases-blue-light)}
.ases-event-sponsor img{height:42px;max-width:90px;object-fit:contain}
.ases-event-sponsor-info{display:flex;flex-direction:column;gap:4px}
.ases-event-sponsor-info strong{color:var(--ases-ink);font-size:14px}
.ases-event-facts{list-style:none;margin:0 0 16px;padding:0;display:flex;flex-direction:column;gap:10px}
.ases-event-facts li{display:flex;align-items:flex-start;gap:9px;font-size:13.5px;color:#3a4a55;line-height:1.6}
.ases-event-facts svg{color:var(--ases-green-2);flex:0 0 auto;margin-top:2px}
.ases-event-state{border-radius:10px;padding:12px 14px;font-weight:700;font-size:14px;display:flex;align-items:center;gap:8px}
.ases-event-state.ok{background:#e8f6ec;color:#1f7a3d;border:1px solid #bfe6cb}
.ases-event-state.past{background:#f1f4f3;color:#5b6b76;border:1px solid #e0e6e4}

/* list card: recap-available badge */
.ases-event-recap{position:absolute;inset-inline-end:0;top:48px;background:var(--ases-green,#1f7a44);color:#fff;font-size:11px;font-weight:800;padding:4px 11px;border-radius:999px 0 0 999px;display:inline-flex;align-items:center;gap:5px}

/* single-event: ended pill */
.ases-ended-pill{display:inline-flex;align-items:center;gap:7px;background:#eef4f1;color:#2c6b4a;border:1px solid #cfe6da;border-radius:999px;padding:6px 15px;font-weight:800;font-size:13px;margin:0 0 14px}
.ases-ended-pill svg{stroke:#2c8a57}

/* single-event: post-event recap (achievements before/after + videos) */
.ases-recap{margin-top:30px;padding:24px;border:1px solid #e3efe8;border-radius:18px;background:linear-gradient(180deg,#f6fbf8,#fff)}
.ases-recap-title{display:flex;align-items:center;gap:9px;font-size:21px;font-weight:800;color:var(--ases-green,#1f7a44);margin:0 0 12px}
.ases-recap-title svg{stroke:var(--ases-green,#1f7a44)}
.ases-recap-text{font-size:15px;line-height:1.9;color:#3a4a55;margin:0 0 18px}
.ases-recap-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.ases-recap-col h3{margin:0 0 10px}
.ases-recap-tag{display:inline-block;font-size:12.5px;font-weight:800;padding:4px 13px;border-radius:999px}
.ases-recap-before .ases-recap-tag{background:#fdeee0;color:#9a5a16}
.ases-recap-after .ases-recap-tag{background:#e3f6e9;color:#1f7a44}
.ases-recap-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:8px}
.ases-recap-photos a{display:block;aspect-ratio:1/1;border-radius:10px;overflow:hidden;border:1px solid #e7eef3}
.ases-recap-photos img{width:100%;height:100%;object-fit:cover;transition:.3s}
.ases-recap-photos a:hover img{transform:scale(1.06)}
.ases-recap-videos{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;margin-top:18px}
.ases-recap-video{position:relative;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#000;box-shadow:0 14px 32px -22px rgba(0,0,0,.5)}

/* single-event: eco-like 🌱 */
.ases-evlike{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:24px 0 4px;padding:14px 18px;border:1px solid #d9ede1;border-radius:14px;background:#f4fbf6}
.ases-evlike-btn{display:inline-flex;align-items:center;gap:9px;background:#fff;border:1.5px solid #bfe3cd;color:#1f7a44;border-radius:999px;padding:9px 18px;font-weight:800;font-size:14.5px;cursor:pointer;text-decoration:none;transition:.18s}
.ases-evlike-btn:hover{border-color:var(--ases-green,#1f7a44);transform:translateY(-1px)}
.ases-evlike.is-liked .ases-evlike-btn{background:var(--ases-green,#1f7a44);color:#fff;border-color:var(--ases-green,#1f7a44)}
.ases-evlike-emo{font-size:19px;line-height:1}
.ases-evlike.is-liked .ases-evlike-btn:hover{filter:brightness(1.05)}
.ases-evlike-meta{font-size:13px;color:#5b6b76}
.ases-evlike-meta strong{color:var(--ases-green,#1f7a44);font-size:15px}

/* single-event: participant wall */
.ases-wall{margin-top:30px;padding:24px;border:1px solid #e7eef3;border-radius:18px;background:#fff}
.ases-wall-sub{font-size:13.5px;color:#5b6b76;margin:0 0 18px;line-height:1.8}
.ases-wall-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px}
.ases-wall-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;padding:16px 10px;border:1px solid #eef2ef;border-radius:14px;background:#fafdfb;transition:.18s}
.ases-wall-card:hover{transform:translateY(-3px);box-shadow:0 16px 34px -24px rgba(0,0,0,.4)}
.ases-wall-av{width:58px;height:58px;border-radius:50%;background:var(--ases-green-pale,#eaf3ec);color:var(--ases-green,#1f7a44);display:grid;place-items:center;font-weight:800;font-size:22px;overflow:hidden;margin-bottom:3px}
.ases-wall-av img{width:100%;height:100%;object-fit:cover}
.ases-wall-name{font-weight:800;font-size:13.5px;color:var(--ases-ink);line-height:1.4}
.ases-wall-lvl{font-size:11px;font-weight:700;color:#8b9aa5}
.ases-wall-pts{font-size:12px;font-weight:800;color:#1f7a44;background:#eaf6ee;border-radius:999px;padding:2px 9px}
.ases-wall-toggle{margin-top:16px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.ases-wall-toggle button{background:#f1f4f3;border:1px solid #dde6e2;color:#46545e;border-radius:9px;padding:7px 15px;font-size:12.5px;font-weight:700;cursor:pointer;font-family:inherit}
.ases-wall-toggle button:hover{background:#e8edeb}
@media(max-width:600px){.ases-recap-grid{grid-template-columns:1fr}}

/* home "upcoming events" — spotlight + side list */
.ases-events-home{background:var(--ases-green-pale)}
.ases-ev-feature{display:grid;grid-template-columns:1.65fr 1fr;gap:22px;align-items:stretch}
.ases-ev-feature.solo{grid-template-columns:1fr;max-width:780px}
.ases-ev-spot{position:relative;display:flex;align-items:flex-end;min-height:380px;border-radius:20px;overflow:hidden;text-decoration:none;background:linear-gradient(135deg,var(--ases-green),var(--ases-blue-dark));background-size:cover;background-position:center;box-shadow:0 20px 50px -26px rgba(0,0,0,.5);transition:.25s}
.ases-ev-spot:hover{box-shadow:0 28px 64px -28px rgba(0,0,0,.62);transform:translateY(-3px)}
.ases-ev-spot-tag{position:absolute;top:16px;inset-inline-end:16px;background:var(--ases-lime);color:var(--ases-ink);font-size:12px;font-weight:800;padding:5px 12px;border-radius:999px;display:inline-flex;align-items:center;gap:5px;z-index:3}
.ases-ev-spot-tag svg{stroke:var(--ases-ink)}
.ases-ev-cal{position:absolute;top:16px;inset-inline-start:16px;background:#fff;border-radius:13px;padding:8px 12px;text-align:center;line-height:1;box-shadow:0 8px 20px -8px rgba(0,0,0,.5);z-index:3}
.ases-ev-cal .d{display:block;font-size:24px;font-weight:800;color:var(--ases-blue-dark)}
.ases-ev-cal .m{display:block;font-size:11px;font-weight:700;color:#8b9aa5;margin-top:2px}
.ases-ev-cal.sm{position:static;box-shadow:none;border:1px solid #e6ece6;padding:7px 10px;flex:0 0 auto}
.ases-ev-cal.sm .d{font-size:19px}
.ases-ev-spot-in{position:relative;z-index:2;padding:26px;color:#fff;width:100%}
.ases-ev-spot-cat{display:inline-block;background:rgba(255,255,255,.2);color:#fff;font-size:11.5px;font-weight:800;padding:3px 11px;border-radius:999px;margin-bottom:10px}
.ases-ev-spot-in h3{color:#fff;font-size:clamp(20px,2.4vw,28px);font-weight:800;margin:0 0 8px;line-height:1.4}
.ases-ev-spot-in p{color:rgba(255,255,255,.9);font-size:14px;line-height:1.7;margin:0 0 14px;max-width:560px}
.ases-ev-spot-meta{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:13px;color:#fff;margin-bottom:16px}
.ases-ev-spot-meta span{display:inline-flex;align-items:center;gap:6px}
.ases-ev-spot-meta svg{stroke:var(--ases-lime)}
.ases-ev-pts{background:rgba(168,225,12,.22);padding:2px 11px;border-radius:999px;font-weight:800}
.ases-ev-side{display:flex;flex-direction:column;gap:12px}
.ases-ev-mini{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid #eef2ef;border-radius:14px;padding:13px 15px;text-decoration:none;transition:.2s;flex:1;box-shadow:0 12px 28px -22px rgba(13,37,54,.22)}
.ases-ev-mini:hover{transform:translateY(-2px);box-shadow:0 14px 30px -20px rgba(0,0,0,.4);border-color:var(--ases-blue-light)}
.ases-ev-mini-body{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.ases-ev-mini-body strong{color:var(--ases-ink);font-size:14.5px;font-weight:800;line-height:1.4}
.ases-ev-mini-meta{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#5b6b76}
.ases-ev-mini-meta svg{color:var(--ases-green-2);flex:0 0 auto}
.ases-ev-allcard{display:flex;align-items:center;justify-content:center;gap:6px;background:var(--ases-green);color:#fff;border-radius:14px;padding:14px;text-decoration:none;font-weight:800;font-size:14px;transition:.2s}
.ases-ev-allcard:hover{background:var(--ases-blue-dark)}
@media (max-width:860px){ .ases-ev-feature{grid-template-columns:1fr} }

/* member dashboard — "your next event" reminder banner */
.ases-next-event{display:flex;align-items:center;gap:18px;background:linear-gradient(120deg,var(--ases-green),var(--ases-blue-dark));border-radius:18px;padding:18px 22px;margin-bottom:22px;text-decoration:none;color:#fff;box-shadow:0 18px 44px -24px rgba(0,0,0,.5);transition:.2s;flex-wrap:wrap}
.ases-next-event:hover{transform:translateY(-2px);box-shadow:0 24px 54px -26px rgba(0,0,0,.6)}
.ases-ne-badge{flex:0 0 auto;width:72px;height:72px;border-radius:50%;background:var(--ases-lime);color:var(--ases-ink);display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
.ases-ne-num{font-size:28px;font-weight:800}
.ases-ne-lbl{font-size:11px;font-weight:700}
.ases-ne-d{font-size:15px;font-weight:800;text-align:center}
.ases-ne-main{flex:1;min-width:200px;display:flex;flex-direction:column;gap:4px}
.ases-ne-eyebrow{font-size:12px;font-weight:800;color:var(--ases-lime);display:inline-flex;align-items:center;gap:6px}
.ases-ne-eyebrow svg{stroke:var(--ases-lime)}
.ases-next-event strong{font-size:18px;font-weight:800;color:#fff}
.ases-ne-meta{font-size:13px;color:rgba(255,255,255,.9);display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}
.ases-ne-meta svg{stroke:var(--ases-lime)}
.ases-ne-go{flex:0 0 auto;font-weight:800;color:#fff;background:rgba(255,255,255,.16);padding:9px 16px;border-radius:10px;font-size:13.5px;white-space:nowrap}
@media(max-width:560px){ .ases-next-event{gap:13px;padding:15px} .ases-ne-go{display:none} .ases-ne-badge{width:62px;height:62px} .ases-ne-num{font-size:24px} }

/* volunteer application — interest chips */
.ases-vol-interests{display:flex;flex-wrap:wrap;gap:9px;margin:4px 0 16px}
.ases-vol-chip{display:inline-flex;align-items:center;gap:7px;border:1.5px solid #e2e9e4;border-radius:999px;padding:8px 14px;cursor:pointer;font-weight:700;font-size:13.5px;color:var(--ases-ink);transition:.15s;background:#fff}
.ases-vol-chip:hover{border-color:var(--ases-blue-light)}
.ases-vol-chip.on,.ases-vol-chip:has(input:checked){border-color:var(--ases-green);background:var(--ases-green-pale);color:var(--ases-blue-dark)}
.ases-vol-chip input{width:auto;margin:0;accent-color:var(--ases-green)}
/* member documents */
.ases-files-list{list-style:none;margin:0 0 12px;padding:0;display:flex;flex-direction:column;gap:7px}
.ases-files-list li{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f6f9f8;border:1px solid #eef2ef;border-radius:10px;padding:9px 13px}
.ases-files-list a{font-weight:700;color:var(--ases-blue-dark);text-decoration:none;display:inline-flex;align-items:center;gap:7px;font-size:13.5px;min-width:0;word-break:break-word}
.ases-files-list form{margin:0}
.ases-file-del{background:none;border:0;color:#c0392b;font-size:20px;line-height:1;cursor:pointer;padding:0 4px;font-weight:800}
.ases-docs-up{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
/* min-width must clear the Arabic placeholder («اسم المستند (مثلاً: السيرة الذاتية)» ≈ 210px + padding),
   or it renders clipped. min() keeps it from overflowing the card on a narrow phone column. */
.ases-docs-up input[type=text]{flex:1 1 240px;min-width:min(240px,100%)}
.ases-docs-up input[type=file]{flex:1 1 200px;min-width:min(200px,100%);font-size:13px}

/* beta / announcement top bar */
.ases-betabar{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:11px;flex-wrap:wrap;background:var(--ases-navy,#0e2638);color:#fff;font-size:13px;font-weight:600;padding:9px 46px 9px 18px;text-align:center;line-height:1.55;z-index:5}
/* animated lime sheen sweeping across the bar so the "beta" notice feels live */
.ases-betabar::before{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 28%,rgba(168,225,12,.20) 50%,transparent 72%);transform:translateX(-100%);animation:ases-beta-sheen 5s linear infinite;pointer-events:none}
@keyframes ases-beta-sheen{0%{transform:translateX(-100%)}60%,100%{transform:translateX(100%)}}
.ases-betabar-tag{position:relative;background:var(--ases-lime,#a8e10c);color:var(--ases-ink,#15212b);font-weight:800;font-size:11px;padding:3px 10px;border-radius:999px;white-space:nowrap;letter-spacing:.2px;animation:ases-beta-pulse 2.4s ease-in-out infinite}
@keyframes ases-beta-pulse{0%,100%{box-shadow:0 0 0 0 rgba(168,225,12,.55)}70%{box-shadow:0 0 0 7px rgba(168,225,12,0)}}
.ases-betabar-txt{position:relative;max-width:920px}
.ases-betabar-x{position:absolute;inset-inline-end:12px;top:50%;transform:translateY(-50%);background:none;border:0;color:rgba(255,255,255,.65);font-size:22px;line-height:1;cursor:pointer;padding:0 6px;z-index:1}
.ases-betabar-x:hover{color:#fff}
@media(prefers-reduced-motion:reduce){.ases-betabar::before,.ases-betabar-tag{animation:none}}

/* event sponsors — appreciative "supported by" panel */
.ases-event-thanks{background:var(--ases-green-pale,#e6f0f8);border:1px solid #d6e6dc;border-radius:16px;padding:22px 22px 8px;margin:24px 0}
.ases-event-thanks h2{display:flex;align-items:center;gap:8px;margin:0 0 6px;font-size:19px;color:var(--ases-blue-dark,#216e97)}
.ases-event-thanks h2 svg{stroke:#e0556b}
.ases-event-thanks-sub{margin:0 0 14px;color:#5b6b76;font-size:13.5px;line-height:1.85}

/* ============================ Advertising ============================ */
.ases-adzone{margin:18px 0;position:relative}
.ases-ad-media{display:block;border-radius:12px;overflow:hidden;line-height:0;border:1px solid #eef2ef}
.ases-ad-media img,.ases-ad-media video{width:100%;height:auto;display:block}
.ases-ad-label{position:absolute;top:6px;inset-inline-start:6px;background:rgba(14,38,56,.6);color:#fff;font-size:9.5px;font-weight:700;padding:2px 7px;border-radius:6px;letter-spacing:.3px;z-index:2;pointer-events:none}
.ases-ad-cta{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;text-decoration:none;border:2px dashed #c8dccd;border-radius:14px;padding:26px 18px;background:var(--ases-green-pale,#e6f0f8);color:var(--ases-blue-dark,#216e97);min-height:120px;transition:.2s}
.ases-ad-cta:hover{border-color:var(--ases-lime);background:#eef8d8}
.ases-ad-cta-ico{width:42px;height:42px;border-radius:50%;background:#fff;display:grid;place-items:center;color:var(--ases-green-2,#15935a)}
.ases-ad-cta strong{font-size:15px;font-weight:800}
.ases-ad-cta-sub{font-size:12.5px;color:#5b6b76}
.ases-ad-slider{position:relative;border-radius:12px;overflow:hidden}
.ases-ad-slide{display:none}
.ases-ad-slide.on{display:block;animation:adfade .5s}
@keyframes adfade{from{opacity:.25}to{opacity:1}}
/* per-zone elegant sizing — object-fit:contain in framed zones so a paid creative is never cropped */
.ases-adzone--news_top,.ases-adzone--projects_top,.ases-adzone--store_top,.ases-adzone--tools_top,.ases-adzone--events_top{max-width:970px;margin-inline:auto}
/* sidebar slots: a REAL creative is capped to its native width & centred; an empty placeholder fills the column so it aligns with the rest of the sidebar */
.ases-adzone--news_sidebar .ases-ad-media,
.ases-adzone--article_sidebar .ases-ad-media,
.ases-adzone--project_sidebar .ases-ad-media,
.ases-adzone--event_sidebar .ases-ad-media{max-width:300px;margin-inline:auto}
.ases-adzone--article_inline{margin:26px 0}
.ases-adzone--article_inline .ases-ad-media{aspect-ratio:16/9;background:#0e2638;display:flex;align-items:center;justify-content:center}
.ases-adzone--article_inline .ases-ad-media img,.ases-adzone--article_inline .ases-ad-media video{width:100%;height:100%;object-fit:contain}
/* empty placeholders: keep them tidy & uniform (never tower); leaderboards a touch shorter */
.ases-adzone--news_top .ases-ad-cta,.ases-adzone--projects_top .ases-ad-cta,.ases-adzone--store_top .ases-ad-cta,.ases-adzone--tools_top .ases-ad-cta,.ases-adzone--events_top .ases-ad-cta{min-height:104px}
@media(max-width:767.98px){
  .ases-ad-cta{padding:20px 14px;min-height:92px}
  .ases-ad-cta strong{font-size:14px}
  .ases-ad-cta-sub{font-size:12px}
  .ases-adzone{margin:14px 0}
}
/* site-wide sticky bottom strip (dismissible) */
.ases-adstrip{position:fixed;left:0;right:0;bottom:0;z-index:60;background:#fff;border-top:1px solid #e2e8e5;box-shadow:0 -8px 30px -16px rgba(0,0,0,.4);padding:8px 52px;display:flex;justify-content:center;align-items:center}
.ases-adstrip-in{max-width:728px;width:100%}
.ases-adstrip-in .ases-adzone{margin:0}
.ases-adstrip-in .ases-ad-media{border:0;display:flex;justify-content:center;background:transparent}
.ases-adstrip-in .ases-ad-media img,.ases-adstrip-in .ases-ad-media video{width:auto;max-width:100%;max-height:88px}
.ases-adstrip-x{position:absolute;inset-inline-end:10px;top:50%;transform:translateY(-50%);background:#eef2f5;border:0;width:30px;height:30px;border-radius:50%;font-size:20px;line-height:1;color:#46545e;cursor:pointer}
.ases-adstrip-x:hover{background:#dde6ea}
@media(max-width:600px){.ases-adstrip{padding:6px 46px}.ases-adstrip-in .ases-ad-media img,.ases-adstrip-in .ases-ad-media video{max-height:60px}}
/* member notification bell + panel (public header) */
.ases-mnotif{position:relative;display:inline-flex}
.ases-mbell{position:relative;background:none;border:0;cursor:pointer;color:inherit;padding:6px;display:inline-grid;place-items:center;line-height:0}
.ases-mbell-badge{position:absolute;top:-2px;inset-inline-end:-2px;background:#e23b3b;color:#fff;font-size:10px;font-weight:800;min-width:17px;height:17px;border-radius:9px;display:grid;place-items:center;padding:0 4px;line-height:1}
.ases-mnotif-panel{position:absolute;top:calc(100% + 10px);inset-inline-end:0;width:330px;max-width:88vw;background:#fff;border:1px solid #e6eae9;border-radius:14px;box-shadow:0 20px 50px -18px rgba(0,0,0,.4);z-index:80;overflow:hidden}
.ases-mnotif-head{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 15px;border-bottom:1px solid #eef2f5;background:#fafbfb}
.ases-mnotif-head strong{font-size:14px;color:var(--ases-ink,#15212b)}
.ases-mnotif-head button{background:none;border:0;color:var(--ases-blue-dark);font-size:12px;font-weight:700;cursor:pointer;font-family:inherit}
.ases-mnotif-list{max-height:380px;overflow:auto}
.ases-mnotif-empty{padding:26px 16px;text-align:center;color:#8b9aa5;font-size:13px}
.ases-mnotif-row{display:flex;gap:10px;padding:11px 15px;border-bottom:1px solid #f1f4f6;text-decoration:none;color:var(--ases-ink,#15212b);transition:.15s}
.ases-mnotif-row:last-child{border-bottom:0}
.ases-mnotif-row:hover{background:#f7fbff}
.ases-mnotif-row.is-unread{background:#f0f7ff}
.ases-mnotif-ic{width:30px;height:30px;border-radius:9px;background:var(--ases-green-pale,#e6f0f8);color:var(--ases-blue-dark);display:grid;place-items:center;flex:0 0 auto}
.ases-mnotif-ic svg{width:16px;height:16px}
.ases-mnotif-txt{min-width:0;display:flex;flex-direction:column;gap:2px}
.ases-mnotif-txt .t{font-size:13px;font-weight:700;line-height:1.4}
.ases-mnotif-txt .b{font-size:12px;color:#5b6b76;line-height:1.5}
.ases-mnotif-txt .tm{font-size:11px;color:#9aa7b0}
/* member «my ads» cards (with change-creative) */
.ases-myad{border:1px solid #eef2ef;border-radius:12px;padding:12px 14px;margin-bottom:10px;background:#fff}
.ases-myad-top{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.ases-myad-edit{margin-top:8px}
.ases-myad-edit>summary{cursor:pointer;color:var(--ases-blue-dark);font-weight:700;font-size:13px;list-style:none;display:inline-flex;align-items:center;gap:5px}
.ases-myad-edit>summary::-webkit-details-marker{display:none}
/* advertise page */
.ases-adsteps{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}
.ases-adstep{background:#fff;border:1px solid #eef2ef;border-radius:14px;padding:20px 18px;text-align:center}
.ases-adstep-n{width:38px;height:38px;border-radius:50%;background:var(--ases-lime);color:var(--ases-ink);font-weight:800;display:inline-grid;place-items:center;margin-bottom:10px}
.ases-adstep strong{display:block;font-size:15.5px;font-weight:800;color:var(--ases-ink);margin-bottom:5px}
.ases-adstep>span:not(.ases-adstep-n){font-size:13px;color:#5b6b76;line-height:1.7}
.ases-adpkgs{display:flex;flex-wrap:wrap;justify-content:center;gap:18px}      /* centered as a group — auto-fill grid left an empty track that pushed cards off-centre */
.ases-adpkg{flex:0 1 220px;background:#fff;border:1px solid #eef2ef;border-top:3px solid var(--ases-blue,#52a1d0);border-radius:16px;padding:24px 20px;text-align:center;box-shadow:0 10px 30px -22px rgba(0,0,0,.35);transition:.2s}
.ases-adpkg:hover{transform:translateY(-4px)}
.ases-adpkg-type{display:inline-block;background:var(--ases-green-pale,#e6f0f8);color:var(--ases-blue-dark,#216e97);font-size:11.5px;font-weight:800;padding:3px 11px;border-radius:999px;margin-bottom:10px}
.ases-adpkg h3{font-size:17px;font-weight:800;color:var(--ases-ink);margin:0 0 8px}
.ases-adpkg-price{font-size:30px;font-weight:800;color:var(--ases-blue-dark,#216e97);line-height:1}
.ases-adpkg-price small{font-size:14px;color:#8b9aa5;font-weight:700}
.ases-adpkg-dur{font-size:13px;color:#5b6b76;margin:3px 0 14px}
.ases-adpkg-feats{list-style:none;margin:0 0 16px;padding:0;display:flex;flex-direction:column;gap:7px;text-align:start}
.ases-adpkg-feats li{display:flex;align-items:center;gap:8px;font-size:13px;color:#3a4a55}
.ases-adpkg-feats svg{color:var(--ases-green-2,#15935a);flex:0 0 auto}

/* ===================== accessibility widget (floating, above the chat) ===================== */
/* stacked directly ABOVE the chat FAB — both FABs are now the SAME size (56px), so the a11y uses the chat's EXACT right (no offset → centres align), and bottom = chat bottom + 56px FAB + 14px gap. tracks the chat on every screen size */
.ases-a11y{position:fixed;right:clamp(26px,2vw,42px);bottom:calc(clamp(26px,3vh,40px) + 70px);z-index:1190}
.ases-a11y-fab{width:56px;height:56px;border-radius:50%;border:0;cursor:pointer;display:grid;place-items:center;background:var(--ases-blue-dark);color:#fff;box-shadow:0 12px 30px -8px rgba(33,110,151,.55),0 0 0 5px rgba(33,110,151,.14);transition:.22s}
.ases-a11y-fab:hover{transform:translateY(-2px) scale(1.05)}
.ases-a11y-fab svg{width:28px;height:28px}
.ases-a11y-panel{position:absolute;bottom:66px;right:0;left:auto;width:min(318px,calc(100vw - 32px));background:#fff;border-radius:16px;box-shadow:0 24px 60px -18px rgba(0,0,0,.45);overflow:hidden;border:1px solid #e9eef1}
.ases-a11y-panel[hidden]{display:none}
.ases-a11y-head{background:var(--ases-blue-dark,#184f70);color:#fff;padding:12px 15px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.ases-a11y-head strong{font-size:15px;font-weight:800}
.ases-a11y-head button{background:rgba(255,255,255,.16);border:0;color:#fff;border-radius:8px;cursor:pointer;font-size:12px;font-weight:700;padding:5px 9px;font-family:inherit}
.ases-a11y-head button:hover{background:rgba(255,255,255,.3)}
.ases-a11y-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:13px}
.ases-a11y-opt{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;background:#f5f8fa;border:1.5px solid #e7eef3;border-radius:12px;padding:12px 6px;cursor:pointer;font-family:inherit;font-size:12px;font-weight:700;color:var(--ases-ink,#15212b);transition:.15s}
.ases-a11y-opt:hover{border-color:var(--ases-blue,#52a1d0)}
.ases-a11y-opt svg{width:23px;height:23px;color:var(--ases-blue-dark)}
.ases-a11y-opt.is-on{background:var(--ases-blue-dark);border-color:var(--ases-blue-dark);color:#fff}
.ases-a11y-opt.is-on svg{color:#fff}
.ases-a11y-font{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#eef4f8;border:1.5px solid #e0e9ef;border-radius:12px;padding:8px 12px}
.ases-a11y-font .lbl{font-weight:800;font-size:13px;color:var(--ases-ink,#15212b)}
.ases-a11y-font .step{display:flex;align-items:center;gap:9px}
.ases-a11y-font .step button{width:34px;height:34px;border-radius:9px;border:0;background:var(--ases-blue-dark);color:#fff;font-size:15px;font-weight:800;cursor:pointer;font-family:inherit}
.ases-a11y-font .step button:disabled{opacity:.4;cursor:default}
.ases-a11y-font .lvl{min-width:14px;text-align:center;font-weight:800;font-size:14px;color:var(--ases-ink,#15212b)}
.ases-a11y-guide{position:fixed;left:0;right:0;height:40px;background:rgba(33,110,151,.12);border-top:2px solid var(--ases-blue-dark);border-bottom:2px solid var(--ases-blue-dark);pointer-events:none;z-index:1185;display:none}
html.a11y-guide .ases-a11y-guide{display:block}
@media(max-width:480px){.ases-a11y{right:18px;bottom:88px}}   /* both FABs 56px @ right:18 ⇒ same right = perfectly aligned; bottom 88 = chat bottom 18 + 56 FAB + 14 gap */

/* ----- accessibility effects (applied to <html>; scoped to content so the widgets stay usable) ----- */
html.a11y-zoom-1 main,html.a11y-zoom-1 .ul-footer{zoom:1.10}
html.a11y-zoom-2 main,html.a11y-zoom-2 .ul-footer{zoom:1.20}
html.a11y-zoom-3 main,html.a11y-zoom-3 .ul-footer{zoom:1.32}
html.a11y-grayscale :is(header,main,.ul-footer){filter:grayscale(1)}
html.a11y-no-anim *,html.a11y-no-anim *::before,html.a11y-no-anim *::after{animation:none !important;transition:none !important;scroll-behavior:auto !important}
html.a11y-links :is(main,.ul-footer) a{text-decoration:underline !important;text-underline-offset:2px;outline:2px solid var(--ases-lime,#a8e10c);outline-offset:1px;background:rgba(168,225,12,.18) !important;border-radius:3px}
html.a11y-readable :is(main,.ul-footer) :is(p,li,span,a,td,th,h1,h2,h3,h4,h5,label,input,textarea,button,div){font-family:Tahoma,Arial,'Tajawal',sans-serif !important;letter-spacing:.015em !important}
html.a11y-spacing :is(main,.ul-footer) :is(p,li,span,a,td,th){letter-spacing:.05em !important;word-spacing:.16em !important;line-height:1.95 !important}
html.a11y-cursor,html.a11y-cursor *{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='42' viewBox='0 0 42 42'%3E%3Cpath d='M6 3 L6 31 L13.5 24 L18.5 34 L23 32 L18 22.5 L28 22.5 Z' fill='black' stroke='white' stroke-width='1.6'/%3E%3C/svg%3E") 6 3,auto !important}
html.a11y-contrast{background:#000}
html.a11y-contrast :is(header,main,.ul-footer){background:#000 !important}
html.a11y-contrast :is(header,main,.ul-footer) *:not(svg):not(path):not(img):not(video){background-color:transparent !important;color:#fff !important;border-color:#666 !important;box-shadow:none !important}
html.a11y-contrast :is(header,main,.ul-footer) a,html.a11y-contrast :is(header,main,.ul-footer) a *{color:#ffd400 !important}

/* ===================== advertiser ad-performance report ===================== */
.ases-adrep-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.ases-adrep-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.ases-adrep-kpi{background:#f5f8fa;border:1px solid #e7eef3;border-radius:12px;padding:14px 8px;text-align:center}
.ases-adrep-kpi .k{display:block;font-size:23px;font-weight:800;color:var(--ases-blue-dark,#216e97);line-height:1}
.ases-adrep-kpi .l{display:block;font-size:11.5px;color:#5b6b76;margin-top:5px;line-height:1.4}
@media(max-width:560px){.ases-adrep-kpis{grid-template-columns:repeat(2,1fr)}}
.ases-adrep-legend{display:flex;gap:16px;font-size:12.5px;color:#5b6b76;margin:4px 0 12px}
.ases-adrep-legend .dot{display:inline-block;width:10px;height:10px;border-radius:3px;vertical-align:middle;margin-inline-end:4px}
.ases-adrep-legend .dot-i{background:var(--ases-blue-dark)}
.ases-adrep-legend .dot-c{background:var(--ases-lime,#a8e10c)}
.ases-adrep-chart{display:flex;align-items:flex-end;gap:6px;padding:6px 0;overflow-x:auto}
.ases-adrep-col{flex:1 0 18px;display:flex;flex-direction:column;align-items:center;gap:6px}
.ases-adrep-col .bars{height:104px;display:flex;align-items:flex-end;justify-content:center;gap:3px}
.ases-adrep-col .bar{width:9px;border-radius:3px 3px 0 0}
.ases-adrep-col .bar-i{background:var(--ases-blue-dark)}
.ases-adrep-col .bar-c{background:var(--ases-lime,#a8e10c)}
.ases-adrep-col .day{font-size:10.5px;color:#9aa7b0}
.ases-adrep-mini{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px}
.ases-adrep-mini>div{text-align:center;background:#f5f8fa;border:1px solid #e7eef3;border-radius:10px;padding:10px 6px}
.ases-adrep-mini .v{display:block;font-size:16px;font-weight:800;color:var(--ases-ink,#15212b)}
.ases-adrep-mini .t{display:block;font-size:11px;color:#5b6b76;margin-top:3px;line-height:1.4}
@media(max-width:560px){.ases-adrep-mini{grid-template-columns:repeat(2,1fr)}}
.ases-adrep-impact{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ases-adrep-impact>div{background:var(--ases-green-pale,#e6f0f8);border-radius:12px;padding:16px;text-align:center}
.ases-adrep-impact .v{display:block;font-size:21px;font-weight:800;color:var(--ases-blue-dark,#216e97)}
.ases-adrep-impact .v small{font-size:13px;font-weight:700}
.ases-adrep-impact .t{display:block;font-size:12px;color:#5b6b76;margin-top:5px;line-height:1.5}
@media(max-width:480px){.ases-adrep-impact{grid-template-columns:1fr}}
.ases-myad-stats{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:9px;padding-top:9px;border-top:1px dashed #e7eef3;font-size:12.5px;color:#5b6b76}
.ases-myad-stats strong{color:var(--ases-ink,#15212b);font-size:14px}
.ases-myad-report{margin-inline-start:auto;color:var(--ases-blue-dark);font-weight:700;text-decoration:none;display:inline-flex;align-items:center;gap:5px}
.ases-myad-report:hover{text-decoration:underline}

/* ===== Eco-Academy in-lesson AI tutor chat «سدير» ===== */
.ac-tutor{margin-top:12px}
.ac-chat{display:flex;flex-direction:column;gap:12px;max-height:360px;overflow-y:auto;padding:8px 4px;scroll-behavior:smooth}
.ac-msg{display:flex;gap:9px;align-items:flex-end;max-width:90%;animation:acPop .25s ease}
.ac-msg--sadeer{align-self:flex-start}
.ac-msg--me{align-self:flex-end}
.ac-ava{width:32px;height:32px;border-radius:50%;flex:0 0 auto;display:grid;place-items:center;background:#e7f1f8;color:#216e97;line-height:1}
.ac-bub{padding:10px 13px;border-radius:15px;line-height:1.85;font-size:14.3px;white-space:pre-wrap;word-break:break-word;text-align:start}
.ac-bub--sadeer{background:#f1f8f3;border:1px solid #dcebe0;color:#22343c}
.ac-bub--me{background:#216e97;color:#fff}
.ac-cached{display:block;font-size:11px;color:#9aa7af;margin-top:4px}
.ac-typing{display:inline-flex;gap:5px;align-items:center}
.ac-typing i{width:7px;height:7px;border-radius:50%;background:#9cc7a8;display:inline-block;animation:acBlink 1.2s infinite}
.ac-typing i:nth-child(2){animation-delay:.18s}
.ac-typing i:nth-child(3){animation-delay:.36s}
.ac-chips{display:flex;flex-wrap:wrap;gap:7px;margin:11px 0 4px}
.ac-chip{border:1.5px solid #cfe2d6;background:#fff;color:#1f7a44;border-radius:18px;padding:6px 13px;font:inherit;font-size:12.8px;font-weight:600;cursor:pointer;transition:.15s}
.ac-chip:hover{background:#eaf6ee;border-color:var(--ases-lime,#a8e10c)}
.ac-chip:focus-visible{outline:2px solid var(--ases-lime,#a8e10c);outline-offset:2px}
.ac-send:focus-visible{outline:2px solid #0c2536;outline-offset:2px}
.ac-ask{display:flex;gap:6px;align-items:flex-end;margin-top:8px;background:#fff;border:1.5px solid #e2e8ec;border-radius:16px;padding:6px}
.ac-ask:focus-within{border-color:var(--ases-lime,#a8e10c)}
.ac-ask textarea{flex:1;border:0;outline:0;resize:none;font:inherit;color:#33444f;background:transparent;max-height:120px;padding:7px 8px;line-height:1.6}
.ac-send{width:38px;height:38px;border-radius:50%;border:0;background:var(--ases-lime,#a8e10c);color:#0c2536;cursor:pointer;flex:0 0 auto;display:grid;place-items:center;transition:.15s}
.ac-send:hover{filter:brightness(.95)}
.ac-send:disabled{opacity:.5;cursor:default}
[dir="rtl"] .ac-send svg{transform:scaleX(-1)}
@keyframes acPop{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes acBlink{0%,60%,100%{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
@media (prefers-reduced-motion:reduce){.ac-msg{animation:none}.ac-typing i{animation:none;opacity:.6}.ac-chat{scroll-behavior:auto}}

/* ===== Eco-Academy course pages — responsive grids (stack on phones) ===== */
.ases-course-detail{grid-template-columns:1.7fr minmax(0,1fr)}
.ases-learn-grid{grid-template-columns:300px minmax(0,1fr)}
@media (max-width:860px){
  .ases-course-detail,.ases-learn-grid{grid-template-columns:1fr}
  .ases-learn-grid>aside{order:2;position:static!important;top:auto!important}
  .ases-course-detail>aside{position:static!important;top:auto!important;margin-top:4px}
}

/* ===== Eco-Academy "choose your learning world" — track selector cards (modern) ===== */
.ases-track-grid{ display:flex; flex-wrap:wrap; justify-content:center; gap:clamp(14px,1.7vw,22px); margin-bottom:46px; }
.ases-track-card{ --tc:#216e97; --tc-soft:rgba(33,110,151,.12); position:relative; flex:1 1 240px; max-width:312px;
  text-decoration:none; background:#fff; border:1.5px solid #eef2ef; border-radius:20px; padding:32px 24px 24px; text-align:center;
  overflow:hidden; box-shadow:0 18px 42px -32px rgba(12,37,54,.55);
  transition:transform .26s cubic-bezier(.2,.7,.3,1), box-shadow .26s, border-color .26s; }
.ases-track-card::before{ content:""; position:absolute; inset:0 0 auto 0; height:5px; background:var(--tc); }
.ases-track-card:hover{ transform:translateY(-7px); border-color:var(--tc); box-shadow:0 30px 56px -28px var(--tc-glow,rgba(12,37,54,.5)); }
.ases-track-card > :not(.ases-track-bg){ position:relative; z-index:1; }
/* large faint icon watermark in the corner — gives each "world" depth */
.ases-track-bg{ position:absolute; inset-block-end:-22px; inset-inline-start:-16px; color:var(--tc); opacity:.06; line-height:0;
  pointer-events:none; z-index:0; transform:rotate(-8deg); transition:opacity .3s, transform .3s; }
.ases-track-card:hover .ases-track-bg{ opacity:.11; transform:rotate(-3deg) scale(1.06); }
.ases-track-ic{ display:grid; place-items:center; width:70px; height:70px; margin:6px auto 16px; border-radius:19px;
  background:var(--tc-soft); color:var(--tc); box-shadow:0 0 0 6px var(--tc-soft); transition:transform .26s, box-shadow .26s; }
.ases-track-card:hover .ases-track-ic{ transform:scale(1.09) rotate(-4deg); box-shadow:0 0 0 9px var(--tc-soft); }
.ases-track-title{ margin:0 0 7px; font-size:clamp(17px,1.4vw,20px); font-weight:800; color:#0c2536; }
.ases-track-desc{ margin:0 auto 18px; max-width:24ch; font-size:13px; line-height:1.7; color:#6a7a85; min-height:2.6em; }
.ases-track-foot{ display:flex; align-items:center; justify-content:center; gap:10px; flex-wrap:wrap; margin-bottom:15px; }
.ases-track-age{ background:var(--tc-soft); color:var(--tc); font-weight:800; font-size:12px; padding:4px 13px; border-radius:30px; }
.ases-track-count{ color:#8b9aa5; font-size:12.5px; font-weight:600; }
.ases-track-go{ display:inline-flex; align-items:center; gap:6px; color:var(--tc); font-weight:800; font-size:13.5px;
  opacity:.6; transition:opacity .26s, gap .26s; }
.ases-track-card:hover .ases-track-go{ opacity:1; gap:11px; }
[dir=ltr] .ases-track-go svg{ transform:scaleX(-1); }
.ases-track-card.is-active{ border-color:var(--tc); background:linear-gradient(180deg, var(--tc-soft), #fff 78px);
  box-shadow:0 24px 50px -30px rgba(12,37,54,.5); }
.ases-track-card.is-active::before{ height:7px; }
@media (max-width:600px){ .ases-track-card{ flex-basis:100%; max-width:none; } }

/* course grid — centered flex (consistent with the track cards above; a single card sits centred, not stuck to the edge) */
.ases-course-grid .ases-course-card{ flex:0 1 330px; max-width:350px; }
@media (max-width:600px){ .ases-course-grid .ases-course-card{ flex-basis:100%; max-width:none; } }

/* homepage Eco-Academy cards — reuse the .ases-service card grammar (consistent with the rest of the home),
   recoloured per track via --tc / --tc-soft so each "world" keeps its identity */
.ases-achome-card::before{ background:var(--tc) !important; }
.ases-achome-card .ases-service-ico{ background:var(--tc-soft); color:var(--tc); }
.ases-achome-card:hover .ases-service-ico{ background:var(--tc); color:#fff; }
.ases-achome-card .ases-service-link{ color:var(--tc); }

/* ===================== footer: tidy layout (2026-11-19) =====================
   With the AI column switched off the footer has 5 blocks, but the desktop grid
   reserved 6 tracks, leaving an empty column and squeezing the about blurb into
   a tall, narrow strip. Five blocks now get five tracks, and the about column is
   no longer capped at ~270px. The blurb itself is trimmed to two sentences in
   _layout.php. */
.ul-footer-about { max-width: none; }
.ul-footer-about-txt { line-height: 1.95; }
@media (min-width: 1200px){
  .ul-footer-middle-wrapper:not(:has(> :nth-child(6))) { grid-template-columns: 1.6fr repeat(3, 1fr) 1.35fr; }
}
