﻿/* ============================================================
   همدرد اول - طراحی صفحه اصلی و کارت‌ها به سبک doctoreto
   این فایل بعد از redesign.css بارگذاری می‌شود.
   ============================================================ */

:root {
    --dt-primary: #4f46e5;
    --dt-primary-dark: #3730a3;
    --dt-primary-light: #eef2ff;
    --dt-teal-deep: #3730a3;
    --dt-blue: #3b82f6;
    --dt-grad: linear-gradient(120deg, #4f46e5 0%, #3b82f6 55%, #9333ea 100%);
    --dt-grad-hero: linear-gradient(120deg, #6d7df8 0%, #45a3f5 45%, #a06cf7 100%);
    --dt-grad-live: linear-gradient(120deg, #4f46e5 0%, #2563eb 50%, #9333ea 100%);
    --dt-grad-soft: linear-gradient(120deg, #eef2ff 0%, #eff6ff 100%);
    --dt-bg: #ffffff;
    --dt-text: #26364a;
    --dt-muted: #6c7a89;
    --dt-border: #e7eef4;
    --dt-shadow: 0 18px 42px -22px rgba(79, 70, 229, 0.35);
    --dt-shadow-sm: 0 8px 20px -12px rgba(79, 70, 229, 0.25);
    --dt-radius: 18px;
    --dt-radius-sm: 12px;
    --dt-orange: #f6a821;
    --dt-orange-dark: #e18d00;
}

body {
    overflow-x: hidden;
}

/* ============================================================
   HERO - جستجوی اصلی و آمار
   ============================================================ */
.hd-hero {
    position: relative;
    background: var(--dt-grad-hero);
    padding: 46px 0 120px;
    color: #fff;
    margin-top: -8px;
    text-align: center;
}

.hd-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background:
            radial-gradient(1200px 460px at 88% -10%, rgba(255, 255, 255, 0.3), transparent 55%),
            radial-gradient(700px 300px at 8% 115%, rgba(255, 255, 255, 0.14), transparent 58%),
            radial-gradient(900px 380px at 0% 110%, rgba(147, 51, 234, 0.32), transparent 60%);
        pointer-events: none;
    }

    .hd-hero .container {
        position: relative;
        z-index: 2;
    }

.hd-hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 0.9rem;
}

    .hd-hero-cta a {
        color: #fff !important;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        font-weight: 600;
        padding: 7px 14px;
        border-radius: 40px;
        background: rgba(255, 255, 255, 0.14);
        border: 1px solid rgba(255, 255, 255, 0.28);
        transition: all 0.22s ease;
        text-decoration: none;
    }

.hd-hero-cta a:hover {
            background: #fff;
            color: var(--dt-teal-deep) !important;
        }

        .hd-hero-cta a svg {
            flex-shrink: 0;
        }

.hd-hero h1 {
    font-size: clamp(1.55rem, 4vw, 2.35rem);
    font-weight: 900;
    line-height: 1.45;
    margin: 0 0 8px;
}

.hd-hero .hd-type-caret {
    display: inline-block;
    width: 3px;
    height: 1.05em;
    margin-inline-start: 5px;
    background: currentColor;
    vertical-align: -0.15em;
    border-radius: 2px;
    animation: hd-type-blink 1s steps(2, start) infinite;
    opacity: 1;
}

@keyframes hd-type-blink {
    50% {
        opacity: 0;
    }
}

.hd-hero .hd-hero-sub {
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    opacity: 0.92;
    margin-bottom: 26px;
    font-weight: 400;
}

/* جعبه جستجو */
.hd-hero-search {
    background: #fff;
    border-radius: 60px;
    padding: 10px;
    display: flex;
    align-items: stretch;
    gap: 8px;
    box-shadow: 0 26px 60px -22px rgba(0, 0, 0, 0.5);
    max-width: 900px;
    flex-wrap: wrap;
    margin-inline: auto;
}

.hd-hero-search .form-group {
    margin: 0;
    flex: 1 1 220px;
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 40px;
}

    .hd-hero-search .form-group.hd-select-group {
        flex-basis: 190px;
        flex-grow: 0;
        background: #eef4f6;
        border: 1px solid #dbe6ea;
    }

        .hd-hero-search .form-group.hd-select-group:hover,
        .hd-hero-search .form-group.hd-select-group:focus-within {
            background: #e6f0f3;
            border-color: #b9d0da;
        }

    .hd-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

    .hd-navbar-inner .nav-list-container {
        flex: 1;
    }

.hd-hero-search .form-group .hd-select-caret {
    left: 18px;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    color: #9aa7b5;
    pointer-events: none;
    z-index: 3;
}

.hd-hero-search .form-group .hd-fld-ico {
        position: absolute;
        right: 18px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--dt-primary);
        z-index: 3;
    }

.hd-hero-search input,
.hd-hero-search select {
    width: 100%;
    height: 54px;
    border: none;
    background: transparent;
    padding: 0 46px 0 16px;
    font-size: 0.95rem;
    color: var(--dt-text);
    border-radius: 40px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

    .hd-hero-search input::placeholder {
        color: #9aa7b5;
    }

.hd-hero-search .hd-hero-search-btn {
    height: 54px;
    padding: 0 34px;
    border: none;
    border-radius: 40px;
    background: var(--dt-grad-live);
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: all 0.22s ease;
    white-space: nowrap;
    box-shadow: 0 10px 24px -10px rgba(255, 138, 102, 0.6);
}

    .hd-hero-search .hd-hero-search-btn:hover {
        filter: brightness(1.08);
        transform: translateY(-1px);
    }

/* آمار */
.hd-hero-stats {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 34px;
}

    .hd-hero-stats .hd-stat {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        text-align: right;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: 20px;
        padding: 10px 18px 10px 22px;
    }

        .hd-hero-stats .hd-stat .hd-stat-ico {
            width: 46px;
            height: 46px;
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.16);
            border: 1px solid rgba(255, 255, 255, 0.3);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
        }

        .hd-hero-stats .hd-stat b {
            font-size: 1.35rem;
            font-weight: 900;
            display: block;
            line-height: 1.15;
        }

        .hd-hero-stats .hd-stat span {
            font-size: 0.83rem;
            opacity: 0.9;
        }

@media (max-width: 767px) {
    .hd-hero {
        padding: 34px 12px 96px;
    }

    .hd-hero-search {
        border-radius: 24px;
    }

        .hd-hero-search .hd-hero-search-btn {
            width: 100%;
            justify-content: center;
        }

    .hd-hero-stats .hd-stat b {
        font-size: 1.1rem;
    }
}

/* ============================================================
   کارت خدمات
   ============================================================ */
.hd-services {
    margin-top: -74px;
    padding-bottom: 40px;
}

    .hd-services .card {
        border: 1px solid var(--dt-border);
        border-radius: var(--dt-radius);
        box-shadow: var(--dt-shadow-sm);
        transition: transform 0.25s ease, box-shadow 0.25s ease;
        height: 100%;
    }

        .hd-services .card:hover {
            transform: translateY(-6px);
            box-shadow: var(--dt-shadow);
        }

        .hd-services .card .card-body {
            padding: 22px;
        }

.hd-svc-ico {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--dt-grad-soft);
    color: var(--dt-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 14px;
}

    .hd-svc-ico.dark {
        background: var(--dt-grad);
        color: #fff;
    }

.hd-services .card h5 {
    font-weight: 800;
    color: var(--dt-secondary, #1b3a5c);
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.hd-services .card p {
    color: var(--dt-muted);
    font-size: 0.88rem;
    line-height: 1.9;
    margin-bottom: 0;
}

.hd-services .card a.stretched-link {
    color: inherit;
}

.hd-services .card .hd-svc-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--dt-primary) !important;
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 12px;
    text-decoration: none;
}

/* ============================================================
   بخش عمومی سایت
   ============================================================ */
.hd-section {
    padding: 34px 0 10px;
}

.hd-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

    .hd-section-title h2 {
        font-size: 1.4rem;
        font-weight: 900;
        color: var(--dt-secondary, #1b3a5c);
        margin: 0;
        position: relative;
        padding-right: 18px;
    }

        .hd-section-title h2::before {
            content: "";
            position: absolute;
            right: 0;
            top: 4px;
            bottom: 4px;
            width: 5px;
            border-radius: 5px;
            background: var(--dt-grad);
        }

    .hd-section-title a {
        color: var(--dt-primary) !important;
        font-weight: 600;
        font-size: 0.88rem;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

/* تخصص‌ها */
.hd-skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}

.hd-skill-card {
    background: #fff;
    border: 1px solid var(--dt-border);
    border-radius: var(--dt-radius);
    text-decoration: none;
    box-shadow: var(--dt-shadow-sm);
    overflow: hidden;
    text-align: center;
    padding-bottom: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    color: inherit;
}

    .hd-skill-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--dt-shadow);
        color: inherit;
        text-decoration: none;
    }

    .hd-skill-card img {
        width: 100%;
        height: 110px;
        object-fit: contain;
        padding: 10px 8px;
    }

    .hd-skill-card span {
        display: block;
        font-size: 0.88rem;
        font-weight: 700;
        color: var(--dt-text);
        padding: 10px 8px 2px;
    }

/* شهرها */
.hd-city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}

.hd-city-card {
    background: #fff;
    border: 1px solid var(--dt-border);
    border-radius: var(--dt-radius-sm);
    box-shadow: var(--dt-shadow-sm);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.22s ease;
}

    .hd-city-card:hover {
        border-color: var(--dt-primary);
        transform: translateY(-3px);
    }

    .hd-city-card .hd-city-name {
        font-weight: 800;
        color: var(--dt-text);
        display: flex;
        align-items: center;
        gap: 9px;
    }

        .hd-city-card .hd-city-name .fa {
            color: var(--dt-primary);
        }

    .hd-city-card .hd-city-count {
        background: var(--dt-grad-soft);
        color: var(--dt-primary);
        font-size: 0.78rem;
        font-weight: 700;
        padding: 4px 10px;
        border-radius: 30px;
        white-space: nowrap;
    }

/* ============================================================
   کارت پزشک (دکترتو استایل)
   ============================================================ */
.hd-doctor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.hd-doctor-card {
    background: #fff;
    border: 1px solid var(--dt-border);
    border-radius: var(--dt-radius);
    box-shadow: var(--dt-shadow-sm);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

    .hd-doctor-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--dt-shadow);
    }

.hd-doctor-head {
    position: relative;
    background: var(--dt-grad-soft);
    text-align: center;
    padding: 14px 14px 0;
}

.hd-doctor-head img {
        width: 108px;
        height: 108px;
        object-fit: cover;
        border-radius: 50%;
        border: 4px solid #fff;
        box-shadow: var(--dt-shadow-sm);
        background: #fff;
    }

    @media (max-width: 575px) {
        .hd-doctor-head img {
            width: 112px !important;
            height: 112px !important;
            max-width: 112px;
            border-radius: 50%;
        }
    }

    .hd-doctor-head .hd-doctor-city {
        position: absolute;
        top: 12px;
        right: 12px;
        background: rgba(255, 255, 255, 0.9);
        color: var(--dt-primary-dark);
        font-size: 0.72rem;
        font-weight: 700;
        padding: 4px 10px;
        border-radius: 30px;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

.hd-doctor-body {
    padding: 14px 16px 16px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hd-doctor-body h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--dt-secondary, #1b3a5c);
    margin: 0 0 2px;
}

.hd-doctor-body .hd-doctor-skill {
    color: var(--dt-primary);
    font-size: 0.82rem;
    font-weight: 600;
}

.hd-doctor-rating {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--dt-secondary, #1b3a5c);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

    .hd-doctor-rating .fa-star {
        color: #e2e8ef;
    }

        .hd-doctor-rating .fa-star.checked {
            color: var(--dt-orange);
        }

    .hd-doctor-rating small {
        color: var(--dt-muted);
    }

.hd-doctor-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin-top: 9px;
}

    .hd-doctor-badges .badge {
        font-size: 0.66rem;
        font-weight: 600;
        padding: 4px 9px;
        border-radius: 30px;
        background: var(--dt-grad-soft);
        color: var(--dt-primary-dark);
    }

        .hd-doctor-badges .badge.on {
            background: var(--dt-primary);
            color: #fff;
        }

.hd-doctor-action {
    margin-top: 14px;
}

.hd-doctor-action .btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 220px;
        margin-inline: auto;
        border-radius: 40px;
        padding: 9px 18px;
        font-weight: 700;
        font-size: 0.85rem;
        border: none;
        background: var(--dt-grad-live);
        color: #fff;
        transition: all 0.22s ease;
    }

        .hd-doctor-action .btn:hover {
            filter: brightness(1.07);
            transform: translateY(-1px);
        }

/* ============================================================
   بنر مشاوره آنلاین
   ============================================================ */
.hd-banner-consult {
    background: var(--dt-grad);
    border-radius: var(--dt-radius);
    padding: 30px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    color: #fff !important;
    margin: 26px 0 6px;
    box-shadow: var(--dt-shadow);
}

    .hd-banner-consult h3 {
        font-weight: 900;
        margin: 0 0 6px;
        font-size: 1.25rem;
    }

    .hd-banner-consult p {
        margin: 0;
        opacity: 0.92;
        font-size: 0.9rem;
    }

    .hd-banner-consult .btn {
        background: #fff;
        color: var(--dt-teal-deep);
        font-weight: 800;
        border-radius: 40px;
        padding: 11px 26px;
        border: none;
    }

.hd-banner-consult .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.4);
        }

@media (max-width: 575px) {
    .hd-banner-consult {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        align-items: center;
        padding: 26px 20px;
    }

        .hd-banner-consult h3,
        .hd-banner-consult p {
            text-align: center;
        }

        .hd-banner-consult .btn {
            width: 100%;
            max-width: 260px;
            justify-content: center;
        }
}

/* ============================================================
   بخش مطالب سلامت (آخرین مطالب)
   ============================================================ */
