﻿/* 整個內容方塊 */
.index比賽獎項6 {
    --title-align: left;
    /* --For simpleBar Start-- */
    --content-height-without-heading: 600px;
    --whole-block-height: auto;
    /* --For simpleBar End-- */
    --box-shadow-hover: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    --image-border: 1px solid #fff;
    --image-shadow: 0 0 2px rgba(0,0,0,.4);
    --image-hover-effect: scale(1.05) rotate(2deg);
    height: var(--whole-block-height);
}

    /* 內容方塊標題 */
    .index比賽獎項6 .blockTitle {
        text-align: var(--r-index-block-title-align, --title-align);
    }

        .index比賽獎項6 .blockTitle h2 {
        }

        /* 內容方塊標題超連結 */
        .index比賽獎項6 .blockTitle a {
        }

    /* 比賽容器，每個比賽都放在裡面 */
    .index比賽獎項6 .loopElementList {
        height: var(--content-height-without-heading);
    }

    .index比賽獎項6 .elementContainer {
        padding: var(--r-container-padding, 1em);
    }


/*單一比賽*/
    .index比賽獎項6 .eachCompetition {
    }

    .index比賽獎項6 .innerShell {
        border-bottom: var(--r-el-border-bottom, solid 1px #dddddd);
        padding: var(--r-el-padding, 1rem);
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: flex-start;
        position: relative;

        /* 2024-11-02 */
        transition: all .5s;
    }

    .index比賽獎項6 .eachCompetition:has(.absoluteCoverLinks:hover) .innerShell {
        box-shadow: var(--box-shadow-hover);
    }

    .index比賽獎項6 .hasPic .thumbContainer {
        flex-grow: 0;
        flex-shrink: 0;
    }

    .index比賽獎項6 .noPic .thumbContainer {
        display: none;
    }

    /*圖片*/
    .index比賽獎項6 .themePic {
        max-width: 100%;
        height: auto;
        border: var(--image-border);
        box-shadow: var(--image-shadow);
        /* 2024-11-02 */
        transition: all .5s;
    }

    .index比賽獎項6 .eachCompetition:has(.absoluteCoverLinks:hover) .themePic {
        transform: var(--image-hover-effect);
    }

    /*左方*/
    .index比賽獎項6 .left {
        flex-grow: 1;
        flex-shrink: 1;
        padding-right: var(--r-hori-gap, 2em);
    }


    .index比賽獎項6 .noPic .left {
        padding-right : 0;
    }

        /*標題*/
    .index比賽獎項6 .heading {
        font-weight: var(--r-heading-font-weight, 700);
        font-size: var(--r-heading-font-size, 1.2em);
    }

    /*所有獎項的容器*/
    .index比賽獎項6 .eachAward {
        margin: 0 0 1em 0;
    }

    /*獎項名稱*/
    .index比賽獎項6 .award {
    }

    .index比賽獎項6 .allWinners {
        padding-left : 1rem;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content : flex-start;
        align-items : flex-start;
        align-content : flex-start;
    }

    /*得獎人*/
    .index比賽獎項6 .winner {
        font-size: var(--r-smaller-font, 0.8rem);
        padding : 5px 10px;
    }

    .index比賽獎項6 .showMoreLoopElements {
    }

@media (max-width: 480px) {

    .index比賽獎項6 .innerShell{
        display : block;
    }
    .index比賽獎項6 .left {
        padding-right: 0;
    }
    .index比賽獎項6 .eachCompetition {
        display: none;
    }

        .index比賽獎項6 .eachCompetition:nth-child(-n+6) {
            display: block;
        }
}

@media (min-width: 481px) and (max-width: 767px) {

    .index比賽獎項6 .hasPic .thumbContainer {
        flex-basis: 50%;
        max-width: 300px;
    }

    .index比賽獎項6 .hasPic .left {
        flex-basis: 55%;
    }
    .index比賽獎項6 .eachCompetition {
        display: none;
    }

        .index比賽獎項6 .eachCompetition:nth-child(-n+6) {
            display: block;
        }
}

@media (min-width: 768px) and (max-width: 979px) {
    .index比賽獎項6 .hasPic .thumbContainer {
        flex-basis: 35%;
        max-width: 340px;
    }

    .index比賽獎項6 .hasPic .left {
        flex-basis: 65%;
    }
    .index比賽獎項6 .eachCompetition {
        display: none;
    }

        .index比賽獎項6 .eachCompetition:nth-child(-n+8) {
            display: block;
        }
}

@media (min-width: 980px) and (max-width:1199px) {
    .index比賽獎項6 .hasPic .thumbContainer {
        flex-basis: 30%;
        max-width: 340px;
    }

    .index比賽獎項6 .hasPic .left {
        flex-basis: 70%;
    }
    .index比賽獎項6 .eachCompetition {
        display: none;
    }

        .index比賽獎項6 .eachCompetition:nth-child(-n+8) {
            display: block;
        }
}

@media (min-width: 1200px) and (max-width:1919px) {
    .index比賽獎項6 .hasPic .thumbContainer {
        flex-basis: 30%;
        max-width: 360px;
    }

    .index比賽獎項6 .hasPic .left {
        flex-basis: 70%;
    }
}

@media (min-width: 1920px) {
    .index比賽獎項6 .hasPic .thumbContainer {
        flex-basis: 20%;
        max-width: 400px;
    }

    .index比賽獎項6 .hasPic .left {
        flex-basis: 80%;
    }
}

/* Glide Settings Start ===================================================*/
.index比賽獎項6 .glide .innerShell {
    display: block;
    border-bottom: none 0;
    padding: 0;
}

.index比賽獎項6 .glide .eachCompetition:has(.absoluteCoverLinks:hover) .innerShell {
    box-shadow: none;
}

.index比賽獎項6 .glide__slide:has(.absoluteCoverLinks:hover) {
    box-shadow: var(--box-shadow-hover);
}

.index比賽獎項6 .glide .left {
    padding-right: 0;
}

/* Glide Settings End ===================================================*/
