body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    padding: 0;
    min-height: 100vh;
    box-sizing: border-box;
    overflow-x: hidden;
    line-height: 1.4;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
    line-height: 1.4;
}

header {
    background-image: url('../../images/background.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 1rem 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

iframe {
    width: 100%;
}

.content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    box-sizing: border-box;
}

.news-detail {
    background-color: #ffffff;
    width: 100%;
    max-width: 800px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    box-sizing: border-box;
}

.news-detail-image {
    width: 50%;
    height: auto;
    border-radius: 8px;
    margin: 0 auto;
    display: block;
    margin-bottom: 20px;
}

.news-date {
    font-size: 14px;
    color: #888;
    margin: 15px 0;
    line-height: 1.4;
}

.tags {
    margin-bottom: 20px;
}

.tag {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 5px;
    font-size: 14px;
    color: white;
    line-height: 1.4;
}

.news-content {
    margin-top: 1rem;
    color: #333;
    line-height: 1.4;
    white-space: pre-line;
    font-size: 16px;
}

.news-content br {
    content: "";
    display: block;
    margin-bottom: 0.8em;
}

.news-content br + br {
    margin-bottom: 1.5em;
}

/* 確保表情符號和文字對齊 */
.news-content img,
.news-content emoji {
    vertical-align: middle;
    margin: 0 2px;
    line-height: inherit;
}