/* ==========================================================================
   Adblock Journal — site.css
   Naming: qj-l-* layout · qj-c-* component (BEM elements) · qj-is-* state
   Mobile-first; breakpoints at 40rem, 56rem, 78rem.
   ========================================================================== */

:root {
  --qj-paper: #faf8f3;
  --qj-paper-deep: #f2eee4;
  --qj-ink: #1b1b1b;
  --qj-wine: #8c2f39;
  --qj-wine-dark: #6f2430;
  --qj-muted: #6b6b6b;
  --qj-rule: #d9d4c7;
  --qj-ok: #2f5d3a;

  --qj-serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --qj-sans: "Karla", "Helvetica Neue", Arial, sans-serif;

  --qj-measure: 42.5rem;   /* ~680px reading column */
  --qj-wide: 68rem;        /* masthead width */
  --qj-gutter: 1rem;       /* 16px side gutter on phones */
}

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

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--qj-paper);
  color: var(--qj-ink);
  font-family: var(--qj-serif);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--qj-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--qj-ink);
  text-wrap: balance;
}

p,
ul,
ol {
  margin: 0 0 1.15em;
}

a {
  color: var(--qj-wine);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--qj-ink);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--qj-wine);
  outline-offset: 3px;
  border-radius: 1px;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85em;
  background: var(--qj-paper-deep);
  padding: 0.05em 0.3em;
  border-radius: 2px;
}

address {
  font-style: normal;
}

::selection {
  background: #ecd9db;
  color: var(--qj-ink);
}

/* ==========================================================================
   Layout
   ========================================================================== */

.qj-l-column {
  max-width: calc(var(--qj-measure) + 2 * var(--qj-gutter));
  margin-inline: auto;
  padding-inline: var(--qj-gutter);
}

.qj-l-wide {
  max-width: calc(var(--qj-wide) + 2 * var(--qj-gutter));
  margin-inline: auto;
  padding-inline: var(--qj-gutter);
}

/* ==========================================================================
   Components
   ========================================================================== */

/* ---------- Skip link ---------- */

.qj-c-skip {
  position: absolute;
  left: var(--qj-gutter);
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--qj-ink);
  color: var(--qj-paper);
  font-family: var(--qj-sans);
  font-weight: 700;
  text-decoration: none;
}

.qj-c-skip:focus {
  top: 0.5rem;
  color: var(--qj-paper);
}

/* ---------- Advertorial strip ---------- */

.qj-c-adstrip {
  background: var(--qj-ink);
  color: #e9e5dc;
  font-family: var(--qj-sans);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.qj-c-adstrip__inner {
  margin: 0 auto;
  padding-block: 0.45rem;
  text-align: center;
}

.qj-c-adstrip__label {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.05rem 0.45rem;
  border: 1px solid #e9e5dc;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.qj-c-adstrip__link {
  color: #f4f1ea;
  margin-left: 0.25rem;
  white-space: nowrap;
}

.qj-c-adstrip__link:hover {
  color: #ffffff;
}

.qj-c-adstrip__link:focus-visible {
  outline-color: #f4f1ea;
}

/* ---------- Masthead ---------- */

.qj-c-masthead {
  padding-top: 1.5rem;
}

.qj-c-masthead__bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.qj-c-wordmark {
  display: block;
  width: 100%;
  max-width: 18.5rem;
  color: var(--qj-ink);
  text-decoration: none;
}

.qj-c-wordmark__svg {
  display: block;
  width: 100%;
  height: auto;
}

.qj-c-wordmark__text {
  font-family: var(--qj-serif);
  font-size: 46px;
  fill: var(--qj-ink);
}

.qj-c-wordmark__ink {
  stroke: var(--qj-ink);
}

.qj-c-wordmark__page {
  fill: var(--qj-paper);
}

.qj-c-wordmark__wine {
  stroke: var(--qj-wine);
}

.qj-c-wordmark__muted {
  stroke: var(--qj-muted);
}

.qj-c-wordmark__ribbon {
  fill: var(--qj-wine);
}

.qj-c-masthead__tagline {
  margin: 0.55rem 0 0;
  text-wrap: balance;
  font-family: var(--qj-sans);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--qj-muted);
}

.qj-c-masthead__offer {
  margin: 0.9rem 0 0;
}

