/* GENERATED by tools/build-child-theme.mjs — edit mockup/css/ instead. */

/* === tokens.css === */
/* womenpreneurindia — design tokens.
   This is the ONLY file permitted to contain raw hex values. */
:root {
  /* Colour */
  --wpi-ink: #14110F;
  --wpi-paper: #FFFFFF;
  --wpi-bone: #FAF7F2;
  --wpi-plum: #7A1436;
  --wpi-marigold: #E8A33D;
  --wpi-muted: #6B635C;
  --wpi-hairline: #E6E0D8;

  /* Focus ring colour. Indirected so dark grounds can reassign it — a fixed
     Plum ring measures 1.77:1 on Ink and 1:1 on the Plum newsletter band. */
  --wpi-focus: var(--wpi-plum);

  /* Families */
  --wpi-font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --wpi-font-text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Type scale */
  --wpi-size-hero: clamp(40px, 5vw, 64px);
  --wpi-size-lead: 28px;
  --wpi-size-card: 20px;
  --wpi-size-compact: 16px;
  --wpi-size-body: 17px;
  --wpi-size-dek: 16px;
  --wpi-size-label: 13px;
  --wpi-size-meta: 12px;
  --wpi-size-kicker: 11px;

  /* Rhythm */
  --wpi-space-unit: 8px;
  --wpi-gutter: 24px;
  --wpi-container: 1280px;
  --wpi-pad-inline: 40px;
  --wpi-section-gap: 96px;
}

@media (max-width: 768px) {
  :root {
    --wpi-pad-inline: 20px;
    --wpi-section-gap: 56px;
  }
}

/* === fonts.css === */
/* GENERATED by tools/fetch-fonts.mjs — do not edit by hand. */
@font-face{font-family:'Newsreader';font-style:normal;font-weight:400 600;font-display:swap;src:url('../fonts/newsreader-var.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url('../fonts/inter-var.woff2') format('woff2');}

/* === base.css === */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--wpi-paper);
  color: var(--wpi-ink);
  font-family: var(--wpi-font-text);
  font-size: var(--wpi-size-body);
  line-height: 1.6;
  letter-spacing: -0.011em;
  font-synthesis-weight: none;
}

img { max-width: 100%; display: block; }

/* The `hidden` attribute's display:none is a UA rule at the lowest possible
   specificity. Any `div { display: block }` shipped by the parent theme,
   Elementor, ElementsKit or Essential Addons beats it, and every Most Read
   tab panel then renders stacked at once. This is the backstop. */
[hidden] { display: none !important; }

a { color: var(--wpi-plum); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--wpi-focus);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--wpi-font-display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

/* Section label. The descendant selectors are not redundant: in the mockup
   `.wpi-label` IS the heading element, but Elementor puts a widget's CSS
   Classes on the widget WRAPPER, so on the live site the class lands on a
   <div> with the real <h2> inside it. font-family, font-weight and font-size
   do not survive that indirection on their own, because the `h1, h2, h3, h4`
   rule above re-declares family and weight on the inner heading and the UA
   supplies its own em-based size. Styling both the element and its heading
   descendants makes one class work in both delivery vehicles. */
.wpi-label,
.wpi-label h1,
.wpi-label h2,
.wpi-label h3 {
  font-family: var(--wpi-font-text);
  font-weight: 700;
  font-size: var(--wpi-size-label);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

.wpi-visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* === layout.css === */
.wpi-container {
  max-width: var(--wpi-container);
  margin-inline: auto;
  padding-inline: var(--wpi-pad-inline);
}

.wpi-section { padding-block: var(--wpi-section-gap); }
.wpi-section--bone { background: var(--wpi-bone); }
.wpi-section--ink  { background: var(--wpi-ink); color: var(--wpi-paper); }
/* Dark and saturated grounds. Headings inherit the section's own colour, so
   they need no override — but links and the focus ring are set globally and
   do. Marigold measures 8.72:1 on Ink and 4.92:1 on Plum; Plum measures
   1.77:1 on Ink and 1:1 on itself. `.wpi-footer` and `.wpi-newsletter` are
   listed here because they carry dark grounds without `.wpi-section--ink`,
   and the newsletter band holds the page's only form controls. */
.wpi-section--ink,
.wpi-footer,
.wpi-newsletter {
  --wpi-focus: var(--wpi-marigold);
}
.wpi-section--ink a { color: var(--wpi-marigold); }

.wpi-section__head {
  display: flex;
  align-items: center;
  gap: var(--wpi-gutter);
  margin-bottom: calc(var(--wpi-space-unit) * 4);
}
/* The head sits on an Elementor container on the live site, where .e-con
   declares flex-direction: column at single-class specificity. Two classes
   beat it, so the hairline keeps its row axis. */
.wpi-container .wpi-section__head,
.wpi-col-6 .wpi-section__head {
  flex-direction: row;
}
.wpi-section__head::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--wpi-hairline);
}

