/* Shared post-campaign treatment for the four recently edited pages. */
.node[data-history-node-id="375"],
.node[data-history-node-id="251"],
.node[data-history-node-id="617"] {
  --tf-text: #242424;
  --tf-muted: #686868;
  --tf-line: #d8d6d1;
  --tf-surface: #f5f4f1;
  color: var(--tf-text);
}

.node[data-history-node-id="375"] .field--name-body,
.node[data-history-node-id="251"] .field--name-body {
  max-width: 1120px;
  margin-inline: auto;
}

.node[data-history-node-id="375"] .field--name-body > p:first-child,
.node[data-history-node-id="251"] .field--name-body > p:first-child {
  max-width: 780px;
  margin-bottom: 1rem;
  color: #363636;
  font-size: clamp(1.1rem, 1.1rem + .35vw, 1.38rem);
  line-height: 1.55;
}

.node[data-history-node-id="375"] h2,
.node[data-history-node-id="251"] h2,
.node[data-history-node-id="617"] h2 {
  margin-top: clamp(2.5rem, 5vw, 4.75rem);
  line-height: 1.14;
}

.node[data-history-node-id="375"] h3,
.node[data-history-node-id="251"] h3,
.node[data-history-node-id="617"] h3 {
  margin-top: 2rem;
  line-height: 1.25;
}

.node[data-history-node-id="375"] hr,
.node[data-history-node-id="251"] hr {
  margin-block: clamp(2.5rem, 5vw, 4.5rem);
  border: 0;
  border-top: 1px solid var(--tf-line);
}

.node[data-history-node-id="375"] a,
.node[data-history-node-id="251"] a {
  text-underline-offset: .18em;
  text-decoration-thickness: .08em;
}

/* The mediation page already contains campaign and evergreen variants. */
.node[data-history-node-id="617"] .mp-campaign-only {
  display: none !important;
}

.node[data-history-node-id="617"] .mp-evergreen-only {
  display: block !important;
}

.node[data-history-node-id="617"] a.mp-evergreen-only {
  display: inline-flex !important;
}

@media (max-width: 767.98px) {
  .node[data-history-node-id="375"] .field--name-body,
  .node[data-history-node-id="251"] .field--name-body {
    overflow-wrap: anywhere;
  }

  .node[data-history-node-id="375"] h2,
  .node[data-history-node-id="251"] h2,
  .node[data-history-node-id="617"] h2 {
    margin-top: 2.5rem;
  }
}