﻿/* OutsourceRank single/page design system. Ported from live external stylesheets. */

/* ===== _live_components.css ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--color-link);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-primary);
  box-shadow: var(--shadow-glow-accent);
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
}

.btn--secondary:hover {
  background: var(--color-surface-alt);
  color: var(--color-primary);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn--sm {
  min-height: 40px;
  padding: 10px 20px;
  font-size: 0.875rem;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(245, 183, 0, 0.2);
}

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 183, 0, 0.08);
  color: var(--color-accent-strong);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card__title {
  margin-bottom: var(--space-3);
}

.card__text {
  font-size: 0.9375rem;
  margin-bottom: var(--space-5);
}

.card__link {
  font-weight: 600;
  color: var(--color-accent-strong);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.card__link:hover {
  color: var(--color-accent-hover);
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
}

.trust-pill svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent-strong);
  flex-shrink: 0;
}

/* The base FAQ accordion (.faq, .faq summary, .faq__body, .faq-grid) lives in
   site.css so it is available on the front page as well; pages.css is not
   enqueued there. Only Home-specific overrides remain in this file. */

.process-step {
  position: relative;
  text-align: center;
  padding: var(--space-6);
}

.process-step__num {
  width: 40px;
  height: 40px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
}

.cta-band {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-on-dark);
  text-align: center;
  padding: var(--space-16) var(--space-6);
  border-radius: var(--radius-xl);
}

.cta-band h2 {
  color: var(--color-on-dark);
  margin-bottom: var(--space-4);
}

.cta-band p {
  color: var(--color-muted-on-dark);
  max-width: 560px;
  margin: 0 auto var(--space-8);
  font-size: 1.125rem;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-8) var(--space-12);
  padding: var(--space-10) 0;
}

.logo-strip__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  width: 100%;
  text-align: center;
  margin-bottom: var(--space-2);
}

.logo-strip img {
  height: 28px;
  width: auto;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: opacity var(--transition-base), filter var(--transition-base);
}

.logo-strip img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.breadcrumbs {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  padding-block: var(--space-4);
}

.breadcrumbs ol,
.breadcrumbs li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
  color: var(--color-border);
  content: "/";
  margin-left: var(--space-2);
}

.breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--color-accent-strong);
  text-decoration: underline;
}

.industry-tag {
  display: inline-flex;
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.industry-tag:hover {
  border-color: var(--color-accent-strong);
  color: var(--color-accent-strong);
}


/* ===== _live_sections.css ===== */
.problem-grid .card {
  text-align: left;
}

.methodology-grid .card {
  text-align: center;
}

.methodology-grid .card__icon {
  margin-inline: auto;
}

.services-grid .card__link::after {
  content: 'â†’';
}

.why-section img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-4);
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--color-border);
  z-index: 0;
}

.tech-grid .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--color-border-on-dark);
}

.tech-grid .card:hover {
  background: rgba(255, 255, 255, 0.06);
}

.tech-grid .card__title,
.tech-grid .card__text {
  color: var(--color-on-dark);
}

.tech-grid .card__text {
  color: var(--color-muted-on-dark);
}

.tech-grid .card__icon {
  background: rgba(245, 183, 0, 0.15);
}

.case-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.case-card__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent-strong);
  margin-bottom: var(--space-3);
}

.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.geo-section .split {
  align-items: start;
}

.geo-list {
  list-style: none;
  display: grid;
  gap: var(--space-4);
}

.geo-list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.geo-list svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent-strong);
  flex-shrink: 0;
  margin-top: 2px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.blog-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-card__media {
  display: block;
}

