@charset "UTF-8";#advancedSearch #finder-filter-window > .filter-branch {
    display: none !important;
}
/* IRANSansX FaNum – Persian numerals */

@font-face {src: url("https://habilian.com/fa/templates/yootheme_habilian/fonts/IRANSansXFaNum-Light.woff2") format("woff2"); font-family: "IRANSansXFaNum"; font-weight: 300; font-style: normal; font-display: swap}

@font-face {src: url("https://habilian.com/fa/templates/yootheme_habilian/fonts/IRANSansXFaNum-Regular.woff2") format("woff2"); font-family: "IRANSansXFaNum"; font-weight: 400; font-style: normal; font-display: swap}

@font-face {src: url("https://habilian.com/fa/templates/yootheme_habilian/fonts/IRANSansXFaNum-Medium.woff2") format("woff2"); font-family: "IRANSansXFaNum"; font-weight: 500; font-style: normal; font-display: swap}

@font-face {src: url("https://habilian.com/fa/templates/yootheme_habilian/fonts/IRANSansXFaNum-DemiBold.woff2") format("woff2"); font-family: "IRANSansXFaNum"; font-weight: 600; font-style: normal; font-display: swap}

/* =====================================================
   Habilian – Compact Modern Category Blog
   ===================================================== */

#tm-main .uk-child-width-1-1.uk-grid-row-large {
    --hb-red: #cc0b24;
    --hb-text: #1b1d22;
    --hb-muted: #737782;
    --hb-border: #e7e9ee;
    --hb-soft-red: #fff3f5;
}

/* کاهش فاصله میان مطالب */
#tm-main
.uk-child-width-1-1.uk-grid-row-large
> .uk-grid-margin {
    margin-top: 18px !important;
}

/* کارت اصلی هر مطلب */
#tm-main
.uk-child-width-1-1.uk-grid-row-large
> div
> article.uk-article {
    position: relative;
    display: flex;
    direction: rtl;
    align-items: stretch;
    gap: 18px;

    padding: 14px;
    background: #ffffff;
    border: 1px solid var(--hb-border);
    border-radius: 18px;
    overflow: hidden;

    box-shadow: 0 4px 18px rgba(17, 24, 39, 0.045);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

#tm-main
.uk-child-width-1-1.uk-grid-row-large
> div
> article.uk-article:hover {
    transform: translateY(-2px);
    border-color: rgba(204, 11, 36, 0.28);
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.09);
}

/* تصویر سمت راست */
#tm-main
.uk-child-width-1-1.uk-grid-row-large
article.uk-article
> div[property="image"] {
    flex: 0 0 210px;
    height: 165px;
  /*  align-self: center; */

    margin: 0 !important;
    background: #f3f4f6;
    border-radius: 14px;
    overflow: hidden;
}

#tm-main
.uk-child-width-1-1.uk-grid-row-large
article.uk-article
> div[property="image"] > a,

#tm-main
.uk-child-width-1-1.uk-grid-row-large
article.uk-article
> div[property="image"] picture {
    display: block;
    width: 100%;
    height: 100%;
}

#tm-main
.uk-child-width-1-1.uk-grid-row-large
article.uk-article
> div[property="image"] img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

#tm-main
.uk-child-width-1-1.uk-grid-row-large
article.uk-article:hover
> div[property="image"] img {
    transform: scale(1.035);
}

/* ستون محتوای متنی */
#tm-main
.uk-child-width-1-1.uk-grid-row-large
article.uk-article
> .uk-container.uk-container-small {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;

    min-width: 0;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* عنوان */
#tm-main
.uk-child-width-1-1.uk-grid-row-large
article.uk-article
h2.uk-article-title {
    order: 1;

    margin: 0 !important;
    color: var(--hb-text);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.65;
    text-align: right !important;

    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#tm-main
.uk-child-width-1-1.uk-grid-row-large
article.uk-article
h2.uk-article-title a {
    color: inherit;
    transition: color 0.2s ease;
}

#tm-main
.uk-child-width-1-1.uk-grid-row-large
article.uk-article
h2.uk-article-title a:hover {
    color: var(--hb-red);
}

/* روتیتر یا نام منبع */
#tm-main
.uk-child-width-1-1.uk-grid-row-large
article.uk-article
p.uk-article-meta {
    order: 2;

    margin: 5px 0 0 !important;
    color: #8a8d96;
    font-size: 12.5px;
    line-height: 1.7;
    text-align: right !important;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* خلاصه مطلب */
#tm-main
.uk-child-width-1-1.uk-grid-row-large
article.uk-article
div[property="text"] {
    order: 3;

    margin: 9px 0 0 !important;
    color: #565b65;
    font-size: 14px;
    line-height: 1.95;
    text-align: justify;

    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

/* بخش برچسبها */
#tm-main
.uk-child-width-1-1.uk-grid-row-large
article.uk-article
p.uk-text-center:not(.uk-article-meta) {
    order: 4;

    margin: 9px 0 0 !important;
    text-align: right !important;
    font-size: 0;
    line-height: 1.4;
}

#tm-main
.uk-child-width-1-1.uk-grid-row-large
article.uk-article
a[property="keywords"] {
    display: inline-block;

    margin: 0 0 4px 6px;
    padding: 3px 9px;
    color: var(--hb-red);
    background: var(--hb-soft-red);
    border: 1px solid rgba(204, 11, 36, 0.1);
    border-radius: 50px;

    font-size: 11px;
    line-height: 1.5;
    text-decoration: none;
}

#tm-main
.uk-child-width-1-1.uk-grid-row-large
article.uk-article
a[property="keywords"]:hover {
    color: #ffffff;
 /*   background: var(--hb-red); */
}

/* تاریخ انتشار */
#tm-main
.uk-child-width-1-1.uk-grid-row-large
article.uk-article
> .uk-container.uk-container-small
> ul.uk-list {
    order: 5;

    margin: auto 0 0 !important;
    padding: 8px 0 0;
    border-top: 1px solid #f0f1f3;

    color: var(--hb-muted);
    font-size: 12px;
}

#tm-main
.uk-child-width-1-1.uk-grid-row-large
article.uk-article
> .uk-container.uk-container-small
> ul.uk-list li {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 !important;
}

#tm-main
.uk-child-width-1-1.uk-grid-row-large
article.uk-article time {
 /*   color: var(--hb-red); */
    font-weight: 600;
}

/* صفحهبندی */
#tm-main .uk-pagination {
    justify-content: center;
    gap: 7px;
    margin-top: 30px;
}

#tm-main .uk-pagination > * {
    padding: 0;
}

#tm-main .uk-pagination > * > * {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 38px;
    height: 38px;
    padding: 0 10px;

    color: #4f535b;
    background: #ffffff;
    border: 1px solid var(--hb-border);
    border-radius: 10px;
    transition: all 0.2s ease;
}

#tm-main .uk-pagination > * > *:hover,

#tm-main .uk-pagination > .uk-active > * {
    color: #d62323;
    background: var(--hb-red);
    border-color: var(--hb-red);
}

/* ======================================================
   Tablet
   ===================================================== */

