/* Insights (/resources) hero with the Norwest 18 video (v5, 2026-11-04, preview behind ?insights_hero=n18).
   v3 (Adam 11-04: "remove the play pause ... how can we improve the look of this"): no pause button; the grey haze
   behind "Insights" + search is gone. Default 'band': Insights + search sit on a black band that continues the black
   nav, the video starts under it with nothing on top except the headline. Alternative 'glass' (?n18_top=glass):
   Insights + search over the video, a short soft top shade and a frosted search field.
   Headline/link/bottom shade as v2 (copied from the Home 2026 hero; shade measured for the loop's light shots). */
section.nwr18 {
	--gut: max(45px, calc((100% - 1180px) / 2));
	--serif: 'DM Serif Display', DMSerifDisplay, Georgia, serif;
	--sans: Poppins, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	position: relative; overflow: hidden; display: flex; flex-direction: column; width: 100%;
	height: clamp(480px, calc(100vh - 95px - 48px), 860px);
	height: clamp(480px, calc(100svh - 95px - 48px), 860px);
	margin: 0; padding: 0 !important; background: #000; color: #fff;
}
/* v4: the theme pads every section 15px on phones (section:not(.elementor-inner-section){padding:...!important});
   with in-flow children (v3) that inset the band and the video. Beat it on specificity. */
