:root {
  color-scheme: dark;
}

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

html {
  background: var(--site-color-bg);
  color: var(--site-color-text);
  font-family: var(--site-font-body), system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

body {
  margin: 0;
  overflow-wrap: anywhere;
}

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

a {
  color: var(--site-color-link);
  text-underline-offset: 0.15em;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--site-color-accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  transform: translateY(-150%);
  z-index: 5;
  background: var(--site-color-accent);
  color: var(--site-color-on-accent);
  padding: 0.4rem 0.7rem;
  text-decoration: none;
}

.skip-link:focus {
  transform: none;
}

.site-header,
.site-footer {
  background: var(--site-color-header);
  color: var(--site-color-text);
}

.site-footer {
  background: var(--site-color-footer);
}

.site-header__inner,
.site-footer__inner,
main {
  width: min(68rem, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 1rem 0;
}

.site-header a {
  color: var(--site-color-header-link);
  text-decoration: none;
}

.site-header a:hover,
.site-header a:focus-visible {
  text-decoration: underline;
}

.brand {
  display: block;
  min-width: 0;
}

.logo,
.brand img {
  display: block;
  width: auto;
  max-width: min(100%, 16rem);
  height: auto;
}

.site-name {
  font-family: var(--site-font-heading), system-ui, sans-serif;
  font-size: 1.4rem;
  font-weight: 650;
  color: inherit;
  text-decoration: none;
}

nav ul,
.card-list,
.related ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
}

main {
  background: var(--site-color-surface);
  color: var(--site-color-text);
  padding: 1.25rem;
  margin-block: 1.25rem 2rem;
}

h1,
h2,
h3 {
  font-family: var(--site-font-heading), system-ui, sans-serif;
  line-height: 1.2;
}

.lede,
.article-teaser {
  font-size: 1.15rem;
}

.article-dates {
  margin-top: 0;
}

.article-updated {
  margin-left: 0.75rem;
}

.card-list li,
.related li {
  padding: 0.8rem 0;
  border-top: 1px solid color-mix(in srgb, var(--site-color-text) 18%, transparent);
}

.hero-figure,
.article-image,
.article-video {
  margin: 1rem 0;
}

.video-title {
  margin: 0 0 0.5rem;
}

.hero,
.listicle img,
.article-image img {
  display: block;
  width: 100%;
  height: auto;
}

.review-score {
  display: inline-block;
  margin: 0;
  padding: 0.2rem 0.55rem;
  background: var(--site-color-accent);
  color: var(--site-color-on-accent);
  font-family: var(--site-font-heading), system-ui, sans-serif;
}

.pros,
.cons,
.listicle {
  padding-left: 1.2rem;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.ad-slot {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, calc(var(--ad-w) * 1px));
  height: calc(var(--ad-h) * 1px);
  min-height: calc(var(--ad-h) * 1px);
  margin: 1rem auto;
  overflow: hidden;
  background: var(--site-color-header);
  color: var(--site-color-muted);
}

.ad-slot__label {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ad-slot .adsbygoogle {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 700px) {
  .ad-slot {
    width: min(100%, var(--ad-mw, 300px));
    height: var(--ad-mh, 250px);
    min-height: var(--ad-mh, 250px);
  }

  .ad-slot--desktop-only {
    display: none;
  }
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--site-color-header);
  overflow: hidden;
}

.video-play {
  display: none;
}

.js .video-play {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--site-color-on-accent);
}

.video-frame img,
.video-frame iframe,
.video-frame__player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border: 0;
}

.video-play__icon {
  position: relative;
  z-index: 1;
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  background: var(--site-color-accent);
}

.video-play__icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 0.6rem 0 0.6rem 1rem;
  border-color: transparent transparent transparent var(--site-color-on-accent);
}

.video-fallback {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: var(--site-color-accent);
  color: var(--site-color-on-accent);
  padding: 0.4rem 0.7rem;
}

.site-footer {
  padding: 0 0 2.5rem;
}

.site-footer__inner {
  padding-top: 1.5rem;
}

.site-footer__name,
.site-footer a {
  color: var(--site-color-text);
}

