/* ============================================================================
   Nutrition in USA — "A · Nutrition Facts" (ntu-theme 1.0.0, 2026-10-22)
   Loads after theme-variables.css and main.css. All site styling lives here.
   The American Nutrition Facts label as the visual language: white paper,
   black ink for headlines and the label's rules (10px under a panel title,
   8px above a section, 5px to close a group, 2px panel frames, hairlines
   between rows), ONE cobalt for everything interactive. Roboto Flex 700–900
   at a slightly condensed width for headlines, labels and numbers; Arimo for
   reading text. 4px corners at most. Photos sit in their own frame — never
   text on them.
   ========================================================================= */

/* --- Base ------------------------------------------------------------------- */

html { overflow-x: clip; background: var(--nt-ground); }
body {
    background: var(--nt-ground);
    color: var(--nt-text);
    font-family: var(--nt-body);
    font-size: var(--nt-size-body);
    line-height: var(--nt-lh-body);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--nt-display); font-stretch: var(--nt-stretch); color: var(--nt-ink); line-height: var(--nt-lh-head); font-weight: 800; letter-spacing: -0.005em; }
a { color: var(--nt-cobalt); }
a:hover { color: var(--nt-cobalt-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--nt-cobalt); outline-offset: 2px; }
button, input, select, textarea { font-family: var(--nt-body); }
::selection { background: var(--nt-cobalt-soft); color: var(--nt-ink); }

.site-container { max-width: var(--nt-page-max); margin: 0 auto; padding-left: var(--nt-gutter); padding-right: var(--nt-gutter); }
.site-main { padding-top: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: 0; }

.ntu-skip-link { position: absolute; left: -9999px; top: 0; background: var(--nt-cobalt); color: #fff; padding: 0.75rem 1rem; z-index: 2000; font-family: var(--nt-display); font-weight: 700; }
.ntu-skip-link:focus { left: 1rem; top: 1rem; }

/* Labels: Roboto Flex caps, tracked — the label's nutrient names. */
.ntu-label, .ntu-kicker, .ntu-fhead, .ntu-drawer-label, .ntu-toc-count, .ntu-contents-cat, .ntu-newsletter-label,
.ntu-label-sub, .ntu-label-cat, .ntu-meta--caps, .ntu-breadcrumb, .ntu-lhead-aside, .ntu-sheet-date, .ntu-label-date, .ntu-label-facts {
    font-family: var(--nt-display); font-stretch: 100%; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700;
}
.ntu-label { margin: 0; font-size: var(--nt-label); color: var(--nt-meta); }
.ntu-meta { margin: 0; font-size: 0.875rem; line-height: 1.5; color: var(--nt-meta); }
.ntu-meta--caps { font-size: 0.75rem; letter-spacing: 0.1em; }
.ntu-meta a { color: inherit; text-decoration: none; }
.ntu-dot { color: var(--nt-meta); padding: 0 0.2em; }
.ntu-kicker { margin: 0; font-size: var(--nt-label); line-height: 1.4; }
.ntu-kicker a { color: var(--nt-cobalt); text-decoration: none; display: inline-flex; align-items: center; min-height: 28px; }
.ntu-kicker a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

/* Framed photo: a hairline frame with a thin white mat, like a print on the page. */
.ntu-frame { display: block; overflow: hidden; background: var(--nt-panel); border: 1px solid var(--nt-rule); padding: 4px; }
.ntu-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ntu-frame--wide img { aspect-ratio: 16 / 9; }
.ntu-frame--photo img { aspect-ratio: 3 / 2; }
.ntu-frame--four img { aspect-ratio: 4 / 3; }
.ntu-frame--square img { aspect-ratio: 1 / 1; }
.ntu-frame--hero img { aspect-ratio: 16 / 9; height: auto; }

.ntu-more { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 44px; font-family: var(--nt-display); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--nt-cobalt); text-decoration: none; white-space: nowrap; }
.ntu-more span { transition: transform 0.2s; }
.ntu-more:hover span { transform: translateX(3px); }

/* --- Utility strip + masthead ----------------------------------------------------- */

