/* Стили для гербов */
.cellar-herb {
  width: 100%;
  margin-bottom: 1.5rem;
}

.cellar-herb td.herb1 {
  width: 60px;
  padding-right: 15px;
  vertical-align: middle;
}

.cellar-herb td.herb2 {
  vertical-align: middle;
}

.cellar-herb img {
  width: 60px;
  height: auto;
}

.cellar-herb a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.4;
}

.cellar-herb a:hover {
  color: var(--accent-color);
}

/* Обновленные стили для футера */
.footer {
  background-color: var(--gray-color);
  color: white;
  padding: 2rem 0;
  margin-top: 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.cellar-bg {
  text-align: center;
}

.cellar-bg a {
  color: var(--accent-color);
  font-weight: 500;
}

.cellar-bg a:hover {
  color: white;
}

.footer-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Адаптивность для футера */
@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .cellar-herb {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cellar-herb td.herb1 {
    padding-right: 0;
    padding-bottom: 1rem;
  }
}

/* Стили для шапки */
.header .logo-img {
  width: 80px;
  height: auto;
  margin-right: 20px;
  transition: transform 0.3s ease;
}

.header-schedule {
  margin-top: 1rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  text-align: center;
}

.header-schedule p {
  margin: 0;
  color: var(--primary-color);
  font-size: 0.9rem;
}

.header .logo-img:hover {
  transform: scale(1.05);
}

/* Стили для заголовков с линией */
.line-heading {
  position: relative;
  text-align: center;
  margin: 2rem 0;
}

.line-heading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary-color), transparent);
  z-index: 1;
}

.line-heading-text {
  position: relative;
  display: inline-block;
  padding: 0 1rem;
  background-color: var(--light-color);
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
  z-index: 2;
}

/* Улучшения для адаптивности */
@media (max-width: 768px) {
  .header .logo-img {
    width: 60px;
    margin-right: 15px;
  }

  .footer-column {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 576px) {
  .header .logo {
    flex-direction: column;
    text-align: center;
  }

  .header .logo-img {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}