.site-footer small {
  display: block;
  color: var(--site-color-muted);
}

.paywall-notice {
  padding: 1rem;
  border: 1px solid var(--site-color-accent);
}

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

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

/* Auto footer for the classic preset. Other footer styles ship their own files. */
body.layout-classic footer.site-footer.footer-style-classic {
  background: var(--site-color-footer);
  color: var(--site-color-text);
  padding: 2.5rem 0 2.75rem;
  border-top: 3px solid var(--site-color-accent);
}

body.layout-classic footer.site-footer.footer-style-classic .foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

body.layout-classic footer.site-footer.footer-style-classic .foot-logo {
  display: block;
  width: min(200px, 100%);
  height: auto;
  margin: 0 0 0.75rem;
}

body.layout-classic footer.site-footer.footer-style-classic .foot-name {
  margin: 0;
  color: var(--site-color-text);
  font-family: var(--site-font-heading), system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.3;
}

body.layout-classic footer.site-footer.footer-style-classic .foot-copy {
  margin: 0.75rem 0 0;
  color: var(--site-color-muted);
  font-size: 13px;
  line-height: 1.45;
}

body.layout-classic footer.site-footer.footer-style-classic .foot-label {
  margin: 0 0 0.4rem;
  color: var(--site-color-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.layout-classic footer.site-footer.footer-style-classic ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.layout-classic footer.site-footer.footer-style-classic a {
  color: var(--site-color-link);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

body.layout-classic footer.site-footer.footer-style-classic a:hover,
body.layout-classic footer.site-footer.footer-style-classic a:focus-visible {
  color: var(--site-color-text);
}

body.layout-classic footer.site-footer.footer-style-classic .foot-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
}

body.layout-classic footer.site-footer.footer-style-classic .foot-socials a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--site-color-text);
  text-decoration: none;
}

body.layout-classic footer.site-footer.footer-style-classic .foot-social-name {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 768px) {
  body.layout-classic footer.site-footer.footer-style-classic .foot-grid {
    grid-template-columns: 1.2fr 1fr 1fr 0.8fr;
    gap: 2rem;
    align-items: start;
  }
}

@media (max-width: 767px) {
  body.layout-classic footer.site-footer.footer-style-classic a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
}

/* Thumbnail Wall preset. Header and home rules live only in this file. */
:root {
  --wall-bg: #0F0F0F;
  --wall-panel: #181818;
  --wall-ink: #FFFFFF;
  --wall-muted: #AAAAAA;
  --wall-green: var(--site-color-accent);
  --wall-green-hover: #8FD65A;
  --wall-focus: #8AB4F8;
  --wall-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wall-max: 1360px;
  --wall-margin: 40px;
  --wall-gap: 12px;
  --wall-radius: 12px;
  --wall-sec: 48px;
}

@media (max-width: 1199px) {
  :root {
    --wall-margin: 24px;
    --wall-gap: 10px;
    --wall-sec: 40px;
  }
}

@media (max-width: 767px) {
  :root {
    --wall-margin: 20px;
    --wall-gap: 8px;
    --wall-radius: 10px;
    --wall-sec: 32px;
  }
}

.site-header {
  background: var(--wall-bg);
  color: var(--wall-ink);
  border-bottom: 1px solid #222;
  position: relative;
  z-index: 20;
}

.site-header :focus-visible {
  outline: 3px solid var(--wall-focus);
  outline-offset: 2px;
}

.site-header__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  min-height: 68px;
  width: min(var(--wall-max), calc(100% - 2 * var(--wall-margin)));
  padding: 0;
}

.site-footer__inner {
  width: min(var(--wall-max), calc(100% - 2 * var(--wall-margin)));
}

.site-header a {
  color: var(--wall-green);
  text-decoration: none;
}

.site-header a:hover,
.site-header a:focus-visible {
  text-decoration: none;
}

.site-header .brand {
  flex: none;
  min-width: 0;
}

.site-header .brand img,
.site-header .logo {
  display: block;
  width: 170px;
  max-width: 170px;
  height: auto;
}

