/* Home page (tpl/new-home.php) — moved out of the template 2026-11-12 so browsers can cache it.
 * Loaded only on that template (functions.php, mn2s_home_assets). The "MN2S Now" font is
 * declared in mn2s-header.css. */
#content-wrap { z-index: 1; }
.nh {
    font-family: "MN2S Now", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --nh-blue: #46A9F5;
    --nh-blue-dark: #2f8ee0;
    --nh-ink: #242331;
    --nh-text: #666666;
    --nh-muted: #848483;
    --nh-faint: #999999;
    --nh-chip: #e1e1e1;
    --nh-line: #e3e1ea;
    --nh-cream: #faf9f6;
    --nh-mist: #e7edf0;
    --nh-brief: #d3e0ea;
    --nh-mint: #d4eae4;
    color: var(--nh-ink);
    background: #fff;
}
.nh *, .nh *::before, .nh *::after { box-sizing: border-box; }
.nh a { text-decoration: none; }
.nh button, .nh input { font-family: inherit; }
.nh button { cursor: pointer; }
/* :where() keeps this reset at class-level specificity so component margins below still win */
.nh :where(h1, h2, h3, p, ul) { margin: 0; padding: 0; font-family: inherit; }
.nh img { max-width: 100%; }
/* Content box: every section uses the header's side gutter (assets/css/mn2s-header.css,
 * 80px at 1440), so all section headings line up with the hero title and the logo. */