.ntu-strip { background: var(--nt-ink); color: #fff; }
.ntu-strip-inner { max-width: var(--nt-page-max); margin: 0 auto; padding: 0 var(--nt-gutter); min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ntu-strip-line { margin: 0; font-family: var(--nt-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ntu-strip-link { flex: none; display: inline-flex; align-items: center; gap: 0.35rem; min-height: 36px; color: #fff; font-family: var(--nt-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 0.3em; }
.ntu-strip-link:hover { color: #fff; text-decoration-thickness: 2px; }

.ntu-masthead { position: relative; z-index: 100; background: var(--nt-ground); }
.ntu-mast-inner { max-width: var(--nt-page-max); margin: 0 auto; padding: 0 var(--nt-gutter); min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; position: relative; }
/* The 2px ink rule closes the masthead inside the page width, like the label's frame. */
.ntu-mast-inner::after { content: ""; position: absolute; left: var(--nt-gutter); right: var(--nt-gutter); bottom: 0; height: 2px; background: var(--nt-ink); }
.ntu-brand { min-width: 0; }
.ntu-brand-name { margin: 0; font-size: inherit; line-height: 1; font-weight: inherit; letter-spacing: inherit; }
.ntu-wordmark, .ntu-wordmark:hover, .ntu-wordmark:focus, .ntu-wordmark *, .ntu-footer-word, .ntu-footer-word:hover, .ntu-footer-word * { text-decoration: none !important; }
.ntu-wordmark { display: inline-flex; color: var(--nt-ink); }
.ntu-logo { display: inline-flex; align-items: center; gap: 0.7rem; min-width: 0; }
.ntu-logo-mark { flex: none; width: 36px; height: 36px; display: block; }
.ntu-logo-name { font-family: var(--nt-display); font-stretch: 86%; font-weight: 900; font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.125rem); line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; color: var(--nt-ink); white-space: nowrap; }

.ntu-mast-nav { display: flex; align-items: center; gap: 1.25rem; min-width: 0; }
.ntu-drawer-clip { display: contents; }
.ntu-mast-nav .main-navigation { min-width: 0; display: flex; }
.ntu-mast-nav .primary-menu { display: flex; align-items: stretch; flex-wrap: nowrap; gap: 0 2.25rem; list-style: none; margin: 0; padding: 0; }
.ntu-mast-nav .main-navigation li { margin: 0; }
.ntu-mast-nav .main-navigation a {
    display: inline-flex; align-items: center; min-height: 48px; position: relative; white-space: nowrap;
    font-family: var(--nt-display); font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nt-ink); text-decoration: none;
}
.ntu-mast-nav .main-navigation a:hover { color: var(--nt-cobalt); }
.ntu-mast-nav .main-navigation a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--nt-cobalt); opacity: 0; transition: opacity 0.2s; }
.ntu-mast-nav .main-navigation a:hover::after, .ntu-mast-nav .main-navigation .current-cat > a::after { opacity: 1; }
.ntu-mast-nav .main-navigation .current-cat > a { color: var(--nt-cobalt); }
.ntu-mast-nav .main-navigation .ntu-drawer-label, .ntu-mast-nav .main-navigation .ntu-drawer-sub { display: none; }

.ntu-nav-tools { display: flex; align-items: center; gap: 0.25rem; }
.ntu-masthead .ntu-search-toggle { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; color: var(--nt-ink) !important; cursor: pointer; transition: color 0.2s; }
.ntu-masthead .ntu-search-toggle:hover, .ntu-masthead .ntu-search-toggle[aria-expanded="true"] { color: var(--nt-cobalt) !important; }
.ntu-masthead .mobile-menu-toggle { display: none; }
/* Search opens as a row under the masthead (main.css made it a fixed overlay). */
.ntu-masthead .mobile-search-form { position: static; transform: none; box-shadow: none; z-index: auto; padding: 0.9rem var(--nt-gutter); background: var(--nt-panel); border-bottom: 1px solid var(--nt-rule); }
.ntu-masthead .mobile-search-form form { max-width: 760px; margin: 0 auto; }
.ntu-masthead .search-field { font-size: 1.0625rem; min-height: 50px; border-radius: var(--nt-radius); border: 1px solid var(--nt-ink); background: var(--nt-ground); color: var(--nt-ink); }
.ntu-masthead .mobile-search-form button[type="submit"] { min-height: 50px; border-radius: var(--nt-radius); font-family: var(--nt-display); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--nt-cobalt); color: #fff; border: 0; }
.ntu-masthead .mobile-search-close { background: transparent !important; color: var(--nt-ink) !important; min-width: 44px; min-height: 44px; }

/* --- Breadcrumb -------------------------------------------------------------------- */

.ntu-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.45rem; margin: 0; font-size: 0.8125rem; color: var(--nt-ink); }
.ntu-breadcrumb a { display: inline-flex; align-items: center; min-height: 36px; color: var(--nt-ink); text-decoration: none; }
.ntu-breadcrumb a:hover { color: var(--nt-cobalt); text-decoration: underline; }
.ntu-breadcrumb [aria-current], .ntu-breadcrumb a:last-of-type:not(:first-child) { color: var(--nt-cobalt); }
.ntu-breadcrumb .sep { color: var(--nt-meta); }

/* --- The label panel (servings, sidebar boxes, archive head, contents) ------------- */

.ntu-label-panel { min-width: 0; background: var(--nt-ground); border: var(--nt-frame) solid var(--nt-ink); padding: clamp(1.1rem, 2vw, 1.5rem) clamp(1.1rem, 2vw, 1.5rem) clamp(1rem, 1.8vw, 1.35rem); }
.ntu-label-title { margin: 0; font-size: clamp(1.875rem, 1.5rem + 1.2vw, 2.5rem); font-weight: 900; line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; }
.ntu-label-title--sm { font-size: 1.5rem; padding-bottom: 0.6rem; border-bottom: var(--nt-bar-xl) solid var(--nt-ink); }
.ntu-label-sub { margin: 0.45rem 0 0; padding-bottom: 0.8rem; border-bottom: var(--nt-bar-xl) solid var(--nt-ink); font-size: 0.8125rem; color: var(--nt-ink); }
.ntu-label-rows { list-style: none; margin: 0; padding: 0; border-bottom: var(--nt-bar-md) solid var(--nt-ink); }
.ntu-label-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0 0.9rem; align-items: baseline; margin: 0; padding: 0.8rem 0; border-bottom: 1px solid var(--nt-rule); }
.ntu-label-row:last-child { border-bottom: 0; }
.ntu-label-cat { font-size: 0.8125rem; font-weight: 900; color: var(--nt-ink); min-width: 4.75rem; }
.ntu-label-link { font-size: 1rem; line-height: 1.4; color: var(--nt-ink); text-decoration: none; }
.ntu-label-link:hover { color: var(--nt-cobalt); text-decoration: underline; text-underline-offset: 0.18em; }
.ntu-label-date, .ntu-sheet-date { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: none; color: var(--nt-meta); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ntu-label-foot { margin: 0.7rem 0 0; font-size: 0.8125rem; font-style: italic; line-height: 1.5; color: var(--nt-meta); }

/* --- Section heads: an 8px ink bar, the name at the left, the count at the right --- */

.ntu-lhead { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.5rem; flex-wrap: wrap; margin: 0 0 0.25rem; padding: 0.7rem 0 0.8rem; border-top: var(--nt-bar-lg) solid var(--nt-ink); border-bottom: 1px solid var(--nt-rule); }
.ntu-lhead-title { margin: 0; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); font-weight: 900; line-height: 1; text-transform: uppercase; }
.ntu-lhead-title a { color: inherit; text-decoration: none; }
.ntu-lhead-aside { display: inline-flex; align-items: center; gap: 0.3rem; min-height: 44px; font-size: 0.875rem; color: var(--nt-meta); text-decoration: none; font-variant-numeric: tabular-nums; }
a.ntu-lhead-aside:hover { color: var(--nt-cobalt); }

/* --- Front ---------------------------------------------------------------------------- */

.ntu-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.75rem, 3vw, 2.75rem); align-items: start; margin: 0 0 clamp(3rem, 6vw, 4.5rem); }
.ntu-lead { min-width: 0; }
.ntu-lead-body { display: flex; flex-direction: column; gap: 0.6rem; padding-top: 1.25rem; }
.ntu-lead-title { margin: 0; font-size: clamp(2rem, 1.4rem + 2.2vw, 2.875rem); font-weight: 900; line-height: 1.04; letter-spacing: -0.015em; text-wrap: balance; }
.ntu-lead-title a, .ntu-sheet-title a, .ntu-card-title a, .ntu-feature-title a { color: var(--nt-ink); text-decoration: none; }
.ntu-lead-title a:hover, .ntu-sheet-title a:hover, .ntu-card-title a:hover, .ntu-feature-title a:hover { color: var(--nt-cobalt); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.12em; }
.ntu-lead-dek { margin: 0.25rem 0 0.35rem; max-width: 40em; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.6; color: var(--nt-text); }

.ntu-section { margin: 0 0 clamp(3rem, 6vw, 4.5rem); }

