.featured-customer-stories-section {
  padding-top: 160px;
  padding-bottom: 160px;
}

.featured-customer-stories-section .container-medium-3 {
  width: 100%;
  max-width: 1316px;
  margin-right: auto;
  margin-left: auto;
}

.featured-customer-stories-section .div-block-23 {
  padding-right: 5%;
  padding-left: 5%;
}

.featured-customer-stories-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: 16px;
}

.featured-customer-story-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
  padding: 40px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid var(--marketing-card-border, #edeff3);
  border-radius: 20px;
  box-shadow: var(--marketing-card-shadow);
  isolation: isolate;
  transition:
    box-shadow 0.25s ease,
    transform 0.2s ease;
}

.featured-customer-story-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  border-radius: inherit;
  transition: opacity 0.35s ease;
}

.featured-customer-story-card--primary::before {
  background: radial-gradient(
    ellipse 75% 65% at 15% 85%,
    rgb(194 176 103 / 32%) 0%,
    rgb(194 176 103 / 0%) 72%
  );
  filter: blur(10px);
}

.featured-customer-story-card--secondary::before {
  background: radial-gradient(
    ellipse 70% 60% at 88% 18%,
    rgb(194 176 103 / 26%) 0%,
    rgb(194 176 103 / 0%) 72%
  );
  filter: blur(10px);
}

.featured-customer-story-card:hover {
  transform: translateY(-1px);
}

.featured-customer-story-card--primary:hover {
  box-shadow:
    var(--marketing-card-shadow),
    0 0 0 1px rgb(194 176 103 / 12%),
    0 12px 40px -16px rgb(194 176 103 / 38%);
}

.featured-customer-story-card--secondary:hover {
  box-shadow:
    var(--marketing-card-shadow),
    0 0 0 1px rgb(194 176 103 / 10%),
    0 12px 36px -16px rgb(194 176 103 / 30%);
}

.featured-customer-story-hover-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.featured-customer-story-card:hover .featured-customer-story-hover-image {
  opacity: 0.3;
}

.featured-customer-story-card--primary:hover
  .featured-customer-story-watermark--primary {
  opacity: 0;
}

.featured-customer-story-watermark--primary {
  position: absolute;
  top: 50%;
  right: -50%;
  z-index: 1;
  width: min(720px, 96%);
  height: min(720px, 96%);
  pointer-events: none;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.35s ease;
}

@media screen and (max-width: 991px) {
  .featured-customer-story-watermark--primary {
    left: -14%;
    width: min(520px, 90%);
    height: min(520px, 90%);
  }
}

@media screen and (max-width: 767px) {
  .featured-customer-story-watermark--primary {
    left: -16%;
    width: min(380px, 86%);
    height: min(380px, 86%);
  }
}

.featured-customer-story-quote {
  position: relative;
  z-index: 2;
  max-width: 34rem;
  padding: 0px;
  margin: 0;
  margin-bottom: 100px;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.35;
  color: #1a1925;
  text-align: left;
  background-color: transparent;
  box-shadow: none;
}

.featured-customer-story-card--secondary .featured-customer-story-quote {
  max-width: none;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
}

.featured-customer-story-attribution {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 40px;
}

.featured-customer-story-avatar {
  flex: none;
  width: 40px;
  height: 40px;
  overflow: hidden;
  background: rgb(255 255 255 / 72%);
  border: 2px solid rgb(255 255 255 / 90%);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgb(26 25 37 / 8%);
}

.featured-customer-story-avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-customer-story-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.featured-customer-story-author-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: #1a1925;
}

.featured-customer-story-author-role {
  font-size: 13px;
  line-height: 1.35;
  color: rgb(26 25 37 / 68%);
}

.featured-customer-stories-footer {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}

.featured-customer-stories-footer-text {
  max-width: 36rem;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgb(26 25 37 / 62%);
}

.featured-customer-stories-footer-link {
  display: inline-flex;
  flex: none;
  gap: 6px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: rgb(26 25 37 / 72%);
  text-decoration: none;
  transition: color 0.2s ease;
}

.featured-customer-stories-footer-link:hover {
  color: var(--accent, #c2b067);
}

.featured-customer-stories-footer-arrow {
  display: inline-flex;
  transition: transform 0.2s ease;
}

.featured-customer-stories-footer-link:hover
  .featured-customer-stories-footer-arrow {
  transform: translateX(2px);
}

@media screen and (max-width: 991px) {
  .featured-customer-stories-grid {
    grid-template-columns: 1fr;
  }

  .featured-customer-story-card {
    min-height: 300px;
    padding: 32px;
  }
}

@media screen and (max-width: 767px) {
  .featured-customer-story-card {
    min-height: 260px;
    padding: 24px;
  }

  .featured-customer-stories-footer {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
