/* ── Glupac blog ──────────────────────────────────────────────
   Hand-written to match the site's existing component CSS in
   base.html. Brand tokens: #2d388c navy, #47a33d green.
   ──────────────────────────────────────────────────────────── */

.blog-shell {
  --blog-navy: #2d388c;
  --blog-green: #47a33d;
  --blog-ink: #1a1a2e;
  --blog-muted: #4a5565;
  --blog-line: #e5e7eb;
  --blog-surface: #ffffff;
  --blog-elevation: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.1);
  --blog-elevation-hover: 0 18px 32px -8px rgba(15, 23, 42, 0.18);
  background: #f6f7fb;
  font-family: "Inter", sans-serif;
  padding: 64px 0 88px;
}

.blog-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .blog-container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (min-width: 1024px) {
  .blog-container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (min-width: 1280px) {
  .blog-container {
    padding-left: 64px;
    padding-right: 64px;
  }
}

/* ── Toolbar: search + category pills ─────────────────────── */

.blog-toolbar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.blog-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 0 6px 0 16px;
  height: 52px;
  border: 1px solid var(--blog-line);
  border-radius: 999px;
  background: var(--blog-surface);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.blog-search:focus-within {
  border-color: var(--blog-navy);
  box-shadow: 0 0 0 3px rgba(45, 56, 140, 0.12);
}

.blog-search__icon {
  flex: none;
  width: 18px;
  height: 18px;
  color: #9aa3b8;
}

.blog-search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--blog-ink);
  font: inherit;
  font-size: 15px;
  outline: none;
}

.blog-search__input::placeholder {
  color: #9aa3b8;
}

.blog-search__submit {
  flex: none;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--blog-navy);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 160ms ease;
}

.blog-search__submit:hover {
  background: #25307c;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.blog-filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid #d1d5dc;
  border-radius: 999px;
  background: var(--blog-surface);
  color: var(--blog-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.blog-filter:hover {
  border-color: var(--blog-navy);
  color: var(--blog-navy);
}

.blog-filter--active {
  border-color: var(--blog-navy);
  background: var(--blog-navy);
  color: #fff;
}

.blog-filter__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(45, 56, 140, 0.08);
  color: inherit;
  font-size: 12px;
  font-weight: 600;
}

.blog-filter--active .blog-filter__count {
  background: rgba(255, 255, 255, 0.22);
}

/* ── Active-filter summary row ────────────────────────────── */

.blog-resultbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--blog-line);
}

.blog-resultbar__text {
  margin: 0;
  color: var(--blog-muted);
  font-size: 15px;
  line-height: 1.5;
}

.blog-resultbar__text strong {
  color: var(--blog-ink);
  font-weight: 600;
}

.blog-resultbar__clear {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blog-navy);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.blog-resultbar__clear:hover {
  text-decoration: underline;
}

/* ── Featured post ────────────────────────────────────────── */

.blog-featured {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 0;
  overflow: hidden;
  margin-bottom: 48px;
  border-radius: 18px;
  background: var(--blog-surface);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--blog-elevation);
  transition: box-shadow 260ms ease, transform 260ms ease;
}

.blog-featured:hover {
  box-shadow: var(--blog-elevation-hover);
  transform: translateY(-3px);
}

.blog-featured__media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: #eef1f8;
}

.blog-featured__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.blog-featured:hover .blog-featured__image {
  transform: scale(1.04);
}

.blog-featured__flag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--blog-green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-featured__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 44px 48px;
}

.blog-featured__title {
  margin: 0;
  color: var(--blog-ink);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.blog-featured__excerpt {
  margin: 0;
  color: var(--blog-muted);
  font-size: 16px;
  line-height: 1.65;
}

.blog-featured__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: var(--blog-navy);
  font-size: 15px;
  font-weight: 600;
}

.blog-featured__more svg,
.blog-featured__more i {
  width: 18px;
  height: 18px;
  transition: transform 220ms ease;
}

.blog-featured:hover .blog-featured__more svg,
.blog-featured:hover .blog-featured__more i {
  transform: translateX(4px);
}

