.region-content {
  overflow: hidden;
}

.page-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.page-sidebar, .region-sidebar-first {
  background-color: white;
}

.region-sidebar-first {
  width: 100%;
}

.page-sidebar ul {
  list-style-type: none;
  margin-top: 0;
}

.page-sidebar li {
  line-height: 1.6rem;
}

.page-sidebar li a {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 20px;
  padding: 5px 10px 5px 18px;
}

.slc-card {
  width: 340px;
  max-width: 340px;
}

#subject-filter {
  width: 100%;
  max-width: 340px;
}

.profile-row {
  display: flex;
  gap: 10px 20px;
  justify-content: space-between;
  width: 100%;
  padding: 20px 10px;
}

.views-row:nth-child(odd) .profile-row {
  background-color: var(--bg-gray);
}

.views-row:nth-child(even) .profile-row {
  background-color: white;
}

.pr-name, .pr-email, .pr-position {
  width: 33.33%;
  text-align: left;
}

#our-people-header {
  display: flex;
  width: 100%;
  gap:10px 20px;
  justify-content: space-between;
  padding: 20px 10px;
  background-color: var(--bg-dark-red);
}

#op-name, #op-pos, #op-email {
  width: 33.33%;
  text-align: left;
  font-weight: bold;
  font-size: 1.4rem;
  color: white;
}

@media screen and (max-width: 1348px) {

}

@media screen and (max-width: 1178px) {
  .sub-page {
    background-image: none;
    background: linear-gradient(to bottom, rgba(60,60,60,1) 0%,rgba(0,0,0,1) 100%);
    background-image: linear-gradient(rgb(60, 60, 60) 0%, rgb(0, 0, 0) 100%);
    border-radius: 10px 10px 0px 0px;
  }

  #our-people-header {
    display: none;
  }

  .profile-row {
    flex-direction: column;
  }

  .pr-name, .pr-position, .pr-email {
    width: 100%;
  }
  .view-our-people {
    width: calc(100% - 20px);
  }
}

@media screen and (max-width: 958px) {

}

@media screen and (max-width: 768px) {

  .region-content {
    width: 100%;
  }

  .page-content {
    flex-direction: column;
    gap: 0px;
    padding-top: 0;
  }

  .page-sidebar {
    border-top: 0;
  }
  
}

@media screen and (max-width: 565px) {
  #profile-wrapper {
    flex-direction: column;
  }
}
