/*
Theme Name:     esizemore
Theme URI:      https://esizemore.com
Description:    Child theme of Neve for esizemore.com. All custom styling goes here; never edit the parent.
Author:         Everett Sizemore
Author URI:     https://esizemore.com
Template:       neve
Version:        0.3.3
Text Domain:    neve-child
*/

/*
 * Colors and fonts come from Neve's Customizer (defaults kept for now).
 * Custom rules go below.
 */

/* =====================================================================
 * Section layouts (Phase 4). Every rule is scoped to an .es-* class that
 * bin/design.php puts on core blocks, so pages without them are untouched.
 * Colors come from Neve's palette variables.
 * ===================================================================== */

:root {
	--es-wide: 1160px;
	--es-radius: 14px;
	--es-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 12px 32px rgba(15, 23, 42, .08);
	--es-muted: #5b6472;
	--es-line: #e4e7ec;
}

/* Header: Contact as a button */
.nav-ul .menu-cta > .wrap > a,
.nav-ul .menu-cta > a {
	background: var(--nv-primary-accent);
	color: #fff !important;
	border-radius: 8px;
	padding: 8px 18px !important;
}
.nav-ul .menu-cta > .wrap > a:hover,
.nav-ul .menu-cta > a:hover { background: var(--nv-secondary-accent); }
.header-menu-sidebar .nav-ul .menu-cta > .wrap > a { display: inline-block; margin-top: 8px; }

/* Full-width sections */
.es-section {
	padding: 96px 24px;
	margin: 0 !important;
}
.es-section > * { max-width: var(--es-wide) !important; margin-left: auto !important; margin-right: auto !important; }
.es-section.es-alt { background: var(--nv-light-bg); }
.es-section.es-dark { background: var(--nv-dark-bg); color: var(--nv-text-dark-bg); }
.es-dark h2, .es-dark h3, .es-dark p { color: var(--nv-text-dark-bg); }
.es-section h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -.5px; margin-bottom: 14px; }
.es-eyebrow {
	font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
	color: var(--nv-primary-accent); margin-bottom: 12px;
}
.es-dark .es-eyebrow { color: #9db5ec; }
.es-lead { font-size: 18px; line-height: 1.7; color: var(--es-muted); max-width: 720px; }
.es-center { text-align: center; }
.es-center .es-lead { margin-left: auto; margin-right: auto; }
.es-center .wp-block-buttons { justify-content: center; }

/* Hero */
.es-hero { padding-top: 88px; padding-bottom: 104px; }
.es-hero h1 { font-size: clamp(38px, 5vw, 56px); line-height: 1.06; font-weight: 800; letter-spacing: -1px; margin-bottom: 22px; }
.es-hero .es-lead { margin-bottom: 30px; }
.es-headshot img { border-radius: 24px; box-shadow: 0 24px 52px rgba(15, 23, 42, .22); width: 100%; height: auto; }
.es-headshot { max-width: 420px; margin: 0 auto !important; }
.es-badge-row { margin-top: 34px !important; gap: 14px; align-items: center; }
.es-badge-row figure { margin: 0 !important; }
.es-badge-row img { width: 64px; height: auto; border-radius: 8px; }
.es-badge-row p { font-size: 14px; color: var(--es-muted); margin: 0; }

/* Buttons */
.es-section .wp-block-button__link { border-radius: 8px; padding: 14px 28px; font-weight: 600; }
.es-section .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--nv-primary-accent); color: #fff; }
.es-section .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--nv-secondary-accent); }
.es-section .is-style-outline .wp-block-button__link { border: 1px solid #c9ced6; color: var(--nv-text-color); background: transparent; }
.es-dark .is-style-outline .wp-block-button__link { border-color: rgba(255, 255, 255, .4); color: #fff; }

/* Cards */
.es-cards { gap: 24px !important; margin-top: 40px !important; flex-wrap: wrap !important; }
.es-cards > .wp-block-column { flex: 1 1 300px !important; }
.es-card {
	background: var(--nv-site-bg); border: 1px solid var(--es-line); border-radius: var(--es-radius);
	padding: 30px; box-shadow: var(--es-shadow); height: 100%;
	transition: transform .15s ease, box-shadow .15s ease;
}
.es-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15, 23, 42, .06), 0 18px 40px rgba(15, 23, 42, .12); }
.es-card h3 { font-size: 20px; line-height: 1.3; margin-bottom: 10px; }
.es-card p { color: var(--es-muted); font-size: 16px; line-height: 1.6; }
.es-card .es-more { margin-top: 14px; margin-bottom: 0; font-weight: 600; }
.es-card .es-more a { text-decoration: none; }
.es-alt .es-card { border-color: transparent; }

/* Numbered steps */
.es-steps { gap: 24px !important; margin-top: 40px !important; flex-wrap: wrap !important; }
.es-steps > .wp-block-column { flex: 1 1 220px !important; }
.es-step { border-top: 3px solid var(--nv-primary-accent); padding-top: 22px; }
.es-step-num { font-size: 40px; font-weight: 800; line-height: 1; color: var(--nv-primary-accent); opacity: .35; margin-bottom: 12px; }
.es-step h3 { font-size: 20px; margin-bottom: 8px; }
.es-step p { color: var(--es-muted); }

/* Stats */
.es-stats { gap: 24px !important; text-align: center; flex-wrap: wrap !important; }
.es-stats > .wp-block-column { flex: 1 1 200px !important; }
.es-stat-num { font-size: clamp(40px, 5vw, 56px); font-weight: 800; line-height: 1; color: var(--nv-primary-accent); margin-bottom: 8px; }
.es-stat-label { color: var(--es-muted); font-size: 16px; }

/* Quotes */
.es-quote { display: flex; flex-direction: column; }
.es-quote .es-quote-mark { font-size: 64px; line-height: .6; font-family: Georgia, serif; color: var(--nv-primary-accent); opacity: .3; margin-bottom: 10px; }
.es-quote .es-quote-text { color: var(--nv-text-color); font-size: 16px; line-height: 1.7; flex-grow: 1; }
.es-quote .es-author { margin-top: 20px; margin-bottom: 0; font-size: 15px; color: var(--es-muted); }
.es-quote .es-author strong { display: block; color: var(--nv-text-color); }

