:root {
  color-scheme: dark;
  --ink: #edf2f6;
  --muted: #b4c0c9;
  --line: #52606c;
  --paper: #29323a;
  --panel: #35404a;
  --soft: #3d4852;
  --accent: #9cc5e8;
  --accent-dark: #c2dbf1;
  --rule: #6f879a;
  --bar: #404c56;
  --bar-dark: #577895;
  --gold: #d9b56f;
  --danger: #b95a4f;
  --site-width: 1080px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  overflow-y: scroll;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a:hover {
  color: var(--accent);
}

.site-header {
  align-items: center;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 clamp(18px, 4vw, 52px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 17px;
  font-weight: 800;
  gap: 9px;
  letter-spacing: 0;
  min-height: 58px;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  color: #ffffff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  height: 30px;
  justify-content: center;
  width: 38px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: flex-end;
}

.site-nav a {
  border-left: 1px solid var(--line);
  color: #333333;
  font-size: 13px;
  font-weight: 700;
  min-height: 58px;
  padding: 20px 15px 0;
  text-transform: uppercase;
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.hero {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1fr) 320px;
  margin: 0 auto;
  max-width: 1120px;
  padding: 52px clamp(18px, 4vw, 28px) 34px;
}

.hero-content {
  max-width: 760px;
}

.eyebrow,
.meta {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 760;
  line-height: 1.05;
  letter-spacing: 0;
  margin-bottom: 18px;
  max-width: 880px;
}

h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 740;
  line-height: 1.12;
  letter-spacing: 0;
  margin-bottom: 14px;
}

h3 {
  font-size: 21px;
  font-weight: 740;
  line-height: 1.22;
  letter-spacing: 0;
  margin-bottom: 10px;
}

.hero-copy {
  color: #3e3e3e;
  font-size: 18px;
  max-width: 680px;
}

.hero-aside {
  align-self: end;
  border-left: 4px solid var(--ink);
  display: grid;
  gap: 0;
  padding-left: 18px;
}

.hero-aside a {
  border-top: 1px solid var(--line);
  color: #272727;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 0;
}

.aside-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.button,
.text-link,
.status {
  align-items: center;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  min-height: 34px;
  padding: 0;
  text-transform: uppercase;
}

.section,
.page,
.article {
  margin: 0 auto;
  max-width: 1120px;
  padding: 42px clamp(18px, 4vw, 28px);
}

.section-heading {
  border-bottom: 3px solid var(--ink);
  margin-bottom: 0;
  max-width: none;
  padding-bottom: 8px;
}

.card-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.review-card,
.list-item,
.content-band,
.spec-card,
.gear-table-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
}

.review-card {
  border-top: 0;
  min-height: 250px;
}

.card-body {
  padding: 22px;
}

.card-body p:last-child,
.list-item p:last-child,
.content-band p:last-child,
.article-section p:last-child {
  margin-bottom: 0;
}

.split-band {
  align-items: start;
  background: var(--soft);
  border-top: 1px solid var(--line);
  color: var(--ink);
  display: grid;
  gap: 40px;
  grid-template-columns: 0.8fr 1.2fr;
  max-width: 1120px;
}

.principles {
  color: #303030;
  display: grid;
  gap: 12px;
}

.page-heading {
  border-bottom: 3px solid var(--ink);
  max-width: 900px;
  padding-bottom: 22px;
}

.page-heading.compact {
  padding-bottom: 20px;
}

.page-heading p {
  color: var(--muted);
  font-size: 17px;
}

.review-list {
  display: grid;
  gap: 0;
}

.list-item {
  align-items: center;
  border-top: 0;
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr auto;
  padding: 22px 0;
  background: transparent;
  border-left: 0;
  border-right: 0;
}

.text-link {
  color: var(--accent);
}

.status {
  color: var(--muted);
}

.index-tools {
  display: grid;
  gap: 14px;
  grid-template-columns: 1.4fr 0.6fr;
  margin-bottom: 16px;
  margin-top: 22px;
}

.search-field,
.select-field {
  display: grid;
  gap: 8px;
}

.search-field span,
.select-field span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

input,
select {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  min-height: 42px;
  padding: 0 14px;
  width: 100%;
}

.gear-table-wrap {
  overflow-x: auto;
}

.gear-table {
  border-collapse: collapse;
  min-width: 760px;
  width: 100%;
}

.gear-table th,
.gear-table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
}

.gear-table th {
  background: var(--ink);
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.gear-table tr:last-child td {
  border-bottom: 0;
}

.content-band {
  max-width: 850px;
  padding: 28px;
}

.content-band h2 {
  font-size: 26px;
  margin-top: 26px;
}

.content-band h2:first-child {
  margin-top: 0;
}

.article {
  max-width: 840px;
}

.article-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}

.article-header h1 {
  font-size: clamp(34px, 4.6vw, 52px);
}

.dek {
  color: var(--muted);
  font-size: 18px;
}

.article-meta {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
}

.article-meta span {
  border: 1px solid var(--line);
  padding: 6px 9px;
}

.article-hero {
  display: none;
}

.article-section {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.article-section p,
.article-section li {
  color: #35404a;
  font-size: 17px;
}

.callout-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 280px;
}

.spec-card {
  padding: 18px;
}

.spec-card h3 {
  font-size: 18px;
}

.spec-card dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.spec-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.spec-card dd {
  margin: 0;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 13px;
  padding: 22px clamp(18px, 4vw, 52px);
}

