/*
Theme Name: Circuit Ledger
Author: Milo Arden
Description: A classic editorial WordPress theme for small computer tips, tech guides, and digital updates.
Version: 1.1.2
Text Domain: mpt-theme
*/

:root {
  --mpt-bg: #ffffff;
  --mpt-text: #050505;
  --mpt-muted: #606060;
  --mpt-line: #e6e6e6;
  --mpt-soft: #f4f4f4;
  --mpt-soft-2: #ededed;
  --mpt-wash-blue: #eaf7ff;
  --mpt-wash-mint: #effaf5;
  --mpt-wash-lilac: #f6f0ff;
  --mpt-wash-yellow: #fff8df;
  --mpt-accent: #0b0b0b;
  --mpt-max: 1320px;
  --mpt-gap: 1rem;
  --mpt-radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(116deg, rgba(234, 247, 255, 0.76) 0 10rem, transparent 10.05rem 100%),
    linear-gradient(164deg, transparent 0 32rem, rgba(246, 240, 255, 0.7) 32.05rem 48rem, transparent 48.05rem 100%),
    linear-gradient(180deg, #fff 0, #fff 60rem, rgba(239, 250, 245, 0.58) 60.05rem 86rem, #fff 86.05rem);
  color: var(--mpt-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.mpt-skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  transform: translateY(-150%);
  background: var(--mpt-text);
  color: var(--mpt-bg);
  padding: 0.75rem 1rem;
  border-radius: 999px;
}

.mpt-skip-link:focus {
  transform: translateY(0);
}

.mpt-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
}

.mpt-header-inner,
.mpt-container {
  width: min(calc(100% - 2rem), var(--mpt-max));
  margin-inline: auto;
}

.mpt-header-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mpt-brand {
  display: inline-flex;
  align-items: center;
  min-width: 2.2rem;
}

.mpt-logo-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
}

.mpt-logo-mark {
  display: inline-block;
  width: 2.15rem;
  height: 1.15rem;
  background-image: radial-gradient(circle, var(--mpt-text) 0 2px, transparent 2px);
  background-size: 0.36rem 0.36rem;
  background-position: 0 0;
}

.mpt-screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mpt-primary-nav {
  display: none;
}

.mpt-menu,
.mpt-category-list,
.mpt-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mpt-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  line-height: 1;
  text-transform: uppercase;
}

.mpt-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
}

.mpt-menu a::after {
  content: "";
  width: 0.68rem;
  height: 0.68rem;
  margin-left: 0.36rem;
  background: currentColor;
  clip-path: polygon(35% 0, 100% 0, 100% 65%, 82% 65%, 82% 31%, 13% 100%, 0 87%, 69% 18%, 35% 18%);
}

.mpt-mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--mpt-line);
  border-radius: 999px;
  background: var(--mpt-bg);
  color: var(--mpt-text);
  cursor: pointer;
}

.mpt-toggle-icon,
.mpt-toggle-icon::before,
.mpt-toggle-icon::after {
  display: block;
  width: 1rem;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.mpt-toggle-icon {
  position: relative;
}

.mpt-toggle-icon::before,
.mpt-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.mpt-toggle-icon::before {
  top: -0.36rem;
}

.mpt-toggle-icon::after {
  top: 0.36rem;
}

.mpt-mobile-panel {
  border-top: 1px solid var(--mpt-line);
  background: rgba(255, 255, 255, 0.96);
}

.mpt-mobile-panel[hidden] {
  display: none;
}

.mpt-mobile-panel-inner {
  width: min(calc(100% - 2rem), var(--mpt-max));
  margin-inline: auto;
  padding: 1rem 0 1.4rem;
}

.mpt-mobile-panel .mpt-menu {
  display: grid;
  gap: 0.25rem;
  font-size: 1.35rem;
  text-transform: none;
}

.mpt-mobile-panel .mpt-menu a {
  min-height: 3rem;
  border-bottom: 1px solid var(--mpt-line);
}

.mpt-mobile-categories {
  margin-top: 1.25rem;
}

.mpt-mobile-label,
.mpt-section-label,
.mpt-meta-label,
.mpt-card-date,
.mpt-post-date,
.mpt-tax-label,
.mpt-footer-label {
  color: var(--mpt-muted);
  font-size: 0.78rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.mpt-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.mpt-category-list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0 0.85rem;
  border: 1px solid var(--mpt-line);
  border-radius: 999px;
  font-size: 0.85rem;
}

.mpt-site-main {
  position: relative;
  min-height: 60vh;
}

.mpt-hero {
  position: relative;
  overflow: hidden;
  padding: 4.25rem 0 3rem;
  background:
    linear-gradient(90deg, rgba(255, 248, 223, 0.48), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), transparent);
}

