/* Reset & Basic Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  font-family: "思源黑体 CN", "Source Han Sans CN", "Noto Sans CJK SC",
    "Microsoft YaHei", "Heiti SC", sans-serif;
}

body {
  background-color: #f7f7f7;
  color: #333;
  font-size: 14px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

ul {
  list-style: none;
}

.container {
  width: 1200px;
  margin: 0 auto;
  max-width: 100%;
}

.mt-40 {
  margin-top: 40px;
}

/* Header */
.main-header {
  background: url("../images/index-head-bg.png") no-repeat center top;
  background-size: cover;
  height: 280px; /* Reduced specific height */
  position: relative;
  z-index: 10;
  /* Usually these headers have text over them, but the image list suggests the bg is separate */
}

.header-content {
  width: 1200px;
  margin: 0 auto;
  height: 30%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding-top: 10px;
}

.logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 15px;
}

.logo img {
  height: 60px; /* Adjustment needed based on actual image */
}

.logo span {
  font-size: 34px;
  color: #fff;
  font-weight: 500;
}

.main-nav ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-family: "思源黑体 CN", "Source Han Sans CN", "Noto Sans CJK SC",
    sans-serif;
}

.main-nav ul li {
  position: relative;
  margin-left: 30px;
}

.main-nav ul li a {
  color: #fff;
  font-size: 16px;
  padding-bottom: 5px;
  display: block;
  line-height: 1.5;
}


.main-nav ul li a.active {
  border-bottom: 2px solid #fff;
}

/* Dropdown Menu */
.main-nav ul li .dropdown {
  display: none;
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.88);
  min-width: 120px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  /* padding: 10px 0; */
  z-index: 100;
}

.main-nav ul li:hover .dropdown {
  display: block;
}

.main-nav ul li .dropdown li {
  margin: 0;
  text-align: center;
}

.main-nav ul li .dropdown li a {
  color: #333;
  font-size: 14px;
  padding: 8px 15px;
  border-bottom: none;
  white-space: nowrap;
}

.main-nav ul li .dropdown li a:hover {
  background-color: #dee3fe;
  color: #333;
  border-bottom: none;
}

/* Banner */
.banner {
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
  margin-top: -280px;
}

.banner img {
  width: 100%;
  display: block;
  height: auto;
}

/* Quick Access */
.quick-access {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-top: 20px;
  margin-bottom: 30px;
  gap: 20px;
}

.access-btn {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0;
  flex: 1;
  display: block;
  height: 80px; /* Estimated height */
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  -webkit-transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-decoration: none;
}

.access-btn.blue-btn {
  background-image: url("../images/gongyongfang-bg.png");
}

.access-btn.red-btn {
  background-image: url("../images/zichanguanli-bg.png");
}

.access-btn:hover {
  -webkit-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 15px;
  /* Font styling for the system titles */
  font-size: 24px;
  color: #fff;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  font-family: "Songti SC", "SimSun", serif; /* Often these titles use serif or specific fonts */
}

/* If the background images ALREADY contain the text, hiding this text is needed. 
   But since I see -bg files, I assume they are backgrounds. 
   However, if visuals look double, user can remove .btn-inner. 
*/

.btn-icon {
  height: 40px; /* Icon size */
  width: auto;
}

/* Main Content Structure */
.content-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 30px;
}

/* News Slider */
.news-slider {
  width: 49%; /* Approx based on image */
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
height:428px;
}

.slider-track {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 300%; /* For 3 slides */
  -webkit-transition: -webkit-transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out;

}

.slide {
  width: 33.333%;
  position: relative;
}

.slide img {
  height: auto;
  display: block;
  /* 图片等比缩放 居中 */
  width: 100%;
  object-fit: cover;
  object-position: center;
}

/* Object-fit fallback for older IE: preserve ratio without cropping */
.slide img { /* IE ignores object-fit, width 100% keeps ratio */
  height: auto;
}

/* News Tag Overlay */
.news-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.85);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  color: #0056b3;
  font-weight: bold;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.slider-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #000;
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.9)), to(transparent));
  background: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.9), transparent);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  padding: 20px;
  padding-top: 60px; /* Space for gradient */
  padding-bottom: 30px;
  color: #fff;
  pointer-events: none;
}

.slider-caption .date {
  display: inline-block;
  color: #fff;
  border-radius: 14px;
  font-weight: 500;
  font-size: 12px;
  margin-bottom: 8px;
}

.slider-caption h3 {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal; /* Allow wrap for multiline title */
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
  z-index: 20;
  margin-top: 10px;
}

.slider-dots span {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.slider-dots span.active {
  background: #fff;
  width: 20px; /* Elongated */
  border-radius: 10px;
}

.slider-next {
  position: absolute;
  right: 20px;
  bottom: 20px;
  background: #0056b3;
  color: #fff;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  z-index: 10;
}

/* News List Sections */
.news-list-section {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0;
  flex: 1;
  background: transparent;
 
}

.news-list-section.half-width {
 
  flex: none;
}

.section-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center; /* Changed to center for better alignment with bg */
  border-bottom: 2px solid #e5e5e5; /* Stronger line */
  padding-bottom: 10px;
  position: relative;
}

/* Using sec-head-bg.png for the title group background */
.title-group {
  /* background: url('../images/sec-head-bg.png') no-repeat left center; */
  background-size: auto 100%; /* Fit height */
  /* height: 40px; -- Remove fixed height */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column; /* Stack vertically */
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

/* If the image is actually a full width bar under the text, the CSS would be different.
   But "sec-head-bg" usually decorates the title. 
   Let's check if it might be the underline? 
   If so, border-bottom above duplicates it. 
   Safest bet: It's the background of the title text area or a decorative icon.
   I'll try setting it as background of .title-group.
*/

.title-group h2 {
  font-size: 30px;
  color: #333;
  font-weight: bold;
  margin-right: 0;
  line-height: 1.2;
}

.title-group .en-title {
  font-size: 14px;
  color: #999;
  padding-top: 0;
  margin-top: 2px;
  font-weight: normal;
}

.more {
  color: #666;
  font-size: 14px;
  text-decoration: none;
  padding-right: 10px;
}

.news-list li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 22px 0;
  font-size: 18px;
  border-bottom: 2px solid #dbdbdb;
}

.news-list li a {
  /* color: #333; */
  font-size: 18px;
  max-width: 80%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-list li:hover {
  font-weight: bold;
  color: #0056b3;
}

.news-list li:hover .date {
  color: #0056b3;
}

.news-list li .date {
  color: #999;
  font-size: 18px;
}

/* External Links */
.external-links {
  margin-top: 50px;
  margin-bottom: 50px;
}

.external-links .section-header {
  border-bottom: none;
  margin-bottom: 20px;
}

.external-links .slash {
  margin: 0 10px;
  color: #ccc;
  font-size: 20px;
}

.link-cards {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
}

.link-card {
  flex: 1;
  position: relative;
  height: 120px;
  overflow: hidden;
  border-radius: 4px;
}

.link-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  z-index: 1;
}

.link-card .card-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  color: #fff;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3); /* Slight overlay for readability */
}

.link-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: bold;
}

.link-card p {
  font-size: 12px;
  opacity: 0.9;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer */
.main-footer {
  background: #f0f0f0;
  padding: 30px 0;
  text-align: center;
  color: #666;
  font-size: 12px;
  border-top: 1px solid #e5e5e5;
}