main.page-content { padding-top: 7rem !important; padding-bottom: 4rem !important; }
@media (min-width: 768px) {
  main.page-content { padding-top: 8.5rem !important; padding-bottom: 5rem !important; }
}
.blog-prose h2 { font-size: 1.5rem; font-weight: 700; line-height: 1.45; margin: 1.75rem 0 0.85rem; color: #111827; scroll-margin-top: 6rem; }
.blog-prose h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.45; margin: 1.5rem 0 0.65rem; color: #1f2937; scroll-margin-top: 6rem; }
@media (min-width: 768px) {
  .blog-prose h2 { font-size: 1.65rem; line-height: 1.4; }
  .blog-prose h3 { font-size: 1.375rem; line-height: 1.4; }
}

.blog-prose p { margin: 0 0 1rem; line-height: 1.75; color: #374151; }
.blog-prose ul, .blog-prose ol, .blog-prose ul.wp-block-list, .blog-prose ol.wp-block-list { margin: 0 0 1.25rem; padding-left: 1.5rem; color: #374151; }
.blog-prose ul, .blog-prose ul.wp-block-list { list-style-type: disc; list-style-position: outside; }
.blog-prose ol, .blog-prose ol.wp-block-list { list-style-type: decimal; list-style-position: outside; }
.blog-prose li { display: list-item; margin-bottom: 0.45rem; line-height: 1.75; padding-left: 0.2rem; }
.blog-prose li::marker { color: #6366f1; }
.blog-prose ul ul, .blog-prose ol ul { list-style-type: circle; margin-top: 0.45rem; margin-bottom: 0.45rem; }
.blog-prose img { border-radius: 12px; margin: 1.25rem 0; max-width: 100%; height: auto; }
.blog-prose a { color: #4f46e5; text-decoration: underline; }
.blog-prose blockquote { border-left: 4px solid #6366f1; padding-left: 1rem; color: #4b5563; margin: 1.25rem 0; }
.blog-card { position: relative; transition: all 0.2s ease; border: 1px solid #e5e7eb; }
.blog-card-media { aspect-ratio: 3 / 2; overflow: hidden; background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%); }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-media--empty { display: flex; align-items: center; justify-content: center; }
.blog-featured-media { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 1rem; margin: 2rem 0 0.5rem; background: #f3f4f6; }
.blog-featured-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-archive-media { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 1rem; max-width: 48rem; margin: 0 auto 2.5rem; background: #f3f4f6; }
.blog-archive-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card:hover { border-color: #a5b4fc; box-shadow: 0 8px 25px -5px rgba(99,102,241,0.12); transform: translateY(-2px); }
.blog-card-stretched-link { position: static; color: inherit; text-decoration: none; }
.blog-card-stretched-link::after { position: absolute; inset: 0; content: ''; z-index: 1; }
.blog-card-stretched-link:hover { color: #4f46e5; }
.blog-card-category { position: relative; z-index: 2; }
.blog-pager a, .blog-pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; height: 2.5rem; padding: 0 0.75rem; border-radius: 0.75rem; font-size: 0.875rem; font-weight: 600; }
.blog-pager a { background: #fff; border: 1px solid #e5e7eb; color: #374151; }
.blog-pager a:hover { border-color: #6366f1; color: #4f46e5; }
.blog-pager .is-active { background: #4f46e5; border-color: #4f46e5; color: #fff; }
.blog-share { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem; margin-top: 3.5rem; padding-top: 3rem; border-top: 1px solid #f3f4f6; }
.blog-card-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.blog-card-title { font-size: 1.125rem; font-weight: 700; margin: 0 0 0.5rem; line-height: 1.35; }
.blog-card-title a { color: inherit; text-decoration: none; }
.blog-card-meta { font-size: 0.75rem; color: #9ca3af; margin-top: auto; }
.blog-card--compact { border-radius: 0.75rem; }
.blog-card--compact .blog-card-body { padding: 0.75rem 0.875rem; }
.blog-card--compact .blog-card-title { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.25rem; }
.blog-card--compact .blog-card-meta { font-size: 0.6875rem; }
.blog-card--compact .blog-card-media--empty .material-icons { font-size: 2rem; }
.blog-related { margin-top: 3.5rem; padding-top: 3rem; border-top: 1px solid #f3f4f6; }
.blog-related-title { font-size: 1.0625rem; font-weight: 700; color: #111827; margin: 0 0 1.25rem; }
.blog-related-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .blog-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; } }
.blog-share-label { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; font-weight: 600; color: #6b7280; white-space: nowrap; flex-shrink: 0; }
.blog-share-label .material-icons { font-size: 1rem; line-height: 1; }
.blog-share-actions { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.blog-share a { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.85rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 600; border: 1px solid #e5e7eb; color: #4b5563; text-decoration: none; white-space: nowrap; }
.blog-share a:hover { border-color: #a5b4fc; color: #4f46e5; background: #eef2ff; }
.blog-share-icon { width: 0.95rem; height: 0.95rem; flex-shrink: 0; display: block; }
.blog-crumb { font-size: 0.875rem; color: #6366f1; }
.blog-crumb a { color: #6366f1; text-decoration: none; }
.blog-crumb a:hover { text-decoration: underline; }
.blog-crumb .sep { margin: 0 0.4rem; color: #94a3b8; }
.blog-crumb .current { color: #64748b; }
.blog-post-shell { max-width: 980px; margin: 0 auto; }
.blog-post-layout { display: grid; gap: 2rem; }
@media (min-width: 960px) {
  .blog-post-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 2.75rem; align-items: start; }
}
.blog-sidebar-wrap { display: none; }
@media (min-width: 960px) {
  .blog-sidebar-wrap { display: block; position: sticky; top: 6.5rem; max-height: calc(100vh - 7.5rem); overflow: auto; }
}
.blog-toc-inline { background: #f3f4f6; border-radius: 0.75rem; padding: 1.15rem 1.25rem 1.2rem; margin: 0 0 2rem; }
.blog-toc-title { font-size: 1.05rem; font-weight: 700; color: #111827; margin: 0 0 0.85rem; }
.blog-toc { list-style: none; margin: 0; padding: 0; }
.blog-toc li + li { margin-top: 0.55rem; }
.blog-toc a { display: block; color: #374151; font-size: 0.95rem; line-height: 1.45; text-decoration: none; }
.blog-toc a:hover { color: #4f46e5; }
.blog-toc .toc-l2 > a.toc-h2 { position: relative; padding-left: 1.15rem; font-weight: 600; }
.blog-toc .toc-l2 > a.toc-h2::before { content: ''; position: absolute; left: 0; top: 0.58em; width: 0.42rem; height: 0.42rem; border-radius: 9999px; background: #818cf8; }
.blog-toc .toc-l3 { padding-left: 1.65rem; }
.blog-toc .toc-l3 > a.toc-h3 { padding-left: 0.25rem; font-size: 0.9rem; color: #6b7280; font-weight: 400; }
.blog-toc .toc-l3 > a.toc-h3:hover { color: #4f46e5; }
.blog-side-card { border: 1px solid #e5e7eb; border-radius: 1rem; padding: 1rem; background: #fff; margin-bottom: 1rem; }
.blog-side-card h3 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #64748b; margin: 0 0 0.75rem; }
.blog-promo { background: linear-gradient(145deg, #4f46e5 0%, #7c3aed 55%, #2563eb 100%); color: #fff; border: none; padding: 1.25rem 1.15rem 1.2rem; }
.blog-promo .promo-kicker { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.8); margin-bottom: 0.55rem; }
.blog-promo .promo-title { font-size: 1.45rem; line-height: 1.2; font-weight: 800; color: #fff; margin: 0 0 0.65rem; letter-spacing: -0.02em; }
.blog-promo p { color: rgba(255,255,255,0.92); font-size: 0.92rem; line-height: 1.5; margin: 0 0 1.1rem; }
.blog-promo a.cta { display: inline-flex; align-items: center; justify-content: center; width: 100%; padding: 0.8rem 1rem; border-radius: 0.75rem; background: #fff; color: #4f46e5; font-weight: 800; font-size: 0.95rem; text-decoration: none; box-shadow: 0 8px 20px rgba(15,23,42,0.18); }
.blog-promo a.cta:hover { background: #eef2ff; }
.blog-popular a { display: flex; gap: 0.75rem; text-decoration: none; padding: 0.55rem 0; border-bottom: 1px solid #f3f4f6; }
.blog-popular a:last-child { border-bottom: none; padding-bottom: 0; }
.blog-popular a:first-child { padding-top: 0; }
.blog-popular img, .blog-popular .ph { width: 56px; height: 42px; border-radius: 0.5rem; object-fit: cover; flex-shrink: 0; background: #eef2ff; }
.blog-popular .meta { font-size: 0.72rem; color: #94a3b8; margin-top: 0.2rem; }
.blog-popular .t { font-size: 0.84rem; font-weight: 600; color: #111827; line-height: 1.35; }
.blog-popular a:hover .t { color: #4f46e5; }
.blog-author-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.25rem; }
.blog-author { display: flex; align-items: center; gap: 0.65rem; color: #64748b; font-size: 0.9rem; }
.blog-author-avatar { width: 36px; height: 36px; border-radius: 9999px; object-fit: cover; background: linear-gradient(135deg,#c7d2fe,#a5b4fc); display: inline-flex; align-items: center; justify-content: center; color: #3730a3; font-weight: 700; font-size: 0.8rem; }
.blog-meta-right { display: flex; align-items: center; gap: 1rem; color: #64748b; font-size: 0.9rem; }
.blog-meta-right .rt { display: inline-flex; align-items: center; gap: 0.3rem; }
.blog-hero { background: linear-gradient(135deg, rgba(238, 242, 255, 0.9) 0%, #fff 45%, rgba(250, 245, 255, 0.85) 100%); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); padding: 2.25rem 1.5rem 2.5rem; }
@media (min-width: 768px) { .blog-hero { padding: 2.75rem 2.5rem 3rem; } }
.blog-hero-accent { background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.blog-search-wrap { display: flex; align-items: center; background: #fff; border: 1px solid #e5e7eb; border-radius: 0.75rem; transition: box-shadow 0.15s ease, border-color 0.15s ease; }
.blog-search-wrap:focus-within { border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12); }
.blog-search-wrap .material-icons { flex-shrink: 0; margin-left: 0.875rem; color: #9ca3af; font-size: 1.25rem; }
.blog-search { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; padding: 0.75rem 1rem 0.75rem 0.5rem; font-size: 0.875rem; line-height: 1.25rem; color: #111827; }
.blog-search::placeholder { color: #9ca3af; }
.blog-search-submit { flex-shrink: 0; margin-right: 0.35rem; padding: 0.5rem 0.85rem; border-radius: 0.5rem; background: #4f46e5; color: #fff; font-size: 0.75rem; font-weight: 600; border: none; cursor: pointer; }
.blog-search-submit:hover { background: #4338ca; }
.blog-back-to-top { position: fixed; right: calc(20px + (60px - 48px) / 2); bottom: 92px; z-index: 2147482998; width: 48px; height: 48px; border-radius: 9999px; border: 1px solid #e5e7eb; background: #fff; color: #4f46e5; box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12); display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease; }
.blog-back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.blog-back-to-top:hover { background: #eef2ff; border-color: #a5b4fc; }
.blog-back-to-top .material-icons { font-size: 1.5rem; line-height: 1; }
@media (max-width: 480px) {
  .blog-back-to-top { right: calc(16px + (64px - 44px) / 2); bottom: calc(92px + env(safe-area-inset-bottom, 0px)); width: 44px; height: 44px; }
}
