/* Only for small screens */
@media (max-width: 767px) {
  .left-blog h4 {
    cursor: pointer;
    user-select: none;
  }

  .left-blog h4::after {
    content: ' ▼';
    display: inline-block;
    float: right;
    transition: transform 0.3s ease;
  }

  .left-blog h4.collapsed::after {
    transform: rotate(-90deg);
  }

  .left-blog .recent-post {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
  }

  .left-blog .recent-post.expanded {
    max-height: 2000px; /* large enough to fit all content */
    opacity: 1;
    pointer-events: auto;
  }
}