.site-header .cats {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-header .cats ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header .cats-top {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.site-header .more-fold,
.site-header .more-fold-2,
.site-header .more-fold-only {
  display: none;
}

.site-header .cats a,
.site-header .more summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--wall-green);
  font: 700 15px/1 var(--wall-sans);
  white-space: nowrap;
  border-radius: 8px;
  text-decoration: none;
}

.site-header .cats a:hover,
.site-header .more summary:hover {
  background: #1f1f1f;
  color: var(--wall-green-hover);
}

.site-header .more {
  position: relative;
  flex: none;
}

.site-header .more summary {
  cursor: pointer;
  list-style: none;
  gap: 6px;
}

.site-header .more summary::-webkit-details-marker {
  display: none;
}

.site-header .more[open] summary {
  background: #1f1f1f;
}

.site-header .more-list {
  display: block;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 180px;
  background: var(--wall-panel);
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  z-index: 30;
}

.site-header .more-list a {
  display: flex;
  width: 100%;
}

.site-header .search {
  position: relative;
  flex: none;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: #272727;
  color: #fff;
  font: 600 14px/1 var(--wall-sans);
}

.site-header a.search,
.site-header a.search:hover {
  color: #fff;
  text-decoration: none;
}

.site-header .search:hover {
  background: #3a3a3a;
}

.site-header .search .sl {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1023px) {
  .site-header__inner {
    gap: 10px;
  }

  .site-header .brand img,
  .site-header .logo {
    width: 140px;
    max-width: 140px;
  }

  .site-header .cats a,
  .site-header .more summary {
    padding: 0 9px;
    font-size: 14px;
  }

  .site-header .search {
    width: 44px;
    height: 44px;
    padding: 0;
  }
}

@media (max-width: 767px) {
  .site-header__inner {
    min-height: 56px;
    gap: 6px;
  }

  .site-header .brand img,
  .site-header .logo {
    width: 112px;
    max-width: 112px;
  }

  .site-header .cats a,
  .site-header .more summary {
    padding: 0 8px;
    font-size: 13px;
  }
}

/* Links 3–5 first fit in the bar at 596px. One query hides them and shows the More copies. */
@media (max-width: 595px) {
  .site-header .cats-fold {
    display: none;
  }

  .site-header .more-fold,
  .site-header .more-fold-only {
    display: block;
  }

  .site-header .more-fold-last {
    border-bottom: 1px solid #2a2a2a;
    margin-bottom: 4px;
    padding-bottom: 4px;
  }
}

/* Link 2 first fits in the bar at 389px. One query hides it and shows the More copy. */
@media (max-width: 388px) {
  .site-header .cats-fold-2 {
    display: none;
  }

  .site-header .more-fold-2 {
    display: block;
  }

  .site-header__inner,
  .site-header .cats,
  .site-header .cats-top {
    gap: 4px;
  }

  .site-header .cats a,
  .site-header .more summary {
    padding: 0 6px;
  }

  .site-header .more summary {
    gap: 0;
  }

  .site-header .more summary span {
    margin-left: 4px;
  }
}

/* Full-bleed More sheet only. Link folding stays in the queries above. */
@media (max-width: 479px) {
  .site-header__inner {
    position: relative;
  }

  .site-header .more {
    position: static;
  }

  .site-header .more-list {
    left: calc(var(--wall-margin) * -1);
    right: calc(var(--wall-margin) * -1);
    width: auto;
    min-width: 0;
    border-radius: 0;
    top: 100%;
  }

  .site-header .more-list a {
    min-height: 48px;
    padding-inline: 16px;
  }
}

body:has(.wall-home) {
  background: var(--wall-bg);
  color: var(--wall-ink);
  font-family: var(--wall-sans);
  font-size: 15px;
  line-height: 1.45;
}

.wall-home :focus-visible {
  outline: 3px solid var(--wall-focus);
  outline-offset: 2px;
}

.wall-home .wrap {
  width: min(100% - 2 * var(--wall-margin), var(--wall-max));
  margin-inline: auto;
}

main:has(.wall-home) {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0 0 var(--wall-sec);
  background: var(--wall-bg);
  color: var(--wall-ink);
}

