:root {
  --black: #080c0e;
  --black-soft: #11191c;
  --black-raised: #182326;
  --paper: #f4f5ef;
  --white: #fff;
  --text: #15191b;
  --muted: #687176;
  --line: #d7dad5;
  --red: #a10d18;
  --red-dark: #52070d;
  --red-bright: #ec2634;
  --content: 1280px;
  --display: "Arial Narrow", "Noto Sans Thai", Tahoma, Arial, sans-serif;
  --body: "Noto Sans Thai", Tahoma, Arial, sans-serif;
  --shadow: 0 18px 42px rgba(0, 0, 0, .28);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--paper);
  font-family: var(--body);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--red-bright);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: .65rem 1rem;
  color: var(--white);
  background: var(--red);
  transform: translateY(-160%);
}

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

.site-header {
  position: relative;
  z-index: 50;
  color: var(--white);
  background: var(--black);
  border-bottom: 3px solid var(--red);
}

.utility-bar {
  color: #d5dbdd;
  background: #040708;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.utility-inner,
.header-inner,
.footer-inner {
  width: min(calc(100% - 32px), var(--content));
  margin-inline: auto;
}

.utility-inner {
  display: flex;
  min-height: 30px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--display);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.utility-links {
  display: flex;
  gap: 1rem;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: 70px;
  align-items: center;
  gap: 2rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 950;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.wordmark-mark {
  display: grid;
  width: 42px;
  height: 28px;
  place-items: center;
  color: var(--white);
  background: var(--red-bright);
  border-radius: 2px 10px;
  font-size: .8rem;
  transform: skew(-9deg);
}

.wordmark-mark span {
  transform: skew(9deg);
}

.wordmark-accent {
  color: #ff4b57;
}

.primary-nav {
  justify-self: end;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(.8rem, 1.5vw, 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  display: block;
  padding: 1.35rem 0;
  font-family: var(--display);
  font-size: .77rem;
  font-weight: 900;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.primary-nav a:hover,
.utility-links a:hover,
.footer-links a:hover {
  color: #ff5964;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

main {
  min-height: 60vh;
}

.home-page {
  padding-bottom: 0;
}

.featured-zone {
  color: var(--white);
  background:
    radial-gradient(circle at 8% 0, rgba(236, 38, 52, .2), transparent 30%),
    var(--black);
}

.featured-zone-inner,
.home-sections,
.listing-page,
.taxonomy-page,
.static-page,
.article-page,
.error-page {
  width: min(calc(100% - 32px), var(--content));
  margin-inline: auto;
}

.featured-zone-inner {
  padding: 1.2rem 0 1.5rem;
}

.featured-label {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 .85rem;
  color: #ff6872;
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.featured-label::before {
  width: 32px;
  height: 3px;
  content: "";
  background: var(--red-bright);
}

.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(230px, .95fr) minmax(290px, 1.12fr);
  grid-template-rows: repeat(10, minmax(40px, 1fr));
  gap: 5px;
  height: 530px;
}

.home-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  color: var(--white);
  background: var(--black-soft);
  border-radius: 3px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.home-card:hover,
.article-list-card:hover,
.related-card:hover {
  z-index: 3;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #3c1015, #243035);
}

.card-media img,
.featured-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .3s ease;
}

.home-card:hover img,
.article-list-card:hover img,
.related-card:hover img {
  filter: saturate(1.12) contrast(1.04);
  transform: scale(1.045);
}

.featured-grid > .home-card:first-child {
  grid-column: 1;
  grid-row: 1 / 11;
}

.featured-grid > .home-card:nth-child(2) {
  grid-column: 2;
  grid-row: 1 / 6;
}

.featured-grid > .home-card:nth-child(3) {
  grid-column: 2;
  grid-row: 6 / 11;
}

.featured-grid > .home-card:nth-child(4) {
  grid-column: 3;
  grid-row: 1 / 3;
}

.featured-grid > .home-card:nth-child(5) {
  grid-column: 3;
  grid-row: 3 / 5;
}

.featured-grid > .home-card:nth-child(6) {
  grid-column: 3;
  grid-row: 5 / 7;
}

.featured-grid > .home-card:nth-child(7) {
  grid-column: 3;
  grid-row: 7 / 9;
}

.featured-grid > .home-card:nth-child(8) {
  grid-column: 3;
  grid-row: 9 / 11;
}

.featured-grid > .home-card:nth-child(n + 9) {
  display: none;
}

.featured-grid .card-media {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}

.featured-grid .card-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 24%, rgba(4, 7, 8, .22) 50%, rgba(4, 7, 8, .97));
}

.featured-grid .card-content {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1rem;
}

.featured-grid > .home-card:first-child .card-content {
  padding: clamp(1.4rem, 3vw, 2.2rem);
}


.featured-grid > .home-card:nth-child(2) .card-title,
.featured-grid > .home-card:nth-child(3) .card-title {
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
}

.featured-grid > .home-card:nth-child(n + 4) {
  display: grid;
  grid-template-columns: 38% 1fr;
}

.featured-grid > .home-card:nth-child(n + 4) .card-media {
  position: relative;
  inset: auto;
  height: 100%;
}

.featured-grid > .home-card:nth-child(n + 4) .card-media::after {
  display: none;
}

.featured-grid > .home-card:nth-child(n + 4) .card-content {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: .55rem .7rem;
}

.featured-grid > .home-card:nth-child(n + 4) .card-title {
  display: -webkit-box;
  margin: .2rem 0 0;
  overflow: hidden;
  font-size: .88rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.featured-grid .card-excerpt,
.featured-grid .read-cue {
  display: none;
}

.card-content {
  padding: 1rem 1.05rem 1.2rem;
}

.card-date,
.article-date {
  display: block;
  color: #aeb6ba;
  font-family: var(--display);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.card-title {
  margin: .4rem 0 .5rem;
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 950;
  letter-spacing: -.025em;
  line-height: 1.08;
}

.card-title a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.card-excerpt {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #c1c8ca;
  font-size: .8rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.read-cue {
  display: inline-block;
  margin-top: .7rem;
  color: #ff626d;
  font-family: var(--display);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-sections {
  padding: 0 0 2.5rem;
}

.home-category-section {
  padding: clamp(2rem, 4vw, 3.5rem) 0 0;
}

.home-category-header,
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--line);
}

.home-category-title,
.section-heading h2,
.page-heading,
.static-header h1,
.error-card h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 950;
  letter-spacing: -.045em;
  line-height: .98;
  text-transform: uppercase;
}

.home-category-title {
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.home-category-title a:hover {
  color: var(--red);
}

.home-category-kicker,
.section-index {
  display: block;
  margin-bottom: .3rem;
  color: var(--red);
  font-family: var(--display);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.home-category-description {
  max-width: 680px;
  margin: .45rem 0 0;
  color: var(--muted);
  font-size: .86rem;
}

.home-category-meta {
  flex: 0 0 auto;
  text-align: right;
}

.story-count {
  display: block;
  margin-bottom: .45rem;
  color: var(--muted);
  font-size: .72rem;
}

.category-link,
.back-link {
  display: inline-flex;
  color: var(--red);
  font-family: var(--display);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: .4rem;
  margin-top: .65rem;
}

.carousel-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--black);
  background: var(--white);
  border: 1px solid #b8bdb9;
  border-radius: 50%;
  cursor: pointer;
}

.carousel-button:hover:not(:disabled) {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.carousel-button:disabled {
  cursor: not-allowed;
  opacity: .3;
}

.article-carousel {
  display: grid;
  grid-auto-columns: minmax(225px, 21.5%);
  grid-auto-flow: column;
  gap: .75rem;
  overflow-x: auto;
  padding: .1rem .08rem .85rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--red) #d8dbd6;
  scrollbar-width: thin;
}

.article-carousel .home-card {
  min-height: 315px;
  scroll-snap-align: start;
}

.article-carousel .card-media {
}

.home-category-section:nth-child(2) .article-carousel {
  grid-auto-columns: minmax(270px, 30.5%);
  gap: 1rem;
}

.home-category-section:nth-child(2) .article-carousel .home-card {
  min-height: 390px;
}

.home-category-section:nth-child(2) .article-carousel .card-title {
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
}

.review-standard {
  position: relative;
  left: 50%;
  width: 100vw;
  margin: clamp(2.8rem, 5vw, 4.5rem) 0 .5rem;
  padding: clamp(2.8rem, 6vw, 5rem) max(16px, calc((100vw - var(--content)) / 2));
  color: var(--white);
  background:
    radial-gradient(circle at 80% 50%, rgba(236, 38, 52, .2), transparent 35%),
    var(--black);
  transform: translateX(-50%);
}

.review-standard-inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(440px, 1.3fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  max-width: var(--content);
  margin: auto;
}

.review-standard-copy small {
  color: #ff6470;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.review-standard-copy h2 {
  max-width: 620px;
  margin: .55rem 0 .8rem;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 950;
  letter-spacing: -.045em;
  line-height: .98;
  text-transform: uppercase;
}

.review-standard-copy p {
  max-width: 570px;
  margin: 0;
  color: #c2c9cc;
}

.score-display {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}

.score-tier {
  display: grid;
  min-height: 130px;
  place-items: center;
  padding: 1rem;
  text-align: center;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .1);
}

.score-tier strong {
  display: block;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.score-tier span {
  color: #b7c0c3;
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.score-tier.featured {
  background: var(--red-dark);
  border-color: #b62834;
  transform: translateY(-12px);
}

.listing-page,
.taxonomy-page,
.static-page,
.article-page {
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.listing-header,
.taxonomy-header,
.static-header {
  max-width: 840px;
  margin-bottom: 2.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--red);
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 3px;
  content: "";
  background: var(--red);
}

.page-heading,
.static-header h1 {
  font-size: clamp(2.6rem, 7vw, 5.7rem);
}

.page-heading::after,
.static-header h1::after {
  display: block;
  width: 72px;
  height: 6px;
  margin-top: 1rem;
  content: "";
  background: var(--red);
}

.taxonomy-description,
.static-lead {
  max-width: 720px;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.back-link {
  margin-bottom: 1.35rem;
}

.article-list,
.related-grid {
  display: grid;
  gap: 1rem;
}

.article-list-card,
.related-card {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--black-soft);
  border-radius: 4px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.article-list-card {
  display: grid;
  grid-template-columns: minmax(220px, 34%) 1fr;
  min-height: 220px;
}

.article-list-card .card-media {
  height: 100%;
  aspect-ratio: auto;
}

.article-list-card .card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.2rem, 3vw, 2.3rem);
}

.article-list-card .card-title {
  font-size: clamp(1.35rem, 3vw, 2.2rem);
}

.taxonomy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.taxonomy-card {
  position: relative;
  min-height: 210px;
  padding: 1.55rem;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  transition: color .25s ease, background .25s ease, transform .25s ease;
}

.taxonomy-card:hover {
  color: var(--white);
  background: var(--black);
  transform: translateY(-4px);
}

.taxonomy-card h2 {
  margin: .4rem 0 .75rem;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 950;
  line-height: 1;
}

.taxonomy-card h2 a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.taxonomy-count {
  color: var(--red-bright);
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.taxonomy-card p {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
}

.taxonomy-card:hover p {
  color: #c1c8ca;
}

.article-page {
  max-width: 1020px;
}

.article-header {
  max-width: 900px;
  margin-bottom: 2rem;
}

.article-header h1 {
  margin: .65rem 0 1rem;
  font-family: var(--display);
  font-size: clamp(2.5rem, 7vw, 5.6rem);
  font-weight: 950;
  letter-spacing: -.055em;
  line-height: .95;
}

.article-date {
  color: var(--muted);
}

.featured-figure {
  margin: 0 0 clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  background: var(--black-soft);
  border-radius: 4px;
}

.featured-figure img {
}

.article-content {
  max-width: 780px;
  margin-inline: auto;
  color: #252a2d;
  font-size: clamp(1rem, 2vw, 1.12rem);
}

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

.article-content h2,
.article-content h3,
.article-content h4 {
  margin: 2.2em 0 .65em;
  color: var(--black);
  font-family: var(--display);
  font-weight: 950;
  letter-spacing: -.025em;
  line-height: 1.08;
}

.article-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.article-content h3 {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.article-content a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.article-content img {
  margin: 2rem 0;
  border-radius: 4px;
}

.article-content blockquote {
  margin: 2rem 0;
  padding: .25rem 0 .25rem 1.5rem;
  border-left: 5px solid var(--red);
  font-size: 1.18em;
  font-weight: 700;
}

.article-content pre {
  max-width: 100%;
  padding: 1.2rem;
  overflow-x: auto;
  color: #f1f3f4;
  background: var(--black);
}

.article-content table,
table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 2rem 0;
  overflow-x: auto;
  border-collapse: collapse;
  border-spacing: 0;
  color: var(--text);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line);
  -webkit-overflow-scrolling: touch;
}

.article-content thead,
thead {
  color: var(--white);
  background: var(--red-dark);
}

.article-content tbody,
tbody {
  background: var(--white);
}

.article-content tr,
tr {
  border-bottom: 1px solid var(--line);
}

.article-content th,
.article-content td,
th,
td {
  min-width: 130px;
  padding: .9rem 1rem;
  overflow-wrap: anywhere;
  text-align: left;
  vertical-align: top;
}

.article-content th,
th {
  font-family: var(--display);
  font-weight: 900;
}

.article-content tbody tr:nth-child(even),
tbody tr:nth-child(even) {
  background: #f0f2ed;
}

.article-content caption,
caption {
  padding: .85rem 1rem;
  color: var(--muted);
  background: #e4e6e1;
  font-size: .85rem;
  font-weight: 700;
  text-align: left;
  caption-side: top;
}

.article-taxonomy {
  max-width: 780px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.taxonomy-group {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: .8rem;
}

.taxonomy-group-label {
  min-width: 100px;
  color: var(--muted);
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.taxonomy-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.taxonomy-pill {
  display: inline-flex;
  padding: .38rem .7rem;
  color: var(--red-dark);
  background: #f3dfe1;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
}

.primary-flag {
  margin-left: .35rem;
  color: var(--muted);
  font-size: .68rem;
}

.related-section {
  margin-top: clamp(3rem, 7vw, 6rem);
  padding-top: 2rem;
  border-top: 5px solid var(--black);
}

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

.related-card {
  min-height: 350px;
}

.static-page {
  max-width: 960px;
}

.static-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
}

.static-aside {
  color: var(--red);
  font-family: var(--display);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.static-content {
  font-size: 1.02rem;
}

.static-content h2 {
  margin: 2rem 0 .6rem;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 950;
  line-height: 1.08;
}

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

.contact-card {
  margin-top: 1.5rem;
  padding: 1.5rem;
  color: var(--white);
  background: var(--black);
  border-left: 6px solid var(--red);
}

.contact-card a {
  color: #ff717a;
  font-weight: 800;
}

.empty-state,
.error-page {
  display: grid;
  min-height: 50vh;
  place-items: center;
  text-align: center;
}

.empty-state {
  min-height: 220px;
  padding: 3rem 1rem;
  color: var(--muted);
  background: #e7e9e4;
  border: 1px dashed #b4b8b3;
}

.empty-state strong {
  display: block;
  margin-bottom: .35rem;
  color: var(--black);
  font-family: var(--display);
  font-size: 1.45rem;
}

.error-card {
  max-width: 650px;
  padding: 3rem 1rem;
}

.error-code {
  color: var(--red);
  font-family: var(--display);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.error-card h1 {
  margin: .7rem 0 1rem;
  font-size: clamp(2.7rem, 8vw, 5.4rem);
}

.button-link {
  display: inline-flex;
  margin-top: 1rem;
  padding: .8rem 1.2rem;
  color: var(--white);
  background: var(--red);
  font-family: var(--display);
  font-size: .77rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.pagination a {
  font-family: var(--display);
  font-size: .77rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pagination-next {
  justify-self: end;
}

.pagination-status {
  color: var(--muted);
  font-size: .8rem;
}

.site-footer {
  color: #bfc6c9;
  background: #06090b;
  border-top: 4px solid var(--red);
}

.footer-inner {
  padding: 2rem 0 1rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.25fr auto;
  align-items: center;
  gap: 2rem;
}

.footer-brand p {
  max-width: 560px;
  margin: .65rem 0 0;
  color: #879196;
  font-size: .84rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .7rem 1.2rem;
}

.footer-links {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: .85rem;
  color: #687277;
  border-top: 1px solid rgba(255, 255, 255, .09);
  font-size: .7rem;
}

@media (max-width: 1000px) {
  .featured-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, .9fr);
    grid-template-rows: repeat(8, minmax(54px, 1fr));
    height: 650px;
  }

  .featured-grid > .home-card:first-child {
    grid-column: 1;
    grid-row: 1 / 9;
  }

  .featured-grid > .home-card:nth-child(2) {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .featured-grid > .home-card:nth-child(3) {
    grid-column: 2;
    grid-row: 3 / 5;
  }

  .featured-grid > .home-card:nth-child(4) {
    grid-column: 2;
    grid-row: 5;
  }

  .featured-grid > .home-card:nth-child(5) {
    grid-column: 2;
    grid-row: 6;
  }

  .featured-grid > .home-card:nth-child(6) {
    grid-column: 2;
    grid-row: 7;
  }

  .featured-grid > .home-card:nth-child(7) {
    grid-column: 2;
    grid-row: 8;
  }

  .featured-grid > .home-card:nth-child(8) {
    display: none;
  }

  .article-carousel {
    grid-auto-columns: minmax(245px, 30.5%);
  }

  .home-category-section:nth-child(2) .article-carousel {
    grid-auto-columns: minmax(280px, 42%);
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 1rem 16px 1.4rem;
    background: var(--black);
    border-bottom: 3px solid var(--red);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    display: grid;
    gap: 0;
  }

  .primary-nav a {
    padding: .75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .review-standard-inner {
    grid-template-columns: 1fr;
  }

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

  .static-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 680px) {
  .utility-bar {
    display: none;
  }

  .utility-inner,
  .header-inner,
  .footer-inner,
  .featured-zone-inner,
  .home-sections,
  .listing-page,
  .taxonomy-page,
  .static-page,
  .article-page,
  .error-page {
    width: min(calc(100% - 24px), var(--content));
  }

  .header-inner {
    min-height: 64px;
  }

  .wordmark {
    font-size: 1.08rem;
  }

  .wordmark-mark {
    width: 36px;
    height: 25px;
  }

  .featured-grid {
    grid-auto-columns: 88%;
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-template-rows: 390px;
    height: auto;
    overflow-x: auto;
    padding-bottom: .65rem;
    scroll-snap-type: x mandatory;
  }

  .featured-grid > .home-card,
  .featured-grid > .home-card:first-child,
  .featured-grid > .home-card:nth-child(2),
  .featured-grid > .home-card:nth-child(3),
  .featured-grid > .home-card:nth-child(4),
  .featured-grid > .home-card:nth-child(5),
  .featured-grid > .home-card:nth-child(6),
  .featured-grid > .home-card:nth-child(7),
  .featured-grid > .home-card:nth-child(8) {
    display: block;
    grid-column: auto;
    grid-row: auto;
    scroll-snap-align: start;
  }

  .featured-grid > .home-card:nth-child(n + 4) .card-media {
    position: absolute;
    inset: 0;
    height: auto;
  }

  .featured-grid > .home-card:nth-child(n + 4) .card-media::after {
    display: block;
  }

  .featured-grid > .home-card:nth-child(n + 4) .card-content {
    position: absolute;
    padding: 1.2rem;
  }

  .featured-grid > .home-card:nth-child(n + 4) .card-title {
    font-size: 1.2rem;
  }



  .home-category-header {
    align-items: flex-start;
  }

  .home-category-description {
    display: none;
  }

  .home-category-meta {
    min-width: 82px;
  }

  .story-count {
    display: none;
  }

  .article-carousel,
  .home-category-section:nth-child(2) .article-carousel {
    grid-auto-columns: 82%;
  }

  .article-carousel .home-card,
  .home-category-section:nth-child(2) .article-carousel .home-card {
    min-height: 355px;
  }

  .review-standard {
    padding-block: 3rem;
  }

  .score-display {
    grid-template-columns: 1fr;
  }

  .score-tier {
    min-height: 100px;
  }

  .score-tier.featured {
    transform: none;
  }

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

  .article-list-card .card-media {
    aspect-ratio: 16 / 10;
  }

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

  .article-content th,
  .article-content td,
  th,
  td {
    min-width: 115px;
    padding: .7rem .75rem;
    font-size: .86rem;
  }

  .taxonomy-group {
    display: block;
  }

  .taxonomy-group-label {
    display: block;
    margin-bottom: .45rem;
  }

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

  .pagination-status {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

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

  .footer-bottom {
    display: block;
  }

  .footer-bottom span {
    display: block;
    margin-top: .35rem;
  }
}

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

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