:root {
  --study-navy: #0f2942;
  --study-blue: #00a9de;
  --study-yellow: #feea2a;
  --study-surface: #f3f7fa;
  --study-border: #d6e0e6;
  --study-muted: #657888;
}

.study-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  width: 100%;
}

.study-card {
  min-width: 0;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  border: 1px solid var(--study-border);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 41, 66, 0.08);
}

.study-card:hover,
.study-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 41, 66, 0.14);
}

.study-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--study-navy);
  text-decoration: none;
}

.study-card__media {
  width: 100%;
  overflow: hidden;
  background: #eaf5fa;
  aspect-ratio: 16 / 9;
}

.study-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.study-card:hover .study-card__image,
.study-card:focus-within .study-card__image {
  transform: scale(1.025);
}

.study-card__fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 24px;
  border-bottom: 8px solid var(--study-yellow);
  background: var(--study-surface);
  color: var(--study-navy);
  font-size: 13px;
  font-weight: 700;
}

.study-card__fallback img {
  width: min(74%, 180px);
  height: auto;
  margin-bottom: 12px;
}

.study-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.study-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
  margin-bottom: 10px;
  color: var(--study-muted);
  font-size: 12px;
  line-height: 1.4;
  gap: 12px;
}

.study-card__category {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 12px;
  background: #e5f7fc;
  color: #006d91;
  font-weight: 700;
}

