/* Reset */
.frhd__post-block-wrapper h2,
.frhd__post-block-wrapper p {
  margin: 0;
  font-size: 100%;
}
.frhd__post-block-wrapper a {
  text-decoration: none !important;
}
/* Author Avatar */
.frhd__author-avatar {
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
    width: 24px;
    height: 24px;
    object-fit: cover;
    display: inline-block;
}
.frhd__post-author {
    display: flex !important;
    align-items: center;
    gap: 2px;
}

/* Sticky Post Badge */
.frhd__post-block-article {
    position: relative;
}
.frhd__sticky-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #ff5722, #ff9800);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Social Share Buttons */
.frhd__social-share {
    display: flex;
    gap: 6px;
    padding: 10px 15px;
    border-top: 1px solid #eee;
}
.frhd__share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #555;
    text-decoration: none;
    transition: all 0.3s;
}
.frhd__share-btn:hover {
    transform: translateY(-2px);
}
.frhd__share-fb:hover {
    background: #1877f2;
    color: #fff;
}
.frhd__share-tw:hover {
    background: #000;
    color: #fff;
}
.frhd__share-ln:hover {
    background: #0077b5;
    color: #fff;
}

/* Comment Count Badge */
.frhd__comment-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    line-height: 1;
    transition: all 0.3s;
    cursor: default;
}
.frhd__comment-badge:hover {
    transform: scale(1.1);
}

/* Copy Link Button */
.frhd__copy-link-wrap {
    padding: 0 20px 12px;
}
.frhd__copy-link-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 12px;
    color: #666;
    transition: all 0.3s;
    position: relative;
}
.frhd__copy-link-btn:hover {
    background: #e8e8e8;
    color: #333;
    border-color: #ccc;
}
.frhd__copy-link-btn svg {
    flex-shrink: 0;
}
.frhd__copy-tooltip {
    font-weight: 500;
}
.frhd__copy-link-btn.copied {
    background: #4caf50;
    color: #fff;
    border-color: #4caf50;
}
.frhd__copy-link-btn.copied svg {
    fill: #fff;
}

/* Main Block */
.frhd__post-block-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 15px;
  row-gap: 20px;
}
.frhd__post-block-article {
  background: #f5f5f5;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
  transition: 0.3s;
  position: relative;
}
.frhd__post-title {
  margin-bottom: 10px;
}
.frhd__post-title h2 {
  line-height: 0;
}
.frhd__post-title a {
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  color: #371f0e;
}
.frhd__post-excerpt p {
  font-size: 19px;
  line-height: 24px;
  color: #4b4f58;
  margin-bottom: 20px;
}
.frhd__featured-image img {
  display: block;
  object-fit: cover;
  transition: all 0.3s;
}
.frhd__paginate {
  flex-basis: 100%;
  margin-top: 20px;
  display: flex;
  gap: 7px;
}
.frhd__paginate .page-numbers {
  display: inline-block;
  background: #d32f2f;
  color: #fff;
  padding: 5px 20px;
  text-decoration: none;
  border-radius: 2px;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
.frhd__paginate .page-numbers.current {
  background: #c1c1c1;
  box-shadow: 0 0;
}
span.page-numbers.dots:hover {
  background: #5a64d0 !important;
}
.frhd__paginate .page-numbers:hover {
  box-shadow: 0 0;
}
a.page-numbers {
  text-decoration: none !important;
}
.frhd__post-meta {
  font-size: 16px;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  text-transform: capitalize;
  column-gap: 10px;
  margin-bottom: 10px;
}
.frhd__post-meta,
.frhd__post-meta a {
  color: #424242;
}
.frhd__post-meta svg {
  width: 15px;
  height: 15px;
  margin-bottom: -2px;
  margin-right: 5px;
  fill: #ff798e;
}
.frhd__article-body {
  padding: 20px;
  padding-top: 0;
}
.frhd__post-btn,
.frhd__post-btn a {
  transition: 0.3s;
}
.frhd__user-react svg {
  width: 20px;
  height: 20px;
  fill: #9e9e9e;
}
.frhd__user-react {
  position: absolute;
  top: 10px;
  right: 10px;
}
.frhd__user-react:hover svg {
  fill: #d32f2f;
  cursor: pointer;
}
.frhd__user-react-love {
  fill: #d32f2f !important;
}
.frhd-post-item-zoomin:hover {
  transform: scale(1.02);
}
.frhd-post-item-zoomout:hover {
  transform: scale(0.96);
}
.frhd-post-item-opacity:hover {
  opacity: 0.5;
}
.frhd-post-item-rotate:hover {
  transform: rotate(1.3deg) scale(0.9999);
}
.frhd__featured-image.frhd-post-img-shine::before {
  position: absolute;
  top: 0;
  left: -75%;
  z-index: 2;
  display: block;
  content: "";
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 100%
  );
  transform: skewX(-25deg);
  transition: left 0.75s;
}
.frhd__featured-image.frhd-post-img-shine:hover::before {
  animation: shine 0.75s;
}
.frhd__featured-image.frhd-post-img-zoomin:hover img {
  transform: scale(1.2);
}
.frhd__featured-image.frhd-post-img-zoomout:hover img {
  transform: scale(1);
}
.frhd__featured-image.frhd-post-img-opacity:hover img {
  opacity: 0.5;
}
.frhd__featured-image.frhd-post-img-rotate:hover img {
  transform: rotate(5deg) scale(1.2);
}
.frhd__featured-image.frhd-post-img-gray:hover img {
  filter: grayscale(100%);
}
.frhd__featured-image.frhd-post-img-sepia:hover img {
  filter: sepia(100%);
}
.frhd-post-btn-fillup a {
  overflow: hidden;
  border: 1px solid transparent;
  cursor: pointer;
  transform: translate3d(0, 0, 0);
}
.frhd-post-btn-fillup a:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 150%;
  background: #333;
  pointer-events: none;
  transform: translate3d(0, 45px, 0);
  transition: all 0.3s 0s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
