/*
Theme Name: ASHEPA Membership Theme
Theme URI: https://ashepa.org/
Author: ASHEPA
Description: Complete public website and member experience theme for the ASHEPA Professional Membership Platform.
Version: 1.2.9
Text Domain: ashepa-membership-theme
Requires at least: 5.8
Requires PHP: 7.4
*/
:root{
  --ashepa-navy:#07145c;--ashepa-navy-2:#0b216d;--ashepa-green:#65b32e;--ashepa-green-dark:#3f8f22;
  --ashepa-ink:#18221e;--ashepa-muted:#66736d;--ashepa-bg:#f5f8f6;--ashepa-soft:#eef4f0;--ashepa-line:#dce6e0;
  --ashepa-white:#fff;--ashepa-shadow:0 22px 60px rgba(7,20,92,.10);--ashepa-radius:22px;--content:1220px
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ashepa-bg);color:var(--ashepa-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65;-webkit-font-smoothing:antialiased}img{max-width:100%;height:auto}a{color:var(--ashepa-navy)}a:hover{color:var(--ashepa-green-dark)}button,input,select,textarea{font:inherit}.site-wrap{min-height:100vh;display:flex;flex-direction:column}.site-main{flex:1}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.screen-reader-text:focus,.skip-link:focus{clip:auto!important;width:auto;height:auto;margin:0;left:12px;top:12px;padding:12px 16px;background:#fff;color:var(--ashepa-navy);z-index:99999;border-radius:8px;box-shadow:var(--ashepa-shadow)}

/* Header */
.utility-bar{background:var(--ashepa-navy);color:#fff;font-size:.79rem}.utility-inner{max-width:var(--content);margin:auto;padding:7px 24px;display:flex;justify-content:space-between;gap:18px;align-items:center}.utility-inner a{color:#fff;text-decoration:none;margin-left:18px;opacity:.92}.utility-inner a:hover{opacity:1;text-decoration:underline}.site-header{background:rgba(255,255,255,.97);border-bottom:1px solid var(--ashepa-line);position:sticky;top:0;z-index:70;backdrop-filter:saturate(150%) blur(12px)}.header-inner{max-width:var(--content);margin:auto;padding:11px 24px;display:flex;align-items:center;gap:22px}.brand-area{display:flex;align-items:center;gap:12px;flex:0 0 auto}.brand,.brand-copy-link{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ashepa-ink);font-weight:900;letter-spacing:.01em}.brand-logo,.custom-logo{width:66px;height:66px;object-fit:contain;display:block}.custom-logo-link{display:block;line-height:0}.brand-copy{font-size:1.08rem;line-height:1.05}.brand-copy small{display:block;color:var(--ashepa-muted);font-weight:600;font-size:.7rem;letter-spacing:.02em;margin-top:5px}.site-nav{margin-left:auto;display:flex;align-items:center;gap:14px}.primary-menu{display:flex;align-items:center;gap:4px;list-style:none;margin:0;padding:0}.primary-menu>li>a,.primary-menu summary{display:block;text-decoration:none;color:var(--ashepa-ink);font-weight:720;font-size:.9rem;padding:10px 9px;border-radius:9px;cursor:pointer;white-space:nowrap}.primary-menu>li>a:hover,.primary-menu summary:hover,.primary-menu details[open]>summary{background:var(--ashepa-soft);color:var(--ashepa-navy)}.primary-menu details{position:relative}.primary-menu summary{list-style:none}.primary-menu summary::-webkit-details-marker{display:none}.primary-menu summary:after{content:"⌄";font-size:.75rem;margin-left:5px}.submenu-panel{position:absolute;top:calc(100% + 10px);left:0;width:290px;background:#fff;border:1px solid var(--ashepa-line);box-shadow:var(--ashepa-shadow);border-radius:16px;padding:10px;display:grid;gap:2px}.submenu-panel a{padding:10px 12px;border-radius:9px;text-decoration:none;color:var(--ashepa-ink);font-weight:650;font-size:.88rem}.submenu-panel a:hover{background:var(--ashepa-soft);color:var(--ashepa-navy)}.nav-tools{display:flex;align-items:center;gap:9px;margin-left:4px}.nav-login{text-decoration:none;color:var(--ashepa-navy);font-weight:800;font-size:.88rem}.nav-cta{background:var(--ashepa-green);color:#fff!important;padding:10px 16px;border-radius:999px;text-decoration:none;font-weight:850;font-size:.88rem;box-shadow:0 7px 18px rgba(101,179,46,.22)}.nav-cta:hover{background:var(--ashepa-green-dark);color:#fff!important}.menu-toggle{display:none;border:1px solid var(--ashepa-line);background:#fff;border-radius:11px;padding:9px 12px;font-weight:800;color:var(--ashepa-navy);align-items:center;gap:8px}.menu-bars,.menu-bars:before,.menu-bars:after{display:block;width:18px;height:2px;background:currentColor;content:"";position:relative}.menu-bars:before{position:absolute;top:-6px}.menu-bars:after{position:absolute;top:6px}.ashepa-language-switcher{margin:0}.ashepa-language-switcher label{margin:0!important}.ashepa-language-switcher select{border:1px solid var(--ashepa-line);background:#fff;border-radius:999px;padding:8px 29px 8px 10px;min-height:38px;color:var(--ashepa-ink);font-size:.83rem}

/* Homepage */
.home-hero{max-width:var(--content);margin:auto;padding:78px 24px 70px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);gap:58px;align-items:center;position:relative}.hero-copy{position:relative}.hero-kicker,.section-kicker{display:inline-block;font-size:.76rem;letter-spacing:.14em;text-transform:uppercase;color:var(--ashepa-green-dark);font-weight:900}.section-kicker.light{color:#c9efb1}.home-hero h1{font-size:clamp(3rem,6.4vw,6rem);line-height:.98;letter-spacing:-.055em;margin:.12em 0 .3em;color:var(--ashepa-navy);max-width:820px}.home-hero p{font-size:1.13rem;color:var(--ashepa-muted);max-width:720px;margin-bottom:28px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.hero-btn,.ashepa-public-btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 20px;border-radius:999px;text-decoration:none;font-weight:850;border:1px solid transparent;transition:.18s ease}.hero-btn,.ashepa-public-btn.primary{background:var(--ashepa-green);color:#fff;box-shadow:0 8px 20px rgba(101,179,46,.22)}.hero-btn:hover,.ashepa-public-btn.primary:hover{background:var(--ashepa-green-dark);color:#fff;transform:translateY(-1px)}.hero-btn.alt,.ashepa-public-btn.secondary{background:#fff;color:var(--ashepa-navy);border-color:var(--ashepa-line);box-shadow:none}.hero-btn.alt:hover,.ashepa-public-btn.secondary:hover{border-color:#b4c9bd;background:var(--ashepa-soft)}.ashepa-public-btn.text{padding:0;background:none;color:var(--ashepa-navy);justify-content:flex-start;border-radius:0;box-shadow:none}.ashepa-public-btn.text:hover{color:var(--ashepa-green-dark);transform:none}.hero-trust{margin-top:30px;display:flex;gap:16px;flex-wrap:wrap;color:var(--ashepa-muted);font-size:.84rem}.hero-trust span:before{content:"✓";color:var(--ashepa-green-dark);font-weight:900;margin-right:6px}.hero-visual{background:linear-gradient(145deg,var(--ashepa-navy),#102879);border-radius:32px;padding:34px;color:#fff;box-shadow:0 34px 80px rgba(7,20,92,.24);position:relative;overflow:hidden}.hero-visual:after{content:"";position:absolute;width:300px;height:300px;border-radius:50%;background:rgba(101,179,46,.11);right:-110px;top:-120px}.hero-logo-disc{width:180px;height:180px;border-radius:50%;background:#fff;padding:18px;display:flex;align-items:center;justify-content:center;position:relative;z-index:1;box-shadow:0 18px 40px rgba(0,0,0,.18)}.hero-logo-disc img{width:100%;height:100%;object-fit:contain}.hero-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:28px;position:relative;z-index:1}.hero-stat-grid div{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);border-radius:15px;padding:16px}.hero-stat-grid strong{display:block;font-size:1.7rem;line-height:1;color:#fff}.hero-stat-grid span{display:block;color:#dbe2ff;font-size:.8rem;margin-top:6px}.home-band{background:#fff;border-top:1px solid var(--ashepa-line);border-bottom:1px solid var(--ashepa-line)}.home-band-inner{max-width:var(--content);margin:auto;padding:30px 24px;display:flex;justify-content:space-between;align-items:end;gap:20px}.home-band h2{margin:4px 0 0;font-size:clamp(1.8rem,3vw,2.7rem);letter-spacing:-.025em;color:var(--ashepa-navy)}.home-band a{text-decoration:none;font-weight:850}.home-section{max-width:var(--content);margin:auto;padding:68px 24px}.grade-showcase{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.grade-showcase article{background:#fff;border:1px solid var(--ashepa-line);border-radius:20px;padding:26px;min-height:260px;display:flex;flex-direction:column}.grade-showcase article.featured{background:var(--ashepa-navy);color:#fff;border-color:var(--ashepa-navy);transform:translateY(-8px);box-shadow:var(--ashepa-shadow)}.grade-showcase article>span{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--ashepa-soft);font-size:.76rem;font-weight:900;color:var(--ashepa-navy)}.grade-showcase article.featured>span{background:var(--ashepa-green);color:#fff}.grade-showcase h3{font-size:1.45rem;margin:25px 0 8px;color:var(--ashepa-navy)}.grade-showcase .featured h3{color:#fff}.grade-showcase p{color:var(--ashepa-muted);font-size:.92rem;flex:1}.grade-showcase .featured p{color:#dae1ff}.grade-showcase a{text-decoration:none;font-weight:850}.grade-showcase .featured a{color:#ccefba}.process-section{padding-top:50px}.section-heading{max-width:760px;margin-bottom:34px}.section-heading h2{font-size:clamp(2rem,4vw,3.3rem);line-height:1.06;letter-spacing:-.04em;color:var(--ashepa-navy);margin:7px 0 13px}.section-heading p{color:var(--ashepa-muted);font-size:1.04rem}.process-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.process-grid li{background:#fff;border:1px solid var(--ashepa-line);padding:23px;border-radius:18px;position:relative}.process-grid li>span{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:var(--ashepa-navy);color:#fff;font-weight:900;font-size:.78rem;margin-bottom:20px}.process-grid strong{display:block;color:var(--ashepa-navy);font-size:1.04rem}.process-grid p{font-size:.88rem;color:var(--ashepa-muted);margin-bottom:0}.home-standard{max-width:var(--content);margin:22px auto 70px;padding:50px;border-radius:30px;background:linear-gradient(135deg,#07145c,#102879);color:#fff;display:grid;grid-template-columns:1.1fr .9fr;gap:50px;align-items:center}.home-standard h2{font-size:clamp(2.1rem,4vw,3.6rem);line-height:1.04;letter-spacing:-.04em;margin:8px 0 18px}.home-standard p{color:#dbe2ff}.home-standard .hero-btn.alt{background:transparent;color:#fff;border-color:rgba(255,255,255,.3)}.domain-stack{display:grid;gap:10px}.domain-stack div{display:grid;grid-template-columns:48px 1fr;grid-template-rows:auto auto;column-gap:14px;align-items:center;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:16px;padding:15px 17px}.domain-stack span{grid-row:1/3;width:42px;height:42px;border-radius:12px;background:var(--ashepa-green);display:grid;place-items:center;font-weight:950}.domain-stack strong{font-size:.96rem}.domain-stack small{color:#dbe2ff}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.feature{background:#fff;border:1px solid var(--ashepa-line);border-radius:20px;padding:27px}.feature-icon{width:45px;height:45px;border-radius:14px;background:var(--ashepa-soft);display:grid;place-items:center;font-weight:950;color:var(--ashepa-navy)}.feature h3{font-size:1.25rem;color:var(--ashepa-navy);margin:21px 0 9px}.feature p{color:var(--ashepa-muted)}.feature a{text-decoration:none;font-weight:850}.home-verify{max-width:var(--content);margin:0 auto 70px;padding:45px 50px;border-radius:28px;background:var(--ashepa-green-dark);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:30px}.home-verify h2{font-size:clamp(2rem,3vw,3rem);line-height:1.05;margin:7px 0 11px}.home-verify p{max-width:760px;margin:0;color:#eaf5e4}.light-btn{background:#fff!important;color:var(--ashepa-navy)!important;box-shadow:none;white-space:nowrap}.home-cta{max-width:var(--content);margin:0 auto 85px;padding:50px;border-radius:28px;background:#fff;border:1px solid var(--ashepa-line);display:flex;justify-content:space-between;gap:40px;align-items:center}.home-cta h2{font-size:clamp(2rem,3.5vw,3.3rem);line-height:1.05;color:var(--ashepa-navy);margin:7px 0 10px}.home-cta p{color:var(--ashepa-muted);max-width:720px}

/* Public pages */
.platform-page{min-height:65vh}.ashepa-public-page{padding-bottom:80px}.ashepa-public-hero{background:linear-gradient(135deg,#f9fbfa,#edf4f0);border-bottom:1px solid var(--ashepa-line)}.ashepa-public-hero-inner{max-width:var(--content);margin:auto;padding:72px 24px 62px}.ashepa-public-eyebrow{display:inline-block;text-transform:uppercase;letter-spacing:.13em;font-weight:900;font-size:.74rem;color:var(--ashepa-green-dark)}.ashepa-public-hero h1{font-size:clamp(2.7rem,5.8vw,5.4rem);line-height:1;letter-spacing:-.05em;color:var(--ashepa-navy);margin:.18em 0 .25em;max-width:980px}.ashepa-public-hero p{font-size:1.12rem;color:var(--ashepa-muted);max-width:820px;margin:0}.ashepa-public-section{max-width:var(--content);margin:0 auto;padding:56px 24px}.ashepa-public-section+.ashepa-public-section{padding-top:15px}.ashepa-public-section-head{max-width:800px}.ashepa-public-section h2{font-size:clamp(1.8rem,3.3vw,2.8rem);line-height:1.08;color:var(--ashepa-navy);letter-spacing:-.035em;margin:0 0 18px}.ashepa-public-prose{max-width:900px;color:var(--ashepa-muted);font-size:1rem}.ashepa-public-prose p:first-child{margin-top:0}.ashepa-public-prose strong{color:var(--ashepa-ink)}.ashepa-public-card-grid{max-width:var(--content);margin:0 auto;padding:50px 24px;display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.ashepa-public-card{background:#fff;border:1px solid var(--ashepa-line);border-radius:20px;padding:26px;box-shadow:0 10px 30px rgba(7,20,92,.025)}.ashepa-public-card h3{font-size:1.25rem;color:var(--ashepa-navy);margin:12px 0 8px}.ashepa-public-card p{color:var(--ashepa-muted);margin:0 0 14px}.ashepa-public-tag{display:inline-block;background:#eaf5e4;color:var(--ashepa-green-dark);border-radius:999px;padding:5px 9px;font-size:.69rem;text-transform:uppercase;letter-spacing:.08em;font-weight:900}.ashepa-public-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px}.ashepa-public-cta{max-width:calc(var(--content) - 48px);margin:28px auto 0;border-radius:28px;padding:42px;background:var(--ashepa-navy);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:30px}.ashepa-public-cta h2{font-size:2.15rem;margin:0 0 8px}.ashepa-public-cta p{color:#dbe2ff;margin:0;max-width:740px}.ashepa-public-steps{list-style:none;padding:0;margin:25px 0 0;display:grid;gap:10px;counter-reset:steps}.ashepa-public-steps li{background:#fff;border:1px solid var(--ashepa-line);border-radius:14px;padding:16px 18px;display:grid;grid-template-columns:minmax(180px,.36fr) 1fr;gap:20px}.ashepa-public-steps strong{color:var(--ashepa-navy)}.ashepa-public-steps span{color:var(--ashepa-muted)}.domain-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.ashepa-domain-card{background:#fff;border:1px solid var(--ashepa-line);border-radius:20px;padding:25px}.ashepa-domain-card h2{font-size:1.35rem;margin:12px 0 14px}.ashepa-domain-card ul{margin:0;padding-left:20px;color:var(--ashepa-muted)}.ashepa-domain-card li{margin:8px 0}.ashepa-domain-card strong{color:var(--ashepa-navy)}.ashepa-level-row{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:20px 0}.ashepa-level-row span{background:var(--ashepa-soft);border-radius:13px;padding:16px;color:var(--ashepa-muted)}.ashepa-level-row strong{display:block;color:var(--ashepa-navy)}.course-grid .ashepa-public-card{position:relative}.ashepa-directory-search{display:flex;gap:9px;margin-bottom:25px}.ashepa-directory-search label{flex:1}.ashepa-directory-search input{width:100%;border:1px solid var(--ashepa-line);background:#fff;border-radius:999px;padding:12px 17px;min-height:48px}.ashepa-directory-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.ashepa-directory-card{background:#fff;border:1px solid var(--ashepa-line);border-radius:18px;padding:22px;display:grid;grid-template-columns:58px 1fr;gap:16px}.ashepa-directory-avatar{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:var(--ashepa-navy);color:#fff;font-weight:950}.ashepa-directory-card h3{margin:0;color:var(--ashepa-navy);font-size:1.15rem}.ashepa-directory-grade{margin:1px 0 9px;color:var(--ashepa-green-dark);font-weight:800}.ashepa-directory-card dl{display:flex;gap:15px;flex-wrap:wrap;margin:0}.ashepa-directory-card dl div{display:flex;gap:4px;font-size:.78rem}.ashepa-directory-card dt{color:var(--ashepa-muted)}.ashepa-directory-card dd{margin:0;font-weight:750}.ashepa-directory-interests{font-size:.84rem;color:var(--ashepa-muted);margin:10px 0 0}.ashepa-empty-state{background:#fff;border:1px dashed #b9c9c0;border-radius:18px;padding:36px;text-align:center}.ashepa-faq-list{max-width:900px}.ashepa-faq-list details{background:#fff;border:1px solid var(--ashepa-line);border-radius:14px;margin:9px 0;padding:0 18px}.ashepa-faq-list summary{cursor:pointer;font-weight:850;color:var(--ashepa-navy);padding:17px 0}.ashepa-faq-list p{color:var(--ashepa-muted);margin:0 0 18px}

/* Platform/member pages */
.platform-page>.ashepa-shell{padding-top:42px;padding-bottom:65px}.platform-page .ashepa-card{border-color:var(--ashepa-line)!important;box-shadow:0 12px 34px rgba(7,20,92,.055)!important}.platform-page .ashepa-btn{background:var(--ashepa-green)!important;border-color:var(--ashepa-green)!important}.platform-page .ashepa-btn:hover{background:var(--ashepa-green-dark)!important}.platform-page .ashepa-status strong{color:var(--ashepa-navy)}.platform-page .ashepa-kicker{color:var(--ashepa-green-dark)}.platform-page .ashepa-brand-logo{width:92px;height:92px;object-fit:contain;margin-bottom:12px}.platform-page input,.platform-page select,.platform-page textarea{border-radius:10px!important;border-color:#cbd8d1!important}.platform-page input:focus,.platform-page select:focus,.platform-page textarea:focus{outline:3px solid rgba(101,179,46,.16)!important;border-color:var(--ashepa-green)!important}

/* Generic pages */
.content-wrap{max-width:var(--content);margin:auto;padding:55px 24px 80px}.entry-card{background:#fff;border:1px solid var(--ashepa-line);border-radius:var(--ashepa-radius);padding:36px;box-shadow:0 10px 30px rgba(7,20,92,.035)}.entry-header h1{color:var(--ashepa-navy);font-size:clamp(2.1rem,4vw,3.6rem);letter-spacing:-.04em;margin-top:0}.entry-content>:first-child{margin-top:0}

/* Footer */
.site-footer{background:#071344;color:#d6defa;border-top:5px solid var(--ashepa-green)}.footer-main{max-width:var(--content);margin:auto;padding:52px 24px 38px;display:grid;grid-template-columns:2fr repeat(3,1fr);gap:35px}.footer-brand{display:flex;gap:17px;align-items:flex-start}.footer-brand img{width:78px;height:78px;object-fit:contain;background:#fff;border-radius:50%;padding:4px}.footer-brand strong{font-size:1.3rem;color:#fff}.footer-brand p{margin:4px 0;max-width:410px}.footer-note{font-size:.84rem;opacity:.8}.footer-column{display:flex;flex-direction:column;gap:8px}.footer-column h3{color:#fff;font-size:.9rem;text-transform:uppercase;letter-spacing:.08em;margin:0 0 8px}.footer-column a,.footer-legal a{color:#d6defa;text-decoration:none;font-size:.86rem}.footer-column a:hover,.footer-legal a:hover{color:#fff;text-decoration:underline}.footer-legal{max-width:var(--content);margin:auto;padding:20px 24px;border-top:1px solid rgba(255,255,255,.13);display:flex;justify-content:space-between;gap:20px;font-size:.78rem}.footer-legal-links{display:flex;flex-wrap:wrap;gap:14px}

/* RTL */
.ashepa-rtl{direction:rtl}.ashepa-rtl .site-nav{margin-left:0;margin-right:auto}.ashepa-rtl .nav-tools{margin-left:0;margin-right:4px}.ashepa-rtl .submenu-panel{left:auto;right:0}.ashepa-rtl .primary-menu summary:after{margin-left:0;margin-right:5px}.ashepa-rtl .utility-inner a{margin-left:0;margin-right:18px}.ashepa-rtl .ashepa-domain-card ul{padding-left:0;padding-right:20px}.ashepa-rtl input,.ashepa-rtl textarea,.ashepa-rtl select{text-align:right}

/* Responsive */
@media(max-width:1080px){.site-nav{gap:7px}.primary-menu>li>a,.primary-menu summary{padding:9px 6px;font-size:.83rem}.nav-tools .ashepa-language-switcher select{max-width:110px}.home-hero{grid-template-columns:1fr .72fr;gap:35px}.grade-showcase{grid-template-columns:1fr 1fr}.process-grid{grid-template-columns:repeat(3,1fr)}.footer-main{grid-template-columns:1.5fr repeat(3,1fr);gap:22px}}
@media(max-width:900px){.utility-bar{display:none}.menu-toggle{display:flex;margin-left:auto}.site-nav{display:none;position:absolute;top:88px;left:14px;right:14px;background:#fff;border:1px solid var(--ashepa-line);border-radius:18px;padding:14px;box-shadow:var(--ashepa-shadow);flex-direction:column;align-items:stretch;max-height:calc(100vh - 110px);overflow:auto}.site-nav.open{display:flex}.primary-menu{display:block}.primary-menu>li>a,.primary-menu summary{padding:12px}.primary-menu details{position:static}.submenu-panel{position:static;width:auto;box-shadow:none;border:0;background:var(--ashepa-soft);margin:3px 7px 8px;padding:7px}.nav-tools{margin:8px 0 0;border-top:1px solid var(--ashepa-line);padding-top:12px;display:grid;grid-template-columns:1fr 1fr}.nav-tools .ashepa-language-switcher{grid-column:1/3}.nav-tools .ashepa-language-switcher select{max-width:none;width:100%}.nav-login,.nav-cta{text-align:center}.home-hero{grid-template-columns:1fr;padding-top:54px}.hero-visual{display:grid;grid-template-columns:160px 1fr;align-items:center}.hero-logo-disc{width:145px;height:145px}.hero-stat-grid{margin-top:0}.home-standard{grid-template-columns:1fr;margin-left:16px;margin-right:16px}.process-grid{grid-template-columns:1fr 1fr}.feature-grid{grid-template-columns:1fr}.home-verify,.home-cta{margin-left:16px;margin-right:16px}.footer-main{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/3}.domain-grid,.ashepa-directory-grid{grid-template-columns:1fr}.ashepa-public-card-grid{grid-template-columns:1fr 1fr}.ashepa-level-row{grid-template-columns:1fr 1fr}.ashepa-rtl .site-nav{margin-right:0}.ashepa-rtl .nav-tools{margin-right:0}}
@media(max-width:620px){.header-inner{padding:9px 13px}.brand-logo,.custom-logo{width:54px;height:54px}.brand-copy{font-size:.96rem}.brand-copy small{display:none}.site-nav{top:76px}.home-hero{padding:42px 15px 50px}.home-hero h1{font-size:clamp(2.75rem,14vw,4.4rem)}.hero-actions>*{width:100%}.hero-visual{display:block;padding:25px}.hero-logo-disc{width:130px;height:130px}.hero-stat-grid{margin-top:22px}.home-band-inner{padding:25px 15px;align-items:flex-start;flex-direction:column}.home-section{padding:48px 15px}.grade-showcase{grid-template-columns:1fr}.grade-showcase article.featured{transform:none}.process-grid{grid-template-columns:1fr}.home-standard{padding:30px 22px;margin-bottom:50px}.home-verify,.home-cta{padding:29px 22px;display:block}.home-verify .hero-btn{margin-top:20px;width:100%}.home-cta .hero-actions{margin-top:20px}.ashepa-public-hero-inner{padding:50px 15px 43px}.ashepa-public-hero h1{font-size:clamp(2.5rem,13vw,4rem)}.ashepa-public-section,.ashepa-public-card-grid{padding-left:15px;padding-right:15px}.ashepa-public-card-grid{grid-template-columns:1fr;padding-top:35px;padding-bottom:35px}.ashepa-public-cta{margin-left:15px;margin-right:15px;padding:28px 22px;display:block}.ashepa-public-cta .ashepa-public-btn{margin-top:20px;width:100%}.ashepa-public-actions>*{width:100%}.ashepa-public-steps li{grid-template-columns:1fr;gap:4px}.ashepa-level-row{grid-template-columns:1fr}.ashepa-directory-search{display:grid}.footer-main{grid-template-columns:1fr;padding:42px 18px 30px}.footer-brand{grid-column:auto}.footer-legal{padding:20px 18px;display:block}.footer-legal-links{margin-top:12px}.content-wrap{padding:30px 15px 55px}.entry-card{padding:23px}.platform-page>.ashepa-shell{padding-left:12px!important;padding-right:12px!important}.ashepa-directory-card{grid-template-columns:1fr}.ashepa-directory-avatar{width:48px;height:48px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Header navigation polish — compact grouped desktop navigation */
.utility-inner,.header-inner{max-width:1520px}
.header-inner{padding:10px 26px;gap:18px}
.brand-area{max-width:310px;min-width:238px}
.site-nav{min-width:0;flex:1 1 auto;justify-content:flex-end;gap:17px}
.primary-menu{min-width:0;flex:0 1 auto;gap:2px;white-space:nowrap}
.primary-menu>li>a,.primary-menu summary{padding:10px 11px;font-size:.89rem}
.nav-tools{flex:0 0 auto;white-space:nowrap;gap:11px;margin-left:2px}
.nav-login,.nav-cta{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;line-height:1.1}
.nav-login{padding:10px 5px}
.ashepa-language-switcher select{min-width:132px;max-width:154px}
.submenu-panel,.primary-menu .sub-menu{z-index:90}
.submenu-panel-right{left:auto;right:0}
.submenu-emphasis{margin-top:5px;border-top:1px solid var(--ashepa-line);padding-top:13px!important;color:var(--ashepa-green-dark)!important}

/* Native WordPress custom-menu dropdowns receive the same professional treatment. */
.primary-menu .menu-item-has-children{position:relative}
.primary-menu .menu-item-has-children>a:after{content:"⌄";font-size:.75rem;margin-left:5px}
.primary-menu .sub-menu{display:none;position:absolute;top:calc(100% + 10px);left:0;width:290px;margin:0;padding:10px;list-style:none;background:#fff;border:1px solid var(--ashepa-line);border-radius:16px;box-shadow:var(--ashepa-shadow)}
.primary-menu .menu-item-has-children:hover>.sub-menu,.primary-menu .menu-item-has-children:focus-within>.sub-menu{display:grid;gap:2px}
.primary-menu .sub-menu a{display:block;padding:10px 12px;border-radius:9px;text-decoration:none;color:var(--ashepa-ink);font-weight:650;font-size:.88rem;white-space:normal}
.primary-menu .sub-menu a:hover,.primary-menu .sub-menu a:focus{background:var(--ashepa-soft);color:var(--ashepa-navy)}
.ashepa-rtl .primary-menu .menu-item-has-children>a:after{margin-left:0;margin-right:5px}
.ashepa-rtl .primary-menu .sub-menu{left:auto;right:0}

@media(max-width:1360px) and (min-width:1161px){
  .header-inner{padding-left:18px;padding-right:18px;gap:12px}
  .brand-area{min-width:214px;max-width:255px}
  .brand-logo,.custom-logo{width:58px;height:58px}
  .brand-copy{font-size:1rem}.brand-copy small{font-size:.66rem}
  .site-nav{gap:10px}.primary-menu>li>a,.primary-menu summary{padding:9px 8px;font-size:.84rem}
  .nav-tools{gap:8px}.ashepa-language-switcher select{min-width:116px;max-width:126px}.nav-cta{padding:10px 14px}
}

/* Switch to the clean mobile menu before desktop controls begin to crowd. */
@media(max-width:1160px) and (min-width:901px){
  .menu-toggle{display:flex;margin-left:auto}
  .header-inner{position:relative}
  .site-nav{display:none;position:absolute;top:82px;left:18px;right:18px;background:#fff;border:1px solid var(--ashepa-line);border-radius:18px;padding:14px;box-shadow:var(--ashepa-shadow);flex-direction:column;align-items:stretch;max-height:calc(100vh - 115px);overflow:auto}
  .site-nav.open{display:flex}
  .primary-menu{display:block;white-space:normal}
  .primary-menu>li>a,.primary-menu summary{padding:12px;font-size:.9rem}
  .primary-menu details,.primary-menu .menu-item-has-children{position:static}
  .submenu-panel,.primary-menu .sub-menu{position:static;width:auto;box-shadow:none;border:0;background:var(--ashepa-soft);margin:3px 7px 8px;padding:7px}
  .primary-menu .menu-item-has-children>.sub-menu{display:none}
  .primary-menu .menu-item-has-children:hover>.sub-menu,.primary-menu .menu-item-has-children:focus-within>.sub-menu{display:grid}
  .nav-tools{margin:8px 0 0;border-top:1px solid var(--ashepa-line);padding-top:12px;display:grid;grid-template-columns:1fr 1fr;white-space:normal}
  .nav-tools .ashepa-language-switcher{grid-column:1/3}.nav-tools .ashepa-language-switcher select{width:100%;max-width:none}
  .nav-login,.nav-cta{text-align:center}
  .ashepa-rtl .site-nav{margin-right:0}.ashepa-rtl .nav-tools{margin-right:0}
}


/* Member Portal layout correction — v1.2.7
 * The authenticated dashboard is an application workspace, not a public content page.
 * Keep it independent from public-site navigation and reading-width constraints.
 */
body.ashepa-member-dashboard-page{overflow-x:hidden;background:#f4f7f6}
body.ashepa-member-dashboard-page .site-wrap,
body.ashepa-member-dashboard-page .site-main,
body.ashepa-member-dashboard-page .platform-page{width:100%;max-width:none;min-width:0}
.member-portal-header{background:#fff;border-bottom:1px solid var(--ashepa-line);position:sticky;top:0;z-index:80;box-shadow:0 3px 14px rgba(7,20,92,.035)}
.member-portal-header-inner{width:min(1500px,calc(100% - 36px));margin:0 auto;min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.member-portal-brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;color:var(--ashepa-ink);min-width:0}
.member-portal-brand img{width:58px;height:58px;object-fit:contain;flex:0 0 auto}
.member-portal-brand span{display:grid;line-height:1.08;min-width:0}
.member-portal-brand strong{font-size:1.12rem;color:var(--ashepa-ink)}
.member-portal-brand small{margin-top:5px;color:var(--ashepa-muted);font-size:.76rem;font-weight:650}
.member-portal-tools{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex:0 0 auto}
.member-portal-tools .ashepa-language-switcher select{min-width:126px;max-width:154px}
.member-portal-site-link,.member-portal-logout{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;border-radius:10px;text-decoration:none;font-weight:800;font-size:.88rem;white-space:nowrap}
.member-portal-site-link{color:var(--ashepa-navy);background:#f5f7fb;border:1px solid #e0e5ef}
.member-portal-logout{color:#8a2633;background:#fff7f8;border:1px solid #efd9dd}
body.ashepa-member-dashboard-page .platform-page>.ashepa-shell.ashepa-member-shell{width:min(1500px,calc(100% - 36px))!important;max-width:none!important;margin:24px auto 70px!important;padding:0!important}
body.ashepa-member-dashboard-page .ashepa-member-layout{grid-template-columns:280px minmax(0,1fr);gap:26px;width:100%;max-width:none}
body.ashepa-member-dashboard-page .ashepa-member-sidebar{top:106px;min-width:0}
body.ashepa-member-dashboard-page .ashepa-member-content,
body.ashepa-member-dashboard-page .ashepa-member-panel,
body.ashepa-member-dashboard-page .ashepa-profile-form,
body.ashepa-member-dashboard-page .ashepa-grid-2>*,
body.ashepa-member-dashboard-page .ashepa-data-grid>*{min-width:0;max-width:100%}
body.ashepa-member-dashboard-page .ashepa-profile-form{width:100%}
body.ashepa-member-dashboard-page .ashepa-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
body.ashepa-member-dashboard-page .ashepa-form input,
body.ashepa-member-dashboard-page .ashepa-form select,
body.ashepa-member-dashboard-page .ashepa-form textarea{max-width:100%}
@media(max-width:1100px){
  .member-portal-header-inner{width:min(100% - 28px,1500px)}
  body.ashepa-member-dashboard-page .platform-page>.ashepa-shell.ashepa-member-shell{width:calc(100% - 28px)!important}
  body.ashepa-member-dashboard-page .ashepa-member-layout{grid-template-columns:235px minmax(0,1fr);gap:18px}
  .member-portal-brand small{display:none}
}
@media(max-width:820px){
  .member-portal-header-inner{min-height:72px;width:calc(100% - 22px);gap:10px}
  .member-portal-brand img{width:48px;height:48px}.member-portal-brand strong{font-size:1rem}
  .member-portal-site-link{display:none}
  .member-portal-tools{gap:7px}.member-portal-tools .ashepa-language-switcher select{min-width:104px;max-width:118px}
  .member-portal-logout{padding:7px 9px;font-size:.8rem}
  body.ashepa-member-dashboard-page .platform-page>.ashepa-shell.ashepa-member-shell{width:calc(100% - 20px)!important;margin-top:16px!important}
  body.ashepa-member-dashboard-page .ashepa-member-layout{grid-template-columns:1fr;gap:16px}
  body.ashepa-member-dashboard-page .ashepa-member-sidebar{position:static}
}
@media(max-width:620px){
  body.ashepa-member-dashboard-page .ashepa-grid-2{grid-template-columns:1fr}
  .member-portal-brand span{display:none}
}

/* Member Dashboard standalone full-width application shell — v1.2.8 */
body.ashepa-member-portal-standalone{margin:0!important;overflow-x:hidden;background:#f4f7f6!important}
body.ashepa-member-portal-standalone .member-portal-root{width:100%;max-width:none;min-height:100vh;margin:0;padding:0;background:#f4f7f6}
body.ashepa-member-portal-standalone .member-portal-header{width:100%;max-width:none;margin:0}
body.ashepa-member-portal-standalone .member-portal-header-inner{width:100%;max-width:none;margin:0;padding:12px clamp(18px,2.2vw,38px);min-height:82px}
body.ashepa-member-portal-standalone .member-portal-main,
body.ashepa-member-portal-standalone .member-dashboard-fullwidth{width:100%;max-width:none;min-width:0;margin:0;padding:0}
body.ashepa-member-portal-standalone .member-dashboard-fullwidth>.ashepa-shell.ashepa-member-shell{width:100%!important;max-width:none!important;margin:0!important;padding:28px clamp(18px,2.2vw,38px) 72px!important}
body.ashepa-member-portal-standalone .ashepa-member-layout{width:100%!important;max-width:none!important;grid-template-columns:300px minmax(0,1fr)!important;gap:28px!important}
body.ashepa-member-portal-standalone .ashepa-member-content,
body.ashepa-member-portal-standalone .ashepa-member-panel,
body.ashepa-member-portal-standalone .ashepa-member-panel>.ashepa-card,
body.ashepa-member-portal-standalone .ashepa-profile-form{width:100%!important;max-width:none!important;min-width:0!important}
body.ashepa-member-portal-standalone .ashepa-member-panel .ashepa-grid-2,
body.ashepa-member-portal-standalone .ashepa-member-panel .ashepa-data-grid{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}
body.ashepa-member-portal-standalone .ashepa-member-sidebar{top:106px}
@media(max-width:1180px){body.ashepa-member-portal-standalone .ashepa-member-layout{grid-template-columns:250px minmax(0,1fr)!important;gap:20px!important}}
@media(max-width:860px){body.ashepa-member-portal-standalone .member-portal-header-inner{padding-left:14px;padding-right:14px}body.ashepa-member-portal-standalone .member-dashboard-fullwidth>.ashepa-shell.ashepa-member-shell{padding:18px 14px 55px!important}body.ashepa-member-portal-standalone .ashepa-member-layout{grid-template-columns:1fr!important;gap:16px!important}body.ashepa-member-portal-standalone .ashepa-member-panel .ashepa-grid-2,body.ashepa-member-portal-standalone .ashepa-member-panel .ashepa-data-grid{grid-template-columns:1fr}}
body.ashepa-member-portal-standalone .site-footer,
body.ashepa-member-portal-standalone .utility-bar,
body.ashepa-member-portal-standalone .site-header{display:none!important}


/* Member Dashboard true viewport-width portal — v1.2.9 */
body.ashepa-member-portal-standalone{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;overflow-x:hidden!important}
body.ashepa-member-portal-standalone .member-portal-root,body.ashepa-member-portal-standalone .member-portal-header,body.ashepa-member-portal-standalone .member-portal-main,body.ashepa-member-portal-standalone .member-dashboard-fullwidth{width:100vw!important;max-width:100vw!important;margin:0!important;left:0!important;transform:none!important}
body.ashepa-member-portal-standalone .member-portal-header-inner,body.ashepa-member-portal-standalone .member-dashboard-fullwidth>.ashepa-shell.ashepa-member-shell{width:100%!important;max-width:none!important;margin:0!important}
