@charset "UTF-8";

/* ==========================================================================
	长江商学院 (CKGSB) 教授观点 / 新闻 / 校友案例模块 - 标准 CSS 样式库
	说明：由于项目采用纯静态 link 引入模式，此文件采用浏览器原生标准 CSS，确保所有样式稳定生效。
	========================================================================== */

:root {
  --ck-blue-primary: #0190c5;
  --ck-blue-hover: #007ba8;
  --ck-blue-active: #00678d;
  --ck-blue-dark: #002b66;
  --ck-blue-badge-bg: #f0f9fc;
  --ck-blue-badge-text: #0190c5;
}

/* ==========================================================================
	1. 全局 Hero 巨幕横幅过渡图组件 (除首页与活动页外所有页面统一标准)
	适配 Banner 原图尺寸 2300×460 (5:1 画幅)，自导航栏下方开始展开，顶部 0 遮挡，上下左右 0 裁切
	========================================================================== */
.insights-hero,
.insights-hero-banner,
.news-detail-hero,
.insights-detail-hero {
	position: relative;
	width: 100%;
	background-color: #03132e;
	overflow: hidden;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	min-height: 240px;
}

/* 规范过渡头图统一内边距，防止内容过多撑高容器破坏 5:1 等比画幅 */
.insights-hero,
.insights-hero-banner {
	padding-top: 1.5rem !important;
	padding-bottom: 1.5rem !important;
}

/* 在平板及桌面端以上（768px+），严格遵循 Banner 原始画幅比例 2300:460 (5:1) 等比自适应缩放 */
@media (min-width: 768px) {
	.insights-hero,
	.insights-hero-banner,
	.news-detail-hero,
	.insights-detail-hero {
		aspect-ratio: 2300 / 460;
		min-height: 280px;
		height: auto;
	}
	.insights-hero,
	.insights-hero-banner {
		padding-top: 2rem !important;
		padding-bottom: 2rem !important;
	}
}

/* 1920px 分辨率及以上 (含 2K 2560px、4K 3840px 及超宽屏)，高度严格按 2300:460 等比自适应改变，上下 0 裁切 */
@media (min-width: 1920px) {
	.insights-hero,
	.insights-hero-banner,
	.news-detail-hero,
	.insights-detail-hero {
		aspect-ratio: 2300 / 460;
		min-height: 360px;
		height: auto;
	}
	.insights-hero,
	.insights-hero-banner {
		padding-top: 2.5rem !important;
		padding-bottom: 2.5rem !important;
	}
}

.insights-hero-bg,
.news-detail-hero-bg,
.insights-detail-hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	z-index: 0;
	pointer-events: none;
	user-select: none;
}

/* 通透轻盈的高级保护蒙层：让整张 Banner 建筑实景/校园夜景高保真通透完整呈现，同时确保文字清晰可辨 */
.insights-hero-overlay,
.news-detail-hero-overlay,
.insights-detail-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(3, 19, 46, 0.48) 0%,
		rgba(3, 19, 46, 0.28) 40%,
		rgba(3, 19, 46, 0.08) 75%,
		transparent 100%
	),
	linear-gradient(
		180deg,
		rgba(3, 19, 46, 0.25) 0%,
		transparent 40%,
		rgba(3, 19, 46, 0.35) 100%
	);
	z-index: 1;
	pointer-events: none;
}

/* 文字立体阴影，确保在通透背景下的高清晰度 */
/* .insights-hero h1,
.insights-hero-banner h1,
.news-detail-hero h1,
.insights-detail-hero h1,
.insights-hero-title-shadow {
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.9);
} */

.insights-hero-divider {
	width: 48px;
	height: 3px;
	background-color: #0190c5;
	border-radius: 9999px;
	margin-top: 14px;
}

/* ==========================================
	2. 列表页模块标题与过滤检索工具栏
	========================================== */
.news-header-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.35rem;
	font-weight: 700;
	color: #0f172a;
	letter-spacing: 0.02em;
}

.news-header-title::before {
	content: "";
	display: inline-block;
	width: 4px;
	height: 20px;
	background: #0190c5;
	border-radius: 2px;
}