.wpi-grid {
  display: grid;
  gap: var(--wpi-gutter);
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
/* Elementor's own container rule declares display:flex at single-class
   specificity (.e-con). `.wpi-grid` alone ties with it and then depends on
   stylesheet order, which is not ours to guarantee. Every grid in the mockup
   and in the Elementor template carries wpi-container alongside wpi-grid, so
   this compound selector wins outright and the 12-column grid cannot be
   flattened back to a flex column. */
.wpi-container.wpi-grid { display: grid; }

.wpi-col-3 { grid-column: span 3; }
.wpi-col-4 { grid-column: span 4; }
.wpi-col-6 { grid-column: span 6; }
.wpi-col-8 { grid-column: span 8; }

@media (max-width: 1024px) {
  .wpi-col-3 { grid-column: span 6; }
  .wpi-col-4 { grid-column: span 6; }
  .wpi-col-8 { grid-column: span 12; }
}

@media (max-width: 768px) {
  .wpi-col-3, .wpi-col-4, .wpi-col-6, .wpi-col-8 { grid-column: span 12; }
}

/* === components.css === */
/* ---- Card ------------------------------------------------------------- */
/* position:relative is load-bearing, not cosmetic: it is the containing block
   for the stretched link below, which makes the whole card a click target. */
.wpi-card { display: flex; flex-direction: column; gap: calc(var(--wpi-space-unit) * 1.5); position: relative; }

.wpi-card__media {
  width: 100%;
  overflow: hidden;
  background: var(--wpi-hairline);
}
.wpi-card__media img { width: 100%; height: 100%; object-fit: cover; }

.wpi-card--wide     .wpi-card__media { aspect-ratio: 16 / 9; }
.wpi-card--portrait .wpi-card__media { aspect-ratio: 4 / 5; }
.wpi-card--hero     .wpi-card__media { aspect-ratio: 3 / 2; }

.wpi-card__kicker {
  font-weight: 600;
  font-size: var(--wpi-size-kicker);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wpi-plum);
}

.wpi-card__title {
  font-family: var(--wpi-font-display);
  font-weight: 600;
  font-size: var(--wpi-size-card);
  line-height: 1.25;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wpi-card__title a { color: inherit; }

/* Stretched link. The headline anchor is the card's real, accessible link;
   this pseudo-element extends its hit area over the entire card so the image,
   kicker, dek and meta are all clickable — without wrapping the card in a
   second anchor, which would nest interactive content and duplicate the link
   in the accessibility tree. The card's overflow:hidden on __title does not
   clip it: the pseudo-element's containing block is .wpi-card, an ANCESTOR of
   the clipping box, so the clip does not apply to it. */
.wpi-card__title a::after,
.wpi-hero__title a::after {
  content: '';
  position: absolute;
  inset: 0;
}

.wpi-card__dek {
  margin: 0;
  font-size: var(--wpi-size-dek);
  line-height: 1.55;
  color: var(--wpi-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wpi-card__meta {
  font-size: var(--wpi-size-meta);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--wpi-muted);
}
.wpi-card__meta span + span::before { content: ' · '; }

.wpi-card--lead .wpi-card__title { font-size: var(--wpi-size-lead); line-height: 1.15; }

/* Dark band variants */
.wpi-section--ink .wpi-card__kicker { color: var(--wpi-marigold); }
.wpi-section--ink .wpi-card__dek,
.wpi-section--ink .wpi-card__meta { color: var(--wpi-hairline); }

/* ---- Ad slots --------------------------------------------------------- */
.wpi-ad {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  background: var(--wpi-bone);
  color: var(--wpi-muted);
  font-size: var(--wpi-size-meta);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.wpi-ad--billboard   { min-height: 250px; max-width: 970px; }
.wpi-ad--mpu         { min-height: 250px; max-width: 300px; }
.wpi-ad--leaderboard { min-height:  90px; max-width: 728px; }

@media (max-width: 768px) {
  .wpi-ad--billboard { min-height: 250px; max-width: 300px; }
}

/* === sections.css === */
/* ---- Skip link -------------------------------------------------------- */
.wpi-skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--wpi-plum); color: var(--wpi-paper);
  padding: calc(var(--wpi-space-unit) * 1.5) calc(var(--wpi-space-unit) * 2);
}
.wpi-skip:focus { left: var(--wpi-pad-inline); top: var(--wpi-space-unit); }

/* ---- Header ----------------------------------------------------------- */
/* Masthead layout: a centred logo row (search left, Magazines right), then
   the section menu on its own row. Too tall to stick on desktop; below
   1024px it collapses to one compact row, which does stick. */
.wpi-header {
  background: var(--wpi-paper);
  border-bottom: 1px solid var(--wpi-ink);
}
.wpi-header__inner {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: var(--wpi-gutter);
  padding-block: calc(var(--wpi-space-unit) * 3);
}
.wpi-header__start { display: flex; align-items: center; }
.wpi-header__brand {
  display: flex; align-items: baseline; gap: 6px;
  justify-self: center; color: var(--wpi-ink);
}
.wpi-header__brand:hover { text-decoration: none; }
.wpi-header__word {
  font-family: var(--wpi-font-display); font-weight: 600;
  font-size: 24px; letter-spacing: -0.02em;
}
.wpi-header__sub {
  font-size: var(--wpi-size-kicker); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--wpi-plum);
}
.wpi-header .wpi-header__word { font-size: 56px; line-height: 1; }
.wpi-header__actions {
  display: flex; align-items: center; justify-content: flex-end;
  gap: var(--wpi-space-unit);
}
.wpi-header__nav ul {
  display: flex; flex-wrap: wrap; justify-content: center; row-gap: var(--wpi-space-unit);
  list-style: none; margin: 0; padding: 0 0 calc(var(--wpi-space-unit) * 2.5);
}
.wpi-header__nav li + li { border-left: 1px solid var(--wpi-ink); }
.wpi-header__nav a {
  display: block; padding-inline: calc(var(--wpi-space-unit) * 2.25);
  color: var(--wpi-ink); font-size: 15px; font-weight: 500;
  line-height: 1.2; text-transform: uppercase; letter-spacing: 0.02em;
}
.wpi-header__nav li:first-child a { padding-left: 0; }
.wpi-header__nav li:last-child a { padding-right: 0; }

@media (max-width: 1024px) {
  .wpi-header { position: sticky; top: 0; z-index: 50; border-bottom-color: var(--wpi-hairline); }
  .wpi-header__inner { padding-block: calc(var(--wpi-space-unit) * 1.5); gap: var(--wpi-space-unit); }
  .wpi-header .wpi-header__word { font-size: 28px; }
}

