.sf-v2.sf-case-page {
  --sf-case-navy: #071f3d;
  --sf-case-blue: #0d56d9;
  --sf-case-orange: #f5ac40;
  --sf-case-teal: #23c6be;
  --sf-case-ink: #071f3d;
  --sf-case-muted: #526b8e;
  --sf-case-soft: #f3f7ff;
  color: var(--sf-case-ink);
  font-family: "Poppins", Arial, sans-serif;
  overflow: hidden;
}

.sf-v2.sf-case-page * {
  box-sizing: border-box;
}

.sf-v2.sf-case-page .wp-block-group__inner-container {
  max-width: none;
  min-width: 0;
  width: 100%;
}

.sf-v2.sf-case-page .wp-block-group,
.sf-v2.sf-case-page .wp-block-group > .wp-block-group__inner-container,
.sf-v2.sf-case-page .sf-case-card-grid > *,
.sf-v2.sf-case-page .sf-case-result-grid > *,
.sf-v2.sf-case-page .sf-case-work-grid > *,
.sf-v2.sf-case-page .sf-case-evidence-gallery > *,
.sf-v2.sf-case-page .sf-case-service-grid > *,
.sf-v2.sf-case-page .sf-case-featured-grid > * {
  max-width: 100%;
  min-width: 0;
}

.sf-v2.sf-case-page a {
  color: var(--sf-case-blue);
  text-decoration: none;
}

.sf-v2.sf-case-page a:hover,
.sf-v2.sf-case-page a:focus {
  text-decoration: none;
}

.sf-v2.sf-case-page .sf-section {
  padding: 86px 24px;
}

.sf-v2.sf-case-page .sf-section-white {
  background: #fff;
}

.sf-v2.sf-case-page .sf-section-soft {
  background: var(--sf-case-soft);
}

.sf-v2.sf-case-page .sf-section-dark {
  background: var(--sf-case-navy);
  color: #fff;
}

.sf-v2.sf-case-page .sf-section-inner {
  margin: 0 auto;
  max-width: 1180px;
}

.sf-v2.sf-case-page .sf-section-head {
  margin: 0 auto 38px;
  max-width: 840px;
}

.sf-v2.sf-case-page .sf-section-head-center {
  text-align: center;
}

.sf-v2.sf-case-page .sf-section-kicker {
  color: var(--sf-case-blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .09em;
  margin: 0 0 12px !important;
  text-transform: uppercase;
}

.sf-v2.sf-case-page .sf-section-dark .sf-section-kicker {
  color: var(--sf-case-orange);
}

.sf-v2.sf-case-page h1,
.sf-v2.sf-case-page h2,
.sf-v2.sf-case-page h3,
.sf-v2.sf-case-page h4 {
  color: var(--sf-case-ink);
  font-weight: 900;
  letter-spacing: 0;
}

.sf-v2.sf-case-page .sf-section-dark h1,
.sf-v2.sf-case-page .sf-section-dark h2,
.sf-v2.sf-case-page .sf-section-dark h3,
.sf-v2.sf-case-page .sf-section-dark h4,
.sf-v2.sf-case-page .sf-section-dark p {
  color: #fff;
}

.sf-v2.sf-case-page h1 {
  font-size: clamp(42px, 6vw, 82px);
  line-height: .98;
  margin: 0 0 24px !important;
}

.sf-v2.sf-case-page h2 {
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.05;
  margin: 0 0 18px !important;
}

.sf-v2.sf-case-page h3 {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.12;
  margin: 0 0 12px !important;
}

.sf-v2.sf-case-page p {
  color: var(--sf-case-muted);
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 18px !important;
}

.sf-v2.sf-case-page .sf-lede {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
}

.sf-v2.sf-case-page .sf-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.sf-v2.sf-case-page .sf-button .wp-block-button__link {
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(7, 31, 61, .12);
  font-weight: 800;
  min-height: 52px;
  padding: 15px 24px;
  transition: background .18s ease, box-shadow .18s ease, color .18s ease, transform .18s ease;
}

.sf-v2.sf-case-page .sf-button-primary .wp-block-button__link {
  background: var(--sf-case-orange);
  color: var(--sf-case-navy) !important;
}

.sf-v2.sf-case-page .sf-button-secondary .wp-block-button__link {
  background: transparent;
  border: 1px solid rgba(13, 86, 217, .32);
  color: var(--sf-case-blue) !important;
}

.sf-v2.sf-case-page .sf-section-dark .sf-button-secondary .wp-block-button__link {
  border-color: rgba(255, 255, 255, .32);
  color: #fff !important;
}

.sf-v2.sf-case-page .sf-button .wp-block-button__link:hover,
.sf-v2.sf-case-page .sf-button .wp-block-button__link:focus {
  box-shadow: 0 24px 52px rgba(7, 31, 61, .18);
  transform: translateY(-2px);
}

.sf-v2.sf-case-page .sf-case-hero-grid,
.sf-v2.sf-case-page .sf-case-split {
  align-items: center;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
}

.sf-v2.sf-case-page .sf-case-hero {
  background: linear-gradient(110deg, #fff 0%, #f7fbff 62%, #eef5ff 100%);
  padding-top: 110px;
}

.sf-v2.sf-case-page .sf-case-hero-panel,
.sf-v2.sf-case-page .sf-case-dark-panel {
  background: var(--sf-case-navy);
  border-radius: 10px;
  box-shadow: 0 34px 88px rgba(7, 31, 61, .16);
  color: #fff;
  padding: 30px;
}

.sf-v2.sf-case-page .sf-case-hero-panel h3,
.sf-v2.sf-case-page .sf-case-hero-panel p,
.sf-v2.sf-case-page .sf-case-dark-panel h3,
.sf-v2.sf-case-page .sf-case-dark-panel p {
  color: #fff;
}

.sf-v2.sf-case-page .sf-case-evidence-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sf-v2.sf-case-page .sf-case-evidence-tile {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  min-height: 118px;
  padding: 18px;
}

.sf-v2.sf-case-page .sf-case-evidence-tile strong {
  color: #fff;
  display: block;
  font-size: 24px;
  line-height: 1.05;
  margin-bottom: 8px;
}

.sf-v2.sf-case-page .sf-case-evidence-tile span {
  color: rgba(255, 255, 255, .76);
  display: block;
  font-size: 13px;
  line-height: 1.45;
}

.sf-v2.sf-case-page .sf-case-card-grid,
.sf-v2.sf-case-page .sf-case-result-grid,
.sf-v2.sf-case-page .sf-case-work-grid,
.sf-v2.sf-case-page .sf-case-evidence-gallery,
.sf-v2.sf-case-page .sf-case-service-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sf-v2.sf-case-page .sf-case-featured-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sf-v2.sf-case-page .sf-card,
.sf-v2.sf-case-page .sf-case-card,
.sf-v2.sf-case-page .sf-case-metric,
.sf-v2.sf-case-page .sf-case-work-card,
.sf-v2.sf-case-page .sf-case-evidence-card,
.sf-v2.sf-case-page .sf-case-testimonial,
.sf-v2.sf-case-page .sf-case-author-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), #fff) padding-box,
    linear-gradient(135deg, rgba(13, 86, 217, .18), rgba(35, 198, 190, .18), rgba(245, 172, 64, .18)) border-box;
  border: 1px solid transparent;
  border-radius: 10px;
  box-shadow: 0 22px 58px rgba(7, 31, 61, .08);
  padding: 28px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}