.blog-card__media--fallback {
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 183, 0, 0.16), transparent 45%),
    linear-gradient(135deg, rgba(0, 43, 92, 0.96), rgba(7, 59, 113, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card__media-fallback {
  align-items: center;
  color: var(--color-accent-strong);
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.blog-card__media-fallback svg {
  height: 40px;
  opacity: 0.85;
  width: 40px;
}

.blog-card__body {
  padding: var(--space-5);
}

.blog-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.blog-card__title a {
  color: inherit;
}

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

.entity-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.entity-block dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin: 0;
}

.entity-block dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
}

.entity-block dd {
  margin: var(--space-1) 0 0;
  font-weight: 500;
  color: var(--color-text);
}

@media (max-width: 1023px) {
  .process-timeline {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-timeline::before {
    display: none;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .process-timeline {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .entity-block dl {
    grid-template-columns: 1fr;
  }
}


/* ===== _live_content.css ===== */
.content-layout {
  max-width: 760px;
}

.content-layout--wide {
  max-width: var(--container-max);
}

.content-layout--country {
  max-width: 1080px;
}

.content-body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text);
}

.content-body > *:first-child {
  margin-top: 0;
}

.content-body h1,
.content-body h2,
.content-body h3,
.content-body h4 {
  font-family: var(--font-display);
  color: var(--color-primary);
  letter-spacing: -0.03em;
  margin: var(--space-10) 0 var(--space-4);
  overflow-wrap: break-word;
}

.content-body h2 { font-size: clamp(1.5rem, 2vw, 2rem); }
.content-body h3 { font-size: 1.25rem; }

.content-body p,
.content-body ul,
.content-body ol {
  margin: 0 0 var(--space-5);
}

.content-body .content-kicker {
  margin: 0 0 var(--space-2);
  color: var(--color-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-body section {
  margin: 0 0 var(--space-12);
}

.content-body > section:has(> section) {
  display: block;
}

.content-body section:has(> article):not(:has(> section)) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--space-5);
  margin-bottom: var(--space-12);
  align-items: stretch;
}

.content-body section:has(> article):not(:has(> section)) > h2,
.content-body section:has(> article):not(:has(> section)) > p,
.content-body section:has(> article):not(:has(> section)) > ul,
.content-body section:has(> article):not(:has(> section)) > ol,
.content-body section:has(> article):not(:has(> section)) > blockquote,
.content-body section:has(> article):not(:has(> section)) > a {
  grid-column: 1 / -1;
  justify-self: start;
}

.content-body article {
  margin: 0;
  padding: var(--space-6);
  background: var(--color-surface-alt, #f4f6f8);
  border: 1px solid var(--color-border, #e5e8eb);
  border-radius: var(--radius-md);
}

.content-body article h2,
.content-body article h3 {
  margin-top: 0;
}

.content-body article h2 + p,
.content-body article h3 + p {
  color: var(--color-text);
}

.content-body aside {
  padding: var(--space-5);
  background: var(--color-surface-alt);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
  margin: 0 0 var(--space-6);
  position: static;
  top: auto;
}

.content-body aside img,
.content-body figure img {
  position: static;
  top: auto;
}

.content-body blockquote {
  margin: 0 0 var(--space-6);
  padding: var(--space-5) var(--space-6);
  background: var(--color-surface-alt, #f4f6f8);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
}

.content-body ul,
.content-body ol {
  padding-left: 1.5rem;
}

.content-body li {
  margin: 0 0 var(--space-2);
}

/*
 * Restore list markers inside prose.
 *
 * site.css resets `list-style` on every ol/ul (base reset plus a utility pass),
 * so article bullets and ordered numbers rendered as bare text. These rules are
 * wrapped in :where() on purpose: that keeps the specificity at a single
 * element (0,0,1), which still outranks the site.css element reset because
 * pages.css loads afterwards, while any class-level variation such as
 * .geo-list, .sv-platforms, .sv-layout--checklist, .breadcrumbs, .sv-toc__list
 * or .post-sidebar__list keeps winning.
 */
:where(.content-body, .sv-prose) ul {
  list-style: disc outside;
}

:where(.content-body, .sv-prose) ul ul {
  list-style-type: circle;
}

:where(.content-body, .sv-prose) ul ul ul {
  list-style-type: square;
}

:where(.content-body, .sv-prose) ol {
  list-style: decimal outside;
}

:where(.content-body, .sv-prose) ol ol {
  list-style-type: lower-alpha;
}

:where(.content-body, .sv-prose) ol ol ol {
  list-style-type: lower-roman;
}

/* Sub-lists hug the parent item instead of inheriting the paragraph gap. */
:where(.content-body, .sv-prose) li > ul,
:where(.content-body, .sv-prose) li > ol {
  margin-top: var(--space-2);
  margin-bottom: var(--space-2);
}

/* Give the marker the brand accent while keeping the item text neutral. */
:where(.content-body, .sv-prose) .wp-block-list > li::marker {
  color: var(--color-accent-strong, currentColor);
  font-weight: 600;
}

/*
 * The List block always carries .wp-block-list, so target it explicitly as
 * well. This beats any element-level reset no matter which file wins the
 * cascade, and it cannot leak onto component lists (.geo-list, .sv-platforms,
 * .sv-toc__list, sidebar lists) because those never use .wp-block-list.
 */
.content-body ul.wp-block-list,
.sv-prose ul.wp-block-list {
  list-style: disc outside;
  padding-left: 1.5rem;
}

.content-body ul.wp-block-list ul,
.sv-prose ul.wp-block-list ul {
  list-style-type: circle;
}

.content-body ul.wp-block-list ul ul,
.sv-prose ul.wp-block-list ul ul {
  list-style-type: square;
}

.content-body ol.wp-block-list,
.sv-prose ol.wp-block-list {
  list-style: decimal outside;
  padding-left: 1.75rem;
}

.content-body ol.wp-block-list ol,
.sv-prose ol.wp-block-list ol {
  list-style-type: lower-alpha;
}

.content-body ol.wp-block-list ol ol,
.sv-prose ol.wp-block-list ol ol {
  list-style-type: lower-roman;
}

/* Explicit "no bullets" variations must always win. */
:where(.content-body, .sv-prose) .is-style-seo-no-bullets,
:where(.content-body, .sv-prose) .is-style-no-bullets,
.wp-block-list.is-style-seo-no-bullets,
.is-style-no-bullets {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.content-body .content-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin: var(--space-6) 0;
}

.content-body a {
  color: var(--color-accent-strong);
}

.content-body a.btn,
.content-body .btn {
  display: inline-flex;
  align-items: center;
  margin: 0 var(--space-3) var(--space-4) 0;
}

.content-body a.btn--primary,
.content-body .btn--primary {
  color: #fff;
}

.content-body a.btn--primary:hover,
.content-body .btn--primary:hover {
  color: #fff;
}

.content-body a.btn--secondary,
.content-body .btn--secondary {
  color: var(--color-primary);
}

.content-body img,
.content-body video,
.content-body iframe {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.content-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-6);
}

.home-content__hero {
  padding-bottom: var(--space-8);
}

.home-content__hero h1 {
  max-width: 18ch;
}

.home-content__lead {
  max-width: 54rem;
  color: var(--color-text);
  font-size: clamp(1.125rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.home-content__hero .page-visual {
  max-width: 960px;
  margin: var(--space-8) 0 0;
}

.home-content__hero .page-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.page-visual__credit,
.home-methodology-visual figcaption {
  margin-top: var(--space-2);
  color: var(--color-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.home-methodology-visual {
  margin: var(--space-8) 0;
  padding: var(--space-5);
  background: var(--color-surface-alt, #f4f6f8);
  border: 1px solid var(--color-border, #e5e8eb);
  border-radius: var(--radius-md);
}

.home-methodology-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.home-content__supporting-visual {
  max-width: 760px;
  margin: var(--space-8) 0 0;
}

.home-content__supporting-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  background: var(--color-surface-alt);
}

.home-content__supporting-visual figcaption {
  margin-top: var(--space-2);
  color: var(--color-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.home-content__supporting-visual figcaption a {
  color: inherit;
  text-decoration: underline;
}

.home-content__note {
  color: var(--color-muted);
  font-size: 0.9375rem;
}

.home-content__table {
  margin: var(--space-6) 0;
  overflow-x: auto;
  border: 1px solid var(--color-border, #e5e8eb);
  border-radius: var(--radius-md);
}

.home-content__table table {
  min-width: 48rem;
  margin: 0;
}

.home-content__table caption {
  padding: 1rem;
  text-align: left;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-surface-alt, #f4f6f8);
}

.home-content__table th,
.home-content__table td {
  min-width: 11rem;
}

.home-content__table tbody th {
  color: var(--color-primary);
}

/* Homepage: editorial hierarchy and decision-support presentation. */
.home-content {
  overflow: clip;
}

.home-content .section {
  position: relative;
}

.home-content__hero {
  padding-top: clamp(3rem, 7vw, 7rem);
  padding-bottom: clamp(3.5rem, 8vw, 7rem);
  background:
    linear-gradient(115deg, rgba(0, 43, 92, 0.04), transparent 47%),
    var(--color-bg);
}

.home-content__hero .container {
  display: grid;
  gap: var(--space-6);
  align-items: start;
}

.home-content__hero h1 {
  max-width: 16ch;
  font-size: clamp(2.35rem, 5vw, 4.35rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.home-content__hero > .container > p:not(.home-content__lead) {
  max-width: 45rem;
}

.home-content__hero .content-cta-row {
  gap: var(--space-4);
  margin-block: var(--space-4) var(--space-2);
}

.home-content__hero aside {
  max-width: 52rem;
  margin: 0;
  font-size: 0.9375rem;
  background: color-mix(in srgb, var(--color-surface-alt) 82%, transparent);
}

.home-content__hero .page-visual {
  max-width: none;
  margin: var(--space-4) 0 0;
}

.home-content__hero .page-visual img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.home-content h2 {
  max-width: 28ch;
  text-wrap: balance;
}

.home-content .section > .container > h2 + p {
  max-width: 68ch;
  color: var(--color-text-secondary);
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
}

.home-content__table {
  scrollbar-color: var(--color-muted) transparent;
  box-shadow: var(--shadow-sm);
}

.home-content__table table {
  background: var(--color-surface);
}

.home-content__table caption {
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--color-border);
}

.home-content__table thead {
  background: color-mix(in srgb, var(--color-surface-alt) 72%, white);
}

.home-content__table tbody tr {
  transition: background var(--transition-fast);
}

.home-content__table tbody tr:hover {
  background: color-mix(in srgb, var(--color-accent) 4%, white);
}

.home-content__table tbody tr:last-child th,
.home-content__table tbody tr:last-child td {
  border-bottom: 0;
}

.home-content__workstreams {
  background: var(--color-surface);
}

.home-methodology-visual {
  overflow: hidden;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.home-methodology-visual:hover {
  border-color: color-mix(in srgb, var(--color-accent) 35%, var(--color-border));
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.home-content__workstream-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.content-body .home-content__workstream {
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.content-body .home-content__workstream:hover,
.content-body .home-content__workstream:focus-within {
  border-color: color-mix(in srgb, var(--color-accent) 40%, var(--color-border));
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.home-content__workstream h3 {
  margin-bottom: var(--space-4);
}

.home-content__workstream h3::before {
  display: block;
  width: 2rem;
  height: 2px;
  margin-bottom: var(--space-4);
  background: var(--color-accent);
  content: '';
}

.home-content__workstream p:last-child,
.home-content__workstream ul:last-child {
  margin-bottom: 0;
}

.home-content__workstream a:not(.btn) {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-weight: 600;
}

.home-content__workstream a:not(.btn)::after {
  margin-inline-start: var(--space-2);
  content: 'â†’';
}

.home-content__markets {
  border-block: 1px solid color-mix(in srgb, var(--color-border) 75%, transparent);
}

.home-content__process .home-content__table tbody th {
  color: var(--color-accent-strong);
  white-space: nowrap;
}

.home-content__provider-selection h3 {
  max-width: 34ch;
}

.home-content__faq-section {
  border-block: 1px solid color-mix(in srgb, var(--color-border) 75%, transparent);
}

.home-content__faq {
  max-width: 860px;
  margin: var(--space-8) 0 0;
  border-top: 1px solid var(--color-border);
}

.home-content__faq details {
  background: var(--color-surface);
  transition: background var(--transition-fast);
}

.home-content__faq details[open] {
  background: color-mix(in srgb, var(--color-surface) 92%, var(--color-surface-alt));
}

.home-content__faq summary {
  min-height: 4rem;
  padding-inline: var(--space-5);
}

.home-content__faq summary:focus-visible {
  outline: 2px solid var(--color-link);
  outline-offset: -2px;
}

.home-content__faq .faq__body {
  max-width: 72ch;
  padding-inline: var(--space-5);
}

.home-content__consultation {
  padding-top: clamp(3rem, 6vw, 6rem);
}

.home-content__consultation-panel {
  padding: clamp(2rem, 5vw, 4.5rem);
  color: var(--color-on-dark);
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.home-content__consultation-panel h2 {
  color: var(--color-on-dark);
}

.home-content__consultation-panel p {
  max-width: 65ch;
  color: var(--color-muted-on-dark);
}

.home-content__consultation-panel .btn--secondary {
  color: var(--color-on-dark);
  border-color: rgba(255, 255, 255, 0.38);
}

.home-content__consultation-panel .btn--secondary:hover {
  color: var(--color-on-dark);
  background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 960px) {
  .home-content__hero .container {
    grid-template-columns: minmax(0, 0.96fr) minmax(22rem, 0.84fr);
    column-gap: clamp(3rem, 7vw, 7rem);
  }

  .home-content__hero .eyebrow,
  .home-content__hero h1,
  .home-content__hero p,
  .home-content__hero .content-cta-row,
  .home-content__hero aside {
    grid-column: 1;
  }

  .home-content__hero .page-visual {
    grid-column: 2;
    grid-row: 1 / span 7;
    align-self: center;
  }

  .home-content__supporting-visual--analytics {
    margin-left: auto;
  }
}

@media (max-width: 767px) {
  .home-content__hero {
    padding-top: var(--space-12);
  }

  .home-content__hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.1rem);
  }

  .home-content__hero .content-cta-row,
  .home-content__consultation-panel .content-cta-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-content .content-cta-row .btn {
    width: 100%;
    margin-right: 0;
  }

  .home-content__workstream-grid {
    grid-template-columns: 1fr;
  }

  .home-content__table {
    margin-inline: calc(-1 * var(--container-padding));
    border-inline-width: 0;
    border-radius: 0;
  }

  .home-content__table table {
    min-width: 44rem;
  }

  .home-content__faq summary,
  .home-content__faq .faq__body {
    padding-inline: var(--space-4);
  }

  .home-content__consultation-panel {
    margin-inline: calc(-1 * var(--container-padding));
    border-radius: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-methodology-visual:hover,
  .content-body .home-content__workstream:hover,
  .content-body .home-content__workstream:focus-within {
    transform: none;
  }
}

.content-body th,
.content-body td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border, #e5e8eb);
  vertical-align: top;
}

.content-body thead th {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.content-body .elementor,
.content-body .elementor-section,
.content-body .elementor-widget-wrap,
.content-body .elementor-element {
  position: static !important;
  width: auto !important;
  left: auto !important;
  transform: none !important;
}

.content-body .elementor-widget-container {
  padding: 0;
}

.article-hero {
  position: relative;
  overflow: hidden;
  background: var(--color-primary);
  background-image: radial-gradient(circle at 1px 1px, rgba(244, 248, 252, 0.08) 1px, transparent 0);
  background-size: 32px 32px;
  color: var(--color-on-dark);
}

.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 82% 12%, rgba(245, 183, 0, 0.12), transparent 55%);
  pointer-events: none;
}

.article-hero__inner {
  position: relative;
  max-width: calc(var(--container-max) * 0.8) !important;
}

.article-hero .eyebrow {
  color: var(--color-accent);
}

.article-hero h1 {
  color: var(--color-on-dark);
  overflow-wrap: anywhere;
}

.article-content {
  max-width: calc(var(--container-max) * 0.8) !important;
}

.article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  color: var(--color-muted-on-dark);
  font-size: 0.9375rem;
  margin: var(--space-4) 0 var(--space-6);
}

.article-hero__meta a {
  color: var(--color-accent-blue);
}

.article-hero__lead {
  font-size: 1.125rem;
  color: var(--color-muted-on-dark);
  max-width: 42rem;
}

.article-hero__figure {
  margin: var(--space-8) 0 0;
}

.article-hero__figure img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.section-header__lead {
  max-width: 40rem;
  color: var(--color-muted);
  font-size: 1.0625rem;
}

.card-grid {
  display: grid;
  gap: var(--space-6);
}

.card-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid .card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-3);
  overflow-wrap: anywhere;
}

.card-grid .card p {
  color: var(--color-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card p {
  color: var(--color-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__title {
  overflow-wrap: anywhere;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-10);
}

.pagination a,
.pagination span {
  min-width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: var(--color-primary);
}

.pagination span[aria-current="page"] {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

@media (max-width: 1023px) {
  .card-grid--3,
  .content-body section:has(> article):not(:has(> section)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .card-grid--3,
  .content-body section:has(> article):not(:has(> section)) {
    grid-template-columns: 1fr;
  }
}


/* ===== _live_page-types.css ===== */
.section-header--left {
  margin-inline: 0;
  text-align: left;
}

.ds-hero {
  position: relative;
  overflow: hidden;
  background: var(--color-primary);
  background-image: radial-gradient(circle at 1px 1px, rgba(244, 248, 252, 0.08) 1px, transparent 0);
  background-size: 32px 32px;
  color: var(--color-on-dark);
}

.ds-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 82% 12%, rgba(245, 183, 0, 0.12), transparent 55%);
  pointer-events: none;
}

.ds-hero__grid {
  position: relative;
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

.ds-hero .eyebrow {
  color: var(--color-accent);
}

.ds-hero h1 {
  color: var(--color-on-dark);
}

.ds-hero .section-header__lead {
  color: var(--color-muted-on-dark);
}

.ds-hero .page-visual__credit {
  color: var(--color-muted-on-dark);
}

.ds-hero .page-visual__credit a {
  color: var(--color-accent-blue);
}

@media (min-width: 900px) {
  .ds-hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
}

.page-visual {
  margin: 0;
}

.page-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  background: var(--color-surface-2, #eef2f6);
}

.page-visual__credit {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.page-visual__credit a {
  color: inherit;
  text-decoration: underline;
}

.ds-hero h1 {
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  max-width: 18ch;
  margin-bottom: var(--space-6);
}

.ds-hero__lead {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  max-width: 42rem;
  margin-bottom: var(--space-4);
}

.ds-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

/* Hero trust list (mirrors .audit-hero__trust). Replaces the header's
   announcement-bar styling that was previously inherited via .trust-bar. */
.ds-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  margin-top: var(--space-8);
}

.ds-hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-muted-on-dark);
  font-size: 0.875rem;
  font-weight: 600;
}

.ds-hero__trust svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-accent);
}

/* When the hero has no visual, collapse the two-track grid so the copy
   spans the full width instead of being squeezed into a half column. */
.ds-hero__grid--no-visual {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 900px) {
  .ds-hero__grid--no-visual {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ds-answer {
  max-width: 46rem;
}

.ds-answer h2 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  margin-bottom: var(--space-4);
}

.ds-answer p {
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
}

.ds-trust {
  border-block: 1px solid var(--color-border);
  background: var(--color-surface);
}

.ds-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ds-trust__item {
  padding: var(--space-8) var(--space-6);
  border-right: 1px solid var(--color-border);
}

.ds-trust__item:last-child {
  border-right: 0;
}

.ds-trust__item span {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-3);
}

.ds-trust__item strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: var(--space-2);
}

.ds-trust__item p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
}

.ds-cta {
  background: var(--color-primary);
  color: var(--color-on-dark);
  border-radius: var(--radius-xl);
  padding: clamp(2.25rem, 5vw, 4.5rem) var(--space-8);
  text-align: center;
}

.ds-cta h2 {
  color: var(--color-on-dark);
  max-width: 20ch;
  margin: 0 auto var(--space-4);
}

.ds-cta p {
  max-width: 38rem;
  margin: 0 auto var(--space-8);
  color: var(--color-muted-on-dark);
}

.ds-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

.ds-related {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-6);
}

.ds-related a {
  font-weight: 600;
  color: var(--color-primary);
}

.ds-related a:hover {
  color: var(--color-accent-strong);
}

.related-reading {
  padding: var(--space-12) 0 var(--space-16);
  border-top: 1px solid var(--color-border);
}

.related-reading__header {
  max-width: 40rem;
  margin-bottom: var(--space-8);
}

.related-reading__header h2 {
  margin: 0 0 var(--space-3);
}

.related-reading__intro {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.related-reading__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: var(--space-5);
}

.related-reading__list li {
  margin: 0;
  padding: var(--space-5);
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.related-reading__list a {
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

.related-reading__list a:hover {
  color: var(--color-accent-strong);
}

.related-reading__note {
  display: block;
  margin-top: var(--space-2);
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
}

.article-commercial {
  margin-top: var(--space-12);
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface-alt);
}

.article-commercial h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-3);
}

@media (max-width: 1023px) {
  .ds-trust__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ds-trust__item:nth-child(2) {
    border-right: 0;
  }

  .ds-trust__item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--color-border);
  }
}

@media (max-width: 767px) {
  .ds-hero h1 {
    max-width: none;
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .ds-trust__grid {
    grid-template-columns: 1fr;
  }

  .ds-trust__item {
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
    padding-inline: 0;
  }

  .ds-hero__actions,
  .ds-cta__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ds-cta {
    text-align: left;
    padding: var(--space-10) var(--space-5);
  }

  .ds-cta h2,
  .ds-cta p {
    margin-inline: 0;
  }
}

/* 404 recovery page */
.error-404 {
  padding-block: var(--space-16) var(--space-20);
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(245, 183, 0, 0.08), transparent 60%),
    var(--color-bg);
  overflow: hidden;
}

.error-404__inner {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}

.error-404__code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 8rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: var(--color-primary);
  margin: 0 0 var(--space-6);
  opacity: 0.12;
}

.error-404 h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  max-width: 16ch;
  margin-bottom: var(--space-5);
}

.error-404__lead {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  color: var(--color-text-secondary);
  max-width: 36rem;
  margin-bottom: 0;
}

.error-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.error-404__actions .btn {
  white-space: normal;
  text-align: center;
}

.error-404__visual {
  display: none;
  color: var(--color-accent-strong);
  justify-content: center;
}

.error-404__mark {
  width: min(100%, 280px);
  height: auto;
}

.error-404__places {
  padding-top: var(--space-12);
}

.error-404__places-title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: var(--space-6);
}

.error-404__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.error-404__place {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-decoration: none;
  color: var(--color-text);
  min-height: 72px;
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

.error-404__place:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(245, 183, 0, 0.2);
  color: var(--color-text);
}

.error-404__place:focus-visible {
  outline: 2px solid var(--color-link);
  outline-offset: 2px;
}

.error-404__place .card__icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.error-404__place-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

@media (min-width: 600px) {
  .error-404__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .error-404__inner {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .error-404__visual {
    display: flex;
  }

  .error-404__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .error-404__grid:has(> :nth-child(5)) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .error-404 {
    padding-block: var(--space-12) var(--space-16);
  }

  .error-404 h1 {
    max-width: none;
  }

  .error-404__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .error-404__actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .error-404__place {
    transition: none;
  }

  .error-404__place:hover {
    transform: none;
  }
}



/* ===== _live_forms.css ===== */
.inquiry {
  padding-top: 0;
}

.inquiry__intro {
  max-width: 40rem;
  margin-bottom: var(--space-8);
}

.inquiry__alert {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid var(--color-error);
  color: var(--color-error);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
}

.inquiry__note {
  margin-top: var(--space-8);
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}

.inquiry-form {
  max-width: 48rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.inquiry-form__grid {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 720px) {
  .inquiry-form__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.inquiry-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
}

.inquiry-field input,
.inquiry-field select,
.inquiry-field textarea {
  font: inherit;
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.9rem;
  width: 100%;
}

.inquiry-field textarea {
  resize: vertical;
  min-height: 5rem;
}

.inquiry-field input:focus,
.inquiry-field select:focus,
.inquiry-field textarea:focus {
  outline: 2px solid var(--color-link);
  outline-offset: 1px;
}

.inquiry-field__error {
  color: var(--color-error);
  font-weight: 500;
  font-size: 0.8125rem;
}

.inquiry-form__status {
  margin-bottom: var(--space-4);
  font-weight: 500;
}

.inquiry-form__status.is-error {
  color: var(--color-error);
}

.inquiry-form__status.is-ok {
  color: var(--color-success);
}

.inquiry-field abbr {
  text-decoration: none;
  color: var(--color-accent-strong);
}


/* ===== _live_service-cards.css ===== */
/* Shared service card grid â€” used on country hubs and market service pages. */
.ch-service-card__visual {
  align-items: center;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 183, 0, 0.18), transparent 45%),
    linear-gradient(135deg, rgba(0, 43, 92, 0.96), rgba(7, 59, 113, 0.88));
  color: var(--color-accent-strong);
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.ch-service-card__visual svg {
  height: 42px;
  width: 42px;
  opacity: 0.9;
}

.ch-service-card__visual:has(img) svg {
  display: none;
}

.ch-service-card img {
  display: block;
  height: 100%;
  max-height: none;
  max-width: 100%;
  object-fit: cover;
  width: 100%;
}

.ch-service-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(3, 1fr);
}

.ch-service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: inherit;
  display: block;
  overflow: hidden;
  text-decoration: none;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.ch-service-card:hover {
  border-color: rgba(245, 183, 0, 0.28);
  box-shadow: var(--shadow-md);
  color: inherit;
  transform: translateY(-2px);
}

.ch-service-card span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 650;
  padding: var(--space-5) var(--space-5) var(--space-6);
}

@media (max-width: 1023px) {
  .ch-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .ch-service-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== _live_seo-audit.css ===== */
.section-header--left {
  margin-inline: 0;
  text-align: left;
}

.breadcrumbs ol,
.breadcrumbs li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
}

.breadcrumbs a {
  color: var(--color-text-secondary);
}

.audit-hero {
  position: relative;
  overflow: hidden;
  padding-top: var(--space-12);
  padding-bottom: var(--space-16);
  background: var(--color-primary);
  background-image: radial-gradient(circle at 1px 1px, rgba(244, 248, 252, 0.08) 1px, transparent 0);
  background-size: 32px 32px;
  color: var(--color-on-dark);
}

.audit-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 82% 12%, rgba(245, 183, 0, 0.12), transparent 55%);
  pointer-events: none;
}

