/* CSS Document */

/* for common base */ 
html, body {
	margin: 0;
	padding: 0;
	background: #FFFFFF;
	font-family: "微軟正黑體","Microsoft JhengHei","新細明體","PMingLiU","細明體","MingLiU","標楷體","DFKai-sb",serif;
}
p, li {
	line-height: 1.5em;
	text-align: justify;
	text-justify: inter-ideograph;
}
img {
	border: 0px;
	height: auto;
}
a {
	text-decoration: none;
	color: #001df8;
}
a:hover {
	color: #b20000;
}
.clear {
	clear: both;
}
/* for general use */ 
.responsive-img {
	width: 100%;
}

.nowrap {
	white-space: nowrap;
}
.highlight {
	font-weight: bold;
}
/* for header menu, body and footer */
#wrapper {
	max-width: 1280px;
	margin: auto;
}
#footer {
	height: 5px;
	background-color: #8D7693;
}
#function_bar {
	min-height: 35px;
}
/* for function head bar */
#function_menu {
	position: fixed;
	top: 0;
	text-align: right;
	z-index: 100;
}
#lang_switch, #size_switch {
	display: inline;
	padding-left: 0.5em;
	padding-right: 0.5em;
	line-height: 1.5em;
}
.lang_line {
	display: inline-block;
	overflow: hidden;
	color:#8b6797;
}
.lang_button {
	margin: 2px 4px 0px 4px;
	padding: 0.1em 0.2em 0.1em 0.2em;
	display: inline-block;
	height: 23px;
	background-color: #ffffff;
	overflow: hidden;
}
#normal, #large, #largest {
	margin: 2px 3px 0px 3px;
	display: inline-block;
	width: 23px;
	height: 26px;
	text-indent: 3em;
	background-color: #ffffff;
	overflow: hidden;
}
#normal {
	border: 1px solid #A896AE;
	background-image: url('../../assets/common/images/ui/normal.png');
}
#large {
	border: 2px solid #A896AE;
	background-image: url('../../assets/common/images/ui/large.png');
}
#largest {
	border: 3px solid #A896AE;
	background-image: url('../../assets/common/images/ui/largest.png');
}
#normal:hover, #large:hover, #largest:hover, .lang_button:hover {
	background-color: #d6e8ee;
}
.current_button {
	background-color: #F1D5FB!Important;
}
/* for web accessibility */ 
.hidden {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
#wcag-para {
	text-align: right;
	font-size: 90%;
	padding-right: 5px;
}

/* for Section Menu */ 
#section_menu {
	padding-top: 50px;
	margin-bottom: 5px;
	float: left;
	width: 18%;
	border-right: 1px solid #8D7693;
}
#section_menu img {
	max-width: 95%;
}
/* for Section Menu mobile */ 
@media only screen and (max-width: 700px) {
#section_menu {
	padding-top: 0px;
	width: 100%;
	min-height: initial;
	border: 0px;
	clear: both;
}
}
/* for inside pages */ 
#content {
	float: left;
	padding-right: 50px;
	padding-left: 50px;
}
#inside-page-photo {
	text-align: center;
}
#inside-page-photo img {
	margin-top: 10px;
	margin-left: 20px;
	margin-right: 20px;
	padding-top: 8px;
	padding-left: 24px;
	background-color: #F44E74;
}
.ecs-page figure.photo-pair img {
	max-width: calc(50% - 2.5rem);
	height: auto;
	vertical-align: top;
	box-sizing: border-box;
}
.ecs-page figure.photo-pair {
	margin: 0;
	text-align: center;
}
.ecs-page .media-block {
	margin: 0 0 1.25em;
}

.ecs-page .media-block .ytplayer {
	display: block;
	width: 100%;
	max-width: 640px;
	margin: 0 0 1em;
}

.ecs-page .media-block > p {
	margin: 0 0 0.75em;
}

.ecs-page .radio-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	margin: 0 0 0.5em;
}

.ecs-page .radio-links a.media-btn {
	display: inline-grid;
	line-height: normal;
}

.ecs-page .radio-links a:not(.media-btn) {
	display: inline-block;
	line-height: 0;
}

.ecs-page .radio-links img {
	margin: 0;
	padding: 0;
	background-color: transparent;
	max-width: none;
	height: auto;
	vertical-align: middle;
}

.ecs-page .media-btn {
	--media-btn-primary: var(--ecs-purple-dark);
	--media-btn-light: #ede8f2;
	display: grid;
	grid-template-columns: 50px auto;
	grid-template-rows: 1fr 5px;
	text-decoration: none;
	background: var(--media-btn-primary);
	border-radius: 8px;
	overflow: hidden;
	min-height: 46px;
	box-shadow: 0 2px 0 #564a60;
	transition: transform var(--ecs-transition), box-shadow var(--ecs-transition);
}

.ecs-page .media-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 3px 0 #564a60;
	color: var(--media-btn-primary);
}

.ecs-page .media-btn-icon {
	grid-row: 1 / 3;
	grid-column: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}

