/*
Theme Name: Parsaylawyers Group
Theme URI: https://parsaylawyers.com/
Author: Majid Seyedmiri
Author URI: https://seyedmiri.com/
Description: A professional WordPress theme designed exclusively for Parsaylawyers Group.
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: parsaylawyers-group
Tags: law, legal-services, attorney, responsive, iran, professional, business, consultation, rtl-language-support, custom-logo
*/

/* 
This is the main stylesheet for the Parsaylawyers Group theme.
It provides styles for a professional legal services website in Iran.
/*********************
START: PUBLIC
*********************/
*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

button,
input,
textarea,
a {
    cursor: pointer;
    outline: none;
    background: 0 0;
    text-decoration: none;
    font-weight: 500;
    font-weight: 500;
}

button:focus,
input:focus,
textarea:focus,
a:focus,
input::placeholder,
textarea::placeholder {
    outline: none;
}

a {
    text-decoration: none;
    color: inherit;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
	margin-top: 0 !important;
}

ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    vertical-align: middle;
}

:root {
    --direction: rtl;
    --font-family: "Pinar", sans-serif;
    --primary-color: #4337CC;
    --secondary-color: #1C1B2E;
    --purple-color: #673BB6;
    --green-color: #00FF97;
    --bg-color: #E8E6FA;
    --bg-footer: #110E33;
    --border-color: #918E96;
    --baseLight-color: #ffffff;
    --baseDark-color: #000000;

    --border-radius-10: 10px;
    --border-radius-20: 20px;
    --border-radius-30: 30px;

    --line-height130: 130%;
    --line-height140: 140%;
    --line-height150: 150%;
    --line-height160: 160%;
	--line-height180: 180%;


    /* font-size */
    --text-xs: 0.75rem;  /* 12px */
    --text-sm: 0.875rem;  /* 14px */
    --text-base: 1rem;    /* 16px */
    --text-lg: 1.125rem;  /* 18px */
    --text-xl: 1.25rem;  /* 20px */
    --text-2xl: 1.5rem;  /* 24px */
    --text-3xl: 1.875rem;  /* 30px */
    --text-4xl: 2.25rem;  /* 36px */
    --text-5xl: 3rem;  /* 48px */
    --text-6xl: 3.5rem;  /* 56px */
    --text-7xl: 3.75rem;  /* 60px */
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    direction: var(--direction);
    overflow-x: hidden !important;
    background-color: var(--body-color);
}

section {
    margin-block-end: 120px;
}


/* title & text */
.center {
    text-align: center;
}

.justify {
    text-align: justify;
}

.light {
    color: var(--baseLight-color);
}

.dark {
    color: var(--secondary-color);
}

.parsa {
    color: var(--primary-color);
}

.supTitle {
    display: flex;
    font-weight: 600;
    margin-block-end: 1rem;
}

.supTitle--center {

    justify-content: center;
}

.supTitle img {
    width: 22px;
    height: 24px;
}

.supTitle--light {
    color: #866EFF;
}

.supTitle--light img {
    filter: brightness(0) saturate(100%) invert(49%) sepia(88%) saturate(3095%) hue-rotate(225deg) brightness(100%) contrast(102%);
}

.supTitle--dark {
    color: var(--primary-color);
}

.title--large {
    font-weight: 700;
    line-height: var(--line-height130);
}

.title--middle {
    font-weight: 600;
    line-height: var(--line-height140);
}

.title--small {
    font-weight: 600;
    line-height: var(--line-height140);
}

.title--XSmall {
    font-weight: 600;
    line-height: var(--line-height160);
}

.text--middle {
    font-weight: 400;
    line-height: var(--line-height150);
}

/* title & text */


/* button */
/* bnt-public */
.btn {
    text-transform: capitalize;
    position: relative;
    display: inline-block;
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--border-radius-10);
    padding: 0.6rem 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    transition: all 0.2s ease;
    font-weight: 600;
    column-gap: 0.5rem;
}



/* btn--primary */
.btn--primary {
    background-color: var(--primary-color);
    color: var(--baseLight-color);
    border: 1px solid transparent;
}

