/* ==========================================================================
   Hark Recent Posts Carousel
   ========================================================================== */

.hark-rpc-wrapper {
    position: relative;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* Carousel container */
.hark-rpc-carousel {
    margin: 0 -15px;
}

.hark-rpc-carousel .slick-list {
    overflow: hidden;
    padding: 10px 0;
    margin: -10px 0;
}

.hark-rpc-carousel .slick-track {
    display: flex;
}

.hark-rpc-carousel .slick-slide {
    height: auto;
}

.hark-rpc-carousel .slick-slide > div {
    width: 100%;
    height: 100%;
}

/* Individual slide */
.hark-rpc-slide {
    padding: 0 15px;
    box-sizing: border-box;
}

.hark-rpc-slide > a {
    width: 100%;
}

/* Card styling */
.hark-rpc-card {
    display: block;
    width: 100%;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hark-rpc-card:hover {
    transform: translateY(-4px);
    text-decoration: none;
    color: inherit;
}

/* Featured image */
.hark-rpc-image {
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.hark-rpc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.hark-rpc-card:hover .hark-rpc-image img {
    transform: scale(1.05);
}

/* Content area */
.hark-rpc-content {
    padding: 24px;
}

/* Date */
.hark-rpc-date {
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

/* Title */
.hark-rpc-title {
    line-height: 1.4;
    margin: 0;
    font-weight: 600;
    transition: color 0.3s ease;
}

.hark-rpc-card:hover .hark-rpc-title {
    transition: color 0.3s ease;
}

/* Navigation arrows */
.hark-rpc-prev,
.hark-rpc-next {
    width: 44px !important;
    height: 44px !important;
    font-size: 18px !important;
    cursor: pointer;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0 !important;
    line-height: 1;
    border-width: 2px !important;
    border-style: solid !important;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    box-shadow: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    text-indent: 0;
    letter-spacing: normal;
    text-transform: none !important;
}

.hark-rpc-nav {
    display: flex !important;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    visibility: visible !important;
    opacity: 1 !important;
}

.hark-rpc-prev:hover,
.hark-rpc-next:hover {
    transition: all 0.3s ease;
}

/* Dot navigation */
.hark-rpc-wrapper .slick-dots {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 20px 0 0;
}

.hark-rpc-wrapper .slick-dots li {
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
}

.hark-rpc-wrapper .slick-dots li button {
    font-size: 0;
    width: 12px;
    height: 12px;
    padding: 0;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background: transparent;
}

.hark-rpc-wrapper .slick-dots li button:before {
    font-size: 12px;
    line-height: 12px;
    width: 12px;
    height: 12px;
}

/* Responsive */
@media (max-width: 991px) {
    .hark-rpc-content {
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .hark-rpc-carousel {
        margin: 0 -10px;
    }
    .hark-rpc-slide {
        padding: 0 10px;
    }
    .hark-rpc-content {
        padding: 16px;
    }
}