.wall-home .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wall-home > section {
  margin-top: var(--wall-sec);
}

.wall-home > section.top {
  margin-top: 16px;
}

.wall-home .shead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.wall-home .sec-h {
  font: 800 22px/1.15 var(--wall-sans);
  letter-spacing: -0.01em;
  border-left: 5px solid var(--wall-green);
  padding-left: 10px;
  margin: 0;
  text-decoration: none;
}

.wall-home .sec-h a {
  color: inherit;
  text-decoration: none;
}

.wall-home .sec-h a:hover,
.wall-home .sec-h a:focus-visible {
  text-decoration: underline;
}

.wall-home .see {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px 0 12px;
  color: #6FBC37;
  font: 600 14px/1 var(--wall-sans);
  white-space: nowrap;
  text-decoration: none;
}

.wall-home .see:hover,
.wall-home .see:focus-visible {
  color: #6FBC37;
  text-decoration: underline;
}

.wall-home .tile {
  position: relative;
  min-width: 0;
}

.wall-home .tile > .media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--wall-radius);
  background: #222;
  color: #fff;
}

.wall-home .tl {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  color: #fff;
}

.wall-home .tl picture,
.wall-home .tl > img {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: inherit;
}

.wall-home .tl img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.wall-home .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 44px 14px 12px;
  /* 0.55 at 62% stays at or above 0.55 through the top of a two-line headline. */
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.55) 62%, rgba(0,0,0,0) 100%);
}

.wall-home .tt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin: 0;
  font: 700 16px/1.25 var(--wall-sans);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.9), 0 0 12px rgba(0,0,0,.7);
  letter-spacing: -0.005em;
}

.wall-home .badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  min-height: 44px;
  min-width: 44px;
  padding: 8px;
  color: #fff;
  text-decoration: none;
}

.wall-home .badge span {
  background: var(--wall-green);
  color: #0F0F0F;
  font: 700 11px/1 var(--wall-sans);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  border-radius: 4px;
}

.wall-home .badge:hover span {
  background: var(--wall-green-hover);
}

.wall-home .tile > .media:has(.tl:focus-visible) {
  outline: 3px solid var(--wall-focus);
  outline-offset: 3px;
}

@supports selector(:has(*)) {
  .wall-home .tl:focus-visible {
    outline: none;
  }
}

.wall-home .badge:focus-visible {
  outline: none;
}

.wall-home .badge:focus-visible span {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #000;
}

.wall-home .tl:hover .tt {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  .wall-home .tl img {
    transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .wall-home .tl:hover img,
  .wall-home .tl:focus-visible img {
    transform: scale(1.06);
  }

  .wall-home .shelf-track {
    scroll-behavior: smooth;
  }
}

.wall-home .top {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--wall-gap);
}

.wall-home .top .hero {
  grid-column: span 2;
  grid-row: span 2;
}

.wall-home .top .hero > .media {
  aspect-ratio: auto;
  height: 100%;
  min-height: 100%;
}

.wall-home .hero .cap {
  padding: 72px 24px 22px;
}

.wall-home .hero .tt {
  font: 800 clamp(24px, 1.4vw + 12px, 36px) / 1.12 var(--wall-sans);
  letter-spacing: -0.015em;
}

.wall-home .hero .badge {
  padding: 14px;
}

.wall-home .big .tt {
  font-size: 18px;
}

@media (max-width: 1199px) {
  .wall-home .top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wall-home .top .hero {
    grid-row: auto;
  }

  .wall-home .top .hero > .media {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .wall-home .hero .cap {
    padding: 48px 14px 14px;
  }

  .wall-home .hero .tt {
    font-size: 22px;
  }

  .wall-home .hero .badge {
    padding: 8px;
  }

  .wall-home .big .tt {
    font-size: 14px;
    line-height: 1.25;
  }

  .wall-home .big .cap,
  .wall-home .wt .cap {
    padding: 30px 10px 9px;
  }
}

.wall-home .wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--wall-gap);
}

