: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,
.site-theme-creative-spark-solutions .blog-featured-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
}

.site-theme-creative-spark-solutions .blog-index-tools {
  display: block;
  max-width: 560px;
  margin: 0 0 18px;
}

.site-theme-creative-spark-solutions .blog-search-row {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.site-theme-creative-spark-solutions .blog-search-input {
  flex: 1 1 320px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #d9d9d9;
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: #ffffff;
  font-size: 0.96rem;
  color: var(--spark-ink);
  box-shadow: none;
}

.site-theme-creative-spark-solutions .blog-search-input::placeholder {
  color: #a0a0a0;
}

.site-theme-creative-spark-solutions .blog-search-input:focus {
  outline: none;
  border-color: #bdbdbd;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.site-theme-creative-spark-solutions .blog-search-button {
  width: 54px;
  min-width: 54px;
  min-height: 42px;
  padding: 0;
  border: 1px solid #2d2d2d;
  border-radius: 0 8px 8px 0;
  background: #2d2d2d;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.site-theme-creative-spark-solutions .blog-search-button:hover {
  background: #1f1f1f;
  opacity: 1;
}

.site-theme-creative-spark-solutions .blog-feature-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  min-height: 280px !important;
}

.site-theme-creative-spark-solutions .blog-feature-card .blog-card-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.site-theme-creative-spark-solutions .blog-feature-card .blog-card-read {
  margin-top: auto !important;
  padding-top: 12px !important;
}

.site-theme-creative-spark-solutions .blog-card-media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 140px;
  margin: 0 0 16px;
  border: 1px dashed var(--spark-line);
  border-radius: 14px;
  background: #fafafa;
  color: var(--spark-muted);
  font-size: 0.9rem;
}

.site-theme-creative-spark-solutions .blog-card-title a {
  text-decoration: none;
}

.site-theme-creative-spark-solutions .blog-card-title a:hover {
  text-decoration: underline;
}

.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: 20px 20px 18px !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: 8px 0 0 !important;
  font-size: 1.14rem !important;
  line-height: 1.24 !important;
  letter-spacing: -0.01em !important;
}

.site-theme-creative-spark-solutions .blog-card-summary {
  margin: 8px 0 0 !important;
  max-width: none !important;
  color: var(--spark-muted) !important;
  font-size: 0.93rem !important;
  line-height: 1.48 !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 a:has(img),
.site-theme-creative-spark-solutions .blog-card-media {
  display: inline-block;
}

.site-theme-creative-spark-solutions .blog-post-body img,
.site-theme-creative-spark-solutions .blog-card-media img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto 20px;
  border: 1px solid var(--spark-line);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  cursor: zoom-in;
}

.site-theme-creative-spark-solutions .blog-card-media {
  margin: 0 0 12px;
}

.site-theme-creative-spark-solutions .blog-card-media img {
  margin: 0;
}

.site-theme-creative-spark-solutions .blog-post-body > p:first-child:has(img) {
  float: left;
  width: min(220px, 32%);
  margin: 6px 22px 14px 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: 14px 0 0 !important;
}

.site-theme-creative-spark-solutions .blog-list-block {
  margin-top: 8px;
  padding-top: 12px;
}

.site-theme-creative-spark-solutions .blog-list-header {
  margin: 0 0 18px;
}

.site-theme-creative-spark-solutions .blog-list-header h2 {
  margin: 0;
}

.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,
  .site-theme-creative-spark-solutions .blog-featured-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .site-theme-creative-spark-solutions .blog-index-tools {
    max-width: none;
  }

  .site-theme-creative-spark-solutions .blog-search-row {
    align-items: stretch;
  }

  .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;
  }
}