.hd-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.hd-blog-card {
    background: #fff;
    border: 1px solid var(--dt-border);
    border-radius: var(--dt-radius);
    box-shadow: var(--dt-shadow-sm);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .hd-blog-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--dt-shadow);
    }

    .hd-blog-card img {
        width: 100%;
        height: 150px;
        object-fit: cover;
    }

    .hd-blog-card .hd-blog-body {
        padding: 14px 16px;
    }

    .hd-blog-card h5 {
        font-size: 0.95rem;
        font-weight: 800;
        color: var(--dt-secondary, #1b3a5c);
        margin: 0 0 6px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hd-blog-card p {
        color: var(--dt-muted);
        font-size: 0.82rem;
        line-height: 1.8;
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.hd-blog-card a {
    color: inherit;
}

/* ============================================================
   تسک‌بار (نکات / سرفصل‌ها)
   ============================================================ */
.hd-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

    .hd-tags-cloud a {
        background: #fff;
        border: 1px solid var(--dt-border);
        color: var(--dt-text) !important;
        border-radius: 30px;
        padding: 7px 15px;
        font-size: 0.82rem;
        font-weight: 600;
        transition: all 0.2s ease;
        text-decoration: none;
    }

        .hd-tags-cloud a:hover {
            background: var(--dt-grad-soft);
            border-color: var(--dt-primary);
            color: var(--dt-primary) !important;
        }

/* ============================================================
   صفحات داخلی (پروفایل پزشک/کلینیک، جستجو، مطالب)
   ============================================================ */
.page-heading {
    background: var(--dt-grad-soft);
    border: 1px solid var(--dt-border);
    border-radius: var(--dt-radius);
    padding: 22px 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

    .page-heading h1 {
        font-size: 1.3rem;
        font-weight: 900;
        color: var(--dt-secondary, #1b3a5c);
        margin: 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .page-heading .fa {
        color: var(--dt-primary);
    }

    .page-heading .breadcrumb {
        background: transparent;
        margin: 0;
        padding: 0;
    }

        .page-heading .breadcrumb-item,
        .page-heading .breadcrumb-item a {
            color: var(--dt-muted);
            font-size: 0.85rem;
        }

            .page-heading .breadcrumb-item.active {
                color: var(--dt-primary);
                font-weight: 700;
            }

/* پروفایل پزشک */
.hd-profile-card {
    background: #fff;
    border: 1px solid var(--dt-border);
    border-radius: var(--dt-radius);
    box-shadow: var(--dt-shadow-sm);
    overflow: hidden;
    margin-bottom: 18px;
}

.hd-profile-head {
    background: var(--dt-grad-soft);
    padding: 22px 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    align-items: center;
    border-bottom: 1px solid var(--dt-border);
}

    .hd-profile-head .hd-profile-avatar {
        width: 120px;
        height: 120px;
        border-radius: 24px;
        object-fit: cover;
        border: 4px solid #fff;
        box-shadow: var(--dt-shadow-sm);
        background: #fff;
    }

    .hd-profile-head .hd-profile-meta h1 {
        font-size: 1.35rem;
        font-weight: 900;
        color: var(--dt-secondary, #1b3a5c);
        margin: 0 0 6px;
    }

    .hd-profile-head .hd-profile-meta .hd-skill-tag {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: var(--dt-primary);
        color: #fff;
        border-radius: 30px;
        padding: 5px 14px;
        font-size: 0.82rem;
        font-weight: 600;
    }

    .hd-profile-head .hd-profile-meta small {
        color: var(--dt-muted);
        font-size: 0.82rem;
    }

.hd-profile-actions {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .hd-profile-actions .btn {
        border-radius: 40px;
        padding: 9px 18px;
        font-weight: 700;
        font-size: 0.85rem;
        border: none;
        background: #fff;
        color: var(--dt-primary-dark) !important;
        box-shadow: 0 4px 14px -8px rgba(27, 58, 92, 0.3);
        display: inline-flex;
        align-items: center;
        gap: 7px;
    }

        .hd-profile-actions .btn.online {
            background: var(--dt-grad);
            color: #fff !important;
        }

        .hd-profile-actions .btn span.dot {
            width: 9px;
            height: 9px;
            border-radius: 50%;
            display: inline-block;
            background: #22c55e;
            box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
        }

        .hd-profile-actions .btn span.dot.off {
            background: #9aa7b5;
            box-shadow: none;
        }

.hd-profile-section {
    padding: 18px 24px;
    border-bottom: 1px solid var(--dt-border);
}

    .hd-profile-section h6 {
        font-weight: 800;
        color: var(--dt-secondary, #1b3a5c);
        margin-bottom: 10px;
        font-size: 0.95rem;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .hd-profile-section h6 .fa {
            color: var(--dt-primary);
        }

    .hd-profile-section p {
        color: var(--dt-text);
        font-size: 0.9rem;
        line-height: 2;
        margin: 0;
    }

    .hd-profile-section .hd-contact-line {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 6px;
        font-size: 0.88rem;
    }

        .hd-profile-section .hd-contact-line .fa {
            color: var(--dt-primary);
            margin-top: 4px;
        }

        .hd-profile-section .hd-contact-line a {
            color: var(--dt-primary) !important;
        }

.hd-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .hd-service-tags a {
        background: var(--dt-grad-soft);
        color: var(--dt-primary-dark) !important;
        border-radius: 30px;
        padding: 6px 14px;
        font-size: 0.8rem;
        font-weight: 600;
        transition: all 0.2s ease;
    }

        .hd-service-tags a:hover {
            background: var(--dt-primary);
            color: #fff !important;
        }

.hd-social-row {
    display: flex;
    gap: 8px;
}

    .hd-social-row a {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: var(--dt-grad-soft);
        color: var(--dt-primary) !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.05rem;
        transition: all 0.2s ease;
    }

        .hd-social-row a:hover {
            background: var(--dt-primary);
            color: #fff !important;
        }

/* همگام‌سازی کارت‌های قدیمی با طراحی جدید */
.WhiteCard.left-card {
    border: 1px solid var(--dt-border);
    border-radius: var(--dt-radius);
    box-shadow: var(--dt-shadow-sm);
    padding-bottom: 12px;
}

    .WhiteCard.left-card h5 {
        padding: 18px 20px 0 !important;
        font-weight: 800;
        color: var(--dt-secondary, #1b3a5c);
    }

    .WhiteCard.left-card > .p-2.text-center a {
        display: block;
        padding: 8px 12px;
        border-radius: var(--dt-radius-sm);
        transition: background 0.2s ease;
    }

        .WhiteCard.left-card > .p-2.text-center a:hover {
            background: var(--dt-grad-soft);
        }

    .WhiteCard.left-card img.doctor-image {
        border-radius: 14px;
    }

    .WhiteCard.left-card hr {
        border-color: var(--dt-border);
        margin: 10px 20px !important;
    }

.WhiteCard .card-title {
    color: var(--dt-secondary, #1b3a5c);
    font-weight: 800;
}

.rating .star-rating,
.my-rating-ScoreAvg {
    justify-content: center;
}

/* کارت‌های تولیدشده با JS (جستجو و آرشیو) */
#dvSearchResult .WhiteCard,
#dvSearchResult > div > .WhiteCard,
.row .WhiteCard.mt-3 {
    color: var(--dt-text) !important;
    border: 1px solid var(--dt-border);
    box-shadow: var(--dt-shadow-sm) !important;
}

    #dvSearchResult .WhiteCard img {
        border-radius: 12px;
    }

    #dvSearchResult .WhiteCard h6 {
        color: var(--dt-secondary, #1b3a5c);
    }

.pagination > li > a,
#example .pagination > li > a,
#paging .pagination > li > a {
    border-radius: 10px;
    margin: 0 3px;
    color: var(--dt-primary) !important;
    border-color: var(--dt-border);
}

.pagination > li.active > a {
    background: var(--dt-grad) !important;
    border-color: transparent !important;
    color: #fff !important;
}

@media (max-width: 575px) {
    .hd-profile-head {
        padding: 16px;
    }

        .hd-profile-head .hd-profile-avatar {
            width: 88px;
            height: 88px;
        }

    .hd-profile-section {
        padding: 14px 16px;
    }
}

/* ============================================================
   انتخاب برای صفحات داخلی و کارت‌های اسلیکری قدیمی
   ============================================================ */
@media (max-width: 575px) {
    .hd-skill-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .hd-skill-card img {
        height: 80px;
    }

    .hd-city-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

.hd-doctor-grid,
    .hd-blog-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

/* در موبایل‌های کوچک کارت پزشک تمام‌عرض تا دکمه نوبت شکسته/دوربری نشود */
@media (max-width: 480px) {
    .hd-doctor-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hd-doctor-card .hd-doctor-action .btn,
    .hd-doctor-card a.btn {
        white-space: nowrap;
        font-size: 0.92rem;
        padding: 10px 18px;
        max-width: 250px;
        margin-inline: auto;
        width: auto;
        box-sizing: border-box;
        background: var(--dt-grad-live) !important;
        box-shadow: 0 8px 22px -8px rgba(255, 138, 102, 0.55);
        transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    }

    .hd-doctor-card .hd-doctor-action .btn:hover,
    .hd-doctor-card a.btn:hover {
        filter: brightness(1.07);
        transform: translateY(-1px);
        box-shadow: 0 12px 26px -8px rgba(14, 165, 200, 0.6);
    }
}

/* ============================================================
   اصلاحات بازخورد کاربر: اسلایدر، فوتر، موبایل
   ============================================================ */

/* وسط چین شدن متن‌های اسلایدر */
.slick .bannerHeader,
.slick .bannerP {
    text-align: center;
}

    .slick .bannerHeader {
        font-size: clamp(1.2rem, 3vw, 1.7rem);
    }

.slick .slide .row > div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* پاراگراف حقوقی فوتر */
.hd-footer-note {
    background: #0c1c2c;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
}

    .hd-footer-note p {
        font-size: 0.78rem;
        line-height: 2;
        color: #8fa6ba;
        margin: 0;
        text-align: justify;
    }

/* جای خالی سمت چپ باکس جستجو برای فلش‌های کشویی */
.hd-hero-search select {
    padding-right: 46px;
    padding-left: 34px;
}

/* راست‌چین کردن و وسط‌چین‌کردن عمودی متن دکمه‌های ناوبار */
.hd-navbar.navbar {
    box-sizing: border-box;
}

.hd-navbar .hd-menu .btnCustom,
.hd-navbar .hd-nav-actions .btnCustom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    height: auto;
    min-width: auto;
    line-height: 1.4;
    padding: 9px 16px;
    white-space: nowrap;
}

/* ناوبار تک‌خطی و وسط‌چین روی دسکتاپ (بدون سربیرون‌ریختن منو به ردیف دوم) */
@media (min-width: 901px) {
    .hd-navbar .hd-menu {
        flex-wrap: nowrap;
    }

    .hd-navbar .nav-list-container {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        min-width: 0;
    }

        .hd-navbar .nav-list-container::-webkit-scrollbar {
            display: none;
        }
}

/* جمع‌وجور کردن ناوبار در عرض‌های متوسط تا منو روی یک ردیف بماند */
@media (min-width: 901px) and (max-width: 1330px) {
    .hd-navbar.navbar {
        padding-left: 0.7rem;
        padding-right: 0.7rem;
    }

    .hd-brand img.logo {
        width: 48px;
        height: 48px;
        padding: 4px;
    }

    .hd-brand-name {
        font-size: 1rem;
    }

    .hd-navbar .hd-menu,
    .hd-navbar .nav-list-container {
        gap: 3px;
    }

    .hd-navbar .hd-menu .btnCustom,
    .hd-navbar .hd-nav-actions .btnCustom {
        padding: 8px 11px;
        font-size: 0.85rem;
    }

    .hd-navbar.navbar {
        overflow-x: hidden;
    }

    .hd-navbar-inner.container {
        min-width: 0;
    }

    .hd-nav-actions {
        gap: 6px;
    }
}

/* هدربار تک‌خطی روی موبایل */
@media (max-width: 900px) {
    .hd-navbar.navbar {
        position: relative;
    }

    .hd-navbar .hd-menu .btnCustom,
    .hd-navbar .hd-nav-actions .btnCustom {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
    }

    .hd-navbar .toggler {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1005;
        margin-inline-start: 0 !important;
        order: unset !important;
    }

    .hd-navbar-inner {
        width: 100%;
    }

    .hd-navbar .nav-list-container {
        top: 66px;
    }
}

/* هیرو و جعبه جستجو روی موبایل */
@media (max-width: 575px) {
    .hd-hero {
        padding: 34px 0 80px;
    }

    .hd-hero-cta {
        gap: 8px;
        justify-content: center;
    }

        .hd-hero-cta a {
            padding: 6px 10px;
            font-size: 0.8rem;
        }

.hd-hero-search {
        border-radius: 22px;
    }

        .hd-hero-search .form-group {
            flex: 1 1 100%;
        }

        .hd-hero-search .form-group.hd-select-group {
            flex-basis: 100%;
            flex-grow: 1;
        }

        .hd-hero-search .hd-hero-search-btn {
            width: auto;
            max-width: 260px;
            flex: 0 1 260px;
            margin-inline: auto;
            padding: 0 26px;
            justify-content: center;
        }

    .hd-hero-stats {
        flex-wrap: wrap;
        gap: 10px;
    }

        .hd-hero-stats .hd-stat {
            flex: 1 1 45%;
        }

    .hd-section-title h2 {
        font-size: 1.15rem;
    }
}

/* نمایش اسلایکرها و کارت مطالب روی موبایل
   (site.min.css آن‌ها را در عرض کمتر از 480px مخفی می‌کرد) */
@media (max-width: 480px) {
    .slick,
    .contents,
    .contents2 {
        display: block !important;
    }

    .slick .slide {
        width: 100% !important;
        height: auto !important;
        margin: 0 0 12px !important;
        border-radius: 18px !important;
    }

    .slick .bannerHeader {
        font-size: 1.15rem;
        padding-top: 18px !important;
    }

    .slick .bannerP {
        font-size: 0.85rem;
    }
}

/* ---------- فوتر حرفه‌ای ---------- */
.hd-footer {
    margin-top: 56px;
    box-shadow: 0 -6px 24px rgba(10, 30, 50, 0.10);
}

.hd-footer-main {
    background: linear-gradient(160deg, #132b41 0%, #0e1f31 55%, #0d5f5c 180%);
    padding: 52px 0 34px;
    position: relative;
}

    .hd-footer-main::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--hd-accent) 0%, #1c8a6c 60%, var(--hd-primary-light) 100%);
        opacity: 0.85;
    }

.hd-fcol h5 {
    font-size: 1.04rem;
    margin-bottom: 20px;
}

    .hd-fcol h5::after {
        width: 46px;
        height: 3px;
    }

.hd-footer-brand h4 {
    font-size: 1.25rem;
}

.hd-footer-brand img {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.hd-footer-social a {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(2px);
}

    .hd-footer-social a:hover {
        background: var(--hd-accent);
        border-color: var(--hd-accent);
        box-shadow: 0 8px 18px rgba(28, 138, 108, 0.35);
    }

/* نماد اعتماد */
.hd-footer-enamad a {
    display: inline-block;
    background: #fff;
    border-radius: 12px;
    padding: 6px;
    line-height: 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

    .hd-footer-enamad img {
        max-width: 96px;
        height: auto;
    }

/* نوار انتهایی */
.hd-footer-bottom {
    background: #091a29;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

    .hd-footer-bottom .hd-footer-bottom-inner {
        font-size: 0.82rem;
    }

    .hd-footer-bottom a {
        color: var(--hd-accent) !important;
    }

/* موبایل */
@media (max-width: 767px) {
    .hd-footer-main {
        padding: 40px 0 24px;
    }

    .hd-footer-brand h4 {
        font-size: 1.1rem;
    }

    .hd-footer-bottom .hd-footer-bottom-inner {
        justify-content: center;
        text-align: center;
    }
}


/* ============================================================
   فوتر هنری و حرفه‌ای - ویرایش کامل
   ============================================================ */
.hd-footer {
    margin-top: 0;
    position: relative;
    overflow: hidden;
    color: #d7e3ee;
    direction: rtl;
    background: transparent;
}

/* موج منحنی بالای فوتر */
.hd-footer-wave {
    position: relative;
    height: 60px;
    line-height: 0;
    background: transparent;
}

.hd-footer-wave svg {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* بدنه اصلی */
.hd-footer-main {
    background: linear-gradient(165deg, #0b2036 0%, #0e2a41 48%, #0d5f5c 180%);
    padding: 40px 0 46px;
    position: relative;
}

/* جلوهای نوری (گلوی) تزئینی */
.hd-footer-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.22;
    pointer-events: none;
    z-index: 0;
}

.hd-footer-glow-a {
    width: 420px;
    height: 420px;
    right: -120px;
    top: -140px;
    background: radial-gradient(circle, #1c8a6c, transparent 70%);
}

.hd-footer-glow-b {
    width: 380px;
    height: 380px;
    left: -100px;
    bottom: -160px;
    background: radial-gradient(circle, #155a8a, transparent 70%);
}

.hd-footer-main .container {
    position: relative;
    z-index: 1;
}

/* شبکه چند ستونه - رفع حالت تک‌ستونه */
.hd-footer-grid {
    display: grid;
    grid-template-columns: 3fr 2fr 2fr 2.5fr;
    gap: 34px;
    align-items: start;
}

.hd-fcol {
    min-width: 0;
}

    .hd-fcol h5 {
        color: #ffffff;
        font-size: 1.06rem;
        margin-bottom: 22px;
        font-weight: 800;
        position: relative;
        padding-bottom: 12px;
    }

        .hd-fcol h5::before {
            content: "";
            position: absolute;
            right: 0;
            bottom: 0;
            width: 34px;
            height: 3px;
            border-radius: 3px;
            background: linear-gradient(90deg, var(--hd-accent), transparent);
        }

    .hd-fcol h5::after {
        content: "";
        position: absolute;
        right: 42px;
        bottom: 0;
        width: 12px;
        height: 3px;
        border-radius: 3px;
        background: rgba(255, 255, 255, 0.18);
    }

    .hd-fcol p,
    .hd-fcol li {
        color: #c6d4e1;
        font-size: 0.89rem;
        line-height: 2;
    }

/* برند */
.hd-footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

    .hd-footer-brand img {
        width: 66px;
        height: 66px;
        object-fit: contain;
        border-radius: 18px;
        background: linear-gradient(135deg, #ffffff, #eef6fb);
        padding: 8px;
        box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
        flex-shrink: 0;
    }

.hd-footer-brand-text h4 {
    color: #ffffff;
    font-weight: 800;
    margin: 0 0 4px;
    font-size: 1.35rem;
    letter-spacing: -0.2px;
}

.hd-footer-slogan {
    display: block;
    font-size: 0.78rem;
    color: var(--hd-accent);
    font-weight: 600;
    opacity: 0.95;
}

.hd-footer-desc {
    font-size: 0.86rem !important;
    line-height: 2.1 !important;
    color: #aebfce !important;
    text-align: justify;
    margin-bottom: 6px;
}

/* سوشال */
.hd-footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

    .hd-footer-social a {
        color: #fff !important;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.14);
        width: 42px;
        height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 13px;
        font-size: 1.05rem;
        transition: all 0.25s ease;
        position: relative;
        overflow: hidden;
    }

        .hd-footer-social a::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, var(--hd-primary), #155a8a);
            opacity: 0;
            transition: opacity 0.25s ease;
        }

        .hd-footer-social a i {
            position: relative;
            z-index: 1;
        }

        .hd-footer-social a:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 22px -8px rgba(28, 138, 108, 0.55);
            border-color: transparent;
        }

            .hd-footer-social a:hover::after {
                opacity: 1;
            }

/* لینک‌ها */
.hd-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .hd-footer-links li {
        margin-bottom: 5px;
    }

.hd-footer-links a {
        color: #c6d4e1 !important;
        text-decoration: none;
        transition: all 0.22s ease;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        position: relative;
    }

        .hd-footer-links a::before {
            content: "";
            width: 6px;
            height: 6px;
            border-left: 1.6px solid var(--hd-primary-light);
            border-bottom: 1.6px solid var(--hd-primary-light);
            transform: rotate(135deg);
            margin-top: -1px;
            opacity: 0.85;
            transition: all 0.22s ease;
            flex-shrink: 0;
        }

        .hd-footer-links a:hover {
            color: var(--hd-accent) !important;
            padding-right: 8px;
        }

            .hd-footer-links a:hover::before {
                border-color: var(--hd-accent);
                margin-right: -3px;
            }

/* تماس */
.hd-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 11px;
    color: #c6d4e1;
}

.hd-contact-ico {
    color: var(--hd-accent);
    margin-top: 4px;
    min-width: 16px;
    flex-shrink: 0;
}

/* کارت نماد اعتماد */
.hd-footer-badges {
    margin-top: 22px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hd-badge-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 10px 12px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    min-width: 88px;
}

.hd-badge-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 14px 26px -12px rgba(0, 0, 0, 0.5);
}

.hd-badge-enamad img {
    width: 78px;
    height: auto;
}

.hd-badge-senfi img {
    width: 62px;
    height: auto;
    border-radius: 8px;
}

.hd-badge-park svg {
    display: block;
}

.hd-badge-card span {
    font-size: 0.66rem;
    color: #c6d4e1;
    font-weight: 600;
    text-align: center;
    line-height: 1.5;
}

/* نوار متن قانونی */
.hd-footer-note {
    background: #0a1a2b;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 20px 0;
    position: relative;
    z-index: 1;
}

    .hd-footer-note p {
        font-size: 0.76rem;
        line-height: 2;
        color: #8fa6ba;
        margin: 0;
        text-align: justify;
    }

/* نوار انتهایی */
.hd-footer-bottom {
    background: #071626;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1;
}

    .hd-footer-bottom .hd-footer-bottom-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 8px 16px;
        font-size: 0.82rem;
        color: #9fb2c4;
    }

    .hd-footer-bottom a {
        color: var(--hd-accent) !important;
        font-weight: 600;
    }

/* واکنش‌گرا */
@media (max-width: 1024px) {
    .hd-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 26px;
    }
}

@media (max-width: 575px) {
    .hd-footer-wave {
        height: 40px;
    }

    .hd-footer-main {
        padding: 30px 0 34px;
    }

    .hd-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hd-fcol-brand {
        order: -1;
    }

    .hd-footer-brand img {
        width: 58px;
        height: 58px;
    }

    .hd-footer-bottom .hd-footer-bottom-inner {
        justify-content: center;
        text-align: center;
    }
}
/* حذف نوار قدیمی بالای فوتر - موج جای آن است */
.hd-footer-main::before {
    display: none;
}

.hd-footer-enamad {
    display: none;
}

/* ---------- رفع زیرخط لینک‌ها و دکمه‌ها ---------- */
.hd-archive-btn,
.hd-archive-btn:focus,
.hd-archive-btn:hover,
.hd-doctor-card a,
.hd-doctor-card .btn,
.hd-doctor-grid .btn,
.WhiteCard a,
.WhiteCard a:focus,
.WhiteCard a:hover,
a.btn,
a.btn:focus,
a.btn:hover {
    text-decoration: none !important;
}

    .hd-doctor-card .btn,
    .hd-doctor-grid .btn {
        color: #fff !important;
    }

/* ---------- گرید بوت‌استرپ‌ (برای آرشیو و صفحات فهرست) ---------- */
@media (min-width: 768px) {
    .row .col-md-1,
    .col-md-1 {
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }

    .row .col-md-2,
    .col-md-2 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .row .col-md-3,
    .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .row .col-md-4,
    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .row .col-md-5,
    .col-md-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .row .col-md-6,
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .row .col-md-7,
    .col-md-7 {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .row .col-md-8,
    .col-md-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .row .col-md-9,
    .col-md-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .row .col-md-10,
    .col-md-10 {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .row .col-md-11,
    .col-md-11 {
        flex: 0 0 91.666667%;
        max-width: 91.666667%;
    }

    .row .col-md-12,
    .col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ---------- کارت‌های مجله / مقالات ---------- */
.hd-archive-row .hd-archive-btn,
.hd-archive-row a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hd-archive-row {
    text-align: center;
}

/* اسلایکر مطالب — فاصله بین کارت‌ها */
.contents .slick-track,
.contents2 .slick-track {
    display: flex;
}

.contents .slick-slide,
.contents2 .slick-slide {
    height: auto;
    padding: 0;
    margin: 0 12px;
}

    .contents .slick-slide .WhiteCard,
    .contents2 .slick-slide .WhiteCard {
        margin: 0;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

        .contents .slick-slide .WhiteCard > a,
        .contents2 .slick-slide .WhiteCard > a {
            display: flex;
            flex-direction: column;
            height: 100%;
        }

            .contents .slick-slide .WhiteCard > a > p,
            .contents2 .slick-slide .WhiteCard > a > p {
                margin-top: auto;
            }

/* ---------- پاگینیشن ---------- */
#paging.pagination,
.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    direction: rtl !important;
    padding: 0;
}

    .pagination > li {
        display: inline-flex;
        list-style: none;
    }

        .pagination > li > a,
        .pagination > li > span {
            float: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 38px;
            height: 38px;
            padding: 0 12px;
            margin: 0;
            border-radius: 10px;
            border: 1px solid var(--dt-border, #dce6ee);
            background: var(--dt-white, #fff);
            color: var(--dt-secondary, #35607b);
            font-weight: 600;
            text-decoration: none !important;
            transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
        }

            .pagination > li > a:hover,
            .pagination > li > span:hover {
                background: var(--dt-soft, #eaf4f6);
                color: var(--dt-primary, #1595a3);
                transform: translateY(-2px);
                box-shadow: 0 6px 14px -8px rgba(14, 124, 121, 0.4);
            }

        .pagination > li.active > a,
        .pagination > li.active > span {
            background: var(--dt-grad, linear-gradient(135deg, #1595a3, #1babc0));
            border-color: transparent !important;
            color: #fff !important;
            box-shadow: 0 6px 16px -8px rgba(14, 124, 121, 0.5);
        }

        .pagination > li.disabled > a,
        .pagination > li.disabled > span {
            opacity: 0.45;
            cursor: not-allowed;
            box-shadow: none;
            transform: none;
        }

            .pagination > li.disabled > a:hover,
            .pagination > li.disabled > span:hover {
                background: var(--dt-white, #fff);
                color: var(--dt-secondary, #35607b);
                transform: none;
                box-shadow: none;
            }

/* رفع چیدمان دکمه‌های ورود/ثبت‌نام داخل منوی موبایل
   (rule اینلاین _Layout با display:flow-root برنده است؛ این specificity بالاتر دارد) */
@media (max-width: 900px) {
    .hd-navbar .hd-menu .btnCustom,
    .hd-navbar .hd-nav-actions .btnCustom {
        display: flex !important;
        box-sizing: border-box;
        width: 100%;
    }

    .hd-navbar .hd-menu .btnCustom {
        align-items: center;
        justify-content: flex-start;
        flex-direction: row;
        margin: 0 0 4px;
        padding: 10px 8px;
        border-radius: 10px;
    }

    .hd-navbar .hd-nav-actions .btnCustom {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        height: 46px;
        margin: 0 0 10px;
        padding: 0 16px;
        border-radius: 50px;
        font-size: 0.95rem;
        white-space: nowrap;
    }

    .hd-navbar .hd-nav-actions .btnCustom#loginBtn {
        background: transparent !important;
        border: 2px solid #4f46e5;
        color: #4f46e5 !important;
        box-shadow: none;
        font-weight: 700;
    }

    .hd-navbar .hd-nav-actions .btnCustom#registerBtn {
        background: var(--dt-grad-live) !important;
        background-image: var(--dt-grad-live) !important;
        border: none !important;
        color: #fff !important;
        box-shadow: 0 8px 18px -8px rgba(79, 70, 229, 0.5);
    }
}

/* دکمه‌های ورود/ثبت‌نام روی دسکتاپ (ناوبار سفید) هماهنگ با پالت شاد هیرو */
@media (min-width: 901px) {
    .hd-navbar .hd-nav-actions .btnCustom#loginBtn {
        background: transparent !important;
        border: 2px solid #4f46e5;
        color: #4f46e5 !important;
        box-shadow: none;
        font-weight: 700;
    }

        .hd-navbar .hd-nav-actions .btnCustom#loginBtn:hover {
            background: #4f46e5;
            color: #fff !important;
        }

    .hd-navbar .hd-nav-actions .btnCustom#registerBtn {
        background: var(--dt-grad-live) !important;
        border: none;
        color: #fff !important;
        box-shadow: 0 8px 18px -8px rgba(79, 70, 229, 0.5);
        font-weight: 700;
    }

        .hd-navbar .hd-nav-actions .btnCustom#registerBtn:hover {
            filter: brightness(1.06);
        }
}

/* ریست margin پیش‌فرض بدنه (site.min آن را تعریف نکرده بود) */
body {
    margin: 0;
}

/* ---------- سلکت سفارشی هیرو (dropdown داخل کادر) ---------- */
.hd-hero-search .form-group[data-hd-dd] {
    cursor: pointer;
}

.hd-hero-search .hd-dd-select {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.hd-hero-search .hd-dd-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    min-height: 54px;
    padding: 0 46px 0 18px;
    border: none;
    border-radius: 40px;
    background: transparent;
    color: var(--dt-text, #385268);
    font-size: 0.95rem;
    font-family: inherit;
    font-weight: 600;
    text-align: right;
    cursor: pointer;
}

.hd-hero-search .hd-dd-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hd-hero-search .hd-dd-select:focus + .hd-dd-toggle,
.hd-hero-search .hd-dd-toggle:focus-visible {
    outline: 2px solid var(--dt-primary, #1595a3);
    outline-offset: -2px;
}

.hd-hero-search .hd-dd-list {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 60;
    display: none;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--dt-border, #dbe6ea);
    border-radius: 16px;
    box-shadow: 0 18px 42px -18px rgba(14, 74, 96, 0.4);
    max-height: 250px;
    overflow-y: auto;
}

.hd-hero-search .hd-dd-list.hd-dd-open {
    display: block;
}

.hd-hero-search .hd-dd-list li {
    padding: 9px 14px;
    border-radius: 10px;
    color: var(--dt-text, #385268);
    font-size: 0.92rem;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hd-hero-search .hd-dd-list li:hover,
.hd-hero-search .hd-dd-list li.hd-dd-current {
    background: #eef6f8;
    color: var(--dt-primary, #1595a3);
}

.hd-hero-search .hd-dd-list li.hd-dd-opt-default {
    border-top: 1px solid var(--dt-border);
    margin-top: 5px;
    padding-top: 10px;
}

/* ============================================================
   مدال ورود / ثبت‌نام شیشه‌ای (replacement کامل استایل توکار قدیمی)
   ============================================================ */
.subscribeModal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    display: none;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    background: rgba(20, 24, 84, 0.55) !important;
    background-image:
        radial-gradient(900px 480px at 85% -10%, rgba(255, 255, 255, 0.12), transparent 55%),
        radial-gradient(700px 400px at 0% 115%, rgba(147, 51, 234, 0.28), transparent 60%) !important;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    z-index: 10000050;
}

    .subscribeModal.fadeInModal { display: flex; }
    .subscribeModal.fadeOutModal { display: none; }

.subscribeModal #ModalBody {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 14px !important;
    box-sizing: border-box;
}

.subscribeModal #ModalBody > .container.mb-5,
.subscribeModal #ModalBody > .container.mb-5 > .row,
.subscribeModal #ModalBody > .container.mb-5 > .row > .col-md-12.order-md-12 {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.subscribeModal #container {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.subscribeModal #container > .row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.subscribeModal #container > .row > .col-md-12:first-child {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
}

.subscribeModal #container > .row > .loginDiv,
.subscribeModal #container > .row > .registerDiv,
.subscribeModal #container > .row > .confirmDiv,
.subscribeModal #container > .row > .chooseRegisterTypeDiv {
    flex: 0 1 auto !important;
    width: min(430px, 92vw) !important;
    max-width: 430px !important;
    margin: 0 auto !important;
}

.subscribeModal .loginDiv,
.subscribeModal .registerDiv,
.subscribeModal .confirmDiv,
.subscribeModal .chooseRegisterTypeDiv {
    width: min(430px, 92vw) !important;
    max-width: 430px !important;
    background: rgba(255, 255, 255, 0.93) !important;
    border-radius: 22px !important;
    box-sizing: border-box;
    padding: 38px 26px 24px !important;
    box-shadow: 0 40px 90px -24px rgba(30, 27, 75, 0.55) !important;
    border: 1px solid rgba(255, 255, 255, 0.65);
    position: relative;
    text-align: center;
    margin: 0 auto !important;
}

    .subscribeModal .loginDiv .close,
    .subscribeModal .registerDiv .close,
    .subscribeModal .confirmDiv .close,
    .subscribeModal .chooseRegisterTypeDiv .close {
        position: absolute;
        top: 14px !important;
        right: 14px !important;
        left: auto !important;
        bottom: auto !important;
        width: 34px !important;
        height: 34px !important;
        border-radius: 50% !important;
        background: #eef2ff !important;
        color: #4f46e5 !important;
        border: none !important;
        font-size: 1.05rem;
        line-height: 1;
        padding: 0 !important;
        cursor: pointer;
        z-index: 5;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .subscribeModal .loginDiv .close:hover,
        .subscribeModal .registerDiv .close:hover,
        .subscribeModal .confirmDiv .close:hover,
        .subscribeModal .chooseRegisterTypeDiv .close:hover {
            background: #4f46e5 !important;
            color: #fff !important;
        }

/* ورودی‌ها */
.subscribeModal .formRow {
    margin: 0 0 18px;
    border: 0;
}

    .subscribeModal .formRow--item,
    .subscribeModal .formRow .formRow--item {
        position: relative;
        width: 100%;
        margin: 0;
        padding: 0;
    }

        .subscribeModal .formRow--item .formRow--input-wrapper,
        .subscribeModal .formRow .formRow--input-wrapper,
        .subscribeModal label.formRow--input-wrapper {
            position: relative;
            display: block;
            width: 100%;
            margin: 0;
            padding: 0;
        }

        .subscribeModal .formRow--input,
        .subscribeModal .formRow .formRow--input,
        .subscribeModal input.formRow--input,
        .subscribeModal .loginForm input,
        .subscribeModal .registerForm input {
            display: block;
            width: 100% !important;
            box-sizing: border-box;
            height: 52px !important;
            border: 2px solid #e0e7ff !important;
            border-radius: 14px !important;
            background: #fff !important;
            padding: 0 16px !important;
            font-size: 0.95rem;
            font-family: inherit;
            color: var(--dt-text);
            outline: none !important;
            margin: 0 0 14px !important;
            text-align: center;
        }

            .subscribeModal .formRow--input:focus,
            .subscribeModal .formRow--input:focus,
            .subscribeModal .loginForm input:focus {
                border-color: #6366f1 !important;
                box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.14) !important;
            }

/* دکمه اصلی ورود/ثبت‌نام */
.subscribeModal .button,
.subscribeModal button.buttonBlue,
.subscribeModal #LoginBtn,
.subscribeModal #registerBtn
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 50px !important;
    border-radius: 40px !important;
    border: none !important;
    background: var(--dt-grad-live) !important;
    color: #fff !important;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    transition: all 0.22s ease;
}

    .subscribeModal #LoginBtn:hover,
    .subscribeModal #registerBtn:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 26px -10px rgba(79, 70, 229, 0.6);
    }

/* متن کمکی و دکمه جابه‌جایی فرم */
.subscribeModal .text-center p,
.subscribeModal .backToLoginForm,
.subscribeModal .bn-hover.bn20,
.subscribeModal .bn-hover.bn21,
.subscribeModal .showRegisterForm,
.subscribeModal .showLoginForm {
    font-size: 0.85rem;
    color: #4f46e5;
}

.hd-hero-search .hd-dd-toggle .hd-select-caret {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    flex: none;
}

/* دکمه بنر مشاوره: متن بنفش-آبی تیره روی زمینه سفید (غلبه بر رول‌های عمومی) */
.hd-banner-consult .btn {
    color: #4338ca !important;
    background: #fff;
}

/* دکمه اصلی ورود / ثبت‌نام داخل مدال: همرنگ هیرو و خوانا */
.subscribeModal .button.buttonBlue,
.subscribeModal #LoginBtn,
.subscribeModal #register,
.subscribeModal .buttonBlue {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100% !important;
    height: 50px !important;
    border-radius: 40px !important;
    border: none !important;
    background: var(--dt-grad-live) !important;
    background-image: var(--dt-grad-live) !important;
    color: #fff !important;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-shadow: none !important;
    text-align: center;
    transition: all 0.22s ease;
    box-shadow: 0 10px 24px -10px rgba(79, 70, 229, 0.55);
}

    .subscribeModal .button.buttonBlue:hover,
    .subscribeModal #LoginBtn:hover,
    .subscribeModal #register:hover,
    .subscribeModal .buttonBlue:hover {
        filter: brightness(1.07);
        transform: translateY(-2px);
        box-shadow: 0 14px 28px -10px rgba(79, 70, 229, 0.6);
    }

/* دکمه‌های «می‌خواهم ثبت‌نام کنم» / «می‌خواهم وارد شوم» — خوانا و برجسته */
.subscribeModal .showRegisterForm,
.subscribeModal .showLoginForm,
.subscribeModal .showRegister,
.subscribeModal .showRegisterDoctor,
.subscribeModal .showRegisterClinic,
.subscribeModal .bn-hover.bn20,
.subscribeModal .bn-hover.bn21 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 46px !important;
    margin: 0 auto !important;
    padding: 0 16px !important;
    border: 2px solid #4f46e5 !important;
    border-radius: 40px !important;
    background: #fff !important;
    color: #4338ca !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    line-height: 42px;
    box-shadow: none !important;
    transition: all 0.2s ease;
}

    .subscribeModal .showRegisterForm:hover,
    .subscribeModal .showLoginForm:hover,
    .subscribeModal .bn-hover.bn20:hover,
    .subscribeModal .bn-hover.bn21:hover {
        background: #4f46e5 !important;
        color: #fff !important;
    }

/* دکمه ثبت‌نام (بیمار/پزشک/کلینیک) رنگی پررنگ */
.subscribeModal .bn-hover.bn19 {
    background: var(--dt-grad-live) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 10px 22px -12px rgba(79, 70, 229, 0.5) !important;
}

.hd-doctor-page {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 1280px;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-top: 24px !important;
    padding-bottom: 60px !important;
    direction: rtl;
}

@media (max-width: 767px) {
    .content {
        min-width: 0 !important;
        width: 100% !important;
    }
}

.hd-doctor-page-head {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 24px !important;
    padding: 28px 32px !important;
    border-radius: 26px;
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.22), transparent 30%),
        linear-gradient(120deg, #312e81 0%, #4f46e5 48%, #9333ea 100%);
    box-shadow: 0 22px 48px -24px rgba(49, 46, 129, 0.65);
    color: #fff;
}

.hd-doctor-page-head::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    left: -70px;
    top: -130px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    box-shadow: 0 0 0 24px rgba(255, 255, 255, 0.04), 0 0 0 48px rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.hd-doctor-page-head > * {
    position: relative;
    z-index: 1;
}

.hd-doctor-page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    color: #c7d2fe;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.hd-doctor-page-head h1 {
    margin: 0 0 6px;
    color: #fff;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    font-weight: 900;
}

.hd-doctor-page-head p {
    margin: 0;
    color: #e0e7ff;
    font-size: 0.9rem;
}

.hd-doctor-back {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
    font-size: 0.84rem;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.hd-doctor-back:hover {
    background: #fff;
    color: #4338ca !important;
    border-color: #fff;
    transform: translateY(-2px);
}

.hd-doctor-page .hd-doctor-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 304px !important;
    grid-template-rows: auto;
    align-items: start;
    gap: 24px !important;
    width: 100% !important;
    margin: 0 !important;
}

.hd-doctor-page .hd-doctor-layout > .hd-doctor-main,
.hd-doctor-page .hd-doctor-layout > .hd-doctor-sidebar {
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hd-doctor-page .hd-doctor-layout > .hd-doctor-main {
    grid-column: 1;
    grid-row: 1;
}

.hd-doctor-page .hd-doctor-layout > .hd-doctor-sidebar {
    grid-column: 2;
    grid-row: 1;
}

.hd-doctor-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    margin: 0 0 18px !important;
    padding: 14px 18px !important;
    border: 1px solid rgba(199, 210, 254, 0.8);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 30px -22px rgba(30, 41, 99, 0.55);
}

.hd-doctor-brand img {
    display: block;
    width: auto;
    max-width: 155px;
    max-height: 60px;
    object-fit: contain;
}

.hd-doctor-sidebar .WhiteCard {
    margin: 0 0 18px !important;
    border: 1px solid #e0e7ff !important;
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: 0 16px 36px -28px rgba(30, 41, 99, 0.55) !important;
    color: var(--dt-text) !important;
}

.hd-top-doctors-card {
    overflow: hidden;
    padding: 0 !important;
}

.hd-sidebar-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 18px 18px 14px;
    border-bottom: 1px solid #eef2ff;
}

.hd-sidebar-kicker {
    display: block;
    margin-bottom: 3px;
    color: #6366f1;
    font-size: 0.7rem;
    font-weight: 800;
}

.hd-sidebar-heading h5 {
    margin: 0;
    padding: 0 !important;
    color: #1e1b4b !important;
    font-size: 1rem;
    font-weight: 900;
}

.hd-sidebar-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 30px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 0.75rem;
    font-weight: 900;
}

.hd-top-doctor-item {
    margin: 0 !important;
    padding: 5px 10px !important;
}

.hd-top-doctor-link {
    position: relative;
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-height: 74px;
    padding: 9px 8px !important;
    border-radius: 16px;
    color: var(--dt-text) !important;
    text-align: right;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hd-top-doctor-link:hover {
    background: #f5f3ff;
    color: #3730a3 !important;
    transform: translateX(-3px);
}

.hd-top-doctor-image {
    flex: 0 0 54px;
    width: 54px !important;
    height: 54px !important;
    object-fit: cover;
    border: 3px solid #eef2ff;
    border-radius: 18px;
    background: #fff;
}

.hd-top-doctor-info {
    min-width: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
}

.hd-top-doctor-info strong {
    overflow: hidden;
    color: #1e1b4b;
    font-size: 0.78rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hd-top-doctor-info small {
    overflow: hidden;
    color: #64748b;
    font-size: 0.7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hd-top-doctor-skill {
    overflow: hidden;
    color: #6366f1;
    font-size: 0.68rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hd-top-doctor-link > i {
    flex: none;
    color: #a5b4fc;
    font-size: 0.72rem;
}

.hd-profile-card {
    margin: 0 0 22px !important;
    overflow: hidden;
    border: 1px solid #e0e7ff !important;
    border-radius: 26px !important;
    background: #fff !important;
    box-shadow: 0 22px 55px -30px rgba(30, 41, 99, 0.55) !important;
}

.hd-profile-head {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 30px !important;
    border-bottom: 1px solid #e0e7ff !important;
    background:
        radial-gradient(circle at 8% 18%, rgba(255, 255, 255, 0.9), transparent 28%),
        linear-gradient(120deg, #eef2ff 0%, #f5f3ff 100%) !important;
}

.hd-profile-head::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    left: -120px;
    bottom: -210px;
    border: 1px solid rgba(99, 102, 241, 0.16);
    border-radius: 50%;
    box-shadow: 0 0 0 20px rgba(99, 102, 241, 0.04), 0 0 0 40px rgba(99, 102, 241, 0.03);
    pointer-events: none;
}

.hd-profile-head > * {
    position: relative;
    z-index: 1;
}

.hd-profile-avatar-wrap {
    position: relative;
    flex: 0 0 148px;
    width: 148px;
    height: 148px;
}

.hd-profile-avatar {
    display: block;
    width: 148px !important;
    height: 148px !important;
    object-fit: cover;
    border: 6px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 32px !important;
    background: #fff;
    box-shadow: 0 16px 30px -16px rgba(30, 41, 99, 0.55) !important;
}

.hd-profile-city {
    position: absolute;
    top: -10px;
    right: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 11px;
    border: 1px solid #e0e7ff;
    border-radius: 30px;
    background: #fff;
    color: #4338ca !important;
    box-shadow: 0 8px 18px -12px rgba(30, 41, 99, 0.6);
    font-size: 0.72rem;
    font-weight: 800;
}

.hd-profile-meta {
    flex: 1 1 auto !important;
    min-width: 0;
}

.hd-profile-meta h1 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 0 10px !important;
    color: #1e1b4b !important;
    font-size: clamp(1.25rem, 2.2vw, 1.7rem) !important;
    font-weight: 900;
    line-height: 1.5;
}

.hd-profile-views {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 9px;
    border-radius: 30px;
    background: #fff1f2;
    color: #be123c !important;
    font-size: 0.68rem;
    font-weight: 800;
    white-space: nowrap;
}

.hd-profile-meta .hd-skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 30px;
    background: var(--dt-grad-live) !important;
    color: #fff !important;
    box-shadow: 0 8px 18px -12px rgba(79, 70, 229, 0.75);
    font-size: 0.82rem;
    font-weight: 800;
}

.hd-profile-rating-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 12px;
}

.hd-profile-rating-row .rating {
    display: flex;
    direction: ltr;
}

.hd-profile-rating-row small {
    color: #64748b;
    font-size: 0.8rem;
}

.hd-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px !important;
}

.hd-profile-actions .btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    gap: 8px;
    min-height: 44px;
    padding: 9px 16px;
    border: 1px solid #e0e7ff;
    border-radius: 40px;
    background: #fff !important;
    color: #4338ca !important;
    box-shadow: 0 8px 18px -14px rgba(30, 41, 99, 0.7);
    font-size: 0.82rem;
    font-weight: 800;
    transition: all 0.2s ease;
}

.hd-profile-actions .btn:hover {
    border-color: #c7d2fe;
    background: #eef2ff !important;
    color: #3730a3 !important;
    transform: translateY(-2px);
}

.hd-profile-actions .btn.online {
    border-color: transparent;
    background: var(--dt-grad-live) !important;
    color: #fff !important;
    box-shadow: 0 12px 22px -14px rgba(79, 70, 229, 0.85);
}

.hd-profile-actions .btn .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16);
}

.hd-profile-actions .btn .dot.off {
    background: #94a3b8;
    box-shadow: none;
}

.hd-profile-actions .btn.is-disabled {
    cursor: not-allowed;
    opacity: 0.62;
}

.hd-profile-section {
    padding: 22px 26px !important;
    border-bottom: 1px solid #eef2ff !important;
}

.hd-profile-section:last-child {
    border-bottom: 0 !important;
}

.hd-profile-section h6 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 12px;
    color: #1e1b4b !important;
    font-size: 0.98rem;
    font-weight: 900;
}

.hd-profile-section h6 .fa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 0.8rem;
}

.hd-profile-section p {
    margin: 0;
    color: #475569;
    font-size: 0.9rem;
    line-height: 2.05;
}

.hd-profile-section a {
    color: #4f46e5 !important;
    font-weight: 700;
    text-decoration: none;
}

.hd-doctor-page .modal-body a {
    text-decoration: none;
}

.hd-contact-line {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 7px;
    color: #475569;
    font-size: 0.87rem;
    line-height: 1.9;
}

.hd-contact-line .fa {
    flex: 0 0 22px;
    margin-top: 5px;
    color: #6366f1;
    text-align: center;
}

.hd-contact-line a[href^="tel:"],
.hd-doctor-page .modal-body a[href^="tel:"] {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin: 0 4px 5px 0;
    padding: 4px 14px !important;
    border: 1px solid #d5ddff;
    border-radius: 30px;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    box-shadow: 0 10px 20px -16px rgba(30, 41, 99, 0.85);
    color: #3730a3 !important;
    direction: ltr;
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hd-contact-line a[href^="tel:"]:hover,
.hd-doctor-page .modal-body a[href^="tel:"]:hover {
    border-color: #4f46e5;
    background: #4f46e5;
    box-shadow: 0 12px 22px -14px rgba(79, 70, 229, 0.9);
    color: #fff !important;
    transform: translateY(-1px);
}

.hd-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hd-service-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 13px;
    border: 1px solid #d5ddff;
    border-radius: 30px;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    box-shadow: 0 10px 20px -16px rgba(30, 41, 99, 0.85);
    color: #3730a3 !important;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hd-service-tags a:hover {
    border-color: #4f46e5;
    background: #4f46e5;
    color: #fff !important;
    transform: translateY(-1px);
}

.hd-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.hd-social-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #e0e7ff;
    border-radius: 14px;
    background: #f8faff;
    color: #4f46e5 !important;
    font-size: 1.05rem;
    transition: all 0.2s ease;
}

.hd-social-row a:hover {
    border-color: transparent;
    background: var(--dt-grad-live);
    color: #fff !important;
    transform: translateY(-2px);
}

.hd-profile-map {
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 22px !important;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid #dbeafe;
    border-radius: 20px;
    box-shadow: 0 14px 30px -24px rgba(30, 41, 99, 0.55);
}

.hd-map-canvas {
    width: 100%;
    height: 235px;
    min-height: 235px;
}

/* در عرض کمتر از 480px قانون سراسری img{width:100% !important} در site.min.css باعث می‌شد کاشی‌های نقشه عرض صفر بگیرند و نقشه خالی دیده شود */
.doctorMap img.leaflet-tile,
.doctorMap img.leaflet-marker-icon,
.doctorMap img.leaflet-image-layer,
.doctorMap .leaflet-pane img {
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
}

.hd-profile-comments {
    margin: 0 26px 26px;
}

.hd-related-section {
    margin-top: 22px !important;
    padding: 24px !important;
    border: 1px solid #e0e7ff !important;
    border-radius: 24px !important;
    background: #fff !important;
    box-shadow: 0 18px 42px -30px rgba(30, 41, 99, 0.5) !important;
}

.hd-related-section > .row {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}

.hd-related-section .card-title {
    margin: 0 0 18px !important;
    color: #1e1b4b !important;
    font-size: 1.05rem;
    font-weight: 900;
}

.hd-related-group-title {
    margin: 0 0 10px !important;
    color: #6366f1 !important;
    font-size: 0.78rem;
    font-weight: 800;
}

.hd-related-section > .row > .row {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
    gap: 12px;
    width: 100% !important;
    margin: 0 0 18px !important;
}

.hd-related-section > .row > .row:last-of-type {
    margin-bottom: 0 !important;
}

.hd-related-item {
    width: auto !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: right !important;
}

.hd-related-item > a {
    display: block;
    height: 100%;
    padding: 10px;
    border: 1px solid #eef2ff;
    border-radius: 18px;
    background: #fbfcff;
    color: #1e1b4b !important;
    text-align: right;
    transition: all 0.2s ease;
}

.hd-related-item > a:hover {
    border-color: #c7d2fe;
    background: #f5f3ff;
    box-shadow: 0 14px 26px -20px rgba(79, 70, 229, 0.7);
    transform: translateY(-3px);
}

.hd-related-item img {
    display: block;
    width: 100% !important;
    height: 112px !important;
    margin: 0 auto 9px;
    object-fit: cover;
    border-radius: 14px;
    background: #eef2ff;
}

.hd-related-item p {
    margin: 3px 0 !important;
    color: #1e1b4b;
    font-size: 0.78rem;
    font-weight: 800;
    text-align: center;
}

.hd-related-item small {
    display: block;
    overflow: hidden;
    color: #64748b;
    font-size: 0.69rem;
    line-height: 1.7;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hd-related-section > .row > .col-md-3:empty {
    display: none !important;
}

.hd-doctor-page .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 22px;
    box-shadow: 0 28px 70px -25px rgba(30, 27, 75, 0.65);
}

.hd-doctor-page .modal-header {
    padding: 18px 22px;
    border-bottom-color: #eef2ff;
    background: #f8faff;
}

.hd-doctor-page .modal-title {
    color: #1e1b4b;
    font-size: 1rem;
    font-weight: 900;
}

.hd-doctor-page .modal-body {
    padding: 20px 22px;
    color: #475569;
}

.hd-doctor-page .modal-body h6 {
    color: #1e1b4b;
    font-weight: 900;
}

.hd-doctor-page .font-icon {
    margin-left: 7px;
    color: #6366f1;
}

@media (max-width: 1199px) {
    .hd-doctor-page .hd-doctor-layout {
        grid-template-columns: minmax(0, 1fr) 280px !important;
    }
}

@media (max-width: 991px) {
    .hd-doctor-page {
        padding-top: 16px !important;
    }

    .hd-doctor-page .hd-doctor-layout {
        grid-template-columns: 1fr !important;
    }

    .hd-doctor-page .hd-doctor-layout > .hd-doctor-main {
        grid-column: 1;
        grid-row: 1;
    }

    .hd-doctor-page .hd-doctor-layout > .hd-doctor-sidebar {
        grid-column: 1;
        grid-row: 2;
    }

    .hd-doctor-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .hd-doctor-sidebar .hd-doctor-brand,
    .hd-doctor-sidebar .hd-top-doctors-card {
        grid-column: 1 / -1;
    }

    .hd-doctor-sidebar .WhiteCard {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 767px) {
    .hd-doctor-page-head {
        align-items: flex-start;
        flex-direction: column;
        padding: 23px 20px !important;
    }

    .hd-doctor-back {
        align-self: stretch;
        justify-content: center;
    }

    .hd-profile-head {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
        padding: 24px 20px !important;
    }

    .hd-profile-avatar-wrap {
        width: 116px;
        height: 116px;
        flex-basis: 116px;
        align-self: center;
    }

    .hd-profile-meta {
        width: 100%;
    }

    .hd-profile-avatar {
        width: 116px !important;
        height: 116px !important;
        border-radius: 26px !important;
    }

    .hd-profile-city {
        right: 7px;
    }

    .hd-profile-actions {
        width: 100%;
    }

    .hd-profile-actions .btn {
        flex: 1 1 145px;
    }

    .hd-profile-section {
        padding: 18px 20px !important;
    }

    .hd-profile-comments {
        margin-right: 20px;
        margin-left: 20px;
    }

    .hd-related-section {
        padding: 18px !important;
    }
}

@media (max-width: 575px) {
    .hd-doctor-page {
        padding-right: 12px !important;
        padding-left: 12px !important;
    }

    .hd-doctor-page-head {
        border-radius: 21px;
    }

    .hd-doctor-sidebar {
        display: block;
    }

    .hd-doctor-sidebar .WhiteCard {
        margin-bottom: 16px !important;
    }

    .hd-profile-head {
        padding: 20px 16px !important;
    }

    .hd-profile-meta h1 {
        font-size: 1.18rem !important;
    }

    .hd-profile-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hd-profile-actions .btn {
        width: 100%;
    }

    .hd-profile-section {
        padding: 17px 16px !important;
    }

    .hd-profile-comments {
        margin-right: 16px;
        margin-left: 16px;
    }

    .hd-map-canvas {
        height: 200px;
        min-height: 200px;
    }

    .hd-related-section {
        padding: 16px 12px !important;
        border-radius: 20px;
    }

    .hd-related-section > .row > .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .hd-related-item > a {
        padding: 7px;
        border-radius: 15px;
    }

    .hd-related-item img {
        height: 92px !important;
    }
}

@media (max-width: 380px) {
    .hd-related-section > .row > .row {
        grid-template-columns: 1fr;
    }
}

.hd-inline-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    vertical-align: middle;
}

.hd-inline-icon-sm {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
}

.hd-inline-icon-xs {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
    stroke-width: 2.2;
}

.hd-profile-section h6 > .hd-inline-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    padding: 7px;
    border-radius: 10px;
    background: #eef2ff;
    color: #4f46e5;
    stroke-width: 1.7;
}

.hd-contact-line > .hd-inline-icon {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
    margin-top: 4px;
    color: #6366f1;
}

.hd-profile-card .modal-body > p > .hd-inline-icon {
    width: 18px;
    height: 18px;
    margin-left: 6px;
    color: #6366f1;
}

.hd-skill-tag > .hd-inline-icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
    stroke-width: 2;
}

.hd-social-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    stroke: none;
}

.hd-doctor-back > .hd-inline-icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
}

