.nhwp-novel-single {
    direction: rtl;
    text-align: right;
    padding: 45px 20px 75px;
    background: #f7f8fc;
}

.nhwp-novel-container {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.nhwp-novel-hero,
.nhwp-novel-description,
.nhwp-novel-parts-section {
    background: #fff;
    border: 1px solid #eaedf5;
    border-radius: 22px;
    box-shadow: 0 10px 35px rgba(33, 42, 74, 0.06);
}

.nhwp-novel-hero {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 30px;
    margin-bottom: 28px;
}

.nhwp-novel-cover {
    width: 220px;
    min-width: 220px;
    overflow: hidden;
    border-radius: 16px;
    background: #eceff7;
}

.nhwp-novel-cover img {
    display: block;
    width: 100%;
    height: 315px;
    object-fit: cover;
}

.nhwp-novel-no-cover {
    height: 315px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #7b8298;
}

.nhwp-novel-no-cover span {
    font-size: 42px;
}

.nhwp-novel-info {
    flex: 1;
    min-width: 0;
}

.nhwp-novel-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.nhwp-genre-badge,
.nhwp-novel-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border-radius: 50px;
    font-size: 12px;
    text-decoration: none;
}

.nhwp-genre-badge {
    color: #6d3ee8;
    background: #f0ebff;
}

.nhwp-novel-status-badge {
    color: #148154;
    background: #e8faf2;
}

.nhwp-novel-title {
    margin: 0 0 13px;
    color: #20263a;
    font-size: clamp(25px, 4vw, 38px);
    line-height: 1.45;
}

.nhwp-novel-author {
    margin-bottom: 17px;
    color: #737a8e;
}

.nhwp-novel-author a {
    color: #6d3ee8;
    font-weight: 700;
    text-decoration: none;
}

.nhwp-novel-excerpt,
.nhwp-novel-description-content {
    color: #535b70;
    line-height: 2.1;
}

.nhwp-novel-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.nhwp-novel-meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 13px;
    color: #656d82;
    background: #f7f8fc;
    border-radius: 11px;
    font-size: 13px;
}

.nhwp-novel-meta-item strong {
    color: #3f2c83;
}

.nhwp-meta-icon {
    font-size: 17px;
}

.nhwp-novel-description,
.nhwp-novel-parts-section {
    padding: 30px;
    margin-bottom: 28px;
}

.nhwp-section-heading {
    margin-bottom: 24px;
    padding-bottom: 17px;
    border-bottom: 1px solid #edf0f5;
}

.nhwp-section-heading span {
    color: #7250d6;
    font-size: 13px;
    font-weight: 700;
}

.nhwp-section-heading h2 {
    margin: 5px 0 0;
    color: #252b3c;
    font-size: 25px;
}

.nhwp-parts-navigation {
    padding: 13px 16px;
    margin-bottom: 20px;
    color: #687087;
    background: #f7f8fc;
    border-radius: 12px;
    font-size: 14px;
}

.nhwp-parts-navigation strong {
    color: #5a36c7;
}

.nhwp-parts-list {
    display: grid;
    gap: 24px;
}

.nhwp-public-part {
    scroll-margin-top: 30px;
    overflow: hidden;
    border: 1px solid #e8ebf2;
    border-radius: 17px;
    background: #fff;
}

.nhwp-public-part-header {
    padding: 21px 23px;
    border-bottom: 1px solid #edf0f5;
    background: linear-gradient(135deg, #fbfaff, #f5f2ff);
}

.nhwp-public-part-number {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 5px 10px;
    color: #fff;
    background: #6d3ee8;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.nhwp-public-part-title {
    margin: 0;
    color: #292e40;
    font-size: 23px;
    line-height: 1.6;
}

.nhwp-public-part-date {
    margin-top: 9px;
    color: #81889b;
    font-size: 12px;
}

.nhwp-public-part-content {
    padding: 28px 24px;
    color: #363d50;
    font-size: 16px;
    line-height: 2.35;
    overflow-wrap: break-word;
}

.nhwp-public-part-content p:first-child {
    margin-top: 0;
}

.nhwp-public-part-content p:last-child {
    margin-bottom: 0;
}

.nhwp-public-part-footer {
    padding: 14px 23px;
    border-top: 1px solid #edf0f5;
    background: #fcfcfe;
}

.nhwp-part-anchor {
    color: #6d3ee8;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.nhwp-public-empty-parts {
    padding: 55px 20px;
    color: #747c90;
    text-align: center;
    border: 1px dashed #d7dceb;
    border-radius: 16px;
    background: #fafbfe;
}

.nhwp-public-empty-icon {
    margin-bottom: 10px;
    font-size: 35px;
}

.nhwp-public-empty-parts h3 {
    margin: 0 0 8px;
    color: #343a4d;
}

.nhwp-public-empty-parts p {
    margin: 0;
}

@media (max-width: 700px) {
    .nhwp-novel-single {
        padding: 25px 12px 50px;
    }

    .nhwp-novel-hero,
    .nhwp-novel-description,
    .nhwp-novel-parts-section {
        padding: 20px;
        border-radius: 16px;
    }

    .nhwp-novel-hero {
        flex-direction: column;
        gap: 20px;
    }

    .nhwp-novel-cover {
        width: min(220px, 100%);
        min-width: 0;
        margin: 0 auto;
    }

    .nhwp-public-part-header,
    .nhwp-public-part-content,
    .nhwp-public-part-footer {
        padding-right: 17px;
        padding-left: 17px;
    }

    .nhwp-public-part-content {
        font-size: 15px;
        line-height: 2.2;
    }
}
/* =========================================
   نظرات مستقل پارت‌های رمان
========================================= */

.nhwp-part-comments {
    padding: 25px 23px;
    border-top: 1px solid #edf0f5;
    background: #fcfcfe;
}

.nhwp-part-comments-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.nhwp-part-comments-heading span {
    display: block;
    margin-bottom: 4px;
    color: #7250d6;
    font-size: 12px;
    font-weight: 700;
}

.nhwp-part-comments-heading h3 {
    margin: 0;
    color: #30364a;
    font-size: 18px;
}

.nhwp-part-comments-link {
    color: #7a59da;
    font-size: 12px;
    text-decoration: none;
}

.nhwp-comment-list {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 0 0 25px;
    list-style: none;
}

.nhwp-comment-list .children {
    display: grid;
    gap: 12px;
    padding: 14px 20px 0 0;
    margin: 14px 0 0;
    list-style: none;
    border-right: 2px solid #e8e1ff;
}

.nhwp-single-comment {
    margin: 0;
}

.nhwp-comment-body {
    padding: 17px;
    border: 1px solid #e9edf4;
    border-radius: 14px;
    background: #fff;
}

.nhwp-comment-header {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 13px;
}

.nhwp-comment-avatar img {
    display: block;
    border-radius: 50%;
}

.nhwp-comment-author-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.nhwp-comment-author {
    color: #363c4e;
    font-size: 14px;
}

.nhwp-comment-date {
    color: #9097a8;
    font-size: 11px;
}

.nhwp-comment-content {
    color: #535b6e;
    font-size: 14px;
    line-height: 2;
    overflow-wrap: break-word;
}

.nhwp-comment-content p:first-child {
    margin-top: 0;
}

.nhwp-comment-content p:last-child {
    margin-bottom: 0;
}

.nhwp-comment-awaiting {
    padding: 8px 10px;
    color: #9c6700;
    background: #fff8df;
    border-radius: 8px;
    font-size: 12px;
}

.nhwp-comment-reply {
    margin-top: 12px;
}

.nhwp-comment-reply a,
.comment-reply-title small a {
    color: #6d3ee8;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.nhwp-no-comments,
.nhwp-comments-closed {
    padding: 15px;
    margin-bottom: 20px;
    color: #747c8f;
    border: 1px dashed #d9deea;
    border-radius: 11px;
    background: #f8f9fc;
    font-size: 13px;
    line-height: 1.9;
}

.nhwp-part-comment-form {
    padding-top: 5px;
}

.nhwp-part-comment-form .comment-reply-title {
    margin: 0 0 10px;
    color: #343a4d;
    font-size: 17px;
}

.nhwp-comment-note,
.nhwp-part-comment-form .logged-in-as,
.nhwp-part-comment-form .must-log-in {
    margin: 0 0 15px;
    color: #858c9d;
    font-size: 12px;
    line-height: 1.9;
}

.nhwp-part-comment-form .must-log-in a,
.nhwp-part-comment-form .logged-in-as a {
    color: #6d3ee8;
    font-weight: 700;
    text-decoration: none;
}

.nhwp-part-comment-form p {
    margin: 0 0 14px;
}

.nhwp-part-comment-form label {
    display: block;
    margin-bottom: 7px;
    color: #4a5163;
    font-size: 13px;
    font-weight: 700;
}

.nhwp-part-comment-form input[type="text"],
.nhwp-part-comment-form input[type="email"],
.nhwp-part-comment-form input[type="url"],
.nhwp-part-comment-form textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 11px 13px;
    color: #303747;
    border: 1px solid #dfe4ee;
    border-radius: 10px;
    outline: none;
    background: #fff;
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nhwp-part-comment-form textarea {
    min-height: 135px;
    resize: vertical;
    line-height: 1.9;
}

.nhwp-part-comment-form input:focus,
.nhwp-part-comment-form textarea:focus {
    border-color: #8059ef;
    box-shadow: 0 0 0 3px rgba(109, 62, 232, 0.1);
}

.nhwp-comment-submit {
    cursor: pointer;
    padding: 11px 18px;
    color: #fff;
    border: 0;
    border-radius: 10px;
    background: #6d3ee8;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
}

.nhwp-comment-submit:hover {
    background: #5730c8;
    transform: translateY(-1px);
}

@media (max-width: 700px) {
    .nhwp-part-comments {
        padding: 20px 17px;
    }

    .nhwp-part-comments-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .nhwp-comment-list .children {
        padding-right: 11px;
    }
}
/* صفحه فهرست پارت‌ها */

.nhwp-public-part-preview .nhwp-public-part-title a {
    color: inherit;
    text-decoration: none;
}

.nhwp-public-part-preview .nhwp-public-part-title a:hover {
    color: #6d3ee8;
}

.nhwp-public-part-preview-content {
    padding: 22px 24px;
    color: #656d80;
    line-height: 2.1;
    font-size: 14px;
}

.nhwp-part-preview-footer,
.nhwp-part-reading-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.nhwp-read-part-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    color: #fff;
    border-radius: 9px;
    background: #6d3ee8;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease;
}

.nhwp-read-part-btn:hover {
    color: #fff;
    background: #5730c8;
}

.nhwp-part-comments-count {
    color: #747c8f;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.nhwp-part-comments-count:hover {
    color: #6d3ee8;
}

/* مسیر بازگشت در صفحه مطالعه پارت */

.nhwp-part-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: #7a8295;
    font-size: 13px;
}

