/* ==========================================================================
   Safe Havens International — modern refresh (2026), "Trust & Authority"
   Loaded after the Education child theme's style.css. Every rule is scoped
   under body.shi-modern; remove the require line for modern-refresh.php in
   functions.php to roll back to the old look.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
	--shi-navy-950: #0a1628;
	--shi-navy-900: #0f1f38;   /* primary dark */
	--shi-navy-800: #172b4d;
	--shi-navy-700: #1e3a6a;
	--shi-blue-700: #1e3a8a;   /* primary */
	--shi-blue-50:  #eef2f8;
	--shi-brass:    #a8865a;   /* accent: rules, numerals, small caps on dark */
	--shi-brass-ink:#7a5f3a;   /* accent text on light, 5.4:1 on white */
	--shi-brass-lt: #cdb48c;
	--shi-ink-900:  #0f172a;
	--shi-ink-700:  #334155;
	--shi-ink-500:  #5b6676;   /* 5.9:1 on white */
	--shi-line:     #d9dee6;
	--shi-line-2:   #e9ecf1;
	--shi-surface:  #ffffff;
	--shi-canvas:   #f7f6f3;   /* warm paper */

	--shi-font-sans: "Lato", "Helvetica Neue", Arial, sans-serif;
	--shi-font-serif: "EB Garamond", Garamond, "Times New Roman", serif;

	--shi-radius: 2px;
	--shi-shadow: 0 1px 2px rgba(15, 23, 42, .05);
	--shi-shadow-pop: 0 18px 40px -18px rgba(10, 22, 40, .35);

	--shi-container: 1200px;
	--shi-gutter: clamp(16px, 4vw, 40px);
	--shi-ease: cubic-bezier(.25, .1, .25, 1);
}

/* ---------- Base ---------- */
body.shi-modern {
	background: var(--shi-canvas) !important;
	color: var(--shi-ink-700);
	font-family: var(--shi-font-sans);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
body.shi-modern *,
body.shi-modern *::before,
body.shi-modern *::after { box-sizing: border-box; }

body.shi-modern p,
body.shi-modern li,
body.shi-modern td,
body.shi-modern select,
body.shi-modern textarea { font-family: var(--shi-font-sans); }
body.shi-modern p { color: inherit; font-size: inherit; line-height: inherit; }
body.shi-modern font { font-family: inherit !important; }

body.shi-modern h1, body.shi-modern h2, body.shi-modern h3,
body.shi-modern h4, body.shi-modern h5, body.shi-modern h6,
body.shi-modern .entry-title {
	color: var(--shi-navy-900);
	font-family: var(--shi-font-serif);
	font-weight: 500;
	letter-spacing: -0.005em;
	line-height: 1.15;
	text-shadow: none;
	text-transform: none;
}
body.shi-modern h1 a, body.shi-modern h2 a, body.shi-modern h2 a:visited, body.shi-modern h3 a {
	color: inherit; font-family: inherit; text-decoration: none;
}
body.shi-modern a { color: var(--shi-blue-700); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s var(--shi-ease); }
body.shi-modern a:hover { color: var(--shi-navy-900); }
body.shi-modern :focus-visible { outline: 2px solid var(--shi-brass); outline-offset: 3px; }
body.shi-modern ::selection { background: var(--shi-navy-800); color: #fff; }
body.shi-modern img { max-width: 100%; height: auto; }
body.shi-modern a, body.shi-modern button, body.shi-modern input[type="submit"] { cursor: pointer; }

body.shi-modern #wrap { min-width: 0 !important; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; background: none; overflow-x: clip; }

/* Shared container */
body.shi-modern #header .wrap,
body.shi-modern #inner > .wrap,
body.shi-modern #footer-widgets .wrap,
body.shi-modern #footer .wrap,
body.shi-modern .shi-container {
	float: none !important;
	margin: 0 auto !important;
	max-width: var(--shi-container) !important;
	padding-left: var(--shi-gutter) !important;
	padding-right: var(--shi-gutter) !important;
	width: 100% !important;
}

/* Small caps label with a brass rule — used for eyebrows and widget titles */
body.shi-modern .shi-eyebrow {
	align-items: center;
	color: var(--shi-brass-ink);
	display: inline-flex;
	font: 700 12px/1.3 var(--shi-font-sans);
	gap: 14px;
	letter-spacing: .18em;
	margin-bottom: 18px !important;
	text-transform: uppercase;
}
body.shi-modern .shi-eyebrow::before {
	background: currentColor;
	content: "";
	display: block;
	flex: none;
	height: 1px;
	width: 36px;
}

/* ---------- Header ---------- */
body.shi-modern #header {
	background: #fff !important;
	border: 0;
	border-bottom: 1px solid var(--shi-line);
	min-height: 0;
	position: sticky;
	top: 0;
	z-index: 1000;
}
body.admin-bar.shi-modern #header { top: 32px; }

body.shi-modern #header .wrap {
	align-items: center;
	column-gap: 40px;
	display: grid;
	grid-template-areas: "util util" "logo nav";
	grid-template-columns: auto 1fr;
	min-height: 0;
	overflow: visible;
}
body.shi-modern #header .wrap::before,
body.shi-modern #header .wrap::after { display: none; }

body.shi-modern #title-area {
	float: none !important;
	grid-area: logo;
	height: auto !important;
	overflow: visible;
	padding: 14px 0 !important;
	width: auto !important;
}
/* Emblem + wordmark only (the tagline part of the image is cropped off) */
body.shi-modern #title,
body.shi-modern #title a {
	float: none !important;
	height: 62px !important;
	width: 74px !important;
}
body.shi-modern #title a {
	background: url(/wp-content/uploads/2014/02/Safe-Haven-Logo2.png) left center / auto 62px no-repeat !important;
	display: block;
}
body.shi-modern #description { display: none !important; }

body.shi-modern #header .widget-area { display: contents; }
body.shi-modern #header .widget,
body.shi-modern #header .widget-wrap { background: none; border: 0; margin: 0; padding: 0; }

/* Utility bar */
body.shi-modern #header #text-3 {
	background: var(--shi-navy-900);
	box-shadow: 0 0 0 100vmax var(--shi-navy-900);
	clip-path: inset(0 -100vmax);
	grid-area: util;
}
body.shi-modern #header #text-3 .textwidget {
	color: #b8c2d3;
	font-size: 13px;
	line-height: 1;
	padding: 0;
	text-align: left;
}
body.shi-modern .shi-util { align-items: center; display: flex; gap: 26px; justify-content: flex-end; min-height: 40px; }
body.shi-modern .shi-util a { color: #dfe5ee; font-weight: 400; letter-spacing: .02em; text-decoration: none; }
body.shi-modern .shi-util a:hover { color: var(--shi-brass-lt); }
body.shi-modern .shi-util .shi-util-tag { color: #8f9bb0; letter-spacing: .14em; font-size: 11.5px; font-weight: 700; text-transform: uppercase; margin-right: auto; }
body.shi-modern .shi-util .shi-util-phone { color: #fff; font-weight: 700; }
body.shi-modern .shi-util form { display: flex; margin: 0; }
body.shi-modern .shi-util input[type="search"] {
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' fill='none' stroke='%238f9bb0' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 0 center;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, .22);
	border-radius: 0;
	box-shadow: none;
	color: #fff;
	font: 400 13px/1 var(--shi-font-sans);
	padding: 6px 0 6px 22px;
	transition: border-color .2s, width .25s var(--shi-ease);
	width: 150px;
}
body.shi-modern .shi-util input[type="search"]::placeholder { color: #8f9bb0; }
body.shi-modern .shi-util input[type="search"]:focus { border-color: var(--shi-brass); outline: none; width: 200px; box-shadow: none; }

/* Primary nav */
body.shi-modern #header #nav_menu-2 { grid-area: nav; justify-self: end; }
body.shi-modern #header .menu {
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	display: flex;
	flex-wrap: nowrap;
	float: none !important;
	gap: 0;
	margin: 0 !important;
	overflow: visible !important;
	padding: 0 !important;
	position: static !important;
	right: auto !important;
	width: auto !important;
}
body.shi-modern #header .menu li {
	background: none !important;
	border: 0 !important;
	float: none !important;
	list-style: none;
	margin: 0 !important;
	position: relative;
}
body.shi-modern #header .menu > li > a {
	background: none !important;
	border: 0 !important;
	border-radius: 0;
	color: var(--shi-navy-900) !important;
	display: block;
	font: 700 12px/1 var(--shi-font-sans) !important;
	letter-spacing: .14em;
	padding: 34px 14px 32px !important;
	position: relative;
	text-decoration: none;
	text-shadow: none !important;
	white-space: nowrap;
}
body.shi-modern #header .menu > li > a::before { /* brass underline */
	background: var(--shi-brass);
	bottom: 22px;
	content: "";
	height: 1px;
	left: 14px;
	position: absolute;
	right: 14px;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s var(--shi-ease);
}
body.shi-modern #header .menu > li > a:hover::before,
body.shi-modern #header .menu > li:hover > a::before,
body.shi-modern #header .menu > li:focus-within > a::before,
body.shi-modern #header .menu > .current-menu-item > a::before,
body.shi-modern #header .menu > .current-menu-ancestor > a::before,
body.shi-modern #header .menu > .current-page-ancestor > a::before { transform: scaleX(1); }
body.shi-modern #header .menu > .current-menu-item > a,
body.shi-modern #header .menu > .current-menu-ancestor > a,
body.shi-modern #header .menu > .current-page-ancestor > a { color: var(--shi-brass-ink) !important; }

/* Dropdowns */
body.shi-modern #header .menu li ul {
	background: var(--shi-surface) !important;
	border: 1px solid var(--shi-line) !important;
	border-top: 2px solid var(--shi-navy-900) !important;
	border-radius: 0 !important;
	box-shadow: var(--shi-shadow-pop) !important;
	left: 0 !important;
	margin: 0 !important;
	min-width: 260px;
	opacity: 0;
	padding: 10px 0 !important;
	pointer-events: none;
	position: absolute;
	top: 100%;
	transform: translateY(4px);
	transition: opacity .18s var(--shi-ease), transform .18s var(--shi-ease), visibility 0s linear .18s;
	visibility: hidden;
	width: auto !important;
	z-index: 1001;
}
body.shi-modern #header .menu > li:last-child > ul,
body.shi-modern #header .menu > li:nth-last-child(2) > ul { left: auto !important; right: 0; }
body.shi-modern #header .menu li:hover > ul,
body.shi-modern #header .menu li:focus-within > ul {
	opacity: 1;
	pointer-events: auto;
	transform: none;
	transition-delay: 0s;
	visibility: visible;
}
body.shi-modern #header .menu li ul ul { left: 100% !important; top: -12px; }
body.shi-modern #header .menu li ul a {
	background: none !important;
	border: 0 !important;
	border-radius: 0;
	color: var(--shi-ink-700) !important;
	display: block;
	font: 400 15px/1.35 var(--shi-font-sans) !important;
	letter-spacing: 0;
	padding: 9px 22px !important;
	text-decoration: none;
	text-shadow: none !important;
	text-transform: none !important;
	transition: color .15s, background .15s;
	width: auto !important;
}
body.shi-modern #header .menu li ul a:hover,
body.shi-modern #header .menu li ul a:focus { background: var(--shi-canvas) !important; color: var(--shi-navy-900) !important; }

/* Mobile menu button (inserted by modern.js) */
body.shi-modern .shi-menu-toggle {
	align-items: center;
	background: none;
	border: 1px solid var(--shi-navy-900);
	border-radius: var(--shi-radius);
	color: var(--shi-navy-900);
	cursor: pointer;
	display: none;
	font: 700 12px/1 var(--shi-font-sans);
	gap: 10px;
	grid-area: toggle;
	justify-self: end;
	letter-spacing: .14em;
	min-height: 44px;
	padding: 0 16px;
	text-transform: uppercase;
}
body.shi-modern .shi-menu-toggle span,
body.shi-modern .shi-menu-toggle span::before,
body.shi-modern .shi-menu-toggle span::after {
	background: currentColor; content: ""; display: block; height: 1.5px; position: relative; width: 18px;
	transition: transform .2s var(--shi-ease), background .2s;
}
body.shi-modern .shi-menu-toggle span::before { position: absolute; top: -6px; }
body.shi-modern .shi-menu-toggle span::after { position: absolute; top: 6px; }
body.shi-modern .shi-menu-toggle[aria-expanded="true"] span { background: transparent; }
body.shi-modern .shi-menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
body.shi-modern .shi-menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Page body ---------- */
body.shi-modern #inner { background: none !important; padding: 56px 0 96px !important; overflow: visible; }
body.shi-modern #inner > .wrap { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
body.shi-modern #content-sidebar-wrap {
	background: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	display: grid;
	float: none !important;
	gap: 40px;
	grid-template-areas: "crumb" "content";
	grid-template-columns: minmax(0, 1fr);
	width: 100% !important;
	z-index: auto;
}
body.shi-modern.sidebar-content #content-sidebar-wrap {
	grid-template-areas: "crumb crumb" "side content";
	grid-template-columns: 270px minmax(0, 1fr);
}
body.shi-modern.content-sidebar #content-sidebar-wrap {
	grid-template-areas: "crumb crumb" "content side";
	grid-template-columns: minmax(0, 1fr) 300px;
}
body.shi-modern.sidebar-content #content-sidebar-wrap:not(:has(#sidebar .widget)),
body.shi-modern.content-sidebar #content-sidebar-wrap:not(:has(#sidebar .widget)) {
	grid-template-areas: "crumb" "content";
	grid-template-columns: minmax(0, 1fr);
}
body.shi-modern #content-sidebar-wrap:not(:has(#sidebar .widget)) #sidebar { display: none; }
/* Pages without section navigation read best as a centred column */
body.shi-modern #content-sidebar-wrap:not(:has(#sidebar .widget)) #content { justify-self: center; max-width: 920px; width: 100% !important; }