@media (max-width: 959px) {

    #tm-main
    .uk-child-width-1-1.uk-grid-row-large
    article.uk-article
    > div[property="image"] {
        flex-basis: 175px;
        height: 145px;
    }

    #tm-main
    .uk-child-width-1-1.uk-grid-row-large
    article.uk-article
    h2.uk-article-title {
        font-size: 18px;
    }

    #tm-main
    .uk-child-width-1-1.uk-grid-row-large
    article.uk-article
    div[property="text"] {
        -webkit-line-clamp: 2;
    }
}

/* =====================================================
   Mobile
   ===================================================== */

@media (max-width: 639px) {

    #tm-main
    .uk-child-width-1-1.uk-grid-row-large
    > .uk-grid-margin {
        margin-top: 12px !important;
    }

    #tm-main
    .uk-child-width-1-1.uk-grid-row-large
    > div
    > article.uk-article {
        gap: 11px;
        padding: 10px;
        border-radius: 14px;
    }

    #tm-main
    .uk-child-width-1-1.uk-grid-row-large
    article.uk-article
    > div[property="image"] {
        flex: 0 0 108px;
        height: 108px;
        align-self: flex-start;
        border-radius: 11px;
    }

    #tm-main
    .uk-child-width-1-1.uk-grid-row-large
    article.uk-article
    h2.uk-article-title {
        font-size: 15px;
        line-height: 1.75;
        -webkit-line-clamp: 3;
    }

    #tm-main
    .uk-child-width-1-1.uk-grid-row-large
    article.uk-article
    p.uk-article-meta {
        margin-top: 3px !important;
        font-size: 11px;
    }

    #tm-main
    .uk-child-width-1-1.uk-grid-row-large
    article.uk-article
    div[property="text"] {
        margin-top: 5px !important;
        font-size: 12.5px;
        line-height: 1.75;
        -webkit-line-clamp: 2;
    }

    #tm-main
    .uk-child-width-1-1.uk-grid-row-large
    article.uk-article
    p.uk-text-center:not(.uk-article-meta) {
        display: none;
    }

    #tm-main
    .uk-child-width-1-1.uk-grid-row-large
    article.uk-article
    > .uk-container.uk-container-small
    > ul.uk-list {
        padding-top: 4px;
        border-top: 0;
        font-size: 10.5px;
    }
}

@media (max-width: 420px) {

    #tm-main
    .uk-child-width-1-1.uk-grid-row-large
    article.uk-article
    > div[property="image"] {
        flex-basis: 94px;
        height: 94px;
    }

    #tm-main
    .uk-child-width-1-1.uk-grid-row-large
    article.uk-article
    p.uk-article-meta {
        display: none;
    }

    #tm-main
    .uk-child-width-1-1.uk-grid-row-large
    article.uk-article
    div[property="text"] {
        -webkit-line-clamp: 1;
    }
}

/* =====================================================
   Habilian Blog – Typography and Element Order Patch
   ===================================================== */

/* جلوگیری از ایجاد Bold مصنوعی */
#tm-main
.uk-child-width-1-1.uk-grid-row-large
article.uk-article
h2.uk-article-title {
    order: 1;
    font-weight: 600 !important;
}

/* نویسنده یا روتیتر */
#tm-main
.uk-child-width-1-1.uk-grid-row-large
article.uk-article
p.uk-article-meta {
    order: 2;
    font-weight: 300;
}

/* انتقال تاریخ به زیر نویسنده */
#tm-main
.uk-child-width-1-1.uk-grid-row-large
article.uk-article
> .uk-container.uk-container-small
> ul.uk-list {
    order: 3;

    margin: 4px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;

    color: #7b7f88;
    font-size: 11.5px;
    line-height: 1.7;
}

#tm-main
.uk-child-width-1-1.uk-grid-row-large
article.uk-article
> .uk-container.uk-container-small
> ul.uk-list li {
    margin: 0 !important;
}

/* خلاصه مطلب بعد از تاریخ */
#tm-main
.uk-child-width-1-1.uk-grid-row-large
article.uk-article
div[property="text"] {
    order: 4;
    font-weight: 300;
}

/* تگها در انتهای کارت همراه با خط جداکننده */
#tm-main
.uk-child-width-1-1.uk-grid-row-large
article.uk-article
p.uk-text-center:not(.uk-article-meta) {
    order: 5;

    margin: 11px 0 0 !important;
    padding-top: 10px;
    border-top: 1px solid #e8eaee;
}

/* =========================================================
   Habilian single article experience — v3.2.0
   Replace the previous Habilian article block in custom.css
   with this complete block. Do not keep both versions.
   ========================================================= */

:root {
    --hb-article-red: #cc0b24;
    --hb-article-red-dark: #a9081d;
    --hb-article-soft-red: #fff2f4;
    --hb-article-ink: #1f232b;
    --hb-article-text: #3f444d;
    --hb-article-muted: #777d87;
    --hb-article-border: #e7e9ed;
    --hb-article-surface: #ffffff;
}

/* Outer YOOtheme shell — no display:contents, so Komento stays controllable. */
#tm-main article.uk-article.hb-single-article,
#tm-main article.uk-article:has(.hb-article-layout) {
    display: block !important;
    width: 100%;
    margin-inline: auto;
    color: var(--hb-article-text);
    font-family: "IRANSansXFaNum", "IRANSansX", Tahoma, Arial, sans-serif;
}

#tm-main article.uk-article.hb-single-article > .uk-container,
#tm-main article.uk-article:has(.hb-article-layout) > .uk-container {
    display: block !important;
    width: min(100%, 1120px);
    max-width: 1120px !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
}

#tm-main article.uk-article.hb-single-article div[property="text"],
#tm-main article.uk-article:has(.hb-article-layout) div[property="text"] {
    display: block !important;
    width: 100%;
    margin: 0 !important;
}

#tm-main .hb-article-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 24px;
}

/* Neutralize order/display rules left by the old v1 article CSS. */
#tm-main .hb-article-layout > * {
    order: initial !important;
}

#tm-main .hb-article-kicker,
#tm-main .hb-article-lead {
    display: none !important;
}

#tm-main .hb-article-text-host {
    margin-top: 0 !important;
}

/* 1. Feature image */
#tm-main .hb-feature-image {
    position: relative;
    width: min(100%, 1040px);
    aspect-ratio: 16 / 9;
    margin: 0 auto !important;
    overflow: hidden;
    background: #f0f1f3;
    border-radius: 22px;
    box-shadow: 0 14px 40px rgba(24, 28, 36, 0.08);
}

#tm-main .hb-feature-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

#tm-main .hb-feature-image > a,
#tm-main .hb-feature-image picture {
    display: block;
    width: 100%;
    height: 100%;
}

#tm-main .hb-feature-image figcaption {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: fit-content;
    max-width: calc(100% - 24px);
    padding: 6px 10px;
    color: #ffffff;
    background: rgba(20, 23, 29, 0.72);
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.7;
    backdrop-filter: blur(5px);
}

/* 2. Article tools */
#tm-main .hb-article-tools {
    position: relative;
    width: min(100%, 1040px);
    box-sizing: border-box;
    margin-inline: auto;
    padding: 18px 20px 16px;
    background: var(--hb-article-surface);
    border: 1px solid var(--hb-article-border);
    border-top: 3px solid var(--hb-article-red);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(25, 30, 40, 0.06);
}

#tm-main .hb-tools-primary {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 22px;
    align-items: end;
}

#tm-main .hb-shortlink {
    min-width: 0;
}

