
/* ================= 信息单页版块 - faqs,  study news ================= */

.news-content .nc-header {
	margin-bottom: 40px;
}

.news-content .nc-header .last-updated {
	display: inline-block;
	padding: 8px 20px;
	font-size: 0.95rem;
	color: var(--accent-color);
	background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
	border-radius: 30px;
}

.news-content .nc-subheader {
	margin: 4rem 0;
}

.news-content .nc-header h1 {
	color: var(--heading-color);
}

.news-content .nc-header p {
	color: var(--heading-color);
	font-size: 1rem;
}

.news-content .nc-subheader h2 {
	text-align: center;
	font-size: 1.5rem;
	margin-bottom: 2.5rem;
	font-weight: 600
}

/* ================= Content ================= */

.news-content .nc-content {
	margin-bottom: 50px;
	scroll-margin-top: 100px;
}

/* H2 左侧小圆角色块标记 */
.news-content .nc-content h2 {
    font-size: 1.6rem;
    margin: 36px 0 16px;
    color: var(--content-color);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-content .nc-content h2::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 24px;
    border-radius: 4px;
    background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.news-content .nc-content h3 {
    font-size: 1.4rem;
    margin: 18px 0 14px;
    color: var(--content-color);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.news-content .nc-content h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background-color: color-mix(in srgb, var(--faqs-color), transparent 65%);
}

.news-content .nc-content h4 {
    font-size: 1.25rem;
    margin: 18px 0 12px;
    color: var(--content-color);
    font-weight: 600;
    padding-left: 10px; 
    position: relative;
}
.news-content .nc-content h4::after {
    content: "";
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%; 
    width: 3px;  
    border-radius: 2px;
    background-color: color-mix(in srgb, var(--faqs-color), transparent 45%);
}

.news-content .nc-content h2 + h3 {
    margin-top: 4px;
}

.news-content .nc-content p {
	margin-bottom: 1.2em;
	line-height: 1.8;
}

.news-content .nc-content p:last-child {
	margin-bottom: 0;
}

.news-content .nc-content strong {
	font-weight: 600;
    color: var(--icon-color);
	letter-spacing: 0.5px;
	padding-left: 3px;
	padding-right: 3px;
}

.news-content .nc-content em {
	font-style: italic;
}

.news-content .nc-content hr {
	border: none;
	border-top: 1px solid #ddd;
	margin: 30px 0;
}

.news-content .nc-content blockquote {
	background: url(../images/bgcode.webp);
	border: 1px solid #f0f0f0;
	border-left: 6px solid #f06;
	border-radius: 8px;
	padding: 12px 20px;
	margin-bottom: 12px;
	line-height: 160%;
	color: #1c154b;
}

.news-content .nc-content img {
	display: block;
	width: 50% !important;
	margin: 30px auto;
	border-radius: 10px;
	height: auto !important;
	transition: transform .3s ease, filter .3s ease;
}

.news-content .nc-content.city-content img {
    width: 100% !important;
    max-width: 1000px !important;
    height: auto !important;
    margin: 30px auto;
    border-radius: 10px;
    display: block;
    transition: transform .3s ease, filter .3s ease;
  }

.news-content .nc-content.ukphotos-content img {
    width: 100% !important;
    max-width: 600px !important;
    height: auto !important;
    margin: 30px auto;
    border-radius: 5px;
    display: block;
    transition: transform .3s ease, filter .3s ease;
  }

.news-content .nc-content img:hover {
	filter: brightness(1.15);
}

.news-content .nc-content figure {
	text-align: center;
	margin: 25px auto;
}

.news-content .nc-content figcaption {
	font-size: 0.85rem;
	color: #666;
	margin-top: 8px;
}

.news-content .nc-content a {
	padding: 1px 5px;
	height: 18px;
	text-decoration: none;
	background-color: transparent;
	border-bottom: 2px solid #cf007d;
	transition: background .14s ease, color .14s ease;
}

.news-content .nc-content a:hover {
	text-decoration: none !important;
	color: #cf007d !important;
}


.news-content .nc-content .faq-list {
    margin: 10px 0 30px;
}

.news-content .nc-content .faq-item {
    margin-bottom: 14px;
    padding: 18px 20px;
    border: 1px solid color-mix(in srgb, var(--faqs-color), transparent 82%);
    border-radius: 8px;
    background-color: color-mix(in srgb, var(--faqs-color), transparent 96%);
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.news-content .nc-content .faq-item:hover {
    border-color: color-mix(in srgb, var(--faqs-color), transparent 65%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.news-content .nc-content .faq-item h3 {
    font-size: 1.15rem;
    line-height: 1.5;
    margin: 0 0 10px;
    padding-left: 14px;
    color: var(--content-color);
    font-weight: 600;
    position: relative;
    display: block;
	font-family: var(--default-font);
}

.news-content .nc-content .faq-item h3::before {
    content: "";
    position: absolute;
    left: 0;
    width: 4px;
    height: calc(100% - 26px); 
    top: 13px; /* ⚠️ 記得 top 也要同步調整為減去值的一半，線才會維持垂直居中 */
    border-radius: 2px;
    background-color: var(--faqs-color);
}

.news-content .nc-content .faq-item h3::after {
    display: none;
}

.news-content .nc-content .faq-answer p {
    margin: 0;
    padding-left: 14px;
    line-height: 1.8;
}

.news-content .nc-content .application-steps {
    margin: 10px 0 30px;
}

.news-content .nc-content .application-step {
    display: grid;
    grid-template-columns: 54px 1fr;
    column-gap: 18px;
    position: relative;
    padding-bottom: 28px;
}

.news-content .nc-content .application-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 26px;
    top: 54px;
    bottom: 0;
    width: 2px;
    background-color: color-mix(in srgb, var(--accent-color), transparent 75%);
}

.news-content .nc-content .step-number {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: color-mix(in srgb, var(--accent-color), transparent 92%);

    color: var(--heading-color);
    font-size: 0.9rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.news-content .nc-content .step-content {
    padding-top: 1px;
}

.news-content .nc-content .step-content h3 {
    font-size: 1.25rem;
    line-height: 1.5;
    margin: 0 0 8px;
    color: var(--content-color);
    font-weight: 600;
    display: block;
	font-family: var(--default-font);
}

.news-content .nc-content .step-content h3::after {
    display: none;
}

.news-content .nc-content .step-content p {
    margin: 0;
    line-height: 1.8;
}

/* ================= Tables ================= */

.news-content .nc-content table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	margin: 20px 0;
	padding: 8px;
	color: #212529;
	background-color: var(--contrast-color);
	border-radius: 10px;
}

.news-content .nc-content th,
.news-content .nc-content td {
	padding: 10px;
	font-size: .975rem;
	color: #1c154b;
	word-break: break-word;
}

.news-content .nc-content th {
	font-weight: 700 !important;
	border-bottom: 2px solid #212529;
}

.news-content .nc-content tr {
	border-bottom: 1px solid #212529;
}

.news-content .nc-content tr:last-child {
	border-bottom: none;
}

/* ================= Lists ================= */

.news-content .nc-content ul, .news-content .nc-content ol {
	padding: 25px;
	margin-top: 20px;
	background: url(../images/bgcode.webp);
	background-color: var(--surface-color);
	border-left: 4px solid var(--accent-color);
	border-radius: 15px;
}

.news-content .nc-content li {
	list-style: none;
	padding: 5px 0;
	line-height: 180%;
	color: #1c154b;
	border-bottom: 1px solid #e3e3e3;
	position: relative;
}

.news-content .nc-content li:last-child {
	margin-bottom: 0;
}

.news-content .nc-content li::before {
	content: "\e920";
	font-family: icomoon;
	font-size: 0.95rem;
	color: var(--accent-color);
	margin-right: 10px;
	display: inline-block;
	width: 1.2em;
}

.news-content .nc-content.no-icon li::before {
	content: none;
	margin-right: 0;
	width: auto;
}

.news-content .nc-content li:has(ul) {
	border-bottom: none;
}

.news-content .nc-content ul ul {
	background: none;
	border-left: none;
	padding: 5px 0 5px 15px; 
	margin-top: 5px;
}

.news-content .nc-content ul ul li:last-child {
	border-bottom: none;
}

.news-content .nc-content ul ul li {
	border-bottom: none;
	padding: 3px 0;
}

.news-content .nc-content ul ul li::before {
	content: "\e93b"; 
	font-size: 0.85rem; 
	opacity: 0.85;  
}

.news-content .nc-content blockquote ul {
    border-left: none !important;
    padding-left: 15px; 
}

.news-content .nc-content li p {
	display: inline;  
	margin: 0;   
	padding: 0;  
}

/* Ordered Lists */
.news-content .nc-content ol {
	padding-left: 25px;
	margin-top: 20px;
}

.news-content .nc-content ol li {
	margin-bottom: 8px;
	line-height: 1.8;
}

.nc-content.attribution,
.nc-content.attribution a {
    font-size: 0.85rem;
}
/* ================= Code Blocks ================= */

.news-content .nc-content pre,
.news-content .nc-content code {
	background: #f7f7f7;
	padding: 12px 15px;
	border-radius: 8px;
	font-family: Consolas, monospace;
	font-size: 0.9rem;
	overflow-x: auto;
	display: block;
	margin: 20px 0;
}

/* ================= Media Embeds ================= */

.news-content .nc-content iframe,
.news-content .nc-content video,
.news-content .nc-content audio {
	max-width: 100%;
	width: 100%;
	border: none;
	margin: 20px 0;
}

/* ================= CMS Cleanup ================= */

.news-content .nc-content [style] {
	max-width: 100%;
	height: auto !important;
}

/* ================= date ================= */

.news-content .news-date {
	font-size: 0.8rem;
	color: #666;
 /* 可选，让日期更弱化 */
	margin-left: 8px;
}

/* ================= newsList ================= */

.newsList-content {
	position: sticky;
	top: 20px;
}

.newsList-content h3 {
	margin: 20px auto;
	text-align: center;
}

.newsList .newsList-card {
	position: relative;
	border-radius: 15px;
	overflow: hidden;
	height: 100%;
	background: url(../images/bgcode.webp);
	box-shadow: 0 5px 25px color-mix(in srgb, var(--default-color), transparent 92%);
	transition: all 0.4s ease-in-out;
	margin-bottom: 2rem;
}

.newsList .newsList-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 85%);
}

.newsList .newsList-card::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 4px;
	background: var(--accent-color);
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform 0.3s ease;
}

