/* Platform domain aggregation portal stylesheet */
:root {
  --bg: #f3f5f7;
  --paper: #fff;
  --ink: #1f2933;
  --muted: #6b7785;
  --brand: #0f766e;
  --brand-deep: #0b5f59;
  --line: #e5e9ee;
  --nav: #0f766e;
  --topbar: #f7f8fa;
  --shadow: 0 8px 24px rgba(15, 35, 45, .08);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-deep); }
.wrap { width: 1200px; max-width: calc(100% - 24px); margin: 0 auto; }
.sr-only {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.topbar {
  background: var(--topbar);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
  gap: 12px;
}
.topbar-links { display: flex; flex-wrap: wrap; gap: 14px; }
.topbar-links span,
.topbar-links a { color: var(--muted); cursor: default; }
.masthead { background: var(--paper); padding: 18px 0 14px; }
.masthead-inner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 210px;
  gap: 20px;
  align-items: center;
}
.brand-block { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.brand-block a {
  color: var(--ink);
  font-size: 26px;
  font-weight: 780;
  letter-spacing: .01em;
  line-height: 1.15;
}
.brand-block small {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-box { display: flex; flex-direction: column; gap: 8px; }
.search-tabs { display: flex; gap: 8px; }
.search-tabs span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--muted);
  background: #eef2f5;
  cursor: default;
}
.search-tabs span.is-on { background: var(--brand); color: #fff; }
.search-form {
  display: flex;
  border: 2px solid var(--brand);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.search-form input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0 14px;
  min-height: 42px;
  font-size: 14px;
}
.search-form button {
  border: 0;
  background: var(--brand);
  color: #fff;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
}
.search-form button:hover { background: var(--brand-deep); }
.masthead-actions { display: flex; flex-direction: column; gap: 8px; }
.masthead-actions span,
.masthead-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 650;
  cursor: default;
}
.btn-solid { background: var(--brand); color: #fff; }
.btn-line { border: 1px solid var(--brand); color: var(--brand); background: #fff; }
.channel-nav { background: var(--nav); box-shadow: var(--shadow); }
.channel-nav-inner {
  display: flex;
  align-items: stretch;
  min-height: 44px;
  overflow: auto;
}
.channel-nav a,
.channel-nav span {
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: rgba(255, 255, 255, .92);
  font-size: 14px;
  white-space: nowrap;
  cursor: default;
}
.channel-nav a { cursor: pointer; }
.channel-nav a:hover,
.channel-nav a.is-active,
.channel-nav span.is-active {
  background: rgba(0, 0, 0, .14);
  color: #fff;
}
.main { padding: 20px 0 48px; }
.portal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}
.portal-hero {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  padding: 34px 32px;
  margin-bottom: 16px;
  color: #fff;
  background: linear-gradient(135deg, #0f766e 0%, #0b5f59 55%, #134e4a 100%);
  box-shadow: var(--shadow);
}
.portal-hero::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -50px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
.portal-eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, .78);
}
.portal-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 750;
  max-width: 18em;
}
.portal-lead {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 46em;
  color: rgba(255, 255, 255, .88);
  font-size: 15px;
}
.portal-hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.portal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
}
.portal-btn-primary { background: #fff; color: #0b5f59; }
.portal-btn-primary:hover { background: #e7f6f4; color: #0b5f59; }
.portal-btn-ghost { border: 1px solid rgba(255, 255, 255, .45); color: #fff; }
.portal-btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.portal-btn-solid {
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  padding: 0 18px;
}
.portal-btn-solid:hover { background: var(--brand-deep); color: #fff; }
.portal-section,
.portal-article,
.portal-side-block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 14px;
}
.portal-section-flat { background: transparent; border: 0; padding: 0; }
.portal-section-head {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.portal-section-flat .portal-section-head {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.portal-section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.portal-section-more { flex-shrink: 0; font-size: 13px; color: var(--muted); }
.portal-section-more:hover { color: var(--brand); }
.portal-section-head h2,
.portal-side-block h2 { margin: 0; font-size: 18px; }
.portal-section-head p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.portal-section h1,
.portal-article h1 { margin: 0 0 12px; font-size: 28px; line-height: 1.3; }
.portal-news-list,
.portal-side-list { list-style: none; margin: 0; padding: 0; }
.portal-news-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.portal-news-list li:last-child { border-bottom: 0; }
.portal-news-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: inherit;
}
.portal-news-list strong { font-size: 16px; font-weight: 650; }
.portal-news-list span { color: var(--muted); font-size: 13px; flex-shrink: 0; }
.portal-news-list p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.portal-side-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.portal-side-list li:last-child { border-bottom: 0; }
.portal-side-list a {
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.portal-side-list a:hover { color: var(--brand); }
.portal-company-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.portal-layout .portal-company-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.portal-company-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  color: inherit;
  min-width: 0;
}
.portal-company-card:hover {
  border-color: #99c5bf;
  color: inherit;
  box-shadow: 0 6px 18px rgba(15, 35, 45, .06);
}
.portal-company-thumb { aspect-ratio: 4 / 3; background: #eef2f5; overflow: hidden; }
.portal-company-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.portal-company-thumb-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 120px;
  color: var(--muted);
  font-size: 13px;
  background: linear-gradient(135deg, #eef2f5, #e2e8f0);
}
.portal-company-thumb-lg { border-radius: 8px; border: 1px solid var(--line); }
.portal-company-card-body { padding: 10px 12px 12px; }
.portal-company-card-body strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.portal-company-card-body span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.portal-company-hero {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 20px;
  margin: 16px 0 8px;
}
.portal-company-facts { width: 100%; border-collapse: collapse; }
.portal-company-facts th,
.portal-company-facts td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}
.portal-company-facts th {
  width: 7em;
  color: var(--muted);
  font-weight: 550;
  background: #f8fafb;
}
.portal-company-block {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.portal-company-block h2 { margin: 0 0 10px; font-size: 18px; }
.portal-company-copy {
  color: #334155;
  font-size: 15px;
  line-height: 1.8;
  word-break: break-word;
}
.portal-breadcrumb { margin: 0 0 10px; color: var(--muted); font-size: 13px; }
.portal-breadcrumb a { color: var(--muted); }
.portal-breadcrumb a:hover { color: var(--brand); }
.portal-friend-links { display: flex; flex-wrap: wrap; gap: 10px; }
.portal-friend-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: #f8fafb;
  font-size: 13px;
  color: #334155;
}
.portal-friend-links a:hover { border-color: #99c5bf; color: var(--brand); }
.portal-meta { color: var(--muted); font-size: 13px; }
.portal-body { margin-top: 16px; }
.portal-more { margin-top: 16px; }
.portal-pager {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}
.portal-empty { color: var(--muted); margin: 0; }
.site-footer {
  margin-top: 8px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.site-footer-inner {
  display: grid;
  grid-template-columns: 1.3fr .9fr .9fr;
  gap: 24px;
  padding: 28px 0 18px;
}
.site-footer h3 { margin: 0 0 10px; font-size: 15px; }
.site-footer p,
.site-footer a,
.site-footer li,
.site-footer span { color: var(--muted); font-size: 13px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a:hover { color: var(--brand); }
.site-footer span { cursor: default; }
.site-footer-copy {
  border-top: 1px solid var(--line);
  padding: 14px 0 22px;
  color: var(--muted);
  font-size: 12px;
}
@media (max-width: 960px) {
  .masthead-inner { grid-template-columns: 1fr; }
  .masthead-actions { flex-direction: row; }
  .portal-layout { grid-template-columns: 1fr; }
  .portal-aside { order: 2; }
  .portal-hero { padding: 26px 20px; }
  .portal-hero h1 { font-size: 24px; }
  .portal-company-grid,
  .portal-layout .portal-company-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .portal-company-hero { grid-template-columns: 1fr; }
  .site-footer-inner { grid-template-columns: 1fr; }
}