.qj-c-masthead__cta {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--qj-wine);
  border-radius: 2px;
  font-family: var(--qj-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--qj-wine);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.qj-c-masthead__cta::after {
  content: " \2192";
}

.qj-c-masthead__cta:hover {
  background: var(--qj-wine);
  color: var(--qj-paper);
}

.qj-c-dateline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.2rem 1.1rem;
  margin-top: 1.25rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--qj-ink);
  border-bottom: 3px double var(--qj-ink);
  font-family: var(--qj-sans);
  font-size: 0.8125rem;
  line-height: 1.5;
  text-align: center;
}

.qj-c-dateline__date {
  color: var(--qj-ink);
}

.qj-c-dateline__section {
  color: var(--qj-wine);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.qj-c-dateline__nav {
  flex-basis: 100%;
}

.qj-c-dateline__nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qj-c-dateline__nav a {
  display: inline-block;
  padding: 0.25rem 0;
  color: var(--qj-ink);
  text-decoration: none;
}

.qj-c-dateline__nav a:hover,
.qj-c-dateline__nav a.qj-is-current {
  color: var(--qj-wine);
  text-decoration: underline;
}

/* ---------- Headline block (kicker, H1, standfirst, byline) ---------- */

.qj-c-article {
  padding-bottom: 1rem;
}

.qj-c-headline {
  padding: 2.25rem 0 1.5rem;
  text-align: center;
}

.qj-c-headline__kicker {
  margin: 0 0 0.9rem;
  font-family: var(--qj-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--qj-wine);
}

.qj-c-headline__title {
  margin: 0 0 1.1rem;
  font-size: 2rem;
  line-height: 1.16;
  letter-spacing: -0.005em;
}

.qj-c-headline__standfirst {
  margin: 0 auto 1.4rem;
  max-width: 36rem;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.55;
  color: #3a3a3a;
}

.qj-c-byline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem 0.9rem;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--qj-rule);
  font-family: var(--qj-sans);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--qj-muted);
}

.qj-c-byline__author {
  flex-basis: 100%;
  font-weight: 700;
  color: var(--qj-ink);
}

.qj-c-headline--page {
  padding-bottom: 1rem;
}

.qj-c-headline--page .qj-c-headline__title {
  font-size: 1.9rem;
}

/* ---------- Lead figure ---------- */

.qj-c-figure {
  margin: 0 0 2rem;
}

.qj-c-figure__img {
  width: 100%;
  height: auto;
  border-top: 1px solid var(--qj-rule);
  border-bottom: 1px solid var(--qj-rule);
  padding: 0.75rem 0;
}

.qj-c-figure__caption {
  margin-top: 0.5rem;
  font-family: var(--qj-sans);
  font-size: 0.8125rem;
  color: var(--qj-muted);
  text-align: center;
}

/* ---------- Prose ---------- */

.qj-c-prose {
  position: relative;
}

.qj-c-prose h2 {
  margin: 2.4rem 0 0.9rem;
  font-size: 1.55rem;
}

.qj-c-prose__section > h2 {
  margin-top: 2.6rem;
}

.qj-c-prose ul {
  padding-left: 1.2rem;
}

.qj-c-prose li {
  margin-bottom: 0.5em;
}

.qj-c-prose li::marker {
  color: var(--qj-wine);
}

.qj-c-prose__offer {
  font-weight: 700;
}

.qj-c-prose__lede::first-letter {
  float: left;
  margin: 0.08em 0.1em 0 0;
  font-family: var(--qj-serif);
  font-size: 4.1em;
  line-height: 0.78;
  color: var(--qj-wine);
}

.qj-c-prose__lede::first-line {
  font-variant-caps: small-caps;
  letter-spacing: 0.02em;
}

.qj-c-prose--plain h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
}

.qj-c-prose--legal {
  font-size: 1rem;
}

/* ---------- Margin notes (inline on phones, in the margin on wide screens) ---------- */

.qj-c-margin-note {
  margin: 0 0 1.4rem;
  padding: 0.15rem 0 0.15rem 1rem;
  border-left: 2px solid var(--qj-wine);
  font-family: var(--qj-sans);
  font-size: 0.9rem;
  line-height: 1.55;
  color: #444444;
}

.qj-c-margin-note__label {
  margin: 0 0 0.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--qj-wine);
}

.qj-c-margin-note__text {
  margin: 0;
}

