body {
  font-family: system-ui;
  margin: 0;
  padding: 0;
  background: #ffffff;
}

h1 {
  margin-bottom: 0.25rem;
  color: #222;
}

#logo-header h1 {
  color: #147197;
  margin-bottom: 0.1rem;
}

#logo-header .subtitle {
  margin: 0;
  color: #555;
  font-size: 1rem;
  font-weight: bold;
}

p {
  color: #555;
}

#logo-header {
  display: flex;
  align-items: flex-start;
  background-color: white;
  border-bottom: 2px solid #e9ecef;
  padding: 1.5rem 3rem;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

#logo-header a {
  text-decoration: none;
  display: inline-block;
}

#logo-header img {
  width: 80px;
  height: 80px;
  margin-right: 10px;
  align-self: flex-end;
  margin-bottom: 0.2rem;
}

#logo-header div {
  margin-left: 0.5rem;
  margin-top: -0.8rem;
}

#content {
  margin: 1.5rem auto;
  max-width: 48rem;
  padding: 1.5rem 3rem;
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  text-align: justify;
}

/* General content styling for main pages */
#content h1 {
  color: #147197;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  border-bottom: 3px solid #147197;
  padding-bottom: 0.5rem;
}

#content h2 {
  color: #147197;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

#content h3 {
  color: #333;
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

#content p {
  line-height: 1.8;
  margin-bottom: 1rem;
}

#content strong {
  color: #147197;
  font-weight: 600;
}

#content a {
  color: #147197;
  text-decoration: underline;
}

#content a:hover {
  color: #0f5a75;
}

/* Hiring block spacing */
#content .hiring-block {
  margin-top: 3rem;
  margin-left: calc(-3rem - 1px);
  margin-right: calc(-3rem - 1px);
  width: calc(100% + 6rem + 2px);
  background-color: #147197;
  color: #fff;
  padding: 2rem 3rem;
  border-radius: 0;
  box-sizing: border-box;
}

#content .hiring-block em,
#content .hiring-block strong {
  color: #fff;
}

footer {
  text-align: center;
  padding: 2rem 3rem;
  margin-top: 1.5rem;
  background-color: white;
  border-top: 2px solid #e9ecef;
  color: #555;
}

footer p {
  margin: 0;
  font-size: 0.9rem;
}

/* About page styling - minimal dictionary-like format (only on about page) */
.about-page #content {
  text-align: left; /* Override justification for about page */
}

.about-page #content h1 {
  color: #222;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  border-bottom: none; /* Remove border on about page */
  padding-bottom: 0;
}

.about-page #content p {
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.about-page #content strong {
  font-weight: 600;
  color: #222;
}

/* Style definition paragraphs (those following language names) - minimal indentation */
.about-page #content .language-definition {
  margin-left: 1.5rem;
  margin-top: 0;
  margin-bottom: 1.25rem;
  color: #555;
  font-style: normal;
  text-indent: -0.5rem;
  padding-left: 0.5rem;
}

/* Mythological reference section - simple text, no fancy boxes */
.about-page #content .mythological-section {
  margin-top: 2rem;
  margin-left: 0;
  font-style: normal;
}

/* Back link styling - simple underlined text */
.about-page #content a {
  display: inline-block;
  margin-top: 2rem;
  color: #147197;
  text-decoration: underline;
  font-weight: normal;
}

.about-page #content a:hover {
  color: #0f5a75;
}