.nhwp-part-breadcrumb a {
    color: #6d3ee8;
    font-weight: 700;
    text-decoration: none;
}

.nhwp-single-reading-part {
    margin-bottom: 20px;
}

.nhwp-part-pagination {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.nhwp-part-pagination-item {
    width: 50%;
}

.nhwp-part-pagination-item a {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-height: 72px;
    padding: 15px 18px;
    color: #4a5163;
    border: 1px solid #e4e8f1;
    border-radius: 13px;
    background: #fff;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.nhwp-part-pagination-item a:hover {
    border-color: #a78df3;
    transform: translateY(-2px);
}

.nhwp-part-pagination-item span {
    color: #81899b;
    font-size: 12px;
}

.nhwp-part-pagination-item strong {
    color: #5c37c9;
    font-size: 14px;
}

.nhwp-part-pagination-next {
    text-align: left;
}

.nhwp-part-pagination-prev {
    text-align: right;
}

@media (max-width: 700px) {
    .nhwp-public-part-preview-content {
        padding: 18px 17px;
    }

    .nhwp-part-preview-footer,
    .nhwp-part-reading-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .nhwp-part-pagination {
        flex-direction: column;
    }

    .nhwp-part-pagination-item {
        width: 100%;
    }

    .nhwp-part-pagination-next,
    .nhwp-part-pagination-prev {
        text-align: right;
    }
}
/* =========================================
   آرشیو عمومی همه رمان‌ها
========================================= */

.nhwp-public-novels-archive {
    direction: rtl;
    width: min(1180px, 100%);
    margin: 35px auto 70px;
    padding: 0 18px;
    text-align: right;
}

.nhwp-public-novels-heading {
    margin-bottom: 27px;
    text-align: center;
}

.nhwp-public-section-kicker {
    display: inline-block;
    margin-bottom: 7px;
    color: #7250d6;
    font-size: 13px;
    font-weight: 800;
}

.nhwp-public-novels-heading h1 {
    margin: 0 0 10px;
    color: #252b3c;
    font-size: clamp(28px, 4vw, 40px);
}

.nhwp-public-novels-heading p {
    max-width: 580px;
    margin: 0 auto;
    color: #737b8e;
    font-size: 15px;
    line-height: 2;
}

.nhwp-public-novel-filters {
    padding: 18px;
    margin-bottom: 20px;
    border: 1px solid #e8ebf2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(31, 41, 75, 0.05);
}

.nhwp-public-search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.nhwp-public-search-box input {
    flex: 1;
    min-width: 0;
    height: 45px;
    padding: 0 14px;
    color: #343b4d;
    border: 1px solid #dde2ec;
    border-radius: 10px;
    outline: none;
    background: #fff;
    font: inherit;
}

.nhwp-public-search-box input:focus {
    border-color: #8059ef;
    box-shadow: 0 0 0 3px rgba(109, 62, 232, 0.1);
}

.nhwp-public-search-box button {
    cursor: pointer;
    padding: 0 18px;
    color: #fff;
    border: 0;
    border-radius: 10px;
    background: #6d3ee8;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
}

.nhwp-public-genre-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nhwp-public-genre-filter a {
    padding: 7px 12px;
    color: #6d7486;
    border: 1px solid #e1e5ee;
    border-radius: 50px;
    background: #fbfcff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s ease;
}

.nhwp-public-genre-filter a:hover,
.nhwp-public-genre-filter a.is-active {
    color: #fff;
    border-color: #6d3ee8;
    background: #6d3ee8;
}

.nhwp-public-novels-result-info {
    margin-bottom: 18px;
    color: #737b8e;
    font-size: 14px;
}

.nhwp-public-novels-result-info strong {
    color: #5935c4;
}

.nhwp-public-novels-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.nhwp-public-novel-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    border: 1px solid #e8ebf2;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(31, 41, 75, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nhwp-public-novel-card:hover {
    box-shadow: 0 14px 32px rgba(31, 41, 75, 0.1);
    transform: translateY(-4px);
}

.nhwp-public-novel-cover {
    display: block;
    height: 315px;
    overflow: hidden;
    background: #eff1f7;
}

.nhwp-public-novel-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.nhwp-public-novel-card:hover .nhwp-public-novel-cover img {
    transform: scale(1.04);
}

.nhwp-public-novel-no-cover {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 8px;
    color: #858da0;
    font-size: 13px;
}

.nhwp-public-novel-no-cover span {
    font-size: 40px;
}

.nhwp-public-novel-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.nhwp-public-novel-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 11px;
}

