/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[12].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[12].oneOf[12].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
:root {
  --brown: #49300f;
  --deep: #30210f;
  --gold: #b99350;
  --ink: #302a22;
  --cream: #f7f3eb;
  --line: #e3d9c8;
  --muted: #776c5d;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fcfaf6;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
summary {
  cursor: pointer;
}
button {
  min-height: 44px;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
.shell {
  width: min(1200px, calc(100% - 96px));
  margin: auto;
}
.narrow {
  max-width: 850px;
}
.serif,
h1,
h2,
h3 {
  font-family: "Songti SC", "Noto Serif CJK SC", "SimSun", serif;
  font-weight: 600;
  line-height: 1.5;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h2 {
  font-size: 30px;
}
h3 {
  font-size: 24px;
}
.header {
  background: var(--brown);
  color: #fff6e5;
  border-bottom: 1px solid #a57d39;
  position: relative;
  z-index: 20;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 108px;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 17px;
  flex-shrink: 0;
}
.brand img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: contain;
}
.brand strong {
  display: block;
  font-family: SimSun, serif;
  font-size: 26px;
  letter-spacing: 2px;
  line-height: 1.5;
}
.brand small {
  display: block;
  font-family: Georgia, serif;
  font-size: 11px;
  letter-spacing: 2.7px;
  color: #e7d7bc;
}
.desktop-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 15px;
  white-space: nowrap;
}
.desktop-nav a {
  padding: 16px 0;
  position: relative;
}
.desktop-nav a:after {
  content: "";
  position: absolute;
  bottom: 6px;
  height: 1px;
  background: var(--gold);
  left: 0;
  width: 0;
  transition: width 0.2s;
}
.desktop-nav a:hover:after {
  width: 100%;
}
.mobile-menu {
  display: none;
}
.hero {
  background: #39270f;
  color: #fff7e6;
  position: relative;
  overflow: hidden;
  min-height: 555px;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 74px;
  padding-bottom: 90px;
}
.eyebrow {
  letter-spacing: 4px;
  font-family: Georgia, serif;
  font-size: 11px;
  color: #ccb68c;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 76px;
  font-weight: 400;
  letter-spacing: 12px;
  margin: 0 0 20px;
  text-shadow: 0 2px 20px #0003;
}
.hero-rule {
  height: 1px;
  background: var(--gold);
  width: 64px;
  margin: 22px 0;
}
.hero-name {
  font-family: SimSun, serif;
  font-size: 25px;
  letter-spacing: 4px;
  margin-bottom: 10px;
}
.hero-caption {
  color: #dac6a5;
  letter-spacing: 7px;
  font-size: 15px;
  margin-bottom: 32px;
}
.gold-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  min-height: 46px;
  padding: 9px 22px;
  background: var(--gold);
  color: #271d0f;
  border: 1px solid var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
}
.gold-button:hover {
  background: #c7a465;
}
.hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 11px 48px;
  border-top: 1px solid #ad87443b;
  display: flex;
  justify-content: space-between;
  color: #c6ae84;
  font-size: 11px;
  letter-spacing: 3px;
}
.hero-art {
  position: absolute;
  right: -70px;
  top: -20px;
  bottom: 0;
  width: 60%;
  opacity: 0.62;
  transform: skewY(-6deg);
  background: linear-gradient(120deg, transparent, #b48c4220);
  border-left: 1px solid #a7894930;
}
.building-roof {
  position: absolute;
  top: 48px;
  left: 10%;
  width: 90%;
  height: 100px;
  border-top: 9px double #b3955e;
  border-bottom: 24px double #9c7940;
  transform: skewX(-28deg);
  box-shadow:
    0 -16px 0 #a78a4e26,
    0 20px 0 #9a793a30;
}
.building-columns {
  position: absolute;
  top: 180px;
  bottom: 40px;
  left: 22%;
  right: 0;
  background: repeating-linear-gradient(
    90deg,
    #a2804326 0px,
    #d3b16b4d 6px,
    #2c1d0b99 24px,
    #67491e 35px,
    #30200e 62px,
    transparent 64px,
    transparent 115px
  );
  border-top: 6px double #b89a61;
  border-bottom: 10px double #ae8a47;
}
.building-stairs {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: repeating-linear-gradient(
    0deg,
    #b38c431c 0px,
    #bb97574a 1px,
    transparent 2px,
    transparent 16px
  );
  transform: skewX(-30deg);
}
.hero-seal {
  position: absolute;
  right: 110px;
  top: 240px;
  border: 1px solid #d6b46b63;
  padding: 14px;
  color: #d8b66b85;
  font-family: SimSun, serif;
  line-height: 1.2;
  letter-spacing: 4px;
  font-size: 40px;
}
.section {
  padding: 66px 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  gap: 20px;
}
.section-heading h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 30px;
  color: var(--brown);
  letter-spacing: 3px;
}
.section-heading i {
  display: block;
  width: 70px;
  height: 1px;
  background: var(--gold);
}
.section-heading small {
  font-family: Georgia, serif;
  letter-spacing: 3px;
  font-size: 11px;
  color: #8e6a36;
}
.text-link {
  color: #79582e;
  font-size: 14px;
  display: inline-block;
  min-height: 44px;
  padding: 9px 0;
}
.text-link span,
.text-link b {
  margin-left: 15px;
  font-weight: 400;
}
.text-link:hover {
  color: #402500;
}
.about-section {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.about-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-gap: 100px;
  gap: 100px;
  align-items: center;
}
.about-layout .prose {
  max-width: 690px;
  font-size: 17px;
  color: #665947;
}
.about-mark {
  border-left: 1px solid #dac9ab;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
  position: relative;
  color: var(--brown);
}
.about-mark > span {
  font-family: SimSun, serif;
  font-size: 72px;
  letter-spacing: 22px;
  line-height: 1.5;
}
.about-mark small {
  letter-spacing: 5px;
  font-size: 12px;
  color: #97794d;
}
.about-mark i {
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin-top: 20px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 28px;
  gap: 28px;
}
.team-card {
  background: var(--cream);
  border-bottom: 2px solid #bd995c;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  overflow: hidden;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px #49300f12;
}
.portrait {
  height: 300px;
  background: #e7e1d5;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.team-info {
  padding: 24px 28px 15px;
}
.team-info h3 {
  margin: 0 0 6px;
  letter-spacing: 3px;
  color: var(--brown);
}
.team-info p {
  color: #796c5d;
  font-size: 14px;
  margin-bottom: 12px;
}
.team-info .team-summary {
  font-size: 13px;
  line-height: 1.8;
}
.news-section {
  background: var(--cream);
}
.news-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.news-row time {
  font-family: Georgia, serif;
  color: #9b7c4e;
  font-size: 17px;
  white-space: nowrap;
}
.news-row > div {
  flex: 1 1;
  min-width: 0;
}
.news-row h2,
.news-row h3 {
  font-size: 21px;
  margin: 0 0 6px;
  overflow-wrap: anywhere;
}
.news-row p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.news-row > span {
  color: var(--gold);
  font-size: 24px;
}
.news-thumb {
  width: 120px;
  height: 85px;
  object-fit: cover;
}
.contact-section {
  border-top: 1px solid var(--line);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-gap: 70px;
  gap: 70px;
  align-items: start;
}
.contact-line {
  display: flex;
  gap: 15px;
  align-items: baseline;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
.contact-phone {
  font-size: 27px;
  font-family: Georgia, serif;
  letter-spacing: 1px;
}
.contact-icon {
  color: var(--brown);
  font-size: 22px;
  min-width: 24px;
}
.wechat {
  border-left: 1px solid #d4c3a5;
  padding-left: 38px;
}
.wechat summary {
  display: flex;
  align-items: center;
  gap: 17px;
  min-height: 90px;
  list-style: none;
}
.wechat summary::-webkit-details-marker {
  display: none;
}
.wechat summary > img {
  width: 66px;
  height: 94px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.wechat summary strong {
  font-size: 17px;
  font-weight: 500;
  display: block;
}
.wechat summary small {
  font-size: 12px;
  color: var(--muted);
  display: block;
}
.qr-panel {
  padding-top: 18px;
}
.qr-panel img {
  width: 280px;
}
.qr-panel p {
  font-size: 13px;
  color: var(--muted);
  margin: 10px 0;
}
.footer {
  background: var(--brown);
  color: #d6c6ab;
  border-top: 3px solid #99733b;
  padding: 34px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.footer-brand img {
  width: 44px;
  height: 44px;
}
.footer-brand strong {
  font-size: 19px;
}
.footer-brand small {
  font-size: 9px;
  letter-spacing: 1.4px;
}
.footer p {
  font-size: 12px;
  text-align: right;
  line-height: 2;
  margin: 0;
}
.page-banner {
  padding: 58px 0;
  background: var(--brown);
  color: var(--cream);
  border-bottom: 3px solid var(--gold);
  background-image: linear-gradient(120deg, #30210f, #573f1b);
}
.page-banner h1 {
  font-size: 40px;
  letter-spacing: 6px;
  margin: 0 0 5px;
}
.page-banner .eyebrow {
  margin-bottom: 13px;
}
.banner-en {
  letter-spacing: 4px;
  color: #c2a473;
  font:
    12px Georgia,
    serif;
  margin: 0;
}
.prose {
  line-height: 2.2;
  overflow-wrap: anywhere;
}
.prose p {
  white-space: pre-wrap;
  margin-bottom: 20px;
}
.member-detail {
  display: grid;
  grid-template-columns: 300px 1fr;
  grid-gap: 65px;
  gap: 65px;
}
.member-photo {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
}
.member-detail h1 {
  font-size: 36px;
  margin-bottom: 10px;
}
.brown {
  color: #92713f;
}
.member-role {
  color: #8e6a36;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.article h1 {
  font-size: 34px;
  overflow-wrap: anywhere;
  margin: 24px 0 12px;
}
.article time {
  color: var(--muted);
  font-size: 14px;
}
.article .prose {
  margin-top: 35px;
}
.article-cover {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  margin-top: 30px;
}
.empty {
  text-align: center;
  background: var(--cream);
  padding: 60px 20px;
  color: #897b68;
}
.empty > span {
  font-size: 36px;
  color: #b2a48f;
}
.empty p {
  margin: 10px 0 0;
}
.pagination {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.pagination a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
}
.pagination a[aria-current] {
  background: var(--brown);
  color: #fff;
}
.environment {
  margin-top: 30px;
}
.contact-page {
  min-height: 420px;
}
.skip-link {
  position: fixed;
  left: 15px;
  top: -100px;
  z-index: 100;
  background: #fff;
  padding: 10px;
}
.skip-link:focus {
  top: 10px;
}
.not-found {
  max-width: 650px;
  margin: 100px auto;
  padding: 40px;
  text-align: center;
  min-height: 45vh;
}
.not-found h1 {
  font-size: 32px;
}
.not-found button {
  padding: 10px 25px;
}
.admin {
  background: #f1ede5;
  min-height: 100vh;
}
.admin-header {
  background: var(--brown);
  color: #fff4df;
  padding: 18px 30px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.admin-header h1 {
  font-size: 21px;
  margin: 0;
}
.admin-header nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 14px;
}
.admin-header button {
  background: transparent;
  border: 1px solid #bc9d6d;
  color: #fff;
  padding: 3px 14px;
}
.admin-shell {
  max-width: 1250px;
  margin: auto;
  padding: 34px;
}
.admin-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.admin-tabs button {
  padding: 10px 23px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brown);
}
.admin-tabs button.active {
  background: var(--brown);
  color: #fff;
}
.admin-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  grid-gap: 24px;
  gap: 24px;
  align-items: start;
}
.admin-panel {
  background: #fff;
  padding: 28px;
  border: 1px solid var(--line);
  min-width: 0;
}
.admin-panel h2 {
  font-size: 23px;
}
.admin-panel label {
  display: block;
  font-size: 14px;
  margin-bottom: 17px;
  color: #62533e;
}
.admin-panel input:not([type="checkbox"]),
.admin-panel textarea,
.admin-panel select {
  width: 100%;
  border: 1px solid #d1c4b0;
  border-radius: 0;
  background: #fff;
  padding: 10px 12px;
  margin-top: 6px;
  color: var(--ink);
  min-width: 0;
}
.admin-panel textarea {
  min-height: 130px;
  resize: vertical;
}
.admin-panel textarea.body-editor {
  min-height: 300px;
}
.admin-panel input[type="checkbox"] {
  margin-right: 10px;
}
.admin-panel .help {
  font-size: 12px;
  color: var(--muted);
}
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.admin-actions button,
.admin-panel > button,
.upload-label {
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--brown);
  padding: 8px 16px;
}
.admin-actions .primary {
  background: var(--brown);
  color: #fff;
}
.admin-actions .danger {
  color: #a22a1d;
}
.entry-button {
  display: block;
  width: 100%;
  background: var(--cream);
  padding: 12px 14px;
  text-align: left;
  border: 1px solid var(--line);
  margin-bottom: 10px;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.entry-button.selected {
  border-color: var(--brown);
}
.entry-button small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.notice {
  padding: 12px 18px;
  background: #ede5d6;
  border-left: 3px solid var(--gold);
  margin-bottom: 24px;
  font-size: 14px;
}
.notice.error {
  border-color: #a22a1d;
  background: #f9ece8;
}
.editor-meta {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 20px;
}
.form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  gap: 20px;
}
.image-picker {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px dashed #c8b899;
}
.image-picker img {
  max-height: 160px;
  max-width: 180px;
  object-fit: contain;
  margin: 10px 0;
}
.image-picker input {
  font-size: 13px;
}
.login-wrap {
  min-height: 100vh;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
}
.login-box {
  width: 430px;
  background: #fff;
  border-top: 4px solid var(--gold);
  padding: 40px;
  box-shadow: 0 12px 45px #49300f0d;
}
.login-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 32px;
}
.login-brand img {
  width: 55px;
  height: 55px;
}
.login-brand h1 {
  font-size: 22px;
  margin: 0;
}
.login-box label {
  display: block;
  margin: 20px 0;
}
.login-box input {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  margin-top: 8px;
}
.login-box button {
  width: 100%;
  background: var(--brown);
  color: #fff;
  border: 0;
  padding: 12px;
}
.login-box .help {
  font-size: 12px;
  color: var(--muted);
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}
.media-item {
  border: 1px solid var(--line);
  padding: 12px;
  overflow: hidden;
}
.media-item img {
  height: 140px;
  width: 100%;
  object-fit: contain;
  background: var(--cream);
}
.media-item p {
  font-size: 12px;
  overflow-wrap: anywhere;
  margin: 8px 0;
}
.media-item button {
  background: #fff;
  border: 1px solid var(--line);
  padding: 5px 12px;
}
.preview-note {
  background: #f6e9c9;
  color: #65440f;
  padding: 13px 25px;
  border-bottom: 1px solid var(--gold);
  font-size: 14px;
}
.preview-note a {
  text-decoration: underline;
  margin-left: 20px;
}
@media (min-width: 1600px) {
  .hero {
    min-height: 600px;
  }
  .hero-content {
    padding-top: 90px;
  }
}
@media (max-width: 1100px) {
  .shell {
    width: calc(100% - 56px);
  }
  .brand strong {
    font-size: 22px;
  }
  .brand img {
    width: 54px;
    height: 54px;
  }
  .desktop-nav {
    gap: 17px;
    font-size: 14px;
  }
  .brand small {
    font-size: 9px;
    letter-spacing: 2px;
  }
  .team-info {
    padding: 20px;
  }
  .portrait {
    height: 270px;
  }
  .about-layout {
    gap: 40px;
  }
  .contact-grid {
    gap: 30px;
  }
}
@media (max-width: 800px) {
  .shell {
    width: calc(100% - 40px);
  }
  .header-inner {
    min-height: 84px;
  }
  .desktop-nav {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  .mobile-menu summary {
    display: flex;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    list-style: none;
  }
  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }
  .mobile-menu summary span {
    height: 2px;
    background: #d5b67e;
    width: 25px;
  }
  .mobile-menu nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--brown);
    box-shadow: 0 12px 20px #0002;
    border-top: 1px solid #a1814e;
    padding: 10px 20px 20px;
  }
  .mobile-menu nav a {
    display: block;
    min-height: 48px;
    padding: 8px 10px;
    border-bottom: 1px solid #977c4b33;
  }
  .hero {
    min-height: 485px;
  }
  .hero-content {
    padding-top: 64px;
    padding-bottom: 70px;
  }
  .hero h1 {
    font-size: 58px;
    letter-spacing: 8px;
  }
  .hero-art {
    width: 75%;
    right: -140px;
    opacity: 0.36;
  }
  .hero-bottom {
    padding: 10px 20px;
    font-size: 9px;
    letter-spacing: 1px;
  }
  .hero-name {
    font-size: 22px;
    letter-spacing: 2px;
  }
  .section {
    padding: 45px 0;
  }
  .section-heading h2 {
    font-size: 26px;
  }
  .about-layout {
    grid-template-columns: 1fr 180px;
    gap: 30px;
  }
  .about-mark > span {
    font-size: 50px;
    letter-spacing: 8px;
  }
  .about-mark small {
    letter-spacing: 1px;
  }
  .team-grid {
    gap: 16px;
  }
  .portrait {
    height: 220px;
  }
  .team-info {
    padding: 17px 15px 9px;
  }
  .team-info h3 {
    font-size: 22px;
    letter-spacing: 1px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .wechat {
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .wechat summary {
    min-height: 80px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer p {
    text-align: left;
  }
  .member-detail {
    grid-template-columns: 230px 1fr;
    gap: 30px;
  }
  .admin-grid {
    grid-template-columns: 240px 1fr;
  }
  .admin-shell {
    padding: 25px 20px;
  }
  .admin-panel {
    padding: 22px;
  }
  .form-two {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
@media (max-width: 560px) {
  .brand {
    gap: 10px;
  }
  .brand img {
    width: 45px;
    height: 45px;
  }
  .brand strong {
    font-size: 19px;
    letter-spacing: 1px;
  }
  .brand small {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .header-inner {
    min-height: 78px;
    gap: 8px;
  }
  .hero {
    min-height: 430px;
  }
  .hero-content {
    padding-top: 55px;
  }
  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 2.5px;
    margin-bottom: 22px;
  }
  .hero h1 {
    font-size: 46px;
    letter-spacing: 4px;
    white-space: nowrap;
  }
  .hero-name {
    font-size: 19px;
    letter-spacing: 1px;
  }
  .hero-caption {
    font-size: 12px;
    letter-spacing: 5px;
  }
  .hero-art {
    right: -130px;
    width: 100%;
    opacity: 0.25;
  }
  .hero-seal {
    right: 150px;
    font-size: 28px;
    top: 230px;
  }
  .hero-bottom span:last-child {
    display: none;
  }
  .hero-rule {
    margin: 20px 0;
  }
  .gold-button {
    font-size: 13px;
    gap: 22px;
  }
  .about-layout {
    display: block;
  }
  .about-mark {
    display: none;
  }
  .section-heading {
    margin-bottom: 24px;
  }
  .section-heading h2 {
    font-size: 25px;
    letter-spacing: 2px;
    gap: 15px;
  }
  .section-heading i {
    width: 40px;
  }
  .section-heading small {
    font-size: 9px;
    letter-spacing: 2px;
  }
  .section-heading > .text-link {
    font-size: 12px;
    white-space: nowrap;
  }
  .section-heading > .text-link span {
    margin-left: 4px;
  }
  .about-layout .prose {
    font-size: 16px;
  }
  .team-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .team-card {
    display: flex;
    min-height: 160px;
    border-bottom: 1px solid #c9ac7c;
  }
  .portrait {
    height: 170px;
    width: 128px;
    flex-shrink: 0;
  }
  .team-info {
    padding: 22px 20px 10px;
    flex: 1 1;
    min-width: 0;
  }
  .team-info h3 {
    font-size: 25px;
    margin-bottom: 7px;
  }
  .team-info .team-summary {
    display: none;
  }
  .team-info .text-link {
    padding: 3px 0;
    font-size: 12px;
  }
  .team-info .text-link b {
    margin-left: 10px;
  }
  .contact-phone {
    font-size: 25px;
  }
  .contact-line {
    font-size: 15px;
  }
  .contact-line.contact-phone {
    font-size: 25px;
  }
  .footer {
    padding: 28px 0;
  }
  .footer-brand strong {
    font-size: 17px;
  }
  .footer-brand img {
    width: 40px;
    height: 40px;
  }
  .page-banner {
    padding: 39px 0;
  }
  .page-banner h1 {
    font-size: 31px;
  }
  .page-banner .eyebrow {
    font-size: 9px;
    letter-spacing: 2px;
  }
  .member-detail {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .member-photo {
    max-width: 260px;
    margin: auto;
  }
  .member-detail h1 {
    font-size: 30px;
  }
  .news-row {
    gap: 12px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .news-row time {
    font-size: 13px;
    width: 100%;
  }
  .news-row h2,
  .news-row h3 {
    font-size: 20px;
  }
  .news-row p {
    font-size: 13px;
  }
  .news-thumb {
    width: 100%;
    height: 170px;
  }
  .article h1 {
    font-size: 27px;
  }
  .contact-page {
    min-height: 360px;
  }
  .not-found {
    padding: 30px 20px;
  }
  .admin-header {
    padding: 16px 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .admin-header nav {
    gap: 16px;
  }
  .admin-grid {
    grid-template-columns: 1fr;
  }
  .admin-tabs {
    gap: 7px;
  }
  .admin-tabs button {
    padding: 8px 13px;
    font-size: 14px;
  }
  .admin-panel {
    padding: 20px;
  }
  .login-box {
    padding: 28px;
  }
  .prose {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
.hero {
  background-image:
    linear-gradient(90deg, rgba(40, 25, 9, 0.3), transparent),
    url("/brand/hero.png");
  background-position: center;
  background-size: cover;
}
.hero-bottom {
  background: #30210f6b;
}
.prose a {
  color: #785226;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.prose img {
  max-width: 100%;
  max-height: 700px;
  object-fit: contain;
  margin: 24px 0;
}
.prose table {
  display: block;
  overflow: auto;
  border-collapse: collapse;
}
.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 9px 15px;
}
.prose pre {
  overflow: auto;
  max-width: 100%;
  background: var(--cream);
  padding: 15px;
}
.prose ul,
.prose ol {
  padding-left: 24px;
}
@media (max-width: 560px) {
  .hero {
    background-position: 63% center;
    background-image:
      linear-gradient(90deg, rgba(31, 20, 8, 0.83), rgba(31, 20, 8, 0.12)),
      url("/brand/hero.png");
  }
}
@media (min-width: 561px) {
  .portrait {
    height: 350px;
  }
  .portrait img {
    object-fit: contain;
    object-position: center;
    background: #e8e1d6;
  }
}
@media (min-width: 801px) {
  .portrait {
    height: 360px;
  }
}
.brand {
  min-width: 0;
  flex-shrink: 1;
}
.brand > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.brand img {
  flex-shrink: 0;
}
.header-inner > .brand {
  max-width: 58%;
}
.team-info h3,
h1,
h2,
h3 {
  overflow-wrap: anywhere;
}
.hero h1 {
  max-width: 700px;
  overflow-wrap: anywhere;
}
.footer-brand {
  max-width: 65%;
}
.hero-content {
  min-width: 0;
}
@media (max-width: 800px) {
  .header-inner > .brand {
    max-width: calc(100% - 56px);
  }
  .footer-brand {
    max-width: 100%;
  }
}
@media (max-width: 560px) {
  .hero h1 {
    white-space: normal;
    font-size: 44px;
    letter-spacing: 3px;
    max-width: 100%;
  }
}
.desktop-nav a[aria-current="page"]:after {
  width: 100%;
}
.mobile-menu nav a[aria-current="page"] {
  color: #e3c894;
  background: #b9935018;
}
/* Contact content and the QR image share one balanced row. */
.contact-grid {
  align-items: stretch;
}
.contact-details {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.contact-details .contact-line {
  margin: 0;
}
.contact-details > .text-link {
  align-self: flex-start;
}
.wechat-visual {
  height: 180px;
  padding-left: 38px;
  border-left: 1px solid #d4c3a5;
  display: flex;
  align-items: center;
}
.wechat-visual img {
  height: 100%;
  width: 180px;
  object-fit: contain;
  flex-shrink: 0;
}
@media (max-width: 800px) {
  .wechat-visual {
    padding-left: 0;
    border-left: 0;
    height: 180px;
  }
  .contact-details {
    min-height: 160px;
  }
}
/* Keep the contact heading in the left column and size the QR to that column. */
.contact-details {
  min-height: 0;
  justify-content: flex-start;
  gap: 4px;
}
.contact-details .section-heading {
  margin-bottom: 10px;
}
.contact-details .contact-phone {
  font-size: 25px;
  line-height: 1.5;
}
.contact-details > .text-link {
  min-height: 32px;
  padding: 2px 0;
}
.wechat-visual {
  position: relative;
  height: auto;
  min-height: 0;
}
.wechat-visual img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: auto;
  aspect-ratio: 1;
  max-width: calc(100% - 38px);
}
.contact-grid:not(.contact-grid-heading) .contact-details {
  min-height: 150px;
}
.portrait > span {
  font-family: SimSun, serif;
  font-size: 50px;
  letter-spacing: 12px;
  color: #9a8058;
}
@media (max-width: 800px) {
  .wechat-visual {
    position: static;
    height: 180px;
  }
  .wechat-visual img {
    position: static;
    transform: none;
    width: 180px;
    height: 180px;
    max-width: 100%;
  }
  .contact-grid:not(.contact-grid-heading) .contact-details {
    min-height: 0;
  }
}
/* Portrait-led team gallery: four columns with compact captions. */
.team-section .shell,.team-directory{width:min(1280px,calc(100% - 80px))}
.team-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:36px 32px;gap:36px 32px}
.team-grid .team-card{display:flex;flex-direction:column;width:100%;height:auto;min-height:0;padding:0;gap:0;background:transparent;border:0;box-shadow:none;align-items:stretch}
.team-grid .team-card:hover{transform:translateY(-4px);box-shadow:none}
.team-grid .portrait{width:100%;max-width:none;height:auto;aspect-ratio:4/5;background:transparent;flex-shrink:0}
.team-grid .portrait img{width:100%;height:100%;object-fit:cover;object-position:center 20%;background:transparent}
.team-grid .portrait > span{font-size:36px;letter-spacing:8px;color:#9a8058}
.team-grid .team-info{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:100%;height:auto;min-width:0;flex:1 1;padding:18px 8px 12px;text-align:center;border-bottom:1px solid #d4c3a5}
.team-grid .team-info h3{margin:0;font-size:22px;line-height:1.5;letter-spacing:2px}
.team-grid .team-info p{margin:4px 0 0;font-size:13px;line-height:1.75;color:#776b5a}
.team-grid .team-info .team-summary{display:none}
.team-grid .team-info .text-link{margin-top:auto;padding:12px 0 0;min-height:34px;border:0;font-size:12px;line-height:1.8;white-space:nowrap}
.team-grid .team-info .text-link b{margin-left:8px}
@media(min-width:801px){.team-section{padding-top:52px;padding-bottom:52px}.team-section .section-heading{margin-bottom:28px}}
@media(min-width:601px) and (max-width:1000px){.team-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}}
@media(max-width:600px){.team-section .shell,.team-directory{width:calc(100% - 40px)}.team-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}.team-grid .team-info{padding:12px 2px 10px}.team-grid .team-info h3{font-size:18px;letter-spacing:1px}.team-grid .team-info p{font-size:12px}.team-grid .team-info .text-link{padding-top:8px}.team-grid .portrait > span{font-size:25px;letter-spacing:4px}}
@media(max-width:359px){.team-grid{grid-template-columns:minmax(0,1fr)}.team-grid .team-card{max-width:280px;margin-inline:auto}}

/* Homepage contact: title, contact information, and centered WeChat image. */
.contact-grid-heading{grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr);gap:32px;align-items:center}
.contact-grid-heading .contact-title{min-width:0}
.contact-grid-heading .section-heading{margin:0}
.contact-grid-heading .contact-details{gap:8px;min-width:0}
.contact-grid-heading .contact-line{margin:0}
.contact-grid-heading .wechat-visual{height:160px;padding:0;display:flex;align-items:center;justify-content:center;border-left:1px solid #d4c3a5}
.contact-grid-heading .wechat-visual img{position:static;transform:none;width:160px;height:160px;max-width:100%;aspect-ratio:1;object-fit:contain}
@media(max-width:800px){
  .contact-grid-heading{grid-template-columns:1fr;gap:24px}
  .contact-grid-heading .wechat-visual{border-left:0;border-top:1px solid #d4c3a5;padding-top:20px;height:auto;justify-content:flex-start}
}

#contact{scroll-margin-top:32px}

