:root {
  --spark-ink: #1b1b1b;
  --spark-muted: #666666;
  --spark-line: #e9e9e9;
  --spark-soft: #f7f7f5;
  --spark-paper: #ffffff;
  --spark-orange: #ff7900;
  --spark-max: 1120px;
}

body.site-theme-creative-spark-solutions {
  color: var(--spark-ink);
  background: var(--spark-soft);
}

.site-theme-creative-spark-solutions.blog-index-page,
.site-theme-creative-spark-solutions.blog-post-page,
.site-theme-creative-spark-solutions .blog-surface {
  background: var(--spark-soft) !important;
}

.site-theme-creative-spark-solutions .blog-shell {
  max-width: var(--spark-max) !important;
  margin: 0 auto;
  padding: 28px 24px 72px !important;
  background: transparent !important;
}

.site-theme-creative-spark-solutions .blog-site-header {
  display: none !important;
}

.site-theme-creative-spark-solutions .blog-index {
  display: grid;
  gap: 24px !important;
}

.site-theme-creative-spark-solutions .blog-index-hero {
  background: transparent !important;
  border: 0 !important;
  padding: 0 0 8px !important;
}

.site-theme-creative-spark-solutions .blog-index-eyebrow {
  margin: 0 0 10px;
  color: #a87412;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.site-theme-creative-spark-solutions .blog-index-hero h1 {
  margin: 0 !important;
  font-size: clamp(2rem, 4.6vw, 3.75rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.055em !important;
  text-transform: none !important;
}

.site-theme-creative-spark-solutions .blog-index-intro {
  margin: 16px 0 0 !important;
  max-width: 720px !important;
  color: var(--spark-muted) !important;
  font-size: 1.05rem !important;
}

.site-theme-creative-spark-solutions .blog-story-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 24px !important;
}

.site-theme-creative-spark-solutions .blog-story-card,
.site-theme-creative-spark-solutions .blog-card,
.site-theme-creative-spark-solutions .blog-post {
  background: var(--spark-paper) !important;
  border: 1px solid var(--spark-line) !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08) !important;
}

.site-theme-creative-spark-solutions .blog-story-card {
  display: block !important;
  padding: 26px 24px 24px !important;
}

.site-theme-creative-spark-solutions .blog-card {
  padding: 26px 26px 24px !important;
}

.site-theme-creative-spark-solutions .blog-post {
  padding: 30px 30px 34px !important;
}

.site-theme-creative-spark-solutions .blog-story-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.1) !important;
}

.site-theme-creative-spark-solutions .blog-card-title {
  margin: 10px 0 0 !important;
  font-size: 1.25rem !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em !important;
}

.site-theme-creative-spark-solutions .blog-card-summary {
  margin: 12px 0 0 !important;
  max-width: none !important;
  color: var(--spark-muted) !important;
  font-size: 0.98rem !important;
  line-height: 1.65 !important;
}

.site-theme-creative-spark-solutions .blog-card p,
.site-theme-creative-spark-solutions .blog-post-body,
.site-theme-creative-spark-solutions .blog-index a,
.site-theme-creative-spark-solutions .blog-card-link,
.site-theme-creative-spark-solutions .blog-footer {
  color: var(--spark-ink) !important;
}

.site-theme-creative-spark-solutions .blog-post-body a,
.site-theme-creative-spark-solutions .blog-post-body a:visited {
  color: var(--spark-orange) !important;
}

.site-theme-creative-spark-solutions .blog-post-body a:hover,
.site-theme-creative-spark-solutions .blog-post-body a:focus-visible {
  color: #cc6200 !important;
}

.site-theme-creative-spark-solutions .blog-post-cta .blog-cta-link,
.site-theme-creative-spark-solutions .blog-post-cta .blog-cta-link:visited {
  color: #ffffff !important;
}

.site-theme-creative-spark-solutions .blog-post-cta .blog-cta-link:hover,
.site-theme-creative-spark-solutions .blog-post-cta .blog-cta-link:focus-visible {
  color: #ffffff !important;
}

.site-theme-creative-spark-solutions .blog-post-nav a,
.site-theme-creative-spark-solutions .blog-post-nav a:visited {
  color: var(--spark-orange) !important;
}

.site-theme-creative-spark-solutions .blog-post-nav a:hover,
.site-theme-creative-spark-solutions .blog-post-nav a:focus-visible {
  color: #cc6200 !important;
}

.site-theme-creative-spark-solutions .blog-post-body {
  font-size: 1.08rem;
  line-height: 1.75;
}

.site-theme-creative-spark-solutions .blog-post-body img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto 28px;
  border: 1px solid var(--spark-line);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

.site-theme-creative-spark-solutions .blog-post-body > p:first-child:has(img) {
  float: left;
  width: min(320px, 42%);
  margin: 6px 28px 18px 0;
}

.site-theme-creative-spark-solutions .blog-post-body > p:first-child:has(img) img {
  max-width: 100%;
  margin: 0;
}

.site-theme-creative-spark-solutions .blog-post-body::after {
  content: "";
  display: block;
  clear: both;
}

.site-theme-creative-spark-solutions .blog-post-body h1,
.site-theme-creative-spark-solutions .blog-post-body h2,
.site-theme-creative-spark-solutions .blog-post-body h3 {
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.site-theme-creative-spark-solutions .blog-meta {
  color: var(--spark-orange) !important;
  font-size: 0.74rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
}

.site-theme-creative-spark-solutions .blog-card-read {
  margin: 16px 0 0 !important;
}

.site-theme-creative-spark-solutions .blog-card-read a,
.site-theme-creative-spark-solutions .blog-cta-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center;
  min-height: 46px !important;
  padding: 0 18px !important;
  border: 1px solid #111111 !important;
  background: #111111 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-radius: 2px !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.site-theme-creative-spark-solutions .blog-card-read a:hover,
.site-theme-creative-spark-solutions .blog-cta-link:hover {
  opacity: 0.9;
  color: #ffffff !important;
}

.site-theme-creative-spark-solutions .blog-pagination,
.site-theme-creative-spark-solutions .blog-post-nav,
.site-theme-creative-spark-solutions .blog-post-cta,
.site-theme-creative-spark-solutions .blog-footer {
  border-color: var(--spark-line) !important;
}

@media (max-width: 720px) {
  .site-theme-creative-spark-solutions .blog-shell {
    padding: 24px 16px 56px !important;
  }

  .site-theme-creative-spark-solutions .blog-story-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .site-theme-creative-spark-solutions .blog-story-card,
  .site-theme-creative-spark-solutions .blog-card,
  .site-theme-creative-spark-solutions .blog-post {
    padding: 22px 20px !important;
  }

  .site-theme-creative-spark-solutions .blog-post-body > p:first-child:has(img) {
    float: none;
    width: auto;
    margin: 0 0 22px;
  }
}
