* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", Arial, sans-serif;
  background-color: #fff;
  color: #333;
  min-width: 1200px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
li {
  list-style: none;
}

.container {
  width: 1200px;
  margin: 0 auto;
}

/* Utility classes */
.flex {
  display: flex;
}

.justify-between {
  justify-content: space-between;
}

.align-center {
  align-items: center;
}

/* Header */
.header {
  background-color: #004ea2;
  height: 80px;
  color: #fff;
}

.header .container {
  height: 100%;
}

.logo img {
  height: 50px;
  vertical-align: middle;
}

.nav ul li {
  margin-left: 30px;
  position: relative;
  height: 80px;
  line-height: 80px;
}

.nav ul li a {
  font-size: 14px;
  color: #fff;
  opacity: 0.8;
  transition: opacity 0.3s;
  display: block;
  height: 100%;
}

.nav ul li a:hover,
.nav ul li a.active {
  opacity: 1;
  color: #ffd700; /* Gold color for active/hover */
}

/* Dropdown Menu */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 1000;
  padding: 5px 0;
  border-top: 2px solid #ffd700; /* Optional: highlight top border */
}

.nav ul li:hover .dropdown {
  display: block;
}

.dropdown li {
  margin-left: 0 !important;
  height: auto !important;
  line-height: 1.5 !important;
}

.dropdown li a {
  display: block;
  color: #333 !important;
  padding: 10px 20px;
  font-size: 14px;
  text-align: center;
  opacity: 1 !important;
  white-space: nowrap;
  height: auto;
}

.dropdown li a:hover {
  background-color: #eef4fa;
  color: #004ea2 !important;
}

/* Banner */
.banner {
  width: 100%;
  position: relative;
}

.banner img {
  width: 100%;
  display: block;
}

/* Appointment Bar */
.appointment-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  /* The background image likely contains the blue shape */
  background: url("../images/index/yuyuejinxiaobackground.png") no-repeat left
    bottom;
  background-size: auto 100%;
  display: flex;
  align-items: center;
  pointer-events: none; /* Let clicks pass through if it covers the image */
}

.appointment-content {
  color: #fff;
  pointer-events: auto;
  padding-left: 20px; /* Adjust based on container */
}

.appointment-content h2 {
font-weight: 600;
font-size: 30px;
color: white;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
}

.appointment-content .appointment-arrow {
  margin-left: 10px;
  width: 80px;
}

.appointment-content p {
  font-weight: 600;
font-size: 24px;
color: #00000073;
  opacity: 0.8;
}

/* Sections General */
section {
  padding: 50px 0;
}

.section-header {
  margin-bottom: 30px;
  /* border-bottom: 1px solid #eee;
    padding-bottom: 10px; */
}

.section-title img {
  height: 55px; /* Adjust based on image */
}

.view-more {
  font-size: 14px;
  color: #00477a;
}

/* News Section */
.news-section {
  background-color: #f6f7f8;
}

.news-big {
  width: 48%;
}

.news-img {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  /* margin-bottom: 15px; */
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.news-img:hover img {
  transform: scale(1.05);
}

.news-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #004ea2;
  color: #fff;
  padding: 2px 10px;
  font-size: 12px;
}

.news-info {
  border-top: 15px solid #fff;
  background-color: #fff;
  padding: 10px;
  height: 228px;
  display: flex;
  flex-direction: column;
}

.news-info h3 {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.4;
  color: #333;
}

.news-info p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-date {
  font-size: 12px;
  color: #999;
}

.news-info .news-date {
  margin-top: auto;
  border-top: 1px solid #dddddd;
  padding-top: 9px;
}

.news-list {
  width: 48%;
}

.news-list li {
  margin-bottom: 20px;
}