.ecs-page .media-btn-label {
	grid-row: 1;
	grid-column: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.55rem 1.15rem;
	background: var(--media-btn-light);
	color: var(--media-btn-primary);
	font-weight: 700;
	font-size: 1.05rem;
	line-height: 1.3;
	border-radius: 0 8px 0 0;
	white-space: nowrap;
}

.ecs-page #inside-page-photo {
	text-align: center;
}

.ecs-page #inside-page-photo img {
	margin: 0.5rem 0.75rem;
	padding: 0;
	background-color: transparent;
	max-width: none;
	height: auto;
	vertical-align: middle;
}

.ecs-page #inside-page-photo .ytplayer {
	display: block;
	width: 100%;
	max-width: 640px;
	margin: 0 0 1em;
}
/* for photo resize on mobile */ 
@media only screen and (max-width: 700px) {
#content {
	clear: both;
	max-width: 95%;
	padding-right: 10px;
	padding-left: 10px;	
}
#inside-page-photo img {
	padding-top: 6px;
	padding-left: 18px;
	max-width: 85%;
}
}
.highlight-heading {
	font-weight: bold;
	font-size: 130%;
	padding-bottom: 1px;
	border-bottom: 3px solid #F44E74;
	color: #816c86;
}
.indent {
	padding-left: 3em;
	text-indent: -3em;
}
.captioned-image {
	background-color: transparent;
	text-align: center;
	display: table;
	margin: auto;
}
.captioned-image a {
	color: #3d5a8a;
}
.captioned-image img {
	padding-top: 0;
	padding-left: 0;
}
.caption-text {
	display: table-caption;
	caption-side: bottom;
	background-color: transparent;
	padding-bottom: 3px;
	margin-bottom: 1em;
}

/* fix for Chrome on nowrap problem */
.chrome_fix {
	font-size: 0.1px;	/* make it very small */
	line-height: 0.1px;
	visibility: hidden;	/* make it not visable */
}

/* home page (modern design) */
.ecs-page {
	--ecs-purple: #8e7d94;
	--ecs-purple-dark: #6d5d79;
	--ecs-purple-light: #b5a2bd;
	--ecs-purple-muted: #a894b3;
	--ecs-surface: #f8f6fa;
	--ecs-text: #2d2433;
	--ecs-link: #3d5a8a;
	--ecs-link-hover: #8b2942;
	--ecs-radius: 4px;
	--ecs-shadow: 0 2px 12px rgba(45, 36, 51, 0.08);
	--ecs-transition: 0.2s ease;
	background: #ece9ef;
}

html:has(body.ecs-page) {
	background: #ece9ef;
	/* videos page loads semantic.min.css which sets html to 14px; menus use rem */
	font-size: 100%;
	min-height: 100%;
}

html.font-normal:has(body.ecs-page) {
	font-size: 120%;
}

html.font-large:has(body.ecs-page) {
	font-size: 130%;
}

html.font-largest:has(body.ecs-page) {
	font-size: 140%;
}

body.ecs-page {
	background: #ece9ef !important;
	min-height: 100vh;
	min-height: 100dvh;
	font-family: "微軟正黑體", "Microsoft JhengHei", "新細明體", "PMingLiU", "細明體", "MingLiU", "標楷體", "DFKai-sb", serif !important;
	overflow-x: visible;
}

html[lang="en"] body.ecs-page {
	font-family: Arial, Helvetica, sans-serif !important;
}

.ecs-page #wrapper {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
	background: #fff;
	box-shadow: var(--ecs-shadow);
}

.ecs-page #function_bar {
	min-height: 42px;
	background-color: transparent;
	/* background: linear-gradient(
		90deg,
		var(--ecs-surface) 0%,
		#f0ebf4 50%,
		rgba(181, 162, 189, 0.45) 100%
	);
	box-shadow: inset 0 -1px 0 rgba(142, 125, 148, 0.22); */
}

.ecs-page .mobile-header {
	position: relative;
	z-index: 100;
}

.ecs-page .mobile-header-title {
	display: none;
}

.ecs-page .menu-toggle {
	display: none;
}

.ecs-page #function_menu {
	position: absolute;
	top: 0;
	right: 0;
	left: auto;
	width: auto;
	min-width: 300px;
	min-height: 40px;
	padding: 9px 20px 9px 40px;
	background: linear-gradient(135deg, var(--ecs-purple) 0%, var(--ecs-purple-dark) 100%);
	clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%);
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 1.25em;
	line-height: 1;
	font-size: 16px;
	box-sizing: border-box;
}

.ecs-page #size_switch,
.ecs-page #lang_switch {
	display: flex;
	align-items: center;
	gap: 0.5em;
	padding: 0;
}

.ecs-page #function_menu a {
	color: rgba(255, 255, 255, 0.38);
	font-weight: normal;
	text-decoration: none;
	background-color: transparent !important;
	border: 0;
	transition: color var(--ecs-transition);
}

.ecs-page #function_menu a .size-label {
	color: rgba(255, 255, 255, 0.38);
}

.ecs-page #function_menu a:hover {
	color: rgba(255, 255, 255, 0.7) !important;
	background-color: transparent !important;
}

