/* ==========================================================================
   دیجی‌لند کیت - استایل اختصاصی ویجت هدر هوشمند آرشیو و دسته‌بندی مقالات
   نسخه ۲.۰: اصلاح قطعی تمام‌عرض در المنتور، اولویت رنگ ضد تداخل قالب، ۶ قالب آماده و طراحی مینیمال
   ========================================================================== */

/* تضمین پوشش ۱۰۰٪ عرض در کانتینرهای فلکس المنتور و جلوگیری از جمع‌شدن به یک سمت */
.elementor-widget-digiland_archive_hero {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    align-self: stretch !important;
    box-sizing: border-box !important;
}

.elementor-widget-digiland_archive_hero > .elementor-widget-container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* جلوگیری از سرریز افقی در حالت تمام‌عرض واقعی 100vw */
html:has(.dlah-full-bleed),
body:has(.dlah-full-bleed) {
    overflow-x: clip !important;
}

/* ==========================================================================
   ۱. متغیرهای پایه و پالت ۶ قالب آماده با specificity صفر (:where) جهت اولویت کامل کنترل‌های المنتور
   ========================================================================== */
:where(.dlah-root) {
    --dlah-primary: #e60067;
    --dlah-bg-start: #7a0036;
    --dlah-bg-mid: #b3004d;
    --dlah-bg-end: #e60067;
    --dlah-overlay-color: rgba(15, 23, 42, 0.62);
    --dlah-title-color: #ffffff;
    --dlah-subtitle-color: rgba(255, 255, 255, 0.92);
    --dlah-desc-color: rgba(255, 255, 255, 0.88);
    --dlah-toggle-color: #ffffff;
    --dlah-desc-lines: 2;
    --dlah-bc-color: rgba(255, 255, 255, 0.78);
    --dlah-bc-hover-color: #ffffff;
    --dlah-bc-current-color: #ffffff;
    --dlah-badge-bg: rgba(255, 255, 255, 0.16);
    --dlah-badge-color: #ffffff;
    --dlah-badge-border: rgba(255, 255, 255, 0.25);
    --dlah-stat-bg: rgba(255, 255, 255, 0.13);
    --dlah-stat-color: rgba(255, 255, 255, 0.9);
    --dlah-stat-border: rgba(255, 255, 255, 0.22);
    --dlah-chips-label-color: rgba(255, 255, 255, 0.85);
    --dlah-divider-color: rgba(255, 255, 255, 0.2);
    --dlah-chip-bg: rgba(255, 255, 255, 0.14);
    --dlah-chip-color: #ffffff;
    --dlah-chip-border: rgba(255, 255, 255, 0.22);
    --dlah-chip-hover-bg: rgba(255, 255, 255, 0.26);
    --dlah-chip-hover-color: #ffffff;
    --dlah-chip-active-bg: #ffffff;
    --dlah-chip-active-color: #b3004d;
    --dlah-search-bg: rgba(255, 255, 255, 0.16);
    --dlah-search-color: #ffffff;
    --dlah-search-placeholder: rgba(255, 255, 255, 0.78);
    --dlah-search-border: rgba(255, 255, 255, 0.28);
    --dlah-cta-bg: #ffffff;
    --dlah-cta-color: #b3004d;
    --dlah-cta-hover-bg: #fff1f5;
    --dlah-cta-hover-color: #e60067;
    --dlah-ease: cubic-bezier(0.16, 1, 0.3, 1);

    width: 100%;
    max-width: 100%;
    direction: rtl;
    text-align: right;
    box-sizing: border-box;
    font-family: inherit;
    margin: 0 0 20px 0;
    display: block;
}

.dlah-root *,
.dlah-root *::before,
.dlah-root *::after {
    box-sizing: border-box;
}

/* حالت تمام‌عرض واقعی لبه به لبه صفحه (بدون تکیه بر تنظیمات کانتینر والد) */
.dlah-root.dlah-full-bleed {
    width: var(--dlah-vw, 100vw) !important;
    max-width: var(--dlah-vw, 100vw) !important;
    margin-inline: calc(50% - (var(--dlah-vw, 100vw) / 2)) !important;
}

.dlah-root.dlah-full-bleed .dlah-container {
    border-radius: 0;
    border-inline: none;
}

/* ==========================================================================
   ۲. تعریف پالت‌ها و پیش‌فرض‌های ۶ قالب آماده
   ========================================================================== */
:where(.dlah-root) .dlah-container {
    position: relative;
    width: 100%;
    padding: 22px 28px 18px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(125deg, var(--dlah-bg-start) 0%, var(--dlah-bg-mid) 52%, var(--dlah-bg-end) 100%);
    box-shadow: 0 10px 28px -10px rgba(179, 0, 77, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.14);
    isolation: isolate;
}

