/* ==========================================================================
   WebRankivo blog pages (blog list, single posts, archives, search)
   The WebRankivo header and footer replace Astra's; this file styles
   Astra's blog content so it matches the site's dark theme.
   ========================================================================== */
html body.wr-blog { background: #000; color: #A9A3C2; font-family: var(--wr-font-body); }
body.wr-blog #page,
body.wr-blog .site-content,
body.wr-blog .site-content > .ast-container,
body.wr-blog #primary,
body.wr-blog .site-main { background: transparent !important; }

body.wr-blog .site-content { padding-top: calc(5rem + 3.5rem); padding-bottom: 5rem; }
@media (max-width: 921px) { body.wr-blog .site-content { padding-top: calc(4.5rem + 2rem); padding-bottom: 3.5rem; } }
body.wr-blog .site-content > .ast-container { max-width: var(--wr-wrap); padding-left: var(--wr-gutter); padding-right: var(--wr-gutter); }
body.wr-blog #primary { margin-top: 0 !important; margin-bottom: 0 !important; }

/* Page heading on the blog list / archives */
body.wr-blog .ast-archive-description,
body.wr-blog .ast-blog-title-header { background: transparent !important; border: 0 !important; padding: 0 0 2rem !important; }
body.wr-blog .ast-archive-title,
body.wr-blog .page-title { font-family: var(--wr-font-head); font-weight: 800; letter-spacing: -.025em; color: #F4F1FF; }

/* Post cards and single post container */
html body.wr-blog.ast-separate-container .ast-article-post,
html body.wr-blog.ast-separate-container .ast-article-single,
html body.wr-blog.ast-separate-container .comments-area .comment-respond,
html body.wr-blog.ast-separate-container .comments-area .ast-comment-list li,
html body.wr-blog.ast-separate-container .ast-author-box,
html body.wr-blog.ast-separate-container .post-navigation,
html body.wr-blog.ast-separate-container .comments-count-wrapper,
html body.wr-blog .ast-archive-entry-banner {
	background: #0B0A12 !important;
	border: 1px solid rgba(255,255,255,.09);
	border-radius: var(--wr-r-md);
}
html body.wr-blog.ast-separate-container .ast-article-post { transition: border-color .3s, transform .5s var(--wr-ease); }
html body.wr-blog.blog .ast-article-post:hover,
html body.wr-blog.archive .ast-article-post:hover { border-color: rgba(139,92,246,.5); transform: translateY(-3px); }

body.wr-blog .entry-title,
body.wr-blog .entry-content h1, body.wr-blog .entry-content h2, body.wr-blog .entry-content h3,
body.wr-blog .entry-content h4, body.wr-blog .entry-content h5, body.wr-blog .entry-content h6,
body.wr-blog .comments-title, body.wr-blog .comment-reply-title, body.wr-blog .widget-title {
	font-family: var(--wr-font-head); color: #F4F1FF !important; letter-spacing: -.02em;
}
body.wr-blog .entry-title a { color: #F4F1FF !important; }
body.wr-blog .entry-title a:hover { color: #C4B5FD !important; }
body.wr-blog .entry-content,
body.wr-blog .entry-content p,
body.wr-blog .entry-content li,
body.wr-blog .ast-excerpt-container,
body.wr-blog .ast-excerpt-container p { color: #A9A3C2; line-height: 1.75; }
body.wr-blog .entry-meta,
body.wr-blog .entry-meta * { color: #8E87A8 !important; }
body.wr-blog .entry-content a,
body.wr-blog .ast-excerpt-container a,
body.wr-blog .comments-area a { color: #B794F6; }
body.wr-blog .entry-content a:hover,
body.wr-blog .comments-area a:hover { color: #C4B5FD; }
body.wr-blog .entry-content blockquote { border-left: 3px solid #8B5CF6; color: #F4F1FF; }
body.wr-blog .entry-content hr { border-color: rgba(255,255,255,.1); }
body.wr-blog .post-thumb-img-content img,
body.wr-blog .ast-blog-featured-section img { border-radius: var(--wr-r-sm); }

/* Read more link and buttons */
body.wr-blog .read-more a,
body.wr-blog .ast-read-more-container a,
body.wr-blog .ast-button,
body.wr-blog .wp-block-button__link,
body.wr-blog input[type="submit"],
body.wr-blog button.submit {
	background: linear-gradient(120deg, #7C3AED 0%, #A855F7 100%) !important;
	color: #fff !important; border: 0 !important; border-radius: 999px !important;
	font-family: var(--wr-font-head); font-weight: 700;
}

/* Pagination and post navigation */
body.wr-blog .ast-pagination a,
body.wr-blog .ast-pagination span,
body.wr-blog .post-navigation a { color: #A9A3C2 !important; }
body.wr-blog .ast-pagination .page-numbers.current,
body.wr-blog .ast-pagination a:hover,
body.wr-blog .post-navigation a:hover { color: #fff !important; background: rgba(139,92,246,.25) !important; border-color: #8B5CF6 !important; }

/* Comment form fields */
body.wr-blog .comment-form input[type="text"],
body.wr-blog .comment-form input[type="email"],
body.wr-blog .comment-form input[type="url"],
body.wr-blog .comment-form textarea,
body.wr-blog .search-form .search-field {
	background: rgba(255,255,255,.04) !important; color: #F4F1FF !important;
	border: 1px solid rgba(255,255,255,.14) !important; border-radius: var(--wr-r-sm);
}
body.wr-blog .comment-form label { color: #A9A3C2; }

/* Blog link stays highlighted in the menu */
html body.wr-blog .wr-nav__link[aria-current="page"] { color: #fff !important; background: rgba(139,92,246,.25); }
html body.wr-blog .wr-mnav__list a[aria-current="page"] { color: #B794F6 !important; }

/* Astra inner card: keep it transparent inside the dark post card */
html body.wr-blog .ast-article-inner,
html body.wr-blog .ast-article-post .ast-article-inner { background: transparent !important; box-shadow: none !important; }
html body.wr-blog .ast-blog-single-element.ast-taxonomy-container a, html body.wr-blog .cat-links a { color: #B794F6 !important; }
/* The WebRankivo header plugin hides <header> tags; keep ours visible */
html body.wr-blog header.wr-header { display: block !important; }

/* Comments wrapper: no white strip under the comment form */
html body.wr-blog .comments-area,
html body.wr-blog.ast-separate-container .comments-area { background: transparent !important; padding-bottom: 0 !important; box-shadow: none !important; border: 0 !important; }
