* {
  box-sizing: border-box; }

.card {
  position: absolute;
  overflow: hidden;
  width: 290px;
  background-color: #fff;
  box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.1);
  transition: box-shadow 0.3s; }
  .card a {
    color: inherit;
    text-decoration: none; }

.card:hover {
  box-shadow: 0px 0px 50px rgba(255, 255, 255, 0.3); }

.card__date {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  padding-top: 19px;
  color: #000;
  text-align: center;
  line-height: 13px;
  font-weight: bold;
  background-color: #FFF000;
  border-radius: 50%; }
  .card__date__day {
    display: block;
    font-size: 14px; }
  .card__date__month {
    display: block;
    font-size: 10px;
    text-transform: uppercase; }

.card__thumb {
  height: 235px;
  overflow: hidden;
  background-color: #000;
  transition: height 0.3s; }
  .card__thumb img {
    display: block;
    opacity: 1;
    transition: opacity 0.3s, -webkit-transform 0.3s;
    transition: opacity 0.3s, transform 0.3s;
    -webkit-transform: scale(1);
        -ms-transform: scale(1);
            transform: scale(1); }
  .card:hover .card__thumb img {
    opacity: 0.6;
    -webkit-transform: scale(1.2);
        -ms-transform: scale(1.2);
            transform: scale(1.2); }
  .card:hover .card__thumb {
    height: 90px; }

.card__body {
  position: relative;
  padding: 20px;
  height: 135px; /*modifier ligne height 3 lignes en dessous */
  transition: height 0.3s; }
  .card:hover .card__body {
    height: 280px; }

.card__category {
  position: absolute;
  left: 0;
  top: -25px;
  height: 25px;
  padding: 0 15px;
  color: #000;
  font-size: 11px;
  line-height: 25px;
  text-transform: uppercase;
  background-color: #FFF000; }

.card__title {
  text-align: left;
  margin: 0;
  padding: 0 0 10px 0;
  font-size: 22px;
  color: #000;
  font-weight: bold; }
  .card:hover .card__title {
    -webkit-animation: titleBlur 0.3s;
            animation: titleBlur 0.3s; }

.card__subtitle {
  margin: 0;
  padding: 0 0 10px 0;
  font-size: 19px;
  color: #a9a9a9; }
  .card:hover .card__subtitle {
    -webkit-animation: subtitleBlur 0.3s;
            animation: subtitleBlur 0.3s; }

.card__description {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 30px;
  margin: 0;
  padding: 0;
  color: #666C74;
  font-size: 16px;
  line-height: 27px;
  opacity: 0;
  transition: opacity 0.2s, -webkit-transform 0.2s;
  transition: opacity 0.2s, transform 0.2s;
  transition-delay: 0s;
  -webkit-transform: translateY(25px);
      -ms-transform: translateY(25px);
          transform: translateY(25px); }
  .card:hover .card__description {
    opacity: 1;
    transition-delay: 0.1s;
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0); }

@-webkit-keyframes titleBlur {
  0% {
    opacity: 0.6;
    text-shadow: 0px 5px 5px rgba(0, 0, 0, 0.6); }

  100% {
    opacity: 1;
    text-shadow: 0px 5px 5px transparent; } }

@keyframes titleBlur {
  0% {
    opacity: 0.6;
    text-shadow: 0px 5px 5px rgba(0, 0, 0, 0.6); }

  100% {
    opacity: 1;
    text-shadow: 0px 5px 5px transparent; } }

@-webkit-keyframes subtitleBlur {
  0% {
    opacity: 0.6;
    text-shadow: 0px 5px 5px rgba(56, 196, 165, 0.6); }

  100% {
    opacity: 1;
    text-shadow: 0px 5px 5px rgba(56, 196, 165, 0); } }

@keyframes subtitleBlur {
  0% {
    opacity: 0.6;
    text-shadow: 0px 5px 5px rgba(56, 196, 165, 0.6); }

  100% {
    opacity: 1;
    text-shadow: 0px 5px 5px rgba(56, 196, 165, 0); } }
