/*
 * Heading semantics, 25.11.2026 (ClickUp 1dfrev93q65).
 * Only the tag of these elements changed; each rule repeats the typography the
 * element had under its former tag, so the pages look exactly as before.
 * Sources: resources/css/ds-pages.css (.vl-prose h2/h4), public/assets/vk-editorial/
 * editorial.css (.vl-reader-prose h2-h4), resources/css/app.css (.blog-content h3,
 * .expanded-practice-content h3), content-pages.css and design-pages.css (hover).
 */

/* Rich text: a phone number, an empty line or a call-out title printed as <p>. */
.vl-ds .vl-prose .vl-hd--h2 {
  margin-top: 44px;
  font-family: var(--vl-font-display);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: var(--vl-ls-display);
  color: var(--vl-ink);
  text-wrap: balance;
}
.vl-ds .vl-prose .vl-hd--h3 {
  margin-top: 32px;
  font-family: var(--vl-font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: var(--vl-ls-h3);
  color: var(--vl-ink);
}
.vl-ds .vl-prose .vl-hd--h4 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--vl-ink);
}
.vl-ds .vl-prose > .vl-hd--h2:first-child,
.vl-ds .vl-prose > .vl-hd--h3:first-child {
  margin-top: 0;
}
.vl-ds .vl-prose .vl-hd--h2 + *,
.vl-ds .vl-prose .vl-hd--h3 + * {
  margin-top: 12px;
}
@media (max-width: 760px) {
  .vl-ds .vl-prose .vl-hd--h2 {
    font-size: 24px;
  }
}
.vl-reader .vl-reader-prose :is(.vl-hd--h2, .vl-hd--h3, .vl-hd--h4) {
  color: var(--vl-ink);
  text-wrap: pretty;
}
.vl-reader .vl-reader-prose :is(.vl-hd--h2, .vl-hd--h3) {
  margin-bottom: 12px;
}
.vl-reader .vl-reader-prose .vl-hd--h2 {
  font: 800 28px/1.2 var(--vl-font-display);
}
.vl-reader .vl-reader-prose .vl-hd--h3 {
  font: 700 20px/1.25 var(--vl-font-display);
}

/* Blog listings: card titles are H2 there (H3 under "More from …"). */
.blog-content .blog-card-title {
  font-size: 16.5px;
  line-height: 21px;
  font-weight: 600;
}
.blog-content .blog-card-title a {
  transition: color var(--hover-duration) ease;
}
.blog-content .blog-card-title a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.blog-page .blog-card .blog-card-title a {
  transition: color 0.15s ease, text-decoration-thickness 0.15s ease;
}
.blog-page .blog-card .blog-card-title a:hover,
.blog-page .blog-card .blog-card-title a:focus-visible {
  color: var(--primary);
}
@media (max-width: 900px) {
  .blog-content .blog-card-title {
    font-size: 20px;
    line-height: 26px;
  }
}
@media (max-width: 440px) {
  .blog-content .blog-card-title {
    font-size: 22px;
    line-height: 28px;
  }
}
@media (min-width: 1280px) {
  .blog-content .blog-card-title {
    position: relative;
    top: -2px;
  }
}

/* Category pages: practice card titles are H2 when they open the page. */
.expanded-practice-content .practice-category-title {
  font: 700 21px/27px var(--heading-font);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.practice-category-card .practice-category-title a:hover,
.practice-category-card .practice-category-title a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}
