/* body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
} */


/* Top Navigation Bar */
.top-nav {
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
}

.top-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-around;
}

.top-nav li {
    padding: 10px 0;
    font-weight: bold;
    color: #666;
    display: flex;
    align-items: center;
}

.top-nav li:hover {
    color: #007bff;
    cursor: pointer;
}

.top-nav i {
    margin-right: 8px;
    color: #007bff;
}

/* News List */
.news-list {
    display: flex;
    flex-direction: column;
}

.news-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px dashed #ccc;
}

.news-item:last-child {
    border-bottom: none;
}

.news-icon {
    color: #007bff;
    margin-right: 15px;
    font-size: 10px;
    position: relative;
    top: 5px;
}

.news-content {
    flex-grow: 1;
}

.news-title {
    margin: 0;
    font-size: 16px;
    color: #333;
    line-height: 1.4;
}

.news-date {
    margin: 5px 0 0;
    font-size: 12px;
    color: #999;
}

.new-tag {
    background-color: #ff4d4f;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    margin-left: 10px;
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.fab:hover {
    background-color: #0056b3;
}

.top-nav a {
    text-decoration: none;
}

.news-title:hover {
    color: #007bff; /* หรือสีที่คุณต้องการ เช่น #0056b3 */
    text-decoration: none;
}