.sw32-icon-cards {
  padding: 96px 0;
  position: relative;

  .sw19s-std-wrap {
    max-width: 1292px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  &.cool-gray {
    background-color: #f4f7f7;
  }

  .main-title {
    font-size: 38px;
    font-weight: 700;
    color: #111111;
    width: 100%;
    line-height: 48px;
    margin: 0;
    text-align: center;
    align-items: center;
  }

  .subtitle {
    font-size: 24px;
    line-height: 1.5;
    font-family: "Roboto Slab";
    color: #444444;
    text-align: center;
    max-width: 1024px;
    margin-top: 24px;
  }

  .cards-grid {
    display: grid;
    margin: 40px 0 0;
    padding: 0;
    column-gap: 16px;
    row-gap: 40px;
    justify-content: center;
    align-items: flex-start;

    &.three-cards {
      grid-template-columns: repeat(3, auto);
    }

    &.four-cards {
      grid-template-columns: repeat(4, auto);
    }

    &.grid-size-1 {
      margin: 56px 0 0;
    }

    .cards-item {
      margin: 0;
      height: 100%;
      max-width: 296px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      padding: 1.5rem;

      &.center {
        text-align: center;
        align-items: center;
      }

      &.left {
        text-align: left;
      }

      &.card-border-1 {
        border: 2px solid #d8e3e3;
        border-radius: 16px;
      }

      .icon {
        width: 104px;
        height: 104px;
        margin-bottom: 32px;

        &.size-1 {
          width: 64px;
          height: 64px;
          margin-bottom: 16px;
        }

        svg {
          width: 100%;
          height: 100%;
        }

        &.light svg {
          fill: #111111;
        }

        &.dark svg {
          fill: #111111;
        }

        &.orange svg {
          fill: #ff6200;
        }
      }

      .headline {
        font-size: 24px;
        line-height: 36px;
        font-weight: 700;
        color: #111111;
        margin-bottom: 8px;
      }

      .link {
        font-size: 18px;
        line-height: 32px;
        color: #006482;
        margin-bottom: 20px;
        font-weight: 500;

        &:hover {
          text-decoration-thickness: 2px;
        }

        &:active {
          color: #003c4e;
        }
      }

      .space {
        height: 12px;
      }

      .text {
        font-size: 18px;
        line-height: 32px;
        color: #444444;

        &.text-size-1 {
          font-size: 16px;
          line-height: 1.5;
        }
      }
    }
  }

  .icon-cards-button {
    margin-top: 56px;
    text-align: center;
  }

  .gidget {
    position: absolute;
    bottom: -98px;
    left: 0;
  }

  @media (max-width: 992px) {
    padding: 56px 0 80px;

    .main-title {
      font-size: 34px;
      line-height: 44px;
    }

    .cards-grid {
      flex-wrap: wrap;
      row-gap: 48px;
      margin-top: 32px;

      &.four-cards {
        grid-template-columns: repeat(2, auto);
      }

      .cards-item {
        .headline {
          font-size: 22px;
          line-height: 28px;
        }
      }
    }

    .gidget {
      display: none;
    }
  }

  @media (max-width: 767px) {
    .sw19s-std-wrap {
      padding-left: 24px;
      padding-right: 24px;
    }

    .main-title {
      text-align: left;
    }

    .subtitle {
      font-size: 20px;
      line-height: 1.5;
      text-align: left;
      margin-top: 16px;
    }

    .cards-grid {
      &.three-cards {
        grid-template-columns: repeat(1, auto);
      }
      &.four-cards {
        grid-template-columns: repeat(1, auto);
      }

      .cards-item {
        max-width: 100%;

        .icon {
          margin-bottom: 16px;
        }
      }
    }

    .icon-cards-button {
      margin-top: 32px;
    }
  }
}