.mpt-hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
  pointer-events: none;
}

.mpt-hero-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
}

.mpt-kicker {
  max-width: 29rem;
  margin: 0 0 1.75rem;
  color: var(--mpt-muted);
  font-size: 0.95rem;
}

.mpt-hero-title {
  max-width: 14ch;
  margin: 0 0 2.25rem;
  font-size: 4rem;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.mpt-hero-actions,
.mpt-section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.mpt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.2rem;
  border: 1px solid var(--mpt-text);
  border-radius: 999px;
  background: var(--mpt-text);
  color: var(--mpt-bg);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.mpt-link-button {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  border: 0;
  background: transparent;
  color: var(--mpt-text);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.mpt-link-button::after {
  content: "";
  width: 0.68rem;
  height: 0.68rem;
  margin-left: 0.45rem;
  background: currentColor;
  clip-path: polygon(35% 0, 100% 0, 100% 65%, 82% 65%, 82% 31%, 13% 100%, 0 87%, 69% 18%, 35% 18%);
}

.mpt-hero-side {
  align-self: end;
  display: grid;
  gap: 1.25rem;
}

.mpt-hero-visual {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--mpt-radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(234, 247, 255, 0.86)),
    var(--mpt-soft);
}

.mpt-hero-visual img {
  width: 100%;
  min-height: 12rem;
  object-fit: cover;
}

.mpt-stat-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.78rem 0;
  border-bottom: 1px solid var(--mpt-line);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.mpt-stat-value {
  color: var(--mpt-text);
  font-weight: 700;
}

.mpt-media-rail {
  overflow: hidden;
  padding: 1.25rem 0 4.25rem;
  background: linear-gradient(180deg, transparent 0, rgba(255, 255, 255, 0.72) 100%);
}

.mpt-media-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(16.5rem, 78vw);
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
}

.mpt-rail-card,
.mpt-post-card,
.mpt-empty-card {
  border-radius: var(--mpt-radius);
  overflow: hidden;
}

.mpt-rail-card {
  position: relative;
  min-height: 22rem;
  background: var(--mpt-soft);
}

.mpt-rail-card img,
.mpt-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mpt-rail-card img {
  position: absolute;
  inset: 0;
}

.mpt-rail-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.42), transparent);
  pointer-events: none;
}

.mpt-rail-title {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.mpt-editorial {
  padding: 4rem 0 2rem;
}

.mpt-editorial-grid {
  display: grid;
  gap: 2rem;
}

.mpt-editorial-copy {
  max-width: 45rem;
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.06;
}

.mpt-editorial-number {
  color: var(--mpt-muted);
  font-size: 0.86rem;
}

.mpt-symbols {
  padding: 2rem 0 4rem;
}

.mpt-symbol-grid {
  display: grid;
  gap: 0.65rem;
}

.mpt-symbol-card {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  min-height: 10rem;
  padding: 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--mpt-radius);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
}

.mpt-symbol-card:nth-child(2) {
  background: rgba(239, 250, 245, 0.74);
}

.mpt-symbol-card:nth-child(3) {
  background: rgba(246, 240, 255, 0.72);
}

.mpt-symbol-media {
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: var(--mpt-radius);
  background: var(--mpt-soft);
}

.mpt-symbol-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mpt-symbol-title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  line-height: 1;
  text-transform: uppercase;
}

.mpt-symbol-text {
  max-width: 24rem;
  margin: 0;
  color: var(--mpt-muted);
  font-size: 0.95rem;
}

.mpt-topic-band {
  padding: 4rem 0;
  background:
    linear-gradient(90deg, rgba(234, 247, 255, 0.78), rgba(255, 255, 255, 0.44) 38%, rgba(255, 248, 223, 0.58)),
    #fff;
}

