/* ==================== POST HERO ==================== */
.post-hero {
    background: linear-gradient(135deg, #0f1f2e 0%, #1a2d3f 100%);
    color: var(--paper);
    padding: 3rem 0 2.5rem;
    border-bottom: 3px solid var(--bronze);
}

.post-hero-content {
    max-width: 850px;
    margin: 0 auto;
}

/* ===== BREADCRUMB ===== */
.post-breadcrumb {
    font-size: 0.85rem;
    color: #b9c2cb;
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.post-breadcrumb a {
    color: #b9c2cb;
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-breadcrumb a:hover {
    color: var(--bronze);
}

.post-breadcrumb .separator {
    color: #6a7a8a;
}

.post-breadcrumb .current {
    color: var(--paper);
}

.post-hero h1 {
    color: var(--paper);
    font-size: 2.2rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

/* ==================== POST LAYOUT ==================== */
.post-content-section {
    padding: 3rem 0;
    background: var(--white);
}

.post-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
}

/* ===== MAIN CONTENT ===== */
.post-main {
    min-width: 0;
}

.post-featured-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 2rem;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    padding: 0.8rem 1rem;
    background: var(--paper);
    font-size: 0.85rem;
    color: var(--gray-txt);
    text-align: center;
    border-bottom: 3px solid var(--bronze);
}

/* ===== EXCERPT BOX ===== */
.post-excerpt-box {
    display: flex;
    gap: 1rem;
    background: var(--paper-2);
    padding: 1.5rem;
    border-radius: var(--radius);
    border-right: 4px solid var(--bronze);
    margin-bottom: 2rem;
}

.excerpt-icon {
    font-size: 1.8rem;
    color: var(--bronze);
    flex-shrink: 0;
}

.excerpt-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--bronze);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.3rem;
}

.post-excerpt-box p {
    margin: 0;
    color: var(--gray-txt);
    line-height: 1.9;
    font-size: 0.95rem;
}

/* ===== TABLE OF CONTENTS ===== */
.table-of-contents {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.2rem 1.5rem;
    margin-bottom: 2.5rem;
}

.toc-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    user-select: none;
}

.toc-icon {
    color: var(--bronze);
    font-size: 1.2rem;
}

.toc-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--ink);
    flex: 1;
}

.toc-toggle {
    background: none;
    border: none;
    color: var(--gray-txt);
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 4px;
}

.toc-toggle.open {
    transform: rotate(180deg);
}

.toc-list {
    list-style: none;
    padding: 1rem 0 0;
    margin: 0;
    display: none;
}

.toc-list.open {
    display: block;
}

.toc-list li {
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--line);
}

.toc-list li:last-child {
    border-bottom: none;
}

.toc-list a {
    color: var(--gray-txt);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    display: block;
}

.toc-list a:hover {
    color: var(--bronze);
}

.toc-list ul {
    list-style: none;
    padding-right: 1.5rem;
    margin: 0.3rem 0 0;
}

.toc-list ul li {
    border-bottom: none;
    padding: 0.2rem 0;
}

.toc-list ul a {
    font-size: 0.85rem;
}

/* ===== POST BODY ===== */
.post-body {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--gray-txt);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.2rem 1.5rem;
    margin-bottom: 2.5rem;
}

.post-body h2 {
    font-size: 1.6rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--ink);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--line);
}

.post-body h3 {
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: var(--ink);
}

.post-body h4 {
    font-size: 1.05rem;
    margin-top: 1.5rem;
    margin-bottom: 0.6rem;
    color: var(--ink);
}

.post-body p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

.post-body strong {
    color: var(--ink);
}

.post-body ul,
.post-body ol {
    padding-right: 1.5rem;
    margin-bottom: 1.2rem;
}

.post-body ul li,
.post-body ol li {
    margin-bottom: 0.4rem;
}

/* ===== INFO BOXES ===== */
.info-box {
    display: flex;
    gap: 1rem;
    background: rgba(242, 149, 0, 0.06);
    padding: 1.2rem 1.5rem;
    border-radius: var(--radius);
    border-right: 4px solid var(--bronze);
    margin: 1.5rem 0;
}