html body section.nwr18.nwr18 { padding: 0 !important; }
.nwr18 *, .nwr18 *::before, .nwr18 *::after { box-sizing: border-box; }
.nwr18__stage { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.nwr18__media { position: absolute; inset: 0; }
.nwr18__poster, .nwr18__video { position: absolute; inset: 0; display: block; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; object-position: 50% 45%; }
.nwr18__video { opacity: 0; transition: opacity .4s ease; pointer-events: none; background: transparent; }
.nwr18__video.is-playing { opacity: 1; }
.nwr18__video::-webkit-media-controls { display: none !important; }
/* v4: shade measured in px from the bottom (the headline sits a fixed distance up), so a shorter video area
   (laptops, the band layout) keeps the same darkness behind the headline. v3's % shade fell to 2.6:1 at 1366x768. */
.nwr18__shade { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; top: 0; height: auto; background: linear-gradient(0deg, rgba(0,0,0,.9) 0, rgba(0,0,0,.8) 200px, rgba(0,0,0,.55) 330px, rgba(0,0,0,0) 480px); pointer-events: none; }
.nwr18__shade--top { display: none; }

/* ---- top row (Insights + search) ---- */
.nwr18__top { position: relative; z-index: 3; flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px var(--gut) 30px; background: #000; }
.nwr18 .nwr18__page { margin: 0; font-family: var(--serif) !important; font-weight: 400 !important; font-size: 40px; line-height: 1; color: #fff; text-transform: none; letter-spacing: 0; }
.nwr18__search { display: flex; align-items: center; width: min(420px, 40vw); margin: 0; background: transparent; box-shadow: inset 0 -1px 0 rgba(255,255,255,.5); transition: box-shadow .2s ease; }
.nwr18__search:focus-within { box-shadow: inset 0 -2px 0 #fff; }
.nwr18 .nwr18__search input[type="search"] { flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 12px 0 0; border: 0; border-radius: 0; background: transparent; font: 400 16px/1 var(--sans); color: #fff; outline: none; box-shadow: none; -webkit-appearance: none; appearance: none; }
.nwr18 .nwr18__search input[type="search"]::placeholder { color: rgba(255,255,255,.62); opacity: 1; }
.nwr18 .nwr18__search input[type="search"]::-webkit-search-decoration,
.nwr18 .nwr18__search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.nwr18 .nwr18__search button { flex: 0 0 40px !important; width: 40px !important; height: 48px; padding: 0; margin: 0; border: 0; border-radius: 0; background: transparent; color: #fff; display: flex; align-items: center; justify-content: flex-end; cursor: pointer; box-shadow: none; }
.nwr18 .nwr18__search button:hover, .nwr18 .nwr18__search button:focus-visible { background: transparent; color: #33A993; }
.nwr18 .nwr18__search button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* v5 (Adam 11-04: "lets do a but translucent and blur behind"): the black band now sits OVER the top of the video,
   see-through black with the footage blurred behind it. Same row, same slim search. */
.nwr18--band .nwr18__top { position: absolute; top: 0; left: 0; right: 0; background: rgba(0, 0, 0, .42); -webkit-backdrop-filter: blur(18px) saturate(130%); backdrop-filter: blur(18px) saturate(130%); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .nwr18--band .nwr18__top { background: rgba(0, 0, 0, .72); } }

/* ---- 'glass' alternative: the row sits over the video ---- */
.nwr18--glass .nwr18__top { position: absolute; top: 0; left: 0; right: 0; padding-top: 32px; background: transparent; }
.nwr18--glass .nwr18__shade--top { display: block; position: absolute; z-index: 1; top: 0; left: 0; right: 0; height: 190px; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.28) 55%, rgba(0,0,0,0) 100%); pointer-events: none; }
.nwr18--glass .nwr18__page { text-shadow: 0 1px 18px rgba(0,0,0,.35); }
.nwr18--glass .nwr18__search { padding-left: 16px; background: rgba(12,12,12,.32); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.32); }
.nwr18--glass .nwr18__search:focus-within { box-shadow: inset 0 0 0 1px #fff; }
.nwr18--glass .nwr18__search input[type="search"]::placeholder { color: rgba(255,255,255,.8); }
.nwr18 .nwr18--glass .nwr18__search button, .nwr18--glass .nwr18__search button { flex: 0 0 48px !important; width: 48px !important; justify-content: center; }

/* ---- headline + link (as v2) ---- */
.nwr18__copy { position: absolute; z-index: 2; left: var(--gut); bottom: 72px; width: 967px; max-width: calc(100% - var(--gut) - 120px); display: flex; flex-direction: column; gap: 18px; }
.nwr18 .nwr18__title { margin: 0; color: #fff; font-family: var(--serif) !important; font-weight: 400 !important; font-size: 58px !important; line-height: 1.15 !important; letter-spacing: 0; text-transform: none; text-wrap: balance; }
.nwr18 a.nwr18__link { align-self: flex-start; font: 400 21px/1.5 var(--sans); letter-spacing: .25px; color: #fff !important; text-decoration: none; }
.nwr18 a.nwr18__link:hover, .nwr18 a.nwr18__link:focus-visible { text-decoration: underline; color: #fff; }
.nwr18__nb { white-space: nowrap; }
.nwr18__arrow { display: inline-block; width: max(12px, .72em); height: auto; aspect-ratio: 15 / 10; margin-left: .45em; vertical-align: middle; position: relative; top: -.08em; overflow: visible; transition: transform .2s ease-in-out; }
.nwr18 a.nwr18__link:hover .nwr18__arrow, .nwr18 a.nwr18__link:focus-visible .nwr18__arrow { transform: translateX(10px); }

@media (max-width: 1024px) {
	.nwr18__copy { bottom: 64px; max-width: calc(100% - var(--gut) - 45px); }
	.nwr18 .nwr18__title { font-size: 48px !important; }
}
@media (max-width: 767px) {
	section.nwr18 { height: max(560px, calc(100vh - 65px - 38px)); height: max(560px, calc(100svh - 65px - 38px)); }
	.nwr18__top { flex-direction: column; align-items: stretch; gap: 10px; padding: 20px 20px 22px; }
	.nwr18--glass .nwr18__top { padding-top: 22px; }
	.nwr18 .nwr18__page { font-size: 34px; }
	.nwr18__search { width: 100%; }
	.nwr18--glass .nwr18__shade--top { height: 230px; }
	.nwr18__shade { background: linear-gradient(0deg, rgba(0,0,0,.9) 0, rgba(0,0,0,.8) 190px, rgba(0,0,0,.55) 300px, rgba(0,0,0,0) 440px); }
	.nwr18__copy { left: 20px; right: 20px; bottom: 40px; width: auto; max-width: none; gap: 12px; }
	.nwr18 .nwr18__title { font-size: 34px !important; }
	.nwr18 a.nwr18__link { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.nwr18__video { display: none; }
	.nwr18__arrow { transition: none; }
}

/* v6 (Slack 11-04, Reanna: "could it be transparent to see more of the video?"; Adam: "make the bar on insights
   transparent"): no band behind Insights + search, no blur. A soft shade at the top of the video (fades out by
   ~240px) keeps the white type legible on the clip's light frames. */
.nwr18--band .nwr18__top { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .nwr18--band .nwr18__top { background: transparent; } }
.nwr18--band .nwr18__shade--top { display: block; position: absolute; z-index: 1; top: 0; left: 0; right: 0; height: 240px; background: linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.42) 45%, rgba(0,0,0,0) 100%); pointer-events: none; }
.nwr18--band .nwr18__page { text-shadow: 0 1px 18px rgba(0,0,0,.3); }
.nwr18--band .nwr18__search input[type="search"]::placeholder { color: rgba(255,255,255,.85); }
.nwr18--band .nwr18__search { box-shadow: inset 0 -1px 0 rgba(255,255,255,.75); }
@media (max-width: 767px) { .nwr18--band .nwr18__shade--top { height: 260px; } }

/* v7 (2026-11-12, Adam: "make the hero slightly shorter on insight page on mobile"). Phones only: the hero was the whole
   screen under the nav minus 38px; now 82% of it (about 100px shorter on a 390x844 phone), so more of the page below
   shows in the first screen. Laptop and tablet unchanged. */
@media (max-width: 767px) {
	section.nwr18 { height: max(480px, calc((100vh - 65px) * .82)); height: max(480px, calc((100svh - 65px) * .82)); }
}