.news-thumb {
  width: 230px;
  height: 162px;
  flex-shrink: 0;
  margin-right: 20px;
  overflow: hidden;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.news-list li:hover .news-thumb img {
  transform: scale(1.05);
}

.news-detail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-detail h4 {
  font-size: 16px;
  line-height: 1.4;
  color: #333;
  font-weight: normal;
}

/* Announcement Section */
.announcement-section {
  background-color: #fff;
}

.tabs a {
  margin-left: 20px;
  font-size: 14px;
  color: #03487c;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

.tabs a.active,
.tabs a:hover {
  color: #f7b903;
  border-bottom: 2px solid #f7b903;
}

.hidden {
  display: none !important;
}

.announcement-list {
  margin-bottom: 30px;
  padding-bottom: 30px;
  background-image: linear-gradient(to right, #f7b903 25%, #03487c 25%);
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-position: bottom;
}

.announcement-card {
  width: 32%;
  position: relative;
  height: 240px;
  overflow: hidden;
}

.announcement-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.announcement-card:hover img {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: #00000073;
  color: #fff;
  padding: 15px;
}

.card-tag {
  display: inline-block;
  background-color: #004ea2;
  font-size: 12px;
  padding: 2px 8px;
  margin-bottom: 5px;
}

.card-overlay h4 {
  font-size: 16px;
  font-weight: normal;
  line-height: 1.4;
}

.view-more-center {
  text-align: center;
}

.view-more-center a {
  display: inline-block;
  font-size: 14px;
  color: #004fa3;
}

/* Science Frontier Section */
.science-section {
  background-color: #f9f9f9;
}

.science-list {
  flex-wrap: wrap;
}

.science-item {
  width: 49%;
  background-color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.science-img {
  width: 230px;
  height: 292px;
  position: relative;
  flex-shrink: 0;
}

.science-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.science-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #fff; /* Or blue? Design shows text color blue, maybe white bg */
  color: #004ea2;
  padding: 0px 11px;
  font-size: 12px;
  border-radius: 2px;
}

.science-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  position: relative;
}

.science-info h3 {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 10px;
  margin-top: 10px;
  font-weight: 500;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.science-info p {
  font-size: 12px;
  color: #999;
  line-height: 1.6;
  margin-bottom: 53px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.science-meta {
  margin-top: auto;
}

.date-box {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  font-weight: bold;
  width: 70px;
  height: 72px;
  background: #ffffff;
}

.date-box .day {
  display: block;
  font-weight: 700;
  font-size: 20px;
  color: #000000e0;
  line-height: 38px;
}

.date-box .month {
  display: block;
  font-weight: 400;
  font-size: 15px;
  color: #000000a6;
  line-height: 22px;
}

.arrow-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 50px;
  background: #03487c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background-color 0.3s;
}

.arrow-btn:hover {
  background-color: #003b70;
}

/* Footer */
.footer {
  background-color: #004ea2;
  background-image: url("../images/index/foot-bg.png");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 40px 0 20px;
  text-align: center;
}

.footer-links {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 20px;
  margin-bottom: 30px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
}

.footer-links .left,
.footer-links .right {
  flex: 1;
  display: flex;
}

.footer-links .left {
  justify-content: flex-end;
}

.footer-links .right {
  justify-content: flex-start;
}

.footer-links a {
  display: block;
  color: #fff;
  font-size: 14px;
  opacity: 0.8;
  /* text-decoration: underline; */
  margin: 0 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid #ffffff4d;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-logo {
  margin: 0 30px;
}

.footer-logo img {
  height: 60px;
  vertical-align: middle;
}

.footer-copyright {
  font-size: 12px;
  opacity: 0.6;
}

/* Profile Page Styles */
.profile-banner {
  position: relative;
  width: 100%;
  height: 400px; /* Adjust height as needed */
  overflow: hidden;
}

.profile-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-banner .container {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  align-items: center;
  margin: 0;
}

.banner-text {
  color: #fff;
  width: 536px;
  height: 200px;
  background-image: linear-gradient(270deg, #03487c00 0%, #03487c 98%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 50px; /* Add some padding so text isn't on the edge */
  position: absolute; /* Position relative to container */
  left: 0; /* Align to left of container */
  top: 50%;
  transform: translateY(-50%);
}

.banner-text h1 {
  font-size: 48px;
  font-weight: normal;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.banner-text p {
  font-size: 18px;
  opacity: 0.8;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.profile-section {
  padding: 80px 0;
  background: url("../images/profile/content-bg.png") no-repeat center bottom;
  background-size: cover; /* Or cover, depending on the image */
  background-color: #fff;
  min-height: 600px;
}

.profile-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.profile-header .watermark {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 100px;
  font-weight: bold;
  color: #f2f2f2;
  z-index: 1;
  white-space: nowrap;
  font-family: Arial, sans-serif;
  letter-spacing: 5px;
}

.profile-header .title {
  position: relative;
  font-size: 36px;
  color: #333;
  margin-bottom: 15px;
  z-index: 2;
  font-weight: bold;
text-align: center;
}

.profile-header .subtitle {
  position: relative;
  font-size: 24px;
  color: #666;
  z-index: 2;
  font-weight: normal;
}

.profile-content {
  font-size: 16px;
  line-height: 2;
  color: #333;
  text-align: justify;
}

.profile-content p {
  margin-bottom: 30px;
  text-indent: 2em;
}

.profile-content .highlight {
  color: #004ea2;
  font-weight: bold;
}

/* Teachers Page Styles */
.teachers-section {
  padding: 60px 0;
  background-color: #fff;
}

.teacher-tabs {
  margin-bottom: 50px;
  border-bottom: 1px solid #eee;
}

.teacher-tab-link {
  padding: 15px 40px;
  font-size: 16px;
  color: #333;
  position: relative;
  transition: all 0.3s;
}

.teacher-tab-link:hover,
.teacher-tab-link.active {
  color: #004ea2;
  font-weight: bold;
}

.teacher-tab-link.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #004ea2;
}

/* Alphabet Filter Styles */
.teacher-alpha-tabs {
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.alpha-tab-link {
  display: inline-block;
  padding: 5px 15px;
  margin: 0 5px 10px;
  font-size: 14px;
  color: #666;
  border: 1px solid #ddd;
  border-radius: 20px;
  transition: all 0.3s;
}

.alpha-tab-link:hover {
  color: #004ea2;
  border-color: #004ea2;
}

.alpha-tab-link.active {
  background-color: #004ea2;
  color: #fff;
  border-color: #004ea2;
}

.teacher-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.teacher-grid.hidden {
  display: none;
}

.teacher-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 400px;
}

.teacher-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card-header {
  margin-bottom: 20px;
  align-items: flex-start;
}

.job-title {
  display: block;
  font-size: 14px;
  color: #004ea2;
  margin-bottom: 5px;
  font-weight: bold;
}

.name {
  font-size: 32px;
  color: #004ea2;
  font-weight: bold;
  line-height: 1.2;
}

.header-photo img {
  width: 120px;
  height: 139px;
  border-radius: 5px;
  object-fit: cover;
}

.card-body {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
}

.info-item {
  margin-bottom: 8px;
  display: flex;
}

.info-item .label {
  color: #333;
  font-weight: bold;
  flex-shrink: 0;
  width: 70px;
}

.info-item .value {
  color: #666;
}

.pagination {
  margin-top: 60px;
  align-items: center;
  justify-content: flex-end;
}

.page-link {
  display: inline-block;
  margin: 0 10px;
  font-size: 14px;
  color: #999;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 50%;
  transition: all 0.3s;
}

.page-link:hover,
.page-link.active {
  color: #004ea2;
  background-color: #f0f6fb;
  font-weight: bold;
}

.page-link.prev,
.page-link.next {
  font-size: 12px;
}

/* Teacher Detail Page Styles */
.teacher-detail-section {
  padding: 60px 0;
  background-color: #f5f7fa;
}

.teacher-profile-card {
  background-color: #fff;
  padding: 50px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  align-items: flex-start;
}

.teacher-sidebar {
  width: 280px;
  flex-shrink: 0;
  margin-right: 60px;
  text-align: center;
}

.teacher-photo-large {
  width: 240px;
  height: 320px;
  margin: 0 auto 30px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.teacher-photo-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-contact {
  text-align: left;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 4px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.contact-row:last-child {
  margin-bottom: 0;
}

.contact-row .icon {
  margin-right: 10px;
  color: #004ea2;
  font-size: 16px;
}

.teacher-main-info {
  flex-grow: 1;
}

.info-header {
  border-bottom: 1px solid #eee;
  padding-bottom: 30px;
  margin-bottom: 30px;
}

.name-row {
  margin-bottom: 15px;
}

.name-large {
  font-size: 36px;
  color: #004ea2;
  margin-right: 20px;
  font-weight: bold;
}

.title-badge {
  display: inline-block;
  background-color: #eef4fa;
  color: #004ea2;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 14px;
  margin-right: 10px;
}

.research-tags span {
  display: inline-block;
  margin-right: 15px;
  color: #666;
  font-size: 14px;
  background-color: #f5f5f5;
  padding: 2px 10px;
  border-radius: 20px;
}

.section-block {
  margin-bottom: 40px;
}

.section-title {
  font-size: 20px;
  color: #333;
  margin-bottom: 20px;
  /* padding-left: 15px;
  border-left: 4px solid #004ea2; */
  line-height: 1;
}

.text-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 15px;
  text-align: justify;
}

.timeline-list li {
  display: flex;
  margin-bottom: 15px;
  font-size: 15px;
}

.timeline-list .year {
  width: 120px;
  font-weight: bold;
  color: #004ea2;
  flex-shrink: 0;
}

.timeline-list .desc {
  color: #555;
}

.paper-list li {
  margin-bottom: 10px;
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}
.teacher-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Personnel Training Page Styles */
.training-section {
  padding: 80px 0;
  background-color: #fff;
}

.training-overview {
  margin-bottom: 80px;
}

.section-title-img {
  margin-bottom: 30px;
}

.section-title-img img {
  max-width: 100%;
  height: auto;
  display: block;
}

.overview-content p {
  font-size: 14px;
  line-height: 2;
  color: #333;
  text-align: justify;
}

.training-block {
  margin-bottom: 60px;
}

.block-header-img {
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
  min-width: 300px;
}

.block-header-img img {
  height: 50px;
  width: auto;
  display: block;
}

.download-list {
  margin-top: 30px;
}

.download-item {
  display: flex;
  align-items: center;
  background-color: #f8f9fa;
  padding: 25px 40px;
  margin-bottom: 20px;
  transition: all 0.3s;
  text-decoration: none;
}

.download-item:hover {
  background-color: #f0f6fb;
}

.download-badge {
  display: inline-block;
  padding: 6px 30px;
  border: 1px solid #004ea2;
  color: #004ea2;
  border-radius: 20px;
  font-size: 14px;
  margin-right: 40px;
  transition: all 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}

.download-item:hover .download-badge {
  background-color: #004ea2;
  color: #fff;
}

.item-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.item-title {
  font-size: 16px;
  color: #333;
  font-weight: bold;
  margin-bottom: 15px;
}

.item-divider {
  width: 100%;
  height: 1px;
  background-color: #e0e0e0;
  margin-bottom: 10px;
}

.item-date {
  font-size: 14px;
  color: #999;
  align-self: flex-start;
}

/* Utility for alignment */
.align-end {
  align-items: flex-end;
}

/* YJS Page Styles */
.yjs-container {
  margin-top: 60px;
  align-items: flex-start;
}

.yjs-sidebar {
  width: 285px;
  flex-shrink: 0;
  margin-right: 40px;
}

.yjs-tab-btn {
  display: block;
  width: 100%;
  padding: 15px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  margin-bottom: 15px;
  text-align: center;
  cursor: pointer;
  font-size: 16px;
  color: #333;
  transition: all 0.3s;
  outline: none;
}

.yjs-tab-btn:hover {
  border-color: #004ea2;
  color: #004ea2;
}

.yjs-tab-btn.active {
  border-color: #004ea2;
  color: #004ea2;
  font-weight: bold;
  box-shadow: 0 0 5px rgba(0, 78, 162, 0.2);
}

.yjs-content-box {
  flex-grow: 1;
  background: #f8f9fa;
  padding: 40px;
}

.yjs-tab-content.hidden {
  display: none;
}

.yjs-section {
  margin-bottom: 40px;
}

.yjs-section:last-child {
  margin-bottom: 0;
}

.yjs-section-title {
  font-size: 18px;
  color: #004ea2;
  margin-bottom: 20px;
  padding-left: 15px;
  border-left: 4px solid #f7b903;
  line-height: 1;
  font-weight: bold;
}

.yjs-text {
  font-size: 14px;
  line-height: 2;
  color: #333;
  text-align: justify;
}
.kxyj-content {
  width: 100%;
}

.kxyj-title {
  text-align: center;
  margin: 0 auto;
  margin-bottom: 40px;
}
.kxyj-title h1 {
  font-weight: 500;
  font-size: 24px;
  text-align: center;
  margin: 0 auto;
}
.kxyj-article {
  margin-bottom: 40px;
}

/* Party Group Construction Page */
.party-section {
  padding: 50px 0;
}

.part-title {
  margin-bottom: 18px;
}

.part-title img {
  height: 79px; /* Adjust based on actual image size */
  display: block;
}

/* Overview Section */
.party-overview {
  background-color: #fff;
}

.overview-content {
  align-items: flex-start;
}

.overview-left {
  width: 48%;
}

.overview-left .img-placeholder.large {
  width: 100%;
  height: 350px;
  background-color: #eee;
  overflow: hidden;
}
.overview-left .img-placeholder.large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overview-right {
  width: 48%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 350px; /* Match left side height */
}

.overview-text {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

.overview-imgs {
  margin-top: auto;
}

.overview-imgs .img-placeholder.small {
  width: 48%;
  height: 150px;
  background-color: #eee;
  overflow: hidden;
}
.overview-imgs .img-placeholder.small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.part-dy-img img {
  height: 68px;
}

/* News Section */
.party-news-section {
  background-color: #f6f7f8;
}

.party-news-content {
  align-items: flex-start;
}

.party-news-big {
  width: 48%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.news-img-wrapper {
  width: 100%;
  height: 298px;
  overflow: hidden;
}

.news-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.party-news-big:hover .news-img-wrapper img {
  transform: scale(1.05);
}

.news-text-wrapper {
  padding: 20px;
  background-color: #f6f7f8;
}

.yellow-line {
  width: 82px;
  height: 2px;
  background: #f7b903;
  margin-top: 35px;
}

.news-text-wrapper h3 {
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 24px;
  color: #000000e0;
  line-height: 36px;
}

.news-text-wrapper p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.party-news-list {
  width: 48%;
}

.party-news-list ul li {
  margin-bottom: 42px;
}

.party-news-list .list-thumb {
  width: 200px;
  height: 120px;
  flex-shrink: 0;
  margin-right: 20px;
  background-color: #eee;
  overflow: hidden;
}
.party-news-list .list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.party-news-list .list-info {
  display: flex;
  align-items: flex-start;
}

.yellow-line-side {
  width: 40px;
  height: 2px;
  background: #f7b903;
  margin-right: 15px;
  margin-top: 10px; /* Adjust based on font size to align visually */
  flex-shrink: 0;
}

.party-news-list .list-info h4 {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  color: #333;
}

/* Org Section */
.party-org-section {
  background-color: #fff;
}

.org-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.org-card {
  margin-top: 40px;
  width: 278px;
  height: 78px;
  background: url(../images/party-group-constr/color4bg.png) no-repeat center
    center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #004ea2;
  font-weight: bold;
  border-radius: 4px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.org-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 78, 162, 0.2);
}

/* Style Section */
.party-style-section {
  background-color: #fff; /* Or maybe light gray if alternating */
}

.style-grid {
  align-items: flex-start;
}

.style-card {
  width: 48%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
}

.style-card:hover {
  border-bottom-color: #004ea2;
}

.style-img {
  width: 100%;
  height: 250px;
  position: relative;
  overflow: hidden;
}

.style-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.style-card:hover .style-img img {
  transform: scale(1.05);
}

.style-img .tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #004ea2;
  color: #fff;
  padding: 2px 8px;
  font-size: 12px;
}

.style-info {
  padding: 20px;
}

.style-info h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Party Group News List Page */
.party-group-news-list {
  padding: 60px 0;
  background-color: #fff;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px; /* Adjust gap to fit 1200px container. 380*3 = 1140. 60px left for 2 gaps. 30px each. Perfect. */
  margin-bottom: 40px;
}

.news-card {
  width: 380px;
  height: 436px;
  background: #f6f8fa;
  /* filter: blur(24px);  User requested this, but it blurs the content. 
     If the intention was a backdrop blur, it won't work on a solid background.
     If the intention was a blurred background image, we'd need a pseudo-element.
     Given the image shows sharp text, I will comment this out to preserve readability. 
     If you really want the whole card blurred, uncomment it. */
  /* filter: blur(24px); */
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-img {
  width: 100%;
  height: 200px; /* Approx half height based on image */
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.news-card:hover .card-img img {
  transform: scale(1.05);
}

.card-content {
  padding: 20px;
  height: 236px; /* Remaining height */
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  font-weight: 500;
  font-size: 20px;
  color: #000000;
  text-align: justify;
  line-height: 30px;
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-content .date {
  font-size: 12px;
  color: #999;
  margin-bottom: 15px;
}

.card-content p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.load-more-container {
  text-align: center;
  margin-top: 40px;
}

.load-more-btn {
  background-color: #03487c;
  color: #fff;
  border: none;
  padding: 10px 40px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.load-more-btn:hover {
  background-color: #003d80;
}

.style-info p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 66px; /* approx 3 lines */
}

.style-info .date {
  font-size: 12px;
  color: #999;
  text-align: right;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

/* International Page Styles */

/* General Situation */
.general-situation .content-text {
  margin-bottom: 30px;
}

.general-situation .content-text p {
  font-size: 14px;
  line-height: 2;
  color: #333;
  text-align: justify;
}

.general-situation .content-images {
  margin-top: 30px;
}

.general-situation .content-images .img-box {
  width: 380px;
  height: 278px;
  overflow: hidden;
  background-color: #eee; /* Placeholder color */
}

.general-situation .content-images .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Item Information */
.item-information {
  /* background-color: #fff; */
}

.items-grid {
  margin-top: 30px;
}

.item-card {
  width: 585px;
  height: 162px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-left: 40px;
}

.item-card h3 {
  color: #fff;
  font-size: 24px;
  font-weight: normal;
}

.item-card .arrow-icon {
  margin-left: 20px;
  display: inline-block;
}

.item-card .arrow-icon img {
  width: 30px; /* Adjust size */
  vertical-align: middle;
}

/* Overseas Student */
.overseas-student {
  /* background-color: #fff; */
}

.overseas-content {
  margin-top: 30px;
}

.overseas-content .left-content {
  width: 48%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.overseas-content .left-content p {
  font-size: 14px;
  line-height: 2;
  color: #333;
  margin-bottom: 20px;
  text-align: justify;
}

.overseas-content .small-images {
  margin-top: auto;
}

.overseas-content .small-images .img-box {
  width: 48%;
  height: 150px;
  overflow: hidden;
  background-color: #eee;
}

.overseas-content .small-images .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overseas-content .right-image {
  width: 584px;
  height: 422px; /* Adjust height */
  overflow: hidden;
  background-color: #eee;
}

.overseas-content .right-image .img-box {
  width: 100%;
  height: 100%;
}

.overseas-content .right-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.personal-recruitment-card {
  width: 380px !important;
  height: 250px !important;
}

/* Office Service Page Styles */
.office-service-section {
  padding: 60px 0;
}

.office-intro {
  margin-bottom: 60px;
  font-size: 14px;
  line-height: 2;
  color: #333;
  text-align: justify;
}

.service-block {
  margin-bottom: 60px;
}

.service-title {
  display: flex;
  align-items: flex-end;
  margin-bottom: 30px;
  position: relative;
}

.service-title .title-img {
  margin-right: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f2a900; /* Yellow underline */
}

.service-title .title-img img {
  height: 32px;
  display: block;
}

.service-title .en-title {
  font-size: 20px;
  color: #004098;
  font-family: "Times New Roman", serif;
  text-transform: uppercase;
  padding-bottom: 10px;
}

/* Rules and Regulations */
.rules-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.rule-card {
  flex: 1;
  width: 380px;
  height: 100px;
  background: #f6f8fa;
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.rule-card:hover {
  background-color: #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.rule-card span {
  font-size: 16px;
  color: #333;
  font-weight: bold;
}

.rule-card .circle-arrow {
  width: 30px;
  height: 30px;
  border: 2px solid #004098;
  border-radius: 50%;
  position: relative;
  display: block;
}

.rule-card .circle-arrow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background-color: #f2a900;
  transform: translate(-50%, -50%);
}

.rule-card .circle-arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 8px;
  width: 6px;
  height: 6px;
  border-top: 2px solid #f2a900;
  border-right: 2px solid #f2a900;
  transform: translateY(-50%) rotate(45deg);
}

/* Common Downloads */
.downloads-grid {
  display: flex;
  gap: 20px;
}

.download-card {
  flex: 1;
  width: 216px;
  height: 78px;
  background-image: linear-gradient(180deg, #0d1d5008 0%, #0d1d5014 100%);
  border-radius: 4px;
  padding: 25px 0;
  text-align: center;
  text-decoration: none;
  font-size: 16px !important;
  color: #333 !important;
  font-weight: bold !important;
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.download-card:hover {
  background-color: #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Work Flow */
.workflow-grid {
  display: flex;
  gap: 20px;
}

.workflow-card {
  flex: 1;
  width: 216px;
  height: 78px;
  background-image: url("../images/office-service/banshiluocheng-item-bg.png");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  text-decoration: none;
  color: #333;
  transition: transform 0.3s ease;
  border-radius: 4px;
  overflow: hidden;
}

.workflow-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.workflow-card span {
  font-size: 16px;
  color: #333;
  font-weight: bold;
}

.workflow-card .arrow {
  font-size: 12px;
  color: #333;
}