.nh-wrap { width: calc(100% - 2 * var(--mh-gutter, 80px)); max-width: 1760px; margin: 0 auto; }
.nh-accent { color: var(--nh-blue); }
.nh-h2 {
    font-size: 41px; line-height: 1.1; font-weight: 700; text-transform: uppercase;
    letter-spacing: -.01em; color: var(--nh-ink);
}
.nh-btn {
    display: inline-flex; align-items: center; justify-content: space-between; gap: 32px;
    height: 64px; padding: 0 32px; border: 0; border-radius: 2px;
    background: var(--nh-blue); color: var(--nh-ink) !important;
    font-size: 16px; font-weight: 600; text-transform: uppercase; line-height: 1;
    transition: background-color .2s ease;
}
.nh-btn:hover { background: var(--nh-blue-dark); }
.nh-btn svg { width: 26px; height: 26px; flex: 0 0 auto; }
.nh-arrows { display: flex; gap: 4px; }
.nh-arrow {
    width: 64px; height: 64px; border: 0; border-radius: 8px; background: #fff; color: var(--nh-ink);
    display: flex; align-items: center; justify-content: center; padding: 0;
    transition: background-color .2s ease, color .2s ease;
}
.nh-arrow svg { width: 28px; height: 28px; }
.nh-arrow:not(:disabled):hover { background: var(--nh-blue); color: #fff; }
.nh-arrow:disabled { color: #c9ced3; cursor: default; }
/* no focus ring (overrides screen.css button:focus) */
.nh-arrow:focus, .nh-arrow:focus-visible { outline: none; }

/* ── Hero ── */
/* header.php's .top-nav floats over the page (position:absolute, ~104px tall) */
/* Full-width band; its content lines up with the header logo (x=80 on the 1440 mockup) */
.nh-hero { margin-top: 104px; padding: 100px 0 95px; background: #fff; }
/* same side gutter as the header (assets/css/mn2s-header.css) so the hero text lines up under the logo */
.nh-hero .nh-wrap { width: calc(100% - 2 * var(--mh-gutter, 80px)); max-width: 1760px; }
/* two columns ("home" design 2026-11-12): title, sub line and search on the left,
 * the intro copy (.nh-hero__aside) on the right, top-aligned with the title */
.nh-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .75fr); column-gap: 64px; align-items: start; }
.nh-hero__title, .nh-hero__sub, .nh-hero__main { grid-column: 1; }
/* margin-top drops its first line into the gap between title lines 1 and 2: in MN2S Now the middle of
 * that gap is 1.1416 × the title font size below the title box (cap height .73, line-height 1.1316), and
 * this 16/26 paragraph's cap top is 7.2px below its own box */
.nh-hero__aside { grid-column: 2; grid-row: 1 / span 3; max-width: 560px; margin-top: calc(clamp(44px, 4.1vw, 72px) * 1.1416 - 7.2px) !important; font-size: 16px; line-height: 26px; color: #3b4250; }
.nh-hero__main { max-width: 578px; }
/* Title: 76px / 86px, two lines ("Connecting brands and events" / "with exceptional
 * talent"), across the full hero width above the search + copy columns. On screens too
 * narrow for line 1 at 76px the size scales down so it stays on one line
 * (--nh-title-fit = line-1 width ÷ font size, measured in the browser: 16.84 with
 * -0.015em tracking, i.e. 1280px at 76px — exactly the 1440 hero width). */
.nh-hero__title {
    --nh-title-fit: 16.84;
    /* sized so the three lines fit the left column beside the intro copy (59px at 1440) */
    font-size: clamp(44px, 4.1vw, 72px);
    line-height: 1.1316; /* 86px at 76px */
    font-weight: 700; text-transform: uppercase; letter-spacing: -.015em; color: var(--nh-ink);
}
.nh-hero__title > span { display: block; white-space: nowrap; }
/* optical alignment: at this size the built-in left spacing of "C" and "E" pushes those
 * lines in from the "Partner with…" line below (measured 1px / 4px at 88px), so pull
 * them back by that amount; em keeps it right as the title scales */
.nh-hero__line--c { margin-left: -.012em; }
.nh-hero__line--e { margin-left: -.046em; }
/* under the title */
.nh-hero__sub { margin-top: 32px !important; font-size: 18px; line-height: 26px; color: var(--nh-muted); }
/* search box: assets/css/mn2s-talent-search.css (lib/talent-search.php) */
.nh-hero .ts-search { margin-top: 48px; }
/* white hero (home page only): outline the search box and chips so they don't disappear */
.nh-hero .ts-search { border: 1px solid #d4dde5; background: #fff !important; }
.nh-hero .ts-search .ts-search__input { background: transparent !important; }
.nh-hero .ts-search:focus-within { border-color: var(--nh-blue); }
.nh-popular { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-left: 8px; }
.nh-popular__label { margin-right: 16px; font-size: 16px; color: #000; }
.nh-popular__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.nh-popular__list li { margin: 0; }
.nh-chip {
    display: inline-flex; align-items: center; height: 32px; padding: 0 16px; border-radius: 2px;
    border: 1px solid #d4dde5; background: #fff !important; color: var(--nh-ink) !important; font-size: 14px; line-height: 1; white-space: nowrap;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.nh-chip:hover, .nh-chip:focus-visible { background: var(--nh-blue) !important; border-color: var(--nh-blue); color: #fff !important; }

/* ── How can we help (full-bleed video left, text right) ── */
.nh-help { background: var(--nh-mist); padding: 64px 0 64px; text-align: center; }
.nh-help .nh-h2 { text-align: center; }
.nh-tabs { display: inline-flex; gap: 0; margin-top: 32px; padding: 4px; border-radius: 999px; background: #dcdcdc; }
.nh-tabs__btn {
    height: 40px; min-width: 86px; padding: 0 16px; margin: 0; border: 0; border-radius: 999px; background: transparent;
    font-size: 17px; line-height: 1; font-weight: 400; color: #8a8a8a;
    transition: background-color .2s ease, color .2s ease;
}
.nh-tabs__btn:hover { color: var(--nh-ink); }
.nh-tabs__btn.is-active { background: #fff; color: var(--nh-ink); font-weight: 600; }
/* overrides screen.css button:focus (5px auto focus ring) */
.nh-tabs__btn:focus, .nh-tabs__btn:focus-visible { outline: none; }
.nh-tabs__btn:focus-visible { box-shadow: 0 0 0 2px var(--nh-blue); }
.nh-help__panels { margin-top: 36px; text-align: left; }
.nh-help__panel { display: none; }
.nh-help__panel.is-active { display: grid; grid-template-columns: 50% 50%; align-items: center; animation: nhFade .4s ease; }
@keyframes nhFade { from { opacity: 0; } to { opacity: 1; } }
/* 16:9 = the shape of almost every help video, so they show whole (cover only trims rounding).
 * A video of another shape (e.g. square) gets .is-contain from the script: shown whole, with a
 * blurred copy of its still (--nh-help-bg) filling the space around it. */
.nh-help__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #242331; }
.nh-help__media.is-contain::before {
    content: ""; position: absolute; inset: -20px; z-index: 0;
    background: var(--nh-help-bg, none) center / cover no-repeat; filter: blur(16px) brightness(.6);
}
.nh .nh-help__media.is-contain video { z-index: 1; object-fit: contain; }
.nh .nh-help__media video, .nh .nh-help__media iframe, .nh .nh-help__poster {
    position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; margin: 0; border: 0; object-fit: cover; display: block;
}
.nh .nh-help__media iframe { pointer-events: none; }
.nh-help__body { padding: 0 var(--mh-gutter, 80px) 0 88px; }
.nh-help__title { font-size: 22px; line-height: 28px; font-weight: 600; text-transform: uppercase; color: #000; }
.nh-help__text { max-width: 400px; margin-top: 24px !important; font-size: 16px; line-height: 24px; color: #3b4250; }
.nh-help__body .nh-btn { width: 100%; max-width: 390px; margin-top: 48px; border-radius: 4px; font-size: 15px; }

/* ── Post cards (partnerships + events) ── */
.nh-posts { background: var(--nh-cream); padding: 96px 0 64px; }
.nh-posts__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.nh-posts__track {
    display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    scrollbar-width: none; -ms-overflow-style: none; padding: 4px 0;
}
.nh-posts__track::-webkit-scrollbar { display: none; }
.nh-post {
    flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start;
    display: block; padding: 12px 12px 24px; border-radius: 16px; background: #fff; color: inherit;
    transition: transform .25s ease, box-shadow .25s ease;
}
.nh-post:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(36, 35, 49, .06); }
.nh-post__img { position: relative; aspect-ratio: 354 / 255; border-radius: 8px; overflow: hidden; background: #f1f1f1; }
.nh .nh-post__img img {
    position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; margin: 0; padding: 0;
    object-fit: cover; display: block; transition: transform .4s ease;
}
.nh-post:hover .nh-post__img img { transform: scale(1.04); }
.nh-post__date { display: block; margin-top: 28px; padding: 0 8px; font-size: 16px; line-height: 20px; color: var(--nh-faint); }
.nh-post__title {
    margin-top: 8px !important; padding: 0 8px; font-size: 20px; line-height: 28px; font-weight: 600; color: var(--nh-ink);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 84px;
}
.nh-post:hover .nh-post__title { color: var(--nh-blue); }
.nh-post__tag { display: block; padding: 0 8px; font-size: 16px; line-height: 20px; font-weight: 600; text-transform: uppercase; color: var(--nh-blue); }
.nh-partners .nh-post__tag { margin-top: 20px; }
.nh-posts__more { display: none; }

.nh-events { padding: 64px 0 80px; }
.nh-events .nh-btn { width: 206px; }
/* Featured + Trending (Resources page design) */
.nh-feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; align-items: start; }
.nh-feat__label {
    display: flex; align-items: center; gap: 16px; margin-bottom: 24px !important;
    font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--nh-ink);
}
.nh-feat__label::after { content: ''; flex: 1 1 auto; height: 1px; background: #a9c6dc; }
.nh-feat__main, .nh-feat__item { display: block; background: #fff; color: inherit; transition: box-shadow .25s ease; }
.nh-feat__main:hover, .nh-feat__item:hover { box-shadow: 0 8px 24px rgba(36, 35, 49, .07); }
.nh-feat__main:hover .nh-feat__title, .nh-feat__item:hover .nh-feat__title { color: var(--nh-blue); }
.nh-feat__main { padding: 34px; }
.nh-feat__img { position: relative; aspect-ratio: 555 / 267; overflow: hidden; background: #f1f1f1; }
.nh-feat__thumb { position: relative; flex: 0 0 46%; aspect-ratio: 288 / 205; overflow: hidden; background: #f1f1f1; }
.nh .nh-feat__img img, .nh .nh-feat__thumb img {
    position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; display: block;
    transition: transform .4s ease;
}
.nh-feat__main:hover img, .nh-feat__item:hover img { transform: scale(1.04); }
.nh-feat__meta { display: flex; flex-wrap: wrap; gap: 4px 32px; margin-top: 44px !important; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--nh-ink); }
.nh-feat__title {
    margin-top: 16px !important; font-size: 17px; line-height: 26px; font-weight: 700; text-transform: uppercase; color: #111;
    transition: color .2s ease;
}
.nh-feat__excerpt { margin-top: 4px !important; font-size: 15px; line-height: 28px; color: var(--nh-ink); }
.nh-feat__list { display: flex; flex-direction: column; gap: 40px; }
.nh-feat__item { display: flex; align-items: flex-start; gap: 20px; padding: 20px; }
.nh-feat__body { flex: 1 1 auto; min-width: 0; }
.nh-feat__meta--small { margin-top: 0 !important; gap: 4px 28px; font-size: 12px; line-height: 16px; }
.nh-feat__title--small { margin-top: 12px !important; font-size: 16px; line-height: 26px; }
.nh-feat__excerpt--small { margin-top: 12px !important; font-size: 14px; line-height: 24px; }

/* ── Responsive ── */
@media (max-width: 1199.98px) {
    /* not enough width for the copy beside the title: one column, copy under the search */
    .nh-hero__grid { grid-template-columns: minmax(0, 1fr); }
    .nh-hero__title { font-size: clamp(40px, 6.1vw, 72px); }
    .nh-hero__aside { grid-column: 1; grid-row: auto; max-width: 640px; margin-top: 48px !important; font-size: 18px; line-height: 27px; }
}
@media (max-width: 991.98px) {
    .nh-hero { padding: 72px 0 72px; }
    .nh-help__body { padding: 0 40px; }
    .nh-post { flex-basis: calc((100% - 24px) / 2); }
    .nh-feat { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}
@media (max-width: 767.98px) {
    .nh-wrap, .nh-hero .nh-wrap { width: 100%; max-width: none; padding: 0 20px; }
    .nh-h2 { font-size: 32px; }
    .nh-btn { height: 56px; }

    /* Hero: full-width band, left aligned (Home 1 phone) */
    .nh-hero { margin-top: 97px; padding: 48px 0 48px; }
    .nh-hero__main { max-width: none; }
    /* phone: 34px / 44px; too narrow for one-line "Connecting brands and events", so it wraps */
    .nh-hero__title { font-size: 34px; line-height: 44px; letter-spacing: -.01em; }
    .nh-hero__title > span { display: inline; white-space: normal; }
    .nh-hero__line--c, .nh-hero__line--e { margin-left: 0; }
    .nh-hero__sub { margin-top: 24px !important; font-size: 14px; line-height: 20px; }
    .nh-hero .ts-search { margin-top: 40px; }
    .nh-hero__aside { margin-top: 32px !important; font-size: 16px; line-height: 24px; }
    /* Popular chips: one row that scrolls sideways off the right edge */
    .nh-popular { display: block; margin: 36px -20px 0 0; padding: 0; }
    .nh-popular__label { display: block; margin: 0 0 12px; }
    .nh-popular__list {
        flex-wrap: nowrap; overflow-x: auto; padding-right: 20px;
        scrollbar-width: none; -ms-overflow-style: none;
    }
    .nh-popular__list::-webkit-scrollbar { display: none; }


    /* How can we help: video full width on top, text below */
    .nh-help { padding: 56px 0 56px; }
    .nh-tabs { margin-top: 24px; }
    .nh-tabs__btn { min-width: 0; font-size: 15px; }
    .nh-help__panels { margin-top: 28px; }
    .nh-help__panel.is-active { grid-template-columns: minmax(0, 1fr); }
    .nh-help__body { padding: 32px 20px 0; }
    .nh-help__text { margin-top: 16px !important; }
    .nh-help__body .nh-btn { max-width: none; margin-top: 32px; height: 56px; padding: 0 24px; font-size: 14px; }

    .nh-posts { padding: 56px 0 24px; }
    .nh-posts__head { display: block; margin-bottom: 24px; }
    .nh-posts__head .nh-arrows { margin-top: 24px; }
    .nh-posts__head .nh-btn { display: none; }
    .nh-partners .nh-h2 span { display: block; }
    .nh-arrow { width: 48px; height: 48px; }
    .nh-arrow svg { width: 22px; height: 22px; }
    .nh-posts__track { display: block; overflow: visible; padding: 0; }
    .nh-post { display: block; margin-bottom: 12px; padding: 12px 12px 20px; }
    .nh-post:hover { transform: none; box-shadow: none; }
    .nh-post.is-off { display: none; }
    .nh-post__img { aspect-ratio: 326 / 204; }
    .nh-post__date { margin-top: 20px; font-size: 14px; }
    .nh-post__title { font-size: 18px; line-height: 28px; min-height: 0; }
    .nh-post__tag { font-size: 14px; }
    .nh-posts__more { display: flex; width: 100%; justify-content: center; gap: 56px; margin-top: 0; }

    .nh-events { padding: 56px 0 48px; }
    .nh-events .nh-posts__more { margin-top: 24px; width: 100%; }
    .nh-feat { gap: 40px; }
    .nh-feat__label { margin-bottom: 16px !important; }
    .nh-feat__main { padding: 16px 16px 20px; }
    .nh-feat__meta { margin-top: 20px !important; gap: 4px 20px; font-size: 13px; }
    .nh-feat__title { margin-top: 10px !important; font-size: 16px; line-height: 24px; }
    .nh-feat__excerpt { font-size: 14px; line-height: 24px; }
    .nh-feat__list { gap: 16px; }
    /* phone: trending rows stack image over text */
    .nh-feat__item { flex-direction: column; gap: 16px; padding: 16px 16px 20px; }
    .nh-feat__thumb { flex: none; width: 100%; aspect-ratio: 326 / 180; }
    .nh-feat__meta--small { gap: 4px 20px; }


}
