/*
Theme Name: hdr22
Theme URI: https://shamimmedia.ir/
Author: Your Name
Author URI: https://shamimmedia.ir/
Description: یک قالب سبک، سئو شده و بدون منو و سایدبار برای وردپرس
Version: 1.0

*/
#wp-admin-bar-wp-logo{display: none;}
img.hdr22-admin-logo-img {height: 30px !important;}
body {margin: 0;}

/*comment*/
/* کانتینر اصلی */
.petro-comments-area {
    margin: 40px 0;
    font-family: inherit;
}

.comments-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

/* لیست نظرات */
.petro-comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.petro-comment-list > li {
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 20px;
}

/* بادی نظر */
.petro-comment-body {
    display: flex;
    gap: 15px;
}

/* آواتار */
.petro-avatar-wrap img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

/* محتوا */
.petro-content-wrap {
    flex: 1;
}

.petro-header {
    margin-bottom: 8px;
    font-size: 14px;
}

.author-name {
    color: #333;
    font-weight: 700;
}

.sep {
    margin: 0 5px;
    color: #ccc;
}

.comment-date {
    color: #888;
}

.petro-text {
    color: #555;
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 10px;
}

/* دکمه پاسخ */
.petro-reply a {
    font-size: 12px;
    color: #999;
    text-decoration: none;
    border: 1px solid #eee;
    padding: 2px 10px;
    border-radius: 4px;
    transition: 0.2s;
}

.petro-reply a:hover {
    background: #f9f9f9;
    color: #333;
}

/* استایل نظرات پاسخ داده شده (تودرتو) */
.petro-comment-list .children {
    list-style: none;
    margin-right: 20px; /* فاصله از راست */
    padding-right: 20px;
    border-right: 2px solid #f5f5f5;
    margin-top: 20px;
}

/* فرم نظرات */
.petro-form-wrapper {
    margin-top: 40px;
    background: #fafafa;
    padding: 25px;
    border-radius: 8px;
}

.form-title {
    font-size: 18px;
    margin-bottom: 20px;
}

.form-row {
    margin-bottom: 15px;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
}

.petro-btn {
    background: #333;
    color: #fff;
    border: none;
    padding: 10px 25px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
}

.petro-btn:hover {
    background: #000;
}
/*end comment*/