.ecs-page #function_menu a:hover .size-label {
	color: rgba(255, 255, 255, 0.7);
}

/* current status: active size-label (A) or language = white */
body.ecs-page #function_menu a.current_button,
body.ecs-page #function_menu a.current_button:hover {
	color: #ffffff !important;
	font-weight: 700;
	opacity: 1;
	background-color: transparent !important;
}

body.ecs-page #function_menu a.current_button .size-label,
body.ecs-page #function_menu a.current_button:hover .size-label,
body.ecs-page #function_menu a .size-label.is-active {
	color: #ffffff !important;
	font-weight: 700;
	opacity: 1;
}

.ecs-page #size_switch a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0 0.15em;
	text-indent: 0;
	border: 0;
	background-image: none !important;
	background-color: transparent;
	font-family: Arial, "Microsoft JhengHei", sans-serif;
	overflow: visible;
}

.ecs-page #normal,
.ecs-page #large,
.ecs-page #largest {
	background-image: none !important;
	text-indent: 0;
	width: auto;
	height: auto;
	border: 0;
	background-color: transparent;
	overflow: visible;
}

.ecs-page #size_switch #normal .size-label { font-size: 11.5px; }
.ecs-page #size_switch #large .size-label { font-size: 15.2px; }
.ecs-page #size_switch #largest .size-label { font-size: 19.2px; }

.ecs-page .lang_button {
	display: inline-block;
	height: auto;
	margin: 0;
	padding: 0 0.15em;
	overflow: visible;
	font-size: 15.2px;
	letter-spacing: 0.02em;
	background-color: transparent !important;
}

.ecs-page #lang_switch .lang_line {
	color: rgba(255, 255, 255, 0.45);
	font-size: 13.6px;
}

.ecs-page .site-header {
	margin-bottom: 0;
}

.ecs-page #banner {
	line-height: 0;
	overflow: hidden;
}

.ecs-page #banner img {
	display: block;
	width: 100%;
}

.ecs-page #page_layout {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	align-content: stretch;
	flex: 1 0 auto;
	background: #fff;
	min-height: 0;
}

.ecs-page #wrapper > .site-footer {
	flex: none;
	width: 100%;
	margin-top: auto;
}

.ecs-page #body {
	display: flex;
	flex-direction: column;
	flex: 1 0 auto;
	font-family: inherit;
}

.ecs-page .site-footer #footer {
	height: 4px;
	clear: none;
	background: linear-gradient(90deg, var(--ecs-purple-light), var(--ecs-purple-dark));
}

.ecs-page #section_menu {
	float: none;
	flex: 0 0 220px;
	max-width: 220px;
	align-self: stretch;
	min-height: 100%;
	padding: 0;
	margin: 0;
	border-right: 0;
	background: linear-gradient(180deg, var(--ecs-purple-light) 0%, #a894b3 100%);
	display: flex;
	flex-direction: column;
}

.ecs-page #section_menu .nav-item {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-width: 0;
	padding: 1.1rem 1.75rem 1.1rem 1rem;
	color: #fff;
	font-size: 1.15rem;
	font-weight: 600;
	text-decoration: none;
	line-height: 1.45;
	overflow-wrap: break-word;
	word-wrap: break-word;
	hyphens: auto;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	transition: background var(--ecs-transition), padding-right var(--ecs-transition);
}

.ecs-page #section_menu .nav-item:last-child {
	border-bottom: 0;
}

.ecs-page #section_menu .nav-item:hover {
	background: rgba(255, 255, 255, 0.12);
	padding-right: 1.75rem;
	color: #fff;
}

.ecs-page #section_menu .nav-item.active {
	background: rgba(255, 255, 255, 0.18);
	font-weight: 700;
	font-size: 1.18rem;
	padding-right: 2.35rem;
}

.ecs-page #section_menu .nav-item.active::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	border: 7px solid transparent;
	border-right-color: #fff;
}

.ecs-page #content {
	float: none !important;
	flex: 1 1 auto;
	align-self: stretch;
	min-width: 0;
	padding: 2.5rem 2.75rem 1.5rem 2.25rem;
	color: var(--ecs-text);
}

.ecs-page #content a {
	color: var(--ecs-link);
	transition: color var(--ecs-transition);
}

.ecs-page #content a:hover {
	color: var(--ecs-link-hover);
}

.ecs-page #content p,
.ecs-page #content li {
	font-family: inherit;
}

.ecs-page #content p {
	margin: 0 0 1.25em;
	font-size: 1.05rem;
	line-height: 1.75;
}

.ecs-page #content p:last-child {
	margin-bottom: 0;
}

.ecs-page .intro p {
	margin: 0 0 1.25em;
	font-size: 1.05rem;
	line-height: 1.75;
}

.ecs-page .highlight-heading {
	display: block;
	margin: 1.75rem 0 0.85rem;
	padding-bottom: 0.5rem;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--ecs-purple-dark);
	border-bottom: 2px solid var(--ecs-purple-light);
}

.ecs-page #content > p:first-child .highlight-heading {
	margin-top: 0;
}

.ecs-page .indent {
	padding-left: 2em;
	text-indent: -2em;
	font-size: 1.05rem;
	line-height: 1.75;
}

