:root {
  --sb-bg: #100d16;
  --sb-surface: #1b1622;
  --sb-surface-soft: #241d2d;
  --sb-text: #f7f4fa;
  --sb-muted: #b9b0bf;
  --sb-line: rgba(255, 255, 255, 0.12);
  --sb-accent: #9b73ee;
  --sb-accent-dark: #7d55cf;
  --sb-heal: #78d5c9;
  --sb-explore: #efb462;
  --sb-radius: 12px;
}

body.secheal-editorial .secheal-main {
  background: var(--sb-bg);
  color: var(--sb-text);
}

body.secheal-editorial .k-nav__btn.is-active::after {
  transform: scaleX(1);
}

.secheal-blog,
.secheal-blog * {
  box-sizing: border-box;
}

.secheal-blog {
  background: var(--sb-bg);
  color: var(--sb-text);
  overflow: hidden;
}

.secheal-blog h1,
.secheal-blog h2,
.secheal-blog h3,
.secheal-blog h4 {
  color: var(--sb-text);
  letter-spacing: 0;
}

.secheal-blog p {
  color: var(--sb-muted);
}

.secheal-blog a:focus-visible,
.secheal-blog button:focus-visible,
.secheal-blog input:focus-visible,
.secheal-blog textarea:focus-visible {
  outline: 3px solid var(--sb-explore);
  outline-offset: 3px;
}

.sb-wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.sb-kicker {
  margin: 0 0 18px;
  color: var(--sb-accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.sb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--sb-accent);
  border-radius: 999px;
  background: var(--sb-accent);
  color: #15101c;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.sb-button:hover {
  transform: translateY(-2px);
  border-color: #b89af4;
  background: #b89af4;
  color: #15101c;
}

.sb-button:active {
  transform: translateY(0);
}

.sb-hero {
  min-height: 620px;
  padding: 72px 0 56px;
  display: flex;
  align-items: center;
}

.sb-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}

.sb-hero__copy {
  max-width: 590px;
}

.sb-hero h1 {
  max-width: 12ch;
  margin: 0 0 24px;
  font-size: 60px;
  line-height: 1.04;
  font-weight: 600;
}

.sb-hero__lead {
  max-width: 540px;
  margin: 0 0 32px;
  color: var(--sb-muted);
  font-size: 19px;
  line-height: 1.6;
}

.sb-hero__media {
  position: relative;
  min-height: 500px;
}

.sb-hero__image {
  position: absolute;
  display: block;
  object-fit: cover;
  border-radius: var(--sb-radius);
  border: 1px solid var(--sb-line);
}

.sb-hero__image--primary {
  top: 0;
  right: 0;
  width: 88%;
  height: 64%;
}

.sb-hero__image--secondary {
  left: 0;
  bottom: 0;
  width: 54%;
  height: 49%;
}

.sb-section {
  padding: 88px 0;
}

.sb-section__head {
  max-width: 680px;
  margin-bottom: 38px;
}

.sb-section__head h2 {
  margin: 0 0 14px;
  font-size: 42px;
  line-height: 1.12;
}

.sb-section__head p {
  margin: 0;
  font-size: 17px;
}

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

.sb-pillars__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.sb-pillar {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--sb-line);
  border-radius: var(--sb-radius);
  background: var(--sb-surface);
  color: var(--sb-text);
}

.sb-pillar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
  transition: transform 320ms ease, filter 320ms ease;
}

.sb-pillar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 13, 22, 0.96), rgba(16, 13, 22, 0.12) 70%);
}

.sb-pillar:hover img {
  transform: scale(1.02);
  filter: saturate(1) contrast(1.02);
}

.sb-pillar__content {
  position: absolute;
  z-index: 1;
  left: 28px;
  right: 28px;
  bottom: 26px;
  display: grid;
  gap: 7px;
}

.sb-pillar__content strong {
  color: var(--sb-text);
  font-size: 34px;
  line-height: 1.1;
}

.sb-pillar--heal .sb-pillar__content strong {
  color: var(--sb-heal);
}

.sb-pillar--explore .sb-pillar__content strong {
  color: var(--sb-explore);
}

.sb-pillar__content span {
  color: #e9e3ee;
  font-size: 16px;
}

.sb-pillar__content small {
  color: var(--sb-muted);
  font-size: 13px;
}

.sb-latest {
  background: var(--sb-surface);
}

.sb-post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.sb-post-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.75fr) minmax(0, 1.25fr);
  min-height: 270px;
  overflow: hidden;
  border: 1px solid var(--sb-line);
  border-radius: var(--sb-radius);
  background: var(--sb-bg);
}

.sb-post-card--featured {
  grid-column: 1 / -1;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 430px;
}

.sb-post-card__media {
  display: block;
  min-height: 100%;
  overflow: hidden;
  background: var(--sb-surface-soft);
}

.sb-post-card__image {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.sb-post-card:hover .sb-post-card__image {
  transform: scale(1.02);
}

.sb-post-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 30px;
}

