#page-header {
  background: transparent !important;
  position: relative;
}
#page-header.post-bg,
#page-header.not-home-page {
  height: 300px !important;
  -webkit-transition: height 0.3s ease-in-out;
  -moz-transition: height 0.3s ease-in-out;
  -o-transition: height 0.3s ease-in-out;
  -ms-transition: height 0.3s ease-in-out;
  transition: height 0.3s ease-in-out;
}
#page-header #post-info {
  position: absolute;
  bottom: 50px !important;
  text-align: center;
  -webkit-transition: bottom 0.3s ease-in-out;
  -moz-transition: bottom 0.3s ease-in-out;
  -o-transition: bottom 0.3s ease-in-out;
  -ms-transition: bottom 0.3s ease-in-out;
  transition: bottom 0.3s ease-in-out;
  color: #fff;
}
#page-header #page-site-info {
  position: absolute;
  top: 150px !important;
  -webkit-transition: top 0.3s ease-in-out;
  -moz-transition: top 0.3s ease-in-out;
  -o-transition: top 0.3s ease-in-out;
  -ms-transition: top 0.3s ease-in-out;
  transition: top 0.3s ease-in-out;
  color: #fff;
}
@media screen and (max-width: 768px) {
  #page-header.not-home-page {
    height: 220px !important;
  }
  #page-header #post-info {
    bottom: 20px !important;
  }
  #page-header #page-site-info {
    top: 100px !important;
  }
}
[data-theme='dark'] #page-header #post-info,
[data-theme='dark'] #page-header #page-site-info {
  color: var(--light-grey);
}
.top-img {
  height: 260px;
  margin: -50px -40px 50px;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  background-position: center;
  background-size: cover;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -webkit-box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
@media screen and (max-width: 768px) {
  .top-img {
    height: 240px;
    margin: -36px -14px 36px;
  }
}
[data-theme='dark'] .top-img {
  filter: brightness(0.8);
  -webkit-box-shadow: 0 4px 8px rgba(255,255,255,0.1);
  box-shadow: 0 4px 8px rgba(255,255,255,0.1);
}
#footer:before {
  background-color: rgba(255,255,255,0.5);
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-transition: background-color 0.3s ease-in-out;
  -moz-transition: background-color 0.3s ease-in-out;
  -o-transition: background-color 0.3s ease-in-out;
  -ms-transition: background-color 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out;
}
[data-theme='dark'] #footer:before {
  background-color: rgba(0,0,0,0.5);
}
#footer-wrap,
#footer-wrap a {
  color: #333;
  -webkit-transition: color 0.3s ease-in-out;
  -moz-transition: color 0.3s ease-in-out;
  -o-transition: color 0.3s ease-in-out;
  -ms-transition: color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out;
}
[data-theme='dark'] #footer-wrap,
[data-theme='dark'] #footer-wrap a {
  color: var(--light-grey);
  background-color: #000;
}
