:root {
  --bg: #ffffff;
  --mute: #5f5f5f;
  --on-accent: #ffffff;
  --alt: #f6f6f4;
  --link: #1f5f8b;
  --fg: #222222;
  --accent: #1f5f8b;
  --head: #111111;
  --line: #e3e3df;
}

.jumbo {
  box-sizing: border-box;
  margin-bottom: 2em;
  overflow-wrap: break-word;
}

.jumbo .banner-title {
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-size: 2em;
}

.jumbo .intro-text {
  max-width: 60ch;
  margin: 0 0 1em;
  font-size: 1.08em;
}

.jumbo img {
  max-width: 100%;
}

.jumbo-ck > .content-width {
  padding-bottom: 2.5em;
  position: relative;
  padding-top: 2em;
}

.jumbo-ck .hero-image {
  border-radius: 0;
  min-height: 8em;
  background: linear-gradient(160deg, var(--accent), var(--alt));
  overflow: hidden;
  transform: rotate(-1.5deg);
}

.jumbo-ck .hero-image img {
  max-height: 20em;
  object-fit: cover;
  display: block;
  width: 100%;
}

.jumbo-ck .hero-panel {
  margin-left: 0.5em;
  border-radius: 0;
  margin-top: -2em;
  box-shadow: 0 8px 30px rgba(0,0,0,.15);
  background: var(--bg);
  padding: 1.25em;
  position: relative;
  margin-right: 0.5em;
  transform: rotate(0.6deg);
}

.heading h1 {
  margin: 0 0 1.25em;
  font-size: 1.5em;
  color: var(--head);
}

.content-width {
  max-width: 72em;
  padding-right: 1em;
  margin: 0 auto;
  box-sizing: border-box;
  padding-left: 1em;
}

.row {
  padding-bottom: 2.5em;
  padding-top: 1.5em;
}

.primary {
  min-width: 0;
}

.side-column {
  margin-top: 2em;
  min-width: 0;
}

.post-title {
  margin: 0 0 0.4em;
  line-height: 1.25;
  font-size: 1.55em;
  font-family: "Bitter", Georgia, serif;
}

.post-title a {
  color: var(--head);
  text-decoration: none;
}

.post-title a:hover {
  color: var(--link);
  text-decoration: underline;
}

.post-meta {
  margin: 0 0 0.9em;
  font-size: 0.85em;
  color: var(--mute);
}

.post-meta a {
  color: var(--mute);
}

.card-body img {
  max-width: 100%;
  height: auto;
}

.card-body h2:not(.post-title), .entry-summary h2 {
  margin: 1.25em 0 0.5em;
  font-size: 1.15em;
}

.card-body h3, .entry-summary h3 {
  font-size: 1.02em;
}

.post-thumb {
  margin: 0 0 1em;
}

.post-thumb img {
  border-radius: 0;
  display: block;
  width: 100%;
  height: auto;
}

.lead-post .post-title {
  line-height: 1.15;
  font-size: 2.1em;
}

.lead-post {
  padding-bottom: 1.5em;
  margin-bottom: 2em;
  border-bottom: 3px solid var(--head);
}

.secondary-post {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 2em;
  margin-bottom: 2em;
}

.stories-mg .magazine .post-title {
  line-height: 1.1;
  font-size: 2.2em;
}

.stories-mg .magazine {
  padding-bottom: 1.5em;
  margin-bottom: 2em;
  border-bottom: 4px double var(--head);
}

.stories-mg .post-header {
  align-items: end;
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 1em;
}

.stories-mg .secondary-post {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  margin: 0;
  list-style: none;
  gap: 1.75em;
  padding: 0;
}

.stories-mg > .callout, .stories-mg > li > .callout {
  grid-column: 1 / -1;
}

.stories-mg .secondary-post > *:has(.callout) {
  grid-column: 1 / -1;
}

.stories-mg .secondary-post .post-title {
  font-size: 1.2em;
}

.stories-mg .secondary-post .card-body {
  font-size: 0.93em;
}

.side-block {
  font-size: 0.92em;
  margin-bottom: 1.75em;
}

.block-title {
  padding-bottom: 0.35em;
  margin: 0 0 0.6em;
  font-size: 1em;
  color: var(--head);
  text-transform: none;
  font-family: "Bitter", Georgia, serif;
  border-bottom: 2px solid var(--accent);
}

.side-list {
  margin: 0;
  list-style: none;
  padding: 0;
}

.side-list li, .side-list > div {
  padding: 0.3em 0;
  border-bottom: 1px solid var(--line);
}

.side-block a {
  color: var(--link);
  text-decoration: none;
}

.side-block a:hover {
  text-decoration: underline;
}

.post-heading {
  margin: 0 0 0.5em;
  line-height: 1.2;
  font-size: 2.1em;
  color: var(--head);
  font-family: "Bitter", Georgia, serif;
}

.entry-info {
  margin: 0 0 1.5em;
  font-size: 0.88em;
  color: var(--mute);
}

