.blog-listing-section,
.blog-article-section {
  background:
    radial-gradient(circle at 12% 16%, rgba(122, 62, 78, 0.07), transparent 28%),
    linear-gradient(180deg, #f6f1e8 0%, #f4eee4 100%);
}

body[data-page-variant="blog_index"] .subpage-shell .hero-title,
body[data-page-variant="blog_article"] .subpage-shell .hero-title {
  max-width: 18ch;
}

body[data-page-variant="blog_article"] .hero-media {
  background-size: cover;
  background-position: center;
}

.blog-listing-inner,
.blog-article-shell {
  display: grid;
  gap: clamp(1.35rem, 2.6vw, 2rem);
}

.blog-filter-panel {
  display: grid;
  grid-template-columns: minmax(11rem, 1.1fr) repeat(2, minmax(9rem, 0.75fr)) minmax(11rem, 0.95fr) auto;
  gap: 0.8rem;
  align-items: end;
  width: min(100%, 68rem);
  margin: 0 auto;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(19, 32, 51, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(246, 240, 231, 0.72)),
    rgba(247, 242, 234, 0.9);
  box-shadow: 0 18px 48px rgba(17, 26, 42, 0.06);
}

.blog-filter-panel label {
  display: grid;
  gap: 0.35rem;
}

.blog-filter-panel label span {
  color: rgba(19, 32, 51, 0.52);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-filter-panel select,
.blog-filter-panel input {
  width: 100%;
  min-height: 2.75rem;
  padding: 0 0.8rem;
  border: 1px solid rgba(19, 32, 51, 0.12);
  color: rgba(19, 32, 51, 0.9);
  background: rgba(255, 255, 255, 0.48);
  font: inherit;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.blog-filter-panel select:focus,
.blog-filter-panel input:focus {
  outline: 0;
  border-color: rgba(53, 93, 148, 0.42);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 0 0.2rem rgba(53, 93, 148, 0.09);
}

.blog-filter-actions {
  display: flex;
  gap: 0.55rem;
}

.blog-filter-actions .hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 7.8rem;
  min-height: 2.75rem;
  line-height: 1;
  text-align: center;
}

.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: min(100%, 70rem);
  margin: 0 auto;
}

.blog-card {
  min-width: 0;
}

.blog-card-link {
  display: grid;
  min-height: 100%;
  border: 1px solid rgba(19, 32, 51, 0.1);
  background:
    linear-gradient(180deg, rgba(252, 249, 243, 0.98), rgba(244, 238, 229, 0.96)),
    rgba(247, 242, 234, 0.98);
  box-shadow: 0 18px 48px rgba(17, 26, 42, 0.05);
  overflow: hidden;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.blog-card-link:hover,
.blog-card-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(53, 93, 148, 0.2);
  box-shadow: 0 24px 60px rgba(17, 26, 42, 0.1);
}

.blog-card-media {
  display: block;
  position: relative;
  height: clamp(9.5rem, 16vw, 12rem);
  overflow: hidden;
}

.blog-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 15, 25, 0.1), rgba(10, 15, 25, 0.38));
}

.blog-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms cubic-bezier(0.2, 0.72, 0.16, 1);
}

.blog-card-link:hover .blog-card-media img,
.blog-card-link:focus-visible .blog-card-media img {
  transform: scale(1.045);
}

.blog-card-content {
  display: grid;
  gap: 0.72rem;
  padding: clamp(1rem, 2vw, 1.25rem);
}

.blog-card-meta,
.blog-card-footer,
.blog-article-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.48rem 0.7rem;
  color: rgba(19, 32, 51, 0.54);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-card-title {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.08;
  font-weight: 400;
  color: rgba(19, 32, 51, 0.98);
}

.blog-card-excerpt {
  color: rgba(19, 32, 51, 0.66);
  font-size: 0.9rem;
  line-height: 1.58;
}

.blog-card-footer {
  margin-top: 0.1rem;
  color: rgba(19, 32, 51, 0.62);
}

.blog-length-dots {
  display: inline-flex;
  gap: 0.22rem;
}

.blog-length-dots span {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: rgba(19, 32, 51, 0.16);
}

.blog-length-dots span.is-active {
  background: rgba(53, 93, 148, 0.72);
  box-shadow: 0 0 0 0.22rem rgba(53, 93, 148, 0.08);
}

.blog-empty-state {
  width: min(100%, 44rem);
  margin: 0 auto;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-top: 1px solid rgba(19, 32, 51, 0.12);
  border-bottom: 1px solid rgba(19, 32, 51, 0.12);
  text-align: center;
}