.audit-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  grid-template-areas:
    "content visual"
    "form form";
  gap: var(--space-8) var(--space-16);
  align-items: start;
}

.audit-hero__content {
  grid-area: content;
}

.audit-hero__content h1 {
  color: var(--color-on-dark);
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: var(--space-6);
  max-width: 780px;
}

.audit-hero__content > p {
  color: var(--color-muted-on-dark);
  max-width: 700px;
}

.audit-hero__lead {
  color: var(--color-on-dark);
  font-size: clamp(1.125rem, 1.8vw, 1.35rem);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}

.audit-hero .eyebrow {
  color: var(--color-accent);
}

.audit-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.audit-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  margin-top: var(--space-8);
}

.audit-hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-muted-on-dark);
  font-size: 0.875rem;
  font-weight: 600;
}

.audit-hero__trust svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
}

.audit-hero .btn--secondary {
  color: var(--color-on-dark);
  border-color: rgba(255, 255, 255, 0.35);
}

.audit-hero .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-on-dark);
}

.audit-hero-form {
  align-items: end;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: var(--space-4);
  grid-area: form;
  grid-template-columns: minmax(9rem, 1fr) minmax(8rem, 0.72fr) minmax(12rem, 1.15fr) minmax(14rem, 1.55fr) auto;
  margin-top: 0;
  padding: var(--space-5);
  scroll-margin-top: calc(var(--header-height) + var(--space-4));
  width: 100%;
}