@media (max-width: 1199px) {
  .wall-home .wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wall-home .wt .tt {
    font-size: 15px;
  }
}

@media (max-width: 899px) {
  .wall-home .wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wall-home .wt .tt {
    font-size: 17px;
  }
}

@media (max-width: 767px) {
  .wall-home .wt .tt {
    font-size: 14px;
  }

  .wall-home .wt:nth-child(5n + 1) {
    grid-column: 1 / -1;
  }

  .wall-home .wt:nth-child(5n + 1) .tt {
    font-size: 20px;
  }

  .wall-home .wt:nth-child(5n + 1) .cap {
    padding: 44px 14px 12px;
  }
}

.wall-home .shelf-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 80%;
  gap: var(--wall-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  padding: 2px 0 10px;
  scrollbar-width: thin;
  scrollbar-color: #444 transparent;
}

.wall-home .shelf-track > .tile {
  scroll-snap-align: start;
}

.wall-home .shelf-track:focus-visible {
  outline-offset: 4px;
  border-radius: var(--wall-radius);
}

.wall-home .st .tt {
  font-size: 15px;
}

.wall-home .st .cap {
  padding: 36px 12px 10px;
}

@media (min-width: 1024px) {
  .wall-home .shelf-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: auto;
    overflow: visible;
    scroll-snap-type: none;
  }

  .wall-home .shelf-track > .tile:nth-child(n + 5) {
    display: none;
  }
}

.wall-home .older {
  margin-top: var(--wall-sec);
  text-align: center;
}

.wall-home .older a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: #272727;
  color: #fff;
  font: 600 15px/1 var(--wall-sans);
  text-decoration: none;
}

.wall-home .older a:hover,
.wall-home .older a:focus-visible {
  background: #3a3a3a;
  color: #fff;
  text-decoration: underline;
}

/* Thumbnail Wall footer. Side inset is the header margin so the edges line up. */
footer.footer-wall {
  background: #181818;
  color: #ffffff;
  padding: 48px var(--wall-margin);
  box-sizing: border-box;
}

footer.footer-wall .foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin: 0;
  padding: 0;
}

footer.footer-wall .foot-logo-crop {
  display: block;
  width: min(200px, 100%);
  overflow: hidden;
  margin: 0 0 12px;
  padding: 0;
}

footer.footer-wall .foot-logo-crop img {
  display: block;
  max-width: none;
  height: auto;
}

footer.footer-wall .foot-logo {
  display: block;
  width: min(200px, 100%);
  height: auto;
  margin: 0 0 12px;
  padding: 0;
}

footer.footer-wall p.foot-name {
  margin: 0;
  padding: 0;
  color: #ffffff;
  font-family: var(--wall-sans);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.3;
}

footer.footer-wall .foot-copy {
  margin: 12px 0 0;
  padding: 0;
  color: #a0a0a0;
  font-size: 13px;
  line-height: 1.45;
}

footer.footer-wall .foot-label {
  margin: 0 0 8px;
  padding: 0;
  color: #a0a0a0;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

footer.footer-wall .foot-links + .foot-label {
  margin-top: 24px;
}

footer.footer-wall ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer.footer-wall a {
  color: var(--footer-link, var(--site-color-accent));
  text-decoration: none;
}

footer.footer-wall a:hover,
footer.footer-wall a:focus-visible {
  color: var(--footer-hover, var(--footer-link, var(--site-color-accent)));
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

footer.footer-wall a:focus-visible {
  outline: 3px solid var(--footer-accent, var(--site-color-accent));
  outline-offset: 3px;
}

footer.footer-wall .foot-cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

footer.footer-wall .foot-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
  padding: 0;
}

footer.footer-wall .foot-socials a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

footer.footer-wall .foot-social-name {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 768px) {
  footer.footer-wall .foot-grid {
    grid-template-columns: minmax(10rem, 0.9fr) minmax(16rem, 1.4fr) minmax(10rem, 0.9fr);
    gap: 32px 40px;
    align-items: start;
  }

  footer.footer-wall .foot-cats {
    gap: 0 28px;
  }
}

@media (max-width: 767px) {
  footer.footer-wall .foot-side > ul.foot-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
  }

  footer.footer-wall a {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin: 0;
    padding: 0;
  }
}