.hd-top-doctor-link > .hd-inline-icon {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
    color: #a5b4fc;
    stroke-width: 2.2;
}

.hd-share-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hd-share-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 7px 13px;
    border: 1px solid #e0e7ff;
    border-radius: 30px;
    background: #eef2ff;
    color: #4338ca;
    font-size: 0.8rem;
    font-weight: 800;
}

.hd-share-icon {
    width: 19px;
    height: 19px;
    fill: currentColor;
    stroke: none;
}

.hd-share-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e0e7ff;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 8px 18px -14px rgba(30, 41, 99, 0.55);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hd-share-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 22px -14px rgba(30, 41, 99, 0.7);
}

.hd-share-telegram {
    color: #229ed9;
}

.hd-share-whatsapp {
    color: #25d366;
}

.hd-share-twitter {
    color: #111827;
}

.hd-share-facebook {
    color: #1877f2;
}

.hd-share-linkedin {
    color: #0a66c2;
}

.hd-comments-panel,
.hd-comment-form-card {
    overflow: hidden;
    border: 1px solid #e0e7ff;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 36px -28px rgba(30, 41, 99, 0.55);
}

.hd-comments-head,
.hd-comment-form-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 23px 26px;
    background: linear-gradient(120deg, #eef2ff 0%, #f5f3ff 100%);
}

