.light {
  background: #ffffff;
}

/* Cards */

.postcard {
  flex-wrap: wrap;
  display: flex;
  box-shadow: 0 4px 21px -12px rgba(0, 0, 0, 0.66);
  margin: 0 0 2rem 0;
  overflow: hidden;
  position: relative;
  color: #fff;
}

.postcard.light {
  background-color: #fff;
}

.postcard .t-dark {
  color: #ffffff;
}

.postcard h1, .postcard .h1 {
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.postcard .postcard__img_link {
  display: contents;
}

.postcard .postcard__bar {
  width: 50px;
  height: 10px;
  margin: 10px 0;
  border-radius: 5px;
  background-color: #424242;
  transition: width 0.2s ease;
}

.postcard .postcard__text {
  padding: 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.postcard .postcard__preview-txt {
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: justify;
  height: 100%;
}

.postcard:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(-70deg, #424242, transparent 50%);
  opacity: 1;
  border-radius: 10px;
}

@media screen and (min-width: 769px) {
  .postcard {
    flex-wrap: inherit;
  }
}

@media screen and (min-width: 769px) {
  .postcard .postcard__title {
    font-size: 2rem;
  }
}

@media screen and (min-width: 769px) {
  .postcard .postcard__img {
    transition: transform 0.3s ease;
    object-fit: cover;
    height: 53vh;
  }
}

@media screen and (min-width: 769px) {
  .postcard .postcard__text {
    padding: 3rem;
    width: 100%;
  }
}

@media screen and (min-width: 769px) {
  .postcard:hover .postcard__img {
    transform: scale(1.1);
  }
}

@media screen and (min-width: 769px) {
  .postcard:nth-child(2n + 0) {
    flex-direction: row-reverse;
  }
}

@media screen and (min-width: 769px) {
  .postcard:nth-child(2n + 0) .postcard__text::before {
    right: -12px !important;
    transform: rotate(-4deg);
  }
}

@media screen and (min-width: 1024px) {
  .postcard__text {
    padding: 2rem 3.5rem;
  }
}

@media screen and (min-width: 1024px) {
  .postcard__text:before {
    content: "";
    position: absolute;
    display: block;
    top: -20%;
    height: 130%;
    width: 55px;
  }
}

@media screen and (min-width: 1024px) {
  .postcard.light .postcard__text:before {
    background: #ffffff;
  }
}

@media screen and (min-width: 769px) {
  .blue::before {
    background-image: linear-gradient( -80deg, rgba(0, 118, 189, 0.1), transparent 50% );
  }
}