/* ── Card grid ────────────────────────────────────────────── */

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

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background: var(--blog-surface);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--blog-elevation);
  transition: box-shadow 260ms ease, transform 260ms ease;
}

.blog-card:hover {
  box-shadow: var(--blog-elevation-hover);
  transform: translateY(-4px);
}

.blog-card__media {
  position: relative;
  height: 208px;
  flex: none;
  overflow: hidden;
  background: #eef1f8;
}

.blog-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.blog-card:hover .blog-card__image {
  transform: scale(1.05);
}

.blog-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2d388c 0%, #3b49ab 55%, #47a33d 100%);
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-card__chip {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--blog-navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.blog-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px 24px;
}

.blog-card__title {
  margin: 0;
  color: var(--blog-ink);
  font-size: 19px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.blog-card:hover .blog-card__title {
  color: var(--blog-navy);
}

.blog-card__excerpt {
  margin: 0;
  color: var(--blog-muted);
  font-size: 14px;
  line-height: 1.6;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #f1f3f8;
  color: #6b7488;
  font-size: 13px;
}

.blog-card__meta-dot {
  color: #c7ccd9;
}

/* The featured card already has a divider above its meta row. */
.blog-card__meta--bare {
  padding-top: 0;
  border-top: 0;
}

/* ── Avatars ──────────────────────────────────────────────── */

.blog-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blog-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  overflow: hidden;
}

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

.blog-avatar--lg {
  width: 56px;
  height: 56px;
  font-size: 18px;
}

/* ── Empty state ──────────────────────────────────────────── */

.blog-empty {
  padding: 72px 24px;
  border: 1px dashed #d1d5dc;
  border-radius: 16px;
  background: var(--blog-surface);
  text-align: center;
}

.blog-empty__title {
  margin: 0 0 8px;
  color: var(--blog-ink);
  font-size: 20px;
  font-weight: 650;
}

.blog-empty__text {
  margin: 0 auto;
  max-width: 460px;
  color: var(--blog-muted);
  font-size: 15px;
  line-height: 1.6;
}

.blog-empty__text code {
  padding: 2px 6px;
  border-radius: 5px;
  background: #f1f3f8;
  font-size: 13px;
}

/* ── Pagination ───────────────────────────────────────────── */

.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.blog-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #d1d5dc;
  border-radius: 10px;
  background: var(--blog-surface);
  color: var(--blog-muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.blog-pagination__link:hover {
  border-color: var(--blog-navy);
  color: var(--blog-navy);
}

.blog-pagination__link--active {
  border-color: var(--blog-navy);
  background: var(--blog-navy);
  color: #fff;
}

.blog-pagination__link--disabled {
  opacity: 0.45;
  pointer-events: none;
}

.blog-pagination__gap {
  padding: 0 4px;
  color: #9aa3b8;
}

/* ── Detail page ──────────────────────────────────────────── */

.blog-article {
  --blog-navy: #2d388c;
  --blog-green: #47a33d;
  --blog-ink: #1a1a2e;
  --blog-muted: #4a5565;
  --blog-line: #e5e7eb;
  --blog-elevation: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.1);
  --blog-elevation-hover: 0 18px 32px -8px rgba(15, 23, 42, 0.18);
  --blog-surface: #ffffff;
  background: #fff;
  font-family: "Inter", sans-serif;
  padding: 36px 0 0;
}

.blog-article__inner {
  max-width: 860px;
  margin: 0 auto;
}

.blog-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  color: #6b7488;
  font-size: 14px;
}

.blog-breadcrumb a {
  color: var(--blog-navy);
  font-weight: 600;
  text-decoration: none;
}

.blog-breadcrumb a:hover {
  text-decoration: underline;
}

.blog-breadcrumb__sep {
  color: #c7ccd9;
}

.blog-breadcrumb__current {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blog-article__chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(45, 56, 140, 0.08);
  color: var(--blog-navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.blog-article__chip:hover {
  background: rgba(45, 56, 140, 0.14);
}

.blog-draft-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 12px 16px;
  border: 1px solid #fde68a;
  border-radius: 12px;
  background: #fffbeb;
  color: #92400e;
  font-size: 14px;
  font-weight: 600;
}

.blog-article__title {
  margin: 18px 0 0;
  color: var(--blog-ink);
  font-size: 42px;
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.blog-article__standfirst {
  margin: 18px 0 0;
  color: var(--blog-muted);
  font-size: 19px;
  line-height: 1.65;
}

.blog-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--blog-line);
  color: #6b7488;
  font-size: 14px;
}

