/* =========================================================
   TJ Case Study Component — id2812864
   ========================================================= */

.wp-block-custom-tj-home-05-case-study-teaser.is-layout-flow {
    gap: 0;
}

/* Reversed layout */
.wp-block-custom-tj-home-05-case-study-teaser.is-reversed .tj-case-study__card {
    flex-direction: row-reverse;
}

.tj-case-study--id2812864 {
  position: relative;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: #ffffff;
  overflow: hidden;
}

.tj-case-study--id2812864 .tj-case-study__container {
  position: relative;
  width: 80rem;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  padding-top: 5.31rem;
  padding-right: 2rem;
  padding-bottom: 5.31rem;
  padding-left: 2rem;
  margin-top: 0;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
}

/* Card: bordered gray box */
.tj-case-study--id2812864 .tj-case-study__card {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.06rem;
  padding-bottom: 0.06rem;
  padding-left: 0.06rem;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(209, 209, 209, 0.3);
  background: #f5f5f5;
  overflow: hidden;
}

/* Left content panel */
.tj-case-study--id2812864 .tj-case-study__content {
  position: relative;
  width: 50.04%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0.62rem 0;
  padding-top: 1.9rem;
  padding-right: 3rem;
  padding-bottom: 1.9rem;
  padding-left: 3rem;
}

/* Inner frame with vertical gaps */
.tj-case-study--id2812864 .tj-case-study__frame {
  position: relative;
  width: 100%;
  max-width: 29.93rem;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 2rem 0;
  margin-right: auto;
  margin-left: auto;
}

/* Tag wrapper */
.tj-case-study--id2812864 .tj-case-study__tag-wrap {
  position: relative;
  width: 100%;
  max-width: 15.62rem;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
}

/* Red tag */
.tj-case-study--id2812864 .tj-case-study__tag {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 0.25rem;
  padding-right: 0.75rem;
  padding-bottom: 0.25rem;
  padding-left: 0.75rem;
  background: rgba(225, 6, 0, 1);
}

.tj-case-study--id2812864 .tj-case-study__tag-text {
  position: relative;
  width: 100%;
  height: 0.93rem;
  font-size: 0.62rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: left;
  color: #ffffff;
  display: block;
}

/* Heading wrapper */
.tj-case-study--id2812864 .tj-case-study__heading-wrap {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
}

/* Main heading */
.tj-case-study--id2812864 .tj-case-study__heading {
  position: relative;
  width: 100%;
  font-size: 2.25rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-align: left;
  color: rgba(10, 10, 10, 1);
  display: block;
  margin: 0;
}

/* Stats wrapper with bottom padding */
.tj-case-study--id2812864 .tj-case-study__stats-wrap {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  padding-bottom: 2.56rem;
}

/* Stats row */
.tj-case-study--id2812864 .tj-case-study__stats {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 2rem 6%;
}

/* Individual stat column */
.tj-case-study--id2812864 .tj-case-study__stat {
  position: relative;
  width: 28.87%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
}

/* Stat number */
.tj-case-study--id2812864 .tj-case-study__stat-number {
  position: relative;
  width: 100%;
  font-size: 2.25rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.11;
  letter-spacing: -0.05em;
  text-align: left;
  color: rgba(225, 6, 0, 1);
  display: block;
  white-space: nowrap;
}

/* Stat label */
.tj-case-study--id2812864 .tj-case-study__stat-label {
  position: relative;
  width: 100%;
  font-size: 0.62rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  color: rgba(71, 71, 71, 1);
  display: block;
}

/* Quotes section */
.tj-case-study--id2812864 .tj-case-study__quotes {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 2rem 0;
}

/* Quote with left red border */
.tj-case-study--id2812864 .tj-case-study__quote-border {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  padding-left: 2rem;
  border-width: 0 0 0 4px;
  border-style: solid;
  border-color: rgba(225, 6, 0, 1);
}

/* Quote inner container */
.tj-case-study--id2812864 .tj-case-study__quote-inner {
  position: relative;
  width: 100%;
  max-width: 27.68rem;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
}

/* Quote text */
.tj-case-study--id2812864 .tj-case-study__quote-text {
  position: relative;
  width: 100%;
  font-size: 1.12rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  line-height: 1.62;
  letter-spacing: 0em;
  text-align: left;
  color: rgba(71, 71, 71, 1);
  display: block;
}

/* CTA wrapper */
.tj-case-study--id2812864 .tj-case-study__cta-wrap {
  position: relative;
  width: 100%;
  max-width: 22.27rem;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
}