.info-icon {
    color: var(--bronze);
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.info-box strong {
    color: var(--ink);
    display: block;
    margin-bottom: 0.2rem;
}

.info-box span {
    color: var(--gray-txt);
}

.warning-box {
    display: flex;
    gap: 1rem;
    background: rgba(140, 59, 46, 0.06);
    padding: 1.2rem 1.5rem;
    border-radius: var(--radius);
    border-right: 4px solid var(--danger);
    margin: 1.5rem 0;
}

.warning-icon {
    color: var(--danger);
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.warning-box strong {
    color: var(--ink);
    display: block;
    margin-bottom: 0.2rem;
}

.warning-box span {
    color: var(--gray-txt);
}

/* ===== STRUCTURE BOX ===== */
.structure-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.structure-item {
    display: flex;
    gap: 1rem;
    background: var(--white);
    border: 1px solid var(--line);
    padding: 1rem 1.2rem;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.structure-item:hover {
    border-color: var(--bronze-lt);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.structure-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bronze);
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.structure-item h4 {
    margin: 0 0 0.2rem;
    font-size: 0.95rem;
}

.structure-item p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--gray-txt);
}

/* ===== COMMENT EXAMPLE ===== */
.comment-example {
    background: var(--paper);
    border-radius: var(--radius);
    padding: 1.2rem 1.5rem;
    margin: 1.2rem 0;
}

.comment-reviewer {
    margin-bottom: 0.8rem;
}

.reviewer-label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--danger);
    margin-bottom: 0.2rem;
}

.comment-reviewer p {
    margin: 0;
    font-size: 0.95rem;
    font-style: italic;
    color: var(--ink);
}

.comment-response {
    padding-top: 0.8rem;
    border-top: 1px dashed var(--line);
}

.response-label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--pine);
    margin-bottom: 0.2rem;
}

.comment-response p {
    margin: 0;
    font-size: 0.95rem;
}

.response-highlight {
    color: var(--pine);
    font-weight: 700;
}

.response-change {
    display: inline-block;
    background: rgba(46, 74, 63, 0.06);
    padding: 0.1rem 0.6rem;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--pine);
}

/* ===== SAMPLE RESPONSE ===== */
.sample-response {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 1.5rem 0;
}

.sample-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.2rem;
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
}

.sample-badge {
    background: var(--bronze);
    color: var(--white);
    padding: 0.1rem 0.8rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
}

.sample-journal {
    font-size: 0.8rem;
    color: var(--gray-txt);
}

.sample-content {
    padding: 1.2rem 1.5rem;
}

.sample-item {
    margin-bottom: 1rem;
}

.sample-item:last-child {
    margin-bottom: 0;
}

.sample-reviewer-comment {
    background: rgba(140, 59, 46, 0.04);
    padding: 0.8rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 0.6rem;
}

.comment-tag {
    display: block;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--danger);
    margin-bottom: 0.2rem;
}

.sample-reviewer-comment p {
    margin: 0;
    font-size: 0.95rem;
}

.sample-author-response {
    background: rgba(46, 74, 63, 0.04);
    padding: 0.8rem 1rem;
    border-radius: var(--radius);
}

.response-tag {
    display: block;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--pine);
    margin-bottom: 0.2rem;
}

.sample-author-response > p {
    margin: 0 0 0.6rem;
    font-size: 0.95rem;
}

.sample-changes {
    background: var(--white);
    padding: 0.8rem 1rem;
    border-radius: var(--radius);
}

.change-label {
    display: block;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--ink);
    margin-bottom: 0.3rem;
}

.sample-changes ul {
    margin: 0;
    padding-right: 1.2rem;
}

.sample-changes ul li {
    font-size: 0.85rem;
    color: var(--gray-txt);
}

/* ===== COMMON MISTAKES ===== */
.common-mistakes {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0;
}

.common-mistakes li {
    display: flex;
    gap: 0.8rem;
    padding: 0.6rem 0;
    border-bottom: 1px dashed var(--line);
    font-size: 0.95rem;
}

.common-mistakes li:last-child {
    border-bottom: none;
}

.mistake-icon {
    color: var(--danger);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.common-mistakes strong {
    color: var(--ink);
}

/* ===== SUCCESS TIPS ===== */
.success-tips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.tip-item {
    display: flex;
    gap: 1rem;
    background: var(--white);
    border: 1px solid var(--line);
    padding: 1rem 1.2rem;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.tip-item:hover {
    border-color: var(--bronze-lt);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.tip-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bronze);
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.tip-item h4 {
    margin: 0 0 0.2rem;
    font-size: 0.95rem;
}

.tip-item p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--gray-txt);
}

/* ===== POST TAGS ===== */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--line);
}

.tags-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink);
    margin-left: 0.5rem;
}

.tag {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    font-size: 0.75rem;
    color: var(--gray-txt);
    background: var(--paper);
    border: 1px solid var(--line);
    text-decoration: none;
    transition: all 0.2s ease;
}

.tag:hover {
    background: var(--bronze);
    color: var(--white);
    border-color: var(--bronze);
}

/* ===== POST NAVIGATION ===== */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid var(--line);
}

.nav-prev,
.nav-next {
    display: flex;
    flex-direction: column;
}

.nav-next {
    text-align: left;
}

.nav-label {
    font-size: 0.8rem;
    color: var(--gray-txt);
    margin-bottom: 0.3rem;
}

.nav-label i {
    font-size: 0.7rem;
}

