/* ============================================
   page.css — Sub-page Generic Styles
   浙江德清农村商业银行 子页面样式
   ============================================ */

/* --- Page Header Banner --- */
.page-banner {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #1e3a8a, #2563eb, #60a5fa);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
}
.page-banner h2 { font-size: 32px; text-shadow: 0 2px 6px rgba(0,0,0,0.2); }

/* --- Module Banner --- */
.module-banner {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #1e3a8a, #60a5fa);
}
.module-banner img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  display: block;
}
.module-banner h2 {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 28px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  margin: 0;
  white-space: nowrap;
}

/* --- Article List Page --- */
.article-list-page { padding: 0; }
.article-list-page .list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed #e5e7eb;
}
.article-list-page .list-item:last-child { border-bottom: none; }
.article-list-page .list-item .item-title {
  flex: 1;
  font-size: 14px;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 20px;
}
.article-list-page .list-item .item-title:hover { color: #2563eb; }
.article-list-page .list-item .item-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #2563eb;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}
.article-list-page .list-item .item-date { font-size: 13px; color: #999; white-space: nowrap; }

/* --- Article Detail Page --- */
.article-detail-page {}
.article-detail-page .detail-title {
  font-size: 24px;
  color: #1f2937;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.5;
}
.article-detail-page .detail-meta {
  text-align: center;
  font-size: 13px;
  color: #999;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 20px;
}
.article-detail-page .detail-meta span { margin: 0 12px; }
.article-detail-page .detail-body {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}
.article-detail-page .detail-body p { margin-bottom: 14px; }
.article-detail-page .detail-body img { max-width: 100%; height: auto; margin: 10px 0; border-radius: 4px; }

/* --- Content Table (rich text / wangEditor generated tables) --- */
.page-content .detail-body table,
.page-content table.w-e-table,
.detail-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
  border: 1px solid #d0d5dd;
}
.page-content .detail-body table th,
.page-content table.w-e-table th,
.detail-body table th {
  background: #1e3a8a;
  color: #fff;
  font-weight: 600;
  padding: 10px 14px;
  text-align: center;
  border: 1px solid #1e3a8a;
  font-size: 14px;
}
.page-content .detail-body table td,
.page-content table.w-e-table td,
.detail-body table td {
  padding: 8px 14px;
  border: 1px solid #d0d5dd;
  color: #333;
  text-align: center;
  line-height: 1.6;
}
.page-content .detail-body table tr:nth-child(even) td,
.page-content table.w-e-table tr:nth-child(even) td,
.detail-body table tr:nth-child(even) td {
  background: #f8fafc;
}
.page-content .detail-body table tr:hover td,
.page-content table.w-e-table tr:hover td,
.detail-body table tr:hover td {
  background: #e8f0fe;
}

.article-detail-page .detail-attachments {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}
.article-detail-page .detail-attachments h4 { font-size: 14px; color: #666; margin-bottom: 10px; }
.article-detail-page .detail-attachments .att-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: #f9fafb;
  border-radius: 4px;
  margin-bottom: 6px;
}
.article-detail-page .detail-attachments .att-item .att-icon { color: #2563eb; margin-right: 8px; display: inline-flex; align-items: center; }
.article-detail-page .detail-attachments .att-item a { color: #333; font-size: 13px; }
.article-detail-page .detail-attachments .att-item a:hover { color: #2563eb; }
.article-detail-page .detail-back {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}
.article-detail-page .detail-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  font-size: 13px;
}
.article-detail-page .detail-nav a { color: #2563eb; }
.article-detail-page .detail-nav a:hover { text-decoration: underline; }

/* --- Product List Page --- */
.product-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.product-filter .filter-tab {
  padding: 6px 18px;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 13px;
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
  background: none;
}
.product-filter .filter-tab:hover,
.product-filter .filter-tab.active {
  border-color: #2563eb;
  color: #2563eb;
  background: #eff6ff;
}

/* --- Product Pane Grid (New) --- */

/* Product Page Header */
.product-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid #e5e7eb;
}
.product-page-title {
  font-size: 20px;
  color: #1f2937;
  margin: 0;
  font-weight: 700;
}
.product-page-count {
  font-size: 13px;
  color: #9ca3af;
}
.product-page-count strong {
  color: #2563eb;
  font-size: 18px;
  margin: 0 2px;
}

/* Product Empty State */
.product-empty {
  text-align: center;
  padding: 80px 20px;
}
.product-pane-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-pane-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  background: #fff;
}
.product-pane-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.pane-image {
  position: relative;
  width: 100%;
  height: 200px;
  background: #f5f7fa;
  overflow: hidden;
}
.pane-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.product-pane-card:hover .pane-image img {
  transform: scale(1.05);
}
.pane-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
  color: #2563eb;
  gap: 8px;
}
.pane-image-placeholder span {
  font-size: 13px;
  color: #94a3b8;
}
.pane-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: #2563eb;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3);
}
.pane-badge.badge-active {
  background: #2563eb;
}
.pane-body {
  padding: 18px 20px 20px;
}
.pane-name {
  font-size: 16px;
  color: #1f2937;
  margin: 0 0 10px;
  font-weight: 600;
  line-height: 1.4;
}
.pane-desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.7;
  margin: 0 0 16px;
  min-height: 40px;
}
.pane-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}
.pane-link {
  font-size: 13px;
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.pane-link:hover {
  color: #1e3a8a;
}

/* --- Product Grid (Legacy) --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 20px;
  transition: box-shadow 0.3s;
  background: #fff;
}
.product-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.product-card .card-icon {
  width: 48px;
  height: 48px;
  background: #eff6ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #2563eb;
  margin-bottom: 14px;
  overflow: hidden;
}
.product-card .card-icon img { width: 100%; height: 100%; object-fit: cover; }
.product-card .card-icon svg {
  width: 24px;
  height: 24px;
}
.product-card h4 { font-size: 16px; color: #1f2937; margin-bottom: 8px; }
.product-card .card-desc { font-size: 13px; color: #999; line-height: 1.6; margin-bottom: 14px; }
.product-card .card-link { font-size: 13px; color: #2563eb; font-weight: bold; }

/* --- Product Detail Page --- */
.product-detail-top {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}
.product-detail-img {
  width: 400px;
  flex-shrink: 0;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}
.product-detail-img img { max-width: 100%; }
.product-detail-info { flex: 1; }
.product-detail-info h2 { font-size: 24px; color: #1f2937; margin-bottom: 16px; }
.product-detail-info .product-meta { font-size: 14px; color: #666; line-height: 2.2; }
.product-detail-info .product-meta .meta-label { color: #999; margin-right: 8px; }
.product-detail-info .product-apply { margin-top: 24px; }
.product-features { margin-top: 20px; }
.product-features h3 {
  font-size: 18px;
  color: #1f2937;
  padding-left: 10px;
  border-left: 3px solid #2563eb;
  margin-bottom: 16px;
}
.product-features .feature-list li {
  padding: 8px 0;
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  border-bottom: 1px dashed #f0f0f0;
}

/* --- Search Results Page --- */
.search-bar {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}
.search-bar input {
  flex: 1;
  height: 42px;
  border: 2px solid #2563eb;
  border-radius: 4px;
  padding: 0 14px;
  font-size: 14px;
  outline: none;
}
.search-bar .search-btn {
  height: 42px;
  padding: 0 28px;
  background: #2563eb;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
  margin-left: 8px;
  border-radius: 4px;
}
.search-bar .search-btn:hover { background: #1e3a8a; }
.search-result-item {
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}
.search-result-item h4 { font-size: 15px; margin-bottom: 6px; }
.search-result-item h4 a { color: #1f2937; }
.search-result-item h4 a:hover { color: #2563eb; }
.search-result-item .result-desc { font-size: 13px; color: #666; line-height: 1.6; }
.search-result-item .result-url { font-size: 12px; color: #2563eb; margin-top: 4px; }
.search-highlight { background: #fef08a; padding: 0 2px; }
.search-summary { font-size: 13px; color: #999; margin-bottom: 20px; }

/* Search Pagination */
.search-pager { display: inline-flex; align-items: center; gap: 6px; }
.search-pager .pager-btn,
.search-pager .pager-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 12px;
  border: 1px solid #d1d5db; border-radius: 4px;
  font-size: 14px; color: #374151; text-decoration: none;
  background: #fff; cursor: pointer; transition: all .15s;
  user-select: none;
}
.search-pager .pager-btn:hover,
.search-pager .pager-num:hover { border-color: #2563eb; color: #2563eb; }
.search-pager .pager-num.active {
  background: #2563eb; border-color: #2563eb; color: #fff;
}
.search-pager .pager-btn.disabled {
  color: #c0c4cc; border-color: #e8e8e8; cursor: not-allowed; background: #f9f9f9;
}
.search-pager .pager-ellipsis {
  color: #9ca3af; padding: 0 4px; font-size: 14px;
}

/* --- Calculator Page (Enhanced) --- */

/* Hero Banner */
.calc-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 40%, #60a5fa 100%);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}
.calc-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.calc-hero::after {
  content: '';
  position: absolute;
  bottom: -60%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.calc-hero-content { position: relative; z-index: 1; }
.calc-hero-content h1 {
  font-size: 36px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.calc-hero-content p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  line-height: 1.7;
}

/* Tab Navigation */
.calc-tabs {
  display: flex;
  background: #fff;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  overflow: hidden;
  margin-top: -20px;
  position: relative;
  z-index: 2;
}
.calc-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 12px;
  border: none;
  background: #fff;
  color: #666;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  border-bottom: 3px solid transparent;
  position: relative;
  white-space: nowrap;
}
.calc-tab:hover { color: #2563eb; background: #fafdfc; }
.calc-tab.active {
  color: #2563eb;
  font-weight: 700;
  border-bottom-color: #2563eb;
  background: #eff6ff;
}
.calc-tab-icon {
  display: inline-flex;
  align-items: center;
  width: 20px;
  height: 20px;
}
.calc-tab-icon svg { width: 20px; height: 20px; }

/* Tab Content Panel */
.calc-tab-content {
  background: #fff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  overflow: hidden;
}
.calc-panel { display: none; }
.calc-panel.active { display: block; }
.calc-panel-inner {
  display: flex;
  gap: 32px;
  padding: 36px 40px;
  min-height: 360px;
}

/* Form Section (left) */
.calc-form-section { flex: 1; min-width: 0; }
.calc-section-title {
  font-size: 18px;
  color: #1f2937;
  padding-bottom: 14px;
  margin-bottom: 24px;
  border-bottom: 2px solid #f0f0f0;
  position: relative;
}
.calc-section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 48px;
  height: 2px;
  background: #2563eb;
  border-radius: 1px;
}
.calc-input-group {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}
.calc-label {
  width: 110px;
  flex-shrink: 0;
  text-align: right;
  font-size: 14px;
  color: #333;
  margin-right: 16px;
  font-weight: 500;
}
.calc-input-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 8px;
}
.calc-input-wrap input,
.calc-input-wrap select {
  height: 40px;
  border: 1.5px solid #e0e0e0;
  border-radius: 6px;
  padding: 0 14px;
  font-size: 14px;
  outline: none;
  width: 100%;
  max-width: 280px;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fafbfc;
}
.calc-input-wrap input:focus,
.calc-input-wrap select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
  background: #fff;
}
.calc-unit {
  font-size: 13px;
  color: #999;
  flex-shrink: 0;
}
.calc-radio-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.calc-radio {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #555;
  cursor: pointer;
  font-weight: normal;
}
.calc-radio input[type="radio"] {
  accent-color: #2563eb;
  width: 16px;
  height: 16px;
}
.calc-btn-row {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  padding-left: 126px;
}
.calc-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 32px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 2px 8px rgba(13,148,136,0.25);
}
.calc-btn-primary:hover {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  box-shadow: 0 4px 16px rgba(13,148,136,0.35);
  transform: translateY(-1px);
}
.calc-btn-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: #fff;
  color: #666;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.calc-btn-reset:hover {
  border-color: #2563eb;
  color: #2563eb;
  background: #eff6ff;
}

/* Exchange layout */
.calc-exchange-row {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}
.calc-exchange-col { flex: 1; min-width: 0; }
.calc-exchange-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  padding-bottom: 24px;
  flex-shrink: 0;
}
.calc-rate-ref-btn {
  padding: 8px 14px;
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #ccfbf1;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.calc-rate-ref-btn:hover { background: #ccfbf1; }

/* Result Section (right) */
.calc-result-section {
  width: 320px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #eff6ff 0%, #e6f7f5 100%);
  border-radius: 10px;
  padding: 24px;
  border: 1px solid #ccfbf1;
  align-self: flex-start;
}
.calc-result-section.has-result {
  background: linear-gradient(180deg, #eff6ff 0%, #e6f7f5 100%);
}
.calc-result-title {
  font-size: 16px;
  color: #1e3a8a;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #ccfbf1;
  font-weight: 600;
}
.calc-result-placeholder {
  text-align: center;
  padding: 30px 0;
  color: #bbb;
  font-size: 13px;
}
.calc-result-error {
  text-align: center;
  padding: 20px 0;
  color: #ef4444;
  font-size: 14px;
}
.calc-result-rows { display: flex; flex-direction: column; gap: 4px; }
.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(13,148,136,0.12);
}
.calc-result-row:last-child { border-bottom: none; }
.calc-result-label {
  font-size: 13px;
  color: #888;
  flex-shrink: 0;
}
.calc-result-num {
  font-size: 15px;
  font-weight: 600;
  text-align: right;
}
.calc-result-info .calc-result-num { color: #555; font-weight: 500; }
.calc-result-value .calc-result-num { color: #1f2937; }
.calc-result-highlight .calc-result-num {
  color: #2563eb;
  font-size: 18px;
  font-weight: 700;
}

/* Disclaimer */
.calc-disclaimer {
  margin-top: 30px;
  padding: 20px 24px;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
}
.calc-disclaimer h4 {
  font-size: 14px;
  color: #f97316;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}
.calc-disclaimer ol {
  padding-left: 20px;
  font-size: 12px;
  color: #999;
  line-height: 2;
}
.calc-disclaimer ol li { list-style-type: decimal; }

/* --- Exchange Rate Table --- */
.rate-table {
  width: 100%;
  border-collapse: collapse;
}
.rate-table th {
  background: #2563eb;
  color: #fff;
  padding: 12px 16px;
  font-size: 14px;
  text-align: center;
}
.rate-table td {
  padding: 10px 16px;
  text-align: center;
  font-size: 14px;
  border-bottom: 1px solid #f0f0f0;
}
.rate-table tr:hover td { background: #f9fafb; }
.rate-update-time { font-size: 12px; color: #999; margin-bottom: 16px; }

/* --- Branches Page --- */
.branch-filter {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  align-items: center;
}
.branch-filter select {
  height: 36px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0 12px;
  font-size: 14px;
  outline: none;
  min-width: 160px;
}
.branch-card {
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 16px;
  transition: box-shadow 0.2s;
}
.branch-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.branch-card h4 { font-size: 16px; color: #1f2937; margin-bottom: 10px; }
.branch-card .branch-info { font-size: 13px; color: #666; line-height: 2; }
.branch-card .branch-info .info-label { color: #999; margin-right: 6px; }

/* --- Sitemap Page --- */
.sitemap-section { margin-bottom: 30px; }
.sitemap-section h3 {
  font-size: 18px;
  color: #1f2937;
  padding-bottom: 10px;
  border-bottom: 2px solid #2563eb;
  margin-bottom: 16px;
}
.sitemap-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.sitemap-links a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: #333;
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  transition: all 0.2s;
}
.sitemap-links a:hover { background: #eff6ff; color: #2563eb; border-color: #2563eb; }

/* --- 404 Page --- */
.error-page {
  text-align: center;
  padding: 80px 20px;
}
.error-page .error-code { font-size: 120px; color: #2563eb; font-weight: bold; opacity: 0.3; }
.error-page .error-msg { font-size: 24px; color: #333; margin: 20px 0; }
.error-page .error-desc { font-size: 14px; color: #999; margin-bottom: 30px; }

/* --- Legal Page --- */
.legal-content {
  line-height: 2;
  font-size: 14px;
  color: #333;
}
.legal-content h3 { font-size: 18px; margin: 20px 0 10px; color: #1f2937; }
.legal-content p { margin-bottom: 12px; }

/* --- Sub-module Navigation Grid (used in channel pages) --- */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.profile-grid a {
  display: block;
  text-align: center;
  padding: 14px 8px;
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  color: #333;
  font-size: 13px;
  transition: all 0.2s;
}
.profile-grid a:hover { background: #eff6ff; color: #2563eb; border-color: #2563eb; }
.profile-grid .grid-icon { font-size: 24px; color: #2563eb; display: block; margin-bottom: 6px; }
.profile-grid .grid-icon svg { width: 24px; height: 24px; }
.profile-grid a:nth-child(odd) .grid-icon { color: #2563eb; }
.profile-grid a:nth-child(even) .grid-icon { color: #2563eb; }

/* --- Article List: Text Layout --- */
.article-list-text { padding: 0; }
.article-list-text .text-item {
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.article-list-text .text-item:last-child { border-bottom: none; }
.article-list-text .text-item:hover {
  background: #fafbfc;
  padding-left: 12px;
  padding-right: 12px;
  margin: 0 -12px;
  border-radius: 6px;
  transition: all 0.25s;
}
.article-list-text .text-date-badge {
  flex-shrink: 0;
  width: 90px;
  text-align: center;
  background: #eff6ff;
  color: #2563eb;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1.4;
}
.article-list-text .text-date-badge .day {
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}
.article-list-text .text-date-badge .ym {
  display: block;
  font-size: 11px;
  color: #60a5fa;
  margin-top: 2px;
}
.article-list-text .text-body { flex: 1; min-width: 0; }
.article-list-text .text-title {
  font-size: 16px;
  color: #1f2937;
  font-weight: 600;
  line-height: 1.5;
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
}
.article-list-text .text-title:hover { color: #2563eb; }
.article-list-text .text-summary {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.7;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-list-text .text-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: #9ca3af;
}
.article-list-text .text-meta .meta-views {
  display: flex;
  align-items: center;
  gap: 4px;
}
.article-list-text .text-badge-pinned {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  background: #fef3c7;
  color: #d97706;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
}
.article-list-text .text-empty {
  text-align: center;
  padding: 60px 20px;
  color: #9ca3af;
  font-size: 14px;
}

/* --- Article List: Image Layout --- */
.article-list-image .image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.article-list-image .image-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.article-list-image .image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.article-list-image .image-card-img {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  background: #f5f7fa;
}
.article-list-image .image-card-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.article-list-image .image-card:hover .image-card-img img {
  transform: scale(1.05);
}
.article-list-image .image-card-img .img-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
  color: #2563eb;
  gap: 8px;
}
.article-list-image .image-card-date {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 6px 14px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 12px;
  border-top-right-radius: 6px;
}
.article-list-image .image-card-pinned-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  background: #f97316;
  color: #fff;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(249,115,22,0.3);
  z-index: 1;
}
.article-list-image .image-card-body { padding: 18px 20px 20px; }
.article-list-image .image-card-title {
  font-size: 15px;
  color: #1f2937;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-list-image .image-card-title a { color: #1f2937; text-decoration: none; }
.article-list-image .image-card-title a:hover { color: #2563eb; }
.article-list-image .image-card-summary {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.7;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-list-image .image-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
  font-size: 12px;
  color: #9ca3af;
}
.article-list-image .image-card-link {
  font-size: 13px;
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}
.article-list-image .image-card-link:hover { color: #1e3a8a; }
.article-list-image .image-empty {
  text-align: center;
  padding: 60px 20px;
  color: #9ca3af;
  font-size: 14px;
  grid-column: 1 / -1;
}

/* ========================================================
   Channel Page — Zigzag Alternating Rows
   ======================================================== */
.channel-row {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 30px 0;
  border-bottom: 1px solid #f0f0f0;
}
.channel-row:last-child {
  border-bottom: none;
}

.channel-row-img {
  flex: 0 0 500px;
  width: 500px;
  height: 250px;
  background: #f5f7fa;
  border-radius: 8px;
  overflow: hidden;
}
.channel-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.channel-row-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.channel-row-text h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px;
  color: #1f2937;
}
.channel-row-text h4 a {
  color: #1f2937;
  text-decoration: none;
  transition: color 0.2s;
}
.channel-row-text h4 a:hover {
  color: #2563eb;
}
.channel-row-text p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.8;
  margin: 0;
}

.channel-row-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #9ca3af;
  font-size: 16px;
  background: #f5f7fa;
}

/* --- Report List (社会责任报告 etc.) --- */
.report-list { display: flex; flex-direction: column; gap: 0; }
.report-item {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}
.report-item:last-child { border-bottom: none; }
.report-item:hover { background: #f8fafc; }
.report-icon {
  flex-shrink: 0;
  margin-right: 16px;
  display: flex;
  align-items: center;
}
.report-body { flex: 1; min-width: 0; }
.report-title {
  font-size: 15px;
  font-weight: 500;
  color: #1f2937;
  line-height: 1.5;
}
.report-item:hover .report-title { color: #2563eb; }
.report-source {
  margin-top: 4px;
  font-size: 12px;
  color: #9ca3af;
}
.report-date {
  flex-shrink: 0;
  font-size: 13px;
  color: #94a3b8;
  margin-left: 16px;
  white-space: nowrap;
}
.report-empty {
  padding: 60px 20px;
  text-align: center;
  color: #9ca3af;
  font-size: 15px;
}

/* --- Wealth Product Table --- */
.wealth-table-wrap { overflow-x: auto; }
.wealth-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
/* 9列产品表（理财/资管）：固定列宽，避免超长文本（如业绩基准）撑宽单列造成大片空白 */
.wealth-table:has(thead th:nth-child(9)) {
  table-layout: fixed;
}
.wealth-table:has(thead th:nth-child(9)) thead th:nth-child(1) { width: 26%; }
.wealth-table:has(thead th:nth-child(9)) thead th:nth-child(2) { width: 8%; }
.wealth-table:has(thead th:nth-child(9)) thead th:nth-child(3) { width: 9%; }
.wealth-table:has(thead th:nth-child(9)) thead th:nth-child(4) { width: 15%; }
.wealth-table:has(thead th:nth-child(9)) thead th:nth-child(5) { width: 9.5%; }
.wealth-table:has(thead th:nth-child(9)) thead th:nth-child(6) { width: 9.5%; }
.wealth-table:has(thead th:nth-child(9)) thead th:nth-child(7) { width: 9.5%; }
.wealth-table:has(thead th:nth-child(9)) thead th:nth-child(8) { width: 7%; }
.wealth-table:has(thead th:nth-child(9)) thead th:nth-child(9) { width: 6%; }
.wealth-table thead th {
  background: #f8fafc;
  color: #374151;
  font-weight: 600;
  padding: 12px 14px;
  text-align: left;
  border-bottom: 2px solid #2563eb;
  white-space: nowrap;
}
.wealth-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid #f0f0f0;
  color: #4b5563;
}
.wealth-table tbody tr:hover { background: #f8fafc; }
.wealth-table .prod-name { color: #1f2937; font-weight: 500; }
.wealth-table .detail-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}
.wealth-table .detail-link:hover { text-decoration: underline; }
.wealth-empty {
  padding: 60px 20px;
  text-align: center;
  color: #9ca3af;
  font-size: 15px;
}