.wpi-iconbtn {
  display: grid; place-items: center;
  width: 36px; height: 36px; padding: 0;
  background: none; border: 1px solid var(--wpi-hairline); cursor: pointer;
  color: var(--wpi-ink);
}
.wpi-btn {
  display: inline-block;
  background: var(--wpi-plum); color: var(--wpi-paper);
  padding: 10px 18px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em;
}
.wpi-btn:hover { text-decoration: none; background: var(--wpi-ink); }
.wpi-btn--outline {
  background: var(--wpi-paper); color: var(--wpi-ink);
  border: 2px solid var(--wpi-ink);
  padding: 12px 30px; font-size: 15px; text-transform: uppercase;
}
.wpi-btn--outline:hover { background: var(--wpi-ink); color: var(--wpi-paper); }

@media (max-width: 1024px) {
  .wpi-header__nav { display: none; }
  .wpi-header .wpi-btn--outline { padding: 8px 14px; font-size: 13px; }
}
/* On phones the logo needs the room; Magazines stays in the menu panel. */
@media (max-width: 560px) {
  .wpi-header .wpi-btn--outline { display: none; }
}

.wpi-navtoggle {
  display: none;
  place-items: center;
  width: 36px; height: 36px; padding: 0;
  background: none; border: 1px solid var(--wpi-hairline); cursor: pointer;
  color: var(--wpi-ink);
}
.wpi-navpanel {
  border-top: 1px solid var(--wpi-hairline);
  background: var(--wpi-paper);
  padding-block: calc(var(--wpi-space-unit) * 3);
}
.wpi-navpanel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: calc(var(--wpi-space-unit) * 2); }
.wpi-navpanel a {
  font-family: var(--wpi-font-display);
  font-size: 22px;
  color: var(--wpi-ink);
}

@media (max-width: 1024px) {
  .wpi-navtoggle { display: grid; }
}
@media (min-width: 1025px) {
  .wpi-navpanel { display: none; }
}

/* ---- Footer ----------------------------------------------------------- */
.wpi-footer {
  background: var(--wpi-ink); color: var(--wpi-paper);
  padding-block: var(--wpi-section-gap) calc(var(--wpi-space-unit) * 4);
  margin-top: var(--wpi-section-gap);
}
.wpi-footer .wpi-label { color: var(--wpi-paper); margin-bottom: calc(var(--wpi-space-unit) * 2); }
.wpi-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--wpi-space-unit); }
.wpi-footer__list a { color: var(--wpi-hairline); font-size: 14px; }
.wpi-footer__muted { color: var(--wpi-hairline); font-size: 13px; }
.wpi-footer__bar {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--wpi-space-unit);
  margin-top: calc(var(--wpi-space-unit) * 6);
  padding-top: calc(var(--wpi-space-unit) * 3);
  border-top: 1px solid var(--wpi-muted);
  font-size: var(--wpi-size-meta); color: var(--wpi-hairline);
}
.wpi-footer__bar a { color: var(--wpi-hairline); }

/* ---- Hero ------------------------------------------------------------- */
/* The hero sits closer under the sticky header than a normal section break:
   a full section gap here wastes the most valuable space on the page. Derived
   from the token so it still halves on mobile (48px desktop / 28px mobile). */
.wpi-hero { padding-top: calc(var(--wpi-section-gap) / 2); }
.wpi-hero__title {
  font-size: var(--wpi-size-hero);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.wpi-hero__title a { color: inherit; }
.wpi-hero__rail { display: grid; gap: calc(var(--wpi-space-unit) * 3); align-content: start; }
.wpi-hero__rail .wpi-card + .wpi-card {
  border-top: 1px solid var(--wpi-hairline);
  padding-top: calc(var(--wpi-space-unit) * 3);
}
/* Spec 8.2 requires visible 16:9 thumbnails in the rail. Keep them small so
   three stacked cards stay within the hero's height. */
.wpi-hero__rail .wpi-card { grid-template-columns: 96px 1fr; display: grid; gap: calc(var(--wpi-space-unit) * 2); align-items: start; }
.wpi-hero__rail .wpi-card__media { grid-row: span 3; }
.wpi-hero__rail .wpi-card__title { font-size: var(--wpi-size-compact); line-height: 1.3; -webkit-line-clamp: 3; }

@media (max-width: 1024px) {
  .wpi-hero__rail { grid-template-columns: repeat(3, 1fr); gap: var(--wpi-gutter); }
  .wpi-hero__rail .wpi-card + .wpi-card { border-top: 0; padding-top: 0; }
  .wpi-hero__rail .wpi-card { grid-template-columns: 1fr; }
  .wpi-hero__rail .wpi-card__media { grid-row: auto; }
}
@media (max-width: 768px) {
  .wpi-hero__rail {
    grid-auto-flow: column;
    grid-auto-columns: 72%;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: var(--wpi-space-unit);
  }
  .wpi-hero__rail > * { scroll-snap-align: start; }
  .wpi-hero__rail .wpi-card { grid-template-columns: 1fr; }
  .wpi-hero__rail .wpi-card__media { grid-row: auto; }
  .wpi-hero__rail .wpi-card + .wpi-card { border-top: 0; padding-top: 0; }
}

/* ---- Latest strip ----------------------------------------------------- */
.wpi-latest__track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--wpi-gutter);
}
.wpi-latest__track .wpi-card__title { font-size: var(--wpi-size-compact); line-height: 1.3; -webkit-line-clamp: 3; }