#tm-main .hb-tools-label {
    display: block;
    margin-bottom: 7px;
    color: #555b65;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.7;
}

#tm-main .hb-shortlink-control {
    display: flex;
    align-items: center;
    min-width: 0;
    height: 44px;
    padding: 4px 5px 4px 11px;
    background: #f6f7f9;
    border: 1px solid #e4e6ea;
    border-radius: 12px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

#tm-main .hb-shortlink-control.is-copied {
    background: #f0fbf4;
    border-color: #86c99a;
}

#tm-main .hb-shortlink-value {
    flex: 1 1 auto;
    min-width: 0;
    padding-inline: 8px;
    overflow: hidden;
    color: #4d535d;
    font-size: 12px;
    line-height: 1;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    unicode-bidi: plaintext;
}

#tm-main .hb-shortlink-control.is-copied .hb-shortlink-value {
    color: #268243;
    font-weight: 600;
    text-align: right;
}

#tm-main .hb-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    padding: 0;
    color: #59606a;
    background: #ffffff;
    border: 1px solid #dfe2e7;
    border-radius: 9px;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

#tm-main .hb-icon-button:hover,
#tm-main .hb-icon-button:focus-visible {
    color: #ffffff;
    background: var(--hb-article-red);
    border-color: var(--hb-article-red);
    outline: none;
    transform: translateY(-1px);
}

#tm-main .hb-icon-button:disabled {
    color: #b5b9c0;
    background: #f5f6f7;
    border-color: #e8eaed;
    cursor: not-allowed;
    transform: none;
}

#tm-main .hb-icon-button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

#tm-main .hb-share-row {
    display: block;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

#tm-main .hb-share-label {
    margin-bottom: 7px;
}

#tm-main .hb-share-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 7px;
    min-width: 0;
}

#tm-main .hb-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    margin: 0;
    padding: 5px 10px;
    color: #555b65;
    background: #ffffff;
    border: 1px solid #e0e3e7;
    border-radius: 999px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 11px;
    line-height: 1.4;
    text-decoration: none !important;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

#tm-main .hb-share-button:hover,
#tm-main .hb-share-button:focus-visible {
    color: var(--hb-article-red);
    background: var(--hb-article-soft-red);
    border-color: rgba(204, 11, 36, 0.28);
    outline: none;
    transform: translateY(-1px);
}

#tm-main .hb-share-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: inherit;
    background: transparent !important;
    border-radius: 50%;
    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

#tm-main .hb-share-mark img {
    display: block;
    width: 22px;
    height: 22px;
    max-width: none;
}

/* Compact desktop toolbar: icon-only sharing with accessible hover labels. */
@media (min-width: 960px) {
    #tm-main .hb-article-tools {
        width: min(100%, 920px);
    }

    #tm-main .hb-tools-primary {
        grid-template-columns: minmax(250px, 300px) max-content;
        justify-content: center;
        gap: 28px;
    }

    #tm-main .hb-shortlink {
        width: 300px;
        max-width: 100%;
    }

    #tm-main .hb-share-list {
        overflow: visible;
    }

    #tm-main .hb-share-button {
        position: relative;
        width: 44px;
        min-width: 44px;
        max-width: 44px;
        padding: 0;
        border-radius: 12px;
    }

    #tm-main .hb-share-button > span:not(.hb-share-mark) {
        display: none;
    }

    #tm-main .hb-share-button::after {
        content: attr(data-hb-tooltip);
        position: absolute;
        top: calc(100% + 8px);
        right: 50%;
        z-index: 30;
        padding: 5px 9px;
        color: #ffffff;
        background: #262a31;
        border-radius: 7px;
        box-shadow: 0 6px 18px rgba(20, 24, 31, 0.16);
        font-size: 10.5px;
        font-weight: 500;
        line-height: 1.5;
        white-space: nowrap;
        pointer-events: none;
        opacity: 0;
        transform: translate(50%, -3px);
        transition: opacity 0.16s ease, transform 0.16s ease;
    }

    #tm-main .hb-share-button::before {
        content: "";
        position: absolute;
        top: calc(100% + 3px);
        right: 50%;
        z-index: 31;
        width: 8px;
        height: 8px;
        background: #262a31;
        pointer-events: none;
        opacity: 0;
        transform: translateX(50%) rotate(45deg);
        transition: opacity 0.16s ease;
    }

    #tm-main .hb-share-button:hover::after,
    #tm-main .hb-share-button:focus-visible::after,
    #tm-main .hb-share-button:hover::before,
    #tm-main .hb-share-button:focus-visible::before {
        opacity: 1;
    }

    #tm-main .hb-share-button:hover::after,
    #tm-main .hb-share-button:focus-visible::after {
        transform: translate(50%, 0);
    }
}

#tm-main .hb-tools-message {
    min-height: 0;
    margin: 0;
    color: var(--hb-article-red);
    font-size: 11px;
    line-height: 1.7;
}

#tm-main .hb-tools-message:not(:empty) {
    margin-top: 10px;
}

#tm-main .hb-shortlink-control.is-copy-error {
    background: #fff7f2;
    border-color: #e5a879;
}

#tm-main .hb-shortlink-control.is-copy-error .hb-shortlink-value {
    color: #9a4d18;
    font-weight: 600;
    text-align: right;
}

/* 3–5. Title, subtitle, publication meta */
#tm-main .hb-article-header {
    width: min(100%, 880px);
    margin-inline: auto;
    text-align: right;
}

#tm-main .hb-article-title,
#tm-main h1.hb-article-title {
    margin: 0;
    color: var(--hb-article-ink);
    font-family: inherit !important;
    font-size: 30px !important;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: -0.015em;
    text-align: right;
}

#tm-main .hb-article-subtitle {
    margin: 12px 0 0;
    padding: 2px 14px 2px 0;
    color: #565d67;
    border-right: 3px solid var(--hb-article-red);
    font-size: 18px;
    font-weight: 400;
    line-height: 2;
    text-align: right;
}

#tm-main .hb-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
    margin-top: 15px;
    color: var(--hb-article-muted);
    font-size: 13px;
    line-height: 1.8;
}

#tm-main .hb-article-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

#tm-main .hb-article-meta-item svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    fill: var(--hb-article-red);
}

#tm-main .hb-article-meta-item time {
    color: inherit;
}

/* 6. Readable article body */
#tm-main .hb-article-body {
    width: min(100%, 820px);
    margin-inline: auto;
    color: var(--hb-article-text);
    font-size: 17px;
    font-weight: 300;
    line-height: 2.2;
    text-align: justify;
    overflow-wrap: anywhere;
}

#tm-main .hb-article-body > :first-child { margin-top: 0; }
#tm-main .hb-article-body > :last-child { margin-bottom: 0; }

#tm-main .hb-article-body p {
    margin: 0 0 1.25em;
}

#tm-main .hb-article-body h2,
#tm-main .hb-article-body h3,
#tm-main .hb-article-body h4 {
    color: var(--hb-article-ink);
    font-family: inherit !important;
    font-weight: 700;
    line-height: 1.8;
    text-align: right;
}

#tm-main .hb-article-body h2 {
    margin: 2em 0 0.75em;
    padding-right: 14px;
    border-right: 4px solid var(--hb-article-red);
    font-size: 25px;
}