.newsList .newsList-card:hover::before {
	transform: scaleY(1);
}

.newsList .newsList-card.featured .newsList-header,
.newsList .newsList-card.featured .newsList-bottom {
	display: flex;
	gap: 25px;
	align-items: flex-start;
}

.newsList .newsList-card.featured .newsList-header {
	padding: 20px 20px 0 20px;
}

.newsList .newsList-card.featured .newsList-bottom {
	padding: 0 20px 20px 20px;
}

.newsList .newsList-image {
	position: relative;
	flex-shrink: 0;
}

.newsList .newsList-image img {
	width: 100px;
	height: 100px;
	object-fit: cover;
	border-radius: 12px;
}

.newsList .country-badge {
	position: absolute;
	top: -10px;
	right: -10px;
	background: var(--default-color);
	color: var(--contrast-color);
	font-size: 12px;
	font-weight: 600;
	padding: 5px 10px;
	border-radius: 20px;
}

.newsList .course-badge {
	position: absolute;
	top: -10px;
	right: -20px;
}

.newsList .newsList-image {
    position: relative; /* 确保子元素绝对定位基于此容器 */
}

.photo-flag-badge {
    position: absolute;
    top: 22px;   /* 距离图片顶部的距离 */
    right: 22px;  /* 距离图片右侧的距离 */
    background: rgba(255, 255, 255, 0.9);
    padding: 2px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.photo-flag-badge img {
    width: 15px !important;  /* 强制固定国旗宽度，防止过大 */
    height: 15px !important; /* 固定高度保持比例 */
    object-fit: cover;
    display: block;
    border-radius: 50%;
    margin: 0 !important;    /* 清除可能存在的其他外边距影响 */
}

.newsList .newsList-info h4 {
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 8px;
}

.newsList .newsList-bottom p {
	font-size: 0.9rem;
	line-height: 1.6;
	margin: 0;
}

@media (max-width: 768px) {
	
	.news-content .nc-header h1 {
	font-size: 1.3rem;
}

	.news-content .nc-content h1 {
	font-size: 1.3rem;
}
	
    /* H2 */
    .news-content .nc-content h2 {
        font-size: 1.65rem;
        margin: 34px 0 18px;
        padding-left: 12px;
    }

    .news-content .nc-content h2::before {
        width: 4px;
    }

    /* H3 */
    .news-content .nc-content h3 {
        font-size: 1.4rem;
        line-height: 1.5;
        margin: 28px 0 15px;
    }

    .news-content .nc-content h3::after {
        bottom: -3px;
        height: 2px;
    }

    /* H4 */
    .news-content .nc-content h4 {
        font-size: 1.15rem;
        line-height: 1.55;
        margin: 22px 0 10px;
        padding-left: 9px;
    }

    .news-content .nc-content h4::after {
        width: 3px;
        top: 12%;
        height: 76%;
    }
	
    .news-content .nc-content .faq-item {
        padding: 15px 16px;
        margin-bottom: 12px;
        border-radius: 7px;
    }

    .news-content .nc-content .faq-item h3 {
        font-size: 1.08rem;
        line-height: 1.55;
        padding-left: 12px;
        margin-bottom: 8px;
    }

    .news-content .nc-content .faq-item h3::before {
        width: 3px;
        top: 5px;
        height: calc(100% - 10px);
    }

    .news-content .nc-content .faq-answer p {
        padding-left: 12px;
        line-height: 1.75;
    }
	
 .news-content .nc-content .application-step {
        grid-template-columns: 42px 1fr;
        column-gap: 12px;
        padding-bottom: 24px;
    }

    .news-content .nc-content .application-step:not(:last-child)::before {
        left: 20px;
        top: 42px;
    }

    .news-content .nc-content .step-number {
        width: 42px;
        height: 42px;
        font-size: 0.78rem;
        border-width: 1.5px;
    }

    .news-content .nc-content .step-content h3 {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 7px;
    }

    .news-content .nc-content .step-content p {
        line-height: 1.75;
    }
	
	
.news-content .nc-content img {
	width: 70% !important;
	margin-bottom: 40px;
	margin-top: 20px;
}

	.newsList .newsList-card.featured .newsList-header .newsList-image img {
		width: 100px;
		height: 100px;
	}

	.newsList .newsList-card.featured .newsList-header .newsList-info h4 {
		font-size: 16px;
	}

	.newsList .newsList-card.featured .newsList-header .newsList-info .contact-info a {
		font-size: 13px;
	}
}

/* 1. 容器 */
.sidebar-box {
  width: 100%;
  margin-bottom: 1.5rem;
    border:1px solid #ececec;
    border-radius:10px;
    background:#fff;
    padding:15px;
}

/* 2. 标题 */
.sidebar-box h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #212529;
  padding-left: 5px;
  margin-bottom: 0; 
}