.ecs-page .captioned-image {
	background-color: transparent;
	text-align: center;
	display: table;
	margin: 0 auto 1.25em;
}

.ecs-page .captioned-image a {
	color: var(--ecs-link);
}

.ecs-page .caption-text {
	background-color: transparent;
	color: var(--ecs-text);
}

.ecs-page .caption-text a {
	color: var(--ecs-link);
}

.ecs-page .caption-text a:hover {
	color: var(--ecs-link-hover);
	opacity: 0.9;
}

.ecs-page .references-content .captioned-image {
	display: block;
	text-align: center;
	margin: 0 auto 1.25em;
}

.ecs-page .references-content .captioned-image a {
	display: block;
	width: 220px;
	max-width: 100%;
	margin: 0 auto;
}

.ecs-page .references-content .captioned-image img {
	display: block;
	width: 100%;
	height: 300px;
	object-fit: contain;
	margin: 0;
	padding: 0.5rem;
	background: #fff;
	border: 1px solid rgba(142, 125, 148, 0.18);
	border-radius: var(--ecs-radius);
	box-shadow: 0 1px 6px rgba(45, 36, 51, 0.06);
}

.ecs-page .references-content .captioned-image--landscape a {
	width: min(360px, 100%);
}

.ecs-page .references-content .captioned-image--landscape img {
	height: 240px;
}

.ecs-page .references-content .caption-text {
	padding-top: 0.5rem;
}

.ecs-page #inside-page-photo p {
	font-size: 1.05rem;
	line-height: 1.75;
}

.ecs-page .video-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin: 0 0 1.25em;
}

.ecs-page .video-card {
	display: block;
	text-decoration: none;
	color: var(--ecs-text);
	background: var(--ecs-surface);
	border: 1px solid rgba(142, 125, 148, 0.22);
	border-radius: var(--ecs-radius);
	overflow: hidden;
	box-shadow: 0 1px 6px rgba(45, 36, 51, 0.06);
	transition: box-shadow var(--ecs-transition), transform var(--ecs-transition);
}

.ecs-page .video-card:hover {
	box-shadow: var(--ecs-shadow);
	transform: translateY(-2px);
	color: var(--ecs-text);
}

.ecs-page .video-card img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	background: transparent;
}

.ecs-page .video-card-title {
	display: block;
	padding: 0.7rem 0.75rem;
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.45;
	text-align: center;
	color: var(--ecs-purple-dark);
	border-top: 2px solid var(--ecs-purple-light);
}

.ecs-page #playvideo.ui.modal {
	font-family: inherit;
}

.ecs-page .bullet {
	color: #fff;
	font-weight: 700;
	background-color: var(--ecs-link-hover);
	padding: 0.35rem 0.65rem;
	margin-top: 1.25em;
	display: inline-block;
	font-size: 1rem;
}

.ecs-page .highlight2 {
	font-weight: 700;
	font-size: 1.1em;
}

.ecs-page .indent1 {
	padding-left: 1em;
	text-indent: -1em;
	font-size: 1.05rem;
	line-height: 1.75;
}

.ecs-page #content p#slogon {
	text-align: center;
	font-weight: 900;
	font-size: 1.75rem;
	line-height: 1.6;
	color: #c00;
	margin: 1.5em 0 0;
}

.ecs-page #content p#slogon strong {
	font-weight: inherit;
}

.ecs-page .report-section {
	margin-top: 0.5rem;
}

.ecs-page .report-hero {
	margin: 0 auto 1.25rem;
	max-width: min(520px, 72%);
	border-radius: var(--ecs-radius);
	overflow: hidden;
	box-shadow: var(--ecs-shadow);
	border: 1px solid rgba(142, 125, 148, 0.18);
}

.ecs-page .report-hero img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 auto;
}

.ecs-page .report-intro {
	margin: 0 0 1.25rem;
	font-size: 1.05rem;
	line-height: 1.75;
}

.ecs-page .report-channels {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}

.ecs-page .report-channel {
	display: flex;
	flex-direction: column;
	background: var(--ecs-surface);
	border: 1px solid rgba(142, 125, 148, 0.22);
	border-radius: var(--ecs-radius);
	box-shadow: 0 1px 6px rgba(45, 36, 51, 0.06);
	overflow: hidden;
}

.ecs-page .report-channel--wide {
	grid-column: 1 / -1;
}

.ecs-page .report-channel-label {
	padding: 0.55rem 1rem;
	font-weight: 700;
	font-size: 1rem;
	color: #fff;
	background: linear-gradient(90deg, var(--ecs-purple-dark), var(--ecs-purple));
	letter-spacing: 0.04em;
}

.ecs-page .report-channel-body {
	flex: 1;
	padding: 1rem 1.15rem 1.15rem;
}

.ecs-page .report-channel-body p {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.75;
}

.ecs-page .report-channel--wide .report-channel-body {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem 1.5rem;
}

.ecs-page .report-detail {
	padding: 0.85rem 1rem;
	background: #fff;
	border-radius: var(--ecs-radius);
	border: 1px solid rgba(142, 125, 148, 0.14);
}