.audit-hero-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.audit-hero-form__field span {
  color: var(--color-text-secondary);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.audit-hero-form__field input,
.audit-hero-form__field select {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font: inherit;
  font-size: 0.875rem;
  min-height: 44px;
  padding: 0.55rem 0.7rem;
  width: 100%;
}

.audit-hero-form__field input:focus,
.audit-hero-form__field select:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

.audit-hero-form__contact {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: minmax(7.5rem, 0.7fr) 1fr;
  min-width: 0;
}

@media (min-width: 1024px) {
  .audit-hero-form__contact {
    display: contents;
  }
}

.audit-hero-form__submit {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 7.5rem;
}

.audit-hero-form__submit .btn {
  min-height: 44px;
  padding-inline: var(--space-6);
  width: 100%;
}

.audit-hero-form__status {
  font-size: 0.8125rem;
  font-weight: 600;
  grid-column: 1 / -1;
  margin: 0;
}

.audit-hero-form__status.is-error {
  color: var(--color-error);
}

.audit-hero-form__status.is-ok {
  color: var(--color-success);
}

.audit-hero__visual {
  grid-area: visual;
  min-height: 580px;
  position: relative;
}

.audit-hero__visual::before {
  background: radial-gradient(circle, rgba(245, 183, 0, 0.16), rgba(245, 183, 0, 0));
  content: "";
  inset: 5% -15% 0;
  position: absolute;
}

.audit-hero__image-frame {
  background: var(--color-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  height: 580px;
  margin-left: auto;
  max-width: 430px;
  overflow: hidden;
  position: relative;
}

.audit-hero__image-frame::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
  background: var(--color-accent);
  z-index: 2;
}

.audit-hero__image-frame::after {
  background: linear-gradient(180deg, transparent 65%, rgba(0, 43, 92, 0.62));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.audit-hero__image-frame img {
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  width: 100%;
}

.audit-hero__report {
  background: rgba(0, 43, 92, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  bottom: var(--space-8);
  box-shadow: var(--shadow-xl);
  color: var(--color-on-dark);
  left: -24px;
  padding: var(--space-5);
  position: absolute;
  width: min(310px, 82%);
}

.audit-hero__report > span {
  color: var(--color-muted-on-dark);
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
  text-transform: uppercase;
}

.audit-hero__report strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
}

.audit-hero__report div {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(4, 1fr);
  margin-top: var(--space-4);
}

.audit-hero__report i {
  background: var(--color-accent);
  border-radius: var(--radius-full);
  height: 4px;
  opacity: 0.38;
}

.audit-hero__report i:nth-child(-n + 3) {
  opacity: 1;
}

.audit-diagnostic {
  background: var(--color-primary);
  color: var(--color-on-dark);
}

.audit-diagnostic__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.audit-diagnostic__item {
  align-items: center;
  border-right: 1px solid var(--color-border-on-dark);
  display: flex;
  gap: var(--space-4);
  min-height: 112px;
  padding: var(--space-6);
}

.audit-diagnostic__item:last-child {
  border-right: 0;
}

.audit-diagnostic__item span {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
}

.audit-diagnostic__item strong {
  font-family: var(--font-display);
  font-size: 0.9375rem;
}

.audit-fit-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(2, 1fr);
}

.audit-fit-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.audit-fit-card:hover {
  border-color: rgba(245, 183, 0, 0.28);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.audit-fit-card__icon {
  align-items: center;
  background: rgba(245, 183, 0, 0.08);
  border-radius: var(--radius-md);
  color: var(--color-accent-strong);
  display: flex;
  height: 44px;
  justify-content: center;
  margin-bottom: var(--space-5);
  width: 44px;
}

.audit-fit-card h3,
.audit-fit-card p {
  margin-bottom: var(--space-3);
}

.audit-fit-card p {
  font-size: 0.9375rem;
}

.audit-fit-card__alternative {
  border-top: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  margin-top: var(--space-5);
  padding-top: var(--space-4);
}

.audit-audience-grid .card {
  height: 100%;
}

.audit-coverage {
  background:
    radial-gradient(circle at 90% 10%, rgba(245, 183, 0, 0.14), transparent 30%),
    var(--color-primary);
  color: var(--color-on-dark);
  scroll-margin-top: calc(var(--header-height) + var(--space-4));
}

.audit-coverage .section-header h2 {
  color: var(--color-on-dark);
}

.audit-coverage .section-header p {
  color: var(--color-muted-on-dark);
}

.audit-coverage__grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(3, 1fr);
}

.audit-coverage-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border-on-dark);
  border-radius: var(--radius-lg);
  min-height: 220px;
  padding: var(--space-6);
  transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

.audit-coverage-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(245, 183, 0, 0.4);
  transform: translateY(-2px);
}

.audit-coverage-card__icon {
  align-items: center;
  background: rgba(245, 183, 0, 0.14);
  border-radius: var(--radius-md);
  color: var(--color-accent);
  display: flex;
  height: 44px;
  justify-content: center;
  margin-bottom: var(--space-5);
  width: 44px;
}

.audit-coverage-card h3 {
  color: var(--color-on-dark);
  font-size: 1.05rem;
  margin-bottom: var(--space-3);
}

.audit-coverage-card p {
  color: var(--color-muted-on-dark);
  font-size: 0.9rem;
  margin: 0;
}

.audit-coverage__note {
  border-left: 3px solid var(--color-accent);
  color: var(--color-muted-on-dark);
  margin: var(--space-8) auto 0;
  max-width: 820px;
  padding: var(--space-3) var(--space-5);
  text-align: center;
}

.audit-foundations-grid {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: repeat(3, 1fr);
}

.audit-foundation {
  border-top: 2px solid var(--color-primary);
  padding-top: var(--space-6);
}

.audit-foundation > span,
.audit-deliverable > span {
  color: var(--color-accent-strong);
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.audit-foundation h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-3);
}

.audit-priority-layout {
  align-items: start;
  display: grid;
  gap: var(--space-16);
  grid-template-columns: 0.88fr 1.12fr;
}

.audit-priority-layout h2 {
  margin-bottom: var(--space-5);
}

.audit-priority-layout__lead {
  font-size: 1.125rem;
}

.audit-factor-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.audit-factor-list span {
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  display: inline-flex;
  font-size: 0.8125rem;
  font-weight: 600;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
}

.audit-factor-list svg {
  color: var(--color-accent-strong);
  height: 16px;
  width: 16px;
}

.audit-priority-stages {
  display: grid;
  gap: var(--space-3);
}

.audit-priority-stage {
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 48px 1fr;
  padding: var(--space-5);
}

.audit-priority-stage > span {
  align-items: center;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  color: var(--color-on-dark);
  display: flex;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.audit-priority-stage h3 {
  font-size: 1rem;
  margin-bottom: var(--space-1);
}

.audit-priority-stage p {
  font-size: 0.875rem;
  margin: 0;
}

.audit-deliverables-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-border);
}

.audit-deliverable {
  background: var(--color-surface);
  min-height: 230px;
  padding: var(--space-8);
}

.audit-deliverable h3 {
  font-size: 1.0625rem;
  margin-bottom: var(--space-3);
}

.audit-deliverable p {
  font-size: 0.9rem;
  margin: 0;
}

.audit-context-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border-on-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.audit-context-card h3 {
  color: var(--color-on-dark);
  margin-bottom: var(--space-3);
}

.audit-context-card p {
  color: var(--color-muted-on-dark);
  margin: 0;
}

.audit-scope-grid .card {
  padding: var(--space-6);
}

.audit-standards__grid {
  align-items: center;
  display: grid;
  gap: var(--space-16);
  grid-template-columns: 0.9fr 1.1fr;
}

.audit-standards h2 {
  margin-bottom: var(--space-5);
}

.audit-standards__list {
  display: grid;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.audit-standards__list li {
  align-items: flex-start;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4);
}

.audit-standards__list svg {
  color: var(--color-accent-strong);
  flex-shrink: 0;
  height: 20px;
  margin-top: 2px;
  width: 20px;
}

.audit-cta {
  background:
    radial-gradient(circle at 90% 0, rgba(245, 183, 0, 0.28), transparent 35%),
    linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-xl);
  color: var(--color-on-dark);
  padding: var(--space-16);
  scroll-margin-top: calc(var(--header-height) + var(--space-4));
  text-align: center;
}

.audit-cta h2 {
  color: var(--color-on-dark);
  margin-bottom: var(--space-4);
}

.audit-cta p {
  color: var(--color-muted-on-dark);
  font-size: 1.125rem;
  margin: 0 auto var(--space-8);
  max-width: 760px;
}

.audit-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

@media (max-width: 1023px) {
  .audit-hero__grid {
    gap: var(--space-8) var(--space-10);
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.68fr);
  }

  .audit-hero__visual,
  .audit-hero__image-frame {
    height: 500px;
    min-height: 500px;
  }

  .audit-hero-form {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  }

  .audit-hero-form__field--message,
  .audit-hero-form__submit,
  .audit-hero-form__status {
    grid-column: 1 / -1;
  }

  .audit-diagnostic__grid,
  .audit-coverage__grid,
  .audit-deliverables-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .audit-diagnostic__item:nth-child(2) {
    border-right: 0;
  }

  .audit-diagnostic__item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--color-border-on-dark);
  }

  .audit-foundations-grid {
    gap: var(--space-6);
  }

  .audit-priority-layout,
  .audit-standards__grid {
    gap: var(--space-10);
  }
}

