/*首頁上半部分*/

.index-top {
    display: flex;
    width: 80%;
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 45px;
    align-items: center; 
    vertical-align: center;
}

.top-left {
    flex: 5.5;
    align-items: center;
}

.top-left-title{
    text-align: justify;
    font-size: 26px;
    font-weight:600;
    color:#2d2d2d;
    letter-spacing: 4px;
    line-height:28px;
    margin: 0 0 10px 0;
}

.top-left-time{
    font-size: 12px;
    font-weight:100;
    color:#a0a0a0;
    letter-spacing: 2px;
    line-height:14px;
    margin: 0 0 10px 0;
}

.top-left-content{
    text-align: justify;
    font-size: 16px;
    font-weight:300;
    color:#666666;
    letter-spacing: 2px;
    margin: 0 0 10px 0;
}

.top-left-pic{
    width: 100%;
    height: 300px;
    border-radius: 5px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.top-right {
    flex: 4.5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0 0 0 15px;
}

.top-right .top-right-item {
    margin: 5px 0; /* 每行項目之間的間距 */
    align-items: center;
    display: flex;
}

.top-left-item{
    vertical-align: middle;
}

.top-right-pic{
    flex: 3.5;
    width: 100%;
    height: 100px;
    border-radius: 5px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.top-right-text{
    flex: 6.5;
    margin: 0 0 0 10px ;
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

.top-right-title{
    height: 100%;
    text-align: justify;
    font-size: 18px;
    font-weight:600;
    color:#2d2d2d;
    letter-spacing: 2px;
    line-height:22px;
    margin: 0 0 5px 0;
    padding: 0;
}

.top-right-time{
    font-size: 12px;
    font-weight:100;
    color:#a0a0a0;
    letter-spacing: 2px;
    line-height:14px;
    margin: 0;
    padding: 0;
}

/*首頁下半部分*/

.index-bottom{
    width: 80%;
    max-width: 1280px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 auto;
    padding-top: 40px;
    align-items: stretch; 
}

.bottom-left{
    flex: 7.5;
}

.bottom-left-item{
    width: 100%;
    display: flex;
    align-items: center;
    margin: 0 0 10px 0;
}

.bottom-left-pic{
    display: flex;
    flex: 4.5;
    width: 100%;
    height: 200px;
    border-radius: 5px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.bottom-left-text{
    width: 100%;
    flex: 5.5;
    margin: 0 0 0 20px;
    display: flex; /* 使用 flex 佈局 */
    flex-direction: column; /* 垂直排列 */
    justify-content: center; /* 垂直置中內容 */
}

.bottom-left-setting{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 0 0 10px 0;
}

.news-tag-kolkoc,.news-tag-life, .news-tag-society,.news-tag-fun, .news-tag-travel,.news-tag-health,.news-tag-othertags  {
    display: flex;
    padding: 5px 10px;
    border-radius: 500px;
    text-align: center;
    justify-content: center; 
}

.news-tag-kolkoc {
    background-color: #af52d1;
}

.news-tag-life {
    background-color: #e2771e;
}

.news-tag-society {
    background-color: #3c4cd6;
}

.news-tag-fun {
    background-color: #ef48af;
}

.news-tag-travel {
    background-color: #eaad00;
}

.news-tag-health {
    background-color: #5fc950;
}

.news-tag-othertags {
    background-color: #00aeeb;
}


.news-tag-t {
    color:#f7f7f7;
    font-size: 10px;
    letter-spacing: 2px;
    margin: 0;
    padding: 0 0 0 3px; 
    display: block; 
}

.reporter,.bottom-left-time{
    align-items: center;
    font-size: 12px;
    font-weight:100;
    color:#a0a0a0;
    letter-spacing: 2px;
    line-height:14px;
}

.bottom-left-title{
    text-align: justify;
    font-size: 24px;
    font-weight:500;
    color:#2d2d2d;
    letter-spacing: 3px;
    line-height:26px;
    margin: 0 0 10px 0;
}

.bottom-left-content{
    width: 100%;
    height: 100%;
    text-align: justify;
    font-size: 14px;
    font-weight:300;
    color:#878787;
    letter-spacing: 3px;
    line-height:18px;
}

.bottom-right{
    flex: 2.5;
    margin-left: 20px;
    display: flex;
    flex-direction: column;
}

.bottom-right-pic{
    display: flex;
    flex: 4.5;
    width: 100%;
    height: 150px;
    border-radius: 5px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    margin-bottom:10px;
}

.bottom-right-pic .news-tag-kolkoc,.bottom-right-pic .news-tag-life, .bottom-right-pic .news-tag-society,.bottom-right-pic .news-tag-fun, .bottom-right-pic .news-tag-travel,.bottom-right-pic .news-tag-health,.bottom-right-pic .news-tag-othertags  {
    position: absolute; 
    top: 10px;
    right: 10px;
    box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.1);
}

.bottom-right-text{
    margin: 0 0 20px 0;
}

.bottom-right-title{
    width: 100%;
    height: 100%;
    text-align: justify;
    font-size: 18px;
    font-weight:500;
    color:#2d2d2d;
    letter-spacing: 3px;
    line-height:22px;
    padding: 0 1px;
    margin: 0 0 10px 0;
}

.bottom-right-time {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    font-size: 12px;
    font-weight: 100;
    color: #a0a0a0;
    letter-spacing: 2px;
    line-height: 14px;
    text-align: right; 
}

.bottom-right-time::before {
    content: "";
    flex-grow: 1; 
    height: 1px;
    background-color: #a0a0a0; 
    margin-right: 10px;
}

/*更多新聞*/

.more-news {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 40px 0 40px 0;
}

.more-news .more-news-t {
    color: #f7f7f7;
    font-size: 16px;
    letter-spacing: 4px;
    background-color: #00aeeb;
    border-radius: 600px;
    display: inline-flex;
    padding: 7px 30px;
    text-align: center;
    justify-content: center;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
}


@media screen and (max-width:992px) {
    
    .index-top,.index-bottom ,.more-news {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
    }

    /*首頁上半部分*/

    .index-top {
        padding-top: 15px;
    }

    .top-left {
        margin: 0 0 20px 0;
    }

    .top-left-time{
        font-size: 10px;
        margin: 5px 0 5px 0;
    }

    .top-left-pic{
        height: 220px;
    }

    .top-right{
        margin: 0;
    }

    .top-right-pic{
        flex:4.5;
        height: 110px;
    }

    .top-right-text{
        flex:5.5;
    }

    .top-right-time{
        font-size: 10px;
    }

    /*首頁下半部分*/

    .index-bottom{
        padding: 30px 0 0 0;
    }

    .bottom-left-item{
        display: inline-block;
    }

    .bottom-left-pic{
        height: 250px;
        margin: 0 0 10px 0;
    }

    .bottom-left-setting{
        align-items: center;
    }

    .reporter,.bottom-left-time{
        font-size: 10px;
        margin: 0;
        padding: 0;
    }

    .bottom-left-text{
        margin: 10px 0 0 0;
        padding: 0;
    }

    .bottom-left-title{
        font-size: 18px;
        font-weight: 600;
        margin: 0 0 5px 0;
        padding: 0;
    }

    .bottom-left-content{

        margin: 0 0 5px 0;
        padding: 0;
    }

    .bottom-right{
        flex: 2.5;
        margin-left: 20px;
        display: flex;
        flex-direction: column;
        padding: 0;
        margin: 0;
        background-color: #fff;
    }

    .bottom-right-pic{
        height: 220px;
    }

}