.blog-empty-state h3 {
  margin: 0 0 0.55rem;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 400;
}

.blog-empty-state p {
  margin: 0;
  color: rgba(19, 32, 51, 0.66);
  line-height: 1.58;
}

.blog-article-shell {
  width: min(100%, 62rem);
}

.blog-article-topic-heading {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  text-align: center;
}

.blog-article-meta-strip {
  justify-content: center;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(19, 32, 51, 0.1);
  border-bottom: 1px solid rgba(19, 32, 51, 0.1);
}

.blog-article-meta-strip a {
  color: rgba(42, 72, 116, 0.88);
  transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

.blog-article-meta-strip a:hover,
.blog-article-meta-strip a:focus-visible {
  color: rgba(28, 59, 103, 1);
  text-shadow: 0 0 18px rgba(53, 93, 148, 0.18);
}

.blog-toc {
  position: relative;
  width: min(100%, var(--reading-width));
  margin-inline: auto;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid rgba(19, 32, 51, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.24));
  box-shadow: 0 18px 48px rgba(17, 26, 42, 0.055);
}

.blog-toc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.blog-toc-header h2 {
  margin: 0.22rem 0 0;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 1.72rem);
  font-weight: 400;
  line-height: 1.08;
  color: rgba(19, 32, 51, 0.98);
}

.blog-toc-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0 1rem;
  border: 1px solid rgba(19, 32, 51, 0.13);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.32);
  color: rgba(19, 32, 51, 0.76);
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color var(--transition-fast),
    color var(--transition-fast),
    background var(--transition-fast),
    box-shadow var(--transition-fast);
}

.blog-toc-toggle:hover,
.blog-toc-toggle:focus-visible {
  border-color: rgba(53, 93, 148, 0.3);
  background: rgba(255, 255, 255, 0.56);
  color: rgba(19, 32, 51, 0.96);
  box-shadow: 0 0 1.2rem rgba(53, 93, 148, 0.08);
}

.blog-toc-list {
  position: relative;
  display: grid;
  gap: 0.55rem;
  max-height: 8.6rem;
  margin: 1rem 0 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  transition: max-height 720ms cubic-bezier(0.18, 0.82, 0.2, 1);
}

.blog-toc.is-expanded .blog-toc-list {
  max-height: 220rem;
}

.blog-toc.is-collapsed .blog-toc-list::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3.8rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(246, 241, 232, 0), rgba(246, 241, 232, 0.96));
}

.blog-toc-list a {
  display: block;
  padding: 0.58rem 0;
  border-bottom: 1px solid rgba(19, 32, 51, 0.08);
  color: rgba(19, 32, 51, 0.72);
  text-decoration: none;
  transition:
    color var(--transition-fast),
    border-color var(--transition-fast),
    text-shadow var(--transition-fast);
}

.blog-toc-list a:hover,
.blog-toc-list a:focus-visible {
  border-color: rgba(53, 93, 148, 0.22);
  color: rgba(19, 32, 51, 0.98);
  text-shadow: 0 0 1rem rgba(53, 93, 148, 0.12);
}

.blog-article-body {
  display: grid;
  gap: clamp(1.35rem, 2.6vw, 2rem);
  color: rgba(19, 32, 51, 0.82);
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  line-height: 1.72;
}

.blog-article-body.reveal-rise {
  opacity: 1;
  transform: none;
}

.blog-article-body h2,
.blog-article-body h3 {
  margin: 0;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-weight: 400;
  color: rgba(19, 32, 51, 0.98);
  line-height: 1.08;
  text-wrap: balance;
}

.blog-article-body h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
}

.blog-article-body h3 {
  font-size: clamp(1.16rem, 1.8vw, 1.42rem);
}

.blog-article-body > section > h2,
.blog-article-body > .blog-text-wall > h2,
.blog-article-body > .blog-next-section .section-intro,
.blog-article-body > .blog-offer-card > h2,
.blog-article-body > .blog-contact-panel > h2 {
  text-align: center;
  margin-inline: auto;
}

.blog-article-body p {
  margin: 0;
}

.blog-article-body strong,
.blog-strong {
  --strong-glow: rgba(53, 93, 148, 0.12);
  font-weight: 550;
  color: rgba(19, 32, 51, 0.86);
  background:
    linear-gradient(270deg, rgba(53, 93, 148, 0.16), rgba(53, 93, 148, 0.04)) 100% 88% / 0% 0.36em no-repeat;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  text-shadow: none;
  transition:
    background-size 920ms cubic-bezier(0.16, 0.78, 0.22, 1),
    color 560ms cubic-bezier(0.16, 0.78, 0.22, 1),
    text-shadow 780ms cubic-bezier(0.16, 0.78, 0.22, 1);
}