.nav-title {
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-title:hover {
    color: var(--bronze);
}

/* ===== RELATED POSTS ===== */
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.related-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: var(--bronze-lt);
}

.related-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.related-content {
    padding: 0.8rem 1rem 1rem;
}

.related-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--bronze);
    background: rgba(242, 149, 0, 0.08);
    padding: 0.05rem 0.6rem;
    border-radius: 30px;
    margin-bottom: 0.3rem;
}

.related-content h4 {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.related-content h4 a {
    color: var(--ink);
    text-decoration: none;
    transition: color 0.2s ease;
}

.related-content h4 a:hover {
    color: var(--bronze);
}

/* ==================== SIDEBAR ==================== */
.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.2rem 1.2rem 1.5rem;
}

.widget-header {
    margin-bottom: 1rem;
}

.widget-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--line);
}

/* ===== AUTHOR WIDGET ===== */
.author-profile {
    text-align: center;
}

.author-top-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image-lg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bronze);
    margin-bottom: 0.5rem;
}

.author-profile h3 {
    margin: 0 0 0.3rem;
    font-size: 1rem;
}

.author-bio {
    font-size: 0.85rem;
    color: var(--gray-txt);
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.author-social {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.author-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--line);
    color: var(--gray-txt);
    transition: all 0.2s ease;
    text-decoration: none;
}

.author-social a:hover {
    background: var(--bronze);
    color: var(--white);
    border-color: var(--bronze);
}

/* ===== SEARCH WIDGET ===== */
.sidebar-search {
    display: flex;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 1rem;
}

.sidebar-search input {
    flex: 1;
    padding: 0.6rem 0.8rem;
    border: none;
    background: var(--paper);
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.sidebar-search input:focus {
    outline: none;
}

.sidebar-search button {
    padding: 0.6rem 1rem;
    background: var(--bronze);
    border: none;
    color: var(--white);
    cursor: pointer;
    transition: background 0.2s ease;
}

.sidebar-search button:hover {
    background: #6f5730;
}

/* ===== POPULAR WIDGET ===== */
.popular-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.popular-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--line);
}

.popular-item:last-child {
    border-bottom: none;
}

.popular-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--paper);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--gray-txt);
    flex-shrink: 0;
}

.popular-item:first-child .popular-rank {
    background: var(--bronze);
    color: var(--white);
}

.popular-item div {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.popular-title {
    font-size: 0.9rem;
    color: var(--ink);
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.popular-title:hover {
    color: var(--bronze);
}

.popular-meta {
    font-size: 0.75rem;
    color: var(--gray-txt);
    white-space: nowrap;
}

.popular-meta i {
    margin-left: 0.2rem;
}

/* ===== CATEGORIES WIDGET ===== */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    display: flex;
    gap: 1rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--line);
}

.categories-list li:last-child {
    border-bottom: none;
}

.categories-list a {
    display: flex;
    justify-content: space-between;
    flex: 1;
    color: var(--gray-txt);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.9rem;
}

.categories-list a:hover {
    color: var(--bronze);
}

.categories-list .count {
    color: var(--gray-txt);
    font-size: 0.8rem;
}

/* ===== TAGS WIDGET ===== */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1rem;
}

.tag-sm {
    display: inline-block;
    padding: 0.15rem 0.7rem;
    border-radius: 30px;
    font-size: 0.75rem;
    color: var(--gray-txt);
    background: var(--paper);
    border: 1px solid var(--line);
    text-decoration: none;
    transition: all 0.2s ease;
}

.tag-sm:hover {
    background: var(--bronze);
    color: var(--white);
    border-color: var(--bronze);
}

/* ===== NEWSLETTER WIDGET ===== */
.newsletter-mini {
    text-align: center;
}

.newsletter-icon {
    display: inline-block;
    font-size: 2rem;
    color: var(--bronze);
    margin-bottom: 0.5rem;
}

.newsletter-mini h4 {
    margin: 0 0 0.2rem;
}

.newsletter-mini p {
    font-size: 0.85rem;
    color: var(--gray-txt);
    margin-bottom: 0.8rem;
}

.newsletter-mini input {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.newsletter-mini input:focus {
    outline: none;
    border-color: var(--bronze);
}

.newsletter-mini .btn-block {
    width: 100%;
    justify-content: center;
}

/* ==================== COMMENTS ==================== */
.comments-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid var(--line);
}

.comments-header {
    padding: 0 0 1.5rem;
}

.comments-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.comments-count {
    color: var(--gray-txt);
    font-weight: 400;
    font-size: 0.9rem;
}

/* ===== COMMENTS LIST ===== */
.comments-list {
    margin-bottom: 2rem;
}

.comment-item {
    display: flex;
    gap: 1rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--line);
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-avatar {
    flex-shrink: 0;
}

