html:root {
	background: white;
	--font-family: Roboto,-apple-system,BlinkMacSystemFont,SF Pro Display,'Noto Sans TC',sans-serif;
	--font-size: 17px;
	--mdc-layout-grid-margin-desktop: 36px !important;
	--max-topbar-width: 88rem;
	--max-content-width: 88rem;
	--max-single-width: 960px;
	--max-title-width: 54rem;
	--orange: #CD5F00;
	--gold: #eac73c;
	--blue: #0073c7;
	--blue-dark: #003F6C;  /* 深藍，滑過 */
	--blue-cyan: #04C3EC; /* 亮青藍 (點綴) */
	--blue-sky: #75C5FF;    /* 天藍，背景 */
	--line: #D9D6D6;
	--gray-light: #f1f1f1; /* 背景 */
	--gray: #A8A8A8;
	--gray-dark: #333;

	--qubely-typo10-font-family: var(--font-family);
	--qubely-typo9-font-family: var(--font-family);
	--mdc-typography-body1-font-size: var(--font-size) !important;
	--wp--preset--font-size--normal: var(--font-size);
	--mdc-typography-body1-font-size: var(--font-size) !important;
	--wp--preset--font-size--normal: var(--font-size);
	--material-footer-max-width: var(--max-content-width) !important;
	--mdc-theme-max-content-width: var(--max-content-width) !important;
	--material-footer-max-width: var(--max-content-width) !important;
	--mdc-theme-max-content-width: var(--max-content-width) !important;
}



html > body {
	margin: 3.3rem 0 0 0;
	padding-top: 40px; /* nav 高度 */
	font-size: var(--font-size);
	font-family: Roboto,-apple-system,BlinkMacSystemFont,SF Pro Display,'Noto Sans TC',sans-serif;
}

html {
	scroll-behavior: auto;
	background: white;
}

html[lang=zh-TW] > body, [lang=zh-TW] p,html[lang=en-US] > body, [lang=en-US] p {
  	margin: 0;
  	font-weight: 400;
  	font-size: clamp(16px, 3vw, 17px);
}

html > .entry-content, html > .content-area {
  	margin-top: 0;
}

html > .site-content {
  	padding-top: 0;
}

html > .type-page header {
	display: none;
}

html > .entry-content .alignfull {
  	margin-bottom: 0;
  	margin-top: 0;
  	width: 100%;
}

html:target:before {
	content: "";
	display: block;
	height: 5vh;
}

[lang=en-US] h1, [lang=zh-TW] h1 {
	font-size: clamp(2.75rem, 2.1338rem + 2.6291vi, 4.5rem);	
	line-height: 1.4;
}

[lang=en-US] h2, [lang=zh-TW] h2 {
	font-size: clamp(2.125rem, 1.7069rem + 1.784vi, 3.4rem);;
	line-height: 1.4;
}

.search .wp-block-cover__inner-container h2 {
	font-size: 2rem;
	margin: 0 0 2rem;
}

.post-card .post-card__primary h2, .post-card .post-card__secondary h2 {
  font-size: 1.2rem;
}

[lang=en-US] h3, [lang=zh-TW] h3 {
	font-size: 1.75rem;
	line-height: 1.4;
	margin-block-start: .8rem;
	margin-block-end: .8rem;
}

[lang=en-US] h4, [lang=zh-TW] h4 {
	font-size: 1.36rem;
	margin-block-start: .8rem;
	margin-block-end: .8rem;
}

[lang=en-US] h5, [lang=zh-TW] h5 {
	font-size: 1.27rem;
	margin-block-start: .8rem;
  	margin-block-end: .8rem;
  	font-weight: 500;
}

[lang=en-US] h6, [lang=zh-TW] h6 {
	font-size: 1.12rem;
	margin-block-start: .8rem;
  	margin-block-end: .8rem;
  	font-weight: 500;
}

[lang=en-US] strong, [lang=zh-TW] strong {
	font-size: inherit;
	font-weight: 500;
}

[lang=en-US] span.zh {
	display: none;
}

[lang=zh-TW] span.en {
	display: none;
}

main {
	background: white;
}

iframe {
	border: 0px;
}






[lang=en-US] h5, [lang=zh-TW] h5, .site-content .content-area h5 {
	font-size: clamp(1.8rem, 3vw, 2rem);
}

.site-content .content-area h5
 {
	margin-block-start: 1.3rem;
  	margin-block-end: 1rem;
}

h6.wp-block-heading {
	margin: 0;
}

ul {
	list-style-type: square;
}

ul,ol {
	margin-block-start: .2rem;
  	margin-block-end: 0;
  	padding-top: .4rem;
	padding-bottom: 0;
}

ul.wp-block-list {
	margin: 0;
}

#content .entry-content p + ul {
    margin-top: 0;
}

#content .entry-content p:has(+ ul) {
    padding-bottom: 0;
}

li {
  	padding: 0 0 .4rem;
}

.cert a {
  	font-size: 1.2rem;
  	margin: .3rem 0 .6rem;
} /* About - certificate */


.wp-block-latest-posts.is-grid li a.wp-block-latest-posts__post-title:hover {
  	text-decoration: underline;
	color: var(--orange);
}

.part-link a {
	color: black;
	text-decoration: underline dotted #aaa;
}

.part-link a:hover {
	color: var(--orange);
	text-decoration: underline solid !important;
}

.txt-w a {
	color: white;
	padding: 10vh 4vw;
}

.txt-w a:hover {
	text-decoration: underline;
}

figure video {
  	height: 100%;
}

figure.unique-simple video {
	height: 380px;
}

aside {
	display: none;
}

code, pre {
  	font-family: Consolas, monospace;
  	background: #EEE;
  	padding: 2px 8px;
}

code {
	line-height: 1.6;
}

pre {
    margin-block: 0;
}

[lang=zh-TW] .wp-block-buttons>.wp-block-button {
  	letter-spacing: 4px;
	font-size: 1.1rem;
}

#page .site-content {
    padding-top: 0;
}

#content .entry-content {
    margin-top: 0;
}

.has-hide-title .-has-tab-bar+.site-content .content-area {
    margin-top: 0;
}

.page .entry-content .alignfull {
    margin-top: 0;
}

#post-3029 .entry-content, #post-11412 .entry-content { 
    background: var(--blue-cyan);
} /* News */

.type-page .entry-header {
    display: none;
}

.site-main .entry-content>* {
    margin-bottom: 0;
}

.site-main .entry-content .alignfull {
    margin-top: 0;
    margin-bottom: 0;
}

#primary.content-area {
    margin-top: 0;
}

.error-404.not-found .page-header .page-title, .search .page-header .page-title, .archive .page-header .page-title {
    margin-top: 5rem;
}