.blog-article__meta-name {
  color: var(--blog-ink);
  font-weight: 600;
}

.blog-article__cover {
  margin: 36px 0 8px;
  overflow: hidden;
  border-radius: 18px;
  background: #eef1f8;
  box-shadow: var(--blog-elevation);
}

.blog-article__cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Rich text from the TinyMCE admin editor. */
.blog-prose {
  margin-top: 36px;
  color: #2f3545;
  font-size: 17.5px;
  line-height: 1.78;
}

.blog-prose > *:first-child {
  margin-top: 0;
}

.blog-prose p {
  margin: 0 0 1.35em;
}

.blog-prose h2 {
  margin: 2.1em 0 0.7em;
  color: var(--blog-ink);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.blog-prose h3 {
  margin: 1.8em 0 0.6em;
  color: var(--blog-ink);
  font-size: 21px;
  font-weight: 650;
  line-height: 1.35;
}

.blog-prose h4 {
  margin: 1.6em 0 0.5em;
  color: var(--blog-ink);
  font-size: 18px;
  font-weight: 650;
}

.blog-prose a {
  color: var(--blog-navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-prose a:hover {
  color: #25307c;
}

.blog-prose strong {
  color: var(--blog-ink);
  font-weight: 650;
}

.blog-prose ul,
.blog-prose ol {
  margin: 0 0 1.35em;
  padding-left: 1.3em;
}

.blog-prose li {
  margin-bottom: 0.5em;
}

.blog-prose ul li::marker {
  color: var(--blog-green);
}

.blog-prose ol li::marker {
  color: var(--blog-navy);
  font-weight: 600;
}

.blog-prose blockquote {
  margin: 1.8em 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--blog-green);
  color: var(--blog-ink);
  font-size: 19px;
  font-style: italic;
  line-height: 1.6;
}

.blog-prose blockquote p:last-child {
  margin-bottom: 0;
}

.blog-prose img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.8em 0;
  border-radius: 14px;
}

.blog-prose figure {
  margin: 1.8em 0;
}

.blog-prose figcaption {
  margin-top: 10px;
  color: #6b7488;
  font-size: 14px;
  text-align: center;
}

.blog-prose hr {
  margin: 2.4em 0;
  border: 0;
  border-top: 1px solid var(--blog-line);
}

.blog-prose code {
  padding: 2px 6px;
  border-radius: 5px;
  background: #f1f3f8;
  color: #1f2937;
  font-size: 0.9em;
}

.blog-prose pre {
  margin: 1.6em 0;
  padding: 18px 20px;
  overflow-x: auto;
  border-radius: 12px;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.6;
}

.blog-prose pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}

.blog-prose table {
  width: 100%;
  margin: 1.8em 0;
  border-collapse: collapse;
  font-size: 15px;
}

.blog-prose th,
.blog-prose td {
  padding: 12px 14px;
  border: 1px solid var(--blog-line);
  text-align: left;
}

.blog-prose th {
  background: #f6f7fb;
  color: var(--blog-ink);
  font-weight: 650;
}

/* ── Tags, share, author box ──────────────────────────────── */

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--blog-line);
}