.study-card__title {
  display: -webkit-box;
  min-height: 4.5em;
  margin: 0 0 10px;
  overflow: hidden;
  color: var(--study-navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.study-card__excerpt {
  display: -webkit-box;
  min-height: 4.8em;
  margin: 0 0 14px;
  overflow: hidden;
  color: #344c60;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.study-card__more {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  margin-top: auto;
  color: #007ca5;
  font-size: 13px;
  font-weight: 700;
}

.study-card__more::after,
.sleg-column-section__button::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  transform: rotate(45deg);
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.sleg-column-section {
  width: 100%;
  padding: 56px 20px;
  background: var(--study-surface);
  color: var(--study-navy);
}

.sleg-column-section--results {
  background: #fff;
}

.sleg-column-section__inner,
.study-hub__inner,
.study-related__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.sleg-column-section__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
  text-align: left;
}

.sleg-column-section__heading img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.sleg-column-section__heading h2 {
  margin: 0;
  color: var(--study-navy);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
}

.sleg-column-section__label,
.study-section-heading__label,
.study-hub__eyebrow {
  margin: 0 0 2px;
  color: #007ca5;
  font-family: Roboto, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.sleg-column-section__lead {
  max-width: 720px;
  margin: 0 auto 30px;
  color: #344c60;
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}

.sleg-column-section__action {
  margin-top: 30px;
  text-align: center;
}

.sleg-column-section__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 28px;
  transition: background-color 0.2s ease, color 0.2s ease;
  border: 2px solid var(--study-navy);
  border-radius: 4px;
  background: var(--study-navy);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.sleg-column-section__button:hover,
.sleg-column-section__button:focus-visible {
  background: #fff;
  color: var(--study-navy);
}

.study-hub {
  background: #fff;
  color: var(--study-navy);
}

.study-hub__header {
  padding: 58px 20px 42px;
  border-bottom: 1px solid var(--study-border);
  background: var(--study-surface);
  text-align: center;
}

.study-hub__title {
  margin: 0 0 14px;
  color: var(--study-navy);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.4;
}

.study-hub__description {
  max-width: 720px;
  margin: 0 auto;
  color: #344c60;
  font-size: 15px;
  line-height: 1.8;
}

.study-hub__description p {
  margin: 0;
}

.study-hub__categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.study-hub__category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--study-border);
  border-radius: 19px;
  background: #fff;
  color: var(--study-navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.study-hub__category:hover,
.study-hub__category:focus-visible,
.study-hub__category.is-current {
  border-color: var(--study-navy);
  background: var(--study-navy);
  color: #fff;
}

.study-hub__section {
  padding: 54px 20px 68px;
}

.study-hub__section--featured {
  background: #fffbea;
}

.study-section-heading {
  margin-bottom: 26px;
  text-align: center;
}

.study-section-heading h2 {
  margin: 0;
  color: var(--study-navy);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.4;
}

.study-hub__pagination {
  margin-top: 38px;
}

.study-hub__pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.study-hub__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 6px 10px;
  border: 1px solid var(--study-border);
  border-radius: 4px;
  background: #fff;
  color: var(--study-navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.study-hub__pagination .page-numbers.current,
.study-hub__pagination a.page-numbers:hover {
  border-color: var(--study-navy);
  background: var(--study-navy);
  color: #fff;
}

.study-hub__empty {
  padding: 34px 20px;
  border: 1px solid var(--study-border);
  background: var(--study-surface);
  color: #344c60;
  font-size: 15px;
  text-align: center;
}

.study-single__meta {
  align-items: center;
  gap: 12px;
}

.study-single__category {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 14px;
  background: #e5f7fc;
  color: #006d91;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.study-single--success-story .b-single__ttl,
.study-single--success-results .b-single__ttl {
  overflow-wrap: anywhere;
  text-wrap: balance;
  white-space: normal;
}

.b-single__body .study-profile {
  margin: 0 0 30px;
  padding: 18px 22px 18px 42px;
  border-left: 5px solid var(--study-blue);
  background: var(--study-surface);
}

.b-single__body .study-profile li {
  margin: 0 0 8px;
  color: #243f55;
  line-height: 1.7;
}

.b-single__body .study-profile li:last-child {
  margin-bottom: 0;
}

.b-single__body .study-before-after {
  width: 100%;
  margin: 0 0 30px;
  border-collapse: collapse;
  color: #243f55;
  font-size: 14px;
  line-height: 1.6;
}

.b-single__body .study-before-after th,
.b-single__body .study-before-after td {
  padding: 12px 14px;
  border: 1px solid var(--study-border);
  text-align: left;
  vertical-align: top;
}

.b-single__body .study-before-after thead th {
  background: var(--study-navy);
  color: #fff;
  font-weight: 700;
}

.b-single__body .study-before-after tbody th {
  width: 28%;
  background: #eaf5fa;
  color: var(--study-navy);
  font-weight: 700;
}

.study-single--success-story .b-single__body,
.study-single--success-results .b-single__body {
  color: #20394d;
  line-height: 2;
}

.study-single--success-story .b-single__body p,
.study-single--success-results .b-single__body p {
  margin-bottom: 1.65em;
}

.study-single--success-story .b-single__body iframe[src*="youtube.com/embed/"],
.study-single--success-story .b-single__body iframe[src*="youtube-nocookie.com/embed/"] {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  border: 0;
  aspect-ratio: 16 / 9;
}

.study-single--success-story .b-single__body h2,
.study-single--success-results .b-single__body h2 {
  margin-top: 58px;
  margin-bottom: 26px;
  padding: 4px 0 15px 18px;
  border-bottom: 2px solid var(--study-navy);
  border-left: 7px solid var(--study-yellow);
  background: transparent;
  color: var(--study-navy);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.55;
  scroll-margin-top: 110px;
}

.study-single--success-results .b-single__body h2:first-child {
  margin-top: 0;
}

.study-single--success-story .b-single__body > h2:first-child {
  margin: 0 0 24px;
  padding: 22px 24px;
  border-bottom: 0;
  border-left: 8px solid var(--study-navy);
  background: #f2f3f4;
  color: var(--study-navy);
  font-size: 24px;
  line-height: 1.55;
}

.study-single--success-story .b-single__body .study-congratulations {
  margin-top: -5px;
  margin-bottom: 22px;
  color: var(--study-navy);
  font-size: 18px;
  font-weight: 700;
}

.b-single__body .study-key-message {
  margin: 30px 0 34px;
  padding: 2px 0 2px 20px;
  border-left: 7px solid var(--study-yellow);
  color: var(--study-navy);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.8;
}

.study-single--success-story .b-single__body .study-source-note,
.study-single--success-results .b-single__body .study-source-note {
  margin: 16px 0 24px;
  color: #5b6976;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
}

.b-single__body .study-toc {
  margin: 38px 6px 48px 0;
  padding: 0 28px 26px;
  border: 2px solid var(--study-navy);
  background: #fff;
  box-shadow: 6px 6px 0 var(--study-yellow);
}

.b-single__body .study-toc .study-toc__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin: 0 -28px 22px;
  padding: 13px 24px 14px;
  border-bottom: 5px solid var(--study-yellow);
  border-left: 0;
  background: var(--study-navy);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
}

.b-single__body .study-toc__eyebrow {
  color: var(--study-yellow);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.b-single__body .study-toc ol {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: study-toc;
}

.b-single__body .study-toc li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  min-width: 0;
  gap: 8px;
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid var(--study-border);
  color: var(--study-navy);
  font-size: 14px;
  line-height: 1.7;
  counter-increment: study-toc;
}

.b-single__body .study-toc li::before {
  content: counter(study-toc, decimal-leading-zero);
  color: #0088b5;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.85;
}

.b-single__body .study-toc a {
  display: inline-block;
  color: var(--study-navy);
  font-weight: 700;
  text-decoration: none;
}

.b-single__body .study-toc a:hover,
.b-single__body .study-toc a:focus-visible {
  color: #007ca5;
  text-decoration: underline;
}

.study-contact-cta {
  width: min(100%, 760px);
  margin: 40px auto 46px;
  background: #fff;
  color: var(--study-navy);
  text-align: center;
}

.study-contact-cta__body {
  padding: 8px 24px 6px;
}

.study-contact-cta__eyebrow,
.b-single__body .study-contact-cta__eyebrow {
  margin: 0 0 8px;
  color: #006f96;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.study-contact-cta__title,
.b-single__body .study-contact-cta__title {
  margin: 0 0 10px;
  color: var(--study-navy);
  font-size: 23px;
  font-weight: 900;
  line-height: 1.55;
}

.study-contact-cta__text,
.b-single__body .study-contact-cta__text {
  max-width: 610px;
  margin: 0 auto 22px;
  color: #344c60;
  font-size: 14px;
  line-height: 1.8;
}

.study-contact-cta__image-link,
.b-single__body .study-contact-cta__image-link {
  display: block;
  width: min(100%, 686px);
  min-height: 0;
  margin: 0 auto;
  padding: 0;
  transition: filter 0.16s ease, transform 0.16s ease;
  border: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: 0 6px 14px rgba(0, 169, 222, 0.2);
  text-decoration: none;
}

.study-contact-cta__image-link:hover,
.study-contact-cta__image-link:focus-visible,
.b-single__body .study-contact-cta__image-link:hover,
.b-single__body .study-contact-cta__image-link:focus-visible {
  transform: translateY(2px);
  filter: brightness(0.98);
  opacity: 1;
  background: transparent;
  box-shadow: 0 3px 8px rgba(0, 169, 222, 0.18);
  text-decoration: none;
}

.study-contact-cta__image-link picture,
.study-contact-cta__image-link img,
.b-single__body .study-contact-cta__image-link picture,
.b-single__body .study-contact-cta__image-link img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: inherit;
  box-shadow: none;
}

.study-contact-cta__note,
.b-single__body .study-contact-cta__note {
  margin: 14px 0 0;
  color: #5b7180;
  font-size: 12px;
  line-height: 1.6;
}

.study-single--success-results .b-single__body .study-result-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 18px 0 32px;
  padding: 0;
  list-style: none;
}

.study-single--success-results .b-single__body .study-result-list li {
  min-width: 0;
  margin: 0;
  padding: 11px 0;
  overflow-wrap: anywhere;
  border-bottom: 1px solid #f1c4d0;
  color: #b32650;
  font-weight: 700;
  line-height: 1.7;
}

.study-story-link {
  margin: 22px 0 42px;
}

.study-story-link__card,
.b-single__body .study-story-link__card {
  display: grid;
  grid-template-columns: minmax(180px, 35%) minmax(0, 1fr);
  min-height: 126px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  border: 1px solid var(--study-border);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 41, 66, 0.08);
  color: var(--study-navy);
  text-decoration: none;
}

.study-story-link__card:hover,
.study-story-link__card:focus-visible,
.b-single__body .study-story-link__card:hover,
.b-single__body .study-story-link__card:focus-visible {
  transform: translateY(-2px);
  border-color: #8ccfe5;
  opacity: 1;
  box-shadow: 0 9px 22px rgba(15, 41, 66, 0.14);
  color: var(--study-navy);
  text-decoration: none;
}

.study-story-link__media {
  display: block;
  min-width: 0;
  overflow: hidden;
  background: #eaf5fa;
}

.study-story-link__media img,
.b-single__body .study-story-link__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 126px;
  max-height: none;
  margin: 0;
  transition: transform 0.25s ease;
  object-fit: cover;
}

