.real-impact {
  padding: 50px 0;
  background: #FBF9F9;
}

.real-impact__heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.3;
  color: var(--blue);
  text-align: center;
  margin: 0 0 30px;
}

@media screen and (min-width: 1200px) {
  .real-impact__heading {
    font-size: 38px;
  }
}

/* Accordion + media panel */

.real-impact__panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 35px;
  margin-bottom: 40px;
}

.real-impact__accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1 1 480px;
}

.real-impact__row {
  border-radius: 6px;
  border-left: 3px solid transparent;
  transition: background-color .3s ease, border-color .3s ease;
}

.real-impact__row--active {
  background: #fff;
  border-left-color: #5b7bde;
}

.real-impact__row-header {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 30px;
  background: none;
  border: none;
  text-align: left;
  cursor: default;
}

.real-impact__row-header[data-real-impact-toggle] {
  cursor: pointer;
}

/*
 * Remove the browser's default blue focus ring on click, but keep a
 * visible (just less intrusive) indicator for keyboard-only navigation
 * via :focus-visible, so this stays accessible rather than just silent.
 */
.real-impact__row-header:focus {
  outline: none;
}

.real-impact__row-header:focus-visible {
  outline: 2px solid #5b7bde;
  outline-offset: -2px;
}

.real-impact__row-icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
}

.real-impact__row-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.real-impact__row-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  color: #000;
}

@media screen and (min-width: 1200px) {
  .real-impact__row-title {
    font-size: 24px;
  }
}

.real-impact__row--active .real-impact__row-title {
  color: #5b7bde;
}

/*
 * Height is driven inline by view.js (measuring scrollHeight and animating
 * to it, then settling on 'auto' once open) since height:auto itself can't
 * be transitioned. .is-open is toggled directly on this element (rather
 * than relying on the parent's .real-impact__row--active) so JS can open
 * one row and close another at the same time, giving the accordion effect.
 * Left/right padding stays constant so content doesn't shift sideways
 * mid-animation — only the height and bottom padding move.
 */
.real-impact__row-list {
  height: 0;
  padding: 0 30px;
  overflow: hidden;
  opacity: 0;
  transition: height .35s ease, opacity .3s ease, padding-bottom .35s ease;
}

.real-impact__row-list.is-open {
  padding-bottom: 24px;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .real-impact__row-list {
    transition: none;
  }
}

.real-impact__row-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.real-impact__row-list li {
  position: relative;
  padding: 0 0 20px 34px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e9e9e9;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.65;
  color: #54595f;
  background: url(../../static/images/real-impact-check.svg) no-repeat left 3px;
  background-size: 22px 22px;
}

@media screen and (min-width: 1200px) {
  .real-impact__row-list li {
    font-size: 20px;
  }
}

.real-impact__row-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.real-impact__media {
  flex: 1 1 480px;
  align-self: stretch;
}

.real-impact__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  border-radius: 20px;
  object-fit: cover;
}

@media screen and (max-width: 767px) {
  .real-impact__row-header {
    padding: 15px 20px;
  }

  .real-impact__row-list {
    padding: 0 20px 0 54px;
  }

  .real-impact__row-list.is-open {
    padding-bottom: 20px;
  }
}

/* Toggle */

/*
 * Sizing/layout only — .btn-green (added via block.php) owns all visual
 * styling (background gradient, hover transition, border-radius), same
 * pattern used for .industry-leaders__cta.
 */
.real-impact__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
  padding: 15px 30px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
}

.real-impact__toggle:focus {
  outline: none;
}

.real-impact__toggle:focus-visible {
  outline: 2px solid #174fa2;
  outline-offset: 2px;
}

.real-impact__toggle-icon {
  display: inline-flex;
  width: 15px;
  height: 12.5px;
  background: url(../../static/images/faq-double-chevron.svg) no-repeat center;
  background-size: contain;
  transition: transform 0.3s ease;
}

.real-impact__toggle[aria-expanded="true"] .real-impact__toggle-icon {
  transform: scaleY(-1);
}

/* Expanded section */

/*
 * Height is driven inline by view.js (measuring scrollHeight and animating
 * to it, then settling on 'auto' once open) since height:auto itself can't
 * be transitioned. The [hidden] attribute still handles the fully-closed
 * resting state and the no-JS fallback.
 */
.real-impact__more {
  height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  transition: height .4s ease, opacity .3s ease, margin-top .4s ease;
}

.real-impact__more.is-open {
  margin-top: 40px;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .real-impact__more {
    transition: none;
  }
}

.real-impact__heading-two {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.3;
  color: var(--blue);
  margin: 0 0 20px;
}

.real-impact__description-two {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  color: #6b717a;
  margin-bottom: 30px;
}

.real-impact__description-two p {
  margin: 0 0 15px;
}

.real-impact__description-two p:last-child {
  margin-bottom: 0;
}

@media screen and (min-width: 1200px) {
  .real-impact__heading-two {
    font-size: 38px;
  }

  .real-impact__description-two {
    font-size: 18px;
  }
}

.real-impact__list {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 25px;
}

@media screen and (min-width: 768px) {
  .real-impact__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (min-width: 1200px) {
  .real-impact__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px;
  }
}

.real-impact__list-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.real-impact__list-heading {
  padding: 8px 0 8px 15px;
  border-left: 5px solid #01d9a6;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  color: var(--blue);
  margin: 0;
}

.real-impact__list-description {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  color: #6b717a;
  margin: 0;
}

@media screen and (min-width: 1200px) {
  .real-impact__list-heading {
    font-size: 24px;
  }

  .real-impact__list-description {
    font-size: 18px;
  }
}

@media screen and (min-width:1024px) {
  .real-impact {
  padding-bottom: 180px;
}
}