﻿/* 整個內容方塊 */
.index最新消息16 {
}

        .index最新消息16 .glide .glide__slide {
            border: none 0;
            padding: 0;
            border-radius: 0;
        }

    /* 內容方塊標題 */
    .index最新消息16 .blockTitle {
        text-align: center;
    }

        .index最新消息16 .blockTitle h2 {
        }

        /* 內容方塊標題超連結 */
        .index最新消息16 .blockTitle a {
        }

    /* 最新消息容器，每個最新消息都放在裡面 */
    .index最新消息16 .elementContainer {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: stretch;
        padding: var(--r-container-padding, 1em);
    }

    /*單一最新消息*/
    .index最新消息16 .eachNews {
        flex-basis: 50%;
        aspect-ratio: 5 / 2;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .index最新消息16 .innerShell {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .index最新消息16 .text
    {
        position : absolute;
        bottom : 0;
        left : 0;
        width : 70%;
        height : 5em;
        background-color : rgba(0,0,0,0.5);
        color : #FFFFFF;
        padding : 0 1vh;
    }

        .index最新消息16 .text a {
            color: #FFFFFF;
        }

        .index最新消息16 .heading {
            font-weight: var(--r-heading-font-weight, 700);
            font-size: var(--r-heading-font-size, 1.5em);
            margin: 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            font-size: 1.7vh;
        }

        .index最新消息16 .details {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            font-size: 1.2vh;
        }



    .index最新消息16 .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最新消息16 .elementContainer {
        display: block;
    }
    .index最新消息16 .text {
        width: 100%;
    }
    .index最新消息16 .eachNews {
        display: none;
    }
        .index最新消息16 .eachNews:nth-child(-n+6) {
            display: block;
        }
}

@media (min-width: 481px) and (max-width: 767px) {
    .index最新消息16 .elementContainer {
        display: block;
    }
    .index最新消息16 .text {
        width: 100%;
    }
    .index最新消息16 .eachNews {
        display: none;
    }
        .index最新消息16 .eachNews:nth-child(-n+6) {
            display: block;
        }
}

@media (min-width: 768px) and (max-width: 979px) {
    .index最新消息16 .eachNews {
        flex-basis: calc(100% / 3);
    }
    .index最新消息16 .text {
        width: 100%;
    }
    .index最新消息16 .eachNews {
        display: none;
    }
        .index最新消息16 .eachNews:nth-child(-n+8) {
            display: block;
        }
}

@media (min-width: 980px) and (max-width:1199px) {
    .index最新消息16 .eachNews {
        flex-basis: calc(100% / 3);
    }
    .index最新消息16 .eachNews {
        display: none;
    }
        .index最新消息16 .eachNews:nth-child(-n+8) {
            display: block;
        }
}

@media (min-width: 1200px) and (max-width:1919px) {
    .index最新消息16 .eachNews {
        flex-basis: calc(100% / 3);
    }
}

@media (min-width: 1920px) {
    .index最新消息16 .eachNews {
        flex-basis: calc(100% / 4);
    }
}
