.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;
    container-type: inline-size;
}

.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);
    border: 1px solid var(--wmpos-border, #ececec);
    background: var(--wmpos-card, #ffffff);
}

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

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

.wmpos-slide-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 8;
    overflow: hidden;
}

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

.wmpos-category {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    color: var(--wmpos-accent, #b3401f);
    font-size: 11px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
}

.wmpos-slider-wrap--minimal .wmpos-category {
    color: #1a1a1a;
}

.wmpos-slide-content {
    padding: 22px 26px 26px;
    background: var(--wmpos-card, #ffffff);
}

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

.wmpos-slide-title a {
    color: var(--wmpos-text, #1a1a1a);
    text-decoration: none;
}

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

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

.wmpos-slide-excerpt {
    color: var(--wmpos-text-soft, #6b6b6b);
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 16px;
}

.wmpos-info-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: var(--wmpos-text-soft, #6b6b6b);
}

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

.wmpos-cta-link:hover {
    opacity: 0.75;
    color: var(--wmpos-accent, #b3401f);
}

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

.wmpos-arrow {
    position: absolute;
    top: 0;
    height: 50cqw;
    width: 44px;
    background: transparent;
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 22px;
    z-index: 5;
    padding: 0;
    line-height: 1;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    transition: opacity 0.2s ease;
}

.wmpos-arrow:hover {
    opacity: 0.85;
}

.wmpos-arrow--prev {
    left: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.25), transparent);
}

.wmpos-arrow--next {
    right: 0;
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.25), transparent);
}

.wmpos-progress-bar {
    position: relative;
    height: 3px;
    background: var(--wmpos-border, #ececec);
    margin-top: 0;
}

.wmpos-progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: var(--wmpos-accent, #b3401f);
}

.wmpos-slider-wrap--minimal .wmpos-progress-fill {
    background: #1a1a1a;
}

.wmpos-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 16px 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-notice {
    padding: 12px 16px;
    background: #f6f7f7;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    color: #50575e;
}

@media (max-width: 720px) {
    .wmpos-slide-img-wrap {
        aspect-ratio: 16 / 10;
    }

    .wmpos-arrow {
        height: 62.5cqw;
        width: 36px;
        font-size: 18px;
    }

    .wmpos-slide-content {
        padding: 16px 18px 20px;
    }

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

    .wmpos-slide-excerpt {
        font-size: 13px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@supports not (height: 50cqw) {
    .wmpos-arrow {
        height: 31.25%;
    }

    @media (max-width: 720px) {
        .wmpos-arrow {
            height: 38.46%;
        }
    }
}

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