/* RWDnews005 模組樣式 */
.RWDnews005-container {
    position: relative;
}

.RWDnews005-container .owl-wrapper {
    align-items: stretch;
}


/* 項目容器 */
.RWDnews005-container .img-hover {
    position: relative;
    overflow: hidden;
    width: 100%;
    transition: all 0.3s ease;
    display: flex;
    height: auto;
    align-items: stretch;
    flex-direction: column;
}

.RWDnews005-container .img-hover .img-hover-inner {
    height: auto;
}

.RWDnews005-container .owl-carousel .owl-item .text-left {
    text-align: left;
    margin-bottom: 0;
}




/* 圖片樣式 */
.RWDnews005-container .img-hover img {
    width: 100%;
    transition: transform 0.3s ease;
}


/* Owl Carousel 客製化樣式 */
.RWDnews005-container .owl-carousel {
    position: relative;
}

/* Owl Carousel v1 Navigation 修正 */
.RWDnews005-container .owl-theme .owl-controls .owl-prev,
.RWDnews005-container .owl-theme .owl-controls .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--TextColorPrimary);
    background-color: transparent !important;
    border-radius: 3px;
    text-align: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 1;
}

.RWDnews005-container .owl-theme .owl-controls .owl-prev i,
.RWDnews005-container .owl-theme .owl-controls .owl-next i {
    font-size: 30px;
}

.RWDnews005-container .owl-theme .owl-controls .owl-prev {
    left: max(-3vw, -60px);
}

.RWDnews005-container .owl-theme .owl-controls .owl-next {
    right: max(-3vw, -60px);
}

.RWDnews005-container .owl-controls .owl-prev:hover,
.RWDnews005-container .owl-controls .owl-next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* 當設定為 buttons-autohide 時的樣式 */
.RWDnews005-container .buttons-autohide .owl-controls .owl-prev,
.RWDnews005-container .buttons-autohide .owl-controls .owl-next {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.RWDnews005-container .buttons-autohide:hover .owl-controls .owl-prev,
.RWDnews005-container .buttons-autohide:hover .owl-controls .owl-next {
    opacity: 1;
}

/* Owl Carousel v1 Pagination 修正 */
.RWDnews005-container .owl-controls .owl-pagination {
    text-align: center;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.RWDnews005-container .owl-controls .owl-page {
    display: inline-block;
    margin: 0 6px;
    cursor: pointer;
}

.RWDnews005-container .owl-controls .owl-page span {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    transition: all 0.3s ease;
}

