.seojan-dji-hero {
    --seojan-media-x: 50%;
    --seojan-media-y: 50%;
    --seojan-content-x: 0px;
    --seojan-content-y: 0px;
    --seojan-content-gap: 12px;
    --seojan-content-distance: 34px;
    --seojan-transition-speed: 650ms;
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
    isolation: isolate;
    contain: layout paint style;
    background: #050505;
    color: #fff;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.seojan-dji-hero:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.82);
    outline-offset: -2px;
}

.seojan-dji-hero,
.seojan-dji-hero * {
    box-sizing: border-box;
}

.elementor-widget-seojan-dji-hero-slider,
.elementor-widget-seojan-dji-hero-slider > .elementor-widget-container {
    overflow: visible;
}

.seojan-dji-hero.is-full-width {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* ارتفاع دقیق باید همیشه بر نسبت تصویر و min-height اولویت داشته باشد. */
.seojan-dji-hero.is-height-fixed {
    aspect-ratio: auto !important;
    min-height: 0 !important;
}

/* در حالت نسبت تصویر، ارتفاع از عرض و نسبت انتخابی محاسبه می‌شود. */
.seojan-dji-hero.is-height-ratio {
    height: auto !important;
}

.seojan-dji-hero__viewport,
.seojan-dji-hero__slides,
.seojan-dji-hero__slide,
.seojan-dji-hero__media,
.seojan-dji-hero__media picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.seojan-dji-hero__viewport {
    position: relative;
    overflow: hidden;
}

.seojan-dji-hero__slide {
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.018);
    transition:
        opacity var(--seojan-transition-speed) cubic-bezier(.32, .72, 0, 1),
        transform calc(var(--seojan-transition-speed) * 1.25) cubic-bezier(.32, .72, 0, 1),
        visibility 0s linear var(--seojan-transition-speed);
    will-change: auto;
}

.seojan-dji-hero__slide.is-active,
.seojan-dji-hero__slide.is-leaving {
    will-change: opacity, transform;
}

.seojan-dji-hero__slide.is-active {
    z-index: 2;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
    transition-delay: 0s;
}

.seojan-dji-hero__slide.is-leaving {
    z-index: 1;
    visibility: visible;
}

.seojan-dji-hero__media {
    overflow: hidden;
    background: #050505;
}

.seojan-dji-hero__media picture {
    display: block;
}

.seojan-dji-hero__media img,
.seojan-dji-hero__media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--seojan-media-x) var(--seojan-media-y);
    -webkit-user-drag: none;
    user-select: none;
}

.seojan-dji-hero__media video {
    background: #050505;
}

.seojan-dji-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: var(--seojan-slide-overlay, #000);
    opacity: var(--seojan-slide-overlay-opacity, .08);
}

.seojan-dji-hero__content-wrap {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 46px 40px 40px;
    pointer-events: none;
}

.seojan-dji-hero__content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 620px;
    max-width: 100%;
    gap: var(--seojan-content-gap);
    text-align: center;
    transform: translate3d(var(--seojan-content-x), var(--seojan-content-y), 0);
    pointer-events: auto;
}

.seojan-dji-hero__content > *,
.seojan-dji-hero__title-group > * {
    opacity: 0;
}

.seojan-dji-hero__slide.is-active .seojan-dji-hero__content > *,
.seojan-dji-hero__slide.is-active .seojan-dji-hero__title-group > * {
    animation-duration: calc(var(--seojan-transition-speed) * .88);
    animation-timing-function: cubic-bezier(.22, 1, .36, 1);
    animation-fill-mode: both;
}

.seojan-dji-hero[data-direction="prev"] .seojan-dji-hero__slide.is-active .seojan-dji-hero__content > *,
.seojan-dji-hero[data-direction="prev"] .seojan-dji-hero__slide.is-active .seojan-dji-hero__title-group > * {
    animation-name: seojanDjiContentInDown;
}

.seojan-dji-hero:not([data-direction="prev"]) .seojan-dji-hero__slide.is-active .seojan-dji-hero__content > *,
.seojan-dji-hero:not([data-direction="prev"]) .seojan-dji-hero__slide.is-active .seojan-dji-hero__title-group > * {
    animation-name: seojanDjiContentInUp;
}

.seojan-dji-hero__slide.is-active .seojan-dji-hero__eyebrow { animation-delay: 90ms; }
.seojan-dji-hero__slide.is-active .seojan-dji-hero__title-group { animation-delay: 150ms; }
.seojan-dji-hero__slide.is-active .seojan-dji-hero__title-group > :nth-child(1) { animation-delay: 155ms; }
.seojan-dji-hero__slide.is-active .seojan-dji-hero__title-group > :nth-child(2) { animation-delay: 205ms; }
.seojan-dji-hero__slide.is-active .seojan-dji-hero__subtitle { animation-delay: 240ms; }
.seojan-dji-hero__slide.is-active .seojan-dji-hero__buttons { animation-delay: 315ms; }