.news-filter-select,
.news-filter-input {
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 13px;
  color: #334155;
  background-color: #ffffff;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.news-filter-select:focus,
.news-filter-input:focus {
  border-color: var(--ck-blue-primary);
  box-shadow: 0 0 0 2px rgba(1, 144, 197, 0.15);
}

/* ==========================================
	3. 新闻 / 校友动态核心卡片
	========================================== */
.news-card-item {
	display: flex;
	align-items: center;
	padding: 18px 22px;
	background-color: #ffffff;
	border-radius: 12px;
	border: 1px solid rgba(203, 213, 225, 0.75);
	box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	text-decoration: none;
	cursor: pointer;
	position: relative;
	gap: 20px;
}

.news-card-item:hover {
	transform: translateY(-2px);
	border-color: #7dd3fc;
	box-shadow: 0 10px 25px -4px rgba(1, 144, 197, 0.15);
	background-color: #ffffff;
}

/* 左侧日期徽章：完全对标活动列表页经典品牌蓝实色色块与立体渐变 */
.news-date-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 82px;
	height: 76px;
	background: linear-gradient(135deg, #0190c5 0%, #007ba8 100%);
	border-radius: 10px;
	flex-shrink: 0;
	color: #ffffff;
	padding: 6px 4px;
	box-shadow: 0 4px 12px rgba(1, 144, 197, 0.28);
	transition: all 0.25s ease;
}

.news-card-item:hover .news-date-box {
	background: linear-gradient(135deg, #007ba8 0%, #00678d 100%);
	box-shadow: 0 6px 16px rgba(1, 144, 197, 0.38);
	transform: scale(1.02);
}

.news-date-day {
	font-size: 1.25rem;
	font-weight: 800;
	color: #ffffff;
	line-height: 1;
	letter-spacing: -0.02em;
}

.news-date-year {
	font-size: 0.75rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1;
	margin-top: 5px;
	letter-spacing: 0.05em;
}

@media (max-width: 639px) {
	.news-card-item {
		padding: 14px 16px;
		gap: 14px;
	}
	.news-date-box {
		width: 68px;
		height: 64px;
		border-radius: 8px;
	}
	.news-date-day {
		font-size: 1.125rem;
	}
	.news-date-year {
		font-size: 0.6875rem;
		margin-top: 3px;
	}
}

/* 中间内容排版 */
.news-content-box {
	flex: 1;
	min-width: 0;
}

.news-title-text {
	font-size: 1.0625rem;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.45;
	transition: color 0.2s ease;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-card-item:hover .news-title-text {
	color: #0190c5;
}

.news-desc-text {
	font-size: 0.8125rem;
	color: #64748b;
	line-height: 1.5;
	margin-top: 4px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* 分类标签体系（对齐 activity-tag） */
.news-meta-line {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
	flex-wrap: wrap;
}

.news-tag {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	font-size: 0.75rem;
	font-weight: 500;
	color: #0190c5;
	background-color: #f0f9fc;
	border: 1px solid rgba(1, 144, 197, 0.18);
	border-radius: 4px;
}

.news-author-tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.75rem;
	color: #64748b;
}

/* 右侧行动胶囊按钮（对标 activity-apply-btn） */
.news-read-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 18px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #0190c5;
	background-color: #ffffff;
	border: 1px solid rgba(1, 144, 197, 0.4);
	border-radius: 9999px;
	transition: all 0.2s ease;
	cursor: pointer;
	white-space: nowrap;
	flex-shrink: 0;
}

.news-card-item:hover .news-read-btn {
	background-color: #0190c5;
	color: #ffffff;
	border-color: #0190c5;
	box-shadow: 0 4px 12px rgba(1, 144, 197, 0.25);
}

/* ==========================================
	4. 数字分页器组件
	========================================== */
.pagination-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pagination-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 6px;
  border-radius: 4px;
  font-size: 14px;
  color: #475569;
  background-color: transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.pagination-item:hover:not(.active):not(.ellipsis) {
  background-color: #eff6ff;
  color: var(--ck-blue-primary);
}

.pagination-item.active {
  background-color: var(--ck-blue-active);
  color: #ffffff;
  font-weight: 600;
}

.pagination-item.ellipsis {
  cursor: default;
  color: #94a3b8;
}

/* ==========================================
	5. 侧边栏：媒体报道 / 校友报道卡片
	========================================== */
.media-card-box {
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(203, 213, 225, 0.7);
  box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  padding: 24px;
}

.media-header-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 1.125rem;
	font-weight: 700;
	color: #0f172a;
}

.media-header-title::before {
	content: "";
	display: inline-block;
	width: 3.5px;
	height: 16px;
	background: #0190c5;
	border-radius: 2px;
}

.media-header-more {
  font-size: 13px;
  color: #64748b;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  transition: color 0.2s ease;
}

.media-header-more:hover {
  color: var(--ck-blue-primary);
}

.media-item-link {
  display: flex;
  align-items: center;
  padding: 8px 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.media-item-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--ck-blue-primary);
  flex-shrink: 0;
  margin-right: 12px;
  transition: transform 0.2s ease;
}

