.section-diagram {
  padding: 0;
  position: relative;
  margin: 7rem 0;
}
.section-diagram .background {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: var(--black);
}
.section-diagram .background img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.section-diagram .container {
  position: relative;
}
.section-diagram .container h1, .section-diagram .container h2 {
  max-width: 900px;
  margin: 0 auto 25px;
  text-align: center;
}
.section-diagram .container .text {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.75em;
}
.section-diagram .container > .buttons {
  display: block;
  margin: 75px auto 0;
}
.section-diagram .container > .buttons .button {
  max-width: -moz-max-content;
  max-width: max-content;
  margin: 0 auto 20px;
}
.section-diagram .container > .buttons .button:last-child {
  margin-bottom: 0;
}
.section-diagram .container .diagram {
  margin-top: 100px;
  position: relative;
}
.section-diagram .container .diagram > img {
  position: absolute;
  width: 460px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.section-diagram .container .diagram .list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  grid-column-gap: 500px;
  padding-top: 50px;
}
.section-diagram .container .diagram .list .item {
  width: calc(50% - 250px);
}
.section-diagram .container .diagram .list .item:not(:last-child) {
  padding-bottom: 40px;
}
.section-diagram .container .diagram .list .item:not(:last-child):nth-child(1), .section-diagram .container .diagram .list .item:not(:last-child):nth-child(2) {
  border-bottom: 1px solid;
}
.section-diagram .container .diagram .list .item:not(:nth-child(1), :nth-child(2)) {
  margin-top: 50px;
}
.section-diagram .container .diagram .list .item .icon {
  width: 40px;
  margin: 0 0 0 auto;
}
.section-diagram .container .diagram .list .item .icon img {
  max-width: 40px;
  height: auto;
}
.section-diagram .container .diagram .list .item p {
  text-align: right;
}
.section-diagram .container .diagram .list .item:nth-child(even) .icon {
  margin: 0 auto 0 0;
}
.section-diagram .container .diagram .list .item:nth-child(even) p {
  text-align: left;
}
.section-diagram .container .diagram + .text {
  margin-top: 100px;
}

@media (max-width: 900px) {
  .section-diagram .container .diagram .list {
    grid-column-gap: 470px;
  }
  .section-diagram .container .diagram .list .item {
    width: calc(50% - 235px);
  }
}
@media (max-width: 800px) {
  .section-diagram .container .diagram img {
    width: 300px;
  }
  .section-diagram .container .diagram .list {
    grid-column-gap: 320px;
  }
  .section-diagram .container .diagram .list .item {
    width: calc(50% - 160px);
  }
  .section-diagram .container .diagram .list .item:not(:last-child) {
    padding-bottom: 20px;
  }
  .section-diagram .container .diagram .list .item:not(:nth-child(1), :nth-child(2)) {
    margin-top: 30px;
  }
}
@media (max-width: 650px) {
  .section-diagram .container .diagram img {
    width: 100%;
    max-width: 400px;
    position: relative;
    left: unset;
    transform: unset;
    margin: 0 auto 25px;
    display: block;
  }
  .section-diagram .container .diagram .list {
    grid-column-gap: 0;
    padding: 0;
  }
  .section-diagram .container .diagram .list .item {
    width: 100%;
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 20px;
    text-align: left !important;
  }
  .section-diagram .container .diagram .list .item .icon {
    margin-left: 0 !important;
  }
  .section-diagram .container .diagram .list .item p {
    text-align: left !important;
  }
  .section-diagram .container .diagram + .text {
    margin-top: 0;
  }
  .section-diagram .container .diagram + .text:before {
    display: none;
  }
  .section-diagram .container .diagram + .text {
    text-align: left;
  }
}
/*

Options > Arrow

*/
.section-diagram[options~=arrow] .container .diagram + .text {
  position: relative;
}
.section-diagram[options~=arrow] .container .diagram + .text:before {
  content: "";
  position: absolute;
  left: 60%;
  bottom: 100%;
  background-image: url("/wp-content/uploads/2026/02/arrow-1.png");
  width: 40px;
  height: 80px;
  background-size: contain;
  background-repeat: no-repeat;
}

/*

Scroll Animations

*/
.section-blocks.scrolled-to .block:nth-child(1) {
  animation: block1 1s forwards;
}
.section-blocks.scrolled-to .block:nth-child(2) {
  animation: block2 1.25s forwards;
}
.section-blocks.scrolled-to .block:nth-child(3) {
  animation: block3 1.5s forwards;
}
.section-blocks.scrolled-to .block:nth-child(4) {
  animation: block4 1.75s forwards;
}
.section-blocks.scrolled-to .block:nth-child(5) {
  animation: block5 2s forwards;
}
.section-blocks.scrolled-to .block:nth-child(6) {
  animation: block6 2.25s forwards;
}
.section-blocks.scrolled-to .block:nth-child(7) {
  animation: block7 2.5s forwards;
}
.section-blocks.scrolled-to .block:nth-child(8) {
  animation: block8 2.75s forwards;
}
.section-blocks.scrolled-to .block:nth-child(9) {
  animation: block9 3s forwards;
}
.section-blocks.scrolled-to .block:nth-child(10) {
  animation: block10 3.25s forwards;
}
.section-blocks.scrolled-to .block:nth-child(11) {
  animation: block11 3.5s forwards;
}
.section-blocks.scrolled-to .block:nth-child(12) {
  animation: block12 3.75s forwards;
}
.section-blocks.scrolled-to .block {
  animation: block13 4s forwards;
}

@keyframes block1 {
  from {
    margin: -50px 0 50px;
    opacity: 0;
  }
  to {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block2 {
  0%, 20% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block3 {
  0%, 33% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block4 {
  0%, 43% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block5 {
  0%, 50% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block6 {
  0%, 55% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block7 {
  0%, 60% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block8 {
  0%, 64% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block9 {
  0%, 67% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block10 {
  0%, 70% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block11 {
  0%, 72% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block12 {
  0%, 74% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block13 {
  0%, 75% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}