.ecs-page .report-detail p {
	margin: 0;
}

.ecs-page .quick-links {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.85rem 1rem;
	margin: 2rem 0 2.5rem;
	padding: 0;
}

.ecs-page .quick-link {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 64px;
	padding: 0.75rem 0.65rem;
	background: linear-gradient(135deg, var(--ecs-purple) 0%, #7a6889 100%);
	color: #fff !important;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	transform: skewX(-10deg);
	box-shadow: 4px 4px 0 rgba(109, 93, 121, 0.35);
	transition: transform var(--ecs-transition), box-shadow var(--ecs-transition), background var(--ecs-transition);
}

.ecs-page .quick-link span {
	display: block;
	transform: skewX(10deg);
	text-align: center;
}

.ecs-page .quick-link:hover {
	transform: skewX(-10deg) translateY(-2px);
	box-shadow: 6px 6px 0 rgba(109, 93, 121, 0.4);
	background: linear-gradient(135deg, #9a899f 0%, var(--ecs-purple-dark) 100%);
	color: #fff !important;
}

.ecs-page .related-links {
	margin-bottom: 2rem;
}

.ecs-page .related-links h2 {
	margin: 0 0 0.85rem;
	padding-bottom: 0.5rem;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--ecs-purple-dark);
	border-bottom: 2px solid var(--ecs-purple-light);
}

.ecs-page .related-links ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ecs-page .related-links li {
	margin-bottom: 0.55rem;
	padding-left: 1.25rem;
	position: relative;
}

.ecs-page .related-links li::before {
	content: "›";
	position: absolute;
	left: 0;
	color: var(--ecs-purple);
	font-weight: 700;
	font-size: 1.2em;
	line-height: 1.4;
}

.ecs-page .related-links a {
	font-size: 1.02rem;
}

.ecs-page .disclaimer {
	margin-top: 2rem;
	padding: 0;
	background: #fff;
	border: 1px solid rgba(142, 125, 148, 0.22);
	border-radius: var(--ecs-radius);
	box-shadow: var(--ecs-shadow);
	font-style: normal;
	font-size: 0.92rem;
	line-height: 1.65;
	color: var(--ecs-text);
	overflow: hidden;
}

.ecs-page .disclaimer-header {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.85rem 1.25rem;
	background: linear-gradient(90deg, rgba(181, 162, 189, 0.2), rgba(181, 162, 189, 0.05));
	border-bottom: 1px solid rgba(142, 125, 148, 0.14);
}

.ecs-page .disclaimer-icon {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: rgba(142, 125, 148, 0.12);
	color: var(--ecs-purple-dark);
}

.ecs-page .disclaimer-icon svg {
	display: block;
}

.ecs-page .disclaimer-title {
	margin: 0;
	font-size: 0.98rem;
	font-weight: 700;
	color: var(--ecs-purple-dark);
	letter-spacing: 0.01em;
}

.ecs-page .disclaimer-body {
	padding: 1rem 1.25rem 0.85rem;
}

.ecs-page .disclaimer-body p {
	margin: 0;
	text-align: justify;
	color: #4a4250;
}

.ecs-page .disclaimer-footnote {
	margin: 0;
	padding: 0.75rem 1.25rem 1rem;
	border-top: 1px dashed rgba(142, 125, 148, 0.22);
	font-size: 0.85rem;
	line-height: 1.6;
	color: #6b6275;
	background: var(--ecs-surface);
	text-align: justify;
}

.ecs-page .disclaimer p {
	margin: 0;
	text-align: justify;
}

.ecs-page #wcag-para {
	padding: 0.75rem 1rem 1rem;
	color: #6b6275;
	text-align: right;
}

/* hamburger menu (mobile) */
.ecs-page .menu-toggle {
	display: none;
	align-items: center;
	gap: 0.65rem;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	flex-shrink: 0;
}

.ecs-page .menu-toggle-box {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 2rem;
	height: 2rem;
}

.ecs-page .menu-toggle-bar {
	display: block;
	width: 100%;
	height: 2px;
	background: #fff;
	border-radius: 1px;
	transition: transform var(--ecs-transition), opacity var(--ecs-transition);
}

.ecs-page.menu-open .menu-toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.ecs-page.menu-open .menu-toggle-bar:nth-child(2) {
	opacity: 0;
}

.ecs-page.menu-open .menu-toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