.nhwp-public-genre-tag {
    padding: 4px 8px;
    color: #6541c9;
    border-radius: 50px;
    background: #f0ebff;
    font-size: 11px;
    font-weight: 700;
}

.nhwp-public-novel-title {
    margin: 0 0 8px;
    color: #2f3547;
    font-size: 20px;
    line-height: 1.6;
}

.nhwp-public-novel-title a {
    color: inherit;
    text-decoration: none;
}

.nhwp-public-novel-title a:hover {
    color: #6d3ee8;
}

.nhwp-public-novel-author {
    margin-bottom: 12px;
    color: #858d9d;
    font-size: 12px;
}

.nhwp-public-novel-author a {
    color: #7049d9;
    font-weight: 700;
    text-decoration: none;
}

.nhwp-public-novel-description {
    flex: 1;
    margin: 0 0 17px;
    color: #6a7284;
    font-size: 13px;
    line-height: 2;
}

.nhwp-public-novel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid #edf0f5;
}

.nhwp-public-novel-parts {
    color: #737b8e;
    font-size: 11px;
    font-weight: 700;
}

.nhwp-public-novel-read-btn {
    padding: 8px 12px;
    color: #fff;
    border-radius: 8px;
    background: #6d3ee8;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.nhwp-public-novel-read-btn:hover {
    color: #fff;
    background: #5530c6;
}

.nhwp-public-novels-empty {
    padding: 55px 20px;
    color: #747c90;
    text-align: center;
    border: 1px dashed #d8ddea;
    border-radius: 17px;
    background: #fafbfe;
}

.nhwp-public-novels-empty > div {
    margin-bottom: 10px;
    font-size: 38px;
}

.nhwp-public-novels-empty h2 {
    margin: 0 0 8px;
    color: #343a4d;
    font-size: 21px;
}

.nhwp-public-novels-empty p {
    margin: 0 0 18px;
}

.nhwp-public-novels-empty a {
    color: #6d3ee8;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.nhwp-public-pagination {
    margin-top: 32px;
}

.nhwp-public-pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.nhwp-public-pagination .page-numbers li {
    margin: 0;
}

.nhwp-public-pagination .page-numbers a,
.nhwp-public-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    color: #666e81;
    border: 1px solid #e0e5ee;
    border-radius: 9px;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.nhwp-public-pagination .page-numbers .current,
.nhwp-public-pagination .page-numbers a:hover {
    color: #fff;
    border-color: #6d3ee8;
    background: #6d3ee8;
}

@media (max-width: 950px) {
    .nhwp-public-novels-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .nhwp-public-novels-archive {
        margin-top: 25px;
        padding: 0 12px;
    }

    .nhwp-public-novel-filters {
        padding: 14px;
    }

    .nhwp-public-search-box {
        flex-direction: column;
    }

    .nhwp-public-search-box button {
        height: 43px;
    }

    .nhwp-public-novels-grid {
        grid-template-columns: 1fr;
    }

    .nhwp-public-novel-cover {
        height: 350px;
    }
}
/* =========================================
   پنل نویسنده: نظرات رمان‌های من
========================================= */

.nhwp-my-comments-page {
    direction: rtl;
    width: 100%;
    text-align: right;
}

.nhwp-panel-page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid #edf0f5;
}

.nhwp-panel-page-kicker {
    display: block;
    margin-bottom: 7px;
    color: #7250d6;
    font-size: 12px;
    font-weight: 800;
}

.nhwp-panel-page-heading h1 {
    margin: 0 0 8px;
    color: #2e3446;
    font-size: 25px;
}

.nhwp-panel-page-heading p {
    max-width: 650px;
    margin: 0;
    color: #788094;
    font-size: 13px;
    line-height: 2;
}

.nhwp-comments-total-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 90px;
    min-height: 78px;
    padding: 10px 15px;
    border: 1px solid #e5ddff;
    border-radius: 14px;
    background: #f7f4ff;
}

.nhwp-comments-total-box strong {
    color: #623bd0;
    font-size: 23px;
    line-height: 1.2;
}

.nhwp-comments-total-box span {
    margin-top: 4px;
    color: #7d6ab3;
    font-size: 11px;
    font-weight: 700;
}

.nhwp-panel-notice {
    padding: 13px 15px;
    margin: 0 0 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
}

.nhwp-panel-notice-success {
    color: #187343;
    border: 1px solid #b9e8cd;
    background: #effcf4;
}

.nhwp-panel-notice-error {
    color: #a52e2e;
    border: 1px solid #f0c3c3;
    background: #fff4f4;
}

.nhwp-my-comments-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nhwp-writer-comment-card {
    overflow: hidden;
    border: 1px solid #e7ebf2;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(31, 41, 75, 0.045);
}

.nhwp-writer-comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 17px;
    border-bottom: 1px solid #edf0f5;
    background: #fcfcff;
}

.nhwp-writer-comment-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nhwp-writer-comment-avatar {
    border-radius: 50%;
}

.nhwp-writer-comment-user strong {
    display: block;
    margin-bottom: 3px;
    color: #363d50;
    font-size: 13px;
}

.nhwp-writer-comment-user span {
    display: block;
    color: #9097a8;
    font-size: 11px;
}

.nhwp-comment-status {
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 800;
}

.nhwp-comment-status.is-approved {
    color: #16824a;
    background: #e8f9ef;
}

.nhwp-comment-status.is-pending {
    color: #9b6a09;
    background: #fff5da;
}

.nhwp-comment-status.is-spam,
.nhwp-comment-status.is-trash {
    color: #ac3333;
    background: #fff0f0;
}

.nhwp-writer-comment-story-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    padding: 11px 17px;
    color: #777f91;
    border-bottom: 1px solid #f0f2f6;
    background: #fafbfe;
    font-size: 11px;
}

.nhwp-writer-comment-story-info strong {
    color: #6040c1;
}

.nhwp-comment-info-divider {
    color: #b0b6c3;
}

.nhwp-writer-comment-story-info a {
    margin-right: auto;
    color: #6742d2;
    font-weight: 700;
    text-decoration: none;
}

.nhwp-writer-comment-story-info a:hover {
    color: #4724ae;
}

.nhwp-writer-comment-content {
    padding: 17px;
    color: #4c5465;
    font-size: 14px;
    line-height: 2.1;
}

.nhwp-writer-comment-content p {
    margin: 0 0 10px;
}

.nhwp-writer-comment-content p:last-child {
    margin-bottom: 0;
}

.nhwp-writer-reply-box {
    margin: 0 17px 17px;
    border: 1px solid #e5e1f5;
    border-radius: 10px;
    background: #fbfaff;
}

.nhwp-writer-reply-box summary {
    cursor: pointer;
    padding: 12px 14px;
    color: #6240c8;
    font-size: 12px;
    font-weight: 800;
    user-select: none;
}

.nhwp-writer-reply-form {
    padding: 0 14px 14px;
}

.nhwp-writer-reply-form label {
    display: block;
    margin-bottom: 7px;
    color: #687084;
    font-size: 12px;
    font-weight: 700;
}

.nhwp-writer-reply-form textarea {
    display: block;
    width: 100%;
    min-height: 105px;
    padding: 11px;
    resize: vertical;
    color: #3e4658;
    border: 1px solid #dfe2ec;
    border-radius: 9px;
    outline: none;
    background: #fff;
    font: inherit;
    font-size: 13px;
    line-height: 1.9;
}

.nhwp-writer-reply-form textarea:focus {
    border-color: #8059ef;
    box-shadow: 0 0 0 3px rgba(109, 62, 232, 0.1);
}

.nhwp-writer-reply-form button {
    cursor: pointer;
    margin-top: 10px;
    padding: 9px 15px;
    color: #fff;
    border: 0;
    border-radius: 8px;
    background: #6d3ee8;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
}

.nhwp-writer-reply-form button:hover {
    background: #5530c6;
}

