{% import "../_variables.css" as var %}

/* Base */

.blog-card {
    align-items: stretch;
    border-radius: 12px;
    display: flex;
    flex-direction: row;
    margin-bottom: 32px;
    overflow: hidden;
    position: relative;
    text-align: start;
    transition: .2s ease-in-out;
    width: 100%;
}
.blog-card:hover {
  transform: scale(1.02);
}

/* Shadow */

.blog-card--shadow {
    box-shadow: 0 16px 32px rgba(0,50,62,.05), 0 8px 16px rgba(0,50,62,.05);
}

.blog-card--shadow:hover {
    box-shadow: 0 32px 64px rgba(0,50,62,.05), 0 16px 32px rgba(0,50,62,.05);
}

/* Link */

.blog-card__link {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  cursor: pointer;
  min-height: 48px;
  min-width: 48px;
}

/* Content */

.blog-card__content {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Image */

.blog-card__img {
    border-radius: 12px 12px 0 0;
    flex-shrink: 0;
    overflow: hidden;
}

.blog-card__img img {
  width: 100%;
  height: auto;
  transition: .2s ease-in-out;
}

.blog-card:hover .blog-card__img img {
  transform: scale(1.1);
}

/* Body */

.blog-card__body {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    padding: 32px;
    width: 100%;
}

/* Text */

.blog-card__tags {
    line-height: 0;
    margin-bottom: 32px;
}

.blog-card__tags a {
  display: inline-block;
  position: relative;
  z-index: 2;
    min-height: 48px;
    min-width: 48px;
    margin-bottom: -2rem
}

.blog-card__title {
  margin-bottom: 0;
}


.blog-card__info {
    display: flex;
    flex-wrap: wrap;
    margin-top: 32px;
}



.blog-card__date {
  position: relative;
  z-index: 0;
  margin-inline-end: .83rem;
  padding-inline-end: calc(.83rem + 1px);
}

.blog-card__date:after {
  content: '';
  display: block;
  width: 1px;
  height: 16px;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: ;
}

{% if var.rtl_ready %}
  [dir="rtl"] .blog-card__date:after {
    left: 0;
    right: auto;
  }
{% endif %}

/* White */

.blog-card--white {
    background: #fff;
}

/* Dark */

.blog-card--dark {
  background: ;
  color: ;
}

.blog-card--dark .blog-card__title {
  color: ;
}

.blog-card--dark.blog-card--with-summary .blog-card__info {
  border-color: ;
}

.section-intro__divider div {
    background: #f47843;
    border-radius: 3px;
    display: inline-block;
    height: 4px;
    max-width: 100%;
    vertical-align: top;
    width: 80px;
}

.grid_item_blog:nth-child(4){
  display: none; 
}