/*-------------------------------------
#. PI: Post Slider Standalone Styles
---------------------------------------*/

.rt-post-slider-default .rt-item .entry-content {
    position: relative;
    margin-top: 25px;
}
.rt-post-slider-default .rt-item .entry-title {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 5px;
}
.rt-post-slider-default .rt-item .entry-title a {
    color: #000000;
}
.rt-post-slider-default ul.entry-meta {
    list-style: none;
    margin-bottom: 0;
    margin-left: 0;
    margin-top: 5px;
    padding-left: 0;
}
.rt-post-slider-default ul.entry-meta li {
    display: inline-block;
    color: #a5a6aa;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    line-height: 1.2;
    margin-right: 12px;
}
.rt-post-slider-default ul.entry-meta li:last-child {
    margin-right: 0;
}
.rt-post-slider-default ul.entry-meta li i {
    margin-right: 6px;
}
.rt-post-slider-default ul.entry-meta li a {
    color: #a5a6aa;
}
.rt-post-slider-default ul.entry-meta li a:hover {
    color: #2962ff;
}
.rt-post-slider-default .rt-item .rt-image {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}
.rt-post-slider-default .rt-item .rt-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: all 0.5s ease;
}
.rt-post-slider-default .rt-item:hover .rt-image img {
    transform: scale3d(1.1,1.1,1);
}
.rt-post-slider-default .rt-item .post-terms {
    margin-bottom: 10px;
    line-height: 1.2;
}
.rt-post-slider-default .rt-item .post-terms a {
    display: inline-block;
    color: #a5a6aa;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 3px;
}
.rt-post-slider-default .rt-item .post-terms a:last-child {
    margin-bottom: 0;
}
.rt-post-slider-default .post-categories {
    list-style: none;
    margin-bottom: 0;
    margin-top: 5px;
    padding-left: 0;
}
.rt-post-slider-default .post-categories li {
    display: inline-block;
}
.rt-post-slider-default .rt-item .rt-cat-3 a {
    border: 1px solid #d7d7d7;
    border-radius: 2px;
    padding: 5px 7px 4px;
}
.rt-post-slider-default .rt-item .post-terms a:hover {
    color: #2962ff;
}
.rt-post-slider-default .rt-item .post-author a {
    color: #000000;
}
.rt-post-slider-default .rt-item .post_excerpt {
    margin-top: 10px;
}
.rt-post-slider-default .rt-item .post_excerpt p {
    margin-bottom: 10px;
}
.rt-post-slider-default .rt-item .rt-image .rt-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}
.rt-post-slider-default .rt-item .post-terms .category-style {
    display: inline-block;
    background-color: #2962ff;
    border-radius: 2px;
    color: #ffffff;
    padding: 6px 9px 5px;
}
.rt-post-slider-default .post-read-more {
    margin-top: 20px;
}

/* Post Slider layout 2 */
.rt-post-slider-style2 .rt-item .entry-title a {
    color: #ffffff;
}
.rt-post-slider-style2 .rt-item .rt-image + .entry-content {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 2;
    transition: all 0.5s ease;
    padding: 25px;
}
.rt-post-slider-style2 .rt-item .rt-image::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 59%, rgba(0, 0, 0, 0.8) 100%);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.rt-post-slider-style2 .rt-item .post_excerpt p {
    color: #ffffff;
}

/* Post Slider layout 3 */
.rt-post-slider-style3 .rt-item {
    display: flex;
}
.rt-post-slider-style3 .rt-item .rt-image {
    width: 143px;
    margin-right: 24px;
}
.rt-post-slider-style3 .rt-item .entry-content {
    margin-top: 0;
    flex: 1;
}

/* Post Slider layout 4 */
.rt-post-slider-default.rt-post-slider-style4 .rt-item .entry-content {
    margin: 0 15px 0 15px;
    background: #fff;
    border-radius: 4px;
    padding: 15px 20px 0;
}
.rt-post-slider-default.rt-post-slider-style4 .rt-item.first-post .entry-content {
    margin-top: -20px;
    padding-top: 20px;
}
.rt-post-slider-default.rt-post-slider-style4 ul.entry-meta {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 13px;
}

/* Post Slider layout 5 */
.rt-post-slider-style5 .rt-item .rt-image + .entry-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    margin: 0 auto;
    max-width: 500px;
    z-index: 2;
    padding: 25px;
    background-color: #ffffff;
    border-radius: 4px 4px 0 0;
    text-align: center;
}

/* Swiper Nav styles */
.rt-post-slider-default .swiper {
    overflow: hidden;
    position: relative;
}

.rt-post-slider-default .swiper-navigation,
.rt-post-slider-default .swiper-button {
    display: flex;
    gap: 10px;
    z-index: 10;
}

.rt-post-slider-default .swiper-button-prev,
.rt-post-slider-default .swiper-button-next {
    position: static; /* Let the container handle positioning */
    width: 40px;
    height: 40px;
    background: #fff;
    color: #2962ff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0;
}

.rt-post-slider-default .swiper-button-prev:hover,
.rt-post-slider-default .swiper-button-next:hover {
    background: #2962ff;
    color: #fff;
}

.rt-post-slider-default .swiper-button-prev::after,
.rt-post-slider-default .swiper-button-next::after {
    display: none; /* Hide default Swiper icons if using FontAwesome */
}

.rt-post-slider-default .section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.rt-post-slider-default .section-title .related-title {
    margin-bottom: 0;
}

.rt-post-slider-default .swiper-pagination {
    position: relative;
    margin-top: 30px;
}