.mpt-topic-grid {
  display: grid;
  gap: 1rem;
  align-items: end;
}

.mpt-topic-title {
  max-width: 35rem;
  margin: 0;
  font-size: 2rem;
  line-height: 1;
}

.mpt-posts {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.68);
}

.mpt-section-head {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.mpt-section-title {
  margin: 0;
  font-size: 3.4rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.mpt-section-note {
  max-width: 18rem;
  margin: 0;
  color: var(--mpt-muted);
}

.mpt-post-grid {
  display: grid;
  gap: 1.25rem;
}

.mpt-post-card {
  border-bottom: 1px solid var(--mpt-line);
  background: var(--mpt-bg);
}

.mpt-card-link {
  display: grid;
  gap: 1rem;
  padding-bottom: 1rem;
  text-decoration: none;
}

.mpt-card-link:hover .mpt-card-title,
.mpt-card-link:focus-visible .mpt-card-title {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.mpt-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--mpt-radius);
  background: var(--mpt-soft);
}

.mpt-card-title {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.08;
  text-transform: uppercase;
}

.mpt-card-excerpt {
  margin: 0;
  color: var(--mpt-muted);
}

.mpt-flow {
  padding: 4rem 0 5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(239, 250, 245, 0.68)),
    #fff;
}

.mpt-flow-head {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.mpt-flow-title {
  margin: 0;
  font-size: 4rem;
  line-height: 0.92;
  text-transform: uppercase;
}

.mpt-flow-note {
  max-width: 18rem;
  margin: 0;
}

.mpt-flow-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.mpt-flow-meta strong {
  color: var(--mpt-text);
}

.mpt-flow-grid {
  display: grid;
  border-top: 1px solid var(--mpt-line);
}

.mpt-flow-step {
  display: grid;
  align-content: end;
  min-height: 18rem;
  padding: 2rem 1.25rem;
  border-bottom: 1px solid var(--mpt-line);
}

.mpt-flow-step:nth-child(2) {
  align-content: center;
}

.mpt-flow-step:nth-child(3) {
  align-content: end;
}

.mpt-flow-step:nth-child(4) {
  align-content: center;
}

.mpt-flow-icon {
  width: 7.2rem;
  height: 7.2rem;
  margin-bottom: 1.25rem;
  border-radius: var(--mpt-radius);
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.92) 0 24%, transparent 25%),
    radial-gradient(circle at 30% 30%, rgba(0, 0, 0, 0.55) 0 16%, transparent 17%),
    radial-gradient(circle at 70% 70%, rgba(0, 0, 0, 0.45) 0 18%, transparent 19%),
    #efefef;
  filter: blur(0.2px);
}

.mpt-flow-step-title {
  margin: 0 0 0.75rem;
  font-size: 1.55rem;
  line-height: 1;
  text-transform: uppercase;
}

.mpt-flow-step-text {
  max-width: 18rem;
  margin: 0 0 2rem;
  color: var(--mpt-muted);
}

.mpt-progress-label {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.86rem;
  font-weight: 700;
}

.mpt-progress-bar {
  display: block;
  height: 0.38rem;
  max-width: 16rem;
  border-radius: 999px;
  background: var(--mpt-text);
}

.mpt-progress-bar[data-mpt-progress="25"] {
  width: 25%;
}

.mpt-progress-bar[data-mpt-progress="50"] {
  width: 50%;
}

.mpt-progress-bar[data-mpt-progress="75"] {
  width: 75%;
}

.mpt-progress-bar[data-mpt-progress="100"] {
  width: 100%;
}

.mpt-single {
  padding: 4rem 0 5rem;
  background:
    linear-gradient(120deg, rgba(234, 247, 255, 0.72), transparent 28rem),
    rgba(255, 255, 255, 0.74);
}

.mpt-single-layout {
  display: grid;
  gap: 2rem;
}

.mpt-single-title {
  max-width: 13ch;
  margin: 0;
  font-size: 3.6rem;
  line-height: 0.96;
  text-transform: uppercase;
}

.mpt-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin: 1.25rem 0 0;
  color: var(--mpt-muted);
  font-size: 0.9rem;
}

.mpt-single-content {
  max-width: 46rem;
}

.mpt-single-content > *:first-child {
  margin-top: 0;
}