/* ---------- Ornamental divider ---------- */

.qj-c-ornament {
  display: flex;
  justify-content: center;
  margin: 2.75rem 0 0.5rem;
  color: var(--qj-wine);
}

.qj-c-ornament__svg {
  display: block;
  width: 12rem;
  height: auto;
}

/* ---------- "Six interruptions" numbered list ---------- */

.qj-c-interruptions {
  margin: 1.5rem 0 1.75rem;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--qj-rule);
}

.qj-c-interruptions__item {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0 0.9rem;
  margin: 0;
  padding: 1.1rem 0 0.4rem;
  border-bottom: 1px solid var(--qj-rule);
}

.qj-c-interruptions__num {
  font-family: var(--qj-serif);
  font-size: 2.9rem;
  line-height: 0.9;
  color: var(--qj-wine);
  text-align: right;
}

.qj-c-interruptions__title {
  margin: 0.1rem 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}

.qj-c-interruptions__body p {
  margin-bottom: 0.8rem;
}

/* Hand-set old-style figures (see oldstyle_numeral() in inc/helpers.php).
   Times New Roman, not Georgia, as fallback: Georgia's figures are already old-style. */
.qj-c-numeral {
  display: inline-block;
  font-family: "Libre Caslon Text", "Times New Roman", serif;
}

.qj-c-numeral--x {
  font-size: 0.72em;
}

.qj-c-numeral--desc {
  transform: translateY(0.22em);
}

/* ---------- Habits list ---------- */

.qj-c-prose .qj-c-habits {
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.qj-c-habits__item {
  position: relative;
  padding-left: 1.4rem;
}

.qj-c-habits__item::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.62em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--qj-wine);
  transform: rotate(45deg);
}

.qj-c-habits__lead {
  font-weight: 700;
}

/* ---------- Before / After comparison ---------- */

.qj-c-compare {
  margin: 1.75rem 0 2rem;
}

.qj-c-compare__grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 2px solid var(--qj-ink);
  border-bottom: 1px solid var(--qj-ink);
}

.qj-c-compare__col {
  padding: 1.25rem 0 0.5rem;
}

.qj-c-compare__col + .qj-c-compare__col {
  border-top: 1px solid var(--qj-rule);
}

.qj-c-compare__img {
  width: 100%;
  max-width: 18.75rem;
  height: auto;
  margin: 0 auto 0.9rem;
}

.qj-c-compare__title {
  margin: 0 0 0.6rem;
  font-family: var(--qj-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--qj-muted);
}

.qj-c-compare__col--after .qj-c-compare__title {
  color: var(--qj-wine);
}

.qj-c-prose .qj-c-compare__list {
  margin: 0 0 0.8rem;
  padding: 0;
  list-style: none;
  font-family: var(--qj-sans);
  font-size: 0.95rem;
  line-height: 1.5;
}

.qj-c-compare__list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.55rem;
}

.qj-c-compare__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid var(--qj-muted);
}

.qj-c-compare__col--after .qj-c-compare__list li::before {
  border-color: var(--qj-wine);
  background: var(--qj-wine);
}

.qj-c-compare__caption {
  margin-top: 0.6rem;
  font-family: var(--qj-sans);
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--qj-muted);
}

/* ---------- "A note from the editors" CTA card ---------- */

.qj-c-editors-note {
  margin: 3rem 0 2rem;
  padding: 1.6rem 1.15rem 1.4rem;
  border: 1px solid var(--qj-ink);
  outline: 1px solid var(--qj-rule);
  outline-offset: -7px;
  background: #fffdf8;
}

.qj-c-editors-note__label {
  margin: 0 0 0.4rem;
  font-family: var(--qj-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--qj-wine);
  text-align: center;
}

.qj-c-editors-note__heading {
  margin: 0 0 0.8rem;
  font-size: 1.5rem;
  text-align: center;
}

.qj-c-editors-note__text {
  text-align: center;
  font-style: italic;
}

.qj-c-steps {
  margin: 1.4rem 0 1.6rem;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--qj-rule);
}

.qj-c-steps__item {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0 0.75rem;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--qj-rule);
}

.qj-c-steps__num {
  font-family: var(--qj-serif);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--qj-wine);
  text-align: right;
}

.qj-c-steps__text {
  margin: 0;
  font-family: var(--qj-sans);
  font-size: 0.975rem;
  line-height: 1.5;
}

