body.clean-design #main-content#main-content#main-content a.project-reference-card:not([hidden]) {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0;
  height: 100%;
  border: 1px solid #d3dddc !important;
  border-radius: 16px !important;
  background: #fff !important;
  color: #153f47;
  box-shadow: none !important;
  overflow: hidden;
  text-decoration: none;
}
.project-reference-preview {
  display: grid;
  justify-items: center;
  align-items: start;
  flex: none;
  box-sizing: border-box;
  aspect-ratio: 1.55;
  margin: 8px 8px 0;
  padding: 3% 0 0;
  overflow: hidden;
  border-radius: 10px;
  background: #d3e2df;
}
.project-reference-preview[data-preview-area="software"] { background: #316365; }
.project-reference-preview[data-preview-area="web"] { background: #bad8d8; }
.project-reference-preview[data-preview-area="shop"] { background: #dbd3c6; }
.project-reference-preview[data-preview-area="marketing"] { background: #ccdada; }
body.clean-design #main-content#main-content#main-content .project-reference-preview img {
  display: block;
  width: 91% !important;
  height: auto !important;
  align-self: start;
  border-radius: 8px 8px 0 0 !important;
  box-shadow: 0 3px 14px #143b4436;
  transform: none !important;
}
body.clean-design #main-content#main-content#main-content .project-reference-copy {
  display: flex !important;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px clamp(8px, 2vw, 22px) 16px !important;
  text-align: center;
}
.project-reference-category {
  color: #316365;
  font-size: clamp(12px, 1.15vw, 16px);
  font-weight: 700;
}
body.clean-design #main-content#main-content#main-content .project-reference-copy h3 {
  margin: 0 0 5px !important;
  color: #153f47;
  font-size: clamp(17px, 1.7vw, 25px) !important;
  line-height: 1.18 !important;
  text-align: center !important;
  text-wrap: balance;
}
body.clean-design #main-content#main-content#main-content .project-reference-copy .project-reference-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: auto;
  padding: 5px 16px;
  border: 1px solid #153f47;
  border-radius: 999px;
  color: #153f47;
  font-weight: 700;
  font-size: clamp(13px, 1.1vw, 15px);
}
.project-reference-card:is(:hover, :focus-visible) .project-reference-link {
  background: #edf5f1;
}
@media (min-width: 1001px) {
  body.clean-design #main-content#main-content#main-content :is(.software-project-grid, .web-project-grid) {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
