/* 頁首 START */
.header {
    background-image: url("../images/header_bg.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /* 保持圖片比例並覆蓋整個區域 */
    height: 300px;
    align-items: flex-start;
}

.header .logo {
    display: flex;
    color: #fff;
    font-size: large;
    text-align: center;
    text-wrap: nowrap;
    border-bottom: 1px solid #c7dce3;
    padding-top: 6px;
}

nav {
    border-bottom: 1px solid #c7dce3;
    width: 100%;
}

.dropdown:hover {
    background-color: #ffe100;
    margin-bottom: -1px;
}

/* 頁首 END */

/* 最新消息 */
.news {
    background: url(../images/news.png) no-repeat center center;
    height: 500px;
}

.news-content {
    margin: 30px auto;
}

.news-head {
    text-align: center;
    vertical-align: middle;
    line-height: 30px;
    font-size: 30pt;
    font-weight: bold;
}

.news-scrollbar {
    margin: 40px auto;
    /* width: 60%; */
    width: 800px;
    overflow: hidden;
    height: 300px;
    /*限定高度*/
    overflow-y: auto;
    /*自動產生 y 軸捲軸*/

    /* border: 1px solid #ffe100; */
}

.news-scrollbar h3 {
    font-size: 18pt;
    font-weight: normal;
    line-height: 30pt;
    margin: 10px;
}

.news-scrollbar h3 a {
    text-decoration: none;
    color: #104289;
}

.news-scrollbar h3 a:hover {
    background-color: #fff;
}

/* 捲軸底色 */
.news-scrollbar::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #baefff;
}

/* 捲軸寬度 */
.news-scrollbar::-webkit-scrollbar {
    width: 10px;
    background-color: #104289;
}

/* 捲軸本體顏色 */
.news-scrollbar::-webkit-scrollbar-thumb {
    background-color: #104289;
}

/* 媒體查詢，當視窗小於768寬度時，讓元素垂直排列 */
@media (max-width: 768px) {
    .header {
        height: 60px;
    }

    .news-scrollbar {
        width: 95%;
    }

    .news-scrollbar h3 {
        font-size: 20pt;
        font-weight: normal;
        line-height: 30pt;
    }
}