* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #263244;
  background: #f7fafc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

.page-shell {
  min-height: 100vh;
  background: linear-gradient(180deg, #eafffb 0, #f7fbff 340px, #fff 760px);
}

.site-header {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding: 18px 36px;
}

.header-link {
  color: #2f4b55;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.header-link:hover,
.article-body a:hover {
  color: #087f73;
}

.blog-page {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 64px 24px 104px;
}

.blog-header {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.blog-header h1 {
  margin: 0 0 14px;
  color: #162033;
  font-size: 44px;
  line-height: 1.18;
}

.blog-header p {
  margin: 0;
  color: #526173;
  font-size: 17px;
}

.featured-post {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(420px, 1.08fr);
  margin: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(30, 45, 60, 0.16);
  overflow: hidden;
}

.featured-post-copy,
.featured-post-media {
  color: inherit;
  text-decoration: none;
}

.featured-post-copy {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
}

.featured-post h2 {
  margin: 0 0 16px;
  color: #162033;
  font-size: 32px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.featured-post p {
  margin: 0 0 22px;
  color: #5c6b7d;
  font-size: 17px;
}

.featured-post time,
.article-meta {
  color: #7b8798;
  font-size: 13px;
  font-weight: 700;
}

.featured-post-media {
  min-height: 330px;
  background: #eff8ff;
}

.featured-post-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 58px 24px 104px;
}

.article h1 {
  margin: 0 0 12px;
  color: #162033;
  font-size: 42px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.article-meta {
  margin: 0 0 30px;
}

.article-cover {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 42px;
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(30, 45, 60, 0.16);
}

.article-body {
  color: #2d3748;
  font-size: 17px;
  line-height: 1.82;
}

.article-body p {
  margin: 14px 0;
}

.article-body h2 {
  margin: 46px 0 16px;
  color: #162033;
  font-size: 28px;
}

.article-body h3 {
  margin: 30px 0 10px;
  color: #172033;
  font-size: 21px;
}

.article-body ul {
  margin: 16px 0 24px;
  padding-left: 24px;
}

.article-body li {
  margin: 12px 0;
}

.article-body a {
  color: #087f73;
  font-weight: 700;
}

.article-body img {
  display: block;
  width: 100%;
  height: auto;
  margin: 24px auto;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(30, 45, 60, 0.12);
}

.article-cta {
  margin-top: 38px !important;
  padding: 24px;
  border-left: 4px solid #18b8aa;
  background: #ecfffb;
}

.site-footer {
  padding: 26px 24px 34px;
  color: #8a94a3;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 720px) {
  .site-header {
    padding: 14px 20px;
  }

  .blog-page {
    padding: 48px 20px 76px;
    overflow-x: hidden;
  }

  .blog-header h1 {
    font-size: 34px;
  }

  .featured-post {
    display: flex;
    flex-direction: column;
  }

  .featured-post-copy,
  .featured-post-media {
    min-width: 0;
    width: 100%;
  }

  .featured-post-copy {
    min-height: 0;
    padding: 28px;
  }

  .featured-post-media {
    min-height: 220px;
  }

  .featured-post h2 {
    font-size: 24px;
  }

  .article {
    padding: 46px 20px 76px;
  }

  .article h1 {
    font-size: 32px;
  }

  .article-body {
    font-size: 16px;
  }
}
