﻿/* 整個內容方塊 */
.index最新消息10 {
    /*height : 300px;   --- if simpleBar (i.e. scroll bar) is set on the whole block, change the number.*/
    --event-name-num-of-line: 5;
}

    /* 內容方塊標題 */
    .index最新消息10 .blockTitle {
        text-align: center;
    }

        .index最新消息10 .blockTitle h2 {
        }

        /* 內容方塊標題超連結 */
        .index最新消息10 .blockTitle a {
        }

    /* 最新消息容器，每個最新消息都放在裡面 */
    .index最新消息10 .loopElementList {
        height : 600px;   /*--- if simpleBar (i.e. scroll bar) is set on the content, change the number.*/
    }

    .index最新消息10 .elementContainer {
    }

/*單一最新消息*/
    .index最新消息10 .eachNews {
    }

    .index最新消息10 .innerShell {
        border-bottom: var(--r-el-border-bottom, solid 1px #dddddd);
        padding: var(--r-el-padding, 1rem);
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .index最新消息10 .glide .innerShell {
        display: block;
        border-bottom: none 0;
        padding: 0;
    }

    /* 有圖片 */
    .index最新消息10 .hasPic .left {
        display: block;
        flex-grow: 0;
        flex-shrink: 1;
    }

    .index最新消息10 .hasPic .right {
        flex-grow: 1;
        flex-shrink: 1;
        padding-left: var(--r-hori-gap, 2em);
    }

    .index最新消息10 .glide .hasPic .right {
        padding-left: 0;
    }

    /* 無圖片 */
    .index最新消息10 .noPic .left {
        display: none;
    }

    .index最新消息10 .noPic .right {
        flex-basis: 100%;
    }

.index最新消息10 .themePic
{
    max-width : 100%;
    height : auto;
}

/*日期*/
    .index最新消息10 .date {
        font-size: var(--r-smaller-font, 0.8rem);
        margin-bottom : 1rem;
    }

/*標題文字*/
    .index最新消息10 .heading {
        font-weight: var(--r-heading-font-weight, 700);
        font-size: var(--r-heading-font-size, 1.2em);
    }

/*小圖示*/
    .index最新消息10 .newIcon {
    }

/*詳情*/
    .index最新消息10 .details {
      
    }

    .index最新消息10 .glide .details {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: var(--event-name-num-of-line);
        -webkit-box-orient: vertical;
        
    }

        .index最新消息10 .details * {
            max-width: 100%;
        }

/*無詳情*/
        .index最新消息10 .details:empty {
            display: none;
        }

    .index最新消息10 .more {
        text-align: right;
        font-weight: 700;
        font-size: 1.5em;
        margin-right: 2em;
        font-style: italic;
        line-height: 2;
    }

@media (max-width: 480px) {

    .index最新消息10 .innerShell {
        display: block;
    }

    .index最新消息10 .hasPic .left {
        display: block;
        max-width: initial;
    }

    .index最新消息10 .hasPic .right {
        display: block;
        padding-left: 0;
    }
    .index最新消息10 .eachNews {
        display: none;
    }

        .index最新消息10 .eachNews:nth-child(-n+6) {
            display: block;
        }
}
@media (min-width: 481px) and (max-width: 767px) {

    .index最新消息10 .hasPic .left {
        flex-basis: 50%;
        max-width: 300px;
    }

    .index最新消息10 .hasPic .right {
        flex-basis: 50%;
    }
  
    .index最新消息10 .details {
        display : none;  
    }
  
    .index最新消息10 .eachNews {
        display: none;
    }

        .index最新消息10 .eachNews:nth-child(-n+6) {
            display: block;
        }
}
@media (min-width: 768px) and (max-width: 979px) {

    .index最新消息10 .hasPic .left {
        flex-basis: 35%;
        max-width: 340px;
    }

    .index最新消息10 .hasPic .right {
        flex-basis: 65%;
    }
    .index最新消息10 .eachNews {
        display: none;
    }

        .index最新消息10 .eachNews:nth-child(-n+8) {
            display: block;
        }
}
@media (min-width: 980px) and (max-width:1199px) {

    .index最新消息10 .hasPic .left {
        flex-basis: 30%;
        max-width: 340px;
    }

    .index最新消息10 .hasPic .right {
        flex-basis: 70%;
    }
    .index最新消息10 .eachNews {
        display: none;
    }

        .index最新消息10 .eachNews:nth-child(-n+8) {
            display: block;
        }
}
@media (min-width: 1200px) and (max-width:1919px) {
    .index最新消息10 .hasPic .left {
        flex-basis: 50%;
        max-width: 460px;
    }

    .index最新消息10 .hasPic .right {
        flex-basis: 50%;
    }
    .index最新消息10 .details {
        display : none;  
    }
}

@media (min-width: 1920px) {
    .index最新消息10 .hasPic .left {
        flex-basis: 40%;
        max-width: 600px;
    }

    .index最新消息10 .hasPic .right {
        flex-basis: 60%;
    }
}
