/* Brand, mega menu and Gutenberg pages. Scoped to avoid changing legacy catalog templates. */
:root{--evaf-primary:#4499f0;--evaf-navy:#122d49;--evaf-muted:#526c84;--evaf-pale:#edf6ff}
.evaf-modern-body{margin:0;background:#fff;color:var(--evaf-navy);font:16px/1.6 system-ui,-apple-system,'Segoe UI',Arial,sans-serif}
.evaf-modern-body *, .evaf-modern-body *::before,.evaf-modern-body *::after{box-sizing:border-box}
.evaf-modern-body img{max-width:100%;height:auto}.evaf-modern-body a{text-decoration:none}
.evaf-container{max-width:1220px;width:calc(100% - 48px);margin-inline:auto}
.evaf-topline{background:#123453;color:#e1effe;padding:8px 0;font-size:11px;letter-spacing:.04em}
.evaf-topline .evaf-container{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.evaf-topline a{color:#e1effe}
.evaf-head{background:#fff;position:relative;z-index:300;border-bottom:1px solid #e3ecf5}
.evaf-headinner{display:flex;align-items:center;min-height:84px;gap:26px;justify-content:space-between}
.evaf-brand{display:flex;align-items:center;flex:0 0 auto;min-width:150px;max-width:265px;color:#14334e;text-decoration:none!important}
.evaf-brand img{display:block;max-width:240px;max-height:68px;width:auto;height:auto;object-fit:contain}
.evaf-brandfallback{font-size:25px;font-weight:850;line-height:1;color:#123453}.evaf-brandfallback>span{color:#4499f0}
.evaf-brandfallback small{display:block;font-size:9px;font-weight:650;letter-spacing:.18em;color:#74899c;margin-top:9px}
.evaf-navwrap{flex:1;align-self:stretch;display:flex;justify-content:center;min-width:0}
.evaf-links{display:flex;align-items:stretch;justify-content:center;gap:clamp(12px,2.1vw,30px);height:100%;font-size:14px;font-weight:700;color:#31485a}
.evaf-links>a,.evaf-products-main{display:flex;align-items:center;white-space:nowrap;color:#31485a!important;text-decoration:none!important}
.evaf-links>a:hover,.evaf-products-main:hover{color:#4499f0!important}
.evaf-headquote{display:inline-flex;align-items:center;justify-content:center;gap:22px;background:#4499f0;color:white!important;border-radius:8px;padding:13px 19px;font-size:13px;font-weight:770;white-space:nowrap}
.evaf-headquote:hover{background:#1f79d9}
.evaf-products{display:flex;align-items:stretch;gap:2px;position:static}
.evaf-products-toggle{padding:0 4px;border:0;background:transparent;color:#576f85;cursor:pointer;font-size:21px}
.evaf-mega{display:none;position:absolute;top:100%;left:50%;transform:translateX(-50%);width:min(1480px,calc(100vw - 28px));border:1px solid #dfebf6;background:#fff;box-shadow:0 22px 54px rgba(16,49,89,.16);border-radius:0 0 20px 20px;z-index:400;max-height:min(80vh,740px);overflow-y:auto;grid-template-columns:1.15fr 1fr 1fr .95fr}
.evaf-products:hover .evaf-mega,.evaf-products:focus-within .evaf-mega,.evaf-products.is-open .evaf-mega{display:grid}
.evaf-mega-col{padding:29px 25px 36px;min-width:0}
.evaf-mega-kicker{margin:0 0 20px!important;font-size:11px;letter-spacing:.15em;font-weight:850;color:#297dbd!important;text-transform:uppercase}
.evaf-mega-head{display:flex;gap:12px;align-items:center;line-height:1.3;font-weight:800;font-size:17px;color:#142e42!important;text-decoration:none!important;margin-bottom:12px}
.evaf-mega-head span{color:#4499f0}.evaf-mega-item{display:block;padding:7px 0;color:#586d7d!important;line-height:1.42;text-decoration:none!important;font-weight:500;font-size:14px;white-space:normal}
.evaf-mega-item:hover,.evaf-mega-item:focus-visible{color:#287dcf!important;background:#edf6ff}
.evaf-mega-quote{background:#eaf5ff;padding:32px 29px;display:flex;flex-direction:column;align-items:flex-start}
.evaf-quote-arrow{height:95px;width:95px;border:1px solid #bddbf0;border-radius:50%;display:grid;place-items:center;font-size:48px;color:#4499f0;line-height:1;margin-bottom:26px}
.evaf-mega-quote h3{font-size:26px;line-height:1.13;letter-spacing:-.04em;color:#142f45;margin:0 0 16px}
.evaf-mega-quote p:not(.evaf-mega-kicker){color:#56788d!important;font-size:14px;line-height:1.75;margin:0 0 23px!important}
.evaf-mega-quote a{color:#2879bd!important;font-size:14px;font-weight:800;text-decoration:none!important}.evaf-mega-quote a.evaf-quote-more{color:#668295!important;margin-top:21px}
.evaf-mobile-toggle{display:none;cursor:pointer;background:#eef6ff;color:#17334b;border:0;padding:10px 16px;border-radius:8px;font-size:16px}
.evaf-skip{position:absolute;left:-9999px}.evaf-skip:focus{left:10px;top:10px;background:#fff;z-index:99999;padding:10px}
.evaf-foot{background:#102d49;color:#cbddea;padding:29px 0}.evaf-footinner{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;font-size:12px}.evaf-foot strong{font-size:17px;color:#fff}.evaf-foot a{color:#d5e9f9}
/* Important: legacy theme header still uses its original wrapper and inquiry handler. */
.evaf-legacy-nav{height:100%;display:flex;align-items:center;justify-content:flex-end;position:static;max-width:100%;min-height:70px}
.evaf-legacy-nav .evaf-links{gap:clamp(10px,1.7vw,23px)}
.evaf-legacy-nav .evaf-products{height:100%}
.evaf-legacy-nav .evaf-mega{top:100%;left:50vw;max-height:80vh;font-family:system-ui,'Segoe UI',Arial,sans-serif;letter-spacing:normal}
#access2,#access,#mheader,#pagebox{overflow:visible!important}
#access2 .evaf-legacy-nav a,#access .evaf-legacy-nav a{float:none;width:auto;height:auto;line-height:normal;padding:0;background:transparent;border:0}
#access2 .evaf-mega a.evaf-mega-item,#access .evaf-mega a.evaf-mega-item{padding:7px 0}
#access2 .evaf-mega a.evaf-mega-head,#access .evaf-mega a.evaf-mega-head{padding:0}
/* Gutenberg page system (editable native Group / Columns / Image / Button blocks) */
.evaf-gutenberg{overflow:hidden;background:#fff;color:#122d49}
.evaf-gutenberg>.wp-block-group{padding-block:clamp(52px,6vw,94px)}
.evaf-gutenberg>.wp-block-group.evaf-hero{background:linear-gradient(117deg,#fff 40%,#eff7ff 100%);padding-block:clamp(64px,7vw,106px)}
.evaf-gutenberg .wp-block-group__inner-container{max-width:100%}
.evaf-gutenberg>.wp-block-group>.wp-block-group__inner-container,.evaf-gutenberg .evaf-inner{max-width:1190px;width:calc(100% - 48px);margin-inline:auto}
.evaf-gutenberg .wp-block-columns{gap:clamp(20px,3vw,48px);align-items:center}
.evaf-gutenberg .wp-block-heading{letter-spacing:-.035em;line-height:1.14;color:#122d49;margin-block:14px 20px}
.evaf-gutenberg h1.wp-block-heading{font-size:clamp(40px,5.4vw,70px)}
.evaf-gutenberg h2.wp-block-heading{font-size:clamp(31px,3.4vw,46px)}
.evaf-gutenberg h3.wp-block-heading{font-size:clamp(19px,2vw,23px)}
.evaf-gutenberg p{color:#577088;line-height:1.75}
.evaf-gutenberg .evaf-eyebrow{font-size:11px;letter-spacing:.16em;color:#237cce!important;font-weight:800;text-transform:uppercase}
.evaf-gutenberg .evaf-muted{color:#587389!important}
.evaf-gutenberg .wp-block-button__link{background:#4499f0!important;color:#fff!important;border-radius:9px;padding:14px 22px;font-size:14px;font-weight:750;text-decoration:none!important}
.evaf-gutenberg .evaf-button-outline .wp-block-button__link{background:#e5f3ff!important;color:#165d9c!important}
.evaf-gutenberg .wp-block-image img{display:block;width:100%;height:auto;object-fit:cover;border-radius:16px}
.evaf-gutenberg .evaf-hero .wp-block-image img{aspect-ratio:4/3;box-shadow:0 22px 50px rgba(28,82,136,.14);border-radius:26px}
.evaf-gutenberg .evaf-section-soft{background:#f4f9fe}
.evaf-gutenberg .evaf-section-dark{background:#113655;color:#fff}
.evaf-gutenberg .evaf-section-dark .wp-block-heading{color:#fff}
.evaf-gutenberg .evaf-section-dark p{color:#cee0f0}
.evaf-gutenberg .evaf-cards{gap:22px;margin-top:36px}
.evaf-gutenberg .evaf-card{border:1px solid #dceaf5;background:#fff;border-radius:17px;overflow:hidden;padding-bottom:20px;height:100%}
.evaf-gutenberg .evaf-card .wp-block-heading,.evaf-gutenberg .evaf-card p:not(.evaf-eyebrow){margin-inline:22px}
.evaf-gutenberg .evaf-card .wp-block-heading{font-size:21px;margin-top:20px}
.evaf-gutenberg .evaf-card p{font-size:13px}
.evaf-gutenberg .evaf-card .wp-block-image img{border-radius:0;aspect-ratio:4/3;width:100%;object-fit:cover}
.evaf-gutenberg .evaf-card .evaf-card-link{margin:17px 22px 0;display:inline-block;color:#237cca;font-weight:750}
.evaf-gutenberg .evaf-stat{border-top:2px solid #cae2fa;padding-top:16px}
.evaf-gutenberg details{padding:18px 0;border-bottom:1px solid #d7e8f7}.evaf-gutenberg summary{font-weight:700;cursor:pointer}
.evaf-gutenberg .evaf-cta{background:#eaf5ff}
.evaf-about-content .evaf-hero h1{font-size:clamp(42px,5vw,66px)}
/* Legacy top navbar without changing old article markup. */
@media(max-width:1150px){.evaf-links{gap:13px;font-size:12px}.evaf-headquote{padding:12px}.evaf-mega-col{padding:23px 15px}.evaf-mega-quote{padding:23px 17px}.evaf-mega-item{font-size:12px}}
@media(max-width:1160px){
 .evaf-headinner{flex-wrap:wrap;min-height:72px;gap:10px;padding-block:10px}
 .evaf-mobile-toggle{display:inline-block;margin-left:auto}
 .evaf-navwrap{order:3;flex-basis:100%;height:auto;display:none}
 .evaf-head.is-mobile-open .evaf-navwrap{display:block}
 .evaf-headquote{font-size:12px;padding:10px 12px}
 .evaf-links,.evaf-legacy-nav .evaf-links{width:100%;height:auto;display:flex;flex-direction:column;align-items:stretch;gap:0}
 .evaf-links>a,.evaf-products-main{padding:13px 8px;line-height:1.4}
 .evaf-products{display:grid;grid-template-columns:1fr auto;align-items:center}
 .evaf-products-toggle{padding:11px 17px}
 .evaf-products:hover .evaf-mega,.evaf-products:focus-within .evaf-mega{display:none}
 .evaf-products.is-open .evaf-mega{display:grid}
 .evaf-mega,.evaf-legacy-nav .evaf-mega{position:static;left:auto;top:auto;transform:none;grid-column:1/-1;width:100%;max-height:60vh;grid-template-columns:1fr;border-radius:12px;overflow-y:auto;box-shadow:none;margin:0}
 .evaf-mega-col{padding:22px;border-bottom:1px solid #e2edf5}.evaf-mega-quote{padding:22px}
 .evaf-legacy-nav{display:block;min-height:auto;height:auto}
 .evaf-legacy-nav .evaf-links{display:none}
 .evaf-legacy-nav.is-mobile-open .evaf-links{display:flex}
 .evaf-legacy-nav .evaf-mobile-toggle{display:block}
 #mobi_menu,#mobi_menu2{display:none!important}
}
@media(max-width:700px){.evaf-container{width:calc(100% - 30px)}.evaf-topline .evaf-container{gap:4px;font-size:10px}.evaf-headquote{display:none}.evaf-gutenberg>.wp-block-group{padding-block:50px}.evaf-gutenberg>.wp-block-group>.wp-block-group__inner-container,.evaf-gutenberg .evaf-inner{width:calc(100% - 32px)}.evaf-gutenberg .evaf-cards{gap:18px}.evaf-gutenberg .evaf-card{margin-bottom:12px}}
/* The native Group block has no .wp-block-group__inner-container on current WP. */
.evaf-gutenberg>.wp-block-group>*{max-width:1190px;width:100%;margin-left:auto;margin-right:auto}
.evaf-gutenberg>.wp-block-group{padding-left:max(16px,calc((100vw - 1190px)/2));padding-right:max(16px,calc((100vw - 1190px)/2))}
.evaf-gutenberg .evaf-cards>.wp-block-column{align-self:stretch}
.evaf-gutenberg .evaf-card{height:100%}
.evaf-gutenberg .evaf-hero>.wp-block-columns{align-items:center}
/* Override old CSS on all new pages while leaving product/category templates untouched. */
.evaf-modern-body .evaf-gutenberg .wp-block-button a.wp-block-button__link{color:white}
.evaf-modern-body .evaf-gutenberg .evaf-button-outline a.wp-block-button__link{color:#155d98}
/* In the original header the menu lives in a narrow legacy column.
   Anchor the dropdown to the viewport while retaining a seamless pointer path. */
@media(min-width:1161px){.evaf-legacy-nav .evaf-mega{position:fixed;left:50%;top:var(--evaf-legacy-menu-top,125px);transform:translateX(-50%);max-width:calc(100vw - 28px)}}
/* Original 2010-style theme hides #access and #access2 below 1160px; expose the
   new, independently controlled mobile menu without reusing its old toggle. */
@media(max-width:1160px){
  #access2,#access{display:block!important;position:relative!important;left:auto!important;top:auto!important;float:none!important;width:100%!important;background:#fff!important;z-index:3200!important}
  #access2 .evaf-legacy-nav,#access .evaf-legacy-nav{position:relative;display:block;width:100%;min-height:auto}
  #access2 .evaf-legacy-nav .evaf-mobile-toggle,#access .evaf-legacy-nav .evaf-mobile-toggle{display:block;margin-left:auto}
  #access2 .evaf-legacy-nav .evaf-links,#access .evaf-legacy-nav .evaf-links{display:none;position:absolute;top:100%;right:0;left:auto;width:min(365px,calc(100vw - 20px));max-width:none;max-height:78vh;overflow-y:auto;background:#fff;border:1px solid #d9e8f6;border-radius:10px;box-shadow:0 18px 35px rgba(17,47,82,.14);padding:10px;z-index:3800}
  #access2 .evaf-legacy-nav.is-mobile-open .evaf-links,#access .evaf-legacy-nav.is-mobile-open .evaf-links{display:flex}
  #access2 .evaf-legacy-nav .evaf-mega,#access .evaf-legacy-nav .evaf-mega{position:static;left:auto;top:auto;transform:none;width:100%;max-height:none;box-shadow:none;border-radius:8px}
}

/* v1.1.0: WP menu-managed Products columns (no static category HTML). */
.evaf-mega-col .evaf-mega-head:is(span){cursor:default}
.evaf-mega-item--nested{padding-left:16px!important;font-size:13px!important;border-left:2px solid #dceafd}
.evaf-mega-item[aria-current="page"]{color:#167bce!important;font-weight:760}
/* New first-level headings become additional columns automatically. */
@media(min-width:1161px){
  .evaf-mega{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(210px,.95fr)}
  .evaf-mega-col:nth-of-type(n+4){grid-column:auto}
}
