:root {
  --primary: #1f4d3a;
  --secondary: #c8a23a;
  --light-primary: #2e6b50;
  --dark-black: #2b2b2b;
  --light-gray: #f7f5f0;
}

/*team content wrapper */
.members-wrapper {
  margin-top: 0px !important;
}
.members-section {
  padding-top: 32px;
}
.team-content-wrapper {
  margin-left: 37px;
  margin-right: 37px;
}

/* Team department image */
.team-overview-wrapper {
  padding-bottom: 0px;
}
.team-overview-wrapper img {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}

/* Typography */
.team-content-wrapper * {
  color: var(--dark-black);
}

.team-content-wrapper a:hover {
  color: var(--light-primary);
  text-decoration: underline;
}

h3,
.meeting-info-wrapper h4,
.meeting-links-wrapper h4 {
  text-align: center;
}

.elections-content-wrapper .elections-list {
  list-style-type: disc;
  padding-left: 1.5rem;
}
.elections-content-wrapper .elections-list li {
  display: list-item;
}

/* Elections */
.elections-content-wrapper a {
  color: var(--light-primary);
}
.elections-content-wrapper a:hover {
  color: var(--light-primary);
  text-decoration: underline;
}

/* mobile */
@media (max-width: 767px) {
  .top-row-wrapper {
    display: none;
  }
  .members-wrapper h3 {
    display: block;
    margin-top: 30px;
  }
  .members-wrapper {
    padding-left: 10px;
    padding-right: 10px;
    margin: auto;
    margin-bottom: 30px;
  }

  .object-inline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  .object-inline a {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* TODO: shares the same as homepage make global */
h1 {
  color: white;
  font-weight: bold;
  margin: 0px;
}
h4 {
  font-weight: bold;
}

.text-header {
  font-weight: bold;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0;
}

.light-link {
  color: var(--primary);
  text-decoration: none;
}
.light-link:hover {
  color: var(--light-primary);
  text-decoration: underline;
}

/* Media layout */
/* media text */
@media (min-width: 1200px) {
  .text-header {
    max-width: 85%;
  }
}
@media (min-width: 768px) {
  .text-header {
    font-size: 24px;
  }
}
