/* Anaghjulia : pictogrammes et hiérarchie visuelle de l’étude de cas. */
.anagh-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: #c1b2ee;
}
.anagh-page .case-commerce {
  background: transparent;
  gap: 18px;
  margin-top: 40px;
}
.anagh-page .case-commerce .case-feature {
  padding: 28px;
  border: 1px solid #39313f;
  background: #18151d;
  position: relative;
  transition:
    border-color 250ms,
    background 250ms;
}
.anagh-page .case-commerce .case-feature:nth-child(3n + 1) {
  background: #211a2b;
}
.anagh-feature-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}
.anagh-page .anagh-feature-heading .case-number {
  margin: 0;
  font-size: 22px;
  opacity: 0.7;
}
.anagh-icon-badge {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid #715b82;
  background: #282033;
  border-radius: 15px 3px 15px 3px;
}
.anagh-page .case-feature h3 {
  font-size: 24px;
  line-height: 1.25;
}
.anagh-page .case-feature p {
  font-size: 14px;
}
.anagh-page .case-node-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 24px;
}
.anagh-page .case-diagram {
  border: none;
  padding: 0;
}
.anagh-page .case-branches {
  position: relative;
  padding-top: 25px;
}
.anagh-page .case-branches::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  height: 25px;
  width: 1px;
  background: #b788c9;
}
.anagh-page .case-branches > span {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 18px 14px;
  font-size: 13px;
}
.anagh-page .case-branches .anagh-icon {
  width: 24px;
  height: 24px;
}
.anagh-page .case-flow {
  list-style: none;
  padding: 0;
}
.anagh-page .case-flow li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-left: 2px solid #b788c9;
}
.anagh-page .case-tech > .anagh-icon {
  display: block;
  margin-bottom: 23px;
}
.anagh-attributes {
  list-style: none;
  padding: 0;
  margin: 38px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #49404f;
  border-bottom: 1px solid #49404f;
}
.anagh-attributes li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 27px 20px;
  border-right: 1px solid #49404f;
  font-size: 14px;
}
.anagh-attributes li:last-child {
  border-right: 0;
}
@media (hover: hover) {
  .anagh-page .case-commerce .case-feature:hover {
    border-color: #a689ba;
    background: #251d30;
  }
}
@media (max-width: 700px) {
  .anagh-attributes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .anagh-attributes li:nth-child(2) {
    border-right: 0;
  }
  .anagh-attributes li:nth-child(-n + 2) {
    border-bottom: 1px solid #49404f;
  }
  .anagh-page .case-commerce .case-feature {
    padding: 23px;
  }
}
@media (max-width: 420px) {
  .anagh-page .case-branches {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .anagh-page .case-commerce .case-feature {
    transition: none;
  }
}

/* Center the icon and label as one group on mobile. */
@media (max-width: 760px) {
  .anagh-page .case-branches > span {
    justify-content: center;
    text-align: center;
  }
}