.sf-v2.sf-case-page .sf-card:hover,
.sf-v2.sf-case-page .sf-case-card:hover,
.sf-v2.sf-case-page .sf-case-metric:hover,
.sf-v2.sf-case-page .sf-case-work-card:hover,
.sf-v2.sf-case-page .sf-case-evidence-card:hover {
  box-shadow: 0 30px 74px rgba(7, 31, 61, .14);
  transform: translateY(-5px);
}

.sf-v2.sf-case-page .sf-case-featured-card::before {
  background: linear-gradient(90deg, var(--sf-case-teal), var(--sf-case-blue), var(--sf-case-orange));
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.sf-v2.sf-case-page .sf-card-meta,
.sf-v2.sf-case-page .sf-case-meta {
  color: var(--sf-case-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  margin-bottom: 12px !important;
  text-transform: uppercase;
}

.sf-v2.sf-case-page .sf-case-stat-list {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.sf-v2.sf-case-page .sf-case-stat {
  align-items: center;
  background: #f5f9ff;
  border: 1px solid rgba(13, 86, 217, .12);
  border-radius: 8px;
  color: var(--sf-case-ink);
  display: flex;
  font-size: 15px;
  font-weight: 800;
  justify-content: space-between;
  line-height: 1.35;
  padding: 12px 14px;
}

.sf-v2.sf-case-page .sf-case-stat span:last-child {
  color: var(--sf-case-blue);
}

.sf-v2.sf-case-page .sf-card-action a,
.sf-v2.sf-case-page .sf-case-service-link a {
  color: var(--sf-case-blue);
  font-weight: 900;
}

.sf-v2.sf-case-page .sf-case-filter-panel {
  background: #fff;
  border: 1px solid rgba(13, 86, 217, .14);
  border-radius: 10px;
  box-shadow: 0 22px 58px rgba(7, 31, 61, .07);
  padding: 26px;
}

.sf-v2.sf-case-page .sf-case-filter-group {
  margin-bottom: 18px;
}

.sf-v2.sf-case-page .sf-case-filter-label {
  color: var(--sf-case-ink);
  display: block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.sf-v2.sf-case-page .sf-case-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sf-v2.sf-case-page .sf-case-filter-button {
  background: #fff;
  border: 1px solid rgba(13, 86, 217, .22);
  border-radius: 999px;
  color: var(--sf-case-ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 16px;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.sf-v2.sf-case-page .sf-case-filter-button:hover,
.sf-v2.sf-case-page .sf-case-filter-button:focus,
.sf-v2.sf-case-page .sf-case-filter-button.is-active {
  background: var(--sf-case-blue);
  border-color: var(--sf-case-blue);
  color: #fff;
}

.sf-v2.sf-case-page [hidden] {
  display: none !important;
}

.sf-v2.sf-case-page .sf-case-metric strong {
  color: var(--sf-case-ink);
  display: block;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  margin-bottom: 8px;
}

.sf-v2.sf-case-page .sf-case-metric span {
  color: var(--sf-case-muted);
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.sf-v2.sf-case-page .sf-case-process,
.sf-v2.sf-case-page .sf-case-before-after {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sf-v2.sf-case-page .sf-case-process-step,
.sf-v2.sf-case-page .sf-case-before-after-card {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  padding: 22px;
}

.sf-v2.sf-case-page .sf-case-process-step span,
.sf-v2.sf-case-page .sf-case-before-after-card span {
  background: var(--sf-case-orange);
  border-radius: 999px;
  color: var(--sf-case-navy);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 14px;
  padding: 8px 12px;
}

.sf-v2.sf-case-page .sf-case-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.sf-v2.sf-case-page .sf-case-ranking-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 680px;
  width: 100%;
}

.sf-v2.sf-case-page .sf-case-ranking-table th,
.sf-v2.sf-case-page .sf-case-ranking-table td {
  border-bottom: 1px solid rgba(13, 86, 217, .12);
  color: var(--sf-case-muted);
  padding: 16px 18px;
  text-align: left;
}

.sf-v2.sf-case-page .sf-case-ranking-table th {
  color: var(--sf-case-ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.sf-v2.sf-case-page .sf-case-ranking-table td:last-child {
  color: var(--sf-case-blue);
  font-weight: 900;
}

.sf-v2.sf-case-page .sf-case-evidence-placeholder {
  align-items: center;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(180deg, rgba(238, 245, 255, .92), rgba(255, 255, 255, .95)),
    repeating-linear-gradient(90deg, rgba(13, 86, 217, .12) 0 2px, transparent 2px 18px);
  border: 1px solid rgba(13, 86, 217, .16);
  border-radius: 8px;
  color: var(--sf-case-muted);
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 14px;
  padding: 18px;
  text-align: center;
}

.sf-v2.sf-case-page .sf-case-evidence-placeholder strong {
  color: var(--sf-case-ink);
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.sf-v2.sf-case-page .sf-case-testimonial {
  border-left: 6px solid var(--sf-case-orange);
}

.sf-v2.sf-case-page .sf-case-testimonial p {
  color: var(--sf-case-ink) !important;
  display: block;
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.45;
}

.sf-v2.sf-case-page .sf-case-testimonial cite {
  color: var(--sf-case-muted) !important;
  display: block;
  font-style: normal;
  font-weight: 800;
  margin-top: 12px;
}

.sf-v2.sf-case-page .sf-case-author-card {
  align-items: center;
  display: flex;
  gap: 18px;
}

.sf-v2.sf-case-page .sf-case-author-mark {
  align-items: center;
  background: #eef5ff;
  border-radius: 999px;
  color: var(--sf-case-blue);
  display: inline-flex;
  flex: 0 0 58px;
  font-size: 22px;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.sf-v2.sf-case-page .sf-case-estimate-note {
  background: #fff7e8;
  border: 1px solid rgba(245, 172, 64, .36);
  border-radius: 8px;
  color: var(--sf-case-ink) !important;
  font-size: 15px;
  font-weight: 800;
  padding: 14px 16px;
}

.sf-v2.sf-case-page .sf-case-final-cta {
  text-align: center;
}

.sf-v2.sf-case-page .sf-case-final-cta .sf-button-row {
  justify-content: center;
}

@media (max-width: 1180px) {
  .sf-v2.sf-case-page .sf-case-hero-grid,
  .sf-v2.sf-case-page .sf-case-split {
    grid-template-columns: 1fr;
  }

  .sf-v2.sf-case-page .sf-case-card-grid,
  .sf-v2.sf-case-page .sf-case-result-grid,
  .sf-v2.sf-case-page .sf-case-work-grid,
  .sf-v2.sf-case-page .sf-case-evidence-gallery,
  .sf-v2.sf-case-page .sf-case-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .sf-v2.sf-case-page .sf-section {
    padding: 58px 18px;
  }

  .sf-v2.sf-case-page .sf-case-hero {
    padding-top: 72px;
  }

  .sf-v2.sf-case-page h1 {
    font-size: clamp(36px, 12vw, 52px);
  }

  .sf-v2.sf-case-page h2 {
    font-size: clamp(28px, 9vw, 40px);
  }

  .sf-v2.sf-case-page p {
    font-size: 16px;
  }

  .sf-v2.sf-case-page .sf-button-row,
  .sf-v2.sf-case-page .sf-button,
  .sf-v2.sf-case-page .sf-button .wp-block-button__link {
    width: 100%;
  }

  .sf-v2.sf-case-page .sf-case-card-grid,
  .sf-v2.sf-case-page .sf-case-result-grid,
  .sf-v2.sf-case-page .sf-case-work-grid,
  .sf-v2.sf-case-page .sf-case-evidence-gallery,
  .sf-v2.sf-case-page .sf-case-service-grid,
  .sf-v2.sf-case-page .sf-case-featured-grid,
  .sf-v2.sf-case-page .sf-case-process,
  .sf-v2.sf-case-page .sf-case-before-after,
  .sf-v2.sf-case-page .sf-case-evidence-grid {
    grid-template-columns: 1fr;
  }

  .sf-v2.sf-case-page .sf-card,
  .sf-v2.sf-case-page .sf-case-card,
  .sf-v2.sf-case-page .sf-case-metric,
  .sf-v2.sf-case-page .sf-case-work-card,
  .sf-v2.sf-case-page .sf-case-evidence-card,
  .sf-v2.sf-case-page .sf-case-testimonial,
  .sf-v2.sf-case-page .sf-case-author-card,
  .sf-v2.sf-case-page .sf-case-hero-panel,
  .sf-v2.sf-case-page .sf-case-dark-panel {
    padding: 22px;
  }

  .sf-v2.sf-case-page .sf-case-author-card {
    align-items: flex-start;
  }
}

/* Gutenberg wrapper grid repair */
.sf-v2.sf-case-page .sf-case-hero-grid,
.sf-v2.sf-case-page .sf-case-split,
.sf-v2.sf-case-page .sf-case-evidence-grid,
.sf-v2.sf-case-page .sf-case-card-grid,
.sf-v2.sf-case-page .sf-case-result-grid,
.sf-v2.sf-case-page .sf-case-work-grid,
.sf-v2.sf-case-page .sf-case-evidence-gallery,
.sf-v2.sf-case-page .sf-case-service-grid,
.sf-v2.sf-case-page .sf-case-featured-grid {
  display: block;
}

.sf-v2.sf-case-page .sf-case-hero-grid > .wp-block-group__inner-container,
.sf-v2.sf-case-page .sf-case-split > .wp-block-group__inner-container {
  align-items: center;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
}

.sf-v2.sf-case-page .sf-case-evidence-grid > .wp-block-group__inner-container {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sf-v2.sf-case-page .sf-case-card-grid > .wp-block-group__inner-container,
.sf-v2.sf-case-page .sf-case-result-grid > .wp-block-group__inner-container,
.sf-v2.sf-case-page .sf-case-work-grid > .wp-block-group__inner-container,
.sf-v2.sf-case-page .sf-case-evidence-gallery > .wp-block-group__inner-container,
.sf-v2.sf-case-page .sf-case-service-grid > .wp-block-group__inner-container {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sf-v2.sf-case-page .sf-case-featured-grid > .wp-block-group__inner-container {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sf-v2.sf-case-page .sf-case-card-grid > .wp-block-group__inner-container > *,
.sf-v2.sf-case-page .sf-case-result-grid > .wp-block-group__inner-container > *,
.sf-v2.sf-case-page .sf-case-work-grid > .wp-block-group__inner-container > *,
.sf-v2.sf-case-page .sf-case-evidence-gallery > .wp-block-group__inner-container > *,
.sf-v2.sf-case-page .sf-case-service-grid > .wp-block-group__inner-container > *,
.sf-v2.sf-case-page .sf-case-featured-grid > .wp-block-group__inner-container > * {
  max-width: 100%;
  min-width: 0;
}

@media (max-width: 1180px) {
  .sf-v2.sf-case-page .sf-case-hero-grid > .wp-block-group__inner-container,
  .sf-v2.sf-case-page .sf-case-split > .wp-block-group__inner-container {
    grid-template-columns: 1fr;
  }

  .sf-v2.sf-case-page .sf-case-card-grid > .wp-block-group__inner-container,
  .sf-v2.sf-case-page .sf-case-result-grid > .wp-block-group__inner-container,
  .sf-v2.sf-case-page .sf-case-work-grid > .wp-block-group__inner-container,
  .sf-v2.sf-case-page .sf-case-evidence-gallery > .wp-block-group__inner-container,
  .sf-v2.sf-case-page .sf-case-service-grid > .wp-block-group__inner-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .sf-v2.sf-case-page .sf-case-card-grid > .wp-block-group__inner-container,
  .sf-v2.sf-case-page .sf-case-result-grid > .wp-block-group__inner-container,
  .sf-v2.sf-case-page .sf-case-work-grid > .wp-block-group__inner-container,
  .sf-v2.sf-case-page .sf-case-evidence-gallery > .wp-block-group__inner-container,
  .sf-v2.sf-case-page .sf-case-service-grid > .wp-block-group__inner-container,
  .sf-v2.sf-case-page .sf-case-featured-grid > .wp-block-group__inner-container,
  .sf-v2.sf-case-page .sf-case-evidence-grid > .wp-block-group__inner-container {
    grid-template-columns: 1fr;
  }
}

/* Premium authority polish */
.sf-v2.sf-case-page {
  --sf-case-border: rgba(13, 86, 217, .15);
  --sf-case-shadow: 0 24px 68px rgba(7, 31, 61, .1);
  --sf-case-positive: #12866f;
  --sf-case-positive-soft: #e8f7f3;
}

.sf-v2.sf-case-page .sf-button .wp-block-button__link {
  border-radius: 7px;
  font-size: 14px;
  line-height: 1.15;
  min-height: 40px;
  padding: 12px 20px;
}

.sf-v2.sf-case-page .sf-button-secondary .wp-block-button__link,
.sf-v2.sf-case-page .sf-section-dark .sf-button-secondary .wp-block-button__link {
  background: #fff;
  border-color: rgba(7, 31, 61, .22);
  color: var(--sf-case-navy) !important;
}

.sf-v2.sf-case-page .sf-section-dark .sf-button-secondary .wp-block-button__link {
  border-color: rgba(255, 255, 255, .32);
}

.sf-v2.sf-case-page .sf-case-hero-grid > .wp-block-group__inner-container,
.sf-v2.sf-case-page .sf-case-split > .wp-block-group__inner-container {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
}

.sf-v2.sf-case-page .sf-case-hero h1 {
  font-size: clamp(42px, 4.9vw, 70px);
}

.sf-v2.sf-case-page .sf-case-hero .sf-lede {
  font-size: clamp(19px, 1.75vw, 24px);
}

.sf-v2.sf-case-page .sf-section-lede {
  color: #405d82;
  font-size: clamp(18px, 1.5vw, 21px);
}

.sf-v2.sf-case-page .sf-case-hero-panel {
  overflow: hidden;
  padding: clamp(26px, 3vw, 38px);
}

.sf-v2.sf-case-page .sf-case-project-dashboard {
  display: grid;
  gap: 18px;
}

.sf-v2.sf-case-page .sf-case-dashboard-head {
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  padding-bottom: 18px;
}

.sf-v2.sf-case-page .sf-case-dashboard-head span,
.sf-v2.sf-case-page .sf-case-dashboard-note {
  color: var(--sf-case-orange);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.sf-v2.sf-case-page .sf-case-dashboard-head strong {
  color: #fff;
  display: block;
  font-size: clamp(25px, 2.6vw, 38px);
  line-height: 1.05;
  margin-top: 8px;
}

.sf-v2.sf-case-page .sf-case-dashboard-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sf-v2.sf-case-page .sf-case-dashboard-meta span {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  padding: 8px 11px;
}

.sf-v2.sf-case-page .sf-case-dashboard-outcome {
  background: linear-gradient(135deg, rgba(18, 134, 111, .2), rgba(255, 255, 255, .07));
  border: 1px solid rgba(18, 134, 111, .42);
  border-radius: 10px;
  padding: 18px;
}

.sf-v2.sf-case-page .sf-case-dashboard-outcome span,
.sf-v2.sf-case-page .sf-case-dashboard-outcome em {
  color: rgba(255, 255, 255, .78);
  display: block;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.sf-v2.sf-case-page .sf-case-dashboard-outcome strong {
  color: #7ee2c8;
  display: block;
  font-size: clamp(40px, 4.5vw, 62px);
  line-height: .95;
  margin: 7px 0;
}

.sf-v2.sf-case-page .sf-case-dashboard-metrics {
  display: grid;
  gap: 12px;
}

.sf-v2.sf-case-page .sf-case-dashboard-metric {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 9px;
  padding: 17px;
}

.sf-v2.sf-case-page .sf-case-dashboard-metric span {
  color: rgba(255, 255, 255, .72);
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}

.sf-v2.sf-case-page .sf-case-dashboard-metric strong {
  color: #fff;
  display: block;
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1;
}

.sf-v2.sf-case-page .sf-case-dashboard-metric em {
  color: #7ee2c8;
  font-style: normal;
}

.sf-v2.sf-case-page .sf-case-library-map {
  display: grid;
  gap: 12px;
}

.sf-v2.sf-case-page .sf-case-library-map div {
  align-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 9px;
  display: grid;
  gap: 10px;
  grid-template-columns: auto 1fr;
  padding: 14px 16px;
}

.sf-v2.sf-case-page .sf-case-library-map span {
  align-items: center;
  background: var(--sf-case-orange);
  border-radius: 999px;
  color: var(--sf-case-navy);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.sf-v2.sf-case-page .sf-case-library-map strong,
.sf-v2.sf-case-page .sf-case-library-map em {
  color: #fff;
  display: block;
  font-style: normal;
  line-height: 1.35;
}

.sf-v2.sf-case-page .sf-case-library-map em {
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
}

.sf-v2.sf-case-page .sf-case-metric {
  padding: 30px;
}

.sf-v2.sf-case-page .sf-case-metric::after {
  background: linear-gradient(90deg, var(--sf-case-positive), rgba(18, 134, 111, .2));
  border-radius: 999px;
  bottom: 0;
  content: "";
  height: 5px;
  left: 28px;
  position: absolute;
  right: 28px;
}

.sf-v2.sf-case-page .sf-case-metric-label,
.sf-v2.sf-case-page .sf-case-metric-caption {
  color: var(--sf-case-muted);
  display: block;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.sf-v2.sf-case-page .sf-case-metric-label {
  color: var(--sf-case-blue);
  letter-spacing: .07em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.sf-v2.sf-case-page .sf-case-metric-movement {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.sf-v2.sf-case-page .sf-case-metric-movement strong {
  margin: 0;
}

.sf-v2.sf-case-page .sf-case-metric-movement em,
.sf-v2.sf-case-page .sf-case-result-movement em {
  color: var(--sf-case-positive);
  font-style: normal;
  font-weight: 900;
}

.sf-v2.sf-case-page .sf-case-metric-movement strong:last-child,
.sf-v2.sf-case-page .sf-case-result-movement strong:last-child,
.sf-v2.sf-case-page .sf-case-ranking-table td:last-child,
.sf-v2.sf-case-page .sf-case-ranking-card em:last-child {
  color: var(--sf-case-positive);
}

.sf-v2.sf-case-page .sf-case-category-card {
  box-shadow: 0 14px 34px rgba(7, 31, 61, .055);
  padding-top: 26px;
}

.sf-v2.sf-case-page .sf-case-card-icon {
  align-items: center;
  background: #eef5ff;
  border: 1px solid rgba(13, 86, 217, .12);
  border-radius: 8px;
  color: var(--sf-case-blue);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  margin-bottom: 18px;
  width: 38px;
}

.sf-v2.sf-case-page .sf-case-category-search .sf-case-card-icon::before { content: "SEO"; }
.sf-v2.sf-case-page .sf-case-category-ads .sf-case-card-icon::before { content: "AD"; }
.sf-v2.sf-case-page .sf-case-category-pin .sf-case-card-icon::before { content: "LOC"; }
.sf-v2.sf-case-page .sf-case-category-code .sf-case-card-icon::before { content: "</>"; }
.sf-v2.sf-case-page .sf-case-category-target .sf-case-card-icon::before { content: "%"; }
.sf-v2.sf-case-page .sf-case-category-nodes .sf-case-card-icon::before { content: "MAP"; }

.sf-v2.sf-case-page .sf-case-featured-results {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px 0;
}

.sf-v2.sf-case-page .sf-case-featured-results div {
  background: var(--sf-case-positive-soft);
  border: 1px solid rgba(18, 134, 111, .18);
  border-radius: 8px;
  padding: 13px 14px;
}

.sf-v2.sf-case-page .sf-case-featured-results strong {
  color: var(--sf-case-positive);
  display: block;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1;
}

.sf-v2.sf-case-page .sf-case-featured-results span {
  color: var(--sf-case-ink);
  display: block;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  margin-top: 7px;
}

.sf-v2.sf-case-page .sf-case-diagnosis-section .sf-case-dark-panel {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .13);
}

.sf-v2.sf-case-page .sf-case-diagnosis-flow {
  display: grid;
  gap: 12px;
}

.sf-v2.sf-case-page .sf-case-diagnosis-flow div {
  border-left: 4px solid var(--sf-case-orange);
  padding: 4px 0 4px 16px;
}

.sf-v2.sf-case-page .sf-case-diagnosis-flow span {
  color: var(--sf-case-orange);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.sf-v2.sf-case-page .sf-case-diagnosis-flow p {
  color: rgba(255, 255, 255, .86) !important;
  font-size: 16px;
  margin: 0 !important;
}

.sf-v2.sf-case-page .sf-case-process {
  align-items: stretch;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  position: relative;
}

.sf-v2.sf-case-page .sf-case-process-step {
  background: #fff;
  border: 1px solid var(--sf-case-border);
  box-shadow: var(--sf-case-shadow);
  color: var(--sf-case-ink);
  min-height: 158px;
  padding: 20px;
  position: relative;
}

.sf-v2.sf-case-page .sf-case-process-step span {
  margin-bottom: 22px;
}

.sf-v2.sf-case-page .sf-case-process-step h3 {
  font-size: 20px;
  line-height: 1.15;
}

.sf-v2.sf-case-page .sf-case-process-step i {
  color: var(--sf-case-orange);
  font-style: normal;
  font-weight: 900;
  position: absolute;
  right: -13px;
  top: 28px;
  z-index: 2;
}

.sf-v2.sf-case-page .sf-case-work-card::before {
  background: var(--sf-case-orange);
  border-radius: 999px;
  content: "What changed";
  color: var(--sf-case-navy);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  margin-bottom: 18px;
  padding: 8px 11px;
  text-transform: uppercase;
}

.sf-v2.sf-case-page .sf-case-before-after {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sf-v2.sf-case-page .sf-case-before-after-card {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .16);
  min-height: 240px;
  padding: 26px;
}

.sf-v2.sf-case-page .sf-case-before-after-card p {
  color: var(--sf-case-orange) !important;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  margin: 0 0 14px !important;
  text-transform: uppercase;
}

.sf-v2.sf-case-page .sf-case-before-after-card small {
  color: rgba(255, 255, 255, .78);
  display: block;
  font-size: 16px;
  line-height: 1.6;
}

.sf-v2.sf-case-page .sf-case-result-movement {
  align-items: center;
  background: #f5f9ff;
  border: 1px solid rgba(13, 86, 217, .12);
  border-radius: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 18px;
  padding: 13px 14px;
}

.sf-v2.sf-case-page .sf-case-result-percent {
  color: var(--sf-case-positive);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 900;
  line-height: .95;
  margin: 6px 0 14px;
}

.sf-v2.sf-case-page .sf-case-result-movement strong {
  color: var(--sf-case-ink);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.1;
}

.sf-v2.sf-case-page .sf-case-ranking-cards {
  display: none;
}

.sf-v2.sf-case-page .sf-case-ranking-table {
  background: #fff;
  border: 1px solid var(--sf-case-border);
  border-radius: 10px;
  box-shadow: var(--sf-case-shadow);
  overflow: hidden;
}

.sf-v2.sf-case-page .sf-case-ranking-table th {
  background: #f6f9ff;
}

.sf-v2.sf-case-page .sf-case-evidence-card {
  padding: 20px;
}

.sf-v2.sf-case-page .sf-case-evidence-placeholder {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(243, 247, 255, .96)),
    repeating-linear-gradient(135deg, rgba(13, 86, 217, .1) 0 2px, transparent 2px 20px);
  border: 1px dashed rgba(13, 86, 217, .28);
  min-height: 190px;
}

.sf-v2.sf-case-page .sf-case-evidence-placeholder span {
  color: var(--sf-case-blue);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.sf-v2.sf-case-page .sf-case-evidence-placeholder em {
  color: var(--sf-case-muted);
  display: block;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  margin-top: 8px;
}

.sf-v2.sf-case-page .sf-case-testimonial {
  box-shadow: 0 16px 42px rgba(7, 31, 61, .06);
  margin: 0 auto;
  max-width: 900px;
  padding: 24px 28px;
}

.sf-v2.sf-case-page .sf-case-testimonial p {
  font-size: clamp(19px, 1.6vw, 24px);
}

.sf-v2.sf-case-page .sf-case-related-services-section .sf-card {
  box-shadow: none;
  padding: 22px;
}

.sf-v2.sf-case-page .sf-case-filter-panel {
  box-shadow: 0 16px 36px rgba(7, 31, 61, .055);
  padding: 22px;
}

.sf-v2.sf-case-page .sf-case-filter-group {
  margin-bottom: 14px;
}

.sf-v2.sf-case-page .sf-case-filter-label {
  font-size: 12px;
  margin-bottom: 8px;
}

.sf-v2.sf-case-page .sf-case-filter-options {
  gap: 8px;
}

.sf-v2.sf-case-page .sf-case-filter-button {
  border-color: rgba(13, 86, 217, .18);
  font-size: 12px;
  padding: 7px 11px;
}

.sf-v2.sf-case-page .sf-case-author-card {
  background: linear-gradient(135deg, #fff, #f8fbff);
}

.sf-v2.sf-case-page .sf-case-author-card p {
  font-size: 16px;
}

body:has(.sf-v2.sf-case-page) .footer .row,
body:has(.sf-v2.sf-case-page) .footer-top,
body:has(.sf-v2.sf-case-page) .footer-div-parent {
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
}

body:has(.sf-v2.sf-case-page) .footer .container {
  max-width: calc(100vw - 60px);
}

@media (max-width: 1180px) {
  .sf-v2.sf-case-page .sf-case-hero-grid > .wp-block-group__inner-container,
  .sf-v2.sf-case-page .sf-case-split > .wp-block-group__inner-container {
    grid-template-columns: 1fr;
  }

  .sf-v2.sf-case-page .sf-case-process {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sf-v2.sf-case-page .sf-case-process-step i {
    display: none;
  }
}

@media (max-width: 760px) {
  .sf-v2.sf-case-page .sf-section-head {
    margin-bottom: 28px;
  }

  .sf-v2.sf-case-page .sf-section-lede,
  .sf-v2.sf-case-page .sf-lede {
    font-size: 18px;
  }

  .sf-v2.sf-case-page .sf-button .wp-block-button__link {
    font-size: 14px;
    min-height: 42px;
    padding: 12px 18px;
  }

  .sf-v2.sf-case-page .sf-case-process,
  .sf-v2.sf-case-page .sf-case-before-after {
    grid-template-columns: 1fr;
  }

  .sf-v2.sf-case-page .sf-case-work-card,
  .sf-v2.sf-case-page .sf-case-related-services-section .sf-card {
    box-shadow: none;
    padding: 20px 0;
  }

  .sf-v2.sf-case-page .sf-case-work-card {
    background: transparent;
    border-color: transparent;
  }

  .sf-v2.sf-case-page .sf-case-work-card::before {
    margin-bottom: 12px;
  }

  .sf-v2.sf-case-page .sf-case-featured-results {
    grid-template-columns: 1fr;
  }

  .sf-v2.sf-case-page .sf-case-process-step,
  .sf-v2.sf-case-page .sf-case-before-after-card {
    min-height: 0;
  }

  .sf-v2.sf-case-page .sf-case-table-wrap {
    display: none;
  }

  .sf-v2.sf-case-page .sf-case-ranking-cards {
    display: grid;
    gap: 14px;
  }

  .sf-v2.sf-case-page .sf-case-ranking-card {
    background: #fff;
    border: 1px solid var(--sf-case-border);
    border-radius: 10px;
    box-shadow: 0 18px 46px rgba(7, 31, 61, .07);
    padding: 20px;
  }

  .sf-v2.sf-case-page .sf-case-ranking-card span {
    color: var(--sf-case-blue);
    display: block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    margin-bottom: 8px;
    text-transform: uppercase;
  }

  .sf-v2.sf-case-page .sf-case-ranking-card strong {
    color: var(--sf-case-ink);
    display: block;
    font-size: 20px;
    line-height: 1.25;
    margin-bottom: 16px;
  }

  .sf-v2.sf-case-page .sf-case-ranking-card div {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: auto 1fr auto auto 1fr;
  }

  .sf-v2.sf-case-page .sf-case-ranking-card b {
    color: var(--sf-case-muted);
    font-size: 12px;
    text-transform: uppercase;
  }

  .sf-v2.sf-case-page .sf-case-ranking-card em {
    color: var(--sf-case-ink);
    font-style: normal;
    font-weight: 900;
  }

  .sf-v2.sf-case-page .sf-case-ranking-card i {
    color: var(--sf-case-orange);
    font-style: normal;
    font-weight: 900;
  }

  .sf-v2.sf-case-page .sf-case-testimonial {
    padding: 22px;
  }
}

/* Final CTA and testimonial tuning */
.sf-v2.sf-case-page .sf-button-row {
  align-items: center;
  gap: 12px;
}

.sf-v2.sf-case-page .sf-button {
  line-height: 1 !important;
  width: auto !important;
}

.sf-v2.sf-case-page .sf-button .wp-block-button__link,
.sf-v2.sf-case-page .sf-button a.wp-block-button__link,
.sf-v2.sf-case-page .sf-button .wp-element-button {
  align-items: center !important;
  border-radius: 9px !important;
  box-sizing: border-box;
  display: inline-flex !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  justify-content: center !important;
  line-height: 1.15 !important;
  min-height: 0 !important;
  padding: 12px 22px !important;
  text-decoration: none !important;
  width: auto !important;
}

.sf-v2.sf-case-page .sf-button .wp-block-button__link > .fa {
  flex: 0 0 auto;
  font-size: 17px;
  line-height: 1;
  margin-right: 10px;
  text-align: center;
  width: 18px;
}

.sf-v2.sf-case-page .sf-button .wp-block-button__link > span {
  line-height: 1.25;
}

.sf-v2.sf-case-page .sf-button-primary .wp-block-button__link,
.sf-v2.sf-case-page .sf-button-primary a.wp-block-button__link {
  background: linear-gradient(135deg, #f7b64f, var(--sf-case-orange)) !important;
  border: 1px solid rgba(245, 172, 64, .86) !important;
  box-shadow: 0 16px 34px rgba(245, 172, 64, .2), 0 8px 20px rgba(7, 31, 61, .08) !important;
  color: var(--sf-case-navy) !important;
}

.sf-v2.sf-case-page .sf-button-secondary .wp-block-button__link,
.sf-v2.sf-case-page .sf-button-secondary a.wp-block-button__link {
  background: #fff !important;
  border: 1px solid rgba(7, 31, 61, .28) !important;
  box-shadow: 0 10px 24px rgba(7, 31, 61, .06) !important;
  color: var(--sf-case-navy) !important;
}

.sf-v2.sf-case-page .sf-section-dark .sf-button-secondary .wp-block-button__link,
.sf-v2.sf-case-page .sf-section-dark .sf-button-secondary a.wp-block-button__link {
  background: rgba(255, 255, 255, .96) !important;
  border-color: rgba(255, 255, 255, .74) !important;
  color: var(--sf-case-navy) !important;
}

.sf-v2.sf-case-page .sf-button .wp-block-button__link:hover,
.sf-v2.sf-case-page .sf-button .wp-block-button__link:focus {
  box-shadow: 0 18px 42px rgba(7, 31, 61, .14), 0 14px 34px rgba(245, 172, 64, .18) !important;
  transform: translateY(-2px);
}

.sf-v2.sf-case-page .sf-case-testimonial {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), #fff) padding-box,
    linear-gradient(135deg, rgba(245, 172, 64, .72), rgba(18, 134, 111, .28), rgba(13, 86, 217, .2)) border-box;
  border: 1px solid transparent;
  border-left: 7px solid var(--sf-case-orange);
  box-shadow: 0 24px 70px rgba(7, 31, 61, .1);
  max-width: 1040px;
  overflow: visible;
  padding: clamp(26px, 3vw, 42px);
  position: relative;
}

.sf-v2.sf-case-page .sf-case-testimonial::before {
  color: var(--sf-case-orange);
  content: "\201C";
  font-family: Georgia, serif;
  font-size: clamp(58px, 6vw, 92px);
  font-weight: 900;
  line-height: .7;
  opacity: .34;
  position: absolute;
  right: 28px;
  top: 24px;
}

.sf-v2.sf-case-page .sf-case-testimonial p {
  color: var(--sf-case-navy) !important;
  font-size: clamp(22px, 2.1vw, 32px) !important;
  font-weight: 900 !important;
  letter-spacing: 0;
  line-height: 1.42;
  max-width: 900px;
  position: relative;
}

.sf-v2.sf-case-page .sf-case-testimonial cite {
  align-items: center;
  color: var(--sf-case-navy) !important;
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  gap: 8px;
  letter-spacing: .05em;
  margin-top: 12px;
  text-transform: uppercase;
}

.sf-v2.sf-case-page .sf-case-testimonial cite::before {
  background: var(--sf-case-positive);
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: 8px;
  width: 8px;
}

@media (max-width: 760px) {
  .sf-v2.sf-case-page .sf-button-row {
    gap: 10px;
  }

  .sf-v2.sf-case-page .sf-button {
    width: 100% !important;
  }

  .sf-v2.sf-case-page .sf-button .wp-block-button__link,
  .sf-v2.sf-case-page .sf-button a.wp-block-button__link,
  .sf-v2.sf-case-page .sf-button .wp-element-button {
    font-size: 14px !important;
    line-height: 1.15 !important;
    padding: 12px 16px !important;
    width: 100% !important;
  }

  .sf-v2.sf-case-page .sf-case-testimonial {
    padding: 26px 22px;
  }

  .sf-v2.sf-case-page .sf-case-testimonial::before {
    font-size: 58px;
    right: 18px;
    top: 18px;
  }

  .sf-v2.sf-case-page .sf-case-testimonial p {
    font-size: 20px !important;
    line-height: 1.45;
  }
}

/* Final hero/button repair */
.sf-v2.sf-case-page .wp-block-buttons.sf-button-row > .wp-block-button.sf-button {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: inline-flex !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
}

.sf-v2.sf-case-page .wp-block-buttons.sf-button-row > .wp-block-button.sf-button::before,
.sf-v2.sf-case-page .wp-block-buttons.sf-button-row > .wp-block-button.sf-button::after {
  content: none !important;
  display: none !important;
}

.sf-v2.sf-case-page .sf-case-library-map {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin-top: 22px;
  position: relative;
}

.sf-v2.sf-case-page .sf-case-library-map::before {
  background: linear-gradient(180deg, rgba(245, 172, 64, .7), rgba(35, 198, 190, .5), rgba(13, 86, 217, .35));
  content: "";
  bottom: 24px;
  left: 33px;
  position: absolute;
  top: 24px;
  width: 2px;
  z-index: 0;
}

.sf-v2.sf-case-page .sf-case-library-map div {
  align-items: center;
  background: rgba(255, 255, 255, .075);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  display: grid;
  gap: 16px;
  grid-template-columns: auto minmax(96px, .35fr) minmax(0, 1fr);
  min-height: 76px;
  padding: 14px 18px;
  position: relative;
  text-align: left;
  z-index: 1;
}

.sf-v2.sf-case-page .sf-case-library-map span {
  box-shadow: 0 0 0 7px var(--sf-case-navy);
  height: 38px;
  width: 38px;
}

.sf-v2.sf-case-page .sf-case-library-map strong {
  font-size: 17px;
  line-height: 1.15;
}

.sf-v2.sf-case-page .sf-case-library-map em {
  font-size: 13px;
  line-height: 1.35;
}

@media (max-width: 1180px) {
  .sf-v2.sf-case-page .sf-case-library-map {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .sf-v2.sf-case-page .wp-block-buttons.sf-button-row > .wp-block-button.sf-button {
    width: 100% !important;
  }

  .sf-v2.sf-case-page .sf-case-library-map {
    grid-template-columns: 1fr;
  }

  .sf-v2.sf-case-page .sf-case-library-map div {
    align-items: center;
    grid-template-columns: auto 1fr;
    min-height: 0;
    padding: 14px;
  }

  .sf-v2.sf-case-page .sf-case-library-map span {
    margin: 0;
  }

  .sf-v2.sf-case-page .sf-case-library-map em {
    grid-column: 2;
  }
}