/* قالب ۲: کارت سفید مینیمال (Light Card) */
:where(.dlah-root.dlah-preset-light_card) {
    --dlah-title-color: #0f172a;
    --dlah-subtitle-color: #334155;
    --dlah-desc-color: #475569;
    --dlah-toggle-color: #e60067;
    --dlah-bc-color: #64748b;
    --dlah-bc-hover-color: #e60067;
    --dlah-bc-current-color: #0f172a;
    --dlah-badge-bg: rgba(230, 0, 103, 0.08);
    --dlah-badge-color: #e60067;
    --dlah-badge-border: rgba(230, 0, 103, 0.2);
    --dlah-stat-bg: #f8fafc;
    --dlah-stat-color: #475569;
    --dlah-stat-border: #e2e8f0;
    --dlah-chips-label-color: #64748b;
    --dlah-divider-color: #f1f5f9;
    --dlah-chip-bg: #f8fafc;
    --dlah-chip-color: #334155;
    --dlah-chip-border: #e2e8f0;
    --dlah-chip-hover-bg: rgba(230, 0, 103, 0.07);
    --dlah-chip-hover-color: #e60067;
    --dlah-chip-active-bg: #e60067;
    --dlah-chip-active-color: #ffffff;
    --dlah-search-bg: #f8fafc;
    --dlah-search-color: #0f172a;
    --dlah-search-placeholder: #94a3b8;
    --dlah-search-border: #e2e8f0;
    --dlah-cta-bg: #e60067;
    --dlah-cta-color: #ffffff;
    --dlah-cta-hover-bg: #c50058;
    --dlah-cta-hover-color: #ffffff;
}

:where(.dlah-root.dlah-preset-light_card) .dlah-container {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05);
}

/* قالب ۳: پاستلی گل‌پینو (Soft Rose Tint) */
:where(.dlah-root.dlah-preset-soft_tint) {
    --dlah-title-color: #1e1b2e;
    --dlah-subtitle-color: #4c1d3d;
    --dlah-desc-color: #5b3a4f;
    --dlah-toggle-color: #c50058;
    --dlah-bc-color: #83546f;
    --dlah-bc-hover-color: #e60067;
    --dlah-bc-current-color: #4c1d3d;
    --dlah-badge-bg: #ffffff;
    --dlah-badge-color: #e60067;
    --dlah-badge-border: rgba(230, 0, 103, 0.22);
    --dlah-stat-bg: rgba(255, 255, 255, 0.85);
    --dlah-stat-color: #5b3a4f;
    --dlah-stat-border: rgba(230, 0, 103, 0.16);
    --dlah-chips-label-color: #6b465c;
    --dlah-divider-color: rgba(230, 0, 103, 0.15);
    --dlah-chip-bg: #ffffff;
    --dlah-chip-color: #334155;
    --dlah-chip-border: rgba(230, 0, 103, 0.18);
    --dlah-chip-hover-bg: rgba(230, 0, 103, 0.08);
    --dlah-chip-hover-color: #e60067;
    --dlah-chip-active-bg: #e60067;
    --dlah-chip-active-color: #ffffff;
    --dlah-search-bg: #ffffff;
    --dlah-search-color: #0f172a;
    --dlah-search-placeholder: #94a3b8;
    --dlah-search-border: rgba(230, 0, 103, 0.2);
    --dlah-cta-bg: #e60067;
    --dlah-cta-color: #ffffff;
    --dlah-cta-hover-bg: #c50058;
    --dlah-cta-hover-color: #ffffff;
}