@media (max-width: 1024px) {
  .wpi-latest__track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .wpi-latest__track {
    grid-auto-flow: column;
    grid-auto-columns: 72%;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: var(--wpi-space-unit);
  }
  .wpi-latest__track > * { scroll-snap-align: start; }
}

/* ---- Most Read -------------------------------------------------------- */
.wpi-tabs {
  display: flex; flex-wrap: wrap; gap: calc(var(--wpi-space-unit) * 3);
  border-bottom: 1px solid var(--wpi-hairline);
  margin-bottom: calc(var(--wpi-space-unit) * 4);
}
.wpi-tab {
  appearance: none; background: none; border: 0; cursor: pointer;
  padding: 0 0 calc(var(--wpi-space-unit) * 1.5);
  margin-bottom: -1px;
  font-family: var(--wpi-font-text);
  font-size: var(--wpi-size-label); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--wpi-muted);
  border-bottom: 2px solid transparent;
}
.wpi-tab[aria-selected="true"] {
  color: var(--wpi-ink);
  border-bottom-color: var(--wpi-marigold);
}

.wpi-rank {
  list-style: none; margin: 0; padding: 0;
  counter-reset: wpi-rank;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(var(--wpi-space-unit) * 3) calc(var(--wpi-gutter) * 2);
}
.wpi-rank li {
  counter-increment: wpi-rank;
  display: grid; grid-template-columns: auto 1fr;
  gap: calc(var(--wpi-space-unit) * 2);
  align-items: start;
  padding-bottom: calc(var(--wpi-space-unit) * 3);
  border-bottom: 1px solid var(--wpi-hairline);
}
.wpi-rank li::before {
  content: counter(wpi-rank, decimal-leading-zero);
  font-family: var(--wpi-font-display);
  font-size: 48px; font-weight: 600; line-height: 0.9;
  color: var(--wpi-marigold);
}
.wpi-rank a {
  font-family: var(--wpi-font-display);
  font-size: var(--wpi-size-card); line-height: 1.25;
  letter-spacing: -0.01em; color: var(--wpi-ink);
}

@media (max-width: 768px) {
  .wpi-rank { grid-template-columns: 1fr; }
}

/* ---- Category rivers -------------------------------------------------- */
.wpi-river__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: calc(var(--wpi-space-unit) * 4) var(--wpi-gutter);
}
.wpi-river__grid > .wpi-card:first-child {
  grid-column: span 4;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: calc(var(--wpi-gutter) * 1.5);
  align-items: center;
  padding-bottom: calc(var(--wpi-space-unit) * 4);
  border-bottom: 1px solid var(--wpi-hairline);
}
.wpi-river__grid > .wpi-card:first-child .wpi-card__media { grid-row: span 4; }
.wpi-river__grid > .wpi-card:first-child .wpi-card__title {
  font-size: var(--wpi-size-lead);
  line-height: 1.15;
}

@media (max-width: 1024px) {
  .wpi-river__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wpi-river__grid > .wpi-card:first-child { grid-column: span 2; }
}
@media (max-width: 768px) {
  .wpi-river__grid { grid-template-columns: 1fr; }
  .wpi-river__grid > .wpi-card:first-child {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .wpi-river__grid > .wpi-card:first-child .wpi-card__media { grid-row: auto; }
}

/* ---- Interviews ------------------------------------------------------- */
.wpi-interviews .wpi-section__head::after { background: var(--wpi-muted); }
.wpi-interviews__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--wpi-gutter);
}
.wpi-interviews__grid .wpi-card__title a { color: var(--wpi-paper); }

@media (max-width: 1024px) {
  .wpi-interviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- Fashion / Mompreneur split --------------------------------------- */
.wpi-split__col { display: grid; gap: calc(var(--wpi-space-unit) * 3); }
.wpi-split__col .wpi-card:not(.wpi-card--lead) {
  border-top: 1px solid var(--wpi-hairline);
  padding-top: calc(var(--wpi-space-unit) * 3);
}

/* ---- Magazine --------------------------------------------------------- */
.wpi-magazine__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 1fr);
  gap: var(--wpi-gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--wpi-space-unit);
}
.wpi-magazine__item { scroll-snap-align: start; color: var(--wpi-ink); }
.wpi-magazine__item img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.wpi-magazine__item span {
  display: block;
  margin-top: var(--wpi-space-unit);
  font-size: var(--wpi-size-meta);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wpi-muted);
}

/* ---- Newsletter ------------------------------------------------------- */
.wpi-newsletter { background: var(--wpi-plum); color: var(--wpi-paper); }
/* This class lands on an Elementor container on the live site, where it ties
   .e-con's own `display: flex` at equal specificity, settled only by
   stylesheet order. The element already carries .wpi-container, so raise
   the selector to win outright. */
.wpi-container.wpi-newsletter__inner {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 440px);
  gap: calc(var(--wpi-gutter) * 2);
  align-items: center;
}
/* As with .wpi-label, the heading descendants are for the Elementor delivery
   vehicle, where this class lands on the Heading widget's wrapper <div> and
   the real <h2> sits inside it. */
.wpi-newsletter__title,
.wpi-newsletter__title h1,
.wpi-newsletter__title h2,
.wpi-newsletter__title h3 {
  font-family: var(--wpi-font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--wpi-paper);
}
.wpi-newsletter__dek,
.wpi-newsletter__dek p {
  margin: calc(var(--wpi-space-unit) * 1.5) 0 0;
  font-size: var(--wpi-size-dek);
  color: var(--wpi-hairline);
  max-width: 46ch;
}
/* Elementor's Text Editor widget emits its own <p>; without this the wrapper
   and the paragraph would both contribute a top margin. */
