.king-addons-post-slider {
    --kng-post-slider-nav-size: 44px;
    --kng-post-slider-nav-icon-size: 12px;
    --kng-post-slider-nav-gap: 12px;
    --kng-post-slider-nav-offset: 25px;
    --kng-post-slider-pagination-size: 8px;
    --kng-post-slider-pagination-gap: 10px;
    --kng-post-slider-pagination-offset: 14px;
    --kng-post-slider-pagination-active-width: 22px;

    position: relative;
}

.king-addons-post-slider__track {
    position: relative;
    padding: 16px 16px 40px;
    overflow: hidden;
}

.king-addons-post-slider__wrapper {
    display: flex;
    align-items: stretch;
}

.king-addons-post-slider__slide {
    height: auto;
}

.king-addons-post-slider__slide[data-card-link] .king-addons-post-slider__card {
    cursor: pointer;
}

.elementor-editor-active .king-addons-post-slider__slide[data-card-link] .king-addons-post-slider__card {
    cursor: default;
}

.king-addons-post-slider .king-addons-post-slider__card {
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.25s ease;
}

.king-addons-post-slider__card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(17, 24, 39, 0.06);
}

.king-addons-post-slider__media {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.king-addons-post-slider__media img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: var(--kng-post-slider-image-fit, cover);
}

.king-addons-post-slider__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.king-addons-post-slider--text-align-left .king-addons-post-slider__body {
    align-items: flex-start;
    text-align: left;
}

.king-addons-post-slider--text-align-center .king-addons-post-slider__body {
    align-items: center;
    text-align: center;
}

.king-addons-post-slider--text-align-right .king-addons-post-slider__body {
    align-items: flex-end;
    text-align: right;
}

.king-addons-post-slider__title {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
    color: #111827;
}

.king-addons-post-slider__title a {
    color: inherit;
    text-decoration: none;
}

.king-addons-post-slider__meta {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.4;
}

.king-addons-post-slider__excerpt {
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
    font-size: 15px;
}

.king-addons-post-slider__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    width: fit-content;
    background-color: #111827;
    color: #ffffff;
    border: 1px solid #111827;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.king-addons-post-slider__button:hover {
    background-color: #0b1220;
    border-color: #0b1220;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(17, 24, 39, 0.18);
}

.king-addons-post-slider--button-align-left .king-addons-post-slider__button {
    align-self: flex-start;
}

.king-addons-post-slider--button-align-center .king-addons-post-slider__button {
    align-self: center;
}

.king-addons-post-slider--button-align-right .king-addons-post-slider__button {
    align-self: flex-end;
}

.king-addons-post-slider--button-text-align-left .king-addons-post-slider__button {
    justify-content: flex-start;
    text-align: left;
}

.king-addons-post-slider--button-text-align-center .king-addons-post-slider__button {
    justify-content: center;
    text-align: center;
}

.king-addons-post-slider--button-text-align-right .king-addons-post-slider__button {
    justify-content: flex-end;
    text-align: right;
}

.king-addons-post-slider__navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--kng-post-slider-nav-gap);
    pointer-events: none;
    margin-top: 0;
}

.king-addons-post-slider--nav-align-flex-start .king-addons-post-slider__navigation {
    top: var(--kng-post-slider-nav-offset);
    transform: none;
}

.king-addons-post-slider--nav-align-center .king-addons-post-slider__navigation {
    top: 50%;
    transform: translateY(-50%);
}

.king-addons-post-slider--nav-align-flex-end .king-addons-post-slider__navigation {
    top: auto;
    bottom: var(--kng-post-slider-nav-offset);
    transform: none;
}

.king-addons-post-slider--nav-inside .king-addons-post-slider__track {
    padding-left: calc(var(--kng-post-slider-nav-size) + var(--kng-post-slider-nav-offset) + 8px);
    padding-right: calc(var(--kng-post-slider-nav-size) + var(--kng-post-slider-nav-offset) + 8px);
}

.king-addons-post-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: var(--kng-post-slider-nav-size);
    height: var(--kng-post-slider-nav-size);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: #111827;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    pointer-events: auto;
}

.king-addons-post-slider__arrow:after {
    display: none;
    content: none;
}

.king-addons-post-slider__arrow--prev {
    left: var(--kng-post-slider-nav-offset);
}

.king-addons-post-slider__arrow--next {
    right: var(--kng-post-slider-nav-offset);
}

.king-addons-post-slider--nav-outside .king-addons-post-slider__arrow--prev {
    left: calc(-1 * var(--kng-post-slider-nav-offset) - (var(--kng-post-slider-nav-size) / 2));
}

.king-addons-post-slider--nav-outside .king-addons-post-slider__arrow--next {
    right: calc(-1 * var(--kng-post-slider-nav-offset) - (var(--kng-post-slider-nav-size) / 2));
}

.king-addons-post-slider__arrow:hover {
    background-color: #111827;
    color: #ffffff;
    border-color: #111827;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.14);
}

.king-addons-post-slider__arrow-icon {
    display: block;
    width: var(--kng-post-slider-nav-icon-size);
    height: var(--kng-post-slider-nav-icon-size);
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(135deg);
}

.king-addons-post-slider__arrow--next .king-addons-post-slider__arrow-icon {
    transform: rotate(-45deg);
}

.king-addons-post-slider--nav-hide-tablet .king-addons-post-slider__navigation,
.king-addons-post-slider--nav-hide-tablet .king-addons-post-slider__arrow {
    display: none;
}

.king-addons-post-slider--nav-hide-mobile .king-addons-post-slider__navigation,
.king-addons-post-slider--nav-hide-mobile .king-addons-post-slider__arrow {
    display: none;
}

