/*
 * Writer profile page styling, ported directly from `templates/GAH/css/writers.css`.
 */

.writer-details {
  margin: 40px auto;
  font-family: "robotoregular", sans-serif;
  max-width: 1200px;
  padding: 0 15px;
}

.writer-details .writer-profile {
  border: solid 1px #e6e6e6;
  padding: 30px;
  background: #fff;
  border-radius: 3px;
  display: flow-root;
}

.writer-details .writer-profile figure {
  display: inline-block;
  width: 140px;
  height: 140px;
  float: left;
  margin: 0;
}

.writer-details .writer-profile figure img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
}

.writer-details .writer-profile article {
  display: inline-block;
  float: right;
  width: 82%;
}

.writer-details .writer-profile article h1 {
  font-size: 20px;
  margin: 0 0 5px 0;
  font-family: "robotomedium", sans-serif;
  color: #1d1d1d;
  font-weight: normal;
}

.writer-details .writer-profile article p {
  font-size: 14px;
  line-height: 20px;
  color: #616161;
  margin: 0 0 10px 0;
}

.writer-details .writer-profile article .rating {
  margin-bottom: 15px;
}

.writer-details .writer-profile article .rating img {
  display: inline-block;
  height: auto;
}

.writer-details .writer-profile article span {
  display: inline-block;
  margin-right: 15px;
  background: #f5f5f5;
  padding: 6px 15px;
  border-radius: 3px;
  font-size: 14px;
  color: #616161;
}

.writer-details .writer-profile article span strong {
  color: #2db261;
  font-size: 18px;
  font-family: "robotomedium", sans-serif;
  margin-right: 5px;
}

.writer-details .writer-profile article span + span strong {
  color: #339ed6;
}

.writer-details .writer-profile article a {
  background: #f58e0e;
  color: #fff !important;
  padding: 8px 25px;
  border-radius: 3px;
  font-size: 16px;
  font-family: "robotomedium", sans-serif;
  display: inline-block;
  text-decoration: none;
  float: right;
}

.writer-details .writer-profile article a:hover {
  background: #e07f06;
}

.writer-details .subjects {
  border: solid 1px #e6e6e6;
  border-top: none;
  padding: 25px 30px;
  background: #fff;
}

.writer-details .subjects h3 {
  font-size: 18px;
  font-family: "robotomedium", sans-serif;
  color: #1d1d1d;
  margin: 15px 0 10px 0;
}

.writer-details .subjects h3:first-child {
  margin-top: 0;
}

.writer-details .subjects ul {
  list-style: none;
  padding: 0 0 20px 0;
  margin: 0 0 20px 0;
  border-bottom: solid 1px #e6e6e6;
}

.writer-details .subjects ul li {
  border: solid 1px #2f9ce8;
  color: #15629c;
  border-radius: 8px;
  font-size: 13px;
  padding: 5px 15px;
  display: inline-block;
  margin: 0 5px 5px 0;
  list-style: none;
}

.writer-details .subjects ul li::before {
  content: none !important;
}

.writer-details .subjects p {
  font-size: 14px;
  line-height: 22px;
  color: #434343;
  margin: 0;
}

.writer-details .writer-chat {
  border: solid 1px #e6e6e6;
  border-top: none;
  padding: 25px 30px;
  background: #fff;
}

.writer-details .writer-chat .writer-feedback {
  margin: 10px 0;
}

.writer-details .writer-chat .writer-feedback h4 {
  font-size: 16px;
  font-family: "robotomedium", sans-serif;
  color: #66a70a;
  margin: 0 0 10px 0;
}

.writer-details .writer-chat .writer-feedback article {
  background: #fbfbfb;
  border: solid 1px #e6e6e6;
  padding: 20px;
  margin: 5px 0 20px 0;
  border-radius: 3px;
  display: flow-root;
}

.writer-details .writer-chat .writer-feedback article .customer-message {
  width: 80%;
  float: left;
}

.writer-details .writer-chat .writer-feedback article .customer-message figure {
  display: inline-block;
  width: 60px;
  height: 60px;
  float: left;
  margin: 0;
}

.writer-details .writer-chat .writer-feedback article .customer-message figure img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.writer-details .writer-chat .writer-feedback article .customer-message .right {
  display: inline-block;
  float: right;
  width: 86%;
}

.writer-details .writer-chat .writer-feedback article .customer-message .right small {
  font-size: 13px;
  color: #616161;
  display: flex;
  align-items: center;
  gap: 6px;
}

.writer-details .writer-chat .writer-feedback article .customer-message .right blockquote {
  background: #e6e6e6;
  padding: 12px 15px;
  position: relative;
  font-size: 14px;
  line-height: 20px;
  color: #343434;
  border-radius: 5px;
  margin: 8px 0 0 0;
  quotes: none;
}

.writer-details .writer-chat .writer-feedback article .customer-message .right blockquote:before {
  content: "";
  background: url("/images/bloquote-icon.png") no-repeat;
  width: 21px;
  height: 27px;
  bottom: -7px;
  left: -13px;
  position: absolute;
}

.writer-details .writer-chat .writer-feedback article .writer-message {
  width: 92%;
  float: right;
  margin-top: 15px;
}

.writer-details .writer-chat .writer-feedback article .writer-message figure {
  display: inline-block;
  width: 60px;
  height: 60px;
  float: right;
  margin: 0;
}

