:root {
  --ink: #153844;
  --muted: #5f777e;
  --accent: #007e85;
  --sky: #dff3f1;
  --paper: #f4f8f7;
  --white: #ffffff;
  --line: #cee0df;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 16px; line-height: 1.75; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
a:focus-visible, summary:focus-visible { outline: 3px solid #e78236; outline-offset: 4px; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
p, h1, h2, h3 { margin-top: 0; }
.shell { width: min(1220px, calc(100% - 56px)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 18px; color: #fff; background: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.masthead { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { position: relative; padding-left: 42px; color: var(--ink); }
.brand::before { content: ""; position: absolute; left: 0; top: 5px; width: 28px; height: 28px; border: 7px solid #69c9c1; border-bottom-color: #f1ae61; border-radius: 50%; }
.brand:hover { text-decoration: none; }
.brand-name { display: block; font-size: 24px; font-weight: 800; line-height: 1.25; }
.brand-tagline { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.primary-nav { display: flex; gap: 30px; }
.primary-nav a { padding: 8px 0; color: var(--ink); border-bottom: 2px solid transparent; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--accent); border-color: var(--accent); text-decoration: none; }
.category-strip nav { display: flex; flex-wrap: wrap; gap: 12px 30px; padding-bottom: 16px; }
.category-strip a { color: var(--muted); font-size: 13px; }
.category-strip a:hover, .category-strip a[aria-current="page"] { color: var(--accent); }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { display: flex; align-items: center; gap: 10px; padding: 8px 14px; color: var(--accent); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.nav-toggle-icon { display: grid; gap: 5px; width: 18px; }
.nav-toggle-icon i { height: 2px; background: currentColor; }
.mobile-nav[open] .nav-toggle-icon i:first-child { transform: translateY(3.5px) rotate(45deg); }
.mobile-nav[open] .nav-toggle-icon i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav nav { position: absolute; z-index: 20; top: calc(100% + 10px); right: 0; width: min(320px, calc(100vw - 32px)); padding: 10px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 45px rgba(21, 56, 68, .15); }
.mobile-nav nav a { display: block; padding: 10px 12px; color: var(--ink); }
.mobile-nav nav a[aria-current="page"] { color: var(--accent); background: var(--sky); }

.hero { padding: 34px 0 0; }
.hero-grid { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.35fr .85fr; gap: 70px; padding: 72px; background: linear-gradient(135deg, #d8f1ee, #edf7f4 58%, #f9e8ce); border-radius: 0 0 70px 0; }
.hero-grid::before { content: ""; position: absolute; left: 0; right: 0; bottom: 30px; height: 1px; background: rgba(0, 126, 133, .2); box-shadow: 0 12px 0 rgba(0, 126, 133, .08), 0 24px 0 rgba(0, 126, 133, .05); }
.hero-copy, .hero-aside { position: relative; z-index: 1; }
.eyebrow { margin-bottom: 14px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.hero h1 { max-width: 760px; margin-bottom: 25px; font-size: clamp(42px, 5.4vw, 70px); line-height: 1.17; letter-spacing: -.045em; }
.hero-intro { max-width: 700px; margin-bottom: 30px; color: #3c6269; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; justify-content: center; padding: 11px 22px; border-radius: 7px; font-weight: 700; }
.button:hover { text-decoration: none; }
.button-primary { color: #fff; background: var(--accent); }
.button-primary:hover { background: #00656b; }
.button-secondary { color: var(--ink); border: 1px solid #8bb8b5; background: rgba(255, 255, 255, .4); }
.hero-aside { align-self: center; padding: 30px; background: rgba(255, 255, 255, .75); border-top: 4px solid #efae63; box-shadow: 0 18px 45px rgba(21, 56, 68, .08); }
.aside-label { margin-bottom: 16px; color: var(--accent); font-weight: 800; }
.hero-aside ul { margin: 0 0 22px; padding: 0; list-style: none; }
.hero-aside li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.aside-note { margin: 0; color: var(--muted); font-size: 12px; }

.section-block { padding-block: 74px; }
.section-heading { margin-bottom: 30px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(29px, 3.2vw, 40px); line-height: 1.3; letter-spacing: -.02em; }
.heading-with-link { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-link { flex: none; font-weight: 700; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid #8db9b5; }
.service-card { padding: 30px 35px 20px 0; }
.service-card + .service-card { padding-left: 35px; border-left: 1px solid var(--line); }
.service-index { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 28px; color: var(--accent); background: var(--sky); border-radius: 50%; font-size: 12px; font-weight: 800; }
.service-card h3 { margin-bottom: 12px; font-size: 23px; }
.service-card p { margin: 0; color: var(--muted); }
.latest-section { padding-top: 30px; }
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.article-card { display: grid; grid-template-columns: 200px minmax(0, 1fr); min-height: 250px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.article-card.no-cover { display: block; min-height: 0; border-top: 4px solid #65bdb5; }
.article-media { height: 100%; min-height: 250px; overflow: hidden; background: var(--sky); }
.article-media img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body { display: flex; flex-direction: column; align-items: flex-start; padding: 25px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 5px 12px; margin-bottom: 12px; color: var(--muted); font-size: 11px; }
.article-title { margin-bottom: 12px; font-size: 21px; line-height: 1.45; }
.article-title a { color: var(--ink); }
.article-summary { display: -webkit-box; overflow: hidden; margin-bottom: 18px; color: var(--muted); font-size: 14px; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.read-more { margin-top: auto; font-size: 13px; font-weight: 800; }
.empty-state { margin: 0; padding: 28px; color: var(--muted); background: var(--sky); border-left: 4px solid var(--accent); }
.home-categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px; padding-bottom: 80px; }
.category-block { padding-top: 20px; border-top: 2px solid var(--ink); }
.category-block .section-heading h2 { font-size: 25px; }
.story-list { margin: 0; padding: 0; list-style: none; }
.story-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; padding: 15px 0; border-top: 1px solid var(--line); }
.story-list a { color: var(--ink); font-weight: 650; }
.story-list time { color: var(--muted); font-size: 11px; white-space: nowrap; }

.page-hero { padding: 70px 0; background: linear-gradient(110deg, var(--sky), #f5f2df); border-bottom: 1px solid var(--line); }
.narrow-heading { max-width: 900px; }
.narrow-heading h1 { margin-bottom: 17px; font-size: clamp(42px, 5.5vw, 66px); line-height: 1.2; }
.narrow-heading > p:last-child { max-width: 720px; margin: 0; color: var(--muted); font-size: 18px; }
.listing-section { padding-top: 50px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 45px; }
.page-direction, .page-number { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 7px 14px; border: 1px solid #9cbdb9; border-radius: 7px; background: #fff; }
.page-numbers { display: flex; gap: 7px; }
.page-number { min-width: 42px; padding-inline: 9px; }
.page-number[aria-current="page"] { color: #fff; background: var(--accent); border-color: var(--accent); }
.page-direction.is-disabled { color: #94a6a8; background: transparent; }
.page-ellipsis { align-self: center; }
.pagination-status { margin: 10px 0 0; color: var(--muted); text-align: center; font-size: 12px; }

.article-detail { max-width: 1020px; padding-top: 45px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 43px; color: var(--muted); font-size: 13px; }
.article-header { max-width: 900px; }
.article-header h1 { margin-bottom: 24px; font-size: clamp(38px, 5vw, 60px); line-height: 1.25; letter-spacing: -.035em; }
.article-byline { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 13px; }
.article-lead { margin-top: 27px; color: #3f646a; font-size: 20px; line-height: 1.85; }
.article-cover { margin: 40px 0; overflow: hidden; border-radius: 0 35px 0 0; }
.article-cover img { width: 100%; height: auto; }
.article-content { max-width: 790px; margin: 50px auto 0; overflow-wrap: anywhere; font-size: 18px; line-height: 2; }
.article-content h2 { margin: 1.9em 0 .8em; padding-bottom: .35em; font-size: 30px; line-height: 1.4; border-bottom: 1px solid var(--line); }
.article-content h3 { margin: 1.7em 0 .7em; font-size: 24px; }
.article-content p, .article-content ul, .article-content ol { margin-bottom: 1.5em; }
.article-content img { height: auto; margin: 30px auto; border-radius: 8px; }
.article-content blockquote { margin: 32px 0; padding: 20px 25px; color: #315a61; background: var(--sky); border-left: 4px solid var(--accent); }
.article-content pre { max-width: 100%; overflow-x: auto; padding: 20px; color: #e9ffff; background: #153844; border-radius: 8px; }
.article-content table { display: block; width: 100%; max-width: 100%; margin: 30px 0; overflow-x: auto; border-collapse: collapse; background: #fff; }
.article-content th, .article-content td { min-width: 120px; padding: 12px 15px; border: 1px solid var(--line); text-align: left; }
.article-content th { background: var(--sky); }
.article-footer { max-width: 790px; margin: 45px auto 0; padding: 25px 0 60px; border-top: 1px solid var(--line); }
.article-tags { display: flex; align-items: start; gap: 18px; margin-bottom: 22px; }
.article-tags ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.article-tags li { padding: 3px 11px; color: var(--accent); background: var(--sky); border-radius: 4px; font-size: 13px; }
.original-link { margin: 0; color: var(--muted); }
.related-articles { padding-top: 0; }
.related-story-list { max-width: 1020px; }

.about-intro { padding-bottom: 10px; }
.prose-panel { max-width: 950px; padding: 40px; background: var(--sky); border-radius: 0 28px 0 0; }
.prose-panel h2 { font-size: 34px; }
.prose-panel p:last-child { margin: 0; color: var(--muted); font-size: 18px; }
.contact-section { padding-top: 10px; }
.contact-panel { max-width: 950px; padding: 35px 40px; background: #fff; border: 1px solid var(--line); }
.contact-list { margin: 0; font-style: normal; }
.contact-list p { display: grid; grid-template-columns: 90px 1fr; gap: 20px; margin: 0; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-list span { color: var(--muted); }
.contact-list strong { font-weight: 600; }
.error-panel { padding-block: 100px; text-align: center; }
.error-code { margin: 0; color: #75bdb7; font-size: clamp(100px, 17vw, 180px); font-weight: 800; line-height: 1; }
.error-panel h1 { font-size: 42px; }
.error-panel .hero-actions { justify-content: center; margin-top: 28px; }

.site-footer { padding: 50px 0 25px; background: #e3efec; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; padding-bottom: 32px; }
.footer-brand strong { font-size: 23px; }
.footer-brand p { margin: 8px 0 0; color: var(--muted); }
.footer-source { font-size: 14px; }
.footer-source p { margin-top: 0; }
.related-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.related-links span { color: var(--muted); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 25px; padding-top: 20px; border-top: 1px solid #bfd5d1; color: var(--muted); font-size: 12px; }
.footer-legal p { margin: 0; }

@media (max-width: 1050px) {
  .hero-grid { padding: 52px; gap: 40px; }
  .article-card { grid-template-columns: 155px minmax(0, 1fr); }
  .article-card-body { padding: 21px; }
}
@media (max-width: 820px) {
  .shell { width: min(100% - 32px, 1220px); }
  .masthead { min-height: 78px; }
  .primary-nav, .category-strip { display: none; }
  .mobile-nav { display: block; }
  .hero-grid { grid-template-columns: 1fr; padding: 43px; border-radius: 0 0 45px 0; }
  .hero-aside { max-width: 580px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-card { grid-template-columns: 230px minmax(0, 1fr); }
  .home-categories { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card + .service-card { padding: 25px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .brand { padding-left: 35px; }
  .brand::before { width: 23px; height: 23px; border-width: 6px; }
  .brand-name { font-size: 20px; }
  .brand-tagline { display: none; }
  .hero { padding-top: 18px; }
  .hero-grid { padding: 32px 24px; }
  .hero h1 { font-size: 39px; }
  .hero-intro { font-size: 16px; }
  .hero-actions, .button { width: 100%; }
  .section-block { padding-block: 50px; }
  .heading-with-link { align-items: start; }
  .article-card { display: block; }
  .article-media { min-height: 0; aspect-ratio: 16 / 9; }
  .story-list li { grid-template-columns: 1fr; gap: 3px; }
  .page-hero { padding: 50px 0; }
  .pagination { flex-wrap: wrap; gap: 10px; }
  .page-numbers { order: 3; width: 100%; justify-content: center; }
  .article-detail { padding-top: 28px; }
  .article-header h1 { font-size: 35px; }
  .article-lead { font-size: 18px; }
  .article-content { font-size: 17px; }
  .article-tags { display: block; }
  .article-tags strong { display: block; margin-bottom: 10px; }
  .prose-panel, .contact-panel { padding: 26px 22px; }
  .contact-list p { grid-template-columns: 1fr; gap: 3px; }
  .footer-grid { grid-template-columns: 1fr; gap: 25px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
