/* ========================================
   Case Study Detail Page
   All classes prefixed cs- to avoid collisions
   ======================================== */

/* Hero */
.cs-hero {
  background: linear-gradient(180deg, #f8f1ff 0%, #FFFBF8 77.6%, rgba(255,255,255,0) 100%);
  padding: 7rem 0 2rem;
}
@media (min-width: 768px) {
  .cs-hero { padding: 9rem 0 3rem; }
}

.cs-hero__inner {
  display: flex;
  flex-direction: column-reverse;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .cs-hero__inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 3rem;
  }
}

.cs-hero__content { flex: 1; }

.cs-hero__logo {
  max-height: 48px;
  width: auto;
  margin-bottom: 1rem;
}

.cs-hero__title {
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: var(--fnt-bold, 700);
  color: var(--neutral-900, #111928);
  margin: 0 !important;
}
@media (min-width: 768px) {
  .cs-hero__title { font-size: 2.25rem; line-height: 1.25; }
}

.cs-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.cs-hero__illustration {
  display: none;
}
.cs-hero__illustration img {
  max-width: 100%;
  height: 160px;
}
@media (min-width: 768px) {
  .cs-hero__illustration img { height: auto; max-height: 300px; }
}

/* Breadcrumb */
.cs-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}
.cs-breadcrumb a {
  color: var(--neutral-500, #6B7280);
  text-decoration: none;
  transition: color 0.2s;
}
.cs-breadcrumb a:hover {
  color: #673695;
  text-decoration: none;
}
.cs-breadcrumb__sep {
  color: var(--neutral-400, #9CA3AF);
  font-size: 0.75rem;
}
.cs-breadcrumb__current {
  color: var(--neutral-700, #374151);
  font-weight: var(--fnt-medium, 500);
}

/* Sidebar */
/* Sidebar column (RIGHT on desktop). Intentionally non-sticky: the form
   scrolls naturally with the page. */
.csd-sidebar {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 992px) {
  .csd-sidebar { gap: 1.5rem; }
}

.cs-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: var(--fnt-semi, 600);
  color: #673695;
  text-decoration: none;
  margin-bottom: 0;
  transition: color 0.2s, gap 0.2s;
}
.cs-back-link:hover {
  color: #54256c;
  gap: 14px;
  text-decoration: none;
}

/* Sidebar cards (shared base) */
.csd-card {
  background: #fff;
  border: 1px solid var(--neutral-100, #F3F4F6);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 1.25rem;
  border-radius: 16px;
}
@media (min-width: 768px) {
  .csd-card { padding: 1.5rem; }
}

/* Industry / Region / Solution rows */
.csd-info-card {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.csd-info-card__row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.375rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--neutral-100, #F3F4F6);
}
.csd-info-card__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.csd-info-card__label {
  font-size: 0.6875rem;
  font-weight: var(--fnt-semi, 600);
  color: var(--neutral-500, #6B7280);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.csd-info-card__value {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
  color: var(--neutral-700, #374151);
}
.csd-info-card__value i {
  font-size: 1rem;
  color: #673695;
}

/* Badges */
.cs-badge {
  display: inline-block;
  border-radius: 16px;
  padding: 0.2rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: var(--fnt-medium, 500);
  line-height: 1.5;
}
.cs-badge--purple {
  border: 1px solid var(--purple-200, #DCD7FE);
  background: var(--purple-050, #F6F5FF);
  color: var(--purple-900, #4A1D96);
}
.cs-badge--orange {
  /* hardcoded — global --secondary-200 is defined as purple #c8bdfc, which leaked
     through and tinted this orange badge's border. */
  border: 1px solid #FCD9BD;
  background: #FEECDC;
  color: #B43403;
}


.cs-topics { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Quick Facts */
.cs-quick-facts {
  background: var(--purple-050, #F6F5FF);
  padding: 1.5rem;
  border-radius: 16px;
  margin-bottom: 2.5rem;
  color: var(--neutral-600, #4B5563);
}
@media (min-width: 768px) {
  .cs-quick-facts { padding: 2rem; border-radius: 20px; }
}

.cs-quick-facts__heading {
  font-size: 0.8125rem;
  font-weight: var(--fnt-bold, 700);
  color: var(--neutral-900, #111928);
  text-transform: uppercase;
  margin: 0 0 0.75rem !important;
  letter-spacing: 0.05em;
}
.cs-quick-facts__heading:not(:first-child) { margin-top: 1.5rem !important; }

.cs-quick-facts p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem !important;
}
@media (min-width: 768px) {
  .cs-quick-facts p { font-size: 1.0625rem; }
}

.cs-quick-facts ul {
  display: grid;
  gap: 12px;
  margin: 0.5rem 0 1rem !important;
  padding-left: 0;
  list-style: none;
}
.cs-quick-facts ul li {
  font-size: 0.9375rem;
  line-height: 1.5;
  position: relative;
  padding-left: 30px;
}
@media (min-width: 768px) {
  .cs-quick-facts ul li { font-size: 1.0625rem; }
}
.cs-quick-facts ul li::before {
  content: "\ea41";
  font-family: 'boxicons';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--purple-600, #7E3AF2);
  font-size: 1.25rem;
}

/* Stats */
.cs-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .cs-stats { grid-template-columns: repeat(4, 1fr); }
}

.cs-stat-card {
  background: #fff;
  border: 1px solid var(--neutral-100, #F3F4F6);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cs-stat-card:hover {
  border-color: var(--purple-200, #DCD7FE);
  box-shadow: 0 4px 16px rgba(103,54,149,0.1);
}

.cs-stat-card__value {
  font-size: 1.75rem;
  font-weight: var(--fnt-bold, 700);
  color: var(--purple-900, #4A1D96);
  line-height: 1.2;
  margin: 0 0 0.25rem !important;
}
@media (min-width: 768px) {
  .cs-stat-card__value { font-size: 2.25rem; }
}

.cs-stat-card__label {
  font-size: 0.8125rem;
  color: var(--neutral-600, #4B5563);
  margin: 0 !important;
}

/* Article body (from markdown) */
.cs-article {
  color: var(--neutral-600, #4B5563);
}

.cs-article h2 {
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--neutral-900, #111928);
  margin: 2.5rem 0 0.75rem !important;
  font-weight: var(--fnt-bold, 700);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--purple-050, #F6F5FF);
}
@media (min-width: 768px) {
  .cs-article h2 { font-size: 1.75rem; }
}
.cs-article h2:first-child { margin-top: 0 !important; }

.cs-article h3 {
  font-size: 1.0625rem;
  line-height: 1.4;
  color: var(--neutral-900, #111928);
  margin: 2rem 0 0.75rem !important;
  font-weight: var(--fnt-semi, 600);
}
@media (min-width: 768px) {
  .cs-article h3 { font-size: 1.375rem; }
}

.cs-article h4,
.cs-article h5 {
  font-size: 1rem;
  line-height: 1.4;
  color: var(--neutral-900, #111928);
  margin: 1.5rem 0 0.5rem !important;
  font-weight: var(--fnt-semi, 600);
}
@media (min-width: 768px) {
  .cs-article h4,
  .cs-article h5 { font-size: 1.125rem; }
}

.cs-article p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.25rem !important;
}
@media (min-width: 768px) {
  .cs-article p { font-size: 1.0625rem; line-height: 1.65; }
}

.cs-article ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 25px;
  margin-bottom: 1.25rem !important;
}
.cs-article ul li {
  list-style-type: disc;
  font-size: 0.9375rem;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .cs-article ul li { font-size: 1.0625rem; }
}

.cs-article ol {
  padding-left: 25px;
  margin-bottom: 1.25rem !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cs-article ol li {
  list-style-type: decimal;
  font-size: 0.9375rem;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .cs-article ol li { font-size: 1.0625rem; }
}

.cs-article strong {
  color: var(--neutral-800, #1F2A37);
}

.cs-article img {
  max-width: 100%;
  height: auto;
  margin-block: 1.5rem;
  border-radius: 12px;
}

.cs-article blockquote {
  border-left: 4px solid var(--purple-200, #DCD7FE);
  background: var(--purple-050, #F6F5FF);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 !important;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--neutral-700, #374151);
}
.cs-article blockquote p { margin-bottom: 0 !important; }

/* ============================================================
   CTA card — sits at the bottom of every case study detail page.
   Design language: light gradient surface with soft blobs (matches
   FAQ / datasheets pages), orange + purple accents.
   ============================================================ */
.cs-cta {
  position: relative;
  margin-top: 4rem;
  padding: 2.5rem 1.75rem;
  background: linear-gradient(135deg, #FFF8F1 0%, #FFFBF8 50%, #F6F5FF 100%);
  border: 1px solid #f3eaff;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
}
@media (min-width: 992px) {
  .cs-cta {
    margin-top: 5rem;
    padding: 3.5rem 3.5rem;
  }
}

/* Decorative gradient blobs */
.cs-cta__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.cs-cta__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.cs-cta__blob--orange {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(242, 103, 57, 0.28) 0%, transparent 70%);
  top: -100px;
  right: -80px;
}
.cs-cta__blob--purple {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(103, 54, 149, 0.22) 0%, transparent 70%);
  bottom: -100px;
  left: -60px;
}

.cs-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 992px) {
  .cs-cta__inner {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 3rem;
  }
}

.cs-cta__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f26739;
  background: rgba(242, 103, 57, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.cs-cta__heading {
  font-family: var(--DMSans), 'DM Sans', sans-serif;
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.2;
  color: #111928;
  margin: 0 0 1rem !important;
  letter-spacing: -0.015em;
}
@media (min-width: 768px) { .cs-cta__heading { font-size: 2rem; } }
@media (min-width: 1280px) { .cs-cta__heading { font-size: 2.25rem; } }

.cs-cta__text {
  font-size: 1.0625rem;
  color: #4b5563;
  margin: 0 !important;
  line-height: 1.6;
  max-width: 560px;
}

/* Trust bar — under the copy, on the left side */
.cs-cta__trust {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
}
.cs-cta__trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cs-cta__trust-num {
  font-family: var(--DMSans), 'DM Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #111928;
  line-height: 1;
  letter-spacing: -0.01em;
}
@media (min-width: 768px) {
  .cs-cta__trust-num { font-size: 1.75rem; }
}
.cs-cta__trust-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6b7280;
  letter-spacing: 0.01em;
}
.cs-cta__trust-divider {
  width: 1px;
  height: 32px;
  background: #e5e7eb;
}
@media (max-width: 480px) {
  .cs-cta__trust-divider { display: none; }
}

/* Right column — buttons */
.cs-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.cs-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  font-family: var(--DMSans), 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.18s, background 0.18s, box-shadow 0.18s, border-color 0.18s, color 0.18s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.cs-cta__btn i { font-size: 1.125rem; }

.cs-cta__btn--primary {
  background: #1c64f2;
  color: #fff;
  box-shadow: 0 8px 20px rgba(28, 100, 242, 0.28);
}
.cs-cta__btn--primary:hover {
  background: #1a56db;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(28, 100, 242, 0.4);
  text-decoration: none;
}

.cs-cta__btn--ghost {
  background: #fff;
  border-color: #e5e7eb;
  color: #374151;
}
.cs-cta__btn--ghost:hover {
  background: #fff;
  border-color: #1c64f2;
  color: #1c64f2;
  transform: translateY(-2px);
  text-decoration: none;
}

@media (max-width: 991px) {
  .cs-cta__actions { align-items: stretch; }
}

/* Body section spacing */
.cs-body { padding-block: 2.5rem; }
@media (min-width: 768px) {
  .cs-body { padding-block: 4rem; }
}

/* Print */
@media print {
  .cs-hero { padding: 1rem 0; }
  .cs-sidebar, .cs-cta { display: none; }
  .cs-article img { max-height: 300px; }
}

/* Detail page additions for new JSON-based shape */
.cs-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  margin-bottom: 1rem;
}
.cs-hero__icon i { font-size: 2rem; }

.cs-pull-quote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background: #FFF8F1;
  border-left: 4px solid #f26739;
  border-radius: 8px;
  font-style: italic;
  color: #374151;
}
.cs-pull-quote p { margin: 0; line-height: 1.6; }

/* ============================================================
   Sidebar custom case-study download form (.csd-*)
   Replaces the entire body of .cs-info-card when cs.pdf is set.
   Submits to /api/case-study-download which forwards to HubSpot.
   ============================================================ */
.csd-form__header {
  text-align: left;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--neutral-100, #F3F4F6);
}
.csd-form__title {
  font-size: 1.125rem;
  font-weight: var(--fnt-bold, 700);
  color: var(--neutral-900, #111928);
  line-height: 1.3;
  margin: 0 0 0.375rem !important;
}
.csd-form__sub {
  font-size: 0.8125rem;
  color: var(--neutral-500, #6B7280);
  line-height: 1.5;
  margin: 0 !important;
}

.csd-form__fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.csd-field {
  display: flex;
  flex-direction: column;
}
.csd-field label {
  font-size: 0.75rem;
  font-weight: var(--fnt-medium, 500);
  color: var(--neutral-700, #374151);
  margin: 0 0 0.25rem !important;
}
.csd-req {
  color: #D92D20;
  margin-left: 0.125rem;
}
.csd-field input {
  width: 100%;
  padding: 0.5625rem 0.75rem;
  font-size: 0.875rem;
  color: var(--neutral-900, #111928);
  background: #fff;
  border: 1px solid var(--neutral-200, #E5E7EB);
  border-radius: 8px;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: inherit;
}
.csd-field input:focus {
  outline: none;
  border-color: #673695;
  box-shadow: 0 0 0 3px rgba(103, 54, 149, 0.12);
}
.csd-field input.csd-input--error {
  border-color: #D92D20;
}
.csd-field input.csd-input--error:focus {
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.12);
}
.csd-field-error {
  display: block;
  font-size: 0.6875rem;
  color: #D92D20;
  line-height: 1.4;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.15s, max-height 0.15s, margin-top 0.15s;
}
.csd-field-error.csd-field-error--visible {
  max-height: 3rem;
  opacity: 1;
  margin-top: 0.25rem;
}

/* Primary form-submit CTA. Hover inverts to white bg with blue border + text. */
.csd-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 1rem;
  margin-top: 0.25rem;
  background: #1c64f2;
  color: #fff;
  border: 1px solid #1c64f2;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: var(--fnt-semi, 600);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s, opacity 0.18s;
}
.csd-submit:hover:not(:disabled),
.csd-submit:focus-visible:not(:disabled) {
  background: #fff;
  color: #1c64f2;
  border-color: #1c64f2;
  outline: none;
}
.csd-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Floating-label select (Interested In) */
.csd-form__group {
  position: relative;
  display: flex;
  flex-direction: column;
}
.csd-form__group select {
  width: 100%;
  padding: 1.125rem 2rem 0.4375rem 0.75rem;
  font-size: 0.875rem;
  color: var(--neutral-900, #111928);
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B7280' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  border: 1px solid var(--neutral-200, #E5E7EB);
  border-radius: 8px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: inherit;
  line-height: 1.4;
}
.csd-form__group select:focus {
  outline: none;
  border-color: #673695;
  box-shadow: 0 0 0 3px rgba(103, 54, 149, 0.12);
}
.csd-form__group select.csd-input--error {
  border-color: #D92D20;
}
.csd-form__group select:required:invalid {
  color: transparent;
}
.csd-form__group select option {
  color: var(--neutral-900, #111928);
}
.csd-form__group label {
  position: absolute;
  top: 50%;
  left: 0.75rem;
  transform: translateY(-50%);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--neutral-500, #6B7280);
  background: #fff;
  padding: 0 0.25rem;
  pointer-events: none;
  margin: 0 !important;
  transition: top 0.15s ease, font-size 0.15s ease, color 0.15s ease;
}
.csd-form__group.active label,
.csd-form__group select:focus + label {
  top: 0;
  font-size: 0.6875rem;
  font-weight: var(--fnt-semi, 600);
  color: var(--neutral-700, #374151);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.csd-form__group select:focus + label { color: #673695; }
.csd-form__req {
  color: #D92D20;
  margin-left: 0.125rem;
}

/* Consent block */
.csd-form__consent {
  margin-top: 0.25rem;
}
.csd-form__consent p {
  font-size: 0.6875rem !important;
  color: var(--neutral-500, #6B7280);
  line-height: 1.55;
  margin: 0 !important;
}
.csd-form__consent a {
  color: #673695;
  font-weight: var(--fnt-medium, 500);
  text-decoration: none;
}
.csd-form__consent a:hover { text-decoration: underline; }

/* intl-tel-input adjustments — make the country picker blend with our fields */
.csd-field--phone .iti { width: 100%; display: block; }
.csd-field--phone .iti__tel-input {
  width: 100%;
  padding: 0.5625rem 0.75rem;
  font-size: 0.875rem;
  color: var(--neutral-900, #111928);
  background: #fff;
  border: 1px solid var(--neutral-200, #E5E7EB);
  border-radius: 8px;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: inherit;
}
.csd-field--phone .iti__tel-input:focus {
  outline: none;
  border-color: #673695;
  box-shadow: 0 0 0 3px rgba(103, 54, 149, 0.12);
}
.csd-field--phone .iti__tel-input.csd-input--error {
  border-color: #D92D20;
}
.csd-field--phone .iti--separate-dial-code .iti__selected-flag {
  background-color: var(--neutral-050, #F9FAFB);
  border-right: 1px solid var(--neutral-200, #E5E7EB);
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  padding: 0 0.5rem;
}
.csd-field--phone .iti__selected-dial-code {
  font-size: 0.8125rem;
  color: var(--neutral-700, #374151);
}
.csd-field--phone .iti__country-list {
  font-size: 0.8125rem;
  border-radius: 8px;
  border: 1px solid var(--neutral-200, #E5E7EB);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  max-height: 220px;
}

/* Thank-you state */
/* ============================================================
   Full-page thank-you state — shown when the form submission
   succeeds. Replaces the case-study hero + body sections.
   ============================================================ */
.checkout-section {
  padding: 4rem 1rem;
  background: #fff;
  display: flex;
  align-items: center;
  min-height: 60vh;
}
@media (min-width: 768px) {
  .checkout-section { padding: 6rem 1rem; }
}
.checkout-section .container {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

.thank-wraper {
  text-align: center;
}
.thank-wraper img {
  display: block;
  max-width: 220px;
  height: auto;
  margin: 0 auto 1.75rem;
}
.thank-wraper .main-head {
  font-size: 1.75rem;
  font-weight: var(--fnt-bold, 700);
  color: var(--neutral-900, #111928);
  line-height: 1.25;
  margin: 0 auto 0.875rem !important;
  max-width: 600px;
}
@media (min-width: 768px) {
  .thank-wraper .main-head { font-size: 2.25rem; }
}
.thank-wraper .thankyou-desc {
  font-size: 1rem;
  color: var(--neutral-600, #4B5563);
  line-height: 1.6;
  margin: 0 auto 2rem !important;
  max-width: 560px;
}
@media (min-width: 768px) {
  .thank-wraper .thankyou-desc { font-size: 1.0625rem; }
}
.thank-wraper .button-case {
  display: flex;
  justify-content: center;
}
.thank-wraper .submit-pdf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  background: #f26739;
  color: #fff;
  border: 1px solid #f26739;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: var(--fnt-semi, 600);
  text-decoration: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.thank-wraper .submit-pdf:hover,
.thank-wraper .submit-pdf:focus-visible {
  background: #fff;
  color: #f26739;
  border-color: #f26739;
  text-decoration: none;
  outline: none;
}

.cs-results-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}
.cs-results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.cs-results-table th,
.cs-results-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
}
.cs-results-table thead th {
  background: #f9fafb;
  font-weight: 600;
  color: #111928;
  border-bottom: 2px solid #e5e7eb;
}
.cs-results-table tbody tr:last-child td { border-bottom: 0; }
.cs-results-table tbody tr:hover { background: #FFFBF8; }

.cs-about-emudhra {
  margin-top: 3rem;
  padding: 1.5rem;
  background: #f9fafb;
  border-radius: 12px;
}
.cs-about-emudhra h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: #111928;
}
.cs-about-emudhra p {
  margin: 0;
  font-size: 0.9375rem;
  color: #4b5563;
}

.cs-article h2 {
  font-family: var(--DMSans), 'DM Sans', sans-serif;
  font-size: 1.625rem;
  font-weight: 600;
  color: #111928;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.cs-article h2:first-of-type { margin-top: 0; }

/* ============================================================
   Partner CTA link — appears just before the Submit button on every
   form that uses the csd-* pattern (case-study, blog, FAQ-landing,
   contact-us, media-contacts, webinars). Region-aware href is wired
   per-template via getRegionUrl('/partners').
   ============================================================ */
.csd-partner-link {
  margin: 0 !important;
  font-size: 0.8125rem;
  line-height: 1.5;
  text-align: left;
}
.csd-partner-link a {
  color: #673695;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.18s ease;
}
.csd-partner-link a:hover,
.csd-partner-link a:focus-visible {
  color: #54256c;
  text-decoration: underline;
  outline: none;
}