#tm-main .hb-article-body h3 {
    margin: 1.8em 0 0.65em;
    font-size: 21px;
}

#tm-main .hb-article-body a {
    color: var(--hb-article-red);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

#tm-main .hb-article-body blockquote {
    margin: 1.7em 0;
    padding: 18px 22px;
    color: #4e545e;
    background: #fafafa;
    border: 0;
    border-right: 4px solid var(--hb-article-red);
    border-radius: 12px 0 0 12px;
    font-size: 1.03em;
    font-style: normal;
    line-height: 2.1;
}

#tm-main .hb-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

#tm-main .hb-article-body figure {
    margin: 1.8em 0;
}

#tm-main .hb-article-body figcaption {
    margin-top: 8px;
    color: var(--hb-article-muted);
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
}

#tm-main .hb-article-body table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    -webkit-overflow-scrolling: touch;
}

#tm-main .hb-article-body th,
#tm-main .hb-article-body td {
    padding: 10px 12px;
    border: 1px solid var(--hb-article-border);
    text-align: right;
    white-space: nowrap;
}

/* Komento is hidden inside the text until JS moves it to its final slot. */
#tm-main .hb-article-body #section-kmt,
#tm-main .hb-article-body #komento,
#tm-main .hb-article-body [data-kt-wrapper],
#tm-main .hb-article-body .kt-component,
#tm-main .hb-article-body .komento {
    display: none;
}

/* 7. Article tags */
#tm-main .hb-article-tags {
    width: min(100%, 820px);
    margin-inline: auto;
    padding-top: 18px;
    border-top: 1px solid var(--hb-article-border);
}

#tm-main .hb-section-label {
    display: block;
    margin-bottom: 10px;
    color: #5e646e;
    font-size: 12px;
    font-weight: 600;
}

#tm-main .hb-article-tags ul {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#tm-main .hb-article-tags li {
    margin: 0;
    padding: 0;
}

#tm-main .hb-article-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 4px 11px;
    color: var(--hb-article-red);
    background: var(--hb-article-soft-red);
    border: 1px solid rgba(204, 11, 36, 0.12);
    border-radius: 999px;
    font-size: 11px;
    line-height: 1.5;
    text-decoration: none;
}

#tm-main .hb-article-tags a:hover {
    color: #ffffff;
    background: var(--hb-article-red);
}

/* 8. Breadcrumb moved here by JavaScript */
#tm-main .hb-breadcrumb-slot {
    width: min(100%, 1040px);
    margin-inline: auto;
    padding: 12px 15px;
    background: #fafafb;
    border: 1px solid var(--hb-article-border);
    border-radius: 12px;
}

#tm-main .hb-breadcrumb-slot:empty {
    display: none;
}

#tm-main .hb-breadcrumb-slot .uk-breadcrumb,
#tm-main .hb-breadcrumb-slot .breadcrumb {
    margin: 0;
    font-size: 11px;
}

/* 9. Recommended articles */
#tm-main .hb-recommended {
    width: min(100%, 1040px);
    margin-inline: auto;
    padding-top: 4px;
}

#tm-main .hb-section-heading {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

#tm-main .hb-section-heading::after {
    content: "";
    height: 1px;
    flex: 1 1 auto;
    margin-right: 14px;
    background: var(--hb-article-border);
}

#tm-main .hb-section-heading h2 {
    margin: 0;
    color: var(--hb-article-ink);
    font-family: inherit !important;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.7;
}

#tm-main .hb-recommended-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

#tm-main .hb-recommended-card {
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--hb-article-border);
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(24, 28, 36, 0.045);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#tm-main .hb-recommended-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(24, 28, 36, 0.08);
}

#tm-main .hb-recommended-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f0f1f3;
}

#tm-main .hb-recommended-image img,
#tm-main .hb-recommended-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

#tm-main .hb-recommended-card:hover .hb-recommended-image img {
    transform: scale(1.035);
}

#tm-main .hb-recommended-placeholder {
    background: linear-gradient(135deg, #f1f2f4, #e6e8eb);
}

#tm-main .hb-recommended-content {
    padding: 12px 13px 13px;
}

#tm-main .hb-recommended-content h3 {
    margin: 0;
    font-family: inherit !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.85;
    text-align: right;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#tm-main .hb-recommended-content h3 a {
    color: var(--hb-article-ink);
    text-decoration: none;
}

#tm-main .hb-recommended-content h3 a:hover {
    color: var(--hb-article-red);
}

#tm-main .hb-recommended-content time {
    display: block;
    margin-top: 7px;
    color: var(--hb-article-muted);
    font-size: 10.5px;
    line-height: 1.6;
}

#tm-main .hb-recommended-card-text {
    display: block;
    min-height: 128px;
    border-top: 3px solid var(--hb-article-red);
}

#tm-main .hb-recommended-card-text .hb-recommended-content p {
    margin: 8px 0 0;
    color: var(--hb-article-muted);
    font-size: 11px;
    line-height: 1.8;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* 10. Komento final slot */
#tm-main .hb-komento-slot {
    width: min(100%, 1040px);
    margin: 4px auto 0;
}

#tm-main .hb-komento-slot:empty {
    display: none;
}

#tm-main .hb-komento-slot #section-kmt,
#tm-main .hb-komento-slot #komento,
#tm-main .hb-komento-slot [data-kt-wrapper],
#tm-main .hb-komento-slot .kt-component,
#tm-main .hb-komento-slot .komento {
    display: block;
}

/* Tablet */
@media (max-width: 959px) {
    #tm-main .hb-article-layout {
        gap: 21px;
    }

    #tm-main .hb-tools-primary {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    #tm-main .hb-share-row {
        padding-top: 14px;
        border-top: 1px solid #eceef1;
    }

    #tm-main .hb-share-list {
        flex-wrap: wrap;
    }

    #tm-main .hb-recommended-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 639px) {
    #tm-main .hb-article-layout {
        gap: 17px;
    }

    #tm-main .hb-feature-image {
        aspect-ratio: 16 / 10;
        border-radius: 14px;
    }

    #tm-main .hb-article-tools {
        padding: 14px;
        border-radius: 14px;
    }

    #tm-main .hb-shortlink-control {
        height: 42px;
    }

    #tm-main .hb-shortlink-value {
        font-size: 10.5px;
    }

    #tm-main .hb-share-row {
        display: block;
        margin: 0;
        padding-top: 12px;
    }

    #tm-main .hb-share-label {
        margin-bottom: 8px;
    }

    #tm-main .hb-share-list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    #tm-main .hb-share-button {
        width: 100%;
        min-height: 40px;
        padding-inline: 7px;
    }

    #tm-main .hb-article-title,
    #tm-main h1.hb-article-title {
        font-size: 24px !important;
        line-height: 1.75;
    }

    #tm-main .hb-article-subtitle {
        margin-top: 9px;
        padding-right: 10px;
        font-size: 15px;
        line-height: 1.9;
    }

    #tm-main .hb-article-meta {
        gap: 5px 13px;
        margin-top: 11px;
        font-size: 11px;
    }

    #tm-main .hb-article-meta-item svg {
        width: 15px;
        height: 15px;
        flex-basis: 15px;
    }

    #tm-main .hb-article-body {
        font-size: 15px;
        line-height: 2.1;
    }

    #tm-main .hb-article-body h2 {
        font-size: 21px;
    }

    #tm-main .hb-article-body h3 {
        font-size: 18px;
    }

    #tm-main .hb-article-body blockquote {
        padding: 14px 16px;
    }

    #tm-main .hb-recommended-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    #tm-main .hb-recommended-card {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        min-height: 94px;
    }

    #tm-main .hb-recommended-card-text {
        display: block;
        min-height: 0;
    }

    #tm-main .hb-recommended-image {
        height: 100%;
        aspect-ratio: auto;
    }

    #tm-main .hb-section-heading h2 {
        font-size: 18px;
    }
}