.hd-comments-kicker {
    display: block;
    margin-bottom: 5px;
    color: #6366f1;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.hd-comments-head h2,
.hd-comment-form-head h2 {
    margin: 0;
    color: #1e1b4b;
    font-size: 1.12rem;
    font-weight: 900;
}

.hd-comments-head p,
.hd-comment-form-head p {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.8;
}

.hd-comments-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid #c7d2fe;
    border-radius: 30px;
    background: #fff;
    color: #4f46e5;
    font-size: 0.7rem;
    font-weight: 800;
    white-space: nowrap;
}

.hd-comments-list {
    padding: 0 26px;
}

.hd-comment-item {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eef2ff;
}

.hd-comment-item:last-child {
    border-bottom: 0;
}

.hd-comment-rating {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 28px;
    direction: ltr;
}

.hd-comment-rating .jq-star,
.hd-comment-rating .jq-star-svg {
    width: 25px !important;
    height: 25px !important;
}

.hd-comment-body {
    min-width: 0;
}

.hd-comment-text {
    margin: 0;
    color: #334155;
    font-size: 0.9rem;
    line-height: 2.05;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.hd-comment-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    color: #94a3b8;
    font-size: 0.72rem;
}

.hd-comment-score {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 9px;
    border-radius: 30px;
    background: #fff7ed;
    color: #c2410c;
    font-weight: 800;
}

