:root { color-scheme: dark; --accent: #ff4d8d; --page: #070707; --surface: #121212; --text: #fff; --muted: #aaa7ad; --line: rgba(255,255,255,.1); }
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--page); }
body { min-height: 100vh; margin: 0; background: var(--page); color: var(--text); font-family: "Manrope", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.blog-loading-screen { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; background: #070707; color: var(--muted); font-size: 12px; }
html:not(.blog-loading) .blog-loading-screen { display: none; }
.blog-ambient { position: fixed; z-index: -1; top: -180px; left: 50%; width: min(900px, 100vw); height: 520px; border-radius: 50%; background: var(--accent); opacity: .12; filter: blur(150px); transform: translateX(-50%); pointer-events: none; }
.blog-shell { width: min(calc(100% - 36px), 920px); margin: 0 auto; padding: 22px 0 70px; }
.blog-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 56px; }
.back-link, .article-back { color: var(--muted); font-size: 12px; font-weight: 700; text-decoration: none; }
.back-link:hover, .article-back:hover { color: #fff; }
.blog-identity { display: flex; align-items: center; gap: 10px; }
.blog-identity img { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; object-fit: cover; }
.blog-identity span { display: grid; text-align: right; }
.blog-identity small { color: var(--muted); font-size: 9px; }
.blog-identity strong { font-size: 12px; }
.blog-title-block { padding: clamp(62px, 10vw, 110px) 0 34px; }
.blog-title-block p, .article-date { margin: 0 0 10px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.blog-title-block h1 { max-width: 720px; margin: 0; font-size: clamp(36px, 7vw, 68px); line-height: 1.02; letter-spacing: -3px; }
.blog-list { display: grid; gap: 16px; }
.blog-post-card { display: grid; grid-template-columns: minmax(160px, 34%) 1fr; min-height: 220px; overflow: hidden; border: 1px solid var(--line); border-radius: 23px; background: var(--surface); text-decoration: none; transition: transform .22s ease, border-color .22s ease; }
.blog-post-card:hover { border-color: color-mix(in srgb, var(--accent) 55%, white); transform: translateY(-3px); }
.blog-post-card > img, .post-placeholder { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.post-placeholder { display: grid; place-items: center; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 35%, #15151a), #17171c); font-size: 34px; }
.post-copy { display: grid; align-content: center; gap: 9px; padding: clamp(22px, 5vw, 42px); }
.post-copy small { color: var(--accent); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.post-copy strong { font-size: clamp(22px, 4vw, 34px); line-height: 1.12; letter-spacing: -1px; }
.post-copy > span { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 13px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.blog-empty { padding: 70px 24px; border: 1px dashed var(--line); border-radius: 22px; color: var(--muted); text-align: center; }
.blog-article { width: min(100%, 760px); margin: 62px auto 0; }
.article-back { display: inline-block; margin-bottom: 30px; }
.article-cover { width: 100%; max-height: 520px; margin-bottom: 30px; border: 1px solid var(--line); border-radius: 24px; object-fit: cover; }
.blog-article h1 { margin: 0; font-size: clamp(38px, 7vw, 66px); line-height: 1.03; letter-spacing: -2.5px; }
.article-excerpt { margin: 22px 0 32px; color: #d3d1d7; font-size: clamp(17px, 2.6vw, 21px); line-height: 1.6; }
.article-body { color: #c2bfc7; font-size: 16px; line-height: 1.85; }
.article-body p { margin: 0 0 24px; white-space: pre-line; }
@media (max-width: 620px) {
  .blog-shell { width: min(calc(100% - 24px), 920px); padding-top: 10px; }
  .blog-title-block { padding-top: 54px; }
  .blog-title-block h1 { letter-spacing: -2px; }
  .blog-post-card { grid-template-columns: 1fr; }
  .blog-post-card > img, .post-placeholder { height: 210px; min-height: 0; }
  .post-copy { padding: 24px; }
  .blog-article { margin-top: 38px; }
}