.study-story-link__card:hover .study-story-link__media img,
.study-story-link__card:focus-visible .study-story-link__media img {
  transform: scale(1.025);
}

.study-story-link__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 18px 20px;
}

.study-story-link__body strong {
  color: var(--study-navy);
  font-size: 16px;
  line-height: 1.65;
}

.study-story-link__action {
  align-self: flex-end;
  margin-top: 10px;
  color: #007fa9;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.result-success-stories {
  width: min(1120px, 100%);
  margin: 54px auto 48px;
}

.result-success-stories__title {
  margin: 0 0 26px;
  color: var(--study-navy);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.result-success-stories .study-card__category {
  display: none;
}

.result-success-stories .study-card__meta {
  justify-content: flex-end;
}

.result-success-stories__slider {
  width: 100%;
}

.result-success-stories__slide {
  min-width: 0;
  height: auto;
}

.result-success-stories__slide .study-card {
  height: 100%;
}

.study-related {
  padding: 54px 20px 68px;
  background: var(--study-surface);
}

.b-author__img img {
  width: 82%;
  height: auto;
  object-fit: contain;
}

@media only screen and (min-width: 600px) {
  .study-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (min-width: 900px) {
  .study-card-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media only screen and (max-width: 767px) {
  .sleg-column-section,
  .study-hub__section,
  .study-related {
    padding: 42px 16px;
  }

  .sleg-column-section__heading {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .sleg-column-section__heading h2,
  .study-section-heading h2 {
    font-size: 22px;
  }

  .sleg-column-section__lead {
    text-align: left;
  }

  .study-hub__header {
    padding: 44px 16px 34px;
  }

  .study-hub__title {
    font-size: 28px;
  }

  .study-hub__categories {
    justify-content: flex-start;
  }

  .study-single--success-story .b-single__body h2,
  .study-single--success-results .b-single__body h2 {
    margin-top: 46px;
    padding: 3px 0 12px 13px;
    border-left-width: 6px;
    font-size: 20px;
  }

  .study-single--success-story .b-single__body > h2:first-child {
    margin-bottom: 20px;
    padding: 18px 16px;
    border-left-width: 7px;
    font-size: 20px;
  }

  .study-single--success-story .b-single__body .study-congratulations {
    font-size: 17px;
  }

  .b-single__body .study-key-message {
    margin: 26px 0 30px;
    padding-left: 14px;
    border-left-width: 6px;
    font-size: 20px;
    line-height: 1.75;
  }

  .b-single__body .study-toc {
    margin: 32px 4px 42px 0;
    padding: 0 18px 20px;
    box-shadow: 4px 4px 0 var(--study-yellow);
  }

  .b-single__body .study-toc .study-toc__title {
    margin: 0 -18px 16px;
    padding: 12px 16px;
    border-bottom-width: 4px;
    font-size: 18px;
  }

  .b-single__body .study-toc ol {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .b-single__body .study-toc li {
    padding: 9px 0;
  }

  .study-contact-cta {
    margin: 32px 0 38px;
  }

  .study-contact-cta__body {
    padding: 6px 0 4px;
  }

  .study-contact-cta__title,
  .b-single__body .study-contact-cta__title {
    font-size: 19px;
  }

  .study-contact-cta__image-link,
  .b-single__body .study-contact-cta__image-link {
    min-height: 0;
    padding: 0;
    border-radius: 12px;
  }

  .study-single--success-results .b-single__body .study-result-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-bottom: 28px;
  }

  .study-story-link {
    margin: 18px 0 36px;
  }

  .study-story-link__card,
  .b-single__body .study-story-link__card {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .study-story-link__media {
    aspect-ratio: 16 / 9;
  }

  .study-story-link__media img,
  .b-single__body .study-story-link__media img {
    min-height: 0;
  }

  .study-story-link__body {
    padding: 13px 14px;
  }

  .study-story-link__body strong {
    font-size: 14px;
    line-height: 1.55;
  }

  .study-story-link__action {
    margin-top: 7px;
    font-size: 12px;
  }

  .result-success-stories {
    margin: 42px auto 38px;
  }

  .result-success-stories__title {
    margin-bottom: 20px;
    font-size: 22px;
  }

  .result-success-stories__slider {
    overflow: hidden;
  }

  .result-success-stories .study-card-grid {
    display: flex;
    gap: 14px;
    padding: 0 0 12px;
    overflow-x: auto;
    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .result-success-stories .study-card-grid::-webkit-scrollbar {
    display: none;
  }

  .result-success-stories__slide {
    flex: 0 0 min(82vw, 310px);
    width: min(82vw, 310px);
    scroll-snap-align: start;
  }

  .result-success-stories__slider.swiper-initialized .study-card-grid {
    gap: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .result-success-stories__slider.swiper-initialized .result-success-stories__slide {
    flex-basis: auto;
    scroll-snap-align: none;
  }

  .b-single__body .study-profile {
    padding: 16px 16px 16px 34px;
  }

  .b-single__body .study-before-after {
    display: table;
    table-layout: fixed;
    font-size: 13px;
    white-space: normal;
  }

  .b-single__body .study-before-after th,
  .b-single__body .study-before-after td {
    min-width: 0;
    padding: 10px 8px;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .b-single__body .study-before-after tbody th {
    width: 26%;
  }

}

@media (prefers-reduced-motion: reduce) {
  .study-card,
  .study-card__image,
  .sleg-column-section__button,
  .study-contact-cta__image-link,
  .study-story-link__card,
  .study-story-link__media img {
    transition: none;
  }
}
