/*--------------------------------------------------------------
# hmnews Stylings
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# hmnews Home Posts List
--------------------------------------------------------------*/
.hmnews .posts-list article {
  box-shadow: 0 4px 16px rgba(var(--color-black-rgb), 0.1);
  padding: 30px;
  height: 100%;
}
.hmnews .posts-list article + article {
  margin-top: 60px;
}
.hmnews .posts-list .post-img {
  max-height: 240px;
  margin: -30px -30px 0 -30px;
  overflow: hidden;
}
.hmnews .posts-list .title {
  font-size: 24px;
  font-weight: 700;
  padding: 0;
  margin: 20px 0 0 0;
}
.hmnews .posts-list .title a {
  color: var(--color-secondary);
  transition: 0.3s;
}
.hmnews .posts-list .title a:hover {
  color: var(--color-primary);
}
.hmnews .posts-list .meta-top {
  margin-top: 20px;
  color: var(--color-gray);
}
.hmnews .posts-list .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}
.hmnews .posts-list .meta-top ul li + li {
  padding-left: 20px;
}
.hmnews .posts-list .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: rgba(var(--color-primary-rgb), 0.8);
}
.hmnews .posts-list .meta-top a {
  color: var(--color-gray);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}
.hmnews .posts-list .content {
  margin-top: 20px;
}
.hmnews .posts-list .read-more a {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 8px 30px;
  transition: 0.3s;
  font-size: 14px;
  border-radius: 4px;
}
.hmnews .posts-list .read-more a:hover {
  background: rgba(var(--color-primary-rgb), 0.8);
}

/*--------------------------------------------------------------
# hmnews Details Page
--------------------------------------------------------------*/
.hmnews .hmnews-details {
  box-shadow: 0 4px 16px rgba(var(--color-black-rgb), 0.1);
  padding: 30px;
}
.hmnews .hmnews-details .post-img {
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}
.hmnews .hmnews-details .title {
  font-size: 28px;
  font-weight: 700;
  padding: 0;
  margin: 20px 0 0 0;
  color: var(--color-secondary);
}
.hmnews .hmnews-details .content {
  margin-top: 20px;
}
.hmnews .hmnews-details .content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}
.hmnews .hmnews-details .content blockquote {
  overflow: hidden;
  background-color: rgba(var(--color-secondary-rgb), 0.06);
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}
.hmnews .hmnews-details .content blockquote p {
  color: var(--color-default);
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}
.hmnews .hmnews-details .content blockquote:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--color-secondary);
  margin-top: 20px;
  margin-bottom: 20px;
}
.hmnews .hmnews-details .meta-top {
  margin-top: 20px;
  color: var(--color-gray);
}
.hmnews .hmnews-details .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}
.hmnews .hmnews-details .meta-top ul li + li {
  padding-left: 20px;
}
.hmnews .hmnews-details .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: rgba(var(--color-primary-rgb), 0.8);
}
.hmnews .hmnews-details .meta-top a {
  color: var(--color-gray);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}
.hmnews .hmnews-details .meta-bottom {
  padding-top: 10px;
  border-top: 1px solid rgba(var(--color-secondary-rgb), 0.15);
}
.hmnews .hmnews-details .meta-bottom i {
  color: var(--color-secondary-light);
  display: inline;
}
.hmnews .hmnews-details .meta-bottom a {
  color: rgba(var(--color-secondary-rgb), 0.8);
  transition: 0.3s;
}
.hmnews .hmnews-details .meta-bottom a:hover {
  color: var(--color-primary);
}
.hmnews .hmnews-details .meta-bottom .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 0;
  font-size: 14px;
}
.hmnews .hmnews-details .meta-bottom .cats li {
  display: inline-block;
}
.hmnews .hmnews-details .meta-bottom .tags {
  list-style: none;
  display: inline;
  padding: 0;
  font-size: 14px;
}
.hmnews .hmnews-details .meta-bottom .tags li {
  display: inline-block;
}
.hmnews .hmnews-details .meta-bottom .tags li + li::before {
  padding-right: 6px;
  color: var(--color-default);
  content: ",";
}
.hmnews .hmnews-details .meta-bottom .share {
  font-size: 16px;
}
.hmnews .hmnews-details .meta-bottom .share i {
  padding-left: 5px;
}
.hmnews .post-author {
  padding: 20px;
  margin-top: 30px;
  box-shadow: 0 4px 16px rgba(var(--color-black-rgb), 0.1);
}
.hmnews .post-author img {
  max-width: 120px;
  margin-right: 20px;
}
.hmnews .post-author h4 {
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 0px;
  padding: 0;
  color: var(--color-secondary);
}
.hmnews .post-author .social-links {
  margin: 0 10px 10px 0;
}
.hmnews .post-author .social-links a {
  color: rgba(var(--color-secondary-rgb), 0.5);
  margin-right: 5px;
}
.hmnews .post-author p {
  font-style: italic;
  color: rgba(var(--color-gray-rgb), 0.8);
  margin-bottom: 0;
}