.nhwp-writer-comments-pagination {
    margin-top: 28px;
}

.nhwp-writer-comments-pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.nhwp-writer-comments-pagination .page-numbers li {
    margin: 0;
}

.nhwp-writer-comments-pagination .page-numbers a,
.nhwp-writer-comments-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 37px;
    height: 37px;
    padding: 0 9px;
    color: #687084;
    border: 1px solid #e0e4ec;
    border-radius: 8px;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.nhwp-writer-comments-pagination .page-numbers .current,
.nhwp-writer-comments-pagination .page-numbers a:hover {
    color: #fff;
    border-color: #6d3ee8;
    background: #6d3ee8;
}

.nhwp-panel-empty-state {
    padding: 55px 20px;
    color: #747c90;
    text-align: center;
    border: 1px dashed #d8ddea;
    border-radius: 16px;
    background: #fafbfe;
}

.nhwp-panel-empty-icon {
    margin-bottom: 10px;
    font-size: 37px;
}

.nhwp-panel-empty-state h2 {
    margin: 0 0 8px;
    color: #373e50;
    font-size: 20px;
}

.nhwp-panel-empty-state p {
    max-width: 500px;
    margin: 0 auto;
    font-size: 13px;
    line-height: 2;
}

@media (max-width: 650px) {
    .nhwp-panel-page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .nhwp-comments-total-box {
        flex-direction: row;
        gap: 6px;
        min-width: auto;
        min-height: auto;
        padding: 9px 12px;
    }

    .nhwp-comments-total-box span {
        margin: 0;
    }

    .nhwp-writer-comment-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .nhwp-writer-comment-story-info a {
        width: 100%;
        margin-right: 0;
        margin-top: 4px;
    }
}
/* =========================================
   پنل نویسنده: پروفایل نویسنده
========================================= */

.nhwp-profile-page {
    direction: rtl;
    width: 100%;
    text-align: right;
}

.nhwp-profile-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.nhwp-profile-summary {
    padding: 25px 18px;
    text-align: center;
    border: 1px solid #e5e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(31, 41, 75, 0.05);
}

.nhwp-profile-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    overflow: hidden;
    border: 4px solid #eee8ff;
    border-radius: 50%;
    background: #f6f3ff;
}

.nhwp-profile-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.nhwp-profile-summary h2 {
    margin: 0 0 8px;
    color: #33394b;
    font-size: 18px;
}

.nhwp-profile-role {
    display: inline-block;
    padding: 5px 10px;
    color: #6843ce;
    border-radius: 50px;
    background: #f0ebff;
    font-size: 11px;
    font-weight: 800;
}

.nhwp-profile-summary p {
    margin: 21px 0 9px;
    color: #858d9d;
    font-size: 11px;
    line-height: 2;
}

.nhwp-profile-summary p strong {
    color: #656d80;
}

.nhwp-profile-summary > a {
    color: #6945d1;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.nhwp-profile-summary > a:hover {
    color: #4823b1;
}

.nhwp-profile-form-card {
    padding: 24px;
    border: 1px solid #e5e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(31, 41, 75, 0.05);
}

.nhwp-profile-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.nhwp-profile-field {
    min-width: 0;
}

.nhwp-profile-field-full {
    grid-column: 1 / -1;
}

.nhwp-profile-field label {
    display: block;
    margin-bottom: 8px;
    color: #555d70;
    font-size: 12px;
    font-weight: 800;
}

.nhwp-profile-field label span {
    color: #d44242;
}

.nhwp-profile-field input,
.nhwp-profile-field textarea {
    box-sizing: border-box;
    display: block;
    width: 100%;
    padding: 11px 12px;
    color: #3e4658;
    border: 1px solid #dfe3ec;
    border-radius: 9px;
    outline: none;
    background: #fff;
    font: inherit;
    font-size: 13px;
    transition: 0.2s ease;
}

.nhwp-profile-field input {
    height: 44px;
}

.nhwp-profile-field textarea {
    min-height: 135px;
    resize: vertical;
    line-height: 2;
}

.nhwp-profile-field input:focus,
.nhwp-profile-field textarea:focus {
    border-color: #8059ef;
    box-shadow: 0 0 0 3px rgba(109, 62, 232, 0.1);
}

.nhwp-profile-field input:disabled {
    cursor: not-allowed;
    color: #8d94a4;
    background: #f5f6f9;
}

.nhwp-profile-field small {
    display: block;
    margin-top: 6px;
    color: #9aa1b0;
    font-size: 10px;
    line-height: 1.8;
}

.nhwp-profile-section-title {
    padding-top: 24px;
    margin-top: 25px;
    margin-bottom: 17px;
    border-top: 1px solid #edf0f5;
}

.nhwp-profile-section-title h3 {
    margin: 0 0 5px;
    color: #3d4557;
    font-size: 16px;
}

.nhwp-profile-section-title p {
    margin: 0;
    color: #8a91a2;
    font-size: 11px;
}

.nhwp-profile-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 23px;
    margin-top: 25px;
    border-top: 1px solid #edf0f5;
}

.nhwp-profile-form-actions .nhwp-main-btn {
    cursor: pointer;
    border: 0;
    font: inherit;
}

@media (max-width: 850px) {
    .nhwp-profile-layout {
        grid-template-columns: 1fr;
    }

    .nhwp-profile-summary {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 16px;
        align-items: center;
        text-align: right;
    }

    .nhwp-profile-avatar {
        grid-row: span 3;
        width: 80px;
        height: 80px;
        margin: 0;
    }

    .nhwp-profile-summary h2 {
        margin-bottom: 5px;
    }

    .nhwp-profile-summary p {
        margin: 12px 0 3px;
    }
}

@media (max-width: 580px) {
    .nhwp-profile-form-card {
        padding: 17px;
    }

    .nhwp-profile-form-grid {
        grid-template-columns: 1fr;
    }

    .nhwp-profile-field-full {
        grid-column: auto;
    }

    .nhwp-profile-form-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .nhwp-profile-form-actions .nhwp-main-btn,
    .nhwp-profile-form-actions .nhwp-outline-btn {
        width: 100%;
        text-align: center;
    }

    .nhwp-profile-summary {
        display: block;
        text-align: center;
    }

    .nhwp-profile-avatar {
        width: 105px;
        height: 105px;
        margin: 0 auto 13px;
    }
}
/* =========================================
   پنل نویسنده: پروفایل نویسنده
========================================= */

.nhwp-profile-page {
    direction: rtl;
    width: 100%;
    text-align: right;
}

.nhwp-profile-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.nhwp-profile-summary {
    padding: 25px 18px;
    text-align: center;
    border: 1px solid #e5e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(31, 41, 75, 0.05);
}

.nhwp-profile-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    overflow: hidden;
    border: 4px solid #eee8ff;
    border-radius: 50%;
    background: #f6f3ff;
}

.nhwp-profile-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.nhwp-profile-summary h2 {
    margin: 0 0 8px;
    color: #33394b;
    font-size: 18px;
}

.nhwp-profile-role {
    display: inline-block;
    padding: 5px 10px;
    color: #6843ce;
    border-radius: 50px;
    background: #f0ebff;
    font-size: 11px;
    font-weight: 800;
}

.nhwp-profile-summary p {
    margin: 21px 0 9px;
    color: #858d9d;
    font-size: 11px;
    line-height: 2;
}

.nhwp-profile-summary p strong {
    color: #656d80;
}

.nhwp-profile-summary > a {
    color: #6945d1;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.nhwp-profile-summary > a:hover {
    color: #4823b1;
}

.nhwp-profile-form-card {
    padding: 24px;
    border: 1px solid #e5e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(31, 41, 75, 0.05);
}

.nhwp-profile-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.nhwp-profile-field {
    min-width: 0;
}

