/**
 * @file
 * Author page styles.
 */

.author-detail__banner {
  position: relative;
  z-index: 0;
  margin-bottom: 2.5rem;
  height: 190px;
}

@media (min-width: 768px) {
  .author-detail__banner {
    height: 348px;
  }
}

@media (min-width: 992px) {
  .author-detail__banner {
    height: 450px;
  }
}

@media (min-width: 1260px) {
  .author-detail__banner {
    height: 571px;
  }
}

.author-detail__banner-image {
  position: absolute;
  width: 100vw;
  height: 100%;
  top: 0;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  z-index: -1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.author-detail__profile {
  margin-bottom: 2.5rem;
  font-family: Amnesty Trade Gothic Cn18, sans-serif;
}

@media (min-width: 768px) {
  .author-detail__profile {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
}

.author-detail__profile--image {
  width: 6.25rem;
  height: 6.25rem;
  margin: 0 auto 0.313rem;
  border: 4px solid #ff0;
  border-radius: 50%;
  overflow: hidden;
}

@media (min-width: 768px) {
  .author-detail__profile--image {
    margin: 0 0 0.313rem;
  }
}

.author-detail__profile--image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.author-detail__profile--position {
  font-size: 1.125rem;
  text-align: center;
}

.author-detail__profile--intro {
  font-size: 1.125rem;
}

.author-detail__profile-right {
  text-align: center;
  margin-top: 0.625rem;
}

@media (min-width: 768px) {
  .author-detail__profile-right {
    padding-left: 1.125rem;
    text-align: left;
    margin-top: 0;
  }
}

@media (min-width: 768px) {
  .author-detail__view-title {
    max-width: calc(100% - 200px);
  }
}

@media (min-width: 992px) {
  .author-card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
  }
}

.author-card__text {
  padding: 1.25rem;
}

@media (min-width: 992px) {
  .author-card__text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-flex: 1;
    -ms-flex: 1 0 55%;
    flex: 1 0 55%;
    max-width: 55%;
  }
}

.author-card__text--title-prefix {
  display: inline-block;
  font-family: Amnesty Trade Gothic BdCn20, sans-serif;
  font-size: 0.875rem;
  background-color: #000;
  color: #fff;
  text-transform: uppercase;
  padding: 5px 10px;
}

.author-card__text--title {
  margin: 0 0 1.25rem;
  text-transform: uppercase;
}

.author-card__text--title a {
  display: inline-block;
  color: #000;
  padding: 0.5rem;
  font-size: 1.125rem;
  background-color: #e5e5e5;
  text-decoration: none;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#000), to(#000));
  background-image: linear-gradient(#000, #000);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  -webkit-transition: background-size 0.3s;
  transition: background-size 0.3s;
}

.author-card__text--title a:hover,
.author-card__text--title a:focus {
  background-size: 100% 2px;
  text-decoration: none;
}

.author-card__text--link {
  display: inline-block;
  color: #000;
  font-weight: bold;
  padding: 0.313rem;
  border: 2px solid #000;
  text-transform: uppercase;
  font-size: 0.875rem;
  -webkit-transition: 0.4s ease;
  transition: 0.4s ease;
}

@media (min-width: 768px) {
  .author-card__text--link {
    padding: 0.313rem 0.75rem;
  }
}

.author-card__text--link:hover,
.author-card__text--link:focus {
  background-color: #ff0;
  -webkit-transition: 0.4s ease;
  transition: 0.4s ease;
  color: #000;
}

.author-card__text--intro-text {
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

.author-card__image {
  max-height: 12.5rem;
  overflow: hidden;
}

@media (min-width: 992px) {
  .author-card__image {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 45%;
    flex: 1 0 45%;
    max-width: 45%;
    max-height: 100%;
  }
}

.author-card__image img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.view-id-author.view-display-id-block_1 {
  position: relative;
}

.view-id-author.view-display-id-block_1 .view-content {
  position: relative;
  padding-top: 0.625rem;
  margin: 0.625rem 0 3.75rem;
}

@media (min-width: 768px) {
  .view-id-author.view-display-id-block_1 .view-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0.625rem -1.25rem 2.5rem;
  }
}

.view-id-author.view-display-id-block_1 .view-content:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: #e5e5e5;
}

@media (min-width: 768px) {
  .view-id-author.view-display-id-block_1 .view-content:before {
    width: calc(100% - 40px);
    left: 1.25rem;
  }
}

.view-id-author.view-display-id-block_1 .view-header {
  color: #939598;
  font-family: Amnesty Trade Gothic Cn18, sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .view-id-author.view-display-id-block_1 .view-header {
    position: absolute;
    right: 0;
    top: -2.125rem;
    font-size: 1.125rem;
  }
}

.view-id-author.view-display-id-block_1 .views-row {
  margin: 2.5rem 0;
  -webkit-box-shadow: 2px 2px 6px #e5e5e5;
  box-shadow: 2px 2px 6px #e5e5e5;
}

@media (min-width: 768px) {
  .view-id-author.view-display-id-block_1 .views-row {
    -webkit-box-flex: 0;
    -ms-flex: 0 1 calc(50% - 40px);
    flex: 0 1 calc(50% - 40px);
    max-width: calc(50% - 40px);
    margin: 1.25rem;
  }
}

.view-id-author.view-display-id-block_1 .views-row:first-of-type {
  margin-top: 1.25rem;
}