.hd-comments-empty {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    padding: 30px 10px 34px;
    color: #64748b;
    text-align: center;
}

.hd-comments-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 4px;
    border-radius: 14px;
    background: #eef2ff;
    color: #6366f1;
    font-size: 1.2rem;
}

.hd-comments-empty strong {
    color: #1e1b4b;
    font-size: 0.88rem;
}

.hd-comments-empty small {
    font-size: 0.75rem;
}

.hd-comments-pagination {
    display: flex !important;
    justify-content: center;
    box-sizing: border-box;
    gap: 6px;
    width: 100% !important;
    max-width: 100%;
    margin: 0 auto !important;
    padding: 0 26px 24px !important;
    direction: rtl !important;
}

.hd-comments-pagination > li {
    display: inline-flex;
}

.hd-comments-pagination > li > a,
.hd-comments-pagination > li > span {
    float: none !important;
    min-width: 31px;
    margin: 0 !important;
    padding: 6px 9px !important;
    border: 1px solid #e0e7ff !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #6366f1 !important;
    line-height: 1.4;
    text-align: center;
}

.hd-comments-pagination > li.active > a,
.hd-comments-pagination > li.active > span {
    border-color: #4f46e5 !important;
    background: #4f46e5 !important;
    color: #fff !important;
}

.hd-comments-pagination > li.disabled > a,
.hd-comments-pagination > li.disabled > span {
    color: #a5b4fc !important;
    background: #f8faff !important;
}

.hd-comment-form {
    margin-top: 18px;
}

.hd-comment-form-card {
    border-radius: 22px;
}

.hd-comment-form-head {
    align-items: flex-start;
}

.hd-comment-rating-field {
    display: flex;
    align-items: center;
    flex-direction: column;
    flex: 0 0 auto;
    gap: 7px;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
}

.hd-comment-rating-field .jq-star,
.hd-comment-rating-field .jq-star-svg {
    width: 28px !important;
    height: 28px !important;
}

.hd-comment-form-body {
    padding: 23px 26px 25px;
}

.hd-comment-validation:empty {
    display: none;
}

.hd-comment-field label {
    display: block;
    margin-bottom: 8px;
    color: #1e1b4b;
    font-size: 0.82rem;
    font-weight: 800;
}

.hd-comment-field textarea {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
    min-height: 128px;
    padding: 12px 14px;
    border: 1px solid #dbe4f0;
    border-radius: 16px;
    color: #334155;
    font-size: 0.85rem;
    line-height: 2;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hd-comment-field textarea:focus {
    border-color: #818cf8;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
    outline: 0;
}

.hd-comment-form-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
}

.hd-comment-captcha {
    flex: 1 1 auto;
    min-width: 0;
}

.hd-comment-captcha .input-group {
    width: 100% !important;
    max-width: none;
    box-sizing: border-box;
}

.hd-captcha-input {
    min-height: 42px;
    border-color: #dbe4f0 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

.hd-captcha-refresh {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 34px;
    margin-bottom: 8px;
    border: 1px solid #c7d2fe;
    border-radius: 10px;
    background-color: #eef2ff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11a8.1 8.1 0 0 0-15.5-2M4 5v4h4M4 13a8.1 8.1 0 0 0 15.5 2M20 19v-4h-4'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 18px 18px;
    color: #4f46e5;
    text-decoration: none;
}

.hd-captcha-refresh:hover {
    background-color: #e0e7ff;
}

.hd-captcha-refresh.is-refreshing {
    opacity: 0.6;
    pointer-events: none;
}

.hd-comment-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 8px;
    min-width: 132px;
    min-height: 44px;
    padding: 9px 18px;
    border: 0;
    border-radius: 30px;
    background: var(--dt-grad-live);
    color: #fff;
    box-shadow: 0 12px 22px -14px rgba(79, 70, 229, 0.85);
    font-size: 0.84rem;
    font-weight: 900;
    transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.hd-comment-submit svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.hd-comment-submit:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.hd-comment-submit.is-loading {
    cursor: wait;
    opacity: 0.65;
}

@media (max-width: 767px) {
    .hd-comments-head,
    .hd-comment-form-head {
        padding: 19px 18px;
    }

    .hd-comments-list {
        padding: 0 18px;
    }

    .hd-comment-item {
        grid-template-columns: 1fr;
        gap: 7px;
        padding: 17px 0;
    }

    .hd-comment-rating {
        min-height: 25px;
    }

    .hd-comments-pagination {
        padding: 0 18px 20px !important;
    }

    .hd-comment-form-body {
        padding: 19px 18px 21px;
    }

    .hd-comment-form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .hd-comment-captcha .input-group {
        max-width: none;
    }

    .hd-comment-submit {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .hd-comments-head,
    .hd-comment-form-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .hd-comment-rating-field {
        align-items: flex-start;
    }
}



/* ================= صفحه آرشیو مقالات ================= */
.hd-articles-page {
    --ac-ink: #1e1b4b;
    --ac-muted: #64748b;
    --ac-line: #e7eef4;
}

.ac-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin: 0 0 22px;
    padding: 30px 32px;
    border-radius: 26px;
    background:
        radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.22), transparent 32%),
        linear-gradient(120deg, #312e81 0%, #4f46e5 48%, #9333ea 100%);
    box-shadow: 0 22px 48px -24px rgba(49, 46, 129, 0.65);
    color: #fff !important;
}

.ac-hero::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    left: -80px;
    top: -140px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    box-shadow: 0 0 0 26px rgba(255, 255, 255, 0.04), 0 0 0 52px rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.ac-hero > * {
    position: relative;
    z-index: 1;
}

.ac-hero-main {
    flex: 1 1 auto;
    min-width: 0;
}

.ac-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c7d2fe;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.ac-hero h1 {
    margin: 9px 0 6px;
    color: #fff !important;
    font-size: clamp(21px, 2.5vw, 31px);
    font-weight: 900;
    line-height: 1.6;
}

.ac-hero p {
    margin: 0;
    max-width: 58ch;
    color: #e0e7ff;
    font-size: 13.5px;
    line-height: 2.1;
}

.ac-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.ac-hero-stat {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff !important;
    font-size: 12.5px;
    font-weight: 700;
}

.ac-hero-stat b {
    font-weight: 900;
}

.ac-hero-search {
    flex: 0 0 350px;
    max-width: 100%;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.14);
}

.ac-hero-search label {
    display: block;
    margin-bottom: 9px;
    color: #e0e7ff;
    font-size: 12.5px;
    font-weight: 800;
}

.ac-search {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 12px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 26px -18px rgba(15, 23, 42, 0.65);
}

.ac-search-icon {
    color: #6366f1;
}

.ac-search-input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--ac-ink);
    font-size: 13.5px;
    font-weight: 700;
}

.ac-search-input::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.ac-search-input::-webkit-search-cancel-button {
    display: none;
}

.ac-search-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #eef2ff !important;
    color: #4f46e5 !important;
    cursor: pointer;
    transition: background 0.2s ease;
}

.ac-search-clear[hidden] {
    display: none;
}

.ac-search-clear:hover {
    background: #e0e7ff;
}

.ac-search-hint {
    margin: 10px 3px 0;
    color: #c7d2fe;
    font-size: 11.5px;
    line-height: 1.9;
}

.ac-main {
    position: relative;
    min-width: 0;
}

.ac-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.ac-result-info {
    margin: 0;
    color: var(--ac-ink);
    font-size: 14px;
    font-weight: 900;
}

.ac-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ac-chip {
    padding: 7px 14px;
    border: 1px solid #e0e7ff;
    border-radius: 40px;
    background: #fff;
    color: #4f46e5 !important;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.ac-chip:hover {
    background: #eef2ff !important;
}

