/*
 * The News page's list (src/site/news/NewsHub.tsx, the wlcus-news-hub widget), as designed and
 * approved on 5 Nov 2026 (.notes/designs/news/). The site's colours and fonts; everything under
 * .wnh, specific enough to win over the theme's and plugins' element rules.
 * wnh-n1…wnh-n5: how many sections the page shows (1: only blogs; 4 and 5: the rows layout).
 */

.wnh {
  --wnh-ink: #111;
  --wnh-muted: #5b6270;
  --wnh-line: #e3e7ef;
  --wnh-soft: #f4f6fa;
  --wnh-blue: #0b5aa7;
  --wnh-navy: #273171;
  --wnh-teal: #0475a0;
  --wnh-yellow: #fecf50;
  --wnh-radius: 14px;
  box-sizing: border-box;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px 64px;
  color: var(--wnh-ink);
  font: 400 16px/1.6 Inter, system-ui, sans-serif;
  text-align: left;
}
.wnh *,
.wnh *::before,
.wnh *::after {
  box-sizing: border-box;
}
.wnh a {
  color: inherit;
  text-decoration: none;
}
.wnh button,
.wnh input,
.wnh select {
  margin: 0;
  font: inherit;
  color: inherit;
  letter-spacing: normal;
  text-transform: none;
}
.wnh button {
  cursor: pointer;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.wnh :focus-visible {
  outline: 3px solid var(--wnh-blue);
  outline-offset: 2px;
}
.wnh .wnh-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* The bar: sections, search, filter (over the hero's lower edge) */
.wnh .wnh-bar-wrap {
  position: relative;
  z-index: 3;
  margin-top: -34px;
  scroll-margin-top: 140px;
}
.wnh .wnh-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: var(--wnh-radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 30, 60, 0.12);
}
.wnh .wnh-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.wnh .wnh-tab {
  padding: 10px 18px;
  border-radius: 999px;
  background: transparent;
  color: var(--wnh-navy);
  font: 500 15px/1.4 Poppins, sans-serif;
}
.wnh .wnh-tab:hover {
  background: #eef0fa;
  color: var(--wnh-navy);
}
.wnh .wnh-tab[aria-pressed="true"] {
  background: var(--wnh-navy);
  color: #fff;
}
.wnh .wnh-search {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  min-width: 240px;
  padding: 0 16px;
  border: 1px solid var(--wnh-line);
  border-radius: 999px;
  color: var(--wnh-muted);
}
.wnh .wnh-search:focus-within {
  border-color: var(--wnh-blue);
  box-shadow: 0 0 0 3px rgba(11, 90, 167, 0.25);
}
.wnh .wnh-search .wnh-q {
  flex: 1;
  min-width: 0;
  height: auto;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: var(--wnh-ink);
  font-size: 16px;
  line-height: 1.5;
}
.wnh .wnh-search .wnh-q::placeholder {
  color: var(--wnh-muted);
  opacity: 1;
}
.wnh .wnh-search svg,
.wnh .wnh-filter svg {
  flex: none;
  width: 18px;
  height: 18px;
}
.wnh .wnh-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--wnh-navy);
  border-radius: 999px;
  background: #fff;
  color: var(--wnh-navy);
  font: 500 15px/1.4 Poppins, sans-serif;
}
.wnh .wnh-filter:hover,
.wnh .wnh-filter[aria-expanded="true"] {
  background: #eef0fa;
  color: var(--wnh-navy);
}
.wnh .wnh-count {
  padding: 0 8px;
  border-radius: 999px;
  background: var(--wnh-yellow);
  color: #111;
  font-size: 12px;
  line-height: 1.6;
}

/* The Filter panel */
.wnh .wnh-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 14px;
  z-index: 5;
  width: 420px;
  max-width: calc(100vw - 32px);
  padding: 20px;
  border-radius: var(--wnh-radius);
  background: #fff;
  box-shadow: 0 18px 40px rgba(17, 30, 60, 0.18);
}
.wnh .wnh-group {
  min-width: 0;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}
