.certifications * {
  font-family: var(--font-outfit);
}

.certifications .container {
  margin: 40px 0;

  @media (width >=1024px) {
    margin: 64px 0;
  }

  h2 {
    font-size: 26px;
    font-weight: 600;

    line-height: 32px;
    color: var(--primary-color);

    margin: 16px 0 24px;

    @media (width >=1024px) {
      font-size: 30px;
      line-height: 36px;
    }
  }

  p {
    font-size: 17px;
    font-weight: 500;
    line-height: 23.8px;
    color: var(--primary-color);
  }

  .certifications_program {
    padding: 20px 24px;

    border: 2px solid var(--color-border-low);
    border-radius: 24px;

    @media (min-width: 1024px) {
      padding: 24px;
    }

    .certifications_eyebrow {
      display: flex;
      align-items: center;
      gap: 8px;

      background: var(--color-aqua-low);
      border-radius: 8px;
      padding: 2px 8px;
      margin: 0 0 16px;

      width: max-content;

      span {
        font-size: 14px;
        font-weight: 600;
        line-height: 20px;
        color: var(--primary-color);
      }
    }

    h3 {
      font-size: 22px;
      margin: 16px 0 16px;
      font-weight: 600;
      line-height: 30px;
      color: var(--primary-color);
    }

    >p {
      font-size: 16px;
      font-weight: 400;
      line-height: 24px;
      color: var(--primary-color);
      margin-bottom: 24px;

      /* max-width: 740px; */
    }

    .certifications_program_list {
      display: flex;
      flex-direction: column;
      gap: 24px;
      width: 100%;

      margin: 24px 0;

      .certifications_program_gallery {
        display: flex;
        gap: 24px;
        flex-wrap: wrap;
      }

      img {
        display: block;
        height: 40px;
        width: auto;
      }

      span {
        display: block;
        width: auto;

        font-size: 18px;
        font-weight: 600;
        line-height: 28px;

        color: var(--primary-color);
      }
    }

    ul {
      margin: 24px 0 0;
      padding: 0;
      display: grid;
      gap: 16px;

      @media (width >=1024px) {
        gap: 24px;
      }

      &:has(+ a) {
        margin: 24px 0;
      }

      li {
        display: flex;
        gap: 12px;
        justify-content: space-between;
        padding: 12px;

        border: 1px solid var(--color-border-low);
        border-radius: 12px;

        @media (width >=1024px) {
          align-items: center;
        }

        img {
          display: block;
        }

        div {
          flex: 1;
          display: grid;

          span {
            font-weight: 600;

            &:first-of-type {
              font-size: 13px;
              line-height: 16px;

              text-transform: uppercase;
              color: var(--bg-secondary-color);
            }

            &:last-of-type {
              font-size: 17px;
              font-weight: 600;
              line-height: 28px;

              color: var(--primary-color);
            }
          }
        }

        >span {
          display: block;
          border-radius: 12px;
          background: var(--color-background-low);

          color: var(--primary-color);

          font-size: 12px;
          font-weight: 400;
          line-height: 18px;

          flex: 0 0 auto;
          padding: 4px 10px;
          align-self: start;
        }
      }
    }

    a {
      display: flex;
      gap: 12px;
      align-items: center;
      justify-content: center;

      font-size: 16px;
      font-weight: 600;

      text-decoration: none;
      width: 100%;

      @media (width >=385px) {
        font-size: 17px;
      }

      @media (width >=1024px) {
        width: max-content;
      }
    }
  }
}