:root {
  color-scheme: light;
}

body.news-site {
  background: #fffffd;
  color: #223645;
}

.page-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.top-bg {
  background-image: url("https://hallogpt.com/wp-content/uploads/2025/07/bg-1-aecc1d00-1-1.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-banner {
  min-height: 352px;
}

.detail-banner {
  min-height: 470px;
}

.hero-banner,
.detail-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-banner h1,
.detail-banner h1 {
  color: #223645;
  font-weight: 700;
  line-height: 1.25;
}

.meta-row {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  color: #647589;
  font-size: 14px;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 96px;
}

.news-grid {
  display: grid;
  gap: 24px;
}

.news-card,
.side-box,
.article-shell {
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(34, 54, 69, 0.08);
}

.news-card {
  overflow: hidden;
  padding: 16px;
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.news-card-body {
  padding: 14px 8px 4px;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #f2f8fc;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  color: #647589;
}

.news-card h2 {
  margin-top: 12px;
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1.45;
  font-weight: 500;
}

.news-card h2 a,
.recent-list a,
.post-nav a {
  color: inherit;
  text-decoration: none;
}

.news-card h2 a:hover,
.recent-list a:hover,
.post-nav a:hover {
  color: #2aa7d6;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: #647589;
}

.pagination {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pagination a,
.pagination span {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #d8e3eb;
  background: #ffffff;
  color: #647589;
  text-decoration: none;
}

.pagination .current {
  background: #2aa7d6;
  border-color: #2aa7d6;
  color: #ffffff;
}

.side-box {
  padding: 24px;
}

.side-box + .side-box {
  margin-top: 24px;
}

.side-box h3 {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 500;
  color: #223645;
}

.search-input {
  width: 100%;
  height: 46px;
  border: 1px solid #d8e3eb;
  border-radius: 999px;
  padding: 0 16px;
  outline: none;
}

.archive-list,
.recent-list {
  display: grid;
  gap: 12px;
  color: #647589;
}

.archive-list a,
.recent-list a {
  color: #647589;
  text-decoration: none;
  line-height: 1.6;
}

.recent-list time {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #8a9bab;
}

.article-wrap {
  padding-top: 0;
  padding-bottom: 72px;
}

.article-shell {
  overflow: hidden;
  padding: 16px;
}

.article-shell img.article-cover {
  width: 100%;
  display: block;
  object-fit: cover;
}

.article-content {
  padding: 28px 22px 10px;
  font-size: 15px;
  line-height: 1.95;
  color: #516476;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  margin: 34px 0 16px;
  color: #223645;
  font-size: 28px;
  line-height: 1.45;
  font-weight: 500;
}

.article-content p {
  margin: 0 0 18px;
}

.article-content ul,
.article-content ol {
  margin: 0 0 20px 22px;
  padding: 0;
}

.article-content li {
  margin-bottom: 10px;
}

.article-content strong {
  color: #223645;
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
}

.post-nav a,
.post-nav span {
  color: #647589;
  line-height: 1.7;
}

.return-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  background: #ffffff;
  color: #2aa7d6;
  text-decoration: none;
  border: 1px solid #d8e3eb;
}

.site-footer {
  background: #223645;
  color: #dce7ef;
}

.site-footer .page-wrap {
  padding-top: 56px;
  padding-bottom: 24px;
  text-align: center;
}

.site-footer img {
  width: 150px;
  margin: 0 auto 16px;
}

@media (max-width: 1024px) {
  .news-layout {
    grid-template-columns: 1fr;
  }

  .side-column {
    order: 2;
  }
}

@media (max-width: 768px) {
  .hero-banner,
  .detail-banner {
    min-height: 220px;
  }

  .hero-banner h1,
  .detail-banner h1 {
    font-size: 32px;
  }

  .news-card h2,
  .article-content h2,
  .article-content h3,
  .article-content h4,
  .side-box h3 {
    font-size: 22px;
  }

  .article-content {
    padding: 22px 14px 6px;
    font-size: 14px;
  }

  .post-nav {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