.wpi-newsletter__dek p:first-child { margin-top: 0; }
.wpi-newsletter__form { display: flex; gap: var(--wpi-space-unit); }
.wpi-newsletter__input {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid var(--wpi-hairline);
  background: var(--wpi-paper);
  color: var(--wpi-ink);
  font-family: var(--wpi-font-text);
  font-size: 15px;
}
.wpi-newsletter__submit {
  padding: 14px 22px;
  border: 0;
  cursor: pointer;
  background: var(--wpi-ink);
  color: var(--wpi-paper);
  font-family: var(--wpi-font-text);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.wpi-newsletter__submit:hover { background: var(--wpi-marigold); color: var(--wpi-ink); }

@media (max-width: 768px) {
  .wpi-container.wpi-newsletter__inner { grid-template-columns: 1fr; }
  .wpi-newsletter__form { flex-direction: column; }
}

/* === wordpress.css === */
/* ==========================================================================
   WordPress integration layer.

   Everything here exists only because the design runs inside WordPress on
   the Newsmatic parent with Elementor ordering the homepage sections. The
   static mockup never loads this file; the child-theme build appends it last
   so it wins ties against the component and section rules above.
   ========================================================================== */

/* ---- Page ground: Newsmatic paints the body grey ----------------------- */
body.wpi-site { background: var(--wpi-paper); }
body.wpi-site #page { background: transparent; }

/* ---- Header: the real logo in place of the mockup wordmark -------------- */
/* The logo file carries its own whitespace around the wordmark, so these
   heights run larger than the visible lettering. */
.wpi-header__logo { display: block; height: 170px; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 1024px) {
  .wpi-header__logo { height: 64px; }
}
@media (max-width: 768px) {
  .wpi-header__logo { height: 52px; }
}
.wpi-header__nav .current-menu-item > a,
.wpi-header__nav a:hover { color: var(--wpi-plum); text-decoration: none; }
.wpi-navpanel .current-menu-item > a { color: var(--wpi-plum); }
#main:focus { outline: none; }

/* ---- Elementor wrappers around the section shortcodes ------------------
   Each homepage section is one shortcode widget inside one full-width
   container. The sections carry their own spacing and width, so every
   Elementor layer around them must add nothing. */
.elementor .e-con.wpi-el-wrap {
  --padding-top: 0; --padding-right: 0; --padding-bottom: 0; --padding-left: 0;
  --gap: 0; --row-gap: 0; --column-gap: 0;
  --content-width: 100%; --width: 100%;
  padding: 0;
}
.elementor .wpi-el-wrap .elementor-widget-shortcode,
.elementor .wpi-el-wrap .elementor-shortcode { width: 100%; margin: 0; }
.elementor .wpi-el-wrap .elementor-widget:not(:last-child) { margin-bottom: 0; }

/* Newsmatic's page.php is bypassed on the homepage (Elementor Full Width),
   but its heading and link colours still reach our markup through generic
   selectors; restate ours at section scope. */
.wpi-section h1, .wpi-section h2, .wpi-section h3 { margin: 0; }
.wpi-section a { text-decoration: none; }
.wpi-section a:hover { text-decoration: underline; }

/* ---- Photo framing --------------------------------------------------------
   Cards receive uncropped images and crop them here. Most photos on this
   site are people, standing or seated, with the face in the upper third: a
   centred crop cuts heads off, so anchor every frame towards the top. */
.wpi-section .wpi-card__media { position: relative; }
/* Pinned to the frame: inside grid cells the frame's aspect-ratio height does
   not resolve an image's height:100%, which left a grey strip under photos
   wider than the frame. */
.wpi-section .wpi-card__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 20%;
}

/* ---- Card text rhythm ----------------------------------------------------
   Newsmatic gives every <p> a bottom margin, which stacks on top of the
   card's own 12px gap and pushes kicker, headline and meta apart. The card's
   flex/grid gap is the only spacing it should have. */
.wpi-section .wpi-card > p { margin: 0; }

/* ---- Hero layouts ---------------------------------------------------------
   Three arrangements of the same stories, chosen per page on the shortcode
   (layout="classic|split|cover"). All three share one rule: the columns end
   on the same line, so the hero reads as one composed block. */


/* A — classic: the rail runs the lead's full height, three equal rows. */
.wpi-hero--classic .wpi-hero__title { font-size: clamp(34px, 3.6vw, 52px); }
.wpi-hero--classic .wpi-grid { align-items: stretch; }
.wpi-hero--classic .wpi-hero__rail {
  grid-template-rows: repeat(3, 1fr); align-content: stretch; gap: 0;
}
.wpi-hero--classic .wpi-hero__rail .wpi-card {
  grid-template-columns: 148px 1fr; grid-template-rows: auto auto auto;
  column-gap: calc(var(--wpi-space-unit) * 2.5); row-gap: var(--wpi-space-unit);
  align-content: center; padding-block: calc(var(--wpi-space-unit) * 3);
}
.wpi-hero--classic .wpi-hero__rail .wpi-card:first-child { padding-top: 0; }
.wpi-hero--classic .wpi-hero__rail .wpi-card:last-child { padding-bottom: 0; }
.wpi-hero--classic .wpi-hero__rail .wpi-card + .wpi-card { padding-top: calc(var(--wpi-space-unit) * 3); }
.wpi-hero--classic .wpi-hero__rail .wpi-card__media { aspect-ratio: 4 / 3; align-self: start; }
.wpi-hero--classic .wpi-hero__rail .wpi-card__title { font-size: 18px; }
@media (max-width: 1024px) {
  .wpi-hero--classic .wpi-hero__rail { grid-template-rows: none; }
  .wpi-hero--classic .wpi-hero__rail .wpi-card { grid-template-columns: 1fr; padding: 0; }
  .wpi-hero--classic .wpi-hero__rail .wpi-card__media { aspect-ratio: 16 / 9; }
}

