/******** NEW POST/ARTICLE TEMPLATE ********/
.author-meta {
  color: #a9a9a9;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.author-meta img {
  border-radius: 100%;
  margin-right: 0.5rem;
}

article {
  overflow: hidden;
}

.article__grid-container {
  display: grid;
  grid-template-columns: minmax(320px, 1fr);
  grid-gap: 1rem;
}

.article_sidebar-container {
  padding: 0 10px;
}

.image__article--main img {
  width: 100%;
  object-fit: cover;
  border-radius: 5px;
}

#authorBox {
  border-top: solid 1px var(--light-gray);
  border-bottom: solid 1px var(--light-gray);
  padding: 1rem;
  flex-direction: column;
}

#authorBox .avatar {
  flex-shrink: 0;
  margin-right: 0.5rem;
}

#authorBox a {
  font-size: 1.25rem;
}

#authorBox p {
  color: var(--text-color);
  font-size: 0.9rem;
}

/* The banner ad FAT is the find a therapist widget on the article pages */
/* It is different from the "Need to Talk" FAT banner that can be placed inside article pages */
.banner-ad-fat {
  height: 300px;
  border-radius: 5px;
  background: #b5f5e8 url("/wp-content/themes/hello-theme-child-master/assets/images/find-a-therapist-banner.png") top/90% no-repeat;
}

.banner-ad-fat a {
  font-weight: 500;
  background-color: var(--carmine);
  border: solid 2px var(--carmine);
  color: #fff !important;
  border-radius: 5px;
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  margin-bottom: 10%;
}

.banner-ad-fat a:hover,
.banner-ad-fat a:active,
.banner-ad-fat a:focus {
  background-color: #fff;
  color: var(--carmine) !important;
  transition: all 0.3s ease-in-out;
}

.top-post__container,
.middle-post__container {
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: solid 1px var(--light-gray);
}

.top-post__container img {
  width: 100%;
  border-radius: 5px;
}

.top-more__container img {
  width: auto;
  height: 100%;
  border-radius: 5px;
}

.top-post__container a,
.middle-post__container a,
.top-more__container a,
.bottom-more__container a {
  color: var(--text-color) !important;
}

.top-post__container a:hover,
.middle-post__container a:hover,
.top-post__container a:active,
.middle-post__container a:active,
.top-more__container a:hover,
.bottom-more__container a:hover,
.top-more__container a:active,
.bottom-more__container a:active {
  color: var(--primary-color) !important;
}

.top-post__title,
.top-more__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2em;
  letter-spacing: 0.2px;
}

#newsletter-signup__article {
  text-align: center;
  padding: 1.5rem 2rem;
  box-shadow: var(--box-shadow);
  margin: 1rem auto;
  border-radius: 5px;
}

#newsletter-signup__article:hover {
  box-shadow: var(--box-shadow-hover);
}

li.article-sign-up {
  padding-right: 0 !important;
}

.article-sign-up input {
  font-size: 16px;
  min-height: 47px;
  padding: 0.5rem 1rem !important;
  margin-top: 0 !important;
  border-radius: 5px;
}

#gform_confirmation_message_7,
#gform_confirmation_message_6 {
  color: var(--coral);
  font-weight: 600;
  padding-top: 1.5rem;
  padding-bottom: 1rem;
}

.more-for-you__container {
  margin-bottom: 4rem;
}

.top-more__grid,
.bottom-more__grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-gap: 1rem;
}

.top-more__container,
.bottom-more__container {
  padding-bottom: 0.5rem;
  padding-top: 0.5rem;
  border-bottom: 1px solid var(--light-gray);
}

.top-more__container img {
  height: 190px;
  width: 100%;
  object-fit: cover;
}

.link__share--article {
  display: inline-block;
  font-size: 18px;
  letter-spacing: 0.3px;
  font-weight: 500;
  margin-bottom: 0.75em;
}

.text__share--article {
  display: inline;
  letter-spacing: 0.3px;
}

.bh-tsp-table td {
  text-align: center;
  vertical-align: middle;
}

.green-underline {
  font-family: var(--header-font);
  border-bottom: 4px solid var(--secondary-color);
  display: inline-block;
  padding-bottom: 0.25rem;
}

#signUp:hover {
  color: var(--primary-color) !important;
}

/*************** ARTICLE BANNER ADS ********************/
.need-to-talk__wrapper {
  margin: 0 auto;
  text-align: center;
}

.need-to-talk__img {
  border-radius: 5px;
  box-shadow: var(--box-shadow);
}

@media (min-width: 768px) {
  .article__grid-container {
    grid-template-columns: 1.75fr 1fr;
  }

  #authorBox {
    flex-direction: row;
  }

  .top-more__grid,
  .bottom-more__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .more-for-you__container {
    padding: 0;
  }
}

@media (min-width: 992px) {
  .article__grid-container {
    grid-template-columns: 1.75fr 1fr;
  }

  .image__article--main img {
    height: 350px;
  }

  #authorBox img {
    min-width: 150px;
  }
}

@media (min-width: 1200px) {
  .article__grid-container {
    grid-template-columns: 2fr 1fr;
  }
}

@media (min-width: 1400px) {
  .single-post .container {
    max-width: 1140px;
  }
}