.mpt-single-content h2,
.mpt-single-content h3,
.mpt-single-content h4 {
  margin-top: 2.25rem;
  line-height: 1.05;
}

.mpt-single-content p,
.mpt-single-content li {
  color: #242424;
}

.mpt-single-content a {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.mpt-single-content blockquote {
  margin: 2rem 0;
  padding-left: 1rem;
  border-left: 4px solid var(--mpt-text);
  font-size: 1.25rem;
}

.mpt-post-nav {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--mpt-line);
}

.mpt-comments {
  max-width: 46rem;
  margin-top: 3rem;
}

.mpt-empty-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  background: var(--mpt-soft);
}

.mpt-site-footer {
  border-top: 1px solid var(--mpt-line);
  padding: 3rem 0 2rem;
  background: rgba(255, 255, 255, 0.82);
}

.mpt-footer-grid {
  display: grid;
  gap: 2rem;
}

.mpt-footer-title {
  max-width: 12ch;
  margin: 0 0 1rem;
  font-size: 2.8rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.mpt-footer-copy {
  max-width: 22rem;
  margin: 0;
  color: var(--mpt-muted);
}

.mpt-footer-menu {
  display: grid;
  gap: 0.5rem;
}

.mpt-footer-menu a {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  text-transform: uppercase;
}

.mpt-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--mpt-line);
  color: var(--mpt-muted);
  font-size: 0.82rem;
}

@media (min-width: 680px) {
  .mpt-hero-title {
    font-size: 6rem;
  }

  .mpt-section-title,
  .mpt-single-title {
    font-size: 5rem;
  }

  .mpt-flow-title {
    font-size: 5rem;
  }

  .mpt-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 920px) {
  .mpt-primary-nav {
    display: block;
  }

  .mpt-mobile-toggle {
    display: none;
  }

  .mpt-hero {
    padding: 6rem 0 4rem;
  }

  .mpt-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 23rem);
    align-items: end;
  }

  .mpt-hero-title {
    font-size: 7.75rem;
  }

  .mpt-media-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: unset;
    grid-auto-columns: unset;
    overflow: visible;
  }

  .mpt-symbol-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mpt-symbol-card {
    grid-template-columns: 1fr;
    align-content: space-between;
    min-height: 18rem;
    padding: 1rem;
  }

  .mpt-symbol-media {
    width: 100%;
  }

  .mpt-editorial-grid {
    grid-template-columns: 16rem minmax(0, 1fr) 4rem;
    align-items: start;
  }

  .mpt-editorial-copy {
    font-size: 2rem;
  }

  .mpt-topic-grid,
  .mpt-section-head,
  .mpt-flow-head,
  .mpt-single-layout,
  .mpt-footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 26rem);
  }

  .mpt-section-title,
  .mpt-single-title {
    font-size: 6.9rem;
  }

  .mpt-flow-title {
    font-size: 6.9rem;
  }

  .mpt-flow-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 0;
  }

  .mpt-flow-step {
    min-height: 34rem;
    border-bottom: 0;
    border-left: 1px solid var(--mpt-line);
  }

  .mpt-flow-step:last-child {
    border-right: 1px solid var(--mpt-line);
  }
}

@media (min-width: 1180px) {
  .mpt-post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mpt-post-grid .mpt-post-card:first-child,
  .mpt-post-grid .mpt-post-card:nth-child(2) {
    grid-column: span 1;
  }
}

/* Magazine edition inspired by monochrome print zines. */
:root {
  --mpt-bg: #e9e9e9;
  --mpt-text: #050505;
  --mpt-muted: #3f3f3f;
  --mpt-line: #050505;
  --mpt-soft: #f1f1f1;
  --mpt-paper: #e9e9e9;
  --mpt-max: 1460px;
  --mpt-radius: 0;
}

body {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 16rem),
    var(--mpt-paper);
  color: var(--mpt-text);
}

.mpt-site-header {
  position: static;
  border-top: 1px solid var(--mpt-line);
  background: var(--mpt-paper);
  backdrop-filter: none;
}

.mpt-header-inner {
  min-height: 5.6rem;
  border-bottom: 2px solid var(--mpt-line);
}

.mpt-logo-link {
  gap: 0.18rem;
  text-decoration: none;
}