.comment-avatar img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-body {
    flex: 1;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.3rem;
}

.comment-author {
    font-weight: 600;
    color: var(--ink);
}

.comment-date {
    font-size: 0.78rem;
    color: var(--gray-txt);
}

.comment-body p {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    color: var(--gray-txt);
}

.comment-reply {
    background: none;
    border: none;
    color: var(--bronze);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.comment-reply:hover {
    color: #6f5730;
}

/* ===== COMMENT FORM ===== */
.comment-form {
    background: var(--paper);
    padding: 1.5rem 2rem;
    border-radius: var(--radius);
}

.comment-form h4 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
}

.comment-form .comment-notes {
    display: none;
}

.comment-form .logged-in-as {
    display: none;
}

.comment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.comment-form .form-field {
    margin-bottom: 1rem;
}

.comment-form .form-field label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--ink);
    margin-bottom: 0.3rem;
}

.comment-form .form-field input,
.comment-form .form-field textarea {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.9rem;
    background: var(--white);
    transition: border-color 0.2s ease;
}

.comment-form .form-field input:focus,
.comment-form .form-field textarea:focus {
    outline: none;
    border-color: var(--bronze);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.comment-form .form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.comment-form .form-checkbox input {
    width: 16px;
    height: 16px;
    accent-color: var(--bronze);
}

.comment-form .form-checkbox label {
    font-size: 0.88rem;
    color: var(--gray-txt);
}

.comment-form .btn {
    padding: 0.7rem 2rem;
    background: var(--bronze);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s ease;
}

.comment-form .btn:hover {
    background: #6f5730;
}

/* ===== WORDPRESS COMMENTS OVERRIDES ===== */
.comment-respond {
    /* استایل‌های وردپرس */
}

.comment-respond textarea {
    height: 184px;
    line-height: 26px;
    width: 100%;
    outline: 0;
    padding: 11px 10px;
    border: 1px solid #dcdcdc;
    box-shadow: 0 0 7px #e9efe9 inset;
    border-radius: 2px;
    transition: all 0.2s;
    font-family: var(--font-body);
}

.comment-respond input[type='text'] {
    width: 100%;
    outline: 0;
    padding: 11px 10px;
    border: 1px solid #dcdcdc;
    box-shadow: 0 0 7px #e9efe9 inset;
    border-radius: 2px;
    transition: all 0.2s;
    font-family: var(--font-body);
}

.comment-respond label {
    display: block;
    color: #6c757d;
    padding-bottom: 3px;
}

.comment-respond #commentform {
    display: flex;
    flex-wrap: wrap;
}

#commentform .comment-form-comment,
#commentform .form-submit {
    width: 100%;
    padding: 0 15px;
}

#commentform .comment-form-url,
#commentform .comment-form-cookies-consent {
    display: none;
}

#commentform .comment-form-author,
#commentform .comment-form-email {
    flex: 0 0 50%;
    padding: 0 15px;
}

#commentform .form-submit {
    width: 100%;
    padding: 0 15px;
    margin-top: 20px;
}

.comment-respond input[type="submit"] {
    background-color: var(--bronze);
    border-radius: 5px;
    padding: 10px 17px;
    line-height: 27px;
    display: inline-block;
    transition: all 0.2s ease-in-out;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    font-family: var(--font-body);
    border: none;
}

.comment-respond input[type="submit"]:hover {
    background-color: #6f5730;
}

.comment-respond input:focus,
.comment-respond textarea:focus {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.07);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .post-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .post-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .post-hero h1 {
        font-size: 1.6rem;
    }

    .structure-box {
        grid-template-columns: 1fr;
    }

    .success-tips {
        grid-template-columns: 1fr;
    }

    .post-navigation {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .nav-next {
        text-align: right;
    }

    .post-sidebar {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .comment-form {
        padding: 1.2rem 1rem;
    }

    .comment-form .form-row {
        grid-template-columns: 1fr;
    }

    #commentform .comment-form-author,
    #commentform .comment-form-email {
        flex: 0 0 100%;
    }

    .popular-item div {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
}

@media (max-width: 480px) {
    .post-hero {
        padding: 2rem 0;
    }

    .post-hero h1 {
        font-size: 1.3rem;
    }

    .post-excerpt-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .post-body {
        font-size: 0.95rem;
        padding: 0.8rem 1rem;
    }

    .post-body h2 {
        font-size: 1.3rem;
    }

    .post-body h3 {
        font-size: 1.05rem;
    }

    .comment-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .table-of-contents {
        padding: 1rem;
    }

    .toc-list ul {
        padding-right: 1rem;
    }
}

/* ===== UTILITY ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
h2.comment-reply-title{
    display:none;
}
.comment-content img.avatar,
.avatar {
    width: 80px;
    height: 80px;
    aspect-ratio: 1 / 1;
}