@media (max-width: 860px) {
  .site-header,
  .list-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    display: flex;
    padding-bottom: 10px;
    padding-top: 10px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .site-nav a {
    border-left: 0;
    min-height: auto;
    padding: 0 14px 0 0;
  }

  .hero,
  .card-grid,
  .split-band,
  .index-tools,
  .callout-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .page,
  .article {
    padding-bottom: 36px;
    padding-top: 36px;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 34px;
  }

  .list-item,
  .content-band {
    padding: 22px;
  }

  .hero {
    padding-top: 34px;
  }
}

/* Publication-style redesign */
body {
  background: var(--paper);
  color: var(--ink);
}

.site-header {
  align-items: stretch;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  display: block;
  min-height: 0;
  padding: 0;
  position: static;
}

.top-strip {
  align-items: center;
  background: #f7fafb;
  border-bottom: 1px solid var(--line);
  color: #50616f;
  display: flex;
  font-size: 12px;
  justify-content: flex-end;
  min-height: 34px;
  padding: 0 clamp(18px, 5vw, 70px);
}

.top-strip nav {
  display: flex;
  gap: 18px;
}

.account-strip {
  align-items: center;
  display: flex;
  gap: 14px;
  margin-left: auto;
}

.top-strip a {
  color: #4f5964;
  font-weight: 650;
}

.masthead {
  align-items: center;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  min-height: 82px;
  text-align: center;
}

.masthead span {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(30px, 4.6vw, 48px);
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.masthead img {
  display: block;
  height: auto;
  max-height: 72px;
  max-width: min(420px, calc(100vw - 48px));
  object-fit: contain;
  width: auto;
}

.masthead small {
  color: #75808a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: center;
  padding: 0 clamp(18px, 5vw, 70px);
}

.site-nav a {
  border-left: 0;
  color: #263542;
  font-size: 12px;
  letter-spacing: 0.02em;
  min-height: 34px;
  padding: 9px 18px 0;
}

.auth-button {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--accent);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.02em;
  min-height: 26px;
  padding: 0 10px;
  text-transform: uppercase;
}

.site-nav a[aria-current="page"] {
  background: #edf4f8;
  color: var(--accent);
  box-shadow: inset 0 -3px 0 var(--accent);
}

.review-home {
  background: var(--panel);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  margin: 0 auto;
  max-width: 1080px;
  padding: 26px clamp(18px, 4vw, 34px) 42px;
}

.home-lede {
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  padding-bottom: 18px;
}

.home-lede h1 {
  font-size: clamp(32px, 3.7vw, 48px);
  line-height: 1.02;
  margin-bottom: 12px;
  max-width: 820px;
}

.home-lede p:last-child {
  color: #41505d;
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  max-width: 820px;
}

.review-hero-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin-bottom: 30px;
}

.feature-review {
  background: #ffffff;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(320px, 48%) minmax(0, 1fr);
  height: 400px;
  overflow: hidden;
}

.feature-review-image {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(27, 36, 44, 0.1)),
    url("assets/grace-m905-main.jpg") center / cover;
  border-right: 1px solid var(--line);
  display: block;
  height: 100%;
  min-height: 0;
  transition: background-image 220ms ease, opacity 180ms ease;
}

.feature-review-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
  padding: clamp(22px, 3.4vw, 36px);
}

.feature-review-body h2 {
  font-size: clamp(27px, 2.8vw, 35px);
  line-height: 1.08;
  margin-bottom: 12px;
}

.feature-review-body > p:not(.kicker) {
  color: #435260;
  font-size: 16px;
  line-height: 1.58;
  margin-bottom: 18px;
  max-height: 6.4em;
  overflow: hidden;
}

.feature-review-meta {
  border-top: 1px solid var(--line);
  color: #697581;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 760;
  gap: 16px;
  padding-top: 12px;
  text-transform: uppercase;
}

.review-brief {
  background: #f4f7f9;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.review-brief h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.review-brief p {
  color: #455461;
  font-size: 14px;
  line-height: 1.55;
}

