@import url('https://fonts.googleapis.com/css2?family=Lora:wght@500&family=Open+Sans:wght@400&display=swap');

:root {
  --bg-primary: #000000;
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);
  --border-primary: rgba(255, 255, 255, 0.2);
  --accent-primary: #FFFFFF;
  --accent-secondary: #FFFFFF;
  --heading-secondary: #FFFFFF;
  --pipe-color: rgba(255, 255, 255, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

header {
  text-align: center;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-primary);
  padding-bottom: 2rem;
}

h1 {
  font-family: 'Lora', serif;
  font-size: 1.85rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  line-height: 1.3;
  color: var(--accent-secondary);
}

.institutions {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
}

.contributors {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex: 1;
}

main {
  width: 100%;
  text-align: center;
}

.essays-list {
  list-style: none;
}

.essay-item {
  margin-bottom: 2.5rem;
}

.essay-date {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.pipe {
  margin: 0 0.75rem;
  color: var(--pipe-color);
}

.essay-title {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
  text-decoration: none;
  display: block;
  transition: all 0.2s ease-in-out;
}

.essay-title:hover {
  text-decoration: underline;
  color: var(--accent-secondary);
}

.essay-author {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

aside {
  border-top: 1px solid var(--border-primary);
  padding: 2rem 0;
  text-align: center;
}

aside h3 {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--heading-secondary);
}

aside nav ul {
  list-style: none;
  display: inline-flex;
  flex-direction: column;
  gap: 0.5rem;
}

aside nav ul li a {
  color: var(--accent-primary);
  text-decoration: none;
  font-size: 1rem;
  display: block;
  transition: all 0.2s ease-in-out;
}

aside nav ul li a:hover {
  text-decoration: underline;
  color: var(--accent-secondary);
}

footer {
  margin-top: auto;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-primary);
}

.logos {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.logo {
  height: 2.5rem;
  width: auto;
  opacity: 0.9;
}

.disclaimer {
  color: var(--text-muted);
  text-align: center;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
  }
  
  main, aside {
    text-align: left;
  }

  aside {
    border-top: none;
    padding: 0;
    border-left: 1px solid var(--border-primary);
    padding-left: 2rem;
  }
  
  aside nav ul {
    display: flex;
  }

  h1 {
    font-size: 2.25rem;
  }

  .essay-title {
    font-size: 1.25rem;
  }

  .logos {
    flex-direction: row;
  }
}

@media (min-width: 992px) {
  .content-wrapper {
    grid-template-columns: 3fr 1fr;
    gap: 3rem;
  }
}