@import url("https://fonts.googleapis.com/css2?family=Dancing+Script&family=Kalam:wght@300;400&display=swap");
body {
  background: #000;
  color: #fff;
}

.post-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 5rem 0;
}
.post-grid .post {
  width: 22rem;
  margin: 1rem;
}
@media (max-width: 767px) {
  .post-grid .post {
    width: 100%;
  }
}
.post-grid .post .title {
  font-family: "Dancing Script", cursive;
  font-size: 2rem;
  color: #ff232e;
  margin-top: 0.5rem;
}
.post-grid .post .text {
  font-family: "Kalam", cursive;
  font-size: 1rem;
}

.thumb-item img {
  width: 100%;
  height: auto;
}

.hover-daddy {
  position: relative;
}
.hover-daddy:after {
  content: "";
  display: table;
  clear: both;
}
.hover-daddy img {
  position: relative;
  display: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-position: center;
  object-position: center;
  -o-object-fit: cover;
  object-fit: cover;
}
.hover-daddy img:first-child {
  display: block;
}

.tmb-wrap {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}
.tmb-wrap .tmb-wrap-table {
  display: table;
  height: calc(100% - 0.625rem);
  width: 100%;
}
.tmb-wrap .tmb-wrap-table div,
.tmb-wrap .tmb-wrap-table a {
  display: table-cell;
  position: relative;
  transition: all 0.3s ease;
  transition: all 0.25s ease;
}
.tmb-wrap .tmb-wrap-table div:after,
.tmb-wrap .tmb-wrap-table a:after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0.15rem;
  right: 0.15rem;
  border-bottom: 0.25rem solid #fff;
}
.tmb-wrap .tmb-wrap-table div.active:after, .tmb-wrap .tmb-wrap-table div.active:after,
.tmb-wrap .tmb-wrap-table a.active:after,
.tmb-wrap .tmb-wrap-table a.active:after {
  border-color: #ff232e;
}
.tmb-wrap .tmb-wrap-table div:first-child:last-child:after, .tmb-wrap .tmb-wrap-table div:first-child:last-child:after,
.tmb-wrap .tmb-wrap-table a:first-child:last-child:after,
.tmb-wrap .tmb-wrap-table a:first-child:last-child:after {
  border-color: transparent;
}