﻿/* 整個內容方塊 */
.index最新消息5 {
    /*height : 300px;   --- if simpleBar (i.e. scroll bar) is set on the whole block, change the number.*/
}

    /* 內容方塊標題 */
    .index最新消息5 .blockTitle {
        text-align: center;
    }

        .index最新消息5 .blockTitle h2 {
        }

        .index最新消息5 .blockTitle img {
        }

        /* 內容方塊標題超連結 */
        .index最新消息5 .blockTitle a {
        }

    /* 最新消息容器，每個最新消息都放在裡面 */
    .index最新消息5 .loopElementList {
        /*height : 300px;   --- if simpleBar (i.e. scroll bar) is set on the content, change the number.*/
    }

    .index最新消息5 .elementContainer {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: stretch;
    }

    /*單一最新消息*/
    .index最新消息5 .eachNews {
    }

    .index最新消息5 .innerShell {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: baseline;
        border-bottom: var(--r-el-border-bottom, solid 1px #dddddd);
        padding: var(--r-el-padding, 1rem);
        position: relative;
        background-color: rgba(255,255,255,0.5);
        border-radius: 10px;
        height : 100%;
    }

    .index最新消息5 .glide .innerShell {
        border-bottom: none 0;
        padding: 0;
    }

        .index最新消息5 .innerShell:hover {
            background-color: #f5c593;
            border: solid 1px #FFFFFF;
        }

    .index最新消息5 .glide .innerShell:hover {
        border-bottom: none 0;
        background-color: #f5c593;
    }

    /*日期*/
    .index最新消息5 .date {
        font-size: var(--r-smaller-font, 0.8rem);
        flex-grow: 0;
        flex-shrink: 0;
        padding-right: var(--r-hori-gap, 2em);
        margin: 0 0 0.5em 0;
    }

    /*標題文字*/
    .index最新消息5 .heading {
        font-weight: var(--r-heading-font-weight, 700);
        font-size: var(--r-heading-font-size, 1.2em);
        flex-grow: 1;
        flex-shrink: 1;
    }

    /*小圖示*/
    .index最新消息5 .newIcon {
    }

    .index最新消息5 .link {
        position: absolute;
        z-index: 1;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
    }

    .index最新消息5 .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最新消息5 .glide__arrow {
            top: auto;
            transform: none;
        }

        .index最新消息5 .eachNews {
            flex-basis: 100%;
        }
    .index最新消息5 .eachNews {
        display: none;
    }

        .index最新消息5 .eachNews:nth-child(-n+6) {
            display: block;
        }
}

@media (min-width: 481px) and (max-width: 767px) {

    .index最新消息5 .eachNews {
        flex-basis: 45%;
    }
    .index最新消息5 .eachNews {
        display: none;
    }

        .index最新消息5 .eachNews:nth-child(-n+6) {
            display: block;
        }
}

@media (min-width: 768px) and (max-width: 979px) {
    .index最新消息5 .eachNews {
        flex-basis: 45%;
    }
    .index最新消息5 .eachNews {
        display: none;
    }

        .index最新消息5 .eachNews:nth-child(-n+8) {
            display: block;
        }
}

@media (min-width: 980px) and (max-width:1199px) {
    .index最新消息5 .eachNews {
        flex-basis: 45%;
    }
    .index最新消息5 .eachNews {
        display: none;
    }

        .index最新消息5 .eachNews:nth-child(-n+8) {
            display: block;
        }
}

@media (min-width: 1200px) and (max-width:1919px) {
    .index最新消息5 .eachNews {
        flex-basis: 30%;
    }
}

@media (min-width: 1920px) {
    .index最新消息5 .eachNews {
        flex-basis: 30%;
    }
}
