/* ============================================
   PAGE — Long Article / Column
   ============================================ */
.page-main {
    padding-top: calc(var(--header-h) + var(--admin-bar-h, 0px));
    min-height: 100vh;
}

/* Article */
.article {
    max-width: 720px; margin: 0 auto;
    padding: 48px 24px 40px;
}

/* Header */
.article-meta-top {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 16px;
}
.article-category {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.8px; color: var(--accent);
}
.article-dot { color: var(--text-muted); font-size: 13px; }
.article-date { font-size: 13px; color: var(--text-muted); }

.article-title {
    font-family: 'Lora', 'Georgia', serif;
    font-size: 40px; font-weight: 700; line-height: 1.2;
    letter-spacing: -0.8px; color: var(--text); margin-bottom: 16px;
}
.article-subtitle {
    font-family: 'Lora', 'Georgia', serif;
    font-size: 19px; line-height: 1.55; color: var(--text-secondary);
    font-style: italic; margin-bottom: 28px;
}

/* Author */
.article-author {
    display: flex; align-items: center; gap: 14px;
    padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}
.article-author-avatar {
    width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
}
.article-author-info { flex: 1; }
.article-author-name {
    font-size: 15px; font-weight: 700; color: var(--text);
}
.article-author-title {
    font-size: 13px; color: var(--text-muted); margin-top: 1px;
}
.article-actions { display: flex; gap: 6px; }
.article-action-btn {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); transition: all 0.2s ease;
}
.article-action-btn:hover { background: var(--bg); color: var(--text); }

/* Hero Image */
.article-hero {
    margin: 0 0 36px;
}
.article-hero-img {
    width: 100%; border-radius: var(--radius); object-fit: cover;
    max-height: 420px;
}
.article-hero-caption {
    font-size: 12px; color: var(--text-muted); margin-top: 10px;
    line-height: 1.5; font-style: italic;
}

/* Body */
.article-body {
    font-family: 'Lora', 'Georgia', serif;
    font-size: 18px; line-height: 1.75; color: var(--text);
}
.article-body p { margin-bottom: 24px; }
.article-body h2 {
    font-size: 24px; font-weight: 700; line-height: 1.3;
    letter-spacing: -0.3px; color: var(--text);
    margin: 40px 0 16px;
}
.article-body blockquote {
    margin: 32px 0; padding: 24px 28px;
    border-left: 3px solid var(--accent);
    background: var(--bg); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.article-body blockquote p {
    font-size: 20px; font-weight: 500; line-height: 1.6;
    color: var(--text); margin: 0; font-style: italic;
}

/* Tags */
.article-tags {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border);
}
.article-tag {
    padding: 6px 14px; background: var(--bg); border-radius: 100px;
    font-size: 12px; font-weight: 500; color: var(--text-secondary);
    transition: all 0.2s ease;
}
.article-tag:hover { background: var(--border); color: var(--text); }

/* Footer */
.article-footer {
    margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
}
.article-read-time {
    display: flex; align-items: center; gap: 6px;
    font-size: 13px; color: var(--text-muted);
}
.article-share-row { display: flex; gap: 8px; }
.article-share-btn {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 16px; border: 1px solid var(--border);
    border-radius: 100px; font-size: 13px; font-weight: 500;
    color: var(--text-secondary); transition: all 0.2s ease;
}
.article-share-btn:hover { border-color: var(--text-muted); color: var(--text); }

/* Related */
.related {
    max-width: 720px; margin: 0 auto; padding: 0 24px 60px;
}
.related-title {
    font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 20px;
}
.related-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.related-card {
    display: flex; gap: 12px; padding: 14px;
    background: var(--surface); border-radius: var(--radius-sm);
    border: 1px solid var(--border); cursor: pointer;
    transition: all 0.2s ease;
}
.related-card:hover { border-color: var(--text-muted); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.related-img {
    width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.related-body { flex: 1; min-width: 0; }
.related-author {
    font-family: 'Lora', 'Georgia', serif;
    font-size: 11px; font-weight: 600; color: var(--text-muted); margin-bottom: 4px;
}
.related-card-title {
    font-family: 'Lora', 'Georgia', serif;
    font-size: 13px; font-weight: 700; line-height: 1.35; color: var(--text);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.related-meta {
    font-size: 11px; color: var(--text-muted); margin-top: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .article { padding: 32px 16px 24px; }
    .article-title { font-size: 28px; }
    .article-subtitle { font-size: 16px; }
    .article-body { font-size: 16px; }
    .article-body h2 { font-size: 20px; }
    .article-body blockquote p { font-size: 17px; }
    .article-hero-img { max-height: 280px; }
    .related { padding: 0 16px 80px; }
    .related-grid { grid-template-columns: 1fr; }
    .comments-area { padding: 0 16px 80px; }
}

/* ══════════════════════════════════════════════
   READING PROGRESS BAR
   ══════════════════════════════════════════════ */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--accent, #e63946);
    z-index: 99999;
    transition: width 0.1s ease-out;
    pointer-events: none;
}

/* ══════════════════════════════════════════════
   COMMENTS SECTION
   ══════════════════════════════════════════════ */
.comments-area {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px 60px;
}
.comments-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.comment-list, .comment-list .children {
    list-style: none;
    padding: 0;
    margin: 0;
}
.comment-list .children {
    margin-left: 28px;
    border-left: 2px solid var(--border);
    padding-left: 16px;
}
.comment-body {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm, 12px);
    padding: 16px 20px;
    margin-bottom: 16px;
}
.comment-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.comment-author .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}
.comment-author .fn {
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
}
.comment-metadata a {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
}
.comment-content {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary, #cbd5e1);
}
.comment-content p {
    margin: 0 0 8px;
}
.comment-content p:last-child {
    margin: 0;
}
.reply {
    margin-top: 10px;
}
.comment-reply-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}
.comment-respond {
    margin-top: 36px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm, 12px);
    padding: 24px;
}
.comment-reply-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--text);
}
.comment-form p {
    margin-bottom: 14px;
}
.comment-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}
.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--accent);
}
.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 8px;
}
.comment-form-cookies-consent input {
    margin: 0;
}
.comment-form-cookies-consent label {
    margin: 0;
    font-weight: 400;
}
.form-submit .submit {
    padding: 10px 24px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.form-submit .submit:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

