:root {
  --brand-primary: #0f5b45;
  --brand-secondary: #7d8f73;
  --text-primary: #12231f;
  --text-secondary: #60716b;
  --surface: #fffdf9;
  --surface-muted: #f3f7f0;
  --surface-warm: #fbf3ee;
  --border: #dfe7df;
  --success: #0f6f4a;
  --warning: #9b6a1e;
  --danger: #9b3131;
  --shadow: 0 18px 45px rgba(20, 43, 35, .08);
  --radius: 8px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.mc-site {
  margin: 0;
  color: var(--text-primary);
  background: var(--surface);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.75;
}
body.mc-site a { color: inherit; text-decoration: none; }
body.mc-site img { max-width: 100%; height: auto; display: block; }
.mc-container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.mc-skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 14px; background: var(--brand-primary); color: white; border-radius: 4px; }
.mc-skip:focus { top: 12px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

.mc-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,253,249,.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}
.mc-header__inner {
  width: min(calc(100% - 28px), 1280px);
  margin-inline: auto;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}
.mc-brand { display: inline-flex; align-items: center; gap: 10px; min-width: max-content; }
.mc-brand__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--brand-primary);
  border-radius: 50% 50% 46% 54%;
  font-weight: 700;
  font-size: 13px;
}
.mc-brand strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 24px; line-height: 1; }
.mc-brand small { display: block; color: var(--text-secondary); font-size: 11px; line-height: 1.2; margin-top: 4px; }
.mc-nav { display: flex; align-items: center; gap: 3px; justify-content: center; }
.mc-nav > a, .mc-nav__group > a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 6px;
  color: #253832;
  font-weight: 600;
  font-size: 14px;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}
