.hv-sb-page {
  --hv-sb-bg: #080808;
  --hv-sb-panel: #0d0d0d;
  --hv-sb-paper: #f4f2ed;
  --hv-sb-paper-soft: #ebe9e4;
  --hv-sb-ink: #111111;
  --hv-sb-copy: #4e4e4a;
  --hv-sb-muted: #8e8e89;
  --hv-sb-line: #d1cec7;
  --hv-sb-dark-line: #292929;
  --hv-sb-red: #ed242c;
  --hv-sb-header-offset: 0px;
  --hv-sb-safe-top: clamp(116px, 8.5vw, 152px);
  position: relative;
  width: 100vw;
  max-width: none;
  margin-inline: calc(50% - 50vw);
  padding-top: max(var(--hv-sb-safe-top), calc(var(--hv-sb-header-offset) + 26px));
  overflow: clip;
  color: #f3f3ef;
  background:
    radial-gradient(circle at 84% 2%, rgba(237, 36, 44, 0.1), transparent 20%),
    var(--hv-sb-bg);
  direction: ltr;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

body.hervis-single-blog-page {
  background: var(--hv-sb-bg, #080808);
}

body.hervis-single-blog-page .hv-sb-page {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-right: calc(50% - 50vw) !important;
  margin-left: calc(50% - 50vw) !important;
}

.hv-sb-page *,
.hv-sb-page *::before,
.hv-sb-page *::after {
  box-sizing: border-box;
}

.hv-sb-page a {
  color: inherit;
  text-decoration: none;
}

.hv-sb-page img {
  max-width: 100%;
}

.hv-sb-page button,
.hv-sb-page input {
  font: inherit;
}

.hv-sb-page button {
  padding: 0;
  border: 0;
  color: inherit;
  background: none;
}

.hv-sb-page svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hv-sb-article {
  width: min(calc(100% - 80px), 1440px);
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
  border-right: 1px solid var(--hv-sb-dark-line);
  border-left: 1px solid var(--hv-sb-dark-line);
  background: var(--hv-sb-bg);
}

body.hervis-single-blog-page main.hv-sb-article {
  width: min(calc(100% - 80px), 1440px) !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  float: none !important;
  clear: both;
}

/* Vertical brand rail */
.hv-sb-rail {
  position: absolute;
  z-index: 4;
  top: calc(var(--hv-sb-header-offset) + 42px);
  bottom: 46px;
  left: max(13px, calc((100vw - 1510px) / 2));
  width: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.hv-sb-rail-dot {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  border: 1px solid var(--hv-sb-red);
  border-radius: 50%;
}

.hv-sb-rail-name {
  margin-top: 78px;
  color: #b6b6b1;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hv-sb-rail-line {
  width: 1px;
  min-height: 90px;
  margin-top: 28px;
  flex: 1;
  background: linear-gradient(var(--hv-sb-red), rgba(237, 36, 44, 0.05) 28%, rgba(120, 120, 120, 0.08));
}

/* Hero */
.hv-sb-hero {
  position: relative;
  min-height: clamp(570px, 45vw, 680px);
  display: grid;
  grid-template-columns: minmax(440px, 43%) minmax(0, 57%);
  overflow: hidden;
  border-bottom: 1px solid var(--hv-sb-dark-line);
  background: #070707;
  isolation: isolate;
}

.hv-sb-hero::after {
  content: "";
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(237, 36, 44, 0.55), transparent 72%);
  pointer-events: none;
}

.hv-sb-hero-copy {
  position: relative;
  z-index: 4;
  min-width: 0;
  padding: clamp(56px, 5.5vw, 86px) clamp(44px, 5vw, 76px) clamp(46px, 4.5vw, 68px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(110deg, rgba(6, 6, 6, 0.98) 0%, rgba(6, 6, 6, 0.96) 82%, rgba(6, 6, 6, 0.75) 100%),
    #070707;
}

.hv-sb-breadcrumb {
  position: absolute;
  top: 30px;
  left: clamp(44px, 5vw, 76px);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 88px);
  overflow: hidden;
  color: #646461;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hv-sb-breadcrumb a,
.hv-sb-breadcrumb strong {
  overflow: hidden;
  text-overflow: ellipsis;
}

.hv-sb-breadcrumb a {
  transition: color 180ms ease;
}

.hv-sb-breadcrumb a:hover,
.hv-sb-breadcrumb a:focus-visible {
  color: var(--hv-sb-red);
}

.hv-sb-breadcrumb strong {
  color: #8c8c87;
  font-weight: 600;
}

.hv-sb-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(22px, 2.2vw, 32px);
  color: var(--hv-sb-red);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.hv-sb-eyebrow i {
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, var(--hv-sb-red), transparent);
}

.hv-sb-eyebrow em {
  overflow: hidden;
  color: #7e7e7a;
  font-style: normal;
  font-weight: 550;
  letter-spacing: 0.21em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hv-sb-hero h1 {
  max-width: 650px;
  margin: 0;
  color: #f4f4f0;
  font-size: clamp(35px, 3.05vw, 25px);
  font-weight: 480;
  line-height: 1.1;
  letter-spacing: 0em;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.hv-sb-intro {
  max-width: 560px;
  margin: clamp(25px, 2.4vw, 36px) 0 0;
  color: #aaa9a5;
  font-size: 13px;
  line-height: 1.75;
}

.hv-sb-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(32px, 3vw, 46px);
  color: #91918d;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hv-sb-avatar {
  width: 34px !important;
  height: 34px !important;
  margin: 0 !important;
  border: 1px solid #444;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1);
}

.hv-sb-byline i {
  width: 1px;
  height: 12px;
  background: #40403e;
}

.hv-sb-progress {
  position: relative;
  width: min(100%, 430px);
  height: 2px;
  margin-top: clamp(30px, 3vw, 46px);
  overflow: hidden;
  background: #555552;
}

.hv-sb-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--hv-sb-red);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.hv-sb-hero-image {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
  background-color: #111;
  background-image: var(--hv-sb-hero-image);
  background-position: center;
  background-size: cover;
}

.hv-sb-hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, #070707 0%, rgba(7, 7, 7, 0.62) 8%, transparent 28%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.22), transparent 42%),
    radial-gradient(circle at 82% 18%, rgba(237, 36, 44, 0.16), transparent 30%);
  pointer-events: none;
}

.hv-sb-hero.has-no-image .hv-sb-hero-image {
  background:
    linear-gradient(132deg, transparent 0 47%, rgba(237, 36, 44, 0.52) 47.15% 47.45%, transparent 47.6%),
    radial-gradient(circle at 67% 38%, rgba(237, 36, 44, 0.34), transparent 17%),
    linear-gradient(145deg, #1d1d1d, #090909 68%);
}

.hv-sb-hero.has-no-image .hv-sb-hero-image::after {
  content: "H";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.04);
  font-size: clamp(220px, 30vw, 460px);
  font-weight: 200;
  line-height: 1;
}

.hv-sb-image-index {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 22px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.25em;
}

/* Reading layout */
.hv-sb-reading-shell {
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(0, 1fr) minmax(190px, 250px);
  align-items: stretch;
  color: var(--hv-sb-ink);
  background: var(--hv-sb-paper);
}

.hv-sb-toc,
.hv-sb-meta {
  min-width: 0;
  background: rgba(255, 255, 255, 0.12);
}

.hv-sb-toc {
  border-right: 1px solid var(--hv-sb-line);
}

.hv-sb-meta {
  border-left: 1px solid var(--hv-sb-line);
}

.hv-sb-toc-inner,
.hv-sb-meta-sticky {
  position: sticky;
  top: calc(var(--hv-sb-header-offset) + 24px);
  padding: clamp(48px, 5vw, 78px) clamp(26px, 3vw, 42px);
}

.hv-sb-toc-inner > strong,
.hv-sb-meta-group > strong {
  display: block;
  color: #171717;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.25em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hv-sb-red-rule {
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 13px;
  background: var(--hv-sb-red);
}

.hv-sb-toc ol {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.hv-sb-toc li + li {
  margin-top: 18px;
}

.hv-sb-toc a {
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr);
  gap: 9px;
  color: #343431;
  font-size: 11px;
  line-height: 1.45;
  transition: color 180ms ease, transform 180ms ease;
}

.hv-sb-toc a span {
  color: #777773;
  font-family: Georgia, "Times New Roman", serif;
  transition: color 180ms ease;
}

.hv-sb-toc a:hover,
.hv-sb-toc a:focus-visible,
.hv-sb-toc a.is-active {
  color: var(--hv-sb-red);
  transform: translateX(3px);
}

.hv-sb-toc a.is-active span {
  color: var(--hv-sb-red);
}

.hv-sb-toc-level-3 {
  padding-left: 18px;
}

.hv-sb-toc small {
  display: block;
  margin-top: 80px;
  padding-top: 18px;
  border-top: 1px solid var(--hv-sb-line);
  color: #777773;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hv-sb-toc-toggle {
  display: none;
}

.hv-sb-toc.is-empty .hv-sb-toc-inner > strong,
.hv-sb-toc.is-empty .hv-sb-red-rule,
.hv-sb-toc.is-empty ol {
  display: none;
}

/* Article typography */
.hv-sb-prose {
  min-width: 0;
  padding: clamp(54px, 5.6vw, 88px) clamp(42px, 6vw, 92px) clamp(72px, 7vw, 116px);
  counter-reset: hv-sb-section;
  color: var(--hv-sb-copy);
  font-size: 15px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

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

.hv-sb-prose > *:last-child {
  margin-bottom: 0;
}

.hv-sb-prose p {
  margin: 0 0 24px;
  text-align: justify;
  text-justify: inter-word;
}

.hv-sb-prose h2,
.hv-sb-prose h3,
.hv-sb-prose h4,
.hv-sb-prose h5,
.hv-sb-prose h6 {
  color: #111;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  scroll-margin-top: calc(var(--hv-sb-header-offset) + 34px);
}

.hv-sb-prose h2 {
  position: relative;
  margin: clamp(64px, 7vw, 104px) 0 24px;
  padding-left: 58px;
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 620;
  line-height: 1.14;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  counter-increment: hv-sb-section;
}

.hv-sb-prose h2::before {
  content: counter(hv-sb-section, decimal-leading-zero);
  position: absolute;
  top: 0.04em;
  left: 0;
  color: var(--hv-sb-red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.88em;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.hv-sb-prose h3 {
  margin: 48px 0 18px;
  font-size: clamp(20px, 1.75vw, 26px);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hv-sb-prose h4,
.hv-sb-prose h5,
.hv-sb-prose h6 {
  margin: 34px 0 15px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.hv-sb-prose a:not(.wp-block-button__link) {
  color: #151515;
  text-decoration-line: underline;
  text-decoration-color: var(--hv-sb-red);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.hv-sb-prose a:not(.wp-block-button__link):hover,
.hv-sb-prose a:not(.wp-block-button__link):focus-visible {
  color: var(--hv-sb-red);
}

.hv-sb-prose ul,
.hv-sb-prose ol {
  margin: 24px 0 32px;
  padding-left: 24px;
}

.hv-sb-prose li {
  margin-bottom: 10px;
  padding-left: 5px;
}

.hv-sb-prose li::marker {
  color: var(--hv-sb-red);
}

.hv-sb-prose blockquote,
.hv-sb-prose .wp-block-quote {
  position: relative;
  margin: clamp(46px, 5vw, 35px) calc(-1 * clamp(24px, 3vw, 35px));
  padding: clamp(32px, 3vw, 25px) clamp(30px, 3vw, 15px);
  overflow: hidden;
  border: 0;
  color: #f1f1ed;
  background:
    radial-gradient(circle at 95% 15%, rgba(237, 36, 44, 0.16), transparent 30%),
    #0b0b0b;
}

.hv-sb-prose blockquote::before {
  content: "“";
  position: absolute;
  top: -22px;
  right: 24px;
  color: rgba(237, 36, 44, 0.22);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 170px;
  line-height: 1;
}

.hv-sb-prose blockquote::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--hv-sb-red);
}

.hv-sb-prose blockquote p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 2vw, 16px);
  line-height: 1.7;
  text-align: left;
}

.hv-sb-prose blockquote cite {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 22px;
  color: #8f8f8b;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 9px;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hv-sb-prose figure,
.hv-sb-prose .wp-block-image,
.hv-sb-prose .wp-block-gallery {
  margin-top: clamp(36px, 4.2vw, 62px);
  margin-bottom: clamp(36px, 4.2vw, 62px);
}

.hv-sb-prose figure img,
.hv-sb-prose > img,
.hv-sb-prose .wp-block-image img {
  width: 100%;
  height: auto;
  margin: 0;
  display: block;
  border-radius: 2px;
}

.hv-sb-prose figure figcaption,
.hv-sb-prose .wp-element-caption,
.hv-sb-prose .wp-caption-text {
  margin: 11px 0 0;
  color: #777772;
  font-size: 10px;
  line-height: 1.55;
  letter-spacing: 0.04em;
}

.hv-sb-prose .wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hv-sb-prose .wp-block-gallery figure {
  margin: 0 !important;
  width: 100% !important;
}

.hv-sb-prose .wp-block-gallery img {
  width: 100% !important;
  height: clamp(260px, 28vw, 440px) !important;
  object-fit: cover;
}

.hv-sb-prose hr,
.hv-sb-prose .wp-block-separator {
  height: 1px;
  margin: 58px 0;
  border: 0;
  background: linear-gradient(90deg, var(--hv-sb-red) 0 34px, var(--hv-sb-line) 34px);
}

.hv-sb-prose table {
  width: 100%;
  margin: 38px 0;
  border-collapse: collapse;
  font-size: 13px;
}

.hv-sb-prose th,
.hv-sb-prose td {
  padding: 15px 14px;
  border-bottom: 1px solid var(--hv-sb-line);
  text-align: left;
}

.hv-sb-prose th {
  color: #171717;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hv-sb-prose pre,
.hv-sb-prose code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.hv-sb-prose pre {
  max-width: 100%;
  margin: 34px 0;
  padding: 24px;
  overflow: auto;
  color: #e7e7e3;
  background: #111;
}

.hv-sb-prose iframe,
.hv-sb-prose video {
  width: 100%;
  max-width: 100%;
}

.hv-sb-prose .wp-block-embed__wrapper {
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
}

.hv-sb-prose .wp-block-embed__wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hv-sb-prose .wp-block-button__link {
  padding: 14px 22px;
  border: 1px solid #171717;
  border-radius: 0;
  color: #fff;
  background: #171717;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.hv-sb-prose .wp-block-button__link:hover {
  border-color: var(--hv-sb-red);
  background: var(--hv-sb-red);
}

/* Article metadata */
.hv-sb-meta-sticky {
  display: flex;
  flex-direction: column;
  gap: 46px;
}

.hv-sb-meta-group {
  min-width: 0;
}

.hv-sb-meta-group > span:not(.hv-sb-red-rule),
.hv-sb-category-link {
  display: inline-block;
  margin-top: 16px;
  color: #555550;
  font-size: 11px;
}

.hv-sb-category-link {
  transition: color 180ms ease;
}

.hv-sb-category-link:hover,
.hv-sb-category-link:focus-visible {
  color: var(--hv-sb-red);
}

.hv-sb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hv-sb-tags a {
  padding: 8px 10px 7px;
  border: 1px solid #c4c1ba;
  color: #3f3f3b;
  font-size: 7px;
  font-weight: 650;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.hv-sb-tags a:hover,
.hv-sb-tags a:focus-visible {
  border-color: #171717;
  color: #fff;
  background: #171717;
}

.hv-sb-share > strong {
  margin-bottom: 14px;
}

.hv-sb-share > a,
.hv-sb-share > button {
  width: 100%;
  min-height: 39px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--hv-sb-line);
  color: #575752;
  cursor: pointer;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-align: left;
  text-transform: uppercase;
  transition: color 180ms ease, padding-left 180ms ease;
}

.hv-sb-share svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.hv-sb-share > a:hover,
.hv-sb-share > a:focus-visible,
.hv-sb-share > button:hover,
.hv-sb-share > button:focus-visible,
.hv-sb-share > button.is-copied {
  padding-left: 4px;
  color: var(--hv-sb-red);
}

/* Next article */
.hv-sb-next {
  border-top: 1px solid var(--hv-sb-dark-line);
  border-bottom: 1px solid var(--hv-sb-dark-line);
  background:
    linear-gradient(90deg, transparent 0 62%, rgba(237, 36, 44, 0.045) 62%),
    #0a0a0a;
}

.hv-sb-next a {
  position: relative;
  min-height: 238px;
  padding: clamp(42px, 5vw, 72px) clamp(44px, 6vw, 90px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  column-gap: 46px;
  overflow: hidden;
}

.hv-sb-next-label,
.hv-sb-next-category {
  grid-column: 1;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hv-sb-next-label {
  color: var(--hv-sb-red);
}

.hv-sb-next-category {
  margin-top: 10px;
  color: #646460;
}

.hv-sb-next strong {
  grid-column: 1;
  max-width: 900px;
  margin-top: 20px;
  color: #eeeeea;
  font-size: clamp(28px, 3.3vw, 50px);
  font-weight: 420;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  transition: color 220ms ease, transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hv-sb-next i {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid #3a3a38;
  border-radius: 50%;
  color: #d8d8d3;
  transition: color 220ms ease, border-color 220ms ease, background-color 220ms ease, transform 280ms ease;
}

.hv-sb-next i svg {
  width: 23px;
  height: 23px;
}

.hv-sb-next a:hover strong,
.hv-sb-next a:focus-visible strong {
  color: #fff;
  transform: translateX(8px);
}

.hv-sb-next a:hover i,
.hv-sb-next a:focus-visible i {
  border-color: var(--hv-sb-red);
  color: #fff;
  background: var(--hv-sb-red);
  transform: translateX(6px);
}

/* Related journal */
.hv-sb-related {
  padding: clamp(54px, 6vw, 92px) clamp(42px, 5.6vw, 84px) clamp(70px, 7vw, 108px);
  background:
    radial-gradient(circle at 12% 12%, rgba(237, 36, 44, 0.075), transparent 23%),
    #080808;
}

.hv-sb-related-heading {
  display: flex;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: clamp(34px, 4vw, 56px);
}

.hv-sb-related-heading > div {
  flex: 0 0 auto;
}

.hv-sb-related-heading span {
  display: block;
  margin-bottom: 11px;
  color: var(--hv-sb-red);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.hv-sb-related-heading h2 {
  margin: 0;
  color: #efefeb;
  font-size: clamp(31px, 3.4vw, 50px);
  font-weight: 430;
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.hv-sb-related-heading > i {
  height: 1px;
  margin-bottom: 7px;
  flex: 1;
  background: linear-gradient(90deg, var(--hv-sb-red), #242424 36%, transparent);
}

.hv-sb-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 26px);
}

.hv-sb-related-card {
  min-width: 0;
  border: 1px solid #252525;
  background: #0d0d0d;
  transition: border-color 220ms ease, transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hv-sb-related-card:hover {
  border-color: #3d3d3d;
  transform: translateY(-6px);
}

.hv-sb-related-image {
  position: relative;
  min-height: clamp(210px, 19vw, 310px);
  display: block;
  overflow: hidden;
  border-bottom: 1px solid #252525;
  background-color: #181818;
  background-image: var(--hv-sb-card-image);
  background-position: center;
  background-size: cover;
}

.hv-sb-related-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.25), transparent 48%);
  transition: background-color 260ms ease, transform 420ms ease;
}

.hv-sb-related-card:hover .hv-sb-related-image::after {
  background-color: rgba(237, 36, 44, 0.06);
}

.hv-sb-related-image.has-no-image {
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, transparent 0 49.5%, rgba(237, 36, 44, 0.34) 49.7% 50%, transparent 50.2%),
    #151515;
}

.hv-sb-related-image > span {
  color: rgba(255, 255, 255, 0.08);
  font-size: 130px;
  font-weight: 200;
}

.hv-sb-related-copy {
  position: relative;
  min-height: 180px;
  padding: 25px 62px 27px 25px;
}

.hv-sb-related-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: #6e6e6a;
  font-size: 7px;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hv-sb-related-meta span {
  color: var(--hv-sb-red);
}

.hv-sb-related-copy h3 {
  margin: 20px 0 0;
  color: #e7e7e3;
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.hv-sb-related-copy h3 a {
  transition: color 180ms ease;
}

.hv-sb-related-copy h3 a:hover,
.hv-sb-related-copy h3 a:focus-visible {
  color: #fff;
}

.hv-sb-card-arrow {
  position: absolute;
  right: 21px;
  bottom: 23px;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid #363636;
  border-radius: 50%;
  color: #a7a7a2;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.hv-sb-card-arrow svg {
  width: 13px;
  height: 13px;
}

.hv-sb-card-arrow:hover,
.hv-sb-card-arrow:focus-visible {
  border-color: var(--hv-sb-red);
  color: #fff;
  background: var(--hv-sb-red);
}

/* Focus */
.hv-sb-page a:focus-visible,
.hv-sb-page button:focus-visible {
  outline: 2px solid var(--hv-sb-red);
  outline-offset: 4px;
}

@media (max-width: 1260px) {
  .hv-sb-article,
  body.hervis-single-blog-page main.hv-sb-article {
    width: min(calc(100% - 56px), 1440px) !important;
  }

  .hv-sb-rail {
    display: none;
  }

  .hv-sb-hero {
    grid-template-columns: minmax(390px, 46%) minmax(0, 54%);
  }

  .hv-sb-reading-shell {
    grid-template-columns: 215px minmax(0, 1fr) 215px;
  }

  .hv-sb-toc-inner,
  .hv-sb-meta-sticky {
    padding-right: 28px;
    padding-left: 28px;
  }

  .hv-sb-prose {
    padding-right: clamp(38px, 5vw, 70px);
    padding-left: clamp(38px, 5vw, 70px);
  }
}

@media (max-width: 1050px) {
  .hv-sb-page {
    --hv-sb-safe-top: clamp(104px, 11vw, 132px);
  }

  .hv-sb-hero {
    min-height: 600px;
    grid-template-columns: 1fr 1fr;
  }

  .hv-sb-hero-copy {
    padding-right: 42px;
    padding-left: 42px;
  }

  .hv-sb-breadcrumb {
    left: 42px;
  }

  .hv-sb-hero h1 {
    font-size: clamp(39px, 5.1vw, 54px);
  }

  .hv-sb-byline {
    flex-wrap: wrap;
    row-gap: 9px;
  }

  .hv-sb-reading-shell {
    grid-template-columns: minmax(0, 1fr) 230px;
  }

  .hv-sb-toc {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid var(--hv-sb-line);
  }

  .hv-sb-toc-inner {
    position: static;
    padding: 28px 38px;
  }

  .hv-sb-toc-inner > strong,
  .hv-sb-toc-inner > .hv-sb-red-rule,
  .hv-sb-toc-inner > small {
    display: none;
  }

  .hv-sb-toc ol {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 24px;
  }

  .hv-sb-toc li + li {
    margin-top: 0;
  }

  .hv-sb-toc-level-3 {
    padding-left: 0;
  }

  .hv-sb-related-copy {
    padding-right: 48px;
    padding-left: 20px;
  }
}

@media (max-width: 780px) {
  .hv-sb-page {
    --hv-sb-safe-top: 96px;
    padding-top: max(var(--hv-sb-safe-top), calc(var(--hv-sb-header-offset) + 18px));
  }

  .hv-sb-article,
  body.hervis-single-blog-page main.hv-sb-article {
    width: calc(100% - 24px) !important;
  }

  .hv-sb-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hv-sb-hero-copy {
    min-height: 540px;
    padding: 82px 30px 42px;
    justify-content: flex-start;
  }

  .hv-sb-breadcrumb {
    top: 26px;
    left: 30px;
    max-width: calc(100% - 60px);
  }

  .hv-sb-eyebrow {
    margin-top: 25px;
  }

  .hv-sb-hero h1 {
    font-size: clamp(38px, 11vw, 58px);
  }

  .hv-sb-intro {
    font-size: 12px;
  }

  .hv-sb-byline {
    gap: 10px;
    margin-top: 30px;
  }

  .hv-sb-byline i:nth-of-type(2) {
    display: none;
  }

  .hv-sb-hero-image {
    min-height: clamp(340px, 74vw, 520px);
  }

  .hv-sb-hero-image::before {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.32), transparent 45%);
  }

  .hv-sb-reading-shell {
    grid-template-columns: 1fr;
  }

  .hv-sb-toc,
  .hv-sb-meta {
    border-right: 0;
    border-left: 0;
  }

  .hv-sb-toc-toggle {
    width: 100%;
    min-height: 60px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #171717;
    cursor: pointer;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.22em;
    text-align: left;
    text-transform: uppercase;
  }

  .hv-sb-toc-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform 220ms ease;
  }

  .hv-sb-toc.is-open .hv-sb-toc-toggle svg {
    transform: rotate(180deg);
  }

  .hv-sb-toc-inner {
    display: none;
    padding: 2px 24px 28px;
  }

  .hv-sb-toc.is-open .hv-sb-toc-inner {
    display: block;
  }

  .hv-sb-toc ol {
    display: block;
  }

  .hv-sb-toc li + li {
    margin-top: 15px;
  }

  .hv-sb-toc.is-empty {
    display: none;
  }

  .hv-sb-prose {
    padding: 48px 28px 72px;
    font-size: 14px;
    line-height: 1.85;
  }

  .hv-sb-prose h2 {
    margin-top: 62px;
    padding-left: 48px;
    font-size: clamp(23px, 7vw, 31px);
  }

  .hv-sb-prose blockquote,
  .hv-sb-prose .wp-block-quote {
    margin-right: -12px;
    margin-left: -12px;
    padding: 40px 30px;
  }

  .hv-sb-prose .wp-block-gallery {
    grid-template-columns: 1fr;
  }

  .hv-sb-prose .wp-block-gallery img {
    height: auto !important;
    max-height: 480px;
  }

  .hv-sb-meta {
    border-top: 1px solid var(--hv-sb-line);
  }

  .hv-sb-meta-sticky {
    position: static;
    padding: 42px 28px 52px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 28px;
  }

  .hv-sb-share {
    grid-column: 1 / -1;
  }

  .hv-sb-share {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 22px;
  }

  .hv-sb-share > strong {
    grid-column: 1 / -1;
  }

  .hv-sb-next a {
    min-height: 220px;
    padding: 42px 28px;
    column-gap: 24px;
  }

  .hv-sb-next i {
    width: 52px;
    height: 52px;
  }

  .hv-sb-related {
    padding: 54px 24px 72px;
  }

  .hv-sb-related-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(270px, 82%);
    gap: 14px;
    margin-right: -24px;
    padding-right: 24px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .hv-sb-related-grid::-webkit-scrollbar {
    display: none;
  }

  .hv-sb-related-card {
    scroll-snap-align: start;
  }

  .hv-sb-related-image {
    min-height: 250px;
  }
}

@media (max-width: 520px) {
  .hv-sb-page {
    --hv-sb-safe-top: 82px;
  }

  .hv-sb-article,
  body.hervis-single-blog-page main.hv-sb-article {
    width: calc(100% - 16px) !important;
  }

  .hv-sb-hero-copy {
    min-height: 510px;
    padding: 72px 22px 34px;
  }

  .hv-sb-breadcrumb {
    left: 22px;
    max-width: calc(100% - 44px);
  }

  .hv-sb-eyebrow {
    gap: 10px;
  }

  .hv-sb-eyebrow i {
    width: 28px;
  }

  .hv-sb-hero h1 {
    font-size: clamp(36px, 12.4vw, 52px);
  }

  .hv-sb-intro {
    line-height: 1.65;
  }

  .hv-sb-byline {
    font-size: 7px;
    letter-spacing: 0.1em;
  }

  .hv-sb-byline i {
    display: none;
  }

  .hv-sb-progress {
    margin-top: 28px;
  }

  .hv-sb-hero-image {
    min-height: 310px;
  }

  .hv-sb-prose {
    padding: 42px 21px 62px;
  }

  .hv-sb-prose p {
    text-align: left;
  }

  .hv-sb-prose h2 {
    padding-left: 43px;
  }

  .hv-sb-prose blockquote,
  .hv-sb-prose .wp-block-quote {
    margin-right: -8px;
    margin-left: -8px;
    padding: 16px 14px;
  }

  .hv-sb-prose blockquote p {
    font-size: 24px;
  }

  .hv-sb-meta-sticky {
    grid-template-columns: 1fr;
    padding: 38px 22px 46px;
  }

  .hv-sb-share {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .hv-sb-next a {
    min-height: 210px;
    padding: 38px 22px;
  }

  .hv-sb-next strong {
    font-size: 27px;
  }

  .hv-sb-next i {
    width: 44px;
    height: 44px;
  }

  .hv-sb-related {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hv-sb-related-heading {
    align-items: center;
  }

  .hv-sb-related-heading h2 {
    font-size: 32px;
  }

  .hv-sb-related-grid {
    grid-auto-columns: 88%;
    margin-right: -18px;
    padding-right: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hv-sb-page *,
  .hv-sb-page *::before,
  .hv-sb-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