@media (max-width: 390px) {
    #tm-main .hb-share-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (prefers-reduced-motion: reduce) {
    #tm-main .hb-icon-button,
    #tm-main .hb-share-button,
    #tm-main .hb-recommended-card,
    #tm-main .hb-recommended-image img {
        transition: none;
    }
}


@media print {
    #tm-main .hb-article-tools,
    #tm-main .hb-breadcrumb-slot,
    #tm-main .hb-recommended,
    #tm-main .hb-komento-slot {
        display: none !important;
    }

    #tm-main .hb-feature-image,
    #tm-main .hb-article-header,
    #tm-main .hb-article-body {
        width: 100%;
    }
}

/* =========================================================
   Habilian tag archive — v1.2.1
   Append this complete block to:
   templates/yootheme_habilian/css/custom.css
   ========================================================= */

#tm-main.hb-tag-page {
    --hb-tag-red: #cc0b24;
    --hb-tag-red-dark: #a9081d;
    --hb-tag-soft-red: #fff3f5;
    --hb-tag-text: #242831;
    --hb-tag-body: #565b65;
    --hb-tag-muted: #7b7f88;
    --hb-tag-border: #e8eaee;

    font-family: "IRANSansXFaNum", "IRANSansX", Tahoma, Arial, sans-serif;
}

/* عنوان آرشیو تگ */
#tm-main.hb-tag-page .hb-tag-heading {
    position: relative;
    margin: 0 0 24px !important;
    padding: 17px 20px 15px;
    overflow: hidden;

    background:
        linear-gradient(110deg, rgba(204, 11, 36, 0.075), rgba(204, 11, 36, 0) 55%),
        #ffffff;
    border: 1px solid var(--hb-tag-border);
    border-right: 4px solid var(--hb-tag-red);
    border-radius: 16px;
}

#tm-main.hb-tag-page .hb-tag-heading::after {
    position: absolute;
    bottom: 0;
    right: 20px;
    width: 54px;
    height: 3px;
    content: "";
    background: var(--hb-tag-red);
    border-radius: 4px 4px 0 0;
}

#tm-main.hb-tag-page .hb-tag-heading > h1,
#tm-main.hb-tag-page .hb-tag-heading > h2 {
    margin: 0 !important;
    color: var(--hb-tag-text);
    font-family: inherit !important;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.55;
}

/* عنوان عمومی آیتم منو مخفی و نام واقعی برچسب نمایش داده میشود. */
#tm-main.hb-tag-page .hb-tag-heading > .hb-tag-heading__context {
    display: none !important;
}

#tm-main.hb-tag-page .hb-tag-heading > .hb-tag-heading__title {
    display: block !important;
}

/* ستون نتایج */
#tm-main.hb-tag-page .hb-tag-results {
    min-width: 0;
}

#tm-main.hb-tag-page .hb-tag-results > article.hb-tag-card {
    position: relative;
    display: flex;
    direction: rtl;
    gap: 18px;
    align-items: stretch;
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 16px !important;
    padding: 14px;
    overflow: hidden;

    color: var(--hb-tag-body);
    background: #ffffff;
    border: 1px solid var(--hb-tag-border);
    border-radius: 18px;
    box-shadow: 0 7px 24px rgba(26, 31, 40, 0.055);

    font-family: "IRANSansXFaNum", "IRANSansX", Tahoma, Arial, sans-serif !important;
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

#tm-main.hb-tag-page .hb-tag-results > article.hb-tag-card:hover {
    transform: translateY(-2px);
    border-color: rgba(204, 11, 36, 0.22);
    box-shadow: 0 12px 31px rgba(26, 31, 40, 0.09);
}

/* تصویر واقعی یا جایگزین استاندارد برای مطالب بدون تصویر */
#tm-main.hb-tag-page article.hb-tag-card
> div[property="image"],

#tm-main.hb-tag-page article.hb-tag-card
> .hb-tag-card__placeholder {
    flex: 0 0 210px;
    align-self: center;
    width: 210px;
    height: 165px;
    margin: 0 !important;
    overflow: hidden;

    background: #f3f4f6;
    border-radius: 14px;
}

#tm-main.hb-tag-page article.hb-tag-card
> div[property="image"] > a,

#tm-main.hb-tag-page article.hb-tag-card
> div[property="image"] picture,

#tm-main.hb-tag-page article.hb-tag-card
> .hb-tag-card__placeholder > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

#tm-main.hb-tag-page article.hb-tag-card
> div[property="image"] img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

#tm-main.hb-tag-page article.hb-tag-card:hover
> div[property="image"] img {
    transform: scale(1.035);
}

#tm-main.hb-tag-page .hb-tag-card__placeholder {
    background:
        radial-gradient(circle at 70% 25%, rgba(204, 11, 36, 0.10), transparent 34%),
        linear-gradient(135deg, #f8f8f9, #eff0f2);
}

#tm-main.hb-tag-page .hb-tag-card__placeholder svg {
    width: 44px;
    height: 44px;
    color: rgba(204, 11, 36, 0.52);
}

/* ستون محتوای کارت */
#tm-main.hb-tag-page article.hb-tag-card
> .hb-tag-card__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* عنوان */
#tm-main.hb-tag-page article.hb-tag-card
h2.uk-article-title {
    order: 1;
    margin: 0 !important;
    overflow: hidden;

    color: var(--hb-tag-text);
    font-family: inherit !important;
    font-size: 20px;
    font-weight: 600 !important;
    line-height: 1.65;
    text-align: right !important;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#tm-main.hb-tag-page article.hb-tag-card
h2.uk-article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

#tm-main.hb-tag-page article.hb-tag-card
h2.uk-article-title a:hover {
    color: var(--hb-tag-red);
}

/* زیرتیتر؛ مقدار نویسنده در ساختار فعلی سایت */
#tm-main.hb-tag-page article.hb-tag-card
p.uk-article-meta {
    order: 2;
    margin: 5px 0 0 !important;
    overflow: hidden;

    color: #8a8d96;
    font-family: inherit !important;
    font-size: 12.5px;
    font-weight: 300;
    line-height: 1.7;
    text-align: right !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* تاریخ، دقیقاً زیر زیرتیتر */
#tm-main.hb-tag-page article.hb-tag-card
> .hb-tag-card__content
> ul.uk-list {
    order: 3;
    margin: 4px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;

    color: var(--hb-tag-muted);
    font-family: inherit !important;
    font-size: 11.5px;
    line-height: 1.7;
}

#tm-main.hb-tag-page article.hb-tag-card
> .hb-tag-card__content
> ul.uk-list li {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 !important;
}

#tm-main.hb-tag-page article.hb-tag-card time {
    color: var(--hb-tag-red);
    font-family: inherit !important;
    font-weight: 600;
}

/* متن کوتاه */
#tm-main.hb-tag-page article.hb-tag-card
div[property="text"] {
    order: 4;
    margin: 9px 0 0 !important;
    overflow: hidden;

    color: var(--hb-tag-body);
    font-family: inherit !important;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.95;
    text-align: justify;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

#tm-main.hb-tag-page article.hb-tag-card
div[property="text"] > :first-child {
    margin-top: 0 !important;
}

#tm-main.hb-tag-page article.hb-tag-card
div[property="text"] > :last-child {
    margin-bottom: 0 !important;
}

/* در آرشیو تگ، نمایش دوباره تگ زیر هر مطلب حذف شده است. */
#tm-main.hb-tag-page article.hb-tag-card
.hb-tag-card__tags {
    display: none !important;
}

/* صفحهبندی */
#tm-main.hb-tag-page .uk-pagination {
    justify-content: center;
    gap: 7px;
    margin-top: 30px;
}

#tm-main.hb-tag-page .uk-pagination > * {
    padding: 0;
}