@media only screen and (max-width: 900px) {
	.ecs-page .quick-links {
		grid-template-columns: 1fr;
	}

	.ecs-page .video-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* mobile layout */
@media only screen and (max-width: 768px) {
	.ecs-page {
		--mobile-header-height: calc(44px + 0.9rem);
		background: #fff;
	}

	.ecs-page #body {
		padding-top: var(--mobile-header-height);
	}

	.ecs-page #wrapper {
		box-shadow: none;
		max-width: 100%;
	}

	.ecs-page #function_bar {
		display: none;
		min-height: 0;
	}

	.ecs-page .mobile-header {
		display: flex;
		align-items: center;
		justify-content: flex-start;
		gap: 0.35rem;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 200;
		width: 100%;
		min-height: var(--mobile-header-height);
		padding: 0.45rem 0.85rem 0.45rem 0.65rem;
		background: linear-gradient(135deg, var(--ecs-purple) 0%, var(--ecs-purple-dark) 100%);
		box-sizing: border-box;
		box-shadow: 0 2px 8px rgba(45, 36, 51, 0.12);
	}

	.ecs-page .mobile-header-title {
		display: block;
		flex: 1;
		min-width: 0;
		margin: 0;
		padding: 0 0.25rem 0 0.15rem;
		color: #fff;
		font-size: clamp(0.8rem, 3.1vw, 0.95rem);
		font-weight: 600;
		line-height: 1.35;
		letter-spacing: 0.015em;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		text-shadow: 0 1px 2px rgba(30, 24, 36, 0.18);
	}

	html[lang="zh-hk"] .ecs-page .mobile-header-title,
	html[lang="zh-cn"] .ecs-page .mobile-header-title {
		font-size: clamp(0.88rem, 3.6vw, 1.02rem);
		font-weight: 700;
		letter-spacing: 0.02em;
	}

	.ecs-page .menu-toggle {
		display: inline-flex;
		min-height: 44px;
		padding: 0.25rem 0.35rem 0.25rem 0;
	}

	.ecs-page #function_menu {
		position: static;
		top: auto;
		right: auto;
		left: auto;
		flex: 1;
		width: auto;
		min-width: 0;
		min-height: 0;
		padding: 0;
		clip-path: none;
		background: transparent;
		gap: 0.65rem;
		flex-wrap: nowrap;
		justify-content: flex-end;
	}

	.ecs-page #function_menu.nowrap {
		white-space: nowrap;
	}

	.ecs-page #size_switch,
	.ecs-page #lang_switch {
		gap: 0.35rem;
		flex-shrink: 0;
	}

	.ecs-page #size_switch a {
		min-width: 1.75rem;
		min-height: 1.75rem;
		padding: 0.15rem;
	}

	.ecs-page .lang_button {
		min-height: 1.75rem;
		padding: 0.15rem 0.25rem;
		font-size: 0.82rem;
	}

	.ecs-page #lang_switch .lang_line {
		font-size: 0.75rem;
	}

	.ecs-page .site-header {
		display: block;
	}

	.ecs-page #banner {
		max-height: 42vw;
		min-height: 120px;
	}

	.ecs-page #banner img,
	.ecs-page #banner .responsive-img {
		width: 100%;
		height: 100%;
		max-height: 42vw;
		min-height: 120px;
		object-fit: cover;
		object-position: left center;
	}

	.ecs-page #page_layout {
		flex-direction: column;
		flex-wrap: nowrap;
		min-height: 0;
	}

	.ecs-page #section_menu {
		flex: none;
		max-width: none;
		width: min(320px, 88vw);
		flex-direction: column;
		display: flex;
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		z-index: 195;
		margin: 0;
		padding: var(--mobile-header-height) 0 0;
		box-sizing: border-box;
		background: #fff;
		box-shadow: 4px 0 28px rgba(45, 36, 51, 0.18);
		overflow: hidden;
		transform: translateX(-105%);
		visibility: hidden;
		pointer-events: none;
		transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1), visibility 0.3s;
		overscroll-behavior: contain;
	}

	.ecs-page #section_menu::before {
		content: "";
		display: block;
		flex-shrink: 0;
		height: 4px;
		background: linear-gradient(90deg, var(--ecs-purple-light), var(--ecs-purple-dark));
	}

	.ecs-page.menu-open #section_menu {
		transform: translateX(0);
		visibility: visible;
		pointer-events: auto;
	}

	.ecs-page.menu-open #wrapper::before {
		content: "";
		position: fixed;
		top: var(--mobile-header-height);
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(30, 24, 36, 0.42);
		backdrop-filter: blur(3px);
		-webkit-backdrop-filter: blur(3px);
		z-index: 194;
		animation: ecs-drawer-fade-in 0.28s ease;
	}

	@keyframes ecs-drawer-fade-in {
		from { opacity: 0; }
		to { opacity: 1; }
	}

	.ecs-page #section_menu .section-menu-links {
		flex: 1 1 auto;
		overflow-y: auto;
		overflow-anchor: none;
		padding: 0.75rem 0.85rem 1rem;
		-webkit-overflow-scrolling: touch;
	}

	.ecs-page #section_menu .menu-tools-footer {
		flex: 0 0 auto;
		padding: 0.85rem 1rem 1.15rem;
		background: var(--ecs-surface);
		border-top: 1px solid rgba(142, 125, 148, 0.14);
	}

	.ecs-page #section_menu .menu-tools-footer #function_menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0.85rem;
	}

	.ecs-page #section_menu .menu-tools-footer #size_switch,
	.ecs-page #section_menu .menu-tools-footer #lang_switch {
		justify-content: center;
		flex-wrap: wrap;
	}

	.ecs-page #section_menu .menu-tools-footer #size_switch {
		padding: 0.2rem;
		background: #fff;
		border-radius: 10px;
		box-shadow: inset 0 0 0 1px rgba(142, 125, 148, 0.18);
	}

	.ecs-page #section_menu .menu-tools-footer #size_switch a {
		flex: 1 1 0;
		border-radius: 8px;
	}

	.ecs-page #section_menu .menu-tools-footer #lang_switch {
		padding: 0.35rem 0.5rem;
		background: #fff;
		border-radius: 10px;
		box-shadow: inset 0 0 0 1px rgba(142, 125, 148, 0.18);
	}

	.ecs-page #section_menu .menu-tools-footer #function_menu a {
		color: var(--ecs-purple-dark);
	}

	.ecs-page #section_menu .menu-tools-footer #function_menu a .size-label {
		color: #8a7a92;
	}

	.ecs-page #section_menu .menu-tools-footer #function_menu a:hover,
	.ecs-page #section_menu .menu-tools-footer #function_menu a:hover .size-label {
		color: var(--ecs-purple-dark) !important;
	}

	body.ecs-page #section_menu .menu-tools-footer #function_menu a.current_button,
	body.ecs-page #section_menu .menu-tools-footer #function_menu a.current_button:hover {
		color: var(--ecs-purple-dark) !important;
		background-color: rgba(181, 162, 189, 0.22) !important;
		border-radius: 6px;
	}

	body.ecs-page #section_menu .menu-tools-footer #function_menu a.current_button .size-label,
	body.ecs-page #section_menu .menu-tools-footer #function_menu a.current_button:hover .size-label,
	body.ecs-page #section_menu .menu-tools-footer #function_menu a .size-label.is-active {
		color: var(--ecs-purple-dark) !important;
	}

	.ecs-page #section_menu .menu-tools-footer #lang_switch .lang_line {
		color: rgba(109, 93, 121, 0.55);
	}

	.ecs-page #section_menu .menu-tools-footer .lang_button {
		color: #8a7a92;
	}

	.ecs-page #section_menu .nav-item {
		justify-content: space-between;
		align-items: center;
		padding: 0.9rem 1rem;
		margin-bottom: 0.35rem;
		font-size: 1rem;
		font-weight: 600;
		color: var(--ecs-text);
		background: transparent;
		border: 0;
		border-radius: 10px;
		min-height: 48px;
		box-sizing: border-box;
		transition: background var(--ecs-transition), color var(--ecs-transition);
	}

	.ecs-page #section_menu .nav-item::after {
		content: "";
		position: static;
		flex-shrink: 0;
		width: 7px;
		height: 7px;
		margin-left: 0.75rem;
		border: 0;
		border-top: 2px solid currentColor;
		border-right: 2px solid currentColor;
		transform: rotate(45deg);
		opacity: 0.35;
		transition: opacity var(--ecs-transition), transform var(--ecs-transition);
	}

	.ecs-page #section_menu .nav-item:last-child {
		margin-bottom: 0;
		border-bottom: 0;
	}

	.ecs-page #section_menu .nav-item:hover,
	.ecs-page #section_menu .nav-item:focus-visible {
		background: rgba(181, 162, 189, 0.12);
		padding-right: 1rem;
		color: var(--ecs-purple-dark);
	}

	.ecs-page #section_menu .nav-item:hover::after,
	.ecs-page #section_menu .nav-item:focus-visible::after {
		opacity: 0.65;
		transform: rotate(45deg) translateX(2px);
	}

	.ecs-page #section_menu .nav-item.active {
		background: linear-gradient(90deg, rgba(181, 162, 189, 0.24) 0%, rgba(181, 162, 189, 0.08) 100%);
		color: var(--ecs-purple-dark);
		padding-right: 1rem;
		border-left: 0;
		font-weight: 700;
		font-size: 1.02rem;
		box-shadow: inset 3px 0 0 var(--ecs-purple);
		overflow: visible;
	}

	.ecs-page #section_menu .nav-item.active::after {
		content: "";
		position: static;
		display: block;
		flex-shrink: 0;
		top: auto;
		right: auto;
		margin-left: 0.75rem;
		border: 0;
		width: 7px;
		height: 7px;
		opacity: 0.8;
		border-top: 2px solid var(--ecs-purple);
		border-right: 2px solid var(--ecs-purple);
		transform: rotate(45deg);
	}

	.ecs-page #content {
		padding: 1.35rem 1rem 2rem;
	}

	.ecs-page #content p,
	.ecs-page .intro p,
	.ecs-page .indent,
	.ecs-page .indent1 {
		font-size: 1rem;
		line-height: 1.7;
	}

	.ecs-page #content p#slogon {
		font-size: 1.5rem;
		line-height: 1.6;
	}

	.ecs-page .highlight-heading {
		font-size: 1.05rem;
		margin-top: 1.5rem;
	}

	.ecs-page #content > p:first-child .highlight-heading {
		margin-top: 0;
	}

	.ecs-page .media-block .ytplayer {
		max-width: 100%;
	}

	.ecs-page .video-grid {
		grid-template-columns: 1fr;
		gap: 0.85rem;
	}

	.ecs-page .report-channels {
		grid-template-columns: 1fr;
	}

	.ecs-page .report-channel--wide .report-channel-body {
		grid-template-columns: 1fr;
	}

	.ecs-page .quick-links {
		margin: 1.5rem 0 2rem;
		gap: 0.75rem;
	}

	.ecs-page .quick-link {
		min-height: 52px;
		font-size: 1rem;
		transform: none;
		box-shadow: none;
		border-radius: var(--ecs-radius);
		padding: 0.85rem 1rem;
	}

	.ecs-page .quick-link span {
		transform: none;
	}

	.ecs-page .quick-link:hover {
		transform: translateY(-1px);
		box-shadow: 0 4px 10px rgba(109, 93, 121, 0.25);
	}

	.ecs-page .related-links h2 {
		font-size: 1.05rem;
	}

	.ecs-page .related-links a {
		font-size: 0.98rem;
		display: inline-block;
		padding: 0.2rem 0;
		min-height: 44px;
		line-height: 1.5;
	}

	.ecs-page .disclaimer {
		margin-top: 1.25rem;
		font-size: 0.88rem;
	}

	.ecs-page .disclaimer-header {
		padding: 0.75rem 1rem;
	}

	.ecs-page .disclaimer-body {
		padding: 0.85rem 1rem 0.75rem;
	}

	.ecs-page .disclaimer-footnote {
		padding: 0.65rem 1rem 0.85rem;
		font-size: 0.82rem;
	}

	.ecs-page #wcag-para {
		padding: 0.75rem 1rem 1.25rem;
		font-size: 0.85rem;
		text-align: center;
	}
}