.ac-chip.is-active {
    border-color: transparent;
    background: linear-gradient(120deg, #4f46e5 0%, #9333ea 100%);
    color: #fff !important;
    box-shadow: 0 12px 22px -14px rgba(79, 70, 229, 0.9);
}

.ac-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ac-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--ac-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 20px -12px rgba(79, 70, 229, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ac-card:hover {
    transform: translateY(-5px);
    border-color: #c7d2fe;
    box-shadow: 0 24px 42px -24px rgba(79, 70, 229, 0.45);
}

.ac-card-media {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 156px;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
}

.ac-card-img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ac-card:hover .ac-card-img {
    transform: scale(1.06);
}

.ac-card-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.ac-card-placeholder b {
    font-size: 26px;
    font-weight: 900;
    opacity: 0.72;
}

.ac-ph-0 {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    color: #6366f1;
}

.ac-ph-1 {
    background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%);
    color: #0891b2;
}

.ac-ph-2 {
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
    color: #c2410c;
}

.ac-ph-3 {
    background: linear-gradient(135deg, #fdf2f8 0%, #fae8ff 100%);
    color: #be185d;
}

.ac-ph-4 {
    background: linear-gradient(135deg, #f0fdf4 0%, #d1fae5 100%);
    color: #15803d;
}

.ac-ph-5 {
    background: linear-gradient(135deg, #f5f3ff 0%, #ddd6fe 100%);
    color: #6d28d9;
}

.ac-card-cat {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 11px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.93);
    color: #4f46e5 !important;
    font-size: 11.5px;
    font-weight: 800;
    box-shadow: 0 8px 16px -10px rgba(30, 41, 99, 0.8);
}

.ac-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 9px;
    padding: 15px 18px 18px;
}

.ac-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 12px;
}

.ac-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #64748b;
    font-weight: 700;
}

.ac-card-title {
    margin: 0;
    color: var(--ac-ink);
    font-size: 16.5px;
    font-weight: 900;
    line-height: 1.85;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ac-card-title a {
    color: inherit !important;
    text-decoration: none;
}

.ac-card:hover .ac-card-title a {
    color: #4338ca;
}

.ac-card-excerpt {
    margin: 0;
    color: var(--ac-muted);
    font-size: 13px;
    line-height: 2.05;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ac-card-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 4px;
    color: #4f46e5 !important;
    font-size: 12.5px;
    font-weight: 800;
}

.ac-card-more svg {
    transition: transform 0.2s ease;
}

.ac-card:hover .ac-card-more svg {
    transform: translateX(-4px);
}

.ac-skeleton {
    pointer-events: none;
}

.ac-sk {
    border-radius: 12px;
    background: linear-gradient(90deg, #eef2f7 25%, #f8fafc 37%, #eef2f7 63%);
    background-size: 400% 100%;
    animation: acShimmer 1.4s ease infinite;
}

.ac-sk-media {
    min-height: 156px;
    aspect-ratio: 16 / 9;
    border-radius: 0;
}

.ac-sk-line {
    height: 12px;
    margin-bottom: 10px;
}

.ac-sk-line:last-child {
    margin-bottom: 0;
}

@keyframes acShimmer {
    0% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0 50%;
    }
}

.ac-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    margin: 0 0 20px;
    padding: 42px 20px;
    border: 1px dashed #c7d2fe;
    border-radius: 22px;
    background: #fff;
    text-align: center;
}

.ac-empty[hidden] {
    display: none;
}

.ac-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 20px;
    background: #eef2ff !important;
    color: #4f46e5 !important;
}

.ac-empty h3 {
    margin: 4px 0 0;
    color: var(--ac-ink);
    font-size: 17px;
    font-weight: 900;
}

.ac-empty p {
    margin: 0;
    max-width: 46ch;
    color: var(--ac-muted);
    font-size: 13px;
    line-height: 2.1;
}

.ac-empty-btn {
    margin-top: 6px;
    padding: 10px 22px;
    border: 0;
    border-radius: 40px;
    background: linear-gradient(120deg, #4f46e5 0%, #9333ea 100%);
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 16px 28px -16px rgba(79, 70, 229, 0.8);
}

.ac-pager {
    display: flex;
    justify-content: center;
    margin: 26px 0 6px;
}

.ac-pager.is-hidden {
    display: none;
}

.ac-pager .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    direction: rtl;
}

.ac-pager .pagination li {
    margin: 0;
}

.ac-pager .pagination li > a,
.ac-pager .pagination li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--ac-line);
    border-radius: 12px;
    background: #fff;
    color: #4f46e5 !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 6px 14px -10px rgba(79, 70, 229, 0.7);
}

.ac-pager .pagination li > a:hover {
    background: #eef2ff !important;
    color: #3730a3;
}

.ac-pager .pagination li.active > a {
    border-color: transparent;
    background: linear-gradient(120deg, #4f46e5 0%, #9333ea 100%);
    color: #fff !important;
    box-shadow: 0 14px 24px -14px rgba(79, 70, 229, 0.9);
}

.ac-pager .pagination li.disabled > a {
    background: #f8fafc;
    color: #cbd5e1;
    cursor: default;
}

.ac-pager .pagination li > span {
    border-color: transparent;
    background: transparent;
    color: #94a3b8;
    box-shadow: none;
}

.ac-side-card {
    margin-bottom: 18px;
}

.ac-side-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 8px 12px 14px;
    padding: 10px;
    border-radius: 14px;
    background: #eef2ff !important;
    color: #4f46e5 !important;
    font-size: 12.5px;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.2s ease;
}

.ac-side-all:hover {
    background: #e0e7ff;
    color: #3730a3;
}

.ac-cta {
    position: relative;
    overflow: hidden;
    padding: 22px 20px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.2), transparent 34%),
        linear-gradient(140deg, #312e81 0%, #4f46e5 55%, #9333ea 100%);
    box-shadow: 0 22px 44px -24px rgba(49, 46, 129, 0.7);
    color: #fff !important;
}

.ac-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.16);
}

.ac-cta-kicker {
    display: block;
    margin-top: 13px;
    color: #c7d2fe;
    font-size: 11.5px;
    font-weight: 800;
}

.ac-cta h3 {
    margin: 4px 0 6px;
    color: #fff !important;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.8;
}

.ac-cta p {
    margin: 0 0 15px;
    color: #e0e7ff;
    font-size: 12.5px;
    line-height: 2.1;
}

.ac-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    border-radius: 40px;
    background: #fff;
    color: #4338ca;
    font-size: 12.5px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ac-cta-btn:hover {
    color: #3730a3;
    transform: translateY(-2px);
    box-shadow: 0 14px 24px -14px rgba(15, 23, 42, 0.6);
}

@media (max-width: 991px) {
    .ac-hero {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 26px 24px;
    }

    .ac-hero-search {
        flex: 1 1 auto;
        max-width: none;
    }

    .ac-side {
        margin-top: 24px;
    }
}

@media (max-width: 767px) {
    .ac-hero {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .ac-hero h1 {
        margin: 7px 0 5px;
    }

    .ac-hero p {
        font-size: 13px;
        line-height: 2;
    }

    .ac-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .ac-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .ac-card-media,
    .ac-sk-media {
        aspect-ratio: 16 / 10;
    }

    .ac-card-body {
        padding: 14px 16px 16px;
    }

    .ac-card-title {
        font-size: 15.5px;
        line-height: 1.8;
    }

    .ac-card-excerpt {
        -webkit-line-clamp: 2;
    }

    .ac-pager {
        margin: 20px 0 4px;
    }

    .ac-pager .pagination li > a,
    .ac-pager .pagination li > span {
        min-width: 36px;
        height: 36px;
        padding: 0 9px;
        font-size: 12.5px;
    }
}

@media (max-width: 480px) {
    .ac-hero {
        padding: 20px 15px;
        border-radius: 20px;
    }

    .ac-hero-stats {
        gap: 8px;
        margin-top: 13px;
    }

    .ac-hero-stat {
        padding: 6px 11px;
        font-size: 11.5px;
    }

    .ac-hero-search {
        padding: 14px;
    }

    .ac-search-input {
        height: 44px;
        font-size: 13px;
    }

    .ac-chip {
        padding: 6px 12px;
        font-size: 12px;
    }

    .ac-empty {
        padding: 32px 16px;
    }
}

/* ================= صفحه جزئیات مقاله ================= */
.hd-article-page {
    --acd-ink: #1e1b4b;
    --acd-ink-soft: #334155;
    --acd-muted: #64748b;
    --acd-line: #e7eef4;
    --acd-gold: #fbbc05;
}

.acd-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin: 0 0 16px;
    font-size: 12.5px;
    color: var(--acd-muted);
}

.acd-crumb a {
    color: #4f46e5 !important;
    font-weight: 700;
}

.acd-crumb svg {
    width: 13px;
    height: 13px;
    fill: #cbd5e1;
}

.acd-crumb span:last-child {
    max-width: 46ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #94a3b8;
}

.acd-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 316px;
    align-items: start;
    gap: 24px;
}

.acd-main {
    min-width: 0;
}

.acd-card {
    padding: 28px 30px 30px;
    background: #fff;
    border: 1px solid var(--acd-line);
    border-radius: 22px;
    box-shadow: 0 20px 44px -30px rgba(30, 27, 75, 0.4);
}

.acd-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 13px;
    border-radius: 999px;
    background: #eef2ff !important;
    color: #4338ca;
    font-size: 12px;
    font-weight: 800;
}

.acd-title {
    margin: 13px 0 0;
    color: var(--acd-ink);
    font-size: clamp(19px, 2.3vw, 29px);
    font-weight: 900;
    line-height: 1.85;
}

.acd-lead {
    margin: 14px 0 0;
    padding-right: 14px;
    border-right: 3px solid #c7d2fe;
    color: #475569;
    font-size: 14px;
    line-height: 2.15;
}

.acd-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px 20px;
    margin-top: 18px;
    padding: 13px 0;
    border-top: 1px dashed var(--acd-line);
    border-bottom: 1px dashed var(--acd-line);
    color: var(--acd-muted);
    font-size: 12.5px;
}

.acd-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.acd-meta-item svg {
    width: 15px;
    height: 15px;
    fill: #6366f1;
}

.acd-meta-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
    padding: 6px 13px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #4338ca;
    font-size: 12px;
    font-weight: 800;
}

.acd-meta-back:hover {
    background: #e0e7ff;
}

.acd-cover {
    margin: 20px 0 0;
    border-radius: 18px;
    overflow: hidden;
    background: #f1f5f9;
}

.acd-cover img {
    display: block;
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.acd-share {
    margin-top: 20px;
    padding: 12px 16px;
    border: 1px solid var(--acd-line);
    border-radius: 16px;
    background: #fbfdff;
}

.acd-body {
    margin-top: 22px;
    color: var(--acd-ink-soft);
    font-size: 14.5px;
    line-height: 2.2;
}

.acd-body > *:first-child {
    margin-top: 0;
}

.acd-body h1,
.acd-body h2,
.acd-body h3,
.acd-body h4 {
    margin: 26px 0 10px;
    color: var(--acd-ink);
    font-weight: 900;
    line-height: 1.9;
}

.acd-body h1 {
    font-size: 21px;
}

.acd-body h2 {
    font-size: 19px;
}

.acd-body h3 {
    font-size: 17px;
}

.acd-body h4 {
    font-size: 15.5px;
}

.acd-body p {
    margin: 0 0 16px;
}

.acd-body a {
    color: #4338ca;
    font-weight: 700;
}

.acd-body ul,
.acd-body ol {
    margin: 0 0 16px;
    padding-right: 22px;
}

.acd-body li {
    margin-bottom: 8px;
}

.acd-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 18px auto;
    border-radius: 14px;
    box-shadow: 0 14px 30px -22px rgba(30, 27, 75, 0.6);
}

.acd-body table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 18px 0;
    overflow-x: auto;
    border-collapse: collapse;
    font-size: 13px;
    white-space: nowrap;
}

.acd-body table th,
.acd-body table td {
    padding: 10px 12px;
    border: 1px solid var(--acd-line);
}

.acd-body table th {
    background: #f1f5f9;
    color: var(--acd-ink);
    font-weight: 800;
}

.acd-body blockquote {
    margin: 20px 0;
    padding: 16px 18px;
    border-right: 4px solid #a5b4fc;
    border-radius: 14px;
    background: #f8faff;
    color: #475569;
}

.acd-body iframe,
.acd-body video,
.acd-body embed,
.acd-body object {
    max-width: 100%;
    border: 0;
    border-radius: 14px;
}

.acd-body hr {
    height: 1px;
    margin: 26px 0;
    border: 0;
    background: var(--acd-line);
}

.acd-keywords {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--acd-line);
}

.acd-keywords-title {
    color: var(--acd-muted);
    font-size: 12.5px;
    font-weight: 800;
}

.acd-keyword {
    padding: 6px 13px;
    border-radius: 999px;
    background: #eef2ff !important;
    color: #4338ca;
    font-size: 12px;
    font-weight: 700;
}

.acd-keyword:hover {
    background: #4f46e5;
    color: #fff !important;
}

.acd-section {
    margin-top: 26px;
}

.acd-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    color: var(--acd-ink);
    font-size: 18px;
    font-weight: 900;
}

.acd-section-title::before {
    content: "";
    width: 6px;
    height: 22px;
    border-radius: 6px;
    background: linear-gradient(180deg, #4f46e5, #9333ea);
}

.acd-group {
    margin-bottom: 22px;
}

.acd-group-title {
    display: inline-flex;
    margin: 0 0 13px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #eef2ff !important;
    color: #4338ca;
    font-size: 12.5px;
    font-weight: 800;
}

.acd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(184px, 1fr));
    gap: 16px;
}

.acd-mini {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--acd-line);
    border-radius: 16px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.acd-mini:hover {
    transform: translateY(-3px);
    border-color: #c7d2fe;
    box-shadow: 0 18px 32px -22px rgba(30, 27, 75, 0.5);
}

.acd-mini-media {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #eef2ff, #f5f3ff);
}

.acd-mini-media img {
    display: block;
    width: 100%;
    height: 128px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.acd-mini:hover .acd-mini-media img {
    transform: scale(1.06);
}

.acd-mini-media .acd-mini-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 128px;
    color: #a5b4fc;
}

.acd-mini-media .acd-mini-fallback svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
}

.acd-mini-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 8px;
    padding: 12px 13px 14px;
}

.acd-mini-title {
    margin: 0;
    color: var(--acd-ink);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.95;
}

.acd-mini-title a {
    color: inherit;
}

.acd-mini:hover .acd-mini-title a {
    color: #4338ca;
}

.acd-mini-skill {
    margin: 0;
    color: var(--acd-muted);
    font-size: 11.5px;
    line-height: 1.85;
}

.acd-mini-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 9px;
    border-top: 1px dashed var(--acd-line);
}

.acd-stars {
    position: relative;
    display: inline-block;
    direction: ltr;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 2px;
}

.acd-stars-track {
    color: #dde5ee;
}

.acd-stars-fill {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    white-space: nowrap;
    color: var(--acd-gold);
}

.acd-score {
    color: var(--acd-muted);
    font-size: 11.5px;
}

.acd-side {
    position: sticky;
    top: 14px;
}

.acd-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--acd-line);
    border-radius: 20px;
}

.acd-brand img {
    max-width: 148px;
    height: auto;
}

.acd-side-card {
    margin-top: 16px;
    padding: 18px 18px 8px;
    background: #fff;
    border: 1px solid var(--acd-line);
    border-radius: 20px;
}

.acd-side-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 12px;
    color: var(--acd-ink);
    font-size: 15px;
    font-weight: 900;
}

.acd-side-title svg {
    width: 17px;
    height: 17px;
    fill: #6366f1;
}

.acd-side-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.acd-side-item {
    display: flex;
    gap: 11px;
    padding: 12px 0;
    border-top: 1px dashed var(--acd-line);
}

.acd-side-thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 58px;
    border-radius: 12px;
    object-fit: cover;
    background: linear-gradient(135deg, #eef2ff, #f5f3ff);
}

.acd-side-body {
    min-width: 0;
}

.acd-side-body a {
    display: block;
    color: #1f2937;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.9;
}

.acd-side-body a:hover {
    color: #4338ca;
}

.acd-side-date {
    display: block;
    margin-top: 4px;
    color: #94a3b8;
    font-size: 11px;
}

.acd-cta {
    margin-top: 16px;
    padding: 20px 18px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.2), transparent 42%),
        linear-gradient(135deg, #312e81 0%, #4f46e5 100%);
    color: #fff !important;
    text-align: center;
}

.acd-cta svg {
    width: 34px;
    height: 34px;
    margin: 0 auto 10px;
    fill: #fff;
}

.acd-cta b {
    display: block;
    font-size: 14.5px;
    font-weight: 900;
}

.acd-cta p {
    margin: 8px 0 14px;
    color: #e0e7ff;
    font-size: 12px;
    line-height: 2;
}

.acd-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px;
    border-radius: 12px;
    background: #fff;
    color: #3730a3;
    font-size: 13px;
    font-weight: 900;
}

.acd-cta-btn:hover {
    background: #e0e7ff;
}