/* 3. 列表项 */
.sidebar-box ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.sidebar-box li {
  margin-bottom: 0.6rem;
}

.sidebar-box li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.85rem;
  background-color: #ffffff;
  color: #111;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid #f1f3f5;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-box li a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.06);
  color: #0d6efd;
  border-color: #e9ecef;
}

/* 4. 高亮选中项 (Active) */
#course #mainNav .course a,
#school #mainNav .school a,
#study1 #mainNav .study1 a, #study2 #mainNav .study2 a, #study3 #mainNav .study3 a, #study4 #mainNav .study4 a, #study5 #mainNav .study5 a,
#study6 #mainNav .study6 a, #study7 #mainNav .study7 a, #study8 #mainNav .study8 a, #study9 #mainNav .study9 a, #study10 #mainNav .study10 a,
#study11 #mainNav .study11 a, #study12 #mainNav .study12 a, #study13 #mainNav .study13 a, #study14 #mainNav .study14 a, #study15 #mainNav .study15 a,
#study16 #mainNav .study16 a, #study17 #mainNav .study17 a, #study18 #mainNav .study18 a, #study19 #mainNav .study19 a, #study20 #mainNav .study20 a,
#study21 #mainNav .study21 a, #study22 #mainNav .study22 a, #study23 #mainNav .study23 a, #study24 #mainNav .study24 a, #study25 #mainNav .study25 a,
#study26 #mainNav .study26 a, #study27 #mainNav .study27 a, #study28 #mainNav .study28 a, #study29 #mainNav .study29 a, #study30 #mainNav .study30 a,
#study31 #mainNav .study31 a, #study32 #mainNav .study32 a, #study33 #mainNav .study33 a, #study34 #mainNav .study34 a, #study35 #mainNav .study35 a,
#study36 #mainNav .study36 a, #study37 #mainNav .study37 a, #study38 #mainNav .study38 a, #study39 #mainNav .study39 a, #study40 #mainNav .study40 a,
#study41 #mainNav .study41 a, #study42 #mainNav .study42 a, #study43 #mainNav .study43 a, #study44 #mainNav .study44 a, #study45 #mainNav .study45 a,
#study46 #mainNav .study46 a, #study47 #mainNav .study47 a, #study48 #mainNav .study48 a, #study49 #mainNav .study49 a, #study50 #mainNav .study50 a,
#study51 #mainNav .study51 a, #study52 #mainNav .study52 a, #study53 #mainNav .study53 a, #study54 #mainNav .study54 a, #study55 #mainNav .study55 a,
#study56 #mainNav .study56 a, #study57 #mainNav .study57 a, #study58 #mainNav .study58 a, #study59 #mainNav .study59 a {
  background-color: #0d6efd !important;
  color: #ffffff !important;
  border-color: #0d6efd !important;
  font-weight: 500 !important;
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.25) !important;
}

