/* ظاهر بخش ویدیوهای واژیک */
.vjk-widget {
    --vjk-primary: #85229c;
    --vjk-accent: #e64f9b;
    --vjk-page-bg: #fbf5fc;
    direction: rtl;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    color: #29213a;
    font-family: inherit;
}
.vjk-widget *,
.vjk-widget *::before,
.vjk-widget *::after { box-sizing: border-box; }
.vjk-widget [hidden] { display: none !important; }

/* نوشته‌های عنوان و توضیحات بخش‌ها */
.vjk-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}
.vjk-section-copy { min-width: 0; }
.vjk-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--vjk-primary);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.2px;
}
.vjk-eyebrow i {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--vjk-accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--vjk-accent) 15%, transparent);
}
.vjk-section-head h2 {
    margin: 0;
    color: #2e203c;
    font-size: clamp(18px, 2.1vw, 25px);
    font-weight: 900;
    line-height: 1.65;
}
.vjk-section-head p {
    margin: 5px 0 0;
    color: #806e88;
    font-size: 12px;
    line-height: 1.9;
}

/* اسلایدر صفحه اصلی */
.vjk-slider-block {
    position: relative;
    overflow: hidden;
    padding: clamp(15px, 2vw, 24px);
    border: 1px solid #f0def4;
    border-radius: 26px;
    background:
        radial-gradient(circle at 4% 0%, rgba(220, 168, 235, .25), transparent 34%),
        radial-gradient(circle at 100% 100%, rgba(242, 190, 220, .2), transparent 32%),
        linear-gradient(145deg, #fffaff, #faf2fc 58%, #fff9fd);
    box-shadow: 0 12px 34px rgba(81, 25, 99, .075), inset 0 1px 0 #fff;
    container-type: inline-size;
}
/* چیدمان اسلایدر و دکمه در یک قاب مشترک */
.vjk-slider-block {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
    padding: 12px;
    border-radius: 22px;
}
.vjk-slider-block .vjk-section-head {
    align-items: center;
    gap: 10px;
    margin-bottom: 11px;
}
.vjk-slider-block .vjk-section-head h2 {
    font-size: clamp(17px, 1.8vw, 21px);
    line-height: 1.5;
}
.vjk-slider-block .vjk-section-head p {
    margin-top: 3px;
    font-size: 10px;
    line-height: 1.6;
}
.vjk-slider-block .vjk-eyebrow {
    margin-bottom: 4px;
    font-size: 9px;
}
.vjk-slider-panel {
    padding: 8px;
    border: 1px solid rgba(255,255,255,.96);
    border-radius: 19px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 5px 17px rgba(81, 25, 99, .055);
}
.vjk-slider-panel .vjk-card {
    border: 0;
    border-radius: 14px;
    box-shadow: none;
}
.vjk-slider-panel .vjk-card:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}
.vjk-slider-panel .vjk-card-content {
    position: relative;
    padding: 8px 10px 46px;
}
.vjk-slider-panel .vjk-card-meta {
    min-height: 17px;
    margin-bottom: 3px;
    font-size: 9px;
}
.vjk-slider-panel .vjk-card-title {
    font-size: 13px;
    line-height: 1.55;
    -webkit-line-clamp: 1;
}
.vjk-slider-panel .vjk-card-excerpt {
    margin-top: 3px;
    font-size: 10px;
    line-height: 1.55;
    -webkit-line-clamp: 1;
}
.vjk-slider-controls { display: flex; flex-direction: row-reverse; align-items: center; gap: 7px; flex-shrink: 0; }
.vjk-slider-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #ead8ef;
    border-radius: 50%;
    color: var(--vjk-primary);
    background: #fff;
    box-shadow: 0 4px 12px rgba(94, 35, 111, .08);
    cursor: pointer;
    transition: .2s ease;
}
.vjk-slider-arrow:hover:not(:disabled) { color: #fff; border-color: var(--vjk-primary); background: var(--vjk-primary); transform: translateY(-2px); }
.vjk-slider-arrow:disabled { opacity: .35; cursor: default; box-shadow: none; }
.vjk-slider-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vjk-slider-viewport { width: 100%; overflow: hidden; touch-action: pan-y; }
.vjk-track {
    display: flex;
    flex-direction: row;
    direction: rtl;
    align-items: stretch;
    gap: 18px;
    width: 100%;
    transition: transform .42s cubic-bezier(.22,.75,.25,1);
    will-change: transform;
}
.vjk-slide { flex: 0 0 100%; min-width: 0; }
.vjk-slider-static .vjk-slider-controls { opacity: .5; }
.vjk-slider-footer { display: flex; justify-content: center; margin-top: 9px; }
.vjk-main-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: min(100%, 250px);
    min-height: 37px;
    padding: 7px 14px;
    border: 0;
    border-radius: 30px;
    color: #fff !important;
    background: linear-gradient(105deg, var(--vjk-accent), var(--vjk-primary) 78%);
    box-shadow: 0 7px 18px color-mix(in srgb, var(--vjk-primary) 24%, transparent), inset 0 1px 0 rgba(255,255,255,.2);
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 850;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.vjk-main-button:hover { color: #fff !important; transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 10px 22px color-mix(in srgb, var(--vjk-primary) 28%, transparent); }
.vjk-main-button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* کارت‌های ویدیو */
.vjk-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #eee7f0;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(44, 25, 55, .065);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.vjk-card:hover { transform: translateY(-3px); border-color: #e5cce9; box-shadow: 0 13px 28px rgba(65, 28, 79, .11); }
.vjk-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(135deg, #32133f, #a23ab0 58%, #ed8eb9);
}
.vjk-media > iframe,
.vjk-media > video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; background: #130c18; object-fit: contain; }


.vjk-pinned-badge {
    position: absolute;
    z-index: 3;
    top: 10px;
    right: 10px;
    padding: 5px 9px;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 30px;
    color: #fff;
    background: rgba(75, 20, 91, .78);
    backdrop-filter: blur(8px);
    font-size: 10px;
    font-weight: 800;
}
.vjk-cover-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255,255,255,.8);
    background: radial-gradient(circle at 25% 20%, rgba(255,255,255,.18), transparent 30%), linear-gradient(135deg, #4c1c60, #a02eaa 60%, #e17cb3);
    font-size: 11px;
}

.vjk-card-content { position: relative; padding: 13px 14px 52px; }



.vjk-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 22px; margin-bottom: 7px; color: #93859a; font-size: 10px; }
.vjk-category-chip { display: inline-block; max-width: 70%; overflow: hidden; padding: 4px 8px; border-radius: 20px; color: var(--vjk-primary); background: color-mix(in srgb, var(--vjk-primary) 9%, white); font-size: 10px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.vjk-card-title { display: -webkit-box; overflow: hidden; margin: 0; color: #30243a; font-size: 14px; font-weight: 850; line-height: 1.85; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.vjk-card-excerpt { display: -webkit-box; overflow: hidden; margin: 6px 0 0; color: #817487; font-size: 11px; line-height: 1.9; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

/* صفحه همه ویدیوها */
.vjk-archive { padding: clamp(12px, 2.2vw, 26px); border: 1px solid #f0e6f2; border-radius: 28px; background: var(--vjk-page-bg); box-shadow: 0 12px 36px rgba(72, 33, 87, .055); }
.vjk-archive-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 220px;
    overflow: hidden;
    padding: clamp(22px, 4vw, 42px);
    border-radius: 23px;
    color: #fff;
    background: linear-gradient(112deg, #4d145f 0%, #76208e 49%, #a332a9 100%);
    box-shadow: 0 14px 30px color-mix(in srgb, var(--vjk-primary) 22%, transparent);
}
.vjk-hero-content { position: relative; z-index: 2; max-width: 680px; }
.vjk-hero-eyebrow { color: #f7d9fb; }
.vjk-hero-eyebrow i { background: #ffb8db; box-shadow: 0 0 0 4px rgba(255,184,219,.16); }
.vjk-archive-hero h1 { margin: 0; color: #fff; font-size: clamp(25px, 4vw, 39px); font-weight: 950; line-height: 1.55; }
.vjk-archive-hero p { max-width: 560px; margin: 8px 0 0; color: rgba(255,255,255,.78); font-size: 13px; line-height: 2; }
.vjk-archive-stats { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.vjk-archive-stats span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 30px; color: rgba(255,255,255,.88); background: rgba(255,255,255,.1); backdrop-filter: blur(8px); font-size: 11px; }
.vjk-archive-stats strong { color: #fff; font-size: 14px; }
.vjk-hero-art { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: clamp(115px, 18vw, 205px); height: clamp(115px, 18vw, 205px); margin-left: 3%; flex: 0 0 auto; }
.vjk-hero-ring { position: absolute; inset: 5%; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; box-shadow: 0 0 0 15px rgba(255,255,255,.045), 0 0 0 32px rgba(255,255,255,.035); }


.vjk-hero-spark { position: absolute; top: 5%; right: 4%; color: #ffd4e9; font-size: 30px; }
.vjk-hero-orb { position: absolute; border-radius: 50%; background: rgba(255,255,255,.07); pointer-events: none; }
.vjk-hero-orb-one { width: 260px; height: 260px; top: -150px; left: 22%; }
.vjk-hero-orb-two { width: 180px; height: 180px; right: 25%; bottom: -125px; }
.vjk-archive-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 24px 0 18px; }
.vjk-filter-list { display: flex; align-items: center; gap: 7px; max-width: 100%; overflow-x: auto; padding: 3px 1px 8px; scrollbar-width: thin; }
.vjk-filter { flex: 0 0 auto; padding: 9px 14px; border: 1px solid #eaddec; border-radius: 30px; color: #6d5b75; background: #fff; font-family: inherit; font-size: 11px; font-weight: 750; cursor: pointer; transition: .2s ease; }
.vjk-filter:hover { border-color: var(--vjk-primary); color: var(--vjk-primary); }
.vjk-filter.is-active { border-color: var(--vjk-primary); color: #fff; background: linear-gradient(105deg, var(--vjk-accent), var(--vjk-primary)); box-shadow: 0 5px 13px color-mix(in srgb, var(--vjk-primary) 18%, transparent); }
.vjk-search-box { display: flex; flex: 0 0 230px; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid #eaddec; border-radius: 30px; color: #9a88a1; background: #fff; }
.vjk-search-box svg { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.vjk-search-box input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; color: #30243a; background: transparent; font-family: inherit; font-size: 11px; box-shadow: none !important; }
.vjk-search-box input::placeholder { color: #a394aa; }
.vjk-archive-grid { display: grid; grid-template-columns: repeat(var(--vjk-columns, 3), minmax(0, 1fr)); gap: 22px; }
.vjk-archive-grid .vjk-card { width: 100%; }
.vjk-pagination { display: flex; justify-content: center; margin-top: 28px; }
.vjk-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin: 0; padding: 0; list-style: none; }
.vjk-pagination li { margin: 0; padding: 0; }
.vjk-pagination a,
.vjk-pagination span { display: flex; align-items: center; justify-content: center; min-width: 37px; height: 37px; padding: 0 11px; border: 1px solid #eaddec; border-radius: 12px; color: #6c5276; background: #fff; text-decoration: none; font-size: 12px; }
.vjk-pagination .current { border-color: var(--vjk-primary); color: #fff; background: var(--vjk-primary); }
.vjk-no-results,
.vjk-empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 150px; padding: 28px; border: 1px dashed #d9c3df; border-radius: 18px; color: #7b6683; background: rgba(255,255,255,.68); text-align: center; }
.vjk-no-results strong,
.vjk-empty-state strong { color: #3a2944; font-size: 15px; }
.vjk-no-results span,
.vjk-empty-state span { font-size: 12px; line-height: 1.9; }
.vjk-archive-empty { margin-top: 20px; }


@container (max-width: 700px) {
    .vjk-slider-block { padding: 11px; }
    .vjk-slider-block .vjk-section-head { margin-bottom: 9px; }
    .vjk-slider-block .vjk-section-head h2 { font-size: 18px; }
    .vjk-slider-block .vjk-section-head p { font-size: 10px; }
    .vjk-slider-arrow { width: 31px; height: 31px; }
    .vjk-slider-panel { padding: 7px; }
}
@container (max-width: 540px) {
    .vjk-section-head { align-items: center; }
    .vjk-section-head p { font-size: 10px; }
    .vjk-slider-arrow { width: 29px; height: 29px; }
    .vjk-slider-panel .vjk-card-content { padding: 7px 8px 44px; }
    .vjk-slider-panel .vjk-card-title { font-size: 12px; }
    .vjk-slider-panel .vjk-card-excerpt { font-size: 9px; }
}
@media (max-width: 900px) {
    .vjk-archive-toolbar { align-items: stretch; flex-direction: column; }
    .vjk-search-box { flex-basis: auto; width: 100%; }
    .vjk-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 600px) {
    .vjk-slider-block { padding: 13px; border-radius: 20px; }
    .vjk-section-head { margin-bottom: 13px; gap: 8px; }
    .vjk-section-head h2 { font-size: 17px; }
    .vjk-eyebrow { font-size: 9px; }
    .vjk-track { gap: 12px; }
    .vjk-card-content { padding: 11px 12px 48px; }
    .vjk-card-title { font-size: 13px; }
    .vjk-slider-block { padding: 10px; border-radius: 18px; }
    .vjk-slider-panel { padding: 6px; border-radius: 15px; }
    .vjk-slider-footer { margin-top: 7px; }
    .vjk-main-button { min-height: 35px; font-size: 10px; }
    .vjk-archive { padding: 10px; border-radius: 20px; }
    .vjk-archive-hero { min-height: 185px; padding: 22px 18px; border-radius: 17px; }
    .vjk-archive-hero h1 { font-size: 24px; }
    .vjk-archive-hero p { max-width: 95%; font-size: 11px; }
    .vjk-hero-art { width: 80px; height: 80px; margin-left: 0; }
    
    
    .vjk-hero-spark { font-size: 20px; }
    .vjk-archive-stats { gap: 6px; margin-top: 13px; }
    .vjk-archive-stats span { padding: 6px 9px; font-size: 9px; }
    .vjk-archive-stats strong { font-size: 11px; }
    .vjk-filter { padding: 8px 11px; font-size: 10px; }
    .vjk-archive-grid { grid-template-columns: 1fr; gap: 14px; }
    .vjk-card-meta { font-size: 9px; }
}

/* تصویر برای پخش در همین صفحه و عنوان برای ورود به صفحه اختصاصی است */
.vjk-card-media-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    color: inherit;
    text-decoration: none !important;
}
.vjk-card-media-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .3s ease;
}
.vjk-card-media-link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(24,12,31,.02), rgba(24,12,31,.22));
    pointer-events: none;
}
.vjk-card:hover .vjk-card-media-link img {
    transform: scale(1.045);
    filter: saturate(1.06);
}
.vjk-card-media-link .vjk-pinned-badge { z-index: 3; }
.vjk-card-title-link {
    color: inherit !important;
    text-decoration: none !important;
    transition: color .2s ease;
}
.vjk-card-title-link:hover { color: var(--vjk-primary) !important; }

/* صفحه اختصاصی ویدیو، توضیحات و ویدیوهای مرتبط */
.vjk-single-page {
    width: min(100% - 32px, 1380px);
    max-width: 1380px;
    margin: 28px auto 64px;
    color: #2b2335;
    direction: rtl;
}
.vjk-single-page *,
.vjk-single-page *::before,
.vjk-single-page *::after { box-sizing: border-box; }
.vjk-single-shell {
    padding: clamp(12px, 2vw, 24px);
    border: 1px solid #f0e6f2;
    border-radius: 26px;
    background: linear-gradient(145deg, #fff 0%, #fdf9fe 100%);
    box-shadow: 0 14px 42px rgba(72, 33, 87, .055);
}
.vjk-single-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 0 18px;
    color: #a294aa;
    font-size: 11px;
    line-height: 1.8;
}
.vjk-single-breadcrumb a { color: var(--vjk-primary); text-decoration: none; font-weight: 750; }
.vjk-single-breadcrumb a:hover { text-decoration: underline; }
.vjk-single-breadcrumb span[aria-current="page"] { max-width: min(48vw, 420px); overflow: hidden; color: #66566f; text-overflow: ellipsis; white-space: nowrap; }
.vjk-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: start;
    gap: 22px;
}
.vjk-single-main { min-width: 0; }
.vjk-single-player-card {
    overflow: hidden;
    padding: 10px;
    border: 1px solid #eee4f1;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(47, 24, 57, .09);
}
.vjk-single-player-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 30px;
    padding: 0 4px 9px;
}
.vjk-single-player-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5f4868;
    font-size: 11px;
    font-weight: 850;
}
.vjk-single-player-label i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--vjk-accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--vjk-accent) 13%, transparent);
}
.vjk-single-featured {
    padding: 5px 9px;
    border-radius: 20px;
    color: var(--vjk-primary);
    background: color-mix(in srgb, var(--vjk-primary) 9%, white);
    font-size: 10px;
    font-weight: 850;
}
.vjk-single-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 13px;
    background: #160e1b;
}
.vjk-single-player iframe,
.vjk-single-player video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #160e1b;
    object-fit: contain;
}
.vjk-single-no-player {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 20px;
    color: rgba(255,255,255,.8);
    background: radial-gradient(circle at 20% 15%, rgba(255,255,255,.15), transparent 35%), linear-gradient(135deg, #351344, #85229c);
    text-align: center;
    font-size: 12px;
}
.vjk-single-no-player strong { color: #fff; font-size: 16px; }

.vjk-single-title-area {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin: 20px 2px 12px;
}
.vjk-single-title-copy { min-width: 0; }
.vjk-single-eyebrow {
    display: inline-block;
    margin-bottom: 5px;
    color: var(--vjk-primary);
    font-size: 9px;
    font-weight: 950;
    letter-spacing: 1.1px;
}
.vjk-single-title-area h1 {
    margin: 0;
    color: #2b2038;
    font-size: clamp(20px, 2.1vw, 28px);
    font-weight: 950;
    line-height: 1.75;
}
.vjk-single-back-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid #eddef1;
    border-radius: 12px;
    color: var(--vjk-primary) !important;
    background: #fff;
    font-size: 10px;
    font-weight: 850;
    text-decoration: none !important;
}
.vjk-single-back-link:hover { border-color: var(--vjk-primary); background: #fcf5fe; }
.vjk-single-back-link span { font-size: 17px; line-height: 1; }
.vjk-single-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px 16px;
    padding: 12px 2px;
    border-top: 1px solid #f0e9f2;
    border-bottom: 1px solid #f0e9f2;
    color: #85788d;
    font-size: 11px;
}
.vjk-single-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.vjk-meta-icon { color: var(--vjk-primary); font-size: 13px; }
.vjk-single-categories { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.vjk-single-categories span {
    padding: 4px 9px;
    border-radius: 20px;
    color: var(--vjk-primary);
    background: color-mix(in srgb, var(--vjk-primary) 8%, white);
    font-size: 10px;
    font-weight: 750;
}
.vjk-single-lead {
    margin: 16px 0 0;
    padding: 13px 15px;
    border-right: 3px solid var(--vjk-accent);
    border-radius: 10px 0 0 10px;
    color: #5f5069;
    background: #fcf6fd;
    font-size: 13px;
    font-weight: 650;
    line-height: 2.1;
}
.vjk-single-description {
    margin-top: 18px;
    padding: 18px 20px;
    border: 1px solid #eee6f0;
    border-radius: 17px;
    background: #fff;
}
.vjk-single-section-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.vjk-single-heading-mark { width: 5px; height: 22px; border-radius: 5px; background: linear-gradient(var(--vjk-accent), var(--vjk-primary)); }
.vjk-single-section-heading h2 { margin: 0; color: #30243a; font-size: 16px; font-weight: 900; }
.vjk-single-content { color: #5f5666; font-size: 13px; line-height: 2.25; overflow-wrap: anywhere; }
.vjk-single-content > :first-child { margin-top: 0; }
.vjk-single-content > :last-child { margin-bottom: 0; }
.vjk-single-content p { margin: 0 0 13px; }
.vjk-single-content h2,
.vjk-single-content h3,
.vjk-single-content h4 { margin: 18px 0 8px; color: #362442; font-weight: 900; line-height: 1.8; }
.vjk-single-content ul,
.vjk-single-content ol { padding-right: 22px; }
.vjk-single-content a { color: var(--vjk-primary); text-decoration: underline; }
.vjk-single-empty-description { margin: 0; color: #9a8ba0; font-size: 12px; }
.vjk-single-source-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 15px;
    padding: 8px 12px;
    border: 1px solid #eadcf0;
    border-radius: 10px;
    color: var(--vjk-primary) !important;
    background: #fffaff;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none !important;
}
.vjk-single-custom-html {
    max-width: 100%;
    min-width: 0;
    margin-top: 18px;
    overflow-wrap: anywhere;
}
.vjk-single-custom-html img,
.vjk-single-custom-html video,
.vjk-single-custom-html iframe {
    max-width: 100%;
}
.vjk-single-custom-html img,
.vjk-single-custom-html video {
    height: auto;
}
.vjk-single-sidebar { min-width: 0; }
.vjk-related-panel {
    padding: 15px;
    border: 1px solid #eee4f1;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(47, 24, 57, .055);
}
.vjk-related-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.vjk-related-heading .vjk-single-eyebrow { margin-bottom: 2px; }
.vjk-related-heading h2 { margin: 0; color: #30243a; font-size: 16px; font-weight: 900; }
.vjk-related-count { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 7px; border-radius: 10px; color: var(--vjk-primary); background: #f5e8f8; font-size: 11px; font-weight: 900; }
.vjk-related-list { display: flex; flex-direction: column; gap: 11px; }
.vjk-related-item {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding-bottom: 11px;
    border-bottom: 1px solid #f1ebf3;
    color: inherit !important;
    text-decoration: none !important;
}
.vjk-related-item:last-child { padding-bottom: 0; border-bottom: 0; }
.vjk-related-thumb { position: relative; display: block; overflow: hidden; width: 112px; aspect-ratio: 16 / 9; border-radius: 10px; background: linear-gradient(135deg, #4c1c60, #a02eaa 60%, #e17cb3); }
.vjk-related-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.vjk-related-item:hover .vjk-related-thumb img { transform: scale(1.05); }
.vjk-related-thumb > span { display: grid; place-items: center; width: 100%; height: 100%; color: #fff; font-size: 22px; font-weight: 900; }
.vjk-related-copy { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vjk-related-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }


.vjk-related-copy strong { display: -webkit-box; overflow: hidden; color: #35273e; font-size: 11px; font-weight: 850; line-height: 1.8; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.vjk-related-item:hover .vjk-related-copy strong { color: var(--vjk-primary); }
.vjk-related-copy small { color: #9a8da0; font-size: 9px; }
.vjk-related-empty { padding: 18px 8px; border-radius: 12px; color: #928398; background: #fcf8fd; font-size: 11px; text-align: center; }
.vjk-single-library-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 13px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 16px;
    color: #fff !important;
    background: linear-gradient(115deg, #4e155f, #86239b 65%, #a934a8);
    box-shadow: 0 8px 20px rgba(105, 30, 126, .18);
    text-decoration: none !important;
}

.vjk-single-library-cta > span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.vjk-single-library-cta strong { color: #fff; font-size: 11px; font-weight: 900; }
.vjk-single-library-cta small { color: rgba(255,255,255,.76); font-size: 9px; }
.vjk-single-library-cta b { margin-right: auto; color: #fff; font-size: 19px; }
.vjk-single-empty { max-width: 800px; margin: 50px auto; padding: 30px; border: 1px solid #eee; border-radius: 16px; background: #fff; text-align: center; }

@media (max-width: 980px) {
    .vjk-single-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 15px; }
    .vjk-related-item { grid-template-columns: 90px minmax(0, 1fr); }
    .vjk-related-thumb { width: 90px; }
}
@media (max-width: 760px) {
    .vjk-single-page { width: min(100% - 20px, 680px); margin: 15px auto 36px; }
    .vjk-single-shell { padding: 10px; border-radius: 19px; }
    .vjk-single-layout { grid-template-columns: 1fr; gap: 15px; }
    .vjk-single-player-card { padding: 7px; border-radius: 14px; }
    .vjk-single-player { border-radius: 10px; }
    .vjk-single-title-area { align-items: start; flex-direction: column; gap: 9px; margin-top: 14px; }
    .vjk-single-title-area h1 { font-size: 20px; }
    .vjk-single-meta { gap: 8px 12px; font-size: 10px; }
    .vjk-single-description { padding: 14px; }
    .vjk-single-content { font-size: 12px; line-height: 2.1; }
    .vjk-related-panel { padding: 12px; }
}
@media (max-width: 420px) {
    .vjk-related-item { grid-template-columns: 100px minmax(0, 1fr); }
    .vjk-related-thumb { width: 100px; }
    .vjk-single-breadcrumb { font-size: 9px; }
}

/* هماهنگی نوشته‌ها با قلم و ظاهر قالب سایت */
.vjk-widget,
.vjk-widget * {
    font-family: inherit;
    letter-spacing: normal;
}
.vjk-widget {
    font-size: 14px;
    line-height: 1.8;
}
.vjk-widget h1,
.vjk-widget h2,
.vjk-widget h3,
.vjk-widget h4,
.vjk-widget strong,
.vjk-widget b {
    font-weight: 700;
}
.vjk-eyebrow,
.vjk-hero-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0;
}
.vjk-section-head h2 {
    font-size: clamp(18px, 2vw, 21px);
    font-weight: 700;
    line-height: 1.6;
}
.vjk-section-head p {
    font-size: 13px;
    line-height: 1.9;
}
.vjk-slider-block {
    max-width: 780px;
    padding: 14px;
}
.vjk-slider-block .vjk-section-head {
    gap: 12px;
    margin-bottom: 13px;
}
.vjk-slider-block .vjk-section-head h2 {
    font-size: 19px;
}
.vjk-slider-block .vjk-section-head p {
    margin-top: 4px;
    font-size: 13px;
}
.vjk-slider-panel {
    padding: 9px;
}
.vjk-slider-panel .vjk-card-content,
.vjk-card-content {
    padding: 12px 14px 14px;
}
.vjk-card-meta,
.vjk-slider-panel .vjk-card-meta {
    min-height: 20px;
    margin-bottom: 5px;
    font-size: 11px;
}
.vjk-category-chip {
    font-size: 11px;
    font-weight: 600;
}
.vjk-card-title,
.vjk-slider-panel .vjk-card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.75;
}
.vjk-card-excerpt,
.vjk-slider-panel .vjk-card-excerpt {
    margin-top: 5px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.85;
}
.vjk-card-page-link {
    font-size: 12px;
    font-weight: 600;
}
.vjk-main-button {
    min-height: 48px;
    padding: 10px 18px;
    gap: 9px;
    font-size: 15px;
    font-weight: 700;
}
.vjk-main-button svg {
    width: 16px;
    height: 16px;
}
.vjk-inline-close {
    font-size: 12px;
    font-weight: 600;
}
.vjk-cover-placeholder {
    font-size: 13px;
    font-weight: 600;
}
.vjk-pinned-badge {
    font-size: 10px;
    font-weight: 600;
}
.vjk-archive-hero h1 {
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 700;
    line-height: 1.55;
}
.vjk-archive-hero p {
    font-size: 14px;
    line-height: 1.9;
}
.vjk-archive-stats span,
.vjk-filter,
.vjk-search-box input {
    font-size: 12px;
    font-weight: 500;
}
.vjk-archive-stats strong {
    font-size: 14px;
    font-weight: 700;
}
.vjk-empty-state strong,
.vjk-no-results strong {
    font-size: 14px;
    font-weight: 700;
}
.vjk-empty-state span,
.vjk-no-results span {
    font-size: 12px;
}
.vjk-single-breadcrumb {
    font-size: 11px;
}
.vjk-single-title-area h1 {
    font-size: clamp(21px, 2.5vw, 25px);
    font-weight: 700;
    line-height: 1.65;
}
.vjk-single-meta {
    font-size: 12px;
}
.vjk-single-description {
    font-size: 14px;
}
.vjk-single-section-heading h2,
.vjk-related-heading h2 {
    font-size: 16px;
    font-weight: 700;
}
.vjk-single-content {
    font-size: 14px;
    font-weight: 400;
    line-height: 2;
}
.vjk-single-empty-description {
    font-size: 12px;
}
.vjk-related-copy strong {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.75;
}
.vjk-related-copy small,
.vjk-single-library-cta small {
    font-size: 11px;
}
.vjk-single-library-cta strong {
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 600px) {
    .vjk-slider-block {
        max-width: 100%;
        padding: 12px;
    }
    .vjk-slider-block .vjk-section-head h2 {
        font-size: 18px;
    }
    .vjk-slider-block .vjk-section-head p {
        font-size: 12px;
    }
    .vjk-slider-panel .vjk-card-title,
    .vjk-card-title {
        font-size: 14px;
    }
    .vjk-slider-panel .vjk-card-excerpt,
    .vjk-card-excerpt {
        font-size: 12px;
    }
    .vjk-main-button {
        min-height: 46px;
        font-size: 14px;
    }
    .vjk-archive-hero h1 {
        font-size: 23px;
    }
    .vjk-archive-hero p {
        font-size: 13px;
    }
    .vjk-single-title-area h1 {
        font-size: 21px;
    }
    .vjk-single-content {
        font-size: 13px;
        line-height: 1.95;
    }
    .vjk-single-breadcrumb {
        font-size: 10px;
    }
}


/* پخش درون‌صفحه‌ای: پلیر دقیقاً روی قاب کاور قرار می‌گیرد و فضای خالی ایجاد نمی‌کند. */
.vjk-media {
    position: relative;
    isolation: isolate;
}
.vjk-card-media-link {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: inherit;
    background: transparent;
    text-align: inherit;
    cursor: pointer;
}
.vjk-card-media-link::before {
    content: none !important;
    display: none !important;
}
.vjk-inline-player-shell {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}
.vjk-inline-player-shell[hidden] {
    display: none !important;
}
.vjk-inline-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #000;
}
.vjk-inline-player iframe,
.vjk-inline-player video {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: #000 !important;
}
.vjk-inline-player video {
    object-fit: contain;
}
.vjk-inline-close {
    position: absolute;
    top: 9px;
    right: 9px;
    z-index: 7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    margin: 0;
    padding: 6px 11px;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 20px;
    color: #fff !important;
    background: rgba(20, 14, 24, .78) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.22);
    font: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
    backdrop-filter: blur(6px);
}
.vjk-inline-close:hover,
.vjk-inline-close:focus-visible {
    color: #fff !important;
    background: rgba(20, 14, 24, .94) !important;
}
.vjk-card-media-link:focus-visible {
    outline: 3px solid var(--vjk-accent);
    outline-offset: -3px;
}


/* نوار تعاملات زیر ویدیوی اختصاصی */
.vjk-video-actions {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 12px 0 18px;
    direction: rtl;
}
.vjk-video-actions .vjk-action-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid #f0edf2;
    border-radius: 13px;
    color: #302b36;
    background: #f6f6f9;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.vjk-video-actions .vjk-action-btn:hover { border-color: #e4d7e9; background: #f0edf4; color: #4e245e; }
.vjk-video-actions .vjk-action-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--vjk-primary) 28%, transparent); outline-offset: 2px; }
.vjk-video-actions .vjk-action-btn:disabled { opacity: .65; cursor: wait; }
.vjk-video-actions .vjk-action-btn svg { display: block; width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vjk-video-actions .vjk-action-like {
    min-width: 120px;
    border-color: #fae8ee;
    color: #e50046;
    background: #fff0f4;
}
.vjk-video-actions .vjk-action-like svg { width: 21px; height: 21px; fill: currentColor; stroke: currentColor; }
.vjk-video-actions .vjk-action-like.is-liked { border-color: #f7d3df; background: #ffe1e9; }
.vjk-video-actions .vjk-action-comments svg { width: 20px; height: 20px; }
.vjk-action-menu-wrap { position: relative; display: inline-flex; align-items: center; }
.vjk-save-main { display: inline-flex; overflow: hidden; border-radius: 13px; }
.vjk-video-actions .vjk-save-main .vjk-action-btn { border-radius: 0; }
.vjk-video-actions .vjk-save-main .vjk-action-save { border-radius: 0 13px 13px 0; }
.vjk-video-actions .vjk-save-main .vjk-action-chevron { min-width: 48px; padding: 0 13px; border-right: 0; border-radius: 13px 0 0 13px; background: #eeedf3; }
.vjk-video-actions .vjk-action-chevron svg { width: 17px; height: 17px; }
.vjk-video-actions .vjk-action-save.is-saved { color: var(--vjk-primary); background: #f3e8f7; }
.vjk-video-actions .vjk-action-save.is-saved svg { fill: currentColor; }
.vjk-video-actions .vjk-action-share { gap: 10px; }
.vjk-video-actions .vjk-action-share svg { width: 19px; height: 19px; }
.vjk-video-actions .vjk-action-more { width: 48px; min-width: 48px; padding: 0; }
.vjk-video-actions .vjk-action-more svg { width: 20px; height: 20px; }
.vjk-action-dropdown {
    position: absolute;
    z-index: 30;
    top: calc(100% + 7px);
    right: 0;
    min-width: 185px;
    padding: 6px;
    border: 1px solid #eee5f1;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(42, 24, 50, .13);
}
.vjk-more-group .vjk-action-dropdown { right: auto; left: 0; }
.vjk-action-dropdown button,
.vjk-action-dropdown a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    color: #51445a;
    background: transparent;
    font: inherit;
    font-size: 11px;
    text-align: right;
    text-decoration: none;
    cursor: pointer;
}
.vjk-action-dropdown button:hover,
.vjk-action-dropdown a:hover { color: var(--vjk-primary); background: #faf4fc; }
.vjk-action-feedback { flex: 1 1 100%; min-height: 0; color: #5e8b63; font-size: 10px; line-height: 1.7; }
.vjk-action-feedback:empty { display: none; }
.vjk-action-feedback.is-error { color: #c13a54; }

/* بخش دیدگاه‌های وردپرس در صفحه اختصاصی ویدیو */
.vjk-single-comments {
    margin-top: 18px;
    padding: 18px 20px;
    border: 1px solid #eee6f0;
    border-radius: 17px;
    background: #fff;
    color: #51475a;
}
.vjk-single-comments #comments { margin: 0; }
.vjk-single-comments #comments > h2,
.vjk-single-comments .comments-title,
.vjk-single-comments .comment-reply-title { margin: 0 0 14px; color: #30243a; font-size: 16px; font-weight: 900; }
.vjk-single-comments .comment-list { margin: 0 0 18px; padding: 0 20px 0 0; }
.vjk-single-comments .comment-list li { margin: 0 0 12px; padding: 12px; border: 1px solid #f0eaf2; border-radius: 11px; background: #fdfafd; }
.vjk-single-comments .comment-author,
.vjk-single-comments .comment-metadata { font-size: 11px; }
.vjk-single-comments .comment-content { color: #665b6d; font-size: 12px; line-height: 2; }
.vjk-single-comments .comment-respond { margin-top: 16px; }
.vjk-single-comments .comment-form { display: grid; gap: 10px; }
.vjk-single-comments .comment-form p { margin: 0; }
.vjk-single-comments .comment-form label { display: block; margin-bottom: 5px; color: #5c4d65; font-size: 11px; font-weight: 750; }
.vjk-single-comments .comment-form input:not([type="submit"]),
.vjk-single-comments .comment-form textarea { width: 100%; max-width: 100%; padding: 10px 12px; border: 1px solid #e9e0ec; border-radius: 10px; color: #33283b; background: #fff; font: inherit; font-size: 12px; }
.vjk-single-comments .comment-form textarea { min-height: 110px; resize: vertical; }
.vjk-single-comments .comment-form input[type="submit"] { min-height: 40px; padding: 0 18px; border: 0; border-radius: 10px; color: #fff; background: var(--vjk-primary); font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.vjk-single-comments .comment-form input[type="submit"]:hover { filter: brightness(1.08); }
@media (max-width: 600px) {
    .vjk-video-actions { gap: 7px; margin: 10px 0 15px; }
    .vjk-video-actions .vjk-action-btn { min-height: 43px; gap: 7px; padding: 0 11px; font-size: 11px; }
    .vjk-video-actions .vjk-action-like { min-width: 82px; }
    .vjk-video-actions .vjk-save-main .vjk-action-chevron { min-width: 39px; padding: 0 10px; }
    .vjk-video-actions .vjk-action-more { width: 43px; min-width: 43px; }
    .vjk-single-comments { padding: 14px; }
}


/* چیدمان جمع‌وجور دیدگاه‌ها و فیلد HTML داخل بخش درباره ویدیو */
.vjk-single-description .vjk-single-custom-html {
    max-width: 100%;
    min-width: 0;
    margin-top: 14px;
    overflow-wrap: anywhere;
}
.vjk-single-description .vjk-single-custom-html img,
.vjk-single-description .vjk-single-custom-html video,
.vjk-single-description .vjk-single-custom-html iframe { max-width: 100%; }
.vjk-single-description .vjk-single-custom-html img,
.vjk-single-description .vjk-single-custom-html video { height: auto; }
.vjk-single-comments { padding: 14px 16px; }
.vjk-single-comments .comment-respond { margin-top: 10px; }
.vjk-single-comments .comment-form { display: grid; gap: 8px; }
.vjk-comment-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 62px;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: #f5f5f9;
    transition: border-color .18s ease, background .18s ease;
}
.vjk-comment-input-wrap:focus-within { border-color: #e5d5eb; background: #fff; }
.vjk-comment-input-wrap .vjk-comment-avatar {
    display: block;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}
.vjk-single-comments .comment-form .vjk-comment-input-wrap textarea {
    display: block;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: 42px;
    min-height: 42px;
    max-height: 110px;
    margin: 0;
    padding: 8px 2px;
    border: 0 !important;
    border-radius: 0;
    outline: 0;
    box-shadow: none !important;
    color: #33283b;
    background: transparent !important;
    font: inherit;
    font-size: 12px;
    line-height: 1.8;
    resize: vertical;
}
.vjk-single-comments .comment-form .vjk-comment-input-wrap textarea:focus { border: 0 !important; outline: 0; box-shadow: none !important; }
.vjk-single-comments .comment-form input[type="submit"] { min-height: 36px; padding: 0 16px; }
.vjk-single-comments .comment-reply-title:empty { display: none; }
@media (max-width: 600px) {
    .vjk-single-comments { padding: 12px; }
    .vjk-comment-input-wrap { min-height: 58px; padding: 7px 10px; }
    .vjk-single-comments .comment-form .vjk-comment-input-wrap textarea { height: 40px; min-height: 40px; }
}
