﻿/* 整個內容方塊 */
.index最新消息3 {
    /*height : 300px;   --- if simpleBar (i.e. scroll bar) is set on the whole block, change the number.*/
    --event-name-num-of-line: 5;
}

    /* 內容方塊標題 */
    .index最新消息3 .blockTitle {
        text-align: center;
      color : #078c10;
    }

        .index最新消息3 .blockTitle h2 {
          color : #078c10;
        }

        /* 內容方塊標題超連結 */
        .index最新消息3 .blockTitle a {
        }

    /* 最新消息容器，每個最新消息都放在裡面 */
    .index最新消息3 .loopElementList {
        /*height : 300px;   --- if simpleBar (i.e. scroll bar) is set on the content, change the number.*/
    }

    .index最新消息3 .elementContainer {
    }

/*單一最新消息*/
    .index最新消息3 .eachNews {
    }

    .index最新消息3 .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最新消息3 .glide .innerShell {
        display: block;
        border-bottom: none 0;
        padding: 0;
    }

    /* 有圖片 */
    .index最新消息3 .hasPic .left {
        flex-grow: 1;
        flex-shrink: 1;
        padding-right: var(--r-hori-gap, 2em);
    }

    .index最新消息3 .glide .hasPic .left {
        padding-right: 0;
    }

    .index最新消息3 .hasPic .right {
        display: block;
        flex-grow: 0;
        flex-shrink: 1;
    }

    .index最新消息3 .noPic .left {
        flex-basis: 100%;
    }

    /* 無圖片 */
    .index最新消息3 .noPic .right {
        display: none;
    }


/*日期*/
    .index最新消息3 .date {
        font-size: var(--r-smaller-font, 0.8rem);
        margin-bottom : 1rem;
    }

/*標題文字*/
    .index最新消息3 .heading {
        font-weight: var(--r-heading-font-weight, 700);
        font-size: var(--r-heading-font-size, 1.2em);
    }

/*小圖示*/
    .index最新消息3 .newIcon {
    }

/*詳情*/
    .index最新消息3 .details {
    }

    .index最新消息3 .glide .details {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: var(--event-name-num-of-line);
        -webkit-box-orient: vertical;
    }

        .index最新消息3 .details * {
            max-width: 100%;
        }

/*無詳情*/
        .index最新消息3 .details:empty {
            display: none;
        }

.index最新消息3 .themePic
{
    max-width : 100%;
    height : auto;
}

    .index最新消息3 .more {
        text-align: right;
        font-weight: 700;
        font-size: 1.5em;
        margin-right: 2em;
        font-style: italic;
        line-height: 2;
    }

@media (max-width: 200px) {

    .index最新消息3 .innerShell {
        display: block;
    }

    .index最新消息3 .hasPic .right {
        max-width: initial;
    }

    .index最新消息3 .hasPic .left {
        padding-right: 0;
    }

    .index最新消息3 .eachNews {
        display: none;
    }

        .index最新消息3 .eachNews:nth-child(-n+6) {
            display: block;
        }
}
@media (min-width: 201px) and (max-width: 400px) {

    .index最新消息3 .hasPic .left {
        flex-basis: 50%;
    }

    .index最新消息3 .hasPic .right {
        flex-basis: 50%;
        max-width: 300px;
    }

    .index最新消息3 .eachNews {
        display: none;
    }

        .index最新消息3 .eachNews:nth-child(-n+6) {
            display: block;
        }
}
@media (min-width: 401px) and (max-width: 600px) {
    .index最新消息3 .hasPic .right {
        flex-basis: 35%;
        max-width: 340px;
    }

    .index最新消息3 .hasPic .left {
        flex-basis: 65%;
    }

    .index最新消息3 .eachNews {
        display: none;
    }

        .index最新消息3 .eachNews:nth-child(-n+8) {
            display: block;
        }
}
@media (min-width: 601px) and (max-width:800px) {
    .index最新消息3 .hasPic .right {
        flex-basis: 30%;
        max-width: 340px;
    }

    .index最新消息3 .hasPic .left {
        flex-basis: 70%;
    }

    .index最新消息3 .eachNews {
        display: none;
    }

        .index最新消息3 .eachNews:nth-child(-n+8) {
            display: block;
        }
}
@media (min-width: 801px) and (max-width:1000px) {
    .index最新消息3 .hasPic .right {
        flex-basis: 30%;
        max-width: 360px;
    }

    .index最新消息3 .hasPic .left {
        flex-basis: 70%;
    }
}
@media (min-width: 1001px) {
    .index最新消息3 .hasPic .right {
        flex-basis: 20%;
        max-width: 400px;
    }

    .index最新消息3 .hasPic .left {
        flex-basis: 80%;
    }
}