/* B — split: photograph and headline at equal weight, then an even row. */
.wpi-herosplit {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-rows: 1fr auto auto auto auto 1fr;
  column-gap: calc(var(--wpi-gutter) * 2.5);
  row-gap: calc(var(--wpi-space-unit) * 2);
}
.wpi-herosplit > .wpi-card__media { grid-column: 1; grid-row: 1 / -1; aspect-ratio: 4 / 3; }
.wpi-herosplit > .wpi-card__kicker { grid-area: 2 / 2; }
.wpi-herosplit > .wpi-hero__title { grid-area: 3 / 2; font-size: clamp(32px, 3vw, 44px); line-height: 1.08; }
.wpi-herosplit > .wpi-card__dek { grid-area: 4 / 2; -webkit-line-clamp: 3; font-size: var(--wpi-size-body); }
.wpi-herosplit > .wpi-card__meta { grid-area: 5 / 2; }
.wpi-hero__row {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(var(--wpi-gutter) * 1.5);
  margin-top: calc(var(--wpi-space-unit) * 5);
  padding-top: calc(var(--wpi-space-unit) * 4);
  border-top: 1px solid var(--wpi-ink);
}
.wpi-hero__row .wpi-card {
  display: grid; grid-template-columns: 120px 1fr; grid-template-rows: auto auto 1fr;
  column-gap: calc(var(--wpi-space-unit) * 2); row-gap: var(--wpi-space-unit); align-content: start;
}
.wpi-hero__row .wpi-card__media { grid-row: 1 / 4; aspect-ratio: 4 / 5; }
.wpi-hero__row .wpi-card__title { font-size: 17px; line-height: 1.3; }
@media (max-width: 1024px) {
  .wpi-herosplit { grid-template-columns: 1fr; grid-template-rows: none; }
  .wpi-herosplit > * { grid-area: auto !important; }
  .wpi-herosplit > .wpi-card__media { aspect-ratio: 3 / 2; }
}
@media (max-width: 768px) {
  .wpi-hero__row { grid-template-columns: 1fr; gap: calc(var(--wpi-space-unit) * 3); }
}

/* C — cover spread: headline, portrait, then the week's other stories. */
.wpi-herocover {
  display: grid;
  grid-template-columns: minmax(0, 9fr) minmax(0, 3fr);
  gap: calc(var(--wpi-gutter) * 2);
  align-items: stretch;
}
.wpi-herocover__lead {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
  grid-template-rows: 1fr auto auto auto auto 1fr;
  column-gap: calc(var(--wpi-gutter) * 2);
  row-gap: calc(var(--wpi-space-unit) * 2);
}
.wpi-herocover__lead > .wpi-card__media { grid-column: 2; grid-row: 1 / -1; aspect-ratio: 4 / 5; }
.wpi-herocover__lead > .wpi-card__kicker { grid-area: 2 / 1; }
.wpi-herocover__lead > .wpi-hero__title { grid-area: 3 / 1; font-size: clamp(32px, 3vw, 44px); line-height: 1.08; }
.wpi-herocover__lead > .wpi-card__dek { grid-area: 4 / 1; -webkit-line-clamp: 4; font-size: var(--wpi-size-body); }
.wpi-herocover__lead > .wpi-card__meta { grid-area: 5 / 1; }
.wpi-herocover__side {
  display: grid; grid-template-rows: auto repeat(3, 1fr);
  border-left: 1px solid var(--wpi-hairline);
  padding-left: calc(var(--wpi-gutter) * 1.5);
}
.wpi-herocover__label {
  font-family: var(--wpi-font-display); font-size: 20px; font-weight: 600;
  padding-bottom: calc(var(--wpi-space-unit) * 2); border-bottom: 1px solid var(--wpi-ink);
}
.wpi-herocover__side .wpi-card {
  display: grid; grid-template-columns: 72px 1fr; grid-template-rows: auto auto 1fr;
  column-gap: calc(var(--wpi-space-unit) * 2); row-gap: 6px; align-content: center;
  padding-block: calc(var(--wpi-space-unit) * 2);
}
.wpi-herocover__side .wpi-card + .wpi-card { border-top: 1px solid var(--wpi-hairline); }
.wpi-herocover__side .wpi-card__media { grid-row: 1 / 4; aspect-ratio: 1; align-self: start; }
.wpi-herocover__side .wpi-card__title { font-size: 16px; line-height: 1.3; }
@media (max-width: 1024px) {
  .wpi-herocover { grid-template-columns: 1fr; }
  .wpi-herocover__side { border-left: 0; padding-left: 0; grid-template-rows: none; }
}
@media (max-width: 768px) {
  .wpi-herocover__lead { grid-template-columns: 1fr; grid-template-rows: none; }
  .wpi-herocover__lead > * { grid-area: auto !important; }
  .wpi-herocover__lead > .wpi-card__media { order: -1; }
}

/* ---- Magazine: cover-plus-copy panel while there are few issues -------- */
.wpi-magfeature {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: calc(var(--wpi-space-unit) * 6);
  align-items: center;
}
.wpi-magfeature__cover img {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover;
  box-shadow: 0 18px 40px rgb(20 17 15 / 18%);
}
.wpi-magfeature__title {
  font-family: var(--wpi-font-display); font-weight: 600;
  font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -0.02em;
  margin: calc(var(--wpi-space-unit) * 1) 0 calc(var(--wpi-space-unit) * 2);
}
.wpi-magfeature__dek { color: var(--wpi-muted); font-size: var(--wpi-size-dek); max-width: 52ch; }
.wpi-magfeature__actions { display: flex; flex-wrap: wrap; align-items: center; gap: calc(var(--wpi-space-unit) * 3); margin-top: calc(var(--wpi-space-unit) * 3); }
.wpi-magfeature__more { color: var(--wpi-plum); font-weight: 600; font-size: 14px; }
@media (max-width: 640px) {
  .wpi-magfeature { grid-template-columns: 1fr; }
  .wpi-magfeature__cover { max-width: 220px; }
}

