
.news-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 0 0.1rem 0px 0.1rem; */
    margin-bottom: 0rem;
  }
  
  .news-list ul {
    display: flex;
    gap: 1rem;
    list-style: none;
    padding: 0;
  }
  
  .category-nav-arrow {
    z-index: 1010 !important;
    /* padding: 0 0.5rem 0px 0.5rem; */
  }
  
  .news-list li:hover {
    color: #4b5563;
  }
  
  .category-nav-arrow {
    width: 30px;
    height: 42px;
    background: #FFFFFF;
    border: 1px solid #A0A0A0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
   
  }
  
  /* Adjust the icon size within the container */
  .category-nav-arrow .material-symbols-outlined {
    width: 10px;
    height: 20px;
    font-size: 20px;
  }
  
  /* Optional: Add hover effect */
  .category-nav-arrow:hover {
    background: #F5F5F5;
  }
  
  @keyframes pulse {
  0%, 100% {
      opacity: 1;
  }
  50% {
      opacity: .5;
  }
  }
  
  /* Keep space reserved — hide only visually */
  #prevCategory,
  #nextCategory {
      padding:  8px;
      background: rgba(255, 255, 255, 0.543);
      border-radius: 4px;
      transition: all 0.3s ease;
      visibility: hidden;
      opacity: 0; /* Start with 0 opacity */
  }
  
  /* Show arrows only when hovering over news-list */
  .news-list:hover #prevCategory[style*="visibility: visible"],
  .news-list:hover #nextCategory[style*="visibility: visible"] {
      visibility: visible !important;
      opacity: 1; /* Fade in on hover */
  }
  
  
  
  /* Keep other existing styles */
  .category-nav-arrow:hover {
      background: #F5F5F5;
  }