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

.main-nav {
  width: 100%;
  margin: 4px 0 30px;
  text-align: center;
}

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

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

.main-tab {
  background-color: #5e3272;
}

.main-tab:hover,
.main-tab:focus {
  color: #fffaf7;
  background-color: #472455;
}


/* ==================================================
   МОБИЛНО МЕНИ
   ================================================== */

@media (max-width: 600px) {
  .nav-row {
    gap: 8px;
  }

  .nav-row a {
    flex: 0 0 calc(50% - 4px);
    max-width: calc(50% - 4px);
    text-align: center;
  }
}

/* ==================================================
   БОИТЕ НА МЕНИТО
   ================================================== */
   
   .main-nav a[href="/original/"] {
  background-color: #cd8b76;
}

.main-nav a[href="/octoechos/"] {
  background-color: #c45baa;
}

.main-nav a[href="/feasts/"] {
  background-color: #7d387d;
}

.main-nav a[href="/chants/"] {
  background-color: #27474e;
}