.writer-details .writer-chat .writer-feedback article .writer-message figure img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.writer-details .writer-chat .writer-feedback article .writer-message .left {
  display: inline-block;
  float: left;
  text-align: right;
  width: 89%;
}

.writer-details .writer-chat .writer-feedback article .writer-message .left small {
  font-size: 13px;
  color: #616161;
}

.writer-details .writer-chat .writer-feedback article .writer-message .left blockquote {
  background: #cdeafc;
  padding: 12px 15px;
  position: relative;
  border-radius: 5px;
  margin: 8px 0 0 0;
  font-size: 14px;
  line-height: 20px;
  color: #343434;
  width: fit-content;
  float: right;
  text-align: left;
  quotes: none;
}

.writer-details .writer-chat .writer-feedback article .writer-message .left blockquote:after {
  content: "";
  background: url("/images/blue-bloquote-icon.png") no-repeat;
  width: 21px;
  height: 27px;
  bottom: -7px;
  right: -13px;
  position: absolute;
}

@media screen and (max-width: 992px) {
  .writer-details .writer-profile article {
    width: 75%;
  }
  .writer-details .writer-profile article span {
    display: inline-block;
    margin: 10px 0;
    padding: 8px 15px;
    border-radius: 50px;
  }
  .writer-details .writer-profile article span strong {
    font-size: 16px;
  }
  .writer-details .writer-profile article a {
    margin: 0;
  }
  .writer-details .writer-chat .writer-feedback article .customer-message,
  .writer-details .writer-chat .writer-feedback article .writer-message {
    width: auto;
    float: none;
  }
  .writer-details .writer-chat .writer-feedback article .customer-message figure,
  .writer-details .writer-chat .writer-feedback article .writer-message figure {
    margin-top: 20px;
  }
  .writer-details .writer-chat .writer-feedback article .writer-message .left {
    width: 88%;
  }
}

@media screen and (max-width: 767px) {
  .writer-details {
    margin: 20px 0 !important;
  }
  .writer-details.container {
    padding: 0 15px;
  }
  .writer-details .writer-profile {
    text-align: center;
    padding: 15px;
  }
  .writer-details .writer-profile figure {
    display: block;
    float: none;
    margin: 0 auto 15px auto;
  }
  .writer-details .writer-profile article {
    float: none;
    width: auto;
    display: block;
  }
  .writer-details .writer-profile article span {
    border-radius: 3px;
    margin: 10px 3px;
    padding: 7px 10px;
    font-size: 13px;
    width: 47%;
  }
  .writer-details .writer-profile article span strong {
    display: block;
  }
  .writer-details .writer-profile article .rating {
    margin: 0 auto 10px auto;
    width: 80px;
    display: block;
  }
  .writer-details .writer-profile article p {
    color: #616161;
    margin-top: 3px;
  }
  .writer-details .writer-profile article a {
    margin: 7px 0 0 0;
    display: inline-block;
    border-radius: 3px;
    padding: 9px 40px;
    font-size: 18px;
    line-height: 20px;
    float: none;
  }
  .writer-details .subjects {
    margin-top: 20px;
    padding: 15px;
    text-align: center;
  }
  .writer-details .subjects ul {
    border: none;
    margin: 0;
    padding: 5px 0 10px 0;
    text-align: left;
  }
  .writer-details .subjects ul li {
    margin: 0 2px 5px;
    padding: 5px 8px;
    border-radius: 3px;
    font-size: 12px;
    line-height: 15px;
  }
  .writer-details .subjects h3 {
    text-align: left;
  }
  .writer-details .subjects p {
    color: #616161;
    text-align: left;
  }
  .writer-details .writer-chat {
    padding: 15px;
  }
  .writer-details .writer-chat .writer-feedback h4 {
    font-size: 18px;
    line-height: 20px;
    margin: 0 0 10px 0;
  }
  .writer-details .writer-chat .writer-feedback article {
    padding: 10px;
  }
  .writer-details .writer-chat .writer-feedback article .customer-message {
    width: auto;
    float: none;
    border-bottom: solid 1px #e4e8ed;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
  .writer-details .writer-chat .writer-feedback article .customer-message figure img {
    height: auto;
  }
  .writer-details .writer-chat .writer-feedback article .customer-message .right {
    width: 79%;
  }
  .writer-details .writer-chat .writer-feedback article .customer-message .right small {
    color: #616161;
    margin: 0 0 0 5px;
  }
  .writer-details .writer-chat .writer-feedback article .customer-message .right blockquote {
    font-size: 13px;
    line-height: 16px;
    color: #343434;
    padding: 5px 10px;
  }
  .writer-details .writer-chat .writer-feedback article .customer-message .right blockquote:before {
    display: none;
  }
  .writer-details .writer-chat .writer-feedback article .writer-message {
    width: auto;
    float: none;
  }
  .writer-details .writer-chat .writer-feedback article .writer-message figure img {
    width: 50px;
    height: auto;
    float: right;
  }
  .writer-details .writer-chat .writer-feedback article .writer-message .left {
    width: 79%;
  }
  .writer-details .writer-chat .writer-feedback article .writer-message .left small {
    display: inline-block;
    color: #616161;
    margin: 0 5px 0 0;
  }
  .writer-details .writer-chat .writer-feedback article .writer-message .left blockquote {
    font-size: 13px;
    line-height: 16px;
    color: #343434;
    padding: 5px 10px;
  }
  .writer-details .writer-chat .writer-feedback article .writer-message .left blockquote:after {
    bottom: -3%;
  }
}
