.glossary-attractive {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.07);
  padding: 2.5em 1.5em 2em 1.5em;
  margin: 2em auto 2em auto;
  max-width: 700px;
}
.glossary-title {
  text-align: center;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 2.6rem;
  margin-bottom: 1.2em;
  color: #0a3a66;
}
.glossary-section {
  margin-bottom: 2em;
}
.glossary-entry {
  background: #f7f8fa;
  border-left: 5px solid var(--red, #b02a45);
  margin-bottom: 1.1em;
  padding: 1em 1.2em 0.7em 1.2em;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.glossary-term {
  display: block;
  font-weight: bold;
  font-size: 1.15em;
  color: #0a3a66;
  margin-bottom: 0.2em;
}
.glossary-def {
  display: block;
  font-size: 1.05em;
  font-style: italic;
  margin-left: 0.5em;
  margin-bottom: 0.1em;
}
.glossary-def.red {
  color: var(--red, #b02a45);
}
.glossary-def.blue {
  color: #0a3a66;
}
.glossary-link {
  color: var(--red, #b02a45);
  text-decoration: underline dotted;
  cursor: pointer;
  font-weight: 600;
  transition: color 0.2s;
}
.glossary-link:hover {
  color: #0a3a66;
  text-decoration: underline solid;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3em;
  margin: 2.5em 0 1.5em 0;
}
@media (min-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 900px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.project-card {
  display: flex;
  flex-direction: column;
  background: #f7f8fa;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  padding: 1.2em 1.3em 1em 1.3em;
  text-decoration: none;
  border-left: 5px solid var(--red, #b02a45);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.project-card:hover {
  box-shadow: 0 4px 24px rgba(10,58,102,0.13);
  border-left: 5px solid #0a3a66;
}
.project-card-title {
  font-weight: bold;
  color: #0a3a66;
  font-size: 1.18em;
  margin-bottom: 0.3em;
}
.project-card-desc {
  color: #444;
  font-size: 1em;
}
