body {
  background: #000 !important;
  color: #fff;
  font-family: "Bitcount Single", system-ui, sans-serif;
}

.blog-shell,
.article-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 8rem 0 5rem;
}

.blog-title {
  padding: 2rem 0 3rem;
  text-align: left;
  border-bottom: 1px solid #7d46ff;
}
.blog-title h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3.5rem, 10vw, 8rem);
  line-height: .9;
  font-weight: 400;
}

.eyebrow {
  color: #7d46ff;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.btn-glow,
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .8rem 1.1rem;
  color: #fff;
  text-decoration: none;
  border: 1px solid #7d46ff;
  transition: .25s ease;
}
.btn-glow { background: #7d46ff; }
.btn-outline { background: transparent; }
.btn-glow:hover,
.btn-outline:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 0 20px #7d46ff; }

.blog-toolbar {
  padding: 3rem 0 2rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  border-bottom: 1px solid #7d46ff;
}
.blog-toolbar h2 { margin: .4rem 0 0; color: #fff; font-size: 3rem; font-weight: 400; }
.blog-filters { display: flex; flex-wrap: wrap; justify-content: end; gap: .45rem; }
.blog-filters button {
  padding: .5rem .75rem;
  color: #fff;
  background: #000;
  border: 1px solid #7d46ff;
  font-family: inherit;
  cursor: pointer;
}
.blog-filters button:hover,
.blog-filters button.active { color: #fff; background: #7d46ff; }

.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; padding-top: 2rem; }
.blog-card { min-width: 0; overflow: hidden; background: #000; border: 1px solid #7d46ff; transition: .3s ease; }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 0 20px #7d46ff; }
.blog-card[hidden] { display: none !important; }
.blog-card-image { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover img { transform: scale(1.04); }
.blog-card-body { padding: 1.25rem; }
.blog-category { display: inline-block; color: #7d46ff; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.blog-card h2 { margin: .6rem 0; font-size: 1.45rem; line-height: 1.08; font-weight: 400; }
.blog-card h2 a { color: #fff; text-decoration: none; }
.blog-card p { min-height: 4.5rem; margin-bottom: 1rem; color: #fff; font-family: system-ui, sans-serif; font-size: .95rem; line-height: 1.55; }
.blog-read { color: #7d46ff; text-decoration: none; }
.blog-read:hover { color: #fff; }

.load-more-wrap { display: flex; justify-content: center; padding: 2.5rem 0 1rem; }
.load-more-wrap .btn-glow { border: 0; cursor: pointer; font-family: inherit; }
.blog-cta { margin-top: 5rem; padding: 4rem 0; border-top: 1px solid #7d46ff; }
.blog-cta h2 { margin: .75rem 0 1.25rem; color: #fff; font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 400; }

.article-shell { max-width: 980px; }
.article-back { color: #7d46ff; text-decoration: none; }
.article-header { padding: 3rem 0 2rem; }
.article-header h1 { max-width: 900px; margin: .7rem 0 1rem; color: #fff; font-size: clamp(3rem, 7vw, 6.5rem); line-height: .95; font-weight: 400; }
.article-header p { max-width: 720px; color: #fff; font-family: system-ui, sans-serif; font-size: 1.15rem; line-height: 1.7; }
.article-cover { display: block; width: 100%; margin-top: 2rem; border: 1px solid #7d46ff; box-shadow: 0 0 20px #7d46ff; }
.article-content { max-width: 780px; color: #fff; font-family: system-ui, sans-serif; font-size: 1.08rem; line-height: 1.85; }
.article-content h2 { margin: 2.8rem 0 1rem; color: #fff; font-family: "Bitcount Single", system-ui, sans-serif; font-size: 2.2rem; line-height: 1.1; font-weight: 400; }
.article-content h3 { margin: 2rem 0 .7rem; color: #7d46ff; font-family: "Bitcount Single", system-ui, sans-serif; font-weight: 400; }
.article-content a { color: #7d46ff; }
.article-content strong { color: #fff; }
.article-content code { padding: .1rem .3rem; color: #fff; background: #000; border: 1px solid #7d46ff; }
.article-content pre { overflow-x: auto; padding: 1rem; color: #fff; background: #000; border: 1px solid #7d46ff; }
.article-content blockquote { margin: 1.5rem 0; padding: 1rem 1.25rem; color: #fff; border-left: 3px solid #7d46ff; }
.article-content table { width: 100%; display: block; overflow-x: auto; border-collapse: collapse; }
.article-content th, .article-content td { padding: .7rem; border: 1px solid #7d46ff; }
.article-footer { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; border-top: 1px solid #7d46ff; padding-top: 2rem; }

@media (max-width: 900px) {
  .blog-toolbar { display: block; }
  .blog-filters { justify-content: start; margin-top: 1.5rem; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .blog-shell, .article-shell { width: min(100% - 1.25rem, 1180px); padding-top: 6.5rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-toolbar h2 { font-size: 2.4rem; }
  .article-header h1 { font-size: 3.3rem; }
  .article-content { font-size: 1rem; }
}
