.booster-blog,
.booster-article {
  --booster-blog-bg: #f7f8fa;
  --booster-blog-surface: #ffffff;
  --booster-blog-text: #2a2f3b;
  --booster-blog-heading: #0a173a;
  --booster-blog-muted: #6f7d90;
  --booster-blog-border: #dae0e8;
  --booster-blog-accent: #3390fb;
  --booster-blog-accent-soft: #e9effa;
  --booster-blog-highlight: #ffe500;
  background: var(--booster-blog-bg);
  color: var(--booster-blog-text);
  overflow: hidden;
  padding: 9.5rem 0 5.5rem;
}

.booster-blog__container,
.booster-article__container {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 1280px;
  padding: 0 32px;
  width: 100%;
}

.booster-blog__hero,
.booster-article__header {
  padding-bottom: 48px;
}

.booster-blog__hero-content,
.booster-article__header-content {
  background: var(--booster-blog-surface);
  border: 1px solid var(--booster-blog-border);
  border-radius: 24px;
  padding: 48px;
  position: relative;
}

.booster-blog__breadcrumbs,
.booster-article__breadcrumbs {
  align-items: center;
  color: var(--booster-blog-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 8px;
  margin-bottom: 20px;
}

.booster-blog__breadcrumbs a,
.booster-article__breadcrumbs a {
  color: var(--booster-blog-muted);
  text-decoration: none;
}

.booster-blog__breadcrumbs a:hover,
.booster-article__breadcrumbs a:hover {
  color: var(--booster-blog-accent);
}

.booster-blog__eyebrow,
.booster-article__category,
.booster-blog-empty__eyebrow {
  color: var(--booster-blog-accent);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.booster-blog__title,
.booster-article__title {
  color: var(--booster-blog-heading);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
  margin: 14px 0 18px;
  max-width: 940px;
}

.booster-blog__description,
.booster-article__lead {
  color: var(--booster-blog-muted);
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  max-width: 720px;
}

.booster-blog__description p,
.booster-article__lead p {
  font-size: inherit;
  line-height: inherit;
  margin: 0;
}

.booster-category-nav {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  overflow-x: auto;
  padding: 2px 0 8px;
  scrollbar-width: thin;
}

.booster-category-nav__link {
  align-items: center;
  background: var(--booster-blog-surface);
  border: 1px solid var(--booster-blog-border);
  border-radius: 999px;
  color: var(--booster-blog-text);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 600;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.booster-category-nav__link:hover,
.booster-category-nav__link.is-active {
  background: var(--booster-blog-accent);
  border-color: var(--booster-blog-accent);
  color: #fff;
}

.booster-blog__posts {
  padding-top: 12px;
}

.booster-blog__grid,
.booster-article__related-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.booster-blog-card {
  background: var(--booster-blog-surface);
  border: 1px solid var(--booster-blog-border);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.booster-blog-card:hover {
  border-color: #b8d8fb;
  box-shadow: 0 14px 28px rgba(10, 23, 58, 0.07);
  transform: translateY(-3px);
}

.booster-blog-card__media {
  background: var(--booster-blog-accent-soft);
  display: block;
  overflow: hidden;
  position: relative;
}

.booster-blog-card__media::before {
  content: "";
  display: block;
  padding-top: 58%;
}

.booster-blog-card__image,
.booster-blog-card__placeholder {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.booster-blog-card__placeholder {
  background: linear-gradient(135deg, #e9effa 0%, #f8fbff 62%, #d8e8fb 62%, #d8e8fb 100%);
}

.booster-blog-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 24px;
}

.booster-blog-card__meta,
.booster-article__meta {
  align-items: center;
  color: var(--booster-blog-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 10px;
  line-height: 1.35;
}

.booster-blog-card__category {
  color: var(--booster-blog-accent);
  font-weight: 700;
  text-decoration: none;
}

.booster-blog-card__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.22;
  margin: 16px 0 12px;
}

.booster-blog-card__title a {
  color: var(--booster-blog-heading);
  text-decoration: none;
}

.booster-blog-card__title a:hover {
  color: var(--booster-blog-accent);
}

.booster-blog-card__excerpt {
  color: var(--booster-blog-muted);
  display: -webkit-box;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 20px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.booster-blog-card__link,
.booster-article__back,
.booster-article__cta-link {
  align-items: center;
  color: var(--booster-blog-accent);
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  gap: 8px;
  min-height: 30px;
  text-decoration: none;
}

.booster-blog-card__link {
  margin-top: auto;
}

.booster-blog-card__link:hover,
.booster-article__back:hover,
.booster-article__cta-link:hover {
  color: #1175e9;
}

.booster-blog .navigation.pagination {
  margin-top: 40px;
}

.booster-blog .nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.booster-blog .page-numbers {
  align-items: center;
  background: var(--booster-blog-surface);
  border: 1px solid var(--booster-blog-border);
  border-radius: 10px;
  color: var(--booster-blog-text);
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 12px;
  text-decoration: none;
}

.booster-blog .page-numbers.current,
.booster-blog a.page-numbers:hover {
  background: var(--booster-blog-accent);
  border-color: var(--booster-blog-accent);
  color: #fff;
}

.booster-blog-empty {
  background: var(--booster-blog-surface);
  border: 1px solid var(--booster-blog-border);
  border-radius: 18px;
  padding: 48px;
  text-align: center;
}

.booster-blog-empty h2 {
  color: var(--booster-blog-heading);
  font-size: 28px;
  line-height: 1.2;
  margin: 12px 0;
}

.booster-blog-empty p {
  color: var(--booster-blog-muted);
  margin: 0;
}

.booster-article__header-content {
  padding: 40px 48px 48px;
}

.booster-article__back {
  margin-bottom: 28px;
}

.booster-article__title {
  font-size: clamp(34px, 4.6vw, 58px);
  max-width: 980px;
}

.booster-article__lead {
  margin-top: 22px;
  max-width: 760px;
}

.booster-article__hero-media {
  background: var(--booster-blog-surface);
  border: 1px solid var(--booster-blog-border);
  border-radius: 18px;
  margin: 0 auto 56px;
  max-width: 880px;
  padding: 10px;
}

.booster-article__hero-image {
  border-radius: 18px;
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}

.booster-article__content-wrap {
  margin: 0 auto;
  max-width: 800px;
}

.booster-article-content {
  color: var(--booster-blog-text);
  font-size: 18px;
  line-height: 1.72;
}

.booster-article-content > :first-child {
  margin-top: 0;
}

.booster-article-content > :last-child {
  margin-bottom: 0;
}

.booster-article-content p,
.booster-article-content li {
  font-size: inherit;
  line-height: inherit;
}

.booster-article-content p {
  margin: 0 0 1.4em;
}

.booster-article-content h2,
.booster-article-content h3,
.booster-article-content h4,
.booster-article-content h5,
.booster-article-content h6 {
  color: var(--booster-blog-heading);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.booster-article-content h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  margin: 1.8em 0 0.65em;
}

.booster-article-content h3 {
  font-size: clamp(23px, 3vw, 30px);
  margin: 1.7em 0 0.65em;
}

.booster-article-content h4,
.booster-article-content h5,
.booster-article-content h6 {
  font-size: 20px;
  margin: 1.5em 0 0.6em;
}

.booster-article-content a {
  color: var(--booster-blog-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.booster-article-content ul,
.booster-article-content ol {
  margin: 0 0 1.5em;
  padding-left: 1.35em;
}

.booster-article-content li + li {
  margin-top: 0.45em;
}

.booster-article-content ul ul,
.booster-article-content ol ol,
.booster-article-content ul ol,
.booster-article-content ol ul {
  margin: 0.45em 0 0;
}

.booster-article-content blockquote {
  border-left: 3px solid var(--booster-blog-accent);
  color: var(--booster-blog-heading);
  font-size: 1.08em;
  font-weight: 500;
  margin: 1.8em 0;
  padding: 0.15em 0 0.15em 1.2em;
}

.booster-article-content blockquote p:last-child {
  margin-bottom: 0;
}

.booster-article-content figure,
.booster-article-content .wp-block-image {
  height: auto;
  margin: 2em 0;
}

.booster-article-content figure img,
.booster-article-content img,
.booster-article-content video,
.booster-article-content iframe {
  height: auto;
  max-width: 100%;
}

.booster-article-content figcaption {
  color: var(--booster-blog-muted);
  font-size: 14px;
  line-height: 1.5;
  margin-top: 10px;
  text-align: left;
}

.booster-article-content .alignwide,
.booster-article-content .alignfull {
  margin-left: min(-12vw, -160px);
  margin-right: min(-12vw, -160px);
  max-width: none;
}

.booster-article-content .wp-block-table,
.booster-article-content table {
  display: block;
  margin: 2em 0;
  max-width: 100%;
  overflow-x: auto;
  width: 100%;
}

.booster-article-content table {
  border-collapse: collapse;
}

.booster-article-content th,
.booster-article-content td {
  border: 1px solid var(--booster-blog-border);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.booster-article-content th {
  background: var(--booster-blog-accent-soft);
  color: var(--booster-blog-heading);
  font-weight: 700;
}

.booster-article-content pre,
.booster-article-content code {
  font-family: SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.booster-article-content pre {
  background: #0a173a;
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
  margin: 1.8em 0;
  overflow-x: auto;
  padding: 20px;
}

.booster-article-content :not(pre) > code {
  background: var(--booster-blog-accent-soft);
  border-radius: 4px;
  color: var(--booster-blog-heading);
  font-size: 0.88em;
  padding: 0.16em 0.34em;
}

.booster-article-acf-toc {
  background: var(--booster-blog-surface);
  border: 1px solid var(--booster-blog-border);
  border-radius: 16px;
  margin-bottom: 40px;
  padding: 24px;
}

.booster-article-acf-toc__title,
.booster-article-acf-block__subtitle {
  color: var(--booster-blog-accent);
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.booster-article-acf-toc__list {
  margin: 14px 0 0;
  padding-left: 1.35em;
}

.booster-article-acf-toc__list ol {
  margin: 8px 0 0;
}

.booster-article-acf-block {
  margin: 0 0 48px;
}

.booster-article-acf-block__header {
  margin-bottom: 20px;
}

.booster-article-acf-block__heading {
  color: var(--booster-blog-heading);
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 10px 0 0;
}

.booster-article-acf-block--split {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
}

.booster-article-acf-block--split.is-reversed .booster-article-acf-block__copy {
  order: 2;
}

.booster-article-acf-block__media img {
  border-radius: 16px;
  display: block;
  height: auto;
  width: 100%;
}

.booster-article-acf-form {
  background: var(--booster-blog-accent-soft);
  border-radius: 18px;
  margin-top: 40px;
  padding: 28px;
}

.booster-article-acf-form h2 {
  color: var(--booster-blog-heading);
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 12px;
}

.booster-article-acf-form p {
  color: var(--booster-blog-muted);
}

.booster-article__tags,
.booster-article__post-nav,
.booster-article__related,
.booster-article__cta {
  border-top: 1px solid var(--booster-blog-border);
  margin-top: 48px;
  padding-top: 32px;
}

.booster-article__tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.booster-article__tags-list a {
  background: var(--booster-blog-accent-soft);
  border-radius: 999px;
  color: var(--booster-blog-heading);
  display: inline-flex;
  font-size: 14px;
  padding: 8px 12px;
  text-decoration: none;
}

.booster-article__tags-list a:hover {
  background: var(--booster-blog-accent);
  color: #fff;
}

.booster-article__post-nav {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booster-article__post-nav-link {
  background: var(--booster-blog-surface);
  border: 1px solid var(--booster-blog-border);
  border-radius: 14px;
  color: var(--booster-blog-heading);
  display: flex;
  flex-direction: column;
  font-size: 16px;
  font-weight: 700;
  min-height: 100px;
  padding: 18px;
  text-decoration: none;
}

.booster-article__post-nav-link:hover {
  border-color: var(--booster-blog-accent);
  color: var(--booster-blog-accent);
}

.booster-article__post-nav-label {
  color: var(--booster-blog-muted);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
}

.booster-article__related-title,
.booster-article__cta-title {
  color: var(--booster-blog-heading);
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 24px;
}

.booster-article__cta {
  align-items: flex-start;
  background: var(--booster-blog-accent-soft);
  border: 0;
  border-radius: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  padding: 28px;
}

.booster-article__cta-title {
  margin: 0;
  max-width: 520px;
}

.booster-blog a:focus-visible,
.booster-article a:focus-visible {
  outline: 3px solid var(--booster-blog-accent) !important;
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .booster-blog,
  .booster-article {
    padding-top: 8rem;
  }

  .booster-blog__grid,
  .booster-article__related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booster-article-content .alignwide,
  .booster-article-content .alignfull {
    margin-left: -32px;
    margin-right: -32px;
  }
}

@media (max-width: 640px) {
  .booster-blog,
  .booster-article {
    padding: 6.75rem 0 3.5rem;
  }

  .booster-blog__container,
  .booster-article__container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .booster-blog__hero,
  .booster-article__header {
    padding-bottom: 32px;
  }

  .booster-blog__hero-content,
  .booster-article__header-content {
    border-radius: 16px;
    padding: 28px 22px;
  }

  .booster-blog__hero-content::after {
    right: 22px;
    top: 30px;
  }

  .booster-blog__title,
  .booster-article__title {
    font-size: clamp(30px, 10vw, 40px);
    margin-bottom: 16px;
  }

  .booster-blog__description,
  .booster-article__lead {
    font-size: 16px;
  }

  .booster-blog__grid,
  .booster-article__related-grid,
  .booster-article__post-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .booster-blog-card__body {
    padding: 20px;
  }

  .booster-blog-card__title {
    font-size: 20px;
  }

  .booster-blog-empty {
    padding: 36px 22px;
  }

  .booster-article__hero-image {
    border-radius: 12px;
  }

  .booster-article__hero-media {
    border-radius: 14px;
    margin-bottom: 36px;
    padding: 6px;
  }

  .booster-article-acf-block--split {
    grid-template-columns: minmax(0, 1fr);
  }

  .booster-article-acf-block--split.is-reversed .booster-article-acf-block__copy {
    order: 0;
  }

  .booster-article-content {
    font-size: 17px;
    line-height: 1.68;
  }

  .booster-article-content .alignwide,
  .booster-article-content .alignfull {
    margin-left: -20px;
    margin-right: -20px;
  }

  .booster-article__tags,
  .booster-article__post-nav,
  .booster-article__related,
  .booster-article__cta {
    margin-top: 36px;
    padding-top: 24px;
  }

  .booster-article__cta {
    border-radius: 14px;
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booster-blog-card,
  .booster-category-nav__link {
    transition: none;
  }

  .booster-blog-card:hover {
    transform: none;
  }
}