:where(.dlah-root.dlah-preset-soft_tint) .dlah-container {
    background: linear-gradient(130deg, #fff5f8 0%, #ffeaf2 55%, #fff9fb 100%);
    border: 1.5px solid #fbcfe8;
    box-shadow: 0 6px 22px -6px rgba(230, 0, 103, 0.1);
}

/* قالب ۴: تیره سرمه‌ای مدرن (Editorial Dark) */
:where(.dlah-root.dlah-preset-editorial_dark) {
    --dlah-chip-active-bg: #e60067;
    --dlah-chip-active-color: #ffffff;
    --dlah-badge-bg: rgba(230, 0, 103, 0.22);
    --dlah-badge-color: #fda4af;
    --dlah-badge-border: rgba(253, 164, 175, 0.3);
    --dlah-cta-bg: #e60067;
    --dlah-cta-color: #ffffff;
    --dlah-cta-hover-bg: #c50058;
    --dlah-cta-hover-color: #ffffff;
}

:where(.dlah-root.dlah-preset-editorial_dark) .dlah-container {
    background: linear-gradient(130deg, #0f172a 0%, #1e293b 65%, #331026 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 32px -10px rgba(15, 23, 42, 0.35);
}

/* قالب ۵: دوستونه کاربردی (Split Search) */
:where(.dlah-root.dlah-preset-split_search) .dlah-container {
    background: linear-gradient(125deg, var(--dlah-bg-start) 0%, var(--dlah-bg-mid) 52%, var(--dlah-bg-end) 100%);
}

/* قالب ۶: کاور تصویری (Cover Overlay) */
:where(.dlah-root.dlah-preset-cover_overlay.dlah-has-cover) .dlah-container {
    background: #111827;
}

.dlah-bg-layer {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.dlah-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dlah-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(122, 0, 54, 0.84) 0%, var(--dlah-overlay-color) 100%);
}

/* هاله‌های نوری و پترن ظریف */
.dlah-deco-orbs {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.dlah-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 70%);
}

.dlah-orb-1 {
    width: 280px;
    height: 280px;
    top: -120px;
    left: -60px;
}

.dlah-orb-2 {
    width: 220px;
    height: 220px;
    bottom: -100px;
    right: -40px;
}

.dlah-preset-light_card .dlah-orb,
.dlah-preset-soft_tint .dlah-orb {
    background: radial-gradient(circle, rgba(230, 0, 103, 0.09) 0%, transparent 70%);
}

.dlah-deco-pattern {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 18px 18px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.1));
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.1));
}

.dlah-preset-light_card .dlah-deco-pattern,
.dlah-preset-soft_tint .dlah-deco-pattern {
    background-image: radial-gradient(rgba(15, 23, 42, 0.08) 1px, transparent 1px);
}

/* ==========================================================================
   ۳. چیدمان داخلی (تک‌ستونه فشرده / دوستونه / وسط‌چین)
   ========================================================================== */
.dlah-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.dlah-main-col {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-width: 0;
}

.dlah-align-center .dlah-main-col {
    align-items: center;
    text-align: center;
}

.dlah-preset-split_search .dlah-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: center;
}

.dlah-side-col {
    width: 100%;
    min-width: 0;
}

.dlah-side-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dlah-side-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.12);
}

.dlah-side-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   ۴. نوار بالای یک‌خطی (مسیر راهنما + آمار فشرده و کپی لینک)
   ========================================================================== */
.dlah-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
    width: 100%;
    margin-bottom: 10px;
}

.dlah-align-center .dlah-top-bar {
    justify-content: center;
}

.dlah-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 7px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}

.dlah-align-center .dlah-breadcrumbs {
    justify-content: center;
}

.dlah-root a.dlah-bc-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--dlah-bc-color) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.dlah-root a.dlah-bc-link:hover {
    color: var(--dlah-bc-hover-color) !important;
}

.dlah-bc-home-icon {
    flex-shrink: 0;
    opacity: 0.9;
}

.dlah-bc-sep {
    color: var(--dlah-bc-color) !important;
    opacity: 0.55;
    user-select: none;
}

.dlah-bc-current {
    color: var(--dlah-bc-current-color) !important;
    font-weight: 800;
}

/* نوار آمار و دکمه کپی لینک */
.dlah-meta-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.dlah-align-center .dlah-meta-bar {
    justify-content: center;
}

.dlah-bottom-meta {
    margin-top: 8px;
}

/* حالت متنی ظریف و مینیمال (Minimal) */
.dlah-stats-minimal .dlah-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--dlah-stat-color) !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    background: transparent;
    border: none;
    padding: 0;
}

.dlah-stats-minimal .dlah-stat-pill + .dlah-stat-pill::before {
    content: "•";
    margin-left: 6px;
    opacity: 0.45;
}

/* حالت قرص‌های شیشه‌ای کادردار (Pills) */
.dlah-stats-pills .dlah-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: 999px;
    background-color: var(--dlah-stat-bg);
    border: 1px solid var(--dlah-stat-border);
    color: var(--dlah-stat-color) !important;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.4;
}

.dlah-root button.dlah-share-btn {
    all: unset;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    background-color: var(--dlah-stat-bg);
    border: 1px solid var(--dlah-stat-border);
    color: var(--dlah-stat-color) !important;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.2s var(--dlah-ease);
}

.dlah-root button.dlah-share-btn:hover {
    background-color: var(--dlah-chip-hover-bg);
    color: var(--dlah-chip-hover-color) !important;
    transform: translateY(-1px);
}

