/* ===================================================================
   editorial.css — Blog archive & blog post styles
   Depends on: design-tokens.css, base.css
   =================================================================== */

/* ----- Blog header ----- */

.blog-header {
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--hairline-2);
}

.blog-header h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 6vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.blog-header h1 em {
  font-style: italic;
  color: var(--ink-2);
}

.blog-header .lede {
  margin: 18px 0 0;
  max-width: 56ch;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.55;
}

.blog-volume {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ----- Category filter chips ----- */

.blog-filters {
  margin-top: 28px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.blog-filters .f-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-right: 6px;
}

.blog-filters .filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 12px 0 8px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 12px;
  font-family: var(--sans);
  background: var(--paper);
  cursor: pointer;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.blog-filters .filter-chip:hover {
  border-color: var(--ink);
}

.blog-filters .filter-chip.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.blog-filters .filter-chip .chip-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px oklch(0.20 0.02 60 / 0.10);
}

.blog-filters .filter-chip.is-active .chip-dot {
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.25);
}

.blog-filters .filter-chip .chip-count {
  font-family: var(--mono);
  font-size: 10px;
  opacity: 0.6;
  margin-left: 2px;
}

/* ----- Featured post hero ----- */

.featured-post {
  margin: 48px 0 64px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  overflow: hidden;
}

.featured-post .featured-post__image {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.featured-post .featured-post__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder when no featured image */
.featured-post .featured-post__image.no-image {
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.featured-post .featured-post__body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--paper);
}

.featured-post .featured-post__meta-top {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 24px;
}

.featured-post .featured-post__meta-top .cat-pill--featured {
  background: var(--ink);
  color: var(--paper);
  padding: 4px 10px;
  border-radius: 2px;
}

.featured-post h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.0;
  letter-spacing: -0.02em;
}

.featured-post h2 em {
  font-style: italic;
  color: var(--ink-2);
}

.featured-post .featured-post__deck {
  margin-top: 18px;
  max-width: 48ch;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.55;
}

.featured-post .featured-post__footer {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.featured-post .post-author {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12.5px;
  color: var(--ink-2);
}

.featured-post .post-author .author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--summer-2);
  flex-shrink: 0;
}

.featured-post .post-author .author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-post .post-author strong {
  color: var(--ink);
  font-weight: 500;
}

/* ----- Blog toolbar ----- */

.blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--hairline-2);
  border-bottom: 1px solid var(--hairline-2);
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}

.blog-toolbar .blog-toolbar__count {
  font-size: 13px;
  color: var(--ink-2);
}

.blog-toolbar .blog-toolbar__count strong {
  color: var(--ink);
  font-weight: 500;
}

.blog-toolbar__controls {
  display: flex;
  gap: 10px;
}

/* ----- Blog grid ----- */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 28px;
  padding-bottom: 64px;
}

/* ----- Blog card ----- */

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.blog-card .blog-card__image {
  aspect-ratio: 4 / 3;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--hairline-2);
  transition: transform 200ms ease;
}

.blog-card:hover .blog-card__image {
  transform: translateY(-3px);
}

.blog-card .blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Image placeholder when no thumbnail */
.blog-card .blog-card__image.no-image {
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-card .blog-card__meta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.blog-card .blog-card__title {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0;
  font-weight: 400;
}

.blog-card .blog-card__deck {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}

.blog-card .blog-card__author {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-card .blog-card__author .author-avatar-sm {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--paper-2);
  flex-shrink: 0;
}

.blog-card .blog-card__author .author-avatar-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card .blog-card__author strong {
  color: var(--ink-2);
  font-weight: 500;
}

/* ----- Category pill ----- */

.cat-pill {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  white-space: nowrap;
}

/* Category-specific pill colors — mapped by category slug */
.cat-pill[data-cat="style-guides"],
.cat-pill[data-cat="style"] {
  background: var(--ink);
  color: var(--paper);
}

.cat-pill[data-cat="season-tips"],
.cat-pill[data-cat="season"] {
  background: var(--summer-2);
  color: oklch(0.20 0.02 60);
}

.cat-pill[data-cat="brand-spotlights"],
.cat-pill[data-cat="brand"] {
  background: var(--autumn-1);
  color: var(--paper);
}

.cat-pill[data-cat="how-to"],
.cat-pill[data-cat="how"] {
  background: oklch(0.62 0.16 145);
  color: var(--paper);
}

.cat-pill[data-cat="inside-colorshop"],
.cat-pill[data-cat="news"] {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--hairline);
}

/* ----- Featured pair (wide editorial slot mid-feed) ----- */

