{#---------Quantity of Cards---------#}
.blog_posts_card__content {
  position: relative;
  width: 100%;
}

.blog_posts_card__content:hover{
  -webkit-transition: all .3s ease-in-out !important;
  -o-transition: all .3s ease-in-out !important;
  transition: all .3s ease-in-out !important;
}

@media only screen and (min-width: 600px) {
  .blog_posts_card__content {
    width: calc(50% - 34px);
  }
}

@media only screen and (min-width: 992px) {
  .blog_posts_card__content {
    width: calc(33.33% - 27px);
  }
}

{#---------General Styles---------#}
.blog_posts_card__container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 23px 40px;
}

{#---------Card Image---------#}
.blog_posts_card__image {
  margin: 0;
}

.blog_posts_card__image img {
  height: 242px;
  display: block;
  object-fit: cover;
  width: 100%;
}

{#---------Tag and Time--------#}
.blog_posts_card__tag a {
  text-decoration: underline;
}

.blog_posts_card__tag-time {
  display: flex;
}

.blog_posts_card__tag-time > span {
  padding: 0 27px;
}

{#---------Author---------#}
.blog_posts_card__author {
  padding-bottom: 32px;
}

.blog_posts_card__author a:hover,
.blog_posts_card__author a:focus{
  text-decoration: none;
}

{#---------Card Body---------#}
.blog_posts_card__body{
  position: relative;
  margin-bottom: 70px;
  width: 100%;
}

{#---------Button Style---------#}
.blog_posts_card__button {
  bottom: 32px;
  left: 0;
  position: absolute;
  margin: 0 32px;
  width: 83%;
}

.blog_posts_card__button a{
  text-decoration: none;
}

{#---------End General Styles---------#}


{#---------Text On Image---------#}

.blog_posts_card__content--text_on_image{
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 520px;
	display: flex;
	align-items: flex-end;
	padding: 32px 18px;
}

.blog_posts_card__content--text_on_image .blog_posts_card__button{
	position: initial;
	margin: 0;
}

.blog_posts_card__title--text_on_image{
	margin-bottom: 24px;
}

.blog-index__post-timestamp{
	color: #FFF;
	font-size: 16px;
	font-weight: 700;
	line-height: 150%; /* 24px */
	font-family: "Neue Haas Grotesk Display Bold";
	margin-bottom: 24px;
}

{#---------OVERLAY---------#}
.blog_posts_card__image--overlay {
  position: relative;
}

.blog_posts_card__image--overlay a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  -webkit-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
} 

.blog_posts_card__title--overlay{
  position: absolute;
  top: 134px;
}

.blog_posts_card__author--overlay {
  position: absolute;
  top: 195px;
}

{#---------CLEAN---------#}
.blog_posts_card__image--clean{
  display: none;
}

.blog_posts_card__body_container--clean {
  display: grid;
  grid-template-areas:
    'title'
    'author'
    'tag';
}

.blog_posts_card__tag-time--clean {
  grid-area: tag;
}

.blog_posts_card__title--clean {
  grid-area: title;
}

.blog_posts_card__author--clean {
  grid-area: author;
  padding-bottom: 8px;
}

{#---------SIDEBAR---------#}
.blog_posts_card__content--sidebar_full,
.blog_posts_card__content--sidebar_compact {
  display: flex;
  gap: 20px;
  width: 100%;
}

.blog_posts_card__image--sidebar_full img,
.blog_posts_card__image--sidebar_compact img {
  width: 150px;
  height: 150px;
}

.blog_posts_card__image--sidebar_full img:hover,
.blog_posts_card__image--sidebar_compact img:hover {
  transform: scale(1.1);
  -webkit-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

.blog_posts_card__image--sidebar_full,
.blog_posts_card__image--sidebar_compact{
  width: 150px;
  height: 150px;
  overflow: hidden;
}

.blog_posts_card__body_container--sidebar_full,
.blog_posts_card__body_container--sidebar_compact {
  display: grid;
  grid-template-areas:
    'title'
    'tag'
    'button';
  padding: 0;
  width: 60%;
}

@media only screen and (max-width: 767px){
  .blog_posts_card__image--sidebar_full,
  .blog_posts_card__image--sidebar_compact{
    width: 43%;
  }

  .blog_posts_card__body_container--sidebar_full,
  .blog_posts_card__body_container--sidebar_compact {
    width: 58%;
  }
	
	.blog_posts_card__content--text_on_image{
		min-height: 324px;
	}
}

.blog_posts_card__tag-time--sidebar_full,
.blog_posts_card__tag-time--sidebar_compact {
  grid-area: tag;
}

.blog_posts_card__author--sidebar_full,
.blog_posts_card__author--sidebar_compact,
.blog_posts_card__body--sidebar_full,
.blog_posts_card__body--sidebar_compact {
  display: none;
}

.blog_posts_card__button--sidebar_full,
.blog_posts_card__button--sidebar_compact {
  grid-area: button;
  position: inherit;
  margin: 0;
}

@media only screen and (max-width: 992px){
  .blog_posts_card__tag-time--sidebar_compact > span {
    padding: 0 16px;
  }
}

.blog_posts_card__content--sidebar_compact {
  justify-content: center;
}

.blog_posts_card__image--sidebar_compact {
  display: none;
}