.hmnews-details {
  padding-top: 40px;
}
.hmnews-details .hmnews-details-slider img {
  width: 100%;
}
.hmnews-details .hmnews-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}
.hmnews-details .hmnews-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--color-white);
  opacity: 1;
  border: 1px solid var(--color-primary);
}
.hmnews-details .hmnews-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--color-primary);
}
.hmnews-details .hmnews-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(var(--color-secondary-rgb), 0.15);
}
.hmnews-details .hmnews-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-secondary-light);
}
.hmnews-details .hmnews-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}
.hmnews-details .hmnews-info ul li + li {
  margin-top: 10px;
}
.hmnews-details .hmnews-description {
  padding-top: 30px;
}
.hmnews-details .hmnews-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}
.hmnews-details .hmnews-description p {
  padding: 0;
}

/*--------------------------------------------------------------
# hmnews Section
--------------------------------------------------------------*/
.hmnews .hmnews-flters {
  padding: 0;
  margin: 0 auto 30px auto;
  list-style: none;
  text-align: center;
}
.hmnews .hmnews-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 300;
  margin: 0 10px;
  line-height: 1;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}
.hmnews .hmnews-flters li:hover, .hmnews .hmnews-flters li.filter-active {
  color: var(--color-primary);
}
.hmnews .hmnews-flters li:first-child {
  margin-left: 0;
}
.hmnews .hmnews-flters li:last-child {
  margin-right: 0;
}
@media (max-width: 575px) {
  .hmnews .hmnews-flters li {
    font-size: 14px;
    margin: 0 5px;
  }
}
.hmnews .hmnews-item {
  position: relative;
  border: 1px solid var(--color-white);
  overflow: hidden;
  z-index: 1;
}
.hmnews .hmnews-item img {
  transition: all 0.3s;
}
/*.hmnews .hmnews-item:before {
  content: "";
  inset: 0;
  position: absolute;
  background: rgba(var(--color-secondary-rgb), 0.8);
  z-index: 2;
  transition: 0.5s;
  visibility: hidden;
  opacity: 0;
}*/
.hmnews .hmnews-item .hmnews-info {
  opacity: 0;
  position: absolute;
  inset: auto 40px 40px 40px;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  padding: 20px;
}
.hmnews .hmnews-item .hmnews-info h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-white);
  padding-right: 50px;
}
.hmnews .hmnews-item .hmnews-info .preview-link, .hmnews .hmnews-item .hmnews-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: -100px;
  color: rgba(var(--color-white-rgb), 0.7);
  transition: 0.3s;
  line-height: 0;
}
.hmnews .hmnews-item .hmnews-info .preview-link:hover, .hmnews .hmnews-item .hmnews-info .details-link:hover {
  color: var(--color-white);
}
.hmnews .hmnews-item .hmnews-info .details-link {
  right: 14px;
  font-size: 28px;
}
.hmnews .hmnews-item:hover:before {
  visibility: visible;
  opacity: 1;
}
.hmnews .hmnews-item:hover img {
  transform: scale(1.2);
}
.hmnews .hmnews-item:hover .hmnews-info {
  opacity: 1;
  inset: auto 10px 0 10px;
}