.blog-pair {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--hairline-2);
  border-bottom: 1px solid var(--hairline-2);
  margin: 16px 0;
}

.blog-pair .blog-card {
  flex-direction: row;
  gap: 20px;
  align-items: center;
}

.blog-pair .blog-card .blog-card__image {
  aspect-ratio: 1;
  width: 140px;
  flex-shrink: 0;
  transform: none;
}

.blog-pair .blog-card:hover .blog-card__image {
  transform: none;
}

.blog-pair .blog-card .blog-card__title {
  font-size: 20px;
}

/* ----- Blog pagination ----- */

.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline-2);
}

.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  text-decoration: none;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.blog-pagination a:hover {
  border-color: var(--ink);
}

.blog-pagination .current {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.blog-pagination .dots {
  color: var(--ink-3);
  border: none;
  background: none;
  min-width: auto;
  padding: 0 4px;
}

.blog-pagination__summary {
  text-align: center;
  margin-top: 14px;
  font-size: 12px;
  color: var(--ink-3);
}

.blog-pagination__summary strong {
  color: var(--ink);
  font-weight: 500;
}

/* ----- Empty state ----- */

.blog-empty {
  padding: 80px 0;
  text-align: center;
}

.blog-empty p {
  color: var(--ink-2);
  font-size: 15px;
  margin: 0 0 24px;
}

/* ----- Responsive ----- */

@media (max-width: 1024px) {
  .featured-post {
    grid-template-columns: 1fr;
  }

  .featured-post .featured-post__image {
    min-height: 280px;
  }

  .featured-post .featured-post__body {
    padding: 32px;
  }

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

  .blog-pair {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .blog-header h1 {
    font-size: clamp(42px, 10vw, 64px);
  }

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

  .blog-pair .blog-card {
    flex-direction: column;
  }

  .blog-pair .blog-card .blog-card__image {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .featured-post .featured-post__body {
    padding: 24px;
  }
}

/* ===================================================================
   Blog post (single.php) styles
   =================================================================== */

/* ----- Post header ----- */

.post-header {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--hairline-2);
}

.post-header .meta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 24px;
}

.post-header .cat-pill {
  font-size: 10.5px;
}

.post-header h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6.4vw, 100px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  max-width: 22ch;
}

.post-header h1 em {
  font-style: italic;
  color: var(--ink-2);
}

.post-header .deck {
  margin: 24px 0 0;
  max-width: 60ch;
  color: var(--ink-2);
  font-size: 19px;
  line-height: 1.55;
  font-family: var(--serif);
  font-weight: 400;
}

.post-header .byline {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline-2);
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-2);
}

.post-header .byline .byline-author {
  display: flex;
  gap: 12px;
  align-items: center;
}

.post-header .byline .avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--summer-2);
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px oklch(0 0 0 / 0.10);
}

.post-header .byline .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-header .byline strong {
  color: var(--ink);
  font-weight: 500;
}

.post-header .byline .author-role {
  font-size: 11.5px;
  color: var(--ink-3);
  margin-top: 2px;
}

.post-header .byline .share {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

/* ----- Post hero image ----- */

.post-hero-image {
  aspect-ratio: 21 / 9;
  border-radius: 6px;
  margin: 32px 0 56px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--hairline);
  background: var(--paper-2);
}

.post-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder when no featured image */
.post-hero-image.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.post-hero-image .caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: var(--paper);
  padding: 6px 10px;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ----- Post grid: content + sidebar ----- */

.post-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 64px;
  align-items: start;
  padding-bottom: 96px;
}

/* ----- Post prose (article body) ----- */

.post-prose {
  max-width: 64ch;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
}

.post-prose > p:first-child::first-letter {
  font-family: var(--serif);
  float: left;
  font-size: 64px;
  line-height: 0.85;
  padding: 6px 12px 0 0;
  color: var(--ink);
}

.post-prose h2 {
  margin: 56px 0 16px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.post-prose h3 {
  margin: 36px 0 12px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.15;
  color: var(--ink);
}

.post-prose p {
  margin: 0 0 22px;
}

.post-prose ul {
  margin: 0 0 22px;
  padding-left: 0;
  list-style: none;
}

.post-prose ul li {
  padding-left: 28px;
  margin: 8px 0;
  position: relative;
}

.post-prose ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--ink-3);
}

.post-prose strong {
  color: var(--ink);
  font-weight: 500;
}

.post-prose em {
  font-style: italic;
}

.post-prose a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-prose blockquote {
  margin: 36px 0;
  padding: 0 0 0 24px;
  border-left: 2px solid var(--ink);
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.3;
  color: var(--ink);
  font-weight: 400;
}