.nhwp-profile-field-full {
    grid-column: 1 / -1;
}

.nhwp-profile-field label {
    display: block;
    margin-bottom: 8px;
    color: #555d70;
    font-size: 12px;
    font-weight: 800;
}

.nhwp-profile-field label span {
    color: #d44242;
}

.nhwp-profile-field input,
.nhwp-profile-field textarea {
    box-sizing: border-box;
    display: block;
    width: 100%;
    padding: 11px 12px;
    color: #3e4658;
    border: 1px solid #dfe3ec;
    border-radius: 9px;
    outline: none;
    background: #fff;
    font: inherit;
    font-size: 13px;
    transition: 0.2s ease;
}

.nhwp-profile-field input {
    height: 44px;
}

.nhwp-profile-field textarea {
    min-height: 135px;
    resize: vertical;
    line-height: 2;
}

.nhwp-profile-field input:focus,
.nhwp-profile-field textarea:focus {
    border-color: #8059ef;
    box-shadow: 0 0 0 3px rgba(109, 62, 232, 0.1);
}

.nhwp-profile-field input:disabled {
    cursor: not-allowed;
    color: #8d94a4;
    background: #f5f6f9;
}

.nhwp-profile-field small {
    display: block;
    margin-top: 6px;
    color: #9aa1b0;
    font-size: 10px;
    line-height: 1.8;
}

.nhwp-profile-section-title {
    padding-top: 24px;
    margin-top: 25px;
    margin-bottom: 17px;
    border-top: 1px solid #edf0f5;
}

.nhwp-profile-section-title h3 {
    margin: 0 0 5px;
    color: #3d4557;
    font-size: 16px;
}

.nhwp-profile-section-title p {
    margin: 0;
    color: #8a91a2;
    font-size: 11px;
}

.nhwp-profile-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 23px;
    margin-top: 25px;
    border-top: 1px solid #edf0f5;
}

.nhwp-profile-form-actions .nhwp-main-btn {
    cursor: pointer;
    border: 0;
    font: inherit;
}

@media (max-width: 850px) {
    .nhwp-profile-layout {
        grid-template-columns: 1fr;
    }

    .nhwp-profile-summary {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 16px;
        align-items: center;
        text-align: right;
    }

    .nhwp-profile-avatar {
        grid-row: span 3;
        width: 80px;
        height: 80px;
        margin: 0;
    }

    .nhwp-profile-summary h2 {
        margin-bottom: 5px;
    }

    .nhwp-profile-summary p {
        margin: 12px 0 3px;
    }
}

@media (max-width: 580px) {
    .nhwp-profile-form-card {
        padding: 17px;
    }

    .nhwp-profile-form-grid {
        grid-template-columns: 1fr;
    }

    .nhwp-profile-field-full {
        grid-column: auto;
    }

    .nhwp-profile-form-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .nhwp-profile-form-actions .nhwp-main-btn,
    .nhwp-profile-form-actions .nhwp-outline-btn {
        width: 100%;
        text-align: center;
    }

    .nhwp-profile-summary {
        display: block;
        text-align: center;
    }

    .nhwp-profile-avatar {
        width: 105px;
        height: 105px;
        margin: 0 auto 13px;
    }
}
/* =========================================
   صفحه عمومی رمان: درباره نویسنده
========================================= */

.nhwp-public-author-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    direction: rtl;
    max-width: 950px;
    padding: 24px;
    margin: 34px auto 45px;
    text-align: right;
    border: 1px solid #e6e2f4;
    border-radius: 18px;
    background:
        radial-gradient(
            circle at top left,
            rgba(129, 88, 235, 0.11),
            transparent 38%
        ),
        #fff;
    box-shadow: 0 10px 30px rgba(42, 32, 79, 0.06);
}

.nhwp-public-author-avatar {
    flex: 0 0 auto;
    width: 110px;
    height: 110px;
    overflow: hidden;
    border: 4px solid #eee7ff;
    border-radius: 50%;
    background: #f7f4ff;
}

.nhwp-public-author-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.nhwp-public-author-content {
    flex: 1;
    min-width: 0;
}

.nhwp-public-author-kicker {
    display: inline-block;
    margin-bottom: 5px;
    color: #7651d9;
    font-size: 12px;
    font-weight: 800;
}

.nhwp-public-author-content h2 {
    margin: 0 0 9px;
    color: #303648;
    font-size: 21px;
    line-height: 1.6;
}

.nhwp-public-author-description,
.nhwp-public-author-no-description {
    margin: 0;
    color: #6d7587;
    font-size: 13px;
    line-height: 2.05;
}

.nhwp-public-author-description p {
    margin: 0 0 8px;
}

.nhwp-public-author-description p:last-child {
    margin-bottom: 0;
}

.nhwp-public-author-no-description {
    color: #939aaa;
}

.nhwp-public-author-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-top: 17px;
}

.nhwp-author-social-link,
.nhwp-author-all-novels-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 35px;
    padding: 0 11px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.2s ease;
}

.nhwp-author-social-link {
    color: #6542c5;
    border: 1px solid #e0d8f7;
    background: #faf8ff;
}

.nhwp-author-social-link:hover {
    color: #4a269f;
    border-color: #bcaaf0;
    background: #f1ecff;
}

.nhwp-author-social-link span {
    font-size: 15px;
    line-height: 1;
}

.nhwp-author-instagram {
    color: #bc3566;
    border-color: #f2d2df;
    background: #fff8fb;
}

.nhwp-author-instagram:hover {
    color: #9e194f;
    border-color: #eaa9c1;
    background: #fff0f6;
}

.nhwp-author-telegram {
    color: #168cba;
    border-color: #c9e5f1;
    background: #f4fbff;
}

.nhwp-author-telegram:hover {
    color: #076c96;
    border-color: #a6d5e8;
    background: #eaf8ff;
}

.nhwp-author-all-novels-link {
    margin-right: auto;
    color: #fff;
    background: #6d3ee8;
}

.nhwp-author-all-novels-link:hover {
    color: #fff;
    background: #542ec0;
}

.nhwp-author-all-novels-link span {
    font-size: 16px;
    line-height: 1;
}

@media (max-width: 640px) {
    .nhwp-public-author-box {
        align-items: center;
        flex-direction: column;
        padding: 20px 16px;
        margin-top: 26px;
        text-align: center;
    }

    .nhwp-public-author-avatar {
        width: 96px;
        height: 96px;
    }

    .nhwp-public-author-links {
        justify-content: center;
    }

    .nhwp-author-all-novels-link {
        margin-right: 0;
    }
}
/* ================================
   صفحه عمومی پروفایل نویسنده
================================ */

.nhwp-public-writer-page {
    direction: rtl;
    padding: 45px 20px 70px;
}

.nhwp-public-writer-container {
    max-width: 1180px;
    margin: 0 auto;
}