.sb-post-card__meta,
.sb-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 18px;
  color: var(--sb-muted);
  font-size: 13px;
}

.sb-post-card__meta a {
  color: var(--sb-accent);
  font-weight: 700;
}

.sb-post-card--heal .sb-post-card__meta a {
  color: var(--sb-heal);
}

.sb-post-card--explore .sb-post-card__meta a {
  color: var(--sb-explore);
}

.sb-post-card h3 {
  margin: 0 0 14px;
  font-size: 25px;
  line-height: 1.22;
}

.sb-post-card--featured h3 {
  font-size: 38px;
}

.sb-post-card p {
  margin: 0 0 24px;
  line-height: 1.65;
}

.sb-text-link,
.sb-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sb-text);
  font-weight: 700;
}

.sb-text-link span,
.sb-back-link span {
  transition: transform 180ms ease;
}

.sb-text-link:hover span {
  transform: translateX(4px);
}

.sb-back-link:hover span {
  transform: translateX(-4px);
}

.secheal-blog .navigation.pagination {
  margin-top: 44px;
}

.secheal-blog .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.secheal-blog .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--sb-line);
  border-radius: 999px;
  color: var(--sb-text);
}

.secheal-blog .page-numbers.current,
.secheal-blog .page-numbers:hover {
  border-color: var(--sb-accent);
  background: var(--sb-accent);
  color: #15101c;
}

.sb-empty {
  padding: 52px;
  border: 1px solid var(--sb-line);
  border-radius: var(--sb-radius);
  background: var(--sb-surface-soft);
  text-align: center;
}

.sb-empty h2,
.sb-empty h3 {
  margin: 0 0 12px;
}

.sb-empty p {
  margin: 0;
}

.sb-archive-hero {
  padding: 72px 0 68px;
  border-bottom: 1px solid var(--sb-line);
}

.sb-archive-hero__inner {
  max-width: 830px;
}

.sb-archive-hero .sb-back-link {
  margin-bottom: 46px;
}

.sb-archive-hero h1 {
  margin: 0 0 20px;
  font-size: 58px;
  line-height: 1.05;
}

.sb-archive-hero__summary {
  max-width: 650px;
  font-size: 18px;
}

.sb-archive-hero__summary p {
  margin: 0;
}

.secheal-blog-archive--heal .sb-kicker {
  color: var(--sb-heal);
}

.secheal-blog-archive--explore .sb-kicker {
  color: var(--sb-explore);
}

.sb-article-hero {
  padding: 64px 0 0;
}

.sb-article-hero__copy {
  max-width: 940px;
  text-align: center;
}

.sb-article-hero .sb-back-link {
  margin-bottom: 34px;
}

.sb-category-link {
  display: block;
  width: fit-content;
  margin: 0 auto 18px;
  color: var(--sb-accent);
  font-size: 14px;
  font-weight: 700;
}

.secheal-blog-single--heal .sb-category-link {
  color: var(--sb-heal);
}

.secheal-blog-single--explore .sb-category-link {
  color: var(--sb-explore);
}

.sb-article-hero h1 {
  max-width: 18ch;
  margin: 0 auto 24px;
  font-size: 58px;
  line-height: 1.08;
}

.sb-article-meta {
  justify-content: center;
  margin-bottom: 38px;
}

.sb-article-hero__media {
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border-radius: var(--sb-radius);
  background: var(--sb-surface-soft);
}

.sb-article-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sb-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  padding-top: 68px;
  padding-bottom: 92px;
}

.sb-article-content {
  color: #ded7e3;
  font-size: 18px;
  line-height: 1.78;
}

.sb-article-content > *:first-child {
  margin-top: 0;
}

.sb-article-content p,
.sb-article-content ul,
.sb-article-content ol,
.sb-article-content blockquote,
.sb-article-content figure,
.sb-article-content .wp-block-image {
  margin-top: 0;
  margin-bottom: 26px;
}

.sb-article-content p,
.sb-article-content li {
  color: #ded7e3;
}

.sb-article-content h2 {
  margin: 52px 0 18px;
  font-size: 34px;
  line-height: 1.16;
}

.sb-article-content h3 {
  margin: 38px 0 14px;
  font-size: 25px;
  line-height: 1.2;
}