/* Phones: the picture stays clear. The headline sits under it. The category chip stays on the image. */
@media (max-width: 767px) {
  .wall-home a.tl,
  .wall-home a.badge {
    text-decoration: none;
  }

  @supports selector(:has(*)) {
    .wall-home .tile > .media:has(.tl:focus-visible) {
      outline: none;
    }
  }

  .wall-home a.tl:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
  }

  .wall-home .tile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .wall-home .tile > .media,
  .wall-home .top .hero > .media {
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
    overflow: visible;
    border-radius: 0;
    background: transparent;
  }

  .wall-home .tl,
  .wall-home .top .hero .tl {
    position: static;
    inset: auto;
    z-index: auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .wall-home .tl picture,
  .wall-home .tl > img {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    flex: 0 0 auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--wall-radius);
    background: #222;
  }

  .wall-home .tl picture img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
  }

  .wall-home .cap,
  .wall-home .hero .cap,
  .wall-home .big .cap,
  .wall-home .wt .cap,
  .wall-home .st .cap,
  .wall-home .mt .cap,
  .wall-home .wt:nth-child(5n + 1) .cap {
    position: static;
    inset: auto;
    z-index: auto;
    background: none;
    padding: 10px 0 0;
  }

  .wall-home .tt,
  .wall-home .hero .tt,
  .wall-home .big .tt,
  .wall-home .wt .tt,
  .wall-home .st .tt,
  .wall-home .mt .tt,
  .wall-home .wt:nth-child(5n + 1) .tt {
    color: #fff;
    text-shadow: none;
  }

  .wall-home .tile time {
    position: static;
    display: block;
    margin: 4px 0 0;
    color: #fff;
    font: 600 13px/1.35 var(--wall-sans);
  }

  .wall-home .badge,
  .wall-home .hero .badge {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    align-self: flex-start;
    display: flex;
    align-items: flex-start;
    width: auto;
    max-width: calc(100% - 16px);
    min-height: 44px;
    min-width: 44px;
    margin: 0;
    padding: 8px;
    text-decoration: none;
  }

  .wall-home .shelf,
  .wall-home .shelf-track {
    min-width: 0;
    max-width: 100%;
  }

  .wall-home .shelf-track {
    grid-auto-flow: column;
    grid-auto-columns: 78vw;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
}

/* Article and category pages */
/* Tile chrome stays in the rules above, including the phone card. */
.wp {
  --wp-rule: #222;
  --wp-surface: #181818;
  --wp-body: #e6e6e6;
  --wp-muted: #a0a0a0;
  --wp-stand: #c8c8c8;
  max-width: 100%;
}

.wp .wrap {
  width: min(100% - 2 * var(--wall-margin), var(--wall-max));
  margin-inline: auto;
  min-width: 0;
}

.wp .sec {
  margin-top: var(--wall-sec);
}

.wp .vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wp .crumbs {
  padding-top: 16px;
  min-width: 0;
}

.wp .crumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 6px;
  min-width: 0;
  font: 500 13px/1.4 var(--wall-sans);
  color: var(--wp-muted);
}

.wp .crumbs li {
  flex: none;
  white-space: nowrap;
}

.wp .crumbs li:last-child {
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
}

.wp .crumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--wp-muted);
}

.wp .crumbs li:last-child > span,
.wp .crumbs li:last-child > a {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wp .crumbs a {
  color: var(--wp-muted);
  text-decoration: none;
}

.wp .crumbs a:hover {
  color: #fff;
}

.wp .tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  text-decoration: none;
  vertical-align: middle;
}

.wp .tag span,
.wp .end-chip .chip.is-current {
  background: var(--site-color-accent);
  color: var(--site-color-on-accent);
}

.wp .tag span {
  font: 700 11px/1 var(--wall-sans);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  border-radius: 4px;
}

.wp .tag:hover span {
  background: var(--wall-green-hover);
}

