/* Base nav styles */
.main-nav {
  background-color: #f8f8f8;
  padding: 0.5em 1em;
  font-family: var(--font-sans);
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.5em;
  margin: 0;
  padding: 0;
}

.nav-item a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

/* Dropdown styles */
.dropdown {
  position: relative;
}

.dropdown-toggle::after {
  content: " ▾";
  font-size: 0.8em;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 2em;
  left: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 0.5em 0;
  list-style: none;
  min-width: 200px;
  z-index: 1000;
}

.dropdown-menu li {
  padding: 0.3em 1em;
}

.dropdown-menu li a {
  color: #333;
  text-decoration: none;
  display: block;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.main-nav {
  background-color: #f0f0f0;
  padding: 0.5em 1em;
  font-family: var(--font-sans);
  border-bottom: 1px solid #ccc;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.5em;
  margin: 0;
  padding: 0;
}

.nav-list li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 0.3em 0.6em;
  border-radius: 4px;
}

.nav-list li a:hover {
  background-color: #e0e0e0;
}

.about-header {
  text-align: center;
  margin-top: 2em;
}

.tagline {
  font-size: 1.2em;
  color: #555;
  margin-bottom: 1em;
}

.about-intro,
.about-pillars,
.about-extras {
  max-width: 700px;
  margin: 2em auto;
  padding: 0 1em;
}

.about-pillars ul,
.about-extras ul {
  list-style: none;
  padding-left: 0;
}

.about-pillars li,
.about-extras li {
  margin: 0.5em 0;
}

.about-footer {
  text-align: center;
  margin: 3em 0 1em;
  font-size: 0.9em;
  color: #888;
}

.greek-alphabet-visual {
  margin: 2em auto;
  text-align: center;
  max-width: 800px;
}

.greek-chart {
  max-width: 100%;
  height: auto;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.nav-left {
  background-color: transparent;
  font-size: inherit;
  font-weight: normal;
  padding: 0.5em 1em;
  border-bottom: 1px solid #ccc;
}

.nav-list.compact li a {
  font-size: 0.95em;
  font-weight: normal;
  background-color: transparent;
}