@media (max-width: 767px) {
  .audit-hero {
    padding-top: var(--space-6);
  }

  .audit-hero__grid {
    gap: var(--space-6);
    grid-template-areas:
      "content"
      "form"
      "visual";
    grid-template-columns: 1fr;
  }

  .audit-hero-form {
    gap: var(--space-4);
    grid-template-columns: 1fr;
    padding: var(--space-5);
  }

  .audit-hero-form__contact {
    display: grid;
    gap: var(--space-4);
    grid-template-columns: 1fr;
  }

  .audit-hero-form__field input,
  .audit-hero-form__field select,
  .audit-hero-form__submit .btn {
    font-size: 1rem;
    min-height: 48px;
  }

  .audit-hero-form__submit {
    min-width: 0;
  }

  .audit-hero__content h1 {
    font-size: 2rem;
  }

  .audit-hero__visual {
    min-height: 480px;
  }

  .audit-hero__image-frame {
    height: 480px;
    margin-inline: auto;
    max-width: 100%;
  }

  .audit-hero__report {
    bottom: var(--space-5);
    left: var(--space-4);
  }

  .audit-diagnostic__grid,
  .audit-fit-grid,
  .audit-coverage__grid,
  .audit-foundations-grid,
  .audit-priority-layout,
  .audit-deliverables-grid,
  .audit-standards__grid {
    grid-template-columns: 1fr;
  }

  .audit-diagnostic__item {
    border-bottom: 1px solid var(--color-border-on-dark);
    border-right: 0;
    min-height: 82px;
  }

  .audit-diagnostic__item:last-child {
    border-bottom: 0;
  }

  .audit-coverage-card,
  .audit-deliverable {
    min-height: auto;
  }

  .audit-priority-layout,
  .audit-standards__grid {
    gap: var(--space-8);
  }

  .audit-cta {
    padding: var(--space-12) var(--space-6);
  }
}

@media (max-width: 430px) {
  .audit-hero__actions,
  .audit-cta__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .audit-hero__actions .btn,
  .audit-cta__actions .btn {
    width: 100%;
  }

  .audit-hero__trust {
    align-items: flex-start;
    flex-direction: column;
  }

  .audit-hero-form {
    padding: var(--space-4);
  }

  .audit-hero__visual,
  .audit-hero__image-frame {
    height: 430px;
    min-height: 430px;
  }
}

.audit-hero__image-frame img {
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  width: 100%;
}

.audit-hero__credit {
  bottom: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.6875rem;
  left: 12px;
  position: absolute;
  z-index: 2;
}

.audit-hero__credit a {
  color: inherit;
  text-decoration: underline;
}

a.audit-coverage-card {
  color: inherit;
  display: block;
  text-decoration: none;
}

a.audit-coverage-card:hover h3 {
  color: var(--color-accent-strong);
}

/* â”€â”€ Single article 2-column editorial layout (audit guide + sidebar) â”€â”€ */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: var(--space-10);
  align-items: start;
}

.article-content {
  min-width: 0;
  max-width: 100%;
}

.audit-priorities-media {
  padding-top: var(--space-10);
  padding-bottom: 0;
}

.audit-priorities-figure {
  margin: var(--space-6) 0 var(--space-8);
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.audit-priorities-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1456 / 1088;
  object-fit: cover;
}

/* .faq-grid is defined in site.css alongside the rest of the accordion. */

.article-video {
  margin: 0 0 var(--space-8);
}

.article-video--full {
  margin-bottom: var(--space-10);
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #000;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.article-content .audit-guide__body {
  max-width: 100%;
}

/* Sticky lives on the grid column so the card can travel with the
   article scroll. Inner card stays static to avoid nested-sticky lock.
   No max-height/overflow here: the grouped Industries list must render in
   full (no inner scrollbar) since it is the primary in-page navigation. */
.article-sidebar {
  min-width: 0;
  position: sticky;
  top: calc(var(--header-height) + var(--space-4));
  align-self: start;
}

/* The grouped Industries taxonomy is a long list (all 23 links across 5
   groups) and is the primary in-page navigation, so it must never scroll
   internally or be clipped by a sticky viewport lock. Let it flow normally
   with the page: every link stays reachable, no inner scrollbar. The short
   SEO-services fallback lists keep the sticky column above. */
.article-sidebar--industries {
  position: static;
  top: auto;
  max-height: none;
  overflow: visible;
}

.services-sidebar {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-6);
}

.services-sidebar h2 {
  font-size: 1.125rem;
  margin: 0 0 var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-accent);
}

.services-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.services-sidebar nav a {
  display: block;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
}

.services-sidebar nav a:hover {
  background: var(--color-surface-alt);
  color: var(--color-primary);
}

.services-sidebar nav a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.services-sidebar nav a[aria-current="page"] {
  background: var(--color-surface-alt);
  color: var(--color-primary);
  font-weight: 700;
}

.services-sidebar__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.services-sidebar__group + .services-sidebar__group {
  margin-top: var(--space-4);
}

.services-sidebar__group-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin: 0 0 var(--space-2);
}

@media (max-width: 1023px) {
  .article-layout {
    gap: var(--space-8);
  }
}

@media (max-width: 768px) {
  .article-layout {
    display: block;
  }

  .article-sidebar {
    position: static;
    width: 100%;
    margin-top: var(--space-10);
    max-height: none;
    overflow: visible;
  }
}


/* ===== .hero (from inline stylesheet) ===== */
.hero {
  padding-block: var(--space-16) var(--space-12);
  background: var(--color-bg);
  overflow: hidden;
}

.hero__content {
  max-width: 560px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero-visual {
  position: relative;
  min-height: 380px;
}

.hero-visual__card {
  position: absolute;
  background: var(--color-primary);
  border: 1px solid var(--color-border-on-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-xl);
  color: var(--color-on-dark);
}

.hero-visual__card--main {
  top: 0;
  left: 0;
  width: 72%;
  z-index: 3;
}

.hero-visual__card--rank {
  top: 12%;
  right: 0;
  width: 48%;
  z-index: 4;
}

.hero-visual__card--semantic {
  bottom: 0;
  left: 8%;
  width: 58%;
  z-index: 2;
}

.hero-visual__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted-on-dark);
  margin-bottom: var(--space-3);
}

.hero-visual__chart {
  height: 80px;
  background: linear-gradient(180deg, rgba(245, 183, 0, 0.3) 0%, transparent 100%);
  border-radius: var(--radius-sm);
  position: relative;
  margin-bottom: var(--space-3);
}

.hero-visual__chart::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.hero-visual__stat {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-success);
}

.hero-visual__rows {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.hero-visual__row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--color-muted-on-dark);
}

.hero-visual__bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  margin-top: var(--space-1);
  overflow: hidden;
}

.hero-visual__bar span {
  display: block;
  height: 100%;
  background: var(--color-accent);
  border-radius: var(--radius-full);
}

.hero-visual__nodes {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  margin-top: var(--space-3);
}

.hero-visual__node {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.8;
}

.hero-visual__node:nth-child(2) {
  width: 16px;
  height: 16px;
  opacity: 1;
}

.hero-visual__node:nth-child(3) {
  opacity: 0.5;
}

@media (max-width: 1023px) {
  .hero {
    padding-block: var(--space-12);
  }

  .hero-visual {
    min-height: 320px;
    margin-top: var(--space-8);
  }

  .hero-visual__card--main {
    width: 85%;
  }

  .hero-visual__card--rank {
    width: 55%;
  }
}

@media (max-width: 767px) {
  .hero-visual {
    min-height: 280px;
  }

  .hero-visual__card {
    padding: var(--space-4);
  }
}


/* ===== country-home.css (ch / country page variant) ===== */
.section-header--left {
  margin-inline: 0;
  text-align: left;
}

.ch-hero {
  position: relative;
  overflow: hidden;
  padding-top: var(--space-12);
  padding-bottom: var(--space-16);
  background: var(--color-primary);
  background-image: radial-gradient(circle at 1px 1px, rgba(244, 248, 252, 0.08) 1px, transparent 0);
  background-size: 32px 32px;
  color: var(--color-on-dark);
}

.ch-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 82% 12%, rgba(245, 183, 0, 0.12), transparent 55%);
  pointer-events: none;
}

.ch-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: var(--space-16);
  align-items: start;
}

.ch-hero__content h1 {
  color: var(--color-on-dark);
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  line-height: 1.06;
  margin-bottom: var(--space-6);
  max-width: 780px;
}

.ch-hero__content > p {
  color: var(--color-muted-on-dark);
  max-width: 700px;
}

.ch-hero__lead {
  color: var(--color-on-dark);
  font-size: clamp(1.125rem, 1.8vw, 1.35rem);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}

.ch-hero .eyebrow {
  color: var(--color-accent);
}

.ch-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.ch-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  margin-top: var(--space-8);
}

.ch-hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-muted-on-dark);
  font-size: 0.875rem;
  font-weight: 600;
}

.ch-hero__trust svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
}

.ch-hero .btn--secondary {
  color: var(--color-on-dark);
  border-color: rgba(255, 255, 255, 0.35);
}

.ch-hero .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-on-dark);
}

.ch-hero__visual {
  min-height: 580px;
  position: relative;
}

.ch-hero__visual::before {
  background: radial-gradient(circle, rgba(245, 183, 0, 0.16), rgba(245, 183, 0, 0));
  content: "";
  inset: 5% -15% 0;
  position: absolute;
}

.ch-hero__image-frame {
  background: var(--color-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  height: 580px;
  margin-left: auto;
  max-width: 430px;
  overflow: hidden;
  position: relative;
}

.ch-hero__image-frame::after {
  background: linear-gradient(180deg, transparent 65%, rgba(0, 43, 92, 0.62));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.ch-hero__image-frame img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.ch-hero__report {
  background: rgba(0, 43, 92, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  bottom: var(--space-8);
  box-shadow: var(--shadow-xl);
  color: var(--color-on-dark);
  left: -24px;
  padding: var(--space-5);
  position: absolute;
  width: min(310px, 82%);
}

.ch-hero__report > span {
  color: var(--color-muted-on-dark);
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
  text-transform: uppercase;
}

.ch-hero__report strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
}

.ch-hero__report div {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(4, 1fr);
  margin-top: var(--space-4);
}

.ch-hero__report i {
  background: var(--color-accent);
  border-radius: var(--radius-full);
  height: 4px;
  opacity: 0.38;
}

.ch-hero__report i:nth-child(-n + 3) {
  opacity: 1;
}

.ch-diagnostic {
  background: var(--color-primary);
  color: var(--color-on-dark);
}

.ch-diagnostic__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.ch-diagnostic__item {
  align-items: center;
  border-right: 1px solid var(--color-border-on-dark);
  display: flex;
  gap: var(--space-4);
  min-height: 112px;
  padding: var(--space-6);
}

.ch-diagnostic__item:last-child {
  border-right: 0;
}

.ch-diagnostic__item span {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
}

.ch-diagnostic__item strong {
  font-family: var(--font-display);
  font-size: 0.9375rem;
}

.ch-coverage {
  background:
    radial-gradient(circle at 90% 10%, rgba(245, 183, 0, 0.14), transparent 30%),
    var(--color-primary);
  color: var(--color-on-dark);
  scroll-margin-top: calc(var(--header-height) + var(--space-4));
}

.ch-coverage .section-header h2 {
  color: var(--color-on-dark);
}

.ch-coverage .section-header p {
  color: var(--color-muted-on-dark);
}

.ch-coverage__grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(3, 1fr);
}

.ch-coverage-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border-on-dark);
  border-radius: var(--radius-lg);
  min-height: 220px;
  padding: var(--space-6);
  transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

