.blog-page { min-width: 0; }
.blog-header { padding-bottom: 4rem; }
.blog-header .brand-lockup { color: #fff; text-decoration: none; }
.blog-header .tagline { display: block; color: rgba(255,255,255,0.82); }
.nav-current { color: #fff !important; font-weight: 700; }
.blog-login-link { padding: 0.5rem 0.85rem; border: 1px solid rgba(255,255,255,0.45); border-radius: 7px; color: #fff; font-size: 0.9rem; font-weight: 700; text-decoration: none; }
.blog-login-link:hover { background: rgba(255,255,255,0.12); }
.blog-main { min-height: 60vh; }
.blog-heading { padding-top: 1.25rem; padding-bottom: 2.5rem; }
.blog-breadcrumb { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0 0 1rem; color: var(--muted); font-size: 0.84rem; }
.blog-breadcrumb a { color: var(--brand-dark); text-decoration: none; }
.blog-heading h1, .article-detail h1 { max-width: 48rem; margin: 0; color: var(--text); font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 1; }
.blog-heading > p:last-child { max-width: 39rem; margin: 1rem 0 0; color: var(--muted); font-size: 1.05rem; }
.blog-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(17rem, 0.85fr); align-items: start; gap: clamp(2rem, 5vw, 5rem); padding-bottom: 5rem; }
.post-list { min-width: 0; }
.post-list-item { display: grid; grid-template-columns: minmax(12rem, 0.82fr) minmax(0, 1.18fr); gap: clamp(1.1rem, 2.5vw, 2rem); padding: 0 0 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.post-image { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: var(--brand-soft); }
.post-image img, .sidebar-about > img, .article-detail > img, .popular-post img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.post-image:hover img { transform: scale(1.035); }
.post-copy { min-width: 0; align-self: center; }
.post-category { display: inline-block; color: var(--brand-dark); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-decoration: none; text-transform: uppercase; }
.post-copy h2 { margin: 0.45rem 0 0.65rem; font-size: clamp(1.28rem, 2.1vw, 1.85rem); line-height: 1.15; }
.post-copy h2 a { color: var(--text); text-decoration: none; transition: color 0.2s ease; }
.post-copy h2 a:hover { color: var(--brand-dark); }
.post-copy h2, .post-copy p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; }
.post-copy h2 { -webkit-line-clamp: 3; }
.post-copy p { margin: 0; color: var(--muted); line-height: 1.55; -webkit-line-clamp: 3; }
.post-meta { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.9rem; color: var(--muted); font-size: 0.8rem; }
.blog-sidebar { display: grid; gap: 1.5rem; min-width: 0; }
.sidebar-about, .sidebar-module { padding: 1.25rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,253,251,0.8); }
.sidebar-about > img { display: block; aspect-ratio: 1.35 / 1; margin: -1.25rem -1.25rem 1.25rem; border-radius: 12px 12px 0 0; }
.sidebar-about h2, .sidebar-module h2 { margin: 0.35rem 0 0.6rem; font-size: 1.25rem; line-height: 1.2; }
.sidebar-about p:not(.section-kicker) { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.55; }
.sidebar-link { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 1rem; color: var(--brand-dark); font-size: 0.86rem; font-weight: 700; text-decoration: none; }
.sidebar-link svg { width: 15px; }
.popular-list { display: grid; gap: 0.9rem; margin: 0; padding: 0; list-style: none; }
.popular-post { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: 0.7rem; color: var(--text); text-decoration: none; }
.popular-post img { aspect-ratio: 1; border-radius: 7px; }
.popular-post strong { display: -webkit-box; overflow: hidden; font-size: 0.86rem; line-height: 1.28; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.popular-post small { display: block; margin-top: 0.3rem; color: var(--muted); font-size: 0.72rem; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tag-cloud a { padding: 0.35rem 0.55rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 0.76rem; text-decoration: none; }
.tag-cloud a:hover { border-color: var(--brand); color: var(--brand-dark); }
.blog-pagination { display: flex; flex-wrap: wrap; gap: 0.4rem; padding-top: 0.5rem; }
.blog-pagination a { display: grid; width: 2.4rem; height: 2.4rem; place-items: center; border: 1px solid var(--line); border-radius: 7px; color: var(--text); font-size: 0.85rem; font-weight: 700; text-decoration: none; }
.blog-pagination a[aria-current="page"] { border-color: var(--brand); background: var(--brand); color: #fff; }
.blog-pagination a:hover:not(.is-disabled) { border-color: var(--brand); color: var(--brand-dark); }
.blog-pagination .is-disabled { opacity: 0.4; pointer-events: none; }
.pagination-arrow svg { width: 16px; }
.article-shell { max-width: 52rem; padding-top: 1.25rem; padding-bottom: 5rem; }
.article-detail { min-width: 0; }
.article-detail h1 { margin-top: 0.45rem; font-size: clamp(2.2rem, 5.5vw, 4.25rem); }
.article-detail > img { display: block; width: 100%; aspect-ratio: 16 / 9; margin: 2rem 0; border-radius: 12px; }
.article-detail p:not(.post-category):not(.post-meta) { max-width: 44rem; color: var(--ink-soft); font-size: 1.08rem; line-height: 1.75; }
.article-detail .article-lead { color: var(--text) !important; font-size: 1.25rem !important; font-weight: 500; }
.article-back { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 1.5rem; color: var(--brand-dark); font-weight: 700; text-decoration: none; }
.article-back svg { width: 17px; }
.blog-footer a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.9rem; }
.blog-footer a:hover { color: #fff; }
.footer-muted { margin: 0; color: rgba(255,255,255,0.78); font-size: 0.9rem; }
.empty-state { padding: 2rem 0; color: var(--muted); }
@media (min-width: 1000px) { .blog-sidebar { position: sticky; top: 1.5rem; } }
@media (max-width: 850px) { .blog-layout { grid-template-columns: 1fr; } .blog-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sidebar-about { grid-row: span 2; } }
@media (max-width: 640px) { .blog-header { padding-bottom: 3.5rem; } .blog-header .container { align-items: center; } .blog-login-link { margin-left: auto; } .blog-heading { padding-top: 0.5rem; padding-bottom: 1.75rem; } .post-list-item { grid-template-columns: 1fr; gap: 1rem; padding-bottom: 1.5rem; margin-bottom: 1.5rem; } .post-image { aspect-ratio: 16 / 10; } .blog-sidebar { grid-template-columns: 1fr; } .sidebar-about { grid-row: auto; } .blog-layout { padding-bottom: 3rem; } }
@media (max-width: 430px) { .blog-header .main-nav { gap: 0.6rem; } .blog-login-link { padding: 0.45rem 0.6rem; } .post-copy h2 { font-size: 1.35rem; } .blog-pagination a { width: 2.2rem; height: 2.2rem; } }
