:root {
  --article-ink: #081d3c;
  --article-muted: #64748a;
  --article-blue: #075cff;
  --article-cyan: #65dcff;
  --article-line: #d8e4f2;
  --article-soft: #f4f8fd;
  --article-navy: #06162f;
}

.blog-article-page {
  color: var(--article-ink);
  background: #fff;
}

.article-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 12%, rgba(35, 180, 255, 0.28), transparent 27%),
    radial-gradient(circle at 7% 92%, rgba(38, 89, 255, 0.2), transparent 28%),
    linear-gradient(135deg, #06142b, #082d68 70%, #075cff 150%);
}

.article-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, #000, transparent 94%);
}

.article-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.7fr);
  gap: clamp(52px, 7vw, 105px);
  align-items: center;
  min-height: 650px;
  padding-top: 78px;
  padding-bottom: 78px;
}

.article-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 700;
}

.article-breadcrumbs a {
  color: rgba(255, 255, 255, 0.7);
}

.article-breadcrumbs a:hover {
  color: var(--article-cyan);
}

.article-breadcrumbs strong {
  color: var(--article-cyan);
}

.article-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  align-items: center;
  margin-top: 34px;
}

.article-topline span {
  color: var(--article-cyan);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-topline time,
.article-topline small {
  color: rgba(255, 255, 255, 0.53);
  font-size: 10px;
  font-weight: 700;
}

.article-hero h1 {
  max-width: 900px;
  margin: 24px 0 0;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(52px, 4.9vw, 74px);
  line-height: 1.01;
  letter-spacing: -0.062em;
}

.article-hero-copy > p {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  line-height: 1.75;
}

.article-hero-visual {
  position: relative;
  min-height: 380px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 25px;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(125, 208, 255, 0.28);
  background:
    radial-gradient(circle at 50% 45%, rgba(66, 210, 255, 0.24), transparent 32%),
    linear-gradient(145deg, rgba(8, 38, 84, 0.95), rgba(4, 18, 44, 0.98));
  box-shadow: 0 36px 80px rgba(0, 12, 36, 0.32);
}

.article-hero-visual::before,
.article-hero-visual::after {
  position: absolute;
  border: 1px solid rgba(105, 218, 255, 0.2);
  border-radius: 50%;
  content: "";
}

.article-hero-visual::before {
  width: 250px;
  height: 250px;
}

.article-hero-visual::after {
  width: 165px;
  height: 165px;
}

.article-hero-visual > span,
.article-hero-visual > small,
.article-hero-visual > strong {
  position: relative;
  z-index: 1;
}

.article-hero-visual > span {
  max-width: 230px;
  color: var(--article-cyan);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-hero-visual > strong {
  min-width: 116px;
  min-height: 116px;
  display: grid;
  place-items: center;
  padding: 17px;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 34px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 28px;
  background: linear-gradient(145deg, #0796ff, #0752e7);
  box-shadow: 0 23px 55px rgba(7, 92, 255, 0.35);
}

.article-hero-visual > small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-hero-visual[data-article-theme="bitcoin"] > strong,
.article-hero-visual[data-article-theme="difficulty"] > strong {
  color: #fff5cf;
  background: linear-gradient(145deg, #ffb21d, #ed7112);
}

.article-hero-visual[data-article-theme="security"] > strong {
  background: linear-gradient(145deg, #16bba8, #087eaa);
}

.article-hero-visual[data-article-theme="blockchain"] > strong {
  background: linear-gradient(145deg, #6968ff, #164be2);
}

.article-hero-visual[data-article-theme="facility"] > strong {
  background: linear-gradient(145deg, #12a8d4, #0751a5);
}

.article-hero-visual[data-article-theme="community"] > strong {
  background: linear-gradient(145deg, #8b64ff, #075cff);
}

.article-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 780px);
  justify-content: center;
  gap: clamp(55px, 8vw, 115px);
  padding-top: 92px;
  padding-bottom: 105px;
}

.article-toc {
  position: sticky;
  top: 112px;
  align-self: start;
  padding-top: 17px;
  border-top: 3px solid var(--article-blue);
}

.article-toc > span,
.article-takeaways > span,
.article-faq > span,
.related-heading span,
.article-cta-panel > div > span {
  color: var(--article-blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.article-toc nav {
  display: grid;
  margin-top: 18px;
  border-top: 1px solid var(--article-line);
}

.article-toc nav a {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 8px;
  padding: 14px 0;
  color: #53667f;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  border-bottom: 1px solid var(--article-line);
}

.article-toc nav a:hover {
  color: var(--article-blue);
}

.article-toc nav b {
  color: #9aa8b8;
  font-size: 8px;
}

.article-back-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--article-blue);
  font-size: 11px;
  font-weight: 800;
}

.article-main {
  min-width: 0;
}

.article-takeaways {
  padding: 31px 34px;
  border: 1px solid #cfdef0;
  background:
    linear-gradient(90deg, rgba(7, 92, 255, 0.05), transparent 35%),
    #f8fbff;
}

.article-takeaways ul {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.article-takeaways li {
  position: relative;
  padding-left: 22px;
  color: #40536c;
  font-size: 14px;
  font-weight: 700;
}

.article-takeaways li::before {
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 8px;
  height: 8px;
  border: 2px solid #7bdfff;
  border-radius: 50%;
  background: var(--article-blue);
  content: "";
  transform: translateY(-50%);
}

.article-section {
  position: relative;
  scroll-margin-top: 120px;
  margin-top: 58px;
  padding-top: 43px;
  border-top: 1px solid var(--article-line);
}

.article-section-number {
  position: absolute;
  top: 45px;
  right: 0;
  color: #c7d4e4;
  font-family: "Space Grotesk", sans-serif;
  font-size: 34px;
  font-weight: 700;
}

.article-section h2,
.article-faq h2,
.related-heading h2,
.article-cta-panel h2 {
  margin: 0;
  color: var(--article-ink);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.article-section h2 {
  max-width: 650px;
  padding-right: 70px;
  font-size: clamp(31px, 3.2vw, 43px);
  line-height: 1.1;
}

.article-section p {
  margin: 23px 0 0;
  color: #52657d;
  font-size: 16px;
  line-height: 1.9;
}

.article-faq {
  scroll-margin-top: 120px;
  margin-top: 65px;
  padding: 40px;
  border-top: 4px solid var(--article-blue);
  background: var(--article-soft);
}

.article-faq h2 {
  margin-top: 13px;
  font-size: 34px;
}

.article-faq details {
  margin-top: 24px;
  padding-top: 21px;
  border-top: 1px solid var(--article-line);
}

.article-faq summary {
  color: var(--article-ink);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.article-faq details p {
  margin: 13px 0 0;
  color: #5d6f85;
  font-size: 14px;
  line-height: 1.75;
}

.article-publisher {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  margin-top: 54px;
  padding-top: 30px;
  border-top: 1px solid var(--article-line);
}

.article-publisher > div {
  display: grid;
  gap: 4px;
}

.article-publisher span,
.article-publisher small {
  color: #8b99ab;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-publisher strong {
  color: var(--article-ink);
  font-size: 13px;
}

.article-publisher p {
  margin: 0;
  color: #748298;
  font-size: 11px;
  line-height: 1.7;
}

.related-articles {
  padding: 92px 0 104px;
  background: #f3f7fc;
}

.related-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
}

.related-heading h2 {
  margin-top: 10px;
  font-size: clamp(36px, 4vw, 54px);
}

.related-heading > a {
  color: var(--article-blue);
  font-size: 12px;
  font-weight: 800;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
  border-top: 1px solid #cddceb;
  border-left: 1px solid #cddceb;
}

.related-grid > a {
  min-height: 250px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: 31px;
  color: var(--article-ink);
  border-right: 1px solid #cddceb;
  border-bottom: 1px solid #cddceb;
  background: rgba(255, 255, 255, 0.55);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.related-grid > a:hover {
  color: var(--article-blue);
  background: #fff;
  transform: translateY(-4px);
}

.related-grid span,
.related-grid small {
  color: #7b8aa0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.related-grid strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.article-cta {
  padding: 0 0 100px;
  background: #f3f7fc;
}

.article-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 55px;
  align-items: center;
  padding: 54px 60px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 10%, rgba(75, 205, 255, 0.28), transparent 30%),
    linear-gradient(135deg, #061a39, #074ca8);
}

.article-cta-panel > div > span {
  color: var(--article-cyan);
}

.article-cta-panel h2 {
  max-width: 720px;
  margin-top: 12px;
  color: #fff;
  font-size: 40px;
}

.article-cta-panel p {
  max-width: 690px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.7;
}

.article-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.article-cta .button-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 1020px) {
  .article-hero-layout {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-top: 72px;
  }

  .article-hero-copy {
    max-width: 800px;
    margin-inline: auto;
    text-align: center;
  }

  .article-breadcrumbs,
  .article-topline {
    justify-content: center;
  }

  .article-hero-copy > p {
    margin-inline: auto;
  }

  .article-hero-visual {
    width: min(650px, 100%);
    margin-inline: auto;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .article-toc {
    position: static;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 25px;
  }

  .article-toc nav {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 0;
    border-top: 0;
    border-left: 1px solid var(--article-line);
  }

  .article-toc nav a {
    padding: 11px 17px;
    border-top: 1px solid var(--article-line);
    border-right: 1px solid var(--article-line);
  }

  .article-back-link {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .article-cta-panel {
    grid-template-columns: 1fr;
  }

  .article-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .article-hero-layout {
    gap: 38px;
    min-height: 0;
    padding-top: 58px;
    padding-bottom: 62px;
  }

  .article-breadcrumbs {
    font-size: 9px;
  }

  .article-topline {
    margin-top: 26px;
  }

  .article-hero h1 {
    max-width: 470px;
    margin-inline: auto;
    font-size: clamp(37px, 9vw, 44px);
    line-height: 1.05;
  }

  .article-hero-copy > p {
    max-width: 450px;
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.7;
  }

  .article-hero-visual {
    min-height: 290px;
  }

  .article-hero-visual::before {
    width: 205px;
    height: 205px;
  }

  .article-hero-visual::after {
    width: 140px;
    height: 140px;
  }

  .article-hero-visual > strong {
    min-width: 96px;
    min-height: 96px;
    font-size: 27px;
    border-radius: 24px;
  }

  .article-layout {
    gap: 37px;
    padding-top: 58px;
    padding-bottom: 72px;
  }

  .article-toc {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .article-toc nav {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .article-back-link {
    justify-self: center;
  }

  .article-takeaways {
    padding: 27px 24px;
  }

  .article-section {
    margin-top: 46px;
    padding-top: 34px;
    text-align: center;
  }

  .article-section-number {
    position: static;
    display: block;
    margin-bottom: 12px;
    font-size: 24px;
  }

  .article-section h2 {
    padding-right: 0;
    font-size: 32px;
  }

  .article-section p {
    font-size: 15px;
    line-height: 1.82;
  }

  .article-faq {
    padding: 31px 24px;
    text-align: center;
  }

  .article-faq h2 {
    font-size: 30px;
  }

  .article-faq details {
    text-align: left;
  }

  .article-publisher {
    grid-template-columns: 1fr;
    gap: 17px;
    text-align: center;
  }

  .related-articles {
    padding: 68px 0 76px;
  }

  .related-heading {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .related-heading h2 {
    font-size: 39px;
  }

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

  .related-grid > a {
    min-height: 210px;
    text-align: center;
  }

  .article-cta {
    padding-bottom: 76px;
  }

  .article-cta-panel {
    gap: 32px;
    padding: 40px 24px;
    text-align: center;
  }

  .article-cta-panel h2 {
    font-size: 34px;
  }

  .article-cta-panel p {
    margin-inline: auto;
  }

  .article-cta-actions {
    display: grid;
    justify-content: stretch;
  }

  .article-cta-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .related-grid > a {
    transition: none;
  }
}
