:root {
  --cm-navy-950: #09111b;
  --cm-navy-900: #0d1724;
  --cm-navy-850: #111e2d;
  --cm-navy-800: #152538;
  --cm-navy-700: #174883;
  --cm-cyan: #00b2d3;
  --cm-cyan-deep: #087ba4;
  --cm-blue: #2469b2;
  --cm-warm: #ed9b43;
  --cm-cream: #fffaf3;
  --cm-paper: #ffffff;
  --cm-ink: #142437;
  --cm-muted: #687484;
  --cm-line-dark: rgba(255, 255, 255, 0.09);
  --cm-line-light: rgba(23, 72, 131, 0.14);
  --cm-shadow: 0 24px 70px rgba(4, 15, 29, 0.19);
  --cm-radius: 20px;
  --cm-container: min(1180px, calc(100% - 40px));
  --cm-content: min(760px, calc(100% - 48px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cm-navy-950);
  color: #f7fbff;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

body.admin-bar .site-header {
  top: 32px;
}

body.admin-bar .mobile-panel {
  top: 104px;
}

body.admin-bar .search-dialog {
  margin-top: 32px;
}

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

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

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

button {
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  letter-spacing: -0.035em;
}

::selection {
  background: rgba(0, 178, 211, 0.32);
  color: inherit;
}

[id] {
  scroll-margin-top: 96px;
}

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

.screen-reader-text:focus {
  z-index: 100000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  border-radius: 8px;
  background: #fff;
  color: var(--cm-ink);
  font-weight: 700;
}

.alignwide {
  width: min(1120px, calc(100vw - 48px));
  max-width: none;
  margin-right: calc((760px - min(1120px, calc(100vw - 48px))) / 2);
  margin-left: calc((760px - min(1120px, calc(100vw - 48px))) / 2);
}

.alignfull {
  width: 100vw;
  max-width: none;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}

.gradient-text {
  background: linear-gradient(105deg, var(--cm-cyan) 0%, #7addeb 50%, var(--cm-warm) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.button,
.wp-element-button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 21px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(110deg, var(--cm-cyan), var(--cm-blue));
  box-shadow: 0 10px 28px rgba(0, 178, 211, 0.2);
  color: #fff;
  font-size: 0.87rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.button:hover,
.button:focus-visible,
.wp-element-button:hover,
.wp-element-button:focus-visible,
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 178, 211, 0.29);
  filter: brightness(1.06);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cm-cyan-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translateX(4px);
}

/* Header and navigation */
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  border-bottom: 1px solid var(--cm-line-dark);
  background: rgba(9, 17, 27, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-shell {
  display: flex;
  width: var(--cm-container);
  height: 72px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand-logo,
.brand img {
  width: 164px;
  max-height: 46px;
  object-fit: contain;
  object-position: left center;
}

.desktop-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  color: #bdc8d5;
  font-size: 0.88rem;
  font-weight: 500;
}

.desktop-nav .menu,
.mobile-menu,
.footer-menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.desktop-nav .menu {
  display: flex;
  align-items: center;
  gap: 27px;
}

.desktop-nav .menu > li {
  position: relative;
}

.desktop-nav a {
  display: block;
  padding: 26px 0;
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav .current-menu-item > a,
.desktop-nav .current_page_item > a {
  color: #fff;
}

.desktop-nav .solution {
  color: #dbe7f2;
}

.desktop-nav .sub-menu {
  position: absolute;
  top: calc(100% - 8px);
  left: -18px;
  width: 210px;
  padding: 10px;
  margin: 0;
  border: 1px solid var(--cm-line-dark);
  border-radius: 14px;
  background: rgba(13, 23, 36, 0.98);
  box-shadow: var(--cm-shadow);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(7px);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 160ms ease;
}

.desktop-nav li:hover > .sub-menu,
.desktop-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.desktop-nav .sub-menu a {
  padding: 10px 12px;
  border-radius: 8px;
}

.desktop-nav .sub-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.icon-button,
.menu-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--cm-line-dark);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.icon-button:hover,
.menu-button:hover {
  border-color: rgba(0, 178, 211, 0.55);
  background: rgba(0, 178, 211, 0.09);
}

.search-icon {
  position: relative;
  display: block;
  width: 15px;
  height: 15px;
  border: 1.8px solid #dbe7f2;
  border-radius: 50%;
}

.search-icon::after {
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: #dbe7f2;
  content: "";
  transform: rotate(45deg);
}

.header-cta {
  min-height: 42px;
  padding-inline: 18px;
}

.menu-button {
  display: none;
}

.menu-lines {
  display: grid;
  width: 17px;
  gap: 4px;
}

.menu-lines i {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: #fff;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-open .menu-lines i:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.menu-open .menu-lines i:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-lines i:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.mobile-panel {
  position: fixed;
  z-index: 90;
  top: 72px;
  right: 0;
  left: 0;
  display: none;
  padding: 24px 20px 30px;
  border-bottom: 1px solid var(--cm-line-dark);
  background: rgba(9, 17, 27, 0.985);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
}

.mobile-panel[aria-hidden="false"] {
  display: block;
  animation: cm-menu-in 180ms ease both;
}

.mobile-menu {
  display: grid;
  margin-bottom: 22px;
}

.mobile-menu a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--cm-line-dark);
  color: #dce7f2;
  font-weight: 600;
}

.mobile-menu .sub-menu {
  padding-left: 17px;
  list-style: none;
}

.mobile-panel .button {
  width: 100%;
}

@keyframes cm-menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.reading-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.04);
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cm-cyan), var(--cm-warm));
  transition: width 80ms linear;
}