.qj-c-editors-note__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.qj-c-editors-note__badge {
  display: block;
  width: 100%;
  max-width: 15rem;
  border-radius: 6px;
  transition: transform 0.15s ease;
}

.qj-c-editors-note__badge:hover {
  transform: translateY(-2px);
}

.qj-c-editors-note__badge-img {
  width: 100%;
  height: auto;
}

.qj-c-editors-note__fine {
  margin: 1.1rem 0 0;
  font-family: var(--qj-sans);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--qj-muted);
  text-align: center;
}

/* ---------- Buttons ---------- */

.qj-c-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.4rem;
  border: 0;
  border-radius: 2px;
  background: var(--qj-wine);
  color: #ffffff;
  font-family: var(--qj-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.qj-c-button:hover {
  background: var(--qj-ink);
  color: #ffffff;
  text-decoration: none;
}

.qj-c-button:focus-visible {
  outline: 3px solid var(--qj-ink);
  outline-offset: 3px;
}

.qj-c-button--ink {
  background: var(--qj-ink);
}

.qj-c-button--ink:hover {
  background: var(--qj-wine);
}

/* ---------- Disclosure ---------- */

.qj-c-disclosure {
  margin: 2rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--qj-rule);
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.6;
  color: #4d4d4d;
}

.qj-c-disclosure__label {
  font-style: normal;
  font-family: var(--qj-sans);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--qj-ink);
}

/* ---------- Contact page ---------- */

.qj-c-contact-card {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 1.2rem;
  padding: 1rem 1.1rem;
  border-left: 2px solid var(--qj-wine);
  background: var(--qj-paper-deep);
  font-family: var(--qj-sans);
  font-size: 0.95rem;
  line-height: 1.5;
}

.qj-c-contact-card__key {
  display: inline-block;
  min-width: 6.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--qj-muted);
}

.qj-c-notice {
  margin: 0 0 1.5rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--qj-rule);
  border-left-width: 4px;
  background: #fffdf8;
  font-family: var(--qj-sans);
  font-size: 0.95rem;
  line-height: 1.5;
}

.qj-c-notice p {
  margin: 0;
}

.qj-c-notice p + p {
  margin-top: 0.4rem;
}

.qj-c-notice__title {
  font-weight: 700;
}

.qj-c-notice.qj-is-error {
  border-left-color: var(--qj-wine);
}

.qj-c-notice.qj-is-success {
  border-left-color: var(--qj-ok);
}

.qj-c-form {
  margin: 0 0 2rem;
  font-family: var(--qj-sans);
}

.qj-c-field {
  margin-bottom: 1.2rem;
}

.qj-c-field__label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.qj-c-field__input {
  display: block;
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid #8f8a7e;
  border-radius: 2px;
  background: #ffffff;
  color: var(--qj-ink);
  font-family: var(--qj-sans);
  font-size: 1rem;
  line-height: 1.4;
}

.qj-c-field__input:focus-visible {
  outline: 3px solid var(--qj-wine);
  outline-offset: 1px;
  border-color: var(--qj-wine);
}

.qj-c-field__input--area {
  min-height: 10rem;
  resize: vertical;
}

.qj-c-field.qj-is-invalid .qj-c-field__input {
  border-color: var(--qj-wine);
  border-width: 2px;
}

.qj-c-field__error {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--qj-wine);
}

.qj-c-field__hint {
  margin: 0.3rem 0 0;
  font-size: 0.8125rem;
  color: var(--qj-muted);
}

.qj-c-form__trap {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.qj-c-form__privacy {
  font-size: 0.875rem;
  color: var(--qj-muted);
}

/* ---------- Colophon ---------- */

.qj-c-colophon {
  margin-top: 2.5rem;
  padding: 0.5rem 0 2.5rem;
  border-top: 3px double var(--qj-ink);
  font-family: var(--qj-sans);
  font-size: 0.875rem;
  line-height: 1.6;
  text-align: center;
  color: var(--qj-muted);
}

.qj-c-colophon .qj-c-ornament {
  margin: 1.5rem 0 0.75rem;
}

.qj-c-colophon__name {
  margin: 0 0 0.75rem;
  font-family: var(--qj-serif);
  font-size: 1.35rem;
  color: var(--qj-ink);
}

.qj-c-colophon__nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.1rem 1.2rem;
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
}

