.tybrg-blog-heading,
.tybrg-single-post .post-title {
  margin-top: 50px;
}

.tybrg-blog-heading .heading,
.tybrg-single-post .post-title h1 {
  position: relative;
  font-weight: 900;
  text-transform: uppercase;
  color: #262626;
  margin-bottom: 50px;
  font-size: 25px;
  text-align: center;
}

.tybrg-blog-heading .heading:after,
.tybrg-single-post .post-title h1:after {
  content: '';
  display: block;
  width: 100px;
  height: 1px;
  background-color: #262626;
  margin: 5px auto auto;
}

.tybrg-single-post {
  max-width: 991px;
  margin: 100px auto auto;
}

.tybrg-single-post .post-content h1,
.tybrg-single-post .post-content h2,
.tybrg-single-post .post-content h3,
.tybrg-single-post .post-content h4,
.tybrg-single-post .post-content h5 {
  color: #262626;
  font-weight: 600;
  margin-bottom: 20px;
  margin-top: 50px;
}

.tybrg-single-post .post-content a {
  color: #fbc630;
}

.tybrg-single-post .post-date {
  text-align: center;
  margin-bottom: 50px;
}

.tybrg-single-post .post-date > span {
  display: block;
  margin-bottom: 10px;
}

.tybrg-single-post .post-date > span.posted-on a {
  color: #262626;
  font-weight: 400;
  font-size: 20px;
}

.tybrg-single-post .post-date > span.byline a {
  color: #262626;
  font-weight: 400;
}

.tybrg-single-post .post-footer {
  display: none;
}

.tybrg-post {
  margin-bottom: 30px;
}

.tybrg-post a {
  position: relative;
  display: block;
  height: 100%;
}

.tybrg-post .tybrg-post-wrapper {
  height: 100%;
  background-color: #262626;
  -webkit-transition: all ease 0.5s;
  transition: all ease 0.5s;
  cursor: pointer;
}

.tybrg-post:hover .tybrg-post-wrapper {
  background-color: #fbc630;
}

.tybrg-post .tybrg-post-wrapper .tybrg-post-image {
  position: relative;
  background-color: #e8e8e8;
  overflow: hidden;
}

.tybrg-post .tybrg-post-wrapper .tybrg-post-image:before {
  content: '';
  display: block;
  position: relative;
  padding-top: 80%;
}

.tybrg-post .tybrg-post-wrapper .tybrg-post-image .tybrg-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-transition: all ease 4s;
  transition: all ease 4s;
}

.tybrg-post .tybrg-post-wrapper .tybrg-post-image .tybrg-image img {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.tybrg-post .tybrg-post-wrapper .tybrg-title {
  text-align: center;
  padding: 20px;
}

.tybrg-post .tybrg-post-wrapper .tybrg-title h3.post-title {
  font-size: 22px;
  font-weight: 500;
  margin: 0;
  -webkit-transition: all ease 0.5s;
  transition: all ease 0.5s;
}

.tybrg-post:hover .tybrg-post-wrapper .tybrg-title h3.post-title {
  color: #262626;
}

.tybrg-post {
  overflow: hidden;
}

.tybrg-post .tybrg-post-wrapper .tybrg-hover-content {
  position: absolute;
  top: 0;
  left: 15px;
  right: 15px;
  bottom: 0;
  padding: 30px;
  background-color: #fbc630;
  opacity: 0;
  -webkit-transform: translatey(50%);
  transform: translatey(50%);
  -webkit-transition: all ease 0.5s;
  transition: all ease 0.5s;
}

.tybrg-post:hover .tybrg-post-wrapper .tybrg-hover-content {
  opacity: 1;
  -webkit-transform: translatey(0%);
  transform: translatey(0%);
}

.tybrg-post .tybrg-post-wrapper .tybrg-hover-content h3 {
  color: #262626;
  font-family: 'Josefin Sans', Open Sans;
  font-size: 20px;
  text-transform: uppercase;
}

.tybrg-post .tybrg-post-wrapper .tybrg-hover-content .tybrg-loop-date a {
  color: #262626;
  font-size: 14px;
  font-family: 'Josefin Sans', Open Sans;
  pointer-events: none;
}

.tybrg-post .tybrg-post-wrapper .tybrg-hover-content .tybrg-loop-date {
  margin-bottom: 15px;
}

.tybrg-post .tybrg-post-wrapper .tybrg-hover-content .tybrg-content-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px;
}