.mpt-logo-word {
  display: inline-block;
  max-width: 13rem;
  overflow: hidden;
  color: var(--mpt-text);
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 1.65rem;
  line-height: 0.85;
  text-transform: uppercase;
  white-space: nowrap;
}

.mpt-logo-tm {
  align-self: flex-start;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
}

.mpt-header-right {
  display: none;
}

.mpt-menu {
  gap: 1.5rem;
  font-size: 0.72rem;
  font-weight: 800;
}

.mpt-menu a::before {
  content: "";
  width: 0.22rem;
  height: 0.22rem;
  margin-right: 0.35rem;
  background: currentColor;
}

.mpt-menu a::after {
  width: 0.55rem;
  height: 0.55rem;
}

.mpt-header-search input,
.mpt-newsletter input {
  min-height: 2.1rem;
  border: 0;
  background: #dedede;
  color: var(--mpt-text);
  font-size: 0.78rem;
  outline: none;
}

.mpt-header-search input {
  width: 9.25rem;
  padding: 0 0.8rem;
}

.mpt-subscribe-link,
.mpt-newsletter button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.1rem;
  border: 1px solid var(--mpt-line);
  background: var(--mpt-text);
  color: var(--mpt-paper);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
}

.mpt-subscribe-link {
  padding: 0 0.8rem;
}

.mpt-mobile-toggle {
  border-color: var(--mpt-line);
  background: transparent;
}

.mpt-mobile-panel {
  border-bottom: 2px solid var(--mpt-line);
  background: var(--mpt-paper);
}

.mpt-hero {
  padding: 2.4rem 0 1.7rem;
  background: var(--mpt-paper);
}

.mpt-hero::before {
  display: none;
}

.mpt-masthead-rule {
  height: 1px;
  margin-bottom: 2.2rem;
  background: var(--mpt-line);
}

.mpt-hero-title {
  position: relative;
  z-index: 0;
  max-width: none;
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 4.8rem;
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: uppercase;
  word-break: normal;
  text-shadow:
    0.018em 0.014em 0 rgba(255, 255, 255, 0.9),
    0.036em 0.028em 0 rgba(0, 0, 0, 0.22),
    0.072em 0.056em 0 rgba(0, 0, 0, 0.13);
  isolation: isolate;
}

.mpt-hero-title::after {
  content: attr(data-title);
  position: absolute;
  inset: 0 auto auto 0;
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.32);
  text-stroke: 1px rgba(0, 0, 0, 0.32);
  transform: translate(0.085em, 0.045em);
  text-shadow:
    0.018em 0.018em 0 rgba(0, 0, 0, 0.28),
    0.04em 0.036em 0 rgba(0, 0, 0, 0.18),
    0.072em 0.058em 0 rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.mpt-category-ribbon {
  padding: 0.65rem 0 2.8rem;
  background: var(--mpt-paper);
}

.mpt-category-ribbon .mpt-category-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border: 1px solid var(--mpt-line);
  background: var(--mpt-text);
}

.mpt-category-ribbon .mpt-category-list li {
  min-width: 0;
}

.mpt-category-ribbon .mpt-category-list a {
  justify-content: center;
  min-height: 3rem;
  border: 0;
  border-right: 1px solid #777;
  border-radius: 0;
  background: var(--mpt-text);
  color: var(--mpt-paper);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mpt-category-ribbon .mpt-category-list a::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  margin-right: 0.45rem;
  background: currentColor;
}

.mpt-magazine-lead {
  padding: 0 0 4rem;
  background: var(--mpt-paper);
}

.mpt-magazine-grid {
  display: grid;
  gap: 2rem;
}

.mpt-lead-copy {
  display: grid;
  align-content: space-between;
  gap: 2rem;
}

