/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 25 2026 | 22:58:57 */
.tags-tile {
  background: #fff;
  border: 1px solid #A8C5B0; /* Soft Sage */
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(30, 42, 30, 0.05);
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 104px; /* Высота в свернутом виде (примерно 2 ряда) */
  overflow: hidden;
  transition: max-height 0.4s ease;
  position: relative;
}

.tags-container.expanded {
  max-height: 2000px;
}

/* Плавное затухание снизу, когда свернуто */
.tags-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
  pointer-events: none;
  transition: opacity 0.3s;
}
.tags-container.expanded::after {
  opacity: 0;
}

.tags-tile a {
  display: inline-block;
  padding: 6px 14px;
  background: #F5F0E8; /* Light Cream */
  color: #1E2A1E; /* Charcoal Dark */
  text-decoration: none;
  border-radius: 20px;
  font-size: 14px;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.tags-tile a:hover {
  background: #A8C5B0; /* Soft Sage */
  border-color: #6B9B7D; /* Moss Green */
}

.tags-toggle {
  display: block;
  margin: 20px auto 0;
  padding: 10px 28px;
  background: #3D6B4F; /* Deep Forest Green */
  color: #F5F0E8; /* Light Cream */
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.tags-toggle:hover {
  background: #6B9B7D; /* Moss Green */
}