/* ---- Magazine: past issues under the feature ----------------------------
   Captions are issue names, often long; set them as readable headlines in
   sentence case rather than the mockup's tracked caps, with the month
   beneath. */
.wpi-magazine__past {
  margin-top: calc(var(--wpi-space-unit) * 7);
  padding-top: calc(var(--wpi-space-unit) * 4);
  border-top: 1px solid var(--wpi-ink);
}
.wpi-magazine .wpi-magazine__subhead {
  font-family: var(--wpi-font-display); font-size: 22px; font-weight: 600;
  margin: 0 0 calc(var(--wpi-space-unit) * 3);
}
.wpi-magazine__past .wpi-magazine__track { grid-auto-columns: minmax(150px, 1fr); }
.wpi-magazine__item img { display: block; box-shadow: 0 10px 24px rgb(20 17 15 / 14%); }
.wpi-magazine__item:hover { text-decoration: none; }
.wpi-magazine__item:hover img { outline: 2px solid var(--wpi-plum); outline-offset: 3px; }
.wpi-magazine .wpi-magazine__item span.wpi-magazine__name,
.wpi-issue-grid .wpi-magazine__item span.wpi-magazine__name {
  margin-top: calc(var(--wpi-space-unit) * 1.5);
  font-family: var(--wpi-font-display); font-size: 16px; font-weight: 600;
  line-height: 1.25; letter-spacing: 0; text-transform: none; color: var(--wpi-ink);
}
.wpi-magazine .wpi-magazine__item span.wpi-magazine__date,
.wpi-issue-grid .wpi-magazine__item span.wpi-magazine__date {
  margin-top: 4px; font-size: var(--wpi-size-meta); font-weight: 500;
  letter-spacing: 0.02em; text-transform: none; color: var(--wpi-muted);
}

/* Magazines page: every issue as a cover grid above the flipbook readers. */
.wpi-issue-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: calc(var(--wpi-gutter) * 1.25); margin-block: calc(var(--wpi-space-unit) * 4);
}
.wpi-issue-grid .wpi-magazine__item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.wpi-issue-grid .wpi-magazine__item { color: var(--wpi-ink); }