.btn--primary:hover {
    background-color: var(--baseLight-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn--primary:hover img {
    filter: brightness(0) saturate(100%) invert(20%) sepia(45%) saturate(4401%) hue-rotate(237deg) brightness(95%) contrast(95%);
}

/* btn--purple */
.btn--purple {
    background-color: var(--purple-color);
    color: var(--baseLight-color);
    border: 1px solid var(--primary-color);
}

.btn--purple:hover {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--purple-color);
}

/* btn--white */
.btn--white {
    background-color: var(--baseLight-color);
    color: var(--secondary-color);
    border: 1px solid transparent;
}

.btn--white:hover {
    background-color: transparent;
    color: var(--baseLight-color);
    border: 1px solid var(--baseLight-color);
}

.btn--white:hover img {
    filter: brightness(0) invert(1);
}

/* btn--green */
.btn--green {
    border: 1px solid transparent;
    color: var(--secondary-color);
    background-color: var(--green-color);
}


.btn--green:hover {
    border: 1px solid var(--green-color);
    color: var(--green-color);
    background-color: transparent;
}

.btn--green:hover img {
    filter: brightness(0) saturate(100%) invert(72%) sepia(95%) saturate(760%) hue-rotate(91deg) brightness(100%) contrast(103%);
}



/* breadcrumb */
.breadcrumb--content {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    padding-block-end: 1.5rem;
    position: relative;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    /* color: rgba(255, 255, 255, 0.7); */
}

ol.breadcrumb > img{
	margin-inline: 0.4rem;
	filter: brightness(0) saturate(100%) invert(10%) sepia(7%) saturate(3429%) hue-rotate(206deg) brightness(92%) contrast(96%);
}

/* .breadcrumb li {
    font-size: var(--text-lg);
} */

.breadcrumb li:nth-child(even) {
    margin-inline: 0.25rem;
}

.breadcrumb li>a {
    margin-inline: 0.25rem;
    display: flex;
    align-items: center;
    column-gap: 0.25rem;
    font-weight: 300;
    color: var(--secondary-color);
}

.breadcrumb li>span {
    color: var(--purple-color);
    font-weight: 600;
}

/* breadcrumb */

/* pagination */
.pagination {
    margin-block: 3rem;
    margin-inline: auto;
}

.pagination ul {
    display: flex !important;
    align-items: center;
    justify-content: center !important;
	column-gap: unset !important;
	margin-block-start: 0 !important;
	position: relative !important;
}

.pagination ul li{
	width: auto !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	background-color: transparent !important;
}

.pagination ul li>span,
.pagination ul li>a {
    padding: 0.5rem 0.75rem;
    min-width: 3rem;
    min-height: 2rem;
    border: 1px solid var(--border-color);
    margin-inline: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
	line-height: none !important;
	color: var(--purple-color) ;
	font-weight: 500;
	border-radius: 5px;
}

.pagination ul li>span.page-numbers.current {
    background-color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    color: var(--baseLight-color);
}


input, button{
	font-family: var(--font-family);
}
/* pagination */


/* heroInner */
.heroInner {
    padding-block-start: 150px;
    /* min-height: 80vh; */
    position: relative;
}

.heroInner::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 130px);
    background: linear-gradient(to right, rgba(0, 255, 151, 0.1) 0%, rgba(136, 126, 250, 0.3) 100%);
    z-index: -1;
}

.heroInner--content {
    display: flex;
    /* align-items: center; */
    justify-content: space-between;
}

.heroInner--text {
    width: 53%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.heroInner--img {
     width: 45%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    height: 430px;
}

.heroInner--img img{
	max-height: 380px;
	object-fit: cover;
}

.heroInner--single .heroInner--img {
    justify-content: flex-end;
	object-fit: cover;
}

.heroInner--single .heroInner--img picture{
	width: 95%;
}

.heroInner--single .heroInner--text {
	position: relative;
	z-index: 1;
}

.heroInner--single .heroInner--img::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 115%;
    z-index: 0;
    right: -60px;
    top: -20px;
    margin-inline: 0 auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("assets/img/bg-heroInner-single.svg");
}
.heroInner--single .heroInner--img img {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
	object-fit: cover;
    display: block;
    margin-inline: auto 0;
	max-height: unset;
    border-radius: var(--border-radius-20);
}

.heroInner--archive .heroInner--img {
    justify-content: center;
}

.heroInner--archive .heroInner--img::before,
.heroInner--archive .heroInner--img::after {
    position: absolute;
    content: "";
    /* width: 100%;
    height: 100%; */
    z-index: -1;
    /* right: -120px;
    top: -20px; */
    /* margin-inline: 0 auto; */
    background-size: contain;
    background-repeat: no-repeat;
}