.king-addons-post-slider__pagination {
    position: static;
    display: flex;
    align-items: center;
    gap: var(--kng-post-slider-pagination-gap);
    margin-top: var(--kng-post-slider-pagination-offset);
    justify-content: center;
}

.king-addons-post-slider--pagination-align-flex-start .king-addons-post-slider__pagination {
    justify-content: flex-start;
}

.king-addons-post-slider--pagination-align-center .king-addons-post-slider__pagination {
    justify-content: center;
}

.king-addons-post-slider--pagination-align-flex-end .king-addons-post-slider__pagination {
    justify-content: flex-end;
}

.king-addons-post-slider--pagination-inside .king-addons-post-slider__pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: var(--kng-post-slider-pagination-offset);
    margin-top: 0;
    pointer-events: none;
}

.king-addons-post-slider--pagination-inside .king-addons-post-slider__pagination .swiper-pagination-bullet {
    pointer-events: auto;
}

.king-addons-post-slider__pagination .swiper-pagination-bullet {
    width: var(--kng-post-slider-pagination-size);
    height: var(--kng-post-slider-pagination-size);
    background-color: #d1d5db;
    opacity: 1;
    border-radius: 999px;
    transition: width 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.king-addons-post-slider__pagination .swiper-pagination-bullet-active {
    width: var(--kng-post-slider-pagination-active-width);
    background-color: #111827;
}

.king-addons-post-slider--nav-style-pro-solid .king-addons-post-slider__arrow {
    background-color: #111827;
    color: #ffffff;
    border-color: #111827;
}

.king-addons-post-slider--nav-style-pro-ghost .king-addons-post-slider__arrow {
    background-color: transparent;
    color: #111827;
    border-color: rgba(17, 24, 39, 0.28);
    box-shadow: none;
}

.king-addons-post-slider--nav-style-pro-minimal .king-addons-post-slider__arrow {
    background-color: transparent;
    border-color: transparent;
    box-shadow: none;
}

.king-addons-post-slider--pagination-style-pro-pill .king-addons-post-slider__pagination .swiper-pagination-bullet {
    width: calc(var(--kng-post-slider-pagination-size) * 2);
    border-radius: 999px;
}

.king-addons-post-slider--pagination-style-pro-outlined .king-addons-post-slider__pagination .swiper-pagination-bullet {
    background-color: transparent;
    border: 1px solid #d1d5db;
}

.king-addons-post-slider--pagination-style-pro-outlined .king-addons-post-slider__pagination .swiper-pagination-bullet-active {
    background-color: #111827;
    border-color: #111827;
}

.king-addons-post-slider__slide.is-anim-hover-lift .king-addons-post-slider__card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.king-addons-post-slider__slide.is-anim-hover-lift:hover .king-addons-post-slider__card {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(17, 24, 39, 0.18);
}

.king-addons-post-slider__slide.is-anim-hover-zoom .king-addons-post-slider__media img {
    transition: transform 0.25s ease;
}

.king-addons-post-slider__slide.is-anim-hover-zoom:hover .king-addons-post-slider__media img {
    transform: scale(1.04);
}

.king-addons-post-slider__slide.is-anim-hover-tilt .king-addons-post-slider__card {
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    transform-style: preserve-3d;
    transform-origin: center;
}

.king-addons-post-slider__slide.is-anim-hover-tilt:hover .king-addons-post-slider__card {
    transform: translateY(-8px) rotate3d(1, 1, 0, 6deg) perspective(700px) translateX(-4px);
    box-shadow: 0 22px 44px rgba(17, 24, 39, 0.22);
}

.king-addons-post-slider__slide.is-anim-hover-float .king-addons-post-slider__card {
    transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.king-addons-post-slider__slide.is-anim-hover-float:hover .king-addons-post-slider__card {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 0 20px 32px rgba(17, 24, 39, 0.18);
}

.king-addons-post-slider__slide.is-anim-hover-scale-fade .king-addons-post-slider__card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.king-addons-post-slider__slide.is-anim-hover-scale-fade:hover .king-addons-post-slider__card {
    transform: scale(1.03);
    box-shadow: 0 22px 44px rgba(17, 24, 39, 0.22);
    opacity: 0.94;
}

.king-addons-post-slider--image-ratio-square .king-addons-post-slider__media {
    aspect-ratio: 1 / 1;
}

.king-addons-post-slider--image-ratio-4-3 .king-addons-post-slider__media {
    aspect-ratio: 4 / 3;
}

.king-addons-post-slider--image-ratio-3-2 .king-addons-post-slider__media {
    aspect-ratio: 3 / 2;
}

.king-addons-post-slider--image-ratio-16-9 .king-addons-post-slider__media {
    aspect-ratio: 16 / 9;
}

.king-addons-post-slider--image-ratio-square .king-addons-post-slider__media img,
.king-addons-post-slider--image-ratio-4-3 .king-addons-post-slider__media img,
.king-addons-post-slider--image-ratio-3-2 .king-addons-post-slider__media img,
.king-addons-post-slider--image-ratio-16-9 .king-addons-post-slider__media img {
    height: 100%;
}

.king-addons-post-slider .swiper {
    padding-bottom: 0;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .king-addons-post-slider--nav-hide-tablet .king-addons-post-slider__navigation,
    .king-addons-post-slider--nav-hide-tablet .king-addons-post-slider__arrow {
        display: none;
    }
}

@media (max-width: 767px) {
    .king-addons-post-slider__track {
        padding: 12px 12px 36px;
    }

    .king-addons-post-slider__card {
        padding: 16px;
    }

    .king-addons-post-slider--nav-hide-mobile .king-addons-post-slider__navigation,
    .king-addons-post-slider--nav-hide-mobile .king-addons-post-slider__arrow {
        display: none;
    }
}


