.velix-image-slider {
    --velix-accent: #087c48;
    --velix-secondary: #e5b746;
    --velix-muted: #7a827e;
    --velix-line: #e4e8e5;
    --velix-slide-gap: 22px;
    --velix-side-padding: 36px;
    --velix-slides-per-view: 5;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 30px 0 42px;
    background: #fff;
    box-sizing: border-box;
}

.velix-image-slider *,
.velix-image-slider *::before,
.velix-image-slider *::after {
    box-sizing: border-box;
}

.velix-image-slider__controls {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 0 var(--velix-side-padding);
    margin-bottom: 30px;
}

.velix-image-slider__arrow {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #d9dfdc;
    border-radius: 50%;
    background: #fff;
    color: #526a5d;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(14, 60, 36, 0.06);
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.velix-image-slider__arrow:hover,
.velix-image-slider__arrow:focus {
    background: var(--velix-accent);
    border-color: var(--velix-accent);
    color: #fff;
    transform: translateY(-3px);
}

.velix-image-slider__arrow svg,
.velix-image-slider__link-arrow svg,
.velix-image-slider__drag-text svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.velix-image-slider__arrow svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.8;
}

.velix-image-slider__viewport {
    width: 100%;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
}

.velix-image-slider__viewport.is-dragging { cursor: grabbing; }

.velix-image-slider__track {
    display: flex;
    align-items: stretch;
    gap: var(--velix-slide-gap);
    padding: 0 var(--velix-side-padding);
    will-change: transform;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.velix-image-slider__card {
    flex: 0 0 calc((100% - ((var(--velix-slides-per-view) - 1) * var(--velix-slide-gap))) / var(--velix-slides-per-view));
    min-width: 0;
    position: relative;
    color: inherit;
    text-decoration: none;
}

.velix-image-slider__image-box {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 18px;
    background: #e8ece9;
    box-shadow: 0 14px 34px rgba(15, 54, 34, 0.08);
}

.velix-image-slider__image-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(2, 20, 11, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.velix-image-slider__image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.velix-image-slider__card:hover .velix-image-slider__image {
    transform: scale(1.1);
    filter: saturate(1.08);
}

.velix-image-slider__card:hover .velix-image-slider__image-box::after { opacity: 1; }

.velix-image-slider__number {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    background: rgba(5, 34, 19, 0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.velix-image-slider__content { padding: 20px 18px 0; }

.velix-image-slider__title {
    min-height: 58px;
    margin: 0 0 14px;
    color: #080b09;
    font-size: clamp(21px, 1.65vw, 27px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.5px;
}

.velix-image-slider__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--velix-accent);
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease, gap 0.3s ease;
}

.velix-image-slider__link:hover {
    color: var(--velix-accent);
    gap: 15px;
}

.velix-image-slider__link-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(8, 124, 72, 0.09);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.velix-image-slider__link:hover .velix-image-slider__link-arrow {
    background: var(--velix-accent);
    color: #fff;
    transform: translateX(3px);
}

.velix-image-slider__link-arrow svg {
    width: 15px;
    height: 15px;
    stroke-width: 2;
}

.velix-image-slider__footer {
    width: calc(100% - (var(--velix-side-padding) * 2));
    margin: 38px auto 0;
    display: grid;
    grid-template-columns: auto minmax(120px, 1fr) auto;
    align-items: center;
    gap: 22px;
}

.velix-image-slider__counter {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 70px;
}

.velix-image-slider__current {
    color: var(--velix-accent);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    line-height: 1;
}

.velix-image-slider__total { color: #9da5a1; font-size: 14px; }

.velix-image-slider__progress {
    position: relative;
    width: 100%;
    height: 3px;
    overflow: hidden;
    background: var(--velix-line);
}

.velix-image-slider__progress-fill {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--velix-accent), var(--velix-secondary));
}

.velix-image-slider__progress-fill.is-active {
    animation: velixSliderProgress var(--velix-autoplay-delay, 5s) linear forwards;
}

.velix-image-slider__drag-text {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--velix-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    white-space: nowrap;
}

.velix-image-slider__drag-text svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.7;
}

@keyframes velixSliderProgress { from { width: 0; } to { width: 100%; } }

@media (max-width: 767px) {
    .velix-image-slider__controls { margin-bottom: 22px; }
    .velix-image-slider__content { padding: 17px 10px 0; }
    .velix-image-slider__title { min-height: auto; font-size: 23px; }
    .velix-image-slider__footer { margin-top: 30px; grid-template-columns: auto 1fr; gap: 16px; }
    .velix-image-slider__drag-text { display: none; }
    .velix-image-slider__current { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
    .velix-image-slider *,
    .velix-image-slider *::before,
    .velix-image-slider *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* Style 1: normal static image section */
.velix-image-slider--style-1 .velix-image-slider__viewport {
    overflow: visible;
    cursor: default;
    user-select: auto;
    touch-action: auto;
}

.velix-image-slider--style-1 .velix-image-slider__track {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    transform: none !important;
    transition: none !important;
    will-change: auto;
}

.velix-image-slider--style-1 .velix-image-slider__card {
    width: 100%;
    min-width: 0;
    flex: none;
}

.velix-image-slider--style-1 .velix-image-slider__controls,
.velix-image-slider--style-1 .velix-image-slider__footer {
    display: none !important;
}

@media (max-width: 1024px) {
    .velix-image-slider--style-1 .velix-image-slider__track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .velix-image-slider--style-1 .velix-image-slider__track {
        grid-template-columns: 1fr;
    }
}

.velix-image-slider__arrow svg,.velix-image-slider__arrow svg *{stroke:currentColor!important}.velix-image-slider__arrow{color:inherit}
