.voice-blog {
  --reading-width: 48rem;
}

.blog-languages {
  gap: clamp(.7rem, 2vw, 1.4rem);
}

.blog-languages a {
  display: grid;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
}

.blog-languages a[aria-current="page"],
.blog-languages a:hover {
  color: var(--blue-hover);
  text-decoration: underline;
  text-underline-offset: .25em;
}

.blog-index,
.blog-article {
  padding-block: clamp(2rem, 5vw, 4rem);
}

.blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.blog-hero > div {
  padding: clamp(1.5rem, 4.5vw, 4.1rem);
}

.blog-hero h1,
.blog-article h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5.1vw, 4.6rem);
  line-height: 1.07;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.blog-article h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.85rem);
}

.blog-hero p {
  max-width: 43ch;
  margin-top: .9rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.21rem);
}

.blog-hero > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 15rem;
  object-fit: cover;
  object-position: center 45%;
}

.blog-group {
  margin-top: clamp(2rem, 5vw, 4.25rem);
}

.blog-group h2,
.blog-prose h2 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  letter-spacing: -.04em;
  line-height: 1.18;
  text-wrap: balance;
}

.blog-entries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.blog-entry {
  display: block;
  height: 100%;
  padding: clamp(1rem, 2.6vw, 1.7rem);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.blog-entry h3 {
  color: var(--blue-hover);
  font-size: 1.16rem;
  line-height: 1.33;
  letter-spacing: -.015em;
}

.blog-entry p {
  margin-top: .5rem;
  color: var(--muted);
  font-size: .95rem;
}

.blog-entry:hover {
  border-color: var(--blue);
}

.blog-entry:hover h3 {
  text-decoration: underline;
  text-underline-offset: .15em;
}

.blog-article {
  max-width: 67rem;
}

.blog-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--blue-hover);
  text-decoration: underline;
  text-underline-offset: .18em;
}

.blog-article-title {
  max-width: calc(var(--reading-width) + 3rem);
  padding-block: .55rem 1.35rem;
}

.blog-meta {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .9rem;
  color: var(--muted);
  font-size: .9rem;
}

.blog-reading {
  display: grid;
  grid-template-columns: minmax(0, var(--reading-width)) minmax(0, 13.5rem);
  gap: clamp(1.5rem, 4vw, 4.25rem);
  align-items: start;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.blog-contents {
  display: block;
  grid-column: 2;
  position: sticky;
  top: 1rem;
  padding: .9rem 0 0 1rem;
  border-left: 1px solid var(--line);
}

.blog-contents > p {
  color: var(--muted);
}

.blog-contents ul {
  padding: 0;
  margin: .4rem 0 0;
  list-style: none;
}

.blog-contents a {
  display: block;
  padding-block: .4rem;
  line-height: 1.35;
}

.blog-prose {
  grid-column: 1;
  grid-row: 1;
  font-size: clamp(1.03rem, 1.5vw, 1.14rem);
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.blog-prose > * + * {
  margin-top: 1rem;
}

.blog-prose h2 {
  margin-top: 2.2rem;
  scroll-margin-top: 1rem;
}

.blog-prose ol {
  padding-left: 1.5rem;
}

.blog-prose li + li {
  margin-top: .5rem;
}

.blog-prose a:not(.primary),
.blog-contents a {
  color: var(--blue-hover);
  text-decoration: underline;
  text-underline-offset: .15em;
}

.blog-prose figure {
  margin: 1.35rem 0;
}

.blog-prose figure img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.blog-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.blog-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: .93rem;
  line-height: 1.55;
}

.blog-table th,
.blog-table td {
  border-bottom: 1px solid var(--line);
  padding: .7rem .85rem;
  text-align: left;
  vertical-align: top;
}

.blog-table-label {
  display: none;
}

.blog-table thead {
  background: #eaf1fc;
}

.blog-table tbody tr:last-child > * {
  border-bottom: 0;
}

.blog-cta {
  margin-top: 1.65rem;
}

.blog-cta .primary {
  width: fit-content;
  text-align: center;
}

.voice-blog footer {
  border-top: 1px solid var(--line);
}

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

  .blog-reading {
    display: block;
  }

  .blog-contents {
    position: static;
    padding: 0 0 .8rem;
    margin-bottom: 1.1rem;
    border: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 600px) {
  .blog-hero,
  .blog-entries {
    grid-template-columns: 1fr;
  }

  .blog-hero > img {
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 2 / 1;
  }
}

@media (max-width: 600px) {
  .blog-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .blog-table table,
  .blog-table tbody,
  .blog-table tr,
  .blog-table th,
  .blog-table td {
    display: block;
  }

  .blog-table tbody th {
    border: 0;
    background: #eaf1fc;
  }

  .blog-table-label {
    display: block;
    margin-bottom: .2rem;
    font-weight: 650;
  }

  .blog-table td:last-child {
    border-bottom: 0;
  }
}
