/*
Theme Name: AsYar
Theme URI: asyar.ir
Author: fardin-heidari.ir
Description: new theme
Version: 1.0
*/

@font-face {
  font-family: Vazirmatn;
  src: url("fonts/fonts/ttf/Vazirmatn-Regular.ttf");
  src: url("fonts/fonts/ttf/Vazirmatn-Regular.ttf?#iefix") format("embedded-opentype"),
    url("fonts/fonts/ttf/Vazirmatn-Regular.ttf") format("woff"),
    url("fonts/fonts/ttf/Vazirmatn-Regular.ttf") format("truetype");
  font-weight: normal;
}
@font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot?gj4xzm');
  src:  url('fonts/icomoon.eot?gj4xzm#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?gj4xzm') format('truetype'),
    url('fonts/icomoon.woff?gj4xzm') format('woff'),
    url('fonts/icomoon.svg?gj4xzm#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.icon-dial-pad:before {
  content: "\e900";
}
.icon-facebook:before {
  content: "\e901";
  color: #1877f2;
}
.icon-gmail:before {
  content: "\e902";
  color: #d14836;
}
.icon-instagram:before {
  content: "\e903";
  color: #e4405f;
}
.icon-itunes:before {
  content: "\e904";
  color: #fb5bc5;
}
.icon-linkedin:before {
  content: "\e905";
  color: #0077b5;
}
.icon-telegram:before {
  content: "\e906";
  color: #2ca5e0;
}
.icon-x:before {
  content: "\e907";
}
.icon-wechat:before {
  content: "\e908";
  color: #7bb32e;
}
.icon-whatsapp:before {
  content: "\e909";
  color: #25d366;
}
.icon-youtube:before {
  content: "\e90a";
  color: #f00;
}
.icon-images:before {
  content: "\e90e";
}
.icon-film:before {
  content: "\e913";
}
.icon-video-camera:before {
  content: "\e914";
}
.icon-bullhorn:before {
  content: "\e91a";
}
.icon-book:before {
  content: "\e91f";
}
.icon-cart:before {
  content: "\e93a";
}
.icon-phone:before {
  content: "\e942";
}
.icon-location2:before {
  content: "\e948";
}
.icon-bell:before {
  content: "\e951";
}
.icon-calendar:before {
  content: "\e953";
}
.icon-printer:before {
  content: "\e954";
}
.icon-user-tie:before {
  content: "\e976";
}
.icon-search:before {
  content: "\e986";
}
.icon-gift:before {
  content: "\e99f";
}
.icon-hammer2:before {
  content: "\e9a8";
}
.icon-menu:before {
  content: "\e9bd";
}
.icon-man-woman:before {
  content: "\e9de";
}
.icon-cross:before {
  content: "\ea0f";
}
.icon-arrow-right2:before {
  content: "\ea3c";
}
.icon-arrow-left2:before {
  content: "\ea40";
}