/* بازنویسی استایل‌های قدیمی در محدوده صفحه مقاله */
.hd-article-page .WhiteCard {
    max-width: none;
    margin: 0;
    padding: 0;
    color: inherit;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.hd-article-page .img-thumbnail {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
}

.hd-article-page .customGroupTitle {
    display: inline-flex;
    width: auto !important;
    height: auto;
    padding: 6px 14px;
    border-radius: 999px;
    background: #eef2ff !important;
    color: #4338ca;
    font-size: 12.5px;
    font-weight: 800;
    vertical-align: middle !important;
}

.hd-article-page .card {
    display: block;
    min-height: 0;
    height: auto;
    border-radius: 16px;
    box-shadow: none;
}

.hd-article-page .card:hover {
    box-shadow: 0 16px 30px -22px rgba(30, 27, 75, 0.5);
}

.hd-article-page .card-img-wrapper {
    height: 132px;
    border-radius: 16px 16px 0 0;
}

.hd-article-page .card-img-wrapper img {
    width: 100%;
    height: 132px;
    object-fit: cover;
}

.hd-article-page .card-body {
    position: static;
    height: auto;
    background: transparent;
}

.hd-article-page .card-body:hover {
    height: auto;
}

.hd-article-page .card-body .card-title {
    margin-bottom: 0;
}

.hd-article-page .card-content {
    position: static;
}

.hd-article-page .card-title-ctn,
.hd-article-page .card-description-ctn {
    padding: 10px 14px;
}

.hd-article-page .card-wrapper {
    margin-bottom: 0;
}

.hd-article-page .card-ctn {
    display: block;
    margin-bottom: 16px;
}

.hd-article-page .videoCard {
    border-radius: 16px;
}

.hd-article-page .card-video {
    width: 100%;
    border-radius: 16px 16px 0 0;
}

.hd-article-page .container {
    padding: 0;
    width: 100%;
}

/* دیدگاه‌ها و فرم نظر */
.acd-comments {
    margin-top: 26px;
}

.acd-cbox {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--acd-line);
    border-radius: 20px;
}

.acd-cbox + .acd-cbox {
    margin-top: 18px;
}

.acd-cbox-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 15px 18px;
    border-bottom: 1px solid var(--acd-line);
    background: #fbfdff;
}

.acd-cbox-head h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: var(--acd-ink);
    font-size: 15.5px;
    font-weight: 900;
}

.acd-cbox-head h3 svg {
    width: 18px;
    height: 18px;
    fill: #6366f1;
}

.acd-cbox-head .acd-cbox-count {
    padding: 4px 11px;
    border-radius: 999px;
    background: #eef2ff !important;
    color: #4338ca;
    font-size: 11.5px;
    font-weight: 800;
}

.acd-cbox-body {
    padding: 16px 18px 18px;
}

.acd-field {
    margin-bottom: 13px;
}

.acd-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--acd-ink);
    font-size: 12.5px;
    font-weight: 800;
}

.acd-input,
.acd-textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #dbe4ee;
    border-radius: 12px;
    background: #fbfdff;
    color: #1f2937;
    font-family: inherit;
    font-size: 13.5px;
    line-height: 2;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.acd-textarea {
    min-height: 118px;
    resize: vertical;
}

.acd-input:focus,
.acd-textarea:focus {
    border-color: #818cf8;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.14);
}

.acd-cbox-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-top: 15px;
}

.acd-captcha {
    flex: 1 1 240px;
    max-width: 320px;
}

.acd-captcha .input-group {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: none;
    margin-top: 0;
}

.acd-captcha .hd-captcha-input {
    flex: 1 1 auto;
    width: auto;
    padding: 9px 12px;
    border: 1px solid #dbe4ee;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    letter-spacing: 2px;
    text-align: center;
}

.acd-captcha .hd-captcha-refresh {
    flex: 0 0 auto;
    padding: 8px 10px;
    border: 1px solid #dbe4ee;
    border-radius: 10px;
    background: #f1f5f9;
    color: #4338ca;
    cursor: pointer;
}

.acd-captcha .hd-captcha-refresh:hover {
    background: #e0e7ff;
}

.acd-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #fff !important;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 26px -16px rgba(79, 70, 229, 0.9);
}

.acd-submit svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.acd-submit:hover {
    filter: brightness(1.07);
}

.acd-alert {
    margin-bottom: 13px;
    padding: 10px 13px;
    border-radius: 12px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 12.5px;
    line-height: 1.9;
}

.acd-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.acd-item {
    display: flex;
    gap: 12px;
    padding: 15px 0;
    border-top: 1px dashed var(--acd-line);
}

.acd-item:first-child {
    border-top: 0;
    padding-top: 4px;
}

.acd-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5, #9333ea);
    color: #fff !important;
    font-size: 15px;
    font-weight: 900;
}

.acd-item-body {
    flex: 1 1 auto;
    min-width: 0;
}

.acd-item-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.acd-item-name {
    color: var(--acd-ink);
    font-size: 13px;
    font-weight: 800;
}

.acd-item-date {
    color: #94a3b8;
    font-size: 11px;
}

.acd-item-text {
    margin: 7px 0 0;
    color: #475569;
    font-size: 13px;
    line-height: 2.1;
    overflow-wrap: break-word;
}

.acd-empty {
    margin: 0;
    padding: 26px 14px;
    color: var(--acd-muted);
    font-size: 13px;
    text-align: center;
}

.acd-loadmore {
    display: none;
    width: 100%;
    margin-top: 16px;
    padding: 11px;
    border: 1px solid #dbe4ee;
    border-radius: 12px;
    background: #f8fafc;
    color: #4338ca;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
}

.acd-loadmore:hover {
    background: #eef2ff !important;
}

@media (max-width: 1100px) {
    .acd-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .acd-side {
        position: static;
    }

    .acd-side-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 0 18px;
    }
}

@media (max-width: 767px) {
    .acd-card {
        padding: 20px 16px 22px;
        border-radius: 18px;
    }

    .acd-title {
        line-height: 1.75;
    }

    .acd-body {
        font-size: 14px;
        line-height: 2.1;
    }

    .acd-body table {
        font-size: 12px;
    }

    .acd-grid {
        grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
        gap: 12px;
    }

    .acd-mini-media img,
    .acd-mini-media .acd-mini-fallback {
        height: 112px;
    }

    .acd-meta-back {
        margin-right: 0;
    }

    .acd-cbox-foot {
        flex-direction: column;
        align-items: stretch;
    }

    .acd-captcha {
        max-width: none;
    }

    .acd-submit {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .acd-side-list {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* گالری و جزئیات ریز صفحه مقاله */
.hd-article-page .acd-gallery {
    margin-top: 22px;
}

.hd-article-page .acd-gallery .WhiteCard {
    padding: 20px;
    background: #fff;
    border: 1px solid var(--acd-line);
    border-radius: 20px;
}

.hd-article-page .acd-gallery .row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin: 0;
}

.hd-article-page .acd-gallery .row > div {
    float: none;
    width: auto !important;
    margin: 0;
}

.hd-article-page .acd-gallery .row img {
    width: 100%;
    height: 132px;
    border-radius: 12px;
    object-fit: cover;
}

.hd-article-page .acd-captcha .acd-captcha-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.hd-article-page .acd-cbox-body .pagination {
    display: flex;
    justify-content: center;
    margin: 16px 0 0;
    padding: 0;
}

.hd-article-page .acd-cbox-body .pagination li {
    margin: 0 2px;
}

.hd-article-page .acd-cbox-body .pagination li a,
.hd-article-page .acd-cbox-body .pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    background: #fff;
    color: #475569;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
}

.hd-article-page .acd-cbox-body .pagination li.active a {
    border-color: #4f46e5;
    background: #4f46e5;
    color: #fff !important;
}

.hd-article-page .acd-cbox-body .pagination li.disabled a {
    opacity: 0.45;
    cursor: default;
}

@media (max-width: 480px) {
    .hd-article-page .acd-gallery .row {
        grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
    }
}

.hd-article-page .acd-body-clean > h1:first-child {
    display: none;
}

.hd-article-page .acd-side-thumb-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a5b4fc;
}

.hd-article-page .acd-side-thumb-empty svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.hd-article-page .acd-input,
.hd-article-page .acd-textarea,
.hd-article-page .acd-submit,
.hd-article-page .acd-mini,
.hd-article-page .acd-cbox,
.hd-article-page .acd-captcha *,
.hd-article-page .acd-captcha {
    box-sizing: border-box;
}

.hd-article-page .acd-captcha .acd-captcha-input-wrap {
    flex: 1 1 auto;
    min-width: 0;
}

.hd-article-page .acd-captcha .acd-captcha-input-wrap > * {
    min-width: 0;
}

.hd-article-page .acd-captcha .hd-captcha-input {
    flex: 1 1 auto;
    width: auto;
    max-width: 100%;
    height: 42px;
    padding: 8px 10px;
    line-height: 1.7;
}

.hd-article-page .acd-captcha .hd-captcha-refresh {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.hd-article-page .acd-captcha .dntCaptcha {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
}

.hd-article-page .acd-captcha .dntCaptcha > img {
    order: 2;
    flex: 0 0 auto;
    width: auto;
    max-width: 128px;
    height: 42px;
    margin: 0;
    border: 1px solid #dbe4ee;
    border-radius: 10px;
    object-fit: contain;
}

.hd-article-page .acd-captcha .dntCaptcha > a.hd-captcha-refresh {
    order: 3;
    flex: 0 0 auto;
}

.hd-article-page .acd-captcha .dntCaptcha > .acd-captcha-input-wrap {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
}

.hd-article-page .acd-captcha .acd-alert:empty {
    display: none;
}

@media (max-width: 767px) {
    .hd-article-page .acd-captcha {
        flex: 0 0 auto;
        max-width: none;
    }
}

.hd-article-page #dvShowDoctorComments > * {
    margin-top: 18px;
}

.hd-article-page [class*="acd-"] {
    box-sizing: border-box;
}

.hd-article-page .my-rating-6 {
    display: inline-flex;
    align-items: center;
}

.hd-article-page .my-rating-6 .jq-star {
    width: 22px;
    height: 22px;
}