#study1 #mainNav .study1 a .badge, #study2 #mainNav .study2 a .badge, #study3 #mainNav .study3 a .badge, #study4 #mainNav .study4 a .badge, #study5 #mainNav .study5 a .badge,
#study6 #mainNav .study6 a .badge, #study7 #mainNav .study7 a .badge, #study8 #mainNav .study8 a .badge, #study9 #mainNav .study9 a .badge, #study10 #mainNav .study10 a .badge,
#study11 #mainNav .study11 a .badge, #study12 #mainNav .study12 a .badge, #study13 #mainNav .study13 a .badge, #study14 #mainNav .study14 a .badge, #study15 #mainNav .study15 a .badge,
#study16 #mainNav .study16 a .badge, #study17 #mainNav .study17 a .badge, #study18 #mainNav .study18 a .badge, #study19 #mainNav .study19 a .badge, #study20 #mainNav .study20 a .badge,
#study21 #mainNav .study21 a .badge, #study22 #mainNav .study22 a .badge, #study23 #mainNav .study23 a .badge, #study24 #mainNav .study24 a .badge, #study25 #mainNav .study25 a .badge,
#study26 #mainNav .study26 a .badge, #study27 #mainNav .study27 a .badge, #study28 #mainNav .study28 a .badge, #study29 #mainNav .study29 a .badge, #study30 #mainNav .study30 a .badge,
#study31 #mainNav .study31 a .badge, #study32 #mainNav .study32 a .badge, #study33 #mainNav .study33 a .badge, #study34 #mainNav .study34 a .badge, #study35 #mainNav .study35 a .badge,
#study36 #mainNav .study36 a .badge, #study37 #mainNav .study37 a .badge, #study38 #mainNav .study38 a .badge, #study39 #mainNav .study39 a .badge, #study40 #mainNav .study40 a .badge,
#study41 #mainNav .study41 a .badge, #study42 #mainNav .study42 a .badge, #study43 #mainNav .study43 a .badge, #study44 #mainNav .study44 a .badge, #study45 #mainNav .study45 a .badge,
#study46 #mainNav .study46 a .badge, #study47 #mainNav .study47 a .badge, #study48 #mainNav .study48 a .badge, #study49 #mainNav .study49 a .badge, #study50 #mainNav .study50 a .badge,
#study51 #mainNav .study51 a .badge, #study52 #mainNav .study52 a .badge, #study53 #mainNav .study53 a .badge, #study54 #mainNav .study54 a .badge, #study55 #mainNav .study55 a .badge,
#study56 #mainNav .study56 a .badge, #study57 #mainNav .study57 a .badge, #study58 #mainNav .study58 a .badge, #study59 #mainNav .study59 a .badge {
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