.wp .chip {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--wp-surface);
  border: 1px solid var(--wp-rule);
  color: #fff;
  font: 600 14px/1 var(--wall-sans);
  text-decoration: none;
  white-space: nowrap;
}

.wp .chip:hover {
  background: #272727;
}

.wp .chip.is-current {
  background: var(--site-color-accent);
  border-color: var(--site-color-accent);
  color: var(--site-color-on-accent);
}

.wp .chip.is-current:hover {
  background: var(--wall-green-hover);
}

.wp .chips {
  margin-top: 20px;
  max-width: 100%;
  min-width: 0;
}

.wp .chips ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(100% - 2 * var(--wall-margin), var(--wall-max));
  min-width: 0;
}

.wp .cat-head h1 {
  font: 800 40px/1.1 var(--wall-sans);
  letter-spacing: -0.015em;
  margin: 14px 0 6px;
  border-left: 4px solid var(--site-color-accent);
  padding-left: 12px;
  color: #fff;
}

.wp .article-count,
.wp .cat-desc {
  margin: 0;
  padding-left: 16px;
  font: 500 14px/1.4 var(--wall-sans);
  color: var(--wp-muted);
}

.wp .cat-desc {
  margin-top: 4px;
}

.wp-cat > section.top {
  margin-top: 24px;
}

.wp .sec-h {
  border-left-color: var(--site-color-accent);
}

.wp .see {
  color: var(--site-color-accent);
}

.wp .see:hover,
.wp .see:focus-visible {
  color: var(--site-color-accent);
  text-decoration: none;
}

.wp .ah {
  padding-top: 20px;
  min-width: 0;
}

.wp .ah h1 {
  font: 800 48px/1.15 var(--wall-sans);
  letter-spacing: -0.015em;
  max-width: 860px;
  color: #fff;
  margin: 12px 0 16px;
}

.wp .standfirst {
  font: 400 20px/1.5 var(--wall-sans);
  color: var(--wp-stand);
  max-width: 720px;
  margin: 0 0 20px;
}

.wp .standfirst a {
  color: var(--site-color-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.wp .meta-row {
  max-width: 720px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--wp-rule);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.wp .article-dates {
  margin: 0;
  font: 500 14px/1.4 var(--wall-sans);
  color: var(--wp-muted);
}

.wp .byline {
  color: #fff;
}

.wp .meta-dot {
  margin: 0 0.4em;
}

.wp .review-score {
  margin: 0 0 16px;
}

.wp .share {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
}

.wp .share a,
.wp .share button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 999px;
  background: var(--wp-surface);
  border: 1px solid var(--wp-rule);
  color: #fff;
  cursor: pointer;
}

.wp .share a:hover,
.wp .share button:hover {
  background: #272727;
  color: var(--wall-green-hover);
}

.wp .hero-figure {
  margin: 0 0 32px;
  max-width: 1040px;
}

.wp .hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--wall-radius);
}

.wp .hero-figure figcaption,
.wp .article-image figcaption {
  margin-top: 8px;
  font: 500 13px/1.4 var(--wall-sans);
  color: var(--wp-muted);
}

.wp .article-body {
  max-width: 720px;
  font: 400 18px/1.7 var(--wall-sans);
  color: var(--wp-body);
}

.wp .article-body p {
  margin: 0 0 20px;
}

.wp .article-body h2 {
  font: 700 26px/1.25 var(--wall-sans);
  color: #fff;
  margin: 40px 0 12px;
}

.wp .article-body a {
  color: var(--site-color-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.wp .article-body blockquote {
  margin: 24px 0;
  padding-left: 16px;
  border-left: 3px solid var(--site-color-accent);
  font-style: italic;
  font-size: 20px;
  color: #fff;
}

.wp .article-image,
.wp .article-image img,
.wp .video-frame {
  border-radius: 8px;
}

.wp .article-image {
  overflow: hidden;
}

.wp .end-chip {
  margin: 28px 0 0;
}

.wp .tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--wall-gap);
  min-width: 0;
}

.wp .tiles > .tile {
  min-width: 0;
}

.wp .cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  min-width: 0;
}

.wp .card {
  position: relative;
  min-width: 0;
}