.mpt-section-label,
.mpt-meta-label,
.mpt-card-date,
.mpt-post-date,
.mpt-tax-label,
.mpt-footer-label {
  color: var(--mpt-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.mpt-editorial-copy {
  max-width: 38rem;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1.02;
  text-transform: none;
}

.mpt-kicker {
  max-width: 28rem;
  margin: 0;
  color: var(--mpt-text);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.mpt-newsletter {
  display: grid;
  gap: 1rem;
  max-width: 42rem;
  padding: 1.4rem;
  border: 1px solid var(--mpt-line);
  border-top: 8px dashed var(--mpt-line);
  background: #f4f4f4;
}

.mpt-newsletter h3 {
  margin: 0 0 0.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 400;
}

.mpt-newsletter p {
  margin: 0;
  color: var(--mpt-text);
  font-size: 0.9rem;
}

.mpt-newsletter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border: 1px solid #b7b7b7;
  background: #fff;
}

.mpt-newsletter input {
  width: 100%;
  min-height: 3.4rem;
  padding: 0 1rem;
  background: #fff;
}

.mpt-newsletter button {
  align-self: center;
  min-height: 2rem;
  margin-right: 0.45rem;
  padding: 0 0.8rem;
  cursor: pointer;
}

.mpt-featured-card {
  border: 2px solid var(--mpt-line);
  background: var(--mpt-paper);
}

.mpt-featured-card a {
  display: block;
  text-decoration: none;
}

.mpt-card-chrome {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  min-height: 1.9rem;
  padding: 0 0.55rem;
  border-bottom: 1px dashed var(--mpt-line);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mpt-card-chrome span {
  width: 0.42rem;
  height: 0.42rem;
  border: 1px solid var(--mpt-line);
  border-radius: 50%;
}

.mpt-card-chrome strong {
  margin-left: auto;
}

.mpt-featured-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--mpt-line);
}

.mpt-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(0.82);
}

.mpt-featured-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.75rem 0;
  font-size: 0.75rem;
}

.mpt-featured-card h2 {
  margin: 0;
  padding: 0.35rem 0.75rem 1.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.05;
}

.mpt-posts,
.mpt-single,
.mpt-site-footer {
  background: var(--mpt-paper);
}

.mpt-posts {
  padding: 4rem 0;
  border-top: 1px solid var(--mpt-line);
}

.mpt-section-head {
  align-items: end;
  margin-bottom: 2.2rem;
  border-bottom: 1px solid var(--mpt-line);
  padding-bottom: 1rem;
}

.mpt-section-title,
.mpt-flow-title,
.mpt-single-title,
.mpt-footer-title {
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  letter-spacing: 0;
}

.mpt-section-title {
  font-size: 4.2rem;
}

.mpt-post-grid {
  gap: 1rem;
}

.mpt-post-card {
  border: 1px solid var(--mpt-line);
  background: var(--mpt-paper);
}

.mpt-card-link {
  gap: 0;
  padding: 0;
}

.mpt-card-media {
  border-radius: 0;
  border-bottom: 1px solid var(--mpt-line);
}

.mpt-card-media img {
  filter: contrast(1.06) saturate(0.85);
}

.mpt-card-date {
  padding: 0.75rem 0.8rem 0;
}

.mpt-card-title {
  padding: 0.4rem 0.8rem 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 400;
  text-transform: none;
}

.mpt-card-excerpt {
  padding: 0.7rem 0.8rem 1rem;
  color: var(--mpt-text);
  font-size: 0.9rem;
}

.mpt-flow-icon,
.mpt-button,
.mpt-link-button,
.mpt-symbol-card,
.mpt-empty-card {
  border-radius: 0;
}

.mpt-site-footer {
  border-color: var(--mpt-line);
}

@media (min-width: 680px) {
  .mpt-hero-title {
    font-size: clamp(5.6rem, 12vw, 8.2rem);
  }

  .mpt-category-ribbon .mpt-category-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mpt-editorial-copy {
    font-size: 3.6rem;
  }
}

@media (min-width: 920px) {
  .mpt-header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .mpt-header-inner {
    min-height: 5rem;
  }

  .mpt-hero {
    padding: 2.8rem 0 2rem;
  }

  .mpt-hero-title {
    font-size: clamp(7.2rem, 10.7vw, 10.8rem);
    white-space: nowrap;
  }

  .mpt-category-ribbon .mpt-category-list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .mpt-magazine-grid {
    grid-template-columns: minmax(0, 1fr) minmax(30rem, 42rem);
    align-items: stretch;
  }

  .mpt-section-title {
    font-size: 6rem;
  }
}

@media (min-width: 1180px) {
  .mpt-hero-title {
    font-size: clamp(8.8rem, 10.15vw, 11.4rem);
  }
}