@media only screen and (max-width: 400px) {
	.ecs-page {
		--mobile-header-height: calc(44px + 0.8rem);
	}

	.ecs-page .mobile-header {
		padding: 0.4rem 0.65rem 0.4rem 0.5rem;
	}

	.ecs-page .mobile-header-title {
		font-size: clamp(0.76rem, 3.4vw, 0.88rem);
	}

	html[lang="zh-hk"] .ecs-page .mobile-header-title,
	html[lang="zh-cn"] .ecs-page .mobile-header-title {
		font-size: clamp(0.82rem, 3.8vw, 0.94rem);
	}

	.ecs-page .menu-toggle-label {
		font-size: 0.9rem;
	}

	.ecs-page #function_menu {
		gap: 0.4rem;
	}

	.ecs-page #size_switch #normal .size-label { font-size: 0.68rem; }
	.ecs-page #size_switch #large .size-label { font-size: 0.88rem; }
	.ecs-page #size_switch #largest .size-label { font-size: 1.05rem; }

	.ecs-page .lang_button {
		font-size: 0.75rem;
		padding: 0.1rem 0.15rem;
	}

	.ecs-page #section_menu {
		width: min(300px, 92vw);
	}

	.ecs-page #section_menu .section-menu-links {
		padding: 0.65rem 0.7rem 0.85rem;
	}

	.ecs-page #section_menu .nav-item {
		font-size: 0.98rem;
		font-weight: 600;
		padding: 0.85rem 0.9rem;
		min-height: 46px;
	}

	.ecs-page #content {
		padding: 1.15rem 0.85rem 1.75rem;
	}
}

