/* ==========================================================================
   Al Harmain Quran Academy theme styles
   Mobile-first. Brand tokens are CSS custom properties so they can be
   overridden from Appearance > Customize > Additional CSS if needed.
   ========================================================================== */

/* Fonts (self-hosted, SIL Open Font License) */
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/cormorant-garamond-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Figtree";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/figtree-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Figtree";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/figtree-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Figtree";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/figtree-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Figtree";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/figtree-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Amiri";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/amiri-arabic-400-normal.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF}

:root{
  --ah-emerald:#123F35;
  --ah-emerald-2:#1B5A49;
  --ah-emerald-deep:#0C2D25;
  --ah-gold:#C6A45A;
  --ah-gold-dark:#9E7F3B;
  --ah-gold-soft:#EFE3C4;
  --ah-cream:#FBF8F0;
  --ah-cream-2:#F3ECDC;
  --ah-white:#FFFFFF;
  --ah-ink:#1D2623;
  --ah-text:#3B4744;
  --ah-muted:#66736F;
  --ah-line:#E6DCC6;
  --ah-wa:#1F9D55;
  --ah-radius:16px;
  --ah-radius-sm:10px;
  --ah-shadow:0 1px 2px rgba(18,63,53,.06),0 10px 30px rgba(18,63,53,.08);
  --ah-shadow-lg:0 2px 4px rgba(18,63,53,.06),0 22px 50px rgba(18,63,53,.14);
  --ah-font-head:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  --ah-font-body:"Figtree",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --ah-font-ar:"Amiri","Traditional Arabic","Times New Roman",serif;
  --ah-container:1200px;
  --ah-gutter:20px;
  --ah-header-h:72px;
  --ah-pattern:url(../images/pattern.svg);
}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
body{margin:0;background:var(--ah-white);color:var(--ah-text);font-family:var(--ah-font-body);font-size:17px;line-height:1.7;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img,svg,video{max-width:100%;height:auto}
a{color:var(--ah-emerald-2);text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{color:var(--ah-gold-dark)}
:focus-visible{outline:3px solid var(--ah-gold);outline-offset:3px;border-radius:4px}
h1,h2,h3,h4,h5,h6{font-family:var(--ah-font-head);color:var(--ah-emerald);font-weight:700;line-height:1.15;margin:0 0 .5em;letter-spacing:-.005em}
h1{font-size:clamp(2.35rem,6vw,3.9rem)}
h2{font-size:clamp(2rem,4.4vw,3rem)}
h3{font-size:clamp(1.45rem,2.6vw,1.75rem)}
h4{font-size:1.3rem}
p{margin:0 0 1.1em}
ul,ol{padding-left:1.25em}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.skip-link:focus{clip:auto;clip-path:none;height:auto;width:auto;left:12px;top:12px;z-index:100000;background:var(--ah-white);color:var(--ah-emerald);padding:12px 18px;border-radius:8px;box-shadow:var(--ah-shadow)}
.ah-container{width:100%;max-width:calc(var(--ah-container) + var(--ah-gutter)*2);margin:0 auto;padding:0 var(--ah-gutter)}

/* ---------- Buttons (theme) ---------- */
.ah-btn{display:inline-flex;align-items:center;justify-content:center;gap:.55em;min-height:46px;padding:.7em 1.35em;border-radius:999px;border:2px solid transparent;font-family:var(--ah-font-body);font-weight:600;font-size:.98rem;line-height:1.2;text-decoration:none;cursor:pointer;transition:background-color .2s,color .2s,border-color .2s,transform .2s,box-shadow .2s;white-space:nowrap}
.ah-btn svg{width:1.15em;height:1.15em;flex:none;fill:currentColor}
.ah-btn:hover{transform:translateY(-1px)}
.ah-btn--gold{background:var(--ah-gold);color:var(--ah-emerald-deep);box-shadow:0 6px 18px rgba(198,164,90,.35)}
.ah-btn--gold:hover{background:#D3B46C;color:var(--ah-emerald-deep)}
.ah-btn--wa{background:var(--ah-wa);color:#fff}
.ah-btn--wa:hover{background:#178246;color:#fff}
.ah-btn--outline{border-color:var(--ah-emerald);color:var(--ah-emerald);background:transparent}
.ah-btn--outline:hover{background:var(--ah-emerald);color:#fff}
.ah-btn--light{border-color:rgba(255,255,255,.55);color:#fff;background:transparent}
.ah-btn--light:hover{background:#fff;color:var(--ah-emerald)}
.ah-btn--block{width:100%}

/* ---------- Top bar ---------- */
.ah-topbar{background:var(--ah-emerald-deep);color:#E7EFEA;font-size:.88rem}
.ah-topbar__inner{display:flex;align-items:center;justify-content:center;gap:18px;min-height:40px;flex-wrap:wrap}
.ah-topbar__text{display:none;margin:0}
.ah-topbar a{color:#fff;text-decoration:none;display:inline-flex;align-items:center;gap:.45em;font-weight:500}
.ah-topbar a:hover{color:var(--ah-gold)}
.ah-topbar svg{width:15px;height:15px;fill:var(--ah-gold)}
@media (min-width:768px){.ah-topbar__inner{justify-content:space-between}.ah-topbar__text{display:block}}
.ah-topbar__links{display:flex;gap:20px}

/* ---------- Header ---------- */
.ah-header{position:sticky;top:0;z-index:999;background:#fff;border-bottom:1px solid var(--ah-line)}
.admin-bar .ah-header{top:46px}
@media (min-width:783px){.admin-bar .ah-header{top:32px}}
@media (max-width:600px){.admin-bar .ah-header{top:0}}
.ah-header__inner{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:var(--ah-header-h)}
@media (min-width:1280px){.ah-header .ah-container,.ah-topbar .ah-container{max-width:1400px}}
.ah-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ah-emerald);min-width:0}
.ah-brand__mark{width:46px;height:46px;flex:none}
.ah-brand .custom-logo{max-height:56px;width:auto;display:block}
.ah-brand__text{display:flex;flex-direction:column;line-height:1.05;min-width:0}
.ah-brand__name{font-family:var(--ah-font-head);font-weight:700;font-size:1.32rem;color:var(--ah-emerald);white-space:nowrap}
.ah-brand__tag{font-size:.74rem;letter-spacing:.06em;color:var(--ah-gold-dark);font-weight:600;margin-top:4px;white-space:nowrap}
@media (max-width:767px){.ah-brand__name{font-size:1.14rem;white-space:normal}.ah-brand__mark{width:40px;height:40px}.ah-brand__tag{font-size:.68rem}}
@media (max-width:400px){.ah-brand__tag{display:none}.ah-menu-toggle{padding:10px 13px}}
.ah-header__actions{display:none;align-items:center;gap:10px}
.ah-header__actions .ah-btn{min-height:44px;padding:.6em 1.1em;font-size:.93rem}

/* Menu toggle */
.ah-menu-toggle{display:inline-flex;align-items:center;gap:8px;background:var(--ah-emerald);color:#fff;border:0;border-radius:999px;padding:10px 16px;font:600 .92rem/1 var(--ah-font-body);cursor:pointer}
.ah-menu-toggle__bars{position:relative;width:18px;height:12px}
.ah-menu-toggle__bars span{position:absolute;left:0;width:100%;height:2px;background:currentColor;border-radius:2px;transition:transform .25s,opacity .2s,top .25s}
.ah-menu-toggle__bars span:nth-child(1){top:0}.ah-menu-toggle__bars span:nth-child(2){top:5px}.ah-menu-toggle__bars span:nth-child(3){top:10px}
.ah-menu-toggle[aria-expanded="true"] .ah-menu-toggle__bars span:nth-child(1){top:5px;transform:rotate(45deg)}
.ah-menu-toggle[aria-expanded="true"] .ah-menu-toggle__bars span:nth-child(2){opacity:0}
.ah-menu-toggle[aria-expanded="true"] .ah-menu-toggle__bars span:nth-child(3){top:5px;transform:rotate(-45deg)}

/* Navigation: mobile panel first */
.ah-nav{position:fixed;inset:var(--ah-nav-top,112px) 0 0 0;background:var(--ah-cream);overflow-y:auto;padding:12px var(--ah-gutter) 120px;visibility:hidden;opacity:0;transform:translateY(-8px);transition:opacity .2s,transform .2s,visibility .2s;border-top:1px solid var(--ah-line)}
.ah-nav.is-open{visibility:visible;opacity:1;transform:none}
.ah-menu,.ah-menu ul{list-style:none;margin:0;padding:0}
.ah-menu>li{border-bottom:1px solid var(--ah-line);position:relative}
.ah-menu a{display:block;padding:14px 4px;color:var(--ah-emerald);font-weight:600;text-decoration:none;font-size:1.05rem}
.ah-menu a:hover,.ah-menu .current-menu-item>a,.ah-menu .current-menu-ancestor>a,.ah-menu .current_page_item>a{color:var(--ah-gold-dark)}
.ah-menu .menu-item-has-children>a{padding-right:52px}
.ah-submenu-toggle{position:absolute;right:0;top:6px;width:44px;height:44px;border:1px solid var(--ah-line);border-radius:10px;background:#fff;color:var(--ah-emerald);display:grid;place-items:center;cursor:pointer}
.ah-submenu-toggle svg{width:14px;height:14px;transition:transform .2s;fill:currentColor}
.ah-submenu-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
.ah-menu .sub-menu{display:none;padding:0 0 10px 12px;border-left:2px solid var(--ah-gold-soft);margin:0 0 8px 4px}
.ah-menu .sub-menu.is-open{display:block}
.ah-menu .sub-menu a{font-weight:500;font-size:.98rem;padding:10px 6px;color:var(--ah-text)}
.ah-nav__cta{display:grid;gap:10px;margin-top:22px}
.ah-nav-open{overflow:hidden}

@media (min-width:1280px){
  .ah-menu-toggle,.ah-nav__cta,.ah-submenu-toggle{display:none}
  .ah-header__actions{display:flex}
  .ah-nav{position:static;visibility:visible;opacity:1;transform:none;background:none;padding:0;overflow:visible;border:0;margin-left:auto}
  .ah-menu{display:flex;align-items:center;gap:2px}
  .ah-menu>li{border:0}
  .ah-menu>li>a{padding:24px 11px;font-size:.96rem;font-weight:600;position:relative;white-space:nowrap}
  .ah-menu>li>a::after{content:"";position:absolute;left:12px;right:12px;bottom:16px;height:2px;background:var(--ah-gold);transform:scaleX(0);transition:transform .2s;transform-origin:left}
  .ah-menu>li>a:hover::after,.ah-menu>li.current-menu-item>a::after,.ah-menu>li.current-menu-ancestor>a::after,.ah-menu>li.current_page_item>a::after{transform:scaleX(1)}
  .ah-menu .menu-item-has-children>a{padding-right:26px}
  .ah-menu .menu-item-has-children>a::before{content:"";position:absolute;right:10px;top:50%;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-70%) rotate(45deg);opacity:.6}
  .ah-menu .sub-menu{display:block;position:absolute;top:100%;left:-8px;min-width:250px;background:#fff;border:1px solid var(--ah-line);border-top:3px solid var(--ah-gold);border-radius:0 0 14px 14px;box-shadow:var(--ah-shadow-lg);padding:10px;margin:0;visibility:hidden;opacity:0;transform:translateY(6px);transition:opacity .18s,transform .18s,visibility .18s}
  .ah-menu li:hover>.sub-menu,.ah-menu li:focus-within>.sub-menu{visibility:visible;opacity:1;transform:none}
  .ah-menu .sub-menu a{padding:9px 12px;border-radius:8px;font-size:.94rem;white-space:nowrap}
  .ah-menu .sub-menu a:hover{background:var(--ah-cream)}
  .ah-menu .sub-menu.ah-mega{display:grid;grid-template-columns:1fr 1fr;column-gap:6px;min-width:520px}
}
@media (min-width:1280px) and (max-width:1599px){.ah-header__actions .ah-btn--wa .ah-btn__label{display:none}.ah-header__actions .ah-btn--wa{width:46px;padding:0;border-radius:50%}.ah-header__actions .ah-btn--wa svg{width:22px;height:22px}}
@media (min-width:1280px) and (max-width:1399px){.ah-menu>li>a{padding:24px 8px;font-size:.93rem}.ah-menu>li>a::after{left:8px;right:8px}.ah-brand__tag{display:none}.ah-header__actions .ah-btn--gold{padding:.6em .95em;font-size:.9rem}}

/* ---------- Main / generic content ---------- */
.ah-main{display:block;min-height:40vh}
.ah-page-header{background:var(--ah-emerald);color:#fff;padding:64px 0 56px;position:relative;overflow:hidden}
.ah-page-header::before{content:"";position:absolute;inset:0;background:var(--ah-pattern) 0 0/96px 96px;opacity:.16}
.ah-page-header>*{position:relative}
.ah-page-header h1{color:#fff;margin:0}
.ah-page-header p{color:#D9E5E0;margin:.6em 0 0}
.ah-prose{max-width:820px;margin:0 auto;padding:56px var(--ah-gutter) 72px}
.ah-prose h2{margin-top:1.4em}
.ah-prose img{border-radius:var(--ah-radius)}
.ah-posts{display:grid;gap:24px;padding:56px 0 72px}
@media (min-width:768px){.ah-posts{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1024px){.ah-posts{grid-template-columns:repeat(3,1fr)}}
.ah-post-card{background:#fff;border:1px solid var(--ah-line);border-radius:var(--ah-radius);overflow:hidden;box-shadow:var(--ah-shadow);display:flex;flex-direction:column}
.ah-post-card__body{padding:22px 24px 26px}
.ah-post-card h2{font-size:1.6rem;margin-bottom:.35em}
.ah-post-card h2 a{text-decoration:none;color:var(--ah-emerald)}
.ah-meta{font-size:.88rem;color:var(--ah-muted)}
.ah-pagination{padding:0 0 64px;text-align:center}
.ah-pagination .page-numbers{display:inline-block;padding:8px 14px;margin:2px;border-radius:8px;border:1px solid var(--ah-line);text-decoration:none}
.ah-pagination .current{background:var(--ah-emerald);color:#fff;border-color:var(--ah-emerald)}
.ah-404{text-align:center;padding:90px var(--ah-gutter)}
.ah-404 .ah-btn{margin:6px}
.ah-search-form{display:flex;gap:8px;max-width:520px;margin:20px auto 0}
.ah-search-form input[type=search]{flex:1;min-height:48px;border:1px solid var(--ah-line);border-radius:999px;padding:0 18px;font:inherit}
.ah-admin-notice{background:var(--ah-gold-soft);border:1px solid var(--ah-gold);border-radius:12px;padding:18px 22px;margin:32px auto;max-width:820px}

/* ---------- Footer ---------- */
.ah-footer{background:var(--ah-emerald-deep);color:#CFDDD7;position:relative;overflow:hidden;font-size:.97rem}
.ah-footer::before{content:"";position:absolute;inset:0;background:var(--ah-pattern) 0 0/96px 96px;opacity:.09;pointer-events:none}
.ah-footer>*{position:relative}
.ah-footer__ornament{height:6px;background:linear-gradient(90deg,var(--ah-emerald-2),var(--ah-gold),var(--ah-emerald-2))}
.ah-footer__grid{display:grid;gap:40px;padding:64px 0 48px}
@media (min-width:768px){.ah-footer__grid{grid-template-columns:1fr 1fr}}
@media (min-width:1100px){.ah-footer__grid{grid-template-columns:1.5fr 1fr 1.2fr 1.2fr;gap:48px}}
.ah-footer h2{font-size:1.45rem;color:#fff;margin:0 0 18px;position:relative;padding-bottom:12px}
.ah-footer h2::after{content:"";position:absolute;left:0;bottom:0;width:42px;height:2px;background:var(--ah-gold)}
.ah-footer a{color:#E7EFEA;text-decoration:none}
.ah-footer a:hover{color:var(--ah-gold)}
.ah-footer .ah-brand__name{color:#fff}
.ah-footer .ah-brand__tag{color:var(--ah-gold)}
.ah-footer__about{margin:18px 0 22px;max-width:420px}
.ah-footer__buttons{display:flex;flex-wrap:wrap;gap:10px}
.ah-footer__buttons .ah-btn--wa:hover{color:#fff}
.ah-footer__buttons .ah-btn--light:hover{color:var(--ah-emerald)}
.ah-footer-menu{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.ah-footer-menu a{display:inline-flex;align-items:center;gap:8px}
.ah-footer-menu a::before{content:"";width:6px;height:6px;border:1.5px solid var(--ah-gold);transform:rotate(45deg);flex:none}
.ah-contact-list{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.ah-contact-list li{display:flex;gap:12px;align-items:flex-start}
.ah-contact-list span{min-width:0;overflow-wrap:anywhere}
.ah-contact-list svg{width:18px;height:18px;fill:var(--ah-gold);flex:none;margin-top:4px}
.ah-contact-list small{display:block;color:#9FB6AD;font-size:.82rem}
.ah-footer__bottom{border-top:1px solid rgba(255,255,255,.1);padding:20px 0;font-size:.88rem;color:#A9BEB6}
.ah-footer__bottom-inner{display:flex;flex-wrap:wrap;gap:10px 24px;justify-content:space-between;align-items:center}
.ah-legal-menu{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px 20px}
@media (max-width:1279px){.ah-footer{padding-bottom:64px}}

/* ---------- Floating contact controls ---------- */
.ah-float{position:fixed;z-index:998}
.ah-float a{display:flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;font-weight:600}
.ah-float svg{width:22px;height:22px;fill:currentColor;flex:none}
@media (max-width:1279px){
  .ah-float{left:0;right:0;bottom:0;display:grid;grid-template-columns:1fr 1fr;box-shadow:0 -6px 20px rgba(0,0,0,.12)}
  .ah-float a{min-height:56px;font-size:1rem;color:#fff}
  .ah-float__wa{background:var(--ah-wa)}
  .ah-float__call{background:var(--ah-emerald)}
  .ah-float__label-long{display:none}
  body.ah-has-float{padding-bottom:56px}
}
@media (min-width:1280px){
  .ah-float{right:24px;bottom:24px;display:flex;flex-direction:column;gap:12px}
  .ah-float a{width:58px;height:58px;border-radius:50%;color:#fff;box-shadow:0 10px 24px rgba(0,0,0,.2);position:relative}
  .ah-float a>span{position:absolute;right:70px;background:var(--ah-ink);color:#fff;padding:7px 12px;border-radius:8px;font-size:.85rem;white-space:nowrap;opacity:0;transform:translateX(6px);transition:.18s;pointer-events:none}
  .ah-float a:hover>span,.ah-float a:focus-visible>span{opacity:1;transform:none}
  .ah-float svg{width:28px;height:28px}
  .ah-float__wa{background:var(--ah-wa)}
  .ah-float__call{background:var(--ah-emerald)}
  .ah-float__label-short{display:none}
}

/* ==========================================================================
   Elementor content styling (applied through CSS classes set in Elementor:
   Advanced > CSS Classes). Elementor settings you change in the editor
   always override these defaults.
   ========================================================================== */
.elementor-widget-heading .elementor-heading-title{font-family:var(--ah-font-head);color:var(--ah-emerald);line-height:1.15;font-weight:700}
.elementor-widget-heading h1.elementor-heading-title{font-size:clamp(2.35rem,6vw,3.9rem)}
.elementor-widget-heading h2.elementor-heading-title{font-size:clamp(2rem,4.4vw,3rem)}
.elementor-widget-heading h3.elementor-heading-title{font-size:clamp(1.45rem,2.6vw,1.75rem)}
.elementor-widget-heading h4.elementor-heading-title{font-size:1.3rem}
.elementor-widget-text-editor{color:var(--ah-text);font-size:1.03rem;line-height:1.75}
.elementor-widget-text-editor p:last-child{margin-bottom:0}

/* Section backgrounds */
body .elementor-section.ah-sec{padding:80px 0}
@media (max-width:767px){body .elementor-section.ah-sec{padding:60px 0}}
body .elementor-section.ah-sec-tight{padding:48px 0}
body .elementor-section.ah-bg-cream{background-color:var(--ah-cream)}
body .elementor-section.ah-bg-white{background-color:#fff}
body .elementor-section.ah-bg-dark,body .elementor-section.ah-hero,body .elementor-section.ah-page-hero,body .elementor-section.ah-cta-band{background-color:var(--ah-emerald);position:relative;overflow:hidden}
.ah-bg-dark::before,.ah-hero::before,.ah-page-hero::before,.ah-cta-band::before{content:"";position:absolute;inset:0;background:var(--ah-pattern) 0 0/96px 96px;opacity:.13;pointer-events:none}
.ah-bg-dark>.elementor-container,.ah-hero>.elementor-container,.ah-page-hero>.elementor-container,.ah-cta-band>.elementor-container{position:relative;z-index:1}
body .elementor-section.ah-hero{background-image:radial-gradient(1200px 600px at 85% 20%,rgba(198,164,90,.16),transparent 60%),linear-gradient(160deg,var(--ah-emerald-2) 0%,var(--ah-emerald) 55%,var(--ah-emerald-deep) 100%);padding:84px 0 96px}
@media (max-width:767px){body .elementor-section.ah-hero{padding:56px 0 64px}}
body .elementor-section.ah-page-hero{background-image:linear-gradient(160deg,var(--ah-emerald-2),var(--ah-emerald) 60%,var(--ah-emerald-deep));padding:72px 0 64px;border-bottom:4px solid var(--ah-gold)}
@media (max-width:767px){body .elementor-section.ah-page-hero{padding:52px 0 48px}}
body .elementor-section.ah-cta-band{background-image:linear-gradient(120deg,var(--ah-emerald-deep),var(--ah-emerald-2));padding:72px 0}
.ah-hero .elementor-heading-title,.ah-page-hero .elementor-heading-title,.ah-bg-dark .elementor-heading-title,.ah-cta-band .elementor-heading-title{color:#fff}
.ah-hero .elementor-widget-text-editor,.ah-page-hero .elementor-widget-text-editor,.ah-bg-dark .elementor-widget-text-editor,.ah-cta-band .elementor-widget-text-editor{color:#D8E6E0}
.ah-hero .elementor-widget-text-editor a,.ah-page-hero .elementor-widget-text-editor a,.ah-bg-dark .elementor-widget-text-editor a,.ah-cta-band .elementor-widget-text-editor a{color:var(--ah-gold-soft)}

/* Small label above headings */
body .ah-eyebrow .elementor-heading-title{font-family:var(--ah-font-body);font-size:.92rem;font-weight:700;letter-spacing:.08em;color:var(--ah-gold-dark);display:inline-flex;align-items:center;gap:10px;line-height:1.3}
body .ah-eyebrow .elementor-heading-title::before{content:"";width:28px;height:2px;background:var(--ah-gold);flex:none}
body .ah-eyebrow.elementor-widget-heading{margin-bottom:10px}
.elementor-widget-heading.elementor-align-center.ah-eyebrow .elementor-heading-title::after,.ah-eyebrow[class*="align-center"] .elementor-heading-title::after{content:"";width:28px;height:2px;background:var(--ah-gold);flex:none}
.ah-hero .ah-eyebrow .elementor-heading-title,.ah-page-hero .ah-eyebrow .elementor-heading-title,.ah-bg-dark .ah-eyebrow .elementor-heading-title,.ah-cta-band .ah-eyebrow .elementor-heading-title{color:var(--ah-gold)}
body .ah-arabic .elementor-heading-title,.ah-arabic{font-family:var(--ah-font-ar)!important;font-weight:400!important;font-size:1.65rem!important;line-height:1.6!important;color:var(--ah-gold)!important;letter-spacing:0!important}
body .ah-lead{font-size:1.15rem;line-height:1.75}
body .ah-intro-width p{max-width:760px;margin-left:auto;margin-right:auto}

/* Buttons from Elementor button widget */
body .elementor-widget-button .elementor-button{font-family:var(--ah-font-body);font-weight:600;font-size:1rem;border-radius:999px;padding:15px 28px;line-height:1.2;transition:background-color .2s,color .2s,border-color .2s,transform .2s;border:2px solid transparent;display:inline-flex;align-items:center}
body .elementor-widget-button .elementor-button:hover{transform:translateY(-1px)}
body .elementor-widget-button .elementor-button .elementor-button-icon svg{width:1.05em;height:1.05em}
body .ah-btn-gold .elementor-button{background-color:var(--ah-gold);color:var(--ah-emerald-deep);box-shadow:0 8px 22px rgba(198,164,90,.35)}
body .ah-btn-gold .elementor-button:hover,body .ah-btn-gold .elementor-button:focus{background-color:#D3B46C;color:var(--ah-emerald-deep)}
body .ah-btn-gold .elementor-button svg{fill:var(--ah-emerald-deep)}
body .ah-btn-green .elementor-button{background-color:var(--ah-emerald);color:#fff}
body .ah-btn-green .elementor-button:hover,body .ah-btn-green .elementor-button:focus{background-color:var(--ah-emerald-2);color:#fff}
body .ah-btn-wa .elementor-button{background-color:var(--ah-wa);color:#fff}
body .ah-btn-wa .elementor-button:hover,body .ah-btn-wa .elementor-button:focus{background-color:#178246;color:#fff}
body .ah-btn-wa .elementor-button svg,body .ah-btn-green .elementor-button svg{fill:#fff}
body .ah-btn-outline .elementor-button{background-color:transparent;border-color:var(--ah-emerald);color:var(--ah-emerald)}
body .ah-btn-outline .elementor-button:hover,body .ah-btn-outline .elementor-button:focus{background-color:var(--ah-emerald);color:#fff}
body .ah-btn-outline .elementor-button svg{fill:currentColor}
body .ah-btn-light .elementor-button{background-color:transparent;border-color:rgba(255,255,255,.6);color:#fff}
body .ah-btn-light .elementor-button:hover,body .ah-btn-light .elementor-button:focus{background-color:#fff;color:var(--ah-emerald)}
body .ah-btn-light .elementor-button svg{fill:currentColor}
body .ah-link-btn .elementor-button{background:none;border:0;padding:0;color:var(--ah-emerald-2);font-weight:700;border-radius:0;box-shadow:none}
body .ah-link-btn .elementor-button:hover{color:var(--ah-gold-dark);transform:none;background:none}
body .ah-link-btn .elementor-button svg{fill:currentColor}
/* Button rows: put buttons side by side */
body .ah-inline.elementor-widget-button{display:inline-block;width:auto;margin-right:12px;margin-bottom:12px!important;vertical-align:top}
body .elementor-widget-wrap>.ah-inline.elementor-widget-button{flex:0 0 auto}
body .elementor-column .elementor-widget-wrap:has(> .ah-inline){align-content:flex-start}
@media (max-width:480px){body .ah-inline.elementor-widget-button{display:block;width:100%;margin-right:0}body .ah-inline .elementor-button{width:100%;justify-content:center}}

/* Centred button rows (column CSS class: ah-center-col) */
body .elementor-column.ah-center-col>.elementor-widget-wrap{justify-content:center}
body .ah-center-col .ah-inline.elementor-widget-button{margin-left:6px;margin-right:6px}
body .elementor-section.ah-pt-0{padding-top:0}
body .ah-bg-cream .elementor-column.ah-panel>.elementor-widget-wrap{background:#fff}

/* Space between columns when they stack on phones */
@media (max-width:767px){body .elementor-section:not(.ah-grid)>.elementor-container>.elementor-column+.elementor-column{margin-top:28px}}

/* Grids built from section columns */
body .elementor-section.ah-grid>.elementor-container{flex-wrap:wrap;gap:24px}
body .elementor-section.ah-grid>.elementor-container>.elementor-column{width:100%}
@media (min-width:768px){
  body .elementor-section.ah-grid-2>.elementor-container>.elementor-column,
  body .elementor-section.ah-grid-3>.elementor-container>.elementor-column,
  body .elementor-section.ah-grid-4>.elementor-container>.elementor-column{width:calc((100% - 24px)/2)}
}
@media (min-width:1025px){
  body .elementor-section.ah-grid-3>.elementor-container>.elementor-column{width:calc((100% - 48px)/3)}
  body .elementor-section.ah-grid-4>.elementor-container>.elementor-column{width:calc((100% - 72px)/4)}
}
body .elementor-section.ah-grid>.elementor-container>.elementor-column>.elementor-widget-wrap{padding:0}
body .elementor-section.ah-sec.ah-sec-head{padding-bottom:0}
body .elementor-section.ah-grid.ah-tight-top{padding-top:40px}

/* Cards (column CSS class: ah-card) */
body .elementor-column.ah-card>.elementor-widget-wrap{background:#fff;border:1px solid var(--ah-line);border-radius:var(--ah-radius);box-shadow:var(--ah-shadow);padding:30px 28px!important;align-content:flex-start;transition:transform .2s,box-shadow .2s;position:relative}
body .elementor-column.ah-card>.elementor-widget-wrap::before{content:"";position:absolute;left:28px;right:28px;top:-1px;height:3px;background:linear-gradient(90deg,var(--ah-gold),transparent);border-radius:0 0 3px 3px}
body .elementor-column.ah-card:hover>.elementor-widget-wrap{transform:translateY(-3px);box-shadow:var(--ah-shadow-lg)}
body .ah-bg-cream .elementor-column.ah-card>.elementor-widget-wrap{border-color:#EADFC6}
body .elementor-column.ah-card-dark>.elementor-widget-wrap{background:rgba(255,255,255,.05);border:1px solid rgba(198,164,90,.35);border-radius:var(--ah-radius);padding:30px 28px!important;align-content:flex-start}
body .elementor-column.ah-card-dark .elementor-icon-box-title,body .elementor-column.ah-card-dark .elementor-icon-box-title a{color:#fff}
body .elementor-column.ah-card-dark .elementor-icon-box-description{color:#CFDED8}
body .elementor-column.ah-card-plain>.elementor-widget-wrap{background:#fff;border:1px solid var(--ah-line);border-radius:var(--ah-radius);padding:30px 28px!important;align-content:flex-start}
body .elementor-column.ah-panel>.elementor-widget-wrap{background:var(--ah-cream);border:1px solid var(--ah-line);border-radius:22px;padding:36px 32px!important}
@media (max-width:767px){body .elementor-column.ah-panel>.elementor-widget-wrap{padding:26px 20px!important}}

/* Icon boxes */
body .elementor-widget-icon-box .elementor-icon-box-icon{margin-bottom:18px}
body .elementor-widget-icon-box .elementor-icon{width:58px;height:58px;display:inline-grid;place-items:center;border-radius:16px;background:var(--ah-cream-2);color:var(--ah-emerald);font-size:24px;border:1px solid var(--ah-gold-soft)}
body .elementor-widget-icon-box .elementor-icon svg{width:24px;height:24px;fill:var(--ah-emerald)}
body .elementor-widget-icon-box .elementor-icon i{font-size:24px;color:var(--ah-emerald)}
body .ah-card-dark .elementor-widget-icon-box .elementor-icon,body .ah-bg-dark .elementor-widget-icon-box .elementor-icon{background:rgba(198,164,90,.14);border-color:rgba(198,164,90,.4)}
body .ah-card-dark .elementor-widget-icon-box .elementor-icon svg,body .ah-bg-dark .elementor-widget-icon-box .elementor-icon svg{fill:var(--ah-gold)}
body .ah-card-dark .elementor-widget-icon-box .elementor-icon i,body .ah-bg-dark .elementor-widget-icon-box .elementor-icon i{color:var(--ah-gold)}
body .elementor-widget-icon-box .elementor-icon-box-title{font-family:var(--ah-font-head);font-size:1.6rem;line-height:1.2;color:var(--ah-emerald);margin:0 0 10px;font-weight:700}
body .elementor-widget-icon-box .elementor-icon-box-title a{color:inherit;text-decoration:none}
body .elementor-widget-icon-box .elementor-icon-box-title a:hover{color:var(--ah-gold-dark)}
body .elementor-widget-icon-box .elementor-icon-box-description{color:var(--ah-text);font-size:1rem;line-height:1.7;margin:0}
body .ah-bg-dark .elementor-widget-icon-box .elementor-icon-box-title{color:#fff}
body .ah-bg-dark .elementor-widget-icon-box .elementor-icon-box-description{color:#CFDED8}

/* Step number */
body .ah-step-num .elementor-heading-title{font-family:var(--ah-font-body);font-weight:700;font-size:1.05rem!important;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:var(--ah-emerald);color:var(--ah-gold)!important;border:2px solid var(--ah-gold);line-height:1}

/* Check list (Elementor icon list widget, CSS class ah-check-list) */
body .ah-check-list .elementor-icon-list-items{display:grid;gap:12px}
body .ah-check-list .elementor-icon-list-item{align-items:flex-start!important;font-size:1.02rem;line-height:1.6}
body .ah-check-list .elementor-icon-list-icon{width:24px;height:24px;border-radius:50%;background:var(--ah-gold-soft);display:inline-grid!important;place-items:center;flex:none;margin-top:1px;margin-right:12px!important}
body .ah-check-list .elementor-icon-list-icon svg{width:11px!important;height:11px!important;fill:var(--ah-emerald)}
body .ah-check-list .elementor-icon-list-icon i{font-size:11px!important;color:var(--ah-emerald)}
body .ah-check-list .elementor-icon-list-text{color:var(--ah-text)}
body .ah-bg-dark .ah-check-list .elementor-icon-list-text,body .ah-hero .ah-check-list .elementor-icon-list-text,body .ah-page-hero .ah-check-list .elementor-icon-list-text,body .ah-cta-band .ah-check-list .elementor-icon-list-text{color:#E4EEEA}
body .ah-hero .ah-check-list .elementor-icon-list-icon,body .ah-bg-dark .ah-check-list .elementor-icon-list-icon,body .ah-page-hero .ah-check-list .elementor-icon-list-icon{background:rgba(198,164,90,.2)}
body .ah-hero .ah-check-list .elementor-icon-list-icon svg,body .ah-bg-dark .ah-check-list .elementor-icon-list-icon svg,body .ah-page-hero .ah-check-list .elementor-icon-list-icon svg{fill:var(--ah-gold)}
body .ah-hero .ah-check-list .elementor-icon-list-icon i,body .ah-bg-dark .ah-check-list .elementor-icon-list-icon i,body .ah-page-hero .ah-check-list .elementor-icon-list-icon i{color:var(--ah-gold)}
body .ah-inline-list .elementor-icon-list-items{display:flex;flex-wrap:wrap;gap:12px 26px}

/* Images */
body .ah-img-frame img{border-radius:24px;box-shadow:var(--ah-shadow-lg);width:100%}
body .ah-hero .ah-img-frame img{box-shadow:0 30px 60px rgba(0,0,0,.35);border:6px solid rgba(198,164,90,.35)}

/* Editor notes: only shown to logged-in users and inside the Elementor editor */
body .ah-note{display:none}
body.logged-in .ah-note,body.elementor-editor-active .ah-note,body.elementor-editor-preview .ah-note{display:block}
body .ah-note{background:#FFF8E6;border:1px dashed var(--ah-gold);border-radius:12px;padding:14px 18px;font-size:.95rem;color:#5B4A22}
body .ah-note p{margin:0}

/* Details table */
body .ah-details table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--ah-line);border-radius:14px;overflow:hidden;background:#fff;margin:0}
body .ah-details th,body .ah-details td{padding:13px 16px;text-align:left;border-bottom:1px solid var(--ah-line);vertical-align:top;font-size:.98rem}
body .ah-details tr:last-child th,body .ah-details tr:last-child td{border-bottom:0}
body .ah-details th{width:38%;background:var(--ah-cream);color:var(--ah-emerald);font-weight:600}

/* FAQ (Elementor toggle widget, CSS class ah-faq) */
body .ah-faq .elementor-toggle-item{background:#fff;border:1px solid var(--ah-line);border-radius:14px;margin-bottom:12px;overflow:hidden}
body .ah-faq .elementor-tab-title{padding:18px 22px!important;border:0!important;font-family:var(--ah-font-body);font-weight:600;font-size:1.05rem;color:var(--ah-emerald);display:flex;align-items:center;gap:12px;cursor:pointer}
body .ah-faq .elementor-tab-title a{color:var(--ah-emerald);text-decoration:none}
body .ah-faq .elementor-tab-title .elementor-toggle-icon{order:2;margin-left:auto;width:28px;height:28px;border-radius:50%;background:var(--ah-cream-2);display:grid!important;place-items:center;flex:none}
body .ah-faq .elementor-toggle-icon svg{width:12px!important;height:12px!important;fill:var(--ah-emerald)}
body .ah-faq .elementor-toggle-icon i{font-size:12px;color:var(--ah-emerald)}
body .ah-faq .elementor-tab-title.elementor-active{background:var(--ah-cream)}
body .ah-faq .elementor-tab-content{padding:4px 22px 20px!important;border:0!important;background:var(--ah-cream);color:var(--ah-text);line-height:1.75}
body .ah-faq .elementor-tab-content p:last-child{margin-bottom:0}

/* Divider ornament (Elementor divider widget, class ah-ornament) */
body .ah-ornament .elementor-divider-separator{border-color:var(--ah-gold)!important}

/* Price/plan cards */
body .ah-price .elementor-heading-title{font-family:var(--ah-font-head);font-size:1.45rem;color:var(--ah-gold-dark);font-weight:700}
body .ah-note{max-width:900px;margin-left:auto;margin-right:auto}
body .elementor-column.ah-card.ah-featured>.elementor-widget-wrap{border:2px solid var(--ah-gold);background:linear-gradient(180deg,#FFFDF6,#fff)}

/* ---------- Enquiry form shortcode ---------- */
.ah-form{display:grid;gap:16px;background:#fff;border:1px solid var(--ah-line);border-radius:22px;padding:28px;box-shadow:var(--ah-shadow)}
@media (min-width:640px){.ah-form__row{display:grid;grid-template-columns:1fr 1fr;gap:16px}}
.ah-form__row{display:grid;gap:16px}
.ah-form label{display:block;font-weight:600;color:var(--ah-emerald);font-size:.95rem;margin-bottom:6px}
.ah-form .ah-req{color:#B4472B}
.ah-form input,.ah-form select,.ah-form textarea{width:100%;min-height:48px;border:1px solid #D9CFB8;border-radius:12px;padding:10px 14px;font:inherit;font-size:1rem;color:var(--ah-ink);background:#FFFEFB}
.ah-form textarea{min-height:110px;resize:vertical}
.ah-form input:focus,.ah-form select:focus,.ah-form textarea:focus{outline:none;border-color:var(--ah-emerald-2);box-shadow:0 0 0 3px rgba(27,90,73,.15)}
.ah-form__hint{font-size:.88rem;color:var(--ah-muted);margin:0}
.ah-form__error{color:#B4472B;font-size:.9rem;margin:0;display:none}
.ah-form__error.is-visible{display:block}
.ah-form__actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.ah-form h3{margin:0}

/* Keep the Elementor editor preview uncluttered */
body.elementor-editor-active .ah-float{display:none}
body.elementor-editor-active.ah-has-float{padding-bottom:0}

/* Side breathing room when the boxed width is wider than the screen */
@media (max-width:1240px){
  body .elementor-section[class*="ah-"]:not(.ah-grid)>.elementor-container{padding-left:10px;padding-right:10px}
  body .elementor-section.ah-grid>.elementor-container{padding-left:24px;padding-right:24px}
}
@media (max-width:767px){
  body .elementor-section[class*="ah-"]:not(.ah-grid)>.elementor-container{padding-left:4px;padding-right:4px}
  body .elementor-section.ah-grid>.elementor-container{padding-left:18px;padding-right:18px}
}


/* ---------- Phone bottom bar with trial button ---------- */
.ah-float__trial{display:none!important}
@media (max-width:1279px){
  .ah-float--3{grid-template-columns:1.1fr 1fr 1fr}
  .ah-float--3 .ah-float__trial{display:flex!important;background:var(--ah-gold);color:var(--ah-emerald-deep)!important;order:-1}
  .ah-float--3 a{font-size:.92rem}
  .ah-float--3 .ah-float__label-long{display:none}
}
.elementor-section[id],[id="trial"]{scroll-margin-top:110px}

/* ---------- Contact Form 7 lead forms ---------- */
.ah-cf7 .wpcf7-form p{margin:0}
.ah-cf7 .wpcf7-form{display:grid;gap:14px}
.ah-cf7 .wpcf7-form br{display:none}
.ah-cf7 label{display:block;font-weight:600;color:var(--ah-emerald);font-size:.95rem}
.ah-cf7 .wpcf7-form-control-wrap{display:block;margin-top:6px}
.ah-cf7 input[type=text],.ah-cf7 input[type=tel],.ah-cf7 input[type=email],.ah-cf7 select,.ah-cf7 textarea{width:100%;min-height:48px;border:1px solid #D9CFB8;border-radius:12px;padding:10px 14px;font:inherit;font-size:1rem;font-weight:400;color:var(--ah-ink);background:#FFFEFB}
.ah-cf7 textarea{min-height:96px;resize:vertical}
.ah-cf7 input:focus,.ah-cf7 select:focus,.ah-cf7 textarea:focus{outline:none;border-color:var(--ah-emerald-2);box-shadow:0 0 0 3px rgba(27,90,73,.15)}
.ah-cf7 .ah-consent{font-size:.9rem;color:var(--ah-text);font-weight:400}
.ah-cf7 .ah-consent .wpcf7-list-item{margin:0}
.ah-cf7 .ah-consent label{font-weight:400;color:var(--ah-text);display:flex;gap:10px;align-items:flex-start;font-size:.9rem}
.ah-cf7 .ah-consent input{margin-top:4px;width:18px;height:18px;accent-color:var(--ah-emerald)}
.ah-cf7 .wpcf7-submit{display:inline-flex;align-items:center;justify-content:center;min-height:52px;width:100%;padding:.8em 1.6em;border:0;border-radius:999px;background:var(--ah-gold);color:var(--ah-emerald-deep);font:700 1.02rem/1.2 var(--ah-font-body);cursor:pointer;box-shadow:0 8px 22px rgba(198,164,90,.35);transition:background-color .2s,transform .2s}
.ah-cf7 .wpcf7-submit:hover{background:#D3B46C;transform:translateY(-1px)}
.ah-cf7 .wpcf7-submit:disabled{opacity:.6}
.ah-cf7 .wpcf7-spinner{margin:10px auto 0;display:block}
.ah-cf7 .wpcf7-not-valid-tip{color:#B4472B;font-size:.85rem;font-weight:500;margin-top:4px}
.ah-cf7 .wpcf7-not-valid{border-color:#D08770!important}
.ah-cf7 .wpcf7-response-output{margin:4px 0 0!important;border-radius:12px;padding:12px 16px!important;font-size:.95rem;border-width:1px!important}
.ah-cf7 .wpcf7 form.sent .wpcf7-response-output{border-color:#1F9D55!important;background:#EAF7EF;color:#14532D}
.ah-cf7 .wpcf7 form.invalid .wpcf7-response-output,.ah-cf7 .wpcf7 form.unaccepted .wpcf7-response-output,.ah-cf7 .wpcf7 form.failed .wpcf7-response-output,.ah-cf7 .wpcf7 form.spam .wpcf7-response-output{border-color:#D9A441!important;background:#FFF8E6;color:#5B4A22}
.ah-cf7 .ah-form__hint{margin-top:2px}
.ah-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}

/* ---------- HTML sitemap ---------- */
.ah-sitemap{display:grid;gap:28px}
@media (min-width:768px){.ah-sitemap{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}}
.ah-sitemap section{background:var(--ah-cream);border:1px solid var(--ah-line);border-radius:var(--ah-radius);padding:24px 26px}
.ah-sitemap h2{font-size:1.6rem;margin-bottom:12px}
.ah-sitemap ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.ah-sitemap a{text-decoration:none;font-weight:500}
.ah-sitemap a::before{content:"";display:inline-block;width:6px;height:6px;border:1.5px solid var(--ah-gold);transform:rotate(45deg);margin-right:10px;vertical-align:middle}
.ah-sitemap__xml{margin-top:22px;font-size:.92rem;color:var(--ah-muted)}
.ah-cf7 .ah-consent .wpcf7-form-control-wrap{margin-top:0}
.ah-cf7 .ah-consent .wpcf7-list-item-label{line-height:1.5}
