/* Energy Bartar Elementor Native — Team Approved Demo Match v0.8.56
   Canonical Team UI. Scoped + conditional. Elementor-first: sizing/colors remain CSS-var driven. */
:root{--ebt-green:#129552;--ebt-green-dark:#0d6138;--ebt-gold:#d6a12f;--ebt-ink:#12291f;--ebt-text:#465b50;--ebt-muted:#77877f;--ebt-line:#dbe9e1;--ebt-soft:#f5fbf7;--ebt-shadow:0 14px 38px rgba(18,62,38,.055)}
body.eb-team-listing-page,body.eb-team-profile-page{background:radial-gradient(circle at 5% 20%,rgba(20,132,71,.045),transparent 25rem),radial-gradient(circle at 96% 32%,rgba(214,161,47,.035),transparent 22rem),#fff}

/* DIRECTORY */
body.eb-team-listing-page .eb07-team{width:min(1280px,calc(100% - 36px));margin:0 auto;padding:26px 0 58px;direction:rtl}
body.eb-team-listing-page .eb07-team .eb07-block-heading{margin:0 0 22px;padding:34px 24px 30px;border:1px solid #e1ece5;border-radius:26px;text-align:center;background:radial-gradient(circle at 7% 20%,rgba(20,132,71,.065) 0 66px,transparent 67px),linear-gradient(135deg,#fff,#f8fbf9);box-shadow:0 12px 34px rgba(17,62,37,.04)}
body.eb-team-listing-page .eb07-team-kicker{display:inline-flex;align-items:center;gap:8px;margin-bottom:5px;color:var(--ebt-green);font-size:12px;font-weight:850}
body.eb-team-listing-page .eb07-team-kicker:after{content:"";width:28px;height:2px;border-radius:2px;background:var(--ebt-gold)}
body.eb-team-listing-page .eb07-team .eb07-block-heading h2{margin:4px 0 6px;color:var(--ebt-ink);font-size:clamp(34px,3.2vw,48px);line-height:1.3;font-weight:900}
body.eb-team-listing-page .eb07-team .eb07-block-heading p{max-width:760px;margin:auto;color:#78877f;font-size:14px;line-height:1.9}
body.eb-team-listing-page .eb07-team-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding:14px 16px;border:1px solid var(--ebt-line);border-radius:18px;background:linear-gradient(100deg,#fff,#f8fbf9 62%,#fff9ed);box-shadow:0 8px 22px rgba(18,62,38,.035)}
body.eb-team-listing-page .eb07-team-overview__copy{min-width:0;display:grid;grid-template-columns:38px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:1px 11px}
body.eb-team-listing-page .eb07-team-overview__copy>span{grid-row:1/3;width:38px;height:38px;display:grid;place-items:center;border:1px solid #e1eae4;border-radius:12px;background:#fff;color:var(--ebt-gold);font-size:16px}
body.eb-team-listing-page .eb07-team-overview__copy strong{color:#173126;font-size:14px;line-height:1.5;font-weight:900}
body.eb-team-listing-page .eb07-team-overview__copy small{color:#7c8a82;font-size:11px;line-height:1.6}
body.eb-team-listing-page .eb07-team-overview__stats{display:grid;grid-template-columns:repeat(3,minmax(100px,auto));gap:8px;flex:0 0 auto}
body.eb-team-listing-page .eb07-team-overview__stats>div{min-height:54px;display:flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;border:1px solid #e0eae4;border-radius:13px;background:#fff}
body.eb-team-listing-page .eb07-team-overview__stats b{color:var(--ebt-green);font-size:20px;line-height:1;font-weight:900}
body.eb-team-listing-page .eb07-team-overview__stats span{color:#708078;font-size:10.5px;font-weight:750;white-space:nowrap}
body.eb-team-listing-page .eb07-team-overview__stats .is-note b{width:27px;height:27px;display:grid;place-items:center;border-radius:9px;background:#edf8f1;font-size:13px}
body.eb-team-listing-page .eb07-team-grid{display:grid;grid-template-columns:repeat(var(--eb07-cols,5),minmax(0,1fr));gap:var(--eb07-team-gap,16px);align-items:stretch}
body.eb-team-listing-page .eb07-team-card,body.eb-team-listing-page .eb07-team-card.is-orphan{grid-column:auto;width:auto;min-width:0;min-height:var(--eb07-team-card-min,auto);height:auto;display:flex;flex-direction:column;overflow:hidden;border:1px solid #d8e6de;border-radius:var(--eb07-team-radius,18px);background:#fff;box-shadow:0 9px 25px rgba(17,57,35,.05);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
body.eb-team-listing-page .eb07-team-card:hover{transform:translateY(-3px);border-color:#c5dccd;box-shadow:0 16px 36px rgba(17,57,35,.085)}
body.eb-team-listing-page .eb07-team-photo{position:relative;display:block;width:100%;height:var(--eb07-team-photo-h,238px);min-height:var(--eb07-team-photo-h,238px);overflow:hidden;background:#eef4f0}
body.eb-team-listing-page .eb07-team-photo img,body.eb-team-listing-page .eb07-team-photo .ebip-media-img{display:block;width:100%;height:100%;object-fit:cover;object-position:var(--eb07-person-pos,center 30%);transform:scale(var(--eb07-person-scale,1));transform-origin:center center;transition:transform .2s ease}
body.eb-team-listing-page .eb07-team-card:hover .eb07-team-photo img{transform:scale(calc(var(--eb07-person-scale,1) * 1.015))}
body.eb-team-listing-page .eb07-team-photo:before{content:"";position:absolute;z-index:1;inset:auto 0 0;height:30%;background:linear-gradient(to top,rgba(7,48,26,.28),transparent);pointer-events:none}
body.eb-team-listing-page .eb07-team-role-overlay{position:absolute;z-index:3;right:10px;bottom:10px;max-width:calc(100% - 54px);min-height:28px;padding:6px 10px;border-radius:999px;background:rgba(16,145,78,.96);color:#fff;font-size:9.8px;line-height:1.45;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.eb-team-listing-page .eb07-team-photo-arrow{position:absolute;z-index:3;left:10px;bottom:10px;width:29px;height:29px;display:grid;place-items:center;border-radius:50%;background:#fff;color:var(--ebt-green);box-shadow:0 6px 14px rgba(0,0,0,.1);font-size:12px}
body.eb-team-listing-page .eb07-team-body{flex:1;min-width:0;display:flex;flex-direction:column;padding:15px 15px 13px;direction:rtl;text-align:right}
body.eb-team-listing-page .eb07-team-body h3{margin:0 0 6px;color:var(--ebt-ink);font-size:16px;line-height:1.65;font-weight:900}
body.eb-team-listing-page .eb07-team-body h3 a{color:inherit;text-decoration:none}
body.eb-team-listing-page .eb07-team-body p{margin:0 0 10px;min-height:64px;color:#718078;font-size:11.8px;line-height:1.9;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;unicode-bidi:plaintext;overflow-wrap:anywhere}
body.eb-team-listing-page .eb07-team-body p.is-rtl{direction:rtl;text-align:right}
body.eb-team-listing-page .eb07-team-body p.is-ltr{direction:ltr;text-align:left;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
body.eb-team-listing-page .eb07-team-body .eb07-link{width:100%;margin-top:auto;padding-top:10px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf2ee;color:var(--ebt-green);font-size:11.2px;font-weight:850;text-decoration:none}

/* PROFILE */
body.eb-team-profile-page .eb07-team-single{padding:28px 0 64px;direction:rtl;background:transparent}
body.eb-team-profile-page .eb07-team-single .eb07-profile-wrap{width:min(var(--eb07-profile-wrap,1260px),calc(100% - 40px));max-width:1260px;margin-inline:auto}
body.eb-team-profile-page .eb07-team-single .eb07-back{display:inline-flex;align-items:center;gap:7px;width:max-content;margin:0 0 18px auto;padding:8px 14px;border:1px solid #d6e6dc;border-radius:999px;background:#fff;color:var(--ebt-green);font-size:11px;font-weight:850;text-decoration:none;box-shadow:0 6px 16px rgba(17,62,37,.03)}
body.eb-team-profile-page .eb07-profile.layout-full{width:100%;margin:0;padding:0;border:0;background:transparent;box-shadow:none;direction:rtl}
body.eb-team-profile-page .eb07-profile.layout-full .eb07-profile-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,var(--eb07-profile-photo,360px));gap:var(--eb07-profile-gap,38px);align-items:center;padding:var(--eb07-profile-pad-top,34px) var(--eb07-profile-pad-right,34px) var(--eb07-profile-pad-bottom,34px) var(--eb07-profile-pad-left,34px);border:1px solid var(--ebt-line);border-radius:var(--eb07-profile-radius,26px);background:radial-gradient(circle at 98% 100%,transparent 0 62px,rgba(214,161,47,.16) 63px 64px,transparent 65px),linear-gradient(130deg,var(--eb07-profile-bg,#fff),#fff 76%,#f6fbf8);box-shadow:var(--ebt-shadow);overflow:hidden}
body.eb-team-profile-page .eb07-profile.layout-full.image-right .eb07-profile-copy{grid-column:1;grid-row:1}body.eb-team-profile-page .eb07-profile.layout-full.image-right .eb07-profile-visual{grid-column:2;grid-row:1}
body.eb-team-profile-page .eb07-profile.layout-full.image-left .eb07-profile-hero{grid-template-columns:minmax(320px,var(--eb07-profile-photo,360px)) minmax(0,1fr)}body.eb-team-profile-page .eb07-profile.layout-full.image-left .eb07-profile-visual{grid-column:1;grid-row:1}body.eb-team-profile-page .eb07-profile.layout-full.image-left .eb07-profile-copy{grid-column:2;grid-row:1}
body.eb-team-profile-page .eb07-profile-copy{min-width:0;display:flex;flex-direction:column;justify-content:center;direction:rtl;text-align:right}
body.eb-team-profile-page .eb07-profile-head{margin:0;padding:3px 0 18px;border-bottom:1px solid #e7efea}
body.eb-team-profile-page .eb07-profile-eyebrow{display:flex;align-items:center;gap:9px;color:var(--ebt-green);font-size:11px;font-weight:850}body.eb-team-profile-page .eb07-profile-eyebrow i{width:28px;height:2px;border-radius:2px;background:var(--ebt-gold)}
body.eb-team-profile-page .eb07-profile-copy h1{margin:8px 0 7px;color:var(--eb07-profile-title-color,var(--ebt-ink));font-size:var(--eb07-profile-title-size,44px);line-height:1.2;font-weight:950;letter-spacing:-.02em}
body.eb-team-profile-page .eb07-profile-label{display:inline-flex;align-items:center;width:max-content;min-height:34px;padding:7px 14px;border:1px solid #cae7d4;border-radius:999px;background:#e9f7ef;color:#087540;font-size:11px;font-weight:850}
body.eb-team-profile-page .eb07-profile-tagline{margin:9px 0 0;color:#6f7f77;font-size:12px;line-height:1.8;font-weight:700}
body.eb-team-profile-page .eb07-profile-intro{margin:8px 0 0;color:#718079;font-size:12.5px;line-height:1.95;unicode-bidi:plaintext}.eb07-profile-intro.is-rtl{direction:rtl;text-align:right}.eb07-profile-intro.is-ltr{direction:ltr;text-align:left;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
body.eb-team-profile-page .eb07-profile-visual{min-width:0;align-self:center}
body.eb-team-profile-page .eb07-profile-photo,body.eb-team-profile-page .eb07-profile-photo.is-sticky{position:relative;width:100%;height:var(--eb07-profile-photo-h,440px);min-height:0;margin:0;overflow:hidden;border:1px solid #dfe9e3;border-radius:20px;background:#f4f8f5;box-shadow:0 15px 34px rgba(17,62,37,.09);top:auto}
body.eb-team-profile-page .eb07-profile-photo img,body.eb-team-profile-page .eb07-profile-photo .ebip-media-img{display:block;width:100%;height:100%;object-fit:cover;object-position:var(--eb07-person-pos,center 28%);transform:scale(var(--eb07-person-scale,1));transform-origin:center center}
body.eb-team-profile-page .eb07-profile-photo:after{content:"";position:absolute;left:18%;right:18%;bottom:0;height:4px;border-radius:10px 10px 0 0;background:linear-gradient(90deg,var(--ebt-gold),var(--ebt-green))}
body.eb-team-profile-page .eb07-profile-photo:before{display:none}
body.eb-team-profile-page .eb07-profile-facts-wrap{margin:20px 0 0;padding:0}body.eb-team-profile-page .eb07-profile-facts-wrap.is-reference .eb07-profile-subhead{display:flex}
body.eb-team-profile-page .eb07-profile-subhead{margin:0 0 10px;display:flex;align-items:center;gap:6px;color:#20382b;font-size:12px;font-weight:900}.eb07-profile-subhead>span{color:var(--ebt-gold);font-size:9px}
body.eb-team-profile-page .eb07-profile-info{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}body.eb-team-profile-page .eb07-profile-info.count-1{grid-template-columns:1fr}body.eb-team-profile-page .eb07-profile-info.count-2{grid-template-columns:repeat(2,minmax(0,1fr))}body.eb-team-profile-page .eb07-profile-info.count-3{grid-template-columns:repeat(3,minmax(0,1fr))}
body.eb-team-profile-page .eb07-profile-fact{position:relative;min-width:0;min-height:76px;display:grid;grid-template-columns:minmax(0,1fr) 34px;grid-template-rows:auto auto;column-gap:10px;row-gap:1px;align-items:center;padding:11px 13px;border:1px solid #d8e8de;border-radius:14px;background:#fff;box-shadow:0 4px 12px rgba(18,62,38,.025);direction:rtl}
body.eb-team-profile-page .eb07-profile-fact-icon{position:static;grid-column:2;grid-row:1/span 2;width:32px;height:32px;display:grid;place-items:center;border:1px solid #d1ead9;border-radius:10px;background:#ecf8f1;color:var(--ebt-green);font-style:normal;font-size:15px;font-weight:900}.eb07-profile-fact.is-experience .eb07-profile-fact-icon:before{content:"◷"}.eb07-profile-fact.is-degree .eb07-profile-fact-icon:before{content:"◆"}.eb07-profile-fact.is-field .eb07-profile-fact-icon:before{content:"▤"}.eb07-profile-fact.is-school .eb07-profile-fact-icon:before{content:"⌂"}.eb07-profile-fact.is-role .eb07-profile-fact-icon:before{content:"●"}.eb07-profile-fact.is-generic .eb07-profile-fact-icon:before{content:"•"}
body.eb-team-profile-page .eb07-profile-fact>span,body.eb-team-profile-page .eb07-profile-fact>strong{grid-column:1;min-width:0;max-width:100%;margin:0;padding:0;overflow-wrap:anywhere}body.eb-team-profile-page .eb07-profile-fact>span{grid-row:1;color:#94a199;font-size:9.5px;line-height:1.45;text-align:right}body.eb-team-profile-page .eb07-profile-fact>strong{grid-row:2;color:#243a2f;font-size:12px;line-height:1.65;font-weight:850;text-align:right}body.eb-team-profile-page .eb07-profile-fact>strong.is-ltr{direction:ltr;text-align:left;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
body.eb-team-profile-page .eb07-profile-lower{margin-top:16px}.eb07-profile-nav{display:none}
body.eb-team-profile-page .eb07-profile-modules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
body.eb-team-profile-page .eb07-profile-modules.has-about>.eb07-profile-module[data-section="about"]{grid-column:1/-1}
body.eb-team-profile-page .eb07-profile-modules.no-about.count-3{grid-template-columns:repeat(3,minmax(0,1fr))}
body.eb-team-profile-page .eb07-profile-modules.no-about.count-3>.eb07-profile-module:last-child{grid-column:auto}
body.eb-team-profile-page .eb07-profile-modules.has-about.count-4>.eb07-profile-module:last-child{grid-column:1/-1}
body.eb-team-profile-page .eb07-profile-module{min-width:0;min-height:0;height:auto;margin:0;padding:19px 20px;border:1px solid #dce9e1;border-radius:var(--eb07-profile-module-radius,18px);background:var(--eb07-profile-section-bg,#fff);box-shadow:0 9px 24px rgba(20,71,43,.03);direction:rtl;text-align:right}
body.eb-team-profile-page .eb07-profile-module.is-wide{grid-column:1/-1}
body.eb-team-profile-page .eb07-profile-module[data-section="about"]{position:relative;padding:20px 22px;border-right:4px solid var(--ebt-green);background:radial-gradient(circle at 96% 20%,rgba(20,132,71,.055),transparent 80px),linear-gradient(125deg,#fff,#f7fbf8)}body.eb-team-profile-page .eb07-profile-module[data-section="about"]:after{content:"❞";position:absolute;left:18px;top:10px;color:rgba(20,132,71,.16);font:34px/1 serif}
body.eb-team-profile-page .eb07-profile-module h2{display:flex;align-items:center;gap:9px;min-height:31px;margin:0 0 11px;padding:0 0 10px;border-bottom:1px solid #e8f0eb;color:#173126;font-size:var(--eb07-profile-module-title,18px);line-height:1.65;font-weight:900;text-align:right;direction:rtl}.eb07-profile-module h2:before{display:none}.eb07-profile-module-title{min-width:0;flex:1;overflow-wrap:anywhere}.eb07-profile-module-icon{flex:0 0 29px;width:29px;height:29px;display:grid;place-items:center;border:1px solid #d8eade;border-radius:9px;background:#f2faf5;color:var(--ebt-green);font-style:normal;font-size:12px;line-height:1;font-weight:900}.eb07-profile-module-icon.is-about:before{content:"●"}.eb07-profile-module-icon.is-skills:before{content:"✎"}.eb07-profile-module-icon.is-experience:before{content:"♟"}.eb07-profile-module-icon.is-education:before{content:"▤"}.eb07-profile-module-icon.is-activities:before{content:"◇"}.eb07-profile-module-icon.is-legacy:before{content:"✦"}
body.eb-team-profile-page .eb07-profile-module__body{color:var(--eb07-profile-text-color,#526159);font-size:var(--eb07-profile-body-size,14px);line-height:2}
body.eb-team-profile-page .eb07-profile-richtext p{max-width:100%;margin:0 0 10px;padding:0;color:#51635a;font-size:var(--eb07-profile-body-size,14px);line-height:2.05;unicode-bidi:plaintext;overflow-wrap:anywhere}.eb07-profile-richtext p:last-child{margin-bottom:0}.eb07-profile-richtext p.is-rtl{direction:rtl;text-align:right}.eb07-profile-richtext p.is-ltr{direction:ltr;text-align:left;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
body.eb-team-profile-page .eb07-profile-list{display:grid;grid-template-columns:1fr;gap:7px;margin:0;padding:0;list-style:none}body.eb-team-profile-page .eb07-profile-module.is-wide .eb07-profile-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 20px}
body.eb-team-profile-page .eb07-profile-list>li{min-width:0;min-height:0;margin:0;padding:5px 0;display:grid;grid-template-columns:18px minmax(0,1fr);gap:7px;align-items:start;border:0;background:transparent}.eb07-profile-list>li>span{width:17px;height:17px;margin-top:5px;display:grid;place-items:center;border-radius:50%;background:#e8f7ee;color:var(--ebt-green);font-size:8px;line-height:1}.eb07-profile-list>li>b{min-width:0;color:#43574b;font-size:12.5px;line-height:1.9;font-weight:540;unicode-bidi:plaintext;overflow-wrap:anywhere}.eb07-profile-list>li.is-rtl,.eb07-profile-list>li.is-rtl b{direction:rtl;text-align:right}.eb07-profile-list>li.is-ltr,.eb07-profile-list>li.is-ltr b{direction:ltr;text-align:left;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}

/* RESPONSIVE */
@media (min-width:1440px){body.eb-team-listing-page .eb07-team-grid{grid-template-columns:repeat(var(--eb07-cols,5),minmax(0,1fr))}}
@media (min-width:1180px) and (max-width:1439px){body.eb-team-listing-page .eb07-team-grid{grid-template-columns:repeat(var(--eb07-laptop-cols,4),minmax(0,1fr))}}
@media (min-width:768px) and (max-width:1179px){body.eb-team-listing-page .eb07-team-grid{grid-template-columns:repeat(var(--eb07-tablet-cols,2),minmax(0,1fr))}body.eb-team-profile-page .eb07-profile.layout-full .eb07-profile-hero{grid-template-columns:minmax(0,1fr) minmax(280px,310px);gap:24px}body.eb-team-profile-page .eb07-profile.layout-full.image-left .eb07-profile-hero{grid-template-columns:minmax(280px,310px) minmax(0,1fr)}body.eb-team-profile-page .eb07-profile-info{grid-template-columns:repeat(2,minmax(0,1fr))}body.eb-team-profile-page .eb07-profile-modules.no-about.count-3{grid-template-columns:repeat(2,minmax(0,1fr))}body.eb-team-profile-page .eb07-profile-modules.no-about.count-3>.eb07-profile-module:last-child{grid-column:1/-1}}
@media (max-width:767px){
 body.eb-team-listing-page .eb07-team{width:calc(100% - 16px);padding:10px 0 34px}body.eb-team-listing-page .eb07-team .eb07-block-heading{padding:20px 12px 18px;border-radius:20px;margin-bottom:12px}body.eb-team-listing-page .eb07-team .eb07-block-heading h2{font-size:28px}body.eb-team-listing-page .eb07-team .eb07-block-heading p{font-size:11px}
 body.eb-team-listing-page .eb07-team-overview{flex-direction:column;align-items:stretch;gap:10px;padding:11px;margin-bottom:12px}body.eb-team-listing-page .eb07-team-overview__stats{grid-template-columns:repeat(3,minmax(0,1fr));width:100%}body.eb-team-listing-page .eb07-team-overview__stats>div{min-width:0;padding:7px 5px}body.eb-team-listing-page .eb07-team-overview__stats span{white-space:normal;text-align:center;font-size:8.7px}
 body.eb-team-listing-page .eb07-team-grid{grid-template-columns:repeat(var(--eb07-mobile-cols,1),minmax(0,1fr));gap:10px}body.eb-team-listing-page .eb07-team-card,body.eb-team-listing-page .eb07-team-card.is-orphan{min-height:150px;display:grid;grid-template-columns:118px minmax(0,1fr);border-radius:15px}body.eb-team-listing-page .eb07-team-photo{height:100%;min-height:150px}body.eb-team-listing-page .eb07-team-role-overlay{right:7px;bottom:7px;max-width:82%;font-size:8.3px;padding:4px 6px}body.eb-team-listing-page .eb07-team-photo-arrow{left:7px;bottom:7px;width:24px;height:24px;font-size:10px}body.eb-team-listing-page .eb07-team-body{padding:10px 11px}body.eb-team-listing-page .eb07-team-body h3{font-size:14px;margin-bottom:3px}body.eb-team-listing-page .eb07-team-body p{min-height:0;font-size:10.5px;line-height:1.75;-webkit-line-clamp:2;margin-bottom:5px}body.eb-team-listing-page .eb07-team-body .eb07-link{padding-top:6px;font-size:10px}
 body.eb-team-profile-page .eb07-team-single{padding:12px 0 34px}body.eb-team-profile-page .eb07-team-single .eb07-profile-wrap{width:calc(100% - 14px)}body.eb-team-profile-page .eb07-team-single .eb07-back{margin-bottom:10px;font-size:9.8px}body.eb-team-profile-page .eb07-profile.layout-full .eb07-profile-hero,body.eb-team-profile-page .eb07-profile.layout-full.image-left .eb07-profile-hero{display:flex;flex-direction:column;gap:11px;padding:14px;border-radius:19px}body.eb-team-profile-page .eb07-profile-copy{display:contents}body.eb-team-profile-page .eb07-profile-head{order:0;width:100%;padding:3px 2px 10px;border-bottom:0;text-align:center}body.eb-team-profile-page .eb07-profile-eyebrow{justify-content:center}body.eb-team-profile-page .eb07-profile-copy h1{margin:5px 0;font-size:30px;text-align:center}body.eb-team-profile-page .eb07-profile-label{margin-inline:auto}body.eb-team-profile-page .eb07-profile-tagline,body.eb-team-profile-page .eb07-profile-intro{text-align:center;margin-top:6px}body.eb-team-profile-page .eb07-profile-visual{order:1;width:100%}body.eb-team-profile-page .eb07-profile-photo,body.eb-team-profile-page .eb07-profile-photo.is-sticky{width:100%;height:330px;border-radius:16px}body.eb-team-profile-page .eb07-profile-facts-wrap{order:2;width:100%;margin-top:2px}body.eb-team-profile-page .eb07-profile-info,body.eb-team-profile-page .eb07-profile-info.count-1,body.eb-team-profile-page .eb07-profile-info.count-2,body.eb-team-profile-page .eb07-profile-info.count-3{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}body.eb-team-profile-page .eb07-profile-fact{min-height:61px;grid-template-columns:minmax(0,1fr) 27px;padding:8px}body.eb-team-profile-page .eb07-profile-fact-icon{width:26px;height:26px;font-size:11px}body.eb-team-profile-page .eb07-profile-lower{margin-top:9px}body.eb-team-profile-page .eb07-profile-modules,body.eb-team-profile-page .eb07-profile-modules.no-about.count-3{grid-template-columns:1fr;gap:9px}body.eb-team-profile-page .eb07-profile-module,body.eb-team-profile-page .eb07-profile-module.is-wide,body.eb-team-profile-page .eb07-profile-modules.has-about>.eb07-profile-module[data-section="about"],body.eb-team-profile-page .eb07-profile-modules.no-about.count-3>.eb07-profile-module:last-child{grid-column:1}body.eb-team-profile-page .eb07-profile-module{padding:13px;border-radius:15px}body.eb-team-profile-page .eb07-profile-module[data-section="about"]{padding:14px 13px}body.eb-team-profile-page .eb07-profile-module h2{font-size:15px;margin-bottom:8px;padding-bottom:8px}body.eb-team-profile-page .eb07-profile-module.is-wide .eb07-profile-list{grid-template-columns:1fr}body.eb-team-profile-page .eb07-profile-richtext p{font-size:11.8px;line-height:1.9}body.eb-team-profile-page .eb07-profile-list>li>b{font-size:11.2px;line-height:1.82}
}
@media (max-width:430px){body.eb-team-profile-page .eb07-profile-photo,body.eb-team-profile-page .eb07-profile-photo.is-sticky{height:300px}body.eb-team-profile-page .eb07-profile-info,body.eb-team-profile-page .eb07-profile-info.count-1,body.eb-team-profile-page .eb07-profile-info.count-2,body.eb-team-profile-page .eb07-profile-info.count-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (prefers-reduced-motion:reduce){body.eb-team-listing-page .eb07-team-card,body.eb-team-listing-page .eb07-team-photo img{transition:none}body.eb-team-listing-page .eb07-team-card:hover{transform:none}}

/* v0.8.57 urgent layout-reset hotfix
   Neutralize legacy .eb07-profile grid rules from older Elementor-first stylesheet.
   Without this reset, hero/lower sections can split into separate columns and titles collapse vertically. */
body.eb-team-profile-page .eb07-profile.layout-full,
body.eb-team-profile-page .eb07-profile.layout-full.image-left,
body.eb-team-profile-page .eb07-profile.layout-full.image-right{
  display:block !important;
  grid-template-columns:none !important;
  grid-auto-flow:row !important;
  align-items:initial !important;
  position:relative !important;
  overflow:visible !important;
}
body.eb-team-profile-page .eb07-profile.layout-full > .eb07-profile-hero,
body.eb-team-profile-page .eb07-profile.layout-full.image-left > .eb07-profile-hero,
body.eb-team-profile-page .eb07-profile.layout-full.image-right > .eb07-profile-hero{
  display:grid !important;
  width:100% !important;
  max-width:none !important;
  grid-auto-flow:row !important;
}
body.eb-team-profile-page .eb07-profile.layout-full.image-right > .eb07-profile-hero{
  grid-template-columns:minmax(0,1fr) minmax(320px,var(--eb07-profile-photo,360px)) !important;
}
body.eb-team-profile-page .eb07-profile.layout-full.image-left > .eb07-profile-hero{
  grid-template-columns:minmax(320px,var(--eb07-profile-photo,360px)) minmax(0,1fr) !important;
}
body.eb-team-profile-page .eb07-profile.layout-full > .eb07-profile-lower,
body.eb-team-profile-page .eb07-profile.layout-full.image-left > .eb07-profile-lower,
body.eb-team-profile-page .eb07-profile.layout-full.image-right > .eb07-profile-lower{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  grid-column:auto !important;
  grid-row:auto !important;
}
body.eb-team-profile-page .eb07-profile.layout-full .eb07-profile-copy,
body.eb-team-profile-page .eb07-profile.layout-full .eb07-profile-visual,
body.eb-team-profile-page .eb07-profile.layout-full .eb07-profile-head,
body.eb-team-profile-page .eb07-profile.layout-full .eb07-profile-facts-wrap,
body.eb-team-profile-page .eb07-profile.layout-full .eb07-profile-modules,
body.eb-team-profile-page .eb07-profile.layout-full .eb07-profile-module{
  min-width:0 !important;
  max-width:100% !important;
  writing-mode:horizontal-tb !important;
}
body.eb-team-profile-page .eb07-profile.layout-full .eb07-profile-copy h1,
body.eb-team-profile-page .eb07-profile.layout-full .eb07-profile-module-title,
body.eb-team-profile-page .eb07-profile.layout-full .eb07-profile-richtext,
body.eb-team-profile-page .eb07-profile.layout-full .eb07-profile-richtext p,
body.eb-team-profile-page .eb07-profile.layout-full .eb07-profile-list > li,
body.eb-team-profile-page .eb07-profile.layout-full .eb07-profile-list > li b{
  writing-mode:horizontal-tb !important;
  white-space:normal !important;
  word-break:normal !important;
  overflow-wrap:anywhere !important;
}
@media (min-width:768px){
  body.eb-team-profile-page .eb07-profile.layout-full .eb07-profile-copy{display:flex !important;}
}
@media (max-width:767px){
  body.eb-team-profile-page .eb07-profile.layout-full > .eb07-profile-hero,
  body.eb-team-profile-page .eb07-profile.layout-full.image-left > .eb07-profile-hero,
  body.eb-team-profile-page .eb07-profile.layout-full.image-right > .eb07-profile-hero{
    display:flex !important;
    flex-direction:column !important;
    grid-template-columns:none !important;
  }
}

/* v0.8.58 urgent visual polish + image artifact fix
   - removes Chrome paint artifacts on team cards (black horizontal stripe)
   - neutralizes image overlays on directory thumbnails
   - simplifies single-profile cards/icons and standardizes photo placement */

/* 1) Team directory image artifact fix */
body.eb-team-listing-page .eb07-team-card,
body.eb-team-listing-page .eb07-team.is-premium .eb07-team-card{
  content-visibility:visible !important;
  contain:none !important;
}
body.eb-team-listing-page .eb07-team-photo,
body.eb-team-listing-page .eb07-team.is-premium .eb07-team-photo{
  isolation:auto !important;
  background:#eef4f0 !important;
}
body.eb-team-listing-page .eb07-team-photo::before,
body.eb-team-listing-page .eb07-team-photo::after,
body.eb-team-listing-page .eb07-team.is-premium .eb07-team-photo::before,
body.eb-team-listing-page .eb07-team.is-premium .eb07-team-photo::after{
  content:none !important;
  display:none !important;
  background:none !important;
}
body.eb-team-listing-page .eb07-team-photo img,
body.eb-team-listing-page .eb07-team-photo .ebip-media-img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  opacity:1 !important;
  filter:none !important;
  mix-blend-mode:normal !important;
  backface-visibility:hidden !important;
  -webkit-backface-visibility:hidden !important;
  image-rendering:auto !important;
}

/* 2) Single profile visual redesign */
body.eb-team-profile-page .eb07-profile.layout-full > .eb07-profile-hero,
body.eb-team-profile-page .eb07-profile.layout-full.image-left > .eb07-profile-hero,
body.eb-team-profile-page .eb07-profile.layout-full.image-right > .eb07-profile-hero{
  grid-template-columns:minmax(320px,360px) minmax(0,1fr) !important;
  gap:30px !important;
  align-items:start !important;
  padding:28px !important;
  background:linear-gradient(135deg,#ffffff,#f8fbf9) !important;
}
body.eb-team-profile-page .eb07-profile.layout-full .eb07-profile-visual{
  grid-column:1 !important;
  grid-row:1 !important;
  align-self:start !important;
}
body.eb-team-profile-page .eb07-profile.layout-full .eb07-profile-copy{
  grid-column:2 !important;
  grid-row:1 !important;
  align-self:start !important;
  justify-content:flex-start !important;
}
body.eb-team-profile-page .eb07-profile.layout-full .eb07-profile-head{
  padding-bottom:16px !important;
  margin-bottom:16px !important;
}
body.eb-team-profile-page .eb07-profile-photo,
body.eb-team-profile-page .eb07-profile-photo.is-sticky{
  position:sticky !important;
  top:110px !important;
  height:460px !important;
  border-radius:22px !important;
  box-shadow:0 14px 34px rgba(17,62,37,.08) !important;
}
body.eb-team-profile-page .eb07-profile-photo:after{
  left:20% !important;
  right:20% !important;
}

/* 3) Simpler info strip + icons */
body.eb-team-profile-page .eb07-profile-subhead{
  font-size:13px !important;
  margin:0 0 12px !important;
}
body.eb-team-profile-page .eb07-profile-subhead > span{
  display:none !important;
}
body.eb-team-profile-page .eb07-profile-info{
  gap:12px !important;
}
body.eb-team-profile-page .eb07-profile-fact{
  min-height:82px !important;
  grid-template-columns:30px minmax(0,1fr) !important;
  grid-template-rows:auto auto !important;
  column-gap:10px !important;
  padding:13px 14px !important;
  border-radius:16px !important;
  box-shadow:none !important;
}
body.eb-team-profile-page .eb07-profile-fact-icon{
  grid-column:1 !important;
  grid-row:1 / span 2 !important;
  width:30px !important;
  height:30px !important;
  border-radius:9px !important;
  font-size:12px !important;
  background:#f1f8f4 !important;
  border-color:#dcebe2 !important;
}
body.eb-team-profile-page .eb07-profile-fact>span,
body.eb-team-profile-page .eb07-profile-fact>strong{
  grid-column:2 !important;
}
body.eb-team-profile-page .eb07-profile-fact>span{font-size:10px !important;}
body.eb-team-profile-page .eb07-profile-fact>strong{font-size:13px !important;}
body.eb-team-profile-page .eb07-profile-fact.is-experience .eb07-profile-fact-icon:before{content:"◷" !important}
body.eb-team-profile-page .eb07-profile-fact.is-degree .eb07-profile-fact-icon:before{content:"▣" !important}
body.eb-team-profile-page .eb07-profile-fact.is-field .eb07-profile-fact-icon:before{content:"✎" !important}
body.eb-team-profile-page .eb07-profile-fact.is-school .eb07-profile-fact-icon:before{content:"⌂" !important}
body.eb-team-profile-page .eb07-profile-fact.is-role .eb07-profile-fact-icon:before{content:"✦" !important}
body.eb-team-profile-page .eb07-profile-fact.is-generic .eb07-profile-fact-icon:before{content:"•" !important}

/* 4) Cleaner content cards */
body.eb-team-profile-page .eb07-profile-module{
  padding:18px 18px 17px !important;
  border-radius:18px !important;
  box-shadow:0 7px 18px rgba(20,71,43,.025) !important;
}
body.eb-team-profile-page .eb07-profile-module[data-section="about"]{
  border-right:3px solid var(--ebt-green) !important;
  background:#fff !important;
}
body.eb-team-profile-page .eb07-profile-module[data-section="about"]:after{
  display:none !important;
}
body.eb-team-profile-page .eb07-profile-module h2{
  gap:8px !important;
  margin-bottom:10px !important;
  padding-bottom:10px !important;
}
body.eb-team-profile-page .eb07-profile-module-icon{
  width:24px !important;
  height:24px !important;
  flex:0 0 24px !important;
  border-radius:8px !important;
  font-size:10px !important;
}
body.eb-team-profile-page .eb07-profile-module-icon.is-about:before{content:"•" !important}
body.eb-team-profile-page .eb07-profile-module-icon.is-skills:before{content:"✎" !important}
body.eb-team-profile-page .eb07-profile-module-icon.is-experience:before{content:"◷" !important}
body.eb-team-profile-page .eb07-profile-module-icon.is-education:before{content:"▣" !important}
body.eb-team-profile-page .eb07-profile-module-icon.is-activities:before{content:"◇" !important}
body.eb-team-profile-page .eb07-profile-module-icon.is-legacy:before{content:"✦" !important}

@media (min-width:768px) and (max-width:1179px){
  body.eb-team-profile-page .eb07-profile.layout-full > .eb07-profile-hero,
  body.eb-team-profile-page .eb07-profile.layout-full.image-left > .eb07-profile-hero,
  body.eb-team-profile-page .eb07-profile.layout-full.image-right > .eb07-profile-hero{
    grid-template-columns:300px minmax(0,1fr) !important;
    gap:24px !important;
  }
  body.eb-team-profile-page .eb07-profile-info,
  body.eb-team-profile-page .eb07-profile-info.count-3,
  body.eb-team-profile-page .eb07-profile-info.count-4{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media (max-width:767px){
  body.eb-team-profile-page .eb07-profile.layout-full > .eb07-profile-hero,
  body.eb-team-profile-page .eb07-profile.layout-full.image-left > .eb07-profile-hero,
  body.eb-team-profile-page .eb07-profile.layout-full.image-right > .eb07-profile-hero{
    display:flex !important;
    flex-direction:column !important;
    gap:12px !important;
    padding:14px !important;
  }
  body.eb-team-profile-page .eb07-profile.layout-full .eb07-profile-visual,
  body.eb-team-profile-page .eb07-profile.layout-full .eb07-profile-copy{
    grid-column:auto !important;
    grid-row:auto !important;
  }
  body.eb-team-profile-page .eb07-profile-photo,
  body.eb-team-profile-page .eb07-profile-photo.is-sticky{
    position:relative !important;
    top:auto !important;
    width:100% !important;
    height:330px !important;
  }
  body.eb-team-profile-page .eb07-profile-info,
  body.eb-team-profile-page .eb07-profile-info.count-2,
  body.eb-team-profile-page .eb07-profile-info.count-3,
  body.eb-team-profile-page .eb07-profile-info.count-4{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}


/* v0.8.59 cleanup based on final review */

/* Directory cards: cleaner badges + tighter content */
body.eb-team-listing-page .eb07-team-role-overlay{
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  white-space:normal !important;
  line-height:1.35 !important;
  padding:5px 9px !important;
  min-height:0 !important;
  max-width:calc(100% - 56px) !important;
}
body.eb-team-listing-page .eb07-team-body{display:flex !important;flex-direction:column !important}
body.eb-team-listing-page .eb07-team-body p{
  min-height:64px !important;
  display:-webkit-box !important;
  -webkit-line-clamp:4 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
}
body.eb-team-listing-page .eb07-link{margin-top:auto !important}

/* Single profile pages: approved look, simpler frames/icons */
body.eb-team-profile-page .eb07-profile{
  --eb07-profile-gap:22px !important;
}
body.eb-team-profile-page .eb07-profile.layout-full > .eb07-profile-hero,
body.eb-team-profile-page .eb07-profile.layout-full.image-left > .eb07-profile-hero,
body.eb-team-profile-page .eb07-profile.layout-full.image-right > .eb07-profile-hero{
  grid-template-columns:minmax(0,1fr) 300px !important;
  gap:22px !important;
  padding:24px !important;
}
body.eb-team-profile-page .eb07-profile.layout-full .eb07-profile-copy{grid-column:1 !important}
body.eb-team-profile-page .eb07-profile.layout-full .eb07-profile-visual{grid-column:2 !important}
body.eb-team-profile-page .eb07-profile-photo,
body.eb-team-profile-page .eb07-profile-photo.is-sticky{
  position:relative !important;
  top:auto !important;
  width:100% !important;
  height:380px !important;
  border-radius:20px !important;
}
body.eb-team-profile-page .eb07-profile-photo:after{left:16% !important;right:16% !important}
body.eb-team-profile-page .eb07-profile-head h1{font-size:48px !important;line-height:1.18 !important}
body.eb-team-profile-page .eb07-profile-role{font-size:12px !important;padding:8px 14px !important}
body.eb-team-profile-page .eb07-profile-subhead{margin-top:4px !important}
body.eb-team-profile-page .eb07-profile-subhead > span{display:none !important}

/* Hide decorative icons that are causing visual clutter */
body.eb-team-profile-page .eb07-profile-fact-icon,
body.eb-team-profile-page .eb07-profile-module-icon{display:none !important}
body.eb-team-profile-page .eb07-profile-fact{
  grid-template-columns:minmax(0,1fr) !important;
  grid-template-rows:auto auto !important;
  min-height:74px !important;
  padding:12px 16px !important;
  border-radius:14px !important;
}
body.eb-team-profile-page .eb07-profile-fact > span,
body.eb-team-profile-page .eb07-profile-fact > strong{grid-column:1 !important}
body.eb-team-profile-page .eb07-profile-fact > span{font-size:10px !important;margin-bottom:4px !important}
body.eb-team-profile-page .eb07-profile-fact > strong{font-size:13px !important}
body.eb-team-profile-page .eb07-profile-info,
body.eb-team-profile-page .eb07-profile-info.count-2,
body.eb-team-profile-page .eb07-profile-info.count-3,
body.eb-team-profile-page .eb07-profile-info.count-4{grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:12px !important}

body.eb-team-profile-page .eb07-profile-module{
  min-height:auto !important;
  padding:18px 18px 16px !important;
  border-radius:18px !important;
}
body.eb-team-profile-page .eb07-profile-module h2{
  justify-content:flex-start !important;
  font-size:17px !important;
  margin-bottom:10px !important;
  padding-bottom:10px !important;
}
body.eb-team-profile-page .eb07-profile-module h2:after{margin-right:0 !important;margin-left:auto !important}
body.eb-team-profile-page .eb07-profile-module[data-section="about"]{
  grid-column:1 / -1 !important;
  background:#fff !important;
  border-right:3px solid var(--ebt-green) !important;
}
body.eb-team-profile-page .eb07-profile-modules,
body.eb-team-profile-page .eb07-profile.layout-full .eb07-profile-modules,
body.eb-team-profile-page .eb07-profile.layout-full.image-left .eb07-profile-modules,
body.eb-team-profile-page .eb07-profile.layout-full.image-right .eb07-profile-modules{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:16px !important;
}
body.eb-team-profile-page .eb07-profile-module .eb07-profile-list li{
  padding:9px 0 9px 18px !important;
}
body.eb-team-profile-page .eb07-profile-module .eb07-profile-list li:before{top:14px !important}

@media (max-width:1180px){
  body.eb-team-profile-page .eb07-profile-info,
  body.eb-team-profile-page .eb07-profile-info.count-2,
  body.eb-team-profile-page .eb07-profile-info.count-3,
  body.eb-team-profile-page .eb07-profile-info.count-4{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}
@media (max-width:767px){
  body.eb-team-profile-page .eb07-profile.layout-full > .eb07-profile-hero,
  body.eb-team-profile-page .eb07-profile.layout-full.image-left > .eb07-profile-hero,
  body.eb-team-profile-page .eb07-profile.layout-full.image-right > .eb07-profile-hero{display:flex !important;flex-direction:column !important;padding:14px !important}
  body.eb-team-profile-page .eb07-profile-photo,
  body.eb-team-profile-page .eb07-profile-photo.is-sticky{height:320px !important;order:1 !important}
  body.eb-team-profile-page .eb07-profile.layout-full .eb07-profile-copy{order:2 !important}
  body.eb-team-profile-page .eb07-profile-modules,
  body.eb-team-profile-page .eb07-profile.layout-full .eb07-profile-modules,
  body.eb-team-profile-page .eb07-profile.layout-full.image-left .eb07-profile-modules,
  body.eb-team-profile-page .eb07-profile.layout-full.image-right .eb07-profile-modules{grid-template-columns:1fr !important}
}


/* v0.8.61 — FINAL RTL PHYSICAL GRID REPAIR
   Root cause fixed: CSS Grid line numbering follows direction:rtl, therefore the previous
   numeric columns rendered the visually "right" portrait on the physical left. We make
   only the hero grid LTR for physical placement, while every content block remains RTL.
   Elementor image_side remains functional. */
@media (min-width:768px){
  body.eb-team-profile-page .eb07-profile.layout-full > .eb07-profile-hero,
  body.eb-team-profile-page .eb07-profile.layout-full.image-right > .eb07-profile-hero,
  body.eb-team-profile-page .eb07-profile.layout-full.image-left > .eb07-profile-hero{
    direction:ltr !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(290px,300px) !important;
    align-items:center !important;
  }
  body.eb-team-profile-page .eb07-profile.layout-full.image-right .eb07-profile-copy{
    grid-column:1 !important;
    grid-row:1 !important;
    direction:rtl !important;
    text-align:right !important;
  }
  body.eb-team-profile-page .eb07-profile.layout-full.image-right .eb07-profile-visual{
    grid-column:2 !important;
    grid-row:1 !important;
  }
  body.eb-team-profile-page .eb07-profile.layout-full.image-left .eb07-profile-visual{
    grid-column:1 !important;
    grid-row:1 !important;
  }
  body.eb-team-profile-page .eb07-profile.layout-full.image-left .eb07-profile-copy{
    grid-column:2 !important;
    grid-row:1 !important;
    direction:rtl !important;
    text-align:right !important;
  }
}

/* Balanced module composition: never leave a lonely half-row on approved desktop layout. */
@media (min-width:1180px){
  body.eb-team-profile-page .eb07-profile-modules.no-about.count-3{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
  body.eb-team-profile-page .eb07-profile-modules.no-about.count-3 > .eb07-profile-module{
    grid-column:auto !important;
  }
  body.eb-team-profile-page .eb07-profile-modules.has-about.count-4{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
  body.eb-team-profile-page .eb07-profile-modules.has-about.count-4 > .eb07-profile-module[data-section="about"]{
    grid-column:1 / -1 !important;
  }
  body.eb-team-profile-page .eb07-profile-modules.has-about.count-4 > .eb07-profile-module:not([data-section="about"]){
    grid-column:auto !important;
  }
}

/* Two-column states remain balanced on normal laptop widths. */
@media (min-width:768px) and (max-width:1179px){
  body.eb-team-profile-page .eb07-profile-modules.no-about.count-3 > .eb07-profile-module:last-child,
  body.eb-team-profile-page .eb07-profile-modules.has-about.count-4 > .eb07-profile-module:last-child{
    grid-column:1 / -1 !important;
  }
}

/* Direction safety: Persian stays RTL; English blocks stay truly LTR without moving layout. */
body.eb-team-profile-page .eb07-profile-copy,
body.eb-team-profile-page .eb07-profile-facts-wrap,
body.eb-team-profile-page .eb07-profile-modules,
body.eb-team-profile-page .eb07-profile-module{
  direction:rtl !important;
}
body.eb-team-profile-page .eb07-profile-paragraph.is-ltr,
body.eb-team-profile-page .eb07-profile-richtext .is-ltr,
body.eb-team-profile-page [dir="ltr"]{
  direction:ltr !important;
  text-align:left !important;
  unicode-bidi:plaintext !important;
}
body.eb-team-profile-page .eb07-profile-paragraph.is-rtl,
body.eb-team-profile-page .eb07-profile-richtext .is-rtl,
body.eb-team-profile-page [dir="rtl"]{
  direction:rtl !important;
  text-align:right !important;
  unicode-bidi:plaintext !important;
}

/* Keep title rows clean: no decorative icon may reserve/overlap text space. */
body.eb-team-profile-page .eb07-profile-module-icon,
body.eb-team-profile-page .eb07-profile-fact-icon{
  display:none !important;
}
body.eb-team-profile-page .eb07-profile-module h2{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  min-width:0 !important;
}
body.eb-team-profile-page .eb07-profile-module-title{
  min-width:0 !important;
  overflow-wrap:anywhere !important;
}

/* Mobile: stable one-column flow; no grid-column residue from desktop. */
@media (max-width:767px){
  body.eb-team-profile-page .eb07-profile.layout-full > .eb07-profile-hero,
  body.eb-team-profile-page .eb07-profile.layout-full.image-right > .eb07-profile-hero,
  body.eb-team-profile-page .eb07-profile.layout-full.image-left > .eb07-profile-hero{
    direction:rtl !important;
    display:flex !important;
    flex-direction:column !important;
  }
  body.eb-team-profile-page .eb07-profile.layout-full .eb07-profile-visual,
  body.eb-team-profile-page .eb07-profile.layout-full .eb07-profile-copy{
    grid-column:auto !important;
    grid-row:auto !important;
    width:100% !important;
  }
}

/* v0.8.62 — TEAM FINAL POLISH CLOSURE
   Final scoped refinement after visual review:
   - compact hero / removes dead vertical space
   - restores safe, fixed-cell icons without text overlap
   - keeps portrait placement physically stable in RTL desktop grid
   - auto-height lower cards; no forced empty space
   - keeps Persian RTL and explicit English LTR
   - CSS-only; no new JS/library/query */

/* Compact hero geometry without changing Elementor image-side control. */
@media (min-width:768px){
  body.eb-team-profile-page .eb07-profile.layout-full > .eb07-profile-hero,
  body.eb-team-profile-page .eb07-profile.layout-full.image-right > .eb07-profile-hero,
  body.eb-team-profile-page .eb07-profile.layout-full.image-left > .eb07-profile-hero{
    min-height:0 !important;
    gap:28px !important;
    align-items:start !important;
    padding:24px 26px !important;
  }
  body.eb-team-profile-page .eb07-profile.layout-full .eb07-profile-copy{
    align-self:start !important;
    justify-content:flex-start !important;
  }
  body.eb-team-profile-page .eb07-profile-head{
    margin:0 0 11px !important;
    padding:2px 0 12px !important;
  }
  body.eb-team-profile-page .eb07-profile-head h1,
  body.eb-team-profile-page .eb07-profile-copy h1{
    margin:6px 0 6px !important;
    font-size:clamp(34px,3vw,43px) !important;
    line-height:1.2 !important;
  }
  body.eb-team-profile-page .eb07-profile-label,
  body.eb-team-profile-page .eb07-profile-role{
    min-height:30px !important;
    padding:6px 12px !important;
  }
  body.eb-team-profile-page .eb07-profile-tagline,
  body.eb-team-profile-page .eb07-profile-intro{
    margin-top:6px !important;
  }
  body.eb-team-profile-page .eb07-profile-facts-wrap{
    margin:12px 0 0 !important;
  }
  body.eb-team-profile-page .eb07-profile-subhead{
    margin:0 0 8px !important;
  }
  body.eb-team-profile-page .eb07-profile-photo,
  body.eb-team-profile-page .eb07-profile-photo.is-sticky{
    position:relative !important;
    top:auto !important;
    height:390px !important;
    max-height:390px !important;
    align-self:start !important;
  }
}

/* Safe fact icons: each icon owns a dedicated physical cell on the right.
   The row itself is LTR only for physical grid numbering; text stays RTL. */
body.eb-team-profile-page .eb07-profile-fact{
  direction:ltr !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 30px !important;
  grid-template-rows:auto auto !important;
  column-gap:9px !important;
  row-gap:1px !important;
  min-height:68px !important;
  height:auto !important;
  padding:9px 11px !important;
  align-items:center !important;
}
body.eb-team-profile-page .eb07-profile-fact-icon{
  display:grid !important;
  position:static !important;
  grid-column:2 !important;
  grid-row:1 / span 2 !important;
  align-self:center !important;
  justify-self:end !important;
  width:28px !important;
  height:28px !important;
  margin:0 !important;
  border:1px solid #d7e9dd !important;
  border-radius:9px !important;
  background:#eff8f3 !important;
  color:var(--ebt-green) !important;
  font-size:10px !important;
  line-height:1 !important;
  overflow:hidden !important;
}
body.eb-team-profile-page .eb07-profile-fact > span,
body.eb-team-profile-page .eb07-profile-fact > strong{
  grid-column:1 !important;
  min-width:0 !important;
  width:auto !important;
  margin:0 !important;
  padding:0 !important;
  direction:rtl !important;
  text-align:right !important;
  white-space:normal !important;
  word-break:normal !important;
  overflow-wrap:anywhere !important;
}
body.eb-team-profile-page .eb07-profile-fact > span{
  grid-row:1 !important;
  margin-bottom:2px !important;
  font-size:9.5px !important;
  line-height:1.4 !important;
}
body.eb-team-profile-page .eb07-profile-fact > strong{
  grid-row:2 !important;
  font-size:12px !important;
  line-height:1.55 !important;
}
body.eb-team-profile-page .eb07-profile-fact > strong.is-ltr{
  direction:ltr !important;
  text-align:left !important;
  unicode-bidi:plaintext !important;
}

/* Safe module-title icons: fixed right cell, never on top of the title. */
body.eb-team-profile-page .eb07-profile-module h2{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 26px !important;
  column-gap:8px !important;
  align-items:center !important;
  direction:ltr !important;
  min-height:28px !important;
  margin:0 0 9px !important;
  padding:0 0 9px !important;
}
body.eb-team-profile-page .eb07-profile-module-title{
  grid-column:1 !important;
  min-width:0 !important;
  direction:rtl !important;
  text-align:right !important;
  white-space:normal !important;
  word-break:normal !important;
  overflow-wrap:anywhere !important;
}
body.eb-team-profile-page .eb07-profile-module-icon{
  display:grid !important;
  position:static !important;
  grid-column:2 !important;
  grid-row:1 !important;
  place-items:center !important;
  justify-self:end !important;
  width:24px !important;
  height:24px !important;
  min-width:24px !important;
  margin:0 !important;
  border:1px solid #d8eade !important;
  border-radius:8px !important;
  background:#f2faf5 !important;
  color:var(--ebt-green) !important;
  font-size:9px !important;
  line-height:1 !important;
  overflow:hidden !important;
}

/* Lower content: natural heights and tighter rhythm. */
body.eb-team-profile-page .eb07-profile-lower{
  margin-top:12px !important;
}
body.eb-team-profile-page .eb07-profile-modules,
body.eb-team-profile-page .eb07-profile.layout-full .eb07-profile-modules,
body.eb-team-profile-page .eb07-profile.layout-full.image-left .eb07-profile-modules,
body.eb-team-profile-page .eb07-profile.layout-full.image-right .eb07-profile-modules{
  align-items:start !important;
  align-content:start !important;
  gap:12px !important;
}
body.eb-team-profile-page .eb07-profile-module,
body.eb-team-profile-page .eb07-profile-module.is-wide{
  min-height:0 !important;
  height:auto !important;
  align-self:start !important;
  padding:15px 16px !important;
}
body.eb-team-profile-page .eb07-profile-module[data-section="about"]{
  padding:16px 18px !important;
}
body.eb-team-profile-page .eb07-profile-list{
  gap:4px !important;
}
body.eb-team-profile-page .eb07-profile-list > li{
  min-height:0 !important;
  padding:5px 0 !important;
}
body.eb-team-profile-page .eb07-profile-richtext p{
  margin-bottom:7px !important;
}

/* Mobile/tablet safety: compact, one-column, icons remain isolated from text. */
@media (max-width:767px){
  body.eb-team-profile-page .eb07-profile.layout-full > .eb07-profile-hero,
  body.eb-team-profile-page .eb07-profile.layout-full.image-right > .eb07-profile-hero,
  body.eb-team-profile-page .eb07-profile.layout-full.image-left > .eb07-profile-hero{
    min-height:0 !important;
    gap:10px !important;
    padding:13px !important;
  }
  body.eb-team-profile-page .eb07-profile-photo,
  body.eb-team-profile-page .eb07-profile-photo.is-sticky{
    position:relative !important;
    top:auto !important;
    height:310px !important;
    max-height:310px !important;
  }
  body.eb-team-profile-page .eb07-profile-facts-wrap{margin-top:8px !important}
  body.eb-team-profile-page .eb07-profile-fact{
    grid-template-columns:minmax(0,1fr) 26px !important;
    min-height:58px !important;
    padding:7px 8px !important;
  }
  body.eb-team-profile-page .eb07-profile-fact-icon{
    width:24px !important;
    height:24px !important;
    font-size:9px !important;
  }
  body.eb-team-profile-page .eb07-profile-module h2{
    grid-template-columns:minmax(0,1fr) 24px !important;
  }
  body.eb-team-profile-page .eb07-profile-module-icon{
    width:22px !important;
    height:22px !important;
    min-width:22px !important;
  }
}

/* v0.8.63 — TEAM FINAL BALANCE LOCK
   Visual closure after 0.8.62 screenshot review:
   - prevents 3-card profile sections from leaving a lonely half-column
   - keeps about full-width and balances the remaining 3 modules as 2 + full-width
   - preserves Elementor-first controls, RTL/LTR safety, and existing portrait placement
   - CSS-only; no new JS/library/query */
@media (min-width:768px){
  body.eb-team-profile-page .eb07-profile-modules,
  body.eb-team-profile-page .eb07-profile.layout-full .eb07-profile-modules,
  body.eb-team-profile-page .eb07-profile.layout-full.image-left .eb07-profile-modules,
  body.eb-team-profile-page .eb07-profile.layout-full.image-right .eb07-profile-modules{
    grid-auto-flow:row !important;
  }

  /* Three normal modules: two balanced cards + one full-width closure row. */
  body.eb-team-profile-page .eb07-profile-modules.no-about.count-3{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  body.eb-team-profile-page .eb07-profile-modules.no-about.count-3 > .eb07-profile-module{
    grid-column:auto !important;
  }
  body.eb-team-profile-page .eb07-profile-modules.no-about.count-3 > .eb07-profile-module:last-child{
    grid-column:1 / -1 !important;
  }

  /* About + three professional modules: about full, two balanced cards, final full row. */
  body.eb-team-profile-page .eb07-profile-modules.has-about.count-4{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  body.eb-team-profile-page .eb07-profile-modules.has-about.count-4 > .eb07-profile-module[data-section="about"]{
    grid-column:1 / -1 !important;
  }
  body.eb-team-profile-page .eb07-profile-modules.has-about.count-4 > .eb07-profile-module:not([data-section="about"]){
    grid-column:auto !important;
  }
  body.eb-team-profile-page .eb07-profile-modules.has-about.count-4 > .eb07-profile-module:last-child{
    grid-column:1 / -1 !important;
  }

  /* Use the extra width of a closure row efficiently without forcing equal heights. */
  body.eb-team-profile-page .eb07-profile-modules.no-about.count-3 > .eb07-profile-module:last-child .eb07-profile-list,
  body.eb-team-profile-page .eb07-profile-modules.has-about.count-4 > .eb07-profile-module:last-child .eb07-profile-list{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    column-gap:24px !important;
  }
}

@media (max-width:767px){
  body.eb-team-profile-page .eb07-profile-modules.no-about.count-3 > .eb07-profile-module:last-child .eb07-profile-list,
  body.eb-team-profile-page .eb07-profile-modules.has-about.count-4 > .eb07-profile-module:last-child .eb07-profile-list{
    grid-template-columns:1fr !important;
  }
}

/* v0.8.64 — UNIVERSAL THREE-CARD BALANCE FIX
   Structural + CSS fallback for real three-module profiles (e.g. Zeynab/Najmeh).
   The last real module is marked .is-wide server-side based on actual rendered modules,
   so legacy/structured differences cannot leave a lonely half-width card. */
@media (min-width:768px){
  body.eb-team-profile-page .eb07-profile-modules{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    grid-auto-flow:row !important;
  }
  body.eb-team-profile-page .eb07-profile-modules > .eb07-profile-module.is-wide{
    grid-column:1 / -1 !important;
    width:100% !important;
  }
  body.eb-team-profile-page .eb07-profile-modules > .eb07-profile-module[data-section="about"]{
    grid-column:1 / -1 !important;
  }
  body.eb-team-profile-page .eb07-profile-modules.no-about.count-3 > .eb07-profile-module:last-child,
  body.eb-team-profile-page .eb07-profile-modules.count-3 > .eb07-profile-module.is-wide,
  body.eb-team-profile-page .eb07-profile-modules.has-about.count-4 > .eb07-profile-module:last-child{
    grid-column:1 / -1 !important;
  }
  body.eb-team-profile-page .eb07-profile-modules > .eb07-profile-module.is-wide .eb07-profile-list{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    column-gap:24px !important;
  }
}
@media (max-width:767px){
  body.eb-team-profile-page .eb07-profile-modules,
  body.eb-team-profile-page .eb07-profile-modules > .eb07-profile-module.is-wide{
    grid-template-columns:1fr !important;
    grid-column:1 !important;
  }
  body.eb-team-profile-page .eb07-profile-modules > .eb07-profile-module.is-wide .eb07-profile-list{
    grid-template-columns:1fr !important;
  }
}
