/*********************
START: FAQ
********************/
.singlePost {
    position: relative;
	margin-block-end:var(--space-section);
	overflow-y: hidden;
}

.singlePost--container {
    display: flex;
    justify-content: space-between;
	flex-direction: row;
}

/* aside.singlePost--category */
aside.singlePost--category {
    width: 30%;
    position: relative;
	padding-block-start: 5rem;
}

aside.singlePost--category .content--category {
    background-color: rgba(229, 219, 184, 0.4);
}

aside.singlePost--category .content--category::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    top: 70px;
    left: 0;
}

aside.singlePost--category .content--category:after {
    background-image: url("../img/vector-line-diagonal-1.svg");
}

aside.singlePost--category .content--category .widgetBody{
	 position: relative;
    z-index: 1;
}

aside.singlePost--category .content--category {
    border-radius: var(--border-radius25);
    margin-block-end: 3.75rem;
    position: relative;
}

aside.singlePost--category .content--category .singlePost--category__title h3 {
    font-weight: 700;
    margin-inline: 7rem 2rem;
	padding-block-start: 2rem;
    position: relative;
    z-index: 1;
}

aside.singlePost--category .content--category ul{
	padding: 1rem 2rem 5rem 2rem;
}

aside.singlePost--category .content--category ul li{
    position: relative;
    padding-inline-start: 1.5rem;
    padding-block: 1.25rem;
    color: var(--text-color-2);
}

aside.singlePost--category .content--category ul li::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    background: linear-gradient(to right, rgba(48, 50, 58, 0) 0%, rgba(48, 50, 58, 0.5) 50%, rgba(48, 50, 58, 0) 100%);
}

aside.singlePost--category .content--category ul li::before{
    position: absolute;
    content: "";
    width: 18px;
    height: 18px;
    top: 28px;
    right: 0;
    background-repeat: no-repeat;
    background-size: contain;
}

aside.singlePost--category .content--category ul li::before{
    background-image: url("../img/icons/supTitle-icon-gold.svg");
}

aside.singlePost--category .content--category ul li a{
	position: relative;
	width: 100%;
    display: block;
	 font-weight: 400;
    cursor: pointer;
    color: rgba(48, 50, 58, 0.7);
}

aside.singlePost--category .content--category ul li.active a{
	color: var(--text-color-2);
    font-weight: 700;
}

aside.singlePost--category .content--category ul li.active a:before{
	  content: "";
	  position: absolute;
	  left: 0;
	  top: 50%;
	  transform: translateY(-50%);
	  width: 16px;  /* عرض تصویر */
	  height: 16px; /* ارتفاع تصویر */
	  background-image: url('../img/icons/chavron-left-navyBlue.svg');
	  background-size: contain;
	  background-repeat: no-repeat;
	  background-position: center;
}

aside.singlePost--category .content--category .singlePost--category__title .icon {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1rem 1.25rem;
    background-color: var(--baseLight-color);
    border-bottom-left-radius: var(--border-radius25);
}

aside.singlePost--category .content--category .singlePost--category__title .icon img {
    width: 37px;
    height: auto;
}

aside.singlePost--category .content--category .singlePost--category__title .icon .curved-corner-topLeft,
aside.singlePost--category .content--category .singlePost--category__title .icon .curved-corner-bottomRight {
    width: 50px;
    height: 50px;
    overflow: hidden;
    position: absolute;
}

aside.singlePost--category .content--category .singlePost--category__title .icon .curved-corner-topLeft{
    top: 0;
    left: -50px;
}

aside.singlePost--category .content--category .singlePost--category__title .icon .curved-corner-bottomRight {
    bottom: -50px;
    right: 0;
}

aside.singlePost--category .content--category .singlePost--category__title .icon .curved-corner-topLeft:before,
aside.singlePost--category .content--category .singlePost--category__title .icon .curved-corner-bottomRight::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    border-radius: 50%;
    top: 0;
    right: 0;
    box-shadow: 25px -25px 0 0 var(--baseLight-color);
}

/* search */
.faq--search {
    width: 100%;
    position: absolute;
	top: 0;
    right: 0;
}