.wnh .wnh-group legend,
.wnh .wnh-selects span {
  display: block;
  margin: 0 0 10px;
  padding: 0;
  color: var(--wnh-ink);
  font: 600 14px/1.4 Poppins, sans-serif;
}
.wnh .wnh-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wnh .wnh-check {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 6px 12px;
  border: 1px solid var(--wnh-line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
}
.wnh .wnh-check:has(input:checked) {
  border-color: var(--wnh-navy);
  background: #eef0fa;
  color: var(--wnh-navy);
}
.wnh .wnh-check input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--wnh-navy);
}
.wnh .wnh-selects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.wnh .wnh-selects label {
  display: block;
  margin: 0;
}
.wnh .wnh-selects select {
  width: 100%;
  height: auto;
  padding: 9px 12px;
  border: 1px solid var(--wnh-line);
  border-radius: 10px;
  background-color: #fff;
  font-size: 14px;
  line-height: 1.4;
}
.wnh .wnh-panel-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--wnh-line);
}
.wnh .wnh-clear {
  color: var(--wnh-muted);
  font-size: 14px;
  text-decoration: underline;
}
.wnh .wnh-clear:hover {
  background: none;
  color: var(--wnh-ink);
}
.wnh .wnh-apply {
  padding: 9px 18px;
  border-radius: 10px;
  background: var(--wnh-navy);
  color: #fff;
  font: 500 14px/1.4 Poppins, sans-serif;
}
.wnh .wnh-apply:hover {
  background: #1c2459;
  color: #fff;
}