.qj-c-colophon__nav a {
  display: inline-block;
  padding: 0.3rem 0;
  color: var(--qj-ink);
}

.qj-c-colophon__nav a:hover,
.qj-c-colophon__nav a.qj-is-current {
  color: var(--qj-wine);
}

.qj-c-colophon__operator {
  margin-bottom: 0.9rem;
}

.qj-c-colophon__note {
  max-width: 34rem;
  margin: 0 auto 0.9rem;
  font-family: var(--qj-serif);
  font-style: italic;
  font-size: 0.8125rem;
}

.qj-c-colophon__set {
  margin: 0;
  font-size: 0.8125rem;
}

/* ---------- 404 ---------- */

.qj-c-missing .qj-c-ornament {
  margin-top: 0.5rem;
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */

@media (min-width: 40rem) {
  body {
    font-size: 1.125rem;
  }

  .qj-c-wordmark {
    max-width: 22.5rem;
  }

  .qj-c-dateline__nav {
    flex-basis: auto;
  }

  .qj-c-headline {
    padding-top: 3rem;
  }

  .qj-c-headline__title {
    font-size: 2.75rem;
  }

  .qj-c-headline--page .qj-c-headline__title {
    font-size: 2.4rem;
  }

  .qj-c-headline__standfirst {
    font-size: 1.25rem;
  }

  .qj-c-byline__author {
    flex-basis: auto;
  }

  .qj-c-prose h2 {
    font-size: 1.8rem;
  }

  .qj-c-prose--plain h2 {
    font-size: 1.45rem;
  }

  .qj-c-interruptions__item {
    grid-template-columns: 4rem 1fr;
    gap: 0 1.25rem;
  }

  .qj-c-interruptions__num {
    font-size: 3.9rem;
  }

  .qj-c-compare__grid {
    grid-template-columns: 1fr 1fr;
  }

  .qj-c-compare__col {
    padding: 1.4rem 1.25rem 0.75rem 0;
  }

  .qj-c-compare__col + .qj-c-compare__col {
    padding: 1.4rem 0 0.75rem 1.25rem;
    border-top: 0;
    border-left: 1px solid var(--qj-rule);
  }

  .qj-c-editors-note {
    padding: 2.2rem 2.4rem 1.8rem;
  }

  .qj-c-editors-note__heading {
    font-size: 1.85rem;
  }

  .qj-c-editors-note__actions {
    flex-direction: row;
    justify-content: center;
    gap: 1.75rem;
  }

  .qj-c-editors-note__badge {
    max-width: 13.5rem;
  }
}

@media (min-width: 56rem) {
  .qj-c-masthead {
    padding-top: 2rem;
  }

  .qj-c-masthead__bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 1.5rem;
  }

  .qj-c-wordmark {
    grid-column: 2;
    grid-row: 1;
    width: 27rem;
    max-width: none;
  }

  .qj-c-masthead__tagline {
    grid-column: 2;
    grid-row: 2;
  }

  .qj-c-masthead__offer {
    grid-column: 3;
    grid-row: 1 / span 2;
    justify-self: end;
    margin: 0;
  }

  .qj-c-dateline {
    justify-content: space-between;
  }

  .qj-c-dateline__date,
  .qj-c-dateline__nav {
    flex: 1 1 0;
  }

  .qj-c-dateline__date {
    text-align: left;
  }

  .qj-c-dateline__nav ul {
    justify-content: flex-end;
  }

  .qj-c-headline__title {
    font-size: 2.95rem;
  }
}

@media (min-width: 78rem) {
  /* Notes move into the right-hand margin of the reading column. */
  .qj-c-margin-note {
    float: right;
    clear: right;
    width: 12rem;
    margin: 0.3rem -14.5rem 1rem 0;
    padding: 0.6rem 0 0 0;
    border-left: 0;
    border-top: 2px solid var(--qj-wine);
    font-size: 0.85rem;
  }

}

/* ---------- Motion & print ---------- */

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

  .qj-c-editors-note__badge:hover {
    transform: none;
  }
}

@media print {
  .qj-c-adstrip,
  .qj-c-masthead__offer,
  .qj-c-dateline__nav,
  .qj-c-skip,
  .qj-c-form {
    display: none;
  }

  body {
    background: #ffffff;
    font-size: 11pt;
  }
}