.review-brief a,
.latest-review-head a {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.latest-review-card .kicker {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.latest-review-grid {
  display: grid;
  gap: 14px;
}

.latest-review-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.latest-review-head h2 {
  font-size: 26px;
  margin: 0;
}

.latest-review-card {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 190px minmax(0, 1fr);
  padding-top: 14px;
}

.latest-review-thumb {
  background: #e2e7eb center / cover no-repeat;
  border: 1px solid var(--line);
  display: block;
  min-height: 120px;
}

.latest-review-card h3 {
  font-size: 22px;
  margin-bottom: 7px;
}

.latest-review-card p:last-child {
  color: #4d5b67;
  margin: 0;
}

.forum-shell {
  background: var(--panel);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 245px;
  margin: 0 auto;
  max-width: 980px;
  padding: 22px;
}

.forum-head {
  background: linear-gradient(180deg, #ffffff, #f7fafc);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  margin-bottom: 14px;
  padding: 16px 18px;
}

.forum-head h1 {
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.forum-head p {
  color: #4d5d6b;
  font-size: 13px;
  margin: 0;
}

.community-categories {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.category-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  color: var(--ink);
  display: grid;
  gap: 7px;
  min-height: 154px;
  padding: 14px;
}

.category-card:hover,
.discussion-row:hover {
  border-color: #b7c6d2;
}

.category-mark {
  align-items: center;
  background: #edf4f8;
  border: 1px solid #d5e0e8;
  color: var(--accent);
  display: flex;
  font-size: 11px;
  font-weight: 800;
  height: 30px;
  justify-content: center;
  width: 42px;
}

.category-card strong {
  font-size: 17px;
  line-height: 1.18;
}

.category-card p {
  color: #4f5e6a;
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
}

.category-card small {
  align-self: end;
  color: #617180;
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.discussion-list {
  display: grid;
  gap: 10px;
}

.discussion-head {
  align-items: center;
  background: #e9f0f5;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  color: #213241;
  display: flex;
  justify-content: space-between;
  min-height: 36px;
  padding: 8px 12px;
}

.discussion-head h2 {
  font-size: 13px;
  margin: 0;
  text-transform: uppercase;
}

.discussion-head span {
  color: #5e6d7a;
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.discussion-row {
  align-items: stretch;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(27, 36, 44, 0.02);
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 130px;
  min-height: 92px;
}

.discussion-row:nth-child(odd) {
  background: #fbfcfd;
}

.discussion-row.lead-story {
  min-height: 132px;
}

.lead-story .kicker,
.story-meta,
.rail-story span,
.section-title,
.meta {
  color: #8b3a2d;
  color: var(--accent);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.lead-story .kicker {
  margin: 0 0 4px;
}

.lead-image {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.08)),
    url("assets/grace-m905-main.jpg") center / cover;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 0;
  border-right: 1px solid var(--line);
  display: block;
  grid-column: 1;
  min-height: 86px;
  position: relative;
  transition: background-image 220ms ease, opacity 180ms ease;
}

.forum-topic {
  padding: 10px 12px;
}

.forum-icon {
  align-items: center;
  align-self: stretch;
  background: #edf4f8;
  border-right: 1px solid #e4ebf0;
  color: #244b6d;
  display: flex;
  font-size: 12px;
  font-weight: 800;
  justify-content: center;
}

.lead-story h3,
.forum-topic h3 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.22;
  margin-bottom: 5px;
}

.forum-topic p,
.lead-story p {
  color: #4e5964;
  font-size: 13px;
  line-height: 1.42;
  margin: 0;
}

.discussion-meta {
  align-items: flex-start;
  border-left: 1px solid #edf2f5;
  color: #42515f;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  gap: 2px;
  justify-content: center;
  padding: 10px 12px;
}

.discussion-meta span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 760;
  text-transform: uppercase;
}

.discussion-meta strong {
  font-size: 12px;
  line-height: 1.25;
}

.discussion-meta small {
  color: #6b7782;
  font-size: 11px;
}

.slider-dots {
  align-items: center;
  display: flex;
  gap: 7px;
  margin-top: 8px;
}

.slider-dots button {
  background: #b9c4cd;
  border: 0;
  cursor: pointer;
  height: 7px;
  padding: 0;
  width: 24px;
}

.slider-dots button[aria-current="true"] {
  background: var(--accent);
}

.slider-dots button:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 2px;
}

.forum-sidebar {
  display: grid;
  gap: 12px;
  align-content: start;
}

.forum-sidebar section {
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
}

.forum-sidebar h2 {
  background: #e9f0f5;
  color: #213241;
  font-size: 12px;
  margin: 0;
  padding: 7px 9px;
  text-transform: uppercase;
}

.forum-sidebar dl {
  margin: 0;
}

.forum-sidebar dl div,
.forum-sidebar a {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 2px;
  padding: 9px;
}

.forum-sidebar dl div {
  grid-template-columns: minmax(0, 1fr) auto;
}

.forum-sidebar dt,
.forum-sidebar a span {
  color: #617180;
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.forum-sidebar dd {
  font-size: 13px;
  font-weight: 760;
  margin: 0;
}

.forum-sidebar a {
  color: #263746;
  font-size: 13px;
  line-height: 1.32;
}

.news-thumb,
.list-thumb {
  background: #e2e2de center / cover no-repeat;
  border: 1px solid var(--line);
  display: block;
}

.news-thumb {
  grid-row: span 2;
  min-height: 106px;
}

.thumb-grace {
  background-image: url("assets/grace-m905-main.jpg");
}

.thumb-spl {
  background-image: url("assets/spl-channel-one-mk3.png");
  background-color: #f0f0ed;
  background-size: contain;
}

.thumb-studio {
  background-image: url("assets/studio-console.jpg");
}

.news-item h3 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.22;
}

.news-item p {
  color: #5b6670;
  font-size: 15px;
  margin-bottom: 0;
}

.section,
.page,
.article {
  background: var(--panel);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  max-width: 980px;
  padding-top: 42px;
}

.page-heading {
  border-bottom: 1px solid var(--line);
}

.page-heading h1 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 710;
  line-height: 1.12;
}

.review-list {
  background: #ffffff;
  border: 1px solid var(--line);
  margin-top: 28px;
  padding: 0 24px;
}

.list-item {
  border-bottom: 1px solid var(--line);
  border-top: 0;
  grid-template-columns: 190px minmax(0, 1fr) auto;
}

.list-thumb {
  min-height: 126px;
}

.list-item:last-child {
  border-bottom: 0;
}

.list-item h2 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.18;
}

.content-band,
.gear-table-wrap {
  background: #ffffff;
  box-shadow: none;
  margin-top: 28px;
}

.image-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.image-row figure,
.wide-photo,
.article-photo,
.photo-grid figure {
  margin: 0;
}