/* no use */
.file {
	padding: 0px 5px;
}
.paragraph {
	padding: 0 0 1em 2em;
	clear: both;
}
.para_img {
	width: 90%;
	float: right;
	padding: 0 10px 0 10px;
}

@media (min-width: 769px) {
	.ecs-page.index-page #content {
		display: flex;
		flex-direction: column;
	}

	.ecs-page.index-page #content .quick-links {
		order: 1;
		margin-top: 0;
	}

	.ecs-page.index-page #content .intro {
		order: 2;
	}

	.ecs-page.index-page #content .related-links {
		order: 3;
	}

	.ecs-page.index-page #content .disclaimer {
		order: 4;
	}

	.ecs-page .media-block-centered {
		text-align: center;
	}

	.ecs-page .media-block-centered .ytplayer {
		margin-left: auto;
		margin-right: auto;
	}

	.ecs-page .media-block-centered .radio-links {
		justify-content: center;
	}

	html[lang="en"] .ecs-page #section_menu {
		flex: 0 0 280px;
		max-width: 280px;
	}

	html[lang="en"].font-large .ecs-page #section_menu {
		flex: 0 0 300px;
		max-width: 300px;
	}

	html[lang="en"].font-largest .ecs-page #section_menu {
		flex: 0 0 320px;
		max-width: 320px;
	}

	html[lang="en"] .ecs-page #section_menu .nav-item {
		justify-content: flex-start;
		text-align: left;
	}

	html[lang="en"] .ecs-page #section_menu .nav-item:hover {
		padding-right: 1.75rem;
	}

	html[lang="en"] .ecs-page #section_menu .nav-item.active {
		padding-right: 2.35rem;
	}

	html[lang="en"].font-largest .ecs-page #section_menu .nav-item.active {
		padding-right: 2.5rem;
	}
}

@media (max-width: 768px) {
	html[lang="en"] .ecs-page #section_menu .nav-item {
		justify-content: space-between;
		text-align: left;
	}
}
