/* -------------------------------------------------------------------------- */
/*	0. Card Posts
/* -------------------------------------------------------------------------- */
.con-posts {
  position: relative;
  width: 100%;
  background: rgb(255,255,255);
  background: linear-gradient(180deg, rgba(255,255,255,1) 48%, rgba(232,244,255,1) 48%);
}

.card-posts {
  height: 100%;
  position: relative;
  max-width: 380px;
  border-radius: .5rem;
}

.card-posts .con-header {
  position: relative;
  border-radius: inherit;
}

.card-posts .con-img {
  position: relative;
  max-height: 200px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: end;
  transition: all .25s ease;
  border-radius: inherit;
  border-bottom-left-radius: unset;
  border-bottom-right-radius: unset;
}

.card-posts .con-img img {
  width: 100%;
  display: block;
  transition: all .25s ease;
}

.card-posts:hover .con-img img {
  -webkit-transform: scale(1.15);
  transform: scale(1.15)
}

.card-posts .con-wrapper {
  padding: 15px;
  position: relative;
  display: flex;
  flex-direction: column;
  height: calc(100% - 200px);
  justify-content: space-between;
}

.card-posts .con-wrapper .con-title {
  position: relative;
}

.card-posts .con-wrapper .con-title:after {
  content: '';
  position: absolute;
  width: 25%;
  height: 1px;
  background-color: #1353A2;
  bottom: -9px;
}


/* -------------------------------------------------------------------------- */
/*	0. Card
/* -------------------------------------------------------------------------- */

.card {
  position: relative;
  width: 100%;
  height: 100%;
  border: none;
}


/* -------------------------------------------------------------------------- */
/*	0. Card type 1
/* -------------------------------------------------------------------------- */

.card.type-1 {
  height: 250px;
}

.card.type-1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: multiply;
  background: #262626;
  opacity: 55%;
}

.card.type-1 .con-content {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 15px;
  display: flex;
}

.card.type-1 .con-content.center {
  justify-content: center;
  align-items: center;
}

.card.type-1 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}


/* -------------------------------------------------------------------------- */
/*	0. Card type-2
/* -------------------------------------------------------------------------- */

.card.type-2 {
  height: 210px;
}

.card.type-2.large {
  height: 400px;
}

.card.type-2.xl {
  height: 400px;
}

.card.type-2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: multiply;
  background: rgb(255,255,255);
  background: linear-gradient(180deg, rgba(255,255,255,0.45171572046787467) 0%, rgba(50,50,50,1) 100%);
}

.card.type-2 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.card.type-2 .has-line {
  padding-bottom: 7px !important;
}

.card.type-2 .con-content {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 30px;
  display: flex;
  align-items: end;
}

.card.type-2 .con-excerpt {
  -webkit-line-clamp: 2;
  white-space: normal;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 18px;
  font-weight: 300;
  color: #fff;
}

.card.type-2 .con-excerpt * {
  margin-bottom: 0px;
}



/* -------------------------------------------------------------------------- */
/*	0. Card type-3
/* -------------------------------------------------------------------------- */

.card.type-3 {
  width: 100%;
  height: 240px;  
}

.card.type-3.xl {
  height: 700px;
}

.card.type-3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* -------------------------------------------------------------------------- */
/*	0. Utilidades
/* -------------------------------------------------------------------------- */

.card.no-overlay::before {
  background: unset;
}


/* -------------------------------------------------------------------------- */
/*	0. Responsivo
/* -------------------------------------------------------------------------- */
@media only screen and (max-width: 768px) {
  .card.type-1 {
    height: 150px;
  }

  .card.type-2.large {
    height: 200px;
  }

  .card.type-2.xl {
    height: 300px;
  }

  .card.type-2 .con-content {
    padding: 20px;
  }

  .card.type-2 .con-excerpt {
    font-size: 16px;
  }
  
  .card.type-2 .has-line {
    padding-bottom: 7px !important;
  }

  .card.type-3 {
    height: 200px;
  }
  
  .card.type-3.xl {
    height: 400px;
  }
}