.entry-info a {
  color: var(--mute);
}

.entry-content img {
  max-width: 100%;
  height: auto;
}

.article-foot {
  margin-top: 2.5em;
  padding-top: 1.5em;
  border-top: 1px solid var(--line);
}

.table-of-contents {
  border-radius: 0;
  background: var(--alt);
  padding: 1em 1.25em;
  margin-bottom: 1.5em;
}

.table-of-contents p {
  margin: 0 0 0.4em;
}

.author-box {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 1.25em;
  margin-bottom: 1.5em;
}

.author-box p {
  margin: 0 0 0.4em;
}

.related h2 {
  font-size: 1.15em;
}

.paginator {
  margin-top: 1.5em;
  display: flex;
  gap: 1em;
  justify-content: space-between;
  flex-wrap: wrap;
}

.trail {
  margin: 0 0 1em;
  font-size: 0.82em;
  color: var(--mute);
}

.trail a {
  color: var(--mute);
}

.footer-mg {
  margin-top: 2.5em;
  background: var(--alt);
  padding: 2em 0;
}

.footer-mg .side-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  margin: 0;
  list-style: none;
  gap: 0.5em;
  padding: 0;
}

.footer-mg .side-list a {
  border: 1px solid var(--line);
  border-radius: 0;
  display: block;
  background: var(--bg);
  padding: 0.6em 0.8em;
  text-align: center;
  text-decoration: none;
}

.footer-mg .copyright {
  margin-top: 1.25em;
  font-size: 0.8em;
  text-align: center;
  color: var(--mute);
}

.button-group {
  display: flex;
  margin: 1em 0 0;
  list-style: none;
  gap: 0.75em;
  padding: 0;
  flex-wrap: wrap;
}

.pill-link {
  border: 2px solid var(--accent);
  border-radius: 0;
  display: inline-block;
  background: var(--accent);
  padding: 0.6em 1.1em;
  color: var(--on-accent);
  font-weight: 700;
  text-decoration: none;
}

.pill-link-alt {
  background: var(--bg);
  color: var(--accent);
}

.tags-row {
  display: flex;
  margin: 0.9em 0 0;
  list-style: none;
  gap: 0.5em;
  padding: 0;
  flex-wrap: wrap;
  font-size: 0.85em;
}

.tags-row li, .tags-row span {
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--alt);
  padding: 0.25em 0.65em;
  color: var(--fg);
}

.pre-title {
  letter-spacing: 0.08em;
  margin: 0 0 0.4em;
  font-size: 0.8em;
  color: var(--mute);
  text-transform: uppercase;
  font-weight: 700;
}

.list-header, h2.list-header {
  margin: 0 0 1.5em;
}

.list-header h2, h2.list-header {
  font-size: 1.9em;
  margin-bottom: 0.35em;
}

.list-header p {
  margin: 0;
  color: var(--mute);
}

.list-summary {
  max-width: 70ch;
  margin: 0 0 1.5em;
}

.get-in-touch {
  max-width: 100%;
  margin: 1em 0;
  box-sizing: border-box;
}

.get-in-touch .callback {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 0.6em;
}

.get-in-touch .form-row {
  min-width: 0;
  display: grid;
  gap: 0.2em;
}

.get-in-touch label {
  font-size: 0.85em;
  font-weight: 600;
}

.get-in-touch input[type=text], .get-in-touch input[type=tel], .get-in-touch textarea {
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--bg);
  box-sizing: border-box;
  padding: 0.5em 0.6em;
  color: var(--fg);
  width: 100%;
}

.get-in-touch button {
  font: inherit;
  border: 0;
  border-radius: 0;
  background: var(--accent);
  padding: 0.65em 1.1em;
  color: var(--on-accent);
  cursor: pointer;
  font-weight: 700;
}

.get-in-touch .call-line {
  margin: 0.6em 0 0;
  font-size: 0.9em;
}

.get-in-touch .deck {
  margin: 0 0 0.6em;
}

.get-in-touch-boxed {
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,.14);
  background: var(--bg);
  padding: 1.25em;
  color: var(--fg);
}

.get-in-touch-inline {
  border-radius: 0;
  background: var(--alt);
  padding: 0.9em;
  color: var(--fg);
}

.get-in-touch-tabbed {
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
  background: var(--bg);
  padding: 1em;
  color: var(--fg);
  border-top: 4px solid var(--accent);
}

.get-in-touch .switcher {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}

.get-in-touch .switcher input {
  opacity: 0;
  position: absolute;
  width: 1px;
  height: 1px;
}

.get-in-touch .switcher label {
  padding: 0.45em 0.9em;
  color: var(--mute);
  border-bottom: 3px solid transparent;
  cursor: pointer;
}

.get-in-touch .switcher input:checked + label {
  border-bottom-color: var(--accent);
  color: var(--head);
}

.get-in-touch-call {
  border-radius: 0;
  background: var(--alt);
  padding: 1em;
  text-align: center;
  color: var(--fg);
}

