* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: black;
  background-image: url("https://www.transparenttextures.com/patterns/otis-redding.png");
  background-repeat: repeat;
}

body {
  padding: 50px;
  font: max(1.5vmin, 20px) "Oswald", sans-serif !important;
  color: white;
}

a {
  text-decoration: underline !important;
  color: lightblue !important;
}

a:hover {
  color: white !important;
}

p, li {
  line-height: 1.6;
  color: #ccc;
  font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.6;
  color: white;
  font-weight: 300;
}

li {
  margin-top: 15pt;
  margin-bottom: 15pt;
}

hr {
  display: block;
  border: 0;
  border-top: 1px solid #333;
  margin: 2vmin 10%;
}

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

/* Sidebar and Content Columns */
.col-sidebar {
  flex: 0 0 25%;
  max-width: 25%;
  padding-right: 15px;
  padding-left: 15px;
  position: sticky;
  top: 50px;
  align-self: flex-start;
  height: fit-content;
}

.col-content {
  flex: 0 0 75%;
  max-width: 75%;
  padding-right: 15px;
  padding-left: 15px;
}

@media (max-width: 992px) {
  .col-sidebar, .col-content {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .col-sidebar {
    position: static;
    margin-bottom: 20px;
  }
}

h2 {
  text-align: center;
  text-transform: uppercase;
  margin-top: 4vmin;
  margin-bottom: 2vmin;
}

h2::after {
  content: "";
  display: block;
  width: 75%;
  border-bottom: 1px solid #333;
  margin: 1vmin auto 0 auto;
}

.page-title {
  text-align: center;
  text-transform: uppercase;
  font-size: max(4vmin, 24px);
  margin: 2vmin 0;
}

.logo-nav-bar {
  text-align: center;
}

.page-header-image {
  width: 90%;
  aspect-ratio: 32 / 9;
  background-color: #222;
  border: 1px solid #333;
  margin: 0 auto 2vmin auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 1.5em;
  font-weight: bold;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.image-caption {
  position: absolute;
  bottom: 5px;
  left: 5px;
  background-color: black;
  color: white;
  padding: 5px 10px;
  font-size: 1.6rem;
  font-weight: normal;
  max-width: 100%;
}

@media (max-width: 992px) {
  .image-caption {
    font-size: 0.8rem;
  }
}

.nav-bar-title {
  font-size: max(2vmin, 22px);
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  max-width: 200px;
  margin: 0 auto;
}

.nav-bar-subtitle {
  font-size: max(1.5vmin, 18px);
  color: #888;
  font-weight: 300;
}

.nav-box {
  text-align: center;
  margin-top: 10pt;
  margin-bottom: 10pt;
}

.nav-link-text {
  display: block;
  width: 100%;
  padding: 10pt 0;
  text-decoration: none !important;
  color: #888 !important;
  font: max(1.5vmin, 20px) "Oswald", sans-serif;
  transition: color 0.2s;
}

.nav-link-text:hover {
  color: white !important;
}

.nav-link-text.active {
  color: white !important;
  font-weight: bold;
}

.member-name {
  font-size: 1.2em;
  font-weight: bold;
  color: white;
}

.references-list {
  padding-left: 0;
  list-style: none;
}

.reference-item {
  padding-left: 2em;
  text-indent: -2em;
  margin-bottom: 1em;
  font-size: 0.9em;
}

.committee-member h3 {
  margin-bottom: 0;
}

.committee-member p {
  margin-top: 0;
}

.committee-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.committee-member-card {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 15px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .committee-member-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.member-name-row h3 {
  margin-top: 0;
  margin-bottom: 10px;
  border-bottom: 1px solid #333;
  padding-bottom: 5px;
}

.member-content-row {
  display: flex;
  gap: 20px;
}

.member-image-box {
  flex: 0 0 200px;
  height: 250px;
  background-color: #222;
  border: 1px solid #444;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 0.8em;
}

.member-details {
  flex: 1;
}

.member-details p {
  margin: 0 0 10px 0;
}

.member-bio {
  font-style: italic;
  font-size: 0.9em;
  color: #bbb;
}

/* Page management */
.page {
  display: none;
}

.page.active {
  display: block;
}

/* Utility */
.d-none { display: none; }
@media (min-width: 992px) {
  .d-lg-block { display: block; }
}
