:root {
    --np-hero-primary: var(--tn-primary, #4f46e5);
    --np-hero-sky: var(--tn-sky, #38bdf8);
    --np-hero-teal: var(--tn-teal, #2dd4bf);
    --np-hero-lime: var(--tn-lime, #a3e635);
    --np-hero-bg: var(--tn-bg, #f8fafc);
    --np-hero-surface: var(--tn-surface, #ffffff);
    --np-hero-soft: var(--tn-soft, #e2e8f0);
    --np-hero-muted-bg: #f1f5f9;
    --np-hero-text: var(--tn-text, #334155);
    --np-hero-muted: var(--tn-text-muted, #64748b);
    --np-hero-border: var(--tn-border, #cbd5e1);
    --np-hero-heading: #1e293b;
    --np-hero-white: #ffffff;
    --np-hero-dark: #0f172a;
    --np-hero-danger: #dc2626;
    --np-hero-warning: #f59e0b;
    --np-hero-success: #16a34a;
    --np-hero-primary-rgb: 79, 70, 229;
    --np-hero-sky-rgb: 56, 189, 248;
    --np-hero-teal-rgb: 45, 212, 191;
    --np-hero-lime-rgb: 163, 230, 53;
    --np-hero-text-rgb: 51, 65, 85;
    --np-hero-gradient-primary: linear-gradient(135deg, #4f46e5 0%, #38bdf8 100%);
    --np-hero-gradient-creative: linear-gradient(135deg, #38bdf8 0%, #2dd4bf 100%);
    --np-hero-gradient-cta: linear-gradient(135deg, #a3e635 0%, #2dd4bf 100%);
    --np-hero-gradient-dark: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    --np-hero-radius-sm: 10px;
    --np-hero-radius-md: 14px;
    --np-hero-radius-lg: 20px;
    --np-hero-radius-xl: 28px;
    --np-hero-radius-2xl: 36px;
    --np-hero-pill: 999px;
    --np-hero-shadow-xs: 0 1px 3px rgba(51, 65, 85, .08);
    --np-hero-shadow-sm: 0 8px 24px rgba(51, 65, 85, .08);
    --np-hero-shadow-md: 0 16px 48px rgba(51, 65, 85, .12);
    --np-hero-shadow-lg: 0 28px 90px rgba(51, 65, 85, .16);
    --np-hero-shadow-primary: 0 20px 70px rgba(79, 70, 229, .22);
    --np-hero-shadow-sky: 0 20px 70px rgba(56, 189, 248, .2);
    --np-hero-transition: 220ms ease;
    --np-hero-font: var(--np-font-primary, "IRANYekanX", "IRANSansX", "IRANYekan", "IRANSans", "Vazirmatn", Tahoma, Arial, sans-serif);
}

.np-hero-slider,
.np-home-hero,
.np-taban-hero,
.np-hero-slider *,
.np-home-hero *,
.np-taban-hero *,
.np-hero-slider *::before,
.np-home-hero *::before,
.np-taban-hero *::before,
.np-hero-slider *::after,
.np-home-hero *::after,
.np-taban-hero *::after {
    box-sizing: border-box;
}

.np-hero-slider,
.np-home-hero,
.np-taban-hero {
    position: relative;
    isolation: isolate;
    width: 100%;
    color: var(--np-hero-text);
    font-family: var(--np-hero-font);
}

.np-hero-slider {
    display: grid;
    gap: 18px;
}

.np-home-hero,
.np-taban-hero {
    display: block;
}

.np-hero-slider a,
.np-home-hero a,
.np-taban-hero a {
    color: inherit;
    text-decoration: none;
}

.np-hero-slider-shell {
    position: relative;
    overflow: hidden;
    border-radius: var(--np-hero-radius-2xl);
    box-shadow: var(--np-hero-shadow-primary);
}

.np-hero-slider .swiper,
.np-home-hero .swiper,
.np-taban-hero .swiper {
    width: 100%;
    overflow: hidden;
    border-radius: inherit;
}

.np-hero-slider .swiper-wrapper,
.np-home-hero .swiper-wrapper,
.np-taban-hero .swiper-wrapper {
    align-items: stretch;
}

.np-hero-slider .swiper-slide,
.np-home-hero .swiper-slide,
.np-taban-hero .swiper-slide {
    height: auto;
}

.np-hero-slide {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
    gap: clamp(22px, 4vw, 46px);
    align-items: center;
    min-height: clamp(520px, 68vh, 760px);
    padding: clamp(28px, 5vw, 68px);
    overflow: hidden;
    color: var(--np-hero-white);
    background:
        radial-gradient(circle at 12% 18%, rgba(var(--np-hero-lime-rgb), .24), transparent 17rem),
        radial-gradient(circle at 88% 8%, rgba(var(--np-hero-sky-rgb), .34), transparent 20rem),
        radial-gradient(circle at 50% 110%, rgba(var(--np-hero-teal-rgb), .22), transparent 20rem),
        var(--np-hero-gradient-primary);
}

.np-hero-slide::before {
    position: absolute;
    inset-block-start: -160px;
    inset-inline-end: -130px;
    width: 420px;
    height: 420px;
    content: "";
    background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 68%);
    border-radius: 50%;
    pointer-events: none;
}

.np-hero-slide::after {
    position: absolute;
    inset-block-end: -170px;
    inset-inline-start: 10%;
    width: 360px;
    height: 360px;
    content: "";
    background: radial-gradient(circle, rgba(var(--np-hero-teal-rgb), .32), transparent 66%);
    border-radius: 50%;
    pointer-events: none;
}

.np-hero-slide-primary {
    background:
        radial-gradient(circle at 12% 18%, rgba(var(--np-hero-lime-rgb), .24), transparent 17rem),
        radial-gradient(circle at 88% 8%, rgba(var(--np-hero-sky-rgb), .34), transparent 20rem),
        var(--np-hero-gradient-primary);
}

.np-hero-slide-creative {
    background:
        radial-gradient(circle at 12% 18%, rgba(var(--np-hero-primary-rgb), .2), transparent 17rem),
        radial-gradient(circle at 88% 8%, rgba(var(--np-hero-lime-rgb), .22), transparent 20rem),
        var(--np-hero-gradient-creative);
}

.np-hero-slide-dark {
    background:
        radial-gradient(circle at 12% 18%, rgba(var(--np-hero-sky-rgb), .28), transparent 17rem),
        radial-gradient(circle at 88% 8%, rgba(var(--np-hero-teal-rgb), .26), transparent 20rem),
        var(--np-hero-gradient-dark);
}

.np-hero-slide-light {
    color: var(--np-hero-text);
    background:
        radial-gradient(circle at 12% 18%, rgba(var(--np-hero-lime-rgb), .22), transparent 17rem),
        radial-gradient(circle at 88% 8%, rgba(var(--np-hero-sky-rgb), .2), transparent 20rem),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.np-hero-slide-content,
.np-hero-slide-media,
.np-hero-slide-side {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.np-hero-slide-content {
    display: grid;
    gap: 18px;
    align-content: center;
}

.np-hero-kicker,
.np-hero-badge {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    min-height: 32px;
    padding: 6px 12px;
    color: var(--np-hero-primary);
    font-size: 12px;
    font-weight: 950;
    line-height: 1.35;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: var(--np-hero-pill);
    box-shadow: 0 12px 34px rgba(15, 23, 42, .12);
    backdrop-filter: blur(14px);
}

.np-hero-slide-light .np-hero-kicker,
.np-hero-slide-light .np-hero-badge {
    color: var(--np-hero-primary);
    background: rgba(var(--np-hero-primary-rgb), .08);
    border-color: rgba(var(--np-hero-primary-rgb), .16);
    box-shadow: var(--np-hero-shadow-xs);
}

.np-hero-title {
    max-width: 850px;
    margin: 0;
    color: inherit;
    font-size: clamp(34px, 5.8vw, 76px);
    font-weight: 950;
    line-height: 1.08;
    letter-spacing: -.055em;
}

.np-hero-title mark,
.np-hero-title span {
    color: var(--np-hero-lime);
    background: transparent;
}

.np-hero-slide-light .np-hero-title mark,
.np-hero-slide-light .np-hero-title span {
    color: var(--np-hero-primary);
}

.np-hero-description {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: clamp(14px, 1.5vw, 17px);
    font-weight: 650;
    line-height: 1.95;
}

.np-hero-slide-light .np-hero-description {
    color: var(--np-hero-muted);
}

.np-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-block-start: 6px;
}

.np-hero-button,
.np-hero-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    color: var(--np-hero-primary);
    font-family: var(--np-hero-font);
    font-size: 14px;
    font-weight: 950;
    line-height: 1.35;
    cursor: pointer;
    background: var(--np-hero-white);
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: var(--np-hero-pill);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .18);
    transition: transform var(--np-hero-transition), box-shadow var(--np-hero-transition), background-color var(--np-hero-transition), border-color var(--np-hero-transition), color var(--np-hero-transition), opacity var(--np-hero-transition);
}

.np-hero-button:hover,
.np-hero-action:hover,
.np-hero-button:focus,
.np-hero-action:focus {
    color: var(--np-hero-white);
    background: var(--np-hero-dark);
    border-color: rgba(255, 255, 255, .2);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
    transform: translateY(-2px);
}

.np-hero-button-primary,
.np-hero-action-primary {
    color: var(--np-hero-white);
    background: var(--np-hero-gradient-cta);
    border-color: transparent;
    box-shadow: 0 18px 50px rgba(var(--np-hero-lime-rgb), .24);
}

.np-hero-button-primary:hover,
.np-hero-action-primary:hover,
.np-hero-button-primary:focus,
.np-hero-action-primary:focus {
    color: var(--np-hero-white);
    background: var(--np-hero-gradient-dark);
}

.np-hero-button-secondary,
.np-hero-action-secondary {
    color: var(--np-hero-white);
    background: rgba(255, 255, 255, .13);
    border-color: rgba(255, 255, 255, .24);
    box-shadow: none;
    backdrop-filter: blur(14px);
}

.np-hero-button-secondary:hover,
.np-hero-action-secondary:hover,
.np-hero-button-secondary:focus,
.np-hero-action-secondary:focus {
    color: var(--np-hero-primary);
    background: var(--np-hero-white);
    border-color: var(--np-hero-white);
}

.np-hero-slide-light .np-hero-button-secondary,
.np-hero-slide-light .np-hero-action-secondary {
    color: var(--np-hero-primary);
    background: rgba(var(--np-hero-primary-rgb), .08);
    border-color: rgba(var(--np-hero-primary-rgb), .16);
}

.np-hero-slide-light .np-hero-button-secondary:hover,
.np-hero-slide-light .np-hero-action-secondary:hover,
.np-hero-slide-light .np-hero-button-secondary:focus,
.np-hero-slide-light .np-hero-action-secondary:focus {
    color: var(--np-hero-white);
    background: var(--np-hero-primary);
    border-color: var(--np-hero-primary);
}

.np-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-block-start: 4px;
}

.np-hero-chip,
.np-hero-meta-item {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 11px;
    color: rgba(255, 255, 255, .86);
    font-size: 12px;
    font-weight: 850;
    line-height: 1.35;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--np-hero-pill);
    backdrop-filter: blur(12px);
}

.np-hero-slide-light .np-hero-chip,
.np-hero-slide-light .np-hero-meta-item {
    color: var(--np-hero-muted);
    background: var(--np-hero-muted-bg);
    border-color: var(--np-hero-soft);
}

.np-hero-slide-media {
    display: grid;
    align-items: center;
    justify-items: center;
}

.np-hero-visual {
    position: relative;
    width: min(100%, 560px);
    min-height: 390px;
    overflow: hidden;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: var(--np-hero-radius-2xl);
    box-shadow: 0 30px 80px rgba(15, 23, 42, .22);
    backdrop-filter: blur(18px);
}

.np-hero-slide-light .np-hero-visual {
    background: rgba(255, 255, 255, .94);
    border-color: rgba(203, 213, 225, .82);
    box-shadow: var(--np-hero-shadow-md);
}

.np-hero-visual::before {
    position: absolute;
    inset-block-start: -80px;
    inset-inline-end: -80px;
    width: 220px;
    height: 220px;
    content: "";
    background: radial-gradient(circle, rgba(var(--np-hero-lime-rgb), .26), transparent 68%);
    border-radius: 50%;
    pointer-events: none;
}

.np-hero-visual::after {
    position: absolute;
    inset-block-end: -80px;
    inset-inline-start: -80px;
    width: 220px;
    height: 220px;
    content: "";
    background: radial-gradient(circle, rgba(var(--np-hero-sky-rgb), .28), transparent 68%);
    border-radius: 50%;
    pointer-events: none;
}

.np-hero-visual img,
.np-hero-image {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
}

.np-hero-visual-contain img,
.np-hero-visual-contain .np-hero-image {
    object-fit: contain;
    padding: clamp(18px, 3vw, 34px);
}

.np-hero-browser {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: 390px;
    overflow: hidden;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: var(--np-hero-radius-2xl);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .2);
}

.np-hero-browser-bar {
    display: flex;
    gap: 7px;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    background: rgba(248, 250, 252, .96);
    border-block-end: 1px solid var(--np-hero-soft);
}

.np-hero-browser-dot {
    width: 10px;
    height: 10px;
    background: var(--np-hero-soft);
    border-radius: 50%;
}

.np-hero-browser-dot:nth-child(1) {
    background: #ef4444;
}

.np-hero-browser-dot:nth-child(2) {
    background: #f59e0b;
}

.np-hero-browser-dot:nth-child(3) {
    background: #22c55e;
}

.np-hero-browser-body {
    display: grid;
    gap: 12px;
    align-content: center;
    padding: 22px;
    background:
        radial-gradient(circle at 82% 8%, rgba(var(--np-hero-sky-rgb), .14), transparent 12rem),
        var(--np-hero-white);
}

.np-hero-browser-line {
    height: 14px;
    background: var(--np-hero-soft);
    border-radius: var(--np-hero-pill);
}

.np-hero-browser-line:nth-child(1) {
    width: 64%;
    background: rgba(var(--np-hero-primary-rgb), .18);
}

.np-hero-browser-line:nth-child(2) {
    width: 88%;
}

.np-hero-browser-line:nth-child(3) {
    width: 74%;
}

.np-hero-browser-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-block-start: 12px;
}

.np-hero-browser-card {
    min-height: 96px;
    background:
        radial-gradient(circle at 88% 0%, rgba(var(--np-hero-teal-rgb), .18), transparent 7rem),
        var(--np-hero-muted-bg);
    border: 1px solid var(--np-hero-soft);
    border-radius: var(--np-hero-radius-lg);
}

.np-hero-floating-card {
    position: absolute;
    z-index: 4;
    display: grid;
    gap: 5px;
    min-width: 160px;
    padding: 14px;
    color: var(--np-hero-heading);
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: var(--np-hero-radius-lg);
    box-shadow: 0 20px 60px rgba(15, 23, 42, .18);
    backdrop-filter: blur(18px);
}

.np-hero-floating-card strong {
    color: var(--np-hero-primary);
    font-size: 20px;
    font-weight: 950;
    line-height: 1.2;
}

.np-hero-floating-card span {
    color: var(--np-hero-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.55;
}

.np-hero-floating-card-one {
    inset-block-start: 28px;
    inset-inline-start: -28px;
}

.np-hero-floating-card-two {
    inset-block-end: 28px;
    inset-inline-end: -28px;
}

.np-hero-shape {
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    pointer-events: none;
}

.np-hero-shape-one {
    inset-block-start: 15%;
    inset-inline-start: 5%;
    width: 90px;
    height: 90px;
    background: rgba(var(--np-hero-lime-rgb), .22);
    filter: blur(1px);
}

.np-hero-shape-two {
    inset-block-end: 18%;
    inset-inline-end: 7%;
    width: 120px;
    height: 120px;
    background: rgba(var(--np-hero-sky-rgb), .2);
    filter: blur(1px);
}

.np-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-block-start: 8px;
}

.np-hero-stat {
    display: grid;
    gap: 5px;
    min-width: 0;
    padding: 14px;
    color: var(--np-hero-white);
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--np-hero-radius-lg);
    backdrop-filter: blur(14px);
}

.np-hero-slide-light .np-hero-stat {
    color: var(--np-hero-text);
    background: var(--np-hero-white);
    border-color: var(--np-hero-soft);
    box-shadow: var(--np-hero-shadow-xs);
}

.np-hero-stat strong {
    color: inherit;
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 950;
    line-height: 1.1;
}

.np-hero-stat span {
    color: rgba(255, 255, 255, .74);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.55;
}

.np-hero-slide-light .np-hero-stat span {
    color: var(--np-hero-muted);
}

.np-hero-controls {
    position: absolute;
    inset-inline: clamp(18px, 3vw, 34px);
    inset-block-end: clamp(18px, 3vw, 34px);
    z-index: 8;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.np-hero-controls > * {
    pointer-events: auto;
}

.np-hero-arrows {
    display: flex;
    gap: 10px;
    align-items: center;
}

.np-hero-prev,
.np-hero-next,
.np-hero-arrow,
.np-hero-slider .swiper-button-prev,
.np-hero-slider .swiper-button-next {
    position: relative;
    inset: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin: 0;
    color: var(--np-hero-white);
    cursor: pointer;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: var(--np-hero-pill);
    box-shadow: none;
    backdrop-filter: blur(14px);
    transition: color var(--np-hero-transition), background-color var(--np-hero-transition), border-color var(--np-hero-transition), box-shadow var(--np-hero-transition), transform var(--np-hero-transition), opacity var(--np-hero-transition);
}

.np-hero-prev:hover,
.np-hero-next:hover,
.np-hero-arrow:hover,
.np-hero-slider .swiper-button-prev:hover,
.np-hero-slider .swiper-button-next:hover,
.np-hero-prev:focus,
.np-hero-next:focus,
.np-hero-arrow:focus,
.np-hero-slider .swiper-button-prev:focus,
.np-hero-slider .swiper-button-next:focus {
    color: var(--np-hero-primary);
    background: var(--np-hero-white);
    border-color: var(--np-hero-white);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .2);
    transform: translateY(-1px);
}

.np-hero-prev::after,
.np-hero-next::after,
.np-hero-slider .swiper-button-prev::after,
.np-hero-slider .swiper-button-next::after {
    display: none;
}

.np-hero-prev::before,
.np-hero-next::before,
.np-hero-arrow::before,
.np-hero-slider .swiper-button-prev::before,
.np-hero-slider .swiper-button-next::before {
    width: 10px;
    height: 10px;
    content: "";
    border-block-start: 2px solid currentColor;
    border-inline-end: 2px solid currentColor;
}

.np-hero-prev::before,
.np-hero-slider .swiper-button-prev::before {
    transform: rotate(45deg);
}

.np-hero-next::before,
.np-hero-slider .swiper-button-next::before {
    transform: rotate(225deg);
}

.np-hero-prev.swiper-button-disabled,
.np-hero-next.swiper-button-disabled,
.np-hero-arrow.is-disabled,
.np-hero-slider .swiper-button-disabled {
    cursor: not-allowed;
    opacity: .42;
    transform: none;
}

.np-hero-pagination,
.np-hero-slider .swiper-pagination {
    position: relative;
    inset: auto;
    display: flex;
    gap: 7px;
    align-items: center;
    justify-content: center;
    width: auto;
}

.np-hero-slider .swiper-pagination-bullet,
.np-hero-pagination-bullet {
    width: 9px;
    height: 9px;
    margin: 0;
    background: rgba(255, 255, 255, .42);
    border-radius: var(--np-hero-pill);
    opacity: 1;
    transition: width var(--np-hero-transition), background-color var(--np-hero-transition), opacity var(--np-hero-transition);
}

.np-hero-slider .swiper-pagination-bullet-active,
.np-hero-pagination-bullet.is-active {
    width: 30px;
    background: var(--np-hero-white);
    opacity: 1;
}

.np-hero-progress {
    position: absolute;
    inset-inline: 0;
    inset-block-end: 0;
    z-index: 9;
    height: 4px;
    overflow: hidden;
    background: rgba(255, 255, 255, .14);
}

.np-hero-progress-bar {
    display: block;
    width: var(--np-hero-progress, 0%);
    height: 100%;
    background: var(--np-hero-gradient-cta);
    border-radius: var(--np-hero-pill);
    transition: width linear;
}

.np-hero-thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.np-hero-thumb {
    position: relative;
    display: grid;
    gap: 7px;
    min-width: 0;
    padding: 14px;
    cursor: pointer;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(203, 213, 225, .82);
    border-radius: var(--np-hero-radius-xl);
    box-shadow: var(--np-hero-shadow-xs);
    transition: border-color var(--np-hero-transition), box-shadow var(--np-hero-transition), transform var(--np-hero-transition);
}

.np-hero-thumb:hover,
.np-hero-thumb:focus,
.np-hero-thumb.is-active {
    border-color: rgba(var(--np-hero-primary-rgb), .3);
    box-shadow: var(--np-hero-shadow-sm);
    transform: translateY(-2px);
}

.np-hero-thumb::before {
    position: absolute;
    inset-block-start: 0;
    inset-inline: 0;
    height: 4px;
    content: "";
    background: var(--np-hero-gradient-primary);
    border-radius: var(--np-hero-radius-xl) var(--np-hero-radius-xl) 0 0;
    opacity: 0;
    transition: opacity var(--np-hero-transition);
}

.np-hero-thumb.is-active::before {
    opacity: 1;
}

.np-hero-thumb-title {
    overflow: hidden;
    color: var(--np-hero-heading);
    font-size: 13px;
    font-weight: 950;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.np-hero-thumb-description {
    overflow: hidden;
    color: var(--np-hero-muted);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.7;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.np-hero-mobile,
.np-hero-mobile-slider {
    display: none;
}

.np-hero-desktop {
    display: block;
}

html[dir="rtl"] .np-hero-slider,
html[dir="rtl"] .np-home-hero,
html[dir="rtl"] .np-taban-hero,
body.rtl .np-hero-slider,
body.rtl .np-home-hero,
body.rtl .np-taban-hero {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .np-hero-slide::before,
body.rtl .np-hero-slide::before {
    inset-inline-start: -130px;
    inset-inline-end: auto;
}

html[dir="rtl"] .np-hero-slide::after,
body.rtl .np-hero-slide::after {
    inset-inline-start: auto;
    inset-inline-end: 10%;
}

html[dir="rtl"] .np-hero-visual::before,
body.rtl .np-hero-visual::before {
    inset-inline-start: -80px;
    inset-inline-end: auto;
}

html[dir="rtl"] .np-hero-visual::after,
body.rtl .np-hero-visual::after {
    inset-inline-start: auto;
    inset-inline-end: -80px;
}

html[dir="rtl"] .np-hero-floating-card-one,
body.rtl .np-hero-floating-card-one {
    inset-inline-start: auto;
    inset-inline-end: -28px;
}

html[dir="rtl"] .np-hero-floating-card-two,
body.rtl .np-hero-floating-card-two {
    inset-inline-start: -28px;
    inset-inline-end: auto;
}

html[dir="rtl"] .np-hero-prev::before,
html[dir="rtl"] .np-hero-slider .swiper-button-prev::before,
body.rtl .np-hero-prev::before,
body.rtl .np-hero-slider .swiper-button-prev::before {
    transform: rotate(225deg);
}

html[dir="rtl"] .np-hero-next::before,
html[dir="rtl"] .np-hero-slider .swiper-button-next::before,
body.rtl .np-hero-next::before,
body.rtl .np-hero-slider .swiper-button-next::before {
    transform: rotate(45deg);
}

@media (max-width: 1399px) {
    .np-hero-slide {
        min-height: clamp(500px, 64vh, 700px);
    }

    .np-hero-visual,
    .np-hero-visual img,
    .np-hero-image,
    .np-hero-browser {
        min-height: 350px;
    }
}

@media (max-width: 1199px) {
    .np-hero-slide {
        grid-template-columns: minmax(0, 1fr);
        min-height: auto;
    }

    .np-hero-slide-media {
        order: -1;
    }

    .np-hero-visual,
    .np-hero-visual img,
    .np-hero-image,
    .np-hero-browser {
        min-height: 320px;
    }

    .np-hero-floating-card-one {
        inset-inline-start: 18px;
    }

    .np-hero-floating-card-two {
        inset-inline-end: 18px;
    }

    html[dir="rtl"] .np-hero-floating-card-one,
    body.rtl .np-hero-floating-card-one {
        inset-inline-end: 18px;
    }

    html[dir="rtl"] .np-hero-floating-card-two,
    body.rtl .np-hero-floating-card-two {
        inset-inline-start: 18px;
    }

    .np-hero-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .np-hero-slider-shell {
        border-radius: var(--np-hero-radius-xl);
    }

    .np-hero-slide {
        padding: 28px;
        border-radius: var(--np-hero-radius-xl);
    }

    .np-hero-title {
        font-size: clamp(30px, 8vw, 54px);
    }

    .np-hero-description {
        font-size: 14px;
    }

    .np-hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .np-hero-controls {
        position: relative;
        inset: auto;
        justify-content: center;
        padding: 14px;
        background: var(--np-hero-dark);
        border-radius: 0 0 var(--np-hero-radius-xl) var(--np-hero-radius-xl);
    }

    .np-hero-slider .swiper-pagination-bullet,
    .np-hero-pagination-bullet {
        background: rgba(255, 255, 255, .35);
    }

    .np-hero-slider .swiper-pagination-bullet-active,
    .np-hero-pagination-bullet.is-active {
        background: var(--np-hero-white);
    }

    .np-hero-thumbs {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767px) {
    .np-hero-desktop {
        display: none;
    }

    .np-hero-mobile,
    .np-hero-mobile-slider {
        display: block;
    }

    .np-hero-slider {
        gap: 14px;
    }

    .np-hero-slider-shell {
        border-radius: var(--np-hero-radius-xl);
    }

    .np-hero-slide {
        gap: 22px;
        padding: 22px;
        min-height: auto;
        border-radius: var(--np-hero-radius-xl);
    }

    .np-hero-slide-media {
        order: -1;
    }

    .np-hero-visual,
    .np-hero-visual img,
    .np-hero-image,
    .np-hero-browser {
        min-height: 240px;
        border-radius: var(--np-hero-radius-xl);
    }

    .np-hero-browser {
        min-height: 260px;
    }

    .np-hero-browser-body {
        padding: 16px;
    }

    .np-hero-browser-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .np-hero-title {
        font-size: clamp(28px, 10vw, 42px);
        letter-spacing: -.035em;
    }

    .np-hero-description {
        font-size: 13px;
        line-height: 1.85;
    }

    .np-hero-actions,
    .np-hero-meta {
        align-items: stretch;
        flex-direction: column;
    }

    .np-hero-button,
    .np-hero-action {
        width: 100%;
    }

    .np-hero-stats {
        grid-template-columns: minmax(0, 1fr);
    }

    .np-hero-floating-card {
        position: relative;
        inset: auto;
        min-width: 0;
        width: 100%;
    }

    .np-hero-floating-card-one,
    .np-hero-floating-card-two,
    html[dir="rtl"] .np-hero-floating-card-one,
    html[dir="rtl"] .np-hero-floating-card-two,
    body.rtl .np-hero-floating-card-one,
    body.rtl .np-hero-floating-card-two {
        inset: auto;
    }

    .np-hero-controls {
        gap: 10px;
        align-items: center;
        flex-direction: column;
    }

    .np-hero-arrows {
        order: 2;
    }

    .np-hero-pagination,
    .np-hero-slider .swiper-pagination {
        order: 1;
    }
}

@media (max-width: 520px) {
    .np-hero-slider-shell,
    .np-hero-slide,
    .np-hero-visual,
    .np-hero-browser,
    .np-hero-thumb {
        border-radius: var(--np-hero-radius-lg);
    }

    .np-hero-slide {
        padding: 18px;
    }

    .np-hero-kicker,
    .np-hero-badge,
    .np-hero-chip,
    .np-hero-meta-item {
        width: max-content;
        max-width: 100%;
    }

    .np-hero-visual,
    .np-hero-visual img,
    .np-hero-image,
    .np-hero-browser {
        min-height: 210px;
    }

    .np-hero-browser-card {
        min-height: 74px;
    }

    .np-hero-prev,
    .np-hero-next,
    .np-hero-arrow,
    .np-hero-slider .swiper-button-prev,
    .np-hero-slider .swiper-button-next {
        width: 42px;
        height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .np-hero-slider *,
    .np-home-hero *,
    .np-taban-hero *,
    .np-hero-slider *::before,
    .np-home-hero *::before,
    .np-taban-hero *::before,
    .np-hero-slider *::after,
    .np-home-hero *::after,
    .np-taban-hero *::after {
        animation-duration: 1ms !important;
        animation-delay: 0ms !important;
        transition-duration: 1ms !important;
        transition-delay: 1ms !important;
        scroll-behavior: auto !important;
    }

    .np-hero-button:hover,
    .np-hero-action:hover,
    .np-hero-prev:hover,
    .np-hero-next:hover,
    .np-hero-thumb:hover,
    .np-hero-visual img,
    .np-hero-image {
        transform: none;
    }
}