@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;600;700&display=swap');

:root {
  font-family: 'DM Sans', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: #202824;
  background: #fff;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
a:focus-visible { outline: 3px solid #1b9b72; outline-offset: 4px; border-radius: 3px; }

.blog-nav { background: #fff; border-bottom: 1px solid #e9eee9; }
.nav-inner { width: min(1200px, calc(100% - 48px)); min-height: 80px; margin: auto; display: flex; align-items: center; gap: 34px; }
.blog-brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; font-size: 19px; font-weight: 800; letter-spacing: -.035em; white-space: nowrap; }
.blog-brand img { display: block; width: auto; max-width: 154px; height: 37px; object-fit: contain; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #0f8764; color: #fff; font-size: 24px; font-weight: 800; letter-spacing: -.1em; }
.brand-mark span { color: #bdea80; }
.blog-nav nav { display: flex; align-items: center; flex-wrap: wrap; gap: 27px; margin-left: auto; color: #3f4a42; font-size: 14px; font-weight: 600; }
.blog-nav nav a { position: relative; padding: 30px 0; transition: color .2s ease; }
.blog-nav nav a:hover, .blog-nav nav a[aria-current="page"] { color: #087b5a; }
.blog-nav nav a[aria-current="page"]::after { content: ''; position: absolute; right: 0; bottom: 0; left: 0; height: 3px; border-radius: 3px 3px 0 0; background: #0c8c64; }
.nav-cta { flex: none; display: inline-flex; align-items: center; gap: 16px; border-radius: 9px; padding: 11px 17px; background: #087c5a; color: #fff; font-size: 13px; font-weight: 700; transition: background .2s ease, transform .2s ease; }
.nav-cta:hover { background: #075e45; transform: translateY(-2px); }

main { width: min(1120px, calc(100% - 48px)); min-height: calc(100vh - 365px); margin: 0 auto; }
.blog-hero { padding: 113px 0 82px; text-align: center; }
.hero-eyebrow { margin: 0 0 23px; color: #0a8a64; font-size: 12px; font-weight: 800; letter-spacing: .19em; }
.hero-eyebrow span { margin: 0 7px; color: #afc6b8; }
.blog-hero h1 { margin: 0; color: #202823; font-size: clamp(38px, 5.3vw, 68px); font-weight: 800; letter-spacing: -.065em; line-height: 1.16; }
.blog-hero h1 span { margin-left: .16em; letter-spacing: -.075em; }
.blog-hero > p:last-child { max-width: 620px; margin: 24px auto 0; color: #69766d; font-size: 16px; line-height: 1.85; }
.blog-categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin: -26px 0 52px; }
.blog-categories a { padding: 9px 17px; border: 1px solid #e2eae3; border-radius: 999px; color: #5d6d62; font-size: 13px; font-weight: 700; transition: border-color .2s ease, background .2s ease; }
.blog-categories a:hover { border-color: #0b8b65; }
.blog-categories a[aria-current="page"] { border-color: #0b8060; background: #0b8060; color: #fff; }
.blog-collection-bar { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e7ece8; color: #8b948d; font-size: 14px; }
.collection-current { position: relative; display: inline-block; padding: 0 0 20px; color: #25322a; font-weight: 700; }
.collection-current::after { content: ''; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: #1b2b21; }
.collection-count { padding-bottom: 20px; font-size: 12px; }

.post-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 58px 30px; padding: 48px 0 105px; }
.post-card { min-width: 0; }
.post-cover { display: block; overflow: hidden; border-radius: 12px; aspect-ratio: 16 / 10; background: #edf3ef; }
.post-cover img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .4s ease; }
.post-cover:hover img { transform: scale(1.035); }
.post-cover-placeholder { position: relative; display: flex; width: 100%; height: 100%; min-height: 230px; overflow: hidden; flex-direction: column; justify-content: space-between; padding: 28px; color: #e9f5ec; background: radial-gradient(circle at 85% 20%, #238b72 0, transparent 27%), linear-gradient(130deg, #122d27 0%, #0b5444 63%, #123c32 100%); }
.post-cover-placeholder::before, .post-cover-placeholder::after { content: ''; position: absolute; width: 45%; aspect-ratio: 1; border: 1px solid #ffffff28; border-radius: 50%; pointer-events: none; }
.post-cover-placeholder::before { right: -13%; top: -29%; }
.post-cover-placeholder::after { right: -1%; top: -15%; }
.post-cover-kicker, .post-cover-number { position: relative; z-index: 1; font-size: 11px; font-weight: 800; letter-spacing: .2em; }
.post-cover-number { align-self: flex-end; opacity: .6; }
.post-cover-mark { position: relative; z-index: 1; align-self: center; font-size: clamp(92px, 14vw, 160px); font-weight: 800; letter-spacing: -.15em; line-height: .9; }
.post-cover-mark span { color: #b5e989; }
.post-card-content { padding: 23px 2px 0; }
.post-meta, .article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: #7b897e; font-size: 12px; font-weight: 600; }
.post-category { display: inline-flex; align-items: center; margin-right: 4px; padding: 4px 9px; border-radius: 5px; background: #e9f5ed; color: #087c5a; font-size: 11px; font-weight: 800; }
.post-category:hover { background: #d7eddd; }
.post-card h2 { margin: 13px 0 12px; font-size: clamp(21px, 2vw, 27px); font-weight: 800; letter-spacing: -.035em; line-height: 1.45; }
.post-card h2 a:hover { color: #087c5a; }
.post-card p { display: -webkit-box; overflow: hidden; margin: 0; color: #6d786f; font-size: 14px; line-height: 1.8; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.read-more { display: inline-flex; align-items: center; gap: 13px; margin-top: 19px; color: #087c5a; font-size: 13px; font-weight: 800; }
.read-more span { font-size: 17px; transition: transform .2s ease; }
.read-more:hover span { transform: translate(3px, -3px); }
.post-card--featured { display: grid; grid-column: 1 / -1; grid-template-columns: 1.1fr .9fr; align-items: stretch; gap: 0; overflow: hidden; border: 1px solid #e8eee9; border-radius: 14px; background: #f8faf8; }
.post-card--featured .post-cover { height: 100%; min-height: 330px; border-radius: 0; aspect-ratio: auto; }
.post-card--featured .post-card-content { display: flex; flex-direction: column; justify-content: center; padding: 40px clamp(28px, 4vw, 60px); }
.post-card--featured h2 { margin: 20px 0 16px; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.35; }
.post-card--featured p { -webkit-line-clamp: 4; }
.post-card--featured .read-more { margin-top: 28px; }
.empty { grid-column: 1 / -1; padding: 70px 24px 90px; text-align: center; background: #f7faf7; border-radius: 14px; }
.empty span { color: #11916b; font-size: 11px; font-weight: 800; letter-spacing: .2em; }
.empty h2 { margin: 14px 0 8px; font-size: 27px; }
.empty p { color: #77857a; }

.article { width: min(800px, 100%); margin: 0 auto; padding: 73px 0 120px; }
.back { display: inline-block; margin-bottom: 61px; color: #168363; font-size: 13px; font-weight: 700; }
.back:hover { text-decoration: underline; }
.article h1 { margin: 17px 0 22px; font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -.055em; line-height: 1.27; }
.dek { margin: 0 0 27px; color: #69776d; font-size: 18px; line-height: 1.8; }
.article-cover { display: block; width: 100%; max-height: 470px; margin: 43px 0; border-radius: 12px; object-fit: cover; }
.prose { overflow-wrap: anywhere; color: #303b33; font-size: 16px; line-height: 2; }
.prose p { margin: 1.25em 0; }
.prose h1, .prose h2, .prose h3 { color: #1d2c22; line-height: 1.38; letter-spacing: -.03em; }
.prose h1 { margin: 1.8em 0 .7em; font-size: 2.1em; }
.prose h2 { margin: 2em 0 .7em; font-size: 1.65em; }
.prose h3 { margin: 1.8em 0 .7em; font-size: 1.3em; }
.prose a { color: #087c5a; text-decoration: underline; text-underline-offset: 3px; }
.prose img { display: block; max-width: 100%; height: auto; margin: 1.6em auto; border-radius: 10px; }
.prose blockquote { margin: 1.7em 0; padding: .4em 1.2em; border-left: 4px solid #66a987; background: #f0f7f2; color: #4f6b59; }
.prose blockquote p { margin: .5em 0; }
.prose pre { overflow: auto; padding: 20px; border-radius: 9px; background: #172b23; color: #eaf5e9; line-height: 1.6; }
.prose :not(pre) > code { padding: 2px 5px; border-radius: 4px; background: #eaf1e9; }
.prose li { margin: .4em 0; }
.prose hr { height: 1px; margin: 2.3em 0; border: 0; background: #dce8dd; }
.prose del { color: #7f8d83; }
.prose .table-scroll { max-width: 100%; overflow-x: auto; margin: 1.7em 0; }
.prose table { width: 100%; border-collapse: collapse; text-align: left; font-size: .9em; }
.prose th, .prose td { min-width: 120px; padding: .65em .8em; border: 1px solid #dce8dd; }
.prose th { background: #edf5ee; color: #1e513d; }
.prose tr:nth-child(even) td { background: #f8fbf8; }

.related-section { padding: 0 0 110px; border-top: 1px solid #e4eae5; }
.related-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 43px 0 29px; }
.related-heading p { margin: 0 0 8px; color: #168363; font-size: 11px; font-weight: 800; letter-spacing: .17em; }
.related-heading h2 { margin: 0; font-size: 28px; letter-spacing: -.04em; }
.related-heading > a { color: #168363; font-size: 13px; font-weight: 700; }
.related-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.related-list .post-cover-placeholder { min-height: 150px; padding: 19px; }
.related-list .post-cover-mark { font-size: 58px; }
.related-list .post-card h2 { font-size: 19px; }
.related-list .post-card p { -webkit-line-clamp: 2; }

.blog-footer { border-top: 1px solid #e7ece8; background: #f8faf8; }
.footer-grid { width: min(1120px, calc(100% - 48px)); display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 50px; margin: auto; padding: 68px 0 60px; }
.footer-intro p { max-width: 390px; margin: 19px 0 0; color: #748077; font-size: 13px; line-height: 1.8; }
.footer-grid h2 { margin: 0 0 18px; font-size: 13px; font-weight: 800; }
.footer-grid > div:not(:first-child) a { display: block; width: fit-content; margin: 12px 0; color: #6b776d; font-size: 13px; }
.footer-grid > div:not(:first-child) a:hover { color: #087c5a; }
.footer-bottom { width: min(1120px, calc(100% - 48px)); display: flex; justify-content: space-between; gap: 18px; margin: auto; padding: 23px 0 29px; border-top: 1px solid #e4eae4; color: #8e9a90; font-size: 11px; line-height: 1.6; }

@media (max-width: 820px) {
  .nav-inner { gap: 20px; }
  .blog-nav nav { gap: 16px; }
  .nav-cta { display: none; }
  .blog-hero { padding: 85px 0 68px; }
  .post-card--featured { grid-template-columns: 1fr 1fr; }
  .related-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .nav-inner { width: calc(100% - 36px); min-height: 69px; flex-wrap: wrap; column-gap: 16px; }
  .blog-brand { font-size: 16px; }
  .blog-brand img { max-width: 112px; height: 31px; }
  .blog-nav nav { gap: 15px; font-size: 12px; }
  .blog-nav nav a { padding: 23px 0; }
  main, .footer-grid, .footer-bottom { width: calc(100% - 36px); }
  .blog-hero { padding: 72px 0 56px; }
  .blog-hero h1 { font-size: clamp(36px, 8vw, 52px); }
  .blog-hero h1 span { display: block; margin: 7px 0 0; }
  .blog-hero > p:last-child { margin-top: 18px; font-size: 14px; }
  .blog-categories { justify-content: flex-start; gap: 8px; margin: -20px 0 42px; }
  .blog-categories a { padding: 8px 12px; font-size: 12px; }
  .post-list { grid-template-columns: 1fr; gap: 44px; padding: 36px 0 76px; }
  .post-card--featured { grid-column: auto; grid-template-columns: 1fr; }
  .post-card--featured .post-cover { min-height: 235px; aspect-ratio: 16 / 10; }
  .post-card--featured .post-card-content { padding: 25px; }
  .post-card--featured h2 { margin: 13px 0; font-size: 24px; }
  .post-cover-placeholder { min-height: 200px; }
  .article { padding: 48px 0 82px; }
  .back { margin-bottom: 42px; }
  .article h1 { font-size: 35px; }
  .related-section { padding-bottom: 75px; }
  .related-heading { padding: 34px 0 25px; }
  .related-heading h2 { font-size: 24px; }
  .related-list { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px; padding: 52px 0 40px; }
  .footer-intro { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .post-cover img, .nav-cta, .read-more span { transition: none; }
}