.ch-coverage-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(245, 183, 0, 0.4);
  transform: translateY(-2px);
}

.ch-coverage-card__icon {
  align-items: center;
  background: rgba(245, 183, 0, 0.14);
  border-radius: var(--radius-md);
  color: var(--color-accent);
  display: flex;
  height: 44px;
  justify-content: center;
  margin-bottom: var(--space-5);
  width: 44px;
}

.ch-coverage-card h3 {
  color: var(--color-on-dark);
  font-size: 1.05rem;
  margin-bottom: var(--space-3);
}

.ch-coverage-card p {
  color: var(--color-muted-on-dark);
  font-size: 0.9rem;
  margin: 0;
}

.ch-midvisual {
  display: block;
  margin: 0;
  padding-top: clamp(2.75rem, 5.5vw, 4.75rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--color-bg, #ffffff);
}

.ch-coverage.section {
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}


.ch-midvisual img {
  border-radius: var(--radius-xl);
  display: block;
  height: min(420px, 52vw);
  object-fit: cover;
  width: 100%;
}

.ch-body > h1:first-child {
  display: none;
}

/* Country detail â€” no scroll-reveal gap below heading */
.ch-detail__header {
  margin-bottom: var(--space-6);
}

.ch-body--country {
  opacity: 1;
  transform: none;
}

.ch-body--country > section:has(> section) {
  margin-top: 0;
  padding-top: 0;
}

.ch-body--country > section > section#top,
.ch-body--country section:has(> article):has(> aside) {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.65fr);
  gap: var(--space-8);
  align-items: start;
  margin-bottom: var(--space-10);
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.ch-body--country section:has(> article):has(> aside:not(:has(img))) {
  grid-template-columns: 1fr;
}

.ch-body--country aside:empty {
  display: none;
}

.ch-body--country section#top > article,
.ch-body--country section:has(> article):has(> aside) > article {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.ch-body--country section#top > aside,
.ch-body--country section:has(> article):has(> aside) > aside {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  align-self: stretch;
  position: static;
  top: auto;
}

.ch-body--country section#top > aside img,
.ch-body--country section:has(> article):has(> aside) > aside img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.ch-body--country section {
  margin-bottom: var(--space-10);
}

.ch-body--country section > h2:first-child {
  margin-top: 0;
}

.ch-body--country ul.outbound-links {
  column-gap: var(--space-4);
  columns: 2;
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
}

.ch-body--country ul.outbound-links li {
  break-inside: avoid;
  margin: 0 0 var(--space-2);
}

.ch-body--country ul.outbound-links a {
  color: var(--color-accent-strong);
  text-decoration: none;
  word-break: break-word;
}

.ch-body--country ul.outbound-links a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .ch-body--country ul.outbound-links {
    columns: 1;
  }
}

.ch-body--country .content-cta-row,
.ch-body--country section > ul:has(a[href*="mailto"]) {
  margin-top: var(--space-4);
}

.ch-body--country img[src*="placeholder"],
.ch-body--country img[src*="dummy"] {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  max-height: 420px;
}

.ch-cta {
  background:
    radial-gradient(circle at 90% 0, rgba(245, 183, 0, 0.28), transparent 35%),
    linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-xl);
  color: var(--color-on-dark);
  padding: var(--space-16);
  scroll-margin-top: calc(var(--header-height) + var(--space-4));
  text-align: center;
}

.ch-cta h2 {
  color: var(--color-on-dark);
  margin-bottom: var(--space-4);
}

.ch-cta p {
  color: var(--color-muted-on-dark);
  font-size: 1.125rem;
  margin: 0 auto var(--space-8);
  max-width: 760px;
}

.ch-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

@media (max-width: 1023px) {
  .ch-hero__grid {
    gap: var(--space-10);
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.68fr);
  }

  .ch-hero__visual,
  .ch-hero__image-frame {
    height: 500px;
    min-height: 500px;
  }

  .ch-diagnostic__grid,
  .ch-coverage__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ch-diagnostic__item:nth-child(2) {
    border-right: 0;
  }

  .ch-diagnostic__item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--color-border-on-dark);
  }
}

@media (max-width: 767px) {
  .ch-hero {
    padding-top: var(--space-6);
  }

  .ch-hero__grid {
    grid-template-columns: 1fr;
  }

  .ch-hero__content h1 {
    font-size: clamp(2.25rem, 11vw, 3.4rem);
  }

  .ch-hero__visual {
    min-height: 480px;
  }

  .ch-hero__image-frame {
    height: 480px;
    margin-inline: auto;
    max-width: 100%;
  }

  .ch-hero__report {
    bottom: var(--space-5);
    left: var(--space-4);
  }

  .ch-diagnostic__grid,
  .ch-coverage__grid {
    grid-template-columns: 1fr;
  }

  .ch-diagnostic__item {
    border-bottom: 1px solid var(--color-border-on-dark);
    border-right: 0;
    min-height: 82px;
  }

  .ch-diagnostic__item:last-child {
    border-bottom: 0;
  }

  .ch-coverage-card {
    min-height: auto;
  }

  .ch-body--country > section > section#top,
  .ch-body--country section:has(> article):has(> aside) {
    grid-template-columns: 1fr;
    padding: var(--space-6);
  }

  .ch-body--country section#top > aside,
  .ch-body--country section:has(> article):has(> aside) > aside {
    position: static;
    order: -1;
  }

  .ch-body--country section#top > aside img,
  .ch-body--country section:has(> article):has(> aside) > aside img {
    max-height: 280px;
  }

  .ch-cta {
    padding: var(--space-12) var(--space-6);
  }
}

@media (max-width: 430px) {
  .ch-hero__actions,
  .ch-cta__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ch-hero__actions .btn,
  .ch-cta__actions .btn {
    width: 100%;
  }

  .ch-hero__trust {
    align-items: flex-start;
    flex-direction: column;
  }

  .ch-hero__visual,
  .ch-hero__image-frame {
    height: 430px;
    min-height: 430px;
  }
}

/* ===== Live service-offer.css (sv-* / ft-* service-page design system) ===== */
.ft-board--photo {
  padding: 0;
  overflow: hidden;
  min-height: 0;
  gap: 0;
}

.ft-board--photo .ft-board__top {
  padding: var(--space-6) var(--space-6) var(--space-4);
}

.ft-board--photo .page-visual {
  margin: 0;
}

.ft-board--photo .page-visual img {
  aspect-ratio: 4 / 3;
  border-radius: 0;
  box-shadow: none;
  display: block;
}

.ft-board--photo .page-visual__credit {
  color: var(--color-muted-on-dark);
  padding: 0 var(--space-6) var(--space-4);
  margin: 0;
}

.ft-board--photo .page-visual__credit a {
  color: inherit;
}

.ft-work--index {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1023px) {
  .ft-work--index {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .ft-work--index {
    grid-template-columns: 1fr;
  }
}

.ft-work__item h3 a {
  color: inherit;
  text-decoration: none;
}

.ft-work__item h3 a:hover {
  color: var(--color-accent-strong);
}

.sv-prose {
  max-width: none;
}

.sv-prose--follow {
  margin-top: var(--space-10);
}

.sv-prose h2 {
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  max-width: none;
  margin-top: 0;
}

.sv-prose > p,
.sv-prose > ul,
.sv-prose > ol {
  max-width: 46rem;
  color: var(--color-text-secondary);
  font-size: 1.0625rem;
}

.sv-prose table {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm, none);
}

/* --- Authored content tables (sv-table) ------------------------------- */
/* The editable service pages carry `core/table` blocks with a `sv-table`
   class. The polished table rules further down are scoped to .single-post, so
   without this block those tables render as bare, unpadded columns. Scoping on
   the class keeps every other page untouched. */
.sv-table {
  margin: var(--space-6) 0 var(--space-8);
  max-width: 100%;
  overflow-x: auto;
}

.sv-table table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface, #fff);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.sv-table thead th,
.sv-table thead td {
  padding: 0.75rem 1rem;
  background: var(--color-primary);
  color: var(--color-on-dark);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: left;
  text-transform: uppercase;
  vertical-align: bottom;
}

.sv-table tbody th,
.sv-table tbody td {
  padding: 0.8125rem 1rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  text-align: left;
  vertical-align: top;
}

.sv-table tbody tr:nth-child(even) {
  background: var(--color-surface-alt, #EEF2F7);
}

.sv-table tbody th {
  font-weight: 600;
  color: var(--color-primary);
}

.sv-table figcaption {
  margin-top: var(--space-2);
  color: var(--color-muted);
  font-size: 0.8125rem;
  text-align: left;
}

@media (max-width: 767px) {
  .sv-table table {
    min-width: 30rem;
  }
}

.section--dark .sv-prose,
.section--dark .sv-prose h2,
.section--dark .sv-prose h3,
.section--dark .sv-prose p,
.section--dark .sv-prose li {
  color: var(--color-on-dark);
}

.section--dark .sv-prose .eyebrow,
.section--dark .eyebrow {
  color: #f4a38f;
}

.section--dark .sv-prose table {
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-on-dark);
}

.section--dark .ft-method h3,
.section--dark .ft-method p {
  color: var(--color-on-dark);
}

.section--dark .ft-method p {
  color: var(--color-muted-on-dark);
}

.section--dark .ft-method li {
  border-bottom-color: var(--color-border-on-dark);
}

.sv-prose article {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: var(--space-6) 0 0;
  border-top: 2px solid var(--color-primary);
}

.sv-prose section:has(> article):not(:has(> section)) {
  gap: var(--space-10) var(--space-12);
}

.page-service .blog-grid {
  margin-top: 0;
}

@media (max-width: 767px) {
  .ft-board--photo .ft-board__top {
    padding: var(--space-5) var(--space-5) var(--space-3);
  }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   Reusable Services Page design system
   Presentational-only treatments layered on top of the parsed prose body.
   They never alter the stored content â€” headings, links, tables, and lists
   are preserved verbatim for SEO.
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* Lead paragraph inside a section header */
.section-header .sv-lead {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  margin: var(--space-3) 0 0;
  max-width: 60ch;
}

/* â”€â”€ "steps" layout: numbered editorial blocks â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   The stored copy already carries "1. â€¦ 5." prefixes on each <h3>.
   We add clear visual separation so each workstream reads as its own step
   without touching a single character of the source text. */
.sv-layout--steps h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 700;
  margin: var(--space-12) 0 var(--space-4);
  padding-top: var(--space-6);
  border-top: 2px solid var(--color-accent);
  position: relative;
  max-width: 30ch;
}

.sv-layout--steps h3:first-of-type {
  margin-top: 0;
}

.sv-layout--steps h3::before {
  content: "";
  position: absolute;
  top: -2px;
  inset-inline-start: 0;
  width: 64px;
  height: 2px;
  background: var(--color-primary);
}

/* â”€â”€ "compare" layout: the three-column comparison table â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sv-layout--compare table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: var(--space-6) 0 var(--space-4);
  font-size: 0.9375rem;
}

.sv-layout--compare thead th {
  background: var(--color-primary);
  color: var(--color-on-dark);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: left;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border-on-dark);
}

.sv-layout--compare thead th:first-child {
  min-width: 11rem;
}

.sv-layout--compare thead th:last-child {
  background: var(--color-secondary);
}

.sv-layout--compare tbody td {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  color: var(--color-text-secondary);
}

.sv-layout--compare tbody tr:last-child td {
  border-bottom: 0;
}

.sv-layout--compare tbody tr:nth-child(even) td {
  background: var(--color-surface-alt);
}

.sv-layout--compare tbody td:first-child {
  color: var(--color-text);
  font-weight: 600;
}

/* Highlight the "Financial Services SEO" column as the focal outcome */
.sv-layout--compare tbody td:last-child {
  border-left: 2px solid var(--color-accent);
  color: var(--color-text);
}

/* â”€â”€ "checklist" layout: bullet lists rendered as checklist items â”€â”€â”€â”€â”€ */
.sv-layout--checklist ul {
  list-style: none;
  margin: var(--space-6) 0 var(--space-4);
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.sv-layout--checklist ul li {
  position: relative;
  padding-inline-start: var(--space-8);
  color: var(--color-text-secondary);
  font-size: 1.0625rem;
}

.sv-layout--checklist ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.35rem;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002B5C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 14px 14px no-repeat,
    rgba(245, 183, 0, 0.18);
}

/* Prose layout keeps its comfortable editorial measure */
.sv-layout--prose {
  max-width: none;
}

/* Mobile rhythm */
@media (max-width: 767px) {
  .sv-layout--steps h3 {
    margin-top: var(--space-8);
    padding-top: var(--space-5);
  }

  .sv-layout--compare {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .sv-layout--compare table {
    min-width: 560px;
    font-size: 0.875rem;
  }

  .sv-layout--compare thead th,
  .sv-layout--compare tbody td {
    padding: var(--space-3);
  }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FeatureGrid â€” parallel concept cards (sv-concepts / sv-concept-card)
   Used when a prose section holds 3+ sibling H3 concept blocks. The stored
   copy is unchanged; cards group the existing heading + paragraph(s).
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.sv-concepts {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: var(--space-10);
}

.sv-concept-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-base),
              box-shadow var(--transition-base),
              transform var(--transition-base);
}

.sv-concept-card:hover {
  border-color: rgba(245, 183, 0, 0.32);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.sv-concept-card__media {
  margin: 0;
  line-height: 0;
}

.sv-concept-card__media figure {
  margin: 0;
}

.sv-concept-card__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.sv-concept-card__body {
  padding: var(--space-6) var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.sv-concept-card__body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
  position: relative;
  padding-inline-start: 0;
}

.sv-concept-card__body h3::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: var(--color-accent);
  margin-bottom: var(--space-3);
  border-radius: var(--radius-full);
}

.sv-concept-card__body p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.sv-concept-card__body p + p {
  margin-top: var(--space-2);
}

@media (max-width: 1199px) {
  .sv-concepts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .sv-concepts {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    margin-top: var(--space-6);
  }

  .sv-concept-card:hover {
    transform: none;
  }

  .sv-concept-card__media img {
    aspect-ratio: 3 / 2;
  }
}

/* â”€â”€ ComparisonBlock â€” platform / market chip map â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   Presentational only: the stored paragraph stays as the section lead and
   the inline platform mentions render as scannable chips. */
.sv-layout--platforms .sv-lead + .sv-platforms,
.sv-prose.sv-layout--platforms .sv-platforms {
  list-style: none;
  margin: var(--space-8) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sv-platforms {
  list-style: none;
  margin: var(--space-8) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sv-platforms li {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-5);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.sv-platforms li strong {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1rem;
}

.sv-platforms li span {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}

@media (max-width: 1199px) {
  .sv-platforms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .sv-platforms {
    grid-template-columns: 1fr;
  }
}

/* â”€â”€ Figure-led editorial split for thin lead+figure sections â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   Reuses audit-priority-layout but keeps the figure anchored right. */
.section .audit-priority-layout:has(> .audit-priority-layout__visual figure) {
  align-items: center;
}

.audit-priority-layout__visual figure {
  margin: 0;
}

.audit-priority-layout__visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* â”€â”€ IntroEditorial â€” heading-less continuation of the hero copy â”€â”€â”€â”€â”€â”€â”€
   The hero renders the first intro paragraph. This block carries the
   remaining intro paragraphs as a lead-weight editorial statement, giving
   the top of the page a second visual rhythm before the first H2 group. */
.sv-layout--intro.sv-prose {
  max-width: 62ch;
  margin-top: var(--space-8);
  padding-left: var(--space-6);
  border-left: 3px solid var(--color-accent);
}

.sv-layout--intro.sv-prose p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

.sv-layout--intro.sv-prose p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .sv-layout--intro.sv-prose {
    padding-left: var(--space-4);
    margin-top: var(--space-6);
  }

  .sv-layout--intro.sv-prose p {
    font-size: 1rem;
  }
}

/* â”€â”€ Lead + figure split for thin sections whose only body is media â”€â”€â”€â”€ */
.sv-prose > figure:only-child {
  margin: var(--space-8) 0 0;
}

.sv-prose > figure:only-child img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.sv-prose > figure:only-child figcaption {
  margin-top: var(--space-3);
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  text-align: center;
}

/* Keep dynamic service pages aligned with the SEO Audit editorial columns.
   The service sections retain their semantic sections but must not introduce
   a second max-width container inside the main article column. */
.service-article-layout .article-content > .section > .container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.service-article-layout .article-sidebar {
  padding-top: var(--space-8);
}

.service-article-layout .article-content > .section {
  padding-bottom: var(--space-12);
  padding-top: var(--space-12);
}


/* =====================================================================
   Blog single post: readable editorial measure, heading rhythm, comments
   and reply form containment. Posts render through the design-system
   ("ds") single variant, i.e. the body sits inside .content-layout--wide
   and is styled by .content-body / .sv-layout--prose.
   ===================================================================== */

/* Keep the prose column at a comfortable reading measure instead of the
   full 1160px wide container, and centre it within the template. */
.single-post .content-layout--wide > .content-body,
.single-post .content-body.sv-layout--prose {
  max-width: 44rem;
  margin-inline: auto;
}

.single-post .content-body {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text);
}

.single-post .content-body p,
.single-post .content-body ul,
.single-post .content-body ol {
  margin-bottom: var(--space-6);
}

.single-post .content-body h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  line-height: 1.25;
  margin: var(--space-12) 0 var(--space-4);
}

.single-post .content-body h3 {
  font-size: 1.3125rem;
  line-height: 1.3;
  margin: var(--space-8) 0 var(--space-3);
}

/* First heading after the opening paragraph should not add a huge gap. */
.single-post .content-body > h2:first-child,
.single-post .content-body > h3:first-child {
  margin-top: 0;
}

/* Media and tables inside the prose stay within the column bounds. */
.single-post .content-body > figure,
.single-post .content-body > .wp-block-image,
.single-post .content-body > table,
.single-post .content-body > .wp-block-embed,
.single-post .content-body img,
.single-post .content-body iframe {
  max-width: 100%;
}

/* --- Comments ------------------------------------------------------- */
/* Match the comment thread + reply form to the article measure so inputs
   never stretch across the full wide template. */
.wp-block-comments {
  max-width: 44rem;
  margin-inline: auto;
  color: var(--color-text);
}

.wp-block-comments .wp-block-comments-title,
.wp-block-comments .comment-reply-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--color-primary);
  margin: 0 0 var(--space-8);
}

.wp-block-comments .wp-block-comment-template,
.wp-block-comments ol.wp-block-comment-template,
.wp-block-comments .comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wp-block-comments ol.wp-block-comment-template > li {
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--color-border);
}

.wp-block-comments ol.wp-block-comment-template > li:first-child {
  padding-top: 0;
}

/* Comment avatar + body columns. */
.wp-block-comments .wp-block-columns {
  gap: var(--space-4);
  align-items: flex-start;
}

.wp-block-comments .wp-block-avatar img {
  border-radius: var(--radius-full, 9999px);
  display: block;
}

.wp-block-comments .wp-block-comment-author-name {
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 var(--space-1);
}

.wp-block-comments .wp-block-comment-date {
  color: var(--color-muted);
  margin: 0 0 var(--space-3);
}

.wp-block-comments .wp-block-comment-content {
  line-height: 1.7;
}

.wp-block-comments .wp-block-comment-reply-link a {
  font-weight: 600;
  color: var(--color-accent-strong);
}

/* --- Reply form ----------------------------------------------------- */
.wp-block-comments .wp-block-post-comments-form,
.wp-block-comments #respond,
.wp-block-comments #commentform {
  max-width: 100%;
  margin-top: var(--space-8);
}

.wp-block-comments .comment-form label {
  display: block;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.wp-block-comments .comment-form input[type="text"],
.wp-block-comments .comment-form input[type="email"],
.wp-block-comments .comment-form input[type="url"],
.wp-block-comments .comment-form input:not([type="submit"]):not([type="checkbox"]),
.wp-block-comments .comment-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  font: inherit;
  line-height: 1.5;
}

.wp-block-comments .comment-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.wp-block-comments .comment-form input:focus,
.wp-block-comments .comment-form textarea:focus,
.wp-block-comments .comment-form input:focus-visible,
.wp-block-comments .comment-form textarea:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
  border-color: var(--color-accent);
}

.wp-block-comments .comment-form p {
  margin: 0 0 var(--space-5);
}

.wp-block-comments .form-submit {
  margin-top: var(--space-5);
}

