/* Yumemita NEWS-inspired catalogue: crisp pixel borders, grid paper, candy accents. */
body.site-refined.page-posts {
  --news-cyan: #14c7e2;
  --news-cyan-deep: #08b4d1;
  --news-blue: #263778;
  --news-violet: #a878f0;
  --news-pink: #ff73c7;
  --news-mint: #45e2c4;
  --news-yellow: #ffd34f;
  --news-paper: #fff;
  --news-grid: rgba(255, 255, 255, 0.78);
  overflow-x: clip;
}

html:has(body.site-refined.page-posts),
body.site-refined.page-posts .site-main {
  overflow-x: clip;
}

body.site-refined.page-posts .site-main {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.64)),
    repeating-linear-gradient(0deg, transparent 0 47px, var(--news-grid) 47px 50px),
    repeating-linear-gradient(90deg, transparent 0 47px, var(--news-grid) 47px 50px),
    rgba(246, 224, 251, 0.8);
}

body.site-refined.page-posts .site-main::before,
body.site-refined.page-posts .site-main::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 58px;
  height: 20px;
  border-radius: 999px;
  opacity: 0.9;
  pointer-events: none;
}

body.site-refined.page-posts .site-main::before {
  top: 245px;
  left: 8%;
  background: var(--news-mint);
  box-shadow:
    6px -16px 0 -5px var(--news-mint),
    13px -30px 0 -5px var(--news-mint),
    62vw 80px 0 var(--news-pink),
    62vw 80px 0 2px rgba(255, 255, 255, 0.54);
  transform: rotate(8deg);
}

body.site-refined.page-posts .site-main::after {
  top: 390px;
  right: 8%;
  background: var(--news-pink);
  box-shadow:
    -72vw 200px 0 var(--news-yellow),
    -42vw 620px 0 var(--news-mint);
  transform: rotate(-42deg);
}

body.site-refined.page-posts .posts-hero {
  position: relative;
  min-height: 0;
  margin-top: -76px;
  padding: 142px 0 72px;
  overflow: hidden;
  background: transparent;
}

body.site-refined.page-posts .posts-hero::before,
body.site-refined.page-posts .posts-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

body.site-refined.page-posts .posts-hero::before {
  top: 118px;
  left: 13%;
  width: 46px;
  height: 46px;
  border: 7px solid rgba(20, 199, 226, 0.92);
  background:
    linear-gradient(var(--news-cyan), var(--news-cyan)) center / 8px 100% no-repeat,
    linear-gradient(90deg, var(--news-cyan), var(--news-cyan)) center / 100% 8px no-repeat;
  box-shadow: 3px 3px 0 rgba(255, 255, 255, 0.92);
}

body.site-refined.page-posts .posts-hero::after {
  right: 13%;
  top: 140px;
  width: 58px;
  height: 58px;
  background: rgba(255, 115, 199, 0.42);
  transform: rotate(30deg);
  clip-path: polygon(50% 0, 64% 35%, 100% 50%, 64% 65%, 50% 100%, 36% 65%, 0 50%, 36% 35%);
}

