/*
 Theme Name: Flatsome Child
 Theme URI: https://connsect.com
 Description: Child theme for Flatsome
 Author: Hossein Mahmoodi
 Template: flatsome
 Text Domain: flatsome-child
*/
.mkq-toc__title {
	color: #001176;
}
.mkq-toc__title {
  font-size: 1.125rem;   /* اندازه تیتر */
  font-weight: 700;      /* ضخامت */
  margin-bottom: 1rem;
  position: relative;
  padding-inline-start: 0.5rem;
}


.mkq-toc__title::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -6px;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #32bbff, #001176);
}
.mkq-toc__header {
  display: flex;
  align-items: center;
  justify-content: space-between; /* عنوان یک طرف، کامنت طرف دیگه */
  margin-bottom: 1rem;
}
.mkq-toc{--ring:#e5e7eb;--fg:#0f172a;--muted:#6b7280;--accent:#111827;
  background:#fff;border:1px solid var(--ring);border-radius:16px;padding:14px 12px;box-shadow:0 6px 24px rgba(2,6,23,.06);font-size:14px;color:var(--fg)}
.mkq-toc__title{margin:0 0 8px;font-weight:800;font-size:16px}

/* اسکرول داخلی فهرست بلند */
.mkq-toc__wrap{max-height:clamp(303px,73vh,88vh);overflow:auto;scrollbar-gutter:stable;border-radius:12px;scroll-behavior: smooth;}
.mkq-toc__wrap::-webkit-scrollbar{width:9px}
.mkq-toc__wrap::-webkit-scrollbar-thumb{background:#e5e7eb;border-radius:999px}
.mkq-toc__wrap:hover::-webkit-scrollbar-thumb{background:#cbd5e1}

.mkq-toc__list, .mkq-toc__list ul{list-style:none;margin:0;padding:0}
.mkq-toc__list>li{margin:6px 0}
.mkq-toc a{display:block;text-decoration:none;color:var(--fg);padding:8px 10px;border-radius:10px;line-height:1.6}

.mkq-toc .is-active>a{background:#eef2ff !important;color:#1d4ed8 !important}
.mkq-toc a:hover{background:#f8fafc !important}
.mkq-toc__list ul{margin:6px 10px 0 0;border-right:2px dashed var(--ring);padding-right:10px}
.mkq-toc__close {
	display: none;
}
/* سایدبار استیکی */
.mkq-toc--sticky{position:sticky;top:84px}

/* جبران هدر چسبان هنگام پرش به انکر */
:target{scroll-margin-top:84px}
@media (max-width: 900px){
	.mkq-toc.mkq-toc--sticky {
		height: auto !important;
	}
	.mkq-toc .tabs-nav {
		overflow-x: hidden;
		overflow-y: scroll;
		font-size: 15px;
		max-height: 100%;
	}
	.mkq-toc__close {
		display: block;
		float: left;
        font-size: 26px;
        margin: -20px;
	}
.mkq-toc--sticky{top:0}
  .mkq-toc{
        position: fixed !important;
        inset-block: 0 !important;
        inset-inline-end: 0;
        width: min(86vw, 420px);
        background: #ffffff;
        box-shadow: -21px 91px 93px rgb(0 0 0 / 78%) !important;
        transform: translateX(-110%);
        transition: transform .28s 
cubic-bezier(.2, .8, .2, 1);
        border-radius: 0 !important;
        padding: 18px 16px 72px !important;
        overflow: auto;
        z-index: 9999;
        margin: 0 !important;
  }
  .nav.open, .mkq-toc.open{ transform: translateX(0); }
}
@media (max-width: 550px){
	.mkq-toc, .header {
		z-index: 99;
	}
	.header-button.data-toc-trigger, .mkq-top-share .col-inner > a>span {
		display: none;
	}
}

.mkq-toc.open {
  transform: translateX(0);
}

/* بک‌دراپ فهرست */
.mkq-toc-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.45);
  opacity: 0;
  pointer-events: none;
  z-index: 9998;
  transition: opacity .2s ease;
}

.mkq-toc-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
.bottom-footer-menu {
	    flex-direction: row !important;
    gap: 30px;
}
.newbox .is-sticky-column .col-inner {
    background: none !important;
    box-shadow: none !important;
    margin-top: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
}