body {
  margin: 0;
  color: #2d2d2d;
  background: #fff;
  font-family: 'Microsoft YaHei', Arial, sans-serif;
}

.header {
  width: 100%;
  height: auto;
  background: #2f2c2b;
}

.header .logo_nav {
  width: 1190px;
  max-width: calc(100% - 32px);
  height: 64px;
  margin: 0 auto;
  padding-top: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header .logo {
  flex: 0 0 auto;
  float: none;
  width: auto;
  padding-top: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header .logo a {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header .logo img {
  display: block;
}


.header .site-title {
  color: #e0e0e0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
  margin-bottom: 4px;
}

.header .nav {
  float: none;
  width: auto;
  padding-top: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.header .home_search_form,
.header #sform {
  margin: 0;
  float: none;
}

.header .home_search_form .search_box,
.header #sform .search_box {
  display: flex;
  align-items: stretch;
  height: 30px;
}

.header .search_text {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 1px solid #d8ddd2;
  border-right: 0;
  padding: 0 12px;
  font-size: 14px;
  color: #4d4d4d;
  outline: 0;
}

.header .search_btn {
  flex: 0 0 68px;
  height: 100%;
  border: 0;
  background: #d43300;
  color: #e0e0e0;
  font-size: 14px;
  cursor: pointer;
}

.header .site-contact {
  flex: 0 0 auto;
  padding: 8px 18px;
  border: 0;
  border-radius: 6px;
  background: #d43300;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.header .site-contact:hover {
  background: #b52b00;
  transform: translateY(-1px);
}

.header .search_select {
  margin-top: 8px;
  text-align: right;
}

.header .search_select select {
  height: 28px;
  border: 1px solid #d8ddd2;
  background: #fff;
  color: #666;
}

.home_v2 .header {
  height: auto;
  background: #2f2c2b;
  box-shadow: none;
}

.home_v2 .header .home_search_form .search_box {
  width: 278px;
  height: 32px;
  padding: 0 0 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
  box-shadow: none;
}

.home_v2 .header .home_search_form .search_text {
  flex: 1 1 auto;
  width: auto;
  height: 100%;
  line-height: 30px;
  padding: 0 8px 0 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 13px;
}

.home_v2 .header .home_search_form .search_btn {
  flex: 0 0 44px;
  width: 44px;
  height: 100%;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #f1e5c7;
  font-size: 12px;
  font-weight: 700;
}

.home_v2 .header .home_search_form .search_btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff3d6;
}

.home_v2 .header .home_search_form .search_text::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.home_v2 .header .site-contact {
  height: 28px;
  padding: 0 14px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 28px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  border: 0;
}

.page-shell {
  min-height: calc(100vh - 180px);
}

.page-container {
  width: 1190px;
  max-width: calc(100% - 32px);
  margin: 0 auto;
}

.content_v2_page .page-shell {
  background: #f6f8f3;
}

.hero-section {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 20px;
  margin-top: 18px;
}

.hero-main,
.hero-side,
.home-grid,
.page-grid {
  display: grid;
  gap: 20px;
}

.home-grid,
.page-grid {
  grid-template-columns: minmax(0, 1fr) 300px;
  margin-top: 20px;
}

.hero-slide,
.hero-ad,
.section-block,
.content-panel,
.sidebar-block,
.friend-links {
  background: #fff;
  border: 1px solid #ecefe7;
}

.hero-slide img,
.hero-ad img,
.observe-card img,
.exclusive-card img,
.article-link img,
.detail-cover {
  width: 100%;
  display: block;
}

.hero-title,
.section-block,
.content-panel,
.sidebar-block,
.friend-links,
.detail-summary {
  padding: 16px;
}

.observe-grid,
.exclusive-list,
.article-list,
.hot-list,
.friend-links ul,
.sidebar-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.observe-grid,
.exclusive-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.article-list li + li,
.hot-list li + li,
.sidebar-block li + li {
  margin-top: 12px;
}

.article-link {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
}

.article-link img {
  height: 120px;
  object-fit: cover;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.category-tabs a {
  padding: 6px 12px;
  border: 1px solid #ecefe7;
}

.category-tabs a.active {
  color: #d43300;
  border-color: #d43300;
}

.page-sidebar {
  width: 300px;
}

.content_sidebar_sticky {
  position: sticky;
  top: 24px;
}

.sidebar-block {
  margin-bottom: 20px;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(28, 45, 19, 0.04);
}

.sidebar-ad-block {
  padding: 0;
  overflow: hidden;
}

.content_side_ad {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: #111827;
}

.content_side_dujia {
  padding: 12px;
  margin: -6px -6px 0;
}

.content_side_dujia .dujia_item {
  display: block;
  margin-bottom: 12px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #edf1e8;
}

.content_side_dujia .dujia_item:last-child {
  margin-bottom: 0;
}

.content_side_dujia .dujia_pic {
  display: block;
  height: 166px;
  overflow: hidden;
  background: #dfe4da;
}

.content_side_dujia .dujia_pic img {
  height: 100%;
  object-fit: cover;
}

.content_side_dujia .dujia_item strong {
  display: block;
  font-family: 'Microsoft YaHei', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

.detail-breadcrumb,
.detail-meta,
.detail-nav-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.detail-content {
  line-height: 1.9;
}

.friend-links {
  display: flex;
  gap: 12px;
  margin: 20px auto;
}

.friend-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-page {
  padding: 60px 0;
}

.home_copy_out {
  width: 100%;
  background: #232323;
  padding: 26px 0;
}

.home_copy {
  width: 1190px;
  max-width: calc(100% - 32px);
  margin: 0 auto;
  color: #bfbfbf;
  text-align: center;
  line-height: 1.8;
}

.home_copy a {
  color: #bfbfbf;
}

.content_v2_page .legacy_section_nav {
  width: 1190px;
  max-width: calc(100% - 32px);
  margin: 0 auto;
}

.content_v2_page .legacy_section_nav ul {
  min-height: 56px;
}

/* ===== Contact Modal ===== */
.contact-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  padding: 20px;
}

.contact-modal-overlay.is-open {
  display: flex;
}

.contact-modal {
  position: relative;
  background: #fff;
  border-radius: 8px;
  max-width: 90vw;
  max-height: 90vh;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-modal__img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
}

.contact-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #333;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.2s, color 0.2s;
  z-index: 1;
}

.contact-modal__close:hover {
  background: #f5f5f5;
  color: #d43300;
}