.get-in-touch .call-button {
  border-radius: 999px;
  display: inline-block;
  background: var(--accent);
  padding: 0.9em 1.6em;
  font-size: 1.25em;
  color: var(--on-accent);
  font-weight: 700;
  text-decoration: none;
}

.get-in-touch-two {
  border: 2px dashed var(--line);
  border-radius: 0;
  background: var(--bg);
  padding: 1.1em;
  color: var(--fg);
}

.get-in-touch fieldset {
  border: 0;
  min-width: 0;
  display: grid;
  margin: 0;
  gap: 0.5em;
  padding: 0;
}

.get-in-touch legend {
  letter-spacing: 0.08em;
  font-size: 0.75em;
  color: var(--mute);
}

.get-in-touch details > summary {
  border-radius: 0;
  display: inline-block;
  background: var(--head);
  margin: 0.3em 0;
  list-style: none;
  padding: 0.5em 1em;
  color: var(--bg);
  cursor: pointer;
}

.get-in-touch-compact {
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--alt);
  padding: 1em;
  color: var(--fg);
}

.get-in-touch-pair {
  border-radius: 0;
  background: var(--alt);
  padding: 1.2em;
  border-left: 4px solid var(--accent);
  color: var(--fg);
}

.picks {
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--alt);
  margin: 0 0 2em;
  padding: 1em 1.15em;
  border-left: 3px solid var(--accent);
  overflow-wrap: anywhere;
}

.picks p {
  margin: 0 0 0.5em;
}

.picks ul, .picks ol {
  margin: 0;
  padding-left: 1.25em;
}

.picks li {
  margin: 0 0 0.35em;
}

.picks li span {
  display: block;
  font-size: 0.82em;
  color: var(--mute);
}

.season {
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--alt);
  margin: 0 0 2em;
  padding: 1em 1.15em;
  overflow-wrap: anywhere;
}

.season p {
  margin: 0 0 0.5em;
}

.season ul, .season ol {
  margin: 0;
  padding-left: 1.25em;
}

.season li {
  margin: 0 0 0.35em;
}

.season li span {
  font-size: 0.85em;
  color: var(--mute);
}

.post-header .entry-info {
  margin: 0 0 1.25em;
}

.story-page-nm .entry-content {
  counter-reset: rank-no;
}

.story-page-nm .entry-content h2::before {
  content: counter(rank-no, decimal-leading-zero);
  min-width: 2em;
  counter-increment: rank-no;
  display: inline-block;
  margin-right: 0.5em;
  color: var(--accent);
  font-family: "Bitter", Georgia, serif;
}

.story-page-nm .entry-content h2 {
  padding-top: 0.75em;
  border-top: 1px solid var(--line);
}

.story-page-nm .table-of-contents {
  border-left: 4px solid var(--accent);
}

.card-body a, .entry-content a {
  border-bottom: 1px solid var(--accent);
  text-decoration: none;
}

.post-thumb img {
  object-fit: cover;
  aspect-ratio: 21 / 9;
}

.card-body p, .entry-content p {
  margin: 0 0 1.4em;
}

body {
  line-height: 1.8;
}

[data-rt]::after {
  content: " · " attr(data-rt);
}

.trail a {
  color: var(--mute);
  text-decoration: none;
}

.table-of-contents li {
  list-style: decimal inside;
}

.card-body blockquote, .entry-content blockquote {
  background: var(--accent);
  padding: 1em;
  border-left: 0;
  color: var(--on-accent);
}

.card-body ul, .entry-content ul {
  list-style-type: circle;
}

.topic-chips a::before, .post-meta a::before {
  content: "#";
  color: var(--accent);
}

.paginator-top {
  margin: 0.5em 0;
  text-align: right;
}

.story-page-pg-centered {
  max-width: 60ch;
  margin: 0 auto;
  text-align: center;
}

.paginator-num {
  gap: 0.4em;
  justify-content: flex-start;
}

.paginator-num a, .paginator-num span {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.3em 0.7em;
}

@media (min-width: 800px) {
  .jumbo .banner-title {
    font-size: 2.6em;
  }
  .row {
    align-items: flex-start;
    display: flex;
    gap: 2.25em;
  }
  .primary {
    flex: 1 1 0;
    order: 2;
  }
  .side-column {
    flex: 0 0 18em;
    margin-top: 0;
    order: 3;
  }
  .secondary-post {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .stories-mg .post-header:has(figure) {
    grid-template-columns: minmax(0,3fr) minmax(0,2fr);
  }
  .stories-mg .secondary-post {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .footer-mg .side-list {
    grid-template-columns: repeat(4, minmax(0,1fr));
  }
  .get-in-touch-inline .callback {
    align-items: end;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto;
  }
  .get-in-touch-pair .callback {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  }
  .get-in-touch-pair .form-row:nth-of-type(3), .get-in-touch-pair button {
    grid-column: 1 / -1;
  }
}
