@import url('./colors/vars.css');

/* ARCHIVE */
#marsal-people,
.people-wrapper {
  margin: 2rem 1rem;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  row-gap: 2rem;
  column-gap: 2rem;
}
li.person {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
}
li.person .featured-image,
li.person .featured-image a {
  width: 100%;
  display: block;
  text-align: center;
  line-height: 0;
}
li.person .featured-image img {
  width: 100%;
}
li.person .featured-image.no-image {
  height: 100%;
  border-left: solid 2px var(--royal-blue);
  border-top: solid 2px var(--royal-blue);
  border-right: solid 2px var(--royal-blue);
}
li.person .featured-image.no-image a {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}
li.person .featured-image.no-image i {
  font-size: 9rem;
}
li.person a.name {
  width: 100%;
  text-align: center;
  padding: .5rem 0;
  background-color: var(--royal-blue);
  color: var(--white) !important;
}
li.person a.name:hover {
  color: var(--um-blue) !important;
}
/* SINGLE PAGE */
.people-wrapper {
  grid-template-areas: 
    "people-image"
    "people-details"
    "people-content";
}
.people-wrapper  .featured-image.people {
  grid-area: people-image;
}
.people-wrapper .featured-image.people.no-image {
  border: solid;
  padding: 2rem;
  display: flex;
  justify-content: center;
  font-size: 10rem;
  background-color: var(--grey-blue);
}
.people-wrapper .people-title-details {
  grid-area: people-details;
}
.people-wrapper .people-title-details span {
  display: block;
  margin-bottom: .5rem;
}
.people-wrapper .people-content {
  grid-area: people-content;
}

/* FONT CHOICES */
body.oswald .people-wrapper .person-details span {
  font-size: 1.25rem
}

@media screen and (min-width: 37.5rem) /* 600px */ {
  #marsal-people {
    grid-template-columns: 1fr 1fr;
  }
  .people-wrapper {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
      "people-image people-details"
      "people-content people-content";
  }
}
@media screen and (min-width: 48rem) /* 768px */ {
  #marsal-people {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media screen and (min-width: 64rem) /* 1024px */ {
  #marsal-people {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .people-wrapper {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas: 
      "people-image people-details people-details"
      "people-content people-content people-content";
    margin-left: 5.5rem;
    margin-right: 5.5rem;
  }
}

@media screen and (min-width: 76rem) /* 1217px */ {
  .people-wrapper {
    margin-left: 6.5rem;
    margin-right: 6.5rem;
  }
}

@media screen and (min-width: 88rem) /* 1408px */ {
}