/* PhpOG's preserved blog presentation, loaded after the portable Blog module. */
.blog-page,
.blog-post-page { width: 100%; max-width: 1080px; margin: 0 auto; color: #cbd5e1; }
.blog-hero,
.blog-post-header { margin-bottom: 22px; padding: 34px 36px; border: 1px solid #334155; border-radius: 22px; background: linear-gradient(135deg, rgba(30,41,59,.96), rgba(15,23,42,.98)); box-shadow: 0 22px 70px rgba(2,6,23,.22); }
.blog-hero h1,
.blog-post-header h1 { max-width: 840px; margin: 0 0 16px; color: #fbbf24; font-family: inherit; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.025em; }
.blog-hero p,
.blog-post-header p { max-width: 880px; margin: 0; color: #cbd5e1; font-size: 18px; line-height: 1.72; }
.blog-kicker { display: inline-flex; width: max-content; margin-bottom: 16px; padding: 7px 12px; border: 1px solid rgba(251,191,36,.25); border-radius: 999px; background: rgba(251,191,36,.08); color: #fbbf24; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.blog-category-filter { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; padding: 18px 20px; border: 1px solid #334155; border-radius: 18px; background: #1e293b; color: #cbd5e1; }
.blog-category-filter-text { display: grid; gap: 4px; }
.blog-category-filter-text strong { color: #fbbf24; font-size: 15px; }
.blog-category-filter-text span { color: #94a3b8; font-size: 13px; }
.blog-category-select-wrap select { border: 1px solid #475569; border-radius: 999px; background: #0f172a; color: #e2e8f0; }
.blog-category-select-wrap::after { border-color: #fbbf24; }
.blog-card,
.blog-article,
.blog-downloads,
.blog-related,
.blog-adjacent,
.blog-empty { border: 1px solid #334155; background: #1e293b; color: #cbd5e1; box-shadow: none; }
.blog-card { border-radius: 18px; }
.blog-card:hover { border-color: rgba(251,191,36,.45); transform: translateY(-1px); }
.blog-card-image { border: 1px solid #334155; border-radius: 14px; background: linear-gradient(135deg, #111827, #1e293b); }
.blog-card h2 a { color: #e2e8f0; }
.blog-card h2 a:hover,
.blog-meta a,
.blog-read-more,
.blog-article a,
.blog-related a,
.blog-adjacent a { color: #fbbf24; }
.blog-meta { color: #94a3b8; }
.blog-post-page { max-width: 940px; }
.blog-post-header { display: block !important; padding: 42px 46px; }
.blog-post-header h1 { font-size: clamp(24px, 2.6vw, 32px); }
.blog-post-header .blog-meta,
.blog-post-header .blog-post-byline { color: #94a3b8; }
.blog-featured-image { float: right; width: 42%; max-width: 360px; margin: 0 0 22px 28px; overflow: hidden; border: 1px solid #334155; border-radius: 16px; background: #0f172a; }
.blog-article { display: flow-root; padding: 38px 42px; border-radius: 20px; box-shadow: 0 18px 60px rgba(2,6,23,.18); font-size: 17px; line-height: 1.86; }
.blog-article h2,
.blog-article h3,
.blog-article h4 { margin: 28px 0 12px; color: #fbbf24; line-height: 1.25; }
.blog-article blockquote { margin: 22px 0; padding: 16px 18px; border-left: 4px solid #fbbf24; border-radius: 0 12px 12px 0; background: rgba(15,23,42,.42); }
.blog-article pre { padding: 16px; overflow: auto; border: 1px solid #334155; border-radius: 14px; background: #020617; }
.blog-downloads,
.blog-related,
.blog-adjacent { margin-top: 22px; padding: 22px; border-radius: 18px; }
.blog-downloads h2,
.blog-related h2 { color: #fbbf24; }
@media (max-width: 760px) {
	.blog-card { grid-template-columns: 180px minmax(0, 1fr); }
	.blog-post-header { padding: 32px 28px; }
	.blog-featured-image { width: 44%; max-width: 300px; margin: 0 0 18px 22px; }
	.blog-article { padding: 30px 28px; }
}
@media (max-width: 640px) {
	.blog-hero,
	.blog-post-header { padding: 24px; }
	.blog-hero h1 { font-size: 31px; }
	.blog-post-header h1 { font-size: 25px; }
	.blog-card { grid-template-columns: 1fr; }
	.blog-featured-image { float: none; width: 100%; max-width: none; margin: 0 0 22px; }
	.blog-article { padding: 22px; }
}