/* ==========================================================================
   ۵. نشان دسته، عنوان اصلی (با اولویت رنگ قطعی ضد تداخل قالب) و توضیحات
   ========================================================================== */
.dlah-badge-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.dlah-align-center .dlah-badge-row {
    justify-content: center;
}

.dlah-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    width: 100%;
    margin: 0 0 6px 0;
}

.dlah-align-center .dlah-title-row {
    justify-content: center;
}

:where(.dlah-root) .dlah-title {
    font-size: 25px;
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: -0.3px;
}

.dlah-root .dlah-title,
.dlah-root .dlah-title .dlah-title-main,
.dlah-root .dlah-title .dlah-title-affix {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--dlah-title-color) !important;
}

.dlah-title-affix {
    font-weight: 700;
    opacity: 0.88;
}

:where(.dlah-root) .dlah-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 999px;
    background-color: var(--dlah-badge-bg);
    border: 1px solid var(--dlah-badge-border);
    color: var(--dlah-badge-color) !important;
    font-size: 11.5px;
    font-weight: 800;
    line-height: 1.35;
    white-space: nowrap;
}

.dlah-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
}

.dlah-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dlah-badge-icon svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.dlah-root a.dlah-parent-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--dlah-stat-bg);
    border: 1px solid var(--dlah-stat-border);
    color: var(--dlah-stat-color) !important;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s var(--dlah-ease);
}

.dlah-root a.dlah-parent-pill:hover {
    background: var(--dlah-chip-hover-bg);
    color: var(--dlah-chip-hover-color) !important;
}

:where(.dlah-root) .dlah-subtitle {
    margin: 0 0 6px 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--dlah-subtitle-color) !important;
    line-height: 1.6;
    max-width: 780px;
}

.dlah-desc-wrap {
    width: 100%;
    max-width: 820px;
    margin: 2px 0 4px 0;
}

.dlah-align-center .dlah-desc-wrap {
    margin-left: auto;
    margin-right: auto;
}

:where(.dlah-root) .dlah-desc {
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.85;
    color: var(--dlah-desc-color) !important;
}

.dlah-root .dlah-desc p {
    margin: 0 0 5px 0;
    color: inherit !important;
}

.dlah-root .dlah-desc p:last-child {
    margin-bottom: 0;
}

.dlah-desc-wrap.is-collapsible:not(.is-expanded) .dlah-desc {
    display: -webkit-box;
    -webkit-line-clamp: var(--dlah-desc-lines, 2);
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dlah-desc-wrap.is-expanded .dlah-desc {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
    overflow: visible;
}

.dlah-root button.dlah-desc-toggle {
    all: unset;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    font-size: 12px;
    font-weight: 800;
    color: var(--dlah-toggle-color) !important;
    cursor: pointer;
    opacity: 0.92;
    transition: opacity 0.2s ease;
}

.dlah-root button.dlah-desc-toggle:hover {
    opacity: 1;
}

.dlah-root button.dlah-desc-toggle svg {
    transition: transform 0.25s var(--dlah-ease);
}

.dlah-desc-wrap.is-expanded button.dlah-desc-toggle svg {
    transform: rotate(180deg);
}

/* ==========================================================================
   ۶. باکس جستجوی سریع و دکمه اقدام (CTA)
   ========================================================================== */
.dlah-actions-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
    width: 100%;
}

.dlah-align-center .dlah-actions-row {
    justify-content: center;
}

.dlah-root form.dlah-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    min-width: 240px;
    max-width: 380px;
    flex: 1 1 260px;
    background-color: var(--dlah-search-bg);
    border: 1px solid var(--dlah-search-border);
    border-radius: 11px;
    padding: 3px 11px 3px 3px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dlah-root form.dlah-search-form.dlah-side-search {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    flex: 0 0 auto;
}

