﻿/* 整個內容方塊 */
.index校園遊6 {
    /*height : 300px;   --- if simpleBar (i.e. scroll bar) is set on the whole block, change the number.*/
    
    

    --row-gap: 0;
    --column-gap: 2em;
    --block-max-width: 1200px;
    max-width: var(--block-max-width);
    margin: 0 auto;
}

    /* 內容方塊標題文字 (h2) */
    .index校園遊6 .blockTitle {
        text-align: center;
    }

        .index校園遊6 .blockTitle h2 {
        }

        /* 內容方塊標題超連結 */
        .index校園遊6 .blockTitle a {
        }

    /* 活動容器，全部影片都放在裡面 */
    .index校園遊6 .blockContent {
        padding: var(--r-container-padding, 1em);
    }

    .index校園遊6 .theGrid {
        display: grid;
        grid-template-columns: 75% 1fr;
        grid-template-rows: auto;
        grid-column-gap: var(--column-gap);
        grid-row-gap: var(--row-gap);
        grid-template-areas : 'bigVideo list';
    }

    .index校園遊6 .playing
    {
        grid-area : bigVideo;
        aspect-ratio : 120 / 63;
    }

    .index校園遊6 iframe
    {
        height : 100%;
        width : 100%;
    }

    .index校園遊6 .videoList
    {
        grid-area : list;
        overflow-y : auto;
    }

    .index校園遊6 .eachMedia {
        
        
    }

    .index校園遊6 .innerShell {
        display: grid;
        grid-template-columns: 1fr 3fr;
        grid-template-rows: auto;
        grid-column-gap: 1em;
        grid-row-gap: 0;
        position: relative;
        border-bottom: var(--r-el-border-bottom, solid 1px #dddddd);
        padding: var(--r-el-padding, 1rem) 0;
    }

        .index校園遊6 .eachMedia:first-child {
            padding: 0 0 var(--r-el-padding, 1rem) 0;
        }

        .index校園遊6 .themePic {
            width: 100%;
            aspect-ratio : 2 / 1;
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center center;
        }

    .index校園遊6 .heading {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .index校園遊6 .link {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        z-index: 1;
    }

    .index校園遊6 .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校園遊6 .theGrid {
        display: block;
    }

    .index校園遊6 .eachMedia:first-child {
        padding: var(--r-el-padding, 1rem) 0;
    }
    .index校園遊6 .eachMedia {
        display: none;
    }

        .index校園遊6 .eachMedia:nth-child(-n+6) {
            display: block;
        }
}

@media (min-width: 481px) and (max-width: 767px) {
    .index校園遊6 .theGrid {
        display: block;
    }

    .index校園遊6 .eachMedia:first-child {
        padding: var(--r-el-padding, 1rem) 0;
    }
    .index校園遊6 .eachMedia {
        display: none;
    }

        .index校園遊6 .eachMedia:nth-child(-n+6) {
            display: block;
        }
}

@media (min-width: 768px) and (max-width: 979px) {
    .index校園遊6 .theGrid {
        display: block;
    }

    .index校園遊6 .videoList {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: stretch;
    }

    .index校園遊6 .eachMedia {
        flex-basis: 45%;
    }

        .index校園遊6 .eachMedia:first-child {
            padding: var(--r-el-padding, 1rem) 0;
        }

    .index校園遊6 .eachMedia {
        display: none;
    }

        .index校園遊6 .eachMedia:nth-child(-n+8) {
            display: block;
        }
}

@media (min-width: 980px) and (max-width:1199px) {
    .index校園遊6 .theGrid {
        display: block;
    }

    .index校園遊6 .videoList {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: stretch;
    }

    .index校園遊6 .eachMedia {
        flex-basis: 30%;
    }

        .index校園遊6 .eachMedia:first-child {
            padding: var(--r-el-padding, 1rem) 0;
        }

    .index校園遊6 .eachMedia {
        display: none;
    }

        .index校園遊6 .eachMedia:nth-child(-n+8) {
            display: block;
        }
}