.wp .card .media {
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--wall-radius);
  overflow: hidden;
  background: #222;
}

.wp .card .media picture,
.wp .card .media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wp .card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 4px;
  font: 500 13px/1.3 var(--wall-sans);
  color: var(--wp-muted);
}

.wp .card-meta .tag {
  position: relative;
  z-index: 2;
}

.wp .card-t {
  margin: 0;
  font: 700 18px/1.3 var(--wall-sans);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.wp .card-t a {
  color: #fff;
  text-decoration: none;
}

.wp .card-t a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--wall-radius);
}

.wp .card-sum {
  margin: 6px 0 0;
  font: 400 15px/1.45 var(--wall-sans);
  color: var(--wp-muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.wp .pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  margin-top: var(--wall-sec);
}

.wp .pager > span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wp .pnum {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  align-items: center;
}

.wp .pnum a,
.wp .pnum span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--wp-surface);
  border: 1px solid var(--wp-rule);
  color: #fff;
  font: 600 14px/1 var(--wall-sans);
  text-decoration: none;
}

.wp .pnum a:hover {
  background: #272727;
}

.wp .pnum [aria-current] {
  background: var(--site-color-accent);
  border-color: var(--site-color-accent);
  color: var(--site-color-on-accent);
}

.wp .pnum .gap {
  width: auto;
  height: auto;
  border: 0;
  background: transparent;
  color: var(--wp-muted);
}

.wp .pager > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: #272727;
  color: #fff;
  font: 600 15px/1 var(--wall-sans);
  text-decoration: none;
}

.wp .pager > a:hover {
  background: #3a3a3a;
}

.wp .empty {
  margin-top: 24px;
  color: var(--wp-muted);
}

.wp .b-main,
.wp .b-cols,
.wp .article {
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .wp .latest-in .cards {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
  }

  .opt-b .b-cols {
    display: grid;
    grid-template-columns: minmax(0, 720px) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }

  .opt-b .b-main .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .opt-b .more-in {
    margin-top: 0;
    padding-left: 24px;
    border-left: 1px solid var(--wp-rule);
    position: sticky;
    top: 16px;
  }

  .opt-b .more-in .tiles {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .opt-b .hero-figure {
    max-width: none;
  }

  .opt-b .hero-figure img {
    aspect-ratio: 2 / 1;
  }
}

@media (max-width: 1023px) {
  .wp .tiles,
  .wp .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wp .card-sum {
    display: none;
  }
}

@media (max-width: 767px) {
  .wp .cat-head h1 {
    font-size: 28px;
  }

  .wp .ah h1 {
    font-size: 30px;
    line-height: 1.2;
  }

  .wp .standfirst {
    font-size: 17px;
  }

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

  .wp .hero-figure {
    margin-inline: calc(-1 * var(--wall-margin));
    max-width: none;
  }

  .wp .hero-figure img {
    border-radius: 0;
  }

  .wp .article-body h2 {
    font-size: 22px;
  }

  .wp .chips ul {
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--wall-margin);
    padding: 4px var(--wall-margin);
    box-sizing: border-box;
  }

  .wp .chips {
    width: 100%;
  }

  .wp .chips li {
    scroll-snap-align: start;
  }

  .wp .tiles {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78vw;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--wall-margin);
    margin-inline: calc(-1 * var(--wall-margin));
    padding: 3px var(--wall-margin) 6px;
  }

  .wp .tiles > .tile {
    scroll-snap-align: start;
  }

  .wp .cards {
    display: block;
  }

  .wp .card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 16px 0;
    border-top: 1px solid var(--wp-rule);
  }

  .wp .card:last-child {
    border-bottom: 1px solid var(--wp-rule);
  }

  .wp .card .media {
    width: 112px;
    height: 63px;
    border-radius: 8px;
  }

  .wp .card-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .wp .card-meta {
    order: 2;
    margin: 4px 0 0;
  }

  .wp .card-meta .tag {
    display: none;
  }

  .wp .card-t {
    font-size: 16px;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .wp .card-t a::after {
    border-radius: 0;
  }
}
