.blog-page {
  background: var(--ps-band, #f4f6f8);
  font-family: Inter, "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ps-text, #15161a);
}

.blog-main {
  padding-top: 0;
}

.blog-page h1,
.blog-page h2,
.blog-page h3,
.blog-page h4 {
  font-family: "Plus Jakarta Sans", Inter, "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.blog-section {
  padding: clamp(5rem, 8vw, 7rem) 0;
  background: var(--ps-band, #f4f6f8);
}

.blog-hero {
  position: relative;
  padding-top: 42px;
  padding-bottom: 40px;
  overflow: hidden;
  background: #ffffff;
  border-bottom: 1px solid rgba(21, 22, 26, 0.08);
}

.blog-hero__grid {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.blog-hero h1,
.blog-article-hero h1 {
  max-width: 760px;
  margin: 0 auto 16px;
  color: var(--ps-text, #15161a);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.1;
}

.blog-hero__lead,
.blog-article-hero__lead {
  max-width: 680px;
  margin: 0 auto;
  color: var(--ps-muted, #5e6472);
  font-size: clamp(0.975rem, 1.6vw, 1.125rem);
  line-height: 1.65;
}

.blog-category-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.8rem;
}

.blog-category-link {
  color: #15161a;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(21, 22, 26, 0.24);
}

.blog-category-link:hover {
  border-bottom-color: var(--ps-green, #1eb0a3);
  color: var(--ps-green, #1eb0a3);
}

.blog-section .container > h2 {
  max-width: 820px;
  margin: 0 auto 1.5rem;
  color: var(--ps-text, #15161a);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.1;
  text-align: center;
}

.blog-grid {
  display: block;
  border-top: 1px solid rgba(21, 22, 26, 0.12);
}

.blog-card {
  display: block;
  min-height: 0;
  overflow: visible;
  border: 0;
  border-bottom: 1px solid rgba(21, 22, 26, 0.12);
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
  box-shadow: none;
  transition: background-color 180ms ease;
}

.blog-card:hover {
  transform: none;
  border-color: rgba(21, 22, 26, 0.12);
  background: rgba(255, 255, 255, 0.48);
  box-shadow: none;
}

.blog-grid .blog-card:last-child {
  border-bottom: 0;
}

.blog-card__body {
  display: grid;
  grid-template-columns: minmax(145px, 0.28fr) minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 0.5rem clamp(20px, 4vw, 52px);
  align-items: start;
  padding: clamp(24px, 3.2vw, 36px) clamp(4px, 1vw, 12px);
}

.blog-card__body .blog-card__meta {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-content: start;
}

.blog-card__body > h2,
.blog-card__body > h3,
.blog-card__body > p {
  grid-column: 2;
}

.blog-card__body .blog-card__cta {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  white-space: nowrap;
}

.blog-card__body .blog-card__cta::after {
  content: " →";
}

.blog-card__meta,
.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  color: #596079;
  font-size: 0.86rem;
  font-weight: 600;
}

.blog-card__body .blog-card__meta {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
}

.blog-article-meta {
  justify-content: center;
  margin-bottom: 0.95rem;
}

.blog-card__category,
.blog-article-meta__category {
  color: #15161a;
}

.blog-card h2,
.blog-card h3 {
  margin: 0;
  color: var(--ps-text, #15161a);
  font-family: "Plus Jakarta Sans", Inter, "Segoe UI", sans-serif;
  font-size: clamp(1.08rem, 2.1vw, 1.28rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0;
}

.blog-card p {
  margin: 0;
  color: #4e5570;
  font-size: 0.98rem;
  line-height: 1.6;
}

.blog-card__cta {
  align-self: end;
  color: var(--ps-green, #1eb0a3);
  font-size: 0.95rem;
  font-weight: 800;
}

.blog-index-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.2rem;
  align-items: center;
  margin-top: 1.8rem;
  padding: clamp(1.5rem, 3vw, 2.2rem) 0;
  border-top: 1px solid rgba(21, 22, 26, 0.12);
  border-bottom: 0;
  border-radius: 0;
  background: transparent;
}

.blog-index-cta h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.16;
}

.blog-index-cta p {
  margin: 0;
  color: #4e5570;
}

.bubble {
  width: 100%;
  max-width: 92%;
  padding: 0.62rem 0;
  border-bottom: 1px solid rgba(21, 22, 26, 0.10);
  border-radius: 0;
  background: transparent;
  color: #202640;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.bubble--ai {
  justify-self: stretch;
  background: transparent;
}

.bubble--handoff {
  border: 0;
  border-bottom: 1px solid rgba(21, 22, 26, 0.10);
  background: transparent;
}

.blog-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.42rem;
  align-items: center;
  margin-bottom: 1.2rem;
  color: #5c647a;
  font-size: 0.9rem;
  font-weight: 600;
}

.blog-breadcrumb a {
  color: #30364f;
  text-decoration: none;
}

.blog-breadcrumb a:hover {
  color: var(--ps-green, #1eb0a3);
}

.blog-article-hero {
  position: relative;
  padding-top: 42px;
  padding-bottom: 40px;
  overflow: hidden;
  background: #ffffff;
  border-bottom: 1px solid rgba(21, 22, 26, 0.08);
}

.blog-article-hero__grid {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.blog-article-shell {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(220px, 300px);
  gap: clamp(1.8rem, 4vw, 3rem);
  align-items: start;
  padding-bottom: clamp(4rem, 8vw, 6rem);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.blog-article-body {
  display: grid;
  min-width: 0;
  gap: 1.45rem;
  overflow-wrap: anywhere;
}

.blog-article-body h2 {
  margin: 0.8rem 0 0;
  color: var(--ps-text, #15161a);
  font-family: "Plus Jakarta Sans", Inter, "Segoe UI", sans-serif;
  font-size: clamp(1.45rem, 2.7vw, 2rem);
  font-weight: 800;
  line-height: 1.16;
}

.blog-article-body h3 {
  margin: 0.4rem 0 0;
  color: var(--ps-text, #15161a);
  font-family: "Plus Jakarta Sans", Inter, "Segoe UI", sans-serif;
  font-size: clamp(1.06rem, 2.2vw, 1.22rem);
  font-weight: 800;
}

.blog-article-body p,
.blog-article-body li {
  color: #3f465f;
  font-size: 1.02rem;
  line-height: 1.78;
}

.blog-article-body p {
  margin: 0;
}

.blog-article-body a {
  color: #15161a;
  font-weight: 800;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.blog-article-body a:hover {
  color: var(--ps-green, #1eb0a3);
}

.blog-article-body ul,
.blog-article-body ol {
  margin: 0;
  padding-left: 1.2rem;
}

.blog-article-body li + li {
  margin-top: 0.38rem;
}

.blog-insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0.35rem 0 0.4rem;
  border-top: 1px solid rgba(21, 22, 26, 0.10);
}

.blog-insight {
  padding: 1rem 1.25rem 1rem 0;
  border: 0;
  border-bottom: 1px solid rgba(21, 22, 26, 0.10);
  border-radius: 0;
  background: transparent;
}

.blog-insight:nth-child(even) {
  padding-right: 0;
  padding-left: 1.25rem;
  border-left: 1px solid rgba(21, 22, 26, 0.10);
}

.blog-insight strong {
  display: block;
  color: var(--ps-text, #15161a);
  font-family: "Plus Jakarta Sans", Inter, "Segoe UI", sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
}

.blog-insight span {
  display: block;
  margin-top: 0.42rem;
  color: #5b6478;
  font-size: 0.92rem;
  line-height: 1.55;
}

.blog-visual-block {
  display: grid;
  gap: 1rem;
  margin: 1.8rem 0;
  padding: 1.6rem 0;
  border: 0;
  border-top: 1px solid rgba(21, 22, 26, 0.10);
  border-bottom: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.blog-visual-block h2,
.blog-visual-block h3 {
  margin: 0;
}

.blog-decision-flow,
.blog-funnel,
.blog-sequence {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.flow-step {
  position: relative;
  min-height: 90px;
  padding: 0.85rem 0;
  border: 0;
  border-bottom: 1px solid rgba(21, 22, 26, 0.10);
  border-radius: 0;
  background: transparent;
}

.flow-step strong {
  display: block;
  color: var(--ps-text, #15161a);
  font-family: "Plus Jakarta Sans", Inter, "Segoe UI", sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
}

.flow-step span {
  display: block;
  margin-top: 0.36rem;
  color: #5b6478;
  font-size: 0.88rem;
  line-height: 1.45;
}

.flow-step--yes {
  background: transparent;
  box-shadow: none;
}

.flow-step--no {
  background: transparent;
  box-shadow: none;
}

.check-grid,
.metric-grid,
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(21, 22, 26, 0.10);
}

.check-item,
.metric-card,
.comparison-card {
  padding: 1rem 0;
  border: 0;
  border-bottom: 1px solid rgba(21, 22, 26, 0.10);
  border-radius: 0;
  background: transparent;
}

.check-item {
  display: grid;
  grid-template-columns: 1.1rem minmax(150px, 0.38fr) minmax(0, 1fr);
  gap: 0 0.9rem;
  align-items: start;
}

.metric-card,
.comparison-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.38fr) minmax(0, 1fr);
  gap: 0 1rem;
  align-items: start;
}

.check-item::before {
  content: "✓";
  display: block;
  margin-top: 0.08rem;
  color: var(--ps-green, #1eb0a3);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.35;
}

.check-item strong,
.metric-card strong,
.comparison-card strong {
  display: block;
  color: var(--ps-text, #15161a);
  font-family: "Plus Jakarta Sans", Inter, "Segoe UI", sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
}

.check-item span,
.metric-card span,
.comparison-card span {
  display: block;
  margin-top: 0;
  color: #596079;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.55;
}

.blog-table-wrap {
  overflow-x: auto;
  border-top: 1px solid rgba(21, 22, 26, 0.10);
  border-bottom: 1px solid rgba(21, 22, 26, 0.10);
  border-radius: 0;
  background: transparent;
}

.blog-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.blog-table th,
.blog-table td {
  padding: 0.9rem;
  border-bottom: 1px solid rgba(21, 22, 26, 0.10);
  color: #3f465f;
  font-size: 0.94rem;
  line-height: 1.5;
  text-align: left;
  vertical-align: top;
}

.blog-table th {
  color: var(--ps-text, #15161a);
  font-family: "Plus Jakarta Sans", Inter, "Segoe UI", sans-serif;
  font-weight: 800;
  background: #f8fbff;
}

.blog-table tr:last-child td {
  border-bottom: 0;
}

.blog-figure {
  display: grid;
  gap: 0.55rem;
  margin: 0.4rem 0;
}

.blog-figure img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  object-position: center;
  border: 1px solid rgba(21, 22, 26, 0.10);
  border-radius: 12px;
  background: #ffffff;
}

.blog-figure figcaption {
  color: #596079;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.55;
}

.blog-faq-list,
.blog-source-note ul {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-faq-item {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(21, 22, 26, 0.10);
}

.blog-faq-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.blog-faq-item h3 {
  margin: 0 0 0.35rem;
}

.blog-author-bio,
.blog-source-note {
  display: grid;
  gap: 0.65rem;
  padding: 1.4rem 0;
  border: 0;
  border-top: 1px solid rgba(21, 22, 26, 0.10);
  border-bottom: 0;
  border-radius: 0;
  background: transparent;
}

.blog-author-bio strong {
  color: var(--ps-text, #15161a);
  font-family: "Plus Jakarta Sans", Inter, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.blog-source-note h2 {
  margin: 0;
}

.blog-source-note li {
  padding-top: 0.65rem;
  border-top: 1px solid rgba(21, 22, 26, 0.10);
}

.blog-source-note li:first-child {
  padding-top: 0;
  border-top: 0;
}

.chat-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.chat-example {
  padding: 1rem 0;
  border: 0;
  border-bottom: 1px solid rgba(21, 22, 26, 0.10);
  border-radius: 0;
  background: transparent;
}

.chat-example--bad {
  background: transparent;
  box-shadow: none;
}

.chat-example--good {
  background: transparent;
  box-shadow: none;
}

.chat-example strong {
  display: block;
  color: #11162d;
  margin-bottom: 0.6rem;
}

.blog-cta-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  align-items: center;
  margin-top: 0.8rem;
  padding: 1.6rem 0;
  border: 0;
  border-top: 1px solid rgba(21, 22, 26, 0.10);
  border-bottom: 0;
  border-radius: 0;
  background: transparent;
}

.blog-cta-card h2 {
  margin: 0;
}

.blog-cta-card p {
  margin: 0.55rem 0 1rem;
}

.blog-cta-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.blog-cta-card__link {
  color: #15161a;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.blog-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 1rem;
}

.blog-sidebar-card {
  padding: 1rem 0;
  border: 0;
  border-top: 1px solid rgba(21, 22, 26, 0.10);
  border-radius: 0;
  background: transparent;
}

.blog-sidebar-card h2 {
  margin: 0 0 0.7rem;
  font-family: "Plus Jakarta Sans", Inter, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.blog-sidebar-card ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-sidebar-card a {
  color: #30364f;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
}

.blog-sidebar-card a:hover {
  color: var(--ps-green, #1eb0a3);
}

.related-posts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(21, 22, 26, 0.10);
}

.related-post {
  padding: 1rem 1.25rem 1rem 0;
  border: 0;
  border-bottom: 1px solid rgba(21, 22, 26, 0.10);
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
}

.related-post:nth-child(even) {
  padding-right: 0;
  padding-left: 1.25rem;
  border-left: 1px solid rgba(21, 22, 26, 0.10);
}

.related-post strong {
  display: block;
  color: var(--ps-text, #15161a);
  font-family: "Plus Jakarta Sans", Inter, "Segoe UI", sans-serif;
  font-weight: 800;
}

.related-post span {
  display: block;
  margin-top: 0.4rem;
  color: #5b6478;
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .blog-hero__grid,
  .blog-article-hero__grid,
  .blog-article-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .blog-main {
    padding-top: 0;
  }

  .blog-section,
  .blog-hero,
  .blog-article-hero {
    padding-left: 0;
    padding-right: 0;
  }

  .blog-hero,
  .blog-article-hero {
    padding-top: 42px;
    padding-bottom: 36px;
  }

  .blog-page .site-header--compact .mobile-header-login {
    display: none;
  }

  .blog-hero__grid,
  .blog-article-hero__grid {
    width: 100%;
    max-width: 340px;
  }

  .blog-hero h1,
  .blog-article-hero h1 {
    max-width: 320px;
    font-size: 2rem;
    line-height: 1.08;
    overflow-wrap: break-word;
  }

  .blog-hero__lead,
  .blog-article-hero__lead {
    max-width: 320px;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .blog-article-meta {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .blog-category-nav {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.55rem;
  }

  .blog-category-link {
    max-width: 100%;
    overflow-wrap: break-word;
    text-align: center;
  }

  .blog-grid,
  .blog-insight-grid,
  .check-grid,
  .metric-grid,
  .comparison-grid,
  .chat-compare,
  .related-posts,
  .blog-sidebar,
  .blog-index-cta,
  .blog-cta-card {
    grid-template-columns: 1fr;
  }

  .blog-card__body {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0.55rem;
    padding: 24px 0;
  }

  .blog-card__body .blog-card__meta,
  .blog-card__body > h2,
  .blog-card__body > h3,
  .blog-card__body > p,
  .blog-card__body .blog-card__cta {
    grid-column: 1;
    grid-row: auto;
  }

  .blog-insight:nth-child(even),
  .related-post:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .blog-card__body .blog-card__meta {
    flex-direction: row;
    align-items: center;
    gap: 0.45rem 0.65rem;
  }

  .blog-card__body .blog-card__cta {
    justify-self: start;
    margin-top: 0.2rem;
  }

  .blog-decision-flow,
  .blog-funnel,
  .blog-sequence {
    grid-template-columns: 1fr;
  }

  .check-item {
    grid-template-columns: 1.1rem minmax(0, 1fr);
    gap: 0.25rem 0.7rem;
  }

  .check-item strong,
  .check-item span {
    grid-column: 2;
  }

  .metric-card,
  .comparison-card {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

}

@media (max-width: 480px) {
  .blog-card__body {
    padding: 22px 0;
    border-radius: 0;
  }

}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal].is-visible,
  .blog-card,
  .btn,
  .blog-funnel .flow-step,
  .blog-sequence .flow-step {
    transition: none !important;
    transform: none !important;
  }
}

.blog-product-shots {
  margin: 2.8rem 0;
}

.blog-product-shots__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.4rem;
}

.blog-product-shots figure {
  min-width: 0;
  margin: 0;
}

.blog-product-shots > img,
.blog-product-shots figure > img,
.blog-shot-visual {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  border: 1px solid rgba(21, 22, 26, 0.1);
  border-radius: 16px;
  background: #f5f6f8;
}

.blog-shot-visual {
  position: relative;
}

.blog-shot-visual > img {
  display: block;
  width: 100%;
  height: auto;
}

.blog-shot-logo-clean {
  position: absolute;
  left: 50.25%;
  top: 16.65%;
  width: 8.85%;
  height: 3.45%;
  background: #fff url("/assets/social/mallow-logo.png") center / 108% auto no-repeat;
}

.blog-product-shots figcaption {
  padding: 0.8rem 0.2rem 0;
  color: var(--ps-muted, #5e6472);
  font-size: 0.84rem;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .blog-product-shots__grid {
    grid-template-columns: 1fr;
  }

}