@media (min-width: 992px) {
    #mainNav {
        position: sticky;
        top: 10px; 
        align-self: flex-start;
        max-height: calc(100vh - 5vh); 
        overflow-y: auto;
        scrollbar-width: thin;
		
    }

    #mainNav::-webkit-scrollbar {
        width: 6px;
    }

    #mainNav::-webkit-scrollbar-thumb {
        background: #d5d5d5;
        border-radius: 20px;
    }	
	
}


/* ================= Visa Content (仅保留特有样式，其余复用 nc-content) ================= */

.visa-content {
	padding-bottom: 100px;
	margin: 0 auto;
	font-size: 1.1rem;
}

/* 标题专属颜色与字号设置 */
.visa-content h1 {
	font-size: 1.8rem;
	font-weight: 700;
	margin: 50px 0 20px 0;
	color: #003473;
}

.visa-content h2 {
	font-size: 1.5rem;
	font-weight: 700;
	margin: 40px 0 20px 0;
	color: #ee2464;
}

.visa-content h3 {
	font-size: 1.3rem;
	font-weight: 700;
	margin: 30px 0 15px 0;
	color: #005F9B;
}

.visa-content h4 {
	font-size: 1.1rem;
	font-weight: 700;
	margin: 20px 0 15px 0;
	color: #26384e;
}

.visa-content h5 {
	font-size: 1rem;
	font-weight: 700;
	margin: 15px 0 10px 0;
	color: #15004A;
}

/* 特殊深蓝色下划线链接 (unia) */
a.unia:link, 
a.unia:visited {
	padding: 2px 5px;
	text-decoration: none;
	background-color: transparent;
	border-bottom: 3px solid #002172;
	transition: background .14s ease, color .14s ease;
}

a.unia:hover {
	text-decoration: none !important;
	color: #cf007d !important;
}


