  .news-header {
    text-align: center;
    padding: 5px 23px;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);

    transition: all 0.3s ease;
  }

  .news-header:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  }

  .heading-news {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .heading-news::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(to right, #3498db, #2ecc71);
    border-radius: 3px;
    animation: underlineGlow 3s infinite alternate;
  }

  @keyframes underlineGlow {
    0% {
      width: 80px;
      opacity: 0.8;
    }

    100% {
      width: 120px;
      opacity: 1;
    }
  }

  .subtitle {
    font-size: 1.3rem;
    color: #34495e;
    margin-top: 15px;
    font-weight: 500;
  }

  .description {
    max-width: 700px;
    margin: 15px auto 0;
    color: #5d6d7e;
    font-size: 1.05rem;
    line-height: 1.6;
  }

  .newslist-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
  }

  /* Filter Tabs Container */
  .newslist-filters-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
  }

  .filter-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }

  .filter-label {
    font-weight: 600;
    /*   margin-bottom: 15px; */
    color: #2c3e50;
    font-size: 1.1rem;
  }

  /* Tabs with Scroll */
  .tabs-container {
    position: relative;
    display: flex;
    align-items: center;
  }

  .newslist-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 5px 0;
    scrollbar-width: none;
    font-size: smaller;
    /* Firefox */
  }

  .newslist-tabs::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Edge */
  }

  .scroll-btn {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .scroll-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
  }

  .scroll-btn.left {
    margin-right: 10px;
  }

  .scroll-btn.right {
    margin-left: 10px;
  }

  .newslist-tab {
    padding: 10px 20px;
    background: #f8fafc;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 1px solid #e2e8f0;
    font-weight: 500;
    color: #64748b;
  }

  .newslist-tab:hover {
    background: #e2e8f0;
    color: #475569;
  }

  .newslist-tab.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
  }

  /* Main Layout */
  .newslist-main-container {
    display: flex;
    gap: 30px;
  }

  .newslist-primary {
    flex: 1;
  }

  .newslist-sidebar {
    width: 350px;
    flex-shrink: 0;
  }

  /* View Toggle */
  .newslist-view-toggle {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }

  .newslist-view-btn {
    padding: 8px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #64748b;
  }

  .newslist-view-btn:first-child {
    border-radius: 6px 0 0 6px;
  }

  .newslist-view-btn:last-child {
    border-radius: 0 6px 6px 0;
  }

  .newslist-view-btn:hover {
    background: #e2e8f0;
    color: #475569;
  }

  .newslist-view-btn.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
  }

  /* No Results */
  .newslist-no-results {
    display: none;
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    color: #64748b;
    font-size: 1.1rem;
  }

  /* List View */
  .newslist-listview {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .newslist-item {
    display: flex;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .newslist-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }

  .newslist-thumb {
    position: relative;
    width: 250px;
    flex-shrink: 0;
  }

  .newslist-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .newslist-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
  }

  .newslist-badge.live {
    background: #ef4444;
  }

  .newslist-badge.update {
    background: #10b981;
  }

  .newslist-badge.urgent {
    background: #f59e0b;
  }

  .newslist-badge.announcement {
    background: #8b5cf6;
  }

  .newslist-content {
    padding: 20px;
    flex: 1;
  }

  .newslist-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #1e293b;
    line-height: 1.4;
  }

  .newslist-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.875rem;
    color: #64748b;
  }

  .newslist-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .newslist-desc {
    color: #64748b;
    margin-bottom: 15px;
    line-height: 1.6;
  }

  .newslist-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .newslist-category {
    padding: 4px 12px;
    background: #f1f5f9;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
  }

  .newslist-readmore {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
  }

  .newslist-readmore:hover {
    color: #1d4ed8;
  }

  /* Horizontal View */
  .newslist-horizontal-enhanced {
    display: none;
  }

  .horizontal-section {
    margin-bottom: 30px;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1e293b;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
  }

  .horizontal-scroll-container {
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .horizontal-news-grid {
    display: flex;
    gap: 20px;
    padding: 5px;
  }

  .enhanced-news-card {
    width: 320px;
    flex-shrink: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .enhanced-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }

  .enhanced-thumb {
    position: relative;
    height: 180px;
  }

  .enhanced-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .enhanced-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
  }

  .enhanced-badge.live {
    background: #ef4444;
  }

  .enhanced-badge.update {
    background: #10b981;
  }

  .enhanced-badge.urgent {
    background: #f59e0b;
  }

  .enhanced-badge.announcement {
    background: #8b5cf6;
  }

  .enhanced-content {
    padding: 15px;
  }

  .enhanced-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #1e293b;
    line-height: 1.4;
  }

  .enhanced-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 0.8rem;
    color: #64748b;
  }

  .enhanced-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .enhanced-desc {
    color: #64748b;
    margin-bottom: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .enhanced-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .enhanced-category {
    padding: 4px 10px;
    background: #f1f5f9;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #475569;
  }

  .enhanced-readmore {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s ease;
  }

  .enhanced-readmore:hover {
    color: #1d4ed8;
  }

  /* Sidebar */
  .newslist-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }

  .related-news-section,
  .trending-news-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }

  .related-news-title,
  .trending-news-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #1e293b;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
  }

  .related-news-list,
  .trending-news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .related-news-item {
    display: flex;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
  }

  .related-news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .related-news-thumb {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
  }

  .related-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .related-news-content {
    flex: 1;
  }

  .related-news-item-title {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #1e293b;
    line-height: 1.4;
  }

  .related-news-meta {
    display: flex;
    gap: 10px;
    font-size: 0.75rem;
    color: #64748b;
  }

  .trending-news-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
  }

  .trending-news-item:last-child {
    border-bottom: none;
  }

  .trending-number {
    width: 24px;
    height: 24px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
  }

  .trending-news-text {
    font-size: 0.9rem;
    color: #1e293b;
    line-height: 1.4;
  }

  /* Responsive Design */
  @media (max-width: 1024px) {
    .newslist-main-container {
      flex-direction: column;
    }

    .newslist-sidebar {
      width: 100%;
    }

    .newslist-item {
      flex-direction: column;
    }

    .newslist-thumb {
      width: 100%;
      height: 200px;
    }
  }

  @media (max-width: 768px) {
    .newslist-wrapper {
      padding: 15px;
    }

    .newslist-filters-container {
      gap: 15px;
    }

    .filter-section {
      padding: 15px;
    }

    .scroll-btn {
      display: none;
    }

    .newslist-view-toggle {
      justify-content: center;
    }
  }

  /* Compact News List Styles */
  .newslist-listview {
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* Reduced gap between items */
  }

  .newslist-item {
    display: flex;
    background: white;
    border-radius: 8px;
    /* Slightly smaller radius */
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    /* Lighter shadow */
    transition: all 0.2s ease;
    min-height: 120px;
    /* Fixed minimum height */
  }

  .newslist-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  }

  .newslist-thumb {
    position: relative;
    width: 180px;
    /* Reduced thumbnail width */
    flex-shrink: 0;
    height: 120px;
    /* Fixed height */
  }

  .newslist-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .newslist-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 600;
    color: white;
  }

  .newslist-content {
    padding: 15px;
    /* Reduced padding */
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .newslist-title {
    font-size: 1rem;
    /* Smaller title */
    margin-bottom: 8px;
    color: #1e293b;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .newslist-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 0.75rem;
    /* Smaller meta text */
    color: #64748b;
  }

  .newslist-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .newslist-desc {
    color: #64748b;
    margin-bottom: 10px;
    line-height: 1.4;
    font-size: 0.85rem;
    /* Smaller description */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .newslist-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
  }

  .newslist-category {
    padding: 3px 10px;
    background: #f1f5f9;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #475569;
  }

  .newslist-readmore {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    transition: color 0.2s ease;
  }

  /* Enhanced Grid View */
  .enhanced-news-card {
    width: 280px;
    /* Slightly smaller cards */
    flex-shrink: 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
  }

  .enhanced-news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  }

  .enhanced-thumb {
    position: relative;
    height: 150px;
    /* Reduced height */
  }

  .enhanced-content {
    padding: 12px;
    /* Reduced padding */
  }

  .enhanced-title {
    font-size: 0.95rem;
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .enhanced-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.75rem;
    color: #64748b;
  }

  .enhanced-desc {
    color: #64748b;
    margin-bottom: 10px;
    font-size: 0.8rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .enhanced-category {
    padding: 3px 8px;
    background: #f1f5f9;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 600;
    color: #475569;
  }

  /* Sidebar Items - More Compact */
  .related-news-item {
    display: flex;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    min-height: 60px;
  }

  .related-news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .related-news-thumb {
    width: 70px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
  }

  .related-news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .related-news-item-title {
    font-size: 0.8rem;
    margin-bottom: 4px;
    color: #1e293b;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .related-news-meta {
    display: flex;
    gap: 8px;
    font-size: 0.7rem;
    color: #64748b;
  }

  .trending-news-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
  }

  .trending-news-item:last-child {
    border-bottom: none;
  }

  .trending-number {
    width: 20px;
    height: 20px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    flex-shrink: 0;
  }

  .trending-news-text {
    font-size: 0.8rem;
    color: #1e293b;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* View Toggle - More Compact */
  .newslist-view-toggle {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 15px;
    background: white;
    padding: 12px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  .newslist-view-btn {
    padding: 6px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    color: #64748b;
    font-size: 0.85rem;
  }

  /* Filter Sections - More Compact */
  .filter-section {
    background: white;
    border-radius: 8px;
    padding: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  .filter-label {
    font-weight: 600;
    /*     margin-bottom: 12px; */
    color: #2c3e50;
    font-size: 1rem;
  }

  /* Responsive adjustments */
  @media (max-width: 1024px) {
    .newslist-thumb {
      width: 150px;
      height: 100px;
    }

    .newslist-content {
      padding: 12px;
    }
  }

  @media (max-width: 768px) {
    .newslist-item {
      flex-direction: column;
      min-height: auto;
    }

    .newslist-thumb {
      width: 100%;
      height: 160px;
    }

    .newslist-content {
      padding: 15px;
    }

    .enhanced-news-card {
      width: 260px;
    }
  }

  /* Additional utility classes for better spacing */
  .compact-view {
    max-height: 600px;
    overflow-y: auto;
  }

  /* Scrollbar styling for compact view */
  .compact-view::-webkit-scrollbar {
    width: 6px;
  }

  .compact-view::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
  }

  .compact-view::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
  }

  .compact-view::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
  }