body.site-refined.page-posts .posts-page-head,
body.site-refined.page-posts:not(:has(.admin-wrap)) .posts-page-head,
body.site-refined.page-posts:not(:has(.admin-wrap)):not([data-admin-editor-page]) .page-banner .posts-page-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(450px, 0.82fr) minmax(540px, 1.18fr);
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  min-height: 168px;
  max-width: none;
  gap: clamp(44px, 4vw, 64px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.site-refined.page-posts .posts-page-head::before {
  content: "";
  position: absolute;
  left: 45%;
  top: -4px;
  width: 64px;
  height: 64px;
  border: 2px solid rgba(20, 199, 226, 0.28);
  transform: rotate(45deg);
  pointer-events: none;
}

body.site-refined.page-posts .posts-head-copy {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
  text-align: center;
  min-width: 0;
  width: 100%;
}

body.site-refined.page-posts .posts-head-kicker {
  margin: 0;
  color: var(--news-cyan-deep);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-shadow: none;
}

body.site-refined.page-posts .posts-page-head .page-title {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin: 0;
  color: transparent;
  font-family: Arial, var(--font-sans);
  font-size: clamp(3.25rem, 5.2vw, 5rem);
  font-weight: 1000;
  line-height: 0.9;
  letter-spacing: -0.07em;
  filter: drop-shadow(0 5px 0 rgba(20, 199, 226, 0.82));
  -webkit-text-stroke: 7px #fff;
}

body.site-refined.page-posts .posts-page-head .page-title span:first-child {
  background: linear-gradient(180deg, #dd79ec 4%, #9974ed 52%, #29bde7 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

body.site-refined.page-posts .posts-page-head .page-title span:last-child {
  margin: -0.16em 0 0 0.05em;
  color: #ab78ef;
  font-size: 0.58em;
  line-height: 1;
  -webkit-text-stroke: 5px #fff;
}

body.site-refined.page-posts .posts-head-index {
  margin: 10px 0 0;
  color: var(--news-blue);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

body.site-refined.page-posts .posts-toolbar,
body.site-refined.page-posts .page-banner .posts-toolbar {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 7px;
  border: 3px solid var(--news-cyan);
  border-radius: 0;
  background: #fff;
  box-shadow: 7px 7px 0 var(--news-cyan);
  clip-path: polygon(10px 0, calc(100% - 10px) 0, calc(100% - 10px) 4px, calc(100% - 4px) 4px, calc(100% - 4px) 10px, 100% 10px, 100% calc(100% - 10px), calc(100% - 4px) calc(100% - 10px), calc(100% - 4px) calc(100% - 4px), calc(100% - 10px) calc(100% - 4px), calc(100% - 10px) 100%, 10px 100%, 10px calc(100% - 4px), 4px calc(100% - 4px), 4px calc(100% - 10px), 0 calc(100% - 10px), 0 10px, 4px 10px, 4px 4px, 10px 4px);
}

body.site-refined.page-posts .posts-toolbar::before {
  content: none;
}

body.site-refined.page-posts .post-zone-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(68px, 1fr));
  gap: 4px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.site-refined.page-posts .post-zone-tab {
  min-width: 0;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 0;
  color: var(--news-blue);
  background: #f8edfb;
  font-size: 0.86rem;
  box-shadow: inset 0 -3px 0 rgba(20, 199, 226, 0.25);
}

body.site-refined.page-posts .post-zone-tab:is(:hover, :focus-visible) {
  color: var(--news-blue);
  background: #ebfaff;
  transform: none;
}

body.site-refined.page-posts .post-zone-tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--news-violet), var(--news-pink));
  box-shadow: inset 0 -3px 0 var(--news-cyan);
}

body.site-refined.page-posts .posts-search-field {
  min-width: 0;
}

body.site-refined.page-posts .posts-search-field .input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 2px solid #d8b7f3;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

body.site-refined.page-posts .posts-search-field .input:focus {
  border-color: var(--news-cyan);
  background: #fff;
  box-shadow: inset 0 0 0 2px rgba(20, 199, 226, 0.12);
}

body.site-refined.page-posts .posts-toolbar-actions,
body.site-refined.page-posts .post-publish-actions {
  min-width: 0;
}

body.site-refined.page-posts .post-publish-actions .btn {
  min-height: 42px;
  padding-inline: 18px;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--news-violet), var(--news-pink));
  box-shadow: inset 0 -3px 0 var(--news-cyan);
  white-space: nowrap;
}

body.site-refined.page-posts .page-body {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin-top: 0;
  padding: 48px 0 92px;
}

body.site-refined.page-posts .page-main-column .posts-list,
body.site-refined.page-posts .posts-list,
body.site-refined.page-posts .posts-list[data-content-zone="forum"],
body.site-refined.page-posts .posts-list[data-content-zone="logs"] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  width: 100%;
  max-width: none;
  margin: 0;
  perspective: none;
}

