/* made by @itsAlexTarin */

/*  БЛОКИ С МОЩНОСТЯМИ ВНУТРИ СТАТЕЙ */

/* Контейнер-обертка */
.leaf-grid-wrapper {
  padding: 15px;
  margin: 20px 0;
  background-color: #fff;
}

/* Сетка ссылок */
.leaf-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Ссылки-кнопки */
.leaf-item {
  flex: 0 1 calc(11.11% - 8px);
  min-width: 80px;
  text-align: center;
  padding: 8px 5px;
  border: 1px solid #ff9601;
  background-color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: "Tahoma", Arial, sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #000;
  display: block;
  box-sizing: border-box;
}

/* Эффект при наведении (вместо onmouseover) */
.leaf-item:hover {
  background-color: #ff9601;
}

/*  БЛОКИ С ПРОИЗВОДИТЕЛЯМИ ВНУТРИ СТАТЕЙ */
.leaf-container2 {
  padding: 15px;
  margin: 20px 0;
  background-color: #fff;
  font-family: "Tahoma", Arial, sans-serif;
}

.leaf-wrapper2 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.leaf-item2 {
  flex: 0 1 calc(25% - 8px);
  min-width: 120px;
  text-align: center;
  padding: 10px 5px;
  border: 1px solid #ff9601;
  background-color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #000;
  display: block;
  box-sizing: border-box;
}

.leaf-item2:hover {
  background-color: #ff9601;
}

/*  === стили для мини-блока с контактами === */

.leaf-contact-section {
  background: #fafafa;
  border: 1px solid #e0e0e0;
  padding: 25px;
  max-width: 600px;
}

.leaf-section-title {
  font-size: 14px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.leaf-contact-description {
  font-size: 14px;
  color: #1b1b1b;
  margin-bottom: 20px;
  line-height: 1.5;
}

.leaf-contact-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.leaf-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border: 1px solid #ff9800;
  background: #ffffff;
  text-decoration: none;
  color: #333333;
  font-size: 14px;
}

.leaf-contact-item:hover {
  border-color: #f57c00;
  background: #ff9601;
}

.leaf-contact-icon {
  width: 34px;
  height: 34px;
  background: #ff9800;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.leaf-contact-item:hover .leaf-contact-icon {
  background: #1a1a1a;
}

.leaf-contact-value {
  font-weight: 600;
  color: #333333;
}

@media (min-width: 769px) {
  .leaf-contact-grid {
    flex-direction: row;
  }

  .leaf-contact-item {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .leaf-contact-section {
    padding: 20px;
  }

  .leaf-contact-item {
    padding: 10px 12px;
  }
}