/*
Theme Name: Sarrafkhaneh New
Theme URI: https://harmony.agency/
Author: Harmony Agency
Author URI: https://harmony.agency/
Description: قالب وردپرس برای سایت صرافخانه
Version: 1.0.1
Text Domain: sarrafkhaneh
*/

a {
    color: #000;
}
a:hover {
    color: #1f2938;
}
#start .box2 .content_box {
    overflow-y: auto;
    max-height: 400px;      
    padding-left: 20px;
    scrollbar-width: thin;
    scrollbar-color: #bcbcbc #f5f5f5;
}
#start .box1 .counter_box:nth-child(2) .value::after{
    content:'';
}
.navbar-nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.navbar-nav .menu-item{
    margin-left: 18px;
}
.navbar-nav .menu-item a{ 
        color: rgba(58, 58, 58, 1);
    font-size: 18px;
    font-weight: 500;
    padding: 0;
}
.chart {
    height: auto;
}


#single-post .heading {
    color: #000000;
    font-size: 22px;
    font-weight: 600;
    text-align: right;
    text-align-last: right;
    margin: 0 0 8px;
}

#single-post .subtitle_box {
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto 36px;
    padding: 16px 42px;
}

#single-post .subtitle_box div {
    display: flex;
    align-items: center;
    justify-content: center;
}

h2.wp-block-heading, h3.wp-block-heading {
    font-size: 20px;
}
h4.wp-block-heading, h5.wp-block-heading {
    font-size: 18px;
}
h6.wp-block-heading{
    font-size: 16px;
}

#single-post .toc .nav_title::before {
    content: "";
    width: 24px;
    height: 24px;
    display: inline-block;
    background: url(assets/images/textalign.png) no-repeat center center / contain;
    position: absolute;
    right: 0;
    top: 5px;
    transition: transform 0.3s ease;
    transform: rotate(180deg);
}

#single-post .toc .nav_title::after {
    content: "";
    width: 19px;
    height: 19px;
    display: inline-block;
    background: url(assets/images/arrow-down.png) no-repeat center center / contain;
    position: absolute;
    left: 0px;
    top: 0px;
    transition: transform 0.3s ease;
    transform: rotate(180deg);
}

.toc .nav_title {
    color: #3a3a3a;
    font-size: 16px;
    font-weight: 700;
    text-align: right;
    text-align-last: right;
    margin: 0 0 20px;
}

#single-post .toc .nav_title {
    width: 100%;
    margin: 0 0 20px;
    position: relative;
    padding-right: 35px;
}

#single-post .toc #title_list {
    border-top: 1px solid #00000017;
    padding-top: 8px;
}

.toc .nav_link {
    padding: 8px 20px;
    color: #484c55;
    font-size: 16px;
    font-weight: 400;
    width: 100%;
    display: block;
    background: transparent;
    border-radius: 8px;
    position: relative;
}

.toc .nav-item a {
    color: #7b7b7b;
}

.toc .nav_link::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border: 1px solid #484c55;
    border-radius: 1000px;
    position: absolute;
    right: 0px;
    top: 17px;
}


#single-post ul.wp-block-list {
    margin-top: 1.5rem;
}

#single-post ul.wp-block-list li {
    color: #636363;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 18px;
    padding-right: 20px;
    position: relative;
}

#single-post ul.wp-block-list li::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #ffc20e;
    border-radius: 1000px;
    position: absolute;
    right: 0;
    top: 7px;
}

.wp-block-quote {
    background: #ffc20e;
    padding: 12px 24px;
    border-radius: 8px;
}

.suggestion {
    background: #fff;
    border-radius: 12px;
    padding: 8px 14px;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 18px;
}
.suggestion img {
    margin-left: 11px;
    max-width: 200px;
    object-fit: contain;
}
.suggestion .suggestion_title {
    font-size: 14px;
    font-weight: 300;
    display: block;      /* بهتر از flex برای ellipsis */
    white-space: nowrap; 
    width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
}


.suggestion .suggestion_title b {
    color: #232323;
    font-size: 16px;
    font-weight: 700;
    margin-left: 3px;
}

 .articles_box {
    margin: 0 auto;
    max-width: 100%;
    border-top: 1px solid #00000024;
    padding-top: 30px;
}

 .top {
    display: flex;
    justify-content: flex-start;
    text-align: center;
    text-align-last: center;
    margin-bottom: 35px;
}

 .content_box {
    border-radius: 14px;
    padding: 4px 10px 24px;
}

 .content_box .article_img {
    width: 100%;
    margin: 0 0 10px;
    border-radius: 12px;
}

 .article_data_box {
    color: #626262;
    font-size: 14px;
    font-weight: 400;
}

 .content_box .title {
    color: #151515;
    font-size: 18px;
    font-weight: 600;
}

 .content_box .caption {
    color: #6c6c6c;
    font-size: 14px;
    font-weight: 400;
    margin: 0 0 30px;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: max-content;
    overflow: hidden;
}

.btn {
    color: #e8ad00;
    font-size: 16px;
    font-weight: 600;
    text-align: right;
    text-align-last: right;
    margin: 0 0 0 7px;
}

p.comment-notes, p.logged-in-as {
    display: none !important;
}

p.aiowps-captcha.hide-when-displaying-tfa-input, .aiowps-captcha-equation.hide-when-displaying-tfa-input {
    order: 9;
}


.comment-respond .form-control {
    background: #fff;
    border-radius: 12px;
    height: 48px;
    width: 100%;
    color: #000;
    font-size: 14px;
    font-weight: 400;
    border: none;
}

.comment-respond textarea.form-control {
    width: 100%;
    min-height: 175px;
}


.result_description {
    color: #767676a8;
    font-size: 16px;
    font-weight: 400;
    margin-right: 14px;
}

.comments-list .comment_name {
    color: #282828;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px;
    text-align: right;
    text-align-last: right;
}

.comments-list .comment_caption {
    color: #282828a3;
    font-size: 14px;
    font-weight: 400;
    margin: 0 0 30px;
    text-align: right;
    text-align-last: right;
}

.comments-list .bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.comments-list .bottom .right {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.comments-list .bottom .right .clock {
    margin-left: 4px;
}

.comments-list .comment_date {
    color: #282828a3;
    font-size: 12px;
    font-weight: 400;
    margin: 0 0 0 10px;
    text-align: right;
    text-align-last: right;
    margin: 0 !important;
}

.comments-list .reply_btn span {
    color: #c29100;
    font-size: 12px;
    font-weight: 400;
}

.rating {
    display: flex;
    gap: 6px;
    cursor: pointer;
}

.inner_commnet_box {
    background: #fff;
}

textarea.form-control:focus {
    color: #282828;
}