#tm-main.hb-tag-page .uk-pagination > * > * {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;

    color: #4f535b;
    background: #ffffff;
    border: 1px solid var(--hb-tag-border);
    border-radius: 10px;
    transition: all 0.2s ease;
}

#tm-main.hb-tag-page .uk-pagination > * > *:hover,

#tm-main.hb-tag-page .uk-pagination > .uk-active > * {
    color: #ffffff;
    background: var(--hb-tag-red);
    border-color: var(--hb-tag-red);
}

/* Tablet */
@media (max-width: 959px) {
    #tm-main.hb-tag-page article.hb-tag-card
    > div[property="image"],

    #tm-main.hb-tag-page article.hb-tag-card
    > .hb-tag-card__placeholder {
        flex-basis: 175px;
        width: 175px;
        height: 145px;
    }

    #tm-main.hb-tag-page article.hb-tag-card
    h2.uk-article-title {
        font-size: 18px;
    }

    #tm-main.hb-tag-page article.hb-tag-card
    div[property="text"] {
        -webkit-line-clamp: 2;
    }
}

/* Mobile */
@media (max-width: 639px) {
    #tm-main.hb-tag-page .hb-tag-heading {
        margin-bottom: 16px !important;
        padding: 13px 15px 12px;
        border-radius: 13px;
    }

    #tm-main.hb-tag-page .hb-tag-heading > h1,
    #tm-main.hb-tag-page .hb-tag-heading > h2 {
        font-size: 24px;
    }

    #tm-main.hb-tag-page .hb-tag-results > article.hb-tag-card {
        gap: 11px;
        margin-bottom: 12px !important;
        padding: 10px;
        border-radius: 14px;
    }

    #tm-main.hb-tag-page article.hb-tag-card
    > div[property="image"],

    #tm-main.hb-tag-page article.hb-tag-card
    > .hb-tag-card__placeholder {
        flex: 0 0 108px;
        width: 108px;
        height: 108px;
        align-self: flex-start;
        border-radius: 11px;
    }

    #tm-main.hb-tag-page article.hb-tag-card
    h2.uk-article-title {
        font-size: 15px;
        line-height: 1.75;
        -webkit-line-clamp: 3;
    }

    #tm-main.hb-tag-page article.hb-tag-card
    p.uk-article-meta {
        margin-top: 3px !important;
        font-size: 11px;
    }

    #tm-main.hb-tag-page article.hb-tag-card
    div[property="text"] {
        margin-top: 5px !important;
        font-size: 12.5px;
        line-height: 1.75;
        -webkit-line-clamp: 2;
    }

    #tm-main.hb-tag-page article.hb-tag-card
    > .hb-tag-card__content
    > ul.uk-list {
        font-size: 10.5px;
    }
}

@media (max-width: 420px) {
    #tm-main.hb-tag-page article.hb-tag-card
    > div[property="image"],

    #tm-main.hb-tag-page article.hb-tag-card
    > .hb-tag-card__placeholder {
        flex-basis: 94px;
        width: 94px;
        height: 94px;
    }

    #tm-main.hb-tag-page article.hb-tag-card
    p.uk-article-meta {
        display: none;
    }

    #tm-main.hb-tag-page article.hb-tag-card
    div[property="text"] {
        -webkit-line-clamp: 1;
    }
}

/* =========================================================
   Habilian victims catalog grid — v1.0.0
   Responsive result layout for Custom Tables
   Scope: only the catalog whose direct output contains .grid-header
   ========================================================= */

#tm-main > .uk-container > .record-count:has(+ .datagrid > .grid-header) {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 0 16px;
}

#tm-main > .uk-container > .record-count:has(+ .datagrid > .grid-header)
> .ctCatalogRecordCount {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 14px;
    color: #8f0825;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.7;
    background: #fff4f6;
    border: 1px solid rgba(178, 13, 47, .14);
    border-radius: 999px;
}

#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) {
    --hb-victim-accent: #b20d2f;
    --hb-victim-accent-strong: #8f0825;
    --hb-victim-ink: #20293a;
    --hb-victim-muted: #667085;
    --hb-victim-line: #e7eaf0;
    --hb-victim-soft: #f7f8fa;
    --hb-victim-surface: #fff;
    display: block;
    width: 100% !important;
    overflow: visible;
    color: var(--hb-victim-ink);
    font: inherit;
    background: transparent;
    border: 0;
    border-radius: 0;
}

/* Search panel */
#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) > .grid-header {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 15px 16px;
    margin: 0 0 20px;
    padding: 20px;
    background:
        linear-gradient(135deg, rgba(178, 13, 47, .045), transparent 52%),
        var(--hb-victim-surface);
    border: 1px solid rgba(178, 13, 47, .12);
    border-radius: 18px;
    box-shadow: 0 10px 32px rgba(31, 41, 55, .07);
}

#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) > .grid-header > .cell {
    display: block;
    min-width: 0;
    padding: 0;
    color: #404a5e;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.8;
    text-align: right;
    background: transparent;
    border: 0;
}

#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) > .grid-header input.ctSearchBox:not([type="hidden"]),
#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) > .grid-header select.ctSearchBox,
#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) > .grid-header textarea.ctSearchBox,
#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) > .mobile-search-header input.ctSearchBox:not([type="hidden"]),
#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) > .mobile-search-header select.ctSearchBox,
#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) > .mobile-search-header textarea.ctSearchBox {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 43px;
    margin: 5px 0 0;
    padding: 8px 11px;
    color: var(--hb-victim-ink);
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    background: #fff;
    border: 1px solid #d9dee7;
    border-radius: 10px;
    outline: 0;
    box-shadow: 0 1px 2px rgba(31, 41, 55, .025);
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) input.ctSearchBox:not([type="hidden"]):hover,
#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) select.ctSearchBox:hover,
#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) textarea.ctSearchBox:hover {
    border-color: #bbc3cf;
}

#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) input.ctSearchBox:not([type="hidden"]):focus,
#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) select.ctSearchBox:focus,
#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) textarea.ctSearchBox:focus {
    background: #fff;
    border-color: var(--hb-victim-accent);
    box-shadow: 0 0 0 4px rgba(178, 13, 47, .09);
}

#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) > .grid-header > .search-button {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: center;
    padding-top: 2px;
}