.blog-article-body strong.is-visible,
.blog-strong.is-visible {
  color: rgba(19, 32, 51, 0.91);
  background-size: 100% 0.36em;
  text-shadow:
    0.012em 0 0 rgba(19, 32, 51, 0.22),
    0 0 0.64rem var(--strong-glow);
}

.blog-text-wall {
  display: grid;
  gap: 0.9rem;
  width: min(100%, var(--reading-width));
  max-width: var(--reading-width);
  margin-inline: auto;
}

.blog-text-media {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(16rem, 0.85fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}

.blog-text-media > div {
  display: grid;
  gap: 0.9rem;
}

.blog-image-inline,
.blog-text-media figure,
.blog-image-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(19, 32, 51, 0.1);
  background: rgba(255, 255, 255, 0.32);
  box-shadow: 0 18px 48px rgba(17, 26, 42, 0.06);
}

.blog-image-inline img,
.blog-text-media img,
.blog-image-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-image-inline {
  height: clamp(14rem, 38vw, 24rem);
}

.blog-text-media figure {
  height: clamp(18rem, 32vw, 24rem);
}

.blog-content-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.9rem;
}

.blog-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr));
  gap: 0.9rem;
}

.blog-content-card {
  display: grid;
  grid-column: span 2;
  gap: 0.55rem;
  align-content: start;
  padding: clamp(1rem, 2vw, 1.2rem);
  border: 1px solid rgba(19, 32, 51, 0.1);
  background: rgba(255, 255, 255, 0.34);
}

.blog-content-card:nth-last-child(1):nth-child(3n + 1) {
  grid-column: 1 / -1;
}

.blog-content-card:nth-last-child(2):nth-child(3n + 1),
.blog-content-card:nth-last-child(2):nth-child(3n + 1) + .blog-content-card {
  grid-column: span 3;
}

.blog-content-card p {
  color: rgba(19, 32, 51, 0.66);
  font-size: 0.94rem;
  line-height: 1.58;
}

.blog-bullet-list {
  display: grid;
  gap: 0.75rem;
  max-width: var(--reading-width);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.blog-bullet-list li {
  position: relative;
  padding-left: 1.25rem;
}

.blog-bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.74em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(53, 93, 148, 0.58);
  box-shadow: 0 0 0 0.22rem rgba(53, 93, 148, 0.08);
}

.blog-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.35rem, 3vw, 2rem) 0.9rem;
}

.blog-timeline::before {
  display: none;
}

.blog-timeline-step {
  position: relative;
  display: grid;
  grid-column: span 3;
  align-items: flex-start;
  gap: 0.55rem;
  padding-top: 3.45rem;
}

.blog-timeline-step:nth-last-child(1):nth-child(4n + 1) {
  grid-column: 1 / -1;
}

.blog-timeline-step:nth-last-child(2):nth-child(4n + 1),
.blog-timeline-step:nth-last-child(2):nth-child(4n + 1) + .blog-timeline-step {
  grid-column: span 6;
}

.blog-timeline-step:nth-last-child(3):nth-child(4n + 1),
.blog-timeline-step:nth-last-child(3):nth-child(4n + 1) + .blog-timeline-step,
.blog-timeline-step:nth-last-child(3):nth-child(4n + 1) + .blog-timeline-step + .blog-timeline-step {
  grid-column: span 4;
}

.blog-timeline-step > span:first-child {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 1.5rem;
  padding: 0 0.45rem;
  border: 1px solid rgba(19, 32, 51, 0.09);
  color: rgba(19, 32, 51, 0.54);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.42);
}

.blog-timeline-step::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 2.24rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(19, 32, 51, 0.09), rgba(19, 32, 51, 0.18), rgba(19, 32, 51, 0.04));
}

.blog-timeline-step::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 1.82rem;
  left: 0;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(53, 93, 148, 0.34);
  background: radial-gradient(circle, rgba(53, 93, 148, 0.28), rgba(53, 93, 148, 0.06));
  box-shadow: 0 0 0 0.4rem rgba(53, 93, 148, 0.06);
  transition:
    border-color var(--transition-fast),
    background var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
}

