.wn-promotion-section {
    margin: clamp(1.5rem, 4vw, 3rem) auto;
    max-width: 1280px;
    padding: 0 clamp(1rem, 3vw, 1.5rem);
}

.wn-promotion-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.wn-promotion-section-head h2 {
    margin: .15rem 0 0;
    color: #102720;
    font-size: clamp(1.45rem, 3vw, 2.3rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.wn-promotion-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.wn-promotion-carousel-wrap {
    position: relative;
}

.wn-promotion-strip.is-carousel {
    display: flex;
    gap: clamp(.9rem, 2vw, 1.35rem);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: .25rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: .35rem .2rem 1.1rem;
}

.wn-promotion-strip.is-carousel::-webkit-scrollbar {
    display: none;
}

.wn-promotion-strip.is-carousel .wn-promotion-card {
    flex: 0 0 min(84vw, 330px);
    scroll-snap-align: start;
}

.wn-promotion-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(12, 48, 38, .12);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(12, 48, 38, .1);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.wn-promotion-card:hover {
    transform: translateY(-3px);
    border-color: rgba(10, 155, 115, .28);
    box-shadow: 0 24px 54px rgba(12, 48, 38, .14);
}

.wn-promotion-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10.7;
    background: #f3f7f5;
}

.wn-promotion-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wn-promotion-body {
    display: grid;
    gap: .55rem;
    padding: 1.05rem;
}

.wn-promotion-body h3 {
    margin: 0;
    min-height: 2.62em;
    font-size: 1.05rem;
    line-height: 1.25;
    letter-spacing: 0;
}

.wn-promotion-body h3 a {
    color: #0c3026;
    text-decoration: none;
}

.wn-promotion-body p {
    margin: 0;
    color: #5b6d66;
    line-height: 1.45;
}

.wn-promotion-note {
    min-height: 54px;
    padding: .68rem .8rem;
    border-radius: 12px;
    background: #f2fbf6;
    color: #19493a;
}

.wn-promotion-badge {
    position: absolute;
    inset-block-start: .75rem;
    inset-inline-start: .75rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: .35rem .7rem;
    border-radius: 999px;
    background: #fff;
    color: #0c3026;
    font-size: .78rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(12, 48, 38, .16);
}

.wn-promotion-badge-editors_choice {
    background: #fff7dd;
    color: #7a4c00;
}

.wn-promotion-badge-featured {
    background: #e5fff1;
    color: #007a52;
}

.wn-promotion-badge-sponsored {
    background: #fff;
    color: #9a251f;
    border: 1px solid rgba(154, 37, 31, .28);
}

.wn-promotion-sponsored {
    border-color: rgba(154, 37, 31, .22);
}

.wn-promotion-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: .65rem .9rem;
    border-radius: 12px;
    background: #0a9b73;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: background .18s ease, transform .18s ease;
}

.wn-promotion-cta:hover {
    background: #087f60;
    transform: translateY(-1px);
}

.wn-promotion-carousel-btn {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(12, 48, 38, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    color: #103229;
    box-shadow: 0 14px 34px rgba(12, 48, 38, .18);
    cursor: pointer;
    transform: translateY(-50%);
    transition: opacity .18s ease, transform .18s ease, background .18s ease;
}

.wn-promotion-carousel-btn span {
    display: block;
    margin-top: -2px;
    font-size: 2.15rem;
    line-height: 1;
}

.wn-promotion-carousel-btn:hover {
    background: #0a9b73;
    color: #fff;
    transform: translateY(-50%) scale(1.04);
}

.wn-promotion-carousel-btn:focus-visible {
    outline: 3px solid rgba(10, 155, 115, .35);
    outline-offset: 3px;
}

.wn-promotion-carousel-btn.is-prev {
    left: max(-.85rem, -18px);
}

.wn-promotion-carousel-btn.is-next {
    right: max(-.85rem, -18px);
}

.wn-promotion-carousel-btn.is-disabled {
    opacity: .38;
    pointer-events: none;
}

.wn-owner-promotion-panel {
    display: grid;
    gap: .75rem;
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid rgba(12, 48, 38, .12);
    border-radius: 16px;
    background: #fff;
}

.wn-owner-promotion-panel form {
    display: grid;
    gap: .75rem;
}

.wn-owner-promotion-panel label,
.wnmc-promotions-admin label {
    display: grid;
    gap: .35rem;
    font-weight: 600;
}

.wn-owner-promotion-panel select,
.wn-owner-promotion-panel button,
.wnmc-promotions-admin input,
.wnmc-promotions-admin select,
.wnmc-promotions-admin textarea {
    width: 100%;
    min-height: 42px;
}

.wn-owner-promotion-panel button {
    border: 0;
    border-radius: 12px;
    background: #0a9b73;
    color: #fff;
    font-weight: 700;
}

.wnmc-promotion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    max-width: 1280px;
}

.wnmc-promotion-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: .5rem 1rem;
    margin-bottom: 1rem;
}

.wnmc-wide-label {
    max-width: 980px;
}

.wnmc-promotion-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.wnmc-promotion-stats article {
    padding: 1rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(12, 48, 38, .12);
}

.wnmc-promotion-stats strong {
    display: block;
    font-size: 1.6rem;
}

@media (min-width: 820px) {
    .wn-promotion-strip.is-carousel .wn-promotion-card {
        flex-basis: clamp(292px, 26vw, 356px);
    }
}

@media (max-width: 720px) {
    .wn-promotion-section-head {
        align-items: flex-start;
    }

    .wn-promotion-carousel-btn {
        width: 40px;
        height: 40px;
    }

    .wn-promotion-carousel-btn.is-prev {
        left: .35rem;
    }

    .wn-promotion-carousel-btn.is-next {
        right: .35rem;
    }
}

[dir="rtl"] .wn-promotion-section,
html[lang="ar"] .wn-promotion-section {
    font-family: Cairo, var(--wn-font, system-ui), sans-serif;
}
