/* Supreme Line editorial templates. Scoped to blog contexts. */
:where(.single-post, .blog, .archive) {
  --sl-blog-blue: #066aab;
  --sl-blog-navy: #1b252f;
  --sl-blog-ink: #17212b;
  --sl-blog-muted: #5d6b78;
  --sl-blog-line: #dde7ef;
  --sl-blog-soft: #f5f8fb;
  --sl-blog-gutter: clamp(20px, 4vw, 32px);
}

.sl-article-page,
.sl-blog-index {
  min-width: 0;
  overflow: clip;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.sl-article-page *,
.sl-blog-index * {
  box-sizing: border-box;
}

.sl-article-header {
  width: 100%;
  max-width: 100%;
  margin: 0 !important;
}

.sl-article-banner {
  width: min(calc(100% - (2 * var(--sl-blog-gutter))), 1180px) !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding-top: clamp(1rem, 2vw, 1.5rem);
}

.sl-article-banner > *,
.sl-article-banner .wp-block-shortcode {
  width: 100%;
  max-width: 100%;
  margin-inline: 0 !important;
}

.sl-article-breadcrumbs {
  width: 100%;
  margin: 0 0 1.25rem;
  color: var(--sl-blog-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.sl-article-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sl-article-breadcrumbs li {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.6rem;
}

.sl-article-breadcrumbs li:not(:last-child)::after {
  content: "/";
  color: #9aa7b3;
}

.sl-article-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.sl-article-breadcrumbs a:hover {
  color: var(--sl-blog-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sl-article-title {
  width: 100%;
  margin: 1.75rem 0 0 !important;
  color: var(--sl-blog-navy);
  font-size: clamp(2.15rem, 4.3vw, 3.35rem);
  font-weight: 800;
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.sl-article-deck {
  width: 100%;
  margin: 1.35rem 0 0;
  color: #465563;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.sl-article-meta {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 1.15rem 0 0;
  color: var(--sl-blog-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.sl-article-meta a {
  color: var(--sl-blog-ink);
  font-weight: 700;
  text-decoration: none;
}

.sl-article-meta__separator {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #9aa7b3;
}

.sl-article-featured {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.sl-article-featured img {
  display: block;
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.sl-article-layout {
  display: grid;
  width: min(calc(100% - (2 * var(--sl-blog-gutter))), 1180px) !important;
  max-width: 1180px !important;
  grid-template-columns: minmax(0, 780px) minmax(260px, 310px);
  gap: clamp(3rem, 5vw, 4rem);
  align-items: start;
  margin: 0 auto !important;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(3rem, 6vw, 5.5rem);
}

.sl-article-main,
.sl-article-sidebar,
.sl-article-content {
  min-width: 0;
  margin: 0 !important;
}

.sl-article-sidebar {
  align-self: stretch;
  height: 100%;
}

.sl-article-content {
  margin-top: clamp(2.5rem, 5vw, 4rem) !important;
  color: #263746;
  font-size: clamp(1.03rem, 1.5vw, 1.1rem);
  line-height: 1.78;
}

.sl-article-content > :first-child {
  margin-top: 0 !important;
}

.sl-article-content > :last-child {
  margin-bottom: 0 !important;
}

.sl-article-content p {
  margin-top: 0;
  margin-bottom: 1.45rem;
}

.sl-article-content h2,
.sl-article-content h3,
.sl-article-content h4 {
  color: var(--sl-blog-navy);
  overflow-wrap: anywhere;
}

.sl-article-content h2 {
  margin: 3.25rem 0 1.15rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.16;
}

.sl-article-content h3 {
  margin: 2.5rem 0 0.9rem;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  line-height: 1.22;
}

.sl-article-content h4 {
  margin: 2rem 0 0.75rem;
  font-size: 1.2rem;
  line-height: 1.3;
}

.sl-article-content :where(ul, ol) {
  margin: 0 0 1.5rem;
  padding-left: 1.4rem;
}

.sl-article-content li {
  margin-bottom: 0.65rem;
  padding-left: 0.25rem;
}

.sl-article-content a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.sl-article-content :where(img, video, iframe) {
  max-width: 100%;
}

.sl-article-content :where(figure, .wp-block-image, .wp-block-gallery, .wp-block-embed) {
  max-width: 100% !important;
  margin-block: 2rem;
}

.sl-article-content :where(.alignwide, .alignfull) {
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: 0 !important;
}

.sl-article-content img {
  height: auto;
  border-radius: 8px;
}

.sl-article-content blockquote {
  margin: 2rem 0;
  padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 4px solid var(--sl-blog-blue);
  color: #344654;
  font-size: 1.16em;
}

.sl-article-content blockquote p:last-child {
  margin-bottom: 0;
}

.sl-article-content :where(pre, code) {
  overflow-wrap: normal;
  word-break: normal;
}

.sl-article-content pre {
  max-width: 100%;
  padding: 1.25rem;
  overflow-x: auto;
  border: 1px solid var(--sl-blog-line);
  border-radius: 6px;
  background: #f7f9fb;
}

.sl-article-content .wp-block-table {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.sl-article-content table {
  min-width: 620px;
  border-collapse: collapse;
}

.sl-article-content th,
.sl-article-content td {
  padding: 0.8rem;
  border: 1px solid var(--sl-blog-line);
  text-align: left;
  vertical-align: top;
}

.sl-article-content figcaption {
  margin-top: 0.6rem;
  color: var(--sl-blog-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.sl-article-sidebar__inner {
  position: static;
  min-height: 100%;
}

.sl-sidebar-ad {
  margin: 0 0 1.75rem;
}

.sl-sidebar-ad__label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--sl-blog-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.sl-sidebar-ad__space {
  display: grid;
  width: 100%;
  min-height: 250px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--sl-blog-line);
  border-radius: 6px;
  background: var(--sl-blog-soft);
}

.sl-sidebar-ad.has-ad .sl-sidebar-ad__space {
  border: 0;
  background: transparent;
}

.sl-sidebar-ad.has-ad :where(.sl-sidebar-ad__link, picture) {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}

.sl-sidebar-ad.has-ad img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 6px;
  object-fit: cover;
}

.sl-article-sidebar .sl-sidebar-ad.has-ad .sl-sidebar-ad__space {
  min-height: 0;
  aspect-ratio: 31 / 25;
}

.sl-sidebar-ad--banner {
  margin: 0;
}

.sl-sidebar-ad--banner .sl-sidebar-ad__space {
  height: clamp(90px, 12vw, 110px);
  min-height: 0;
}

.sl-sidebar-ad--end {
  position: sticky;
  top: 118px;
  margin-top: 1.75rem;
}

.sl-sidebar-section {
  padding: 0 0 1.75rem;
  margin: 0 0 1.75rem;
  border-bottom: 1px solid var(--sl-blog-line);
}

.sl-sidebar-section h2,
.sl-sidebar-cta h2 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  line-height: 1.25;
}

.sl-sidebar-search form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
}

.sl-sidebar-search input {
  min-width: 0;
  height: 44px;
  padding: 0 0.85rem;
  border: 1px solid #cbd8e2;
  border-right: 0;
  border-radius: 6px 0 0 6px;
  color: var(--sl-blog-ink);
  font: inherit;
}

.sl-sidebar-search button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--sl-blog-blue);
  border-radius: 0 6px 6px 0;
  background: var(--sl-blog-blue);
  color: #fff;
  cursor: pointer;
}

.sl-sidebar-search button svg,
.sl-article-share svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sl-sidebar-posts {
  display: grid;
  gap: 1rem;
}

.sl-sidebar-post {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.sl-sidebar-post__media,
.sl-sidebar-post__media > a {
  display: block;
  aspect-ratio: 1 / 0.78;
  overflow: hidden;
  border-radius: 6px;
  background: var(--sl-blog-soft);
}

.sl-sidebar-post__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sl-sidebar-post h3 {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  line-height: 1.35;
}

.sl-sidebar-post h3 a {
  color: var(--sl-blog-navy);
  text-decoration: none;
}

.sl-sidebar-post h3 a:hover {
  color: var(--sl-blog-blue);
}

.sl-sidebar-post__date,
.sl-sidebar-post time {
  color: var(--sl-blog-muted);
  font-size: 0.78rem;
}

.sl-sidebar-categories {
  display: grid;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sl-sidebar-categories a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  color: var(--sl-blog-ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.sl-sidebar-categories a:hover {
  color: var(--sl-blog-blue);
}

.sl-sidebar-categories span {
  color: var(--sl-blog-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.sl-sidebar-cta {
  padding: 1.5rem;
  border-radius: 8px;
  background: var(--sl-blog-navy);
  color: #fff;
}

.sl-sidebar-cta > p {
  margin: 0 0 0.6rem;
  color: #9ed5f5;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sl-sidebar-cta h2 {
  color: #fff;
}

.sl-sidebar-cta__action {
  margin-top: 1rem;
}

.sl-sidebar-cta__action a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  background: var(--sl-blog-blue);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.sl-article-footer {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--sl-blog-line);
}

.sl-article-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sl-article-taxonomy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sl-article-taxonomy a {
  padding: 0.42rem 0.7rem;
  border: 1px solid var(--sl-blog-line);
  border-radius: 999px;
  color: var(--sl-blog-ink);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.sl-article-share {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--sl-blog-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.sl-article-share a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--sl-blog-line);
  border-radius: 50%;
  color: var(--sl-blog-blue);
}

.sl-article-author {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  margin-top: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--sl-blog-line);
  border-bottom: 1px solid var(--sl-blog-line);
}

.sl-article-author__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
}

.sl-article-author__media {
  line-height: 0;
}

.sl-article-author p {
  margin: 0;
  color: var(--sl-blog-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.sl-article-author > div > p:first-child {
  margin-bottom: 0.25rem;
  color: var(--sl-blog-blue);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sl-article-author h2 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  line-height: 1.25;
}

.sl-related-shell {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(3rem, 6vw, 5rem) var(--sl-blog-gutter);
  background: var(--sl-blog-soft);
}

.sl-related {
  width: min(100%, 1180px);
  margin-inline: auto;
}

.sl-related__heading {
  margin-bottom: 1.75rem;
}

.sl-related__heading p {
  margin: 0 0 0.4rem;
  color: var(--sl-blog-blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sl-related__heading h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

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

.sl-related-card,
.sl-blog-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--sl-blog-line);
  border-radius: 8px;
  background: #fff;
}

.sl-related-card__media,
.sl-blog-card__image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eaf0f4;
}

.sl-related-card__media > a {
  display: block;
  width: 100%;
  height: 100%;
}

.sl-related-card__image,
.sl-blog-card__image img {
  width: 100%;
  height: 100%;
  color: transparent;
  font-size: 0;
  object-fit: cover;
}

.sl-related-card__body {
  padding: 1.25rem;
}

.sl-related-card__body > p,
.sl-blog-card__category {
  margin: 0 0 0.65rem;
  color: var(--sl-blog-blue);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.sl-related-card h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  line-height: 1.3;
}

.sl-related-card h3 a {
  color: var(--sl-blog-navy);
  text-decoration: none;
}

.sl-related-card__date,
.sl-related-card time,
.sl-blog-card__meta {
  color: var(--sl-blog-muted);
  font-size: 0.82rem;
}

/* Blog index and taxonomy archives. */
.sl-blog-hero {
  padding: clamp(3rem, 7vw, 6rem) var(--sl-blog-gutter) clamp(2.5rem, 6vw, 4.5rem);
  background: var(--sl-blog-navy);
  color: #fff;
  text-align: center;
}

.sl-blog-hero__inner {
  width: min(100%, 1180px) !important;
  max-width: 1180px !important;
  margin-inline: auto !important;
}

.sl-blog-kicker {
  margin: 0 0 0.75rem;
  color: #9ed5f5;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sl-blog-title {
  width: min(100%, 900px);
  max-width: 900px !important;
  margin: 0 auto !important;
  color: #fff !important;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1.05;
  text-align: center;
}

.sl-blog-intro {
  max-width: 720px;
  margin: 1.25rem auto 0;
  color: #d7e1e8;
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.7;
}

.sl-blog-intro:empty {
  display: none;
}

.sl-blog-topics {
  display: flex;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 2rem;
}

.sl-blog-topics a {
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.sl-blog-topics a:hover {
  border-color: #fff;
  background: #fff;
  color: var(--sl-blog-navy);
}

.sl-blog-query {
  width: min(calc(100% - (2 * var(--sl-blog-gutter))), 1180px) !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.sl-blog-card-grid {
  gap: 1.5rem !important;
}

.sl-blog-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  margin: 0 !important;
}

.sl-blog-card__image {
  margin: 0 !important;
  border-radius: 0 !important;
}

.sl-blog-card__body {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem;
}

.sl-blog-card__category a {
  color: inherit;
  text-decoration: none;
}

.sl-blog-card__title {
  margin: 0 0 0.85rem !important;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.25;
}

.sl-blog-card__title a {
  color: var(--sl-blog-navy);
  text-decoration: none;
}

.sl-blog-card__title a:hover {
  color: var(--sl-blog-blue);
}

.sl-blog-card__excerpt {
  margin: 0 0 1.25rem;
  color: #4d5f6d;
  font-size: 0.94rem;
  line-height: 1.65;
}

.sl-blog-card__excerpt p {
  margin: 0;
}

.sl-blog-card__meta {
  width: 100%;
  margin-top: auto !important;
  padding-top: 1rem;
  border-top: 1px solid var(--sl-blog-line);
}

.sl-blog-card__meta time,
.sl-blog-card__link {
  color: inherit;
  font-size: 0.82rem;
}

.sl-blog-card__link {
  color: var(--sl-blog-blue);
  font-weight: 800;
  text-decoration: none;
}

.sl-blog-pagination {
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.sl-blog-pagination :where(a, span) {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--sl-blog-line);
  border-radius: 6px;
  color: var(--sl-blog-ink);
  text-decoration: none;
}

.sl-blog-pagination .current,
.sl-blog-pagination a:hover {
  border-color: var(--sl-blog-blue);
  background: var(--sl-blog-blue);
  color: #fff;
}

@media (max-width: 1024px) {
  .sl-article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 3.5rem;
  }

  .sl-article-main {
    width: min(100%, 780px);
    margin-inline: auto !important;
  }

  .sl-article-sidebar {
    width: min(100%, 780px);
    height: auto;
    margin-inline: auto !important;
  }

  .sl-article-sidebar__inner {
    position: static;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .sl-sidebar-section,
  .sl-sidebar-cta {
    margin: 0;
  }

  .sl-related__grid,
  .sl-blog-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .sl-article-page,
  .sl-blog-index {
    overflow-x: clip;
  }

  .sl-article-header {
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    margin-inline: auto !important;
  }

  .sl-article-header > *,
  .sl-article-header > .wp-block-shortcode,
  .sl-article-main,
  .sl-article-content,
  .sl-article-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
  }

  .sl-article-breadcrumbs {
    margin-bottom: 1.2rem;
    font-size: 0.8rem;
  }

  .sl-article-breadcrumbs ol {
    flex-wrap: nowrap;
    width: 100%;
    overflow: hidden;
  }

  .sl-article-breadcrumbs li {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .sl-article-breadcrumbs li:last-child {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
  }

  .sl-article-breadcrumbs li:last-child span {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sl-article-title {
    font-size: clamp(2rem, 9.5vw, 2.55rem);
    line-height: 1.08;
    white-space: normal;
  }

  .sl-article-meta {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.4rem;
    font-size: 0.82rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .sl-article-meta::-webkit-scrollbar {
    display: none;
  }

  .sl-article-meta > span:not(.sl-article-meta__separator) {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .sl-article-meta__separator {
    flex: 0 0 3px;
  }

  .sl-article-featured {
    margin-top: 0 !important;
  }

  .sl-article-layout {
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    padding: 1.5rem 0 2.75rem;
  }

  .sl-article-banner {
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    padding-top: 1rem;
  }

  .sl-article-content {
    font-size: 1rem;
    line-height: 1.75;
  }

  .sl-article-content h2 {
    margin-top: 2.6rem;
  }

  .sl-article-content :where(ul, ol) {
    padding-left: 1.25rem;
  }

  .sl-article-sidebar__inner,
  .sl-related__grid,
  .sl-blog-card-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .sl-sidebar-ad--end {
    position: static;
  }

  .sl-article-footer__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .sl-article-author {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 1rem;
  }

  .sl-article-author__avatar {
    width: 56px;
    height: 56px;
  }

  .sl-related-shell,
  .sl-blog-hero {
    padding-inline: 20px;
  }

  .sl-blog-query {
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
  }

  .sl-blog-topics {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-inline: -20px;
    padding: 0 20px 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .sl-blog-topics::-webkit-scrollbar {
    display: none;
  }

  .sl-blog-topics a {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sl-article-page *,
  .sl-blog-index * {
    scroll-behavior: auto !important;
  }
}
