.blog-featured {
display: grid;
grid-template-columns: 1.1fr 1fr;
gap: var(--space-6);
align-items: center;
background: var(--white);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
overflow: hidden;
box-shadow: var(--shadow-sm);
margin-bottom: var(--space-6);
}
.blog-featured__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--slate-100); }
.blog-featured__media img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured__body { padding: var(--space-6); display: flex; flex-direction: column; gap: 0.7rem; }
.blog-featured__body > .btn,
.blog-featured__body > .chip {
width: auto;
align-self: flex-start;
}
.card__body > .chip {
width: auto;
align-self: flex-start;
}
.blog-featured__body h2 { font-size: var(--fs-h3); }
.blog-featured__body h2 a { color: var(--text-heading); text-decoration: none; }
.blog-featured__body h2 a:hover {
color: var(--red-press);
text-decoration: underline;
text-decoration-color: var(--red);
text-decoration-thickness: 2px;
}
.blog-featured__body p { color: var(--text-muted); font-size: 0.96rem; }
@media (max-width: 800px) { .blog-featured { grid-template-columns: 1fr; } }
.blog-cats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--space-6); }
.blog-cats__btn {
width: auto;
flex: 0 0 auto;
padding: 0.5rem 1rem;
border: 1px solid var(--border);
border-radius: var(--radius-pill);
background: var(--white);
font-family: var(--font-display); font-weight: 500; font-size: 0.9rem;
color: var(--slate-700);
transition: all var(--dur) var(--ease);
}
.blog-cats__btn:hover { border-color: var(--ink); }
.blog-cats__btn.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination {
display: flex; align-items: center; justify-content: center; gap: 0.4rem;
margin-top: var(--space-8);
}
.pagination a, .pagination span {
min-width: 42px; height: 42px;
display: inline-flex; align-items: center; justify-content: center;
border: 1px solid var(--border); border-radius: var(--radius-sm);
background: var(--white); color: var(--slate-700);
text-decoration: none; font-family: var(--font-display); font-weight: 500;
transition: all var(--dur) var(--ease);
}
.pagination a:hover {
border-color: var(--ink);
background: var(--slate-100);
color: var(--ink);
text-decoration: none;
}
.pagination a svg, .pagination span svg { width: 18px; height: 18px; }
.pagination .is-current { background: var(--red-deep); color: #fff; border-color: var(--red-deep); }
.pagination .is-disabled { opacity: 0.4; cursor: not-allowed; }
.article { padding-block: var(--space-6) var(--space-8); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.article-main { min-width: 0; }
.article__header { margin-bottom: var(--space-5); max-width: 900px; }
.article__title { font-size: clamp(2.1rem, 5vw, 3.65rem); line-height: 1.08; letter-spacing: -0.035em; margin: var(--space-3) 0; text-wrap: balance; }
.article__meta {
display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center;
font-size: var(--fs-small); color: var(--text-muted); font-family: var(--font-mono);
}
.article__hero-media { position: relative; aspect-ratio: 16 / 9; border-radius: calc(var(--radius-lg) + 4px); overflow: hidden; margin-bottom: var(--space-7); background: var(--slate-900); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 24px 60px rgba(19, 25, 34, .18); }
.article__hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); border-radius: inherit; }
.article__hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.article__hero-media:hover img { transform: scale(1.015); }
.article__body { font-size: 1.0625rem; line-height: 1.78; }
.article__body > * { max-width: 74ch; }
.article__body h2 { font-size: clamp(1.55rem, 2.8vw, 2.05rem); line-height: 1.25; letter-spacing: -.018em; margin-top: var(--space-8); margin-bottom: var(--space-3); padding-top: .25rem; scroll-margin-top: calc(var(--header-h) + 1.5rem); text-wrap: balance; }
.article__body h3 { font-size: 1.25rem; line-height: 1.35; margin-top: var(--space-6); margin-bottom: var(--space-2); }
.article__body h4 { font-size: 1rem; line-height: 1.4; margin-top: var(--space-5); margin-bottom: var(--space-2); color: var(--slate-800); text-transform: uppercase; letter-spacing: .04em; }
.article__body p { margin-bottom: var(--space-4); color: var(--slate-700); }
.article__body ul, .article__body ol { margin-bottom: var(--space-4); padding-left: 1.4rem; }
.article__body li { margin-bottom: .65rem; padding-left: .25rem; color: var(--slate-700); }
.article__body li::marker { color: var(--red-deep); font-weight: 700; }
.article__body a { color: var(--red-deep); font-weight: 500; }
.article__body a:hover {
color: var(--ink);
text-decoration-color: var(--red);
text-decoration-thickness: 2px;
}
.article__body strong { color: var(--text-heading); }
.article__body blockquote {
margin: var(--space-5) 0; padding: var(--space-4) var(--space-5);
border-left: 4px solid var(--red); background: var(--red-soft);
border-radius: 0 var(--radius-md) var(--radius-md) 0;
font-style: italic; color: var(--slate-800);
}
.article__body blockquote p { margin: 0; max-width: none; }
.article__callout {
margin: var(--space-5) 0; padding: var(--space-5);
background: var(--slate-100); border: 1px solid var(--border);
border-radius: var(--radius-md);
}
.article__callout h3 { margin-top: 0; }
.article__body figure { margin: var(--space-5) 0; }
.article__body figure img { border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.article__body figcaption { font-size: var(--fs-small); color: var(--text-muted); margin-top: 0.5rem; text-align: center; }
.article__body table { width: 100%; border-collapse: separate; border-spacing: 0; margin: var(--space-6) 0; font-size: 0.92rem; line-height: 1.55; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.article__body th, .article__body td { padding: .85rem 1rem; border: 0; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.article__body th + th, .article__body td + td { border-left: 1px solid var(--border); }
.article__body tbody tr:last-child td { border-bottom: 0; }
.article__body tbody tr:nth-child(even) { background: var(--slate-50); }
.article__body thead th { background: var(--slate-800); color: var(--white); font-family: var(--font-display); }
.article-side { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.side-toc {
background: linear-gradient(180deg, var(--white), var(--slate-50)); border: 1px solid var(--border);
border-radius: var(--radius-lg); padding: var(--space-5); box-shadow: var(--shadow-sm);
}
.side-toc__title { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--space-3); }
.side-toc ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.2rem; }
.side-toc a {
display: block; padding: 0.4rem 0.6rem; border-radius: var(--radius-sm);
color: var(--slate-500); text-decoration: none; font-size: 0.88rem;
border-left: 2px solid transparent;
transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.side-toc a:hover {
color: var(--ink);
background: var(--slate-100);
border-left-color: var(--slate-400);
text-decoration: none;
}
.side-toc a.is-current { color: var(--red-press); border-left-color: var(--red); font-weight: 500; }
@media (max-width: 960px) {
.article-layout { grid-template-columns: 1fr; }
.article-side { display: none; }
}
@media (max-width: 640px) {
.article { padding-top: var(--space-4); }
.article__hero-media { border-radius: var(--radius-md); margin-inline: calc(var(--container-pad) * -.35); }
.article__body { font-size: 1rem; line-height: 1.72; }
.article__body table { display: block; overflow-x: auto; white-space: normal; }
}
.read-progress {
position: fixed; top: 0; left: 0; right: 0; height: 3px;
background: transparent; z-index: 110;
}
.read-progress__fill {
display: block; height: 100%; width: 100%;
background: var(--red); transform: scaleX(0); transform-origin: 0 50%;
}
.author-box {
display: flex; gap: var(--space-4); align-items: center;
margin-top: var(--space-7); padding: var(--space-5);
background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.author-box__avatar {
width: 56px; height: 56px; flex: none; border-radius: 50%;
background: var(--slate-800); color: #fff;
display: inline-flex; align-items: center; justify-content: center;
font-family: var(--font-display); font-weight: 700;
}
.author-box__name { font-weight: 600; color: var(--text-heading); }
.author-box__role { font-size: var(--fs-small); color: var(--text-muted); }
.related-posts { margin-top: var(--space-8); }
.related-posts h2 { font-size: var(--fs-h3); margin-bottom: var(--space-5); }
.share-row { display: flex; align-items: center; gap: 0.6rem; margin-top: var(--space-6); flex-wrap: wrap; }
.share-row__label { font-size: var(--fs-small); color: var(--text-muted); font-family: var(--font-mono); }
.share-btn {
width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
border: 1px solid var(--border); border-radius: 50%; background: var(--white); color: var(--slate-700);
transition: all var(--dur) var(--ease); text-decoration: none;
}
.share-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.share-btn svg { width: 18px; height: 18px; }
.blog-empty{
text-align:center;
padding:2.5rem 1rem;
color:var(--text-muted);
font-size:1.05rem;
background:var(--slate-100);
border:1px dashed var(--border);
border-radius:var(--radius-md);
margin-top:1.5rem;
}
