/*
Theme Name: El Hurra School
Theme URI: https://elhurraschool.com/
Author: MIOR Agency
Author URI: https://mioragency.com/
Description: Thème WordPress RTL sur mesure pour El Hurra School. Accueil sans Elementor, blog dynamique, Contact Form 7, popup newsletter, header/footer personnalisés et design responsive.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: elhurra-school
*/

:root{
  --elh-yellow:#FFB800;
  --elh-yellow-hover:#F0AA00;
  --elh-yellow-soft:#FFF3D4;
  --elh-gold:#8C6500;
  --elh-dark:#111111;
  --elh-text:#2C2723;
  --elh-muted:#4F4841;
  --elh-white:#FFFFFF;
  --elh-bg:#F4F5F6;
  --elh-card:#FFFFFF;
  --elh-border:#DDC5A5;
  --elh-border-soft:#E9DDCD;
  --elh-green:#21B85A;
  --elh-radius:14px;
  --elh-shadow:0 8px 24px rgba(25,20,16,.07);
  --elh-shadow-hover:0 16px 38px rgba(25,20,16,.11);
  --elh-container:1240px;
  --elh-title:"Readex Pro","IBM Plex Sans Arabic",sans-serif;
  --elh-body:"IBM Plex Sans Arabic","Readex Pro",sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;overflow-x:hidden;background:#fff;color:var(--elh-text);font-family:var(--elh-body);font-size:15px;font-weight:500;line-height:1.85}
a{color:inherit;text-decoration:none;transition:.2s ease}
img{max-width:100%;height:auto}
button,input,textarea,select{font-family:var(--elh-body)}
h1,h2,h3,h4,h5,h6{margin:0;color:var(--elh-dark);font-family:var(--elh-title);font-weight:650;line-height:1.45}
p{margin:0 0 1em;color:var(--elh-muted);font-weight:500}

.elh-container{width:min(var(--elh-container),calc(100% - 48px));margin-inline:auto}
.elh-section{padding:64px 0}
.elh-section-head{max-width:720px;margin:0 auto 30px;text-align:center}
.elh-badge{display:inline-flex;align-items:center;justify-content:center;padding:6px 14px;margin-bottom:8px;border-radius:999px;background:var(--elh-yellow-soft);color:#846100;font-size:11px;font-weight:700}
.elh-section-title{font-size:31px;margin-bottom:6px}
.elh-section-sub{font-size:13px;color:#514941}

/* HEADER */
.elh-site-header{position:sticky;top:0;z-index:99990;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.07)}
.admin-bar .elh-site-header{top:32px}
.elh-topbar{background:var(--elh-yellow);color:#111}
.elh-topbar-inner{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px;font-weight:600}
.elh-topbar-contact{display:flex;align-items:center;gap:18px;direction:ltr}
.elh-topbar a{color:#111}
.elh-mainbar{background:#fff}
.elh-mainbar-inner{min-height:74px;display:grid;grid-template-columns:190px 1fr 130px;grid-template-areas:"brand nav action";align-items:center;gap:28px;direction:ltr}
.elh-brand{grid-area:brand;display:flex;align-items:center;gap:10px}
.elh-brand .custom-logo-link{display:flex;align-items:center;flex:0 0 auto}
.elh-brand img{width:auto;max-width:180px;max-height:56px;object-fit:contain}
.elh-brand.is-icon-logo img{width:48px;max-width:48px;height:48px;max-height:48px;object-fit:contain}
.elh-brand-text{display:flex;flex-direction:column;line-height:1.25;text-align:right}
.elh-brand-name{font-family:var(--elh-title);font-size:21px;font-weight:650;color:#111;white-space:nowrap}
.elh-brand-sub{margin-top:2px;color:#594f45;font-size:8px;font-weight:600;white-space:nowrap}
.elh-brand-fallback{font-family:var(--elh-title);font-size:24px;font-weight:650;color:#111}
.elh-nav li{list-style:none;margin:0;padding:0}
.elh-nav .current-menu-item>a,.elh-nav .current_page_item>a,.elh-nav .current-menu-ancestor>a{color:#8b6500;font-weight:600}
.elh-nav{grid-area:nav;display:flex;align-items:center;justify-content:center;gap:25px;direction:rtl}
.elh-nav a{position:relative;min-height:74px;display:inline-flex;align-items:center;color:#24211f;font-family:var(--elh-title);font-size:12px;font-weight:500;white-space:nowrap}
.elh-nav a:hover,.elh-nav a.is-active{color:#8b6500}
.elh-nav a.is-active{font-weight:600}
.elh-nav a.is-active:after{content:"";position:absolute;left:50%;bottom:17px;width:34px;height:2px;background:#a77a00;transform:translateX(-50%)}
.elh-header-action{grid-area:action;display:flex;justify-content:flex-end}
.elh-header-cta{min-width:116px;min-height:42px;display:inline-flex;align-items:center;justify-content:center;padding:0 18px;border-radius:8px;background:var(--elh-yellow);color:#111;font-family:var(--elh-title);font-size:12px;font-weight:600}
.elh-header-cta:hover{background:var(--elh-yellow-hover);transform:translateY(-2px)}
.elh-menu-toggle{display:none;width:42px;height:42px;border:0;border-radius:8px;background:var(--elh-yellow);cursor:pointer}
.elh-menu-toggle span{display:block;width:20px;height:2px;margin:4px auto;background:#111}

/* HERO */
.elh-hero{padding:78px 0 82px;background:radial-gradient(circle at 52% 8%,rgba(255,184,0,.11),transparent 30%),#f4f5f6}
.elh-hero-grid{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:64px;align-items:center;direction:rtl}
.elh-hero-copy{text-align:right}
.elh-hero-title{font-size:clamp(43px,4vw,60px);line-height:1.42;letter-spacing:-1px;margin-bottom:18px}
.elh-hero-title .accent{display:block;color:var(--elh-yellow)}
.elh-hero-desc{max-width:620px;margin-bottom:27px;color:#403a35;font-size:16px;font-weight:500;line-height:2.05}
.elh-hero-actions{display:flex;gap:12px;margin-bottom:25px}
.elh-btn{min-height:52px;display:inline-flex;align-items:center;justify-content:center;padding:10px 24px;border-radius:9px;font-family:var(--elh-title);font-size:15px;font-weight:600}
.elh-btn-primary{min-width:160px;background:var(--elh-yellow);color:#111}
.elh-btn-primary:hover{background:var(--elh-yellow-hover);transform:translateY(-2px)}
.elh-btn-outline{min-width:165px;background:#fff;border:1px solid #948474;color:#111}
.elh-btn-outline:hover{border-color:#7e705f;transform:translateY(-2px)}
.elh-proof{display:flex;align-items:center;gap:9px;color:#403a35;font-size:12px;font-weight:600}
.elh-proof-icons{display:flex}
.elh-proof-icon{width:29px;height:29px;margin-left:-5px;display:flex;align-items:center;justify-content:center;border:2px solid #fff;border-radius:50%;background:var(--elh-yellow);font-size:13px}
.elh-hero-media{display:flex;justify-content:flex-start}
.elh-video-card{position:relative;width:100%;max-width:625px;min-height:330px;aspect-ratio:16/8.5;overflow:hidden;border:5px solid #fff;border-radius:25px;background:#fff;box-shadow:0 22px 48px rgba(34,45,51,.16)}
.elh-video-card video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#eee}
.elh-video-card.is-image img{width:100%;height:100%;object-fit:cover}
.elh-video-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:3;width:66px;height:66px;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:rgba(255,255,255,.96);color:#946b00;box-shadow:0 8px 24px rgba(0,0,0,.15);cursor:pointer}
.elh-video-play svg{width:25px;height:25px;fill:currentColor;margin-left:4px}

/* AUDIENCE */
.elh-audience{background:#fff}
.elh-audience-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;direction:rtl}
.elh-audience-card{overflow:hidden;border:1px solid var(--elh-border-soft);border-radius:14px;background:#fff;box-shadow:0 3px 8px rgba(0,0,0,.035);transition:.23s ease}
.elh-audience-card:hover{transform:translateY(-4px);box-shadow:var(--elh-shadow-hover)}
.elh-audience-img{height:190px;overflow:hidden}
.elh-audience-img img{width:100%;height:100%;object-fit:cover;transition:.35s ease}
.elh-audience-card:hover .elh-audience-img img{transform:scale(1.035)}
.elh-audience-body{min-height:115px;padding:17px 16px;text-align:center}
.elh-audience-body h3{font-size:19px;margin-bottom:7px}
.elh-audience-body p{font-size:13px;line-height:1.95;color:#474039}

/* ABOUT */
.elh-about{background:var(--elh-bg)}
.elh-about-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center;direction:rtl}
.elh-about-image{height:555px;overflow:hidden;border-radius:26px;box-shadow:var(--elh-shadow)}
.elh-about-image img{width:100%;height:100%;object-fit:cover}
.elh-about-content{text-align:right}
.elh-about-title{position:relative;width:max-content;max-width:100%;padding-bottom:10px;margin-bottom:20px;font-size:30px}
.elh-about-title:after{content:"";position:absolute;right:0;bottom:0;width:72px;height:3px;background:var(--elh-yellow)}
.elh-about-description{margin-bottom:22px;color:#403a35;font-size:14px;line-height:2.15}
.elh-mission-list{display:grid;gap:13px}
.elh-mission{min-height:100px;display:grid;grid-template-columns:1fr 48px;gap:15px;align-items:center;padding:16px 19px;background:#fff;border:1px solid var(--elh-border);border-radius:14px}
.elh-mission-icon{width:43px;height:43px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--elh-yellow-soft);color:#a57400}
.elh-mission-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9}
.elh-mission h3{font-size:18px;margin-bottom:4px}
.elh-mission p{margin:0;color:#443e38;font-size:13px}
.elh-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:28px}
.elh-stat{min-height:150px;padding:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#fff;border:1px solid var(--elh-border);border-radius:14px}
.elh-stat-icon{width:42px;height:42px;display:flex;align-items:center;justify-content:center;margin-bottom:10px;border-radius:11px;background:var(--elh-yellow-soft);color:#a47600}
.elh-stat-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9}
.elh-stat strong{font-family:var(--elh-title);font-size:30px;line-height:1.1;color:#0d1117;margin-bottom:5px}
.elh-stat p{margin:0;color:#443e38;font-size:11px;line-height:1.8}
.elh-success{position:relative;min-height:130px;margin-top:26px;padding:22px 90px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:13px;background:var(--elh-yellow);text-align:center;box-shadow:var(--elh-shadow)}
.elh-success strong{display:block;font-family:var(--elh-title);font-size:32px;color:#111}
.elh-success p{margin:5px 0 0;color:#211b15;font-size:18px;font-weight:600}
.elh-success-medal{position:absolute;top:50%;transform:translateY(-50%);font-size:50px;opacity:.2}.elh-success-medal.r{right:28px}.elh-success-medal.l{left:28px}

/* VALUES */
.elh-values{background:#fff}
.elh-values-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;direction:rtl}
.elh-value-card{min-height:220px;padding:30px;background:#f8f9fa;border:1px solid var(--elh-border);border-radius:14px;transition:.23s ease}
.elh-value-card:hover{transform:translateY(-4px);background:#fff;box-shadow:var(--elh-shadow-hover)}
.elh-value-icon{width:54px;height:54px;display:flex;align-items:center;justify-content:center;margin-bottom:15px;border-radius:11px;background:var(--elh-yellow);color:#111}
.elh-value-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2}
.elh-value-card h3{font-size:20px;margin-bottom:8px}.elh-value-card p{margin:0;color:#443e38;font-size:13px;line-height:2}

/* SERVICES */
.elh-services{background:var(--elh-bg)}
.elh-services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:28px;direction:rtl}
.elh-service-card{min-height:180px;padding:22px 25px;background:#f8f9fa;border:1px solid var(--elh-border);border-radius:14px;transition:.23s ease}
.elh-service-card:hover{transform:translateY(-4px);background:#fff;box-shadow:var(--elh-shadow-hover)}
.elh-service-icon{width:40px;height:40px;display:flex;align-items:center;justify-content:center;margin-bottom:12px;border-radius:9px;background:var(--elh-yellow-soft);color:#a47600}
.elh-service-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9}
.elh-service-card h3{font-size:19px;margin-bottom:7px}.elh-service-card p{margin:0;color:#443e38;font-size:13px;line-height:2}
.elh-services-cta{min-height:270px;display:flex;align-items:center;justify-content:center;padding:30px;overflow:hidden;border-radius:15px;background:linear-gradient(rgba(18,17,15,.63),rgba(18,17,15,.63)),url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?auto=format&fit=crop&w=1600&q=85') center/cover no-repeat;text-align:center;box-shadow:var(--elh-shadow)}
.elh-services-cta h3{color:#fff;font-size:26px;margin-bottom:15px}.elh-services-actions{display:flex;align-items:center;justify-content:center;gap:11px}.elh-btn-whatsapp{min-width:125px;background:var(--elh-green);color:#fff}

/* SCHEDULE */
.elh-schedule{background:#fff}
.elh-schedule-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:19px;margin-bottom:72px;direction:rtl}
.elh-schedule-card{min-height:170px;padding:21px 23px;background:#f8f9fa;border:1px solid var(--elh-border);border-radius:14px}
.elh-schedule-icon{width:39px;height:39px;display:flex;align-items:center;justify-content:center;margin-bottom:14px;border-radius:9px;background:var(--elh-yellow);color:#111}
.elh-schedule-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9}
.elh-schedule-card h3{font-size:18px;margin-bottom:6px}.elh-schedule-card p{margin:0;color:#443e38;font-size:12px;line-height:1.95}
.elh-why{display:grid;grid-template-columns:.95fr 1.05fr;gap:34px;align-items:center;direction:rtl}
.elh-why-image{overflow:hidden;border-radius:15px;box-shadow:var(--elh-shadow)}.elh-why-image img{display:block;width:100%;height:auto}
.elh-why-title{font-size:26px;margin-bottom:22px}.elh-why-list{display:grid;gap:18px}.elh-why-item{display:grid;grid-template-columns:36px 1fr;gap:11px;align-items:start}
.elh-why-icon{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--elh-yellow);color:#111}.elh-why-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}
.elh-why-item h3{font-size:16px;margin-bottom:3px}.elh-why-item p{margin:0;color:#443e38;font-size:12px;line-height:1.9}

/* TESTIMONIALS */
.elh-testimonials{background:var(--elh-gold);color:#fff}
.elh-testimonials-title{display:flex;align-items:center;justify-content:center;gap:9px;margin-bottom:31px;color:#fff;font-size:31px}
.elh-testimonials-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;direction:rtl}
.elh-testimonial{min-height:245px;padding:27px;display:flex;flex-direction:column;justify-content:space-between;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.28);border-radius:14px;transition:.23s ease}
.elh-testimonial:hover{transform:translateY(-4px);background:rgba(255,255,255,.11)}
.elh-testimonial-text{margin:0 0 22px;color:#fff;font-size:14px;line-height:2.05;font-style:italic}
.elh-testimonial-user{display:flex;align-items:center;gap:12px}.elh-testimonial-award{width:46px;height:46px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--elh-yellow);font-size:20px}.elh-testimonial-user h3{color:#fff;font-size:14px}.elh-testimonial-user p{margin:0;color:rgba(255,255,255,.84);font-size:11px}

/* BLOG */
.elh-latest-posts{background:#fff}
.elh-posts-head{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:29px}.elh-posts-heading{text-align:right}.elh-posts-heading h2{font-size:30px}.elh-posts-heading p{margin:0;font-size:12px}.elh-posts-all{color:#8f6800;font-size:13px;font-weight:700}
.elh-posts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;direction:rtl}.elh-post-card{text-align:right}.elh-post-image{display:block;height:225px;overflow:hidden;margin-bottom:13px;border-radius:14px;background:#eee}.elh-post-image img{width:100%;height:100%;object-fit:cover;transition:.35s ease}.elh-post-card:hover img{transform:scale(1.04)}
.elh-post-cat{margin-bottom:5px;color:#976f00;font-size:11px;font-weight:700}.elh-post-title{margin-bottom:7px;font-size:21px}.elh-post-title a{color:#111}.elh-post-excerpt{margin:0 0 9px;color:#443e38;font-size:13px;line-height:1.95}.elh-post-more{color:#8f6800;font-size:13px;font-weight:700}

/* FAQ */
.elh-faq{background:var(--elh-bg)}
.elh-faq-wrap{width:min(720px,calc(100% - 48px));margin-inline:auto}.elh-faq-title{text-align:center;font-size:30px;margin-bottom:31px}.elh-faq-list{display:grid;gap:14px}.elh-faq-item{overflow:hidden;background:#fff;border:1px solid var(--elh-border);border-radius:12px}.elh-faq-item summary{list-style:none;cursor:pointer}.elh-faq-item summary::-webkit-details-marker{display:none}
.elh-faq-question{min-height:72px;display:grid;grid-template-columns:1fr 30px;align-items:center;gap:15px;padding:17px 22px;color:#111;font-family:var(--elh-title);font-size:20px;font-weight:600}.elh-faq-arrow{position:relative;width:25px;height:25px}.elh-faq-arrow:before,.elh-faq-arrow:after{content:"";position:absolute;top:50%;width:8px;height:2px;background:#111;transition:.2s}.elh-faq-arrow:before{left:6px;transform:rotate(45deg)}.elh-faq-arrow:after{right:6px;transform:rotate(-45deg)}.elh-faq-item[open] .elh-faq-arrow:before{transform:rotate(-45deg)}.elh-faq-item[open] .elh-faq-arrow:after{transform:rotate(45deg)}
.elh-faq-answer{padding:0 22px 20px;color:#403a35;font-size:13px;line-height:2}.elh-faq-more{margin-top:35px;text-align:center}

/* CONTACT */
.elh-contact{background:#fff}
.elh-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start;direction:ltr}.elh-map{height:610px;overflow:hidden;border:1px solid var(--elh-border);border-radius:14px;box-shadow:var(--elh-shadow)}.elh-map iframe{width:100%;height:100%;border:0}.elh-contact-form{direction:rtl;text-align:right}.elh-contact-form h2{font-size:31px;margin-bottom:21px}
.elh-contact-form .wpcf7 p{margin:0 0 14px}.elh-contact-form .wpcf7 label{display:block;color:#1a1a1a;font-size:13px;font-weight:600}.elh-contact-form .wpcf7 input[type=text],.elh-contact-form .wpcf7 input[type=email],.elh-contact-form .wpcf7 input[type=tel],.elh-contact-form .wpcf7 input[type=date],.elh-contact-form .wpcf7 input[type=number],.elh-contact-form .wpcf7 select,.elh-contact-form .wpcf7 textarea{width:100%;min-height:50px;margin-top:6px;padding:10px 15px;border:1px solid #dbe1e7;border-radius:11px;background:#fff;color:#222;font-size:13px;font-weight:500;outline:none}.elh-contact-form .wpcf7 textarea{min-height:118px}.elh-contact-form .wpcf7 input:focus,.elh-contact-form .wpcf7 textarea:focus,.elh-contact-form .wpcf7 select:focus{border-color:#c79b2f;box-shadow:0 0 0 3px rgba(255,184,0,.08)}.elh-contact-form .wpcf7 input[type=submit]{width:100%;min-height:58px;border:0;border-radius:9px;background:var(--elh-yellow);color:#111;font-family:var(--elh-title);font-size:16px;font-weight:600;cursor:pointer}
.elh-contact-fallback{padding:28px;border:1px solid var(--elh-border);border-radius:14px;background:#fff}.elh-contact-fallback p{font-size:14px}

/* FOOTER */
.elh-footer{background:#eef0f1;padding:48px 0 0;color:#3e3833}.elh-footer-grid{display:grid;grid-template-columns:1.2fr .75fr .75fr 1.2fr;gap:60px;direction:ltr}.elh-footer-col{direction:rtl}.elh-footer-heading{margin:0 0 16px;color:#896500;font-size:13px;font-weight:650}.elh-footer-logo{margin-bottom:13px}.elh-footer-logo img{width:auto;max-width:105px;max-height:65px}.elh-footer-brandline{display:flex;align-items:center;gap:9px}.elh-footer-brandline.is-icon-logo img{width:44px;max-width:44px;height:44px;max-height:44px;object-fit:contain}.elh-footer-brandname{font-family:var(--elh-title);font-size:18px;font-weight:650;color:#111}.elh-footer-description{max-width:280px;color:#403a35;font-size:12px;line-height:1.95}.elh-footer-menu{list-style:none;padding:0;margin:0;display:grid;gap:9px}.elh-footer-menu a{color:#403a35;font-size:12px;font-weight:500;text-decoration:underline;text-decoration-color:rgba(64,58,53,.35);text-underline-offset:3px}.elh-contact-list{display:grid;gap:10px}.elh-contact-row{display:flex;align-items:center;gap:10px;direction:ltr}.elh-contact-icon{width:29px;height:29px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--elh-yellow);color:#111}.elh-contact-value{color:#2f2a26;font-size:12px;line-height:1.7;text-align:right}.elh-footer-socials{display:flex;gap:9px;margin-top:18px;direction:ltr}.elh-footer-social{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--elh-yellow);color:#111;font-weight:700}.elh-footer-bottom{position:relative;min-height:78px;margin-top:38px;border-top:1px solid #d8dadd;display:flex;align-items:center;justify-content:center;text-align:center}.elh-footer-copy{color:#6e665e;font-size:10px}.elh-backtop{position:absolute;right:0;top:50%;transform:translateY(-50%);min-height:38px;padding:0 15px;border:0;border-radius:20px;background:#181818;color:#fff;font-size:11px;font-weight:600;cursor:pointer}

/* FLOATING */
.elh-floating{position:fixed;left:14px;bottom:18px;z-index:99980;display:flex;flex-direction:column;gap:8px}.elh-floating a{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:#fff;box-shadow:0 6px 16px rgba(0,0,0,.15);font-weight:700}.elh-floating .chat{background:#6d5cf1}.elh-floating .telegram{background:#0799d2}.elh-floating .whatsapp{background:#22c869}

/* POPUP */
.elh-popup{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(245,246,246,.9);backdrop-filter:blur(3px);opacity:0;visibility:hidden;pointer-events:none;transition:.25s}.elh-popup.is-open{opacity:1;visibility:visible;pointer-events:auto}.elh-popup-box{position:relative;width:690px;max-width:100%;min-height:515px;display:grid;grid-template-columns:402px 288px;overflow:hidden;direction:ltr;background:#fff;border-radius:15px;box-shadow:0 20px 60px rgba(48,40,28,.16)}.elh-popup-close{position:absolute;top:18px;left:18px;z-index:5;width:30px;height:30px;border:0;background:transparent;color:#4f4840;font-size:28px;cursor:pointer}.elh-popup-content{direction:rtl;padding:50px 50px 38px;display:flex;flex-direction:column;justify-content:center;text-align:right}.elh-popup-content h2{font-size:35px;line-height:1.35;margin-bottom:11px}.elh-popup-content>p{max-width:302px;margin-bottom:27px;color:#4d463f;font-size:13px}.elh-popup-form{max-width:300px}.elh-popup-form label{display:block;margin-bottom:7px;font-size:12px;font-weight:600}.elh-popup-input{width:100%;height:58px;padding:0 15px;border:1px solid #d8ccbc;border-radius:9px;direction:ltr;font-size:14px;outline:none}.elh-popup-submit{width:100%;height:58px;margin-top:14px;border:0;border-radius:9px;background:var(--elh-yellow);color:#2f2718;font-family:var(--elh-title);font-size:14px;font-weight:600;cursor:pointer}.elh-popup-note{margin:14px 0 0!important;text-align:center;color:#706860;font-size:10px}.elh-popup-message{display:none;margin-top:10px;color:#24733a;font-size:11px;text-align:center}.elh-popup-image{width:288px;height:515px;background:var(--elh-yellow)}.elh-popup-image img{width:100%;height:100%;object-fit:cover}

/* CONTENT TEMPLATES */
.elh-content-shell{padding:60px 0;background:#fff}.elh-content-card{max-width:900px;margin:auto}.elh-page-title{font-size:38px;margin-bottom:22px}.elh-entry-content{font-size:15px;color:#332e2a}.elh-entry-content p,.elh-entry-content li{color:#443e38;font-size:15px}.elh-entry-content img{border-radius:14px}.elh-post-meta{margin-bottom:18px;color:#74695f;font-size:12px}.elh-archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.elh-pagination{margin-top:35px;text-align:center}

@media(max-width:1050px){
  .elh-mainbar-inner{display:flex;justify-content:space-between}.elh-menu-toggle{display:block}.elh-header-action{display:none}.elh-nav{position:absolute;top:100%;left:0;right:0;display:none;flex-direction:column;align-items:stretch;gap:0;padding:12px;background:#fff;border-top:3px solid var(--elh-yellow);box-shadow:0 15px 35px rgba(0,0,0,.12)}.elh-site-header.is-open .elh-nav{display:flex}.elh-nav a{width:100%;min-height:48px;padding:0 15px;justify-content:flex-start}.elh-nav a.is-active:after{display:none}
  .elh-hero-grid{grid-template-columns:1fr 1fr;gap:35px}.elh-video-card{max-width:510px;min-height:270px}
  .elh-audience-grid,.elh-stats,.elh-services-grid,.elh-schedule-grid{grid-template-columns:repeat(2,1fr)}.elh-values-grid,.elh-testimonials-grid,.elh-posts-grid,.elh-archive-grid{grid-template-columns:repeat(2,1fr)}.elh-about-grid,.elh-why,.elh-contact-grid{grid-template-columns:1fr}
  .elh-footer-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:650px){
  .admin-bar .elh-site-header{top:0}.elh-container,.elh-faq-wrap{width:min(100% - 34px,340px)}.elh-section{padding:44px 0}.elh-topbar-inner{min-height:32px;justify-content:center;font-size:9px}.elh-topbar-address{display:none}.elh-mainbar-inner{min-height:64px}.elh-brand img{max-width:135px;max-height:49px}.elh-menu-toggle{display:block}
  .elh-section-title{font-size:26px}.elh-section-sub{font-size:13px}
  .elh-hero{padding-top:35px}.elh-hero-grid{display:flex;flex-direction:column;gap:27px}.elh-hero-media{order:1;width:100%;justify-content:center}.elh-hero-copy{order:2;text-align:center}.elh-video-card{width:100%;max-width:330px;min-height:185px;aspect-ratio:2/1}.elh-video-play{width:58px;height:58px}.elh-hero-title{font-size:36px;line-height:1.38}.elh-hero-desc{max-width:315px;margin:0 auto 22px;font-size:14px}.elh-hero-actions{display:grid;grid-template-columns:1fr 1fr}.elh-btn{min-width:0;width:100%;min-height:60px;padding-inline:10px;font-size:15px}.elh-proof{justify-content:center;font-size:10px}
  .elh-audience-grid,.elh-stats,.elh-values-grid,.elh-services-grid,.elh-schedule-grid,.elh-testimonials-grid,.elh-posts-grid,.elh-archive-grid{grid-template-columns:1fr}.elh-audience-img{height:200px}
  .elh-about-grid{display:flex;flex-direction:column}.elh-about-image{order:1;height:290px}.elh-about-content{order:2}.elh-about-title{margin-inline:auto;text-align:center;font-size:26px}.elh-about-title:after{right:50%;transform:translateX(50%)}.elh-about-description{font-size:13px}.elh-stat{min-height:145px}.elh-success{min-height:155px;padding:25px}.elh-success-medal{font-size:38px}
  .elh-value-card,.elh-service-card,.elh-schedule-card{min-height:auto}.elh-services-actions{flex-direction:column}.elh-services-actions .elh-btn{width:min(100%,235px)}.elh-schedule-grid{margin-bottom:46px}.elh-why{display:flex;flex-direction:column}.elh-why-image{order:1}.elh-why-content{order:2}.elh-why-title{text-align:center}
  .elh-posts-head{display:block;text-align:center}.elh-posts-heading{text-align:center;margin-bottom:8px}.elh-post-image{height:205px}.elh-faq-question{font-size:17px}
  .elh-contact-grid{display:flex;flex-direction:column}.elh-contact-form{order:1}.elh-map{order:2;height:340px}.elh-contact-form h2{text-align:center}
  .elh-footer-grid{display:flex;flex-direction:column;gap:28px}.elh-footer-col{text-align:center}.elh-footer-description{margin-inline:auto}.elh-footer-socials{justify-content:center}.elh-contact-row{justify-content:center}.elh-footer-bottom{padding-bottom:45px}.elh-backtop{right:50%;top:auto;bottom:5px;transform:translateX(50%)}
  .elh-floating{left:10px;bottom:14px}
  .elh-popup{padding:14px}.elh-popup-box{width:min(345px,100%);min-height:0;max-height:calc(100vh - 28px);display:flex;flex-direction:column;overflow:auto}.elh-popup-image{order:1;width:100%;height:245px;flex:none}.elh-popup-image img{object-position:center 22%}.elh-popup-content{order:2;padding:25px 23px 23px;align-items:center;text-align:center}.elh-popup-content h2{font-size:27px;text-align:center}.elh-popup-content>p{margin-bottom:19px;font-size:11px;text-align:center}.elh-popup-form{max-width:100%;width:100%}.elh-popup-form label{text-align:right}.elh-popup-input,.elh-popup-submit{height:52px}.elh-popup-close{top:11px;left:11px;width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.94);box-shadow:0 4px 12px rgba(0,0,0,.1)}
}

/* =========================================================
   CONTACT FORM 7 — GLOBAL FORMS v1.0.1
   Contact / Newsletter / Teachers / Freebies
========================================================= */

/* Shared CF7 reset */
.elh-contact-form .wpcf7,
.elh-newsletter-cf7,
.elh-cf7,
.elh-freebie-cf7{
  --form-bg:#ffffff;
  --form-border:#ddd0bd;
  --form-text:#211d1a;
  --form-muted:#625a52;
  --form-focus:#c68d00;
  --form-soft:#fff8e6;
  --form-danger:#b42318;
  color:var(--form-text);
  font-family:var(--elh-body);
}

.elh-contact-form .wpcf7 form,
.elh-newsletter-cf7,
.elh-cf7,
.elh-freebie-cf7{
  width:100%;
}

/* Premium standalone forms */
.elh-cf7,
.elh-freebie-cf7{
  width:min(100%,820px);
  margin:0 auto;
  padding:30px;
  background:var(--form-bg);
  border:1px solid var(--form-border);
  border-radius:18px;
  box-shadow:0 14px 40px rgba(25,20,16,.06);
}

.elh-cf7 > h3,
.elh-freebie-cf7 > h3{
  margin:0 0 8px;
  color:#111;
  font-family:var(--elh-title);
  font-size:26px;
  font-weight:650;
  line-height:1.45;
}

.elh-cf7 > p:first-of-type,
.elh-freebie-cf7 > p:first-of-type{
  margin:0 0 24px;
  color:var(--form-muted);
  font-size:13px;
  line-height:2;
}

/* Labels */
.elh-contact-form .wpcf7 label,
.elh-newsletter-cf7 label,
.elh-cf7 label,
.elh-freebie-cf7 label{
  display:block;
  margin:0 0 16px;
  color:var(--form-text);
  font-size:13px;
  line-height:1.7;
  font-weight:600;
  text-align:right;
}

/* Remove extra CF7 paragraph spacing around wrapped fields */
.elh-contact-form .wpcf7 p,
.elh-cf7 p,
.elh-freebie-cf7 p,
.elh-newsletter-cf7 p{
  margin-top:0;
}

/* All controls */
.elh-contact-form .wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.elh-contact-form .wpcf7 select,
.elh-contact-form .wpcf7 textarea,
.elh-newsletter-cf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.elh-newsletter-cf7 select,
.elh-newsletter-cf7 textarea,
.elh-cf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.elh-cf7 select,
.elh-cf7 textarea,
.elh-freebie-cf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.elh-freebie-cf7 select,
.elh-freebie-cf7 textarea{
  width:100%;
  min-height:54px;
  margin-top:7px;
  padding:12px 15px;
  border:1px solid #d9dee4;
  border-radius:11px;
  background:#fff;
  color:#211d1a;
  font-family:var(--elh-body);
  font-size:14px;
  font-weight:500;
  line-height:1.5;
  outline:none;
  box-shadow:none;
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
}

.elh-contact-form .wpcf7 textarea,
.elh-cf7 textarea,
.elh-freebie-cf7 textarea{
  min-height:135px;
  resize:vertical;
}

.elh-contact-form .wpcf7 input:focus,
.elh-contact-form .wpcf7 select:focus,
.elh-contact-form .wpcf7 textarea:focus,
.elh-newsletter-cf7 input:focus,
.elh-cf7 input:focus,
.elh-cf7 select:focus,
.elh-cf7 textarea:focus,
.elh-freebie-cf7 input:focus,
.elh-freebie-cf7 select:focus,
.elh-freebie-cf7 textarea:focus{
  border-color:var(--form-focus);
  background:#fff;
  box-shadow:0 0 0 3px rgba(255,184,0,.11);
}

.elh-contact-form .wpcf7 ::placeholder,
.elh-newsletter-cf7 ::placeholder,
.elh-cf7 ::placeholder,
.elh-freebie-cf7 ::placeholder{
  color:#92979c;
  opacity:1;
  font-weight:400;
}

/* Select */
.elh-contact-form .wpcf7 select,
.elh-cf7 select,
.elh-freebie-cf7 select{
  cursor:pointer;
  appearance:auto;
}

/* File upload */
.elh-cf7 input[type="file"],
.elh-freebie-cf7 input[type="file"]{
  min-height:58px !important;
  padding:10px !important;
  background:var(--form-soft) !important;
  border-style:dashed !important;
  border-color:#d8bb77 !important;
}

.elh-cf7 input[type="file"]::file-selector-button,
.elh-freebie-cf7 input[type="file"]::file-selector-button{
  margin-left:10px;
  padding:8px 12px;
  border:0;
  border-radius:8px;
  background:var(--elh-yellow);
  color:#111;
  font-family:var(--elh-body);
  font-weight:600;
  cursor:pointer;
}

/* Contact form: 2 columns */
.elh-contact-form .elh-form-row{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.elh-contact-form .elh-form-row > *{
  min-width:0;
}

/* Submit buttons */
.elh-contact-form .wpcf7 input[type="submit"],
.elh-newsletter-cf7 input[type="submit"],
.elh-cf7 input[type="submit"],
.elh-freebie-cf7 input[type="submit"]{
  min-height:55px;
  padding:10px 24px;
  border:0;
  border-radius:10px;
  background:var(--elh-yellow);
  color:#111;
  font-family:var(--elh-title);
  font-size:15px;
  font-weight:600;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(255,184,0,.12);
  transition:transform .2s ease,background .2s ease,box-shadow .2s ease;
}

.elh-contact-form .wpcf7 input[type="submit"]{
  width:100%;
  min-height:58px;
  font-size:16px;
}

.elh-cf7 .elh-submit{
  margin-top:7px;
}

.elh-cf7 .elh-submit input[type="submit"],
.elh-freebie-cf7 input[type="submit"]{
  width:100%;
}

.elh-contact-form .wpcf7 input[type="submit"]:hover,
.elh-newsletter-cf7 input[type="submit"]:hover,
.elh-cf7 input[type="submit"]:hover,
.elh-freebie-cf7 input[type="submit"]:hover{
  transform:translateY(-2px);
  background:var(--elh-yellow-hover);
  box-shadow:0 11px 24px rgba(255,184,0,.18);
}

/* Newsletter: compact horizontal desktop */
.elh-newsletter-cf7{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:end;
}

.elh-newsletter-cf7 label{
  margin:0;
}

.elh-newsletter-cf7 input[type="email"]{
  min-height:52px !important;
  margin-top:6px;
}

.elh-newsletter-cf7 input[type="submit"]{
  min-width:135px;
  min-height:52px;
}

/* Conditional field replacement for missing CF7 Conditional Fields plugin */
.elh-cf7-group{
  display:none;
  margin:0;
  padding:16px 16px 1px;
  border:1px solid #ead7a8;
  border-radius:12px;
  background:#fffaf0;
}

.elh-cf7-group.is-visible{
  display:block;
  animation:elhFormReveal .18s ease-out;
}

@keyframes elhFormReveal{
  from{opacity:0;transform:translateY(-4px)}
  to{opacity:1;transform:none}
}

/* CF7 validation */
.wpcf7-not-valid-tip{
  display:block;
  margin-top:5px;
  color:var(--form-danger,#b42318) !important;
  font-size:11px !important;
  font-weight:500 !important;
}

.wpcf7 form .wpcf7-response-output{
  margin:18px 0 0 !important;
  padding:12px 14px !important;
  border-radius:10px;
  font-size:12px;
  line-height:1.8;
}

.wpcf7-spinner{
  vertical-align:middle;
}

/* CF7 generated wrapper must stay full width */
.wpcf7-form-control-wrap{
  display:block;
  width:100%;
}

@media(max-width:650px){
  .elh-cf7,
  .elh-freebie-cf7{
    padding:20px 17px;
    border-radius:14px;
  }

  .elh-cf7 > h3,
  .elh-freebie-cf7 > h3{
    font-size:22px;
  }

  .elh-contact-form .elh-form-row,
  .elh-newsletter-cf7{
    grid-template-columns:1fr;
  }

  .elh-newsletter-cf7 input[type="submit"]{
    width:100%;
  }

  .elh-contact-form .wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
  .elh-contact-form .wpcf7 select,
  .elh-contact-form .wpcf7 textarea,
  .elh-newsletter-cf7 input:not([type="submit"]),
  .elh-cf7 input:not([type="submit"]),
  .elh-cf7 select,
  .elh-cf7 textarea,
  .elh-freebie-cf7 input:not([type="submit"]),
  .elh-freebie-cf7 select,
  .elh-freebie-cf7 textarea{
    font-size:16px;
  }
}