.blog-tags__label {
  color: #6b7488;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--blog-line);
  border-radius: 999px;
  background: #fff;
  color: var(--blog-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease;
}

.blog-tag:hover {
  border-color: var(--blog-navy);
  color: var(--blog-navy);
}

.blog-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.blog-share__label {
  margin-right: 2px;
  color: #6b7488;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--blog-line);
  border-radius: 10px;
  background: #fff;
  color: var(--blog-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.blog-share__btn:hover {
  border-color: var(--blog-navy);
  background: rgba(45, 56, 140, 0.04);
  color: var(--blog-navy);
}

.blog-share__btn svg,
.blog-share__btn i {
  width: 16px;
  height: 16px;
}

.blog-author-box {
  display: flex;
  gap: 18px;
  margin-top: 40px;
  padding: 26px 28px;
  border: 1px solid var(--blog-line);
  border-radius: 16px;
  background: #f6f7fb;
}

.blog-author-box__name {
  margin: 0;
  color: var(--blog-ink);
  font-size: 17px;
  font-weight: 650;
}

.blog-author-box__role {
  margin: 2px 0 0;
  color: var(--blog-navy);
  font-size: 13px;
  font-weight: 600;
}

.blog-author-box__bio {
  margin: 12px 0 0;
  color: var(--blog-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.blog-author-box__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--blog-navy);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.blog-author-box__link:hover {
  text-decoration: underline;
}

/* ── Prev / next ──────────────────────────────────────────── */

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

.blog-adjacent__link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px;
  border: 1px solid var(--blog-line);
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.blog-adjacent__link:hover {
  border-color: rgba(45, 56, 140, 0.4);
  box-shadow: var(--blog-elevation);
  transform: translateY(-2px);
}

.blog-adjacent__link--next {
  /* Reason: pinned to column 2 so it stays right-aligned with no previous post. */
  grid-column: 2;
  text-align: right;
  align-items: flex-end;
}

.blog-adjacent__kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6b7488;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-adjacent__title {
  color: var(--blog-ink);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
}

.blog-adjacent__link:hover .blog-adjacent__title {
  color: var(--blog-navy);
}

/* ── Related posts ────────────────────────────────────────── */

.blog-related {
  margin-top: 72px;
  padding: 64px 0 80px;
  background: #f6f7fb;
  font-family: "Inter", sans-serif;
}

.blog-related__header {
  margin-bottom: 32px;
  text-align: center;
}

.blog-section-title {
  margin: 0;
  font-family: "Hatsch Sans PERSONAL USE ONLY", sans-serif;
  font-size: 34px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.369px;
  text-transform: uppercase;
}

.blog-section-title__prefix {
  color: #2d388c;
}

.blog-section-title__accent {
  margin-left: 8px;
  color: #47a33d;
}

.blog-section-subtitle {
  margin: 12px auto 0;
  max-width: 560px;
  color: #4a5565;
  font-size: 17px;
  line-height: 1.6;
}

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 1100px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

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

  .blog-featured__media {
    min-height: 280px;
  }

  .blog-featured__body {
    padding: 32px 30px 36px;
  }

  .blog-featured__title {
    font-size: 27px;
  }
}

@media (max-width: 760px) {
  .blog-shell {
    padding: 44px 0 64px;
  }

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

  .blog-filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin: 0 -16px;
    padding: 2px 16px 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .blog-filters::-webkit-scrollbar {
    display: none;
  }

  .blog-filter {
    flex: none;
  }

  .blog-article {
    padding-top: 24px;
  }

  .blog-article__title {
    font-size: 30px;
  }

  .blog-article__standfirst {
    font-size: 17px;
  }

  .blog-article__cover {
    margin: 26px 0 4px;
    border-radius: 14px;
  }

  .blog-prose {
    margin-top: 28px;
    font-size: 16.5px;
  }

  .blog-prose h2 {
    font-size: 23px;
  }

  .blog-prose h3 {
    font-size: 19px;
  }

  .blog-author-box {
    flex-direction: column;
    gap: 14px;
    padding: 22px 20px;
  }

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

  .blog-adjacent__link--next {
    grid-column: 1;
    text-align: left;
    align-items: flex-start;
  }

  .blog-related {
    margin-top: 48px;
    padding: 44px 0 56px;
  }

  .blog-section-title {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-card,
  .blog-card__image,
  .blog-featured,
  .blog-featured__image,
  .blog-adjacent__link,
  .blog-featured__more svg,
  .blog-featured__more i {
    transition: none;
  }

  .blog-card:hover,
  .blog-featured:hover,
  .blog-adjacent__link:hover {
    transform: none;
  }

  .blog-card:hover .blog-card__image,
  .blog-featured:hover .blog-featured__image {
    transform: none;
  }
}