.timeline{list-style:none;padding:20px 0 20px;position:relative}
.timeline:before{top:0;bottom:0;position:absolute;content:" ";width:3px;background-color:#eee;left:50%;margin-left:-1.5px}
.timeline>li{margin-bottom:20px;position:relative}
.timeline>li:after,.timeline>li:before{content:" ";display:table}
.timeline>li:after{clear:both}
.timeline>li:after,.timeline>li:before{content:" ";display:table}
.timeline>li:after{clear:both}
.timeline>li>.timeline-panel{width:46%;float:left;border:1px solid #d4d4d4;background-color:#fff;border-radius:2px;padding:20px;position:relative;-webkit-box-shadow:0 1px 6px rgba(0,0,0,.175);box-shadow:0 1px 6px rgba(0,0,0,.175)}
.timeline>li>.timeline-panel:before{position:absolute;top:26px;right:-15px;display:inline-block;border-top:15px solid transparent;border-left:15px solid #ccc;border-right:0 solid #ccc;border-bottom:15px solid transparent;content:" "}
.timeline>li>.timeline-panel:after{position:absolute;top:27px;right:-14px;display:inline-block;border-top:14px solid transparent;border-left:14px solid #fff;border-right:0 solid #fff;border-bottom:14px solid transparent;content:" "}
.timeline>li>.timeline-badge{color:#fff;width:50px;height:50px;line-height:50px;text-align:center;font-size:1.1rem;position:absolute;left:50%;margin-left:-25px;background-color:#999;border-top-right-radius:50%;border-top-left-radius:50%;border-bottom-right-radius:50%;border-bottom-left-radius:50%}
.timeline>li:nth-child(odd) .timeline-panel{float:right}
.timeline>li:nth-child(odd) .timeline-panel::before{border-left-width:0;border-right-width:15px;left:-15px;right:auto}
.timeline>li:nth-child(odd) .timeline-panel::after{border-left-width:0;border-right-width:14px;left:-14px;right:auto}
.timeline-badge.primary{background-color:#2e6da4!important}
.timeline-badge.success{background-color:#3f903f!important}
.timeline-badge.warning{background-color:#f0ad4e!important}
.timeline-badge.danger{background-color:#d9534f!important}
.timeline-badge.info{background-color:#5bc0de!important}
.timeline-title{margin-top:0;color:inherit}
.timeline-body>p,.timeline-body>ul{margin-bottom:0;font-size:.9rem}
.timeline-body>p+p{margin-top:5px}
.timeline-body img{max-width:200px}
.text-muted{font-size:.8rem;color:#556}
@media(min-width:768px){.timeline-body img{float:right;max-width:200px}
#button{margin:30px}
}
@media(max-width:980px){.timeline:before{top:0;bottom:0;position:absolute;content:" ";width:3px;background-color:#eee;left:6%;margin-left:-1.5px}
.timeline>li>.timeline-badge{color:#fff;width:40px;height:40px;line-height:40px;text-align:center;position:absolute;left:6%;margin-left:-20px;background-color:#999;border-top-right-radius:50%;border-top-left-radius:50%;border-bottom-right-radius:50%;border-bottom-left-radius:50%;font-size:.8rem}
.timeline>li>.timeline-panel{width:84%}
.timeline>li>.timeline-panel{float:right}
.timeline>li>.timeline-panel:before{border-left-width:0;border-right-width:15px;left:-15px;right:auto}
.timeline>li>.timeline-panel:after{border-left-width:0;border-right-width:14px;left:-14px;right:auto}
}



/* =========================================================
   新闻页面使用
========================================================= */

.news-content {
    padding-top: 55px;
    padding-bottom: 80px;
}


/* =========================================================
   Article
========================================================= */

.news-article {
    min-width: 0;
}


/* =========================================================
   Article Header
========================================================= */

.news-article-header {
    padding: 10px 0 30px;
    border-bottom: 1px solid rgba(0, 0, 0, .09);
}


.news-category-label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 4px;
    background: rgba(0, 0, 0, .045);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
}


.news-article-title {
    margin: 0;
    max-width: 950px;
    font-size: clamp(20px, 2vw, 32px);
    line-height: 1.25;
    font-weight: 750;
    letter-spacing: -.5px;
    color: #202124;
}


.news-new-badge {
    position: relative;
    top: -5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    line-height: 1;
    letter-spacing: .6px;
    font-weight: 800;
    vertical-align: middle;
    background: #202124;
    color: #fff;
}


.news-new-badge .icon-certificate {
    font-size: 10px;
}


/* =========================================================
   Meta
========================================================= */

.news-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 20px;
    color: #777;
    font-size: 13px;
    line-height: 1.8;
}


.news-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}


.news-meta-item i {
    font-size: 13px;
}


.news-meta-divider {
    opacity: .45;
}


/* =========================================================
   Article Body
========================================================= */

.news-article-body {
    padding: 36px 0 10px;
    color: #303236;
    font-size: 17px;
    line-height: 1.9;
    word-wrap: break-word;
    overflow-wrap: break-word;
}


.news-article-body p {
    margin-top: 0;
    margin-bottom: 1.35rem;
}


.news-article-body h2 {
    margin-top: 2.4rem;
    margin-bottom: 1rem;
    font-size: 27px;
    line-height: 1.4;
    font-weight: 700;
    color: #202124;
}


.news-article-body h3 {
    margin-top: 2rem;
    margin-bottom: .8rem;
    font-size: 23px;
    line-height: 1.45;
    font-weight: 700;
    color: #202124;
}


.news-article-body h4 {
    margin-top: 1.8rem;
    margin-bottom: .7rem;
    font-size: 20px;
    font-weight: 700;
}


.news-article-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 28px auto;
    border-radius: 7px;
}


.news-article-body figure {
    margin: 30px 0;
}


.news-article-body figure img {
    margin: 0 auto;
}


.news-article-body figcaption {
    margin-top: 8px;
    text-align: center;
    color: #888;
    font-size: 13px;
    line-height: 1.6;
}


.news-article-body a {
    text-decoration: underline;
    text-underline-offset: 3px;
}


.news-article-body blockquote {
    margin: 30px 0;
    padding: 18px 22px;
    border-left: 4px solid currentColor;
    background: rgba(0, 0, 0, .035);
    border-radius: 0 5px 5px 0;
    color: #555;
}


.news-article-body ul,
.news-article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.7rem;
}


.news-article-body li {
    margin-bottom: .45rem;
}


.news-article-body table {
    width: 100%;
    margin: 25px 0;
    border-collapse: collapse;
}


.news-article-body table th,
.news-article-body table td {
    padding: 10px 12px;
    border: 1px solid #ddd;
}


.news-article-body table th {
    font-weight: 700;
    background: rgba(0, 0, 0, .04);
}


/* =========================================================
   Article Navigation
========================================================= */

.news-navigation {
    margin-top: 45px;
    padding-top: 28px;
    border-top: 1px solid rgba(0, 0, 0, .09);
}


.news-navigation-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 17px;
    font-size: 14px;
    font-weight: 700;
    color: #555;
}


.navigation-line {
    display: block;
    width: 26px;
    height: 2px;
    background: currentColor;
}


.news-nav-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 112px;
    padding: 18px 20px;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 7px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}


.news-nav-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .07);
    border-color: rgba(0, 0, 0, .16);
}


.news-nav-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 9px;
    font-size: 12px;
    font-weight: 700;
    color: #888;
}


.news-nav-text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 600;
    color: #292929;
}


.news-nav-card.disabled {
    opacity: .55;
    cursor: default;
}


.news-nav-card.disabled:hover {
    transform: none;
    box-shadow: none;
}


.news-back-list {
    margin-top: 22px;
    text-align: center;
}


.news-back-list a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #666;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}


.news-back-list a:hover {
    text-decoration: none;
	color: var(--cta-color);
}


/* =========================================================
   Sidebar
========================================================= */

.news-sidebar {
    position: sticky;
    top: 90px;
    padding: 22px;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 8px;
    background: #fff;
}


.news-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 17px;
    border-bottom: 2px solid rgba(0, 0, 0, .08);
}


.sidebar-kicker {
    display: block;
    margin-bottom: 4px;
    font-size: 10px;
    line-height: 1;
    letter-spacing: 1.2px;
    font-weight: 800;
    opacity: .55;
}


.news-sidebar-header h2 {
    margin: 0;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 750;
    color: #222;
}


.sidebar-count {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    border-radius: 50px;
    background: rgba(0, 0, 0, .055);
    font-size: 12px;
    font-weight: 700;
    color: #555;
}


/* =========================================================
   Sidebar List
========================================================= */

.news-sidebar-list {
    display: flex;
    flex-direction: column;
}


.news-sidebar-item {
    display: flex;
    gap: 13px;
    padding: 19px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .075);
}