#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) > .grid-header > .search-button br {
    display: none;
}

#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) button.ctSearchBox {
    display: inline-flex;
    min-width: 180px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 9px 25px;
    cursor: pointer;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    line-height: 1;
    background: linear-gradient(135deg, #c91c42, var(--hb-victim-accent-strong));
    border: 0;
    border-radius: 11px;
    box-shadow: 0 8px 20px rgba(178, 13, 47, .2);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) button.ctSearchBox:hover {
    color: #fff;
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: 0 11px 25px rgba(178, 13, 47, .26);
}

#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) button.ctSearchBox:focus-visible {
    outline: 3px solid rgba(178, 13, 47, .2);
    outline-offset: 3px;
}

#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) button.ctSearchBox .ctToolBarIcon {
    width: 17px;
    height: 17px;
    margin: 0;
    filter: brightness(0) invert(1);
}

#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) > .mobile-search-header {
    display: none !important;
}

/* Desktop result rows */
#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) > .grid-row {
    display: grid;
    grid-template-columns:
        minmax(0, .9fr)
        minmax(0, 1.25fr)
        minmax(0, .9fr)
        minmax(0, 1fr)
        minmax(0, .9fr)
        minmax(0, 1.25fr)
        minmax(0, .9fr)
        minmax(0, 1fr)
        minmax(48px, .48fr)
        minmax(54px, .55fr);
    align-items: stretch;
    margin: 0 0 8px;
    overflow: hidden;
    color: var(--hb-victim-ink);
    background: var(--hb-victim-surface);
    border: 1px solid var(--hb-victim-line);
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(31, 41, 55, .035);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) > .grid-row:nth-of-type(even) {
    background: #fbfcfd;
}

#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) > .grid-row:hover {
    background: #fffafb;
    border-color: rgba(178, 13, 47, .22);
    box-shadow: 0 8px 22px rgba(31, 41, 55, .065);
    transform: translateY(-1px);
}

#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) > .grid-row > .cell {
    display: flex;
    min-width: 0;
    min-height: 56px;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 8px;
    overflow-wrap: anywhere;
    color: var(--hb-victim-ink);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.75;
    text-align: right;
    border-inline-end: 1px solid var(--hb-victim-line);
}

#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) > .grid-row > .cell:last-child {
    border-inline-end: 0;
}

#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) > .grid-row .cell-label {
    display: none;
}

#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) > .grid-row > .birthd-cell,
#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) > .grid-row > .martyrd-cell,
#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) > .grid-row > .age-cell,
#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) > .grid-row > .actions-cell {
    justify-content: center;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) > .grid-row a {
    color: var(--hb-victim-accent-strong);
    font-weight: 700;
    text-decoration: none;
}

#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) > .grid-row a:hover {
    color: var(--hb-victim-accent);
    text-decoration: underline;
}

/* Pagination */
#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) ~ .pagination {
    margin: 24px 0 6px;
    text-align: center;
}

#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) ~ .pagination > div > ul.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) ~ .pagination .page-link {
    display: inline-flex;
    min-width: 36px;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    color: #4b5565;
    font-size: 11px;
    font-weight: 650;
    line-height: 1;
    text-decoration: none;
    background: #fff;
    border: 1px solid #dde2e9;
    border-radius: 9px;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) ~ .pagination .page-item:not(.disabled):not(.active) .page-link:hover {
    color: var(--hb-victim-accent-strong);
    background: #fff5f7;
    border-color: rgba(178, 13, 47, .24);
}

#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) ~ .pagination .page-item.active .page-link {
    color: #b56;
    background: var(--hb-victim-accent);
    border-color: var(--hb-victim-accent);
    box-shadow: 0 5px 13px rgba(178, 13, 47, .2);
}

#tm-main > .uk-container > .record-count
+ .datagrid:has(> .grid-header) ~ .pagination .page-item.disabled .page-link {
    cursor: default;
    color: #a2a9b4;
    background: #f6f7f9;
    border-color: #e7e9ed;
}