/* Search dialog */
.search-dialog {
  width: min(620px, calc(100% - 32px));
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: transparent;
  color: #fff;
  box-shadow: var(--cm-shadow);
}

.search-dialog::backdrop {
  background: rgba(2, 8, 14, 0.77);
  backdrop-filter: blur(7px);
}

.search-panel {
  padding: 28px;
  border-radius: 21px;
  background: var(--cm-navy-850);
}

.search-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.search-heading h2 {
  margin-bottom: 18px;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
}

.close-button {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--cm-line-dark);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.search-form {
  display: flex;
  gap: 10px;
}

.search-field {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.search-field:focus {
  border-color: var(--cm-cyan);
  box-shadow: 0 0 0 3px rgba(0, 178, 211, 0.12);
}

.search-field::placeholder {
  color: #8795a5;
}

.search-help {
  margin: 12px 0 0;
  color: #8795a5;
  font-size: 0.78rem;
}

/* Blog home hero */
.blog-hero {
  position: relative;
  overflow: hidden;
  padding: 158px 0 76px;
  background:
    radial-gradient(circle at 82% 12%, rgba(0, 178, 211, 0.16), transparent 28%),
    radial-gradient(circle at 18% 40%, rgba(36, 105, 178, 0.2), transparent 36%),
    linear-gradient(180deg, var(--cm-navy-950), var(--cm-navy-900));
}

.blog-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 70px 70px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  pointer-events: none;
}

.hero-shell,
.section-shell,
.related-shell,
.archive-shell {
  position: relative;
  width: var(--cm-container);
  margin: 0 auto;
}

.hero-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: clamp(40px, 8vw, 100px);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 17px;
  color: var(--cm-cyan);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  width: 24px;
  height: 1px;
  background: currentColor;
  content: "";
}

.hero-intro h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.7rem, 6.3vw, 5.5rem);
  line-height: 0.98;
}

.hero-intro > p {
  max-width: 470px;
  margin-bottom: 4px;
  color: #aebac8;
  font-size: 1rem;
  line-height: 1.75;
}

.category-bar {
  display: flex;
  margin: 45px 0 24px;
  align-items: center;
  gap: 9px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-bar::-webkit-scrollbar {
  display: none;
}

.category-pill {
  flex: 0 0 auto;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #aebac8;
  font-size: 0.75rem;
  font-weight: 700;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease;
}

.category-pill:hover,
.category-pill:focus-visible,
.category-pill.active {
  border-color: rgba(0, 178, 211, 0.5);
  background: rgba(0, 178, 211, 0.1);
  color: #fff;
}

.feature-card {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  min-height: 450px;
  border: 1px solid var(--cm-line-dark);
  border-radius: 24px;
  background: var(--cm-navy-850);
  box-shadow: var(--cm-shadow);
}

.feature-copy {
  position: relative;
  z-index: 1;
  display: flex;
  padding: clamp(32px, 5vw, 60px);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.feature-copy::after {
  position: absolute;
  z-index: -1;
  right: -70px;
  bottom: -90px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(0, 178, 211, 0.13);
  border-radius: 50%;
  content: "";
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #8e9bab;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.meta-tag {
  color: var(--cm-cyan);
}

.feature-copy h2 {
  max-width: 520px;
  margin: 19px 0 17px;
  font-size: clamp(1.8rem, 3.5vw, 3.25rem);
  line-height: 1.06;
}

.feature-copy h2 a:hover,
.feature-copy h2 a:focus-visible,
.article-content h3 a:hover,
.compact-copy h3 a:hover,
.latest-feature h3 a:hover,
.related-card h3 a:hover {
  color: var(--cm-cyan);
}

.feature-copy p {
  max-width: 510px;
  margin-bottom: 25px;
  color: #aab6c4;
  font-size: 0.94rem;
  line-height: 1.72;
}

.feature-copy .text-link,
.latest-section .text-link {
  color: #6ad2e4;
}

.feature-media {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.feature-media::after,
.article-image::after,
.latest-feature::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 30, 45, 0.6), transparent 35%);
  content: "";
  pointer-events: none;
}