.media-item-link:hover {
  color: var(--ck-blue-primary);
}

.media-item-link:hover .media-item-dot {
  transform: scale(1.3);
}

.media-item-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================
	6. 底部通栏 CTA 卡片组件
	========================================== */
.insights-cta-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 21, 51, 0.94) 0%, rgba(7, 21, 51, 0.85) 45%, rgba(7, 21, 51, 0.4) 100%),
    url("../images/brand1.png") no-repeat center center / cover;
  box-shadow: 0 16px 36px -8px rgba(10, 25, 49, 0.25);
  padding: 32px 46px;
}

@media (max-width: 640px) {
  .insights-cta-card {
    padding: 28px 20px;
  }
}

.insights-cta-btn {
  background-color: var(--ck-blue-primary);
  color: #ffffff;
  font-weight: 500;
  font-size: 15px;
  padding: 10px 24px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(1, 144, 197, 0.3);
  text-decoration: none;
}

.insights-cta-btn:hover {
  background-color: var(--ck-blue-hover);
  box-shadow: 0 6px 18px rgba(1, 144, 197, 0.45);
  transform: translateY(-1px);
}

/* ==========================================
	7. 页脚辅助链接与社交按钮
	========================================== */
.footer-link-group-title {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-nav-link {
  display: block;
  font-size: 13px;
  color: #94a3b8;
  padding: 4px 0;
  transition: color 0.2s ease;
  text-decoration: none;
}

.footer-nav-link:hover {
  color: #ffffff;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  transition: all 0.2s ease;
}

.footer-social-btn:hover {
  background-color: var(--ck-blue-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================
	8. 新闻 / 动态详情页专属组件 (Hero 已在第 1 节全局统一规范)
	========================================== */
.news-detail-category-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 9999px;
  background-color: var(--ck-blue-primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: 0 2px 6px rgba(1, 144, 197, 0.3);
}

.news-detail-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #ffffff;
  color: #334155;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: all 0.25s ease;
  text-decoration: none;
}

.news-detail-back-btn:hover {
  background-color: #f8fafc;
  color: var(--ck-blue-primary);
  transform: translateX(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.news-article-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #eef2f6;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
  padding: 32px 24px;
}

@media (min-width: 640px) {
  .news-article-card {
    padding: 44px 40px;
  }
}

.news-article-body {
  color: #334155;
  font-size: 15px;
  line-height: 1.95;
  text-align: justify;
}

.news-article-body p {
  margin-bottom: 20px;
}

.news-article-body p:last-child {
  margin-bottom: 0;
}

/* 编辑器图片居中兼容：Tailwind Preflight 将 img 重置为 display:block，
   祖先元素上的 text-align:center 对块级图片不再生效，转为水平 margin 自动居中；
   同时兼容编辑器把居中样式直接写在 img 上的情况与 center/align 老写法 */
.news-article-body [style*="text-align:center"] img,
.news-article-body [style*="text-align: center"] img,
.news-article-body img[style*="text-align:center"],
.news-article-body img[style*="text-align: center"],
.news-article-body center img,
.news-article-body [align="center"] img {
  margin-left: auto;
  margin-right: auto;
    height: auto !important;
}

/* 富文本标题排版：恢复被 Tailwind Preflight 重置的 H1-H6 标题层级样式，并按级别着色区分；
   字号/行高为基础兜底值，编辑器设置的内联样式优先（字号以后台编辑器调整为准） */
.news-article-body h1,
.news-article-body h1 *,
.news-article-body h2,
.news-article-body h2 *,
.news-article-body h3,
.news-article-body h3 *,
.news-article-body h4,
.news-article-body h4 *,
.news-article-body h5,
.news-article-body h5 *,
.news-article-body h6,
.news-article-body h6 * {
  color: #071533;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
}

.news-article-body h1,
.news-article-body h1 * {
  font-size: 24px;
  color: #0190c5;
}

.news-article-body h2,
.news-article-body h2 * {
  font-size: 20px;
  color: #0190c5;
}

.news-article-body h3,
.news-article-body h3 * {
  font-size: 17px;
}

.news-article-body h4,
.news-article-body h4 * {
  font-size: 15px;
  font-weight: 600;
}

.news-article-body h5,
.news-article-body h5 * {
  font-size: 15px;
  font-weight: 600;
  color: #334155;
}

.news-article-body h6,
.news-article-body h6 * {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
}

.news-article-body h1 {
  margin: 28px 0 16px;
}

.news-article-body h2 {
  margin: 24px 0 14px;
}

.news-article-body h3 {
  margin: 20px 0 12px;
}

.news-article-body h4 {
  margin: 18px 0 10px;
}

.news-article-body h5 {
  margin: 16px 0 10px;
}

.news-article-body h6 {
  margin: 16px 0 10px;
}

/* 富文本列表排版：恢复被 Tailwind Preflight 重置的列表缩进与项目符号 */
.news-article-body ul,
.news-article-body ol {
  padding-left: 28px;
  margin-bottom: 20px;
}

.news-article-body ul {
  list-style: disc;
}

.news-article-body ol {
  list-style: decimal;
}

.news-article-body li {
  margin-bottom: 6px;
}

.news-article-body ul:last-child,
.news-article-body ol:last-child {
  margin-bottom: 0;
}

/* 富文本表格排版：恢复被 Tailwind Preflight 重置的表格默认样式，
   提供边框、表头底色与斑马纹兜底效果，编辑器设置的内联样式优先 */
.news-article-body table {
  width: 100%;
  max-width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 14px;
  text-align: left;
}

.news-article-body th,
.news-article-body td {
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  line-height: 1.7;
  vertical-align: top;
}

.news-article-body th {
  background-color: #f1f5f9;
  color: #071533;
  font-weight: 700;
  text-align: center;
}

.news-article-body tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

.news-article-body table img {
  max-width: 100%;
  height: auto;
}

.news-article-figure {
  margin: 28px 0;
  text-align: center;
}

.news-article-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.1);
  margin-left: auto;
  margin-right: auto;
}

.news-article-caption {
  font-size: 13px;
  color: #64748b;
  margin-top: 10px;
  text-align: center;
}

.news-article-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-top: 28px;
  margin-bottom: 12px;
}