/* Sheet rows: framed thumb left, label, headline, one-line standfirst. */
.ntu-sheets--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.75rem, 3vw, 2.75rem); }
.ntu-sheet { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 0 1.35rem; align-items: start; padding: 1.4rem 0; border-bottom: 1px solid var(--nt-rule); min-width: 0; }
.ntu-sheet--sm { grid-template-columns: 120px minmax(0, 1fr); }
.ntu-sheet--dated { grid-template-columns: 160px minmax(0, 1fr) auto; }
.ntu-sheet--text { grid-template-columns: minmax(0, 1fr); }
.ntu-sheet--text.ntu-sheet--dated { grid-template-columns: minmax(0, 1fr) auto; }
.ntu-sheet-body { min-width: 0; display: flex; flex-direction: column; gap: 0.3rem; }
.ntu-sheet-title { margin: 0; font-size: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem); font-weight: 700; line-height: 1.2; text-wrap: balance; }
.ntu-sheet-dek { margin: 0.1rem 0 0; font-size: 0.9375rem; line-height: 1.55; color: var(--nt-meta); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ntu-sheet .ntu-meta--caps { margin-top: 0.35rem; }
.ntu-sheet-date { margin: 0.3rem 0 0; }

/* Tips: rows beside a rail (home ad block + Most read). */
.ntu-split { display: grid; grid-template-columns: minmax(0, 1fr) var(--nt-sidebar); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.ntu-split-main { min-width: 0; }
.ntu-split-rail { display: flex; flex-direction: column; gap: 1.75rem; min-width: 0; padding-top: 1.4rem; }

/* Image-top cards. */
.ntu-grid { display: grid; gap: clamp(1.25rem, 2.2vw, 1.75rem); padding-top: 1.5rem; }
.ntu-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ntu-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ntu-card { min-width: 0; display: flex; flex-direction: column; }
.ntu-card-body { display: flex; flex-direction: column; gap: 0.35rem; padding-top: 0.9rem; }
.ntu-card-title { margin: 0; font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem); font-weight: 700; line-height: 1.2; text-wrap: balance; }

/* --- Ad frames: labelled, reserved; nothing for readers when unfilled ----------------- */

.ntu-ad { text-align: center; background: var(--nt-ground); border: 1px solid var(--nt-rule); padding: 0.75rem 0.5rem 1rem; min-height: 290px; }
.ntu-ad::before { content: "Advertisement"; display: block; font-family: var(--nt-display); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nt-meta); margin-bottom: 0.6rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--nt-rule-soft); }
.ntu-ad:has(ins[data-ad-status="unfill-optimized"]), .ntu-ad:has(ins[data-ad-status="unfilled"]) { display: none; }
.ntu-ad-placeholder { border: 1px dashed var(--nt-rule); padding: 2rem 1rem; color: var(--nt-meta); font-size: 0.875rem; margin: 0 0.5rem; }

/* --- Archive ---------------------------------------------------------------------------- */

.ntu-archive-head { margin: 0 0 clamp(2rem, 4vw, 3rem); padding-top: clamp(1rem, 2vw, 1.4rem); }
.ntu-archive-title { margin: 0.35rem 0 0; font-size: clamp(2.75rem, 1.8rem + 3.6vw, 4.5rem); font-weight: 900; line-height: 0.95; letter-spacing: -0.02em; text-transform: uppercase; text-wrap: balance; }
.ntu-label-facts { margin: 1rem 0 0; padding: 0; border-top: var(--nt-bar-xl) solid var(--nt-ink); font-size: 0.9375rem; color: var(--nt-ink); }
.ntu-label-facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--nt-rule); }
.ntu-label-facts dt, .ntu-label-facts dd { margin: 0; }
.ntu-label-facts dd { font-weight: 900; font-variant-numeric: tabular-nums; }
.ntu-archive-line { margin: 0; padding: 0.85rem 0 1rem; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.6; color: var(--nt-text); }
/* The 5px bar closes the label, whatever its last row is. */
.ntu-archive-head > :last-child { border-bottom: var(--nt-bar-md) solid var(--nt-ink); }
.ntu-archive-head > .ntu-label-facts:last-child > div:last-child { border-bottom: 0; }
.ntu-archive-head--search .search-form { display: flex; gap: 0.5rem; max-width: 560px; margin: 0; padding: 1rem 0 1.1rem; }
.ntu-archive-head--search .search-field, .ntu-empty .search-field { flex: 1 1 auto; min-width: 0; min-height: 50px; padding: 0 1rem; border: 1px solid var(--nt-ink); border-radius: var(--nt-radius); background: var(--nt-ground); color: var(--nt-ink); font-size: 1.0625rem; }
.ntu-archive-head--search .search-submit, .ntu-empty .search-submit { min-height: 50px; padding: 0 1.25rem; border: 0; border-radius: var(--nt-radius); background: var(--nt-cobalt); color: #fff; font-family: var(--nt-display); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }

/* The first post of every archive page: a wide bordered card, photo left. */
.ntu-feature { display: grid; grid-template-columns: minmax(0, 9fr) minmax(0, 10fr); gap: clamp(1.25rem, 2.5vw, 2rem); align-items: center; padding: clamp(1rem, 2vw, 1.4rem); border: 1px solid var(--nt-rule); margin-bottom: 0.5rem; }
.ntu-feature--text { grid-template-columns: minmax(0, 1fr); }
.ntu-feature-body { min-width: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.ntu-feature-title { margin: 0; font-size: clamp(1.625rem, 1.3rem + 1.1vw, 2.125rem); font-weight: 900; line-height: 1.06; text-wrap: balance; }
.ntu-feature-dek { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--nt-text); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ntu-feature-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.4rem; padding-top: 0.4rem; border-top: 1px solid var(--nt-rule); }
.ntu-feature-foot .ntu-sheet-date { margin: 0; }

/* Pager: square 48px boxes with ink borders, the current page filled. */
.ntu-pager { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; margin: 2.75rem 0 0; }
.ntu-pager .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.ntu-pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 48px; padding: 0 0.6rem; border: 2px solid var(--nt-ink); background: var(--nt-ground); color: var(--nt-ink); font-family: var(--nt-display); font-size: 1.0625rem; font-weight: 800; text-decoration: none; font-variant-numeric: tabular-nums; }
.ntu-pager a.page-numbers:hover { border-color: var(--nt-cobalt); color: var(--nt-cobalt); }
.ntu-pager .page-numbers.current { background: var(--nt-ink); color: #fff; }
.ntu-pager .page-numbers.dots { border: 0; background: transparent; min-width: 24px; }
.ntu-pager-count { margin: 0; font-size: 0.8125rem; }

/* --- Single ------------------------------------------------------------------------------ */

.ntu-article-head { margin: 0 0 1.75rem; padding-bottom: 1.5rem; border-bottom: var(--nt-bar-xl) solid var(--nt-ink); }
.ntu-article-top { display: flex; align-items: center; justify-content: space-between; gap: 0.25rem 1rem; flex-wrap: wrap; padding-bottom: 0.35rem; border-bottom: 1px solid var(--nt-rule); }
.ntu-article-top .ntu-article-meta--top { margin: 0; padding: 0; border: 0; }
.ntu-title { margin: 1.1rem 0 0; font-size: var(--nt-title); font-weight: 900; line-height: 1.04; letter-spacing: -0.015em; text-wrap: balance; }
.ntu-standfirst { margin: 0.9rem 0 0; max-width: 44em; font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem); line-height: 1.55; color: var(--nt-text); }
.ntu-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; margin: 0; font-family: var(--nt-display); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--nt-meta); }
.ntu-mg { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 0 0.5rem; }
.ntu-byline a, .ntu-ep-link { color: var(--nt-cobalt); font-weight: 700; text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }

/* Reading column + sidebar. */
.ntu-layout { display: grid; grid-template-columns: minmax(0, 1fr) var(--nt-sidebar); gap: 2.5rem clamp(2rem, 4vw, 3.5rem); align-items: start; }
.ntu-layout-main { min-width: 0; }
.ntu-hero { margin: 0 0 2rem; }
.ntu-disclosure { margin: 0 0 1.5rem; padding: 0.85rem 1.1rem; background: var(--nt-panel); border-left: var(--nt-bar-md) solid var(--nt-ink); font-size: 0.9375rem; line-height: 1.55; color: var(--nt-meta); }
.ntu-disclosure a { color: var(--nt-cobalt); font-weight: 700; white-space: nowrap; }
.ntu-caption { font-size: 0.875rem; line-height: 1.5; color: var(--nt-meta); padding: 0.6rem 0.1rem 0; }

.ntu-article { min-width: 0; }
.ntu-article .entry-content { font-size: var(--nt-size-body); line-height: var(--nt-lh-body); color: var(--nt-text); }
.ntu-article .entry-content > * { max-width: 100%; }
.ntu-article .entry-content p { text-wrap: pretty; }
/* H2: an 8px ink bar above — a new group on the label. */
.ntu-article .entry-content h2 { font-size: var(--nt-h2); font-weight: 900; line-height: 1.08; margin: 3rem 0 1rem; padding: 0.8rem 0 0; border: 0; border-top: var(--nt-bar-lg) solid var(--nt-ink); color: var(--nt-ink); scroll-margin-top: 1.5rem; text-wrap: balance; }
.ntu-article .entry-content h3 { font-size: var(--nt-h3); font-weight: 800; line-height: 1.15; margin: 2.25rem 0 0.75rem; scroll-margin-top: 1.5rem; text-wrap: balance; }
.ntu-article .entry-content > h2:first-child { margin-top: 0.5rem; }
.ntu-item-no { display: inline-block; margin-right: 0.3em; color: var(--nt-cobalt); font-weight: 900; }
.ntu-article .entry-content h4 { font-family: var(--nt-display); font-weight: 800; font-size: 1.125rem; }
.ntu-article .entry-content a { color: var(--nt-cobalt); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.ntu-article .entry-content a:hover { color: var(--nt-cobalt-dark); text-decoration-thickness: 2px; }
.ntu-article .entry-content strong { font-weight: 700; color: var(--nt-ink); }
.ntu-article .entry-content figure { margin: 2.25rem 0; }
.ntu-article .entry-content figure img, .ntu-article .entry-content p > img { display: block; height: auto; border-radius: 0; box-shadow: none; border: 1px solid var(--nt-rule); }
.ntu-article .entry-content figcaption { text-align: left; font-style: normal; font-size: 0.875rem; line-height: 1.5; color: var(--nt-meta); padding-top: 0.6rem; }
.ntu-article .entry-content ol, .ntu-article .entry-content ul { padding-left: 1.5rem; }
.ntu-article .entry-content li { margin-bottom: 0.6rem; }
.ntu-article .entry-content ul li::marker { color: var(--nt-ink); }
.ntu-article .entry-content ol li::marker { color: var(--nt-ink); font-family: var(--nt-display); font-weight: 800; }
.ntu-article .entry-content blockquote { border: 0; border-left: var(--nt-bar-md) solid var(--nt-ink); background: var(--nt-panel); border-radius: 0; margin: 2rem 0; padding: 1.1rem 1.4rem; font-size: 1.0625rem; line-height: 1.65; color: var(--nt-text); }
.ntu-article .entry-content blockquote p { margin: 0; }
.ntu-article .entry-content blockquote p + p { margin-top: 0.75rem; }
.ntu-article .entry-content hr { border: 0; border-top: 1px solid var(--nt-rule); }
/* Tables read like the label: ink frame, 5px bar under the header row, hairlines. */
.table-scroll { overflow-x: auto; margin: 2rem 0; -webkit-overflow-scrolling: touch; background: var(--nt-ground); border: var(--nt-frame) solid var(--nt-ink); }
.table-scroll table { min-width: 560px; margin: 0; }
.ntu-article .entry-content table { border-collapse: collapse; width: 100%; font-size: 0.95em; line-height: 1.5; background: transparent; }
.ntu-article .entry-content th { background: var(--nt-ground); color: var(--nt-ink); font-family: var(--nt-display); font-size: 0.8125rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; text-align: left; border-bottom: var(--nt-bar-md) solid var(--nt-ink); }
.ntu-article .entry-content td, .ntu-article .entry-content th { border-bottom: 1px solid var(--nt-rule); padding: 0.8rem 1rem; vertical-align: top; min-width: 9rem; }
.ntu-article .entry-content tr:last-child td { border-bottom: 0; }
.ntu-article .entry-content td:first-child, .ntu-article .entry-content th:first-child { position: sticky; left: 0; z-index: 1; background: var(--nt-ground); }
.ntu-article .entry-content td:first-child { font-weight: 700; color: var(--nt-ink); }

/* "In this guide" (the article's own contents block, ntu_toc_panel): a label panel. */
.ntu-toc { margin: 1.5rem 0 2.25rem; background: var(--nt-ground); border: var(--nt-frame) solid var(--nt-ink); }
.ntu-toc summary { display: flex; align-items: center; gap: 1rem; min-height: 60px; padding: 0.6rem 1.25rem; cursor: pointer; list-style: none; }
.ntu-toc summary::-webkit-details-marker { display: none; }
.ntu-toc summary::after { content: "+"; font-family: var(--nt-display); font-size: 1.625rem; font-weight: 900; color: var(--nt-ink); margin-left: 0.25rem; }
.ntu-toc[open] summary::after { content: "−"; }
.ntu-toc-title { font-family: var(--nt-display); font-stretch: var(--nt-stretch); font-size: 1.5rem; font-weight: 900; text-transform: uppercase; color: var(--nt-ink); }
.ntu-toc-count { margin-left: auto; font-size: 0.75rem; color: var(--nt-meta); }
.ntu-article .entry-content .ntu-toc-list { list-style: none; margin: 0 1.25rem 1.1rem; padding: 0; counter-reset: ntutoc; border-top: var(--nt-bar-xl) solid var(--nt-ink); border-bottom: var(--nt-bar-md) solid var(--nt-ink); }
.ntu-article .entry-content .ntu-toc-list li { margin: 0; padding: 0; counter-increment: ntutoc; border-bottom: 1px solid var(--nt-rule); }
.ntu-article .entry-content .ntu-toc-list li:last-child { border-bottom: 0; }
.ntu-article .entry-content .ntu-toc-list li::marker { content: none; }
.ntu-article .entry-content .ntu-toc-list a { display: flex; gap: 0.9rem; align-items: baseline; min-height: 48px; padding: 0.7rem 0; color: var(--nt-ink); text-decoration: none; font-size: 1rem; font-weight: 700; line-height: 1.4; }
.ntu-article .entry-content .ntu-toc-list a::before { content: counter(ntutoc, decimal-leading-zero); flex: none; font-family: var(--nt-display); font-size: 0.8125rem; font-weight: 800; color: var(--nt-meta); font-variant-numeric: tabular-nums; }
.ntu-article .entry-content .ntu-toc-list a::after { content: "→"; margin-left: auto; padding-left: 0.75rem; color: var(--nt-ink); }
.ntu-article .entry-content .ntu-toc-list a:hover { color: var(--nt-cobalt); }

/* Article pager (posts split with <!--nextpage-->): numbers only. */
.ntu-page-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 2.25rem 0 0.5rem; }
.entry-content .ntu-page-links .post-page-numbers {
    display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 48px; padding: 0 0.75rem;
    border: 2px solid var(--nt-ink); background: var(--nt-ground); color: var(--nt-ink);
    font-family: var(--nt-display); font-size: 1rem; font-weight: 800; text-decoration: none; font-variant-numeric: tabular-nums;
}
.entry-content .ntu-page-links a.post-page-numbers:hover { border-color: var(--nt-cobalt); color: var(--nt-cobalt); }
.entry-content .ntu-page-links .post-page-numbers.current { background: var(--nt-ink); color: #fff; }

.ntu-team { margin: 2.75rem 0 0; padding: 1.25rem 1.5rem; border: 1px solid var(--nt-rule); border-left: var(--nt-bar-md) solid var(--nt-ink); }
.ntu-team-title { margin: 0 0 0.5rem; font-family: var(--nt-display); font-size: 1.125rem; font-weight: 900; text-transform: uppercase; color: var(--nt-ink); }
.ntu-team p { margin: 0; font-size: 1rem; line-height: 1.65; color: var(--nt-text); }
.ntu-team .ntu-team-more { margin-top: 0.5rem; }
.ntu-team-more a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 700; }

