/* ==========================================================
   DPV Post Carousel — Stylesheet v1.0.0
   Card styles are in card-shared.css
   ========================================================== */

/* ----------------------------------------------------------
   WRAPPER
---------------------------------------------------------- */
.dpv-post-carousel {
    position: relative;
    width: 100%;
}

/* ----------------------------------------------------------
   SWIPER OVERRIDE
---------------------------------------------------------- */
.dpv-pc-swiper {
    padding-bottom: 48px !important;
    overflow: hidden;
}

.dpv-pc-swiper .swiper-wrapper {
    align-items: stretch;
}

.dpv-pc-swiper .swiper-slide {
    height: auto;
}

/* ----------------------------------------------------------
   NAVIGATION BUTTONS
---------------------------------------------------------- */
.dpv-pc-btn-prev,
.dpv-pc-btn-next {
    position: absolute;
    top: 50%;
    transform: translateY(calc(-50% - 24px));
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    color: #185FA5;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    font-size: 14px;
}

.dpv-pc-btn-prev {
    left: -16px;
}

.dpv-pc-btn-next {
    right: -16px;
}

.dpv-pc-btn-prev:hover,
.dpv-pc-btn-next:hover {
    background: #185FA5;
    color: #ffffff;
    border-color: #185FA5;
}

.dpv-pc-btn-prev:disabled,
.dpv-pc-btn-next:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ----------------------------------------------------------
   PAGINATION
---------------------------------------------------------- */
.dpv-pc-pagination {
    bottom: 0 !important;
    text-align: center;
}

.dpv-pc-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #d1d5db;
    opacity: 1;
    transition: all 0.2s ease;
}

.dpv-pc-pagination .swiper-pagination-bullet-active {
    background: #185FA5;
    width: 24px;
    border-radius: 4px;
}

.swiper-pagination-progressbar {
    height: 3px !important;
    background: #f0f0f0;
}

.swiper-pagination-progressbar-fill {
    background: #185FA5 !important;
}

/* ----------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------- */
@media (max-width: 767px) {
    .dpv-pc-btn-prev { left: 0; }
    .dpv-pc-btn-next { right: 0; }

    .dpv-pc-btn-prev,
    .dpv-pc-btn-next {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }
}
