
h6, .h6, .card__image .name, .gallery__item .name, .overline {
  font-size: 0.875rem;
}

.gallery__item {
  display: inline-block;
  position: relative;
  border-radius: 3px;
  overflow: hidden;
}
.gallery__item .button--primary {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
}
.gallery__item figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  color: #fff;
  text-align: left;
  padding: 2rem 12px 7px;
  width: 100%;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8) 100%);
  opacity: 0;
  transition: 0.6s ease;
}
.gallery__item figcaption a {
  color: #fff;
}
.gallery__item .avatar {
  margin: 3px 6px 3px 0;
}
.gallery__item .name {
  display: inline-block;
  vertical-align: middle;
  margin: 3px 0;
}
.gallery__item small {
  opacity: 0.7;
}
.gallery__item:hover figcaption, .gallery__item.featured figcaption {
  opacity: 1;
  transition: 0.3s ease;
}

.gallery {
  position: relative;
  z-index: 10;
}
.gallery--simple {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: center;
  align-items: center;
  text-align: center;
  margin: 0 -0.5rem;
}
.gallery--simple .gallery__item {
  margin: 0.5rem;
}
.gallery--simple .gallery__image {
  position: absolute;
  vertical-align: bottom;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery--simple .gallery__pusher {
  display: block;
}
.gallery--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-auto-rows: 0;
  grid-auto-flow: dense;
  grid-gap: 1rem;
  overflow: hidden;
}
.gallery--grid .gallery__item {
  grid-column-start: auto;
  grid-row-start: auto;
}
.gallery--grid .gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
}
.gallery--grid .gallery__item.landscape.featured {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery--grid .gallery__item.portrait {
  display: none;
  grid-row: span 2;
}
.gallery--grid .gallery__item.square.featured {
  grid-column: span 2;
  grid-row: span 3;
}
.gallery--grid .gallery__image {
  height: 100%;
  width: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 3px;
}
@media screen and (min-width: 768px) {
  .gallery--grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-template-rows: auto;
    grid-auto-rows: minmax(150px, auto);
  }
  .gallery--grid .gallery__item.portrait {
    display: block;
  }
}
@media screen and (min-width: 992px) {
  .gallery--grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
}

.card {
  position: relative;
  color: #404756;
  border-radius: 3px;
  background-color: #fff;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.09);
}

.card__title {
  text-align: center;
  padding: 1.5rem;
  padding-bottom: 0;
}

.card__preview {
  padding: 5px;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
}
.card__preview + .card__content {
  margin-top: -75px;
}
.card__preview + .card__content .avatar {
  padding: 5px;
  margin-bottom: 1rem;
}

.card__image {
  position: relative;
  padding: 1.5rem;
  padding-bottom: 0;
  margin: 0;
}
.card__image > img {
  border-radius: 3px;
}
.card__image figcaption {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 0;
  text-align: left;
  color: #fff;
  padding: 2rem 12px 10px;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.45) 100%);
  transition: 0.6s ease;
}
.card__image figcaption a {
  color: currentColor;
}
.card__image .avatar {
  margin: 3px 6px 3px 0;
}
.card__image .name {
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
  margin: 3px 0;
}
.card__image small {
  color: currentColor;
  opacity: 0.7;
}
.card__image--wide {
  padding: 5px;
}
.card__image--wide figcaption {
  left: 5px;
  right: 5px;
  bottom: 5px;
}

.card__content {
  position: relative;
  padding: 1.5rem;
}

.card__footer {
  padding: 1.5rem;
  padding-top: 0;
  margin-top: auto;
  vertical-align: top;
}
.card__footer--border {
  text-transform: uppercase;
  text-align: center;
  padding: 0.25rem 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.09);
}

.card .overline {
  margin: 0 0 0.5rem;
}
.card .overline i[class^=fa] {
  margin-right: 0.25rem;
}
.card .date {
  margin: 0.75rem 0 1.5rem;
}
.card p, .card small {
  color: rgba(64, 71, 86, 0.5);
}
.card figcaption small {
  color: currentColor;
}
.card hr {
  margin: 0;
}

blockquote.card {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-style: normal;
  min-width: 45%;
  max-width: none;
  padding: 1.5rem;
}
blockquote.card::before {
  display: none;
}
blockquote.card p {
  font-size: 1.125rem;
  font-style: normal;
  line-height: 1.35;
  margin-top: 0;
}
blockquote.card strong {
  font-weight: normal;
  color: #404756;
}
blockquote.card cite {
  display: block;
  font-size: 0.875rem;
  font-style: normal;
  color: #404756;
}
blockquote.card cite a {
  color: #404756;
}
blockquote.card cite a:hover {
  color: #3f8ee9;
}
blockquote.card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 1.2;
  padding-top: 0.5rem;
  margin-top: auto;
}
blockquote.card footer::before {
  display: none;
}
@media screen and (min-width: 992px) {
  blockquote.card {
    min-width: auto;
  }
}

.card.card--plan {
  display: flex;
  color: rgba(64, 71, 86, 0.5);
  text-align: center;
}
.card.card--plan .card__content {
  width: 100%;
  padding: 2rem 1.5rem 1rem;
}
.card.card--plan .heading {
  color: #404756;
}
.card.card--plan .price {
  color: #3f8ee9;
}
.card.card--plan small {
  display: block;
  margin: 0.5rem 0 1.5rem;
}

.card.card--poster {
  display: flex;
  flex-direction: column;
}
.card.card--poster .date {
  margin-top: -3.75rem;
}
.card.card--poster .card__poster {
  padding: 4px;
}

