/* --Start banner--------------- */
.section-banner {
    background: url('../img/news/page/banner.webp') no-repeat center center/ cover scroll;
    position: relative;
    padding: 180px 0 10px;
    margin-top: 76px;
}

    .section-banner.diy {
        background: url('../img/diy/banner.webp') no-repeat center center/ cover scroll;
    }

.section-banner .item {
    margin-bottom: 10px;
}

.section-banner .item span {
    font-size: 16px;
    color: #fff;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-banner .item h2 {
    font-size: 28px;
    color: #FFFFFF;
    font-family: "Arial", Sans-serif;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

@media (min-width: 992px) {
    .section-banner {
        margin-top: 99px;
        padding: 230px 0 20px;

    }

    .section-banner .item span {
        font-size: 18px;
    }

    .section-banner .item h2 {
        font-size: 35px;
    }
}


.section-banner .breadcrumb {
    justify-content: start;
    font-size: 14px;
    margin-bottom: 10px;
    margin-top: 10px;
}

@media (min-width: 992px) {
    .section-banner .breadcrumb {
        justify-content: end;
    }
}

.section-banner .breadcrumb .breadcrumb-item {
    display: flex;
    align-content: center;
    position: relative;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: '|';
    color: #fff;
}

.section-banner .breadcrumb .breadcrumb-item a {
    color: #fff;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

.section-banner .breadcrumb .breadcrumb-item.active {
    color: #d01d1b;
    font-weight: bolder;
}

/* --End banner--------------- */
/* --Start diy--------------- */
.section-diy {
    padding: 100px 0 100px;
}

.section-diy .title-item {
    display: block;
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 100px;
}

.section-diy .title-item h2 {
    font-family: "Arial", Sans-serif;
    text-transform: uppercase;
    color: #110608;
    font-size: 24px;
    letter-spacing: 2px;
    font-weight: 400;
    margin-bottom: 50px;
    position: relative;
}

.section-diy .title-item h2::after {
    content: '';
    background-image: url('../img/index/serve-icon.webp');
    background-size: 100% 100%;
    background-position: center center;
    width: 50px;
    height: 10px;
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
}

@media (min-width: 992px) {
    .section-diy .title-item h2 {
        font-size: 40px;
    }
}


.section-diy .item {
    background: #f9f9f9;
    height: 100%;
}

.section-diy .item .pic-item {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
}

.section-diy .item .pic-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-diy .item .text-item {
    padding: 20px 15px;
}

.section-diy .item .text-item {
    position: relative;
}

.section-diy .item .text-item h3 {
    font-size: 16px;
    color: #d01d1b;
    font-weight: bolder;
    font-family: 'Noto Sans TC';
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.section-diy .item .text-item span {
    position: static;
    text-transform: uppercase;
    font-family: "Arial", Sans-serif;
    color: #717071;
    display: inline-block;
    border-bottom: 2px solid #d01d1b;
    padding: 0 5px 3px 0;
    font-size: 14px;
}

@media (min-width: 768px) {

    .section-diy .item .text-item h3 {
        -webkit-line-clamp: 3;
        font-size: 18px;
    }

    .section-diy .item .text-item {
        padding: 40px 15px;
    }

    .section-diy .item .text-item span {
        padding: 0 10px 5px 0;
        font-size: 16px;
        position: absolute;
        bottom: 30px;
        left: 15px;
    }
}

.section-diy .video-item {
    background: #f9f9f9;
    height: 100%;
    padding: 0px 0px 0px;
    position: relative;
    display: block;
}

.section-diy .video-item span {
    position: absolute;
    background: #ad191759;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: #fff;
}

.section-diy .video-item span i {
    border-radius: 100%;
    width: 70px;
    height: 70px;
    background: #d01d1b;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-diy .video-item h3 {
    font-size: 16px;
    border-left: 2px solid #d01d1b;
    padding: 0 5px;
    color: #000;
    font-family: 'Noto Sans TC';
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-weight: bolder;
    margin: 20px 5px;
}

.section-diy .video-item .pic-item {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    overflow: hidden;
}

.section-diy .video-item .pic-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {
    .section-diy .video-item h3 {
        margin: 20px;
        -webkit-line-clamp: 3;
        padding: 0 10px;
        font-size: 18px;
    }
}

.section-diy .btn-more {
    display: inline-block;
    padding: 10px 30px;
    font-weight: bolder;
    text-transform: uppercase;
    font-family: "Arial", Sans-serif;
    color: #717071;
    border-bottom: 2px solid #d01d1b;
    font-size: 14px;
}

/* --End diy--------------- */
/* --Start News--------------- */
.section-news {
    padding: 100px 0;
}

.section-news .item {
    display: block;
    box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.15);
}

.section-news .item .pic-item {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    overflow: hidden;
}

.section-news .item .pic-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.2s ease-in-out;
    transform: scale(1);
}

.section-news .item:hover img {
    transform: scale(1.1);

}

.section-news .item .text-item {
    padding: 30px 5px;
    position: relative;
}

.section-news .item .text-item h3 {
    font-size: 16px;
    color: #000;
    font-weight: bolder;
    font-family: 'Noto Sans TC';
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.section-news .item .text-item span {
    position: static;
    text-transform: uppercase;
    font-family: "Arial", Sans-serif;
    color: #717071;
    display: inline-block;
    border-bottom: 2px solid #d01d1b;
    padding: 0 5px 3px 0;
    font-size: 14px;
}

@media (min-width: 768px) {
    .section-news .item .text-item span {
        padding: 0 10px 5px 0;
        position: absolute;
        top: 30px;
        right: 15px;
    }
}

.section-news .category-item {
    background: #fff;
    padding: 40px 15px;
    box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
}

.section-news .category-item h3 {
    margin-bottom: 30px;
    font-family: "Arial", Sans-serif;
    text-transform: uppercase;
    color: #717071;
    font-size: 20px;
    position: relative;
    padding-left: 35px;
    font-weight: bolder;
}

.section-news .category-item h3::after {
    content: '';
    background-image: url('../img/news/page/icon.webp');
    background-size: 100% 100%;
    width: 25px;
    height: 3px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.section-news .category-item a {
    display: block;
    background: #110507;
    padding: 10px 10px;
    color: #fff;
    font-size: 15px;
    position: relative;
}

.section-news .category-item a span {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.section-news .category-item a.active {
    background: #d01d1b;
}

.section-news .category-item a+a {
    margin-top: 10px;
}

.creator-item {
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    padding-top: 30px;
    padding-bottom: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
}

    .creator-item .creator-icon-item .title {
        margin-left: 20px;
        transition: all 0.2s ease-in-out;
    }

    .creator-item .creator-icon-item a {
        color: #787878;
        font-weight: bolder;
        margin-left: 10px;
        transition: all 0.2s ease-in-out;
    }

        .creator-item .creator-icon-item a:hover .title {
            color: #f01e1b;
        }

    .creator-item .pic-item {
        position: relative;
        width: 90px;
        padding-bottom: 90px;
        overflow: hidden;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
        border-radius: 100%;
    }

        .creator-item .pic-item img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            /*transform: scale(2);*/
        }

    .creator-item .creator-icon-item a {
        position: relative;
    }

        .creator-item .creator-icon-item a + a {
            margin-left: 0px;
        }


    .creator-item .creator-icon-item img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 20px;
        transition: all 0.2s ease-in-out;
    }

        .creator-item .creator-icon-item img:nth-of-type(2) {
            visibility: hidden;
            opacity: 0;
        }

        .creator-item .creator-icon-item img:nth-of-type(1) {
            visibility: visible;
            opacity: 1;
        }

    .creator-item .creator-icon-item a:hover {
        color: #f01e1b;
    }

        .creator-item .creator-icon-item a:hover img:nth-of-type(2) {
            visibility: visible;
            opacity: 1;
        }

        .creator-item .creator-icon-item a:hover img:nth-of-type(1) {
            visibility: hidden;
            opacity: 0;
        }

    .creator-item .text-item {
        padding: 10px 0;
    }

        .creator-item .text-item .content {
            padding: 15px 0;
        }

        .creator-item .text-item p {
            font-size: 15px;
        }


    .creator-item .icon-item .icon-pic-item {
        position: relative;
        width: 35px;
        height: 15px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-right: 1px solid #aaa;
    }

        .creator-item .icon-item .icon-pic-item img {
            width: 35px;
            position: absolute;
            top: 50%;
            left: 0%;
            transform: translateY(-50%) scale(0.8);
        }

/* --End News--------------- */