/* ielena header consistency */
@media (min-width: 861px) and (max-width: 1180px) { html body.page-id-24 .nh2-header .brand { left: -40px !important; } }
@media (min-width: 861px) {
	/* Current page: a thin border around the word, never a line through it (not for in-page # links) */
	html body .primary-nav .menu .current-menu-item a::after { display: none !important; }
	html body .primary-nav .menu .current-menu-item:not(.nh-cta) a:not([href^="#"]) {
		border: 0 !important; position: relative;
	}
	/* The box is drawn outside the word so it never changes the bar's width */
	html body .primary-nav .menu .current-menu-item:not(.nh-cta) a:not([href^="#"])::before {
		content: ""; position: absolute; inset: -12px -18px; border: 1px solid currentColor; pointer-events: none;
	}
	/* Name/logo sits in the exact centre of the bar on every page (v1.2.0) */
	html body .nh1-header .wrap { position: relative; }
	html body .nh1-header .wrap > .brand { position: absolute !important; grid-column: auto !important; grid-row: auto !important; left: 50% !important; top: 50% !important; right: auto !important; bottom: auto !important; margin: 0 !important; transform: translate(-50%, -50%) !important; }
	/* Meet Elena page: name sits 1 inch (96 px) left of centre (Soheil, 17 Nov) */
	html body.page-id-24 .nh2-header .brand { position: relative; left: -96px; }
	/* Meet Elena link: no sliding line; lights up on hover */
	html body .primary-nav a[href*="about-elena-eghtesadi"]::after { display: none !important; }
	html body .primary-nav a[href*="about-elena-eghtesadi"] { transition: color .25s ease, text-shadow .25s ease, background-color .25s ease; }
	html body .primary-nav a[href*="about-elena-eghtesadi"]:hover,
	html body .primary-nav a[href*="about-elena-eghtesadi"]:focus-visible {
		text-shadow: 0 0 12px rgba(201,161,59,.75), 0 0 2px rgba(201,161,59,.5);
		background-color: rgba(201,161,59,.08);
	}

	/* Meet Elena page: Buy, Sell on the left, name centred, its own links on the right */
	html body.page-id-24 .nh2-header .wrap { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; column-gap: 20px; }
	html body.page-id-24 .nh2-header .primary-nav { display: contents; }
	html body.page-id-24 .nh2-header .brand { grid-column: 2; grid-row: 1; white-space: nowrap; }
	html body.page-id-24 .nh2-header .ihc-left-menu { grid-column: 1; grid-row: 1; justify-self: start; display: flex; gap: 30px; }
	html body.page-id-24 .nh2-header .menu:not(.ihc-left-menu) { grid-column: 3; grid-row: 1; justify-self: end; display: flex; gap: 14px; align-items: center; }
	html body.page-id-24 .nh2-header .menu a { white-space: nowrap; }
	html body.page-id-24 .nh2-header .menu:not(.ihc-left-menu) a { letter-spacing: .1em; }
	html body.page-id-24 .nh2-header .nh-cta a { padding: 13px 14px !important; }
}
@media (min-width: 861px) and (max-width: 1280px) {
	html body.page-id-24 .nh2-header .wrap { column-gap: 14px; }
	html body.page-id-24 .nh2-header .menu a { font-size: 11px !important; letter-spacing: .08em !important; }
	html body.page-id-24 .nh2-header .ihc-left-menu { gap: 18px; }
	html body.page-id-24 .nh2-header .menu:not(.ihc-left-menu) { gap: 12px; }
	html body.page-id-24 .nh2-header .nh-cta a { padding: 11px 12px !important; }
	html body.page-id-24 .nh2-header .brand { font-size: 18px; }
}
@media (min-width: 861px) and (max-width: 1280px) {
	html body.page-id-24 .nh2-header .menu:not(.ihc-left-menu) li:has(> a[href="#areas"]) { display: none; }
}
@media (min-width: 861px) and (max-width: 1120px) {
	html body.page-id-24 .nh2-header .menu:not(.ihc-left-menu) li:has(> a[href="#ways"]) { display: none; }
}
@media (min-width: 861px) and (max-width: 980px) {
	html body.page-id-24 .nh2-header .menu:not(.ihc-left-menu) li:has(> a[href="#process"]) { display: none; }
}

/* v1.2.0: Meet Elena link in gold with a slow gentle glow on every page (same as the homepage) */
html body .primary-nav a[href*="about-elena-eghtesadi"] {
	color: #8C6D1F !important; font-weight: 600 !important; border-bottom: 2px solid #C9A13B; padding-bottom: 3px;
	animation: ihc-me-glow 4.5s ease-in-out infinite;
}
html body .primary-nav a[href*="about-elena-eghtesadi"]:hover,
html body .primary-nav a[href*="about-elena-eghtesadi"]:focus-visible { color: #6E5515 !important; }
@keyframes ihc-me-glow {
	0%, 100% { text-shadow: 0 0 0 rgba(201,161,59,0); border-bottom-color: rgba(201,161,59,.55); }
	50% { text-shadow: 0 0 10px rgba(201,161,59,.55), 0 0 2px rgba(201,161,59,.35); border-bottom-color: rgba(201,161,59,1); }
}
@media (prefers-reduced-motion: reduce) { html body .primary-nav a[href*="about-elena-eghtesadi"] { animation: none; } }