.tybrg-post .tybrg-post-wrapper .tybrg-hover-content .tybrg-content-bottom .tybrg-loop-date .byline {
  display: none;
}

.tybrg-post .tybrg-post-wrapper .tybrg-hover-content .tybrg-content-bottom .tybrg-loop-content {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 30px;
}

.tybrg-post .tybrg-post-wrapper .tybrg-hover-content .tybrg-content-bottom a.tybrg-button-book {
  color: #262626;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 400;
  position: relative;
  display: inline-block;
  padding-right: 30px;
}

.tybrg-post .tybrg-post-wrapper .tybrg-hover-content .tybrg-content-bottom a.tybrg-button-book:before {
  position: absolute;
  top: 50%;
  right: 0;
  display: block;
  width: 12px;
  height: 2px;
  content: '';
  -webkit-transform: translatey(-50%);
  transform: translatey(-50%);
  background-color: #262626;
}

.tybrg-post .tybrg-post-wrapper .tybrg-hover-content .tybrg-content-bottom a.tybrg-button-book:after {
  position: absolute;
  top: 50%;
  right: 0;
  display: block;
  width: 8px;
  height: 8px;
  content: '';
  -webkit-transform: translatey(-50%) rotate(45deg);
  transform: translatey(-50%) rotate(45deg);
  border-top: 2px solid #262626;
  border-right: 2px solid #262626;
}

.tybrg-single-post .post-content img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.pagination-section {
  text-align: center;
  padding-top: 30px;
  padding-bottom: 30px;
}

.pagination-section .pagination {
  font-size: 0;
  display: inline-block;
}

.pagination-section .pagination > * {
  display: inline-block;
  width: 40px;
  height: 40px;
  font-size: 22px;
  line-height: 40px;
  margin-left: 5px;
  margin-right: 5px;
  text-align: center;
  border: 1px solid #fbc630;
  color: #fbc630;
  -webkit-transition: all ease 0.5s;
  transition: all ease 0.5s;
}

.pagination-section .pagination > span {
  background-color: #262626;
  color: #fbc630;
  opacity: 0.4;
}

.pagination-section .pagination > *:hover {
  background-color: #262626;
  color: #fbc630;
}

.pagination-section .pagination .next,
.pagination-section .pagination .prev {
  font-size: 0;
  position: relative;
}

.pagination-section .pagination .prev:before {
  content: '';
  font-size: 22px;
  line-height: 40px;
}

.pagination-section .pagination .next:before {
  content: '';
  font-size: 22px;
  line-height: 40px;
}

.pagination-section .pagination .next:after,
.pagination-section .pagination .prev:after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 8px;
  height: 8px;
  margin-top: 0;
  margin-left: -2px;
  content: '';
  -webkit-transition: all ease 0.5s;
  transition: all ease 0.5s;
  -webkit-transform: translate(-50%,-50%)rotate(-45deg);
  transform: translate(-50%,-50%)rotate(-45deg);
  opacity: 1;
  border-right: 2px solid #fbc630;
  border-bottom: 2px solid #fbc630;
}

.pagination-section .pagination .prev:after {
  margin-left: 2px;
  -webkit-transform: translate(-50%,-50%)rotate(135deg);
  transform: translate(-50%,-50%)rotate(135deg);
}

.pagination-section .pagination > *:hover:after {
  border-right: 2px solid #fbc630;
  border-bottom: 2px solid #fbc630;
}

@media (max-width:991px) {
  .tybrg-single-post .post-content img {
    width: 100%;
    height: auto;
  }

  .tybrg-post .tybrg-post-wrapper > .tybrg-title {
    display: none;
  }

  .tybrg-post .tybrg-post-wrapper .tybrg-hover-content {
    position: relative;
    opacity: 1;
    left: auto;
    right: auto;
    top: auto;
    -webkit-transform: none;
    transform: none;
  }

  .tybrg-post .tybrg-post-wrapper {
    background-color: #fbc630;
  }

  .tybrg-post .tybrg-post-wrapper .tybrg-hover-content .tybrg-content-bottom {
    position: relative;
    padding: 0;
  }
}