.nhwp-public-writer-hero {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 32px;
    margin-bottom: 42px;
    background: linear-gradient(135deg, #241735, #120d1d);
    border: 1px solid rgba(232, 190, 255, 0.18);
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.nhwp-public-writer-avatar {
    flex: 0 0 150px;
}

.nhwp-public-writer-avatar img {
    display: block;
    width: 150px;
    height: 150px;
    border: 4px solid #d6a0ff;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(190, 105, 255, 0.35);
}

.nhwp-public-writer-info {
    flex: 1;
}

.nhwp-public-writer-kicker {
    display: block;
    margin-bottom: 8px;
    color: #d6a0ff;
    font-size: 13px;
    font-weight: 700;
}

.nhwp-public-writer-info h1 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 30px;
}

.nhwp-public-writer-bio,
.nhwp-public-writer-empty-bio {
    max-width: 760px;
    margin: 0;
    color: #dfd7e6;
    line-height: 2;
}

.nhwp-public-writer-bio p {
    margin: 0 0 10px;
}

.nhwp-public-writer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.nhwp-writer-social {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border-radius: 9px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s ease;
}

.nhwp-writer-social:hover {
    color: #fff;
    transform: translateY(-2px);
}

.nhwp-writer-instagram {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.nhwp-writer-telegram {
    background: #229ed9;
}

.nhwp-public-writer-novels-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 25px;
}

.nhwp-public-writer-novel-card {
    overflow: hidden;
    background: #1c1427;
    border: 1px solid rgba(232, 190, 255, 0.13);
    border-radius: 16px;
    transition: 0.25s ease;
}

.nhwp-public-writer-novel-card:hover {
    border-color: rgba(214, 160, 255, 0.6);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    transform: translateY(-5px);
}

.nhwp-public-writer-novel-cover {
    display: block;
    height: 285px;
    overflow: hidden;
    background: #130d1b;
}

.nhwp-public-writer-novel-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.nhwp-public-writer-novel-card:hover .nhwp-public-writer-novel-cover img {
    transform: scale(1.06);
}

.nhwp-public-writer-no-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #d6a0ff;
    font-size: 55px;
}

.nhwp-public-writer-novel-content {
    padding: 18px;
}

.nhwp-public-writer-novel-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.nhwp-public-writer-novel-genres span {
    padding: 4px 8px;
    border-radius: 5px;
    background: rgba(214, 160, 255, 0.14);
    color: #e2bdff;
    font-size: 11px;
}

.nhwp-public-writer-novel-content h3 {
    margin: 0 0 10px;
    font-size: 19px;
    line-height: 1.6;
}

.nhwp-public-writer-novel-content h3 a {
    color: #fff;
    text-decoration: none;
}

.nhwp-public-writer-novel-content p {
    min-height: 52px;
    margin: 0;
    color: #bdb3c5;
    font-size: 13px;
    line-height: 2;
}

.nhwp-public-writer-novel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #baafc4;
    font-size: 12px;
}

.nhwp-public-writer-novel-footer a {
    color: #dcaaff;
    font-weight: 700;
    text-decoration: none;
}

.nhwp-public-writer-empty {
    padding: 55px 20px;
    border: 1px dashed rgba(214, 160, 255, 0.4);
    border-radius: 16px;
    color: #c8bdcf;
    text-align: center;
}

.nhwp-public-writer-empty div {
    margin-bottom: 10px;
    font-size: 42px;
}

.nhwp-public-writer-empty h3 {
    margin: 0 0 10px;
    color: #fff;
}

.nhwp-public-writer-empty p {
    margin: 0;
}

.nhwp-public-writer-pagination {
    margin-top: 35px;
}

.nhwp-public-writer-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.nhwp-public-writer-pagination a,
.nhwp-public-writer-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 37px;
    min-height: 37px;
    padding: 0 10px;
    border-radius: 8px;
    background: #21182d;
    color: #d8cbdf;
    text-decoration: none;
}

.nhwp-public-writer-pagination .current {
    background: #b76be3;
    color: #fff;
}

@media (max-width: 900px) {
    .nhwp-public-writer-novels-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .nhwp-public-writer-page {
        padding: 25px 14px 50px;
    }

    .nhwp-public-writer-hero {
        display: block;
        padding: 24px 18px;
        text-align: center;
    }

    .nhwp-public-writer-avatar {
        margin-bottom: 18px;
    }

    .nhwp-public-writer-avatar img {
        margin: 0 auto;
        width: 120px;
        height: 120px;
    }

    .nhwp-public-writer-info h1 {
        font-size: 25px;
    }

    .nhwp-public-writer-socials {
        justify-content: center;
    }

    .nhwp-public-writer-novels-grid {
        grid-template-columns: 1fr;
    }

    .nhwp-public-writer-novel-cover {
        height: 330px;
    }
}
/* =========================================
   صفحه فهرست و پروفایل عمومی نویسندگان
========================================= */

.nhwp-writers-archive,
.nhwp-writers-profile {
    direction: rtl;
    max-width: 1180px;
    margin: 0 auto;
    padding: 40px 20px 70px;
}

.nhwp-writers-heading {
    margin-bottom: 28px;
    text-align: right;
}

.nhwp-writers-heading > span {
    display: block;
    margin-bottom: 7px;
    color: #d6a0ff;
    font-size: 13px;
    font-weight: 700;
}

.nhwp-writers-heading h1,
.nhwp-writers-heading h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 29px;
    line-height: 1.6;
}

.nhwp-writers-heading p {
    margin: 0;
    color: #c8bdcf;
    line-height: 2;
}

.nhwp-writers-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.nhwp-writers-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    overflow: hidden;
    background: #1c1427;
    border: 1px solid rgba(232, 190, 255, 0.14);
    border-radius: 16px;
    transition: 0.25s ease;
}

.nhwp-writers-card:hover {
    border-color: rgba(214, 160, 255, 0.62);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
    transform: translateY(-4px);
}

.nhwp-writers-card-avatar {
    flex: 0 0 82px;
}

.nhwp-writers-card-avatar img {
    display: block;
    width: 82px;
    height: 82px;
    border: 3px solid #d6a0ff;
    border-radius: 50%;
    object-fit: cover;
}

.nhwp-writers-card-content {
    min-width: 0;
    flex: 1;
}

.nhwp-writers-card-label,
.nhwp-writers-profile-label {
    display: block;
    margin-bottom: 5px;
    color: #d6a0ff;
    font-size: 11px;
    font-weight: 700;
}

.nhwp-writers-card h2 {
    margin: 0 0 8px;
    font-size: 19px;
    line-height: 1.5;
}

.nhwp-writers-card h2 a {
    color: #fff;
    text-decoration: none;
}

.nhwp-writers-card p {
    min-height: 46px;
    margin: 0;
    color: #c5bacd;
    font-size: 12px;
    line-height: 1.9;
}

.nhwp-writers-card-footer,
.nhwp-writer-novel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 13px;
    margin-top: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #c0b5c9;
    font-size: 11px;
}

.nhwp-writers-card-footer a,
.nhwp-writer-novel-footer a {
    color: #dcaaff;
    font-weight: 700;
    text-decoration: none;
}

.nhwp-writers-empty {
    padding: 55px 20px;
    background: #1c1427;
    border: 1px dashed rgba(214, 160, 255, 0.42);
    border-radius: 16px;
    color: #c8bdcf;
    text-align: center;
}

.nhwp-writers-empty > div {
    margin-bottom: 10px;
    font-size: 40px;
}

.nhwp-writers-empty h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 21px;
}

.nhwp-writers-empty p {
    margin: 0;
    line-height: 2;
}

/* پروفایل یک نویسنده */

.nhwp-writers-back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 20px;
    color: #dcaaff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.nhwp-writers-back-link:hover {
    color: #fff;
}