.ntu-related { margin: clamp(3rem, 6vw, 4.5rem) 0 0; }

/* main.css sets content-visibility:auto (500px placeholder) on the comments; the form is taller,
   so it painted late and shifted the page (visual QA 2026-10-08 on the fork). */
.comments-area { margin-top: 2rem; padding-top: 0; border-top: 0; content-visibility: visible; contain-intrinsic-size: none; }
.comments-area .comments-title, .comments-area .comment-reply-title { font-size: var(--nt-h3); text-transform: uppercase; }
.comments-area .comment-list { list-style: none; padding: 0; }
.comments-area .comment-respond { margin: 0; background: var(--nt-ground); border: 1px solid var(--nt-rule); border-radius: 0; }
.comments-area label, .comments-area .comment-notes, .comments-area .logged-in-as { color: var(--nt-meta); }
.comments-area input:not([type="checkbox"]):not([type="submit"]), .comments-area textarea { border-radius: var(--nt-radius); border: 1px solid var(--nt-ink); background: var(--nt-ground); color: var(--nt-ink); }
.comments-area input:focus, .comments-area textarea:focus { border-color: var(--nt-cobalt); outline: none; }
.comments-area .submit, .comments-area #submit { background: var(--nt-cobalt) !important; border: none; border-radius: var(--nt-radius) !important; color: #fff !important; font-family: var(--nt-display); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; min-height: 48px; padding: 0 1.5rem; cursor: pointer; }
.comments-area .submit:hover, .comments-area #submit:hover { background: var(--nt-cobalt-dark) !important; }
.comments-area .comment-body { background: transparent; border: 0; border-bottom: 1px solid var(--nt-rule); border-radius: 0; }
.comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 0.5rem; }
.comment-form-cookies-consent input { flex: 0 0 auto; margin: 0.3rem 0 0; }
.comment-form-cookies-consent label { margin: 0; }

/* --- Sidebar --------------------------------------------------------------------------------- */

.ntu-sidebar { display: flex; flex-direction: column; gap: 1.75rem; min-width: 0; }

