.expert-profile-content-holder {
    position: relative;
}
.expert-profile-content-holder.is-hired .expert-profile-content {
    -webkit-filter: blur(4px);
    filter: blur(4px);
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}
.expert-profile-hired {
    background-image: linear-gradient(0deg,hsla(0,0%,100%,0),#fff 50%);
    padding: 60px 44px 80px;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 100%;
    z-index: 2;
}
.expert-profile-hired i.fal {
    background: #5ec445;
    border-radius: 100%;
    box-shadow: 0 0 0 4px rgba(94,196,69,.25);
    color: #fff;
    font-size: 16px;
    height: 48px;
    line-height: 50px;
    margin-bottom: 24px;
    text-align: center;
    width: 48px;
		display: inline-block;
}

.expert-profile-hired h4 {
	margin-bottom: 0;
}
.expert-profile-hired a {
	margin-top: 15px;
}

.kt-modal-wrap {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;

    /* حالت اولیه مخفی */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.kt-modal-wrap.active {
    opacity: 1;
    pointer-events: auto;
}

.kt-modal-content {
    background: #fff;
    border-radius: 12px;
    width: 400px;
    max-width: 90%;
    position: relative;

    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s ease;
    border-radius: 12px;
    overflow: hidden;
}

.kt-modal-wrap.active .kt-modal-content {
    transform: translateY(0);
    opacity: 1;
}

.kt-modal-close {
    font-size: 30px;
    cursor: pointer;
}


.kt-modal-header {
    align-items: center;
    border-bottom: 1px solid #e4e6ed;
    display: flex;
    justify-content: space-between;
    padding: 13px 25px;
}
.kt-modal-header .kt-modal-title {
    color: #2e303b;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    padding-top: 2px;
}

.kt-modal-body {
    background: #f0f2f7;
	padding: 25px;
}
.kt-modal-body {
    font-size: 14px;
    text-align: right;
}


.kt-expert-contact-modal-item, .kt-job-contact-modal-item {
    align-items: center;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(46,48,59,.15);
    display: flex;
    margin-bottom: 10px;
    padding: 20px;
    position: relative;
    top: 0;
    transition: top .15s ease-in-out,box-shadow .15s ease-in-out;
}
.kt-expert-contact-modal-item i {
    align-items: center;
    border-radius: 8px;
    color: #fff;
    display: flex;
    font-size: 16px;
    height: 32px;
    justify-content: center;
    margin-left: 10px;
    width: 32px;
}
.kt-expert-contact-modal-item i.fa-phone {
    background: #5ec445;
    font-size: 13px;
    padding-top: 2px;
}
.kt-expert-contact-modal-item i.fa-instagram {
    background: #fa697e;
}
.kt-expert-contact-modal-item i.fa-telegram {
    background: #48b0e5;
    font-size: 12px;
    padding-right: 1px;
}
.kt-expert-contact-modal-item i.fa-whatsapp {
    background: #3ed579;
}


.kt-expert-contact-modal-item i.fa-angle-left {
    border-radius: 8px;
    font-size: 14px;
    height: 24px;
    margin-left: 0;
    margin-right: auto;
    width: 24px;
}
.kt-expert-contact-modal-item.instagram i.fa-angle-left {
    background: rgba(250,105,126,.18);
    color: #fa697e;
}
.kt-expert-contact-modal-item.whatsapp i.fa-angle-left {
    background: rgba(62, 213, 121, .18);
    color: #2dcd6b;
}

.kt-expert-contact-modal-item.telegram i.fa-angle-left {
    background: rgba(94,186,232,.22);
    color: #48b0e5;
}
.kt-expert-contact-modal-item.mobile strong {
    background: rgba(94,196,69,.18);
    border-radius: 8px;
    color: #528645;
    font-weight: 400;
    letter-spacing: -.5px;
    line-height: 1;
    margin-right: auto;
    padding: 9px 10px 5px;
}

.filter-group label {
	cursor: pointer;
}

.related-experts {
    margin-top: 40px;
}
.btn-color-primary {
    --btn-color: #fff;
    --btn-color-hover: #fff;
    --btn-bgcolor: var(--wd-primary-color);
    --btn-bgcolor-hover: var(--wd-primary-color);
    --btn-brd-color: var(--wd-primary-color);
    --btn-brd-color-hover: var(--wd-primary-color);
    --btn-box-shadow-hover: inset 0 0 0 1000px rgba(0,0,0,0.1);
}
.btn-shape-curv {
	border-radius: 6px !important;
}
.related-experts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* فاصله بین آیتم‌ها */
}

/* هر کارت متخصص */
.related-experts-grid > * {
    width: calc(50% - 10px) !important; 
}
@media (max-width: 768px) {
    .related-experts-grid > * {
        width: 100% !important;
    }
}

.expert-profile-similar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.expert-profile-similar-header h3 {
    margin-bottom: 0;
}


.expert-archive-wrap {
	display: flex;
	gap: 20px;
}
.expert-sidebar {
		width: 25%;
}
.expert-sidebar form {
	background: #fff;
  border: 1px solid #e4e6ed;
  border-radius: 8px;
}
.filter-group {
	padding: 25px;
	border-bottom: 1px solid #e4e6ed;
}
.filter-group:last-child {
	border-bottom: 0px solid #e4e6ed;
}
.expert-list {
	width: 75%;
}
.experts-grid {
	display: flex;
	gap: 20px;
    flex-wrap: wrap;
}
.expert-card {
	border: 1px solid #e4e6ed;
    background-color: #fff;
	border-radius:8px;
	padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.expert-card-holder {
    width: calc(50% - 10px); 
}
h5.expert-filter-title {
	font-size: 17px;
	margin-bottom: 13px;
}

.experts-list-item-header {
    display: flex;
    align-items: center;
    gap: 20px;
}
.experts-list-item-header img {
	max-height: 50px;
	max-width: 50px;
	border-radius: 6px;
}

.is-hired .experts-list-item-header img {
	opacity: .75;
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
}

.experts-list-item-name-holder h4, .experts-list-item-name-holder h5 {
	margin-bottom:1px;
}
.experts-list-item-name-holder h4 {
    font-size: 14px;
    font-weight: 500;
    color: #848a9b;
}
.experts-list-item-name-holder h5 {
	font-size: 17px;
	font-weight: 600;
}

.experts-list-item-skills-holder {
    background: #f0f2f7;
    border-radius: 6px;
    overflow: hidden;
    padding: 16px;
    position: relative;
}
.experts-list-item-skills {
    display: flex;
    margin: -4px -4px -4px 0;
    overflow: hidden;
    padding: 4px;
}
.experts-list-item-skills span {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(46,48,59,.1);
    color: #535867;
    font-size: 14px;
    font-weight: 400;
    margin-left: 4px;
    padding: 3px 8px 1px;
    white-space: nowrap;
}

.is-hired .experts-list-item-skills span {
    opacity: .75;
}
.experts-list-item-skills-holder:after {
    background-image: linear-gradient(90deg,#f0f2f7,rgba(240,242,247,0));
    bottom: 0;
    content: "";
    height: 48px;
    left: 16px;
    position: absolute;
    width: 60px;
}
span.experts-skills-title {
	font-weight: 600;
}
.experts-list-item-footer {
    align-items: center;
    display: flex;
    justify-content: space-between;
    line-height: 20px;
    margin-top: 18px;
}
.experts-list-item-footer .fal.fa-location-dot {
	margin-left: 5px;
}
.experts-list-item-info {
    color: #46484f;
    display: flex;
    flex-basis: 0;
    flex-grow: 1;
    font-size: 13px;
    overflow: hidden;
	align-items: center;
}

.experts-list-item-salary {
    color: #2369db;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    padding-right: 12px;
    padding-top: 2px;
    white-space: nowrap;
}
.is-hired .experts-list-item-salary {
    color: #444754;
}
.experts-list-item-info div {
    margin-left: 8px;
    overflow: hidden;
    padding-left: 12px;
    position: relative;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.experts-list-item-info div.experts-list-item-location:after {
    background: #adb8d4;
    border-radius: 100%;
    bottom: 0;
    content: "";
    height: 4px;
    left: 0;
    margin: auto 0;
    position: absolute;
    top: 2px;
    width: 4px;
}


.experts-list-item-hired {
    align-items: center;
    display: flex;
    margin-right: 16px;
    opacity: .8;
    white-space: nowrap;
}
.experts-list-item-name-holder {
    flex-basis: 0;
    flex-grow: 1;
    overflow: hidden;
}
.experts-list-portfolio-holder {
    overflow: hidden;
    position: relative;
}
.experts-list-item-hired i {
    background: #5e6475;
    border-radius: 100%;
    color: #fff;
    font-size: 11px;
    height: 24px;
    line-height: 26px;
    margin-left: 8px;
    text-align: center;
    width: 24px;
}

.experts-list-gallery {
    display: flex;
    margin: -4px;
}
.experts-list-gallery-item {
    min-width: 94px;
    padding: 4px;
    width: 94px;
}
.experts-list-portfolio-holder:after {
    background-image: linear-gradient(90deg,#fff,hsla(0,0%,100%,0));
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    top: 0;
    width: 24px;
    z-index: 2;
}
.experts-list-gallery-item-inner {
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}
.experts-list-item-name, .experts-list-item-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.is-hired .experts-list-gallery{
    opacity: .75;
        -webkit-filter: grayscale(1);
    filter: grayscale(1);
}



.row {
    display: flex;
    flex-flow: row wrap;
    margin-left: -20px;
    margin-right: -20px;
}
.kt-col-xs-12, .vc_col-xs-12 {
    width: 100%;
}
@media (min-width: 768px) {
    .kt-col-sm-6, .vc_col-sm-6 {
        width: 50%;
    }
}
.column {
    padding-left: 25px;
    padding-right: 25px;
    position: relative;
}
.expert-profile-about {
    font-size: 15px;
    line-height: 2.2;
    margin-bottom: 20px;
	text-align: justify;
}
.expert-profile-holder, .expert-profile-reviews, .expert-profile-similar {
    background: #fff;
    border: 1px solid #e4e6ed;
    border-radius: 12px;
    position: relative;
    z-index: 2;
}

.breadcrumb-holder .breadcrumb {
	color: #fff;
	font-size: 13px;
}
.breadcrumb-holder .breadcrumb a {
	color: #fff;
}
.breadcrumb-holder .breadcrumb i.fa-angle-left {
	margin: 0 10px;
	font-size: 11px;
}

.breadcrumb-holder .breadcrumb .fal.fa-home {
    background-color: rgb(0 0 0 / 23%);
    padding: 8px;
    border-radius: 10px;
    margin-left: 10px;
    font-size: 12px;
    height: 30px;
    width: 30px;
    display: inline-block;
    line-height: 14px;
}

.expert-profile-header-bg-holder {
    border-radius: 12px 12px 0 0;
    bottom: 96px;
    left: -1px;
    overflow: hidden;
    position: absolute;
    right: -1px;
    top: -1px;
    z-index: 1;
}

.expert-profile-header-bg {
    background-color: #5e6475;
    background-position: 50%;
    background-size: cover;
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}
.expert-profile-header-bg:before {
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}
.expert-profile-header-bg:after {
    background: linear-gradient(-45deg,rgba(35,36,45,.9),rgba(35,36,45,.9) 42.5%,rgba(35,36,45,.75) 0,rgba(35,36,45,.75) 65%,rgba(35,36,45,.6) 0,rgba(35,36,45,.6) 82.5%,rgba(35,36,45,.45) 0,rgba(35,36,45,.45));
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}
.expert-profile-header-holder {
    position: relative;
}

.breadcrumb-holder {
    background: #f0f2f7;
    border-radius: 12px;
    margin-bottom: 60px;
    padding: 16px 20px 20px;
    position: relative;
    z-index: 2;
}
.breadcrumb-holder {
    background: none;
    margin-bottom: 0;
    padding: 40px 44px 0;
}
.expert-profile-header {
    display: flex;
    padding: 100px 44px 0;
}
.expert-profile-header {
    position: relative;
    z-index: 2;
}
.expert-profile-avatar {
    align-self: center;
    border-radius: 100px;
    box-shadow: 0 0 0 4px #fff;
    display: block;
    width: 160px;
}
.expert-profile-name-holder {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    margin-right: 24px;
    padding-bottom: 16px;
    padding-top: 12px;
		margin-left: auto !important;
}

.expert-profile-label {
    align-items: center;
    background: hsla(0,0%,100%,.2);
    border-radius: 50px;
    box-shadow: 0 1px 2px rgba(0,0,0,.15);
    color: #fff;
    display: flex;
    font-size: 13px;
    margin-bottom: auto;
    padding: 3px 12px 3px 14px;
}
.expert-profile-label svg {
    fill: #fff;
    height: 16px;
    width: 16px;
}
.expert-profile-label span {
    font-weight: 400;
    margin-right: 6px;
    padding-top: 2px;
}
.expert-profile-name {
    font-size: 20px;
	margin-bottom:0;
}
.text-muted {
    color: #5d616a!important;
}
.expert-profile-contact-btn {
    align-items: center !important;
    align-self: flex-end !important;
    border-radius: 6px !important;
    display: flex !important;
    margin-bottom: 20px !important;
    padding: 13px 24px 12px !important;
	background-color: var(--wd-primary-color) !important;
	color: #fff !important;
}

.expert-profile-content {
    padding: 40px 44px;
}


.expert-profile-list {
    display: flex;
    flex-wrap: wrap;
    margin: -4px;
		list-style: none;
		gap: 10px;
		padding:0;
}
.expert-profile-portfolio {
    margin-top: 25px;
}
.expert-profile-list li {
    padding: 4px;
		background: #fff;
    border: 1px solid #dfe3e9;
    border-radius: 8px;
    color: #455065;
    display: block;
    font-size: 14px;
    font-weight: 400;
    padding: 6px 14px 4px;
    transition: color .15s 
		ease-in-out, border-color .15s 
		ease-in-out;
		margin-bottom:0 !important;
}
.expert-profile-section-title {
    color: #2e303b;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

@media (min-width: 992px) {
    .kt-col-md-6, .vc_col-md-6 {
        width: 50%;
    }
}
.expert-profile-details.row .column {
    padding: 15px;
}

.experts-list-item-hired.not_hired i {
    background: #5ec445;
}
.experts-list-item-hired.not_hired {
	color: #4ca047;
	font-weight: 500;
	margin-right:0;
}
.expert-profile-salary {
    color: #1a67e3;
    font-size: 17px;
    font-weight: 500;
    line-height: 28px;
}


.expert-filter-toggle span {
	display: none;
}
.expert-filter-toggle {
	border-radius: 8px;
	line-height: 37px;
}
.ads-archive-header-holder {
    align-items: center;
    background: #fff;
    border: 1px solid #e4e6ed;
    border-radius: 8px;
    display: flex;
    margin-bottom: 24px;
    padding: 20px 24px;
}
.ads-archive-header-holder h2 {
	margin-bottom: 0;
	font-size: 17px;
}
.ads-archive-header-inner {
    flex-grow: 1;
    padding-left: 16px;
    padding-top: 4px;
}






.expert-profile-reviews, .expert-profile-similar {
    margin-top: 36px;
    padding: 40px 44px 44px;
}



.experts-gallery.five-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.experts-list-gallery-inner img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}


/* ─────────────────────────────── */
/* واکنشگرایی */
/* ─────────────────────────────── */

/* لپ‌تاپ متوسط (max 1200px) → 4 ستون */
@media (max-width: 1200px) {
    .experts-gallery.five-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* تبلت افقی (max 992px) → 3 ستون */
@media (max-width: 992px) {
    .experts-gallery.five-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* تبلت عمودی (max 768px) → 2 ستون */
@media (max-width: 768px) {
    .experts-gallery.five-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* موبایل (max 480px) → 1 ستون */
@media (max-width: 480px) {
    .experts-gallery.five-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}






@media (max-width: 1025px) {
    .expert-list {
    width: 100%;
}
}


@media (max-width: 767px) {

    .expert-profile-similar {
    padding: 0px;
}

    .expert-card-holder {
    width: 100%;
}
.experts-grid {
    flex-direction: column;
}

.expert-profile-header-bg-holder, .job-single-header-bg-holder {
    border-radius: 0;
    left: -15px;
    right: -15px;
    top: 0;
}
.expert-profile-header-bg-holder {
    bottom: auto;
    height: 108px;
}
.experts-page .breadcrumb-holder {
    padding: 20px 0 0;
}
.expert-profile-header {
    padding: 40px 0 0;
}
.expert-profile-header {
    display: block;
}
.expert-profile-avatar {
    border-radius: 100px;
    box-shadow: 0 0 0 2px #fff;
    float: left;
    width: 84px;
}
.expert-profile-name-holder {
    margin-right: 0;
    padding-bottom: 0;
    padding-top: 0;
}
.expert-profile-name-holder {
    font-size: 13px;
    line-height: 1.5;
}
.expert-profile-avatar {
    border-radius: 100px;
    box-shadow: 0 0 0 2px #fff;
    float: left;
    width: 84px;
}
.expert-profile-label {
    background: #ddedfe;
    border-radius: 6px;
    box-shadow: none;
    color: #346698;
    line-height: 1;
    margin-bottom: 10px;
    padding: 6px 6px 6px 11px;
}
.expert-profile-name-holder {
    margin-right: 0;
    padding-bottom: 0;
    padding-top: 0;
}
.expert-profile-name-holder {
    font-size: 13px;
    line-height: 1.5;
}
.breadcrumb-holder {
    padding: 20px 0 0;
}
.expert-profile-holder, .expert-profile-reviews, .expert-profile-similar {
    background: none;
    border: none;
    box-shadow: none;
}
.expert-profile-contact-btn {
    font-size: 14px;
    justify-content: center;
    margin-bottom: 0;
    margin-top: 16px;
    overflow: hidden;
    padding: 11px 20px 10px;
    width: 100%;
}
.expert-profile-content {
    padding: 24px 0 28px;
}

.ads-archive-header-holder {
    padding: 10px;
}

    .expert-profile-label svg {
        fill: #5091fa;
    }
}










/* دکمه فیلتر در موبایل */
.expert-filter-toggle {
    display: none !important;
    border-radius: 8px !important;
    border: none;
    cursor: pointer;
    margin-bottom: 0px !important;
}

/* سایدبار در موبایل مخفی است */
#expert-sidebar {
    transition: transform 0.35s ease, opacity 0.35s ease;
}

/* حالت موبایل */
@media (max-width: 768px) {
    .expert-filter-toggle {
        display: block !important;
    }

    #expert-sidebar {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        height: 100%;
        background: #fff;
        box-shadow: -4px 0 14px rgba(0,0,0,0.15);
        padding: 20px;
        overflow-y: auto;
        z-index: 99999;

        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
    }

    #expert-sidebar.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }
}



/* فقط موبایل */
@media (max-width: 768px) {

    .expert-sidebar-backdrop {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.45);
        z-index: 9999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .expert-sidebar-backdrop.active {
        opacity: 1;
        pointer-events: auto;
    }
}





.expert-widget-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* ستون‌ها در دسکتاپ */
.expert-widget-wrapper.expert-columns-1 > * {
    flex: 1 1 100%;
    max-width: 100%;
}

.expert-widget-wrapper.expert-columns-2 > * {
    flex: 1 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
}

.expert-widget-wrapper.expert-columns-3 > * {
    flex: 1 1 calc(33.3333% - 13.333px);
    max-width: calc(33.3333% - 13.333px);
}

/* تبلت – دو ستونه */
@media (max-width: 1024px) {
    .expert-widget-wrapper.expert-columns-2 > *,
    .expert-widget-wrapper.expert-columns-3 > * {
        flex: 1 1 calc(90% - 10px);
        max-width: calc(90% - 10px);
    }
}

/* موبایل – اسکرول افقی */
@media (max-width: 768px) {
    .expert-widget-wrapper {
        flex-wrap: nowrap;            /* جلوگیری از رفتن به خط بعد */
        overflow-x: auto;             /* فعال کردن اسکرول افقی */
        gap: 16px;                    /* در موبایل فاصله کمی بهتره */
        padding-bottom: 10px;         /* کمی فضا برای زیبایی */
        scrollbar-width: thin;
    }

    .expert-widget-wrapper > * {
        flex: 0 0 75%;                /* کارت‌ها تقریبا 75% صفحه موبایل */
        max-width: 75%;
    }

    /* اگر بخوای هر کارت تمام عرض موبایل باشه:  
       flex: 0 0 90%; max-width: 90%;  */
}