html,
body {
  width: 100%;
  margin: 0;
  direction: rtl;
  font-family: Vazirmatn;
}
main{
	overflow:hidden;
}
a {
  text-decoration: none;
}
*:after {
  box-sizing: border-box;
}
img {
  vertical-align: middle;
}
.top_navar{
  position: relative;
  width: 100%;
  background-color: #ccb68d;
  color: #fff;
}
.top_navar{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
    align-items: center;
}
.top_navar div{
  display: flex;
  font-size: x-small;
}
.top_navar div nav{
  width: 100%;
}
.top_navar .top_navar_box1{
  padding: 5px;
  flex: 18%;
}
.top_navar .top_navar_box2{
  padding: 5px;
  flex: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.top_navar .top_navar_box2 i{
  margin-left: 2%;
}
.top_navar .top_navar_box3{
  padding: 5px;
  flex: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.top_navar .top_navar_box3 i{
  margin-left: 2%;
}
.top_navar .top_navar_box4{
  padding: 5px;
  flex: 15%;
}
.top_navar_box4 nav a{
  margin-left: 15%;
    font-size: large;
}
.navar_logo{
  width: 100%;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.right_number{
  flex: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.vasat_logo{
  flex: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.vaght_moshavere{
  flex: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.right_number nav{
  display: flex;
}
.right_number nav i{
  margin: -7% 1% 0% 9%;
    transform: rotate(250deg);
    color: #45414d;
}
.right_number nav a{
  color: #000;
}
.vaght_moshavere button {
  background-color: #45414d;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vaght_moshavere button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
  background-color: #ccb68d;
}

.vaght_moshavere button:active {
  transform: translateY(1px);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}
.menu_phone{
  display: none;
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #ccb68d;
}
.menu_phone ul{
  padding: 10px;
  margin: 0;
  width: 100%; 
  font-size: small;
  text-align: center;
}
.menu_phone ul li{
  display: inline-block;
  width: 15%;
  padding: 5px;
}
.menu_phone ul li a{
  color: #fff;
}
.menu_des{
  width: 100%;
  background-color: #ccb68d;
  padding-top: 4px;
  padding-bottom: 4px;
}
.menu_des ul{
  padding: 0;
  margin: 0;
  width: 100%; 
  font-size: small;
  text-align: center;
}
.menu_des ul ul{
  display: none;
  position: absolute;
  right: 0;
  width: 100%;
  margin-top: 3%;
  z-index: 1;
}
.menu_des ul ul li{
  width: 100%;
  background-color: #ccb68d;
}
.menu_des ul li{
  display: inline-block;
  width: 12%;
  padding: 5px;
  position: relative;
}
.menu_des ul a{
  color: #fff;
}
.menu_des ul li a:hover{
  border-bottom: 2px solid;
}
.menu_des ul li:hover ul{
  display: block;
}


/*slide*/
.untitled {
			position: relative;
			height: 500px;
			width: 100%;
			-webkit-animation: rotateHue infinite 20s linear;
			animation: rotateHue infinite 20s linear;
			-webkit-animation-delay: 0.625s;
			animation-delay: 0.625s;
			overflow: hidden;
		}

		@-webkit-keyframes rotateHue {
			0% {
				-webkit-filter: hue-rotate(0deg);
				filter: hue-rotate(0deg);
			}

			20% {
				-webkit-filter: hue-rotate(0deg);
				filter: hue-rotate(0deg);
			}

			25% {
				-webkit-filter: hue-rotate(90deg);
				filter: hue-rotate(90deg);
			}

			45% {
				-webkit-filter: hue-rotate(90deg);
				filter: hue-rotate(90deg);
			}

			50% {
				-webkit-filter: hue-rotate(180deg);
				filter: hue-rotate(180deg);
			}

			70% {
				-webkit-filter: hue-rotate(180deg);
				filter: hue-rotate(180deg);
			}

			75% {
				-webkit-filter: hue-rotate(270deg);
				filter: hue-rotate(270deg);
			}

			95% {
				-webkit-filter: hue-rotate(270deg);
				filter: hue-rotate(270deg);
			}

			100% {
				-webkit-filter: hue-rotate(360deg);
				filter: hue-rotate(360deg);
			}
		}

		@keyframes rotateHue {
			0% {
				-webkit-filter: hue-rotate(0deg);
				filter: hue-rotate(0deg);
			}

			20% {
				-webkit-filter: hue-rotate(0deg);
				filter: hue-rotate(0deg);
			}

			25% {
				-webkit-filter: hue-rotate(90deg);
				filter: hue-rotate(90deg);
			}

			45% {
				-webkit-filter: hue-rotate(90deg);
				filter: hue-rotate(90deg);
			}

			50% {
				-webkit-filter: hue-rotate(180deg);
				filter: hue-rotate(180deg);
			}

			70% {
				-webkit-filter: hue-rotate(180deg);
				filter: hue-rotate(180deg);
			}

			75% {
				-webkit-filter: hue-rotate(270deg);
				filter: hue-rotate(270deg);
			}

			95% {
				-webkit-filter: hue-rotate(270deg);
				filter: hue-rotate(270deg);
			}

			100% {
				-webkit-filter: hue-rotate(360deg);
				filter: hue-rotate(360deg);
			}
		}

		.untitled__shutters {
			position: absolute;
			height: 150vmax;
			width: 150vmax;
			left: calc(50% - 75vmax);
			top: calc(50% - 75vmax);
			pointer-events: none;
			z-index: 2;
			-webkit-animation: rotateFrame 10s linear infinite;
			animation: rotateFrame 10s linear infinite;
		}

		@-webkit-keyframes rotateFrame {
			0% {
				-webkit-transform: rotate(0deg);
				transform: rotate(0deg);
			}

			100% {
				-webkit-transform: rotate(180deg);
				transform: rotate(180deg);
			}
		}

		@keyframes rotateFrame {
			0% {
				-webkit-transform: rotate(0deg);
				transform: rotate(0deg);
			}

			100% {
				-webkit-transform: rotate(180deg);
				transform: rotate(180deg);
			}
		}

		.untitled__shutters:before,
		.untitled__shutters:after {
			content: '';
			position: absolute;
			height: 100%;
			width: 100%;
			left: 50%;
			-webkit-transform: translate3d(-50%, 0, 0);
			transform: translate3d(-50%, 0, 0);
			background-color: #45414d;
			pointer-events: auto;
		}

		.untitled__shutters:before {
			bottom: 50%;
			-webkit-animation: openTop 5s infinite;
			animation: openTop 5s infinite;
		}

		@-webkit-keyframes openTop {
			0% {
				-webkit-transform: translate3d(-50%, 0, 0);
				transform: translate3d(-50%, 0, 0);
				-webkit-animation-timing-function: cubic-bezier(0.8, 0, 0.1, 1);
				animation-timing-function: cubic-bezier(0.8, 0, 0.1, 1);
			}

			40% {
				-webkit-transform: translate3d(-50%, -65vmax, 0);
				transform: translate3d(-50%, -65vmax, 0);
				animation-timing-functon: cubic-bezier(0.6, 0.04, 0.98, 0.335);
			}

			70% {
				-webkit-transform: translate3d(-50%, -65vmax, 0);
				transform: translate3d(-50%, -65vmax, 0);
				animation-timing-functon: cubic-bezier(0.6, 0.04, 0.98, 0.335);
			}

			100% {
				-webkit-transform: translate3d(-50%, 0, 0);
				transform: translate3d(-50%, 0, 0);
				-webkit-animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.335);
				animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.335);
			}
		}

		@keyframes openTop {
			0% {
				-webkit-transform: translate3d(-50%, 0, 0);
				transform: translate3d(-50%, 0, 0);
				-webkit-animation-timing-function: cubic-bezier(0.8, 0, 0.1, 1);
				animation-timing-function: cubic-bezier(0.8, 0, 0.1, 1);
			}

			40% {
				-webkit-transform: translate3d(-50%, -65vmax, 0);
				transform: translate3d(-50%, -65vmax, 0);
				animation-timing-functon: cubic-bezier(0.6, 0.04, 0.98, 0.335);
			}

			70% {
				-webkit-transform: translate3d(-50%, -65vmax, 0);
				transform: translate3d(-50%, -65vmax, 0);
				animation-timing-functon: cubic-bezier(0.6, 0.04, 0.98, 0.335);
			}

			100% {
				-webkit-transform: translate3d(-50%, 0, 0);
				transform: translate3d(-50%, 0, 0);
				-webkit-animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.335);
				animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.335);
			}
		}

		.untitled__shutters:after {
			top: 50%;
			-webkit-animation: openBottom 5s infinite;
			animation: openBottom 5s infinite;
		}

		@-webkit-keyframes openBottom {
			0% {
				-webkit-transform: translate3d(-50%, 0, 0);
				transform: translate3d(-50%, 0, 0);
				-webkit-animation-timing-function: cubic-bezier(0.8, 0, 0.1, 1);
				animation-timing-function: cubic-bezier(0.8, 0, 0.1, 1);
			}

			40% {
				-webkit-transform: translate3d(-50%, 65vmax, 0);
				transform: translate3d(-50%, 65vmax, 0);
				animation-timing-functon: cubic-bezier(0.6, 0.04, 0.98, 0.335);
			}

			70% {
				-webkit-transform: translate3d(-50%, 65vmax, 0);
				transform: translate3d(-50%, 65vmax, 0);
				animation-timing-functon: cubic-bezier(0.6, 0.04, 0.98, 0.335);
			}

			100% {
				-webkit-transform: translate3d(-50%, 0, 0);
				transform: translate3d(-50%, 0, 0);
				-webkit-animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.335);
				animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.335);
			}
		}

		@keyframes openBottom {
			0% {
				-webkit-transform: translate3d(-50%, 0, 0);
				transform: translate3d(-50%, 0, 0);
				-webkit-animation-timing-function: cubic-bezier(0.8, 0, 0.1, 1);
				animation-timing-function: cubic-bezier(0.8, 0, 0.1, 1);
			}

			40% {
				-webkit-transform: translate3d(-50%, 65vmax, 0);
				transform: translate3d(-50%, 65vmax, 0);
				animation-timing-functon: cubic-bezier(0.6, 0.04, 0.98, 0.335);
			}

			70% {
				-webkit-transform: translate3d(-50%, 65vmax, 0);
				transform: translate3d(-50%, 65vmax, 0);
				animation-timing-functon: cubic-bezier(0.6, 0.04, 0.98, 0.335);
			}

			100% {
				-webkit-transform: translate3d(-50%, 0, 0);
				transform: translate3d(-50%, 0, 0);
				-webkit-animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.335);
				animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.335);
			}
		}

		.untitled__slides {
			position: absolute;
			height: 100%;
			width: 100%;
			top: 0;
			left: 0;
			background-color: #45414d;
		}

		.untitled__slide {
			position: absolute;
			height: 100%;
			width: 100%;
			opacity: 0;
			-webkit-animation: showHideSlide infinite 20s steps(1);
			animation: showHideSlide infinite 20s steps(1);
		}

		@-webkit-keyframes showHideSlide {
			0% {
				opacity: 1;
				pointer-events: auto;
				z-index: 1;
			}

			25% {
				opacity: 0;
				pointer-events: none;
				z-index: -1;
			}

			100% {
				opacity: 0;
				pointer-events: none;
				z-index: -1;
			}
		}

		@keyframes showHideSlide {
			0% {
				opacity: 1;
				pointer-events: auto;
				z-index: 1;
			}

			25% {
				opacity: 0;
				pointer-events: none;
				z-index: -1;
			}

			100% {
				opacity: 0;
				pointer-events: none;
				z-index: -1;
			}
		}

		.untitled__slide:nth-child(1) {
			-webkit-animation-delay: 0s;
			animation-delay: 0s;
		}

		.untitled__slide:nth-child(1) .untitled__slideBg {
			background-image: url(https://asyar.ir/wp-content/uploads/slide2.webp);
		}

		.untitled__slide:nth-child(2) {
			-webkit-animation-delay: 5s;
			animation-delay: 5s;
		}

		.untitled__slide:nth-child(2) .untitled__slideBg {
			background-image: url(https://asyar.ir/wp-content/uploads/slide1.webp);
		}

		.untitled__slide:nth-child(3) {
			-webkit-animation-delay: 10s;
			animation-delay: 10s;
		}

		.untitled__slide:nth-child(3) .untitled__slideBg {
			background-image: url(https://asyar.ir/wp-content/uploads/slide5.webp);
		}

		.untitled__slide:nth-child(4) {
			-webkit-animation-delay: 15s;
			animation-delay: 15s;
		}

		.untitled__slide:nth-child(4) .untitled__slideBg {
			background-image: url(https://asyar.ir/wp-content/uploads/slide3.webp);
		}

		.untitled__slideBg {
			position: relative;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #45414d;
    /* background-blend-mode: hard-light; */
    opacity: 1;
    z-index: -1;
    -webkit-animation: bgInOut 5s infinite;
    animation: bgInOut 5s infinite;
		}

		@-webkit-keyframes bgInOut {
			0% {
				-webkit-transform: rotate(-45deg) scale(1.1);
				transform: rotate(-45deg) scale(1.1);
				-webkit-animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
				animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
			}

			33% {
				-webkit-transform: rotate(0deg);
				transform: rotate(0deg);
			}

			50% {
				-webkit-transform: rotate(0deg);
				transform: rotate(0deg);
			}

			66% {
				-webkit-transform: rotate(0deg);
				transform: rotate(0deg);
				-webkit-animation-timing-function: cubic-bezier(0.895, 0.03, 0.685, 0.22);
				animation-timing-function: cubic-bezier(0.895, 0.03, 0.685, 0.22);
			}

			100% {
				-webkit-transform: rotate(45deg) scale(0.9);
				transform: rotate(45deg) scale(0.9);
			}
		}

		@keyframes bgInOut {
			0% {
				-webkit-transform: rotate(-45deg) scale(1.1);
				transform: rotate(-45deg) scale(1.1);
				-webkit-animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
				animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
			}

			33% {
				-webkit-transform: rotate(0deg);
				transform: rotate(0deg);
			}

			50% {
				-webkit-transform: rotate(0deg);
				transform: rotate(0deg);
			}

			66% {
				-webkit-transform: rotate(0deg);
				transform: rotate(0deg);
				-webkit-animation-timing-function: cubic-bezier(0.895, 0.03, 0.685, 0.22);
				animation-timing-function: cubic-bezier(0.895, 0.03, 0.685, 0.22);
			}

			100% {
				-webkit-transform: rotate(45deg) scale(0.9);
				transform: rotate(45deg) scale(0.9);
			}
		}

		.untitled__slideContent {
			position: absolute;
			top: 50%;
			left: 50%;
			-webkit-transform: translate3d(-50%, -50%, 0);
			transform: translate3d(-50%, -50%, 0);
			color: white;
			line-height: 0.8;
			letter-spacing: -0.025em;
			z-index: 2;
			opacity: 1;
			text-shadow: 0 0 0.5em rgba(179, 64, 26, 0.25);
			/*mix-blend-mode: lighten;*/
			background: #45414d;
    padding: 10px;
    border-radius: 5px;
		}

		.untitled__slideContent span {
			display: block;
			font-size: larger;
		}

		.button {
			font-family: 'Roboto Mono', sans-serif;
			text-decoration: none;
			font-weight: 800;
			text-transform: uppercase;
			font-size: 2vmin;
			display: inline-block;
			position: relative;
			border: 3px solid white;
			-webkit-box-shadow: -0.5vmin 0.5vmin 0 rgba(255, 255, 255, 0.5);
			box-shadow: -0.5vmin 0.5vmin 0 rgba(255, 255, 255, 0.5);
			background: transparent;
			margin-top: 5vmin;
			mix-blend-mode: lighten;
			color: white;
			padding: 2vmin 2vmin 1.8vmin 2vmin;
			letter-spacing: 0.1em;
			text-shadow: none;
			line-height: 1;
			-webkit-transform: translate3d(0.5vmin, -0.5vmin, 0);
			transform: translate3d(0.5vmin, -0.5vmin, 0);
			-webkit-transition: all 100ms linear;
			transition: all 100ms linear;
		}

		.button:hover {
			-webkit-transform: translate3d(1vmin, -1vmin, 0);
			transform: translate3d(1vmin, -1vmin, 0);
			-webkit-box-shadow: -1vmin 1vmin 0 rgba(255, 255, 255, 0.5);
			box-shadow: -1vmin 1vmin 0 rgba(255, 255, 255, 0.5);
			background: white;
			color: black;
		}

		.button:active {
			-webkit-transform: translate3d(0px, 0px, 0);
			transform: translate3d(0px, 0px, 0);
			-webkit-box-shadow: 0px 0px 0 rgba(255, 255, 255, 0.5);
			box-shadow: 0px 0px 0 rgba(255, 255, 255, 0.5);
		}
/*end slide*/
.servis_AS_Yar button {
  background-color: #45414d;
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 150px;
    font-family: Vazirmatn;
    width: 120px;
    height: 120px;
	padding:5%;
}
.servis_AS_Yar button:hover {
  background-color: #ccb68d;
}
.servis_AS_Yar button:hover {
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.servis_AS_Yar button:active {
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}
.servis_AS_Yar{
  text-align: center;
    overflow: hidden;
    background-color: #eeeeee;
    background-image: url(https://asyar.ir/wp-content/uploads/pattern-background.png);
    background-repeat: repeat;
    padding-top: 12%;
  padding-bottom: 12%;
  position: relative;
}
 .transform_right_top{
  transform: translate(50%, 50%);
}
.transform_left_top{
  transform: translate(-50%, 50%);
}
.transform_right_bottom{
  transform: translate(50%, -50%);
}
.transform_left_bottom{
  transform: translate(-50%, -50%);
} 
.box_img_servis img{
	width:300px;
	height:300px;
}
.top_sevis{
  position: absolute;
    right: 50%;
    top: 3%;
    transform: translateX(50%);
}
.bottom_sevis{
  position: absolute;
    right: 50%;
    bottom: 3%;
    transform: translateX(50%);
}
.box_parvande_tejari{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.box_parvande_tejari div{
  text-align: right;
  padding: 10px;
}
.box_parvande_tejari a{
  color: #000;
}
.box_parvande_tejari p{
  color: #999999;

}
.part1_tejari{
  flex: 34%;
}
.part2_tejarat{
  flex: 19%;
}
.part2_tejarat img{
  width: 100%;
  border-radius: 5px;
}
.part1_tejari a{
  display: flex;
  align-items: center;
  color: #ccb68d;
}
.part1_tejari a i{
  margin-right: 2%;
}
.all_vakils{
  background-color: #45414d;
  margin-top: 2%;
  margin-bottom: 2%;
}
.box_all_vakils{
  text-align: center;
}
.box_all_vakils div{
  display: inline-block;
  width: 26%;
  margin: 2%;
}
.box_all_vakils_part1{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: right;
  border: 1px solid black;
    padding-right: 6px;
}
.box_all_vakils_part1 i{
  color: #fff;
  background-color: #ccb68d;
  font-size: xx-large;
  padding: 5px;
}
.box_all_vakils_part1 p{
  color: #999999;
}
.box_all_vakils_part1 h4{
  color: #fff;
}

.box_Icon{
  flex: 15%;
}
.box_tozih{
  flex: 70%;
}
.parvande_hoqoqi{
  margin-top: 3%;
  margin-bottom: 3%;
}
.parvande_tejari{
  margin-top: 3%;
  margin-bottom: 3%;
}
.about_us{
  background-image: url(https://asyar.ir/wp-content/uploads/our_pathway.png);
    background-position: center center;
    background-size: cover;
}
.about_us div{
  width: 60%;
  padding: 30px;
  margin: auto;
  text-align: center;
}
.about_us div p{
  color: #999999;
}
.about_us div nav{
  color: #ccb68d;
}
.weblog{
  width: 90%;
  margin: auto;
}
.box_weblog{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.box_right_blog{
  flex: 30%;
}
.box_left{
  flex: 60%;
	display:flex;
}
.box_left .box_left_blog{
  display: inline-block;
  width: 45%;
  margin: 1%;
}
.box_left .box_left_blog img{
  width: 100%;
}
.box_right_blog div:nth-child(1){
  border-bottom: 1px solid #999999;
}
.box_right_blog div:nth-child(2){
  border-bottom: 1px solid #999999;
}
.box_right_blog div:nth-child(3){
  border-bottom: 1px solid #999999;
}
.box_right_blog div:nth-child(4){
  border-bottom: 1px solid #999999;
}
.box_right_blog div{
  padding: 1px 10px 1px 10px;
}
.box_right_blog nav{
  width: 85%;
  margin: auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.titr_articl p{
  color: #999999;
}
.titr_articl h4{
  color: #000;
}
.addres_category a *{
  color: #ccb68d;
}
.addres_category a{
  display: flex;
    justify-content: space-between;
    align-items: center;
}
.box_left_blog{
  position: relative;
}
.box_left_blog p{
  color: #999999;
}
.box_left_blog h4{
  color: #000;
}
.date_blog{
  position: absolute;
  top: 3%;
  right: 4%;
  color: #fff;
  background: #ccb68d;
  padding: 4px;
  border-radius: 2px;
}
/*slider_comment*/
.slider_comment{
  background-color: #eeeeee;
    background-image: url(https://asyar.ir/wp-content/uploads/pattern-background.png);
    background-repeat: repeat;
    padding-bottom: 2%;
}
.slider_comment h2 {
  margin: 20px 0;
  color: #333;
  text-align: center;
    padding-top: 2%;
}

.sliderCom-container {
  max-width: 800px;
  margin: auto;
  position: relative;
}

.slideCom {
  display: none;
  background: #fff;
  padding: 20px;
  margin: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}

.slideCom.activeCom {
  display: block;
}

.slideCom::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border: 10px solid transparent;
  border-top-color: #fff;
}

.slideCom .textCom {
  font-size: 16px;
  color: #666;
  margin: 15px 0;
  line-height: 1.8;
}

.slideCom .authorCom {
  font-weight: bold;
  margin-top: 10px;
  color: #333;
}

.slideCom .roleCom {
  font-size: 14px;
  color: #ccb68d;
}

.controlsCom {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.controlsCom button {
  border: none;
  background-color: #444;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.controlsCom button:hover {
  background-color: #666;
}
/*end_slider_comment*/
.movakels{
  padding-top: 2%;
  padding-bottom: 2%;
}
.movakels h3{
  color: #000;
  text-align: center;
}
.logo_movakel{
  width: 95%;
  margin: auto;
  text-align: center;
}
.logo_movakel img{
  display: inline-block;
  width: 20%;
  margin: 1%;
}
.maps_office{
  margin-top: 2%;
  margin-bottom: 2%;
}
.box_maps{
  width: 100%;
  height: 200px;
}
.box_maps iframe{
	width:100%;
	height:100%;
}
.footer{
  background-color: #45414d;
    background-image: url(https://asyar.ir/wp-content/themes/legalpress-pt/assets/images/footer_bg_img.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.box_bottom_footer{
  text-align: center;
  color: #fff;
  padding-bottom: 2%;
  padding-top: 2%;
  background-color: #45414d;
}
.box_top_footer{
  width: 95%;
  margin: auto;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
    align-items: center;
}
.box_top_footer div{
  flex: 30%;
}
.box_top_footer ul{
  list-style: none;
  padding: 0;
}
.box_top_footer div:nth-child(2) h4{
  color: #ccb68d;
}
.box_top_footer div:nth-child(3) h4{
  color: #ccb68d;
}
.box_top_footer div:nth-child(2) a{
  color: #fff;
}
.box_top_footer div:nth-child(3) a{
  color: #fff;
}
.box_top_footer div:nth-child(2){
  border-left: 1px solid #ccb68d;
  border-right: 1px solid #ccb68d;
}
.box_top_footer div:nth-child(1){
  padding: 15px;
}
.box_top_footer div:nth-child(1) p{
  color: #fff;
}
.sosial i{
  font-size: large;
  margin: 1%;
}
/*single_page*/
.box-single{
  width: 95%;
    margin: auto;
    text-align: justify;
}
.navar_phone{
  background-color: #ccb68d;
  padding: 5px; 
  width: 100%;
  display: none;
}
.navar_phone .breadcrumb{
  margin-right: 2%;
}
.navar_phone *{
  color: #fff;
}
.box-archive{
	width:95%;
	margin:auto;
	text-align:center;
	padding-top: 3%;
    padding-bottom: 3%;
}
.box-archive .archivebox{
	text-align: center;
    padding: 10px;
    flex: 30%;
    background: #ccb68d;
    margin: 1%;
    border-radius: 5px;
}
.box-archive .archivebox h3{
	color:#fff;
}
.box-archive .archivebox p{
	color:#fff;
}
/*phone*/
.contact-container {
			position: fixed;
			bottom: 20px;
			right: 20px;
			z-index: 1000;
		}

		.contact-icon {
			background-color: #fff;
			width: 60px;
			height: 60px;
			border-radius: 50%;
			display: flex;
			align-items: center;
			justify-content: center;
			cursor: pointer;
			box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
			transition: all 0.3s ease;
		}

		.contact-icon:hover {
			transform: scale(1.1);
		}
		.contact-options {
			position: absolute;
			bottom: 70px;
			right: 0;
			display: none;
			flex-direction: column;
			gap: 10px;
			width: max-content;
		}

		.contact-options.show {
			display: flex;
		}

		.option {
			background-color: #fff;
			padding: 10px 20px;
			border-radius: 25px;
			text-decoration: none;
			color: #333;
			font-size: 14px;
			display: flex;
			align-items: center;
			gap: 10px;
			box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
			transition: all 0.3s ease;
		}

		.option:hover {
			transform: translateX(5px);
		}

		.call-option {
			background-color: #2196F3;
			color: white;
		}

		.whatsapp-option {
			background-color: #25D366;
			color: white;
		}

		.contact-icon img {
			width: 30px;
			height: 30px;
			transform: rotate(250deg);
		}
/*end-phone*/
.dahblog{
	display: flex;
    flex-wrap: wrap;
}
.pagination{
	position: relative;
    background: #ccb68d;
    width: 98%;
    margin: auto;
    border-radius: 5px;
}
.pagination .prev{
	position: relative;
	color: revert-layer;
}
.pagination .next{
	position: relative;
	color: revert-layer;
}
/*slide-qavanin*/
	.tab-btn {
		flex: 1;
		padding: 12px;
		cursor: pointer;
		background: #f1f1f1;
		border: none;
		border-bottom: 2px solid transparent;
		font-weight: bold;
		transition: all 0.2s ease-in-out;
	}

	.tab-btn:hover,
	.tab-btn.active {
		background: #fff;
		border-bottom: 2px solid #0073aa;
		color: #0073aa;
	}

	.tab-content {
		padding: 20px;
		background: #fff;
		border: 1px solid #ddd;
		border-top: none;
		line-height: 1.8;
	}
.tab-buttons{
	display: flex;
	border-bottom: 2px solid #ddd;
	margin-bottom: 20px;
}
.breadcrumb{
	width: 95%;
    margin: auto;
    padding: 5px;
}
/*end-slide-qavanin*/
/*single-law*/
.law-navigation{
	display: flex;
	justify-content: space-between;
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid #ddd;
	font-size: 16px;
}
/*end-single-law*/
/*comming soon*/
.coming-soon-container {
        max-width: 600px;
        margin: 100px auto;
        text-align: center;
        font-family: 'Tahoma', sans-serif;
        padding: 40px;
        border: 2px dashed #ccc;
        border-radius: 20px;
        background-color: #fefefe;
    }

    .coming-soon-title {
        font-size: 36px;
        color: #333;
        margin-bottom: 20px;
    }

    .coming-soon-text {
        font-size: 18px;
        color: #666;
    }
/*end-comming-soon*/
/*laws*/
.law-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  text-align: center;
  font-family: 'Vazirmatn', sans-serif;
}

.law-title {
  font-size: 32px;
  margin-bottom: 30px;
  color: #222;
}

.law-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.law-box {
  background-color: #f1f1f1;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: all 0.3s ease;
}

.law-box:hover {
  background-color: #0073aa;
  color: white;
}

/*end-laws*/
/*bred*/
.breadcrumb{
	white-space: nowrap;
    overflow: auto;
	font-size: 11px;
    margin-bottom: 20px;
}
.breadcrumb a{
	color:gray;
}
/*bred*/
/*صفحه تنظیم قرارداد*/
.contract-builder {
    display: flex;
    gap: 30px;
    margin: 40px auto;
    max-width: 1200px;
	width:95%;
}
.section-list h2{
	font-size: large;
}
.contract-preview h1{
	text-align:center;
	font-size: large;
}
.contract-preview #print-btn{
	background: #ccb68d;
    border-radius: 5px;
    border: 0px;
    padding-bottom: 5px;
    padding-top: 5px;
    width: 100%;
    font-family: 'Vazirmatn';
	color:#fff;
}
/* ستون بندهای قرارداد (راست) */
.section-list {
    width: 40%;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background: #f9f9f9;
}
/* ستون پیش‌نمایش قرارداد نهایی (چپ) */
.contract-preview {
    width: 60%;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background: #fff;
	overflow:scroll;
	 overflow: scroll;
}
.section-item {
    border-bottom: 1px dashed #aaa;
    padding: 10px 0;
}

.section-actions {
    margin-top: 10px;
}
.section-actions button {
    margin-left: 5px;
    padding: 4px 10px;
    cursor: pointer;
}
.contract-preview-content .preview-item {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
    background: #fcfcfc;
    position: relative;
}
/* دکمه‌های عملیات در هر بند پیش‌نمایش */
.preview-item button {
    margin-top: 5px;
    margin-right: 5px;
    padding: 3px 8px;
}
/* پرینت */
@media print {
  /* حذف تمام بخش‌های صفحه به‌جز قرارداد */
  body * {
    visibility: hidden !important;
  }

  .contract-preview,
  .contract-preview * {
    visibility: visible !important;
  }

  .contract-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: white !important;
  }

  /* حذف عنوان ثابت، دکمه‌ها، عملیات مرتب‌سازی و حذف */
  .contract-preview h2,
  .preview-item button,
  #print-btn {
    display: none !important;
  }
}
.preview-item{
    overflow-wrap: anywhere;
}
/*صفحه تنظیم قرارداد*/
/*استایل داشبورد کاربر*/
.user-dashboard {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.user-dashboard h1, .user-dashboard h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

/* لیست قراردادها */
.user-contract-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-contract-list li {
    background: #f0f0f0;
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contract-title {
    font-weight: bold;
    font-size: 16px;
    color: #2c3e50;
}

/* لینک دانلود */
.user-contract-list a {
    background-color: green;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

.user-contract-list a:hover {
    background-color: #2c3e50;
}

/* دکمه‌ها */
button.edit-contract-title,
button.delete-contract,
button.save-new-title {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button.delete-contract {
    background-color: #e74c3c;
}

button.edit-contract-title:hover,
button.delete-contract:hover,
button.save-new-title:hover {
    background-color: #2c3e50;
}

/* فرم ویرایش عنوان */
.edit-form {
    margin-top: 10px;
}

.edit-form input.new-title-input {
    padding: 6px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 60%;
    margin-left: 10px;
}

/*استایل داشبورد*/
/*اسلایدر مواد مرتبط*/
.law-tabs {
    margin-top: 30px;
}
.tab-buttons {
    display: flex;
    border-bottom: 2px solid #ccc;
    margin-bottom: 20px;
    list-style: none;
    padding: 0;
}

.tab-buttons li {
    cursor: pointer;
    padding: 10px 20px;
    background: #eee;
    margin-left: 10px;
    border-radius: 5px 5px 0 0;
}

.tab-buttons li.active {
    background: #0073aa;
    color: white;
    font-weight: bold;
}

.tab-content {
    display: none;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-top: none;
}

.tab-content.active {
    display: block;
}

.tab-item {
    margin-bottom: 20px;
}

.tab-item h4 {
    color: #333;
    margin-bottom: 10px;
}

.tab-item .text {
    color: #555;
}

/*اسلایدر مواد مرتبط اتمام*/
/*terminology*/
.asyar_terminology_single_container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'IRANSans', sans-serif; /* فونت دلخواه */
    direction: rtl;
}

.asyar_terminology_content {
    margin-bottom: 40px;
}

.asyar_terminology_title {
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.asyar_terminology_text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.asyar_terminology_example {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.asyar_terminology_example h2 {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.asyar_terminology_example_content {
    font-size: 16px;
    color: #555;
}

.asyar_terminology_related h2 {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.asyar_terminology_related_item {
    margin-bottom: 20px;
}

.asyar_terminology_related_item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.asyar_terminology_related_item h3 a {
    color: #007bff;
    text-decoration: none;
}

.asyar_terminology_related_item h3 a:hover {
    text-decoration: underline;
}

.asyar_terminology_related_item p {
    font-size: 14px;
    color: #666;
}
/*end single terminology*/
/*category terminology*/
.asyar_terminology_category_container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    direction: rtl;
}

.asyar_terminology_category_title {
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
}

.asyar_terminology_category_list {
    margin-bottom: 40px;
}

.asyar_terminology_content {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.asyar_terminology_title a {
    color: #007bff;
    text-decoration: none;
}

.asyar_terminology_title a:hover {
    text-decoration: underline;
}

/* استایل صفحه‌بندی */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.nav-links a,
.nav-links span {
    padding: 8px 16px;
    background-color: #f9f9f9;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
}

.nav-links a:hover {
    background-color: #007bff;
    color: #fff;
}

.nav-links .current {
    background-color: #007bff;
    color: #fff;
}
/*end category terminology*/
/*search terminology*/
.asyar_terminology_search_body {
    font-family: 'IRANSans', Arial, sans-serif;
    direction: rtl;
    background-color: #fff;
    margin: 0;
}

.asyar_terminology_search_wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* هدر موبایل */
.asyar_terminology_search_header {
    display: none; /* مخفی در دسکتاپ */
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #fff;
    border-bottom: 1px solid #dfe1e5;
}

.asyar_terminology_site_logo {
    max-width: 120px; /* سایز لوگو در موبایل */
}

.asyar_terminology_menu_toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.asyar_terminology_menu_icon,
.asyar_terminology_menu_icon::before,
.asyar_terminology_menu_icon::after {
    width: 24px;
    height: 3px;
    background-color: #333;
    display: block;
    position: relative;
    transition: all 0.3s ease;
}

.asyar_terminology_menu_icon::before,
.asyar_terminology_menu_icon::after {
    content: '';
    position: absolute;
}

.asyar_terminology_menu_icon::before {
    top: -8px;
}

.asyar_terminology_menu_icon::after {
    top: 8px;
}

/* منوی سایت */
.asyar_terminology_search_nav {
    display: flex;
    justify-content: flex-start; /* سمت راست در دسکتاپ (RTL) */
    padding: 10px 20px;
    background-color: #fff;
}

.asyar_terminology_search_menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.asyar_terminology_search_menu li a {
    color: #1a0dab;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 12px;
    transition: background-color 0.2s ease;
}

.asyar_terminology_search_menu li a:hover {
    background-color: #f8f9fa;
    border-radius: 4px;
}

.asyar_terminology_menu_close {
    display: none; /* مخفی در دسکتاپ */
    background: none;
    border: none;
    font-size: 28px;
    color: #333;
    cursor: pointer;
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.asyar_terminology_menu_close:hover {
    background-color: #f8f9fa;
}

/* لوگو و فرم جستجو */
.asyar_terminology_search_container {
    text-align: center;
    padding: 50px 20px;
}

.asyar_terminology_search_logo {
    max-width: 300px;
    margin-bottom: 20px;
}

.asyar_terminology_search_form {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.asyar_terminology_search_form input {
    width: 100%;
    padding: 10px 20px;
    font-size: 16px;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
    outline: none;
}

.asyar_terminology_search_form button {
    display: none; /* دکمه مخفی */
}

/* نتایج جستجو */
.asyar_terminology_search_results {
    max-width: 600px;
    margin: 20px auto;
    text-align: right;
}

.asyar_terminology_search_result_item {
    margin-bottom: 20px;
}

.asyar_terminology_search_result_item h3 a {
    color: #1a0dab;
    font-size: 20px;
    text-decoration: none;
}

.asyar_terminology_search_result_item h3 a:hover {
    text-decoration: underline;
}

.asyar_terminology_search_result_excerpt {
    color: #545454;
    font-size: 14px;
    line-height: 1.4;
}

/* استایل autocomplete */
.ui-autocomplete {
    max-width: 600px;
    background: #fff;
    border: 1px solid #dfe1e5;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
    list-style: none;
    padding: 0;
    margin: 0;
}

.ui-autocomplete li {
    padding: 10px 20px;
    cursor: pointer;
}

.ui-autocomplete li:hover {
    background: #f8f9fa;
}

/* استایل صفحه‌بندی */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.nav-links a,
.nav-links span {
    padding: 8px 16px;
    background-color: #f9f9f9;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
}

.nav-links a:hover {
    background-color: #1a0dab;
    color: #fff;
}

.nav-links .current {
    background-color: #1a0dab;
    color: #fff;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .asyar_terminology_search_header {
        display: flex; /* نمایش هدر در موبایل */
    }

    .asyar_terminology_search_nav {
        display: none; /* مخفی در حالت عادی */
        position: fixed;
        top: 0;
        right: 0; /* راست‌چین برای RTL */
        width: 280px; /* عرض منو */
        height: 100%;
        background-color: #f9f9fa; /* پس‌زمینه زیبا */
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15); /* سایه نرم */
        padding: 60px 20px 20px;
        z-index: 1000;
        transform: translateX(100%); /* مخفی از سمت راست */
        transition: transform 0.3s ease-in-out;
    }

    .asyar_terminology_search_nav.active {
        display: block;
        transform: translateX(0);
    }

    .asyar_terminology_search_menu {
        flex-direction: column;
        gap: 10px;
    }

    .asyar_terminology_search_menu li a {
        display: block;
        padding: 12px 20px;
        font-size: 16px;
        color: #333;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transition: background-color 0.2s ease, transform 0.2s ease;
    }

    .asyar_terminology_search_menu li a:hover {
        background-color: #e8f0fe;
        transform: translateX(-5px); /* افکت جابه‌جایی */
    }

    .asyar_terminology_menu_close {
        display: block; /* نمایش دکمه بستن */
        background-color: #fff;
        font-size: 24px;
        line-height: 40px;
    }

    .asyar_terminology_search_logo {
        max-width: 200px; /* سایز کوچکتر لوگو در موبایل */
    }

    .asyar_terminology_search_form {
        max-width: 90%;
    }

    .asyar_terminology_search_form input {
        font-size: 14px;
        padding: 8px 15px;
    }

    .asyar_terminology_search_results {
        max-width: 90%;
    }
}
/*end search terminology*/
/*صفحه وکلای تخصصی*/
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.grid-box {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.grid-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.grid-box img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.grid-box-content {
  padding: 15px;
}
.grid-box h3 {
  margin: 0 0 10px;
  font-size: 18px;
}
.grid-box p {
  font-size: 14px;
  color: #555;
}
.all-law{
	width: 95%;
    margin: 3% auto;
}
/*اتمام وکلای تخصصی*/
/*soalat-por-tekrar*/
.acf-faq-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

.acf-faq-item {
    border-bottom: 1px solid #e6e6e6;
    padding: 10px 0;
}

.acf-faq-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    padding: 12px 10px;
    font-size: 16px;
    text-align: right;
    cursor: pointer;
    outline: none;
	background: aliceblue;
    border-radius: 5px;
}

.acf-faq-title {
    flex: 1;
    font-weight: 600;
}

.acf-faq-icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
    border: 1px solid #ccc;
    font-weight: 700;
    margin-left: 12px;
    user-select: none;
}

/* Active state: we'll toggle .open class from JS */
.acf-faq-item.open .acf-faq-icon {
    transform: rotate(0deg);
    /* icon content changed by JS from + to - so this is just optional visual */
}

/* Answer content */
.acf-faq-content {
    padding: 0 10px 12px 10px;
    font-size: 15px;
    line-height: 1.6;
}

/* Small responsive tweak */
@media (max-width: 480px) {
    .acf-faq-title { font-size: 15px; }
    .acf-faq-icon { width: 26px; height: 26px; line-height: 26px; }
}
/*end-soalat-por-tekrar*/
.comments-list{
	background: aliceblue;
    padding: 16px;
    border-radius: 5px;
}
.comments-list textarea{
	width:80%;
}
.comment-meta {
	padding: 5px;
    background: aquamarine;
    border-radius: 5px;
}
/*استایل سرچ قانون*/
/* ========= Law Search (mn-law-search) ========= */
.mn-law-search {
  direction: rtl;
  text-align: right;
	background: #45414d;
  border: 1px solid #2a2d31;
  border-radius: 14px;
  padding: 18px;
  margin: 24px 0;
}

.mn-law-search .mn-law-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px; /* row / column */
}

.mn-law-search .mn-law-form .row {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* در موبایل تک‌ستونه */
@media (max-width: 640px) {
  .mn-law-search .mn-law-form {
    grid-template-columns: 1fr;
  }
}

/* لیبل‌ها */
.mn-law-search label {
  min-width: 110px;
  font-size: 14px;
  color: #222;
}

/* ورودی‌ها و سلکت */
.mn-law-search input[type="number"],
.mn-law-search select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  line-height: 1.4;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

/* ورودی شماره ماده: اعداد LTR برای راحتی تایپ */
#mn-article {
  direction: ltr;
  text-align: left;
}

/* فوکِس */
.mn-law-search input[type="number"]:focus,
.mn-law-search select:focus {
  border-color: #2b70fe;
  box-shadow: 0 0 0 3px rgba(43,112,254,.12);
}

/* حذف اسپینر فایرفاکس/کروم روی number (اختیاری) */
.mn-law-search input[type="number"]::-webkit-outer-spin-button,
.mn-law-search input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.mn-law-search input[type="number"] {
  -moz-appearance: textfield;
}

/* ردیف راهنما (همان ردیف سوم فرم) */
.mn-law-search .mn-law-form .row:nth-of-type(3) {
  grid-column: 1 / -1; /* فول‌ویدث */
  font-size: 12px;
  color: #fff;
  opacity: .9;
}

/* دکمه */
.mn-law-search .button1 {
  padding: 10px 18px;
  border: 0;
  border-radius: 9999px;
  background: #2b70fe;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(43,112,254,.25);
  transition: transform .1s ease, box-shadow .2s ease, opacity .2s ease;
}
.mn-law-search .button1:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(43,112,254,.28);
}
.mn-law-search .button1:active {
  transform: translateY(0);
}
.mn-law-search .button1[disabled] {
  opacity: .6;
  cursor: not-allowed;
  box-shadow: none;
}

/* نتایج */
.mn-law-results {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.mn-law-results .item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 12px 14px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.mn-law-results .item::before {
  content: "";
  position: absolute;
  inset-inline-start: 0; /* سمت راست در RTL؟ خیر: inset-inline-start = راست در RTL */
  top: 0;
  width: 4px;
  height: 100%;
  background: #2b70fe;
  opacity: .85;
}
.mn-law-results .item:hover {
  border-color: #e6ecff;
  box-shadow: 0 6px 14px rgba(43,112,254,.08);
}

.mn-law-results .item a {
  color: #111;
  text-decoration: none;
}
.mn-law-results .item a:hover {
  color: #2b70fe;
  text-decoration: underline;
}

.mn-law-results .item .meta {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}
.mn-law-results .item .excerpt {
  font-size: 13px;
  color: #333;
  margin-top: 6px;
}

/* پیام‌های خالی/در حال جستجو */
.mn-law-results .empty {
  background: #fff;
  border: 1px dashed #ddd;
  border-radius: 10px;
  padding: 12px;
  color: #555;
  text-align: center;
}

/* هماهنگی با حالت تیره احتمالی سایت (اختیاری) */
@media (prefers-color-scheme: dark) {
  .mn-law-search {
	  width: 90%;
        margin: auto;
    background: #45414d;
    border-color: #2a2d31;
  }
  .mn-law-search label { color: #ddd; }
  .mn-law-search input[type="number"],
  .mn-law-search select {
    background: #191b1e;
    border-color: #32363b;
    color: #e8e8e8;
  }
  .mn-law-results .item {
    background: #fff;
    border-color: #2a2d31;
  }
  .mn-law-results .item .excerpt { color: #e0e0e0; }
  .mn-law-results .empty {
    background: #191b1e;
    border-color: #2a2d31;
    color: #cfcfcf;
  }
}

/*پایان استایل سرچ قانون*/
@media screen and (max-width: 600px) {
  .menu_phone{
    display: block;
  }
  .top_navar {
    display: grid;
    justify-content: normal;
    align-items: inherit;
    padding: 1%;
}
.top_navar .top_navar_box2 {
  justify-content: normal;
}
	.box_img_servis img {
    width: 200px;
    height: 200px;
}
.top_navar_box4 nav a {
  margin-left: 2%;
}
.navar_logo {
  display: grid;
}
.right_number {
  display: none;
}
.vaght_moshavere {
  display: none;
}
.menu_des{
  display: none;
}
		/*slide-phone*/

	/*slide*/
.top_sevis {
  position: relative;
  right: inherit;
  top: inherit;
  transform: inherit;
}
.bottom_sevis {
  position: relative;
  right: inherit;
  bottom: inherit;
  transform: inherit;
}
.servis_AS_Yar button {
 width: 75px;
        height: 75px;
        border-radius: 100%;
        padding: 0;
        font-size: x-small;
}
.box_parvande_tejari {
  display: grid;
}
.box_all_vakils div {
  display: inline-block;
  width: 45%;
  margin: 1%;
  font-size: x-small;
}
.box_all_vakils {
  text-align: center;
  padding-bottom: 3%;
  padding-top: 3%;
}
.box_Icon {
  flex: 15%;
  margin-left: 5%;
}
.about_us div {
  width: 85%;
  padding: 1px;
  margin: auto;
  text-align: center;
}
.box_weblog {
  display: grid
;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.box_right_blog {
  margin-bottom: 5%;
}
.box_left .box_left_blog {
  display: grid;
  margin: 1%;
  width: 100%;
}
.logo_movakel img {
  display: inline-block;
  width: 40%;
  margin: 1%;
}
.box_top_footer {
  display: grid;
}
.footer {
  margin-bottom: 14%;
}
.box_bottom_footer {
  font-size: x-small;
}
	.box_left{
	display:grid;
}
/*single*/
.navar_phone{
  display: block;
}
	.box-archive .archivebox {
    flex: 60%;
}
	.contact-container {
    bottom: 45px;
}
	/*slide-qavanin*/
	.tab-buttons{
	display: grid;
}
/*end-slide-qavanin*/
	/*single-law*/
.law-navigation{
	font-size:x-small;
}
/*end-single-law*/
	/*صفحه تنظیم قرارداد*/
.contract-builder {
    display: grid;
}
	.section-list {
    width: 85%;
    margin: auto;
}
	.contract-preview{
		width: 85%;
    margin: auto;
	}
/*صفحه تنظیم قرارداد*/
	.top_navar{
		display:none;
	}
	.untitled__slideContent{
		line-height: normal;
	}
}