/* Ey3 28 Oct 2026: front-end refresh (header, footer, home page).
   Everything is scoped to body.ey3-2026, which functions.php adds only when the refresh is on
   (option ey3_2026_live, or ?ey3v=2026 for preview). Dashboards, surveys and PDF pages keep their content styles. */

body.ey3-2026 { background: #F5F7FA !important; background-image: none !important; overflow-x: hidden; }

/* ---------- Header ---------- */
.ey3-2026 #header { position: relative; width: 100vw; max-width: none; margin: 0 calc(50% - 50vw); padding: 0; height: auto; float: none; background: #FFFFFF; border: 0; border-bottom: 1px solid #DCE3EC; box-shadow: none; }
.ey3-2026 #header #menu-wrap { max-width: 1200px; width: auto; height: auto; margin: 0 auto; padding: 12px 24px; box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; float: none; background: none; }
.ey3-2026 #header #menu-wrap .menu-text { display: none; }
.ey3-2026 #header .ey3-brand { order: -1; display: flex !important; align-items: center; gap: 10px; color: #0F2340; text-decoration: none; font-family: Manrope, Inter, system-ui, sans-serif; font-weight: 800; font-size: 19px; line-height: 1.2; letter-spacing: -0.2px; }
.ey3-2026 #header .ey3-brand:hover { color: #0F2340; }
.ey3-2026 #header .ey3-brand svg { flex: none; display: block; }
.ey3-2026 #header #menu-wrap .main-nav { width: auto; height: auto; margin: 0; padding: 0; float: none; border: 0; background: none; box-shadow: none; }
.ey3-2026 #header #menu-wrap .main-nav > ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px; width: auto; height: auto; margin: 0; padding: 0; float: none; border: 0; background: none; }
.ey3-2026 #header #menu-wrap .main-nav > ul > li { position: relative; float: none; margin: 0; padding: 0; border: 0; background: none; }
.ey3-2026 #header #menu-wrap .main-nav a { display: block; height: auto; margin: 0; padding: 10px 14px; border: 0; border-radius: 6px; background: none; color: #3A4A5E; font-family: Inter, system-ui, sans-serif; font-size: 15px; font-weight: 500; line-height: 1.4; text-shadow: none; text-decoration: none; }
.ey3-2026 #header #menu-wrap .main-nav a:hover { color: #0F2340; background: #EEF3F9; }
.ey3-2026 #header #menu-wrap .main-nav .current-menu-item > a,
.ey3-2026 #header #menu-wrap .main-nav .current_page_item > a { color: #0F2340; font-weight: 600; border-radius: 0; box-shadow: inset 0 -2px 0 #1F5FA8; }
.ey3-2026 #header #menu-wrap .main-nav > ul > li > a[href*="login"] { margin-left: 8px; padding: 10px 20px; border-radius: 8px; background: #1F5FA8; color: #FFFFFF; font-weight: 600; box-shadow: none; }
.ey3-2026 #header #menu-wrap .main-nav > ul > li > a[href*="login"]:hover { background: #174A85; color: #FFFFFF; }
.ey3-2026 #header #menu-wrap .main-nav .sub-menu,
.ey3-2026 #header #menu-wrap .main-nav .children { padding: 6px 0; border: 1px solid #DCE3EC; border-radius: 8px; background: #FFFFFF; box-shadow: 0 8px 24px rgba(15, 35, 64, 0.10); z-index: 50; }
.ey3-2026 #header #menu-wrap .main-nav .sub-menu a,
.ey3-2026 #header #menu-wrap .main-nav .children a { padding: 8px 16px; border-radius: 0; white-space: nowrap; }

/* ---------- Footer (rendered by footer.php after #container) ---------- */
.ey3-2026 #footer { display: none; }
.ey3-footer { margin-top: 48px; background: #0F2340; color: #C6D2E2; font-family: Inter, system-ui, sans-serif; font-size: 15px; line-height: 1.6; }
.ey3-footer__in { max-width: 1200px; margin: 0 auto; padding: 48px 24px; box-sizing: border-box; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.ey3-footer__about { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ey3-footer__name { font-family: Manrope, Inter, system-ui, sans-serif; font-weight: 800; font-size: 18px; color: #FFFFFF; }
.ey3-footer p { margin: 0; color: #C6D2E2; }
.ey3-footer a { color: #FFFFFF; text-decoration: none; }
.ey3-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.ey3-footer__nav { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px 24px; }
.ey3-home-page .ey3-footer { margin-top: 0; }

/* ---------- Home page: let the sections run full width ---------- */
.ey3-home-page #container,
.ey3-home-page #wrapper,
.ey3-home-page #content-full,
.ey3-home-page #content-full > div,
.ey3-home-page .post-entry { width: auto; max-width: none; min-height: 0; margin: 0; padding: 0; float: none; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.ey3-home-page .post-entry > hr,
.ey3-home-page .breadcrumb-list { display: none; }

.ey3-home { color: #3A4A5E; font-family: Inter, system-ui, sans-serif; font-size: 16px; line-height: 1.6; text-align: left; }
.ey3-home *, .ey3-home *::before, .ey3-home *::after { box-sizing: border-box; }
.ey3-home a { color: #1F5FA8; }
.ey3-home a:hover { color: #174A85; }
.ey3-home h1, .ey3-home h2, .ey3-home h3 { margin: 0; padding: 0; color: #0F2340; font-family: Manrope, Inter, system-ui, sans-serif; text-transform: none; text-align: left; }
.ey3-home p { margin: 0; padding: 0; }
.ey3-home ul, .ey3-home ol { margin: 0; padding: 0; list-style: none; }
.ey3-home li { margin: 0; padding: 0; background: none; }
.ey3-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ey3-section { padding: 84px 0; background: #FFFFFF; }
.ey3-section--tint { background: #F5F7FA; border-top: 1px solid #E6EBF1; border-bottom: 1px solid #E6EBF1; }
.ey3-eyebrow { color: #1F5FA8; font-size: 14px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; }
.ey3-home h2.ey3-h2 { font-size: 38px; font-weight: 800; line-height: 1.15; letter-spacing: -0.6px; }
.ey3-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 40px; }
.ey3-head__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.ey3-head__text p.ey3-sub { font-size: 18px; color: #3A4A5E; max-width: 720px; }
.ey3-more { font-weight: 600; }

.ey3-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 8px; font-family: Inter, system-ui, sans-serif; font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; }
.ey3-home a.ey3-btn--primary, .ey3-home input.ey3-btn--primary { border: 0; background: #1F5FA8; color: #FFFFFF; }
.ey3-home a.ey3-btn--primary:hover, .ey3-home input.ey3-btn--primary:hover { background: #174A85; color: #FFFFFF; }
.ey3-home a.ey3-btn--ghost { border: 1px solid #C9D3DF; background: #FFFFFF; color: #0F2340; }
.ey3-home a.ey3-btn--ghost:hover { border-color: #9FB1C6; color: #0F2340; }
.ey3-btn--block { width: 100%; }

/* Hero + sign in */
.ey3-hero { padding: 72px 0 80px; background: #F5F7FA; border-bottom: 1px solid #E6EBF1; }
.ey3-hero__in { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.ey3-hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.ey3-home .ey3-hero h1 { font-size: 54px; font-weight: 800; line-height: 1.06; letter-spacing: -1.2px; }
.ey3-lead { max-width: 580px; font-size: 19px; line-height: 1.6; color: #3A4A5E; }
.ey3-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.ey3-signin { flex: 1 1 360px; max-width: 420px; min-width: 0; padding: 32px; border: 1px solid #DCE3EC; border-radius: 14px; background: #FFFFFF; box-shadow: 0 12px 32px rgba(15, 35, 64, 0.08); }
.ey3-home .ey3-signin h2 { margin-bottom: 20px; font-size: 24px; font-weight: 700; }
.ey3-muted { margin-bottom: 22px; font-size: 15px; color: #5B6B80; }
.ey3-signin form { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; }
.ey3-signin label { margin: 0; color: #0F2340; font-size: 14px; font-weight: 600; }
.ey3-home .ey3-signin input[type="text"],
.ey3-home .ey3-signin input[type="password"] { width: 100%; height: 46px; margin: 0 0 12px; padding: 0 14px; border: 1px solid #C9D3DF; border-radius: 8px; background: #FFFFFF; box-shadow: none; color: #0F2340; font-family: Inter, system-ui, sans-serif; font-size: 16px; }
.ey3-home .ey3-signin input[type="text"]:focus,
.ey3-home .ey3-signin input[type="password"]:focus { border-color: #1F5FA8; outline: 2px solid #9DBCE3; outline-offset: 0; }
.ey3-signin label.ey3-check { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-bottom: 8px; color: #3A4A5E; font-size: 15px; font-weight: 400; }
.ey3-signin label.ey3-check input { width: 18px; height: 18px; margin: 0; }
.ey3-home .ey3-signin input#wp-submit { display: block; width: 100% !important; height: 48px !important; margin: 4px 0 0 !important; padding: 0 24px !important; border: 0 !important; border-radius: 8px !important; background: #1F5FA8 !important; background-image: none !important; box-shadow: none !important; text-shadow: none !important; color: #FFFFFF !important; font: 600 16px/48px Inter, system-ui, sans-serif !important; cursor: pointer; }
.ey3-home .ey3-signin input#wp-submit:hover { background: #174A85 !important; }
.ey3-signin__help { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; padding-top: 18px; border-top: 1px solid #E6EBF1; font-size: 15px; }
.ey3-signin__help p { color: #5B6B80; }

/* What we measure */
.ey3-cards { display: flex; flex-wrap: wrap; gap: 20px; }
.ey3-card { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid #DCE3EC; border-radius: 12px; background: #FFFFFF; }
.ey3-home .ey3-card h3 { font-size: 20px; font-weight: 700; }
.ey3-card svg { display: block; }

/* Report levels */
.ey3-level { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #DCE3EC; border-radius: 12px; background: #FFFFFF; }
.ey3-level__art { height: 170px; padding: 24px; background: #EAF1FA; display: flex; gap: 8px; }
.ey3-level__body { display: flex; flex-direction: column; gap: 8px; padding: 24px 28px 28px; }
.ey3-home .ey3-level h3 { font-size: 21px; font-weight: 700; }
.ey3-bars { flex: 1; display: flex; align-items: flex-end; gap: 8px; }
.ey3-bars span { flex: 1; display: block; border-radius: 4px 4px 0 0; background: #9DB8DA; }
.ey3-bars span.is-after { background: #1F5FA8; }
.ey3-bars span.is-amber { background: #E8A33D; }
.ey3-bars i { width: 6px; flex: none; }
.ey3-rows { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.ey3-rows div { display: flex; align-items: center; gap: 10px; }
.ey3-rows b { width: 56px; height: 8px; border-radius: 4px; background: #C3D3E8; }
.ey3-rows span { height: 12px; border-radius: 3px; background: #9DB8DA; }
.ey3-rows span.is-after { background: #1F5FA8; }
.ey3-tiles { display: flex; gap: 10px; }
.ey3-tiles span { flex: 1; height: 54px; border: 1px solid #D3DFEE; border-radius: 8px; background: #FFFFFF; }
.ey3-col { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.ey3-avatar { width: 64px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ey3-avatar span { width: 48px; height: 48px; border-radius: 50%; background: #C3D3E8; }
.ey3-avatar b { width: 56px; height: 8px; border-radius: 4px; background: #C3D3E8; }

/* Steps */
.ey3-steps { display: flex; flex-wrap: wrap; gap: 20px; }
.ey3-step { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 3px solid #1F5FA8; }
.ey3-step__num { color: #1F5FA8; font-family: Manrope, Inter, system-ui, sans-serif; font-size: 15px; font-weight: 800; }
.ey3-step p { color: #0F2340; font-size: 17px; font-weight: 600; }

/* Video + sample report */
.ey3-media { display: flex; flex-wrap: wrap; align-items: stretch; gap: 32px; }
.ey3-video { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ey3-home .ey3-video h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.4px; }
.ey3-video__frame { position: relative; width: 100%; padding: 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: #0F2340; }
.ey3-video__frame .fluid-width-video-wrapper { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; padding: 0 !important; }
.ey3-video__frame iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.ey3-sample { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 32px; border: 1px solid #DCE3EC; border-radius: 12px; background: #FFFFFF; }
.ey3-home .ey3-sample h3 { font-size: 24px; font-weight: 700; }
.ey3-sample__art { height: 150px; padding: 16px; display: flex; flex-direction: column; gap: 8px; border: 1px solid #D3DFEE; border-radius: 8px; background: #EAF1FA; }
.ey3-line { height: 8px; border-radius: 3px; background: #C3D3E8; }
.ey3-line.is-title { height: 10px; background: #1F5FA8; }

/* Call to action */
.ey3-cta { padding: 72px 0; background: #1F5FA8; }
.ey3-cta__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.ey3-cta__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ey3-home .ey3-cta h2 { color: #FFFFFF; font-size: 36px; font-weight: 800; line-height: 1.15; letter-spacing: -0.5px; }
.ey3-cta p { color: #E3ECF8; font-size: 18px; }
.ey3-home a.ey3-btn--white { background: #FFFFFF; color: #0F2340; font-weight: 700; }
.ey3-home a.ey3-btn--white:hover { background: #EAF1FA; color: #0F2340; }
.ey3-home a.ey3-btn--outline { border: 1px solid #FFFFFF; color: #FFFFFF; }
.ey3-home a.ey3-btn--outline:hover { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; }

@media (max-width: 700px) {
  .ey3-home .ey3-hero h1 { font-size: 38px; letter-spacing: -0.6px; }
  .ey3-home h2.ey3-h2, .ey3-home .ey3-cta h2 { font-size: 30px; }
  .ey3-section { padding: 56px 0; }
  .ey3-hero { padding: 48px 0 56px; }
  .ey3-signin { padding: 24px; }
  .ey3-2026 #header #menu-wrap .main-nav > ul > li > a[href*="login"] { margin-left: 0; }
}

/* Desktop and tablet: always show the menu as a row, even if the phone menu was left open before a resize. */
@media (min-width: 651px) {
  .ey3-2026 #header #menu-wrap .main-nav > ul { display: flex !important; }
}

/* Phones (the theme's 650px breakpoint): brand plus menu button; the theme's own script opens the menu as a panel. */
@media (max-width: 650px) {
  .ey3-2026 #header #menu-wrap { flex-wrap: nowrap; padding: 10px 16px; }
  .ey3-2026 #header .ey3-brand { min-width: 0; gap: 8px; font-size: 17px; }
  .ey3-2026 #header .ey3-brand svg { width: 30px; height: 30px; }
  .ey3-2026 #header #menu-wrap .main-nav { position: static; flex: none; margin: 0; background: none; }
  .ey3-2026 #header #menu-wrap #responsive_current_menu_item { display: none; }
  .ey3-2026 #header #menu-wrap a#responsive_menu_button { position: static; display: block; width: 44px; height: 44px; margin: 0; padding: 0; box-sizing: border-box; border: 1px solid #DCE3EC; border-radius: 8px; background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F2340' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E") center / 22px 22px no-repeat; cursor: pointer; }
  .ey3-2026 #header #menu-wrap a#responsive_menu_button.responsive-toggle-open { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F2340' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
  .ey3-2026 #header #menu-wrap .main-nav > ul { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 1000; width: auto; padding: 4px 16px 16px; background: #FFFFFF; border-bottom: 1px solid #DCE3EC; box-shadow: 0 12px 24px rgba(15, 35, 64, 0.10); }
  .ey3-2026 #header #menu-wrap .main-nav > ul > li { background: none; border: 0; border-bottom: 1px solid #EEF2F7; }
  .ey3-2026 #header #menu-wrap .main-nav > ul > li:last-child { border-bottom: 0; }
  .ey3-2026 #header #menu-wrap .main-nav a { padding: 12px 4px; border-radius: 0; font-size: 16px; }
  .ey3-2026 #header #menu-wrap .main-nav a:hover { background: none; color: #1F5FA8; }
  .ey3-2026 #header #menu-wrap .main-nav .current-menu-item > a,
  .ey3-2026 #header #menu-wrap .main-nav .current_page_item > a { box-shadow: none; color: #1F5FA8; }
  .ey3-2026 #header #menu-wrap .main-nav > ul > li > a[href*="login"] { margin: 12px 0 0; padding: 12px 20px; border-radius: 8px; text-align: center; }
}

/* Sign-in page (login-page.php when the refresh is on) */
.ey3-home.ey3-login .ey3-hero h1 { font-size: 46px; }
.ey3-login__help { max-width: 520px; padding-top: 22px; border-top: 1px solid #DCE3EC; }
.ey3-home .ey3-login__help h2 { margin: 0 0 6px; font-size: 18px; font-weight: 700; line-height: 1.3; }
.ey3-home .ey3-login__help p { margin: 0 0 18px; color: #3A4A5E; font-size: 16px; line-height: 1.6; }
.ey3-home .ey3-login__help p:last-child { margin-bottom: 0; }
.ey3-login__help a { color: #1F5FA8; font-weight: 600; }
.ey3-login__help a:hover { color: #174A85; }

/* Inner pages: About Us (4), How it Works (214), Contact Us (8). Existing copy, new type. */
body.ey3-2026:is(.page-id-4, .page-id-214, .page-id-8) { background: #F5F7FA; }
body.ey3-2026:is(.page-id-4, .page-id-214, .page-id-8) #wrapper { width: auto; max-width: 880px; min-height: 0; margin: 48px auto 72px; padding: 48px 56px; box-sizing: border-box; float: none; background: #FFFFFF; border: 1px solid #DCE3EC; border-radius: 16px; box-shadow: 0 12px 32px rgba(15, 35, 64, 0.06); }
body.ey3-2026:is(.page-id-4, .page-id-214, .page-id-8) #wrapper #content-full { width: auto; min-height: 0; margin: 0; padding: 0; float: none; }
body.ey3-2026:is(.page-id-4, .page-id-214, .page-id-8) #wrapper .post-entry { color: #3A4A5E; font-family: Inter, system-ui, sans-serif; font-size: 17px; line-height: 1.7; text-align: left; }
body.ey3-2026:is(.page-id-4, .page-id-214, .page-id-8) #wrapper .post-entry h1 { margin: 0 0 20px; padding: 0; color: #0F2340; font-family: Manrope, Inter, system-ui, sans-serif; font-size: 40px; font-weight: 800; line-height: 1.15; letter-spacing: -0.6px; text-transform: none; }
body.ey3-2026:is(.page-id-4, .page-id-214, .page-id-8) #wrapper .post-entry h2 { margin: 36px 0 10px; padding: 0; color: #0F2340; font-family: Manrope, Inter, system-ui, sans-serif; font-size: 22px; font-weight: 700; line-height: 1.3; text-transform: none; }
body.ey3-2026:is(.page-id-4, .page-id-214, .page-id-8) #wrapper .post-entry p { margin: 0 0 14px; color: #3A4A5E; font-size: 17px; line-height: 1.7; }
body.ey3-2026:is(.page-id-4, .page-id-214, .page-id-8) #wrapper .post-entry b,
body.ey3-2026:is(.page-id-4, .page-id-214, .page-id-8) #wrapper .post-entry strong { color: #0F2340; font-weight: 600; }
body.ey3-2026:is(.page-id-4, .page-id-214, .page-id-8) #wrapper .post-entry a { color: #1F5FA8; text-decoration: underline; text-underline-offset: 3px; }
body.ey3-2026:is(.page-id-4, .page-id-214, .page-id-8) #wrapper .post-entry a:hover { color: #174A85; }
body.ey3-2026:is(.page-id-4, .page-id-214, .page-id-8) #wrapper .post-entry img { max-width: 100%; height: auto; border: 1px solid #DCE3EC; border-radius: 8px; }
body.ey3-2026:is(.page-id-4, .page-id-214, .page-id-8) #wrapper .post-entry > hr,
body.ey3-2026:is(.page-id-4, .page-id-214, .page-id-8) .breadcrumb-list { display: none; }

@media (max-width: 700px) {
  .ey3-home.ey3-login .ey3-hero h1 { font-size: 36px; }
  body.ey3-2026:is(.page-id-4, .page-id-214, .page-id-8) #wrapper { margin: 24px 16px 48px; padding: 28px 22px; }
  body.ey3-2026:is(.page-id-4, .page-id-214, .page-id-8) #wrapper .post-entry h1 { font-size: 32px; }
  body.ey3-2026:is(.page-id-4, .page-id-214, .page-id-8) #wrapper .post-entry div { float: none !important; width: auto !important; margin: 16px 0 !important; text-align: left; }
}