.card.card--center {
  max-width: 340px;
}
.card.card--center .card__footer {
  padding-bottom: 3rem;
}

.card.card--flat {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.09);
}

.card.card--float {
  box-shadow: 0 6px 21px rgba(0, 0, 0, 0.11), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.card.card--lift {
  transition: transform 0.65s ease, box-shadow 0.65s ease;
}
.card.card--lift:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 4px 17px 0 rgba(33, 33, 33, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.09);
}

.avatar__outer {
  position: relative;
  text-align: center;
  width: 100%;
}

.avatar {
  appearance: none;
  position: relative;
  display: inline-block;
  font-size: 10px;
  text-align: center;
  max-width: 48px;
  vertical-align: middle;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: #fff;
  outline: none;
}
.avatar.pull-left {
  margin-right: 0.75rem;
}
.avatar.pull-right {
  margin-left: 0.75rem;
}
.avatar__image {
  display: block;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: bottom;
}
.avatar--xxs {
  max-width: 21px;
}
.avatar--xs {
  max-width: 28px;
}
.avatar--sm {
  max-width: 36px;
}
.avatar--md {
  max-width: 48px;
}
.avatar--lg {
  max-width: 100px;
}
.avatar--xl {
  max-width: 160px;
}
.avatar--notify::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -6px;
  display: inline-block;
  height: 12px;
  width: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #3f8ee9;
}
.avatar--premium::after {
  display: inline-block;
  position: absolute;
  bottom: -4px;
  right: -4px;
  content: "";
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  text-align: center;
  color: #3f8ee9;
  padding-top: 3px;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background-color: #fff;
}
.avatar--premium.avatar--sm::after {
  bottom: -6px;
  right: -6px;
}
.avatar--premium.avatar--xl::after {
  bottom: 6%;
  right: 6%;
}

.list__faces {
  display: none;
  text-align: center;
  padding: 0;
  margin: 0;
}
.list__faces li {
  display: inline-block;
  margin: 0 0.75rem 1rem;
}
.list__faces figure {
  max-width: 148px;
}
.list__faces figure:hover img {
  transform: scale(1.1);
}
.list__faces img {
  max-width: 100%;
  border: 8px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.09);
  transform: translate3d(0);
  transition: transform 0.3s ease;
}
.list__faces figcaption {
  font-family: "Vollkorn", "Georgia", serif;
  font-style: italic;
  font-size: 1.25rem;
  color: #666;
  margin-top: 1rem;
}
@media screen and (min-width: 768px) {
  .list__faces {
    display: block;
  }
}

body.body--display {
  overflow: hidden;
}
body.body--display .site__content {
  position: relative;
  padding: 0;
  background-color: #222;
}

.display__options {
  position: fixed;
  top: 0;
  right: 0;
  text-align: right;
  padding: 1.5rem;
  z-index: 200;
}

.display {
  display: flex;
  height: 100%;
  width: 100%;
  transform: translateX(0);
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  transition: 0.3s ease;
}
.display--sidebar {
  transform: translateX(-400px);
  transform: translate3d(-400px, 0, 0);
}

.display__canvas {
  flex: 1;
  display: flex;
  width: 100%;
  height: 100vh;
  padding: 2rem;
  overflow: auto;
}
.display__canvas--zoom {
  padding: 0;
}
.display__canvas--zoom .display__media {
  width: 100%;
  border-radius: 0;
  box-shadow: none;
  cursor: url(/assets/icons/zoom-minus.png) 20 20, auto;
}
.display__canvas--zoom .display__media img {
  height: auto;
  width: auto;
  max-height: unset;
  max-width: unset;
}

.display__media {
  display: block;
  margin: auto;
  border-radius: 3px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  cursor: url(/assets/icons/zoom-plus.png) 20 20, auto;
}
.display__media img {
  height: auto;
  width: auto;
  max-height: calc(100vh - 4rem);
  max-width: 100%;
}

.display__sidebar {
  display: block;
  position: absolute;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100%;
  color: #fff;
  padding: 4rem 1.5rem 1.5rem;
  border-left: 1px solid #333;
  background: #222;
  overflow: hidden;
}
.display__sidebar hr {
  border-bottom-color: #333;
}
.display__sidebar .comment__list {
  margin-top: 3rem;
}

.comment__list {
  padding: 0;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  list-style: none;
}
.comment__list .comment {
  padding: 0;
  box-shadow: none;
  background: none;
}

.comment {
  position: relative;
  padding: 1.5rem;
  border-radius: 3px;
  background-color: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.09);
}
.comment:not(:last-of-type) {
  margin-bottom: 1.5rem;
}
.comment .avatar {
  float: left;
}
.comment .comment__content {
  margin-left: 3.5rem;
  overflow: hidden;
}

.comment__text {
  color: #888;
  overflow: hidden;
}
.comment__text p {
  font-size: 1rem;
  line-height: 1.4;
  margin: 0 0 0.5rem;
}

.comment__compose {
  overflow: hidden;
  margin: 1rem 0 1rem;
}
.comment__compose textarea {
  color: #888;
  border: 1px solid #333;
  background: rgba(0, 0, 0, 0.1);
}
.comment__compose textarea:focus {
  background: #fff;
}

body.body--index .banner:first-of-type {
  background-image: linear-gradient(to bottom, #e3f2ff, rgba(255, 255, 255, 0));
}
@media screen and (max-width: 768px) {
  .gallery__item:not(.featured) {
    display: none;
  }
}
