﻿/* 整個內容方塊 */
.index學生成就27 {
    /*height : 300px;   --- if simpleBar (i.e. scroll bar) is set on the whole block, change the number.*/
    --event-name-num-of-line: 5;
    --date-bg-color: var(--color-blue01);
    --date-font-color: #FFFFFF;
}
    /* 內容方塊標題 */
    .index學生成就27 .blockTitle {
        text-align: center;
    }
        .index學生成就27 .blockTitle h2 {
        }
        /* 內容方塊標題超連結 */
        .index學生成就27 .blockTitle a {
        }
    /* 最新消息容器，每個最新消息都放在裡面 */
    .index學生成就27 .loopElementList {
        height : 500px;   /*--- if simpleBar (i.e. scroll bar) is set on the content, change the number.*/
    }
    .index學生成就27 .elementContainer {
    }
    /*單一最新消息*/
    .index學生成就27 .eachCompetition {
    }
    .index學生成就27 .innerShell {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: flex-start;
        border-bottom: var(--r-el-border-bottom, solid 1px #dddddd);
        padding: var(--r-el-padding, 1rem);
        position: relative;
    }
    .index學生成就27 .glide .innerShell {
        display: block;
        border-bottom: none 0;
        padding: 0;
    }
        .index學生成就27 .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學生成就27 .dayOfMonth {
            font-size: 1.5em;
            line-height: 1em;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            font-style: italic;
        }
        .index學生成就27 .month {
            font-size: 0.8em;
        }
        .index學生成就27 .text {
        }
        .index學生成就27 .heading {
            font-weight: var(--r-heading-font-weight, 700);
            font-size: var(--r-heading-font-size, 1.2em);
        }
            .index學生成就27 .glide .heading
            {
                margin : 0.5em 0;
            }
            .index學生成就27 .details {
            }
    .index學生成就27 .glide .details {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: var(--event-name-num-of-line);
        -webkit-box-orient: vertical;
    }
        .index學生成就27 .details * {
            max-width: 100%;
        }
            .index學生成就27 .details > p {
                margin: 0 auto;
            }
    /*無詳情*/
        .index學生成就27 div.details:empty {
            display: none;
        }
    .index學生成就27 .link {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        z-index: 1;
    }
    .index學生成就27 .more {
        text-align: right;
        font-weight: 700;
        font-size: 1.5em;
        margin-right: 2em;
        font-style: italic;
        line-height: 2;
    }
@media (max-width:400px) {
    .index學生成就27 .innerShell {
        flex-wrap: wrap;
    }
    .index學生成就27 .date {
        aspect-ratio: auto;
        width: auto;
        padding: 5px 10px;
    }
    .index學生成就27 .dayOfMonth {
        display: inline-block;
        font-size: 1em;
    }
    .index學生成就27 .month {
        display: inline-block;
    }
}
@media (max-width: 767px) {
    .index學生成就27 .eachCompetition {
        flex-basis: 100%;
    }
}
@media (max-width: 480px) {
    .index學生成就27 .eachCompetition {
        display: none;
    }
        .index學生成就27 .eachCompetition:nth-child(-n+6) {
            display: block;
        }
}
@media (min-width: 481px) and (max-width: 767px) {
    .index學生成就27 .eachCompetition {
        display: none;
    }
        .index學生成就27 .eachCompetition:nth-child(-n+6) {
            display: block;
        }
}
@media (min-width: 768px) and (max-width: 979px) {
    .index學生成就27 .eachCompetition {
        display: none;
    }
        .index學生成就27 .eachCompetition:nth-child(-n+8) {
            display: block;
        }
}
@media (min-width: 980px) and (max-width:1199px) {
    .index學生成就27 .eachCompetition {
        display: none;
    }
        .index學生成就27 .eachCompetition:nth-child(-n+8) {
            display: block;
        }
}
@media (min-width: 1200px) and (max-width:1919px) {
}
@media (min-width: 1920px) {
}
