/* Expertise 1.4.1 — acceptance corrections. The brandbook supersedes a later suggestion
   to make large CTAs red: red is a small signal, not a fill color. */
:root{--e3-ink:#23282e;--e3-red:#ff3b21;--e3-gray:#f4f5f6;--e3-line:#d5d9dc}
body{overflow-x:clip}
.site-header .header-cta,
.site-header .site-nav>.header-cta,
.home .hero .wp-block-button:first-child .wp-block-button__link,
.e3-membership-fees+.e3-section .button,
.e3-join-form .button,
.home .self-assessment .button,
.home .assessment .button,
.button:not(.ex-light):not(.ex-outline):not(.e3-dark-outline){background:#23282e!important;border-color:#23282e!important;color:#fff!important}
.site-header .site-nav>.header-cta::before,.e3-join-form button::before{content:"";width:3px;height:15px;background:#ff3b21;display:inline-block;margin-right:9px}
.site-header .site-nav>ul>li.current-menu-item>a,
.site-header .site-nav>ul>li.current-menu-ancestor>a{color:#23282e!important;border-bottom:2px solid #ff3b21}
.site-header .site-nav a:focus-visible,button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #ff3b21!important;outline-offset:3px}
.e3-shell h1,.e3-shell h2,.e3-shell h3,.ex-inner h1,.ex-inner h2,.ex-inner h3{text-wrap:balance}
.e3-shell .e3-prose,.e3-shell .e3-legal-body{overflow-wrap:break-word}
.e3-join-fees{padding-top:64px!important;padding-bottom:64px!important;background:#f4f5f6}
.e3-join-fees .e3-fee-grid article{background:#fff}
.e3-join-form input:focus,.e3-member-search input:focus{border-color:#23282e!important}
.e3-member-search{margin:0 0 20px;max-width:600px}
.e3-member-search label{display:block;font-weight:600;font-size:14px;margin-bottom:8px}
.e3-member-search>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.e3-member-search input{flex:1 1 250px;min-width:0;min-height:46px;font:inherit;border:1px solid #c9cdd1;border-radius:4px;padding:10px 14px;background:#fff}
.e3-member-search .button{min-height:46px}
.e3-member-reset{min-height:44px;display:inline-flex;align-items:center}
.e3-registry-person{display:flex;align-items:center;gap:12px;min-width:0}
.e3-registry-person>img,.e3-registry-person>em{width:40px;height:40px;flex:0 0 40px;border-radius:50%;object-fit:cover;object-position:center 20%;background:#23282e;color:#fff;display:grid;place-items:center;font-size:12px;font-weight:700;font-style:normal}
.e3-registry-person>span{min-width:0;overflow-wrap:anywhere}
.e3-registry-table{max-width:100%;overflow-x:auto}
.e3-leadership-photo{width:174px;max-width:100%;aspect-ratio:3/4;flex:0 0 174px;overflow:hidden}
.e3-leadership-photo img{height:100%!important;width:100%!important;object-fit:cover!important;object-position:center 20%!important}
.e3-expert-grid .e3-avatar{aspect-ratio:4/5!important;overflow:hidden}
.e3-expert-grid .e3-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 20%!important}
.e3-expert-body .e3-org{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.e3-forum-photo-grid img{width:100%;object-fit:cover}
.e3-forum-photo{display:block;cursor:zoom-in}
.e3-forum-lightbox{width:min(94vw,1060px);max-height:95vh;border:0;border-radius:6px;padding:18px 18px 12px;background:#23282e;color:#fff;box-shadow:0 14px 55px #0009}
.e3-forum-lightbox::backdrop{background:rgba(0,0,0,.82)}
.e3-forum-lightbox img{display:block;width:100%;max-height:68vh;object-fit:contain}
.e3-lightbox-close{display:block;margin-left:auto;margin-bottom:12px;padding:8px 14px;background:#fff;color:#23282e;border:0;cursor:pointer;min-height:44px}
.e3-lightbox-caption{color:#fff;margin:10px 0}
.e3-lightbox-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}
.e3-lightbox-actions button{min-height:44px;cursor:pointer;border:1px solid #9aa0a6;background:transparent;color:#fff;padding:8px 12px}
.e3-legal-pdf-replacement{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:1000px){
 .e3-member-search>div{align-items:stretch}
 .e3-registry-person{gap:8px}
 .e3-registry-person>img,.e3-registry-person>em{width:40px;height:40px;flex-basis:40px}
 .e3-forum-lightbox{width:96vw;padding:12px}
}
@media(max-width:700px){
 .e3-join-fees{padding-top:40px!important;padding-bottom:40px!important}
 .e3-member-search>div{display:grid;grid-template-columns:1fr}
 .e3-fee-grid{grid-template-columns:1fr!important}
 .e3-registry-table--3 .e3-registry-row{padding:16px!important;gap:10px}
 .e3-registry-person{width:100%}
 .e3-leadership-photo{width:110px;flex-basis:110px}
 .site-header .header-cta{min-height:44px}
 .e3-lightbox-actions button{font-size:12px}
}
