@charset "UTF-8";
.category {
  margin-bottom: 40px;
  min-height: 80vh;
}
.category .header {
  margin: 25px 0 10px;
}
.category .header h2 {
  margin: 20px 0;
}
.category .header.article h2 {
  margin: 20px auto;
  max-width: 900px;
}
.category .content {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.category .content .card {
  width: 32%;
  background: #F7F7F7;
  padding: 12px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.category .content .card h4 {
  font-size: 1.2em;
  font-weight: 500;
  margin-bottom: auto;
}
.category .content .card p {
  font-size: 0.9em;
  color: #000;
  display: -webkit-box;
  -webkit-line-clamp: 5; /* максимум 5 строк */
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.category .content .card .tags p {
  margin: 10px 0;
  padding: 4px 15px;
  background: #fff;
  border-radius: 4px;
  width: fit-content;
}
.category .content .card img {
  width: 100%;
  border-radius: 12px;
  height: 180px;
  object-fit: cover;
}
.category .content .card a {
  display: block;
  text-align: center;
  text-decoration: none;
  width: 100%;
  margin-top: 10px;
  background: #2BB06D;
  color: #fff;
  border-radius: 12px;
  border: none;
  font-size: 1.2em;
  font-weight: 500;
  padding: 18px;
}
.category .content.article {
  flex-direction: column;
  margin: 20px auto;
  max-width: 900px;
}
.category .content.article .article-image-wrap {
  position: relative;
  margin: 30px auto;
  width: 100%;
  max-width: 900px;
}
.category .content.article .article-image-wrap .article-image {
  width: 100%;
  border-radius: 12px;
  display: block;
}
.category .content.article .article-image-wrap .tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  margin: 0;
  padding: 4px 15px;
  background: #fff;
  color: #000;
  border-radius: 4px;
  width: fit-content;
  font-size: 1em;
}
.category .content.article .image-copy {
  height: 0;
  margin: -30px 0 20px;
  color: #9d9d9d;
}
.category .content.article h4 {
  font-size: 1.2em;
}
.category .content.article p {
  font-size: 1em;
  margin-bottom: 0;
  color: #000;
}
.category .similar {
  margin: 20px auto;
  max-width: 900px;
}
.category .similar .subheader {
  font-size: 1.2em;
}
.category .similar .block {
  margin-top: 20px;
  display: flex;
  gap: 1%;
}
.category .similar .block .card {
  width: 32%;
  padding: 16px;
  border-radius: 14px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-size: cover;
  position: relative;
  overflow: hidden;
}
.category .similar .block .card .dark {
  background: rgba(0, 0, 0, 0.25);
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  z-index: 0;
}
.category .similar .block .card h5 {
  line-height: 1.2;
  position: relative;
}
.category .similar .block .card .tag {
  margin: 12px 0;
  padding: 4px 15px;
  background: #fff;
  color: #000;
  border-radius: 4px;
  width: fit-content;
  font-size: 1em;
  position: relative;
}
.category .similar .block .card a {
  color: #FFFFFF;
  text-align: center;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px) brightness(1.1);
  -webkit-backdrop-filter: blur(6px) brightness(1.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.2);
  cursor: pointer;
  border-radius: 12px;
  padding: 8px 25%;
  display: block;
  width: fit-content;
  font-weight: 600;
  position: relative;
}

@media (max-width: 700px) {
  .category .content .card {
    width: 100%;
  }
  .category .header h2 {
    margin: 20px 0;
    font-size: 1.5em;
    line-height: 1.2;
  }
  .category .similar .block {
    gap: 2%;
    overflow: overlay;
  }
  .category .similar .block .card {
    min-width: 280px;
  }
  .category .similar .block .card .tag, .category .content.article .article-image-wrap .tag {
    padding: 2px 10px;
    font-size: 0.9em;
  }
}

/*# sourceMappingURL=category.css.map */
