:root { --background: #ffffff; --surface: #ffffff; --text: #17191f; --muted: #697083; --line: #e5e8ee; --soft: #f5f7fa; --brand: #315bea; --brand-soft: #eef2ff; --max-width: 980px; } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; min-width: 320px; background: var(--background); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 16px; line-height: 1.65; } a { color: inherit; text-decoration: none; } button { font: inherit; } .page { width: min(calc(100% - 40px), var(--max-width)); margin: 0 auto; padding: 64px 0 72px; } .page-header { padding-bottom: 48px; border-bottom: 1px solid var(--line); } .brand-lockup { display: flex; align-items: center; gap: 22px; width: fit-content; padding: 14px 22px; border-radius: 16px; background: linear-gradient(135deg, #111827 0%, #1e293b 55%, #263b67 100%); box-shadow: 0 10px 24px rgba(30, 41, 59, 0.16); } .site-logo { display: block; width: 150px; height: auto; max-height: 52px; object-fit: contain; } .logo-fallback { display: none; font-size: 1.6rem; letter-spacing: -0.04em; color: #ffffff; } h1, h2 { margin: 0; line-height: 1.2; letter-spacing: -0.035em; } h1 { margin: 0; font-size: clamp(2.4rem, 6vw, 4rem); color: #ffffff; } .brand-tagline { max-width: 620px; margin: 24px 0 0; color: var(--muted); font-size: 1.08rem; } .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 42px 0 20px; } .section-heading h2 { font-size: 1.35rem; } .post-count { color: var(--muted); font-size: 14px; } .filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; } .filter-button { padding: 6px 10px; border: 1px solid #dbe7fb; border-radius: 8px; background: #f4f8ff; color: var(--muted); font-size: 13px; cursor: pointer; } .filter-button:hover, .filter-button.is-active { border-color: #b9c9f7; background: #eaf1ff; color: var(--brand); } .post-list { display: grid; gap: 18px; } .post-card { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color 160ms ease, box-shadow 160ms ease; } .post-card:hover { border-color: #c2caf0; box-shadow: 0 14px 38px rgba(40, 52, 86, 0.08); } .post-image { display: block; min-height: 150px; overflow: hidden; border-radius: 11px; background: var(--soft); } .post-image img { display: block; width: 100%; height: 100%; min-height: 150px; object-fit: cover; transition: transform 220ms ease; } .post-card:hover .post-image img { transform: scale(1.025); } .post-content { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; justify-content: center; } .post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; } .tag { padding: 3px 8px; border-radius: 6px; background: var(--brand-soft); color: var(--brand); font-weight: 700; } .post-content h2 { margin: 12px 0 10px; font-size: clamp(1.05rem, 1.8vw, 1.32rem); } .post-content h2 a:hover { color: var(--brand); } .post-content p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--muted); font-size: 14px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; } .read-link { margin-top: 14px; color: var(--brand); font-size: 14px; font-weight: 700; } .read-link:hover { text-decoration: underline; text-underline-offset: 4px; } .footer { width: min(calc(100% - 40px), var(--max-width)); margin: 0 auto; padding: 24px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; } @media (max-width: 720px) { .page { width: min(calc(100% - 32px), var(--max-width)); padding-top: 42px; } .site-logo { width: 132px; } .brand-lockup { align-items: flex-start; flex-direction: column; gap: 18px; } .post-card { grid-template-columns: 1fr; gap: 16px; } .post-image, .post-image img { min-height: 210px; } .footer { width: min(calc(100% - 32px), var(--max-width)); } } @media (max-width: 430px) { .section-heading { align-items: flex-start; flex-direction: column; gap: 5px; } .post-image, .post-image img { min-height: 175px; } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }