/* Author cover section */

.page-template-author {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

.page-template-author .not-found-container {
  max-width: 980px;
  margin-top: 70px !important;
}

.page-template-author .gridlove-not-found {
  margin: 10vh auto 10vh;
}

.page-template-author .gridlove-not-found .box-inner-p-bigger {
  padding: 40px 60px 50px !important;
  box-shadow: 0 3px 8px 2px rgba(0, 0, 0, .1) !important;
}

.page-template-author .gridlove-footer {
  margin-top: auto;
}

body.page-template-author .author-cover {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.author-cover__inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1230px;
  margin: 0 auto;
  padding: 30px;
}

.author-cover__avatar {
  width: 310px;
  height: 310px;
  margin-right: 34px;

  position: relative;

  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.author-cover__avatar img {
  width: 250px;
  max-width: unset !important;
  height: 250px;

  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  border-radius: 50%;

  object-fit: cover;
  object-position: center;
}

.author-cover__info {
  font-family: 'Roboto', sans-serif;
}

.author-cover__name {
  margin: 0;

  font-size: 61px;
  font-weight: 700;
  line-height: 1 !important;
  color: #fff
}

.author-cover__position {
  margin-bottom: 10px !important;

  font-size: 19px;
  font-weight: 400;
  line-height: 1.42em;
  color: rgba(255, 255, 255, 0.8);
}

.author-cover__counter {
  display: inline-block;

  font-size: 12px;
  font-weight: 500;
  line-height: 1.17em;
  color: #fff;
}

.author-cover__counter:not(:last-child) {
  margin-right: 25px;
}

.author-cover__counter::before {
  font-family: 'FontAwesome';
  margin-right: 5px;
}

.author-cover__counter_posts::before {
  content: '\f0f6';
}

.author-cover__counter_views::before {
  content: '\f06e';
}

/* Author posts section */

.author-posts__inner {
  width: 100%;
  max-width: 1230px;
  margin: 0 auto;
  padding: 30px;
}

.author-posts__breadcrumbs {
  display: flex;
  align-items: center;
}

.author-posts__breadcrumbs-item {
  position: relative;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 15px;
  text-align: center;
}

.author-posts__breadcrumbs-item:not(:last-child) {
  margin-right: 24px;
}

.author-posts__breadcrumbs-item:not(:last-child)::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);

  background-image: url(../../img/custom/svg/triangle.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 3px 6px;
}

.author-posts__breadcrumbs-item_simple {
  font-size: 18px;
  font-weight: 700;
  color: #6C6C6C;
}

.author-posts__item {
  padding: 6px 12px;
}

.author-posts__no-results {
  padding: 50px 0;
  color: #aaa;
  text-align: center;
}

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

  .author-cover {
    margin-top: 70px;
  }

}

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

  .author-cover__inner {
    max-width: 800px;
  }

  .author-cover__avatar {
    width: 250px;
    height: 250px;
  }

  .author-cover__avatar img {
    width: 200px;
    height: 200px;
  }

  .author-cover__name {
    font-size: 42px;
  }

  .author-cover__position {
    margin-bottom: 6px !important;
  }

}

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

  .author-cover__avatar {
    background-image: url(../img/png/avatar-border-sm.png);
  }

  .author-cover__avatar {
    width: 222px;
    height: 222px;
  }

  .author-cover__avatar img {
    width: 170px;
    height: 170px;
  }

  .author-cover__name {
    font-size: 36px;
  }

}

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

  .author-cover {
    background-position: 0 center;
  }

  .author-cover__inner {
    padding: 39px 30px;
    flex-direction: column;
  }

  .author-cover__avatar {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .author-cover__info {
    text-align: center;
  }

  .author-cover__name {
    font-size: 30px;
  }

}

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

  body.page-template-author .gridlove-not-found .box-inner-p-bigger {
    padding: 20px !important;
    box-shadow: none !important;
  }

  body.page-template-author .gridlove-not-found .gridlove-search-form {
    display: flex;
    flex-direction: column;
  }

  body.page-template-author .gridlove-not-found .gridlove-search-form input {
    width: 100% !important;
    max-width: unset !important;
  }

  body.page-template-author .gridlove-not-found .gridlove-search-form .gridlove-button-search {
    margin-top: 10px;
  }

  .author-cover {
    margin-top: 50px;
  }

  .author-posts__inner {
    max-width: 410px;
    padding: 30px 18px;
  }

  .author-posts .gridlove-posts {
		margin-left: 0 !important;
		margin-right: 0 !important;
    padding: 0;
	}
  
}