.news-sidebar-item:last-child {
    border-bottom: 0;
}


.news-sidebar-number {
    flex: 0 0 29px;
    padding-top: 2px;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #aaa;
}


.news-sidebar-content {
    min-width: 0;
    flex: 1;
}


.news-sidebar-content h3 {
    margin: 0 0 9px;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 650;
}


.news-sidebar-content h3 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: #292929;
    text-decoration: none;
}


.news-sidebar-content h3 a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}


.news-sidebar-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #999;
    font-size: 11px;
    line-height: 1.6;
}


.news-sidebar-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}


.news-sidebar-meta i {
    font-size: 10px;
}


.sidebar-new {
    padding: 2px 5px;
    border-radius: 3px;
    background: #202124;
    color: #fff;
    font-size: 8px !important;
    font-weight: 800;
    letter-spacing: .5px;
}


/* =========================================================
   Sidebar Footer
========================================================= */

.news-sidebar-footer {
    padding-top: 17px;
    border-top: 1px solid rgba(0, 0, 0, .075);
    text-align: right;
}


.news-sidebar-footer a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
}


.news-sidebar-footer a:hover {
    text-decoration: underline;
}


/* =========================================================
   Responsive
========================================================= */

@media (max-width: 991.98px) {

    .news-content {
        padding-top: 35px;
        padding-bottom: 60px;
    }


    .news-sidebar {
        position: static;
        margin-top: 45px;
    }

}


