:root {
  --primary-color: #4a90e2;
  --gradient: linear-gradient(94.2deg, rgba(51, 109, 244, .8) 12.38%, rgba(165, 122, 255, .8) 108.37%);
  --shadow: 0 10px 30px rgba(176, 191, 231, 0.15);
}

* {
	box-sizing: border-box;
}


body {
	margin: 0;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #333;
}


.academy-banner {
	background-image: url('../img/academy_banner.png');
	padding-top: 100px;
	padding-bottom: 72px;
	overflow: hidden;
	background-origin: border-box;
	background-position: center center;
	background-size: cover;
}

.academy-banner_section {
	display: flex;
	flex-direction: column;
	max-width: 1200px;
	margin: 0 auto;
}

.academy-banner_header {
	margin-left: auto;
	margin-right: auto;
	display: flex;
	width: 100%;
}

.academy-banner_title {
	font-weight: 600;
	font-size: 30px;
	line-height: 46px;
	color: #002270;
	opacity: .9;
	margin-bottom: 40px;
}

.academy-banner_spacer {
	width: 312px;
}

.academy-banner_content-row {
	display: flex;
	gap: 16px;
	width: 100%;
}

.academy-banner_media {
	flex: 1;
	display: flex;
	position: relative;
	overflow-y: hidden;
	border-radius: 16px;
	overflow: hidden;
}

.academy-banner_background-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

.academy-banner_content {
	height: 100%;
	position: relative;
	width: 100%;
}

.academy-banner_card {
	position: relative;
	width: 100%;
	height: 500px;
	transform-origin: left top;
}

