.wmpos-slider-wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: var(--wmpos-bg, #ffffff);
    color: var(--wmpos-text, #1a1a1a);
    box-sizing: border-box;
}

.wmpos-slider-wrap *,
.wmpos-slider-wrap *::before,
.wmpos-slider-wrap *::after {
    box-sizing: border-box;
}

.wmpos-slider-heading {
    margin: 0 0 20px;
    font-size: 1.5rem;
    line-height: 1.3;
    color: var(--wmpos-text, #1a1a1a);
}

.wmpos-slider-heading__link {
    color: inherit;
    text-decoration: none;
    border-bottom: 2px solid var(--wmpos-accent, #b3401f);
    transition: opacity 0.2s ease;
}

.wmpos-slider-heading__link:hover,
.wmpos-slider-heading__link:focus {
    color: inherit;
    opacity: 0.85;
}

.entry-content .wmpos-slider-wrap .wmpos-slider-heading__link,
.content-wrap .wmpos-slider-wrap .wmpos-slider-heading__link {
    color: var(--wmpos-text, #1a1a1a);
}

.wmpos-slider-wrap--minimal .wmpos-slider-heading__link {
    border-bottom-color: #1a1a1a;
}

.wmpos-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--wmpos-radius, 14px);
    aspect-ratio: 16 / 8;
}

.wmpos-slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.wmpos-slide {
    min-width: 100%;
    position: relative;
    height: 100%;
}

.wmpos-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wmpos-slide-overlay {
    position: absolute;
    inset: 0;
    background: var(--wmpos-overlay, linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0.88) 100%));
    display: flex;
    align-items: flex-end;
    padding: 36px;
}

.wmpos-slide-meta {
    max-width: 640px;
}

.wmpos-category {
    display: inline-block;
    color: var(--wmpos-accent, #b3401f);
    background: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.wmpos-slide-title {
    font-size: 26px;
    line-height: 1.3;
    margin: 0 0 10px;
}

.wmpos-slide-title a {
    color: #fff;
    text-decoration: none;
}

.entry-content .wmpos-slider-wrap .wmpos-slide-title a,
.content-wrap .wmpos-slider-wrap .wmpos-slide-title a {
    color: #fff;
}

.wmpos-slide-title a:hover {
    opacity: 0.9;
}

.wmpos-slide-excerpt {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 16px;
}

.wmpos-info-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

.wmpos-cta-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--wmpos-accent, #b3401f);
    padding-bottom: 2px;
}

.wmpos-cta-link:hover {
    opacity: 0.8;
    color: #fff;
}

.wmpos-slider-wrap--minimal .wmpos-category {
    color: #1a1a1a;
    background: rgba(255, 255, 255, 0.95);
}

.wmpos-slider-wrap--minimal .wmpos-cta-link {
    border-bottom: none;
    font-weight: 700;
}

.wmpos-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    color: #1a1a1a;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.2s ease;
    z-index: 5;
    padding: 0;
    line-height: 1;
}

.wmpos-arrow:hover {
    background: #fff;
}

.wmpos-arrow--prev {
    left: 16px;
}

.wmpos-arrow--next {
    right: 16px;
}

.wmpos-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 18px 0 0;
}

.wmpos-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #e0ddd6;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.wmpos-dot.is-active {
    background: var(--wmpos-accent, #b3401f);
    transform: scale(1.25);
}

.wmpos-slider-wrap--minimal .wmpos-dot.is-active {
    background: #1a1a1a;
}

.wmpos-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--wmpos-accent, #b3401f);
    width: 0%;
    z-index: 5;
    pointer-events: none;
}

.wmpos-slider-wrap--minimal .wmpos-progress-bar {
    background: #fff;
}

.wmpos-notice {
    padding: 12px 16px;
    background: #f6f7f7;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    color: #50575e;
}

@media (max-width: 720px) {
    .wmpos-slider {
        aspect-ratio: 4 / 5;
    }

    .wmpos-slide-overlay {
        padding: 22px;
    }

    .wmpos-slide-title {
        font-size: 20px;
    }

    .wmpos-arrow {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wmpos-slider-track {
        transition: none;
    }
}