.feature-media img,
.article-image img,
.latest-feature > img,
.compact-image img,
.related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.feature-card:hover .feature-media img,
.article-card:hover .article-image img,
.latest-feature:hover > img,
.compact-card:hover .compact-image img,
.related-card:hover .related-image img {
  transform: scale(1.035);
}

.feature-number,
.card-index {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(9, 17, 27, 0.66);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-number {
  right: 20px;
  bottom: 20px;
  padding: 9px 12px;
  border-radius: 999px;
}

.empty-hero,
.content-none {
  padding: 40px;
  border: 1px dashed rgba(255, 255, 255, 0.17);
  border-radius: var(--cm-radius);
  color: #aebac8;
  text-align: center;
}

.topic-rail {
  border-top: 1px solid var(--cm-line-dark);
  border-bottom: 1px solid var(--cm-line-dark);
  background: var(--cm-navy-900);
}

.topic-shell {
  display: grid;
  width: var(--cm-container);
  min-height: 82px;
  margin: 0 auto;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.topic-label {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #91a0b0;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cm-cyan);
  box-shadow: 0 0 0 4px rgba(0, 178, 211, 0.12);
}

.pulse::after {
  position: absolute;
  inset: -5px;
  border: 1px solid var(--cm-cyan);
  border-radius: 50%;
  content: "";
  animation: cm-pulse 1.8s infinite;
}

@keyframes cm-pulse {
  to {
    opacity: 0;
    transform: scale(1.7);
  }
}

.topic-text {
  overflow: hidden;
  color: #dbe6f0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topic-arrow {
  color: var(--cm-cyan);
  font-size: 1.3rem;
}

/* Home content sections */
.light-section {
  padding: 112px 0;
  background:
    radial-gradient(circle at 5% 10%, rgba(0, 178, 211, 0.08), transparent 24%), var(--cm-cream);
  color: var(--cm-ink);
}

.section-heading {
  display: grid;
  margin-bottom: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.48fr);
  align-items: end;
  gap: 55px;
}

.section-heading h2 {
  max-width: 720px;
  margin-bottom: 0;
  color: inherit;
  font-size: clamp(2.1rem, 4.8vw, 4.1rem);
  line-height: 1.03;
}

.section-heading h2 span:not(.gradient-text) {
  color: var(--cm-cyan-deep);
}

.section-heading > p {
  margin-bottom: 4px;
  color: var(--cm-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.article-grid,
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.article-card {
  overflow: hidden;
  border: 1px solid var(--cm-line-light);
  border-radius: var(--cm-radius);
  background: var(--cm-paper);
  box-shadow: 0 10px 35px rgba(15, 37, 62, 0.065);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(15, 37, 62, 0.12);
}

.article-image {
  position: relative;
  display: block;
  height: 225px;
  overflow: hidden;
}

.article-image::after {
  background: linear-gradient(180deg, transparent 50%, rgba(9, 17, 27, 0.34));
}

.card-index {
  right: 14px;
  bottom: 14px;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 50%;
}

.article-content {
  padding: 25px 25px 27px;
}

.article-content .article-meta {
  color: #8a95a2;
}

.article-content .meta-tag {
  color: var(--cm-cyan-deep);
}

.article-content h3 {
  margin: 15px 0 12px;
  color: var(--cm-ink);
  font-size: 1.29rem;
  line-height: 1.23;
}

.article-content p {
  margin-bottom: 21px;
  color: var(--cm-muted);
  font-size: 0.85rem;
  line-height: 1.66;
}

.latest-section {
  padding: 112px 0;
  background:
    radial-gradient(circle at 90% 30%, rgba(0, 178, 211, 0.13), transparent 28%), var(--cm-navy-900);
}

.latest-section .section-heading > p {
  color: #99a7b6;
}

.latest-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 28px;
}

.latest-feature {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 570px;
  border: 1px solid var(--cm-line-dark);
  border-radius: 22px;
  align-items: flex-end;
  background: var(--cm-navy-850);
}

.latest-feature::after {
  background: linear-gradient(180deg, transparent 22%, rgba(5, 12, 20, 0.94) 100%);
}

.latest-feature > img {
  position: absolute;
  inset: 0;
}

.latest-feature-copy {
  position: relative;
  z-index: 2;
  padding: clamp(28px, 5vw, 50px);
}

.latest-feature h3 {
  max-width: 630px;
  margin: 18px 0 14px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
}

.latest-feature p {
  max-width: 600px;
  margin-bottom: 23px;
  color: #aebac8;
  font-size: 0.9rem;
  line-height: 1.68;
}

.latest-list {
  display: grid;
  gap: 16px;
}

.compact-card {
  display: grid;
  overflow: hidden;
  grid-template-columns: 145px 1fr;
  min-height: 174px;
  border: 1px solid var(--cm-line-dark);
  border-radius: 17px;
  background: var(--cm-navy-850);
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.compact-card:hover {
  border-color: rgba(0, 178, 211, 0.3);
  transform: translateX(-4px);
}

.compact-image {
  overflow: hidden;
}

.compact-copy {
  display: flex;
  min-width: 0;
  padding: 21px 20px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.compact-copy .article-meta {
  font-size: 0.59rem;
}

.compact-copy h3 {
  margin: 10px 0 13px;
  font-size: 1rem;
  line-height: 1.27;
}

.compact-copy .text-link {
  font-size: 0.7rem;
}

.pagination,
.nav-links {
  display: flex;
  margin-top: 38px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.page-numbers {
  display: inline-grid;
  min-width: 40px;
  height: 40px;
  padding: 0 11px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #aebac8;
  font-size: 0.8rem;
  font-weight: 700;
}

.page-numbers.current,
.page-numbers:hover {
  border-color: var(--cm-cyan);
  background: rgba(0, 178, 211, 0.1);
  color: #fff;
}

.light-section .page-numbers,
.archive-stage .page-numbers {
  border-color: var(--cm-line-light);
  color: var(--cm-muted);
}

.light-section .page-numbers.current,
.archive-stage .page-numbers.current,
.archive-stage .page-numbers:hover {
  color: var(--cm-cyan-deep);
}

.newsletter-section {
  padding: 90px 20px;
  background: var(--cm-cream);
  color: var(--cm-ink);
}

.newsletter-card {
  position: relative;
  display: grid;
  width: min(1120px, 100%);
  min-height: 330px;
  padding: clamp(36px, 7vw, 76px);
  margin: 0 auto;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.6fr);
  align-items: center;
  gap: 70px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 85% 10%, rgba(0, 178, 211, 0.22), transparent 32%),
    linear-gradient(120deg, var(--cm-navy-900), var(--cm-navy-800));
  box-shadow: var(--cm-shadow);
  color: #fff;
}

.newsletter-card::after {
  position: absolute;
  right: -90px;
  bottom: -140px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.newsletter-copy,
.newsletter-action {
  position: relative;
  z-index: 1;
}

.newsletter-copy h2 {
  max-width: 720px;
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.05;
}

.newsletter-copy p {
  max-width: 650px;
  margin-bottom: 0;
  color: #aebac8;
  font-size: 0.94rem;
  line-height: 1.7;
}

.newsletter-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.newsletter-action .button {
  min-width: 190px;
}

.newsletter-action small {
  max-width: 270px;
  color: #7f8d9d;
  font-size: 0.68rem;
  line-height: 1.5;
}

/* Single post */
.article-stage {
  position: relative;
  overflow: hidden;
  padding: 132px 20px 88px;
  background:
    radial-gradient(circle at 14% 7%, rgba(0, 178, 211, 0.13), transparent 25%),
    radial-gradient(circle at 86% 18%, rgba(36, 105, 178, 0.18), transparent 25%),
    linear-gradient(180deg, var(--cm-navy-950) 0, var(--cm-navy-900) 530px, #efede8 530px);
}

.article-stage::before {
  position: absolute;
  inset: 0 0 auto;
  height: 530px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 68px 68px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent);
}

.article-paper {
  position: relative;
  width: min(980px, 100%);
  margin: 0 auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 32px 90px rgba(3, 13, 25, 0.22);
  color: var(--cm-ink);
}

.article-header {
  position: relative;
  padding: 65px clamp(28px, 8vw, 100px) 45px;
  text-align: center;
}

.back-link {
  position: absolute;
  top: 25px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #7b8794;
  font-size: 0.72rem;
  font-weight: 700;
}

.back-link:hover {
  color: var(--cm-cyan-deep);
}

.article-author {
  position: absolute;
  top: -48px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
}

.author-avatar {
  display: grid;
  width: 78px;
  height: 78px;
  padding: 4px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--cm-cyan), var(--cm-warm));
  box-shadow: 0 9px 25px rgba(9, 17, 27, 0.22);
}

.author-avatar img,
.author-box-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  white-space: nowrap;
  color: #536071;
  font-size: 0.76rem;
  font-weight: 700;
}

.article-tags {
  display: flex;
  margin: 31px auto 30px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.article-tag {
  padding: 8px 12px;
  border-radius: 4px;
  background: #f1f4f6;
  color: #536071;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.article-tag:hover {
  background: #e4f6fa;
  color: var(--cm-cyan-deep);
}

.article-tag.tag-secondary {
  background: #fff6ec;
  color: #9c5d21;
}

.article-header .article-meta {
  justify-content: center;
  color: #929ca7;
}

.meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #b7bec6;
}

.article-header h1 {
  max-width: 830px;
  margin: 40px auto 25px;
  color: #0d1724;
  font-size: clamp(2.1rem, 5.2vw, 4.5rem);
  line-height: 1.02;
}

.article-lead {
  max-width: 770px;
  margin: 0 auto;
  color: #576577;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.72;
}

.article-hero {
  position: relative;
  width: calc(100% - clamp(32px, 7vw, 72px));
  margin: 0 auto 0;
  overflow: hidden;
  border-radius: 7px;
}

.article-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 75%, rgba(9, 17, 27, 0.25));
  content: "";
  pointer-events: none;
}

