.akordi-home-tools {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 22px 0 28px;
}

.akordi-home-tool-card {
  display: flex;
  flex-direction: column;
  height: 320px;
  background: #ffffff;
  border: 1px solid #e3e3e3;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: #222222;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.akordi-home-tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.13);
  border-color: #c62828;
  color: #c62828;
}

.akordi-home-tool-image {
  flex: 1;
  width: 100%;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow: hidden;
  background: #f7f7f7;
}

.akordi-home-tool-image img {
  max-width: 100%;
  max-height: 240px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.28s ease;
}

.akordi-home-tool-card:hover .akordi-home-tool-image img {
  transform: scale(1.04);
}

.akordi-home-tool-title {
  min-height: 58px;
  padding: 15px 10px 17px;
  text-align: center;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  background: #ffffff;
}

@media (max-width: 1100px) {
  .akordi-home-tools {
    grid-template-columns: repeat(2, 1fr);
  }

  .akordi-home-tool-card {
    height: 320px;
  }
}

@media (max-width: 600px) {
  .akordi-home-tools {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .akordi-home-tool-card {
    height: 300px;
  }

  .akordi-home-tool-image {
    min-height: 230px;
  }

  .akordi-home-tool-title {
    font-size: 18px;
  }
}

.block-akordi-home-tools,
#block-akordihometools {
  padding: 22px 18px;
}