@keyframes seojanDjiContentInUp {
    from { opacity: 0; transform: translate3d(0, var(--seojan-content-distance), 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes seojanDjiContentInDown {
    from { opacity: 0; transform: translate3d(0, calc(var(--seojan-content-distance) * -1), 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.seojan-dji-hero__eyebrow {
    margin: 0;
    color: #fff;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 400;
}

.seojan-dji-hero__title-group {
    display: flex;
    flex-direction: column;
    align-items: inherit;
    justify-content: center;
    gap: 8px;
    margin: 0;
}

.seojan-dji-hero__title {
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: clamp(34px, 3.2vw, 58px);
    line-height: 1.04;
    font-weight: 650;
    letter-spacing: -.025em;
}

.seojan-dji-hero__title-svg {
    display: block;
    width: 280px;
    max-width: 100%;
    height: auto;
    align-self: inherit;
    object-fit: contain;
}

.seojan-dji-hero__subtitle {
    margin: 0;
    color: #fff;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 600;
}

.seojan-dji-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.seojan-dji-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition:
        color .25s ease,
        background-color .25s ease,
        border-color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.seojan-dji-hero__button:hover,
.seojan-dji-hero__button:focus-visible {
    color: #111;
    background: #fff;
    border-color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.seojan-dji-hero__button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.seojan-dji-hero__button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    font-size: 12px;
}

.seojan-dji-hero__button-icon svg,
.seojan-dji-hero__button-icon i {
    display: block;
    width: 1em;
    height: 1em;
    font-size: inherit;
    fill: currentColor;
}

.seojan-dji-hero__arrow {
    position: absolute;
    z-index: 6;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0 solid transparent;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        color .25s ease,
        background-color .25s ease,
        border-color .25s ease,
        opacity .25s ease,
        transform .25s ease;
}

.seojan-dji-hero__arrow:hover,
.seojan-dji-hero__arrow:focus-visible {
    color: #111;
    background: rgba(255, 255, 255, .92);
    transform: translateY(-50%) scale(1.04);
}

.seojan-dji-hero__arrow:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.seojan-dji-hero__arrow:disabled {
    opacity: .28;
    cursor: default;
    pointer-events: none;
}

.seojan-dji-hero__arrow--prev { left: 16px; }
.seojan-dji-hero__arrow--next { right: 16px; }
.seojan-dji-hero__arrow svg { display: block; width: 22px; height: 22px; }

.seojan-dji-hero__navigator {
    position: absolute;
    z-index: 5;
    left: 24%;
    bottom: 42px;
    width: 340px;
    max-width: calc(100% - 40px);
    color: #fff;
    direction: ltr;
    pointer-events: auto;
}

.seojan-dji-hero__navigator-heading {
    margin: 0 0 4px 14px;
    color: rgba(255, 255, 255, .65);
    font-size: 12px;
    line-height: 1.45;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.seojan-dji-hero__nav-window {
    position: relative;
    height: 78px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 82%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 82%, transparent 100%);
}

.seojan-dji-hero__nav-track {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    transition: transform calc(var(--seojan-transition-speed) * .72) cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
}

.seojan-dji-hero__nav-track.is-no-transition {
    transition: none !important;
}

.seojan-dji-hero__nav-item {
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 26px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, .52);
    font-family: inherit;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 400;
    text-align: left;
    cursor: pointer;
    opacity: .56;
    transition: color .3s ease, opacity .3s ease, font-weight .3s ease;
}

.seojan-dji-hero__nav-item:hover,
.seojan-dji-hero__nav-item:focus,
.seojan-dji-hero__nav-item:focus-visible {
    color: #fff;
    opacity: .82;
    outline: none;
}

.seojan-dji-hero__nav-item.is-active {
    color: #fff;
    font-weight: 600;
    opacity: 1;
}

/* Prevent theme/Elementor button styles from adding a background after click or focus. */
.seojan-dji-hero button.seojan-dji-hero__nav-item,
.seojan-dji-hero button.seojan-dji-hero__nav-item:hover,
.seojan-dji-hero button.seojan-dji-hero__nav-item:focus,
.seojan-dji-hero button.seojan-dji-hero__nav-item:focus-visible,
.seojan-dji-hero button.seojan-dji-hero__nav-item:active,
.seojan-dji-hero button.seojan-dji-hero__nav-item.is-active {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    filter: none !important;
}

.seojan-dji-hero button.seojan-dji-hero__nav-item::before,
.seojan-dji-hero button.seojan-dji-hero__nav-item::after,
.seojan-dji-hero button.seojan-dji-hero__nav-item > * {
    background-color: transparent !important;
    box-shadow: none !important;
}

.seojan-dji-hero__nav-title {
    display: block;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    direction: auto;
}

.seojan-dji-hero__progress {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 1px;
    height: 22px;
    margin-inline-end: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .28);
    opacity: 0;
    transform: scaleY(.78);
    transform-origin: center;
    transition: opacity .3s ease, transform .3s ease;
}

.seojan-dji-hero__nav-item.is-active .seojan-dji-hero__progress {
    opacity: 1;
    transform: scaleY(1);
}

.seojan-dji-hero__progress-fill {
    position: absolute;
    inset: 0;
    display: block;
    border-radius: inherit;
    background: #fff;
    transform: scaleY(0);
    transform-origin: top center;
    will-change: transform;
}

.seojan-dji-hero:not(.is-autoplay) .seojan-dji-hero__progress {
    display: none;
}

.seojan-dji-hero__mobile-pagination {
    display: none;
    position: absolute;
    z-index: 7;
    left: 50%;
    bottom: 34px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: calc(100% - 40px);
    transform: translateX(-50%);
    pointer-events: auto;
}

.seojan-dji-hero__mobile-page {
    position: relative;
    display: block;
    width: 34px;
    height: 3px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .28);
    cursor: pointer;
    transition: width .28s ease, opacity .28s ease, transform .28s ease;
}

.seojan-dji-hero__mobile-page.is-active {
    width: 50px;
}

.seojan-dji-hero__mobile-page:focus-visible {
    outline: 2px solid rgba(255, 255, 255, .9);
    outline-offset: 4px;
}

.seojan-dji-hero__mobile-page-fill {
    position: absolute;
    inset: 0;
    display: block;
    border-radius: inherit;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left center;
    will-change: transform;
}

.seojan-dji-hero:not(.is-autoplay) .seojan-dji-hero__mobile-page.is-active .seojan-dji-hero__mobile-page-fill {
    transform: scaleX(1) !important;
}

.seojan-dji-hero.is-dragging,
.seojan-dji-hero.is-dragging * {
    cursor: grabbing !important;
    user-select: none !important;
}

@media (max-width: 1024px) {
    .seojan-dji-hero {
        height: 560px;
    }

    .seojan-dji-hero__content-wrap {
        padding: 38px 32px 34px;
    }

    .seojan-dji-hero__navigator {
        left: 12%;
        bottom: 32px;
        width: 310px;
    }
}

@media (max-width: 767px) {
    .seojan-dji-hero {
        height: 620px;
    }

    .seojan-dji-hero__content-wrap {
        padding: 34px 20px 132px;
    }

    .seojan-dji-hero__content {
        width: 100%;
    }

    .seojan-dji-hero__eyebrow {
        font-size: 12px;
    }

    .seojan-dji-hero__title {
        font-size: clamp(30px, 10vw, 46px);
    }

    .seojan-dji-hero__subtitle {
        font-size: 17px;
    }

    .seojan-dji-hero__buttons {
        gap: 8px;
        margin-top: 4px;
    }

    .seojan-dji-hero__button {
        min-height: 38px;
        padding: 9px 16px;
        font-size: 13px;
    }

    .seojan-dji-hero__arrow {
        width: 42px;
        height: 42px;
    }

    .seojan-dji-hero__arrow--prev { left: 4px; }
    .seojan-dji-hero__arrow--next { right: 4px; }

    .seojan-dji-hero__navigator {
        display: none !important;
    }

    .seojan-dji-hero__arrow {
        display: none !important;
    }

    .seojan-dji-hero__mobile-pagination {
        display: flex;
    }
}

/* Elementor editor placeholder when all slide items are disabled. */
.seojan-dji-hero__editor-notice {
    box-sizing: border-box;
    width: 100%;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border: 1px dashed rgba(0, 0, 0, 0.25);
    background: rgba(0, 0, 0, 0.035);
    color: inherit;
    font-size: 14px;
    line-height: 1.9;
    text-align: center;
}

/* کاهش مصرف GPU و رعایت تنظیم Reduce Motion کاربر. */
.seojan-dji-hero.is-reduced-motion .seojan-dji-hero__slide,
.seojan-dji-hero.is-reduced-motion .seojan-dji-hero__nav-track,
.seojan-dji-hero.is-reduced-motion .seojan-dji-hero__content > *,
.seojan-dji-hero.is-reduced-motion .seojan-dji-hero__title-group > *,
.seojan-dji-hero.is-reduced-motion .seojan-dji-hero__arrow,
.seojan-dji-hero.is-reduced-motion .seojan-dji-hero__button,
.seojan-dji-hero.is-reduced-motion .seojan-dji-hero__nav-item,
.seojan-dji-hero.is-reduced-motion .seojan-dji-hero__progress,
.seojan-dji-hero.is-reduced-motion .seojan-dji-hero__mobile-page {
    transition: none !important;
    animation: none !important;
}

.seojan-dji-hero.is-reduced-motion .seojan-dji-hero__slide.is-active .seojan-dji-hero__content > *,
.seojan-dji-hero.is-reduced-motion .seojan-dji-hero__slide.is-active .seojan-dji-hero__title-group > * {
    opacity: 1;
    transform: none;
}