body.site-refined.page-posts .post-card-preview,
body.site-refined.page-posts .content-stream-card {
  position: relative;
  overflow: visible;
  padding: 0 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: var(--font-sans);
}

body.site-refined.page-posts .news-entry-motion {
  position: relative;
  padding: 4px;
  border: 0;
  background: var(--news-cyan);
  box-shadow: 0 8px 0 var(--news-cyan);
  clip-path: polygon(12px 0, calc(100% - 12px) 0, calc(100% - 12px) 4px, calc(100% - 4px) 4px, calc(100% - 4px) 12px, 100% 12px, 100% calc(100% - 12px), calc(100% - 4px) calc(100% - 12px), calc(100% - 4px) calc(100% - 4px), calc(100% - 12px) calc(100% - 4px), calc(100% - 12px) 100%, 12px 100%, 12px calc(100% - 4px), 4px calc(100% - 4px), 4px calc(100% - 12px), 0 calc(100% - 12px), 0 12px, 4px 12px, 4px 4px, 12px 4px);
  transition:
    opacity 620ms ease,
    transform 720ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 720ms,
    background-color 220ms ease,
    box-shadow 220ms steps(2, end);
}

body.site-refined.page-posts .news-entry-motion::before,
body.site-refined.page-posts .news-entry-motion::after {
  content: none;
}

body.site-refined.page-posts [data-post-card]:nth-of-type(odd) > .news-entry-motion.anime-reveal {
  transform: translate3d(-52px, 0, 0);
}

body.site-refined.page-posts [data-post-card]:nth-of-type(even) > .news-entry-motion.anime-reveal {
  transform: translate3d(52px, 0, 0);
}

body.site-refined.page-posts [data-post-card] > .news-entry-motion.anime-reveal.is-visible {
  transform: translate3d(0, 0, 0);
}

body.site-refined.page-posts .post-card-preview .post-card-link,
body.site-refined.page-posts .content-stream-link {
  position: relative;
  display: grid;
  grid-template-columns: clamp(210px, 28vw, 320px) minmax(0, 1fr);
  width: 100%;
  min-height: 160px;
  aspect-ratio: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  color: var(--news-blue);
  background: #fff;
  box-shadow: none;
  text-decoration: none;
  clip-path: polygon(9px 0, calc(100% - 9px) 0, calc(100% - 9px) 3px, calc(100% - 3px) 3px, calc(100% - 3px) 9px, 100% 9px, 100% calc(100% - 9px), calc(100% - 3px) calc(100% - 9px), calc(100% - 3px) calc(100% - 3px), calc(100% - 9px) calc(100% - 3px), calc(100% - 9px) 100%, 9px 100%, 9px calc(100% - 3px), 3px calc(100% - 3px), 3px calc(100% - 9px), 0 calc(100% - 9px), 0 9px, 3px 9px, 3px 3px, 9px 3px);
  transform: translate3d(0, 0, 0);
  transition:
    transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
    background-color 220ms ease;
}

body.site-refined.page-posts :is(.post-card-link, .content-stream-link)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    105deg,
    transparent 0 36%,
    rgba(255, 255, 255, 0.12) 41%,
    rgba(118, 233, 249, 0.72) 48%,
    rgba(255, 255, 255, 0.92) 51%,
    rgba(118, 233, 249, 0.44) 55%,
    transparent 62% 100%
  );
  transform: translate3d(-110%, 0, 0);
}

body.site-refined.page-posts .content-stream-link.has-no-thumb {
  grid-template-columns: minmax(0, 1fr);
}

body.site-refined.page-posts .post-card-preview .post-card-link:is(:hover, :focus-visible),
body.site-refined.page-posts .content-stream-link:is(:hover, :focus-visible) {
  background: #f4fdff;
  text-decoration: none;
  transform: translate3d(-4px, -4px, 0);
}

body.site-refined.page-posts .news-entry-motion:has(> :is(.post-card-link, .content-stream-link):is(:hover, :focus-visible)) {
  background: linear-gradient(135deg, var(--news-violet), var(--news-cyan) 58%);
  box-shadow:
    0 8px 0 var(--news-cyan),
    5px 13px 0 rgba(168, 120, 240, 0.76);
}