/* Under the bar */
.wnh .wnh-body {
  padding-top: 40px;
}
.wnh .wnh-link {
  background: none;
  color: var(--wnh-teal);
  font: 500 14px/1.4 Poppins, sans-serif;
}
.wnh .wnh-link:hover {
  background: none;
  color: var(--wnh-teal);
  text-decoration: underline;
}
.wnh .wnh-meta {
  color: var(--wnh-muted);
  font-size: 13px;
  line-height: 1.5;
}
.wnh .wnh-chip,
.wnh .wnh-kind-tag {
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 999px;
  background: #e8eef7;
  color: #2d4a7a;
  font: 600 11px/1.5 Poppins, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.wnh .wnh-chip-finance {
  background: #e3f4ec;
  color: #137a4b;
}
.wnh .wnh-chip-pharma {
  background: #ece8fb;
  color: #5a3fc0;
}
.wnh .wnh-chip-hse {
  background: #fff1d6;
  color: #9a6400;
}
.wnh .wnh-kind-tag {
  background: var(--wnh-navy);
  color: #fff;
}

/* The big boxes: each section's newest */
.wnh .wnh-featured {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 24px;
}
.wnh .wnh-feature {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--wnh-radius);
  background: radial-gradient(circle at 30% 20%, #3a8fd6, #0b3f7a 70%);
  color: #fff;
  transition: box-shadow 0.2s;
}
.wnh .wnh-feature:hover {
  box-shadow: 0 14px 30px rgba(17, 30, 60, 0.22);
  color: #fff;
}
.wnh .wnh-feature-picture {
  display: block;
  flex: none;
  overflow: hidden;
}
.wnh .wnh-feature-picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wnh .wnh-feature-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: auto;
  padding: 22px;
}
.wnh .wnh-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font: 600 12px/1.5 Poppins, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* At most three lines: a long title doesn't make the row taller than the magazine's box. */
.wnh .wnh-feature-title {
  display: -webkit-box;
  overflow: hidden;
  font: 600 22px/1.3 Poppins, sans-serif;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.wnh .wnh-feature-meta {
  display: -webkit-box;
  overflow: hidden;
  color: #d9e2f2;
  font-size: 15px;
  line-height: 1.5;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.wnh .wnh-go {
  margin-top: 6px;
  padding: 8px 16px;
  border-radius: 10px;
  background: var(--wnh-yellow);
  color: #111;
  font: 700 14px/1.4 Oxygen, sans-serif;
}
/* The blog's own picture has its title printed on it: shown whole, the words below it. */
.wnh .wnh-feature-blog {
  background: linear-gradient(160deg, #273171, #0b3f7a);
}
.wnh .wnh-feature-blog .wnh-feature-picture {
  aspect-ratio: 16 / 9;
}
.wnh .wnh-feature-blog .wnh-feature-picture img {
  object-fit: contain;
}
.wnh .wnh-feature-blog .wnh-feature-body {
  margin-top: 0;
}
/*
 * A magazine's cover (a game's, podcast's picture) fills the box's free space above its words,
 * whole: the box is as tall as its row (the blog's box beside it), so a fixed size left a gap.
 */
.wnh .wnh-feature-magazine .wnh-feature-picture,
.wnh .wnh-feature-game .wnh-feature-picture,
.wnh .wnh-feature-podcast .wnh-feature-picture,
.wnh .wnh-feature-interview .wnh-feature-picture {
  position: relative;
  flex: 1 1 auto;
  min-height: 300px;
  margin: 24px 24px 0;
}
.wnh .wnh-feature-game .wnh-feature-picture,
.wnh .wnh-feature-podcast .wnh-feature-picture,
.wnh .wnh-feature-interview .wnh-feature-picture {
  min-height: 220px;
}
.wnh .wnh-feature-magazine .wnh-feature-picture img,
.wnh .wnh-feature-game .wnh-feature-picture img,
.wnh .wnh-feature-podcast .wnh-feature-picture img,
.wnh .wnh-feature-interview .wnh-feature-picture img {
  position: absolute;
  inset: 0;
  object-fit: contain;
  /* The shadow follows the picture itself, not the space around it. */
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}
/*
 * A magazine's box has a magazine's shape (A4, 1 : 1.414): its cover fills it, its words over the
 * cover's foot on a dark fade. Its height is its column's width × 1.414 (the row's boxes are its
 * container: 100cqw is the row's width), and the boxes beside it are as tall; a row made taller by
 * long words crops the cover a little rather than leaving a gap.
 * Three sections: 1.25fr 1fr 1fr (24px gaps); two: 1.65fr 1fr (tablet 1.5fr 1fr); phone: below.
 */
.wnh .wnh-featured {
  container-type: inline-size;
}
.wnh .wnh-feature-magazine {
  position: relative;
  min-height: calc((100cqw - 48px) / 3.25 * 1.414);
  background: var(--wnh-navy);
}
.wnh-n2 .wnh-feature-magazine {
  min-height: calc((100cqw - 24px) / 2.65 * 1.414);
}
.wnh .wnh-feature-magazine .wnh-feature-picture {
  position: absolute;
  inset: 0;
  min-height: 0;
  margin: 0;
}
.wnh .wnh-feature-magazine .wnh-feature-picture img {
  object-fit: cover;
  filter: none;
}
.wnh .wnh-feature-magazine .wnh-feature-body {
  position: relative;
  padding-top: 64px;
  background: linear-gradient(180deg, rgba(8, 18, 45, 0) 0%, rgba(8, 18, 45, 0.82) 40%, rgba(8, 18, 45, 0.94) 100%);
}
.wnh .wnh-feature-magazine .wnh-feature-title {
  display: -webkit-box;
  overflow: hidden;
  font-size: 20px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
/* Its description is in the Magazines list below; the cover speaks for itself here. */
.wnh .wnh-feature-magazine .wnh-feature-meta {
  display: none;
}
/* An issue without a cover: one drawn, filling the box. */
.wnh .wnh-feature-magazine .wnh-drawn-cover {
  padding: 28px;
  border-radius: 0;
}

/* The sections side by side */
.wnh .wnh-columns {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  align-items: start;
  gap: 24px;
  margin-top: 48px;
}
.wnh .wnh-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
}
.wnh .wnh-section-head h2 {
  margin: 0;
  padding: 0;
  color: var(--wnh-ink);
  font: 600 26px/1.3 Poppins, sans-serif;
}
.wnh .wnh-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.wnh .wnh-chip-button {
  padding: 7px 16px;
  border: 1px solid var(--wnh-line);
  border-radius: 999px;
  background: #fff;
  color: var(--wnh-ink);
  font: 500 14px/1.4 Poppins, sans-serif;
}
.wnh .wnh-chip-button:hover {
  border-color: var(--wnh-navy);
  background: #fff;
  color: var(--wnh-navy);
}
.wnh .wnh-chip-button[aria-pressed="true"] {
  border-color: var(--wnh-navy);
  background: var(--wnh-navy);
  color: #fff;
}
.wnh .wnh-more {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 12px;
  border: 1px solid var(--wnh-navy);
  border-radius: 10px;
  background: #fff;
  color: var(--wnh-navy);
  font: 500 15px/1.4 Poppins, sans-serif;
  text-align: center;
}
.wnh .wnh-more:hover {
  background: #eef0fa;
  color: var(--wnh-navy);
}

/* Cards: picture above, words below */
.wnh .wnh-cards,
.wnh .wnh-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.wnh .wnh-grid {
  grid-template-columns: repeat(3, 1fr);
}
.wnh .wnh-grid + .wnh-more {
  max-width: 320px;
  margin: 28px auto 0;
}
.wnh .wnh-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--wnh-line);
  border-radius: var(--wnh-radius);
  background: #fff;
  transition: box-shadow 0.2s;
}
.wnh .wnh-card:hover {
  box-shadow: 0 10px 24px rgba(17, 30, 60, 0.1);
}
.wnh .wnh-card-picture {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--wnh-soft);
}
.wnh .wnh-card-picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wnh .wnh-card-magazine .wnh-card-picture {
  padding: 12px 0;
  background: linear-gradient(160deg, #0b5aa7, #273171);
}
.wnh .wnh-card-magazine .wnh-card-picture img {
  object-fit: contain;
}
.wnh .wnh-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 16px;
}
.wnh .wnh-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.wnh .wnh-card-tags:empty {
  display: none;
}
.wnh .wnh-card-title {
  display: -webkit-box;
  overflow: hidden;
  font: 600 16px/1.4 Poppins, sans-serif;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* Rows: a small picture beside the words (magazines, games) */
.wnh .wnh-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wnh .wnh-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--wnh-line);
  border-radius: var(--wnh-radius);
  background: #fff;
  transition: box-shadow 0.2s;
}
.wnh .wnh-row:hover {
  box-shadow: 0 10px 24px rgba(17, 30, 60, 0.1);
}
.wnh .wnh-row-picture {
  flex: none;
  width: 92px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}