.frhd__post-btn.frhd-post-btn-rotate a:hover {
  transform: rotate(2deg) scale(1.008);
}
.frhd-post-btn-fillup a > span {
  height: 100%;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}
.frhd-post-btn-fillup a:hover {
  color: #fff !important;
  fill: #fff !important;
  border: 1px solid transparent !important;
  background: none !important;
}
.frhd-post-btn-fillup a:hover:after {
  transform: translate3d(0, 0, 0);
}
.frhd-post-btn-shake a:hover {
  animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  transform: translate3d(0, 0, 0);
  perspective: 1000px;
}
@keyframes shine {
  100% {
    left: 125%;
  }
}
@keyframes shake {
  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }
  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }
  30%,
  50%,
  70% {
    transform: translate3d(-4px, 0, 0);
  }
  40%,
  60% {
    transform: translate3d(4px, 0, 0);
  }
}
@media (max-width: 767px) {
  .frhd__post-block-container {
    grid-template-columns: repeat(2, 1fr) !important;
    column-gap: 15px;
    row-gap: 15px;
  }
}
@media (max-width: 599px) {
  .frhd__post-block-container {
    grid-template-columns: repeat(1, 1fr) !important;
    display: block;
    padding: 0 10px;
  }
  .frhd__post-block-container .frhd__post-block-article:not(:last-child) {
    margin-bottom: 20px;
  }
}

/* Animation on pagination click */
.frhd__lds-spinner {
  display: none;
  position: relative;
  width: 80px;
  height: 80px;
}
.frhd__lds-spinner div {
  transform-origin: 40px 40px;
  animation: lds-spinner 1.2s linear infinite;
}
.frhd__lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3px;
  left: 37px;
  width: 6px;
  height: 18px;
  border-radius: 20%;
  background: gray;
}
.frhd__lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}
.frhd__lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}
.frhd__lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}
.frhd__lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}
.frhd__lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}
.frhd__lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}
.frhd__lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}
.frhd__lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}
.frhd__lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}
.frhd__lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}
.frhd__lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}
.frhd__lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}
@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Has full column linked */
a.frhd-full-col-linked {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}