.menu-link {
    text-decoration: none;
    color: #0077b6;
}

.menu-link:hover {
    text-decoration: underline;
}

.news-story {
    display: flex; /* 使用 flexbox 布局 */
    align-items: flex-start; /* 垂直对齐方式 */
    margin-bottom: 20px;
    margin-left: 10px;
    margin-right: 10px;
    flex-wrap: wrap; /* 自动换行 */
}

.news-image {
    width: 200px;
    height: auto;
    margin-right: 15px;/* Resetting default margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    padding: 20px;
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5em;
    color: #333;
}

/* Menu Styles */
.menu ul {
    list-style-type: none;
    padding: 0;
    background-color: #333;
    text-align: center;
}

.menu ul li {
    display: inline;
    margin-right: 20px;
}

.menu-link {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.menu-link:hover {
    color: #f4f4f4;
    text-decoration: underline;
}

/* News Story Styles */
.news-story {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border: 2px solid #333;
    padding: 10px;
    background-color: #fff;
}

.image-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.news-image {
    width: 30%; /* Each image takes up 30% of the container's width */
    height: auto;
}

.story-text {
    width: 55%;
    font-size: 1.1em;
}

.continue-reading {
    color: blue;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
}

.continue-reading:hover {
    color: red;
    text-decoration: underline;
}

    margin-bottom: 15px;
}

.news-story .float-left {
    order: -1; /* 让偶数行的图片排在左边 */
}

.news-story .float-right {
    order: 1; /* 让奇数行的图片排在右边 */
}

.continue-reading {
    color: blue;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
}

.continue-reading:hover {
    color: red;
    text-decoration: underline;
}
