.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    overflow: auto;
}
.popup-content {
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    text-align: center;
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close:hover {
    color: black;
}
#popup-body {
    text-align: left;
    margin-top: 10px;
}
.popup-close-btn {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #f44336;
    color: white;
    border: none;
    cursor: pointer;
}
.popup-close-btn:hover {
    background-color: #d32f2f;
}
.news-container {
    margin-bottom: 20px;
}
.loading-placeholder {
    height: 200px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

.news-container {
                    display: flex;
                    align-items: center;
                    padding: 10px;
                    border-bottom: 1px solid #ddd;
                }

                /* 圖片設定 */
                .news-container img {
                    width: 80px;
                    /* 設定方型的圖片大小 */
                    height: 80px;
                    object-fit: cover;
                    border-radius: 8px;
                    /* 讓圖片邊角微圓 */
                    margin-right: 10px;
                }

                /* 文字區域 */
                .news-content {
                    flex: 1;
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                }

                /* 標題設定 */
                .news-content h3 {
                    font-size: 16px;
                    font-weight: bold;
                    margin: 0;
                    color: #333;
                }

                /* 時間和地點設定 */
                .news-content .details {
                    font-size: 12px;
                    color: #666;
                    margin-top: 4px;
                }

                /* 手機自適應 */
                @media (max-width: 768px) {
                    .news-container {
                        padding: 8px;
                    }

                    .news-content h3 {
                        font-size: 15px;
                    }

                    .news-content .details {
                        font-size: 11px;
                    }
                }