.blog-timeline-step:hover::after,
.blog-timeline-step:focus-within::after {
  border-color: rgba(86, 135, 206, 0.72);
  background: radial-gradient(circle, rgba(91, 143, 218, 0.84), rgba(66, 116, 188, 0.2));
  box-shadow:
    0 0 0 0.46rem rgba(74, 122, 196, 0.13),
    0 0 1.4rem rgba(86, 135, 206, 0.34);
  transform: scale(1.08);
}

.blog-timeline-step h3,
.blog-timeline-step p {
  min-width: 0;
}

.blog-timeline-step h3 {
  margin-top: 0;
}

.blog-pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.blog-argument-panel {
  display: grid;
  gap: 0.85rem;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid rgba(19, 32, 51, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(246, 240, 231, 0.62)),
    rgba(247, 242, 234, 0.82);
}

.blog-argument-panel h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.blog-argument-icon {
  display: inline-grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
}

.blog-argument-panel.is-against .blog-argument-icon {
  color: #fff7f4;
  background: rgba(154, 50, 54, 0.92);
  box-shadow: 0 0 0 0.24rem rgba(154, 50, 54, 0.1);
}

.blog-argument-panel.is-for .blog-argument-icon {
  color: #f5fff8;
  background: rgba(47, 128, 83, 0.92);
  box-shadow: 0 0 0 0.24rem rgba(47, 128, 83, 0.1);
}

.blog-argument-panel ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-argument-panel li {
  position: relative;
  padding-left: 1.15rem;
  color: rgba(19, 32, 51, 0.68);
  font-size: 0.94rem;
  line-height: 1.55;
}

.blog-argument-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 999px;
  background: rgba(19, 32, 51, 0.28);
}

.blog-faq-list {
  display: grid;
  gap: 0;
  width: min(100%, var(--reading-width));
  margin: 0 auto;
  border-top: 1px solid rgba(19, 32, 51, 0.12);
}

.blog-faq-item {
  width: 100%;
  min-width: 0;
  border-bottom: 1px solid rgba(19, 32, 51, 0.12);
}

.blog-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-width: 0;
  padding: 1rem 0;
  color: rgba(19, 32, 51, 0.94);
  cursor: pointer;
  list-style: none;
}

.blog-faq-item summary::-webkit-details-marker {
  display: none;
}

.blog-faq-item summary span:first-child {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  line-height: 1.16;
}

.blog-faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 1.9rem;
  height: 1.9rem;
  border: 1px solid rgba(19, 32, 51, 0.12);
  transition:
    border-color var(--transition-fast),
    background-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.blog-faq-icon::before,
.blog-faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.78rem;
  height: 1px;
  background: rgba(19, 32, 51, 0.72);
  transform: translate(-50%, -50%);
}

.blog-faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.blog-faq-item[open] .blog-faq-icon::after {
  opacity: 0;
}

.blog-faq-item:hover .blog-faq-icon,
.blog-faq-item:focus-within .blog-faq-icon {
  border-color: rgba(53, 93, 148, 0.24);
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 1.2rem rgba(53, 93, 148, 0.1);
}

.blog-faq-answer {
  width: 100%;
  overflow: hidden;
}

.blog-faq-answer p {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 2.9rem 1.05rem 0;
  color: rgba(19, 32, 51, 0.66);
  box-sizing: border-box;
}

.blog-mark {
  --mark-color: rgba(53, 93, 148, 0.78);
  --mark-glow: rgba(53, 93, 148, 0.18);
  position: relative;
  display: inline;
  font-weight: 600;
  color: rgba(19, 32, 51, 0.98);
  background:
    linear-gradient(90deg, var(--mark-color), var(--mark-color)) 0 100% / 0% 0.12em no-repeat,
    linear-gradient(90deg, transparent, var(--mark-glow), transparent) 0 100% / 0% 0.48em no-repeat;
  text-shadow: none;
  transition:
    background-size 920ms cubic-bezier(0.18, 0.82, 0.2, 1),
    text-shadow 920ms cubic-bezier(0.18, 0.82, 0.2, 1);
}

.blog-mark.is-visible {
  background-size: 100% 0.12em, 100% 0.48em;
  text-shadow: 0 0 1rem var(--mark-glow);
}

.blog-mark.is-warm {
  --mark-color: rgba(138, 76, 73, 0.82);
  --mark-glow: rgba(138, 76, 73, 0.2);
}

.blog-mark.is-green {
  --mark-color: rgba(47, 128, 83, 0.82);
  --mark-glow: rgba(47, 128, 83, 0.18);
}

