/* ==================================================
   ГЛАВНО МЕНИ
   ================================================== */

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 4px 0 24px;
  overflow: visible;
  color: var(--accent);
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-align: center;
}


/* ==================================================
   ТАБОВИ
   ================================================== */

.nav-row {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 6px;
  width: 100%;
  max-width: 100%;
  flex-wrap: nowrap;
}

.nav-row a {
  display: inline-block;
  box-sizing: border-box;
  padding: 6px 14px 7px;
  border-radius: 8px 8px 0 0;
  color: #fffaf7;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  font-weight: normal;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}


/* Билтен, За Псалтот и Контакт */

.main-tab {
  background-color: #8b4545;
}

.main-tab:hover {
  background-color: #6f3535;
}


/* Сезона 1 */

.season-tab {
  background-color: #71858a;
}

.season-tab:hover {
  background-color: #596d72;
}


/* ==================================================
   МОБИЛЕН ПРИКАЗ
   ================================================== */

@media (max-width: 600px) {
  .main-nav {
    margin-bottom: 20px;
  }

  .nav-row {
    gap: 4px 5px;
    flex-wrap: wrap;
  }

  .nav-row a {
    flex: 0 0 calc(50% - 3px);
    max-width: calc(50% - 3px);
    padding: 5px 8px 6px;
  }
}