/* RWDnews005 模組樣式 */
.RWDnews005-container {
    position: relative;
}

.RWDnews005-container .owl-wrapper {
    align-items: stretch;
}


/* 項目容器 */
.RWDnews005-container .img-hover .img-hover-inner {
    height: auto;
}


/* 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;
    text-align: center;
    cursor: pointer;
    z-index: 10;
    opacity: 1;
}

.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.active span,
.RWDnews005-container .owl-controls .owl-page:hover span {
    background: var(--TextColorPrimary);
    transform: scale(1.2);
}