body.shi-modern .breadcrumb {
	background: none !important;
	color: var(--shi-ink-500);
	font-size: 12px;
	grid-area: crumb;
	letter-spacing: .12em;
	margin: 0 0 -12px !important;
	padding: 0 !important;
	text-transform: uppercase;
}
body.shi-modern .breadcrumb a { color: var(--shi-ink-500); text-decoration: none; }
body.shi-modern .breadcrumb a:hover { color: var(--shi-navy-900); text-decoration: underline; }

body.shi-modern #content {
	background: var(--shi-surface);
	border: 1px solid var(--shi-line);
	border-radius: var(--shi-radius);
	box-shadow: var(--shi-shadow);
	float: none !important;
	grid-area: content;
	margin: 0 !important;
	min-width: 0;
	padding: clamp(24px, 5vw, 64px) !important;
	width: auto !important;
}
body.shi-modern #content .post,
body.shi-modern #content .page { background: none !important; margin: 0; padding: 0; }
body.shi-modern.archive #content .post,
body.shi-modern.blog #content .post,
body.shi-modern.search #content .post {
	border-bottom: 1px solid var(--shi-line);
	margin-bottom: 44px;
	padding-bottom: 44px;
}
body.shi-modern #content .entry-title,
body.shi-modern #content h1.entry-title {
	color: var(--shi-navy-900) !important;
	font-size: clamp(32px, 4vw, 50px) !important;
	font-weight: 500 !important;
	line-height: 1.1 !important;
	margin: 0 0 28px !important;
	padding-bottom: 26px !important;
	position: relative;
}
body.shi-modern #content h1.entry-title::after {
	background: var(--shi-brass); bottom: 0; content: ""; height: 2px; left: 0; position: absolute; width: 56px;
}
body.shi-modern #content h2.entry-title { font-size: clamp(26px, 3vw, 34px) !important; padding-bottom: 0 !important; margin-bottom: 12px !important; }
body.shi-modern #content h2.entry-title a:hover { color: var(--shi-blue-700); }

body.shi-modern .entry-content { color: var(--shi-ink-700); font-size: 17.5px; }
body.shi-modern .entry-content p,
body.shi-modern .entry-content li { font-size: 17.5px !important; line-height: 1.75 !important; color: var(--shi-ink-700); }
body.shi-modern .entry-content p { margin: 0 0 1.2em; }
body.shi-modern .entry-content h1 { font-size: clamp(28px, 3vw, 36px) !important; margin: 1.6em 0 .6em !important; }
body.shi-modern .entry-content h2 { font-size: clamp(25px, 2.6vw, 31px) !important; margin: 1.6em 0 .6em !important; }
body.shi-modern .entry-content h3 { font-size: 24px !important; margin: 1.5em 0 .5em !important; }
body.shi-modern .entry-content h4,
body.shi-modern .entry-content h5,
body.shi-modern .entry-content h6 { font-size: 20px !important; margin: 1.4em 0 .5em !important; }
body.shi-modern .entry-content ul,
body.shi-modern .entry-content ol { margin: 0 0 1.3em 1.2em; padding: 0; }
body.shi-modern .entry-content ul li { background: none !important; list-style: square; margin-bottom: .45em; padding-left: 6px !important; }
body.shi-modern .entry-content ul li::marker { color: var(--shi-brass); }
/* Leave plugin-built lists (Essential Grid, sliders, WPBakery) alone */
body.shi-modern .entry-content .esg-grid ul,
body.shi-modern .entry-content ul.mainul,
body.shi-modern .entry-content [class*="vc_"] ul.vc_grid,
body.shi-modern .entry-content ul.slides { margin: 0 !important; padding: 0 !important; }
body.shi-modern .entry-content .esg-grid li,
body.shi-modern .entry-content ul.slides li { list-style: none !important; margin: 0 !important; padding-left: 0 !important; }
body.shi-modern .esg-grid *,
body.shi-modern .esg-grid *::before,
body.shi-modern .esg-grid *::after { box-sizing: content-box; }
body.shi-modern .entry-content blockquote {
	background: none;
	border: 0;
	border-left: 2px solid var(--shi-brass);
	color: var(--shi-navy-900);
	margin: 1.8em 0;
	padding: 4px 0 4px 28px;
}
body.shi-modern .entry-content blockquote p { color: var(--shi-navy-900) !important; font-family: var(--shi-font-serif) !important; font-size: 22px !important; font-style: italic; line-height: 1.5 !important; }
body.shi-modern .entry-content img { border-radius: var(--shi-radius); }
body.shi-modern .entry-content .alignleft { margin: 6px 28px 16px 0; }
body.shi-modern .entry-content .alignright { margin: 6px 0 16px 28px; }
body.shi-modern .entry-content table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
body.shi-modern .entry-content th,
body.shi-modern .entry-content td { border-bottom: 1px solid var(--shi-line); padding: 12px 14px; text-align: left; vertical-align: top; }
body.shi-modern .entry-content th { color: var(--shi-navy-900); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
body.shi-modern .entry-content hr { border: 0; border-top: 1px solid var(--shi-line); margin: 2.4em 0; }
body.shi-modern .entry-content iframe,
body.shi-modern .entry-content video,
body.shi-modern .entry-content embed { max-width: 100%; }
body.shi-modern .post-info,
body.shi-modern .post-meta { color: var(--shi-ink-500); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
body.shi-modern .post-meta { border-top: 1px solid var(--shi-line-2); margin-top: 24px; padding-top: 14px; }

/* Forms & buttons */
body.shi-modern input[type="text"],
body.shi-modern input[type="email"],
body.shi-modern input[type="tel"],
body.shi-modern input[type="url"],
body.shi-modern input[type="number"],
body.shi-modern input[type="password"],
body.shi-modern #content input[type="search"],
body.shi-modern select,
body.shi-modern textarea {
	background: #fff;
	border: 1px solid #c3cad5;
	border-radius: var(--shi-radius);
	box-shadow: none;
	color: var(--shi-ink-900);
	font: 400 16px/1.4 var(--shi-font-sans);
	max-width: 100%;
	min-height: 46px;
	padding: 11px 14px;
	transition: border-color .15s, box-shadow .15s;
}
body.shi-modern textarea { min-height: 140px; }
body.shi-modern input:focus,
body.shi-modern select:focus,
body.shi-modern textarea:focus { border-color: var(--shi-navy-900); box-shadow: 0 0 0 3px rgba(15, 31, 56, .12); outline: none; }
body.shi-modern label { color: var(--shi-ink-900); font-weight: 700; font-size: 14px; }
body.shi-modern input[type="submit"],
body.shi-modern button[type="submit"],
body.shi-modern .button,
body.shi-modern .more-link,
body.shi-modern .shi-btn {
	-webkit-appearance: none;
	align-items: center;
	background: var(--shi-navy-900);
	border: 1px solid var(--shi-navy-900);
	border-radius: var(--shi-radius);
	box-shadow: none;
	color: #fff !important;
	cursor: pointer;
	display: inline-flex;
	font: 700 12.5px/1 var(--shi-font-sans);
	gap: 12px;
	justify-content: center;
	letter-spacing: .14em;
	min-height: 48px;
	padding: 0 28px;
	text-decoration: none !important;
	text-shadow: none;
	text-transform: uppercase;
	transition: background .2s var(--shi-ease), color .2s var(--shi-ease), border-color .2s var(--shi-ease);
}
body.shi-modern input[type="submit"]:hover,
body.shi-modern button[type="submit"]:hover,
body.shi-modern .button:hover,
body.shi-modern .more-link:hover,
body.shi-modern .shi-btn:hover { background: var(--shi-blue-700); border-color: var(--shi-blue-700); color: #fff !important; }
body.shi-modern .more-link { background: none; border: 0; color: var(--shi-blue-700) !important; min-height: 0; padding: 0; margin-top: 4px; }
body.shi-modern .more-link:hover { background: none; color: var(--shi-navy-900) !important; text-decoration: underline !important; }
body.shi-modern .shi-btn .shi-arrow { transition: transform .2s var(--shi-ease); }
body.shi-modern .shi-btn:hover .shi-arrow { transform: translateX(3px); }
body.shi-modern .shi-util input[type="submit"],
body.shi-modern .shi-util .search-submit { display: none; }

/* Text link with arrow */
body.shi-modern .shi-link {
	align-items: center;
	color: var(--shi-navy-900) !important;
	display: inline-flex;
	font: 700 12.5px/1 var(--shi-font-sans);
	gap: 10px;
	letter-spacing: .14em;
	padding: 4px 0 6px;
	text-decoration: none !important;
	text-transform: uppercase;
	border-bottom: 1px solid var(--shi-brass);
}
body.shi-modern .shi-link .shi-arrow { transition: transform .2s var(--shi-ease); }
body.shi-modern a:hover .shi-link .shi-arrow,
body.shi-modern .shi-link:hover .shi-arrow { transform: translateX(3px); }

/* ---------- Sidebar (section navigation) ---------- */
body.shi-modern #sidebar {
	align-self: start;
	display: block;
	float: none !important;
	font-size: 15px;
	grid-area: side;
	margin: 0 !important;
	position: sticky;
	text-shadow: none;
	top: 150px;
	width: auto !important;
}
body.admin-bar.shi-modern #sidebar { top: 182px; }
body.shi-modern #sidebar .widget {
	background: none;
	border: 0;
	border-top: 2px solid var(--shi-navy-900);
	border-radius: 0;
	box-shadow: none;
	margin: 0 0 32px;
	padding: 22px 0 0;
}
body.shi-modern #sidebar .widget-wrap { padding: 0; width: auto; }
body.shi-modern #sidebar .widget-title,
body.shi-modern #sidebar h4 {
	background: none;
	border: 0;
	color: var(--shi-navy-900) !important;
	font: 700 12px/1.3 var(--shi-font-sans) !important;
	letter-spacing: .16em;
	margin: 0 0 14px !important;
	padding: 0 !important;
	text-transform: uppercase !important;
}
body.shi-modern #sidebar ul { margin: 0; padding: 0; }
body.shi-modern #sidebar ul li { background: none; border: 0 !important; list-style: none; margin: 0; padding: 0 !important; }
body.shi-modern #sidebar ul li a {
	border-bottom: 1px solid var(--shi-line-2);
	color: var(--shi-ink-700);
	display: block;
	line-height: 1.4;
	padding: 11px 0;
	text-decoration: none;
	transition: color .15s, padding .2s var(--shi-ease);
}
body.shi-modern #sidebar ul li a:hover { color: var(--shi-navy-900); padding-left: 6px; }
body.shi-modern #sidebar ul li.current_page_item > a,
body.shi-modern #sidebar ul li.current-menu-item > a {
	border-left: 2px solid var(--shi-brass);
	color: var(--shi-navy-900);
	font-weight: 700;
	padding-left: 12px;
}
body.shi-modern #sidebar ul ul { margin: 0 0 0 14px; }
body.shi-modern #sidebar ul ul a { font-size: 14px; }
body.shi-modern #sidebar .textwidget,
body.shi-modern #sidebar p { color: var(--shi-ink-700); font-size: 15px; }
body.shi-modern #sidebar-alt { display: none !important; }

/* ---------- Homepage ---------- */
body.shi-modern.home #inner { padding: 0 0 0 !important; }
body.shi-modern.home .breadcrumb,
body.shi-modern.home #content { display: none !important; }
body.shi-modern #home-featured,
body.shi-modern #home-featured .intro,
body.shi-modern #home-featured .inner,
body.shi-modern #home-featured .widget,
body.shi-modern #home-featured .widget-wrap,
body.shi-modern #home-featured .textwidget {
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: left;
	width: auto !important;
}
body.shi-modern #home-featured .clear { display: none; }
body.shi-modern #home-featured .intro,
body.shi-modern #home-featured .intro p,
body.shi-modern #home-featured .call-to-action,
body.shi-modern #home-featured .call-to-action p {
	color: var(--shi-ink-700);
	font-family: var(--shi-font-sans);
	font-size: 17px;
	font-style: normal;
	line-height: 1.7;
	text-shadow: none;
}
body.shi-modern #home-featured p { margin: 0; }
body.shi-modern #home-featured .call-to-action .banner-left,
body.shi-modern #home-featured .call-to-action .banner-right { display: none !important; }
body.shi-modern #home-featured .call-to-action {
	background: none !important; border: 0 !important; box-shadow: none !important;
	height: auto !important; margin: 0 !important; padding: 0 !important; width: auto !important;
}

/* Full-bleed helper */
/* Full-bleed background without changing the content box (no scrollbar offset) */
body.shi-modern .shi-bleed { clip-path: inset(0 -100vmax); }