.heroInner--archive .heroInner--img::before {
    bottom: -94px;
    right: -90px;
    height: 274px;
    width: 390px;
    background-image: url("assets/img/bg-heroInner-archive-1.svg");
}

.heroInner--archive .heroInner--img::after {
    top: -68px;
    left: 0;
    width: 210px;
    height: 159px;
    background-image: url("assets/img/bg-heroInner-archive-2.svg");
}


.heroInner--archive .heroInner--img img {
    position: relative;
    width: 100%;
    max-width: 500px;
    display: block;
    margin-inline: auto;
    border-radius: var(--border-radius-20);
	object-fit: cover;
	    height: auto;

}

/* heroInner */

/*********************
END: PUBLIC
*********************/

/*********************
START: HEADER
*********************/
header {
    z-index: 999;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.5s;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 1rem;
    position: relative;
}

/* header--logo */
.header--logo img {
    width: 100%;
    max-width: 80px;
}

/* header--logo */


/* header--btn */
.header--btn {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header--menu .header--btn__mobile {
    display: none;
}

/* header--btn */


/* header--menu */
.header--menu {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    position: relative;
}

/* nav-icon */
.nav-icon {
    position: absolute;
    display: inline-block;
    left: 0;
    z-index: 100;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.5s;
    display: none;
}

.nav-icon:after,
.nav-icon:before,
.nav-icon div {
    background-color: var(--primary-color);
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    margin: 5px 0;
    transition: all 0.2s ease-in-out;
}

.nav-icon.open:before {
    transform: translateY(6px) rotate(135deg);
}

.nav-icon.open:after {
    transform: translateY(-8px) rotate(-135deg);
}

.nav-icon.open div {
    transform: scale(0);
}

/* nav-icon */

.header--menu .navigation {
    position: relative;
}

.header--menu .navigation>ul.menu {
    position: relative;
    display: flex;
    justify-content: center;
    user-select: none;
}

.header--menu .navigation>ul.menu>li {
    padding-inline-end: 2rem;
    padding-block: 1rem;
    position: relative;
}

.header--menu .navigation>ul.menu>li.current-menu-item>a {
}

.header--menu .navigation>ul.menu>li>a {
    color: var(--baseDark-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-base);
    font-weight: 400;
    line-height: var(--line-height140);
    transition: all 0.3s ease;
}

.header--menu .navigation>ul.menu>li.current-menu-item>a {
	font-weight: 600;
    color: var(--primary-color);
    font-weight: 700;
}


/* for submenu */
.header--menu .navigation>ul.menu>li>img {
    width: .5rem;
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translatey(-50%);
    cursor: pointer;
}

.header--menu .navigation>ul.menu>li>a>img {
    width: 0.75rem;
    margin-inline-start: 1rem;
}

.header--menu .navigation>ul.menu>li>ul {
    position: absolute;
    background: var(--baseLight-color);
    top: 3rem;
    pointer-events: none;
    transform: translateY(10px);
    opacity: 0;
    transition: 0.5s;
	min-width: 200px;
    transition-property: transform, opacity;
    border-radius: var(--border-radius-10);
/*     padding-block: 1rem; */
}

.header--menu .navigation>ul.menu>li:hover>ul {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
	box-shadow: rgba(16, 24, 40, 0.12) 0px 6px 28px 5px;
}

.header--menu .navigation>ul.menu>li>ul>li {
    position: relative;
    cursor: pointer;
}

.header--menu .navigation>ul.menu>li>ul>li>a {
    color: var(--baseDark-color);
    text-decoration: none;
    padding: 1rem;
    width: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s;
}
/* for submenu  */

/* searchForm */
.header--items nav {
    display: flex;
    align-items: center;
}

.searchForm--content {
    position: relative
}

.searchForm>img {
    cursor: pointer;
    width: auto;
    vertical-align: middle;
}

.searchForm--content {   
    border-radius: var(--border-radius-10);
    padding-inline-end: 0.75rem;
    padding-inline-start: 0.25rem;
    padding-block: 0.15rem;
    background-color: var(--baseLight-color);
    position: absolute;
    left: calc(30% - 200px);
    width: 100%;
    max-width: 400px;
    top: 80px;
    display: none;
    align-items: center;
    justify-content: space-between;
	box-shadow: 0px 0px 10px 1px rgba(193, 193, 193, 0.6);
}

.searchForm--content.active {
    display: flex;
}

.searchForm--content .btn {
    width: 20%;
    position: absolute;
    left: 0.2rem;
    top: 50%;
    transform: translatey(-50%);
    color: var(--baseLight-color);
    background-color: var(--primary-color);
    border-radius: var(--border-radius-10);
    padding: 0.7rem 1.5rem;
    border: none;
}

.searchForm--content input[type="search"] {
    width: 78%;
    border: none;
    padding: 0.5rem 0.75rem;
    min-height: 40px;
    color: var(--text-color-1);
    border-radius: var(--border-radius-8);
}

/* searchForm */

.header--btn .btn--secondary {
    padding: 0.57rem 1rem;
}

.header--btn .btn--secondary .phoneRing {
    margin-inline-start: 0.25rem;
    transition: all 0.5s;
}

.header--btn .btn--secondary:hover .phoneRing {
    border-radius: 50%;
    background: var(--secondary-color);
}

/* header--menu */

.darkpage {
    background-color: rgba(26, 43, 76, .7);
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 1;
    visibility: hidden;
    opacity: 0;
    top: 0;
    left: 0;
    transition: opacity 1s linear;
}

/*********************
END: HEADER
*********************/

/*********************
START: FOOTER
*********************/
footer {
    background-color: var(--bg-footer);
}

.footer--content {
    padding-block: 5rem 3.125rem;
}

/* footer--up */
.footer--up {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.footer--up>img {
    max-width: 180px;
}

.footer--up .footer--about {
    display: flex;
    row-gap: 1rem;
    flex-direction: column;
    width: calc(100% - 160px);
}

.footer--content>ul {
    display: grid;
    row-gap: 2rem;
    column-gap: 2rem;
    margin-block-start: 2.5rem;
    grid-template-columns: repeat(2, 1fr);
}

.footer--content>ul>li {
    padding: 2.5rem;
    border-radius: var(--border-radius-20);
    background-color: rgba(224, 222, 246, 0.2);
}

.footer--content>ul>li h4 {
    font-weight: 500;
    margin-block-end: 2rem;
    font-size: var(--text-2xl);
    color: var(--baseLight-color);
    line-height: var(--line-height150);
}

.footer--content>ul>li ol li span {
    font-weight: 400;
    font-size: var(--text-xl);
    color: var(--baseLight-color);
}

.footer--content>ul>li ol li p {
    font-weight: 500;
    margin-block: 0.75rem 2rem;
    color: var(--baseLight-color);
}

.footer--down {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    color: var(--baseLight-color);
    margin-block-start: 2.812rem;
}

.footer--down h5 {
    margin-inline-end: 1.5rem;
    margin-block-end: 0;
}

.footer--down p {
    margin-inline-end: 3.25rem;
}

ul.footer--social{
	display: flex;
    align-items: center;
    column-gap: 0.75rem;
    margin-block-end: 0;
    background-color: transparent;
}

ul.footer--social li{
	padding: 0 !important;
    background-color: transparent;
}

ul.footer--social li a img{
	width: 30px;
    height: 30px;
    margin-block-end: 0;
}

.websiteOwnership {
    display: flex;
    row-gap: 0.75rem;
    align-items: center;
    padding-block: 1.5rem;
    flex-direction: column;
    justify-content: center;
    border-top: 1px solid var(--border-color);
}

/*********************
END: FOOTER
*********************/

.fix-contact {
  width: 175px;
  border-radius:4px;
  background: linear-gradient(to top right, var(--primary-color), var(--secondary-color));
  position: fixed;
  bottom: 15px;
  left: 15px;
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
  z-index: 12;
}
.fix-contact::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  filter: blur(5px);
  opacity: 0.5;
  top: 3px;
  left: 0;
}
.fix-contact > a {
  display: block;
  background-color: #fff;
  border-radius: 2px;
  color: var(--primary-color);
  text-align: center;
  width: 120px;
  height: 30px;
  line-height: 30px;
}
span.city {
  position: absolute;
  width: 30px;
  border-radius: 2px;
  background-color: #fff;
  color: var(--primary-color);
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}
span.just-city {
  color: var(--c4);
  position: absolute;
  top: -35px;
  right: 0;
}
span.just-city > svg {
  width: 15px;
  height: auto;
  position: relative;
  bottom: -7px;
  margin-left: 3px;
  margin-right: 5px;
}
span.just-city > svg path:first-child {
  fill: var(--c2);
  opacity: 0.3;
}
span.just-city > svg path:last-child {
  fill: var(--c2);
}
span.city > b {
  display: block;
  transform: rotate(-90deg);
}
.city.tehran {
  top: 10px;
  left: 10px;
}
.city.karaj {
  bottom: 10px;
  left: 10px;
}
span.city {
  position: absolute;
  width: 30px;
  border-radius: 2px;
  background-color: #fff;
color: var(--bg-footer);
    font-size: var(--text-sm);
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}
span.just-city {
    font-size: var(--text-xs);
    color: var(--primary-color);
  position: absolute;
  top: -35px;
  right: 0;
}
span.just-city > svg {
  width: 15px;
  height: auto;
  position: relative;
  bottom: -7px;
  margin-left: 3px;
  margin-right: 5px;
}
span.just-city > svg path:first-child {
  fill: var(--c2);
  opacity: 0.3;
}
span.just-city > svg path:last-child {
  fill: var(--c2);
}
span.city > b {
  display: block;
  transform: rotate(-90deg);
}
.city.tehran {
  top: 10px;
  left: 10px;
}
.city.karaj {
  bottom: 10px;
  left: 10px;
}
.fix-contact > a:not(:last-child) {
  margin-bottom: 10px;
}
/*********************
START: container and its media
*********************/
/* container  */
.container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1320px 1fr;
    grid-template-areas: ". content .";
}