.image-row img,
.wide-photo img,
.article-photo img,
.photo-grid img {
  background: #e6e6e2;
  border: 1px solid var(--line);
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.image-row img {
  aspect-ratio: 4 / 3;
}

figcaption {
  color: #7a858f;
  font-size: 12px;
  line-height: 1.35;
  padding-top: 7px;
}

.wide-photo {
  margin-top: 28px;
}

.wide-photo img {
  aspect-ratio: 16 / 6;
}

.gear-table th {
  background: #e8edf1;
  color: #27313a;
}

.gear-table td {
  background: #ffffff;
}

.article {
  max-width: 980px;
}

.article-header h1 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 710;
  line-height: 1.12;
}

.article-header,
.article-photo,
.quick-facts,
.article-section,
.template-card,
.related-panel,
.comments-panel,
.admin-toolbar {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}

.article-photo {
  background: #ffffff;
  border: 1px solid var(--line);
  margin-bottom: 8px;
  margin-top: 28px;
}

.article-photo img {
  background: #ffffff;
  border: 0;
  height: min(52vw, 560px);
  object-fit: contain;
}

.quick-facts,
.template-card,
.related-panel,
.publish-checklist {
  background: #f7fafb;
  border: 1px solid var(--line);
  padding: 20px;
}

.quick-facts {
  margin-top: 18px;
}

.quick-facts dl {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.quick-facts div {
  border-bottom: 1px solid var(--line);
  padding: 12px;
}

.quick-facts dt,
.spec-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.quick-facts dd {
  margin: 3px 0 0;
}

.check-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  border-left: 3px solid var(--accent);
  padding-left: 11px;
}

.check-list.caution li {
  border-left-color: #8f6a2f;
}

.spec-table {
  background: #ffffff;
  border-collapse: collapse;
  color: #1b242c;
  width: 100%;
}

.spec-table th,
.spec-table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  color: #4f5c66;
  width: 190px;
}

.spec-table td {
  color: #1b242c;
}

.related-panel {
  margin-top: 28px;
}

.template-card {
  margin-top: 28px;
  overflow: hidden;
}

.template-card h2 {
  margin-bottom: 16px;
}

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

.related-grid a {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 6px;
  padding-top: 12px;
}