/* Tablet: searchable panel plus two-column record cards */
@media (min-width: 768px) and (max-width: 1199px) {
    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-header {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
        padding: 18px;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 24px;
        padding: 8px 16px;
        border-radius: 15px;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row > .cell {
        display: grid;
        grid-template-columns: minmax(94px, 38%) minmax(0, 1fr);
        min-height: 47px;
        align-items: center;
        padding: 8px 0;
        text-align: right;
        border-inline-end: 0;
        border-bottom: 1px dashed #e3e6eb;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row > .cell:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row .cell-label {
        display: inline-block;
        padding-inline-end: 8px;
        color: var(--hb-victim-muted);
        font-size: 11px;
        font-weight: 700;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row > .birthd-cell,
    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row > .martyrd-cell,
    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row > .age-cell,
    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row > .actions-cell {
        justify-content: initial;
        text-align: right;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row > .actions-cell:not(:has(a, button, input, img, svg)) {
        display: none;
    }
}

/* Mobile: dedicated search block and single-column record cards */
@media (max-width: 767px) {
    #tm-main > .uk-container > .record-count:has(+ .datagrid > .grid-header) {
        margin-bottom: 13px;
    }

    #tm-main > .uk-container > .record-count:has(+ .datagrid > .grid-header)
    > .ctCatalogRecordCount {
        width: 100%;
        justify-content: center;
        border-radius: 11px;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-header {
        display: none !important;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .mobile-search-header {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 0 0 16px;
        padding: 16px 14px;
        background:
            linear-gradient(145deg, rgba(178, 13, 47, .05), transparent 58%),
            #fff;
        border: 1px solid rgba(178, 13, 47, .13);
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(31, 41, 55, .06);
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .mobile-search-header > .search-item {
        min-width: 0;
        color: #404a5e;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.7;
        text-align: right;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .mobile-search-header > .search-item:last-child {
        display: flex;
        justify-content: stretch;
        padding-top: 2px;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .mobile-search-header button.ctSearchBox {
        width: 100%;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 12px;
        padding: 8px 14px;
        border-radius: 15px;
        box-shadow: 0 5px 16px rgba(31, 41, 55, .05);
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row:hover {
        transform: none;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row > .cell {
        display: grid;
        grid-template-columns: minmax(88px, 38%) minmax(0, 1fr);
        min-height: 43px;
        align-items: center;
        padding: 7px 0;
        text-align: right;
        border-inline-end: 0;
        border-bottom: 1px dashed #e3e6eb;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row > .cell:last-child {
        border-bottom: 0;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row .cell-label {
        display: inline-block;
        padding-inline-end: 8px;
        color: var(--hb-victim-muted);
        font-size: 11px;
        font-weight: 700;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row > .birthd-cell,
    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row > .martyrd-cell,
    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row > .age-cell,
    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row > .actions-cell {
        justify-content: initial;
        text-align: right;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row > .actions-cell:not(:has(a, button, input, img, svg)) {
        display: none;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) ~ .pagination {
        margin-top: 18px;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) ~ .pagination .page-link {
        min-width: 33px;
        min-height: 33px;
        padding: 5px 8px;
        border-radius: 8px;
    }
}

@media (max-width: 420px) {
    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .mobile-search-header {
        padding: 14px 12px;
        border-radius: 14px;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row {
        padding: 7px 12px;
        border-radius: 13px;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row > .cell {
        grid-template-columns: minmax(82px, 40%) minmax(0, 1fr);
        font-size: 11.5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) *,
    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) *::before,
    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) *::after {
        transition-duration: .01ms !important;
    }
}
/* =========================================================
   Habilian victims catalog grid — v1.1.0
   Column-header alignment fix for desktop and tablet
   ========================================================= */

@media (min-width: 768px) {
    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) {
        --hb-victim-columns:
            minmax(82px, .9fr)
            minmax(112px, 1.25fr)
            minmax(88px, .9fr)
            minmax(100px, 1fr)
            minmax(94px, .9fr)
            minmax(112px, 1.25fr)
            minmax(96px, .9fr)
            minmax(104px, 1fr)
            minmax(58px, .48fr)
            minmax(70px, .55fr);
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-color: rgba(178, 13, 47, .36) #f2f3f5;
        scrollbar-width: thin;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-header,
    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row {
        box-sizing: border-box;
        grid-template-columns: var(--hb-victim-columns);
        width: 100%;
        min-width: 1080px;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-header {
        gap: 0;
        align-items: stretch;
        margin: 0;
        padding: 0;
        overflow: hidden;
        color: #fff;
        background: linear-gradient(135deg, #b20d2f, #8f0825);
        border: 1px solid #8f0825;
        border-radius: 14px 14px 0 0;
        box-shadow: 0 8px 22px rgba(143, 8, 37, .14);
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-header > .cell {
        display: flex;
        min-width: 0;
        min-height: 91px;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 10px 7px 9px;
        color: #fff;
        font-size: 11.5px;
        font-weight: 750;
        line-height: 1.55;
        text-align: center;
        background: transparent;
        border: 0;
        border-inline-end: 1px solid rgba(255, 255, 255, .16);
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-header > .cell:last-child {
        border-inline-end: 0;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-header input.ctSearchBox:not([type="hidden"]),
    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-header select.ctSearchBox,
    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-header textarea.ctSearchBox {
        min-height: 35px;
        margin-top: 6px;
        padding: 6px 7px;
        color: #20293a;
        font-size: 11px;
        text-align: right;
        background: #fff;
        border-color: rgba(255, 255, 255, .72);
        border-radius: 7px;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-header > .search-button {
        grid-column: auto;
        align-items: center;
        justify-content: flex-start;
        padding: 10px 6px 9px;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-header > .search-button::before {
        content: "عملیات";
        display: block;
        margin-bottom: 6px;
        color: #fff;
        font-size: 11.5px;
        font-weight: 750;
        line-height: 1.55;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-header button.ctSearchBox {
        width: 100%;
        min-width: 0;
        min-height: 35px;
        padding: 6px;
        color: #8f0825;
        font-size: 10.5px;
        background: #fff;
        border-radius: 7px;
        box-shadow: none;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-header button.ctSearchBox:hover {
        color: #8f0825;
        background: #fff4f6;
        transform: none;
        box-shadow: none;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-header button.ctSearchBox .ctToolBarIcon {
        width: 14px;
        height: 14px;
        filter: none;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row {
        gap: 0;
        margin: 0;
        padding: 0;
        background: #fff;
        border-top: 0;
        border-radius: 0;
        box-shadow: none;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row:nth-of-type(even) {
        background: #fafbfc;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row:hover {
        background: #fff7f8;
        transform: none;
        box-shadow: inset 3px 0 0 rgba(178, 13, 47, .5);
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row > .cell {
        display: flex;
        min-width: 0;
        min-height: 54px;
        grid-template-columns: none;
        align-items: center;
        justify-content: flex-start;
        padding: 9px 7px;
        font-size: 11.5px;
        text-align: right;
        border-bottom: 0;
        border-inline-end: 1px solid var(--hb-victim-line);
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row > .birthd-cell,
    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row > .martyrd-cell,
    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row > .age-cell,
    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row > .actions-cell {
        justify-content: center;
        text-align: center;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row > .actions-cell:not(:has(a, button, input, img, svg)) {
        display: flex;
    }

    #tm-main > .uk-container > .record-count
    + .datagrid:has(> .grid-header) > .grid-row:last-child {
        border-radius: 0 0 14px 14px;
    }
}

/* =========================================================
   Responsive Table Style {div}
   ========================================================= */
:root {
    --primary-color: #1e3a8a; /* رنگ هدر جدول */
    --bg-color: #f8fafc;
    --border-color: #e2e8f0;
    --row-alt: #f1f5f9;
}

/* ساختار کلی جدول */
.table-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    overflow: hidden;
    direction: rtl;
}

.table-scroll-wrapper {
    overflow-x: auto;
    width: 100%;
}

.div-table {
    display: grid;
    /* تنظیم عرض ۱۴ ستون */
    grid-template-columns: 50px repeat(3, 1fr) repeat(2, 0.8fr) 1fr 1.5fr repeat(2, 1fr) 0.8fr 1.5fr 0.8fr 50px;
    width: 100%;
    min-width: 1200px; /* حداقل عرض برای کامپیوتر */
}

.div-table-header, .div-table-row {
    display: contents; /* حفظ ساختار گرید */
}

.div-table-cell, .div-table-head {
    padding: 12px 8px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    word-break: break-word;
}

.div-table-head {
    background-color: #e0e7ff;
    color: #3730a3;
    font-weight: bold;
    border-bottom: 2px solid #c7d2fe;
}

.div-table-row:nth-child(even) .div-table-cell {
    background-color: var(--row-alt); /* حالت راه راه */
}
.div-table-row:hover .div-table-cell {
    background-color: #e2e8f0;
}

/* --- تنظیمات ریسپانسیو (موبایل و تبلت) --- */
@media screen and (max-width: 1024px) {
    .table-scroll-wrapper { overflow: hidden; }
    .div-table { display: block; min-width: 100%; }
    .div-table-header { display: none; /* مخفی کردن هدر در موبایل */ }
    
    .div-table-row {
        display: flex;
        flex-direction: column;
        margin-bottom: 16px;
        background-color: #ffffff;
        border-radius: 10px;
        border: 1px solid var(--border-color);
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        padding: 5px;
    }
    
    .div-table-row:nth-child(even) .div-table-cell {
        background-color: #ffffff;
    }

    .div-table-cell {
        justify-content: space-between;
        padding: 10px 15px;
        text-align: right;
        border-bottom: 1px solid var(--border-color);
    }
    .div-table-cell:last-child { border-bottom: none; }
    
    /* نمایش عناوین ستون ها در موبایل با استفاده از صفت data-label */
    .div-table-cell::before {
        content: attr(data-label);
        font-weight: bold;
        color: #475569;
        margin-left: 10px;
        min-width: 120px;
        text-align: right;
    }
    
    /* استایل اختصاصی برای نام شهید در موبایل */
    .div-table-cell:nth-child(1) {
        background-color: #e0e7ff;
        color: #3730a3;
        font-weight: bold;
        justify-content: center;
        border-radius: 8px;
    }
    .div-table-cell:nth-child(1)::before { display: none; }
    .div-table-cell:nth-child(1)::after {
        content: " - " attr(data-name);
        margin-right: 5px;
    }
}
/* Habilian sitemap visibility fix */
#jmap_sitemap ul.hidden {
    visibility: visible !important;
}