.nhwp-writers-profile-hero {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 32px;
    margin-bottom: 42px;
    background: linear-gradient(135deg, #241735, #120d1d);
    border: 1px solid rgba(232, 190, 255, 0.18);
    border-radius: 20px;
}

.nhwp-writers-profile-avatar {
    flex: 0 0 150px;
}

.nhwp-writers-profile-avatar img {
    display: block;
    width: 150px;
    height: 150px;
    border: 4px solid #d6a0ff;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(190, 105, 255, 0.35);
}

.nhwp-writers-profile-info {
    flex: 1;
}

.nhwp-writers-profile-info h1 {
    margin: 0 0 13px;
    color: #fff;
    font-size: 31px;
}

.nhwp-writers-profile-bio,
.nhwp-writers-profile-empty-bio {
    max-width: 760px;
    margin: 0;
    color: #ddd3e4;
    line-height: 2;
}

.nhwp-writers-profile-bio p {
    margin: 0 0 10px;
}

.nhwp-writers-profile-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.nhwp-writers-social {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border-radius: 9px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s ease;
}

.nhwp-writers-social:hover {
    color: #fff;
    transform: translateY(-2px);
}

.nhwp-writers-instagram {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.nhwp-writers-telegram {
    background: #229ed9;
}

.nhwp-writers-profile-heading {
    margin-bottom: 22px;
}

.nhwp-writer-novels-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.nhwp-writer-novel-card {
    overflow: hidden;
    background: #1c1427;
    border: 1px solid rgba(232, 190, 255, 0.13);
    border-radius: 16px;
    transition: 0.25s ease;
}

.nhwp-writer-novel-card:hover {
    border-color: rgba(214, 160, 255, 0.6);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    transform: translateY(-5px);
}

.nhwp-writer-novel-cover {
    display: block;
    height: 285px;
    overflow: hidden;
    background: #130d1b;
}

.nhwp-writer-novel-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.nhwp-writer-novel-card:hover .nhwp-writer-novel-cover img {
    transform: scale(1.06);
}

.nhwp-writer-novel-no-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #d6a0ff;
    font-size: 55px;
}

.nhwp-writer-novel-content {
    padding: 18px;
}

.nhwp-writer-novel-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.nhwp-writer-novel-genres span {
    padding: 4px 8px;
    background: rgba(214, 160, 255, 0.14);
    border-radius: 5px;
    color: #e2bdff;
    font-size: 11px;
}

.nhwp-writer-novel-content h3 {
    margin: 0 0 10px;
    font-size: 19px;
    line-height: 1.6;
}

.nhwp-writer-novel-content h3 a {
    color: #fff;
    text-decoration: none;
}

.nhwp-writer-novel-content p {
    min-height: 52px;
    margin: 0;
    color: #bdb3c5;
    font-size: 13px;
    line-height: 2;
}

@media (max-width: 980px) {
    .nhwp-writers-grid,
    .nhwp-writer-novels-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .nhwp-writers-archive,
    .nhwp-writers-profile {
        padding: 25px 14px 50px;
    }

    .nhwp-writers-grid,
    .nhwp-writer-novels-grid {
        grid-template-columns: 1fr;
    }

    .nhwp-writers-profile-hero {
        display: block;
        padding: 24px 18px;
        text-align: center;
    }

    .nhwp-writers-profile-avatar {
        margin-bottom: 18px;
    }

    .nhwp-writers-profile-avatar img {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }

    .nhwp-writers-profile-socials {
        justify-content: center;
    }

    .nhwp-writer-novel-cover {
        height: 330px;
    }
}
/* ==================================================
   ریسپانسیو عمومی صفحه رمان و صفحات نویسندگان
   Noheshitia Writer Panel
================================================== */

/* جلوگیری از بیرون‌زدگی محتوا در موبایل */
.nhwp-novel-single *,
.nhwp-public-author-box *,
.nhwp-writers-page *,
.nhwp-writer-profile *,
.nhwp-writers-list * {
    box-sizing: border-box;
    min-width: 0;
}

.nhwp-novel-single img,
.nhwp-public-author-box img,
.nhwp-writers-page img,
.nhwp-writer-profile img,
.nhwp-writers-list img {
    max-width: 100%;
    height: auto;
}

/* ----------------------------------------------
   باکس نویسنده در صفحه رمان
---------------------------------------------- */

.nhwp-public-author-box {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.nhwp-public-author-avatar {
    flex: 0 0 74px;
    width: 74px;
    height: 74px;
    overflow: hidden;
    border-radius: 50%;
}

.nhwp-public-author-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ----------------------------------------------
   اصلاح عمومی کارت‌ها و متن‌های بلند
---------------------------------------------- */

.nhwp-novel-single,
.nhwp-writers-page,
.nhwp-writer-profile,
.nhwp-writers-list {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.nhwp-novel-single a,
.nhwp-writers-page a,
.nhwp-writer-profile a,
.nhwp-writers-list a {
    max-width: 100%;
}

/* ----------------------------------------------
   تبلت و لپ‌تاپ با فضای کمتر
---------------------------------------------- */

@media (max-width: 900px) {
    .nhwp-public-author-box {
        gap: 13px;
    }

    .nhwp-public-author-avatar {
        flex-basis: 64px;
        width: 64px;
        height: 64px;
    }
}

/* ----------------------------------------------
   موبایل
---------------------------------------------- */

@media (max-width: 680px) {

    /* فاصله امن از لبه موبایل */
    .nhwp-novel-single,
    .nhwp-writers-page,
    .nhwp-writer-profile,
    .nhwp-writers-list {
        width: 100%;
    }

    /* باکس درباره نویسنده */
    .nhwp-public-author-box {
        flex-direction: column;
        align-items: center;
        gap: 11px;
        padding: 20px 16px;
        text-align: center;
    }

    .nhwp-public-author-avatar {
        flex: 0 0 78px;
        width: 78px;
        height: 78px;
    }

    .nhwp-public-author-box h1,
    .nhwp-public-author-box h2,
    .nhwp-public-author-box h3,
    .nhwp-public-author-box h4,
    .nhwp-public-author-box .nhwp-public-author-name {
        margin-right: 0;
        font-size: 18px;
        line-height: 1.8;
    }

    .nhwp-public-author-box p,
    .nhwp-public-author-box .nhwp-public-author-bio {
        font-size: 13px;
        line-height: 2;
    }

    .nhwp-public-author-box a {
        display: inline-flex;
        justify-content: center;
        width: 100%;
        max-width: 260px;
        margin: 5px auto 0;
    }

    /* عنوان‌های طولانی رمان و نویسنده */
    .nhwp-novel-single h1,
    .nhwp-writer-profile h1,
    .nhwp-writers-page h1 {
        font-size: 22px;
        line-height: 1.8;
    }

    .nhwp-novel-single h2,
    .nhwp-writer-profile h2,
    .nhwp-writers-page h2 {
        font-size: 19px;
        line-height: 1.8;
    }

    /* جدول‌ها یا بخش‌های اطلاعاتی رمان */
    .nhwp-novel-single table {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* فیلدهای فرم، دکمه‌ها و ورودی‌ها */
    .nhwp-novel-single input,
    .nhwp-novel-single select,
    .nhwp-novel-single textarea,
    .nhwp-writers-page input,
    .nhwp-writers-page select,
    .nhwp-writer-profile input,
    .nhwp-writer-profile select {
        width: 100%;
        max-width: 100%;
    }
}

/* ----------------------------------------------
   موبایل‌های کوچک
---------------------------------------------- */

@media (max-width: 390px) {
    .nhwp-public-author-box {
        padding-right: 12px;
        padding-left: 12px;
    }

    .nhwp-novel-single h1,
    .nhwp-writer-profile h1,
    .nhwp-writers-page h1 {
        font-size: 20px;
    }
}
/* ==========================================================
   اصلاح نسخه موبایل: فهرست و پروفایل عمومی نویسندگان
   نویسندگان، کارت‌ها و رمان‌های منتشرشده
========================================================== */

.nhwp-writers-archive,
.nhwp-writers-profile,
.nhwp-writers-profile-novels {
    width: 100%;
    max-width: 100%;
}

/* ایمنی تصویرها و متن‌ها */
.nhwp-writers-archive *,
.nhwp-writers-profile * {
    box-sizing: border-box;
    min-width: 0;
}

.nhwp-writers-archive img,
.nhwp-writers-profile img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ----------------------------------------------------------
   موبایل و تبلت کوچک
---------------------------------------------------------- */

@media (max-width: 700px) {

    /* ------------------------------------------------------
       صفحه فهرست نویسندگان /writers/
    ------------------------------------------------------ */

    .nhwp-writers-archive {
        padding: 24px 14px 32px;
    }

    /*
     * رفع فضای خالی زیاد بین توضیحات و اولین کارت نویسنده
     */
    .nhwp-writers-heading {
        margin: 0 0 24px !important;
        padding: 0 !important;
        text-align: center;
    }

    .nhwp-writers-heading > span {
        display: inline-block;
        margin: 0 0 7px;
        font-size: 13px;
        line-height: 1.8;
    }

    .nhwp-writers-heading h1 {
        margin: 0 0 10px !important;
        font-size: 22px;
        line-height: 1.75;
    }

    .nhwp-writers-heading p {
        max-width: 340px;
        margin: 0 auto !important;
        font-size: 13px;
        line-height: 2;
    }

    .nhwp-writers-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* کارت هر نویسنده */
    .nhwp-writers-card {
        display: flex;
        align-items: center;
        gap: 14px;
        width: 100%;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 20px 16px !important;
        border-radius: 22px;
    }

    .nhwp-writers-card-avatar {
        flex: 0 0 82px;
        width: 82px;
        height: 82px;
    }

    .nhwp-writers-card-avatar img,
    .nhwp-writers-card-avatar .avatar {
        width: 82px !important;
        height: 82px !important;
        border-radius: 50%;
        object-fit: cover;
    }

    .nhwp-writers-card-content {
        flex: 1 1 auto;
        width: auto;
    }

    .nhwp-writers-card-label {
        display: block;
        margin-bottom: 3px;
        font-size: 12px;
        line-height: 1.8;
    }

    .nhwp-writers-card h2 {
        margin: 0 0 7px !important;
        font-size: 20px;
        line-height: 1.5;
    }

    .nhwp-writers-card p {
        display: -webkit-box;
        margin: 0 0 12px !important;
        overflow: hidden;
        font-size: 13px;
        line-height: 1.9;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .nhwp-writers-card-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 9px;
        margin: 0 !important;
        padding-top: 11px;
    }

    .nhwp-writers-card-footer > span,
    .nhwp-writers-card-footer > a {
        font-size: 12px;
        line-height: 1.8;
    }

    .nhwp-writers-card-footer > a {
        white-space: nowrap;
    }

    /* ------------------------------------------------------
       صفحه پروفایل نویسنده
    ------------------------------------------------------ */

    .nhwp-writers-profile {
        padding: 16px 14px 32px;
    }

    .nhwp-writers-back-link {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        margin: 0 0 18px;
        font-size: 14px;
        line-height: 1.8;
    }

    /*
     * باکس بنفش/تیره پروفایل نویسنده
     */
    .nhwp-writers-profile-hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: 0 !important;
        margin: 0 0 30px !important;
        padding: 34px 18px 28px !important;
        text-align: center;
        border-radius: 25px;
    }

    .nhwp-writers-profile-avatar {
        flex: 0 0 150px;
        width: 150px;
        height: 150px;
        margin: 0 0 20px !important;
    }

    .nhwp-writers-profile-avatar img,
    .nhwp-writers-profile-avatar .avatar {
        width: 150px !important;
        height: 150px !important;
        border-radius: 50%;
        object-fit: cover;
    }

    .nhwp-writers-profile-info {
        width: 100%;
    }

    .nhwp-writers-profile-label {
        display: block;
        margin-bottom: 4px;
        font-size: 13px;
        line-height: 1.8;
    }

    .nhwp-writers-profile-info h1 {
        margin: 0 0 12px !important;
        font-size: 27px;
        line-height: 1.5;
    }

    .nhwp-writers-profile-bio,
    .nhwp-writers-profile-empty-bio {
        margin: 0 !important;
        font-size: 14px;
        line-height: 2;
    }

    .nhwp-writers-profile-bio p {
        margin: 0 !important;
    }

    .nhwp-writers-profile-socials {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        margin-top: 18px;
    }

    .nhwp-writers-social {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 38px;
        padding: 7px 13px;
        font-size: 12px;
    }

    /*
     * رفع فاصله بسیار بزرگ بین کارت پروفایل
     * و عنوان «رمان‌های منتشرشده»
     */
    .nhwp-writers-profile-novels {
        margin: 0 !important;
        padding: 0 !important;
    }

    .nhwp-writers-profile-heading {
        margin: 0 0 22px !important;
        padding: 0 !important;
        text-align: center;
    }

    .nhwp-writers-profile-heading > span {
        margin-bottom: 6px;
        font-size: 14px;
    }

    .nhwp-writers-profile-heading h2 {
        margin: 0 !important;
        font-size: 22px;
        line-height: 1.75;
    }

    .nhwp-writer-novels-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* کارت رمان در پروفایل نویسنده */
    .nhwp-writer-novel-card {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-height: 0 !important;
        margin: 0 !important;
        overflow: hidden;
        border-radius: 22px;
    }

    .nhwp-writer-novel-cover {
        display: block;
        width: 100%;
        height: auto;
        min-height: 0 !important;
        aspect-ratio: 16 / 9;
    }

    .nhwp-writer-novel-cover img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .nhwp-writer-novel-no-cover {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        min-height: 190px !important;
    }

    .nhwp-writer-novel-no-cover span {
        font-size: 42px;
    }

    .nhwp-writer-novel-content {
        width: 100%;
        padding: 18px 16px !important;
    }

    .nhwp-writer-novel-genres {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 10px;
    }

    .nhwp-writer-novel-genres span {
        font-size: 11px;
    }

    .nhwp-writer-novel-card h3 {
        margin: 0 0 9px !important;
        font-size: 19px;
        line-height: 1.7;
    }

    .nhwp-writer-novel-card p {
        display: -webkit-box;
        margin: 0 0 14px !important;
        overflow: hidden;
        font-size: 13px;
        line-height: 1.95;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .nhwp-writer-novel-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin: 0 !important;
        padding-top: 12px;
    }

    .nhwp-writer-novel-footer > span,
    .nhwp-writer-novel-footer > a {
        font-size: 12px;
        line-height: 1.8;
    }

    .nhwp-writer-novel-footer > a {
        white-space: nowrap;
    }

    .nhwp-writers-empty {
        min-height: 0 !important;
        margin: 0 !important;
        padding: 30px 17px !important;
        text-align: center;
    }
}

/* ----------------------------------------------------------
   گوشی‌های کوچک
---------------------------------------------------------- */

@media (max-width: 390px) {

    .nhwp-writers-archive,
    .nhwp-writers-profile {
        padding-right: 10px;
        padding-left: 10px;
    }

    .nhwp-writers-card {
        gap: 11px;
        padding: 17px 13px !important;
    }

    .nhwp-writers-card-avatar,
    .nhwp-writers-card-avatar img,
    .nhwp-writers-card-avatar .avatar {
        width: 70px !important;
        height: 70px !important;
    }

    .nhwp-writers-card h2 {
        font-size: 18px;
    }

    .nhwp-writers-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .nhwp-writers-profile-hero {
        padding-right: 14px !important;
        padding-left: 14px !important;
    }

    .nhwp-writers-profile-avatar,
    .nhwp-writers-profile-avatar img,
    .nhwp-writers-profile-avatar .avatar {
        width: 128px !important;
        height: 128px !important;
    }
}
/* ==================================================
   نمایش تمام‌عرض فهرست و پروفایل عمومی نویسندگان
================================================== */

.nhwp-writer-panel-template .nhwp-writers-archive,
.nhwp-writer-panel-template .nhwp-writers-profile {
    width: min(1180px, calc(100vw - 40px));
    max-width: none;
    margin: 35px auto;
}

@media (max-width: 760px) {
    .nhwp-writer-panel-template .nhwp-writers-archive,
    .nhwp-writer-panel-template .nhwp-writers-profile {
        width: calc(100vw - 24px);
        margin: 18px auto 32px;
    }
}
