.flipbook-link {
    position: relative;
    display: block;
    transition: transform 0.3s ease; /* Add smooth transition */
    cursor: pointer;
  }
  
  .flipbook-link:hover {
    transform: translateY(-10px); /* Move up 10px on hover */
  }
  
  .flipbook-link > img {
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .15);
  }
  
  .flipbook-link .flipbook-thumb {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
  }
  
  .flipbook-link .flipbook-thumb.thumb-hidden ._df_thumb {
    margin: 0;
    padding: 130% 100% 0 0;
    box-shadow: none;
  }
  
  .post-link.vertical .flipbook-link + .post-title {
    padding: .6rem 0 .6rem;
    color: #000 !important;
    text-decoration: none;
    transition: none !important;
    cursor: default !important;
    display: flex;
  }

  .post-link.vertical .flipbook-link + .post-title:hover {
    color: #000 !important;
    text-decoration: none;
  }

  .flipbook-purchase-btn {
    display: block;
    align-items: center;
    text-align: center;
    justify-content: center;
    margin-top: 0.5rem;
    padding: 6px 12px;
    background-color: #000;
    color: #fff !important;
    border-radius: 4px;
    font-size: 14px;
    font-family: tenon, Adjusted Arial Fallback, sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
  }

  .flipbook-purchase-btn:hover {
    background-color: #333;
    color: #fff !important;
  }

  @media (max-width: 1059px) {
    .flipbook-purchase-btn {
      font-size: 12px;
    }
  }

  @media (max-width: 1059px) {
    .post-link.vertical .flipbook-link + .post-title {
      min-height: 3.8rem;
      display: flex;
    }
  }