@import url("/assets/datahub-serif-fonts.css");

@import url("/assets/datahub-navigation.css?v=20260710-nav-unified");

:root {
  --bg: #f7f9f5;
  --surface: #f7f9f5;
  --text: #171717;
  --muted: #74706a;
  --quiet: #a09b93;
  --line: #dbe3da;
  --line-strong: #cdd8ce;
  --accent: #f29b2e;
  --salary: #047c72;
  --salary-bg: rgba(16,169,154,.16);
  --salary-border: rgba(16,169,154,.38);
  --page-width: 1180px;
  --content-width: 960px;
  --wide-content-width: 1180px;
  --transition: 160ms ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-y: scroll; scrollbar-gutter: stable; }
body {
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15.5px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
button, input { font: inherit; }
.container { width: min(var(--page-width), calc(100% - 48px)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 249, 245, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  font-family: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.topbar-shell { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 72px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { width: 36px; height: 36px; object-fit: contain; flex: 0 0 auto; }
.topmark { font-family: "Source Serif 4", "Noto Serif SC", serif; font-size: 1.44rem; font-weight: 700; line-height: 1; letter-spacing: 0; }
.nav-drawer { display: flex; align-items: center; justify-content: flex-end; gap: 30px; margin-left: auto; }
.nav-menu { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav-menu a { display: inline-flex; min-height: 30px; align-items: center; color: var(--muted); font-size: 0.94rem; text-decoration: none; transition: color var(--transition); }
.nav-menu a:hover, .nav-menu a.active { color: var(--text); }
.searchbox { display: flex; align-items: center; gap: 8px; width: 150px; border-bottom: 1px solid var(--line-strong); }
.searchbox-icon { width: 15px; height: 15px; color: var(--quiet); flex: 0 0 auto; }
.searchbox input { width: 100%; height: 32px; border: 0; background: transparent; color: var(--text); outline: none; }
.searchbox input::placeholder { color: var(--quiet); }
.hamburger { display: none; flex-direction: column; gap: 5px; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.hamburger span { width: 24px; height: 1.5px; background: var(--text); transition: transform var(--transition), opacity var(--transition); }
.topbar:has(.account-menu) .topbar-shell { padding-right: 0; }
.account-menu {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  z-index: 120;
}
.account-menu:not([data-auth-ready]) .account-button { visibility: hidden; }
.account-button {
  min-height: 34px;
  border: 1px solid var(--salary);
  border-radius: 7px;
  background: var(--salary);
  color: var(--bg);
  padding: 0 14px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
}
.account-button:hover {
  border-color: #056d65;
  background: #056d65;
}
.account-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 132px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  box-shadow: 0 18px 42px rgba(23, 23, 23, 0.12);
}
.account-dropdown a,
.account-dropdown button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 7px 8px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.auth-modal[hidden] { display: none; }
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(9, 23, 20, 0.42);
  backdrop-filter: blur(6px);
}
.auth-modal .auth-dialog {
  position: relative;
  width: min(430px, calc(100vw - 32px));
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  box-shadow: 0 24px 70px rgba(16, 31, 26, 0.26);
}
.auth-modal .auth-dialog header { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin: 0 0 18px; padding: 0; }
.auth-modal .auth-dialog h2 { margin: 0; font-size: 22px; line-height: 1.25; }
.auth-modal .auth-dialog p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.auth-modal .auth-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.auth-modal .auth-form { display: grid; grid-template-columns: 1fr; gap: 12px; }
.auth-modal .auth-form label { display: grid; grid-template-columns: 1fr; gap: 6px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.auth-modal .auth-form input { display: block; width: 100%; height: 42px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--text); padding: 0 12px; font: inherit; font-size: 15px; }
.auth-modal .auth-actions { display: flex; gap: 10px; align-items: center; margin-top: 4px; }
.auth-modal .auth-actions button { height: 38px; border-radius: 6px; padding: 0 14px; font-size: 14px; cursor: pointer; }
.auth-modal .auth-secondary { border: 1px solid var(--salary-border); background: var(--bg); color: var(--salary); }
.auth-modal .auth-submit { border: 1px solid var(--salary); background: var(--salary); color: #fff; font-weight: 700; }
.auth-modal .auth-message { min-height: 20px; color: var(--muted); font-size: 13px; }
.auth-modal .auth-message.error { color: #b42318; }
.auth-modal .auth-message.ok { color: var(--salary); }

.page { min-height: calc(100vh - 73px); }
.page-opening { padding: 52px 0 24px; }
.home-opening { padding-top: 72px; }
.home-opening .editorial-grid { grid-template-columns: minmax(0, 560px) 420px; align-items: start; }
.home-opening .stats-list { grid-column: auto; margin-top: 4px; }
.home-opening .page-title-block h1 { font-size: clamp(3rem, 5.4vw, 4.7rem); line-height: 1.02; }
.editorial-grid { display: grid; grid-template-columns: 124px minmax(0, var(--content-width)); gap: 36px; align-items: start; }
.page-title-block h1, .section-title h2, .media-copy h3, .directory-item h3, .brand-item h3, .article-title, .article-page h1, .article-header h1 {
  font-family: "Source Serif 4", "Noto Serif SC", serif;
  font-weight: 700;
  letter-spacing: 0;
}
.page-title-block h1 { font-size: 1.9rem; line-height: 1.18; }
.eyebrow { margin-bottom: 10px; color: var(--muted); font-size: 0.88rem; }
.lead, .page-note, .about-copy { max-width: 46rem; margin-top: 14px; color: var(--muted); font-size: 1rem; }
.page-copy-wide, .list-page-wide {
  width: min(var(--wide-content-width), calc(100% - 48px));
  margin: 0 auto;
}
.page-copy-wide .page-note { max-width: 54rem; }
.stats-list { grid-column: 2; display: grid; max-width: 420px; border-top: 1px solid var(--text); }
.stats-list p { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.stats-list strong { font-family: "Source Serif 4", "Noto Serif SC", serif; font-size: 1.2rem; line-height: 1.2; }
.stats-list span { color: var(--muted); }

.community-page { padding: 54px 0 18px; }
.community-layout {
  width: min(var(--wide-content-width), calc(100% - 48px));
  margin: 0 auto;
}
.community-nav {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.community-nav p {
  color: var(--text);
  font-family: "Source Serif 4", "Noto Serif SC", serif;
  font-weight: 700;
}
.community-nav a {
  color: var(--muted);
  text-decoration: none;
}
.community-nav a:hover { color: var(--text); }
.community-main { min-width: 0; }
.community-intro {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.community-intro h1 {
  font-family: "Source Serif 4", "Noto Serif SC", serif;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1.16;
  letter-spacing: 0;
}
.community-intro p,
.community-section-block p,
.community-work em,
.community-facts span {
  color: var(--muted);
}
.community-lead {
  margin-top: 14px;
  color: var(--text) !important;
  font-family: "Source Serif 4", "Noto Serif SC", serif;
  font-size: 1.25rem;
  line-height: 1.5;
}
.community-intro p:not(.eyebrow):not(.community-lead) {
  max-width: 58rem;
  margin-top: 12px;
}
.community-section-block {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 34px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.section-label {
  color: var(--text);
  font-family: "Source Serif 4", "Noto Serif SC", serif;
  font-weight: 700;
}
.community-list {
  display: grid;
  gap: 24px;
}
.community-list h2 {
  font-family: "Source Serif 4", "Noto Serif SC", serif;
  font-size: 1.18rem;
  line-height: 1.35;
  letter-spacing: 0;
}
.community-list p { margin-top: 6px; }
.community-prose { max-width: 58rem; }
.community-essay { max-width: 58rem; }
.community-essay p + p { margin-top: 12px; }
.community-work {
  display: grid;
  gap: 0;
}
.community-work a {
  display: grid;
  grid-template-columns: 42px 150px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  transition: background-color var(--transition);
}
.community-work a:first-child { border-top: 0; padding-top: 0; }
.community-work a:hover { background: rgba(219, 227, 218, 0.35); }
.community-work span,
.community-work em {
  font-style: normal;
}
.community-work span {
  color: var(--quiet);
  font-family: "Source Serif 4", "Noto Serif SC", serif;
}
.community-work strong {
  font-family: "Source Serif 4", "Noto Serif SC", serif;
  font-size: 1.06rem;
}
.community-work a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.community-facts {
  display: grid;
  border-top: 1px solid var(--text);
  margin-top: 22px;
}
.community-facts p {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.community-facts strong {
  color: var(--text);
  font-family: "Source Serif 4", "Noto Serif SC", serif;
  font-size: 1.12rem;
}
.community-contact {
  display: grid;
  gap: 22px;
  max-width: 58rem;
}
.community-contact strong {
  display: inline-block;
  min-width: 4.5rem;
  color: var(--text);
  font-family: "Source Serif 4", "Noto Serif SC", serif;
}

.content-section { padding: 24px 0 44px; }
.blog-index-section { padding-top: 48px; }
.blog-index-layout {
  width: min(var(--wide-content-width), calc(100% - 48px));
  margin: 0 auto;
}
.section-title h2 { font-size: 1.75rem; line-height: 1.14; }
.media-list, .directory-list { display: grid; gap: 0; }
.media-item {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background-color var(--transition);
}
.media-item:hover { background: rgba(219, 227, 218, 0.35); }
.media-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 144px;
  height: 82px;
  overflow: hidden;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  flex: 0 0 auto;
}
.media-thumb span { font-family: "Source Serif 4", "Noto Serif SC", serif; font-size: 1.55rem; font-weight: 700; letter-spacing: 0; }
.thumb-dark { background: linear-gradient(135deg, #171717, #3a3a35); }
.thumb-blue { background: linear-gradient(135deg, #174b77, #80c7d7); }
.thumb-warm { background: linear-gradient(135deg, #c46422, #f1bd58); }
.thumb-green { background: linear-gradient(135deg, #0d5546, #8dbf9b); }
.media-copy h3 { font-size: 1.22rem; line-height: 1.35; }
.media-copy h3 a { text-decoration: none; }
.media-copy p { margin-top: 5px; color: var(--muted); }
.media-meta { margin-top: 7px; color: var(--quiet); font-size: 0.86rem; }
.line-link { align-self: center; color: var(--muted); font-size: 0.92rem; text-decoration: none; white-space: nowrap; }
.line-link::after { content: " ->"; }
.media-item:hover .line-link { color: var(--text); }

.article-list { max-width: var(--wide-content-width); }
.article-row .media-copy h3 { font-size: 1.18rem; }
.text-article-row {
  display: block;
  padding: 14px 16px 18px;
  margin: 0 -16px 10px;
  border-bottom: 0;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color var(--transition);
}
.text-article-row:hover { background: #fff; }
.text-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.84rem;
  line-height: 1.45;
}
.text-article-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 999px;
}
.meta-date {
  color: #6f6a62;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(211, 205, 194, 0.78);
}
.meta-tag {
  color: var(--salary);
  background: var(--salary-bg);
  border: 1px solid var(--salary-border);
}
.text-article-main h3 {
  font-family: "Source Serif 4", "Noto Serif SC", serif;
  font-size: 1.14rem;
  line-height: 1.35;
  letter-spacing: 0;
  margin-top: 4px;
}
.text-article-main p { margin-top: 6px; color: var(--muted); }
.read-more-inline { color: var(--text); white-space: nowrap; }
.article-empty { padding: 28px 0; color: var(--muted); border-bottom: 1px solid var(--line); }
.article-empty strong { color: var(--text); }

.directory-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color var(--transition);
}
.directory-item:hover { background: rgba(219, 227, 218, 0.35); }
.directory-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: rgba(255,255,255,0.45);
  color: var(--quiet);
  font-family: "Source Serif 4", "Noto Serif SC", serif;
  font-weight: 700;
}
.directory-item h3 { font-size: 1.28rem; line-height: 1.35; }
.directory-item p { margin-top: 6px; color: var(--muted); }
.directory-item span, .brand-item span { display: block; margin-top: 9px; color: var(--quiet); font-size: 0.86rem; }

.brand-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 46px 78px; padding-top: 8px; }
.brand-item { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 18px; align-items: center; }
.brand-item { transition: background-color var(--transition); }
.brand-item:hover { background: rgba(219, 227, 218, 0.35); }
.brand-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: #fff;
  font-family: "Source Serif 4", "Noto Serif SC", serif;
  font-weight: 700;
}
.avatar-dark { background: #181818; }
.avatar-blue { background: linear-gradient(160deg, #254e9b, #91d7e6); }
.avatar-green { background: #0e624f; }
.avatar-warm { background: #e39a2f; }
.brand-item h3 { font-size: 1.2rem; line-height: 1.3; }
.brand-item p { margin-top: 5px; color: var(--muted); }

.about-strip { padding-top: 18px; }
.about-copy { margin-top: 0; }
.contact-panel { color: var(--muted); }
.contact-panel strong { color: var(--text); margin-right: 12px; }
.qr-column { display: grid; grid-template-columns: repeat(2, 126px); gap: 18px; margin-top: 20px; }
.qr-figure { border-top: 1px solid var(--line-strong); padding-top: 10px; }
.qr-figure img { width: 126px; aspect-ratio: 1; object-fit: cover; }
.qr-figure figcaption { margin-top: 8px; color: var(--muted); font-size: 0.78rem; }

.footer { margin-top: 54px; border-top: 1px solid var(--line); padding: 26px 0; }
.footer-shell { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--quiet); font-size: 0.86rem; }
.footer-primary { display: grid; gap: 4px; }
.friend-links { display: flex; align-items: center; justify-content: flex-end; gap: 10px 14px; flex-wrap: wrap; max-width: 620px; }
.friend-links span { color: var(--quiet); }
.friend-links a { color: var(--muted); white-space: nowrap; }
.friend-links a:hover { color: var(--text); }
.footer a { text-decoration: none; }
[hidden] { display: none !important; }

.community-intro-actions { display: flex; align-items: center; gap: 18px; margin-top: 24px; }
.community-intro-actions a { color: var(--text); font-weight: 700; text-decoration: none; }
.community-primary-action { min-height: 44px; padding: 0 18px; border: 1px solid #087a55; border-radius: 6px; background: #087a55; color: #fff; font-weight: 800; cursor: pointer; }
.community-primary-action:hover, .community-primary-action:focus-visible { background: #066446; border-color: #066446; }
.membership-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 420px); gap: 44px; align-items: start; min-width: 0; }
.membership-heading h2 { font-family: "Source Serif 4", "Noto Serif SC", serif; font-size: 1.8rem; line-height: 1.25; letter-spacing: 0; }
.membership-heading p { max-width: 46rem; margin-top: 10px; color: var(--muted); }
.membership-benefits { display: grid; gap: 0; margin-top: 24px; border-top: 1px solid var(--line); list-style: none; }
.membership-benefits li { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.membership-benefits strong { color: #0b5f45; }
.membership-benefits span { color: var(--muted); }
.membership-process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 26px 0 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); }
.membership-process li { min-width: 0; padding: 16px; background: #f8faf7; }
.membership-process span { display: block; color: #087a55; font-size: 0.8rem; font-weight: 800; }
.membership-process strong { display: block; margin-top: 5px; }
.membership-process p { margin-top: 5px; color: var(--muted); font-size: 0.88rem; }
.membership-certificate-card { padding: 18px; border: 1px solid #cfe1d7; background: #edf7f1; }
.membership-certificate-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.membership-certificate-heading span { color: #0b5f45; font-family: "Source Serif 4", "Noto Serif SC", serif; font-size: 1.15rem; font-weight: 700; }
.membership-certificate-heading small { color: var(--muted); font-size: 0.78rem; }
.membership-certificate-preview { position: relative; display: block; width: 100%; overflow: hidden; border: 1px solid #c4d7cc; background: #fff; padding: 6px; cursor: zoom-in; }
.membership-certificate-preview:hover { border-color: #087a55; }
.membership-certificate-preview img { display: block; width: 100%; height: auto; aspect-ratio: 3396 / 2151; object-fit: contain; }
.membership-certificate-preview span { position: absolute; right: 14px; bottom: 14px; display: inline-flex; min-height: 30px; align-items: center; padding: 5px 9px; background: rgba(23, 23, 23, 0.84); color: #fff; font-size: 0.76rem; font-weight: 700; }
.membership-modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 20px; }
.membership-backdrop { position: absolute; inset: 0; background: rgba(16, 31, 24, 0.55); }
.membership-dialog { position: relative; width: min(760px, 100%); max-height: calc(100vh - 40px); overflow: auto; border: 1px solid #d7e2dc; border-radius: 8px; background: #fff; box-shadow: 0 24px 70px rgba(16, 31, 24, 0.28); }
.membership-dialog header { display: flex; justify-content: space-between; gap: 20px; padding: 22px 24px; border-bottom: 1px solid #e4ebe7; }
.membership-dialog header span { color: #087a55; font-size: 0.82rem; font-weight: 800; }
.membership-dialog header h2 { margin-top: 3px; font-size: 1.65rem; }
.membership-dialog header p { margin-top: 5px; color: var(--muted); }
.membership-dialog header button { width: 34px; height: 34px; border: 1px solid #d5ddd8; border-radius: 6px; background: #fff; color: #56655e; font-size: 22px; cursor: pointer; }
.membership-dialog form { display: grid; gap: 14px; padding: 22px 24px 26px; }
.membership-dialog label { display: grid; gap: 6px; color: #2c3b34; font-size: 0.9rem; font-weight: 700; }
.membership-dialog .required-mark { color: #b42318; font: inherit; font-weight: 800; }
.membership-dialog input, .membership-dialog textarea { width: 100%; border: 1px solid #cbd7d0; border-radius: 6px; background: #fff; color: var(--text); font: inherit; }
.membership-dialog input { min-height: 42px; padding: 0 10px; }
.membership-dialog textarea { min-height: 88px; padding: 10px; resize: vertical; }
.membership-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.membership-dialog input[readonly] { background: #f3f6f4; color: #66736d; cursor: default; }
.membership-choice-group { min-width: 0; padding: 15px; border: 1px solid #d7e2dc; border-radius: 6px; }
.membership-choice-group legend { padding: 0 6px; color: #2c3b34; font-size: 0.9rem; font-weight: 800; }
.membership-choice-group legend span { margin-left: 6px; color: var(--quiet); font-size: 0.78rem; font-weight: 500; }
.membership-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px; }
.membership-expertise-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.membership-choice-grid label { display: flex; grid-template-columns: none; flex-direction: row; gap: 7px; align-items: center; min-height: 34px; padding: 6px 8px; border: 1px solid #e1e8e4; border-radius: 4px; background: #f8faf8; font-size: 0.84rem; font-weight: 500; cursor: pointer; }
.membership-choice-grid label:has(input:checked) { border-color: #73aa91; background: #e9f5ee; color: #0b5f45; font-weight: 700; }
.membership-choice-grid input, .membership-consent input { width: 16px; height: 16px; min-height: 16px; margin: 0; padding: 0; accent-color: #087a55; }
.membership-other-input { grid-template-columns: 78px minmax(0, 1fr) !important; align-items: center; margin-top: 10px; font-size: 0.84rem !important; }
.membership-consent { display: flex !important; grid-template-columns: 18px minmax(0, 1fr); align-items: flex-start; font-weight: 400 !important; line-height: 1.55; }
.membership-consent input { width: 16px; min-height: 16px; margin-top: 3px; }
.membership-honeypot { position: absolute; left: -9999px; }
.membership-form-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 4px; }
.membership-form-actions p { color: #52615a; font-size: 0.88rem; }
.membership-error-modal { position: fixed; inset: 0; z-index: 520; display: grid; place-items: center; padding: 20px; }
.membership-error-backdrop { position: absolute; inset: 0; background: rgba(16, 31, 24, 0.62); }
.membership-error-dialog { position: relative; width: min(420px, 100%); padding: 24px; border: 1px solid #e4b6a9; border-radius: 8px; background: #fff; box-shadow: 0 22px 64px rgba(16, 31, 24, 0.3); }
.membership-error-dialog > span { color: #a23f27; font-size: 0.8rem; font-weight: 800; }
.membership-error-dialog h2 { margin-top: 4px; font-size: 1.55rem; }
.membership-error-dialog p { margin-top: 10px; color: #5f4037; line-height: 1.65; }
.membership-error-dialog button { width: 100%; min-height: 42px; margin-top: 20px; border: 1px solid #087a55; border-radius: 6px; background: #087a55; color: #fff; font-weight: 800; cursor: pointer; }
.membership-certificate-modal[hidden] { display: none; }
.membership-certificate-modal { position: fixed; inset: 0; z-index: 450; display: grid; place-items: center; padding: 38px; }
.membership-certificate-backdrop { position: absolute; inset: 0; background: rgba(13, 27, 22, 0.78); backdrop-filter: blur(3px); }
.membership-certificate-dialog { position: relative; width: min(1160px, 100%); }
.membership-certificate-dialog img { display: block; width: 100%; max-height: calc(100vh - 76px); object-fit: contain; border: 1px solid rgba(255, 255, 255, 0.48); background: #fff; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34); }
.membership-certificate-close { position: absolute; right: 0; bottom: calc(100% + 10px); width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 50%; background: rgba(23, 23, 23, 0.82); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }

/* Legacy/simple article pages */
.article-page, .article-detail { width: min(var(--page-width), calc(100% - 48px)); margin: 0 auto; padding: 64px 0; }
.article-page > *, .article-detail > * { max-width: 760px; }
.article-page h1, .article-title { font-size: 2.2rem; line-height: 1.18; margin-top: 10px; }
.article-kicker, .article-category, .article-meta { color: var(--quiet); font-size: 0.9rem; }
.article-summary { margin-top: 16px; color: var(--muted); font-size: 1.06rem; }
.article-body, .article-content { margin-top: 34px; color: #2a2926; }
.article-body h2, .article-content h2 { margin: 34px 0 12px; font-family: "Source Serif 4", "Noto Serif SC", serif; font-size: 1.45rem; }
.article-body p, .article-content p { margin: 14px 0; }
.article-body ul, .article-content ul { margin: 14px 0 14px 1.2rem; }
.article-note { margin-top: 30px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); }
.article-link, .back-button { display: inline-flex; margin-top: 26px; color: var(--text); text-decoration: none; }
.article-loading, .article-not-found { min-height: 50vh; display: grid; place-items: center; color: var(--muted); }
.article-cover { margin-top: 24px; border-radius: 10px; overflow: hidden; }
.article-footer { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 18px; }

@media (max-width: 980px) {
  .editorial-grid, .home-opening .editorial-grid { grid-template-columns: 1fr; gap: 18px; }
  .community-layout { grid-template-columns: 1fr; gap: 28px; }
  .community-nav { position: static; display: flex; flex-wrap: wrap; gap: 10px 14px; }
  .community-nav p { width: 100%; }
  .blog-index-layout { grid-template-columns: 1fr; gap: 26px; }
  .stats-list, .home-opening .stats-list { grid-column: auto; }
  .section-title { max-width: var(--content-width); }
  .brand-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 860px) {
  .topbar-shell { min-height: 68px; flex-wrap: wrap; }
  .topbar:has(.account-menu) .topbar-shell { padding-right: 0; }
  .account-menu { position: static; order: 3; transform: none; margin: 0 24px 12px auto; }
  .hamburger { display: flex; margin-left: auto; }
  .hamburger.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .hamburger.is-active span:nth-child(2) { opacity: 0; }
  .hamburger.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav-drawer { display: none; flex-direction: column; align-items: stretch; width: 100%; gap: 18px; padding: 0 0 18px; }
  .nav-drawer.is-open { display: flex; }
  .nav-menu { flex-direction: column; align-items: flex-start; gap: 10px; }
  .searchbox { width: 100%; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .container { width: min(var(--page-width), calc(100% - 32px)); }
  .page-opening { padding: 42px 0 22px; }
  .home-opening { padding-top: 42px; }
  .community-page { padding-top: 34px; }
  .community-section-block { grid-template-columns: 1fr; gap: 14px; padding: 30px 0; }
  .page-copy-wide, .list-page-wide, .community-layout, .blog-index-layout { width: min(var(--page-width), calc(100% - 32px)); }
  .community-intro h1 { font-size: 2rem; }
  .community-work a { grid-template-columns: 38px minmax(0, 1fr); gap: 10px 14px; }
  .community-work em { grid-column: 2; }
  .community-facts p { grid-template-columns: 74px minmax(0, 1fr); gap: 14px; }
  .home-opening .page-title-block h1 { font-size: 2.2rem; line-height: 1.08; }
  .page-title-block h1 { font-size: 1.72rem; }
  .media-item { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 20px 0; }
  .article-row { grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: start; }
  .article-row .line-link { display: none; }
  .article-row .media-thumb { width: 56px; height: 56px; border-radius: 8px; }
  .article-row .media-thumb span { font-size: 0.95rem; }
  .blog-index-section { padding-top: 34px; }
  .text-article-row { padding-bottom: 24px; margin-bottom: 24px; }
  .text-article-meta { gap: 8px; }
  .text-article-main h3 { font-size: 1.12rem; }
  .media-thumb { width: 100%; height: 108px; }
  .media-copy h3, .article-row .media-copy h3 { font-size: 1.12rem; }
  .directory-item { grid-template-columns: 56px minmax(0, 1fr); gap: 16px; }
  .directory-mark { width: 48px; height: 48px; }
  .brand-item { grid-template-columns: 76px minmax(0, 1fr); }
  .footer-shell { flex-direction: column; align-items: flex-start; }
  .qr-column { grid-template-columns: 1fr; }
  .article-page, .article-detail { width: min(var(--page-width), calc(100% - 32px)); padding: 42px 0; }
  .membership-benefits, .membership-form-grid { grid-template-columns: 1fr; }
  .membership-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .membership-content { grid-template-columns: 1fr; gap: 28px; }
  .membership-benefits li { grid-template-columns: 1fr; gap: 4px; }
  .membership-process { grid-template-columns: 1fr; }
  .membership-dialog { max-height: calc(100vh - 24px); }
  .membership-modal { padding: 12px; }
  .membership-form-actions { align-items: stretch; flex-direction: column; }
  .membership-certificate-modal { padding: 18px; }
  .membership-certificate-close { bottom: calc(100% + 6px); }
}

@media (max-width: 460px) {
  .membership-choice-grid { grid-template-columns: 1fr; }
}