/* Most read: cobalt numerals 01–05, the topic in caps over the headline. */
.ntu-contents { list-style: none; margin: 0; padding: 0; border-bottom: var(--nt-bar-md) solid var(--nt-ink); }
.ntu-contents li { display: flex; gap: 0.9rem; align-items: flex-start; margin: 0; padding: 0.85rem 0; border-bottom: 1px solid var(--nt-rule); }
.ntu-contents li:last-child { border-bottom: 0; }
.ntu-contents-num { flex: none; min-width: 2rem; font-family: var(--nt-display); font-weight: 900; font-size: 1.625rem; line-height: 1; color: var(--nt-cobalt); font-variant-numeric: tabular-nums lining-nums; }
.ntu-contents-text { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.ntu-contents-cat { font-size: 0.6875rem; color: var(--nt-cobalt); }
.ntu-contents-title { font-family: var(--nt-display); font-stretch: 96%; font-weight: 700; font-size: 1rem; line-height: 1.3; color: var(--nt-ink); text-decoration: none; }
.ntu-contents-title:hover { color: var(--nt-cobalt); text-decoration: underline; text-decoration-thickness: 1px; }

.ntu-deptlist { list-style: none; margin: 0; padding: 0; border-bottom: var(--nt-bar-md) solid var(--nt-ink); }
.ntu-deptlist li { margin: 0; border-bottom: 1px solid var(--nt-rule); }
.ntu-deptlist li:last-child { border-bottom: 0; }
.ntu-deptlist a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 50px; color: var(--nt-ink); text-decoration: none; font-family: var(--nt-display); font-size: 1rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.ntu-deptlist a:hover, .ntu-deptlist a.is-current { color: var(--nt-cobalt); }
.ntu-deptlist .ntu-count { font-weight: 900; font-variant-numeric: tabular-nums; }

.ntu-widget-news { padding: 1.5rem; background: var(--nt-panel); border: var(--nt-frame) solid var(--nt-ink); }
.ntu-newsletter-label { margin: 0 0 0.4rem; font-size: 0.75rem; color: var(--nt-cobalt); }
.ntu-widget-news-title { margin: 0; font-size: 1.5rem; font-weight: 900; line-height: 1.05; text-transform: uppercase; text-wrap: balance; }
.ntu-widget-news .ntu-newsletter-note { margin: 0.6rem 0 1rem; font-size: 0.9375rem; line-height: 1.5; color: var(--nt-meta); }
.ntu-widget-news .newsletter-form { display: flex; flex-direction: column; gap: 0.6rem; }
.ntu-widget-news input[type="email"], .ntu-newsletter input[type="email"], .ntu-inline-news input[type="email"] {
    min-height: 50px; padding: 0 1rem; border: 1px solid var(--nt-ink); border-radius: var(--nt-radius); background: var(--nt-ground); color: var(--nt-ink); font-size: 1rem;
}
.ntu-widget-news input[type="email"]:focus, .ntu-newsletter input[type="email"]:focus, .ntu-inline-news input[type="email"]:focus { outline: 2px solid var(--nt-cobalt); outline-offset: 1px; border-color: var(--nt-cobalt); }
.ntu-widget-news button, .ntu-newsletter button, .ntu-inline-news button {
    min-height: 50px; padding: 0 1.4rem; border: 0; border-radius: var(--nt-radius); background: var(--nt-cobalt); color: #fff;
    font-family: var(--nt-display); font-weight: 800; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: background 0.2s;
}
.ntu-widget-news button:hover, .ntu-newsletter button:hover, .ntu-inline-news button:hover { background: var(--nt-cobalt-dark); }
.ntu-sidebar .ntu-ad { min-height: 290px; }
.newsletter-message { margin-top: 0.75rem; font-weight: 700; }

/* --- Newsletter panel (every template, above the footer) ------------------------------------ */

.ntu-newsletter { max-width: calc(1000px + 2 * var(--nt-gutter)); margin: clamp(3rem, 6vw, 4.5rem) auto clamp(3rem, 6vw, 4.5rem); padding: 0 var(--nt-gutter); }
.ntu-newsletter-inner { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(2rem, 5vw, 3rem) clamp(1.25rem, 4vw, 3rem); background: var(--nt-panel); border: var(--nt-frame) solid var(--nt-ink); }
.ntu-newsletter h2 { margin: 0 0 0.6rem; font-size: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem); font-weight: 900; line-height: 1.02; text-wrap: balance; }
.ntu-newsletter-dek { margin: 0 auto 1.5rem; max-width: 36em; font-size: 1.0625rem; line-height: 1.6; color: var(--nt-text); }
.ntu-newsletter .newsletter-form { display: flex; flex-direction: row; gap: 0.6rem; width: 100%; max-width: 500px; }
.ntu-newsletter input[type="email"] { flex: 1 1 auto; min-width: 0; min-height: 52px; }
.ntu-newsletter button { min-height: 52px; white-space: nowrap; flex: none; }
.ntu-newsletter-note { margin: 0.8rem 0 0; font-size: 0.875rem; color: var(--nt-meta); }

/* --- Footer: the cool grey panel under an 8px ink bar ------------------------------------------- */

.ntu-footer { background: var(--nt-panel); color: var(--nt-ink); border-top: var(--nt-bar-lg) solid var(--nt-ink); }
.ntu-footer-inner { max-width: var(--nt-page-max); margin: 0 auto; padding: clamp(2.25rem, 5vw, 3.25rem) var(--nt-gutter) 2rem; }
.ntu-footer-top { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 2.5rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--nt-rule); }
.ntu-footer-word { display: inline-flex; text-decoration: none; }
.ntu-footer .ntu-logo-mark { width: 30px; height: 30px; }
.ntu-footer .ntu-logo-name { font-size: 1.625rem; }
.ntu-footer-about { margin: 0; flex: 1 1 18rem; max-width: 30rem; font-size: 0.9375rem; line-height: 1.6; color: var(--nt-meta); }
.ntu-social { display: flex; flex-wrap: wrap; gap: 0 1.25rem; list-style: none; margin: 0; padding: 0; }
.ntu-social a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--nt-display); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nt-ink); text-decoration: none; }
.ntu-social a:hover { color: var(--nt-cobalt); text-decoration: underline; }
.ntu-footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 2rem; padding: 1.75rem 0; border-bottom: 1px solid var(--nt-rule); }
.ntu-footer-cols > nav { min-width: 0; }
.ntu-fhead { margin: 0 0 0.6rem; padding-bottom: 0.45rem; border-bottom: var(--nt-bar-md) solid var(--nt-ink); font-size: 0.8125rem; letter-spacing: 0.12em; color: var(--nt-ink); }
.ntu-flist { list-style: none; margin: 0; padding: 0; }
.ntu-flist:empty { display: none; }
.ntu-flist li { margin: 0; }
.ntu-flist a { display: inline-flex; align-items: center; min-height: 40px; color: var(--nt-text); font-size: 0.9375rem; text-decoration: none; }
.ntu-flist a:hover { color: var(--nt-cobalt); text-decoration: underline; text-underline-offset: 0.25em; }
.ntu-flist--topics li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 15rem; border-bottom: 1px solid var(--nt-rule); }
.ntu-flist--topics li:last-child { border-bottom: 0; }
.ntu-fcount { font-family: var(--nt-display); font-size: 0.875rem; font-weight: 900; color: var(--nt-ink); font-variant-numeric: tabular-nums; }
.ntu-footer-small { padding-top: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.ntu-footer-owner, .ntu-colophon { margin: 0; max-width: 64rem; font-size: 0.8125rem; line-height: 1.6; color: var(--nt-meta); }
.ntu-footer-owner { color: var(--nt-ink); }
.ntu-footer-owner a { color: var(--nt-cobalt); display: inline-flex; min-height: 32px; align-items: center; }
.ntu-footer .ntu-footer-note { color: var(--nt-meta); }

/* --- Static pages, empty states ------------------------------------------------------------ */

.ntu-page { max-width: 820px; margin: 0 auto 0.5rem; }
.ntu-empty { max-width: 680px; margin: 0 auto 2rem; padding: 2.5rem 1.5rem; text-align: center; border: var(--nt-frame) solid var(--nt-ink); }
.ntu-empty h1, .ntu-empty h2 { font-size: var(--nt-title); font-weight: 900; margin: 0.5rem 0 0.75rem; }
.ntu-empty .search-form { display: flex; gap: 0.5rem; justify-content: center; margin-top: 1.25rem; }
.ntu-deptlist--chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 1.25rem; border-bottom: 0; }
.ntu-deptlist--chips li { border-bottom: 0; }
.ntu-deptlist--chips a { padding: 0 1rem; border: 2px solid var(--nt-ink); }
.ntu-deptlist--chips a:hover { border-color: var(--nt-cobalt); color: var(--nt-cobalt); }

