/* News Stream Styling */

.news-stream {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.news-list-container {
    margin-top: 40px;
    position: relative;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-scroll-wrapper {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
}

.news-item {
    flex-shrink: 0;
    height: auto;
    min-height: 80px;
    display: flex;
  align-items: center;
 padding: 15px 30px;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background-color: #f8f9fa;
    padding-left: 40px;
}

.news-link {
    text-decoration: none;
    color: inherit;
    width: 100%;
 display: flex;
    align-items: center;
    justify-content: space-between;
}

.news-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.news-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    transition: color 0.3s ease;
    flex: 1;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-item:hover .news-title {
 color: #F4A60B;
}

.news-arrow {
    font-size: 14px;
    color: #F4A60B;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.news-item:hover .news-arrow {
    transform: translateX(5px);
}

.news-meta {
    display: flex;
  align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
  color: #666;
    font-weight: 700;
    transition: color 0.3s ease;
}

.news-item:hover .news-date {
    color: #F4A60B;
}

.news-date i {
    font-size: 15px;
    color: #F4A60B;
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-item {
        padding: 12px 20px;
      min-height: 70px;
    }

    .news-item:hover {
        padding-left: 25px;
    }

    .news-title {
        font-size: 14px;
    }

    .news-content {
        gap: 20px;
    }

    .news-date {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .news-item {
        padding: 10px 15px;
    min-height: 60px;
    }

    .news-link {
        gap: 15px;
    }

    .news-title {
        font-size: 13px;
    }

    .news-date {
        font-size: 12px;
    }
}
