﻿/* 整個內容方塊 */
.index最新消息11 {
    /*height : 300px;   --- if simpleBar (i.e. scroll bar) is set on the whole block, change the number.*/

    --date-bg-color: #0026ff;
    --date-font-color: #FFFFFF;
    --half-transparent: linear-gradient(135deg, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
}

    /* 內容方塊標題 */
    .index最新消息11 .blockTitle {
        text-align: center;
    }

        .index最新消息11 .blockTitle h2 {
        }

        /* 內容方塊標題超連結 */
        .index最新消息11 .blockTitle a {
        }

    /* 最新消息容器，每個最新消息都放在裡面 */
    .index最新消息11 .loopElementList {
        /*height : 300px;   --- if simpleBar (i.e. scroll bar) is set on the content, change the number.*/
    }

    .index最新消息11 .elementContainer {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: stretch;
    }

    /*單一最新消息*/
    .index最新消息11 .eachNews {
    }

    .index最新消息11 .innerShell {
        position: relative;
        padding: var(--r-el-padding, 1rem);
        height : 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .index最新消息11 .glide .innerShell {
        border-bottom: none 0;
        padding: 0;
    }

    .index最新消息11 .glide .innerShell:hover {
        border: none 0;
    }

    .index最新消息11 .row01 {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content : flex-start;
        align-items : flex-start;
        margin-bottom : 1em;
    }

    .index最新消息11 .date {
        aspect-ratio: 1 / 1;
        width: 4em;
        padding: 10px 0;
        border-radius: 5px;
        background-color: var(--date-bg-color);
        color: var(--date-font-color);
        text-align: center;
        flex-shrink: 0;
        margin: 0 2em 0 0;
    }

    .index最新消息11 .dayOfMonth {
        font-size: 1.5em;
        line-height: 1em;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-style: italic;
    }

    .index最新消息11 .month {
        font-size: 0.8em;
    }

    .index最新消息11 .text {
        flex-grow : 1;
    }

    .index最新消息11 .heading {
        font-weight: var(--r-heading-font-weight, 700);
        font-size: var(--r-heading-font-size, 1.2em);
    }

    /*小圖示*/
    .index最新消息11 .newIcon {
    }

    .index最新消息11 .picContainer {
        background-repeat: repeat;
        text-align: center;
        background-size: 200% 200%;
        border: 1px solid #fff;
        box-shadow: 0 0 2px rgba(0,0,0,.4);
    }

.index最新消息11 .themePic {
    max-width: 100%;
}

    .index最新消息11 .link {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        z-index: 1;
    }

    .index最新消息11 .more {
        text-align: right;
        font-weight: 700;
        font-size: 1.5em;
        margin-right: 2em;
        font-style: italic;
        line-height: 2;
    }

@media (min-width: 481px) and (max-width: 767px) {
    .index最新消息11 .elementContainer
    {
        display : block;
    }
    .index最新消息11 .picContainer {
        height: 300px;
    }

    .index最新消息11 .themePic {
        max-height: 300px;
    }

    .index最新消息11 .eachNews {
        display: none;
    }

        .index最新消息11 .eachNews:nth-child(-n+6) {
            display: block;
        }
}

@media (min-width: 768px) and (max-width: 979px) {
    .index最新消息11 .eachNews {
        flex-basis: 48%;
    }

    .index最新消息11 .elementContainer {
        justify-content: space-between;
    }
    .index最新消息11 .picContainer {
        height: 300px;
    }

    .index最新消息11 .themePic {
        max-height: 300px;
    }
    .index最新消息11 .eachNews {
        display: none;
    }

        .index最新消息11 .eachNews:nth-child(-n+8) {
            display: block;
        }
}

@media (min-width: 980px) and (max-width:1199px) {
    .index最新消息11 .eachNews {
        flex-basis: 45%;
    }

    .index最新消息11 .elementContainer {
        justify-content: space-between;
    }
    .index最新消息11 .picContainer {
        height: 300px;
    }

    .index最新消息11 .themePic {
        max-height: 300px;
    }
    .index最新消息11 .eachNews {
        display: none;
    }
        .index最新消息11 .eachNews:nth-child(-n+8) {
            display: block;
        }
}

@media (min-width: 1200px) and (max-width:1919px) {
    .index最新消息11 .eachNews {
        flex-basis: 30%;
    }
    .index最新消息11 .picContainer {
        height: 350px;
    }
    .index最新消息11 .themePic {
        max-height: 350px;
    }
}

@media (min-width: 1920px) {
    .index最新消息11 .eachNews {
        flex-basis: 20%;
    }
    .index最新消息11 .picContainer {
        height: 250px;
    }
    .index最新消息11 .themePic {
        max-height : 250px;
    }
}