@media (max-width: 767.98px) {

    .news-content {
        padding-top: 25px;
    }


    .news-article-header {
        padding-bottom: 22px;
    }


    .news-category-label {
        margin-bottom: 10px;
        font-size: 10px;
    }


    .news-article-title {
        font-size: 28px;
        line-height: 1.32;
        letter-spacing: -.3px;
    }


    .news-new-badge {
        top: -3px;
        padding: 3px 6px;
        font-size: 9px;
    }


    .news-meta {
        margin-top: 15px;
        gap: 4px 6px;
        font-size: 12px;
    }


    .news-article-body {
        padding-top: 27px;
        font-size: 16px;
        line-height: 1.85;
    }


    .news-article-body h2 {
        margin-top: 2rem;
        font-size: 23px;
    }


    .news-article-body h3 {
        font-size: 20px;
    }


    .news-navigation {
        margin-top: 35px;
    }


    .news-sidebar {
        margin-top: 35px;
        padding: 18px;
    }


    .news-sidebar-header h2 {
        font-size: 19px;
    }


    .news-sidebar-item {
        padding: 16px 0;
    }


    .news-sidebar-content h3 {
        font-size: 14px;
    }

}


@media (max-width: 575.98px) {

    .news-article-title {
        font-size: 25px;
    }


    .news-meta-divider {
        display: none;
    }


    .news-meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        row-gap: 5px;
    }


    .news-meta-item:last-child {
        grid-column: 1 / -1;
    }


    .news-nav-card {
        min-height: 95px;
        padding: 15px;
    }


    .news-sidebar {
        border-radius: 6px;
    }

}


/* =========================================================
   Print
========================================================= */

@media print {

    .news-reading-progress,
    .news-sidebar,
    .news-navigation,
    .news-back-list {
        display: none !important;
    }


    .news-article-body {
        font-size: 12pt;
        color: #000;
    }

}


/* =========================================================
   Article Content - Legacy HTML / Markdown Compatibility
========================================================= */


/* ---------------------------------------------------------
   1. Markdown Table
--------------------------------------------------------- */



.news-article-body table {
    width: 100%;
    margin: 28px 0;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;

    border: 1px solid #e5e5e5;
    border-radius: 6px;

    background: #fff;

    font-size: 15px;
    line-height: 1.75;
}


/* 表头 */

.news-article-body table thead th {
    padding: 12px 16px;

    border-bottom: 1px solid #ddd;

    background: #f7f7f7;

    font-weight: 700;
    text-align: left;

    color: #333;
}


/* 普通单元格 */

.news-article-body table tbody td {
    padding: 12px 16px;

    border-bottom: 1px solid #eee;

    vertical-align: top;

    color: #444;
}


/* 最后一行取消底线 */

.news-article-body table tbody tr:last-child td {
    border-bottom: 0;
}


/* ---------------------------------------------------------
   2. 如果你的表格没有 thead
--------------------------------------------------------- */

.news-article-body table tr:first-child td {
    background: #f7f7f7;
    font-weight: 600;
}


/* ---------------------------------------------------------
   3. 防止表格内容太长撑破手机
--------------------------------------------------------- */

.news-article-body {
    overflow-wrap: break-word;
    word-break: normal;
}


.news-article-body table {
    max-width: 100%;
}


/* ---------------------------------------------------------
   4. <br> 换行
--------------------------------------------------------- */

.news-article-body br {
    line-height: 1.8;
}


/* ---------------------------------------------------------
   5. 段落
--------------------------------------------------------- */

.news-article-body p {
    margin-top: 0;
    margin-bottom: 1.35rem;

    line-height: 1.9;
}


/* ---------------------------------------------------------
   6. 如果数据库里面有连续 <br>
--------------------------------------------------------- */

.news-article-body br + br {
    line-height: 1.1;
}


/* ---------------------------------------------------------
   7. 中英文混排
--------------------------------------------------------- */

.news-article-body {
    text-wrap: pretty;
}


/* ---------------------------------------------------------
   8. 英文编号，例如：

   14.People who are unable...
--------------------------------------------------------- */

.news-article-body p strong,
.news-article-body p b {
    font-weight: 700;
    color: #222;
}


/* ---------------------------------------------------------
   9. 引用
--------------------------------------------------------- */

.news-article-body blockquote {
    margin: 28px 0;
    padding: 18px 22px;

    border-left: 4px solid currentColor;

    background: #f7f7f7;

    color: #555;

    border-radius: 0 6px 6px 0;
}


/* ---------------------------------------------------------
   10. 图片
--------------------------------------------------------- */

.news-article-body img {
    max-width: 100%;
    height: auto;

    display: block;

    margin: 28px auto;

    border-radius: 7px;
}


/* ---------------------------------------------------------
   11. 超长英文 URL
--------------------------------------------------------- */

.news-article-body a {
    overflow-wrap: anywhere;
}


/* ---------------------------------------------------------
   12. 手机端表格横向滚动
--------------------------------------------------------- */

@media (max-width: 767.98px) {

    .news-article-body table {
        display: block;

        width: 100%;

        overflow-x: auto;

        white-space: normal;

        -webkit-overflow-scrolling: touch;

        font-size: 14px;
    }


    .news-article-body table th,
    .news-article-body table td {
        min-width: 160px;

        padding: 10px 12px;
    }


    .news-article-body p {
        line-height: 1.85;
    }

}