.dlah-root form.dlah-search-form:focus-within {
    border-color: var(--dlah-cta-bg);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.dlah-search-icon {
    display: inline-flex;
    color: var(--dlah-search-placeholder);
    flex-shrink: 0;
}

.dlah-root input.dlah-search-input {
    all: unset;
    box-sizing: border-box;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: 100%;
    font-family: inherit;
    font-size: 12.8px;
    font-weight: 600;
    color: var(--dlah-search-color) !important;
    direction: rtl;
    text-align: right;
}

.dlah-root input.dlah-search-input::placeholder {
    color: var(--dlah-search-placeholder) !important;
    opacity: 1;
}

.dlah-root button.dlah-search-submit {
    all: unset;
    box-sizing: border-box;
    height: 34px;
    padding: 0 13px;
    border-radius: 8px;
    background-color: var(--dlah-cta-bg);
    color: var(--dlah-cta-color) !important;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.dlah-root button.dlah-search-submit:hover {
    background-color: var(--dlah-cta-hover-bg);
    color: var(--dlah-cta-hover-color) !important;
}

.dlah-root a.dlah-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 42px;
    padding: 0 18px;
    border-radius: 11px;
    background-color: var(--dlah-cta-bg);
    color: var(--dlah-cta-color) !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    transition: all 0.22s var(--dlah-ease);
    white-space: nowrap;
}

.dlah-root a.dlah-cta-btn:hover {
    background-color: var(--dlah-cta-hover-bg);
    color: var(--dlah-cta-hover-color) !important;
    transform: translateY(-1px);
}

.dlah-root a.dlah-cta-btn.dlah-cta-full {
    width: 100%;
}

/* ==========================================================================
   ۷. نوار چیپ‌های دسته‌بندی (زیردسته‌ها / هم‌سطح‌ها)
   ========================================================================== */
.dlah-cats-bar {
    position: relative;
    z-index: 2;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed var(--dlah-divider-color);
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.dlah-align-center .dlah-cats-bar {
    flex-direction: column;
    gap: 8px;
}

.dlah-cats-label {
    font-size: 12px;
    font-weight: 800;
    color: var(--dlah-chips-label-color) !important;
    white-space: nowrap;
    flex-shrink: 0;
}

.dlah-cats-scroll {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
}

.dlah-align-center .dlah-cats-scroll {
    justify-content: center;
}

:where(.dlah-root) a.dlah-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background-color: var(--dlah-chip-bg);
    border: 1px solid var(--dlah-chip-border);
    color: var(--dlah-chip-color) !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s var(--dlah-ease);
}

.dlah-root a.dlah-cat-chip:hover {
    background-color: var(--dlah-chip-hover-bg);
    color: var(--dlah-chip-hover-color) !important;
    transform: translateY(-1px);
}

.dlah-root a.dlah-cat-chip.is-active {
    background-color: var(--dlah-chip-active-bg);
    border-color: var(--dlah-chip-active-bg);
    color: var(--dlah-chip-active-color) !important;
    font-weight: 800;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.dlah-cat-count {
    font-size: 10.5px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.2);
    color: inherit;
    line-height: 1.35;
}

.dlah-preset-light_card .dlah-cat-count,
.dlah-preset-soft_tint .dlah-cat-count {
    background-color: rgba(15, 23, 42, 0.06);
}

.dlah-root a.dlah-cat-chip.is-active .dlah-cat-count {
    background-color: rgba(230, 0, 103, 0.12);
}

.dlah-preset-light_card a.dlah-cat-chip.is-active .dlah-cat-count,
.dlah-preset-soft_tint a.dlah-cat-chip.is-active .dlah-cat-count,
.dlah-preset-editorial_dark a.dlah-cat-chip.is-active .dlah-cat-count {
    background-color: rgba(255, 255, 255, 0.24);
}

/* اعلان شناور کپی لینک */
.dlah-copy-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(16px);
    background: #0f172a;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    z-index: 2147483647;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s var(--dlah-ease);
    direction: rtl;
}

.dlah-copy-toast.is-shown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   ۸. واکنش‌گرایی تبلت و موبایل
   ========================================================================== */
@media (max-width: 992px) {
    .dlah-preset-split_search .dlah-inner {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    :where(.dlah-root) .dlah-container {
        padding: 18px 20px 16px;
    }

    :where(.dlah-root) .dlah-title {
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    :where(.dlah-root) .dlah-container {
        padding: 16px 14px 14px;
        border-radius: 14px;
    }

    .dlah-root.dlah-full-bleed .dlah-container {
        border-radius: 0;
    }

    .dlah-top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        margin-bottom: 8px;
    }

    .dlah-align-center .dlah-top-bar {
        align-items: center;
    }

    :where(.dlah-root) .dlah-title {
        font-size: 19px;
    }

    :where(.dlah-root) .dlah-subtitle {
        font-size: 13px;
    }

    :where(.dlah-root) .dlah-desc {
        font-size: 12.5px;
    }

    .dlah-actions-row {
        flex-direction: column;
        align-items: stretch;
    }

    .dlah-root form.dlah-search-form {
        min-width: 0;
        max-width: 100%;
        width: 100%;
    }

    .dlah-cats-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
        margin-top: 12px;
        padding-top: 10px;
    }

    .dlah-align-center .dlah-cats-bar {
        align-items: center;
    }

    .dlah-cats-scroll {
        flex-wrap: nowrap;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
        justify-content: flex-start !important;
    }

    .dlah-cats-scroll::-webkit-scrollbar {
        display: none;
    }
}