.wnh .wnh-row-game .wnh-row-picture,
.wnh .wnh-row-podcast .wnh-row-picture,
.wnh .wnh-row-interview .wnh-row-picture {
  width: 64px;
  aspect-ratio: 1;
  border-radius: 12px;
  box-shadow: none;
  background: #eaf2fb;
}
.wnh .wnh-row-picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wnh .wnh-row-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.wnh .wnh-row-title {
  font: 600 15px/1.35 Poppins, sans-serif;
}
.wnh .wnh-go-text {
  color: var(--wnh-teal);
  font: 500 13px/1.4 Poppins, sans-serif;
}
.wnh .wnh-row-game .wnh-go-text {
  align-self: flex-start;
  margin-top: 4px;
  padding: 5px 12px;
  border-radius: 8px;
  background: var(--wnh-yellow);
  color: #111;
  font: 700 13px/1.4 Oxygen, sans-serif;
}

/* What stands in for a missing picture */
.wnh .wnh-no-picture {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #273171, #0b3f7a);
}
.wnh .wnh-row .wnh-no-picture,
.wnh .wnh-feature .wnh-no-picture {
  background: transparent;
}
.wnh .wnh-row .wnh-no-picture {
  background: #eaf2fb;
}
.wnh .wnh-hat {
  width: 70%;
  height: 70%;
}
.wnh .wnh-feature .wnh-hat {
  width: 150px;
  height: 150px;
}
.wnh .wnh-drawn-cover {
  display: flex;
  flex-direction: column;
  padding: 8px;
  background: linear-gradient(160deg, #0b5aa7, #273171);
  color: #fff;
}
.wnh .wnh-drawn-name {
  font: 700 10px/1.1 Poppins, sans-serif;
}
.wnh .wnh-drawn-title {
  margin-top: auto;
  font: 600 8px/1.3 Poppins, sans-serif;
}
.wnh .wnh-drawn-label {
  margin-top: 4px;
  color: var(--wnh-yellow);
  font: 500 7px/1.3 Poppins, sans-serif;
}
.wnh .wnh-feature .wnh-drawn-cover,
.wnh .wnh-card .wnh-drawn-cover {
  padding: 14px;
}
.wnh .wnh-feature .wnh-drawn-name,
.wnh .wnh-card .wnh-drawn-name {
  font-size: 18px;
}
.wnh .wnh-feature .wnh-drawn-title,
.wnh .wnh-card .wnh-drawn-title {
  font-size: 13px;
}
.wnh .wnh-feature .wnh-drawn-label,
.wnh .wnh-card .wnh-drawn-label {
  font-size: 11px;
}

/* A list of results */
.wnh .wnh-note {
  margin: 0 0 16px;
  color: var(--wnh-muted);
  font-size: 15px;
}
.wnh .wnh-note b {
  color: var(--wnh-ink);
}
.wnh .wnh-note .wnh-link,
.wnh .wnh-empty .wnh-link {
  font: inherit;
  text-decoration: underline;
}
.wnh .wnh-empty {
  margin: 8px 0;
  padding: 32px;
  border: 1px dashed var(--wnh-line);
  border-radius: var(--wnh-radius);
  color: var(--wnh-muted);
  text-align: center;
}

/* Only blogs (until magazines or games are added): the newest wide, the others three a row */
.wnh-n1 .wnh-featured,
.wnh-n1 .wnh-columns {
  grid-template-columns: 1fr;
}
.wnh-n1 .wnh-feature-blog {
  flex-direction: row;
  align-items: center;
  min-height: 0;
}
.wnh-n1 .wnh-feature-blog .wnh-feature-picture {
  flex: 0 0 58%;
}
.wnh-n1 .wnh-feature-blog .wnh-feature-body {
  padding: 28px 32px;
}
.wnh-n1 .wnh-feature-blog .wnh-feature-title {
  font-size: 26px;
}
.wnh-n1 .wnh-cards {
  grid-template-columns: repeat(3, 1fr);
}

/* Two sections: the second box narrower, so a magazine's (its height from its width) is about as tall as the blog's */
.wnh-n2 .wnh-featured,
.wnh-n2 .wnh-columns {
  grid-template-columns: 1.65fr 1fr;
}

/* Four or five sections (podcasts and interviews turned on): the rows layout */
.wnh-n4 .wnh-featured,
.wnh-n5 .wnh-featured {
  grid-template-columns: 1.6fr 1fr 1fr;
}
.wnh-n4 .wnh-feature:first-child,
.wnh-n5 .wnh-feature:first-child {
  grid-row: span 2;
}
.wnh-n4 .wnh-feature:not(:first-child),
.wnh-n5 .wnh-feature:not(:first-child) {
  flex-direction: row;
  align-items: center;
  min-height: 0;
}
.wnh-n4 .wnh-feature:not(:first-child) .wnh-feature-picture,
.wnh-n5 .wnh-feature:not(:first-child) .wnh-feature-picture {
  position: static;
  flex: none;
  min-height: 0;
  width: 96px;
  height: auto;
  aspect-ratio: 3 / 4;
  margin: 0 0 0 18px;
}
.wnh-n4 .wnh-feature:not(:first-child) .wnh-feature-picture img,
.wnh-n5 .wnh-feature:not(:first-child) .wnh-feature-picture img {
  position: static;
}
.wnh-n4 .wnh-feature:not(:first-child) .wnh-feature-body,
.wnh-n5 .wnh-feature:not(:first-child) .wnh-feature-body {
  margin-top: 0;
  padding: 18px;
}
/* A magazine among the small boxes: a small cover beside its words, as the others. */
.wnh-n4 .wnh-feature-magazine:not(:first-child),
.wnh-n5 .wnh-feature-magazine:not(:first-child) {
  min-height: 0;
}
.wnh-n4 .wnh-feature-magazine:not(:first-child) .wnh-feature-body,
.wnh-n5 .wnh-feature-magazine:not(:first-child) .wnh-feature-body {
  background: none;
}
.wnh-n4 .wnh-feature:not(:first-child) .wnh-feature-title,
.wnh-n5 .wnh-feature:not(:first-child) .wnh-feature-title {
  font-size: 17px;
}
.wnh-n4 .wnh-columns,
.wnh-n5 .wnh-columns {
  grid-template-columns: 1fr;
  gap: 40px;
}
.wnh-n4 .wnh-cards,
.wnh-n5 .wnh-cards {
  grid-template-columns: repeat(4, 1fr);
}
.wnh-n4 .wnh-rows,
.wnh-n5 .wnh-rows {
  display: grid;
  grid-auto-columns: minmax(280px, 1fr);
  grid-auto-flow: column;
  overflow-x: auto;
  padding-bottom: 6px;
}

/* Tablet */
@media (max-width: 1024px) {
  .wnh-n3 .wnh-featured,
  .wnh-n3 .wnh-columns,
  .wnh-n4 .wnh-featured,
  .wnh-n5 .wnh-featured {
    grid-template-columns: 1fr 1fr;
  }
  /* Two sections: the magazine's column a little wider, for the blog's taller box at this width. */
  .wnh-n2 .wnh-featured,
  .wnh-n2 .wnh-columns {
    grid-template-columns: 1.5fr 1fr;
  }
  .wnh-n2 .wnh-feature-magazine {
    min-height: calc((100cqw - 24px) / 2.5 * 1.414);
  }
  /* The blog's box across the row, the magazine and the game side by side under it. */
  .wnh-n3 .wnh-feature-magazine {
    min-height: calc((100cqw - 24px) / 2 * 1.414);
  }
  .wnh-n3 .wnh-feature-blog,
  .wnh-n3 .wnh-section-blogs,
  .wnh-n4 .wnh-feature:first-child,
  .wnh-n5 .wnh-feature:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .wnh-n1 .wnh-feature-blog {
    flex-direction: column;
    align-items: stretch;
  }
  .wnh-n1 .wnh-feature-blog .wnh-feature-picture {
    flex: none;
  }
  .wnh .wnh-grid,
  .wnh-n1 .wnh-cards,
  .wnh-n4 .wnh-cards,
  .wnh-n5 .wnh-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Phone: one column, in the same order */
@media (max-width: 767px) {
  .wnh {
    padding-bottom: 40px;
  }
  .wnh .wnh-bar-wrap {
    margin-top: -24px;
  }
  .wnh .wnh-bar {
    gap: 10px;
    padding: 12px;
  }
  .wnh .wnh-tabs {
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .wnh .wnh-tab {
    flex: none;
    padding: 8px 14px;
    font-size: 14px;
  }
  .wnh .wnh-search {
    min-width: 0;
    padding: 0 14px;
  }
  .wnh .wnh-filter {
    padding: 9px 14px;
  }
  .wnh .wnh-panel {
    position: static;
    width: auto;
    max-width: none;
    margin-top: 10px;
  }
  .wnh .wnh-body {
    padding-top: 24px;
  }
  .wnh .wnh-featured,
  .wnh .wnh-columns,
  .wnh .wnh-cards,
  .wnh .wnh-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .wnh .wnh-columns {
    gap: 32px;
    margin-top: 32px;
  }
  .wnh .wnh-feature {
    min-height: 0;
  }
  .wnh .wnh-feature-title,
  .wnh-n1 .wnh-feature-blog .wnh-feature-title {
    font-size: 18px;
  }
  .wnh-n1 .wnh-feature-blog .wnh-feature-body {
    padding: 22px;
  }
  .wnh .wnh-section-head h2 {
    font-size: 22px;
  }
  .wnh .wnh-feature-game .wnh-feature-picture,
  .wnh .wnh-feature-podcast .wnh-feature-picture,
  .wnh .wnh-feature-interview .wnh-feature-picture {
    min-height: 180px;
  }
  .wnh .wnh-feature .wnh-hat {
    width: 110px;
    height: 110px;
  }
  /* One column: the magazine as wide as the screen, a magazine's height. */
  .wnh .wnh-feature-magazine,
  .wnh-n2 .wnh-feature-magazine,
  .wnh-n3 .wnh-feature-magazine {
    min-height: calc(100cqw * 1.414);
  }
}