.post-prose blockquote .attr {
  display: block;
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.post-prose figure {
  margin: 36px 0;
}

.post-prose figure img,
.post-prose figure .post-figure__image {
  aspect-ratio: 16 / 9;
  border-radius: 3px;
  border: 1px solid var(--hairline);
  width: 100%;
  object-fit: cover;
  display: block;
}

.post-prose figure figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--ink-3);
  font-style: italic;
}

.post-prose hr {
  border: 0;
  border-top: 1px solid var(--hairline-2);
  margin: 40px 0;
}

.post-prose .post-footer-note {
  font-size: 14px;
  color: var(--ink-3);
  font-style: italic;
}

/* ----- Inline product embed ----- */

.inline-product {
  margin: 36px 0;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: var(--paper-2);
  border-radius: 4px;
  border: 1px solid var(--hairline-2);
  text-decoration: none;
  color: inherit;
}

.inline-product__image {
  aspect-ratio: 4 / 5;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--hairline-2);
  background: var(--paper-3);
}

.inline-product__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.inline-product__brand {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.inline-product__name {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.1;
  margin-top: 4px;
  color: var(--ink);
}

.inline-product__meta {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.inline-product__meta .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--s2, var(--summer-2));
  flex-shrink: 0;
}

.inline-product__price {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  white-space: nowrap;
}

/* ----- Sidebar ----- */

.post-side {
  position: sticky;
  top: 84px;
}

.side-section {
  padding: 0 0 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--hairline-2);
}

.side-section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.side-section .side-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}

/* Author card in sidebar */

.side-author {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline-2);
  margin-bottom: 16px;
}

.side-author .avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--summer-2);
  flex-shrink: 0;
  overflow: hidden;
}

.side-author .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.side-author .author-name {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.1;
  color: var(--ink);
}

.side-author .author-role {
  font-size: 11.5px;
  color: var(--ink-3);
  margin-top: 2px;
}

.side-author-bio {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
}

.side-author-bio a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Products in sidebar */

.side-product {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline-2);
  text-decoration: none;
  color: inherit;
}

.side-product:last-of-type {
  border-bottom: 0;
}

.side-product__image {
  aspect-ratio: 4 / 5;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--hairline-2);
  background: var(--paper-2);
}

.side-product__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.side-product__name {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.2;
  color: var(--ink);
}

.side-product__row {
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 2px;
  display: flex;
  gap: 6px;
  align-items: center;
}

.side-product__price {
  color: var(--ink);
  font-weight: 500;
}

.side-cta {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}

/* Table of contents */

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-list a {
  font-size: 13px;
  color: var(--ink-2);
  padding-left: 12px;
  border-left: 1px solid var(--hairline-2);
  line-height: 1.4;
  text-decoration: none;
  transition: color 140ms ease, border-left-color 140ms ease;
}

.toc-list a:hover,
.toc-list a.is-active {
  color: var(--ink);
  border-left-color: var(--ink);
}

.toc-list a.h3 {
  padding-left: 24px;
  font-size: 12px;
  color: var(--ink-3);
}

/* Newsletter form in sidebar */

.side-newsletter-form {
  display: flex;
  gap: 0;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 4px;
}

.side-newsletter-form input[type="email"] {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 0 14px;
  font-size: 13px;
  font-family: var(--sans);
  color: var(--ink);
}

.side-newsletter-blurb {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 12px;
}

/* ----- Related articles strip ----- */

.related-articles {
  padding: 64px 0;
  border-top: 1px solid var(--hairline-2);
}

.related-articles .related-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.related-articles h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.related-articles h2 em {
  font-style: italic;
  color: var(--ink-2);
}

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

.related-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.related-card .related-card__image {
  aspect-ratio: 4 / 3;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--hairline-2);
  background: var(--paper-2);
  transition: transform 200ms ease;
}

.related-card:hover .related-card__image {
  transform: translateY(-3px);
}

.related-card .related-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.related-card .related-card__cat {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.related-card .related-card__title {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
  font-weight: 400;
}

.related-card .related-card__meta {
  font-size: 12px;
  color: var(--ink-3);
}

/* ----- Post responsive ----- */

@media (max-width: 1024px) {
  .post-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .post-side {
    position: static;
  }

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

@media (max-width: 720px) {
  .post-header h1 {
    font-size: clamp(40px, 10vw, 72px);
  }

  .post-hero-image {
    margin-bottom: 36px;
  }

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

  .inline-product {
    grid-template-columns: 80px 1fr;
  }

  .inline-product__price {
    grid-column: 2;
  }
}