.news-action-bar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
  margin-top: 28px;
  border-top: 1px solid #f1f5f9;
}

@media (min-width: 640px) {
  .news-action-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.news-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.news-like-btn:hover,
.news-like-btn.liked {
  border-color: #38bdf8;
  background-color: #f0f9ff;
  color: #0284c7;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.15);
}

.news-share-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #f1f5f9;
  color: #64748b;
  transition: all 0.2s ease;
}

.news-share-icon-btn:hover {
  background-color: var(--ck-blue-primary);
  color: #ffffff;
  transform: translateY(-1px);
}

.related-news-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #eef2f6;
  box-shadow: 0 2px 12px -2px rgba(0, 0, 0, 0.03);
  padding: 24px;
}

.related-news-link {
  display: block;
  padding: 10px 0;
  font-size: 13.5px;
  color: #334155;
  line-height: 1.55;
  text-decoration: none;
  border-bottom: 1px solid #f8fafc;
  transition: all 0.2s ease;
}

.related-news-link:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.related-news-date {
  color: var(--ck-blue-primary);
  font-weight: 600;
  margin-right: 4px;
}

.related-news-link:hover {
  color: var(--ck-blue-primary);
}

.related-news-link:hover .related-news-date {
  color: var(--ck-blue-hover);
}

.weather-widget-box {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #eef2f6;
  box-shadow: 0 2px 12px -2px rgba(0, 0, 0, 0.03);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.weather-widget-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #fef3c7;
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================
	9. 教授观点详情页专属组件 (Insights Detail)
	========================================== */
.insights-author-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 28px;
  transition: all 0.3s ease;
}

.insights-author-card:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
}

.insights-author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.insights-highlight-box {
  position: relative;
  background: linear-gradient(135deg, #f0f7ff 0%, #f8fafc 100%);
  border-left: 4px solid var(--ck-blue-primary);
  border-radius: 0 10px 10px 0;
  padding: 20px 24px;
  margin: 24px 0 32px;
}

.insights-highlight-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ck-blue-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.insights-highlight-content {
	font-size: 14px;
	line-height: 1.8;
	color: #334155;
}