.container>* {
    grid-area: content;
}

@media screen and (min-width: 1920px) {
    .container {
        grid-template-columns: 1fr 1400px 1fr;
    }
}

@media screen and (min-width: 1440px) and (max-width: 1919px) {
    .container {
        grid-template-columns: 1fr 1330px 1fr;
    }
}

@media screen and (min-width: 1320px) and (max-width: 1439px) {
    .container {
        grid-template-columns: 1fr 1310px 1fr;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1319px) {
    .container {
        grid-template-columns: 1fr 1140px 1fr;
    }
}

@media screen and (min-width: 993px) and (max-width: 1199px) {
    .container {
        grid-template-columns: 1fr 970px 1fr;
    }
}

@media screen and (min-width: 769px) and (max-width: 992px) {
    .container {
        grid-template-columns: 1fr 750px 1fr;
    }
}

@media screen and (max-width: 768px) {
    .container {
        grid-template-columns: 1fr 95% 1fr;
    }
}

/*********************
END: container and its media
*********************/

/*********************
START: MEDIA
*********************/
@media screen and (min-width: 1440px) {
    .supTitle {
        font-size: var(--text-xl);
    }

    .title--large {
        font-size: var(--text-7xl);
    }

    .title--middle {
        font-size: var(--text-6xl);
    }

    .title--small {
        font-size: 45px;
    }

    .title--XSmall {
        font-size: 30px;
    }

    .text--middle {
        font-size: 22px;
    }
	
	.header--logo img {
    	max-width: 90px;
	}
}

@media screen and (min-width: 1320px) and (max-width: 1439px) {
    .supTitle {
        font-size: var(--text-xl);
    }

    .title--large {
        font-size: var(--text-6xl);
    }

    .title--middle {
        font-size: var(--text-5xl);
    }

    .title--small {
        font-size: var(--text-4xl);
    }

    .title--XSmall {
        font-size: 28px;
    }

    .text--middle {
        font-size: var(--text-xl);
    }
}

@media screen and (max-width: 1319px) {
    .supTitle {
        font-size: var(--text-xl);
    }

    .title--large {
        font-size: var(--text-5xl);
    }

    .title--middle {
        font-size: var(--text-4xl);
    }

    .title--small {
        font-size: var(--text-3xl);
    }

    .title--XSmall {
        font-size: 26px;
    }

    .text--middle {
        font-size: var(--text-xl);
    }

    /* heroInner */
    .heroInner--img::before {
        height: 100%;
        right: -100px;
    }

    /* header */
    .header--menu .navigation>ul.menu>li {
        padding-inline-end: 1rem;
    }

    .header--menu .navigation>ul.menu>li>a {
        font-size: var(--text-base);
    }

    /* footer */
    .footer--down p {
        margin-inline-end: 2.5rem;
    }


}

@media screen and (max-width: 1200px) {

    section {
        margin-block-end: 100px;
    }

    .supTitle {
        font-size: var(--text-lg);
    }

    .title--large {
        font-size: var(--text-4xl);
    }

    .title--middle {
        font-size: var(--text-3xl);
    }

    .title--small,
    .title--XSmall {
        font-size: var(--text-2xl);
        margin-block-end: 1rem;
    }

    .title--withIcon.title--small img {
        margin-block-start: 7px;
    }

    .text--middle {
        font-size: var(--text-lg);
    }

    /* heroInner */
/*     .heroInner--single .heroInner--img::before {
        right: 0;
    } */

    .heroInner::before {
        height: calc(100% - 160px);
    }

    .heroInner--archive .heroInner--img img {
        width: 90%;
    }

    .heroInner--archive .heroInner--img::before {
        bottom: -40px;
    }

    .heroInner--archive .heroInner--img::after {
        top: -10px;
    }

    /* header */
    .header--menu .navigation>ul.menu>li>a {
        font-size: var(--text-sm);
    }

    .header--menu .navigation>ul.menu>li {
        padding-inline: 0.5rem;
    }

    .header--btn.header--btn__desktop {
        font-size: var(--text-sm);
    }

    .header--btn {
        gap: 0.5rem;
    }

    /* footer */
    .footer--down p {
        margin-inline-end: 2rem;
    }
}

@media screen and (max-width: 992px) {
    section {
        margin-block-end: 80px;
    }

    .supTitle {
        font-size: var(--text-base);
    }

    .title--large {
        font-size: var(--text-3xl);
    }

	.pagination-status{
		display:none;
	}

    /* heroInner */
    .heroInner {
        padding-block: 6.5rem;
    }

    .heroInner::before {
        height: 100%;
    }

    .heroInner--img {
        height: auto;
    }

	.heroInner--img img{
		max-height: unset;
	}
	
    .heroInner--single .heroInner--img::before,
    .heroInner--archive .heroInner--img::before,
    .heroInner--archive .heroInner--img::after {
        content: unset;
    }

    .heroInner--img img {
        width: 100% !important;
        max-width: unset !important;
    }

    .heroInner--archive .heroInner--img img {
        width: 100%;
    }

    /* header */
	.header--logo img {
		max-width: 80px;
	}
	
    .header--menu .navigation>ul.menu>li {
        padding-inline-end: 7px;
    }

    .header--btn {
        gap: 0.5rem;
    }

    .searchForm--content {
        top: 70px;
    }

    .nav-icon {
        display: block;
    }

    .header--menu .navigation>ul.menu {
        flex-direction: column;
    }
	
	.header--menu .navigation>ul.menu>li.current-menu-item>a{
		width: 100%;
	}

    .header--menu .navigation {
        position: fixed;
        display: block;
        min-width: 350px;
        right: -100%;
        background: var(--secondary-color);
        top: 0;
        z-index: 1;
        padding: 30px;
        height: 100%;
        transition: all 0.5s;
        visibility: hidden;
        transition-property: right, visibility;
    }

    .header--menu .navigation.active {
        right: 0;
        visibility: visible;
    }

    .header--menu .navigation>ul.menu>li>ul {
        opacity: 1;
		max-height:0;
        position: relative;
        top: 0;
        background: rgba(255, 255, 255, 0.5);
        overflow: hidden;
		transition: all 0.5s;
    }

    .header--menu .navigation>ul.menu>li {
        border-left: 0;
        border-bottom: 1px solid var(--baseLight-color);
        margin-bottom: 1rem;
        padding-inline: 0;
        padding-block-end: 0.25rem;
    }

    .header--menu .navigation>ul.menu>li>a {
        width: max-content;
        justify-content: space-between;
        font-size: var(--text-lg);
		color: var(--baseLight-color);
    }

    .header--menu .navigation>ul.menu>li>img {
        filter: brightness(0) invert(1);
        top: 25px;
        left: 0;
        transform: unset;
    }

    .header--menu .navigation>ul.menu>li>ul,
    .header--menu .navigation>ul.menu>li:hover>ul {
        transform: unset;
    }

    .header--btn__mobile .btn {
        column-gap: 1rem;
    }

    .header--btn__mobile .btn--primary {
        margin-block-end: 1rem;
    }

    .header--btn__desktop {
        display: none;
    }

    .header--menu .header--btn__mobile {
        display: flex;
        flex-direction: column;
        margin-block-start: 2rem;
    }

    .searchForm {
        position: absolute;
        left: 45px;
    }

    .searchForm>img {
        width: 1.25rem;
    }

    .searchForm--content {
        top: 35px;
        left: 0;
        width: 300px;
    }

    .darkpage.open {
        opacity: 1;
        visibility: visible;
        transition: opacity 1s linear;
    }

    /* footer */
    .footer--content {
        padding-block: 5rem;
    }

    .footer--content>ul {
        grid-template-columns: repeat(1, 1fr);
    }

    .footer--up {
        flex-direction: column;
        row-gap: 2rem;
    }

    .footer--up .footer--about {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {

    .text--middle {
        font-size: var(--text-base);
    }
	
	.pagination ul li>span, .pagination ul li>a{
		font-size: var(--text-sm);
	}

    /* heroInner */
	.heroInner {
		  padding-block-end: 1rem;
		  margin-block-end: 1rem !important;
	}
	
	.heroInner--single.heroInner {
        padding-block-end: 3rem;
        margin-block-end: 3rem !important;
    }
	
    .heroInner--content {
        row-gap: 2rem;
        flex-direction: column-reverse;
    }

    .heroInner--text,
    .heroInner--img {
        width: 100%;
    }
	
	.heroInner--single .heroInner--img{
		justify-content: center;
	}
	
	.heroInner--single .heroInner--img{
		margin-inline: auto;
	}
	
	.header--logo img {
		max-width: 70px;
	}
	
	  .fix-contact {
    width: 97%;
    border-radius: var(--br);
  	background: linear-gradient(to top right, var(--primary-color), var(--secondary-color));
    position: fixed;
    bottom: 5px;
    left: 5px;
    display: flex;
    flex-wrap: wrap;
    padding: 3px;
    z-index: 1200;
    box-sizing: border-box;
  }
  .city.tehran {
    top: 3px;
    left: 3px;
  }
  .city.karaj {
    bottom: 5px;
    left: 3px;
  }
 span.city {
    width: 18%;
    height: 28px;
  }
  .fix-contact > a {
    border-radius: 2px;
    width: 40%;
    height: 28px;
    line-height: 34px;
    margin-left: 2px;
  }
  .fix-contact > a:not(:last-child) {
    margin-bottom: 2px;
  }
  span.city > b {
    transform: rotate(0deg);
  }
  span.just-city > svg {
    width: 10px;
    height: auto;
    position: relative;
    bottom: -4px;
    margin-left: 3px;
    margin-right: 10px;
  }
  span.just-city {
    font-size: 10px;
    color: var(--c4);
    position: absolute;
    top: -28px;
    right: 5px;
    width: 156px;
    background-color: #fff;
    height: 25px;
    line-height: 25px;
    border-radius: 30px;
    box-shadow: 0 3px 7px -3px #0003;
  }
	.websiteOwnership {
    padding-block-end: 7rem;
}
}

@media screen and (max-width: 576px) {
	.pagination ul li>span, .pagination ul li>a{
		min-width: 2rem;
		margin-inline: 0.25rem;
	}
	
	.heroInner--img img{
		height: auto;
    	aspect-ratio: 4 / 3;
		object-fit: cover;
	}

    /* header */
    .searchForm {
        margin-inline-start: 0;
    }

    .searchForm--content {
        top: 40px;
    }

}

@media screen and (max-width: 425px) {
	.fix-contact > a,
	.fix-contact span.city{
		font-size: var(--text-sm);
	}
	
    .btn {
        font-size: var(--text-sm);
    }

    .title--large {
        font-size: var(--text-2xl);
    }

    .title--middle {
        font-size: var(--text-2xl);
    }
	
	.pagination ul li>span, .pagination ul li>a{
		font-size: var(--text-xs);
		min-width: 1rem;
		padding: 0.5rem;
	}

    /* header */
    .header--menu .navigation {
        width: 300px;
    }

    /* footer */
    .websiteOwnership {
        font-size: var(--text-sm);
    }
}

@media screen and (max-width: 375px) {
    .title--small {
        font-size: var(--text-xl);
    }

    /* header */
    .searchForm--content {
        width: 270px;
    }

    .header--menu .navigation {
        width: 250px;
    }

}

@media screen and (max-width: 320px) {
    .btn {
        font-size: var(--text-xs);
    }
}

/*********************
END: MEDIA
*********************/