/* ---- Videos: a featured player and a list that plays into it ------------ */
.wpi-videos__grid {
  display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: calc(var(--wpi-gutter) * 2); align-items: start;
}
.wpi-video__stage { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.wpi-video__poster, .wpi-video__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.wpi-video__poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wpi-video__play {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px;
  border-radius: 50%; background: var(--wpi-plum); box-shadow: 0 8px 28px rgb(0 0 0 / 35%);
  transition: transform 160ms ease, background-color 160ms ease;
}
.wpi-video__play::after {
  content: ''; position: absolute; left: 31px; top: 24px;
  border-style: solid; border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent var(--wpi-paper);
}
.wpi-video__poster:hover .wpi-video__play,
.wpi-video__poster:focus-visible .wpi-video__play { background: var(--wpi-marigold); transform: scale(1.06); }
.wpi-video__play--small { width: 34px; height: 34px; margin: -17px 0 0 -17px; box-shadow: none; }
.wpi-video__play--small::after { left: 13px; top: 10px; border-width: 7px 0 7px 11px; }
.wpi-section--ink .wpi-video__title {
  font-family: var(--wpi-font-display); font-size: clamp(22px, 2vw, 28px); font-weight: 600;
  line-height: 1.2; color: var(--wpi-paper); margin: calc(var(--wpi-space-unit) * 2.5) 0 0;
}
.wpi-videos__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.wpi-videos__list li + li { border-top: 1px solid rgb(255 255 255 / 14%); }
.wpi-videos__pick {
  display: grid; grid-template-columns: 128px 1fr; grid-template-rows: auto auto;
  column-gap: calc(var(--wpi-space-unit) * 2); row-gap: 6px;
  padding-block: calc(var(--wpi-space-unit) * 1.75); align-content: start;
}
.wpi-videos__list li:first-child .wpi-videos__pick { padding-top: 0; }
.wpi-section--ink .wpi-videos__pick { color: var(--wpi-paper); }
.wpi-section--ink .wpi-videos__pick:hover { text-decoration: none; }
.wpi-section--ink .wpi-videos__pick:hover .wpi-videos__name { text-decoration: underline; }
.wpi-videos__thumb { grid-row: 1 / 3; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.wpi-videos__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.9; }
.wpi-videos__name {
  font-family: var(--wpi-font-display); font-size: 15px; font-weight: 600; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.wpi-section--ink .wpi-videos__date { font-size: var(--wpi-size-meta); color: var(--wpi-hairline); }
.wpi-videos__pick[aria-current="true"] .wpi-videos__thumb { outline: 2px solid var(--wpi-marigold); outline-offset: 2px; }
.wpi-section--ink .wpi-videos__pick[aria-current="true"] .wpi-videos__name { color: var(--wpi-marigold); }
.wpi-videos__more { margin: calc(var(--wpi-space-unit) * 4) 0 0; }
.wpi-section--ink .wpi-videos__more a { color: var(--wpi-marigold); font-weight: 600; font-size: 14px; }
@media (max-width: 1024px) {
  .wpi-videos__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .wpi-video__play { transition: none; }
}

/* ---- Newsletter: Contact Form 7 inside the plum band --------------------
   CF7 wraps fields in <p> and <span class="wpcf7-form-control-wrap">; the
   input and button carry our own classes from the form template, so only
   the wrappers need flattening. */
.wpi-newsletter__form { display: block; }
.wpi-newsletter__cf7 p { display: flex; gap: var(--wpi-space-unit); margin: 0; }
.wpi-newsletter__cf7 .wpcf7-form-control-wrap { flex: 1; display: block; }
/* Newsmatic styles input[type=email] and every submit at higher specificity
   than a single class; restate the component rules at section scope. */
.wpi-newsletter .wpi-newsletter__cf7 .wpi-newsletter__input {
  width: 100%; box-sizing: border-box; height: auto; margin: 0;
  padding: 14px 16px; border: 1px solid var(--wpi-hairline); border-radius: 0;
  background: var(--wpi-paper); color: var(--wpi-ink);
  font-family: var(--wpi-font-text); font-size: 15px; line-height: 1.4;
}
.wpi-newsletter .wpi-newsletter__cf7 .wpi-newsletter__submit {
  height: auto; margin: 0; padding: 14px 22px; border: 0; border-radius: 0;
  background: var(--wpi-ink); color: var(--wpi-paper);
  font-family: var(--wpi-font-text); font-size: 13px; font-weight: 700;
  line-height: 1.4; text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer;
}
.wpi-newsletter .wpi-newsletter__cf7 .wpi-newsletter__submit:hover { background: var(--wpi-marigold); color: var(--wpi-ink); }
.wpi-newsletter__cf7 .wpcf7-spinner { display: none; }
.wpi-newsletter__cf7 .wpcf7-not-valid-tip { color: var(--wpi-marigold); font-size: 13px; margin-top: 6px; }
.wpi-newsletter__cf7 .wpcf7-response-output {
  margin: calc(var(--wpi-space-unit) * 2) 0 0; padding: 10px 14px;
  border: 1px solid rgb(255 255 255 / 40%); color: var(--wpi-paper); font-size: 14px;
}
@media (max-width: 768px) {
  .wpi-newsletter__cf7 p { flex-direction: column; }
}

/* ---- Magazines page: one flipbook per issue ---------------------------- */
.wpi-issue { margin-block: calc(var(--wpi-space-unit) * 6); scroll-margin-top: 96px; }
.wpi-issue__title {
  font-family: var(--wpi-font-display); font-size: var(--wpi-size-lead);
  margin-bottom: calc(var(--wpi-space-unit) * 3);
}

/* ---- Inner pages: Newsmatic's templates in the design system's type -----
   Articles, archives and search still render through Newsmatic. It sets its
   fonts through custom properties on body.newsmatic_font_typography, so
   re-pointing those properties restyles every template at once without
   touching its layout. */
body.wpi-site.newsmatic_font_typography {
  --site-title-family: var(--wpi-font-display);
  --post-title-family: var(--wpi-font-display);
  --single-title-family: var(--wpi-font-display);
  --block-title-family: var(--wpi-font-text);
  --content-family: var(--wpi-font-text);
  --single-content-family: var(--wpi-font-text);
  --menu-family: var(--wpi-font-text);
  --submenu-family: var(--wpi-font-text);
  --meta-family: var(--wpi-font-text);
  --single-meta-family: var(--wpi-font-text);
  --post-title-weight: 600;
  --single-title-weight: 600;
  --theme-color-red: var(--wpi-plum);
  font-family: var(--wpi-font-text);
  color: var(--wpi-ink);
}
body.wpi-site .entry-title,
body.wpi-site .post-title,
body.wpi-site .page-title,
body.wpi-site .widget .wp-block-heading,
body.wpi-site .widget-title { font-family: var(--wpi-font-display); letter-spacing: -0.01em; }
body.wpi-site .single .entry-title,
body.wpi-site.single .entry-title { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.12; }
body.wpi-site.single .entry-content { font-size: var(--wpi-size-body); line-height: 1.7; }
body.wpi-site.single .entry-content a { color: var(--wpi-plum); }

/* Category labels: one plum tag in place of Newsmatic's per-category colours
   (set in an inline stylesheet at up to 0,4,1 on single posts; the doubled
   .cat-item lifts this rule to 0,4,2). A solid tag rather than bare kicker
   text, because archives overlay these labels on the photograph. */
body.wpi-site .post-categories li.cat-item.cat-item {
  background: var(--wpi-plum); border-radius: 0; padding: 3px 8px;
}
body.wpi-site .post-categories li.cat-item.cat-item a {
  background: var(--wpi-plum); padding: 0; color: var(--wpi-paper);
  font-family: var(--wpi-font-text); font-size: var(--wpi-size-kicker);
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em;
}

/* Buttons and hairlines in the brand colours, not Newsmatic's red/black. */
body.wpi-site .widget_search button,
body.wpi-site .wp-block-search__button,
body.wpi-site .search-submit { background: var(--wpi-ink); color: var(--wpi-paper); border-radius: 0; }
body.wpi-site .wp-block-search__button:hover { background: var(--wpi-plum); }
body.wpi-site .newsmatic-breadcrumb-wrap,
body.wpi-site .newsmatic-breadcrumb-element { box-shadow: none; background: transparent; }

/* ---- Footer: the brand column ------------------------------------------ */
.wpi-footer__about .wpi-header__brand { color: inherit; margin-bottom: calc(var(--wpi-space-unit) * 2); }
.wpi-footer .wpi-header__sub { color: var(--wpi-marigold); }
/* The homepage ends on the plum newsletter band; the footer's usual gap
   would leave a white strip between two coloured bands. */
body.home .wpi-footer { margin-top: 0; }
.wpi-footer__about .wpi-footer__muted { max-width: 32ch; line-height: 1.5; }