.wp-block-comments .form-submit input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border: 0;
  border-radius: var(--radius-full, 9999px);
  background: var(--color-primary);
  color: var(--color-on-dark);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.wp-block-comments .form-submit input[type="submit"]:hover {
  background: var(--color-secondary);
  transform: translateY(-1px);
}

.wp-block-comments .wp-block-comments-pagination {
  margin-top: var(--space-8);
}


/* =====================================================================
   CTA bands: keep the dual action buttons centred and wrinkle-free at
   every width, so they never overflow or overlap the surrounding column.
   ===================================================================== */
.ds-cta,
.audit-cta {
  max-width: 100%;
  overflow-wrap: break-word;
}

.ds-cta__actions,
.audit-cta__actions {
  flex-wrap: wrap;
}

.ds-cta__actions .btn,
.audit-cta__actions .btn {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

@media (max-width: 600px) {
  .ds-cta__actions,
  .audit-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ds-cta__actions .btn,
  .audit-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }
}


/* =====================================================================
   Footer breathing room after a single article / CTA band.
   ===================================================================== */
.single .site-footer {
  margin-top: 0;
}


/* =====================================================================
   Single article: hero meta line, table of contents, in-article callouts
   and the optional two-column editorial layout.
   ===================================================================== */

/* --- Article meta line (date · updated · reading time) ---------------- */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-5);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-muted-on-dark);
}

.ds-hero .article-meta {
  color: var(--color-muted-on-dark);
}

/* --- Blog post hero spacing + full-width title ------------------------ */
/* The title should span the full hero width (no 18ch cap) and the eyebrow,
   title and meta line each get a clear vertical gap. */
.single-post .ds-hero h1 {
  max-width: none;
  margin-top: var(--space-4);
  margin-bottom: var(--space-6);
}

.single-post .ds-hero .section-header .eyebrow {
  display: block;
}

.single-post .ds-hero .article-meta {
  margin-top: var(--space-5);
}

.article-meta__sep {
  color: currentColor;
  opacity: 0.55;
}

/* --- Two-column editorial layout -------------------------------------- */
/* Content fills the full container; the aside sits beside it. On wide
   desktops the split is 70% content / 30% sidebar and the content column
   stretches to fill its full 100% of the available grid track. */
.content-layout--editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: var(--container-max, 1160px);
  gap: var(--space-8);
  align-items: start;
}

.article-body__main {
  min-width: 0;
  width: 100%;
}

/* Content must fill the box: no narrow measure cap on the editorial layout. */
.article-body__main > .content-body,
.article-body__main .content-body.sv-layout--prose {
  max-width: 100%;
  width: 100%;
  margin-inline: 0;
}

.article-body__aside {
  min-width: 0;
  width: 100%;
}

@media (min-width: 1024px) {
  .content-layout--editorial {
    /* True 70% content / 30% sidebar of the space left after the gap. */
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
    gap: var(--space-10);
  }

  .article-body__aside {
    position: sticky;
    top: 6rem;
  }
}

/* --- Table of contents ------------------------------------------------ */
.sv-toc {
  padding: var(--space-5) var(--space-5) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-alt, #EEF2F7);
}

.sv-toc__title {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.sv-toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.375rem;
}

.sv-toc__list a {
  display: block;
  padding: 0.25rem 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--color-text-secondary);
  text-decoration: none;
  border-left: 2px solid transparent;
  padding-left: 0.75rem;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.sv-toc__list a:hover,
.sv-toc__list a:focus-visible {
  color: var(--color-primary);
  border-left-color: var(--color-accent);
  outline: none;
}

/* --- In-article callouts --------------------------------------------- */
.sv-callout {
  margin: var(--space-8) 0;
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  background: var(--color-surface-alt, #EEF2F7);
}

.sv-callout__title {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
}

.sv-callout__body {
  margin: 0;
  color: var(--color-text-secondary);
}

.sv-callout__body a {
  color: var(--color-accent-strong);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* The contextual CTA variant reads as a distinct, single band — never a
   stack of oversized dark cards. */
.sv-callout--cta {
  border-left-color: var(--color-primary);
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.sv-callout--cta .sv-callout__title {
  color: var(--color-on-dark);
}

.sv-callout--cta .sv-callout__body {
  color: var(--color-muted-on-dark);
}

.sv-callout--cta .sv-callout__body a {
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* --- Breadcrumb: tighter vertical rhythm on single posts -------------- */
.single-post .breadcrumbs {
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
  font-size: 0.875rem;
}

/* --- Reduced motion --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .sv-toc__list a {
    transition: none;
  }
}


/* =====================================================================
   Single blog post: article header, 70/30 editorial split, author bio,
   editable sidebar and readable table styling.
   ===================================================================== */

/* --- Article header (replaces the dark service hero on posts) ---------- */
.single-post .post-header {
  padding-top: var(--space-8);
  padding-bottom: var(--space-6);
  background: var(--color-surface-alt, #EEF2F7);
  border-bottom: 1px solid var(--color-border);
}

.single-post .post-header__inner {
  max-width: var(--container-max, 1160px);
}

.single-post .post-header .eyebrow {
  display: block;
  margin-bottom: var(--space-3);
}

.single-post .post-header__title {
  max-width: 22ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-primary);
}

/* The meta line sits on a light surface here, not on the dark hero. */
.single-post .post-header .article-meta {
  margin-top: var(--space-4);
  color: var(--color-muted);
  font-size: 0.9375rem;
}

.single-post .post-header .article-meta__category {
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.16s ease;
}

.single-post .post-header .article-meta__category:hover,
.single-post .post-header .article-meta__category:focus-visible {
  border-bottom-color: currentColor;
  outline: none;
}

/* --- Article body ------------------------------------------------------ */
.single-post .post-body {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

/* Featured image leads the article, above the first H2. */
.single-post .post-featured-figure {
  /* --space-7 is not defined in the token set; use the 2rem step. */
  margin: 0 0 var(--space-8);
  max-width: 100%;
}

.single-post .post-featured-figure__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  object-fit: cover;
}

@media (max-width: 767px) {
  .single-post .post-featured-figure {
    margin-bottom: var(--space-6);
  }

  .single-post .post-featured-figure__img {
    border-radius: var(--radius-lg);
  }
}

.single-post .post-article {
  padding-bottom: var(--space-8);
}

/* Headings and lists in the 70% column keep a comfortable measure. */
.single-post .article-body__main .content-body > p,
.single-post .article-body__main .content-body > ul,
.single-post .article-body__main .content-body > ol,
.single-post .article-body__main .content-body > blockquote {
  max-width: 100%;
}

/* Nested lists hug their parent item instead of taking the paragraph gap. */
.single-post .content-body li > ul,
.single-post .content-body li > ol {
  margin-top: var(--space-2);
  margin-bottom: var(--space-2);
}

/* --- Tables ----------------------------------------------------------- */
/* Previously the only rule set padding, so tables rendered as bare text
   columns. They now read as a proper data table on any width. */
.single-post .content-body .wp-block-table,
.single-post .content-body figure.wp-block-table {
  margin: var(--space-8) 0;
  max-width: 100%;
  overflow-x: auto;
}

.single-post .content-body table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface, #fff);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.single-post .content-body thead th,
.single-post .content-body thead td {
  padding: 0.75rem 1rem;
  background: var(--color-primary);
  color: var(--color-on-dark);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: left;
  text-transform: uppercase;
  vertical-align: bottom;
}

.single-post .content-body tbody th,
.single-post .content-body tbody td {
  padding: 0.8125rem 1rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  text-align: left;
  vertical-align: top;
}

.single-post .content-body tbody tr:nth-child(even) {
  background: var(--color-surface-alt, #EEF2F7);
}

.single-post .content-body tbody th {
  font-weight: 600;
  color: var(--color-primary);
}

.single-post .content-body figcaption {
  margin-top: var(--space-2);
  color: var(--color-muted);
  font-size: 0.8125rem;
  text-align: left;
}

/* --- Author bio ------------------------------------------------------- */
.post-author {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.post-author__avatar {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--color-surface-alt, #EEF2F7);
}

.post-author__avatar img,
.post-author__avatar .avatar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.post-author__body {
  min-width: 0;
}

.post-author__label {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.post-author__name {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
}

.post-author__bio {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* --- Sidebar --------------------------------------------------------- */
.post-sidebar {
  display: grid;
  gap: var(--space-5);
}

.post-sidebar__card {
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface, #fff);
}

.post-sidebar__title {
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.post-sidebar__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-4);
}

.post-sidebar__item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.post-sidebar__thumb {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: var(--radius-sm, 6px);
  background: var(--color-surface-alt, #EEF2F7);
}

.post-sidebar__thumb-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-sidebar__text {
  display: block;
  min-width: 0;
}

.post-sidebar__link {
  display: block;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.post-sidebar__link:hover,
.post-sidebar__link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
  outline: none;
}

.post-sidebar__date {
  display: block;
  margin-top: 0.25rem;
  color: var(--color-muted);
  font-size: 0.8125rem;
}

.post-sidebar__card--note {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-on-dark);
}

.post-sidebar__card--note p {
  margin: 0 0 var(--space-3);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-muted-on-dark);
}

.post-sidebar__card--note p:last-child {
  margin-bottom: 0;
}

/* The TOC re-used inside the sidebar loses its own outer chrome so it does
   not double up with the card border. */
.post-sidebar .sv-toc {
  border: 0;
  padding: 0;
  background: transparent;
}

.post-sidebar .sv-toc__title {
  padding: 0;
}

@media (max-width: 1023px) {
  .single-post .content-layout--editorial {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- Header tint on narrow screens ------------------------------------ */
@media (max-width: 767px) {
  .single-post .post-header {
    padding-top: var(--space-6);
    padding-bottom: var(--space-5);
  }

  .post-author {
    flex-direction: column;
    gap: var(--space-3);
  }

  .single-post .content-body table {
    min-width: 28rem;
  }
}

/* =====================================================================
   Fixed WhatsApp button: keep it clear of interactive controls and the
   footer on small screens (it must never cover the comment submit).
   ===================================================================== */
@media (max-width: 767px) {
  /* Reserve space below the submit so the floating button cannot sit on it. */
  .single .wp-block-comments .form-submit {
    padding-bottom: 4.5rem;
  }

  /* The last CTA band and the footer's bottom bar get the same guard. */
  .single .ds-cta,
  .single .audit-cta {
    padding-bottom: calc(var(--space-6) + 3.5rem);
  }

  .site-footer__bottom {
    padding-bottom: 5rem;
  }
}