body.site-refined.page-posts :is(.post-card-link, .content-stream-link):is(:hover, :focus-visible)::before {
  animation: news-pixel-sweep 620ms cubic-bezier(0.2, 0.72, 0.24, 1) both;
}

body.site-refined.page-posts .post-cover-preview,
body.site-refined.page-posts .content-card-thumb {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  min-height: 160px;
  aspect-ratio: auto;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #f3f1fa;
  box-shadow: inset -4px 0 0 var(--news-cyan);
}

body.site-refined.page-posts .post-cover-preview::before {
  content: none;
}

body.site-refined.page-posts .post-cover-preview::after,
body.site-refined.page-posts .post-card-link:is(:hover, :focus-visible) .post-cover-preview::after {
  border: 0;
  background: none;
  box-shadow: inset -3px 0 0 var(--news-cyan);
  animation: none;
}

body.site-refined.page-posts .post-cover-preview img,
body.site-refined.page-posts .content-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transform: scale(1);
  transition:
    transform 480ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 260ms ease;
}

body.site-refined.page-posts :is(.post-card-link, .content-stream-link):is(:hover, :focus-visible) img {
  filter: saturate(1.12) contrast(1.03) brightness(1.04);
  transform: scale(1.055);
}

body.site-refined.page-posts .post-card-preview-content,
body.site-refined.page-posts .content-card-body {
  position: relative;
  inset: auto;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 9px;
  min-width: 0;
  padding: 26px 82px 26px 40px;
  border-radius: 0;
  background: #fff;
  pointer-events: none;
}

body.site-refined.page-posts .news-entry-date,
body.site-refined.page-posts .content-card-kicker {
  margin: 0;
  color: var(--news-cyan-deep);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 1000;
  line-height: 1.35;
  letter-spacing: 0.02em;
  transition: color 220ms ease, transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

body.site-refined.page-posts .post-card-preview-content .post-title,
body.site-refined.page-posts .content-card-title {
  display: -webkit-box;
  width: min(100%, 30em);
  margin: 0;
  overflow: hidden;
  color: var(--news-blue);
  font-family: var(--font-sans);
  font-size: clamp(1.08rem, var(--post-title-size, 1.45rem), 1.65rem);
  font-weight: 900;
  line-height: 1.4;
  text-shadow: none;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transform: translate3d(0, 0, 0);
  transition:
    color 220ms ease,
    transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

body.site-refined.page-posts :is(.post-card-link, .content-stream-link):is(:hover, :focus-visible) :is(.news-entry-date, .content-card-kicker) {
  color: var(--news-violet);
  transform: translate3d(8px, 0, 0);
}

body.site-refined.page-posts :is(.post-card-link, .content-stream-link):is(:hover, :focus-visible) :is(.post-title, .content-card-title) {
  color: #5f45aa;
  transform: translate3d(12px, 0, 0);
}

body.site-refined.page-posts .news-entry-summary,
body.site-refined.page-posts .content-card-excerpt {
  display: -webkit-box;
  width: min(100%, 46em);
  margin: 0;
  overflow: hidden;
  color: rgba(38, 55, 120, 0.62);
  font-size: 0.88rem;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.site-refined.page-posts .content-card-meta,
body.site-refined.page-posts .content-card-attachments {
  color: rgba(38, 55, 120, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
}

body.site-refined.page-posts .content-pinned-label {
  padding: 3px 8px;
  border: 2px solid var(--news-cyan);
  border-radius: 0;
  color: var(--news-blue);
  background: #ebfbff;
  font-size: 0.68rem;
}

body.site-refined.page-posts .news-entry-arrow {
  position: absolute;
  right: 30px;
  top: 50%;
  width: 34px;
  height: 14px;
  border-bottom: 3px solid var(--news-cyan);
  transform: translateY(-50%);
  transition: width 240ms ease, right 240ms ease;
}

body.site-refined.page-posts .news-entry-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -3px;
  width: 10px;
  height: 10px;
  border-right: 3px solid var(--news-cyan);
  border-bottom: 3px solid var(--news-cyan);
  transform: rotate(-45deg);
  transform-origin: 100% 100%;
}

body.site-refined.page-posts :is(.post-card-link, .content-stream-link):is(:hover, :focus-visible) .news-entry-arrow {
  right: 20px;
  width: 50px;
  filter: drop-shadow(3px 3px 0 rgba(168, 120, 240, 0.34));
}

@keyframes news-pixel-sweep {
  0% {
    opacity: 0;
    transform: translate3d(-110%, 0, 0);
  }
  18% {
    opacity: 0.88;
  }
  100% {
    opacity: 0;
    transform: translate3d(110%, 0, 0);
  }
}

body.site-refined.page-posts .post-card-related {
  grid-column: 2;
  margin: 0;
  padding: 0 42px 14px;
  background: #fff;
}

body.site-refined.page-posts .post-actions,
body.site-refined.page-posts .content-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  margin: 0;
  padding: 10px 4px 4px;
  background: #fff;
}

body.site-refined.page-posts :is(.post-actions, .content-card-actions) .btn {
  width: auto;
  min-width: 92px;
  min-height: 38px;
  padding: 7px 16px;
  border: 2px solid var(--news-cyan);
  border-radius: 0;
  color: var(--news-blue);
  background: #fff;
  box-shadow: none;
}

body.site-refined.page-posts :is(.post-actions, .content-card-actions) .btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--news-violet), var(--news-pink));
}