.ntu-page-head { text-align: left; margin: 0 0 2rem; padding: 0 0 1.5rem; border-bottom: var(--nt-bar-xl) solid var(--nt-ink); }
.ntu-page-kicker { margin: 0 0 .5rem; font-family: var(--nt-display); font-size: 0.8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--nt-cobalt); }
.ntu-page-head .ntu-page-title { margin: 0; font-family: var(--nt-display); font-size: var(--nt-title); font-weight: 900; line-height: 1.04; color: var(--nt-ink); text-wrap: balance; }
.ntu-page-standfirst { margin: .85rem 0 0; font-size: 1.125rem; line-height: 1.6; color: var(--nt-text); max-width: 40rem; }
.ntu-page-updated { margin: .9rem 0 0; font-family: var(--nt-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nt-meta); }
.ntu-page .entry-content { font-size: var(--nt-size-body); line-height: var(--nt-lh-body); }
.ntu-page .entry-content h2 { font-family: var(--nt-display); font-size: clamp(1.5rem, 1.3rem + .6vw, 1.875rem); font-weight: 900; line-height: 1.1; margin: 2.5rem 0 .75rem; padding-top: .75rem; border-top: var(--nt-bar-lg) solid var(--nt-ink); scroll-margin-top: 1.5rem; }
.ntu-page .entry-content h2:first-child { margin-top: 0; }
.ntu-page .entry-content a { color: var(--nt-cobalt); }
.ntu-onpage { margin: 0 0 2rem; padding: 1.1rem 1.4rem; border: var(--nt-frame) solid var(--nt-ink); }
.ntu-onpage-title { margin: 0 0 .5rem; padding-bottom: .5rem; border-bottom: var(--nt-bar-xl) solid var(--nt-ink); font-family: var(--nt-display); font-size: 1.25rem; font-weight: 900; text-transform: uppercase; color: var(--nt-ink); }
.ntu-page .entry-content .ntu-onpage ol { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2rem; }
.ntu-page .entry-content .ntu-onpage li { margin: 0; padding: 0; break-inside: avoid; }
.ntu-page .entry-content .ntu-onpage li::marker { content: none; }
.ntu-page .entry-content .ntu-onpage a { display: flex; gap: .6rem; align-items: baseline; min-height: 44px; padding: .45rem 0; color: var(--nt-ink); text-decoration: none; font-weight: 700; line-height: 1.35; }
.ntu-page .entry-content .ntu-onpage a:hover span:last-child { text-decoration: underline; color: var(--nt-cobalt); }
.ntu-onpage-num { flex: none; font-family: var(--nt-display); font-weight: 800; color: var(--nt-meta); }
.ntu-page-ask { margin: 2.25rem 0 0; padding: 1.25rem 1.5rem; background: var(--nt-panel); border-left: var(--nt-bar-md) solid var(--nt-ink); }
.ntu-page-ask-title { margin: 0 0 .25rem; font-family: var(--nt-display); font-weight: 900; font-size: 1.25rem; text-transform: uppercase; }
.ntu-page-ask p { margin: 0; }
.ntu-page-ask a, .ntu-contact-email a { display: inline-flex; align-items: center; min-height: 44px; color: var(--nt-cobalt); font-weight: 700; }
.ntu-contact-intro { margin: 0 0 1.5rem; padding: 0 0 1.25rem; border-bottom: 1px solid var(--nt-rule); }
.ntu-contact-intro p { margin: 0 0 .5rem; }
.ntu-contact-email { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* Theme contact form (inc/contact-form.php): a label panel. */
.ntu-contact-form { margin: 1.75rem 0 2rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--nt-ground); border: var(--nt-frame) solid var(--nt-ink); }
.ntu-contact-form-title { margin: 0 0 1.25rem; padding-bottom: .6rem; border-bottom: var(--nt-bar-xl) solid var(--nt-ink); font-family: var(--nt-display); font-weight: 900; font-size: 1.5rem; line-height: var(--nt-lh-head); text-transform: uppercase; color: var(--nt-ink); }
.ntu-contact-row { display: grid; grid-template-columns: 1fr; gap: 0 1rem; }
@media (min-width: 640px) { .ntu-contact-row { grid-template-columns: 1fr 1fr; } }
.ntu-page .inedit-form-group { margin: 0 0 1.1rem; display: flex; flex-direction: column; gap: .35rem; }
.ntu-page .inedit-form-group label { font-family: var(--nt-display); font-weight: 700; font-size: .875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--nt-ink); }
.ntu-page .inedit-form-group input, .ntu-page .inedit-form-group select, .ntu-page .inedit-form-group textarea { width: 100%; box-sizing: border-box; font-size: 1.0625rem; min-height: 50px; padding: .6rem .85rem; border: 1px solid var(--nt-ink); border-radius: var(--nt-radius); background: var(--nt-ground); color: var(--nt-ink); }
.ntu-page .inedit-form-group select { appearance: none; padding-right: 2.5rem; background-image: linear-gradient(45deg, transparent 50%, var(--nt-ink) 50%), linear-gradient(135deg, var(--nt-ink) 50%, transparent 50%); background-position: calc(100% - 1.2rem) 52%, calc(100% - .85rem) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.ntu-page .ntu-contact-form textarea { min-height: 180px; resize: vertical; line-height: 1.55; }
.ntu-page .ntu-contact-form input:focus, .ntu-page .ntu-contact-form select:focus, .ntu-page .ntu-contact-form textarea:focus { outline: 2px solid var(--nt-cobalt); outline-offset: 1px; border-color: var(--nt-cobalt); }
.ntu-optional { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--nt-meta); }
.ntu-contact-hint { margin: .1rem 0 0; font-size: .9375rem; color: var(--nt-meta); }
.ntu-contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: .5rem; }
.ntu-page .inedit-contact-submit { min-height: 50px; padding: 0 1.5rem; border: 0; border-radius: var(--nt-radius); background: var(--nt-cobalt); color: #fff; font-family: var(--nt-display); font-weight: 800; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.ntu-page .inedit-contact-submit:hover { background: var(--nt-cobalt-dark); }
.ntu-page .inedit-contact-submit:disabled { opacity: .7; cursor: wait; }
.ntu-contact-privacy { margin: 0; font-size: .9375rem; color: var(--nt-meta); }
.ntu-contact-privacy a { color: var(--nt-cobalt); }
.ntu-contact-status { margin-top: 1rem; }
.ntu-contact-status:empty { display: none; }
.ntu-contact-status.is-ok, .ntu-contact-status.is-error { padding: .85rem 1rem; font-weight: 700; }
.ntu-contact-status.is-ok { background: #EAF1E8; color: #1E4D2B; border: 1px solid #B9D2B3; }
.ntu-contact-status.is-error { background: #F8EAE7; color: #7A2617; border: 1px solid #E3BDB4; }
.ntu-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Inline newsletter card inside long numbered lists (ntu_inline_newsletter). */
.ntu-inline-news { margin: 2.25rem 0; padding: 1.25rem 1.4rem; background: var(--nt-panel); border: var(--nt-frame) solid var(--nt-ink); }
.ntu-inline-news .ntu-newsletter-label { margin: 0 0 0.25rem; }
.ntu-inline-news-title { margin: 0 0 0.85rem !important; font-family: var(--nt-display); font-stretch: var(--nt-stretch); font-weight: 900; font-size: 1.375rem; line-height: 1.1; text-transform: uppercase; color: var(--nt-ink); }
.ntu-inline-news .newsletter-form { display: flex; flex-direction: row; flex-wrap: wrap; align-items: stretch; gap: 0.5rem; }
.ntu-inline-news input[type=email] { flex: 1 1 220px; width: auto; min-width: 0; }
.ntu-inline-news button { flex: 0 0 auto; }
.ntu-editor + .ntu-team { margin-top: 1rem; }
.ntu-editor-name { font-family: var(--nt-display); font-weight: 800; font-size: 1.125rem; margin-bottom: 0.35rem !important; }
.ntu-editor-name a { color: var(--nt-cobalt); text-decoration: none; }

/* --- Responsive ------------------------------------------------------------------------------ */

@media (max-width: 1180px) {
    .ntu-mast-nav .primary-menu { gap: 0 1.5rem; }
    .ntu-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ntu-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 1024px) {
    /* Masthead: lockup left; search + menu right; topics in the drawer. */
    .ntu-mast-inner { min-height: 72px; }
    .ntu-masthead .mobile-menu-toggle { display: inline-flex !important; width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; background: transparent; border: 0; }
    .ntu-masthead .hamburger-line { background: var(--nt-ink); height: 3px; }
    .ntu-masthead .mobile-menu-toggle.active .hamburger-line { background: var(--nt-ink); }
    .ntu-drawer-clip { display: block; position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 1000; }
    .ntu-drawer-clip .main-navigation { position: absolute; pointer-events: auto; background: var(--nt-ground); overflow-y: auto; padding: 0; max-width: none; display: block; }
    .ntu-mast-nav .primary-menu, .ntu-mast-nav .main-navigation ul.primary-menu { display: block; text-align: left; margin: 0 1.5rem; border-top: var(--nt-bar-xl) solid var(--nt-ink); border-bottom: var(--nt-bar-md) solid var(--nt-ink); }
    .ntu-mast-nav .main-navigation .primary-menu li { border-bottom: 1px solid var(--nt-rule); }
    .ntu-mast-nav .main-navigation .primary-menu li:last-child { border-bottom: 0; }
    .ntu-mast-nav .main-navigation a { min-height: 60px; width: 100%; padding: 0; font-size: 1.5rem; font-weight: 900; font-stretch: var(--nt-stretch); color: var(--nt-ink); }
    .ntu-mast-nav .main-navigation a::after { display: none; }
    .ntu-mast-nav .main-navigation .current-cat > a { color: var(--nt-cobalt); }
    .ntu-mast-nav .main-navigation .ntu-drawer-label { display: block; margin: 1.25rem 1.5rem 0.5rem; font-size: 0.8125rem; color: var(--nt-ink); }
    .ntu-mast-nav .main-navigation .ntu-drawer-sub { display: flex; align-items: center; justify-content: center; width: auto; margin: 1.5rem; min-height: 52px; padding: 0 1rem; font-family: var(--nt-display); font-size: 1rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; background: var(--nt-cobalt); color: #fff; border-radius: var(--nt-radius); text-decoration: none; }
    .ntu-masthead .mobile-menu-toggle.active { position: fixed; top: 0.75rem; left: auto; right: 0.75rem; z-index: 1002; }

    .ntu-layout, .ntu-split { grid-template-columns: minmax(0, 1fr); }
    .ntu-layout > .ntu-sidebar { margin-top: 1rem; }
    .ntu-sidebar .ntu-widget-news, .ntu-sidebar .ntu-widget-topics { display: none; }
    .ntu-split-rail { padding-top: 0; }

    .ntu-top { grid-template-columns: minmax(0, 1fr); }
    .ntu-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ntu-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .ntu-strip-line { display: none; }
    .ntu-strip-inner { justify-content: center; }
    .ntu-sheets--2 { grid-template-columns: minmax(0, 1fr); }
    .ntu-sheet, .ntu-sheet--sm { grid-template-columns: 104px minmax(0, 1fr); gap: 0 1rem; padding: 1.1rem 0; }
    .ntu-sheet--dated { grid-template-columns: 104px minmax(0, 1fr); }
    .ntu-sheet--text.ntu-sheet--dated { grid-template-columns: minmax(0, 1fr); }
    /* The date drops under the headline on phones. */
    .ntu-sheet--dated > .ntu-frame { grid-row: span 2; }
    .ntu-sheet--dated > .ntu-sheet-date { grid-column: 2; margin-top: 0.35rem; }
    .ntu-sheet--text.ntu-sheet--dated > .ntu-sheet-date { grid-column: 1; }
    .ntu-sheet-dek { display: none; }
    .ntu-frame { padding: 3px; }
    .ntu-grid--4, .ntu-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; }
    .ntu-card-title { font-size: 1.0625rem; }
    .ntu-feature { grid-template-columns: minmax(0, 1fr); }
    .ntu-label-row { grid-template-columns: minmax(0, 1fr) auto; gap: 0.15rem 0.75rem; }
    .ntu-label-row .ntu-label-cat { grid-column: 1 / -1; }
    .ntu-newsletter .newsletter-form { flex-direction: column; }
    .ntu-page .entry-content .ntu-onpage ol { columns: 1; }
    .ntu-article-top { flex-direction: column; align-items: flex-start; gap: 0; }
}

@media (max-width: 480px) {
    .ntu-logo { gap: 0.5rem; }
    .ntu-logo-mark { width: 28px; height: 28px; }
    .ntu-logo-name { font-size: 1.375rem; }
    .ntu-grid--4, .ntu-grid--3 { grid-template-columns: minmax(0, 1fr); }
    .ntu-footer-cols { grid-template-columns: minmax(0, 1fr); }
    .ntu-label-panel { padding: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
}
