main {
  padding: 96px 32px;
  padding-bottom: 16px !important;
  background-color: #ffffff;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  color: #333333;
}

.case-study h1 {
  color: #000000;
  margin-top: 94px;
  margin-bottom: 94px;
  font-size: 54px;
  text-align: left !important;
}

.case-study h2 {
  color: #000000;
  font-size: 32px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.case-study h3 {
  color: #333333;
  font-size: 24px;
  margin-bottom: 16px;
}

.case-study p {
  font-size: 18px;
  line-height: 32px;
  color: #333333;
  margin-bottom: 24px;
}

.metadata {
  font-weight: 300;
  font-style: italic;
  color: #666666;
}

.case-study ul {
  margin-left: 24px;
  margin-bottom: 24px;
}

.case-study ul li {
  font-size: 18px;
  line-height: 32px;
  color: #333333;
}

.case-study code {
  background-color: #f5f5f5;
  padding: 24px;
  border-radius: 5px;
  font-family: "Roboto Mono", Courier, monospace;
  display: block;
  margin-bottom: 24px;
  font-size: 16px;
  color: #333333;
}

.case-study .highlight {
  background-color: #f9f9f9;
  padding: 24px;
  border-left: 5px solid #000000;
  margin-bottom: 32px;
}

.code-block {
  position: relative;
  margin-bottom: 32px;
}

.copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  border: solid 1px #000000 !important;
  background-color: transparent;
  color: #333333;
  padding: 5px 15px;
  cursor: pointer;
  font-size: 14px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.copy-btn:hover {
  background-color: #000000;
  color: #ffffff;
}

@media (max-width: 768px) {
  main {
    padding: 48px 16px;
  }

  .case-study h1 {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .case-study h2 {
    font-size: 26px;
    margin-bottom: 18px;
  }

  .case-study h3 {
    font-size: 20px;
    margin-bottom: 14px;
  }

  .case-study p,
  .case-study ul li {
    font-size: 16px;
    line-height: 28px;
  }

  .case-study code {
    font-size: 14px;
    padding: 16px;
  }

  .case-study .highlight {
    padding: 20px;
    margin-bottom: 24px;
  }

  .code-block {
    margin-bottom: 24px;
  }
}

@media (max-width: 480px) {
  main {
    padding: 32px 12px;
  }

  .case-study h1 {
    font-size: 24px;
    margin-bottom: 32px;
  }

  .case-study h2 {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .case-study h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .case-study p,
  .case-study ul li {
    font-size: 14px;
    line-height: 24px;
  }

  .case-study code {
    font-size: 12px;
    padding: 12px;
  }

  .case-study .highlight {
    padding: 16px;
    margin-bottom: 20px;
  }

  .code-block {
    margin-bottom: 20px;
  }

  .copy-btn {
    padding: 5px 10px;
    font-size: 12px;
  }

  article {
    width: 90%;
  }
}
