:root {
  --base-light-color: white;
  --base-light-color-60: rgba(255, 255, 255, 0.6);
  --base-font-color: #333;
  --base-font-dark-gray-color: #666;
  --base-font-gray-color: #999;
  --base-active-color: #ed1712;
  --base-font-size-xl: 24px;
  --base-font-size-lg: 18px;
  --base-font-size: 16px;
  --base-font-size-sm: 14px;
  --base-font-size-xs: 12px;
}

.technical__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 45px;
  row-gap: 50px;
  padding: 40px 0 100px;
}
.technical__list-item {
  width: 100%;
  padding: 22px;
  color: var(--base-font-dark-gray-color);
  font-size: var(--base-font-size-lg);
  line-height: 1.4;
  box-shadow: inset 0 0 0 2px #CCCCCC;
  border-radius: 20px;
  transition: color 0.2s, font-weight 0.2s, box-shadow 0.2s;
}
.technical__list-item > a {
  display: block;
  width: 100%;
  height: 100%;
}
.technical__list-item-img {
  width: 100%;
  aspect-ratio: 410/292;
  overflow: hidden;
  margin-bottom: 20px;
}
.technical__list-item-img img {
  width: 100%;
  height: 100%;
  transition: transform 0.2s;
}
.technical__list-item-text {
  text-align: center;
}
@media screen and (min-width: 1024px) {
  .technical__list-item:hover {
    color: var(--base-active-color);
    box-shadow: inset 0 0 0 4px var(--base-active-color);
    font-weight: 700;
  }
  .technical__list-item:hover img {
    transform: scale(1.2);
  }
}
@media screen and (max-width: 1024px) {
  .technical__list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 13px;
    row-gap: 12px;
    padding: 0 16px 60px;
  }
  .technical__list-item {
    padding: 8px;
    font-size: var(--base-font-size-xs);
    box-shadow: inset 0 0 0 1px #CCCCCC;
    border-radius: 4px;
  }
  .technical__list-item-img {
    margin-bottom: 8px;
  }
}