/* CTA link */
.tj-case-study--id2812864 .tj-case-study__cta {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

/* CTA text */
.tj-case-study--id2812864 .tj-case-study__cta-text {
  font-size: 0.75rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.33;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: left;
  color: rgba(225, 6, 0, 1);
  display: block;
}

/* CTA icon */
.tj-case-study--id2812864 .tj-case-study__cta-icon {
  position: relative;
  width: 0.58rem;
  height: 0.58rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tj-case-study--id2812864 .tj-case-study__cta-icon img {
  position: relative;
  width: 0.58rem;
  height: 0.58rem;
  display: block;
}

/* CTA hover */
.tj-case-study--id2812864 .tj-case-study__cta:hover .tj-case-study__cta-text {
  text-decoration: underline;
}

/* Right image panel */
.tj-case-study--id2812864 .tj-case-study__image-wrap {
  position: relative;
  width: 50.04%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
}

.tj-case-study--id2812864 .tj-case-study__image-inner {
  position: relative;
  width: 100%;
  display: block;
}

.tj-case-study--id2812864 .tj-case-study__image {
  position: relative;
  width: 100%;
  display: block;
  overflow: hidden;
}

/* =========================================================
   Responsive — 1099px
   ========================================================= */
@media (max-width: 1099px) {
  .tj-case-study--id2812864 .tj-case-study__card {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__content {
    gap: 0.62rem 0;
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__frame {
    gap: 2rem 0;
  }

  .tj-case-study--id2812864 .tj-case-study__tag {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__tag-text {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__heading-wrap {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__heading {
    width: 100%;
    font-size: 2rem;
  }

  .tj-case-study--id2812864 .tj-case-study__stats-wrap {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__stats {
    gap: 2rem 5%;
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__stat {
    width: 28.87%;
  }

  .tj-case-study--id2812864 .tj-case-study__stat-number {
    width: 100%;
    font-size: 2rem;
  }

  .tj-case-study--id2812864 .tj-case-study__stat-label {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__quotes {
    gap: 2rem 0;
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__quote-border {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__quote-inner {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__quote-text {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__cta-wrap {
    gap: 0.75rem 3%;
  }

  .tj-case-study--id2812864 .tj-case-study__cta-icon {
    width: calc(2.98% - 0.08rem);
    max-width: 0.58rem;
  }

  .tj-case-study--id2812864 .tj-case-study__cta-icon img {
    width: 100%;
    max-width: 0.58rem;
  }

  .tj-case-study--id2812864 .tj-case-study__image-wrap {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__image-inner {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__image {
    width: 100%;
  }
}

/* =========================================================
   Responsive — 1023px
   ========================================================= */
@media (max-width: 1023px) {
  .tj-case-study--id2812864 .tj-case-study__card {
    width: 100%;
    flex-wrap: wrap;
    max-width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__content {
    gap: 0.62rem 0;
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__frame {
    gap: 2rem 0;
  }

  .tj-case-study--id2812864 .tj-case-study__tag {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__tag-text {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__heading-wrap {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__heading {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__stats-wrap {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__stats {
    gap: 2rem 5%;
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__stat {
    width: 28.87%;
  }

  .tj-case-study--id2812864 .tj-case-study__stat-number {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__stat-label {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__quotes {
    gap: 2rem 0;
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__quote-border {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__quote-inner {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__quote-text {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__cta-wrap {
    gap: 0.75rem 3%;
  }

  .tj-case-study--id2812864 .tj-case-study__cta-icon {
    width: calc(2.98% - 0.08rem);
    max-width: 0.58rem;
  }

  .tj-case-study--id2812864 .tj-case-study__cta-icon img {
    width: 100%;
    max-width: 0.58rem;
  }

  .tj-case-study--id2812864 .tj-case-study__image-wrap {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__image-inner {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__image {
    width: 100%;
  }
}

/* =========================================================
   Responsive — 767px
   ========================================================= */
@media (max-width: 767px) {
  .tj-case-study--id2812864 .tj-case-study__card {
    width: 100%;
    flex-wrap: wrap;
    max-width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__content {
    padding-right: 2rem;
    padding-left: 2rem;
    gap: 0.62rem 0;
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__frame {
    gap: 2rem 0;
  }

  .tj-case-study--id2812864 .tj-case-study__tag {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__tag-text {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__heading-wrap {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__heading {
    width: 100%;
    font-size: 1.62rem;
  }

  .tj-case-study--id2812864 .tj-case-study__stats-wrap {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__stats {
    gap: 2rem 5%;
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__stat {
    width: 28.87%;
  }

  .tj-case-study--id2812864 .tj-case-study__stat-number {
    width: 100%;
    font-size: 1.62rem;
  }

  .tj-case-study--id2812864 .tj-case-study__stat-label {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__quotes {
    gap: 2rem 0;
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__quote-border {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__quote-inner {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__quote-text {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__cta-wrap {
    gap: 0.75rem 3%;
  }

  .tj-case-study--id2812864 .tj-case-study__cta-icon {
    width: calc(2.98% - 0.08rem);
    max-width: 0.58rem;
  }

  .tj-case-study--id2812864 .tj-case-study__cta-icon img {
    width: 100%;
    max-width: 0.58rem;
  }

  .tj-case-study--id2812864 .tj-case-study__image-wrap {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__image-inner {
    width: 100%;
    max-width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__image {
    width: 100%;
    max-width: 100%;
  }
}

/* =========================================================
   Responsive — 649px
   ========================================================= */
@media (max-width: 649px) {
  .tj-case-study--id2812864 .tj-case-study__container {
    padding-top: 3.68rem;
    padding-right: 1.31rem;
    padding-bottom: 3.68rem;
    padding-left: 1.31rem;
  }

  .tj-case-study--id2812864 .tj-case-study__card {
    width: 100%;
    flex-wrap: wrap;
    max-width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__content {
    padding-top: 1.31rem;
    padding-right: 1.68rem;
    padding-bottom: 1.31rem;
    padding-left: 1.68rem;
    gap: 0.62rem 0;
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__frame {
    gap: 1.46rem 0;
    width: 100%;
    max-width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__tag-wrap {
    width: 100%;
    max-width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__tag {
    width: 100%;
    max-width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__tag-text {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__heading-wrap {
    width: 100%;
    max-width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__heading {
    width: 100%;
    max-width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__stats-wrap {
    padding-bottom: 1.75rem;
    width: 100%;
    max-width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__stats {
    gap: 1.46rem 5%;
    width: 100%;
    max-width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__stat {
    width: 29.55%;
  }

  .tj-case-study--id2812864 .tj-case-study__stat-number {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__stat-label {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__quotes {
    gap: 1.46rem 0;
    width: 100%;
    max-width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__quote-border {
    padding-left: 1.31rem;
    width: 100%;
    max-width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__quote-inner {
    width: 100%;
    max-width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__quote-text {
    width: 100%;
    max-width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__cta-wrap {
    gap: 0.75rem 3%;
    width: 100%;
    max-width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__cta-icon {
    width: calc(3.07% - 0.09rem);
    max-width: 0.58rem;
  }

  .tj-case-study--id2812864 .tj-case-study__cta-icon img {
    width: 100%;
    max-width: 0.58rem;
  }

  .tj-case-study--id2812864 .tj-case-study__image-wrap {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__image-inner {
    width: 100%;
    max-width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__image {
    width: 100%;
    max-width: 100%;
  }
}

/* =========================================================
   Responsive — 449px
   ========================================================= */
@media (max-width: 449px) {
  .tj-case-study--id2812864 .tj-case-study__container {
    padding-top: 2.31rem;
    padding-right: 1.18rem;
    padding-bottom: 2.31rem;
    padding-left: 1.18rem;
  }

  .tj-case-study--id2812864 .tj-case-study__card {
    width: 100%;
    flex-wrap: wrap;
    max-width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__content {
    padding-top: 1rem;
    padding-right: 1.12rem;
    padding-bottom: 1rem;
    padding-left: 1.12rem;
    gap: 0.62rem 0;
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__frame {
    gap: 1rem 0;
    width: 100%;
    max-width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__tag-wrap {
    width: 100%;
    max-width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__tag {
    width: 100%;
    max-width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__tag-text {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__heading-wrap {
    width: 100%;
    max-width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__heading {
    width: 100%;
    max-width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__stats-wrap {
    padding-bottom: 1.06rem;
    width: 100%;
    max-width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__stats {
    gap: 1rem 5%;
    width: 100%;
    flex-wrap: wrap;
    max-width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__stat {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__stat-number {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__stat-label {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__quotes {
    gap: 1rem 0;
    width: 100%;
    max-width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__quote-border {
    padding-left: 1.18rem;
    width: 100%;
    max-width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__quote-inner {
    width: 100%;
    max-width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__quote-text {
    width: 100%;
    max-width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__cta-wrap {
    gap: 0.75rem 3%;
    width: 100%;
    max-width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__cta-text {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__cta-icon {
    width: calc(7.5% - 0.36rem);
    max-width: 0.58rem;
  }

  .tj-case-study--id2812864 .tj-case-study__cta-icon img {
    width: 100%;
    max-width: 0.58rem;
  }

  .tj-case-study--id2812864 .tj-case-study__image-wrap {
    width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__image-inner {
    width: 100%;
    max-width: 100%;
  }

  .tj-case-study--id2812864 .tj-case-study__image {
    width: 100%;
    max-width: 100%;
  }
}