/* 基礎樣式 */
body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    color: #000000;
    min-height: 100vh;
    background-color: #f5f5f5;
}

.page-wrapper {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

header {
    flex: 0 0 auto;
}

.menu-container {
    flex: 0 0 auto;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: white;
}

.content-container {
    flex: 1;
    overflow-y: auto;
}

#content {
    padding: 20px;
    min-height: calc(100vh - 200px);
}

.main-content {
    display: flex;
    margin-bottom: 30px;
    gap: 20px;
    align-items: center;
}

.up-to-date-news {
    width: calc(45% - 10px);
    padding: 20px;
    box-sizing: border-box;
}

.up-to-date-news h2 {
    border-bottom: 2px solid #0066cc;
    padding-bottom: 10px;
    color: #0066cc;
    font-size: 24px;
}

.image-slider-container {
    width: 600px;
    height: 400px;
    flex-shrink: 0;
    margin-top: -50px;
}

.image-slider {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border-radius: 4px;
}

.additional-news {
    width: 100%;
    margin-top: 30px;
    background-color: #f0f7ff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.additional-news h2 {
    border-bottom: 2px solid #4a90e2;
    padding-bottom: 10px;
    color: #4a90e2;
    font-size: 24px;
    margin-bottom: 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.up-to-date-news .news-item {
    padding: 15px;
    background-color: white;
    border-left: 4px solid #0066cc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 15px;
}

.additional-news .news-item {
    padding: 15px;
    background-color: white;
    border-left: 4px solid #4a90e2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-3px);
}

.up-to-date-news .news-item h3 {
    margin-top: 0;
    color: #0066cc;
    font-size: 18px;
}

.additional-news .news-item h3 {
    margin-top: 0;
    color: #4a90e2;
    font-size: 18px;
}

.news-item p {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.news-date {
    color: #888;
    font-size: 12px;
    font-style: italic;
    margin-bottom: 8px;
}

.slide {
    position: absolute;
    width: 600px;
    height: 400px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    cursor: pointer;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 新增的圓點導航樣式 */
.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dot.active {
    background-color: #0066cc;
}