.academy-banner_card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.academy-banner_card-bnt {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.academy-banner_cta-link {
	position: absolute;
	left: 41px;
	bottom: 100px;
	width: 176px;
	height: 60px;
	display: flex;
	padding-top: 12px;
	padding-bottom: 12px;
	padding-left: 24px;
	padding-right: 16px;
	align-items: center;
	border-radius: 100px;
}

a {
	text-decoration: none;
}

.academy-banner_cta-text {
	font-family: 'PingFang SC';
	font-style: normal;
	font-weight: 500;
	font-size: 20px;
	line-height: 30px;
	color: #fff;
	margin-right: 20px;
	position: relative;
	z-index: 1;
}

.academy-banner_card-title {
	position: absolute;
	left: 0;
	top: 0;
	padding-top: 6px;
	padding-bottom: 6px;
	padding-left: 16px;
	padding-right: 16px;
	height: 35px;
	background: linear-gradient(94deg, rgba(51, 109, 244, .8) 12.38%, rgba(165, 122, 255, .8) 108.37%);
	transform-origin: left top;
	border-top-left-radius: 16px;
	border-bottom-right-radius: 16px;
	color: #fff;
	font-size: 15px;
	font-weight: 500;
}

.academy_news {
	width: 312px;
	height: 500px;
	border-radius: 16px;
	overflow: hidden;
	position: relative;
}

.academy_news:before {
	content: '';
	pointer-events: none;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(38.48deg, rgba(255, 255, 255, .9) 26.58%, rgba(255, 255, 255, .78) 88.36%);
	opacity: .6;
	backdrop-filter: blur(17.5px);
	border-radius: 16px;
}

.academy_items {
	transform: translateZ(0);
	background: linear-gradient(0deg, #fffdfd 0, #deeefd 60%);
	height: 100%;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	overflow-y: auto;
	padding-top: 10px;
	padding-bottom: 10px;
}

.academy_items_card {
	border-bottom: .533398px solid rgba(255, 255, 255, .4);
	height: 68px;
	padding-top: 16px;
	padding-bottom: 15px;
	padding-left: 31px;
	padding-right: 31px;
	cursor: pointer;
	width: 100%;
}

.academy_items_title {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 14px;
}

.academy_items_time {
	width: 30px;
	white-space: nowrap;
}

.academy_items_day {
	text-align: center;
	font-family: 'Lark Circular';
	font-style: normal;
	font-weight: 600;
	font-size: 22px;
	line-height: 25px;
	flex: none;
	order: 0;
	flex-grow: 0;
}

.academy_items_month {
	text-align: center;
	font-family: 'Lark Circular';
	font-style: normal;
	font-weight: 400;
	font-size: 7px;
	line-height: 11px;
	color: #1f2329;
	flex: none;
	order: 1;
	flex-grow: 0;
}

.academy_line {
	width: 0;
	height: 28.45px;
	border: .5px solid #646a73;
}

.academy_card_title {
	flex: 1;
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
}

.academy_card_des {
	font-family: 'PingFang SC';
	font-style: normal;
	font-weight: 500;
	font-size: 12px;
	line-height: 18px;
	flex: none;
	order: 0;
	flex-grow: 0;
	flex: 1;
	margin-right: 6px;
	overflow: hidden;
	max-height: 36px;
}

.academy_card_icon {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: flex-start;
	padding: 0 6px;
	gap: 2px;
	width: 42px;
	height: 16px;
	background: linear-gradient(90deg, #5cd168 0, #35bd4b 100%);
	border-radius: 8px 2px;
}

.academy_card_icon span {
	font-family: 'PingFang SC';
	font-style: normal;
	font-weight: 500;
	font-size: 10px;
	line-height: 16px;
	color: #fff;
	flex: none;
	order: 0;
	flex-grow: 0;
}

.tag-grey {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: flex-start;
	padding: 0 6px;
	gap: 2px;
	width: 42px;
	height: 16px;
	background: linear-gradient(90deg, rgba(165, 122, 255, .8) 0, rgb(213 197 246 / 80%) 100%);
	border-radius: 8px 2px;
}

.tag-grey span {
	font-family: 'PingFang SC';
	font-style: normal;
	font-weight: 500;
	font-size: 10px;
	line-height: 16px;
	color: #fff;
	flex: none;
	order: 0;
	flex-grow: 0Ⅽ
}


.history-list {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 56px;
}

.history-header .title {
  margin: 0;
  font-weight: 600;
  font-size: 40px;
  line-height: 60px;
  color: #002270;
  white-space: nowrap;
}

.title-icon {
  width: 36px;
  height: 36px;
  fill: var(--primary-color);
}

.history-tabs {
  padding: 0;
  gap: 20px;
  height: 36px;
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  justify-content: flex-end;
}

.tab {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 16px;
  font-size: 16px;
  line-height: 24px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab:hover {
  background-color: #e6f0ff;
  color: var(--primary-color);
}

.tab.active {
  color: #fff;
  font-weight: 600;
  background: var(--gradient);
}

.activity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  min-height: 400px;
  position: relative;
}

.activity-card {
  margin-bottom: 34px;
  cursor: pointer;
  display: none;
}

.activity-card.show {
  display: block;
}

.activity-card[data-type="policy"],
.activity-card[data-type="lowcode"] {
  width: 272px;
  height: 351px;
}

.activity-inner {
  box-shadow: var(--shadow);
  border-radius: 16px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.activity-inner:hover {
  transform: scale(1.02);
}

.activity-image {
  height: 168px;
  width: 100%;
  object-fit: cover;
}

.activity-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
  gap: 8px;
  flex: 1;
  min-height: 150px;
}

.activity-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
}

.activity-title {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #1f2329;
  height: 48px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0;
}

.activity-subtitle {
  font-size: 12px;
  line-height: 18px;
  color: #6b7280;
  height: 36px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0;
}

.activity-footer {
  display: flex;
  justify-content: space-between; /* 按钮左，日期右 */
  align-items: center;
  gap: 8px;
  width: 100%;
}

.activity-button {
  display: inline-block;
  padding: 4px 12px;
  font-size: 14px;
  color: #1f2329;
  border: 1px solid #d0d3d9;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s ease;
  z-index: 1;
}

.activity-button:hover {
  background-color: #f3f4f6;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.activity-date {
  font-size: 14px;
  line-height: 18px;
  color: #6b7280;
  flex-shrink: 0;
}

.activity-card[data-type="branding"],
.activity-card[data-type="event"] {
  width: 360px;
  height: 480px;
}

.activity-card[data-type="branding"] .activity-image,
.activity-card[data-type="event"] .activity-image {
  height: 300px;
}

.activity-card[data-type="branding"] .activity-content,
.activity-card[data-type="event"] .activity-content {
  padding: 12px 16px;
  gap: 8px;
}

.activity-card[data-type="branding"] .activity-title,
.activity-card[data-type="event"] .activity-title {
  font-size: 20px;
  line-height: 30px;
  height: 60px;
}

.activity-card[data-type="branding"] .activity-subtitle,
.activity-card[data-type="event"] .activity-subtitle {
  display: none;
}

.load-more {
  text-align: center;
  margin: 40px 0;
}

.load-more-button {
  padding: 10px 24px;
  font-size: 16px;
  color: #fff;
  background: var(--gradient);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.load-more-button:hover {
  opacity: 0.9;
}

.loading {
  text-align: center;
  padding: 20px;
  font-size: 16px;
  color: #6b7280;
  display: none;
}

.loading.show {
  display: block;
}

@media (max-width: 768px) {
  .history-header {
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
  }

  .history-tabs {
	justify-content: flex-start;
	width: 100%;
	flex-wrap: wrap;
  }

  .activity-card {
	width: 100%;
	max-width: 300px;
	margin: 0 auto 34px;
  }

  .activity-card[data-type="policy"],
  .activity-card[data-type="lowcode"] {
	height: 360px;
  }

  .activity-card[data-type="branding"],
  .activity-card[data-type="event"] {
	width: 100%;
	max-width: 300px;
	height: 350px;
  }

  .activity-card[data-type="branding"] .activity-image,
  .activity-card[data-type="event"] .activity-image {
	height: 210px;
  }

  .activity-footer {
    flex-wrap: wrap;
    gap: 4px;
  }

  .activity-date {
    width: 100%;
    text-align: left; /* 换行后左对齐 */
  }
}