body.site-refined.page-posts #postsEmpty {
  width: 100%;
  max-width: none;
  border: 4px solid var(--news-cyan);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 8px 0 var(--news-cyan);
}

@media (max-width: 1380px) {
  body.site-refined.page-posts .posts-page-head,
  body.site-refined.page-posts:not(:has(.admin-wrap)) .posts-page-head,
  body.site-refined.page-posts:not(:has(.admin-wrap)):not([data-admin-editor-page]) .page-banner .posts-page-head {
    grid-template-columns: minmax(0, 1fr);
    width: min(920px, calc(100% - 48px));
    gap: 26px;
  }

  body.site-refined.page-posts .posts-head-copy {
    justify-self: center;
    width: fit-content;
    max-width: 100%;
  }

  body.site-refined.page-posts .posts-toolbar,
  body.site-refined.page-posts .page-banner .posts-toolbar {
    grid-template-columns: minmax(230px, auto) minmax(220px, 1fr) auto;
  }
}

@media (max-width: 900px) {
  body.site-refined.page-posts .posts-toolbar,
  body.site-refined.page-posts .page-banner .posts-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body.site-refined.page-posts .post-zone-controls {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  body.site-refined.page-posts .site-main::before,
  body.site-refined.page-posts .site-main::after,
  body.site-refined.page-posts .posts-hero::before,
  body.site-refined.page-posts .posts-hero::after {
    opacity: 0.42;
  }

  body.site-refined.page-posts .posts-hero {
    padding: 178px 0 48px;
  }

  body.site-refined.page-posts .posts-hero::before {
    top: 170px;
  }

  body.site-refined.page-posts .posts-hero::after {
    top: 192px;
  }

  body.site-refined.page-posts .posts-page-head,
  body.site-refined.page-posts:not(:has(.admin-wrap)) .posts-page-head,
  body.site-refined.page-posts:not(:has(.admin-wrap)):not([data-admin-editor-page]) .page-banner .posts-page-head {
    width: calc(100% - 28px);
    gap: 22px;
  }

  body.site-refined.page-posts .posts-page-head .page-title {
    font-size: clamp(2.45rem, 12vw, 3.15rem);
    -webkit-text-stroke-width: 5px;
  }

  body.site-refined.page-posts .posts-toolbar,
  body.site-refined.page-posts .page-banner .posts-toolbar {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  body.site-refined.page-posts .post-zone-controls,
  body.site-refined.page-posts .posts-search-field,
  body.site-refined.page-posts .posts-toolbar-actions {
    grid-column: 1;
    width: 100%;
  }

  body.site-refined.page-posts .post-publish-actions,
  body.site-refined.page-posts .post-publish-actions .btn {
    width: 100%;
  }

  body.site-refined.page-posts .page-body {
    width: calc(100% - 28px);
    padding-top: 34px;
  }

  body.site-refined.page-posts .post-card-preview .post-card-link,
  body.site-refined.page-posts .content-stream-link,
  body.site-refined.page-posts .content-stream-link.has-no-thumb {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  body.site-refined.page-posts .post-cover-preview,
  body.site-refined.page-posts .content-card-thumb {
    min-height: 0;
    aspect-ratio: 16 / 9;
    box-shadow: inset 0 -4px 0 var(--news-cyan);
  }

  body.site-refined.page-posts .post-card-preview-content,
  body.site-refined.page-posts .content-card-body {
    min-height: 140px;
    padding: 22px 54px 22px 20px;
  }

  body.site-refined.page-posts .news-entry-arrow {
    right: 18px;
    width: 26px;
  }

  body.site-refined.page-posts .post-card-related {
    grid-column: 1;
    padding: 0 20px 14px;
  }

  body.site-refined.page-posts :is(.post-actions, .content-card-actions) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.site-refined.page-posts :is(.post-actions, .content-card-actions) .btn {
    width: 100%;
    min-width: 0;
    padding-inline: 6px;
  }

  body.site-refined.page-posts [data-post-card]:nth-of-type(odd) > .news-entry-motion.anime-reveal {
    transform: translate3d(-32px, 0, 0);
  }

  body.site-refined.page-posts [data-post-card]:nth-of-type(even) > .news-entry-motion.anime-reveal {
    transform: translate3d(32px, 0, 0);
  }

  body.site-refined.page-posts [data-post-card] > .news-entry-motion.anime-reveal.is-visible {
    transform: translate3d(0, 0, 0);
  }
}

@media (hover: none), (pointer: coarse) {
  body.site-refined.page-posts .post-card-preview .post-card-link:hover,
  body.site-refined.page-posts .content-stream-link:hover {
    background: #fff;
    transform: none;
  }

  body.site-refined.page-posts .news-entry-motion:has(> :is(.post-card-link, .content-stream-link):hover) {
    background: var(--news-cyan);
    box-shadow: 0 8px 0 var(--news-cyan);
  }

  body.site-refined.page-posts :is(.post-card-link, .content-stream-link):hover::before {
    animation: none;
  }

  body.site-refined.page-posts :is(.post-card-link, .content-stream-link):hover img,
  body.site-refined.page-posts :is(.post-card-link, .content-stream-link):hover :is(.news-entry-date, .content-card-kicker, .post-title, .content-card-title) {
    filter: none;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.site-refined.page-posts .news-entry-motion,
  body.site-refined.page-posts [data-post-card] > .news-entry-motion.anime-reveal,
  body.site-refined.page-posts [data-post-card] > .news-entry-motion.anime-reveal.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  body.site-refined.page-posts :is(.post-cover-preview img, .content-card-thumb img, .news-entry-arrow) {
    transition: none;
  }

  body.site-refined.page-posts :is(.post-card-link, .content-stream-link),
  body.site-refined.page-posts :is(.news-entry-date, .content-card-kicker, .post-title, .content-card-title) {
    transition: none;
  }

  body.site-refined.page-posts :is(.post-card-link, .content-stream-link):is(:hover, :focus-visible)::before {
    animation: none;
  }

  body.site-refined.page-posts :is(.post-card-link, .content-stream-link):is(:hover, :focus-visible),
  body.site-refined.page-posts :is(.post-card-link, .content-stream-link):is(:hover, :focus-visible) img,
  body.site-refined.page-posts :is(.post-card-link, .content-stream-link):is(:hover, :focus-visible) :is(.news-entry-date, .content-card-kicker, .post-title, .content-card-title) {
    transform: none;
  }
}