.blog-offer-card,
.blog-contact-panel {
  display: grid;
  gap: 0.85rem;
  padding: clamp(1.2rem, 2.6vw, 1.65rem);
  border: 1px solid rgba(19, 32, 51, 0.1);
  background:
    linear-gradient(180deg, rgba(252, 249, 243, 0.98), rgba(244, 238, 229, 0.96)),
    rgba(247, 242, 234, 0.98);
  box-shadow: 0 18px 48px rgba(17, 26, 42, 0.06);
}

.blog-offer-card .section-kicker,
.blog-contact-panel .section-kicker {
  margin: 0;
}

.blog-offer-card p,
.blog-contact-panel p {
  color: rgba(19, 32, 51, 0.66);
}

.blog-offer-card .section-minimal-cta {
  width: fit-content;
  min-width: 12rem;
}

.blog-next-section {
  display: grid;
  gap: 1rem;
}

.blog-next-section > .section-intro {
  margin-bottom: 0.2rem;
}

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

.blog-next-card {
  display: grid;
  gap: 0.65rem;
  align-content: start;
  min-height: 100%;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid rgba(19, 32, 51, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(246, 240, 231, 0.66)),
    rgba(247, 242, 234, 0.88);
}

.blog-next-card .section-kicker {
  margin: 0;
}

.blog-next-card p {
  color: rgba(19, 32, 51, 0.66);
  font-size: 0.94rem;
  line-height: 1.58;
}

.blog-next-card a {
  width: fit-content;
  margin-top: auto;
  color: rgba(112, 59, 71, 0.9);
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

.blog-next-card a:hover,
.blog-next-card a:focus-visible {
  color: rgba(53, 93, 148, 0.98);
}

.blog-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.blog-contact-actions .hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12rem;
}

.blog-image-grid figure {
  height: clamp(10rem, 19vw, 14rem);
}

.blog-article-return {
  display: flex;
  justify-content: center;
}

@media (max-width: 980px) {
  .blog-filter-panel,
  .blog-card-grid,
  .blog-image-grid,
  .blog-pros-cons,
  .blog-next-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-content-cards,
  .blog-timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .blog-content-card,
  .blog-content-card:nth-last-child(2):nth-child(3n + 1),
  .blog-content-card:nth-last-child(2):nth-child(3n + 1) + .blog-content-card,
  .blog-timeline-step,
  .blog-timeline-step:nth-last-child(3):nth-child(4n + 1),
  .blog-timeline-step:nth-last-child(3):nth-child(4n + 1) + .blog-timeline-step,
  .blog-timeline-step:nth-last-child(3):nth-child(4n + 1) + .blog-timeline-step + .blog-timeline-step {
    grid-column: span 2;
  }

  .blog-content-card:nth-last-child(1):nth-child(2n + 1),
  .blog-timeline-step:nth-last-child(1):nth-child(2n + 1) {
    grid-column: 1 / -1;
  }

  .blog-timeline-step:nth-last-child(2):nth-child(4n + 1),
  .blog-timeline-step:nth-last-child(2):nth-child(4n + 1) + .blog-timeline-step {
    grid-column: span 2;
  }

  .blog-filter-actions {
    grid-column: 1 / -1;
  }

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

@media (max-width: 640px) {
  .blog-filter-panel,
  .blog-card-grid,
  .blog-image-grid,
  .blog-pros-cons,
  .blog-next-grid {
    grid-template-columns: 1fr;
  }

  .blog-content-card,
  .blog-content-card:nth-last-child(1):nth-child(3n + 1),
  .blog-content-card:nth-last-child(2):nth-child(3n + 1),
  .blog-content-card:nth-last-child(2):nth-child(3n + 1) + .blog-content-card,
  .blog-timeline-step,
  .blog-timeline-step:nth-last-child(1):nth-child(4n + 1),
  .blog-timeline-step:nth-last-child(2):nth-child(4n + 1),
  .blog-timeline-step:nth-last-child(2):nth-child(4n + 1) + .blog-timeline-step,
  .blog-timeline-step:nth-last-child(3):nth-child(4n + 1),
  .blog-timeline-step:nth-last-child(3):nth-child(4n + 1) + .blog-timeline-step,
  .blog-timeline-step:nth-last-child(3):nth-child(4n + 1) + .blog-timeline-step + .blog-timeline-step {
    grid-column: 1 / -1;
  }

  .blog-toc-header {
    display: grid;
  }

  .blog-toc-toggle {
    width: 100%;
  }

  .blog-filter-actions,
  .blog-filter-actions .hero-button {
    width: 100%;
  }

  .blog-filter-actions {
    flex-direction: column;
  }
}