.article-hero img {
  width: 100%;
  aspect-ratio: 16 / 8.7;
  object-fit: cover;
}

.article-hero figcaption {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 12px;
  left: 14px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.66rem;
  text-align: right;
}

.article-body {
  width: var(--cm-content);
  padding: 58px 0 55px;
  margin: 0 auto;
  color: #4d5b6b;
  font-size: 1.02rem;
  line-height: 1.82;
}

.article-body > p:first-child::first-letter {
  float: left;
  margin: 10px 8px 0 0;
  color: var(--cm-cyan-deep);
  font-family: "Space Grotesk", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 0.7;
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote,
.entry-content figure,
.entry-content table,
.entry-content pre,
.entry-content .wp-block-group,
.entry-content .wp-block-columns {
  margin-top: 0;
  margin-bottom: 1.55em;
}

.entry-content strong {
  color: #25384d;
}

.entry-content h2 {
  position: relative;
  margin: 2.25em 0 0.85em;
  color: #1e344b;
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  line-height: 1.18;
}

.entry-content h2::before {
  position: absolute;
  top: 0.23em;
  left: -20px;
  width: 4px;
  height: 0.9em;
  border-radius: 5px;
  background: linear-gradient(var(--cm-cyan), var(--cm-blue));
  content: "";
}

.entry-content h3 {
  margin: 1.85em 0 0.7em;
  color: #263d56;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  line-height: 1.25;
}

.entry-content h4 {
  margin: 1.6em 0 0.6em;
  color: #2b425b;
  font-size: 1.12rem;
}

.entry-content a:not(.button):not(.wp-block-button__link) {
  color: var(--cm-cyan-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.entry-content li {
  margin-bottom: 0.58em;
}

.entry-content li::marker {
  color: var(--cm-cyan-deep);
  font-weight: 700;
}

.entry-content blockquote {
  position: relative;
  padding: 30px 32px 30px 37px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(120deg, #eef9fb, #f7f4ef);
  color: #29465f;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.18rem, 2.4vw, 1.55rem);
  font-weight: 600;
  line-height: 1.45;
}

.entry-content blockquote::before {
  position: absolute;
  top: 25px;
  left: 0;
  width: 4px;
  height: calc(100% - 50px);
  border-radius: 0 5px 5px 0;
  background: var(--cm-cyan);
  content: "";
}

.entry-content blockquote p {
  margin-bottom: 0.65em;
}

.entry-content blockquote cite {
  display: block;
  color: #708090;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.entry-content figure img {
  border-radius: 8px;
}

.entry-content figcaption {
  margin-top: 8px;
  color: #7d8995;
  font-size: 0.72rem;
  line-height: 1.45;
  text-align: center;
}

.entry-content .wp-block-image.alignwide,
.entry-content .wp-block-gallery.alignwide,
.entry-content .wp-block-cover.alignwide {
  margin-top: 2.4em;
  margin-bottom: 2.4em;
}

.entry-content .wp-block-cover {
  overflow: hidden;
  border-radius: 10px;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.entry-content th,
.entry-content td {
  padding: 12px 14px;
  border: 1px solid #dfe5ea;
  text-align: left;
}

.entry-content th {
  background: #edf6f8;
  color: #263d56;
}

.entry-content pre {
  overflow-x: auto;
  padding: 22px;
  border-radius: 9px;
  background: #101b29;
  color: #dce8f4;
  font-size: 0.84rem;
  line-height: 1.65;
}

.entry-content code {
  padding: 0.16em 0.35em;
  border-radius: 4px;
  background: #edf2f5;
  color: #1e506f;
  font-size: 0.88em;
}

.entry-content pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}

.entry-content .wp-block-separator {
  margin: 3em 0;
  border-color: #e1e6ea;
}

.entry-content .wp-block-pullquote {
  padding: 2em 0;
  border-color: var(--cm-cyan);
}

.entry-content .wp-block-button {
  margin-bottom: 1.5em;
}

.entry-content .is-style-outline .wp-block-button__link {
  border: 1px solid var(--cm-cyan-deep);
  background: transparent;
  box-shadow: none;
  color: var(--cm-cyan-deep);
}

.entry-content .wp-block-columns {
  gap: 26px;
}

.article-conclusion {
  padding: 34px;
  margin-top: 3.4em;
  border-radius: 13px;
  background:
    radial-gradient(circle at 95% 10%, rgba(0, 178, 211, 0.25), transparent 40%), var(--cm-navy-900);
  color: #fff;
}

.article-conclusion h2 {
  margin: 0 0 13px;
  color: #fff;
}

.article-conclusion h2::before {
  display: none;
}

.article-conclusion p {
  margin-bottom: 21px;
  color: #b2becb;
  font-size: 0.92rem;
  line-height: 1.7;
}

.article-end {
  width: var(--cm-content);
  padding: 0 0 55px;
  margin: 0 auto;
}

.share-row {
  display: flex;
  padding: 25px 0;
  border-top: 1px solid #e7ebee;
  border-bottom: 1px solid #e7ebee;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.share-label {
  color: #667382;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.share-button {
  display: inline-flex;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid #dce3e8;
  border-radius: 999px;
  align-items: center;
  background: #fff;
  color: #586575;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease;
}

.share-button:hover {
  border-color: var(--cm-cyan);
  background: #f2fbfc;
  color: var(--cm-cyan-deep);
}

.author-box {
  display: grid;
  padding: 26px 0;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 17px;
}

.author-box-avatar {
  display: block;
  width: 58px;
  height: 58px;
}

.author-box strong {
  display: block;
  margin-bottom: 4px;
  color: #263d56;
  font-family: "Space Grotesk", sans-serif;
}

.author-box p {
  margin: 0;
  color: #75818e;
  font-size: 0.76rem;
  line-height: 1.55;
}

.post-navigation {
  display: grid;
  padding-top: 22px;
  border-top: 1px solid #e7ebee;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.post-navigation div:last-child {
  text-align: right;
}

.post-navigation a {
  color: #506072;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.5;
}

.post-navigation a:hover {
  color: var(--cm-cyan-deep);
}

.comments-area {
  width: var(--cm-content);
  padding: 0 0 60px;
  margin: 0 auto;
}

.comments-title,
.comment-reply-title {
  color: #263d56;
  font-size: 1.45rem;
}

.comment-list {
  padding: 0;
  list-style: none;
}

.comment-list .comment {
  padding: 19px 0;
  border-bottom: 1px solid #e7ebee;
}

.comment-list .children {
  padding-left: 25px;
  list-style: none;
}

.comment-meta {
  font-size: 0.75rem;
}

.comment-content {
  color: #596879;
  font-size: 0.88rem;
  line-height: 1.7;
}

.comment-form label {
  display: block;
  margin-bottom: 6px;
  color: #536071;
  font-size: 0.75rem;
  font-weight: 700;
}

.comment-form input:not([type="submit"]),
.comment-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dbe2e7;
  border-radius: 8px;
  outline: none;
  background: #fafcfd;
  color: var(--cm-ink);
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--cm-cyan);
  box-shadow: 0 0 0 3px rgba(0, 178, 211, 0.1);
}

.comment-form .submit {
  display: inline-flex;
  min-height: 43px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(110deg, var(--cm-cyan), var(--cm-blue));
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.related-section {
  padding: 105px 0;
  background: var(--cm-cream);
  color: var(--cm-ink);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.related-card {
  overflow: hidden;
  border: 1px solid var(--cm-line-light);
  border-radius: var(--cm-radius);
  background: #fff;
  box-shadow: 0 10px 32px rgba(15, 37, 62, 0.06);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(15, 37, 62, 0.11);
}

.related-image {
  display: block;
  height: 210px;
  overflow: hidden;
}

.related-card-copy {
  padding: 24px;
}

.related-card-copy > span {
  color: #87929e;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.related-card h3 {
  margin: 13px 0 19px;
  color: var(--cm-ink);
  font-size: 1.22rem;
  line-height: 1.28;
}

/* Pages, archives, search and 404 */
.archive-stage,
.page-stage,
.not-found-stage {
  min-height: 72vh;
  padding: 150px 0 105px;
  background:
    radial-gradient(circle at 85% 10%, rgba(0, 178, 211, 0.12), transparent 25%), var(--cm-cream);
  color: var(--cm-ink);
}

.archive-header {
  max-width: 820px;
  margin-bottom: 52px;
}

.archive-header h1,
.page-header h1 {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
}

.archive-description,
.archive-header > p {
  max-width: 650px;
  color: var(--cm-muted);
  line-height: 1.7;
}

.archive-grid .article-card {
  color: var(--cm-ink);
}

.archive-stage .content-none {
  border-color: var(--cm-line-light);
  color: var(--cm-muted);
}

.archive-stage .content-none .search-form,
.search-results-stage .archive-header .search-form {
  max-width: 560px;
  margin: 25px auto 0 0;
}

.archive-stage .search-field,
.page-stage .search-field,
.not-found-stage .search-field {
  border-color: #d9e0e5;
  background: #fff;
  color: var(--cm-ink);
}

.page-stage {
  padding-inline: 20px;
}

.page-stage > article {
  width: min(980px, 100%);
  padding: clamp(36px, 8vw, 88px);
  margin: 0 auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 25px 70px rgba(8, 24, 42, 0.12);
}

.page-header {
  max-width: 760px;
  margin: 0 auto 35px;
  text-align: center;
}

.page-featured-image {
  margin: 0 auto 45px;
}

.page-featured-image img {
  width: 100%;
  border-radius: 8px;
}

.page-content {
  width: min(760px, 100%);
  margin: 0 auto;
  color: #4d5b6b;
  font-size: 1rem;
  line-height: 1.8;
}

.not-found-stage {
  display: grid;
  padding-inline: 20px;
  place-items: center;
}

.not-found-card {
  width: min(680px, 100%);
  padding: clamp(35px, 8vw, 75px);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 25px 70px rgba(8, 24, 42, 0.12);
  text-align: center;
}

.error-code {
  display: block;
  margin-bottom: 5px;
  background: linear-gradient(110deg, var(--cm-cyan-deep), var(--cm-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(4.5rem, 13vw, 8rem);
  font-weight: 700;
  line-height: 1;
}

.not-found-card h1 {
  margin-bottom: 13px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.not-found-card p {
  color: var(--cm-muted);
  line-height: 1.7;
}

.not-found-card .search-form {
  margin: 28px 0 15px;
}

/* Footer */
.site-footer {
  padding: 74px 0 30px;
  border-top: 1px solid var(--cm-line-dark);
  background: #070d15;
  color: #fff;
}

.footer-shell {
  width: var(--cm-container);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  padding-bottom: 57px;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(130px, 0.65fr));
  gap: 48px;
}

.footer-brand img {
  width: 160px;
  margin-bottom: 22px;
}

.footer-brand p {
  max-width: 320px;
  margin-bottom: 18px;
  color: #8997a7;
  font-size: 0.83rem;
  line-height: 1.68;
}

.footer-brand strong {
  background: linear-gradient(90deg, var(--cm-cyan), var(--cm-warm));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-column h3 {
  margin-bottom: 20px;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column > span,
.footer-menu a {
  margin-bottom: 11px;
  color: #8997a7;
  font-size: 0.78rem;
  line-height: 1.5;
  transition: color 180ms ease;
}

.footer-column a:hover,
.footer-menu a:hover {
  color: var(--cm-cyan);
}

.footer-menu li {
  display: flex;
}

.footer-bottom {
  display: flex;
  padding-top: 25px;
  border-top: 1px solid var(--cm-line-dark);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #667383;
  font-size: 0.68rem;
}

.theme-toast {
  position: fixed;
  z-index: 150;
  right: 22px;
  bottom: 22px;
  max-width: min(360px, calc(100% - 44px));
  padding: 13px 17px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(13, 23, 36, 0.96);
  box-shadow: var(--cm-shadow);
  color: #fff;
  font-size: 0.78rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.theme-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .desktop-nav .menu {
    gap: 18px;
  }

  .desktop-nav {
    font-size: 0.8rem;
  }

  .feature-card {
    grid-template-columns: 0.9fr 1.1fr;
  }

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

  .latest-layout {
    grid-template-columns: 1fr;
  }

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

  .compact-card {
    grid-template-columns: 1fr;
  }

  .compact-image {
    height: 150px;
  }

  .footer-grid {
    grid-template-columns: 1.2fr repeat(3, 0.65fr);
    gap: 30px;
  }
}

@media (max-width: 860px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  body.admin-bar .mobile-panel {
    top: 118px;
  }

  body.admin-bar .search-dialog {
    margin-top: 46px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: inline-grid;
  }

  .hero-intro,
  .section-heading,
  .newsletter-card {
    grid-template-columns: 1fr;
  }

  .hero-intro {
    align-items: start;
    gap: 25px;
  }

  .hero-intro > p {
    max-width: 650px;
  }

  .feature-card {
    grid-template-columns: 1fr;
  }

  .feature-media {
    min-height: 360px;
    order: -1;
  }

  .section-heading {
    gap: 22px;
  }

  .section-heading > p {
    max-width: 650px;
  }

  .latest-list {
    grid-template-columns: 1fr;
  }

  .compact-card {
    grid-template-columns: 155px 1fr;
  }

  .newsletter-card {
    gap: 35px;
  }

  .newsletter-action small {
    max-width: 480px;
  }

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

  .related-card:last-child {
    display: none;
  }

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

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 620px) {
  :root {
    --cm-container: calc(100% - 30px);
    --cm-content: calc(100% - 36px);
  }

  body.admin-bar .site-header {
    top: 0;
  }

  body.admin-bar .mobile-panel {
    top: 72px;
  }

  body.admin-bar .search-dialog {
    margin-top: 0;
  }

  .nav-shell {
    height: 68px;
  }

  .brand-logo,
  .brand img {
    width: 145px;
  }

  .mobile-panel {
    top: 68px;
  }

  .blog-hero {
    padding: 122px 0 56px;
  }

  .hero-intro h1 {
    font-size: clamp(2.55rem, 13vw, 4.1rem);
  }

  .category-bar {
    margin-top: 34px;
  }

  .feature-card {
    min-height: 0;
    border-radius: 18px;
  }

  .feature-media {
    min-height: 270px;
  }

  .feature-copy {
    padding: 28px 24px 33px;
  }

  .topic-shell {
    min-height: 76px;
    grid-template-columns: auto 1fr;
    gap: 16px;
  }

  .topic-label {
    display: none;
  }

  .light-section,
  .latest-section,
  .related-section {
    padding: 78px 0;
  }

  .article-grid,
  .archive-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .related-card:last-child {
    display: block;
  }

  .article-image {
    height: 240px;
  }

  .latest-feature {
    min-height: 490px;
  }

  .compact-card {
    grid-template-columns: 118px 1fr;
    min-height: 150px;
  }

  .compact-image {
    height: auto;
  }

  .compact-copy {
    padding: 17px 15px;
  }

  .newsletter-section {
    padding: 60px 15px;
  }

  .newsletter-card {
    padding: 34px 25px;
    border-radius: 19px;
  }

  .article-stage {
    padding: 112px 12px 65px;
    background: linear-gradient(
      180deg,
      var(--cm-navy-950) 0,
      var(--cm-navy-900) 390px,
      #efede8 390px
    );
  }

  .article-paper {
    border-radius: 6px;
  }

  .article-header {
    padding: 63px 20px 34px;
  }

  .back-link {
    top: 19px;
    left: 18px;
  }

  .article-author {
    top: -43px;
  }

  .author-avatar {
    width: 70px;
    height: 70px;
  }

  .article-tags {
    margin-top: 25px;
  }

  .article-header .article-meta {
    gap: 7px;
    font-size: 0.57rem;
    line-height: 1.5;
  }

  .article-header h1 {
    margin-top: 29px;
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .article-hero {
    width: calc(100% - 24px);
  }

  .article-body {
    padding-top: 40px;
    font-size: 0.98rem;
  }

  .entry-content h2::before {
    left: -12px;
    width: 3px;
  }

  .alignwide {
    width: calc(100vw - 36px);
    margin-right: calc((100% - (100vw - 36px)) / 2);
    margin-left: calc((100% - (100vw - 36px)) / 2);
  }

  .article-conclusion {
    padding: 27px 23px;
  }

  .share-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .post-navigation {
    grid-template-columns: 1fr;
  }

  .post-navigation div:last-child {
    text-align: left;
  }

  .archive-stage,
  .page-stage,
  .not-found-stage {
    padding: 118px 0 75px;
  }

  .page-stage {
    padding-inline: 12px;
  }

  .page-stage > article {
    padding: 38px 20px;
  }

  .search-form {
    flex-direction: column;
  }

  .search-submit {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