.mc-nav > a:hover, .mc-nav__group:hover > a, .mc-nav .is-active { background: var(--surface-muted); color: var(--brand-primary); }
.mc-nav > a:active, .mc-btn:active, .mc-topic-card:active { transform: translateY(1px) scale(.99); }
.mc-nav__group { position: relative; }
.mc-mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(720px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 14px;
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.mc-nav__group:hover .mc-mega, .mc-nav__group:focus-within .mc-mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mc-mega a { padding: 12px; border-radius: 6px; }
.mc-mega a:hover { background: var(--surface-muted); }
.mc-mega strong { display: block; color: var(--brand-primary); }
.mc-mega span { display: block; color: var(--text-secondary); font-size: 12px; line-height: 1.55; margin-top: 4px; }
.mc-search { display: flex; align-items: center; gap: 0; border: 1px solid var(--border); background: white; border-radius: 999px; overflow: hidden; }
.mc-search input { width: 210px; border: 0; padding: 10px 12px; outline: 0; background: transparent; font-size: 13px; }
.mc-search button { border: 0; background: var(--brand-primary); color: white; align-self: stretch; padding: 0 14px; cursor: pointer; font-weight: 700; }
.mc-menu-toggle { display: none; border: 1px solid var(--border); background: white; padding: 9px 12px; border-radius: 6px; }

.mc-hero { padding: 54px 0 34px; background: linear-gradient(90deg, #fffdf9 0%, #f3f7f0 100%); }
.mc-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .86fr); gap: 44px; align-items: center; }
.mc-eyebrow { color: var(--brand-primary); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.2; margin: 0; text-wrap: balance; letter-spacing: 0; }
.mc-hero h1 { font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(40px, 6vw, 78px); max-width: 780px; margin-top: 12px; }
.mc-hero p, .mc-page-hero p { color: var(--text-secondary); font-size: 18px; max-width: 680px; margin: 18px 0 0; }
.mc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.mc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: background .22s ease, border-color .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.mc-btn--primary { background: var(--brand-primary); color: white; box-shadow: 0 10px 24px rgba(15, 91, 69, .18); }
.mc-btn--primary:hover { background: #0b4736; color: white; transform: translateY(-1px); }
.mc-btn--secondary { background: white; color: var(--brand-primary); border-color: var(--border); }
.mc-btn--secondary:hover { border-color: var(--brand-primary); background: var(--surface-muted); }
.mc-text-link { color: var(--brand-primary); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.mc-hero__visual { min-height: 430px; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); background: var(--surface-warm); }
.mc-hero__visual img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.mc-visual-fallback { min-height: 430px; display: grid; place-items: center; color: var(--brand-primary); font-family: Georgia, serif; font-size: 42px; background: radial-gradient(circle at 30% 20%, #f8dad5, transparent 34%), linear-gradient(135deg, #f7f4ed, #dfece4); }

.mc-trust-strip { border-block: 1px solid var(--border); background: white; }
.mc-trust-strip .mc-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.mc-trust-strip span { min-height: 72px; display: grid; place-items: center; font-weight: 800; color: #23473b; }
.mc-section { padding: 62px 0; }
.mc-section--muted { background: var(--surface-muted); }
.mc-section__head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 24px; }
.mc-section__head h2, .mc-two-col h2, .mc-tool h2, .mc-alert h2 { font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(28px, 3vw, 42px); }
.mc-two-col { display: grid; grid-template-columns: .85fr 1.15fr; gap: 54px; align-items: start; }
.mc-two-col p { margin: 0; color: var(--text-secondary); font-size: 17px; }

.mc-topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mc-topic-card {
  min-height: 178px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  background: white;
  border: 1px solid var(--border);
  border-top: 4px solid var(--topic-accent, var(--brand-primary));
  border-radius: 8px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.mc-topic-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--topic-accent), white 55%); }
.mc-topic-card span { font-size: 24px; font-family: Georgia, "Noto Serif SC", serif; color: var(--topic-accent); }
.mc-topic-card p { margin: 10px 0 20px; color: var(--text-secondary); }
.mc-topic-card strong { color: var(--brand-primary); }

.mc-ranking-panel { display: grid; grid-template-columns: .82fr 1.18fr; gap: 28px; padding: 26px; border-radius: 8px; background: linear-gradient(90deg, #fff, #fbf3ee); border: 1px solid var(--border); }
.mc-ranking-panel h3 { font-size: 28px; font-family: Georgia, "Noto Serif SC", serif; }
.mc-ranking-panel p { color: var(--text-secondary); }
.mc-ranking-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mc-ranking-list li { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; min-height: 58px; padding: 10px 12px; background: white; border: 1px solid var(--border); border-radius: 6px; }
.mc-ranking-list span { display: grid; place-items: center; width: 32px; height: 32px; background: var(--surface-muted); color: var(--brand-primary); border-radius: 50%; font-weight: 900; }
.mc-ranking-list a { font-weight: 800; }
.mc-ranking-list small { color: var(--text-secondary); }

.mc-method-grid { display: grid; grid-template-columns: 1.25fr repeat(2, minmax(160px, .7fr)); gap: 14px; }
.mc-method-card { min-height: 130px; display: flex; align-items: end; padding: 18px; background: white; border: 1px solid var(--border); border-radius: 8px; color: var(--brand-primary); font-weight: 800; }
.mc-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mc-card-grid--three { grid-template-columns: repeat(3, 1fr); }
.mc-card { display: flex; flex-direction: column; min-height: 100%; background: white; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: transform .22s ease, box-shadow .22s ease; }
.mc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mc-card__media { display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--surface-warm); overflow: hidden; }
.mc-card__media img { width: 100%; height: 100%; object-fit: cover; }
.mc-card__media span { font-family: Georgia, serif; font-size: 40px; color: var(--brand-primary); }
.mc-card__body { flex: 1; display: flex; flex-direction: column; padding: 16px; }
.mc-card h3 { font-size: 18px; margin: 8px 0; }
.mc-card h3 a:hover { color: var(--brand-primary); }
.mc-card p { margin: 0 0 18px; color: var(--text-secondary); font-size: 14px; }
.mc-card__meta { margin-top: auto; display: flex; justify-content: space-between; gap: 12px; align-items: center; color: var(--text-secondary); font-size: 12px; }

.mc-location-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mc-location-grid a { min-height: 150px; padding: 18px; display: flex; flex-direction: column; justify-content: end; gap: 8px; color: white; border-radius: 8px; background: linear-gradient(180deg, rgba(15,91,69,.25), rgba(15,91,69,.9)), url("https://images.unsplash.com/photo-1596422846543-75c6fc197f07?auto=format&fit=crop&w=900&q=70") center/cover; }
.mc-location-grid strong { font-size: 24px; font-family: Georgia, serif; }
.mc-location-grid span { font-size: 14px; }
.mc-alert, .mc-tool, .mc-contact-panel, .mc-policy { background: white; border: 1px solid var(--border); border-radius: 8px; padding: 26px; box-shadow: 0 8px 28px rgba(20,43,35,.05); }
.mc-alert p { color: var(--text-secondary); }

.mc-tool { margin: 62px 0; display: grid; grid-template-columns: .9fr 1.1fr; gap: 26px; align-items: start; }
.mc-tool p { color: var(--text-secondary); }
.mc-finder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mc-finder label, .mc-contact-form label { display: grid; gap: 6px; color: var(--text-secondary); font-size: 13px; font-weight: 700; }
.mc-finder input, .mc-finder select, .mc-contact-form input, .mc-contact-form select, .mc-contact-form textarea, .mc-search input {
  color: var(--text-primary);
}
.mc-finder input, .mc-finder select, .mc-contact-form input, .mc-contact-form select, .mc-contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 11px 12px;
  background: #fff;
  font: inherit;
}
.mc-finder .mc-btn { grid-column: 1 / -1; }
.mc-finder__results { grid-column: 1 / -1; margin-top: 12px; padding: 14px; background: var(--surface-muted); border-radius: 6px; color: var(--text-secondary); }
.mc-finder__results a { color: var(--brand-primary); font-weight: 800; }

.mc-page-hero { padding: 42px 0 34px; background: linear-gradient(90deg, #fffdf9, #eef6f1); border-bottom: 1px solid var(--border); }
.mc-page-hero h1 { margin-top: 12px; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(38px, 5vw, 64px); }
.mc-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--text-secondary); font-size: 13px; margin-bottom: 14px; }
.mc-breadcrumbs a:hover { color: var(--brand-primary); }
.mc-richtext { font-size: 17px; max-width: 790px; }
.mc-richtext h2, .mc-policy h2 { font-family: Georgia, "Noto Serif SC", serif; font-size: 30px; margin: 1.6em 0 .45em; }
.mc-richtext p, .mc-policy p, .mc-richtext li { color: #314640; }
.mc-richtext a { color: var(--brand-primary); text-decoration: underline; text-underline-offset: 4px; }
.mc-faq { display: grid; gap: 10px; }
.mc-faq details { background: white; border: 1px solid var(--border); border-radius: 6px; padding: 14px 16px; }
.mc-faq summary { cursor: pointer; font-weight: 800; color: var(--text-primary); }
.mc-faq p { color: var(--text-secondary); margin-bottom: 0; }

.mc-article__hero { padding: 38px 0 28px; background: linear-gradient(90deg, #fffdf9, #f7efe7); border-bottom: 1px solid var(--border); }
.mc-article__hero h1 { max-width: 930px; margin-top: 12px; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(34px, 4.6vw, 58px); }
.mc-article__meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; color: var(--text-secondary); font-size: 14px; }
.mc-article__meta a { color: var(--brand-primary); font-weight: 800; }
.mc-article__layout { display: grid; grid-template-columns: 240px minmax(0, 790px); gap: 54px; align-items: start; padding-top: 38px; padding-bottom: 58px; }
.mc-sticky-box { position: sticky; top: 98px; display: grid; gap: 10px; padding: 16px; border: 1px solid var(--border); border-radius: 8px; background: white; }
.mc-sticky-box strong { color: var(--brand-primary); }
.mc-sticky-box a { color: var(--text-secondary); font-size: 14px; }
.mc-sticky-box a:hover { color: var(--brand-primary); }
.mc-quick-answer, .mc-summary-table, .mc-author-box { padding: 20px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-muted); margin-bottom: 24px; }
.mc-quick-answer p, .mc-summary-table p, .mc-author-box p { margin-bottom: 0; color: var(--text-secondary); }
.mc-summary-table h2, .mc-author-box h2 { font-family: Georgia, "Noto Serif SC", serif; font-size: 26px; margin: 0 0 10px; }
.mc-author-box { background: white; }

.mc-contact-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; }
.mc-contact-form { display: grid; gap: 14px; }
.mc-form-note { color: var(--warning); font-size: 13px; margin: 0; }
.mc-policy { max-width: 900px; }
.mc-filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.mc-filter-row a { padding: 8px 12px; background: white; border: 1px solid var(--border); border-radius: 999px; color: var(--brand-primary); font-weight: 800; }
.mc-pagination { margin-top: 30px; }
.mc-pagination .nav-links { display: flex; gap: 8px; }
.mc-pagination a, .mc-pagination span { padding: 8px 12px; border: 1px solid var(--border); background: white; border-radius: 6px; }

.mc-footer { background: #10231d; color: #e8f1eb; padding: 48px 0 22px; }
.mc-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.mc-footer p, .mc-footer a, .mc-footer small { color: #bfd0c8; }
.mc-footer h2 { font-size: 14px; color: white; margin-bottom: 12px; }
.mc-footer a { display: block; padding: 4px 0; font-size: 14px; }
.mc-footer a:hover { color: white; }
.mc-brand--footer .mc-brand__mark { background: #e8f1eb; color: #10231d; }
.mc-brand--footer strong { color: white; }
.mc-footer__bottom { display: flex; justify-content: space-between; gap: 12px; padding-top: 24px; margin-top: 30px; border-top: 1px solid rgba(255,255,255,.14); color: #bfd0c8; font-size: 13px; }

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(15,91,69,.28);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .mc-header__inner { grid-template-columns: auto auto; justify-content: space-between; }
  .mc-menu-toggle { display: inline-flex; }
  .mc-nav, .mc-search { display: none; }
  .mc-header.is-open .mc-nav, .mc-header.is-open .mc-search { display: flex; }
  .mc-header.is-open .mc-header__inner { grid-template-columns: 1fr auto; align-items: start; padding: 14px 0; }
  .mc-header.is-open .mc-nav { grid-column: 1 / -1; flex-direction: column; align-items: stretch; background: white; border: 1px solid var(--border); border-radius: 8px; padding: 8px; }
  .mc-header.is-open .mc-search { grid-column: 1 / -1; width: 100%; }
  .mc-header.is-open .mc-search input { width: 100%; }
  .mc-mega { position: static; transform: none; width: 100%; grid-template-columns: 1fr; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 6px; }
  .mc-hero__grid, .mc-two-col, .mc-ranking-panel, .mc-tool, .mc-contact-panel, .mc-article__layout { grid-template-columns: 1fr; }
  .mc-article__aside { order: 2; }
  .mc-sticky-box { position: static; }
  .mc-card-grid { grid-template-columns: repeat(2, 1fr); }
  .mc-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .mc-container { width: min(calc(100% - 24px), var(--container)); }
  .mc-header__inner { min-height: 64px; width: min(calc(100% - 20px), 1280px); gap: 12px; }
  .mc-brand strong { font-size: 20px; }
  .mc-brand small { display: none; }
  .mc-hero { padding-top: 30px; }
  .mc-hero h1, .mc-page-hero h1, .mc-article__hero h1 { font-size: 36px; }
  .mc-hero__visual, .mc-hero__visual img, .mc-visual-fallback { min-height: 280px; }
  .mc-trust-strip .mc-container, .mc-topic-grid, .mc-method-grid, .mc-location-grid, .mc-card-grid, .mc-card-grid--three, .mc-footer__grid, .mc-finder { grid-template-columns: 1fr; }
  .mc-section { padding: 42px 0; }
  .mc-section__head { align-items: start; flex-direction: column; }
  .mc-ranking-list li { grid-template-columns: 32px 1fr; }
  .mc-ranking-list small { grid-column: 2; }
  .mc-footer__bottom { flex-direction: column; }
}