.faq--search .input--group {
	position: relative;
    width: 100%;
    border-radius: var(--border-radius60);
    padding: 0.75rem 1rem;
    border: 1px solid rgba(92, 92, 92, 0.5);
	display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq--search .input--group input{
	border: none;
	width: 95%;
}

.faq--search .input--group:before{
	position: absolute;
	content: "";
	width: 1rem;
	height: 1rem;
	top: 50%;
	left:14px;
	transform: translatey(-50%);
	background-image: url("../img/icons/search.svg");
}


/* article.singlePost--content */
.faq--tab__contents{
    width: 67%;
}

.faq--tab__contents .tab--content {
    animation: fading 2s;
}

@keyframes fading {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.faq--tab__contents ul li {
    padding: 1.25rem 1.8rem;
    transition: all 0.3s ease;
    border-radius: var(--border-radius15);
    border: 1px solid transparent;
    background-color: rgba(191, 178, 134, 0.1);
}

.faq--tab__contents ul li:not(:last-child) {
    margin-block-end: 1rem;
}

.faq--tab__contents ul li.active {
    border: 1px solid #D7D2C4;
    background-color: rgba(191, 178, 134, 0.2);
}

.faq--tab__contents ul li .accordion {
    display: flex;
	align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq--tab__contents ul li .accordion h5 {
    font-weight: 500;
	width: 95%;
    line-height: var(--line-height140);
	width: calc(100% - 35px);
	transition: all 0.1s ease;
	color:var(--text-color-2);
}

.faq--tab__contents ul li.active .accordion h5{
	 font-weight: 600;
}

.faq--tab__contents ul li .accordion .icon{
	display: block;
    position: relative;
    height:2px;
    width:16px;
}

.faq--tab__contents ul li .accordion .icon:before,
.faq--tab__contents ul li .accordion .icon:after{
    background: var(--text-color-2);
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.faq--tab__contents ul li .accordion .icon:before {
    top: 0px;
}

.faq--tab__contents ul li .accordion .icon::after {
    top: 0px;
    transform: rotate(90deg);
}

.faq--tab__contents ul li .accordion.open .icon::after {
    transform: rotate(0deg);
}


.faq--tab__contents ul li .panel {
    max-height: 0px;
    overflow: hidden;
    transition: all 0.5s ease;
}

.faq--tab__contents ul li .panel p {
    margin: 20px 0px 10px 20px;
    text-align: justify;
}


/*********************
END: FAQ
********************/

.questions--content {
    width: 63%;
    margin-inline-start: auto;
    margin-block-end: var(--space-section);
}

.questions--title {
    display: flex;
    align-items: center;
    column-gap: 1.25rem;
    margin-block-end: 2.5rem;
}

.questions--title h3 {
    font-weight: 700;
}

.questions--form {
    padding: 3rem;
    border-radius: var(--border-radius25);
    background-color: #EDF0FA;
}

/*********************
START: MEDIA
*********************/
@media screen and (min-width: 1440px) {
   aside.singlePost--category .content--category .singlePost--category__title h3 {
        font-size: 26px;
    }

    .faq--tab__contents .tab--content h2,
    .questions--title h3 {
        font-size: 40px;
    }

    aside.singlePost--category .content--category ul li a,
    .accordion h5 {
        font-size: var(--text-2xl);
    }

    .faq--tab__contents ul li .panel p {
        font-size: var(--text-lg);
    }

}

@media screen and (min-width: 1320px) and (max-width: 1439px) {
   aside.singlePost--category .content--category .singlePost--category__title h3{
        font-size: var(--text-2xl);
    }

    .faq--tab__contents .tab--content h2,
    .questions--title h3 {
        font-size: var(--text-4xl);
    }

    aside.singlePost--category .content--category ul li a,
    .accordion h5 {
        font-size: var(--text-xl);
    }
}

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

    .faq--tab__contents .tab--content h2,
    .questions--title h3 {
        font-size: var(--text-3xl);
    }

    aside.singlePost--category .content--category ul li a,
    .accordion h5 {
        font-size: var(--text-xl);
    }
}

@media screen and (max-width: 1200px) {
    .faq--tab__contents .tab--content h2 {
        font-size: var(--text-2xl);
    }

    aside.singlePost--category .content--category .singlePost--category__title h3{
        font-size: var(--text-xl);
        margin-block: 1rem 1rem;
        margin-inline-start: 6rem;
    }

    .faq--tab__btns ul li.tab--btn img {
        margin-inline-end: 1rem;
    }
}


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

    .faq--asks,
    aside.singlePost--category .content--category .singlePost--category__title h3,
    .faq--tab__contents .tab--content h2 {
        display: none;
    }

    .faq--mobile {
        display: block;
    }

    .faq--tab__btns {
        padding: 2rem 1rem 5rem 1rem;
    }

    .faq--mobile {
        width: 100%;
        padding: 2rem 2rem 5rem 2rem;
        position: relative;
        margin-block-start: 8rem;
        border-radius: var(--border-radius25);
        background-color: rgba(227, 219, 190, 0.7);
    }

    .faq--search {
        top: -7.5rem;
    }

    .faq--search input {
        margin-block-end: 1.5rem;
    }

    .faq--mobile::before {
        position: absolute;
        content: "";
        left: 0;
        top: 1.5rem;
        width: 100%;
        height: 100%;
        z-index: 0;
        background-repeat: no-repeat;
        background-image: url(../img/vector-line-diagonal-1.svg);
    }

    ul.faq--mobile__list {
        width: 100%;
        position: relative;
    }


    ul.faq--mobile__list>li {
        padding-block: 1rem;
        position: relative;
    }

    ul.faq--mobile__list>li::before {
        position: absolute;
        content: "";
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        width: 100%;
        height: 2px;
        background: linear-gradient(to right, rgba(48, 50, 58, 0) 0%, rgba(48, 50, 58, 0.3) 50%, rgba(48, 50, 58, 0) 100%);
    }

    ul.faq--mobile__list>li>div.faq--mobile__title {
        width: 100%;
        display: flex;
        cursor: pointer;
        justify-content: space-between;
        color: rgba(48, 50, 58, 0.7);
    }

    ul.faq--mobile__list>li.show>div.faq--mobile__title {
        color: rgba(48, 50, 58, 1);
        font-size: var(--text-xl);
    }

    ul.faq--mobile__list>li .faq--mobile__title>* {
        transition: all 0.3s ease;
    }

    ul.faq--mobile__list>li .faq--mobile__title img {
        width: 7px;
        height: auto;
        filter: brightness(0.5);
    }

    ul.faq--mobile__list>li.show .faq--mobile__title img {
        transform: rotate(90deg);
        filter: brightness(0);
    }

    ul.faq--mobile__list>li.show .faq--mobile__title {
        font-weight: 700;
    }

    ul.faq--mobile__list>li>.faq--tab__contents {
        width: 100%;
        transition: all 0.3s ease;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
    }

    ul.faq--mobile__list>li.show>.faq--tab__contents {
        max-height: auto;
    }

    ul.faq--mobile__list>li>.faq--tab__contents ul {
        padding-block: 1rem;
    }

    ul.faq--mobile__list>li>.faq--tab__contents ul li {
        background-color: transparent;
        border: none;
        padding: 0;
    }

    ul.faq--mobile__list>li>.faq--tab__contents ul li {
        background-color: #E0D9BC;
        padding: 0.75rem;
        border-radius: 12px;
        color: #494B51;
        border: 1px solid transparent;
    }

    ul.faq--mobile__list>li>.faq--tab__contents ul li.active {
        border: 1px solid #D7D2C4;
        background-color: #FCFAF6;
    }

    ul.faq--mobile__list>li>.faq--tab__contents ul li .accordion h5 {
        font-size: var(--text-base);
        font-weight: 500;
        color: #494B51;
    }

    ul.faq--mobile__list>li>.faq--tab__contents ul li.active .accordion h5 {
        color: #343640;
    }

    ul.faq--mobile__list>li>.faq--tab__contents ul li .accordion .icon {
        font-size: 1.5rem;
        font-weight: 100;
    }

    ul.faq--mobile__list>li>.faq--tab__contents ul li.active .accordion h5 {
        font-weight: 600;
    }

    ul.faq--mobile__list>li>.faq--tab__contents ul li .panel p {
        font-size: var(--text-sm);
        margin: 1rem 0;
        font-weight: 400;
        line-height: var(--line-height140);
    }

    .faq--tab__contents ul li .accordion .icon {
        height: 2px;
        width: 12px;
    }

    .questions--content {
        width: 100%;
        margin-inline: auto;
    }
}

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

@media screen and (max-width: 576px) {
    ul.faq--mobile__list>li.show>div.faq--mobile__title {
        font-size: var(--text-lg);
    }

    ul.faq--mobile__list>li .faq--mobile__title img {
        width: 8px;
    }

    ul.faq--mobile__list>li>.faq--tab__contents ul li .accordion h5 {
        font-size: var(--text-sm);
    }

    ul.faq--mobile__list>li>.faq--tab__contents ul li .panel p {
        font-size: var(--text-xs);
    }

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

@media screen and (max-width: 425px) {
    ul.faq--mobile__list>li.show>div.faq--mobile__title {
        font-size: var(--text-base);
    }
}

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

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