.sb-article-content a {
  color: #bea7f2;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.sb-article-content img {
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.sb-article-content blockquote {
  padding: 24px 26px;
  border-left: 3px solid var(--sb-accent);
  background: var(--sb-surface);
}

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

.sb-article-content pre,
.sb-article-content table {
  max-width: 100%;
  overflow-x: auto;
}

.sb-article-content table {
  width: 100%;
  border-collapse: collapse;
}

.sb-article-content th,
.sb-article-content td {
  padding: 12px;
  border-bottom: 1px solid var(--sb-line);
  text-align: left;
}

.sb-related {
  padding: 78px 0;
  border-top: 1px solid var(--sb-line);
  background: var(--sb-surface);
}

.sb-post-grid--related {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sb-post-grid--related .sb-post-card {
  grid-template-columns: 1fr;
}

.sb-post-grid--related .sb-post-card__media {
  min-height: 190px;
}

.sb-comments-wrap {
  padding: 76px 0;
  border-top: 1px solid var(--sb-line);
}

.sb-comments-wrap__inner {
  max-width: 800px;
}

.sb-comments__title {
  margin: 0 0 28px;
  font-size: 32px;
}

.sb-comment-list {
  display: grid;
  gap: 18px;
  margin: 0 0 48px;
  padding: 0;
  list-style: none;
}

.sb-comment-list .comment {
  padding: 22px;
  border: 1px solid var(--sb-line);
  border-radius: var(--sb-radius);
  background: var(--sb-surface);
}

.sb-comment-list .children {
  margin: 20px 0 0;
  padding-left: 28px;
  list-style: none;
}

.sb-comment-list .comment-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sb-comment-list .avatar {
  border-radius: 50%;
}

.sb-comment-list .comment-meta {
  margin: 8px 0 14px;
  color: var(--sb-muted);
  font-size: 13px;
}

.sb-comment-list p {
  color: #ded7e3;
}

.sb-comment-form {
  display: grid;
  gap: 18px;
}

.sb-comment-form p {
  margin: 0;
}

.sb-comment-privacy {
  max-width: 620px;
  color: var(--sb-muted);
  font-size: 14px;
  line-height: 1.6;
}

.sb-comment-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--sb-text);
  font-weight: 600;
}

.sb-comment-form input,
.sb-comment-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--sb-line);
  border-radius: 8px;
  background: var(--sb-surface);
  color: var(--sb-text);
}

.sb-comment-form textarea {
  min-height: 150px;
  resize: vertical;
}

.sb-comment-submit {
  border: 0;
  cursor: pointer;
}

@media (max-width: 980px) {
  .sb-hero {
    min-height: 0;
    padding: 60px 0;
  }

  .sb-hero__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .sb-hero__copy {
    max-width: 720px;
  }

  .sb-hero h1 {
    max-width: 14ch;
    font-size: 48px;
  }

  .sb-hero__media {
    min-height: 430px;
  }

  .sb-post-grid,
  .sb-post-grid--related {
    grid-template-columns: 1fr;
  }

  .sb-post-card,
  .sb-post-card--featured,
  .sb-post-grid--related .sb-post-card {
    grid-template-columns: minmax(200px, 0.8fr) minmax(0, 1.2fr);
    min-height: 260px;
  }

  .sb-post-grid--related .sb-post-card__media {
    min-height: 100%;
  }
}

@media (max-width: 767px) {
  .sb-wrap {
    width: min(100% - 32px, 1180px);
  }

  .sb-hero {
    padding: 44px 0 48px;
  }

  .sb-hero__grid {
    gap: 36px;
  }

  .sb-hero h1 {
    max-width: none;
    margin-bottom: 18px;
    font-size: 38px;
    line-height: 1.08;
  }

  .sb-hero__lead {
    margin-bottom: 26px;
    font-size: 17px;
  }

  .sb-hero__media {
    min-height: 330px;
  }

  .sb-hero__image--primary {
    width: 92%;
    height: 61%;
  }

  .sb-hero__image--secondary {
    width: 58%;
    height: 48%;
  }

  .sb-section {
    padding: 64px 0;
  }

  .sb-section__head {
    margin-bottom: 28px;
  }

  .sb-section__head h2 {
    font-size: 34px;
  }

  .sb-pillars__grid {
    grid-template-columns: 1fr;
  }

  .sb-pillar {
    min-height: 320px;
  }

  .sb-post-card,
  .sb-post-card--featured,
  .sb-post-grid--related .sb-post-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .sb-post-card__media,
  .sb-post-grid--related .sb-post-card__media {
    min-height: 220px;
    aspect-ratio: 16 / 10;
  }

  .sb-post-card__body {
    padding: 24px;
  }

  .sb-post-card h3,
  .sb-post-card--featured h3 {
    font-size: 26px;
  }

  .sb-archive-hero {
    padding: 48px 0 50px;
  }

  .sb-archive-hero .sb-back-link {
    margin-bottom: 34px;
  }

  .sb-archive-hero h1 {
    font-size: 42px;
  }

  .sb-article-hero {
    padding-top: 46px;
  }

  .sb-article-hero h1 {
    max-width: none;
    font-size: 38px;
  }

  .sb-article-hero__media {
    width: 100%;
    border-radius: 0;
    aspect-ratio: 16 / 10;
  }

  .sb-article-layout {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .sb-article-content {
    font-size: 17px;
  }

  .sb-article-content h2 {
    margin-top: 42px;
    font-size: 29px;
  }

  .sb-related,
  .sb-comments-wrap {
    padding: 60px 0;
  }

  .sb-empty {
    padding: 36px 24px;
  }

  .sb-comment-list .children {
    padding-left: 14px;
  }
}

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