.related-grid span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.publish-checklist {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.publish-checklist .meta {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.publish-checklist label {
  align-items: center;
  display: flex;
  gap: 8px;
  font-size: 14px;
}

.publish-checklist input[type="checkbox"] {
  flex: 0 0 auto;
  height: 16px;
  min-height: 0;
  width: 16px;
}

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

.photo-grid figure {
  background: #ffffff;
  border: 1px solid var(--line);
  display: grid;
  grid-template-rows: 148px minmax(44px, auto);
  margin: 0;
  min-width: 0;
  overflow: hidden;
}

.photo-grid img {
  aspect-ratio: 4 / 3;
  border: 0;
  height: 148px;
  object-fit: cover;
  width: 100%;
}

.photo-grid figcaption {
  align-items: center;
  background: #ffffff;
  border-top: 1px solid var(--line);
  display: flex;
  min-height: 44px;
  padding: 8px 10px;
}

.article-section h2 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 26px;
  font-weight: 700;
}

.site-footer {
  background: #ffffff;
}

.admin-toolbar,
.comments-panel,
.admin-gate,
.admin-console {
  background: #ffffff;
  border: 1px solid var(--line);
  margin-top: 28px;
  padding: 18px;
}

.admin-toolbar,
.admin-console-header,
.comments-header {
  align-items: flex-start;
  display: grid;
  gap: 12px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-toolbar .admin-actions {
  align-items: center;
  display: flex;
  justify-content: flex-end;
}

.admin-toolbar {
  background: #f7fafb;
  border-left: 3px solid var(--accent);
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 16px 18px;
}

.admin-toolbar strong {
  display: block;
  margin-top: 4px;
}

.admin-action,
.admin-table button,
.comment-form button {
  align-items: center;
  background: var(--rule);
  border: 0;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 12px;
  font-weight: 760;
  justify-content: center;
  line-height: 1;
  min-height: 34px;
  padding: 0 13px;
  text-decoration: none;
  text-transform: uppercase;
}

.admin-action.danger,
.admin-table .danger {
  background: #8f3d34;
}

.admin-gate h2,
.admin-console h2,
.comments-panel h2 {
  font-size: 24px;
}

.admin-editor {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.admin-editor label,
.editor-field,
.comment-form label {
  display: grid;
  gap: 7px;
}

.admin-editor span,
.comment-form span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

textarea {
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  padding: 12px;
  resize: vertical;
}

.editor-toolbar {
  align-items: center;
  background: #edf2f5;
  border: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
}

.editor-mode {
  display: inline-flex;
  gap: 8px;
}

.editor-mode button {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 760;
  min-height: 32px;
  padding: 0 11px;
  text-transform: uppercase;
}

.editor-mode button[aria-current="true"] {
  background: var(--rule);
  color: #ffffff;
}

.html-editor {
  min-height: 300px;
}

.editor-toolbar select,
.editor-toolbar button {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  min-height: 32px;
  padding: 0 9px;
  width: auto;
}

.editor-toolbar button {
  cursor: pointer;
  font-weight: 760;
}

.rich-editor {
  background: #ffffff;
  border: 1px solid var(--line);
  cursor: text;
  display: flow-root;
  min-height: 300px;
  padding: 18px;
  white-space: normal;
}

.rich-editor:focus {
  outline: 2px solid rgba(47, 102, 143, 0.28);
  outline-offset: 2px;
}

.rich-editor h2,
.rich-editor h3,
.rich-editor p {
  margin-bottom: 14px;
}

.rich-editor img {
  display: block;
  margin: 16px 0;
  max-width: 100%;
}

.wide-field {
  grid-column: 1 / -1;
}

.admin-subpanel {
  background: #f7fafb;
  border: 1px solid var(--line);
  display: grid;
  gap: 14px;
  padding: 18px;
}

.admin-subpanel-header h3 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 22px;
  line-height: 1.15;
}

.spec-editor-list,
.spec-editor-row,
.image-set-row {
  display: grid;
  gap: 12px;
}

.spec-editor-list {
  gap: 10px;
}

.spec-editor-row {
  align-items: end;
  background: #ffffff;
  border: 1px solid var(--line);
  grid-template-columns: minmax(150px, 0.36fr) minmax(220px, 1fr) 88px;
  padding: 14px;
}

.spec-editor-row .admin-button {
  justify-content: center;
  width: 100%;
}

.admin-editor .inline-check {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-self: start;
}

.admin-editor .inline-check input {
  flex: 0 0 auto;
  height: 16px;
  min-height: 0;
  width: 16px;
}

.admin-editor .inline-check span {
  line-height: 1.2;
  text-transform: none;
}

.field-note {
  color: var(--muted);
  margin: 0;
}

.field-note.is-error {
  color: #93463d;
  font-weight: 700;
}

.admin-action.muted {
  background: #5f6b75;
}

.admin-action:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.image-set-editor {
  display: grid;
  gap: 14px;
}

.image-set-row {
  align-items: end;
  background: #ffffff;
  border: 1px solid var(--line);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.8fr) minmax(0, 1fr) auto;
  padding: 14px;
}

.admin-table {
  border-collapse: collapse;
  margin-top: 22px;
  width: 100%;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 10px;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  background: #e8edf1;
  font-size: 12px;
  text-transform: uppercase;
}

.admin-table td:last-child {
  display: flex;
  gap: 8px;
}

.auth-modal {
  background: rgba(23, 27, 32, 0.48);
  inset: 0;
  padding: 24px;
  position: fixed;
  z-index: 100;
}

.auth-card {
  background: #ffffff;
  border: 1px solid var(--line);
  color: #1b242c;
  margin: 10vh auto 0;
  max-width: 420px;
  padding: 24px;
  position: relative;
}

.auth-card h2 {
  color: #1b242c;
}

.auth-card p {
  color: #4f5c66;
}

.auth-close {
  background: transparent;
  border: 0;
  color: #6a7680;
  cursor: pointer;
  font-size: 12px;
  font-weight: 760;
  position: absolute;
  right: 18px;
  text-transform: uppercase;
  top: 18px;
}

.auth-options {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.auth-options button {
  background: #f4f7f9;
  border: 1px solid var(--line);
  color: #1b242c;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 13px;
  text-align: left;
}

.auth-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.auth-form label {
  display: grid;
  gap: 6px;
}

.auth-form label span,
.auth-demo span {
  color: #53616d;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.auth-form input {
  color: #1b242c;
}

.auth-switch,
.auth-demo {
  align-items: center;
  border-top: 1px solid #d7e0e7;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
}

.auth-switch button,
.auth-demo button {
  background: transparent;
  border: 0;
  color: #315e82;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  padding: 0;
  text-transform: uppercase;
}

.auth-error {
  background: #fff4f1;
  border-left: 3px solid #93463d;
  color: #93463d !important;
  font-size: 13px;
  margin: 0;
  padding: 8px 10px;
}

.comment-list {
  display: grid;
  gap: 12px;
  margin: 14px 0 18px;
}

.comment-controls {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.comment-controls label {
  align-items: center;
  display: flex;
  gap: 7px;
}

.comment-controls label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.comment-controls select {
  min-height: 32px;
  width: auto;
}

.comment-item {
  border-top: 1px solid var(--line);
  padding-top: 13px;
}

.comment-meta {
  align-items: center;
  display: flex;
  gap: 10px;
}

.comment-meta span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.comment-item p {
  color: #4e5964;
  margin-bottom: 0;
}

.comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.comment-actions button {
  align-items: center;
  background: transparent;
  border: 0;
  color: #315e82;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 12px;
  font-weight: 720;
  gap: 5px;
  min-height: 24px;
  padding: 0;
}

.comment-actions button:hover {
  color: #1b242c;
}

.comment-actions button[aria-pressed="true"] {
  color: #1b242c;
  font-weight: 820;
}

.comment-actions svg {
  fill: currentColor;
  height: 14px;
  width: 14px;
}

.reply-list {
  border-left: 3px solid #dce4ea;
  display: grid;
  gap: 10px;
  margin: 14px 0 0 12px;
  padding-left: 14px;
}

.reply-item {
  background: #f5f8fa;
  border: 1px solid var(--line);
  padding: 10px;
}

.reply-form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.comment-form {
  display: grid;
  gap: 12px;
}

.comment-form button:disabled,
.comment-form textarea:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.comment-note {
  color: var(--muted);
  font-size: 13px;
  margin: 12px 0 0;
}

/* Dark professional theme */
.site-header,
.top-strip,
.masthead,
.site-nav,
.review-home,
.section,
.page,
.article,
.forum-shell {
  background: var(--panel);
  color: var(--ink);
}

.top-strip,
.site-nav,
.masthead,
.site-footer,
.page-heading,
.article-header,
.home-lede {
  border-color: var(--line);
}

.top-strip span,
.top-strip a,
.site-nav a,
.brand,
.masthead small,
.account-strip,
.hero-copy,
.home-lede p:last-child,
.feature-review-body > p:not(.kicker),
.review-brief p,
.latest-review-card p:last-child,
.forum-head p,
.category-card p,
.forum-topic p,
.lead-story p,
.discussion-meta,
.forum-sidebar dt,
.forum-sidebar a span,
.news-item p,
.list-item p,
.article-header p,
.comment-note {
  color: var(--muted);
}

.site-nav a {
  border-color: var(--line);
}

.site-nav a[aria-current="page"] {
  background: #404c56;
  color: #dcefff;
  box-shadow: inset 0 -3px 0 var(--gold);
}

.auth-button,
.admin-button,
.editor-toggle button,
.comment-action,
.reply-toggle,
.load-more-replies {
  background: #44515c;
  border-color: #62717e;
  color: #eaf1f7;
}

.auth-button:hover,
.admin-button:hover,
.editor-toggle button:hover,
.comment-action:hover,
.reply-toggle:hover,
.load-more-replies:hover {
  background: #4f5d69;
  color: #ffffff;
}

.feature-review,
.review-brief,
.latest-review-card,
.forum-head,
.category-card,
.discussion-head,
.discussion-row,
.forum-sidebar section,
.review-list,
.list-item,
.article-card,
.template-card,
.admin-console,
.admin-toolbar,
.admin-panel,
.comment-item,
.comment-form,
.reply-item,
.quick-facts,
.related-card,
.spec-table,
.photo-card,
.image-card,
.method-card,
.publish-checklist,
.editor-field,
.admin-table,
.modal,
input,
textarea,
select,
[contenteditable="true"] {
  background: #35404a;
  border-color: var(--line);
  color: var(--ink);
}

.feature-review-image,
.lead-image,
.latest-review-thumb,
.news-thumb,
.list-thumb,
.photo-card img,
.image-card img {
  border-color: var(--line);
}

.review-brief,
.forum-sidebar section,
.category-card,
.forum-head {
  background: #3a4650;
}

.discussion-row:nth-child(odd),
.list-item:nth-child(odd),
.admin-table tbody tr:nth-child(odd) {
  background: #303a43;
}

.discussion-head,
.forum-sidebar h2,
.category-mark,
.forum-icon,
.latest-review-head,
.editor-toolbar,
.admin-table thead,
.comment-form-header {
  background: #404c56;
  color: #d9e6f0;
}

.category-mark,
.forum-icon {
  border-color: #43515d;
  color: #d9e6f0;
}

.lead-story .kicker,
.story-meta,
.rail-story span,
.section-title,
.meta,
.latest-review-card .kicker,
.feature-review-meta,
.discussion-meta span,
.review-brief a,
.latest-review-head a,
a:hover {
  color: var(--gold);
}

.feature-review-meta,
.discussion-meta,
.forum-icon,
.lead-image,
.feature-review-image {
  border-color: var(--line);
}

.slider-dots button {
  background: #53616c;
}

.slider-dots button[aria-current="true"] {
  background: var(--gold);
}

.thumb-spl {
  background-color: #222b34;
}

.admin-button.danger,
.delete-button,
.comment-action.danger {
  background: var(--danger);
  color: #ffffff;
}

input::placeholder,
textarea::placeholder {
  color: #7f8d98;
}

table,
th,
td {
  border-color: var(--line);
}

/* Gearspace-inspired slate interface */
body {
  background:
    linear-gradient(90deg, #20272e 0, #20272e 7.5%, #54606b 7.5%, #54606b 92.5%, #20272e 92.5%),
    #54606b;
}

.site-header {
  background: #27313a;
  border-bottom: 1px solid #65737f;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.top-strip {
  background: #20272e;
  border-bottom: 1px solid #3c4853;
  color: #c1cbd3;
  min-height: 30px;
}

.top-strip a,
.top-strip span {
  color: #c1cbd3;
}

.masthead {
  background: #303a44;
  border-bottom: 1px solid #4e5c67;
  min-height: 70px;
}

.masthead span {
  color: #dbe3ea;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 0.08em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.42);
}

.masthead small {
  color: #aeb9c2;
}

.site-nav {
  background: #28313a;
  border-bottom: 1px solid #65737f;
  border-top: 1px solid #1b2229;
}

.site-nav a {
  color: #c9d2da;
  min-height: 32px;
  padding-top: 8px;
}

.site-nav a[aria-current="page"] {
  background: #414d58;
  color: #ffffff;
  box-shadow: inset 0 -3px 0 var(--gold);
}

.auth-button {
  background: #303a44;
  border-color: #687783;
}

.review-home,
.section,
.page,
.article,
.forum-shell {
  background: #d1d8de;
  border-color: #7d8994;
  box-shadow: 0 0 0 1px rgba(31, 39, 47, 0.28);
  color: #20272e;
}

.review-home {
  margin-top: 16px;
  padding-top: 18px;
}

.home-lede,
.page-heading,
.article-header {
  background: #c8d0d7;
  border: 1px solid #8996a1;
  margin-bottom: 18px;
  padding: 18px 20px;
}

.home-lede h1,
.page-heading h1,
.article-header h1 {
  color: #172028;
  font-size: clamp(30px, 3.2vw, 42px);
  letter-spacing: 0;
}

.home-lede p:last-child,
.page-heading p,
.article-header p {
  color: #384751;
}

.feature-review,
.review-brief,
.latest-review-card,
.review-list,
.list-item,
.content-band,
.gear-table-wrap,
.quick-facts,
.template-card,
.related-panel,
.comments-panel,
.admin-toolbar,
.admin-gate,
.admin-console,
.comment-item,
.comment-form,
.reply-item,
.photo-grid figure,
.admin-subpanel,
.publish-checklist {
  background: #e5e9ed;
  border-color: #8d99a4;
  color: #1d252d;
}

.publish-checklist label {
  color: #26313a;
}

.article-meta span,
.quick-facts div {
  background: #dbe2e7;
  border-color: #87939e;
  color: #26313a;
}

.article-meta {
  color: #26313a;
}

.admin-toolbar {
  background: #dfe5e9;
  border-left: 4px solid #7c5a23;
}

.admin-toolbar .meta {
  color: #7c5a23;
}

.admin-toolbar strong {
  color: #172028;
}

.feature-review-body > p:not(.kicker),
.review-brief p,
.latest-review-card p:last-child,
.list-item p,
.article-header p,
.comment-note,
.quick-facts dt,
.spec-table th,
figcaption {
  color: #45535e;
}

.feature-review-body h2,
.review-brief h2,
.latest-review-card h3,
.list-item h2,
.article-section h2,
.template-card h2,
.admin-console h2,
.comments-panel h2 {
  color: #172028;
}

.feature-review-meta,
.section-title,
.meta,
.latest-review-card .kicker,
.admin-editor span,
.comment-form span,
.related-grid span {
  color: #7c5a23;
}

.review-brief {
  border-top: 4px solid #7c5a23;
}

.latest-review-head {
  background: #3f4b56;
  border: 1px solid #75828e;
  color: #eef3f7;
  margin-bottom: 2px;
  padding: 9px 12px;
}

.latest-review-head h2 {
  color: #eef3f7;
  font-size: 18px;
  text-transform: uppercase;
}

.latest-review-head a,
.review-brief a,
a:hover {
  color: #2f638b;
}

.latest-review-card {
  border: 1px solid #8d99a4;
  padding: 14px;
}

.latest-review-thumb,
.news-thumb,
.list-thumb,
.image-row img,
.wide-photo img,
.article-photo img,
.photo-grid img,
.photo-card img,
.image-card img {
  border-color: #8d99a4;
}

.admin-action,
.admin-table button,
.comment-form button,
.auth-button,
.admin-button,
.editor-mode button,
.editor-toolbar button,
.editor-toolbar select,
input,
textarea,
select,
.rich-editor,
[contenteditable="true"] {
  background: #f0f3f5;
  border-color: #8d99a4;
  color: #1d252d;
}

.admin-action,
.admin-table button,
.comment-form button {
  background: #496278;
  color: #ffffff;
}

.admin-action.danger,
.admin-table .danger,
.admin-button.danger,
.delete-button,
.comment-action.danger {
  background: #93463d;
  color: #ffffff;
}

.editor-toolbar,
.admin-table thead,
.gear-table th,
.photo-grid figcaption {
  background: #c4cdd5;
  color: #26313a;
}

.gear-table td,
.photo-grid figcaption {
  background: #e1e6ea;
}

.rich-editor:focus {
  outline-color: rgba(47, 99, 139, 0.36);
}

.site-footer {
  background: #27313a;
  border-top: 1px solid #65737f;
  color: #c9d2da;
}

.site-footer a {
  color: #dbe3ea;
  font-weight: 800;
  margin-left: 10px;
  text-transform: uppercase;
}

.footer-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.footer-links a {
  margin-left: 0;
}

.template-card .spec-table {
  background: #ffffff;
  border-collapse: collapse;
  color: #1b242c;
}

.template-card .spec-table th,
.template-card .spec-table td {
  background: #ffffff;
  border-bottom: 1px solid #cbd3da;
  color: #1b242c;
  padding: 13px 0;
}

.template-card .spec-table th {
  color: #4f5c66;
  width: 190px;
}

/* Simplified dark frame with white content surface */
body {
  background: #6d747a;
}

.site-header {
  background: #6d747a;
  border-bottom: 0;
  box-shadow: none;
}

.top-strip {
  background: #20272e;
}

.review-home,
.section,
.page,
.article,
.forum-shell {
  background: #ffffff;
  border-color: #9aa5af;
  box-shadow: none;
  color: #1b242c;
  margin-top: 0;
}

.section,
.page,
.article,
.forum-shell {
  max-width: var(--site-width) !important;
  width: 100% !important;
}

.home-lede,
.page-heading,
.article-header {
  background: #ffffff;
  border: 1px solid #cbd3da;
}

.page > .page-heading,
.page > .review-list,
.page > .image-row,
.page > .index-tools,
.page > .gear-table-wrap,
.page > .content-band,
.page > .admin-console,
.article > .article-header,
.article > .admin-toolbar,
.article > .article-photo,
.article > .quick-facts,
.article > .template-card,
.article > .related-panel,
.article > .comments-panel {
  max-width: none;
  width: 100%;
}

.home-lede h1,
.page-heading h1,
.article-header h1,
.feature-review-body h2,
.review-brief h2,
.latest-review-card h3,
.list-item h2,
.article-section h2,
.template-card h2,
.admin-console h2,
.comments-panel h2,
.admin-toolbar strong {
  color: #1b242c;
}

.home-lede p:last-child,
.page-heading p,
.article-header p,
.feature-review-body > p:not(.kicker),
.review-brief p,
.latest-review-card p:last-child,
.list-item p,
.comment-note,
.quick-facts dt,
.spec-table th,
figcaption {
  color: #4f5c66;
}

.feature-review,
.review-brief,
.latest-review-card,
.review-list,
.list-item,
.content-band,
.gear-table-wrap,
.quick-facts,
.template-card,
.related-panel,
.comments-panel,
.admin-toolbar,
.admin-gate,
.admin-console,
.comment-item,
.comment-form,
.reply-item,
.photo-grid figure,
.admin-subpanel,
.publish-checklist {
  background: #ffffff;
  border-color: #cbd3da;
  color: #1b242c;
}

.review-brief {
  border-top: 3px solid #7c5a23;
}

.article-meta span,
.quick-facts div {
  background: #f5f7f9;
  border-color: #cbd3da;
  color: #26313a;
}

.admin-toolbar {
  background: #ffffff;
  border-left: 3px solid #7c5a23;
}

.latest-review-head {
  background: #33404b;
  border-color: #33404b;
  color: #ffffff;
}

.latest-review-head h2 {
  color: #ffffff;
}

.latest-review-card {
  border: 1px solid #cbd3da;
}

.review-list {
  background: #ffffff;
  border: 1px solid #cbd3da;
}

.review-list .list-item {
  background: #ffffff;
  border-bottom: 1px solid #cbd3da;
  color: #1b242c;
  display: grid;
  gap: 22px;
  grid-template-columns: 190px minmax(0, 1fr) 110px;
  min-height: 150px;
  padding: 18px 0;
}

.review-list .list-item:last-child {
  border-bottom: 0;
}

.review-list .list-item h2 {
  color: #1b242c;
}

.review-list .list-item p {
  color: #4f5c66;
}

.review-list .list-thumb {
  background-color: #eef1f4;
  border: 1px solid #cbd3da;
  min-height: 126px;
}

.review-list .text-link,
.review-list .status {
  align-self: center;
  color: #315e82;
  font-size: 12px;
  font-weight: 800;
  justify-self: end;
  text-transform: uppercase;
}

.admin-action,
.admin-table button,
.comment-form button {
  background: #496278;
  color: #ffffff;
}

.admin-action.danger,
.admin-table .danger,
.admin-button.danger,
.delete-button,
.comment-action.danger {
  background: #93463d;
  color: #ffffff;
}

.admin-action,
.admin-table button,
.comment-form button,
.auth-button,
.admin-button,
.editor-mode button,
.editor-toolbar button,
.editor-toolbar select,
input,
textarea,
select,
.rich-editor,
[contenteditable="true"] {
  border-color: #cbd3da;
}

.top-strip {
  font-size: 13px;
  min-height: 42px;
  padding-left: clamp(22px, 5vw, 82px);
  padding-right: clamp(22px, 5vw, 82px);
}

.auth-button {
  font-size: 13px;
  min-height: 30px;
  padding-left: 13px;
  padding-right: 13px;
}

.masthead {
  border-bottom: 0;
  border-left: 0;
  border-right: 0;
  margin-left: auto;
  margin-right: auto;
  max-width: var(--site-width);
  min-height: 168px;
  width: 100%;
}

.masthead span {
  font-size: clamp(38px, 5.4vw, 62px);
}

.masthead img {
  background: #ffffff;
  max-height: 140px;
  padding: 6px;
}

.masthead small {
  font-size: 11px;
}

.site-nav {
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  border-top: 0;
  margin-left: auto;
  margin-right: auto;
  max-width: var(--site-width);
  width: 100%;
}

.masthead,
.site-nav {
  background: #303a44 !important;
  border: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 900px) {
  .top-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding-bottom: 9px;
    padding-top: 9px;
  }

  .masthead {
    min-height: 132px;
  }

  .site-nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .auth-button {
    min-height: 26px;
    padding: 0 10px;
  }

  .forum-shell,
  .review-hero-grid,
  .feature-review,
  .latest-review-card,
  .community-categories,
  .discussion-row,
  .discussion-row.lead-story {
    grid-template-columns: 1fr;
  }

  .feature-review-image {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    height: 260px;
    min-height: 0;
  }

  .lead-image {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    min-height: 190px;
  }

  .discussion-meta {
    align-items: flex-start;
    border-left: 0;
    border-top: 1px solid var(--line);
    justify-content: flex-start;
  }

  .forum-sidebar {
    grid-template-columns: 1fr;
  }

  .list-item,
  .image-row,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .list-thumb {
    min-height: 190px;
  }

  .admin-toolbar,
  .admin-console-header,
  .comments-header {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .admin-toolbar .admin-actions {
    justify-content: flex-start;
  }

  .admin-editor,
  .spec-editor-row,
  .image-set-row,
  .review-dashboard,
  .quick-facts dl,
  .review-grid,
  .related-grid,
  .publish-checklist {
    grid-template-columns: 1fr;
  }

  .admin-table {
    min-width: 720px;
  }

  .admin-console {
    overflow-x: auto;
  }
}

@media (max-width: 560px) {
  .top-strip span {
    display: none;
  }

  .top-strip nav {
    flex-wrap: wrap;
  }

  .masthead span {
    font-size: 40px;
  }

  .masthead img {
    max-height: 104px;
    max-width: calc(100vw - 36px);
  }

  .masthead small {
    max-width: 260px;
  }

  .review-home {
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-lede h1 {
    font-size: 36px;
  }

  .feature-review-body {
    padding: 20px;
  }

  .feature-review-body h2 {
    font-size: 30px;
  }

  .feature-review-image {
    height: 220px;
  }

  .category-card {
    min-height: auto;
  }

  .forum-topic h3,
  .page-heading h1,
  .article-header h1 {
    font-size: 28px;
  }
}