/* غلبه بر قاعده سراسری a{color:#000!important} در site.min.css */
.acd-crumb a { color: #4f46e5 !important; }
.acd-meta-back { color: #4338ca !important; }
.acd-keyword { color: #4338ca !important; }
.acd-keyword:hover { color: #fff !important; }
.acd-mini-title a { color: inherit !important; }
.acd-mini:hover .acd-mini-title a { color: #4338ca !important; }
.acd-side-body a { color: #1f2937 !important; }
.acd-side-body a:hover { color: #4338ca !important; }
.acd-cta-btn { color: #3730a3 !important; }
.acd-body a { color: #4338ca !important; }

/* رنگ برند آیکون‌های اشتراک‌گذاری (غلبه بر a{color:#000!important}) */
.hd-share-telegram { color: #229ed9 !important; }
.hd-share-whatsapp { color: #25d366 !important; }
.hd-share-twitter { color: #111827 !important; }
.hd-share-facebook { color: #1877f2 !important; }
.hd-share-linkedin { color: #0a66c2 !important; }

/* حذف خط زیر لینک‌ها (قاعده پیش‌فرض مرورگر) و کنترل رنگ hover */
.acd-crumb a,
.acd-meta-back,
.acd-keyword,
.acd-mini,
.acd-mini:hover,
.acd-mini-title a,
.acd-side-body a,
.acd-cta-btn,
.acd-body a {
    text-decoration: none !important;
}

.acd-mini,
.acd-mini:hover {
    color: inherit !important;
}

.acd-body a {
    text-decoration: underline !important;
    text-underline-offset: 4px;
}

.acd-body a:hover {
    color: #3730a3 !important;
}

.acd-cta-btn:hover,
.acd-keyword:hover,
.acd-meta-back:hover,
.acd-crumb a:hover {
    text-decoration: none !important;
}

/* تصاویر پزشکان و مطالب: کراپ از بالا تا صورت دیده شود */
.acd-mini-media img,
.hd-article-page .acd-gallery .row img {
    object-position: center 22%;
    background: linear-gradient(135deg, #eef2ff, #f5f3ff);
}

.acd-mini-fallback {
    display: none;
}

.acd-cover-default img {
    object-fit: cover;
    object-position: center 30%;
    max-height: 320px;
}

.hd-article-page .acd-side-thumb {
    border: 1px solid #e7eef4;
    background: linear-gradient(135deg, #eef2ff, #f5f3ff);
}

/* پزشکان مرتبط: تصویر داخل قاب دایره‌ای مثل کارت پزشک صفحه اصلی */
.hd-article-page .acd-mini-doctor {
    align-items: center;
    text-align: center;
}

.hd-article-page .acd-mini-doctor .acd-mini-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    padding: 18px 0 4px;
    background: linear-gradient(180deg, #eef2ff 0%, #f8faff 100%);
}

.hd-article-page .acd-mini-doctor .acd-mini-media img {
    width: 108px;
    height: 108px;
    max-width: 60%;
    border: 4px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    background: #fff;
    box-shadow: 0 12px 22px -14px rgba(30, 41, 99, 0.55);
    transition: transform 0.4s ease;
}

.hd-article-page .acd-mini-doctor:hover .acd-mini-media img {
    transform: scale(1.04);
}

.hd-article-page .acd-mini-doctor .acd-mini-body {
    align-items: center;
    padding-top: 11px;
    text-align: center;
}

.hd-article-page .acd-mini-doctor .acd-mini-skill {
    text-align: center;
}

.hd-article-page .acd-mini-doctor .acd-mini-foot {
    justify-content: center;
    width: 100%;
    gap: 7px;
}

@media (max-width: 767px) {
    .hd-article-page .acd-mini-doctor .acd-mini-media {
        padding: 14px 0 2px;
    }

    .hd-article-page .acd-mini-doctor .acd-mini-media img {
        width: 92px;
        height: 92px;
    }
}

.hd-article-page .acd-mini-doctor .acd-mini-media img {
    flex: 0 0 auto;
    width: 108px;
    height: 108px;
    min-width: 0;
    max-width: none;
}

@media (max-width: 767px) {
    .hd-article-page .acd-mini-doctor .acd-mini-media img {
        width: 92px;
        height: 92px;
        min-width: 0;
        max-width: none;
    }
}

/* غلبه بر قاعده سراسری img{width:100%!important} در site.min.css (زیر 480px) */
.hd-article-page .acd-mini-doctor .acd-mini-media img {
    width: 108px !important;
}

.hd-article-page .acd-side-thumb {
    width: 72px !important;
}

@media (max-width: 767px) {
    .hd-article-page .acd-mini-doctor .acd-mini-media img {
        width: 92px !important;
    }
}

/* یکسان‌سازی فونت متن مقاله و دیدگاه‌ها با فونت اصلی سایت (IRANSansX) */
.hd-article-page .acd-body,
.hd-article-page .acd-body-clean,
.hd-article-page .acd-cbox-body {
    font-family: "IRANSansX", Tahoma, sans-serif;
}

.hd-article-page .acd-body :not(code):not(pre):not(kbd):not(samp),
.hd-article-page .acd-cbox-body :not(code):not(pre):not(kbd):not(samp) {
    font-family: inherit !important;
}

/* آرشیو مطالب: چیدمان وسط‌چین و بنر نوبت‌دهی */
.hd-articles-page .ac-layout {
    display: block;
    width: 100%;
}

.hd-articles-page .ac-main,
.hd-articles-page .ac-banner {
    width: 100%;
    max-width: 1080px;
    margin-right: auto;
    margin-left: auto;
}

.hd-articles-page .ac-banner {
    margin-bottom: 22px;
}

.hd-articles-page .ac-cta--banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 18px 24px;
    text-align: center;
}

.hd-articles-page .ac-cta--banner .ac-cta-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hd-articles-page .ac-cta--banner .ac-cta-text b {
    color: #fff !important;
    font-size: 15.5px;
    font-weight: 900;
    line-height: 1.9;
}

.hd-articles-page .ac-cta--banner .ac-cta-text small {
    color: #e0e7ff;
    font-size: 12.5px;
    line-height: 2;
}

.hd-articles-page .ac-cta--banner .ac-cta-btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

.hd-articles-page .ac-toolbar {
    justify-content: center;
}

.hd-articles-page .ac-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1199px) {
    .hd-articles-page .ac-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .hd-articles-page .ac-cta--banner {
        flex-direction: column;
        gap: 12px;
        padding: 20px 18px;
    }

    .hd-articles-page .ac-cta--banner .ac-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .hd-articles-page .ac-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ============================================================
   بازطراحی کامل صفحات جستجوی پزشکان و کلینیک ها
   ============================================================ */
.ds-page {
    padding-bottom: 10px;
}

.ds-hero {
    position: relative;
    overflow: hidden;
    margin-top: 16px;
    padding: 32px 20px 34px;
    border-radius: 26px;
    background:
        radial-gradient(760px 300px at 88% -20%, rgba(255, 255, 255, 0.28), transparent 60%),
        radial-gradient(600px 260px at 6% 120%, rgba(147, 51, 234, 0.35), transparent 62%),
        linear-gradient(130deg, #312e81 0%, #4f46e5 52%, #7c3aed 100%);
    box-shadow: 0 26px 50px -30px rgba(49, 46, 129, 0.75);
    color: #fff !important;
    text-align: center;
}

.ds-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 15px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.16);
    color: #e0e7ff;
    font-size: 12px;
    font-weight: 800;
}

.ds-hero h1 {
    margin: 14px 0 6px;
    color: #fff !important;
    font-size: 25px;
    font-weight: 900;
    line-height: 1.75;
}

.ds-hero p {
    max-width: 660px;
    margin: 0 auto;
    color: #e0e7ff;
    font-size: 13.5px;
    line-height: 2.15;
}

.ds-shell {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

.ds-panel {
    position: relative;
    z-index: 3;
    margin: -26px 20px 0;
    padding: 20px;
    border: 1px solid #e7eef4;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 22px 44px -28px rgba(30, 41, 99, 0.45);
}

.ds-search {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 12px;
    align-items: end;
}

.ds-field {
    display: block;
    min-width: 0;
}

.ds-label {
    display: block;
    margin: 0 4px 6px;
    color: #6c7a89;
    font-size: 11.5px;
    font-weight: 800;
}

.ds-control {
    position: relative;
    display: block;
}

.ds-control > svg {
    position: absolute;
    top: 50%;
    right: 13px;
    margin-top: -10px;
    color: #94a3b8;
    pointer-events: none;
}

.ds-control--select::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 15px;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-right: 2px solid #a8b6c6;
    border-bottom: 2px solid #a8b6c6;
    transform: rotate(45deg);
    pointer-events: none;
}

.ds-input,
.ds-select {
    box-sizing: border-box;
    width: 100%;
    height: 46px;
    padding: 0 40px 0 14px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fbfcfe;
    color: #1e293b;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 700;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ds-select {
    padding: 0 34px 0 14px;
    padding-right: 40px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.ds-input:focus,
.ds-select:focus {
    border-color: #a5b4fc;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.ds-input::placeholder {
    color: #a8b6c6;
    font-weight: 600;
}

.ds-actions {
    display: flex;
    gap: 8px;
}

.ds-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 14px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ds-btn-primary {
    background: linear-gradient(120deg, #4f46e5 0%, #7c3aed 100%);
    color: #fff !important;
    box-shadow: 0 16px 28px -16px rgba(79, 70, 229, 0.9);
}

.ds-btn-primary:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 20px 32px -16px rgba(79, 70, 229, 0.95);
}

.ds-btn-ghost {
    background: #eef2ff !important;
    color: #4338ca;
}

.ds-btn-ghost:hover {
    background: #e0e7ff;
    color: #3730a3;
}

.ds-results-head {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 26px 0 16px;
    text-align: center;
}

.ds-count {
    margin: 0;
    color: #1e293b;
    font-size: 14px;
    font-weight: 900;
}

.ds-count b {
    color: #4f46e5 !important;
    font-size: 17px;
}

.ds-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 40px;
    background: #f5f3ff;
    color: #5b21b6;
    font-size: 11.5px;
    font-weight: 800;
}

.ds-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ds-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 16px;
    border: 1px solid #e7eef4;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 24px -18px rgba(30, 41, 99, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ds-card:hover {
    transform: translateY(-4px);
    border-color: #c7d2fe;
    box-shadow: 0 24px 42px -26px rgba(79, 70, 229, 0.5);
}

.ds-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ds-avatar {
    position: relative;
    flex: 0 0 auto;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: linear-gradient(140deg, #eef2ff 0%, #e0e7ff 100%);
    box-shadow: 0 10px 20px -14px rgba(30, 41, 99, 0.6);
}

.ds-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    border: 3px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    background: #fff;
}

.ds-card-id {
    flex: 1 1 auto;
    min-width: 0;
}

.ds-name {
    margin: 0 0 3px;
    color: #1e293b;
    font-size: 14.5px;
    font-weight: 900;
    line-height: 1.8;
}

.ds-name a {
    color: inherit !important;
    text-decoration: none;
}

.ds-name a:hover {
    color: #4f46e5 !important;
}

.ds-skill {
    display: block;
    color: #4f46e5 !important;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.9;
}

.ds-place {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.9;
}

.ds-rate {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex: 0 0 auto;
}

.ds-rate small {
    color: #94a3b8;
    font-size: 10.5px;
    font-weight: 700;
}

.ds-stars {
    position: relative;
    display: inline-block;
    direction: ltr;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 1px;
    white-space: nowrap;
}

.ds-stars i {
    font-style: normal;
}

.ds-stars-track {
    color: #dde5ee;
}

.ds-stars-fill {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    color: #f6a821;
}

.ds-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 11px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 2;
}

.ds-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 11px;
}

.ds-tag {
    padding: 4px 10px;
    border-radius: 40px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.8;
}

.ds-tag--live {
    background: #ecfdf5;
    color: #047857;
}

.ds-tag--book {
    background: #eff6ff;
    color: #1d4ed8;
}

.ds-tag--more {
    background: #eef2ff !important;
    color: #4338ca;
}

.ds-card-foot {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 13px;
}

.ds-addr {
    flex: 1 1 auto;
    min-width: 0;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.9;
}

.ds-card-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}

.ds-btn-profile {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 34px;
    padding: 0 13px;
    border-radius: 12px;
    background: linear-gradient(120deg, #4f46e5 0%, #7c3aed 100%);
    color: #fff !important;
    font-size: 11.5px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 12px 22px -14px rgba(79, 70, 229, 0.9);
    transition: transform 0.2s ease;
}

.ds-btn-profile:hover {
    color: #fff !important;
    transform: translateY(-2px);
}

.ds-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: #eef2ff !important;
    color: #4f46e5 !important;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ds-icon-btn:hover {
    background: #4f46e5;
    color: #fff !important;
    transform: translateY(-2px);
}

.ds-empty {
    padding: 46px 20px;
    border: 1px dashed #dbe3ef;
    border-radius: 22px;
    background: #fbfcfe;
    text-align: center;
}

.ds-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 22px;
    background: #eef2ff !important;
    color: #6366f1;
}

.ds-empty h3 {
    margin: 14px 0 6px;
    color: #1e293b;
    font-size: 16px;
    font-weight: 900;
}

.ds-empty p {
    margin: 0 0 16px;
    color: #94a3b8;
    font-size: 12.5px;
    line-height: 2;
}

.ds-pager {
    display: flex;
    justify-content: center;
    margin: 26px 0 6px;
}

.ds-page [hidden] {
    display: none !important;
}

.ds-pager .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ds-pager .pagination li {
    margin: 0;
}

.ds-pager .pagination li > a,
.ds-pager .pagination li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e7eef4;
    border-radius: 12px;
    background: #fff;
    color: #4f46e5 !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 6px 14px -10px rgba(79, 70, 229, 0.7);
}

.ds-pager .pagination li > a:hover {
    background: #eef2ff !important;
    color: #3730a3;
}

.ds-pager .pagination li.active > a {
    border-color: transparent;
    background: linear-gradient(120deg, #4f46e5 0%, #7c3aed 100%);
    color: #fff !important;
}

.ds-pager .pagination li.disabled > a {
    background: #f8fafc;
    color: #cbd5e1;
    cursor: default;
}

.ds-skel {
    padding: 16px;
    border: 1px solid #eef2f7;
    border-radius: 20px;
    background: #fff;
}

.ds-skel-line {
    height: 12px;
    margin-bottom: 9px;
    border-radius: 8px;
    background: linear-gradient(90deg, #eef2f7 0%, #e2e8f0 50%, #eef2f7 100%);
    background-size: 200% 100%;
    animation: dsShimmer 1.3s linear infinite;
}

.ds-skel-avatar {
    width: 74px;
    height: 74px;
    border-radius: 50%;
}

@keyframes dsShimmer {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

@media (max-width: 1199px) {
    .ds-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .ds-search {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ds-actions {
        grid-column: 1 / -1;
    }

    .ds-btn {
        flex: 1 1 auto;
    }
}

@media (max-width: 767px) {
    .ds-hero {
        padding: 26px 16px 30px;
        border-radius: 22px;
    }

    .ds-hero h1 {
        font-size: 20px;
    }

    .ds-panel {
        margin: -22px 12px 0;
        padding: 16px;
    }

    .ds-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 575px) {
    .ds-search {
        grid-template-columns: minmax(0, 1fr);
    }

    .ds-card-head {
        gap: 10px;
    }

    .ds-avatar {
        width: 62px;
        height: 62px;
    }
}

/* ======================= Doctor online page ======================= */
.dlo-page {
    padding: 26px 0 44px;
    background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 320px);
}

.dlo-page [hidden] {
    display: none !important;
}

.dlo-hero {
    position: relative;
    overflow: hidden;
    max-width: 980px;
    margin: 0 auto 22px;
    padding: 34px 32px;
    border: 1px solid #e6ecf6;
    border-radius: 28px;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(14, 165, 233, 0.16) 0%, rgba(14, 165, 233, 0) 55%),
        radial-gradient(120% 140% at 0% 100%, rgba(124, 58, 237, 0.16) 0%, rgba(124, 58, 237, 0) 55%),
        #fff;
    box-shadow: 0 26px 60px -42px rgba(30, 41, 99, 0.55);
    text-align: center;
}

.dlo-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5 !important;
    font-size: 12px;
    font-weight: 800;
}

.dlo-hero h1 {
    margin: 14px 0 0;
    color: #0f172a;
    font-size: 27px;
    font-weight: 900;
    line-height: 1.6;
}

.dlo-hero p {
    max-width: 640px;
    margin: 10px auto 0;
    color: #5b6b7d;
    font-size: 14px;
    font-weight: 600;
    line-height: 2.1;
}

.dlo-phones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.dlo-phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 42px;
    padding: 0 18px;
    border-radius: 14px;
    background: linear-gradient(120deg, #4f46e5 0%, #7c3aed 100%);
    color: #fff !important;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-decoration: none;
    box-shadow: 0 14px 26px -16px rgba(79, 70, 229, 0.9);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dlo-phone:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 18px 30px -16px rgba(79, 70, 229, 0.95);
}

.dlo-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 1180px;
    margin: 0 auto 14px;
    padding: 0 4px;
}

.dlo-count {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.dlo-count b {
    color: #0f172a;
    font-size: 19px;
    font-weight: 900;
}

.dlo-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    color: #4f46e5 !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.dlo-all-link:hover {
    background: #eef2ff !important;
    border-color: #c7d2fe;
    color: #3730a3 !important;
}

.dlo-grid-wrap {
    max-width: 1180px;
    margin: 0 auto;
}

.dlo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.dlo-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 18px;
    border: 1px solid #e7eef4;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 30px -24px rgba(30, 41, 99, 0.5);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.dlo-card:hover {
    transform: translateY(-4px);
    border-color: #dbe3f3;
    box-shadow: 0 26px 46px -28px rgba(30, 41, 99, 0.55);
}

.dlo-card-link {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    color: inherit !important;
    text-decoration: none;
}

.dlo-avatar {
    position: relative;
    flex: 0 0 auto;
    width: 92px;
    height: 92px;
    padding: 3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 55%, #0ea5e9 100%);
    box-shadow: 0 16px 28px -18px rgba(79, 70, 229, 0.95);
    transition: transform 0.25s ease;
}

.dlo-card:hover .dlo-avatar {
    transform: scale(1.04);
}

.dlo-avatar img {
    width: 100%;
    height: 100%;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #fff;
    object-fit: cover;
}

.dlo-online {
    position: absolute;
    right: 3px;
    bottom: 3px;
    width: 16px;
    height: 16px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 4px 10px -3px rgba(34, 197, 94, 0.9);
}

.dlo-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1 1 auto;
}

.dlo-name {
    margin: 0 0 3px;
    color: #0f172a;
    font-size: 14.5px;
    font-weight: 900;
    line-height: 1.8;
}

.dlo-skill {
    display: block;
    color: #4f46e5 !important;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.9;
}

.dlo-place {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    color: #7b8a9c;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.8;
}

.dlo-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
}

.dlo-flag {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 800;
}

.dlo-flag.is-on {
    background: #ecfdf5;
    color: #059669;
}

.dlo-flag.is-off {
    background: #f1f5f9;
    color: #94a3b8;
}

.dlo-flag.is-book {
    background: #eef2ff;
    color: #4f46e5;
}

.dlo-rate {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex: 0 0 auto;
}

.dlo-rate small {
    color: #94a3b8;
    font-size: 10.5px;
    font-weight: 700;
}

.dlo-stars {
    position: relative;
    display: inline-block;
    direction: ltr;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 1px;
    white-space: nowrap;
}

.dlo-stars i {
    font-style: normal;
}

.dlo-stars-track {
    color: #dde5ee;
}

.dlo-stars-fill {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    color: #f6a821;
}

.dlo-foot {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px dashed #e8eef5;
}

.dlo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    height: 36px;
    padding: 0 14px;
    border-radius: 12px;
    background: linear-gradient(120deg, #4f46e5 0%, #7c3aed 100%);
    color: #fff !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 12px 22px -14px rgba(79, 70, 229, 0.9);
    transition: transform 0.2s ease;
}

.dlo-btn:hover {
    color: #fff !important;
    transform: translateY(-2px);
}

.dlo-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 36px;
    padding: 0 12px;
    border-radius: 12px;
    background: #eef2ff;
    color: #4f46e5 !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.dlo-call:hover {
    background: #4f46e5;
    color: #fff !important;
}

.dlo-pager {
    display: flex;
    justify-content: center;
    margin: 26px 0 6px;
}

.dlo-pager .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dlo-pager .dlo-page-item {
    margin: 0;
}

.dlo-pager .dlo-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e7eef4;
    border-radius: 12px;
    background: #fff;
    color: #4f46e5 !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 6px 14px -10px rgba(79, 70, 229, 0.7);
    transition: background 0.2s ease;
}

.dlo-pager .dlo-page-link:hover {
    background: #eef2ff !important;
    color: #3730a3 !important;
}

.dlo-pager .dlo-page-item.is-current .dlo-page-link {
    border-color: transparent;
    background: linear-gradient(120deg, #4f46e5 0%, #7c3aed 100%);
    color: #fff !important;
}

.dlo-pager .dlo-page-item.disabled .dlo-page-link {
    background: #f8fafc;
    color: #cbd5e1;
    pointer-events: none;
}

.dlo-range {
    margin: 14px 0 0;
    color: #94a3b8;
    font-size: 11.5px;
    font-weight: 700;
    text-align: center;
}

.dlo-empty {
    max-width: 620px;
    margin: 0 auto;
    padding: 46px 24px;
    border: 1px dashed #dbe4f0;
    border-radius: 24px;
    background: #fff;
    text-align: center;
}

.dlo-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #eef2ff;
    color: #4f46e5 !important;
}

.dlo-empty h3 {
    margin: 14px 0 0;
    color: #0f172a;
    font-size: 17px;
    font-weight: 900;
}

.dlo-empty p {
    margin: 8px auto 18px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    line-height: 2;
}

.dlo-empty .dlo-btn {
    display: inline-flex;
    padding: 0 22px;
}

@media (max-width: 991px) {
    .dlo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .dlo-page {
        padding: 16px 0 34px;
    }

    .dlo-hero {
        padding: 26px 18px;
        border-radius: 22px;
    }

    .dlo-hero h1 {
        font-size: 22px;
    }

    .dlo-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .dlo-card {
        padding: 16px;
    }

    .dlo-avatar {
        width: 80px;
        height: 80px;
    }

    .dlo-results-head {
        flex-direction: column;
        align-items: flex-start;
    }
}
