/*
Theme Name: MH Theme
Theme URI: https://khaneyemodiran.ir
Template: astra
Author: MH Theme
Description: Managers Home Special Theme
Updated: 2024-12-17 00:15:52
TextDomain: mh-theme
*/

@font-face {
    font-family: 'Vazirmatn';
    src: url('assets/fonts/Vazirmatn[wght].woff2') format('woff2 supports variations'),
       url('assets/fonts/Vazirmatn[wght].woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

*, html, body, form input {
    font-family: 'Vazirmatn';
}

.text-justify, .text-justify > * {
    text-align: justify;
}

.kk-star-ratings {
    display: table;
    margin: 8px 0;
    text-align: center;
}

.kk-star-ratings .kksr-stars {
    float: none;
    margin: 0 auto 8px;
    text-align: center;
}

.ast-blog-layout-4-grid .ast-article-post {
    width: 33.33%;
    margin-bottom: 2em;
    border-bottom: 0;
    background-color: transparent;
    padding: 0 1em 0;
}

.ast-article-inner {
    background-color: var(--ast-global-color-5);
    background-image: none;
    box-shadow: 0px 6px 15px -2px rgba(16, 24, 40, 0.05);
}

.ast-article-post .ast-article-inner {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    overflow: hidden;
}

.blog-layout-4 .post-thumb {
    padding-right: 0;
    padding-left: 0;
}

.mh-latest-posts .ast-row {
    display: flex;
}

.ast-article-post.remove-featured-img-padding .blog-layout-4 .post-content .ast-blog-featured-section .post-thumb-img-content {
    margin-right: -1.5em;
    margin-left: -1.5em;
    margin-top: -1.5em;
}

.mh-latest-posts .ast-blog-featured-section {
    margin-bottom: 0;
}

.mh-latest-posts .entry-title {
    font-weight: 400;
    font-size: 17px;
}

@media (max-width: 921px) {
    .ast-blog-layout-4-grid .ast-article-post {
        width: 100%;
    }
    .mh-latest-posts .ast-row {
        display: block;
    }
}

.mh-latest-posts .ast-grid-common-col {
    padding: 0;
}

.entry-title, .uagb-post__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    max-height: 1.8em;
    line-height: 1.8em;
    margin: 0;
    font-size: 17px;
    font-weight: 400;
}

.ast-article-inner {
    padding: 1.3em !important;
}

.post-content .read-more {
    text-align: left;
    margin-bottom: 0;
}

.post-content .read-more a {
    color: #ffffff;
    background-color: var(--ast-global-color-1);
    border-color: var(--ast-global-color-1);
    border-radius: 50px;
    padding: 5px 20px;
    font-size: 14px;
}

.posts-list > ul > li {
    border-bottom: 1px dashed #ccc;
    margin-bottom: 0px;
}

.posts-list > ul > li:last-child {
    border: 0px;
}

.posts-list > ul > li > a {
    display: flex;
    line-height: 1.5rem;
    padding: 10px 0 10px 0;
    align-items: center;
}

.posts-list img {
    width: 70px;
    height: 70px;
    margin-left: 10px;
}

input, select, textarea, .single img {
    border-radius: 10px !important;
}

.single .site-logo-img img, .single .logos img {
    border-radius: 0px !important;
}

.post-thumb img {
    border-radius: 10px;
}

.single .entry-header .post-thumb {
    margin-bottom: 1em;
}

.single .entry-header {
    margin-bottom: 1em !important;
}

.single .entry-content ol, .single .entry-content ul {
    padding: 0 2.5em;
}

.single article, .sidebar-main aside {
    border-radius: 10px;
}

.site-footer .site-above-footer-wrap {
    background-image: url(/wp-content/uploads/footer-bg.svg);
    background-repeat: no-repeat;
    background-position: center 101%;
    background-size: 340px;
}

@media(max-width:768px)
{
    .site-footer .site-above-footer-wrap {
        padding-bottom: 155px;
    }
}

#request_banner, #request_tel_banner, #advice_banner
{
    background-color: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
    padding:15px;
    display: block;
    position: relative;
}

#advice_banner p {
    margin: 0;
    text-align: center;
}

#request_banner strong, #request_tel_banner strong, #advice_banner strong
{
    font-weight: 700;
    color: red;
    position: relative;
}

#request_banner::before {
    content: '';
    background-image: url(/wp-content/uploads/cart.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 104px;
    height: 104px;
    opacity: 0.04;
    position: absolute;
    top: -14px;
    right: -24px;
}

#request_tel_banner::before {
    content: '';
    background-image: url(/wp-content/uploads/phone-call.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 104px;
    height: 104px;
    opacity: 0.04;
    position: absolute;
    top: -8px;
    right: -24px;
}

#advice_banner::before {
    content: '';
    background-image: url(/wp-content/uploads/question-square.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 130px;
    height: 130px;
    opacity: 0.05;
    position: absolute;
    top: -18px;
    right: 42%;
    transform: rotate(20deg);
}

#request_banner h3 {
    padding-right: 8px;
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
    margin:0px;
    z-index: 500;
    color:#00c847;
}

#request_tel_banner h3 {
    padding-right: 8px;
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
    margin:0px;
    z-index: 500;
    color:#f22d33;
}

#request_banner h3 small, #request_tel_banner h3 small {
    display: block !important;
    color: #777 !important;
    font-weight: 400 !important;
    font-size: 65% !important;
}

#request_banner b, #request_tel_banner b, #advice_banner b {
    float: left;
    /*background: #12c351;*/
    background-color: var(--ast-global-color-0);
    border-radius: 50px;
    display: block;
    color: #fff;
    padding: 6px 14px;
    margin: 4px 2px;
    font-weight: 500;
}

#request_tel_banner b {
    background-color: #f84e53;
}

#request_banner:hover, #request_banner:focus, #request_tel_banner:hover, #advice_banner:focus {
    background-color: #f0f0f0;
}

#request_banner:hover b, #advice_banner:hover b {
    /*background: #00b23f;*/
    background-color: var(--ast-global-color-1);
    color: #fff;
}

#request_tel_banner:hover b {
    background: #f22d33;
    /*background-color: var(--ast-global-color-1);*/
    color: #fff;
}

#rank-math-toc > nav > ul {
    padding: 0;
}

.ast-separate-container .comment-respond {
    padding: 20px !important;
}

.widget_media_image:has(.wp-block-image) {
    padding: 0 !important;
}

.site-above-footer-wrap .widget {
    margin: 0 0 1.4em 0;
}