:root {
  color-scheme: light dark;
  --site-ink: #101827;
  --site-muted: #5b6575;
  --site-line: #e4e8ee;
  --site-paper: #f7f9fc;
  --site-dark: #071018;
  --site-cyan: #6fffe9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--site-paper);
  color: var(--site-ink);
  font-family: Inter, "Segoe UI", Arial, "Microsoft YaHei", sans-serif;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 16, 24, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(18px);
}

.site-header__inner {
  width: min(1280px, calc(100% - 40px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  letter-spacing: 0;
  font-size: 17px;
}

.site-brand__name {
  white-space: nowrap;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.site-nav__list a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a {
  color: #fff;
  border-color: rgba(111, 255, 233, 0.28);
  background: rgba(111, 255, 233, 0.1);
}

.site-footer {
  clear: both;
  background: #071018;
  color: rgba(255, 255, 255, 0.62);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0;
  font-size: 14px;
}

.site-content {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.content-title {
  margin: 0 0 30px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.content-article:has(.mgv-intro) .content-title {
  width: min(1180px, calc(100vw - 40px));
  max-width: none;
  margin-left: calc((100% - min(1180px, calc(100vw - 40px))) / 2);
}

.content-date {
  color: #0f766e;
  font-weight: 700;
}

.content-body {
  color: var(--site-ink);
  font-size: 18px;
  line-height: 1.78;
}

.content-article::after,
.content-body::after {
  content: "";
  display: block;
  clear: both;
}

.content-body img {
  max-width: 100%;
}

.content-body p,
.content-body div,
.content-body section,
.content-body article {
  overflow-wrap: break-word;
}

.content-body a {
  color: #155e75;
}

.content-body .mgv-intro {
  width: min(1180px, calc(100vw - 40px));
  max-width: none;
  margin-left: calc((100% - min(1180px, calc(100vw - 40px))) / 2);
  color: #111827;
  line-height: 1.85;
}

.content-body .mgv-intro p {
  margin: 0 0 18px;
}

.content-body .mgv-intro a {
  color: #0f766e;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-body .mgv-intro-profiles {
  display: grid;
  gap: 22px;
  margin: 22px 0 30px;
}

.content-body .mgv-intro-profile {
  display: grid;
  grid-template-columns: minmax(210px, 300px) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: #fff;
}

.content-body .mgv-intro-photo {
  min-height: 260px;
  background: #eef2f7;
  overflow: hidden;
}

.content-body .mgv-intro-photo img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.content-body .mgv-intro-profile p {
  margin-bottom: 0;
  text-align: justify;
  text-justify: inter-ideograph;
}

.content-body .mgv-intro-interests {
  margin-top: 8px;
}

.content-list {
  display: grid;
  gap: 18px;
}

.content-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--site-line);
}

.content-card h1,
.content-card h2 {
  margin: 0 0 10px;
  font-size: 26px;
}

.content-card a {
  color: inherit;
  text-decoration: none;
}

.content-card__meta,
.content-card__excerpt {
  color: var(--site-muted);
}

@media (max-width: 760px) {
  .site-header__inner {
    width: min(100% - 28px, 1180px);
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav__list {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .site-content {
    width: min(100% - 28px, 980px);
    padding: 48px 0;
  }

  .content-body .mgv-intro {
    width: 100%;
    margin-left: 0;
  }

  .content-article:has(.mgv-intro) .content-title {
    width: 100%;
    margin-left: 0;
  }

  .content-body .mgv-intro-profile {
    grid-template-columns: 1fr;
  }

  .content-body .mgv-intro-photo {
    min-height: 320px;
  }
}