body.shi-modern .shi-section { padding: 104px 0 0; }
body.shi-modern .shi-section-head { margin-bottom: 56px !important; max-width: 760px; }
body.shi-modern .shi-section-head h2 { font-size: clamp(32px, 3.6vw, 46px) !important; margin: 0 0 18px !important; }
body.shi-modern .shi-section-head p { color: var(--shi-ink-500) !important; font-size: 18.5px !important; line-height: 1.65 !important; }
body.shi-modern .shi-section-head-row { align-items: end; display: flex; gap: 24px; justify-content: space-between; max-width: none; }

/* Hero */
body.shi-modern .shi-hero {
	background: var(--shi-navy-900) !important;
	box-shadow: 0 0 0 100vmax var(--shi-navy-900);
	color: #c3ccda;
	padding-bottom: clamp(72px, 9vw, 128px) !important;
	padding-top: clamp(72px, 10vw, 136px) !important;
	position: relative;
}
body.shi-modern .shi-hero::before { /* single brass hairline at the right — quiet detail */
	background: linear-gradient(var(--shi-brass), transparent);
	content: ""; height: 70%; opacity: .45; position: absolute; right: 0; top: 0; width: 1px;
}
body.shi-modern .shi-hero-inner { max-width: 860px; position: relative; z-index: 1; }
body.shi-modern .shi-hero .shi-eyebrow { color: var(--shi-brass-lt); }
body.shi-modern .shi-hero h1 {
	color: #fff !important;
	font-size: clamp(40px, 5.8vw, 76px) !important;
	font-weight: 400 !important;
	letter-spacing: -0.01em;
	line-height: 1.04 !important;
	margin: 0 0 30px !important;
}
body.shi-modern .shi-hero h1 em { color: #fff; font-style: italic; }
body.shi-modern .shi-hero .shi-lead {
	color: #c3ccda !important;
	font-size: clamp(18px, 1.6vw, 21px) !important;
	font-weight: 300;
	line-height: 1.65 !important;
	margin: 0 0 44px !important;
	max-width: 660px;
}
body.shi-modern .shi-actions { display: flex; flex-wrap: wrap; gap: 14px; }
body.shi-modern .shi-btn-light { background: #fff; border-color: #fff; color: var(--shi-navy-900) !important; }
body.shi-modern .shi-btn-light:hover { background: var(--shi-brass-lt); border-color: var(--shi-brass-lt); color: var(--shi-navy-900) !important; }
body.shi-modern .shi-btn-outline { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff !important; }
body.shi-modern .shi-btn-outline:hover { background: transparent; border-color: #fff; color: #fff !important; }

/* Facts strip under the hero */
body.shi-modern .shi-facts {
	border-top: 1px solid rgba(255, 255, 255, .14);
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 72px !important;
}
body.shi-modern .shi-fact { border-right: 1px solid rgba(255, 255, 255, .14); padding: 26px 28px 0 0 !important; }
body.shi-modern .shi-fact + .shi-fact { padding-left: 28px !important; }
body.shi-modern .shi-fact:last-child { border-right: 0; }
body.shi-modern .shi-fact strong { color: #fff; display: block; font: 400 23px/1.2 var(--shi-font-serif); margin-bottom: 6px; }
body.shi-modern .shi-fact span { color: #98a4b8; font-size: 14px; letter-spacing: .02em; }
body.shi-modern .shi-fact a { color: #fff; text-decoration: none; }
body.shi-modern .shi-fact a:hover { color: var(--shi-brass-lt); }

/* Services: numbered columns separated by hairlines */
body.shi-modern .shi-grid { display: grid; gap: 0; }
body.shi-modern .shi-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.shi-modern .shi-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.shi-modern .shi-services { border-top: 1px solid var(--shi-navy-900); }
body.shi-modern .shi-service {
	border-right: 1px solid var(--shi-line);
	color: var(--shi-ink-700);
	display: flex;
	flex-direction: column;
	padding: 32px 28px 8px !important;
	text-decoration: none !important;
	transition: background .25s var(--shi-ease);
}
body.shi-modern .shi-service:first-child { padding-left: 0 !important; }
body.shi-modern .shi-service:last-child { border-right: 0; padding-right: 0 !important; }
body.shi-modern .shi-num { color: var(--shi-brass-ink); display: block; font: 400 15px/1 var(--shi-font-serif); letter-spacing: .08em; margin-bottom: 26px !important; }
body.shi-modern .shi-service h3 { font-size: 26px !important; line-height: 1.15 !important; margin: 0 0 16px !important; transition: color .2s; }
body.shi-modern .shi-service p { color: var(--shi-ink-500) !important; flex: 1; font-size: 16px !important; line-height: 1.7 !important; margin-bottom: 26px !important; }
body.shi-modern .shi-service:hover h3 { color: var(--shi-blue-700); }
body.shi-modern .shi-service .shi-link { align-self: flex-start; }

/* Our work band */
body.shi-modern .shi-proof {
	background: var(--shi-surface) !important;
	box-shadow: 0 0 0 100vmax var(--shi-surface);
	margin-top: 104px !important;
	padding-bottom: 96px !important;
	padding-top: 96px !important;
}
body.shi-modern .shi-proof-grid { align-items: start; display: grid; gap: 72px; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
body.shi-modern .shi-proof .shi-section-head { margin: 0 !important; }
body.shi-modern .shi-proof-links { border-top: 1px solid var(--shi-navy-900); }
body.shi-modern .shi-proof-link {
	align-items: center;
	border-bottom: 1px solid var(--shi-line);
	color: var(--shi-navy-900) !important;
	display: flex;
	gap: 24px;
	padding: 26px 0 !important;
	text-decoration: none !important;
	transition: padding .25s var(--shi-ease);
}
body.shi-modern .shi-proof-link .shi-num { margin: 0 !important; width: 28px; }
body.shi-modern .shi-proof-link span.shi-proof-text { flex: 1; font: 400 25px/1.2 var(--shi-font-serif); }
body.shi-modern .shi-proof-link small { color: var(--shi-ink-500); display: block; font: 400 15px/1.5 var(--shi-font-sans); margin-top: 4px; }
body.shi-modern .shi-proof-link .shi-arrow { color: var(--shi-brass-ink); transition: transform .25s var(--shi-ease); }
body.shi-modern .shi-proof-link:hover { padding-left: 8px !important; }
body.shi-modern .shi-proof-link:hover .shi-arrow { transform: translateX(4px); }

/* Featured resources */
body.shi-modern .shi-resources { gap: 32px; }
body.shi-modern .shi-resource {
	align-items: flex-start;
	border-top: 1px solid var(--shi-navy-900);
	color: var(--shi-ink-700);
	display: flex;
	gap: 22px;
	padding: 28px 0 0 !important;
	text-decoration: none !important;
}
body.shi-modern .shi-resource img {
	border: 1px solid var(--shi-line);
	border-radius: 0;
	display: block;
	flex: none;
	height: auto;
	width: 92px;
}
body.shi-modern .shi-resource span.shi-resource-text { color: var(--shi-navy-900); display: block; font: 400 23px/1.2 var(--shi-font-serif); }
body.shi-modern .shi-resource small { color: var(--shi-ink-500); display: block; font: 400 15px/1.6 var(--shi-font-sans); margin: 10px 0 18px; }
body.shi-modern .shi-resource:hover .shi-resource-text { color: var(--shi-blue-700); }

/* Latest news (rendered by [shi_latest_news]) */
body.shi-modern .shi-news { border-top: 1px solid var(--shi-navy-900); gap: 0; }
body.shi-modern .shi-news-card {
	border-right: 1px solid var(--shi-line);
	color: var(--shi-ink-700);
	display: flex;
	flex-direction: column;
	padding: 30px 28px 8px !important;
	text-decoration: none !important;
}
body.shi-modern .shi-news-card:first-child { padding-left: 0 !important; }
body.shi-modern .shi-news-card:last-child { border-right: 0; padding-right: 0 !important; }
body.shi-modern .shi-news-thumb { aspect-ratio: 16 / 10; margin-bottom: 22px !important; overflow: hidden; }
body.shi-modern .shi-news-thumb img { border-radius: 0; display: block; height: 100%; object-fit: cover; width: 100%; }
body.shi-modern .shi-news-card time { color: var(--shi-brass-ink); display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; margin-bottom: 14px; text-transform: uppercase; }
body.shi-modern .shi-news-card h3 { font-size: 24px !important; line-height: 1.2 !important; margin: 0 0 14px !important; transition: color .2s; }
body.shi-modern .shi-news-card p { color: var(--shi-ink-500) !important; flex: 1; font-size: 15.5px !important; line-height: 1.7 !important; margin-bottom: 22px !important; }
body.shi-modern .shi-news-card:hover h3 { color: var(--shi-blue-700); }
body.shi-modern .shi-news-card .shi-link { align-self: flex-start; }

/* Newsletter CTA */
body.shi-modern .shi-cta {
	align-items: center;
	background: var(--shi-navy-900) !important;
	box-shadow: 0 0 0 100vmax var(--shi-navy-900);
	color: #c3ccda;
	display: flex;
	gap: 40px;
	justify-content: space-between;
	margin-top: 112px !important;
	padding-bottom: 72px !important;
	padding-top: 72px !important;
}
body.shi-modern .shi-cta h2 { color: #fff !important; font-size: clamp(30px, 3.2vw, 42px) !important; font-weight: 400 !important; margin: 0 0 10px !important; }
body.shi-modern .shi-cta p { color: #c3ccda !important; font-size: 18px !important; font-weight: 300; }
body.shi-modern .shi-cta .shi-eyebrow { color: var(--shi-brass-lt); }

/* ---------- Footer ---------- */
body.shi-modern #footer-widgets {
	background: var(--shi-navy-950) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #98a4b8;
	font-size: 15px;
	margin: 0 !important;
	max-width: none !important;
	width: 100% !important;
}
body.shi-modern #footer-widgets .wrap {
	display: grid;
	gap: 48px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding-bottom: 40px !important;
	padding-top: 80px !important;
}
body.shi-modern #footer-widgets .widget-area { float: none !important; margin: 0 !important; width: auto !important; }
body.shi-modern #footer-widgets .widget { margin: 0 0 28px; }
body.shi-modern #footer-widgets h4,
body.shi-modern #footer-widgets .widget-title {
	background: none !important;
	border: 0 !important;
	border-bottom: 1px solid rgba(255, 255, 255, .12) !important;
	color: #fff !important;
	font: 700 12px/1.2 var(--shi-font-sans) !important;
	letter-spacing: .16em;
	margin: 0 0 18px !important;
	padding: 0 0 16px !important;
	text-shadow: none !important;
	text-transform: uppercase !important;
}
body.shi-modern #footer-widgets ul li { border: 0 !important; padding: 5px 0 !important; }
body.shi-modern #footer-widgets a { color: #c3ccda; text-decoration: none; }
body.shi-modern #footer-widgets a:hover { color: var(--shi-brass-lt); }
body.shi-modern #footer-widgets font { color: #c3ccda !important; font-size: 15px !important; }
body.shi-modern #footer-widgets p { font-size: 15px; line-height: 1.6; margin-bottom: 12px; }

body.shi-modern #footer {
	background: var(--shi-navy-950) !important;
	border-top: 1px solid rgba(255, 255, 255, .08) !important;
	color: #7d889c;
	font-size: 13px;
	text-transform: none;
}
body.shi-modern #footer .wrap {
	align-items: center;
	display: flex;
	flex-direction: row-reverse;
	gap: 16px;
	justify-content: space-between;
	padding-bottom: 24px !important;
	padding-top: 24px !important;
}
body.shi-modern #footer .gototop,
body.shi-modern #footer .creds { float: none !important; text-align: left; width: auto !important; }
body.shi-modern #footer p { color: #7d889c; font-size: 13px; margin: 0; text-transform: none; }
body.shi-modern #footer a { color: #c3ccda; font-weight: 400; text-decoration: none; }
body.shi-modern #footer a:hover { color: var(--shi-brass-lt); }

/* AddToAny share row */
body.shi-modern .addtoany_share_save_container { border-top: 1px solid var(--shi-line); margin-top: 40px; padding-top: 22px; }
/* reCAPTCHA badge: keep it out of the way */
body.shi-modern .grecaptcha-badge { opacity: .55; transition: opacity .2s; }
body.shi-modern .grecaptcha-badge:hover { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	body.shi-modern #header .menu > li > a { padding-left: 10px !important; padding-right: 10px !important; letter-spacing: .1em; }
	body.shi-modern #header .menu > li > a::before { left: 10px; right: 10px; }
	body.shi-modern .shi-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.shi-modern .shi-grid-4 .shi-service { border-bottom: 1px solid var(--shi-line); padding: 32px 28px 28px !important; }
	body.shi-modern .shi-grid-4 .shi-service:nth-child(odd) { padding-left: 0 !important; }
	body.shi-modern .shi-grid-4 .shi-service:nth-child(even) { border-right: 0; padding-right: 0 !important; }
}

@media (max-width: 1040px) {
	body.shi-modern #header .wrap {
		grid-template-areas: "util util" "logo toggle" "nav nav";
		grid-template-columns: 1fr auto;
	}
	body.shi-modern .shi-menu-toggle { display: inline-flex; }
	body.shi-modern #header #nav_menu-2 { display: none; justify-self: stretch; padding-bottom: 16px; }
	body.shi-modern #header.shi-nav-open #nav_menu-2 { display: block; }
	body.shi-modern #header .menu { flex-direction: column; flex-wrap: nowrap; }
	body.shi-modern #header .menu > li { border-top: 1px solid var(--shi-line) !important; }
	body.shi-modern #header .menu > li > a { padding: 16px 2px !important; font-size: 12.5px !important; }
	body.shi-modern #header .menu > li > a::before { display: none; }
	body.shi-modern #header .menu > .menu-item-has-children > a::after {
		border-bottom: 1.5px solid currentColor; border-right: 1.5px solid currentColor; content: ""; float: right;
		height: 7px; margin-top: 1px; transform: rotate(45deg); width: 7px;
	}
	body.shi-modern #header .menu li ul,
	body.shi-modern #header .menu li ul ul {
		border: 0 !important; box-shadow: none !important; display: none; left: auto !important; margin: 0 0 10px !important;
		min-width: 0; opacity: 1; padding: 0 0 0 14px !important; pointer-events: auto; position: static; transform: none; visibility: visible;
	}
	body.shi-modern #header .menu li.shi-sub-open > ul { display: block; }
	body.shi-modern #header { max-height: 100vh; overflow-y: auto; }

	body.shi-modern.sidebar-content #content-sidebar-wrap,
	body.shi-modern.content-sidebar #content-sidebar-wrap { grid-template-areas: "crumb" "content" "side"; grid-template-columns: minmax(0, 1fr); }
	body.shi-modern #sidebar { position: static; }
	body.shi-modern .shi-proof-grid { gap: 40px; grid-template-columns: minmax(0, 1fr); }
	body.shi-modern .shi-grid-3 { grid-template-columns: minmax(0, 1fr); }
	body.shi-modern .shi-news-card,
	body.shi-modern .shi-news-card:first-child,
	body.shi-modern .shi-news-card:last-child { border-bottom: 1px solid var(--shi-line); border-right: 0; padding: 28px 0 !important; }
	body.shi-modern .shi-resources { gap: 0; }
	body.shi-modern .shi-resource { padding-bottom: 28px !important; }
	body.shi-modern #footer-widgets .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 782px) {
	body.admin-bar.shi-modern #header { top: 46px; }
}

@media (max-width: 680px) {
	body.shi-modern { font-size: 16px; }
	body.shi-modern .shi-util .shi-util-link,
	body.shi-modern .shi-util .shi-util-tag,
	body.shi-modern .shi-util form { display: none; }
	body.shi-modern .shi-util { justify-content: flex-start; }
	body.shi-modern #title, body.shi-modern #title a { height: 52px !important; width: 62px !important; }
	body.shi-modern #title a { background-size: auto 52px !important; }
	body.shi-modern .shi-grid-4 { grid-template-columns: minmax(0, 1fr); }
	body.shi-modern .shi-grid-4 .shi-service,
	body.shi-modern .shi-grid-4 .shi-service:nth-child(odd),
	body.shi-modern .shi-grid-4 .shi-service:nth-child(even) { border-right: 0; padding: 28px 0 !important; }
	body.shi-modern .shi-section { padding-top: 72px; }
	body.shi-modern .shi-section-head { margin-bottom: 36px !important; }
	body.shi-modern .shi-facts { grid-template-columns: minmax(0, 1fr); margin-top: 48px !important; }
	body.shi-modern .shi-fact,
	body.shi-modern .shi-fact + .shi-fact { border-bottom: 1px solid rgba(255, 255, 255, .14); border-right: 0; padding: 18px 0 !important; }
	body.shi-modern .shi-fact:last-child { border-bottom: 0; }
	body.shi-modern .shi-actions .shi-btn { width: 100%; }
	body.shi-modern .shi-proof { margin-top: 72px !important; padding-bottom: 64px !important; padding-top: 64px !important; }
	body.shi-modern .shi-proof-link span.shi-proof-text { font-size: 22px; }
	body.shi-modern .shi-cta { align-items: flex-start; flex-direction: column; margin-top: 80px !important; padding-bottom: 56px !important; padding-top: 56px !important; }
	body.shi-modern .shi-section-head-row { align-items: flex-start; flex-direction: column; }
	body.shi-modern #inner { padding: 32px 0 64px !important; }
	body.shi-modern #content { border-left: 0; border-right: 0; margin: 0 calc(var(--shi-gutter) * -1) !important; }
	body.shi-modern #footer-widgets .wrap { grid-template-columns: minmax(0, 1fr); padding-top: 56px !important; }
	body.shi-modern #footer .wrap { align-items: flex-start; flex-direction: column-reverse; }
	body.shi-modern .entry-content .alignleft,
	body.shi-modern .entry-content .alignright { float: none; display: block; margin: 0 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
	body.shi-modern *,
	body.shi-modern *::before,
	body.shi-modern *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Touch targets: at least 44px tall on touch screens */
@media (pointer: coarse) {
	body.shi-modern .shi-link { min-height: 44px; padding-top: 14px; }
	body.shi-modern #footer .gototop a,
	body.shi-modern #footer-widgets ul li a { display: inline-block; padding: 10px 0; }
	body.shi-modern #footer-widgets ul li { padding: 0 !important; }
}

/* 404 page */
body.shi-modern .shi-404-search { display: flex; gap: 10px; margin: 28px 0 32px; max-width: 560px; }
body.shi-modern .shi-404-search input[type="search"] { flex: 1; }
body.shi-modern .entry-content ul.shi-404-links { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; }
body.shi-modern .entry-content ul.shi-404-links li { list-style: none; padding: 0 !important; }
body.shi-modern .entry-content ul.shi-404-links a { font-weight: 700; }

/* Archive / search headings and listings */
body.shi-modern .archive-description,
body.shi-modern .taxonomy-description,
body.shi-modern .search-description { background: none !important; border-bottom: 1px solid var(--shi-line); margin: 0 0 40px !important; padding: 0 0 28px !important; }
body.shi-modern .archive-title,
body.shi-modern .archive-description h1 { font-size: clamp(32px, 4vw, 46px) !important; margin: 0 !important; }
body.shi-modern.blog #content .post .entry-content p,
body.shi-modern.archive #content .post .entry-content p,
body.shi-modern.search #content .post .entry-content p { color: var(--shi-ink-500); }
body.shi-modern .navigation,
body.shi-modern .archive-pagination { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
body.shi-modern .archive-pagination ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
body.shi-modern .archive-pagination li { list-style: none; }
body.shi-modern .archive-pagination a { border: 1px solid var(--shi-line); display: inline-block; min-width: 44px; padding: 10px 14px; text-align: center; text-decoration: none; }
body.shi-modern .archive-pagination .active a,
body.shi-modern .archive-pagination a:hover { background: var(--shi-navy-900); border-color: var(--shi-navy-900); color: #fff; }
body.shi-modern .more-link { display: inline !important; white-space: nowrap; }
body.shi-modern.blog .addtoany_share_save_container,
body.shi-modern.archive .addtoany_share_save_container,
body.shi-modern.search .addtoany_share_save_container { display: none; }

/* ==========================================================================
   Homepage v3 — richer visuals (apple-design pass)
   Materials, press feedback, scroll reveals, figures band, photo-led tiles.
   ========================================================================== */

/* Header as a translucent material; the edge shadow appears only once content scrolls under it */
body.shi-modern #header {
	background: rgba(255, 255, 255, .84) !important;
	-webkit-backdrop-filter: saturate(180%) blur(18px);
	backdrop-filter: saturate(180%) blur(18px);
	border-bottom-color: transparent;
	transition: box-shadow .3s var(--shi-ease), border-color .3s var(--shi-ease);
}
body.shi-modern #header.is-scrolled {
	border-bottom-color: rgba(15, 23, 42, .06);
	box-shadow: 0 10px 30px -18px rgba(10, 22, 40, .35);
}

/* Press feedback: instant on pointer-down, quick release */
body.shi-modern .shi-btn,
body.shi-modern .shi-tile,
body.shi-modern .shi-proof-link,
body.shi-modern .shi-resource,
body.shi-modern .shi-news-card { -webkit-tap-highlight-color: transparent; }
body.shi-modern .shi-btn:active,
body.shi-modern .shi-tile:active,
body.shi-modern .shi-resource:active,
body.shi-modern .shi-news-card:active { transform: scale(.985); transition: transform 90ms ease-out; }

/* Scroll reveal (only when JS is running and motion is allowed) */
.shi-js body.shi-modern [data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .6s cubic-bezier(.22, 1, .36, 1), transform .75s cubic-bezier(.22, 1, .36, 1);
	transition-delay: calc(var(--i, 0) * 70ms);
}
.shi-js body.shi-modern [data-reveal="media"] { transform: scale(1.035); transition-duration: .9s, 1.1s; }
.shi-js body.shi-modern [data-reveal].is-visible { opacity: 1; transform: none; }

/* Hero: copy + photograph */
body.shi-modern .shi-hero { padding-top: clamp(56px, 7vw, 104px) !important; padding-bottom: clamp(64px, 8vw, 112px) !important; }
body.shi-modern .shi-hero::before { display: none; }
body.shi-modern .shi-hero-grid { align-items: center; display: grid; gap: clamp(40px, 6vw, 88px); grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
body.shi-modern .shi-hero h1 { font-size: clamp(40px, 5vw, 68px) !important; letter-spacing: -0.015em; }
body.shi-modern .shi-hero .shi-lead { max-width: 600px; }
body.shi-modern .shi-hero-media { margin: 0; position: relative; }
body.shi-modern .shi-hero-media::before { /* offset brass frame: a quiet detail */
	border: 1px solid rgba(205, 180, 140, .55); content: ""; inset: 18px -18px -18px 18px; position: absolute; z-index: 0;
}
body.shi-modern .shi-hero-media img {
	aspect-ratio: 5 / 6; border-radius: 0; display: block; filter: saturate(.85) contrast(1.02);
	object-fit: cover; object-position: 50% 40%; position: relative; width: 100%; z-index: 1;
}
body.shi-modern .shi-hero-media figcaption {
	color: #8f9bb0; font-size: 12px; letter-spacing: .12em; margin-top: 30px; text-transform: uppercase;
}

/* Figures band */
body.shi-modern .shi-stats { background: var(--shi-surface); border-bottom: 1px solid var(--shi-line); box-shadow: 0 0 0 100vmax var(--shi-surface); clip-path: inset(0 -100vmax); }
body.shi-modern .shi-stats-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; }
body.shi-modern .shi-stat { border-right: 1px solid var(--shi-line); display: flex; flex-direction: column-reverse; gap: 8px; justify-content: flex-end; padding: 44px 20px 40px !important; }
body.shi-modern .shi-stat:first-child { padding-left: 0 !important; }
body.shi-modern .shi-stat:last-child { border-right: 0; }
body.shi-modern .shi-stat dd {
	color: var(--shi-navy-900); font: 400 clamp(36px, 3.6vw, 52px)/1 var(--shi-font-serif);
	font-variant-numeric: lining-nums tabular-nums; letter-spacing: -0.02em; margin: 0;
}
body.shi-modern .shi-stat dt { color: var(--shi-ink-500); font-size: 12px; font-weight: 700; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; }

/* Services: photo-led bento (3 x 2) */
body.shi-modern .shi-bento {
	display: grid; gap: 20px;
	grid-template-areas: "a b c" "a d e";
	grid-template-columns: 1.25fr 1fr 1fr;
}
body.shi-modern .shi-bento > :nth-child(1) { grid-area: a; }
body.shi-modern .shi-bento > :nth-child(2) { grid-area: b; }
body.shi-modern .shi-bento > :nth-child(3) { grid-area: c; }
body.shi-modern .shi-bento > :nth-child(4) { grid-area: d; }
body.shi-modern .shi-bento > :nth-child(5) { grid-area: e; }
body.shi-modern .shi-tile {
	background: var(--shi-surface);
	border: 1px solid var(--shi-line);
	color: var(--shi-ink-700);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	text-decoration: none !important;
	transition: border-color .25s var(--shi-ease), box-shadow .35s var(--shi-ease), transform .2s var(--shi-ease);
}
body.shi-modern .shi-tile:hover { border-color: #c4ccd8; box-shadow: 0 24px 48px -28px rgba(10, 22, 40, .35); }
body.shi-modern .shi-tile-media { aspect-ratio: 16 / 9; display: block; overflow: hidden; }
body.shi-modern .shi-tile-lg .shi-tile-media { aspect-ratio: auto; flex: 1; min-height: 280px; }
body.shi-modern .shi-tile-media img {
	border-radius: 0; display: block; filter: saturate(.85); height: 100%; object-fit: cover; width: 100%;
	transition: transform .9s cubic-bezier(.22, 1, .36, 1), filter .6s;
}
body.shi-modern .shi-tile:hover .shi-tile-media img { filter: saturate(1); transform: scale(1.035); }
body.shi-modern .shi-tile-body { display: flex; flex-direction: column; gap: 12px; padding: 26px 28px 28px; }
body.shi-modern .shi-tile-plain .shi-tile-body { flex: 1; padding-top: 30px; }
body.shi-modern .shi-tile .shi-num { margin: 0 !important; }
body.shi-modern .shi-tile-title { color: var(--shi-navy-900); display: block; font: 400 26px/1.15 var(--shi-font-serif); transition: color .2s; }
body.shi-modern .shi-tile-lg .shi-tile-title { font-size: 32px; }
body.shi-modern .shi-tile-text { color: var(--shi-ink-500); display: block; flex: 1; font-size: 15.5px; line-height: 1.65; }
body.shi-modern .shi-tile .shi-link { align-self: flex-start; margin-top: 6px; }
body.shi-modern .shi-tile:hover .shi-tile-title { color: var(--shi-blue-700); }
body.shi-modern .shi-tile-dark { background: var(--shi-navy-900); border-color: var(--shi-navy-900); }
body.shi-modern .shi-tile-dark .shi-tile-title,
body.shi-modern .shi-tile-dark:hover .shi-tile-title { color: #fff; }
body.shi-modern .shi-tile-dark .shi-tile-text { color: #b8c2d3; }
body.shi-modern .shi-tile-dark .shi-num { color: var(--shi-brass-lt); }
body.shi-modern .shi-tile-dark .shi-link { border-color: var(--shi-brass); color: #fff !important; }

/* For attorneys */
body.shi-modern .shi-counsel {
	background: var(--shi-navy-900) !important;
	box-shadow: 0 0 0 100vmax var(--shi-navy-900);
	color: #c3ccda;
	margin-top: 112px !important;
	padding-bottom: clamp(64px, 8vw, 104px) !important;
	padding-top: clamp(64px, 8vw, 104px) !important;
}
body.shi-modern .shi-counsel-grid { align-items: center; display: grid; gap: clamp(40px, 6vw, 88px); grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
body.shi-modern .shi-counsel-media { margin: 0; overflow: hidden; }
body.shi-modern .shi-counsel-media img { aspect-ratio: 4 / 3; border-radius: 0; display: block; filter: saturate(.8); object-fit: cover; width: 100%; }
body.shi-modern .shi-counsel .shi-eyebrow { color: var(--shi-brass-lt); }
body.shi-modern .shi-counsel h2 { color: #fff !important; font-size: clamp(32px, 3.6vw, 46px) !important; font-weight: 400 !important; margin: 0 0 20px !important; }
body.shi-modern .shi-counsel p { color: #c3ccda !important; font-size: 18px !important; font-weight: 300; margin-bottom: 28px !important; }
body.shi-modern .shi-pull {
	border-left: 2px solid var(--shi-brass);
	color: #fff;
	font: italic 400 clamp(21px, 2vw, 25px)/1.45 var(--shi-font-serif);
	margin: 0 0 36px !important;
	padding: 2px 0 2px 26px !important;
}
body.shi-modern .shi-counsel + .shi-proof { margin-top: 0 !important; }

@media (max-width: 1180px) {
	body.shi-modern .shi-stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	body.shi-modern .shi-stat:nth-child(3n) { border-right: 0; }
	body.shi-modern .shi-stat:nth-child(3n+1) { padding-left: 0 !important; }
	body.shi-modern .shi-stat:nth-child(-n+3) { border-bottom: 1px solid var(--shi-line); }
}
@media (max-width: 1040px) {
	body.shi-modern .shi-hero-grid,
	body.shi-modern .shi-counsel-grid { grid-template-columns: minmax(0, 1fr); }
	body.shi-modern .shi-hero-media img { aspect-ratio: 3 / 2; }
	body.shi-modern .shi-hero-media::before { inset: 12px -12px -12px 12px; }
	body.shi-modern .shi-bento { grid-template-areas: "a a" "b c" "d e"; grid-template-columns: 1fr 1fr; }
	body.shi-modern .shi-tile-lg .shi-tile-media { aspect-ratio: 16 / 9; flex: none; min-height: 0; }
}
@media (max-width: 680px) {
	body.shi-modern .shi-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.shi-modern .shi-stat,
	body.shi-modern .shi-stat:nth-child(3n),
	body.shi-modern .shi-stat:nth-child(3n+1) { border-bottom: 1px solid var(--shi-line); border-right: 0; padding: 26px 0 !important; }
	body.shi-modern .shi-stat:nth-child(odd) { border-right: 1px solid var(--shi-line); padding-right: 16px !important; }
	body.shi-modern .shi-stat:nth-child(even) { padding-left: 16px !important; }
	body.shi-modern .shi-stat:nth-last-child(-n+2) { border-bottom: 0; }
	body.shi-modern .shi-bento { grid-template-areas: "a" "b" "c" "d" "e"; grid-template-columns: minmax(0, 1fr); }
	body.shi-modern .shi-hero-media::before { display: none; }
	body.shi-modern .shi-counsel { margin-top: 80px !important; }
}

/* Accessibility preferences */
@media (prefers-reduced-motion: reduce) {
	.shi-js body.shi-modern [data-reveal] { opacity: 1; transform: none; transition: none; }
	body.shi-modern .shi-tile:hover .shi-tile-media img { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
	body.shi-modern #header { background: #fff !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
	body.shi-modern #header { background: #fff !important; border-bottom: 1px solid var(--shi-navy-900); }
	body.shi-modern .shi-tile { border-color: var(--shi-ink-500); }
}

/* Top-level menu labels in tracked capitals (new menu uses title case) */
body.shi-modern #header .menu > li > a { text-transform: uppercase !important; }

/* ==========================================================================
   Critique fixes (Nov 2026 design & copy review)
   ========================================================================== */

/* One modular type scale (ratio 1.25, base 17px). Serif for every heading level
   people navigate by; sans only for body, labels and UI. */
:root {
	--shi-step--1: 0.8rem;                               /* labels, eyebrows */
	--shi-step-0: 1.0625rem;                             /* body 17px */
	--shi-step-1: 1.33rem;                               /* lead */
	--shi-step-2: clamp(1.4rem, 1.1rem + 0.9vw, 1.66rem);/* h3, card titles */
	--shi-step-3: clamp(1.6rem, 1.2rem + 1.4vw, 2.07rem);/* h2 inside content */
	--shi-step-4: clamp(2rem, 1.3rem + 2.2vw, 2.9rem);   /* section h2 */
	--shi-step-5: clamp(2.5rem, 1.4rem + 3.4vw, 4.25rem);/* page and hero h1 */
}
body.shi-modern .shi-hero h1 { font-size: var(--shi-step-5) !important; }
body.shi-modern .shi-section-head h2,
body.shi-modern .shi-counsel h2,
body.shi-modern .shi-cta h2,
body.shi-modern .archive-title,
body.shi-modern .archive-description h1 { font-family: var(--shi-font-serif) !important; font-size: var(--shi-step-4) !important; font-weight: 400 !important; }
body.shi-modern #content h1.entry-title { font-size: var(--shi-step-5) !important; }
body.shi-modern .entry-content h2 { font-size: var(--shi-step-3) !important; }
body.shi-modern .entry-content h3,
body.shi-modern .shi-tile-title,
body.shi-modern .shi-proof-title,
body.shi-modern .shi-news-card h3 { font-family: var(--shi-font-serif) !important; font-size: var(--shi-step-2) !important; }
body.shi-modern .shi-tile-lg .shi-tile-title { font-size: var(--shi-step-3) !important; }
body.shi-modern .shi-hero .shi-lead,
body.shi-modern .shi-section-head p { font-size: var(--shi-step-1) !important; }
body.shi-modern .shi-section-head p { font-size: calc(var(--shi-step-1) * .9) !important; }

/* Figures: lead with one number, the rest as a single line */
body.shi-modern .shi-stats-lead {
	align-items: end;
	display: grid;
	gap: 16px 56px;
	grid-template-columns: auto minmax(0, 1fr);
	padding: 56px 0 52px !important;
}
body.shi-modern .shi-stats-figure {
	color: var(--shi-navy-900) !important;
	font: 400 clamp(64px, 9vw, 128px)/.9 var(--shi-font-serif) !important;
	font-variant-numeric: lining-nums tabular-nums;
	letter-spacing: -0.03em;
	margin: 0 !important;
	white-space: nowrap;
}
body.shi-modern .shi-stats-unit {
	color: var(--shi-brass-ink);
	display: block;
	font: 700 13px/1.4 var(--shi-font-sans);
	letter-spacing: .16em;
	margin-top: 14px;
	text-transform: uppercase;
}
body.shi-modern .shi-stats-line {
	border-left: 1px solid var(--shi-line);
	color: var(--shi-ink-700) !important;
	font: 400 clamp(20px, 1.9vw, 26px)/1.45 var(--shi-font-serif) !important;
	margin: 0 0 30px !important;
	max-width: 620px;
	padding-left: 40px !important;
}

/* Our work: four cards with real visual weight */
body.shi-modern .shi-proof .shi-section-head { margin-bottom: 48px !important; }
body.shi-modern .shi-proof-cards { display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.shi-modern .shi-proof-card {
	background: var(--shi-canvas);
	border: 1px solid var(--shi-line);
	color: var(--shi-ink-700);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	text-decoration: none !important;
	transition: border-color .25s var(--shi-ease), box-shadow .35s var(--shi-ease), transform .2s var(--shi-ease);
}
body.shi-modern .shi-proof-card:hover { border-color: #c4ccd8; box-shadow: 0 24px 48px -28px rgba(10, 22, 40, .35); }
body.shi-modern .shi-proof-card:active { transform: scale(.985); transition: transform 90ms ease-out; }
body.shi-modern .shi-proof-media { aspect-ratio: 4 / 3; display: block; overflow: hidden; }
body.shi-modern .shi-proof-media img { border-radius: 0; display: block; filter: saturate(.85); height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.22, 1, .36, 1), filter .6s; width: 100%; }
body.shi-modern .shi-proof-card:hover .shi-proof-media img { filter: saturate(1); transform: scale(1.035); }
body.shi-modern .shi-proof-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 24px 24px 26px; }
body.shi-modern .shi-proof-card .shi-num { margin: 0 !important; }
body.shi-modern .shi-proof-title { color: var(--shi-navy-900); display: block; line-height: 1.15; transition: color .2s; }
body.shi-modern .shi-proof-card:hover .shi-proof-title { color: var(--shi-blue-700); }
body.shi-modern .shi-proof-text { color: var(--shi-ink-500); display: block; flex: 1; font-size: 15.5px; line-height: 1.6; }
body.shi-modern .shi-proof-card .shi-link { align-self: flex-start; margin-top: 4px; }
body.shi-modern .shi-proof-quote { background: var(--shi-navy-900); border-color: var(--shi-navy-900); }
body.shi-modern .shi-proof-quote .shi-proof-title,
body.shi-modern .shi-proof-quote:hover .shi-proof-title { color: #fff; }
body.shi-modern .shi-proof-quote .shi-num { color: var(--shi-brass-lt); }
body.shi-modern .shi-quote { color: #fff; display: block; flex: 1; font: italic 400 clamp(20px, 1.7vw, 24px)/1.4 var(--shi-font-serif); margin-top: 8px; }
body.shi-modern .shi-quote-by { color: #98a4b8; display: block; font-size: 13.5px; line-height: 1.5; }
body.shi-modern .shi-proof-quote .shi-link { border-color: var(--shi-brass); color: #fff !important; }
body.shi-modern .shi-faces { display: flex; margin: 14px 0 6px; padding-left: 12px; }
body.shi-modern .shi-faces img {
	border: 3px solid var(--shi-canvas);
	border-radius: 50%;
	height: 64px;
	margin-left: -12px;
	object-fit: cover;
	transition: transform .25s var(--shi-ease);
	width: 64px;
}
body.shi-modern .shi-proof-team:hover .shi-faces img { transform: translateY(-2px); }
body.shi-modern .shi-proof-team:hover .shi-faces img:nth-child(2) { transition-delay: 30ms; }
body.shi-modern .shi-proof-team:hover .shi-faces img:nth-child(3) { transition-delay: 60ms; }
body.shi-modern .shi-proof-team:hover .shi-faces img:nth-child(4) { transition-delay: 90ms; }
body.shi-modern .shi-proof-team:hover .shi-faces img:nth-child(5) { transition-delay: 120ms; }

/* Blog listing heading */
body.shi-modern .shi-page-no { color: var(--shi-ink-500); font-size: .5em; letter-spacing: .02em; margin-left: 12px; }

/* Visible keyboard focus on cards and dark sections too */
body.shi-modern .shi-tile:focus-visible,
body.shi-modern .shi-proof-card:focus-visible,
body.shi-modern .shi-resource:focus-visible,
body.shi-modern .shi-news-card:focus-visible { outline: 2px solid var(--shi-brass); outline-offset: 4px; }
body.shi-modern .shi-hero :focus-visible,
body.shi-modern .shi-counsel :focus-visible,
body.shi-modern .shi-cta :focus-visible,
body.shi-modern #footer-widgets :focus-visible,
body.shi-modern #footer :focus-visible,
body.shi-modern #text-3 :focus-visible { outline-color: var(--shi-brass-lt); }

@media (max-width: 1180px) {
	body.shi-modern .shi-proof-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	body.shi-modern .shi-stats-lead { align-items: start; grid-template-columns: minmax(0, 1fr); padding: 44px 0 40px !important; }
	body.shi-modern .shi-stats-line { border-left: 0; border-top: 1px solid var(--shi-line); margin: 0 !important; padding: 20px 0 0 !important; }
}
@media (max-width: 680px) {
	body.shi-modern .shi-proof-cards { grid-template-columns: minmax(0, 1fr); }
	body.shi-modern .shi-proof-team .shi-faces img { height: 56px; width: 56px; }
}

body.shi-modern .shi-util .shi-util-phone { margin-right: auto; }

/* Team faces: fit five avatars in a quarter-width card */
body.shi-modern .shi-faces { flex-wrap: nowrap; padding-left: 10px; }
body.shi-modern .shi-faces img { height: 48px; margin-left: -10px; width: 48px; }
@media (max-width: 1180px) { body.shi-modern .shi-faces img { height: 60px; width: 60px; } }
@media (max-width: 680px) { body.shi-modern .shi-proof-team .shi-faces img { height: 52px; width: 52px; } }

@media (pointer: coarse) {
	body.shi-modern .shi-util a { display: inline-block; padding: 16px 0; }
	body.shi-modern #footer .gototop a { padding: 12px 0; }
}

/* ==========================================================================
   v5: hero caption on the photo; credentials panel replaces the binders photo
   ========================================================================== */

/* Hero caption: a solid label pinned to the photo's bottom-left corner, so it
   shares the photo's edges instead of floating under the offset frame. */
body.shi-modern .shi-hero-media figcaption {
	background: var(--shi-navy-950);
	border-left: 2px solid var(--shi-brass);
	bottom: 0;
	color: #dfe5ee;                 /* 13:1 on the navy label */
	font-size: 11.5px;
	font-weight: 700;
	left: 0;
	letter-spacing: .12em;
	line-height: 1.35;
	margin: 0;
	max-width: calc(100% - 24px);
	padding: 11px 16px 11px 14px;
	position: absolute;
	text-transform: uppercase;
	z-index: 2;
}

/* For attorneys: copy left, credentials panel right */
body.shi-modern .shi-counsel-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
body.shi-modern .shi-counsel-copy p { margin-bottom: 34px !important; }
body.shi-modern .shi-cred {
	background: rgba(255, 255, 255, .03);
	border: 1px solid rgba(205, 180, 140, .45);
	padding: clamp(24px, 3vw, 40px) !important;
	position: relative;
}
body.shi-modern .shi-cred::before { /* brass rule across the top edge */
	background: var(--shi-brass); content: ""; height: 2px; left: -1px; position: absolute; right: -1px; top: -1px;
}
body.shi-modern .shi-cred-head {
	align-items: center;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
	display: flex;
	gap: 18px;
	margin-bottom: 8px !important;
	padding-bottom: 22px !important;
}
body.shi-modern .shi-cred-head img {
	border: 2px solid rgba(205, 180, 140, .6);
	border-radius: 50%;
	filter: saturate(.85);
	flex: none;
	height: 72px;
	object-fit: cover;
	width: 72px;
}
body.shi-modern .shi-cred-name { color: #fff; display: block; font: 400 26px/1.15 var(--shi-font-serif); }
body.shi-modern .shi-cred-role { color: var(--shi-brass-lt); display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; margin-top: 6px; text-transform: uppercase; }
body.shi-modern .shi-cred-list { margin: 0; }
body.shi-modern .shi-cred-list > div {
	align-items: baseline;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
	display: grid;
	gap: 20px;
	grid-template-columns: 96px minmax(0, 1fr);
	padding: 16px 0 !important;
}
body.shi-modern .shi-cred-list > div:last-child { border-bottom: 0; padding-bottom: 0 !important; }
body.shi-modern .shi-cred-list dt {
	color: #fff;
	font: 400 34px/1 var(--shi-font-serif);
	font-variant-numeric: lining-nums;
	letter-spacing: -0.01em;
}
body.shi-modern .shi-cred-list dd { color: #c3ccda; font-size: 15.5px; line-height: 1.5; margin: 0; }

@media (max-width: 1040px) {
	body.shi-modern .shi-counsel-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
	body.shi-modern .shi-cred-list > div { gap: 14px; grid-template-columns: 72px minmax(0, 1fr); }
	body.shi-modern .shi-cred-list dt { font-size: 28px; }
	body.shi-modern .shi-hero-media figcaption { font-size: 10.5px; padding: 9px 12px; }
}

/* ==========================================================================
   v6: layout tables with images, sub-page lists, share links
   ========================================================================== */

/* Old pages lay out a picture beside text in a table. Give an image-only cell
   real width instead of letting the table squeeze it to a thumbnail. */
body.shi-modern .entry-content td:has(> img:only-child),
body.shi-modern .entry-content td:has(> a:only-child > img:only-child),
body.shi-modern .entry-content td:has(> p:only-child > img:only-child) { min-width: 200px; width: 260px; }
body.shi-modern .entry-content td:has(> img:only-child) img,
body.shi-modern .entry-content td:has(> a:only-child > img:only-child) img,
body.shi-modern .entry-content td:has(> p:only-child > img:only-child) img { display: block; height: auto; width: 100%; }
/* A layout table is not a data table: no row rules */
body.shi-modern .entry-content table:has(img) td { border-bottom: 0; }
@media (max-width: 680px) {
	body.shi-modern .entry-content table:has(img),
	body.shi-modern .entry-content table:has(img) tbody,
	body.shi-modern .entry-content table:has(img) tr,
	body.shi-modern .entry-content table:has(img) td { display: block; width: auto !important; }
	body.shi-modern .entry-content table:has(img) td:has(> img:only-child),
	body.shi-modern .entry-content table:has(img) td:has(> a:only-child > img:only-child) { max-width: 300px; }
}

/* [su_subpages] and [su_divider] stand-ins */
body.shi-modern .shi-subpages { border-top: 2px solid var(--shi-navy-900); margin: 2em 0; padding-top: 6px; }
body.shi-modern .entry-content .shi-subpages ul { margin: 0; }
body.shi-modern .entry-content .shi-subpages li { border-bottom: 1px solid var(--shi-line-2); list-style: none; margin: 0; padding: 0 !important; }
body.shi-modern .entry-content .shi-subpages li a { display: block; font-weight: 700; padding: 12px 0; text-decoration: none; }
body.shi-modern .entry-content .shi-subpages li a:hover { color: var(--shi-navy-900); text-decoration: underline; }
body.shi-modern .entry-content .shi-subpages .children { margin: 0 0 8px 16px; }
body.shi-modern .entry-content .shi-subpages .children a { font-weight: 400; padding: 8px 0; }
body.shi-modern .shi-divider { border: 0; border-top: 1px solid var(--shi-line); margin: 2.4em 0; }

/* Share links */
body.shi-modern .shi-share { border-top: 1px solid var(--shi-line); margin-top: 48px; padding-top: 24px; }
body.shi-modern .entry-content .shi-share-label { color: var(--shi-navy-900); font: 700 12px/1.3 var(--shi-font-sans) !important; letter-spacing: .16em; margin: 0 0 14px !important; text-transform: uppercase; }
body.shi-modern .entry-content .shi-share-help { color: var(--shi-ink-500); font-size: 14.5px !important; line-height: 1.5 !important; margin: 0 0 16px !important; }
body.shi-modern .entry-content .shi-share ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
body.shi-modern .entry-content .shi-share li { list-style: none; margin: 0; padding: 0 !important; }
body.shi-modern .shi-share a {
	align-items: center;
	background: #fff;
	border: 1px solid var(--shi-line);
	border-radius: var(--shi-radius);
	color: var(--shi-navy-900) !important;
	display: inline-flex;
	font-size: 14px;
	font-weight: 700;
	gap: 10px;
	min-height: 44px;
	padding: 0 16px;
	text-decoration: none !important;
	transition: background .2s var(--shi-ease), border-color .2s var(--shi-ease), color .2s var(--shi-ease);
}
body.shi-modern .shi-share svg { fill: currentColor; flex: none; }
body.shi-modern .shi-share-facebook svg { color: #0866ff; }
body.shi-modern .shi-share-x svg { color: #000; }
body.shi-modern .shi-share-linkedin svg { color: #0a66c2; }
body.shi-modern .shi-share-email svg { color: var(--shi-ink-500); }
body.shi-modern .shi-share a:hover { border-color: var(--shi-navy-900); }
body.shi-modern .shi-share a:active { transform: scale(.98); transition: transform 90ms ease-out; }
body.shi-modern .addtoany_share_save_container { display: none !important; } /* plugin output, if any slips through */

/* ==========================================================================
   v7: order buttons, page subtitle, responsive video
   ========================================================================== */

/* Themed "Order now" button (replaces the 2012 GIF) */
body.shi-modern .entry-content .shi-btn-order { margin: 8px 0 4px; }
body.shi-modern .entry-content td .shi-btn-order { margin-top: 16px; }

/* A page's own opening heading, shown as a subtitle under the title */
body.shi-modern .entry-content .shi-deck {
	color: var(--shi-ink-500) !important;
	font: italic 400 clamp(21px, 2vw, 25px)/1.4 var(--shi-font-serif) !important;
	margin: -6px 0 36px !important;
}

/* Video embeds scale with the column */
body.shi-modern .shi-video {
	aspect-ratio: 16 / 9;
	background: var(--shi-navy-950);
	margin: 18px 0 32px;
	max-width: 760px;
	width: 100%;
}
body.shi-modern .shi-video iframe { border: 0; display: block; height: 100%; max-width: none; width: 100%; }

/* ==========================================================================
   v9: Homepage and About page from the IT build instructions (Sept 2026)
   ========================================================================== */

/* Header: "Request a proposal" button at the right of the main menu */
body.shi-modern #header .menu > li.shi-nav-cta { align-self: center; margin-left: 14px; }
body.shi-modern #header .menu > li.shi-nav-cta > a {
	background: var(--shi-navy-900) !important; border: 1px solid var(--shi-navy-900); border-radius: var(--shi-radius);
	color: #fff !important; line-height: 1 !important; padding: 13px 18px !important;
	transition: background .2s var(--shi-ease), border-color .2s var(--shi-ease);
}
body.shi-modern #header .menu > li.shi-nav-cta > a::before { display: none; }
body.shi-modern #header .menu > li.shi-nav-cta > a:hover { background: var(--shi-blue-700) !important; border-color: var(--shi-blue-700); }
body.shi-modern #header .menu > li.shi-nav-cta > a:active { transform: scale(.985); }
@media (max-width: 1040px) {
	body.shi-modern #header .menu > li.shi-nav-cta { margin: 12px 0 0; }
	body.shi-modern #header .menu > li.shi-nav-cta > a { display: flex; justify-content: center; padding: 16px !important; }
}

/* Pictures inside the hero behave like the old <img> */
body.shi-modern .shi-hero-media picture { display: block; position: relative; z-index: 1; }

/* Numbers bar: five figures (2 across on phones) */
body.shi-modern .shi-stats-grid.shi-stats-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
body.shi-modern .shi-stats-5 .shi-stat { padding: 40px 24px 36px !important; }
body.shi-modern .shi-stats-5 .shi-stat:first-child { padding-left: 0 !important; }
body.shi-modern .shi-stats-5 .shi-stat:last-child { padding-right: 0 !important; }
body.shi-modern .shi-stats-5 .shi-stat dd { font-size: clamp(32px, 3.2vw, 46px); white-space: nowrap; }
body.shi-modern .shi-stat-sep { color: var(--shi-brass); font-weight: 300; margin: 0 .12em; }
@media (max-width: 1180px) and (min-width: 681px) {
	body.shi-modern .shi-stats-5 .shi-stat:nth-child(n) { border-bottom: 0; border-right: 1px solid var(--shi-line); padding: 36px 16px 32px !important; }
	body.shi-modern .shi-stats-5 .shi-stat:first-child { padding-left: 0 !important; }
	body.shi-modern .shi-stats-5 .shi-stat:last-child { border-right: 0; }
}
@media (max-width: 680px) {
	body.shi-modern .shi-stats-grid.shi-stats-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.shi-modern .shi-stats-5 .shi-stat:nth-child(n) { border-bottom: 1px solid var(--shi-line); border-right: 0; padding: 24px 0 !important; }
	body.shi-modern .shi-stats-5 .shi-stat:nth-child(odd) { border-right: 1px solid var(--shi-line); padding-right: 16px !important; }
	body.shi-modern .shi-stats-5 .shi-stat:nth-child(even) { padding-left: 16px !important; }
	body.shi-modern .shi-stats-5 .shi-stat:last-child { border-bottom: 0; border-right: 0; grid-column: 1 / -1; }
}

/* Two-column section: heading left, content right */
body.shi-modern .shi-split { align-items: start; display: grid; gap: clamp(32px, 6vw, 96px); grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
body.shi-modern .shi-split > .shi-section-head { margin-bottom: 0 !important; }

/* Ruled list (no bullets; hairlines between items) */
body.shi-modern ul.shi-ruled-list,
body.shi-modern .entry-content ul.shi-ruled-list { border-top: 1px solid var(--shi-navy-900); list-style: none !important; margin: 0 !important; padding: 0 !important; }
body.shi-modern ul.shi-ruled-list li,
body.shi-modern .entry-content ul.shi-ruled-list li {
	border-bottom: 1px solid var(--shi-line); color: var(--shi-ink-700); font-size: 18px !important; line-height: 1.6 !important;
	list-style: none !important; margin: 0 !important; padding: 20px 0 20px 34px !important; position: relative;
}
body.shi-modern ul.shi-ruled-list li::before {
	background: var(--shi-brass); content: ""; height: 1px; left: 0; position: absolute; top: 34px; width: 18px;
}
body.shi-modern .shi-ruled-list strong { color: var(--shi-navy-900); }
body.shi-modern .shi-ruled-list cite { color: var(--shi-navy-900); font-family: var(--shi-font-serif); font-size: 1.1em; font-style: italic; }

/* Services: 3 + 2 on desktop */
body.shi-modern .shi-bento.shi-bento-32 { grid-template-areas: none; grid-template-columns: repeat(6, minmax(0, 1fr)); }
body.shi-modern .shi-bento-32 > * { grid-column: span 2 !important; grid-row: auto !important; }
body.shi-modern .shi-bento-32 > :nth-child(n+4) { grid-column: span 3 !important; }
body.shi-modern .shi-bento-32 .shi-tile-title { font-size: 25px; }
@media (max-width: 1040px) {
	body.shi-modern .shi-bento.shi-bento-32 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.shi-modern .shi-bento-32 > *,
	body.shi-modern .shi-bento-32 > :nth-child(n+4) { grid-column: span 1 !important; }
	body.shi-modern .shi-bento-32 > :first-child { grid-column: 1 / -1 !important; }
}
@media (max-width: 680px) {
	body.shi-modern .shi-bento.shi-bento-32 { grid-template-columns: minmax(0, 1fr); }
	body.shi-modern .shi-bento-32 > :first-child { grid-column: auto !important; }
}

/* Secondary button on light backgrounds */
body.shi-modern .shi-btn-ghost { background: transparent; color: var(--shi-navy-900) !important; }
body.shi-modern .shi-btn-ghost:hover { background: var(--shi-navy-900); border-color: var(--shi-navy-900); color: #fff !important; }

/* "Why Safe Havens" / "Our approach": warm paper band, numbered points */
body.shi-modern .shi-why {
	background: var(--shi-canvas); box-shadow: 0 0 0 100vmax var(--shi-canvas);
	margin-top: 104px !important; padding: 96px 0 !important;
}
body.shi-modern .shi-points { display: grid; gap: 0 clamp(32px, 5vw, 72px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.shi-modern .shi-points-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.shi-modern .shi-point { border-top: 1px solid var(--shi-navy-900); padding: 28px 0 36px !important; }
body.shi-modern .shi-point .shi-num { margin-bottom: 18px !important; }
body.shi-modern .shi-point p,
body.shi-modern #home-featured .shi-point p,
body.shi-modern .entry-content .shi-point p { color: var(--shi-ink-700) !important; font-size: 17px !important; line-height: 1.7 !important; margin: 0 !important; }
body.shi-modern .shi-point strong { color: var(--shi-navy-900); display: block; font: 400 25px/1.2 var(--shi-font-serif); margin-bottom: 12px; }
@media (max-width: 860px) {
	body.shi-modern .shi-points,
	body.shi-modern .shi-points-3 { grid-template-columns: minmax(0, 1fr); }
	body.shi-modern .shi-why { margin-top: 72px !important; padding: 64px 0 !important; }
}

/* Featured work: 2 x 2 project cards */
body.shi-modern .shi-projects { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.shi-modern .shi-project {
	background: var(--shi-surface); border: 1px solid var(--shi-line); border-top: 2px solid var(--shi-brass);
	padding: 32px 34px 30px !important;
}
body.shi-modern .shi-project-title,
body.shi-modern #home-featured .shi-project-title { color: var(--shi-navy-900) !important; font: 400 26px/1.2 var(--shi-font-serif) !important; margin: 0 0 14px !important; }
body.shi-modern .shi-project p,
body.shi-modern #home-featured .shi-project p { color: var(--shi-ink-500); font-size: 16px; line-height: 1.7; }
@media (max-width: 760px) { body.shi-modern .shi-projects { grid-template-columns: minmax(0, 1fr); } }

/* Client pull quote */
body.shi-modern .shi-pullquote {
	background: var(--shi-navy-900); box-shadow: 0 0 0 100vmax var(--shi-navy-900);
	margin-top: 104px !important; padding: clamp(64px, 8vw, 104px) 0 !important;
}
body.shi-modern .shi-pullquote figure { margin: 0 auto; max-width: 940px; position: relative; }
body.shi-modern .shi-pullquote blockquote { background: none; border: 0; margin: 0; padding: 0; }
body.shi-modern .shi-pullquote blockquote p,
body.shi-modern #home-featured .shi-pullquote blockquote p {
	color: #fff !important; font: italic 400 clamp(22px, 2.4vw, 31px)/1.45 var(--shi-font-serif) !important; margin: 0 !important;
}
body.shi-modern .shi-pullquote figcaption { border-top: 1px solid rgba(205, 180, 140, .4); display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 32px; padding-top: 22px; }
body.shi-modern .shi-quote-name { color: #fff; font-weight: 700; letter-spacing: .02em; }
body.shi-modern .shi-quote-org { color: var(--shi-brass-lt); }

/* Trusted by: one line of agency names in small caps */
body.shi-modern .shi-trusted { border-bottom: 1px solid var(--shi-line); padding: 44px 0 !important; text-align: center; }
body.shi-modern .shi-trusted p,
body.shi-modern #home-featured .shi-trusted p { color: var(--shi-ink-500); font-size: 13px; letter-spacing: .14em; line-height: 2; text-transform: uppercase; }
body.shi-modern .shi-trusted-label { color: var(--shi-brass-ink); font-weight: 700; margin-right: 14px; }
body.shi-modern .shi-trusted-list { color: var(--shi-navy-900); }

/* Closing band with two buttons */
body.shi-modern .shi-cta .shi-actions { flex: none; }
body.shi-modern.home .shi-cta { margin-top: 0 !important; }
body.shi-modern .shi-pullquote figure { border-left: 2px solid var(--shi-brass); padding-left: clamp(24px, 4vw, 48px); }
@media (max-width: 680px) { body.shi-modern .shi-cta .shi-actions { width: 100%; } }

/* ---------- About page (built page: full-width sections, no boxed column) ---------- */
body.shi-modern.shi-built-page #inner { padding-top: 24px !important; padding-bottom: 0 !important; }
body.shi-modern.shi-built-page #content-sidebar-wrap { gap: 20px; }
body.shi-modern.shi-built-page #content,
body.shi-modern.shi-built-page #content-sidebar-wrap:not(:has(#sidebar .widget)) #content {
	background: none; border: 0; box-shadow: none; max-width: none; padding: 0 !important;
}
body.shi-modern.shi-built-page .breadcrumb { margin: 0 !important; }
body.shi-modern.shi-built-page .entry-content { overflow: visible; }
body.shi-modern .shi-page-hero .shi-hero-media img { object-position: 22% 50%; }
body.shi-modern.shi-built-page .entry-content > .shi-cta { margin-top: 104px !important; }

body.shi-modern .entry-content .shi-page-hero h1.shi-page-h1 {
	color: #fff !important; font-size: clamp(38px, 4.6vw, 62px) !important; font-weight: 400 !important;
	line-height: 1.06 !important; margin: 0 0 22px !important;
}
body.shi-modern .entry-content .shi-page-hero .shi-tagline { color: var(--shi-brass-lt) !important; font: italic 400 clamp(21px, 2vw, 26px)/1.35 var(--shi-font-serif) !important; margin: 0 0 22px !important; }
body.shi-modern .entry-content .shi-page-hero .shi-tagline strong { font-weight: 500; }
body.shi-modern .entry-content .shi-page-hero .shi-lead { font-size: 18px !important; margin: 0 0 16px !important; }
body.shi-modern .shi-page-hero .shi-hero-media img { aspect-ratio: 4 / 5; }
@media (max-width: 1040px) { body.shi-modern .shi-page-hero .shi-hero-media img { aspect-ratio: 3 / 2; } }

body.shi-modern .entry-content .shi-section-head h2 { margin-top: 0 !important; }
body.shi-modern .shi-section-tight { padding-top: 88px; }
body.shi-modern .shi-prose-lead,
body.shi-modern .entry-content .shi-prose-lead { color: var(--shi-navy-900) !important; font: 400 clamp(22px, 2.1vw, 27px)/1.45 var(--shi-font-serif) !important; margin-bottom: 24px !important; }
body.shi-modern .shi-prose strong { color: var(--shi-navy-900); }

body.shi-modern .shi-stats-titled { border-top: 1px solid var(--shi-line); margin-top: 104px !important; }
body.shi-modern .entry-content .shi-stats-title { color: var(--shi-brass-ink) !important; font: 700 13px/1.3 var(--shi-font-sans) !important; letter-spacing: .18em; margin: 36px 0 0 !important; text-transform: uppercase; }

body.shi-modern .shi-experience { column-gap: clamp(32px, 5vw, 72px); columns: 2; }
body.shi-modern .entry-content .shi-experience p { border-top: 1px solid var(--shi-line); break-inside: avoid; margin: 0 !important; padding: 22px 0 26px; }
body.shi-modern .shi-experience strong { color: var(--shi-navy-900); display: block; font: 400 22px/1.25 var(--shi-font-serif); margin-bottom: 8px; }
@media (max-width: 860px) { body.shi-modern .shi-experience { columns: 1; } }

/* What we do: 3 + 2 text cards, each whole card a link */
body.shi-modern .shi-cards { display: grid; gap: 20px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
body.shi-modern .shi-card {
	background: var(--shi-surface); border: 1px solid var(--shi-line); color: var(--shi-ink-700);
	display: flex; flex-direction: column; gap: 12px; grid-column: span 2; padding: 28px 28px 26px; text-decoration: none !important;
	transition: border-color .25s var(--shi-ease), box-shadow .35s var(--shi-ease);
}
body.shi-modern .shi-card:nth-child(n+4) { grid-column: span 3; }
body.shi-modern .shi-card:hover { border-color: #c4ccd8; box-shadow: 0 24px 48px -28px rgba(10, 22, 40, .35); }
body.shi-modern .shi-card:active { transform: scale(.985); transition: transform 90ms ease-out; }
body.shi-modern .shi-card .shi-num { margin: 0 !important; }
body.shi-modern .shi-card-title { color: var(--shi-navy-900); font: 400 24px/1.2 var(--shi-font-serif); }
body.shi-modern .shi-card-text { color: var(--shi-ink-500); flex: 1; font-size: 15.5px; line-height: 1.65; }
body.shi-modern .shi-card .shi-link { align-self: flex-start; }
body.shi-modern .shi-card-dark { background: var(--shi-navy-900); border-color: var(--shi-navy-900); }
body.shi-modern .shi-card-dark .shi-card-title { color: #fff; }
body.shi-modern .shi-card-dark .shi-card-text { color: #b8c2d3; }
body.shi-modern .shi-card-dark .shi-num { color: var(--shi-brass-lt); }
body.shi-modern .shi-card-dark .shi-link { color: #fff !important; }
@media (max-width: 1040px) {
	body.shi-modern .shi-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.shi-modern .shi-card,
	body.shi-modern .shi-card:nth-child(n+4) { grid-column: span 1; }
	body.shi-modern .shi-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
	body.shi-modern .shi-cards { grid-template-columns: minmax(0, 1fr); }
	body.shi-modern .shi-card:last-child { grid-column: auto; }
}

/* Research: list + book covers */
body.shi-modern .shi-research-grid { align-items: start; display: grid; gap: clamp(32px, 6vw, 88px); grid-template-columns: minmax(0, 1fr) auto; }
body.shi-modern .shi-covers { display: flex; gap: 20px; padding-top: 8px; }
body.shi-modern .shi-covers img { box-shadow: 0 22px 40px -22px rgba(10, 22, 40, .55); display: block; height: auto; width: clamp(130px, 13vw, 180px); }
body.shi-modern .shi-covers picture:nth-child(2) { margin-top: 36px; }
@media (max-width: 860px) {
	body.shi-modern .shi-research-grid { grid-template-columns: minmax(0, 1fr); }
	body.shi-modern .shi-covers picture:nth-child(2) { margin-top: 0; }
}

/* Leadership bios */
body.shi-modern .shi-bio {
	border-top: 1px solid var(--shi-navy-900); display: grid; gap: clamp(28px, 4vw, 56px);
	grid-template-columns: 240px minmax(0, 1fr); padding: 36px 0 44px;
}
body.shi-modern .shi-bio img { aspect-ratio: 4 / 5; display: block; filter: saturate(.9); height: auto; object-fit: cover; width: 100%; }
body.shi-modern .entry-content .shi-bio-name { font-size: clamp(28px, 2.6vw, 34px) !important; margin: 0 0 4px !important; }
body.shi-modern .entry-content .shi-bio-role { color: var(--shi-brass-ink) !important; font-size: 12.5px !important; font-weight: 700; letter-spacing: .16em; margin: 0 0 22px !important; text-transform: uppercase; }
body.shi-modern .shi-bio-body { max-width: 760px; }
body.shi-modern .shi-team-note { background: var(--shi-canvas); border-left: 2px solid var(--shi-brass); margin-top: 12px; padding: clamp(28px, 4vw, 48px) !important; }
body.shi-modern .entry-content .shi-team-note h2 { margin: 0 0 14px !important; }
body.shi-modern .shi-team-note p { max-width: 760px; }
body.shi-modern .shi-team-note .shi-btn { margin-top: 10px; }
@media (max-width: 680px) {
	body.shi-modern .shi-bio { grid-template-columns: minmax(0, 1fr); }
	body.shi-modern .shi-bio picture { max-width: 220px; }
}

/* Click-to-play video: the player loads only after a click */
body.shi-modern .shi-video-facade { position: relative; }
body.shi-modern .shi-video-play {
	background: var(--shi-navy-950); border: 0; border-radius: 0; cursor: pointer; display: block; height: 100%;
	margin: 0; min-height: 0; padding: 0; position: relative; width: 100%;
}
body.shi-modern .shi-video-play img { display: block; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s; width: 100%; }
body.shi-modern .shi-video-play:hover img { opacity: 1; }
body.shi-modern .shi-video-icon {
	align-items: center; background: rgba(15, 31, 56, .9); border: 1px solid var(--shi-brass-lt); border-radius: 50%;
	color: #fff; display: flex; height: 76px; justify-content: center; left: 50%; position: absolute; top: 50%;
	transform: translate(-50%, -50%); transition: background .2s, transform .2s var(--shi-ease); width: 76px;
}
body.shi-modern .shi-video-play:hover .shi-video-icon { background: var(--shi-navy-900); transform: translate(-50%, -50%) scale(1.05); }
body.shi-modern .shi-video-play:active .shi-video-icon { transform: translate(-50%, -50%) scale(.97); }
body.shi-modern .shi-video-icon svg { height: 26px; margin-left: 4px; width: 26px; }
body.shi-modern .shi-video-label {
	background: rgba(10, 22, 40, .82); bottom: 0; color: #fff; font-size: 13px; font-weight: 700; left: 0;
	letter-spacing: .12em; padding: 12px 18px; position: absolute; text-transform: uppercase;
}

/* Breadcrumb separator */
body.shi-modern .breadcrumb .shi-crumb-sep { color: var(--shi-brass); margin: 0 6px; }

@media (max-width: 1040px) {
	body.shi-modern .shi-split { grid-template-columns: minmax(0, 1fr); }
}


/* ==========================================================================
   v10: fixes from the Nov 2026 tester review
   ========================================================================== */

/* Old theme fonts (Questrial, Open Sans) leaking into the footer and sidebar */
body.shi-modern #footer, body.shi-modern #footer *,
body.shi-modern #footer-widgets, body.shi-modern #footer-widgets *,
body.shi-modern #sidebar, body.shi-modern #sidebar *,
body.shi-modern .widget-area, body.shi-modern .widget-area * { font-family: var(--shi-font-sans) !important; }
body.shi-modern #footer-widgets h4, body.shi-modern #footer-widgets .widgettitle { font-family: var(--shi-font-sans) !important; }

/* Comfortable line length for long-form text (about 70 characters) */
body.shi-modern .entry-content > p,
body.shi-modern .entry-content > ul,
body.shi-modern .entry-content > ol,
body.shi-modern .entry-content > blockquote { max-width: 70ch; }

/* Top bar: "(login)" note */
body.shi-modern .shi-util-note { opacity: .7; font-weight: 400; }

/* Our Team: named grid linking to each bio */
body.shi-modern .shi-team-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin: 0 0 40px; }
body.shi-modern .shi-team-card {
	border: 1px solid var(--shi-line); color: var(--shi-ink-700); display: flex; flex-direction: column; gap: 4px;
	padding: 0 0 18px; text-decoration: none !important; transition: border-color .25s var(--shi-ease), box-shadow .35s var(--shi-ease);
}
body.shi-modern .shi-team-card:hover { border-color: #c4ccd8; box-shadow: 0 24px 48px -28px rgba(10, 22, 40, .35); }
body.shi-modern .entry-content .shi-team-card img { aspect-ratio: 1; border-radius: 0; display: block; margin-bottom: 12px; object-fit: cover; width: 100%; }
body.shi-modern .shi-team-name { color: var(--shi-navy-900); font: 400 21px/1.2 var(--shi-font-serif); padding: 0 16px; }
body.shi-modern .shi-team-role { color: var(--shi-ink-500); font-size: 13.5px; line-height: 1.45; padding: 0 16px; }

/* Contact: details above the form */
body.shi-modern .shi-contact-details {
	border-bottom: 1px solid var(--shi-line); border-top: 1px solid var(--shi-navy-900);
	display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 36px; padding: 24px 0;
}
body.shi-modern .shi-contact-details > div { color: var(--shi-ink-700); font-size: 16.5px; line-height: 1.6; }
body.shi-modern .shi-contact-label { color: var(--shi-brass-ink); display: block; font-size: 12px; font-weight: 700; letter-spacing: .16em; margin-bottom: 6px; text-transform: uppercase; }
@media (max-width: 680px) { body.shi-modern .shi-contact-details { grid-template-columns: minmax(0, 1fr); } }

/* Resources: index of the library */
body.shi-modern .shi-resource-index { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 48px; }
body.shi-modern .shi-resource-item {
	border: 1px solid var(--shi-line); border-top: 2px solid var(--shi-brass); display: flex; flex-direction: column; gap: 8px;
	padding: 22px 24px; text-decoration: none !important; transition: border-color .25s var(--shi-ease), box-shadow .35s var(--shi-ease);
}
body.shi-modern .shi-resource-item:hover { box-shadow: 0 24px 48px -28px rgba(10, 22, 40, .35); }
body.shi-modern .shi-resource-item-title { color: var(--shi-navy-900); font: 400 22px/1.25 var(--shi-font-serif); }
body.shi-modern .shi-resource-item-text { color: var(--shi-ink-500); font-size: 15.5px; line-height: 1.6; }
@media (max-width: 680px) { body.shi-modern .shi-resource-index { grid-template-columns: minmax(0, 1fr); } }

/* Contact form labels */
body.shi-modern .wpcf7 label { color: var(--shi-navy-900); display: block; font-size: 14px; font-weight: 700; letter-spacing: .02em; }
body.shi-modern .wpcf7 label input,
body.shi-modern .wpcf7 label textarea { font-weight: 400; margin-top: 6px; }


/* ==========================================================================
   v11: blog filters, post cards, social icons
   ========================================================================== */

/* Blog: search, filter and sort bar */
body.shi-modern .shi-blog-filters {
	align-items: end; background: var(--shi-canvas); border-top: 2px solid var(--shi-navy-900);
	display: grid; gap: 16px 18px; grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr));
	margin: 8px 0 18px; padding: 22px 24px 24px;
}
body.shi-modern .shi-field label { color: var(--shi-navy-900); display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; margin-bottom: 6px; text-transform: uppercase; }
body.shi-modern .shi-blog-filters input[type="search"],
body.shi-modern .shi-blog-filters select {
	background: #fff; border: 1px solid #b9c2cf; border-radius: var(--shi-radius); color: var(--shi-ink-900);
	font: 400 15.5px/1.2 var(--shi-font-sans); height: 46px; margin: 0; padding: 0 12px; width: 100%;
}
body.shi-modern .shi-blog-filters input:focus,
body.shi-modern .shi-blog-filters select:focus { border-color: var(--shi-navy-900); outline: 2px solid var(--shi-brass); outline-offset: 1px; }
body.shi-modern .shi-field-actions { align-items: center; display: flex; gap: 16px; grid-column: 1 / -1; }
body.shi-modern .shi-blog-filters .shi-btn { min-height: 46px; }
body.shi-modern .shi-blog-reset { color: var(--shi-ink-500) !important; font-size: 14px; text-decoration: underline !important; }
body.shi-modern .shi-blog-count { color: var(--shi-ink-500) !important; font-size: 14.5px !important; margin: 0 0 22px !important; }
@media (max-width: 1100px) {
	body.shi-modern .shi-blog-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.shi-modern .shi-field-q { grid-column: 1 / -1; }
}
@media (max-width: 560px) { body.shi-modern .shi-blog-filters { grid-template-columns: minmax(0, 1fr); padding: 18px; } }

/* Blog: article cards */
body.shi-modern .shi-post-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
body.shi-modern .shi-post-card {
	background: #fff; border: 1px solid var(--shi-line); color: var(--shi-ink-700); display: flex; flex-direction: column; gap: 10px;
	padding: 22px 22px 20px; text-decoration: none !important; transition: border-color .25s var(--shi-ease), box-shadow .35s var(--shi-ease);
}
body.shi-modern .shi-post-card:hover { border-color: #c4ccd8; box-shadow: 0 24px 48px -28px rgba(10, 22, 40, .35); }
body.shi-modern .shi-post-card:active { transform: scale(.985); transition: transform 90ms ease-out; }
body.shi-modern .shi-post-meta { align-items: center; color: var(--shi-brass-ink); display: flex; flex-wrap: wrap; font-size: 12px; font-weight: 700; gap: 6px 12px; letter-spacing: .1em; text-transform: uppercase; }
body.shi-modern .shi-post-topic { color: var(--shi-ink-500); font-weight: 400; }
body.shi-modern .shi-post-title { color: var(--shi-navy-900); font: 400 21px/1.25 var(--shi-font-serif); }
body.shi-modern .shi-post-card:hover .shi-post-title { color: var(--shi-blue-700); }
body.shi-modern .shi-post-excerpt { color: var(--shi-ink-500); flex: 1; font-size: 15px; line-height: 1.6; }
body.shi-modern .shi-post-by { border-top: 1px solid var(--shi-line-2); color: var(--shi-ink-500); font-size: 13px; padding-top: 10px; }
body.shi-modern .shi-pagination { display: flex; flex-wrap: wrap; gap: 6px; margin: 36px 0 0; }
body.shi-modern .shi-pagination .page-numbers {
	align-items: center; border: 1px solid var(--shi-line); color: var(--shi-navy-900); display: inline-flex; font-size: 14px;
	justify-content: center; min-height: 44px; min-width: 44px; padding: 0 14px; text-decoration: none;
}
body.shi-modern .shi-pagination .page-numbers.current { background: var(--shi-navy-900); border-color: var(--shi-navy-900); color: #fff; }
body.shi-modern .shi-pagination a.page-numbers:hover { border-color: var(--shi-navy-900); }
body.shi-modern .shi-pagination .dots { border: 0; }

/* Social follow links */
body.shi-modern .shi-social { align-items: center; display: inline-flex; flex-wrap: wrap; gap: 10px; }
body.shi-modern .shi-social a {
	align-items: center; border: 1px solid var(--shi-line); border-radius: var(--shi-radius); color: var(--shi-navy-900);
	display: inline-flex; font-size: 14.5px; font-weight: 700; gap: 8px; min-height: 44px; padding: 0 14px; text-decoration: none !important;
}
body.shi-modern .shi-social a:hover { border-color: var(--shi-navy-900); }
body.shi-modern .shi-social-facebook svg { color: #1877f2; }
body.shi-modern .shi-follow { align-items: center; border-top: 1px solid var(--shi-line); display: flex; flex-wrap: wrap; gap: 12px 18px; margin: 32px 0 0; padding-top: 24px; }
body.shi-modern .shi-follow p { margin: 0 !important; }

/* Top bar: small icons right after the phone number */
body.shi-modern .shi-social-bar { gap: 2px; margin-left: 4px; }
body.shi-modern .shi-social-bar a { border: 0; color: #c3ccda; justify-content: center; min-height: 32px; min-width: 32px; padding: 0; }
body.shi-modern .shi-social-bar a:hover { color: #fff; }
body.shi-modern .shi-social-bar svg { height: 15px; width: 15px; }
body.shi-modern .shi-social-bar .shi-social-facebook svg { color: currentColor; }

/* Top bar: keep the Facebook / X icons right beside the phone number */
body.shi-modern .shi-util .shi-util-phone { margin-right: 0; }
body.shi-modern .shi-util .shi-social-bar { margin-left: -14px; margin-right: auto; }
body.shi-modern .shi-util .shi-social-bar a { display: inline-flex; padding: 0; }

/* Blog filters: keywords on their own full-width row, the four dropdowns share the row below */
body.shi-modern .shi-blog-filters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.shi-modern .shi-blog-filters .shi-field-q { grid-column: 1 / -1; }
body.shi-modern .shi-blog-filters select { padding-right: 30px; text-overflow: ellipsis; }
@media (max-width: 1100px) { body.shi-modern .shi-blog-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { body.shi-modern .shi-blog-filters { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1101px) { body.shi-modern .shi-blog-filters { grid-template-columns: 1.5fr 1.2fr .7fr 1fr; } }
/* Blog filters: slim custom arrow so the selected text gets the full box width */
body.shi-modern .shi-blog-filters select {
	-webkit-appearance: none; appearance: none;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%230f1f38' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center;
	padding-left: 12px; padding-right: 30px;
}
@media (min-width: 1101px) { body.shi-modern .shi-blog-filters { grid-template-columns: 1.6fr 1.2fr .8fr 1fr; gap: 16px 14px; } }