/* Closing call to action */
.es-cta-band { background: var(--nv-primary-accent); color: #fff; }
.es-cta-band h2, .es-cta-band p { color: #fff; }
.es-cta-band .es-lead { color: rgba(255, 255, 255, .85); }
.es-cta-band .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: #fff; color: var(--nv-primary-accent); }
.es-cta-band .is-style-outline .wp-block-button__link { border-color: rgba(255, 255, 255, .55); color: #fff; }

/* Front page: let sections run edge to edge */
.home .nv-single-page-wrap, .home .nv-content-wrap { margin: 0; }
.home .neve-main > .container, .home .single-page-container { max-width: 100%; padding: 0; }
.home .nv-content-wrap > .es-section:first-child { margin-top: 0 !important; }

@media (max-width: 781px) {
	.es-section { padding: 64px 20px; }
	.es-hero { padding-top: 48px; }
	.es-hero .wp-block-column:last-child { order: -1; }
	.es-headshot { max-width: 260px; }
}
.es-stats-section { padding-top: 56px; padding-bottom: 56px; }
.es-stats p { margin-bottom: 0; }

/* Hero badges: Moz and Zyppy List */
.es-badge-row { flex-wrap: wrap !important; gap: 32px !important; align-items: center !important; }
.es-badge-item { gap: 14px; margin: 0 !important; }
.es-badge-row .es-badge img { width: 104px; }
.es-badge-row p { line-height: 1.4; }
.es-zyppy-item { display: flex; flex-direction: column; gap: 4px; }
.es-zyppy-item > * { margin: 0 !important; }
.es-badge-row .es-zyppy img { width: 170px; border-radius: 0; }
.es-stars { font-size: 22px !important; letter-spacing: 3px; line-height: 1 !important; }
.es-stars a { color: #d1331f; text-decoration: none; }
.es-badge-row > .es-badge-item { flex: 0 0 auto; width: auto; max-width: none !important; }
.es-badge-row > .es-badge-item.is-layout-flex { flex-wrap: nowrap; }
/* Zyppy: Everett's own badge image (181x200), shown at the Moz badge's height */
.es-badge-row .es-zyppy { margin: 0 !important; }
.es-badge-row .es-zyppy img { width: auto; height: 130px; border-radius: 0; }

/* Badges, larger. Moz: "2023–2026" laid over the 2025 in the badge art.
 * Zyppy: 181x200 source, so keep it at or under 200px tall to stay sharp. */
.es-badge-row { gap: 28px !important; }
.es-badge-row .es-badge { position: relative; container-type: inline-size; width: 150px; margin: 0 !important; }
.es-badge-row .es-badge img { width: 150px; border-radius: 0; }
.es-badge-row .es-badge::after {
	content: "2023–2026";
	position: absolute; left: 21%; right: 21%; top: 61.5%; height: 14%;
	display: flex; align-items: center; justify-content: center;
	background: #00658f; color: #fff;
	font: 400 11.5cqw/1 "Roboto Slab", Georgia, serif; letter-spacing: -.01em;
}
.es-badge-row .es-zyppy img { height: 166px; }
.es-badge-row .es-badge::after { white-space: nowrap; font-size: 15px; }

/* Zyppy List badge rebuilt from Everett's design (card, stars, logo) */
.es-zyppy-card {
	width: 160px; padding: 12px 12px 14px !important; margin: 0 !important;
	border: 1px solid #333; border-radius: 6px; background: #fff;
	box-shadow: 2px 3px 6px rgba(0, 0, 0, .25); text-align: center;
}
.es-zyppy-card > * { margin: 0 auto !important; }
.es-zyppy-card .es-zc-name { font: 15px/1.3 Georgia, "Times New Roman", serif; }
.es-zyppy-card .es-zc-name a { color: #111; text-decoration: underline; }
.es-zyppy-card .es-stars { font-size: 24px !important; letter-spacing: 1px; margin-top: 6px !important; }
.es-zyppy-card .es-zc-count { font: 14px/1.3 Georgia, "Times New Roman", serif; color: #666 !important; margin-top: 6px !important; }
.es-badge-row .es-zyppy-card .es-zc-logo { margin-top: 6px !important; }
.es-badge-row .es-zyppy-card .es-zc-logo img { width: 136px; height: auto; border-radius: 0; }
.es-zyppy-card .es-zc-label { font-size: 13px !important; font-weight: 700; letter-spacing: 1.5px; line-height: 1.35 !important; color: #222 !important; max-width: 120px; margin-top: 4px !important; }
.es-badge-row .es-badge::after { content: "2023–26"; font-size: 19px; }
.es-zyppy-card .es-stars { margin-top: 0 !important; }

/* Recommendations: masonry columns so long and short quotes pack neatly */
.es-quote-grid { columns: 3 300px; column-gap: 24px; margin-top: 40px !important; max-width: var(--es-wide) !important; }
.es-quote-grid > .es-quote { break-inside: avoid; height: auto; margin: 0 0 24px !important; display: block; }

/* Recommendations: three fixed columns (order set in bin/design.php), name and title above the quote */
.es-quote-cols { gap: 24px !important; margin-top: 40px !important; }
.es-quote-cols > .wp-block-column > .es-quote { margin: 0 0 24px !important; height: auto; display: block; }
.es-quote-cols > .wp-block-column > .es-quote:last-child { margin-bottom: 0 !important; }
.es-quote .es-author { margin: 0 0 14px !important; padding-bottom: 14px; border-bottom: 1px solid var(--es-line); line-height: 1.4; }
.es-quote .es-author span { display: block; font-size: 14px; }
.es-quote .es-quote-text { margin: 0 !important; }
@media (max-width: 781px) { .es-quote-cols > .wp-block-column > .es-quote:last-child { margin-bottom: 24px !important; } }

/* What Works intro: wider so the subheading wraps to fewer lines */
.es-what-works .es-lead { max-width: 920px; }

/* Recommendations: italic text inside larger quote marks */
.es-quote .es-quote-text { font-style: italic; }
.es-quote .es-quote-text::before,
.es-quote .es-quote-text::after {
	font-style: normal; font-size: 1.35em; line-height: 0; font-family: Georgia, serif;
	color: var(--nv-primary-accent); position: relative; top: .12em;
}
.es-quote .es-quote-text::before { content: "\201C"; margin-right: 2px; }
.es-quote .es-quote-text::after { content: "\201D"; margin-left: 2px; }

/* AI recommendation steps: numbered cards */
.es-ai-recommend .es-cards > .wp-block-column { flex: 1 1 320px !important; }
.es-ai-step .es-step-num { font-size: 32px; font-weight: 800; line-height: 1; color: var(--nv-primary-accent); opacity: .35; margin-bottom: 10px; }
.es-ai-recommend .es-cards + .es-center { margin-top: 40px !important; }
.es-cards + .es-center .wp-block-buttons { margin-top: 32px; }

/* Footer: menu left, social icons right, copyright centered below; roomier */
.site-footer .footer-main { padding: 48px 0 28px; }
.site-footer .footer-bottom { padding: 18px 0 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
.site-footer .container { max-width: var(--es-wide); }
.site-footer .footer-menu.nav-ul { display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: flex-start; }
.site-footer .footer-menu.nav-ul > li { margin: 0 !important; }
.site-footer .footer-menu a { font-size: 15px; }
.site-footer .es-social { gap: 18px; justify-content: flex-end; margin: 0; }
.site-footer .es-social .wp-social-link { color: #fff; }
.site-footer .es-social .wp-social-link svg { width: 24px; height: 24px; }
.site-footer .es-social .wp-social-link:hover { opacity: .75; }
.site-footer .builder-item--footer_copyright, .site-footer .footer-bottom { text-align: center; font-size: 14px; opacity: .85; }
@media (max-width: 781px) {
	.site-footer .footer-menu.nav-ul, .site-footer .es-social { justify-content: center; }
	.site-footer .footer-main .hfg-slot { justify-content: center; }
}

/* Home hero chart rotator: 2:1 frame to suit the dashboard screenshots. First slide shows without JS. */
.es-rotator { position: relative; max-width: 560px; margin: 0 auto !important; }
.es-rotator .es-slide { display: none; margin: 0 !important; }
.es-rotator .es-slide:first-child { display: block; }
.es-rotator.is-js .es-slide { display: none; }
.es-rotator.is-js .es-slide.is-active { display: block; animation: es-fade .6s ease; }
@keyframes es-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .es-rotator.is-js .es-slide.is-active { animation: none; } }
.es-slide figure, .es-slide .es-slide-ph { margin: 0 !important; }
.es-slide img, .es-slide .es-slide-ph {
	display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: contain; background: #fff; padding: 10px; box-sizing: border-box;
	border: 1px solid var(--es-line); border-radius: 16px; box-shadow: 0 24px 52px rgba(15, 23, 42, .16);
}
.es-slide .es-slide-ph { display: flex; align-items: center; justify-content: center; color: var(--es-muted); border-style: dashed; }
.es-slide .es-slide-caption { margin: 16px 0 0 !important; text-align: center; font-weight: 600; font-size: 16px; color: var(--nv-text-color); }
.es-dots { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.es-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #c9ced6; cursor: pointer; }
.es-dots button[aria-current="true"] { background: var(--nv-primary-accent); }
.es-dots button:focus-visible { outline: 2px solid var(--nv-primary-accent); outline-offset: 2px; }

/* About: headshot */
.es-about-headshot { float: right; width: 300px; max-width: 45%; margin: 0 0 24px 32px !important; }
.es-about-headshot img { width: 100%; height: auto; }
.es-about-headshot img { border-radius: 16px; box-shadow: 0 16px 40px rgba(15, 23, 42, .18); }
@media (max-width: 600px) { .es-about-headshot { float: none !important; margin: 0 auto 24px !important; } }

/* Charts link to case studies */
.es-slide a { text-decoration: none; color: inherit; }
.es-slide a:hover img { box-shadow: 0 28px 60px rgba(15, 23, 42, .24); }
.es-slide .es-slide-caption a:hover { color: var(--nv-primary-accent); }
/* Case study cards: two per row */
.es-cases .es-cards > .wp-block-column { flex: 0 0 calc((100% - 48px) / 3) !important; }
@media (max-width: 781px) { .es-cases .es-cards > .wp-block-column { flex-basis: 100% !important; } }
/* Case study pages: chart */
.es-cs-chart img { border: 1px solid var(--es-line); border-radius: 12px; }
.es-cs-chart figcaption { text-align: center; font-weight: 600; }

/* Hero: bigger charts, smaller headline */
.es-hero h1 { font-size: clamp(34px, 3.9vw, 46px); }
@media (min-width: 782px) {
	.es-hero-cols > .wp-block-column:first-child { flex-basis: 46% !important; }
	.es-hero-cols > .wp-block-column:last-child { flex-basis: 54% !important; }
}
.es-rotator { max-width: 640px; touch-action: pan-y; }

/* Hero badges now sit under the chart slider, centered */
.es-rotator + .es-badge-row { justify-content: center; margin-top: 24px !important; max-width: 640px; margin-left: auto !important; margin-right: auto !important; }
@media (max-width: 781px) {
	/* Mobile: headline and buttons first, then charts and badges */
	.es-hero .wp-block-column:last-child { order: 0; }
}

/* Image archives page: simple grid */
.es-archive-grid > .wp-block-group__inner-container,
.es-archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.es-archive-grid > .wp-block-group__inner-container { display: contents; }
.es-archive-grid figure { margin: 0 !important; }
.es-archive-grid img { width: 100%; height: 160px; object-fit: contain; background: var(--nv-light-bg); border-radius: 8px; }
.es-archive-grid figcaption { font-size: 12px; color: var(--es-muted); word-break: break-all; }
.site-footer .footer-main .hfg-slot.c-left { justify-content: flex-end; }
.site-footer .footer-bottom .hfg-slot { justify-content: center; }
/* Footer: one dark block for both rows */
.site-footer .footer-main, .site-footer .footer-bottom, .site-footer .footer--row-inner { background: var(--nv-dark-bg) !important; color: #fff; }
.site-footer .footer-main .footer--row-inner { padding: 48px 0 28px; }
.site-footer .footer-bottom .footer--row-inner { padding: 18px 0 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
.site-footer .footer-main a, .site-footer .footer-menu a { color: rgba(255, 255, 255, .85) !important; }
.site-footer .footer-main a:hover { color: #fff !important; }
.site-footer .footer-main .hfg-slot { align-items: center; }
.site-footer .footer-bottom .builder-item, .site-footer .footer-bottom .item--inner { width: 100%; justify-content: center; text-align: center; --justify: center; --textalign: center; }
/* Footer: second row of profile links (services without a WordPress icon) */
.site-footer .footer-main .hfg-slot.c-left .builder-item { display: flex; flex-direction: column; align-items: flex-end; }
.site-footer .es-social-more { margin: 14px 0 0; text-align: right; font-size: 13px; line-height: 1.9; max-width: 420px; }
.site-footer .es-social-more a { margin-left: 14px; white-space: nowrap; color: rgba(255, 255, 255, .7) !important; }
.site-footer .es-social-more a:hover { color: #fff !important; }
@media (max-width: 781px) {
	.site-footer .footer-main .hfg-slot.c-left .builder-item { align-items: center; }
	.site-footer .es-social-more { text-align: center; margin-left: auto; margin-right: auto; }
	.site-footer .es-social-more a { margin: 0 7px; }
}

/* Footer, shorter: copyright left, legal links right */
.site-footer .footer-main .footer--row-inner { padding: 32px 0 20px; }
.site-footer .footer-bottom .footer--row-inner { padding: 14px 0; }
.site-footer .footer-bottom .hfg-slot.left { justify-content: flex-start; }
.site-footer .footer-bottom .hfg-slot.left .builder-item,
.site-footer .footer-bottom .hfg-slot.left .item--inner { justify-content: flex-start; text-align: left; --justify: flex-start; --textalign: left; width: auto; }
.site-footer .footer-bottom .hfg-slot.c-left { justify-content: flex-end; }
.site-footer .footer-bottom .hfg-slot.c-left .builder-item { width: auto; }
.site-footer .footer-bottom .widget_nav_menu ul { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; padding: 0; list-style: none; justify-content: flex-end; }
.site-footer .footer-bottom .widget_nav_menu a { color: rgba(255, 255, 255, .8) !important; font-size: 14px; }
.site-footer .footer-bottom .widget { margin: 0; }
@media (max-width: 781px) {
	.site-footer .footer-bottom .hfg-slot { justify-content: center !important; }
	.site-footer .footer-bottom .widget_nav_menu ul { justify-content: center; }
}
.site-footer .footer-bottom { padding: 0 !important; }
.site-footer .footer-main { padding: 0 !important; }
.site-footer .footer-bottom .builder-item { margin: 0 !important; }
.site-footer .footer-bottom .hfg-grid { align-items: center; }
@media (max-width: 781px) {
	.site-footer .footer-bottom .hfg-slot.left .builder-item,
	.site-footer .footer-bottom .hfg-slot.left .item--inner { justify-content: center; text-align: center; --justify: center; --textalign: center; width: 100%; }
	.site-footer .footer-bottom .footer--row-inner { padding: 14px 0 18px; }
}
/* Footer main row: menu takes the room it needs, icons hug the right */
@media (min-width: 782px) {
	.site-footer .footer-main .hfg-grid { display: grid !important; grid-template-columns: 1fr auto !important; }
	.site-footer .footer-main .footer-menu.nav-ul { flex-wrap: nowrap; gap: 0 28px; }
}
@media (min-width: 782px) {
	.site-footer .footer-bottom .hfg-grid { display: grid !important; grid-template-columns: 1fr auto !important; }
}
.site-footer .footer-bottom .builder-item--footer_copyright, .site-footer .footer-bottom .builder-item.cr { padding-left: 15px; }
@media (min-width: 782px) {
	.site-footer .footer-bottom .hfg-slot.left, .site-footer .footer-bottom .hfg-slot.left * { text-align: left !important; justify-content: flex-start !important; }
	.site-footer .footer-bottom .hfg-slot.left .builder-item { width: 100% !important; }
}

/* Heading tags (2026-11-28): eyebrows are H2, section titles H3, card titles H4.
 * Sizes match the old look; only the eyebrows got bigger. */
.es-section h2.es-eyebrow { font-size: 15px; line-height: 1.4; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--nv-primary-accent); margin: 0 0 12px; }
.es-dark h2.es-eyebrow { color: #9db5ec; }
.es-section h3.es-title { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -.5px; font-weight: 700; margin-bottom: 14px; }
.es-cta-band h3, .es-dark h3 { color: #fff; }
.es-card h4, .es-step h4, .es-ai-step h4 { font-size: 20px; line-height: 1.3; font-weight: 700; margin-bottom: 10px; }

/* Recommendation cards: small round headshot, top right */
.es-quote { position: relative; }
.es-quote .es-quote-avatar { position: absolute; top: 22px; right: 22px; margin: 0 !important; width: 56px; }
.es-quote .es-quote-avatar img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 2px 6px rgba(15, 23, 42, .15); }
.es-quote .es-author { padding-right: 70px; min-height: 56px; }
.es-quote .es-quote-avatar img { border: 1px solid var(--es-line); }
/* Recommendations page: masonry columns (works with Neve's inner container) */
.es-quote-grid { columns: 3 300px; column-gap: 24px; margin-top: 32px !important; max-width: var(--es-wide); }
.es-quote-grid > .wp-block-group__inner-container { display: contents; }
.es-quote-grid .es-quote { break-inside: avoid; display: block; height: auto; margin: 0 0 24px !important; }
.es-quote-cols + .es-center { margin-top: 32px !important; }
/* Initials when no headshot yet */
.es-quote .es-quote-initials { position: absolute; top: 22px; right: 22px; width: 56px; height: 56px; margin: 0 !important; border-radius: 50%; background: var(--nv-light-bg); color: var(--nv-primary-accent); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 18px; border: 1px solid var(--es-line); }
.es-quote .es-author a { color: inherit; text-decoration: none; }
.es-quote .es-author a:hover { color: var(--nv-primary-accent); text-decoration: underline; }
.page-recommendations .es-quote-grid, .es-quote-grid:last-child { margin-bottom: 72px !important; }
.es-recs-cols { margin-bottom: 72px !important; }
/* "Is this a fit?" text a bit wider; less space under How engagements work */
.es-cta-band .es-lead { max-width: 820px; }
.es-section.es-how { padding-bottom: 64px; }
.es-stack-btn { margin-top: 14px !important; justify-content: center; }

/* Inner page hero (eyebrow + H1 + lead) and full-width layout for designed pages */
.page .es-page-hero { padding-top: 72px; padding-bottom: 56px; }
.es-page-hero h1 { font-size: clamp(34px, 4.2vw, 48px); line-height: 1.1; font-weight: 800; letter-spacing: -.8px; margin-bottom: 18px; }
.es-page-hero .es-lead { max-width: 820px; }
.es-section p.es-eyebrow { font-size: 15px; letter-spacing: 1.8px; }
.es-card h2.es-card-title { font-size: 20px; line-height: 1.3; font-weight: 700; margin-bottom: 10px; letter-spacing: 0; }
.es-ww-grid .es-cards > .wp-block-column { flex: 0 0 calc((100% - 48px) / 3) !important; }
@media (max-width: 781px) { .es-ww-grid .es-cards > .wp-block-column { flex-basis: 100% !important; } }
.es-ww-note { margin-top: 36px !important; color: var(--es-muted); }
.es-ww-cta { padding-top: 56px; padding-bottom: 72px; }
.page-template-default .nv-content-wrap > .es-section:first-child { margin-top: 0 !important; }
body:has(.es-page-hero) .neve-main > .container, body:has(.es-page-hero) .single-page-container { max-width: 100%; padding: 0; }
body:has(.es-page-hero) .nv-single-page-wrap, body:has(.es-page-hero) .nv-content-wrap { margin: 0; }

/* ===== What Works detail pages (Technical SEO/AIO Audit first) ===== */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.es-ta[id], .es-section[id] { scroll-margin-top: 80px; }

/* Step navigation in the hero */
.es-steps-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.es-steps-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--es-line); border-radius: 999px; background: #fff; color: var(--nv-text-color); text-decoration: none; font-size: 15px; font-weight: 600; box-shadow: 0 1px 2px rgba(15,23,42,.05); transition: border-color .15s, transform .15s; }
.es-steps-nav a:hover { border-color: var(--nv-primary-accent); transform: translateY(-2px); }
.es-step-ic { color: var(--nv-primary-accent); display: inline-flex; }
.es-step-ic svg { width: 18px; height: 18px; }
.es-step-n { color: var(--es-muted); font-weight: 700; font-size: 12px; }

/* Section heads: icon tile + big number */
.es-sec-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.es-sec-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--nv-primary-accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(47,90,174,.3); }
.es-sec-icon svg { width: 26px; height: 26px; }
.es-sec-num { font-size: 44px; font-weight: 800; color: var(--nv-primary-accent); opacity: .18; line-height: 1; }
.es-ta h2.es-title { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -.5px; font-weight: 700; margin-bottom: 14px; }
.es-ta .es-lead { margin-bottom: 28px; }
.es-ta-cols { gap: 48px !important; }

/* Bullet lists with tick marks */
ul.es-ticks { list-style: none; padding: 0; }
ul.es-ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
ul.es-ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--nv-primary-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }

/* User-agent chips */
.es-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 22px; }
.es-chips span { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; padding: 5px 11px; border-radius: 6px; background: #0f172a; color: #e2e8f0; }

/* Screenshot placeholders (browser frame) */
.es-shot-ph { margin: 0 0 24px; }
.es-shot-frame { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; border: 1px solid var(--es-line); background: linear-gradient(180deg, #e9edf3 0 30px, #fff 30px); box-shadow: var(--es-shadow); display: flex; align-items: center; justify-content: center; }
.es-shot-dots { position: absolute; top: 10px; left: 12px; display: flex; gap: 6px; }
.es-shot-dots i { width: 10px; height: 10px; border-radius: 50%; background: #cbd2dc; display: block; }
.es-shot-label { color: var(--es-muted); font-style: italic; font-size: 14px; }
.es-shot-ph figcaption { font-size: 14px; color: var(--es-muted); text-align: center; margin-top: 8px; }

/* Logo cards for data sources and tools */
.es-logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.es-logo-grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.es-logo-grid-sm { max-width: 900px; }
.es-logo-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--es-line); border-radius: 12px; color: var(--nv-text-color); text-decoration: none; box-shadow: 0 1px 2px rgba(15,23,42,.05); transition: transform .15s, box-shadow .15s; }
.es-logo-card:hover { transform: translateY(-2px); box-shadow: var(--es-shadow); }
.es-logo-card img { width: 40px; height: 40px; border-radius: 9px; flex: 0 0 auto; object-fit: contain; }
.es-logo-card strong { display: block; font-size: 16px; }
.es-logo-card span span { display: block; font-size: 14px; color: var(--es-muted); line-height: 1.4; }
.es-ta h3.es-sub { font-size: 18px; margin: 28px 0 12px; }
.es-note { color: var(--es-muted); margin-top: 20px; max-width: 820px; }

/* Checklist cards */
.es-check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.es-check-card { background: #fff; border: 1px solid var(--es-line); border-radius: 14px; padding: 24px; box-shadow: var(--es-shadow); }
.es-check-ic { display: inline-flex; width: 42px; height: 42px; border-radius: 10px; background: rgba(47,90,174,.1); color: var(--nv-primary-accent); align-items: center; justify-content: center; margin-bottom: 10px; }
.es-check-card h3 { font-size: 19px; margin: 0 0 10px; }
.es-check-card ul { list-style: none; padding: 0; margin: 0; }
.es-check-card li { display: flex; gap: 10px; margin-bottom: 8px; font-size: 15px; line-height: 1.5; color: var(--es-muted); }
.es-tick { color: #16a34a; flex: 0 0 auto; display: inline-flex; margin-top: 2px; }
.es-tick svg { width: 18px; height: 18px; }

/* Impact / effort matrix */
.es-matrix { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 0 26px 26px; }
.es-mx { border-radius: 12px; padding: 18px; min-height: 120px; background: #fff; border: 1px solid var(--es-line); }
.es-mx strong { display: block; font-size: 17px; margin-bottom: 4px; }
.es-mx span { font-size: 14px; color: var(--es-muted); }
.es-mx.q1 { background: var(--nv-primary-accent); border-color: transparent; }
.es-mx.q1 strong, .es-mx.q1 span { color: #fff; }
.es-mx.q2 { background: rgba(47,90,174,.12); }
.es-mx-y, .es-mx-x { position: absolute; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--es-muted); }
.es-mx-y { left: -14px; top: 50%; transform: rotate(-90deg) translateX(50%); transform-origin: left top; }
.es-mx-x { bottom: 0; left: 50%; transform: translateX(-50%); }
.es-matrix .q1 { order: 1; } .es-matrix .q2 { order: 2; } .es-matrix .q3 { order: 3; } .es-matrix .q4 { order: 4; }

/* Implementation flow */
.es-flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: f; }
.es-flow li { position: relative; background: #fff; border: 1px solid var(--es-line); border-radius: 14px; padding: 22px; box-shadow: var(--es-shadow); }
.es-flow li:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: var(--nv-primary-accent); font-weight: 700; z-index: 1; }
.es-flow-ic { display: inline-flex; width: 42px; height: 42px; border-radius: 10px; background: rgba(47,90,174,.1); color: var(--nv-primary-accent); align-items: center; justify-content: center; margin-bottom: 10px; }
.es-flow strong { display: block; font-size: 18px; margin-bottom: 4px; }
.es-flow span:last-child { font-size: 14px; color: var(--es-muted); }
@media (max-width: 900px) { .es-flow { grid-template-columns: 1fr 1fr; } .es-flow li::after { display: none; } }

/* Results charts */
.es-results { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 20px; }
.es-result { display: block; background: #fff; border-radius: 14px; padding: 14px; border: 1px solid var(--es-line); box-shadow: var(--es-shadow); color: var(--nv-text-color); text-decoration: none; }
.es-result img { width: 100%; height: auto; border-radius: 8px; display: block; }
.es-result span { display: block; margin-top: 10px; font-weight: 600; color: var(--nv-primary-accent); }
.es-cta-band p.es-eyebrow { color: rgba(255,255,255,.8); }
@media (max-width: 781px) { .es-results { grid-template-columns: 1fr; } .es-flow { grid-template-columns: 1fr; } .es-matrix { padding-left: 0; } .es-mx-y { display: none; } }
/* Sample outputs */
.es-output-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.es-output-card { background: #fff; border: 1px solid var(--es-line); border-radius: 14px; padding: 26px; box-shadow: var(--es-shadow); display: flex; flex-direction: column; }
.es-output-card h3 { font-size: 19px; margin: 0 0 8px; }
.es-output-card p { color: var(--es-muted); font-size: 15px; flex-grow: 1; }
.es-output-link { font-size: 14px; color: var(--es-muted); }
@media (max-width: 900px) { .es-output-grid { grid-template-columns: 1fr; } }
/* Real screenshots in a browser frame */
.es-shot { margin: 0 0 24px; }
.es-shot-real { aspect-ratio: auto; display: block; padding: 30px 0 0; overflow: hidden; }
.es-shot-real img { display: block; width: 100%; height: auto; }
.es-shot figcaption { font-size: 14px; color: var(--es-muted); text-align: center; margin-top: 8px; }
/* Lightbox */
.es-shot a { cursor: zoom-in; }
.es-lightbox-dialog { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; overflow: visible; }
.es-lightbox-dialog::backdrop { background: rgba(15, 23, 42, .82); }
.es-lightbox-dialog img { display: block; max-width: 94vw; max-height: 86vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.45); background: #fff; }
.es-lb-cap { color: #e2e8f0; text-align: center; margin: 12px 0 0; font-size: 15px; }
.es-lb-close { position: absolute; top: -18px; right: -18px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: #0f172a; font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
@media (max-width: 600px) { .es-lb-close { top: 8px; right: 8px; } }
#sample-outputs .es-shot { margin: 8px 0 28px; } #our-analysis .es-lead, #our-analysis p { max-width: none; }
/* Implementation flow: five steps, icon and label side by side */
.es-flow { grid-template-columns: repeat(5, 1fr); gap: 14px; }
.es-flow li { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 10px; padding: 18px; }
.es-flow li .es-flow-ic { margin-bottom: 0; width: 38px; height: 38px; }
.es-flow li strong { margin: 0; font-size: 17px; }
.es-flow li > span:last-child { grid-column: 1 / -1; margin-top: 10px; }
.es-flow li:not(:last-child)::after { right: -12px; }
@media (max-width: 1100px) { .es-flow { grid-template-columns: repeat(3, 1fr); } .es-flow li::after { display: none; } }
@media (max-width: 781px) { .es-flow { grid-template-columns: 1fr; } }
/* Our Analysis: dashboard shown as a framed "showcase" */
#sample-outputs .es-shot { background: linear-gradient(135deg, #2f5aae 0%, #24478c 55%, #172f61 100%); border-radius: 22px; padding: 44px 48px 22px; box-shadow: 0 24px 60px rgba(23, 47, 97, .35); }
#sample-outputs .es-shot .es-shot-frame { border: 12px solid #0f172a; border-top-width: 34px; border-radius: 16px; background: #0f172a; padding: 0; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
#sample-outputs .es-shot .es-shot-dots { top: -22px; left: 4px; }
#sample-outputs .es-shot .es-shot-dots i:nth-child(1) { background: #ff5f57; }
#sample-outputs .es-shot .es-shot-dots i:nth-child(2) { background: #febc2e; }
#sample-outputs .es-shot .es-shot-dots i:nth-child(3) { background: #28c840; }
#sample-outputs .es-shot img { border-radius: 4px; }
#sample-outputs .es-shot figcaption { color: rgba(255, 255, 255, .85); margin-top: 16px; }
@media (max-width: 781px) { #sample-outputs .es-shot { padding: 24px 16px 14px; } #sample-outputs .es-shot .es-shot-frame { border-width: 6px; border-top-width: 26px; } }
/* Our Analysis frame: white instead of black, so transparent areas in the image stay white */
#sample-outputs .es-shot .es-shot-frame { border-color: #fff; border-top-color: #eef1f6; background: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
#sample-outputs .es-shot img { background: #fff; }
/* AI Overview follow-up page */
.es-showcase { background: linear-gradient(135deg, #2f5aae 0%, #24478c 55%, #172f61 100%); border-radius: 22px; padding: 40px 44px 20px; box-shadow: 0 24px 60px rgba(23,47,97,.35); margin: 8px 0 28px; }
.es-showcase .es-shot-frame { border: 12px solid #fff; border-top: 34px solid #eef1f6; border-radius: 16px; background: #fff; padding: 0; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.es-showcase .es-shot-dots { top: -22px; left: 4px; }
.es-showcase .es-shot-dots i:nth-child(1) { background: #ff5f57; } .es-showcase .es-shot-dots i:nth-child(2) { background: #febc2e; } .es-showcase .es-shot-dots i:nth-child(3) { background: #28c840; }
.es-showcase img { background: #fff; }
.es-showcase figcaption { color: rgba(255,255,255,.88); margin-top: 14px; }
.es-num-row { display: flex; align-items: center; justify-content: space-between; }
.es-num-card .es-num { font-size: 32px; font-weight: 800; color: var(--nv-primary-accent); opacity: .2; }
.es-num-card p { color: var(--es-muted); font-size: 15px; margin: 0; }
.es-chips-light span { background: #fff; color: var(--nv-text-color); border: 1px solid var(--es-line); font-family: inherit; font-size: 14px; }
.es-fmt-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
@media (max-width: 781px) { .es-showcase { padding: 22px 14px 12px; } .es-showcase .es-shot-frame { border-width: 6px; border-top-width: 26px; } }
.es-example-btn { margin-top: 18px !important; }
#sample-outputs .es-shot { margin-top: 32px; }
/* Results cards with caption and case study link */
figure.es-result { margin: 0; }
.es-result figcaption { margin-top: 12px; }
.es-result .es-result-cap { display: block; color: var(--nv-text-color); font-weight: 400; margin-bottom: 6px; }
.es-result .es-result-link { font-weight: 600; color: var(--nv-primary-accent); text-decoration: none; }
.es-result .es-result-link:hover { text-decoration: underline; }
.es-center-btn { justify-content: center; margin-top: 28px !important; }
/* Content audit page */
.es-ref-card strong { font-size: 15px; line-height: 1.35; }
.es-metric-grid { grid-template-columns: repeat(3, 1fr); }
.es-action-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.es-action-card { background: #fff; border-radius: 14px; padding: 24px; border: 1px solid var(--es-line); border-top: 5px solid var(--es-act, var(--nv-primary-accent)); box-shadow: var(--es-shadow); }
.es-action-card h3 { font-size: 20px; margin: 10px 0 8px; }
.es-action-card p { color: var(--es-muted); font-size: 15px; margin: 0; }
.es-act-ic { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; color: #fff; background: var(--es-act, var(--nv-primary-accent)); }
.es-act-keep { --es-act: #16a34a; } .es-act-improve { --es-act: #2f5aae; } .es-act-merge { --es-act: #d97706; } .es-act-remove { --es-act: #dc2626; }
.es-results-1 { grid-template-columns: minmax(0, 760px); justify-content: center; }
@media (max-width: 900px) { .es-action-grid, .es-metric-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .es-action-grid, .es-metric-grid { grid-template-columns: 1fr; } }
/* Decision tree: Leave / Improve / Remove, then three ways to remove */
.es-action-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.es-act-x404 { --es-act: #dc2626; } .es-act-redirect { --es-act: #ea580c; } .es-act-merge { --es-act: #d97706; }
.es-remove-tree { position: relative; padding-top: 56px; }
.es-tree-lines { position: absolute; inset: 0 0 auto 0; height: 56px; }
/* stem drops from the centre of the Remove card (third column) */
.es-tree-stem { position: absolute; top: 0; height: 28px; left: calc((100% - 40px) / 6 * 5 + 40px); width: 2px; background: #c9ced6; }
/* bar runs across the three child columns, from first centre to third centre */
.es-tree-bar { position: absolute; top: 28px; height: 2px; left: calc((100% - 40px) / 6); right: calc((100% - 40px) / 6); background: #c9ced6; }
.es-tree-children .es-act-child { position: relative; }
.es-tree-children .es-act-child::before { content: ""; position: absolute; top: -28px; left: 50%; width: 2px; height: 28px; background: #c9ced6; }
.es-act-child h3 { font-size: 18px; }
@media (max-width: 900px) {
	.es-action-grid-3 { grid-template-columns: 1fr; }
	.es-tree-lines { display: none; }
	.es-remove-tree { padding-top: 16px; margin-left: 24px; border-left: 2px solid #c9ced6; padding-left: 16px; }
	.es-tree-children .es-act-child::before { top: 50%; left: -18px; width: 18px; height: 2px; }
}
/* Four ways to remove */
.es-action-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.es-remove-tree:has(.es-action-grid-4) .es-tree-bar { left: calc((100% - 60px) / 8); right: calc((100% - 60px) / 8); }
.es-act-noindex { --es-act: #64748b; }
@media (max-width: 900px) { .es-action-grid-4 { grid-template-columns: 1fr; } }
.es-qq { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--nv-text-color); }
.es-qq .es-gt { color: var(--nv-primary-accent); font-weight: 800; font-size: 1.25em; padding: 0 4px; }
.es-qq { display: inline; margin: 0; font-weight: inherit; color: inherit; }
.es-qq .es-gt { font-size: 1em; padding: 0; font-weight: 800; color: var(--nv-primary-accent); }
/* Internal linking page */
.es-featured-ref { display: flex; align-items: center; gap: 18px; max-width: 640px; margin: 28px auto 0; text-align: left; background: #fff; border: 1px solid var(--es-line); border-radius: 14px; padding: 12px; box-shadow: var(--es-shadow); text-decoration: none; color: var(--nv-text-color); transition: transform .15s; }
.es-featured-ref:hover { transform: translateY(-2px); }
.es-featured-ref img { width: 180px; height: auto; border-radius: 8px; flex: 0 0 auto; }
.es-featured-ref em { display: block; font-size: 13px; color: var(--es-muted); font-style: normal; }
.es-featured-ref strong { display: block; font-size: 17px; line-height: 1.3; margin: 4px 0; }
.es-featured-ref span span { color: var(--nv-primary-accent); font-weight: 600; font-size: 14px; }
.es-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.es-cmp-0 .es-check-ic { background: #f1f5f9; color: var(--es-muted); }
.es-cmp-1 { border: 2px solid var(--nv-primary-accent); }
.es-mock-table { background: #fff; border: 1px solid var(--es-line); border-radius: 12px; overflow: hidden; box-shadow: var(--es-shadow); font-size: 13px; }
.es-mt-row { display: grid; grid-template-columns: 1.2fr repeat(5, 1fr); border-top: 1px solid var(--es-line); }
.es-mt-row > span { padding: 10px 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; border-left: 1px solid var(--es-line); overflow-wrap: anywhere; }
.es-mt-row > span:first-child { border-left: 0; }
.es-mt-head { background: #1e3a6e; border-top: 0; }
.es-mt-head > span { color: #fff; font-family: inherit; font-weight: 700; }
.es-mt-target { font-weight: 700; }
.es-mt-row em { display: block; font-style: normal; font-family: inherit; font-size: 11px; margin-top: 2px; }
.es-mt-ok em { color: #16a34a; }
.es-mt-miss { background: #fde2e4; }
.es-mt-miss em { color: #dc2626; font-weight: 700; }
@media (max-width: 900px) { .es-compare { grid-template-columns: 1fr; } .es-mock-table { overflow-x: auto; } .es-mt-row { min-width: 760px; } .es-featured-ref { flex-direction: column; align-items: flex-start; } .es-featured-ref img { width: 100%; } }
/* Case study pages */
.es-glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 0; }
.es-glance > div { background: #fff; border: 1px solid var(--es-line); border-radius: 12px; padding: 18px; }
.es-glance dt { font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--nv-primary-accent); margin-bottom: 6px; }
.es-glance dd { margin: 0; font-size: 15px; line-height: 1.5; }
.es-stat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 8px 0 12px; }
.es-stat-tile { background: var(--nv-primary-accent); color: #fff; border-radius: 14px; padding: 24px 20px; text-align: center; box-shadow: 0 12px 28px rgba(47,90,174,.3); }
.es-stat-tile:nth-child(n+2) { background: #fff; color: var(--nv-text-color); border: 1px solid var(--es-line); box-shadow: var(--es-shadow); }
.es-stat-tile strong { display: block; font-size: 40px; font-weight: 800; line-height: 1.1; }
.es-stat-tile:nth-child(n+2) strong { color: var(--nv-primary-accent); }
.es-stat-tile span { display: block; margin-top: 6px; font-size: 14px; opacity: .9; }
.es-pull { margin: 24px 0 0; padding: 20px 24px; border-left: 5px solid var(--nv-primary-accent); background: #fff; border-radius: 0 12px 12px 0; font-size: 20px; font-weight: 600; line-height: 1.45; box-shadow: var(--es-shadow); }
.es-approach .es-num-card ul { list-style: disc; margin: 0; padding-left: 20px; color: var(--es-muted); font-size: 15px; }
.es-approach .es-num-card li { display: list-item; margin-bottom: 6px; }
@media (max-width: 900px) { .es-stat-tiles { grid-template-columns: 1fr 1fr; } }
.es-glance dd, .es-glance dt { padding: 0 !important; margin-left: 0 !important; }
/* Case studies: section intros use the full content width (match the card rows) */
body:has(.es-glance) .es-ta .es-lead { max-width: none; }

/* Case study: highlighted full-width approach step */
.es-approach .es-feature-card { grid-column: 1 / -1; border: 2px solid var(--nv-primary-accent, #2f5aae); }
.es-approach .es-feature-card ul { columns: 2; column-gap: 32px; }
.es-approach .es-feature-card li { break-inside: avoid; }
@media (max-width: 760px) { .es-approach .es-feature-card ul { columns: 1; } }

/* Showcase on a white panel (content audit case study metrics table) */
.es-showcase.es-showcase-white { background: #fff; border: 1px solid #dde3ee; box-shadow: 0 12px 32px rgba(23,47,97,.08); }
.es-showcase.es-showcase-white .es-shot-frame { box-shadow: 0 0 0 1px #dde3ee, 0 10px 28px rgba(23,47,97,.12); }
.es-showcase.es-showcase-white figcaption { color: #2b3445; }

/* Stacked full-width screenshots (content gap case study, AI answers) */
.es-shot-stack { display: grid; gap: 28px; margin-top: 24px; }
.es-shot-stack .es-shot { margin: 0; }

/* Four-card step grids: 4 across on desktop, 2 on tablet */
@media (min-width: 1000px) { .es-check-grid.es-grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 999px) { .es-check-grid.es-grid-4 { grid-template-columns: repeat(2, 1fr); } }

/* Extra space above screenshot panels that follow other blocks */
.es-ta-cols:has(.es-showcase) { margin-top: 40px; }
.es-shot-stack:has(.es-showcase) { margin-top: 40px; gap: 32px; }
.es-shot-stack .es-showcase { margin: 0; }

/* Side-by-side small screenshots (content gap case study, AI impressions) */
.es-shot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.es-shot-pair .es-shot { margin: 0; display: flex; flex-direction: column; align-items: center; }
.es-shot-pair .es-shot-frame { width: fit-content; max-width: 100%; }
.es-shot-pair figcaption { text-align: center; }
@media (max-width: 781px) { .es-shot-pair { grid-template-columns: 1fr; } }

/* Wide stat-strip screenshot, plain frame (content gap case study, Bing totals) */
.es-shot-wide-plain { margin: 0; display: flex; flex-direction: column; align-items: center; }
.es-shot-wide-plain .es-shot-frame { width: fit-content; max-width: 100%; }
.es-shot-wide-plain figcaption { text-align: center; }

/* Stat tiles alternating blue / white (content gap case study) */
.es-stat-tiles.es-stat-alt .es-stat-tile:nth-child(odd) { background: var(--nv-primary-accent); color: #fff; border: 0; box-shadow: 0 12px 28px rgba(47,90,174,.3); }
.es-stat-tiles.es-stat-alt .es-stat-tile:nth-child(odd) strong { color: #fff; }

/* Content Gap Analysis page */
.es-funnel { grid-template-columns: repeat(3, 1fr); }
.es-funnel .es-check-card:not(.es-funnel-focus) { opacity: .72; }
.es-funnel .es-funnel-focus { border: 2px solid var(--nv-primary-accent, #2f5aae); }
.es-gap-table .es-mt-row > span:nth-child(n+2):nth-child(-n+4) { text-align: center; }
.es-gap-table .es-mt-row > span:last-child { text-align: center; }
.es-gap-fix { display: flex; gap: 8px; align-items: center; margin: 12px 0 0 !important; padding-top: 12px; border-top: 1px solid var(--es-line); color: var(--nv-primary-accent); }
.es-stat-tiles.es-stat-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .es-funnel, .es-stat-tiles.es-stat-3 { grid-template-columns: 1fr; } }
@media (min-width: 900px) { .es-check-grid.es-grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .es-logo-grid.es-logo-grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 999px) { .es-logo-grid.es-logo-grid-4 { grid-template-columns: repeat(2, 1fr); } }

/* Section intro and note paragraphs use the full content width (Everett, 2026-11-29) */
.es-ta .es-lead, .es-ta .es-note { max-width: none; }
.es-ta .es-lead { padding-left: 24px; padding-right: 24px; }
@media (max-width: 781px) { .es-ta .es-lead { padding-left: 0; padding-right: 0; } }
.es-mt-warn { background: #fef3c7; color: #92400e; font-weight: 700; }
.es-chips + .es-chips { margin-top: -12px; }
.es-showcase.es-showcase-spaced { margin-top: 40px !important; margin-bottom: 40px !important; }

/* Bottom-of-Funnel Gap Analysis page */
@media (min-width: 900px) { .es-check-grid.es-grid-2 { grid-template-columns: repeat(2, 1fr); } }
.es-query { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; background: #f1f4f9; border-radius: 6px; padding: 6px 10px; margin: 8px 0 0 !important; color: #1e3a6e; }
.es-stat-sourced .es-stat-tile span { font-size: 13px; }
.es-stat-sourced .es-stat-tile:nth-child(odd) a { color: #fff; }
.es-callout { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--es-line); border-left: 5px solid var(--nv-primary-accent, #2f5aae); border-radius: 12px; padding: 24px 28px; margin-top: 36px !important; box-shadow: var(--es-shadow); }
.es-callout h3 { margin: 0 0 8px; font-size: 18px; }
.es-callout p { margin: 0; color: var(--nv-text-color); line-height: 1.7; }

/* Branded FAQ AI citations case study */
.es-prompt-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin-top: 8px; }
.es-prompt { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--es-line); border-radius: 12px; padding: 14px 16px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; color: #1e3a6e; box-shadow: var(--es-shadow); }
.es-prompt .es-check-ic { flex: 0 0 auto; }
.es-rank { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; max-width: 760px; }
.es-rank li { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--es-line); border-radius: 12px; padding: 16px 20px; box-shadow: var(--es-shadow); }
.es-rank-n { flex: 0 0 64px; font-size: 22px; font-weight: 800; color: var(--nv-primary-accent, #2f5aae); }
.es-rank li > span:last-child { display: flex; flex-direction: column; }
.es-rank em { font-style: normal; color: var(--es-muted); font-size: 14px; }
.es-rank .es-rank-hot { border: 2px solid var(--nv-primary-accent, #2f5aae); background: #eef3fc; }
.es-result-2 { margin-top: 56px !important; padding-top: 40px; border-top: 1px solid var(--es-line); }
.es-prompt-list { grid-template-columns: 1fr; max-width: 760px; }
.es-result-1 { margin-top: 8px !important; }

/* About and Onboarding Process */
.es-qa p { margin: 0 0 10px; color: var(--es-muted); }
.es-qa p:last-child { margin-bottom: 0; }
.es-ta .es-about-headshot { float: right; width: 300px; max-width: 40%; margin: 0 0 24px 40px !important; }
.es-ta .es-about-headshot img { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--es-shadow); }
#everett .es-lead { padding-left: 0; padding-right: 0; }
#everett::after { content: ""; display: block; clear: both; }
@media (max-width: 781px) { .es-ta .es-about-headshot { float: none; max-width: 260px; margin: 0 auto 24px !important; } }
.es-timeline { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 14px; max-width: 860px; }
.es-timeline li { display: flex; gap: 20px; align-items: flex-start; background: #fff; border: 1px solid var(--es-line); border-radius: 14px; padding: 18px 22px; box-shadow: var(--es-shadow); }
.es-tl-n { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--nv-primary-accent, #2f5aae); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.es-timeline h3 { margin: 0 0 4px; font-size: 18px; }
.es-timeline p { margin: 0; color: var(--es-muted); }
.es-faq-stack { display: grid; gap: 16px; max-width: 900px; }
.es-timeline-sm { max-width: 640px; margin-bottom: 32px; }

/* Links in screenshot captions */
.es-showcase figcaption a { color: #fff; text-decoration: underline; }
.es-showcase.es-showcase-white figcaption a { color: var(--nv-primary-accent, #2f5aae); }

/* Site-style buttons on plain (non-designed) pages too */
.nv-content-wrap > .wp-block-buttons .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--nv-primary-accent); color: #fff; border-radius: 8px; padding: 14px 28px; font-weight: 600; }
.nv-content-wrap > .wp-block-buttons .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--nv-secondary-accent); }

/* Breathing room above the footer on plain pages */
body:not(:has(.es-page-hero)) .nv-content-wrap { padding-bottom: 72px; }

/* Split hero: title + intro left, illustration right; stacks title / art / text on phones */
.es-split { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-areas: "title art" "text art"; column-gap: 48px; align-items: start; }
.es-split-title { grid-area: title; align-self: end; }
.es-split-art { grid-area: art; align-self: center; }
.es-split-text { grid-area: text; }
.es-split h1 { margin: 6px 0 18px; }
.es-split .es-lead { max-width: none; margin: 0; }
.es-team-art { width: 100%; height: auto; max-width: 460px; display: block; margin-left: auto; filter: drop-shadow(0 14px 30px rgba(23,47,97,.12)); }
@media (max-width: 860px) {
  .es-split { grid-template-columns: 1fr; grid-template-areas: "title" "art" "text"; }
  .es-team-art { margin: 8px auto 24px; max-width: 420px; }
}
.es-callout-emoji { font-size: 28px; line-height: 1; }
.es-helpful-lead { margin-top: 32px !important; }

/* Ideal Clients: Dream Team layout (two cards, +, card or card) */
.es-dream { max-width: 980px; }
.es-dream-row { display: grid; gap: 20px; align-items: stretch; }
.es-dream-2 { grid-template-columns: 1fr 1fr; }
.es-dream-or { grid-template-columns: 1fr auto 1fr; }
.es-dream-join { text-align: center; color: var(--nv-primary-accent, #2f5aae); font-size: 56px; font-weight: 800; line-height: 1; margin: 14px 0; }
.es-dream-or-word { font-size: 34px; margin: 0; align-self: center; padding: 0 6px; }
@media (max-width: 781px) { .es-dream-2, .es-dream-or { grid-template-columns: 1fr; } .es-dream-or-word { padding: 0; } }
.es-chips.es-chips-center { justify-content: center; }
#helpful.es-section { padding-bottom: 56px; }
#helpful .es-chips { margin-bottom: 0; }

/* Articles and Profiles: video cards */
.es-video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.es-video-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--es-line); border-radius: 14px; overflow: hidden; box-shadow: var(--es-shadow); text-decoration: none !important; color: var(--nv-text-color); transition: transform .15s ease, box-shadow .15s ease; }
.es-video-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(23,47,97,.16); }
.es-video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #0f172a; }
.es-video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.es-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.es-play .es-play-ic { width: 58px; height: 58px; border-radius: 50%; background: rgba(220,38,38,.92); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.es-play .es-play-ic svg { width: 26px; height: 26px; margin-left: 3px; }
.es-video-meta { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.es-video-meta strong { font-size: 16px; line-height: 1.4; }
.es-video-meta span { font-size: 13px; color: var(--es-muted); }
.es-featured-left { margin: 0 0 24px !important; max-width: 760px; }
@media (max-width: 900px) { .es-video-grid { grid-template-columns: 1fr; } }
.es-video-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.es-video-grid > .es-video-card { flex: 0 1 calc((100% - 48px) / 3); }
@media (max-width: 900px) { .es-video-grid > .es-video-card { flex-basis: 100%; } }
.es-video-thumb { overflow: hidden; }
.es-video-thumb img { position: absolute; inset: 0; }
@media (min-width: 900px) { .es-logo-grid-3.es-ap-articles { grid-template-columns: repeat(3, 1fr); } .es-ap-authors { grid-template-columns: repeat(2, 1fr); max-width: 760px; } }
@media (min-width: 900px) { .es-ap-authors { grid-template-columns: repeat(3, 1fr); max-width: none; } }
.es-featured-left { gap: 26px; padding: 16px; }
.es-featured-left img { width: 340px; max-width: 48%; }
.es-featured-left strong { font-size: 20px; line-height: 1.35; }
.es-featured-left em, .es-featured-left > span > span { font-size: 15px; }
@media (max-width: 900px) { .es-featured-left img { width: 100%; max-width: none; } }

/* AI Visibility & Sentiment: cons and baseline tables */
.es-cons-table { background: #fff; border: 1px solid var(--es-line); border-radius: 12px; overflow: hidden; box-shadow: var(--es-shadow); font-size: 14px; }
.es-cons-row { display: grid; grid-template-columns: 1.3fr .6fr 1.3fr .8fr 2fr; border-top: 1px solid var(--es-line); }
.es-cons-row > span { padding: 12px 14px; border-left: 1px solid var(--es-line); line-height: 1.5; }
.es-cons-row > span:first-child { border-left: 0; }
.es-cons-head { background: #1e3a6e; border-top: 0; }
.es-cons-head > span { color: #fff; font-weight: 700; }
.es-cons-head small { font-weight: 400; opacity: .8; }
.es-cons-claim { font-weight: 700; color: #1e3a6e; }
.es-tag { font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.es-tag-red { background: #fde2e4; color: #b91c1c; }
.es-tag-amber { background: #fef3c7; color: #92400e; }
.es-tag-blue { background: #e0eafc; color: #1e3a6e; }
.es-tag-gray { background: #eef0f4; color: #475569; }
.es-base-table .es-cons-row { grid-template-columns: 1.2fr 1fr 1.3fr 1fr; }
.es-base-table { margin-bottom: 24px; }
@media (max-width: 900px) { .es-cons-table { overflow-x: auto; } .es-cons-row { min-width: 760px; } }

/* Semantic Triples page */
.es-triple { display: flex; align-items: stretch; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 8px 0 32px; }
.es-triple > span:not(.es-t-arrow) { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 180px; padding: 16px 22px; border-radius: 14px; font-size: 22px; font-weight: 800; background: #fff; border: 2px solid var(--es-line); box-shadow: var(--es-shadow); }
.es-triple em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--es-muted); margin-bottom: 4px; }
.es-t-s { border-color: #2f5aae !important; color: #2f5aae; }
.es-t-p { border-color: #d99a00 !important; color: #8a6100; }
.es-t-o { border-color: #1fa971 !important; color: #0d7a4f; }
.es-t-arrow { align-self: center; font-size: 28px; color: var(--es-muted); }
.es-formula { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 8px 0 28px; font-size: 22px; }
.es-formula span { background: #1e3a6e; color: #fff; padding: 10px 18px; border-radius: 10px; }
.es-formula b { color: #8fd3ff; }
.es-formula .es-formula-plus { background: #fff; color: #1e3a6e; border: 2px dashed #9db4e0; }
.es-blurbs { display: grid; gap: 12px; max-width: 900px; }
.es-blurb { background: #fff; border: 1px solid var(--es-line); border-radius: 12px; padding: 14px 18px; font-size: 17px; line-height: 1.6; box-shadow: var(--es-shadow); }
.es-bx { background: #e0eafc; color: #1e3a6e; padding: 1px 6px; border-radius: 5px; font-weight: 700; }
.es-by { background: #fef3c7; color: #8a6100; padding: 1px 6px; border-radius: 5px; }
.es-bz { background: #e3f6ee; color: #0d7a4f; padding: 1px 6px; border-radius: 5px; }
.es-tag-green { background: #e3f6ee; color: #0d7a4f; }
.es-triples-table .es-cons-row { grid-template-columns: 1fr 1fr 1.6fr 1fr; }
.es-pull cite { display: block; font-style: normal; font-size: 14px; color: var(--es-muted); margin-top: 8px; font-weight: 400; }
@media (min-width: 900px) { .es-logo-grid.es-read-more { grid-template-columns: 1fr 1fr; max-width: 900px; } }

/* Factual Accuracy page */
@media (min-width: 1000px) { .es-check-grid.es-grid-5 { grid-template-columns: repeat(5, 1fr); } }
.es-code-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 8px 0 28px; }
.es-code-label { font-weight: 700; margin: 0 0 8px; color: #1e3a6e; }
.es-code { background: #0f172a; color: #e2e8f0; border-radius: 12px; padding: 18px 20px; font-size: 14px; line-height: 1.6; overflow-x: auto; margin: 0; box-shadow: var(--es-shadow); }
.es-code code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre; color: inherit; background: none; }
.es-conflict .es-check-ic { color: #b91c1c; background: #fde2e4; }
.es-code-compare.es-code-stack { grid-template-columns: 1fr; }
@media (max-width: 781px) { .es-code-compare { grid-template-columns: 1fr; } }

/* Table-of-contents tags show labels only, no numbers (Everett, 2026-11-30) */
.es-steps-nav .es-step-n { display: none; }
.es-pull.es-pull-big { font-size: 24px; line-height: 1.5; padding: 32px 36px; margin: 8px 0 28px; }
.es-pull-kicker { display: block; font-size: 13px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--nv-primary-accent, #2f5aae); margin-bottom: 10px; }
.es-pull.es-pull-big cite { font-size: 15px; margin-top: 14px; }
.es-pull.es-pull-big cite, .es-pull.es-pull-big cite a { font-size: 17px !important; line-height: 1.5; }
.es-pull.es-pull-space { margin-bottom: 36px !important; }
.es-conflict h3 { margin-bottom: 4px; }
.es-conflict p { font-size: 19px !important; line-height: 1.35; color: #b91c1c !important; font-weight: 400; margin: 0; }
.es-optional { margin-top: 8px !important; color: var(--es-muted); }

/* No extra margin after the last block in a section */
.es-section > .wp-block-group__inner-container > *:last-child { margin-bottom: 0 !important; }

/* No-JavaScript mobile menu (functions.php, inside <noscript>) */
.es-nojs-menu { display: none; }
@media (max-width: 959px) {
  .es-nojs-menu { display: block; position: absolute; top: 14px; right: 15px; z-index: 1000; max-width: calc(100vw - 30px); }
  .es-nojs-menu > summary { list-style: none; cursor: pointer; border: 1px solid #1e293b; border-radius: 3px; padding: 8px 14px; font-weight: 600; background: #fff; text-align: right; margin-left: auto; width: max-content; }
  .es-nojs-menu > summary::-webkit-details-marker { display: none; }
  .es-nojs-menu > summary::before { content: "\2630\00a0"; }
  .es-nojs-menu[open] > summary::before { content: "\2715\00a0"; }
  .es-nojs-menu nav { margin-top: 8px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; box-shadow: 0 12px 32px rgba(15,23,42,.18); padding: 10px 0; width: 300px; max-width: calc(100vw - 30px); max-height: 75vh; overflow-y: auto; }
  .es-nojs-list, .es-nojs-list ul { list-style: none; margin: 0; padding: 0; }
  .es-nojs-list a { display: block; padding: 8px 18px; color: #1e293b; text-decoration: none; }
  .es-nojs-list > li > a { font-weight: 600; }
  .es-nojs-list ul a { padding-left: 32px; font-size: 15px; }
}
.es-showcase.es-showcase-75 { max-width: 75%; margin-left: auto; margin-right: auto; }
@media (max-width: 781px) { .es-showcase.es-showcase-75 { max-width: 100%; } }
.es-section h3.es-subtitle { margin-top: 56px; }
.es-timeline.es-timeline-2col { grid-template-columns: 1fr 1fr; max-width: none; gap: 18px 22px; }
@media (max-width: 781px) { .es-timeline.es-timeline-2col { grid-template-columns: 1fr; } }
/* At a glance: larger labels and text; the short Client box gets the largest text */
.es-glance dt { font-size: 14px; letter-spacing: 1.5px; margin-bottom: 8px; }
.es-glance dd { font-size: 16px; }
.es-glance > div:first-child dd { font-size: 20px; line-height: 1.35; font-weight: 600; color: #1e293b; }
.es-section p.es-after-cards { margin-top: 36px; }
.es-stat-tiles.es-stat-2 { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin-left: auto; margin-right: auto; }
.es-check-card .es-card-more { margin-top: 12px; font-weight: 600; }
.es-timeline h3 .es-tl-date { font-size: 14px; font-weight: 600; color: var(--nv-primary-accent); margin-left: 8px; white-space: nowrap; }

/* Case Studies hub cards */
.es-cs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.es-cs-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--es-line); border-radius: 16px; overflow: hidden; text-decoration: none !important; color: inherit; box-shadow: var(--es-shadow); transition: transform .15s ease, box-shadow .15s ease; }
.es-cs-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15,23,42,.06), 0 18px 40px rgba(15,23,42,.12); }
.es-cs-img { display: block; aspect-ratio: 16 / 8; background: #fff; border-bottom: 1px solid var(--es-line); overflow: hidden; }
.es-cs-img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; display: block; }
.es-cs-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; flex: 1; }
.es-cs-tag { font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--nv-primary-accent); }
.es-cs-title { font-size: 20px; line-height: 1.3; color: #0f172a; }
.es-cs-result { color: var(--es-muted); }
.es-cs-more { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--nv-primary-accent); }
@media (max-width: 781px) { .es-cs-grid { grid-template-columns: 1fr; } }
.es-cs-card.es-cs-wide { grid-column: 1 / -1; flex-direction: row; }
.es-cs-card.es-cs-wide .es-cs-img { flex: 0 0 58%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--es-line); }
.es-cs-card.es-cs-wide .es-cs-body { justify-content: center; padding: 32px; }
.es-cs-card.es-cs-wide .es-cs-title { font-size: 24px; }
@media (max-width: 781px) { .es-cs-card.es-cs-wide { flex-direction: column; } .es-cs-card.es-cs-wide .es-cs-img { aspect-ratio: 16 / 8; border-right: 0; border-bottom: 1px solid var(--es-line); } }
.es-timeline li.es-tl-cta { background: #eef3fc; border-color: #c9d7f2; align-items: center; justify-content: center; text-align: center; }
.es-timeline li.es-tl-cta p { margin: 0 0 4px; color: #1e293b; }
.es-timeline li.es-tl-cta .es-tl-cta-btn { display: inline-block; margin-top: 8px; background: var(--nv-primary-accent); color: #fff !important; padding: 8px 20px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.es-stat-tiles.es-stat-lg .es-stat-tile span { font-size: 17px; line-height: 1.45; margin-top: 10px; }
.es-stat-tiles.es-stat-lg .es-stat-tile strong { font-size: 46px; }
.es-section p.es-source-note { text-align: left; margin-bottom: 36px; }
.es-check-card ul.es-plain-list { list-style: disc; padding-left: 20px; margin: 8px 0 10px; }
.es-check-card ul.es-plain-list li { display: list-item; margin-bottom: 4px; }
.es-compare + .es-compare, .wp-block-html + .wp-block-html > .es-compare { margin-top: 24px; }
.es-code.es-code-wrap code { white-space: pre-wrap; word-break: normal; }
.es-check-card p:has(+ ul.es-plain-list) { margin-bottom: 6px; }
.es-check-card ul.es-plain-list { margin-top: 0; margin-bottom: 14px; }

/* Semantic Triple Builder */
.es-tt { display: grid; gap: 22px; }
.es-tt-step { background: #fff; border: 1px solid var(--es-line); border-radius: 16px; padding: 26px 28px; box-shadow: var(--es-shadow); }
.es-tt-step h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 20px; }
.es-tt-n { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--nv-primary-accent); color: #fff; font-size: 15px; font-weight: 700; flex: none; }
.es-tt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.es-tt-field { display: flex; flex-direction: column; gap: 4px; }
.es-tt-wide { margin-bottom: 12px; }
.es-tt-field label { font-weight: 600; color: #1e293b; }
.es-tt-hint { font-size: 14px; color: var(--es-muted); margin: 0 0 6px; }
.es-tt input[type=text], .es-tt textarea { width: 100%; border: 1px solid #cbd5e1; border-radius: 8px; padding: 10px 12px; font: inherit; font-size: 15px; background: #fff; }
.es-tt input[type=text]:focus, .es-tt textarea:focus { outline: 2px solid var(--nv-primary-accent); outline-offset: 1px; border-color: transparent; }
.es-tt-check { display: flex; align-items: center; gap: 8px; margin: 4px 0 12px; font-size: 15px; }
.es-tt-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.es-tt-actions[hidden] { display: none; }
.es-tt-actions button, .es-tt-actions a { display: inline-block; border: 2px solid var(--nv-primary-accent); background: var(--nv-primary-accent); color: #fff !important; border-radius: 8px; padding: 9px 18px; font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none !important; line-height: 1.3; }
.es-tt-actions .es-tt-secondary { background: #fff; color: var(--nv-primary-accent) !important; }
.es-tt-table-wrap { overflow-x: auto; }
.es-tt-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.es-tt-table th { text-align: left; background: #f1f5f9; padding: 9px 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: #475569; }
.es-tt-table td { padding: 9px 12px; border-top: 1px solid var(--es-line); vertical-align: top; }
.es-tt-table tr.es-tt-flagged td { background: #fff8e6; }
.es-tt-table td ul { margin: 0; padding-left: 18px; font-size: 14px; color: #92400e; }
.es-tt-ok { color: #15803d; font-size: 14px; }
.es-tt-empty { color: var(--es-muted); font-style: italic; margin: 0; }
.es-tt-summary { font-weight: 600; margin: 14px 0 8px; }
.es-tt-noscript { background: #fff8e6; border: 1px solid #f3d38a; border-radius: 10px; padding: 12px 16px; margin: 0; }
#tt-prompt { margin: 6px 0 0; }
@media (max-width: 781px) { .es-tt-grid { grid-template-columns: 1fr; } .es-tt-step { padding: 20px; } }
.es-tt-table, .es-tt-table th, .es-tt-table td { border: 0; }
.es-tt-table td { border-top: 1px solid var(--es-line) !important; }
.es-tt-opt { font-weight: 400; color: var(--es-muted); }
.es-tt-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.es-tt input[type=url] { width: 100%; border: 1px solid #cbd5e1; border-radius: 8px; padding: 10px 12px; font: inherit; font-size: 15px; background: #fff; }
.es-tt input[type=url]:focus { outline: 2px solid var(--nv-primary-accent); outline-offset: 1px; border-color: transparent; }
.es-tt-privacy { margin-top: 12px; }
.es-tt-status { padding: 12px 16px; border-radius: 10px; margin: 0 0 14px; }
.es-tt-status[hidden] { display: none; }
.es-tt-status-busy { background: #eef3fc; }
.es-tt-status-done { background: #ecfdf3; }
.es-tt-status-error { background: #fff4f2; color: #9a3412; }
.es-tt-spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--nv-primary-accent); border-right-color: transparent; border-radius: 50%; vertical-align: -2px; margin-right: 6px; animation: es-tt-spin .8s linear infinite; }
@keyframes es-tt-spin { to { transform: rotate(360deg); } }
#tt-results:not(:empty) + #tt-empty-note { display: none; }
.es-tt-actions button:disabled { opacity: .6; cursor: progress; }
.es-blue { color: var(--nv-primary-accent); }
.es-logo-card .es-logo-ic { width: 40px; height: 40px; border-radius: 9px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; background: var(--nv-primary-accent); color: #fff; }
@media (min-width: 900px) { .es-logo-grid.es-read-more:has(> :nth-child(3)) { grid-template-columns: repeat(3, 1fr); max-width: none; } }

/* Facts page */
.es-facts h2.es-sub { margin-top: 40px; }
.es-facts h2.es-sub:first-child { margin-top: 0; }
.es-facts-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--es-line); border-radius: 12px; box-shadow: var(--es-shadow); }
.es-facts-table { width: 100%; border-collapse: collapse; margin: 0; font-size: 16px; }
.es-facts-table, .es-facts-table th, .es-facts-table td { border: 0; }
.es-facts-table th { text-align: left; background: #f1f5f9; padding: 10px 16px; font-size: 13px; letter-spacing: .6px; text-transform: uppercase; color: #475569; }
.es-facts-table td { padding: 11px 16px; border-top: 1px solid var(--es-line) !important; vertical-align: top; }
.es-facts-table td:nth-child(2) { color: var(--nv-primary-accent); font-weight: 600; white-space: nowrap; }
.es-facts-table td:first-child { width: 26%; }
.es-facts-table td:nth-child(2) { width: 22%; }
.es-section p.es-text-left { text-align: left; margin-left: auto; margin-right: auto; }
.es-section p.es-text-center { text-align: center !important; margin-left: auto; margin-right: auto; }
.es-facts-list { list-style: none; margin: 0; padding: 22px 26px; background: #fff; border: 1px solid var(--es-line); border-radius: 12px; box-shadow: var(--es-shadow); columns: 2; column-gap: 40px; }
.es-facts-list li { break-inside: avoid; padding: 7px 0 7px 18px; position: relative; line-height: 1.5; }
.es-facts-list li::before { content: ""; position: absolute; left: 0; top: 15px; width: 7px; height: 7px; border-radius: 50%; background: var(--nv-primary-accent); }
@media (max-width: 781px) { .es-facts-list { columns: 1; } }
.es-tt-example { margin: 10px 0 0; font-size: 15px; font-weight: 600; }
.es-page-hero p.es-facts-note { max-width: 820px; font-size: 15px; color: var(--es-muted); }
ul.es-plain-list.es-real-llms { list-style: disc; padding-left: 22px; max-width: 900px; }
ul.es-plain-list.es-real-llms li { margin-bottom: 8px; }
.es-code-shots { display: grid; gap: 22px; max-width: 820px; margin: 10px 0 8px; }
.es-code-shot { margin: 0; }
.es-code-shot img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: var(--es-shadow); }
.es-code-shot figcaption { margin-top: 8px; font-size: 14px; color: var(--es-muted); }
/* X marks in checklists are red; check marks stay green */
.es-tick:has(path[d^="M6 6l12 12"]) { color: #dc2626 !important; }
.es-section p.es-p-lg { font-size: 18px; }
/* Mock article with a call-out quote (First-Person Perspectives) */
.es-mock-article { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 32px 36px; max-width: 760px; margin: 28px auto 0; box-shadow: 0 10px 30px rgba(15, 23, 42, .07); }
.es-mock-article .es-mock-label { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--es-muted); margin: 0 0 6px; }
.es-mock-article h3 { margin: 0 0 18px; }
.es-mock-article .es-mock-h { font-weight: 600; margin-bottom: 8px; }
.es-pullquote { border-left: 4px solid var(--nv-primary-accent); background: #f1f5f9; padding: 22px 26px; margin: 24px 0; border-radius: 0 10px 10px 0; }
.es-pullquote p { font-size: 18px; font-style: italic; line-height: 1.6; margin: 0 0 10px; }
.es-pullquote cite { font-style: normal; font-size: 15px; color: var(--es-muted); }
@media (max-width: 600px) { .es-mock-article { padding: 24px 20px; } }
/* Two cards compared with a "Vs" between them */
.es-compare.es-compare-vs { grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 64px; }
.es-compare-vs > .es-check-card { align-self: stretch; }
.es-vs { color: var(--nv-primary-accent); font-size: 28px; font-weight: 800; letter-spacing: .5px; text-align: center; }
@media (max-width: 900px) { .es-compare.es-compare-vs { grid-template-columns: 1fr; margin-top: 48px; } }
/* Legal pages (Privacy Policy) */
.es-legal h2.es-sub { margin-top: 44px; }
.es-legal h2.es-sub:first-child { margin-top: 0; }
.es-legal h3.es-subtitle { margin-top: 24px; }
.es-legal ul.es-legal-list { list-style: disc; padding-left: 22px; }
.es-legal ul.es-legal-list li { margin-bottom: 8px; }
/* Top-level nav items bold; sub-menus stay regular */
.primary-menu-ul > li > .wrap > a, .primary-menu-ul > li > a, .primary-menu-ul > li > .wrap > .caret-wrap { font-weight: 700; }
.primary-menu-ul .sub-menu a { font-weight: inherit; }
.primary-menu-ul .sub-menu { font-weight: 400; }
/* Hero intro paragraphs are left-justified by default (CLAUDE.md style rule); add es-text-center to keep a short note centered */
.es-page-hero p.es-lead:not(.es-text-center) { text-align: left; }
/* Contact page */
.es-contact-cols { gap: 32px !important; align-items: flex-start !important; }
.es-contact-card:hover { transform: none; }
.es-contact-form { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.es-contact-form .es-check-ic { margin-bottom: 0; }
.es-contact-form h2 { font-size: 22px; margin: 0; }
.es-contact-side { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--es-line); }
.es-contact-side:first-child { padding-top: 6px; }
.es-contact-side:last-child { border-bottom: 0; }
.es-contact-side .es-check-ic { flex: 0 0 42px; margin-bottom: 0; }
.es-contact-side h3 { font-size: 18px; margin: 0 0 6px; }
.es-contact-side p { margin: 0; color: var(--es-muted); font-size: 16px; line-height: 1.6; }
.wpcf7-form label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 16px; }
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form textarea { width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--es-line); border-radius: 8px; font: inherit; font-weight: 400; background: #fff; }
.wpcf7-form input:focus, .wpcf7-form textarea:focus { outline: none; border-color: var(--nv-primary-accent); box-shadow: 0 0 0 3px rgba(47,90,174,.15); }
.wpcf7-form textarea { height: auto; }
.wpcf7-form input[type="submit"] { background: var(--nv-primary-accent); color: #fff; border: 0; border-radius: 8px; padding: 12px 28px; font-weight: 600; cursor: pointer; }
.wpcf7-form input[type="submit"]:hover { filter: brightness(1.08); }
@media (max-width: 781px) { .es-contact-cols { gap: 12px !important; } }
.es-page-hero p.es-lead.es-one-line { text-align: center; }
.es-contact-side p + p { margin-top: 10px; }

/* Live demo on the Crawlability and Accessibility Audit page: CSS-only tabs (no JavaScript) and a details/summary FAQ */
.es-tabs input { position: absolute; opacity: 0; }
.es-tabs label { display: inline-block; padding: 10px 18px; cursor: pointer; }
.es-tab-panel, .es-tab-panel strong { display: none; }
#es-tab-1:checked ~ .es-tab-panel-1,
#es-tab-2:checked ~ .es-tab-panel-2,
#es-tab-3:checked ~ .es-tab-panel-3 { display: block; }
@media (max-width: 600px) { /* stacked on mobile */
  .es-tabs label { display: none; }
  .es-tab-panel, .es-tab-panel strong { display: block; }
}
.es-demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 32px; align-items: start; }
.es-demo { min-width: 0; }
.es-demo .es-code { margin-top: 18px; font-size: 13px; max-height: 360px; overflow: auto; }
.es-tabs { position: relative; background: #fff; border: 1px solid var(--es-line); border-radius: var(--es-radius); padding: 8px 8px 0; min-height: 214px; }
.es-tabs label { border-radius: 8px 8px 0 0; font-weight: 600; color: var(--es-muted); }
#es-tab-1:checked + label, #es-tab-2:checked + label, #es-tab-3:checked + label { color: var(--nv-primary-accent); box-shadow: inset 0 -3px 0 var(--nv-primary-accent); }
.es-tabs input:focus-visible + label { outline: 2px solid var(--nv-primary-accent); }
.es-tab-panel { border-top: 1px solid var(--es-line); padding: 18px 12px 16px; }
.es-tab-panel p { margin: 0; }
.es-faq { background: #fff; border: 1px solid var(--es-line); border-radius: var(--es-radius); min-height: 214px; }
.es-faq details { border-bottom: 1px solid var(--es-line); padding: 16px 18px; }
.es-faq details:last-child { border-bottom: 0; }
.es-faq summary { font-weight: 600; cursor: pointer; }
.es-faq details p { margin: 10px 0 0; color: var(--es-muted); }
@media (max-width: 781px) { .es-demo-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .es-tabs { padding: 0; } .es-tab-panel { border-top: 0; border-bottom: 1px solid var(--es-line); } .es-tab-panel:last-child { border-bottom: 0; } .es-tab-panel strong { margin-bottom: 6px; } }
@media (min-width: 782px) { .es-tabs, .es-faq { min-height: 300px; } }
.es-tabs label { font-size: 17px; }
.es-tab-panel p { font-size: 18px; line-height: 1.6; color: var(--nv-text-color); }
.es-demo-single { grid-template-columns: 1fr; max-width: 820px; }
.es-section p.es-demo-intro { margin-top: 28px; }
.es-tab-panel p { font-size: 27px; line-height: 1.4; }
.es-tabs label { font-size: 20px; }
@media (max-width: 600px) { .es-tab-panel p { font-size: 22px; } }
@media (min-width: 782px) { .es-tabs, .es-faq { min-height: 0; } .es-demo-grid:not(.es-demo-single) { align-items: stretch; } .es-demo-grid:not(.es-demo-single) .es-demo { display: flex; flex-direction: column; } .es-demo-grid:not(.es-demo-single) .es-tabs, .es-demo-grid:not(.es-demo-single) .es-faq { flex: 0 0 340px; } }
@media (min-width: 782px) { .es-demo-grid:not(.es-demo-single) .es-tabs, .es-demo-grid:not(.es-demo-single) .es-faq { flex: 0 0 auto; min-height: 340px; } }
.es-demo .es-code { margin-top: 24px; }
