/* Upload the three WOFF2 files to /wp-content/uploads/gm-fonts/ before activating this CSS. */
@font-face{font-family:"GM Ming Bold";src:url("/wp-content/uploads/gm-fonts/gm-ming-bold.woff2") format("woff2");font-weight:900;font-display:swap}@font-face{font-family:"GM FangSong";src:url("/wp-content/uploads/gm-fonts/gm-fangsong.woff2") format("woff2");font-display:swap}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;font-family:"Noto Sans TC",system-ui,sans-serif}.gm-sticky-wrap{position:sticky;top:0}.gm-mobile-trial .gm-mobile-menu{display:none}
/* 粗明體 — DFT_MC（文鼎粗明體）, 仿宋體 — 華康仿宋體W4, both supplied by the user */
.gm-site * {
	box-sizing: border-box;
}

.gm-site {
	margin: 0;
	font-family: 'Noto Sans TC', system-ui, sans-serif;
	color: #16232A;
	background: #FFFFFF;
}

.gm-site a {
	text-decoration: none;
	color: inherit;
}

.serif {
	font-family: 'Noto Serif TC', serif;
}

.ming {
	font-family: 'GM Ming Bold', 'Noto Serif TC', serif;
}

.fangsong {
	font-family: 'GM FangSong', 'FangSong', 'STFangsong', serif;
}

/* Full-bleed breakout: if this page ends up pasted inside a WordPress/Elementor content column
     (which has its own max-width + side padding), these rules force the header/hero/middle/footer
     to still span the full browser width edge-to-edge instead of sitting inside that narrower box. */
.gm-header,.gm-hero,.gm-middle,.gm-footer {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* ===== Header ===== */
/* Header overlays the top of the hero photo (hero has margin-top:-68px to tuck underneath it).
     Per the design, the nav cluster (logo+chevron+nav+toggle) covers the RIGHT ~67% of the header,
     leaving the hero's big "光明書院" calligraphy on the left uncovered — measured directly off the
     mockup: the cluster's cyan background starts at ~33% of the full width, and the small logo icon
     inside it sits directly above the "院" character of the calligraphy below. That 33% start has to
     be a fixed PERCENTAGE of the header width (not "whatever is left after right-anchoring a
     fixed-pixel content block"), because the hero photo under it also scales with width:100% — only a
     percentage-locked width keeps the logo lined up with "院" at every viewport width. */
.gm-header {
	top: 0;
	z-index: 100;
	height: 68px;
	display: flex;
	align-items: stretch;
	background: transparent;
}

.gm-header-inner {
	display: flex;
	align-items: stretch;
	width: 67%;
	margin-left: auto;
	background: url('/wp-content/uploads/gm-site-assets/guang-ming-header-toning.png') center/100% 100% no-repeat;
}

.gm-header-logo {
	flex-shrink: 0;
	width: 160px;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gm-header-logo img {
	height: 50px;
	width: auto;
}

.gm-nav {
	display: flex;
	align-items: stretch;
	background: transparent;
	flex: 1 1 auto;
	min-width: 0;
}

.gm-nav a {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1px;
	padding: 0 10px;
	font-weight: 700;
	font-size: 14.5px;
	color: #0E3A4A;
	min-width: 0;
}

.gm-nav a .en {
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: .5px;
	color: #2B5560;
}

/* The active (current page) nav item IS the chevron/arrow shape itself — the arrow graphic you
     supplied ("header arrow.png") is meant to contain the page label, not sit beside it as a separate
     decoration. clip-path draws that arrow so it stretches to fit whatever label is the active page. */
.gm-nav a.active {
	background: #19A5B2;
	color: #FFFFFF;
	padding: 0 34px 0 30px;
	clip-path: polygon(0% 0%, calc(100% - 24px) 0%, 100% 50%, calc(100% - 24px) 100%, 0% 100%, 24px 50%);
}

.gm-nav a.active .en {
	color: #E7FBFD;
}

.gm-nav a:hover:not(.active) {
	background: #8FD0D6;
}

.gm-lang {
	flex-shrink: 0;
	display: flex;
	align-items: stretch;
}

.gm-lang button {
	border: none;
	cursor: pointer;
	width: 46px;
	font-weight: 700;
	font-size: 14px;
	font-family: 'Noto Serif TC', serif;
}

.gm-lang .zh {
	background: #9C3B2A;
	color: #FFFFFF;
}

.gm-lang .en-btn {
	background: #FFFFFF;
	color: #333;
}

/* ===== Hero ===== */
/* margin-top pulls the hero up underneath the sticky header (which has its own transparent-edge background) */
.gm-hero {
	line-height: 0;
	margin-top: -68px;
	z-index: 1;
}

.gm-hero img {
	width: 100%;
	height: auto;
	display: block;
}

.gm-search {
	right: 3.5%;
	top: calc(68px + 16px);
	width: 26%;
	max-width: 340px;
	display: flex;
	background: #FFFFFF;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0,0,0,0.25);
	border: 1px solid #CFE3E6;
	z-index: 2;
}

.gm-search input {
	flex: 1;
	border: none;
	outline: none;
	padding: 9px 16px;
	font-size: 13px;
	font-family: 'Noto Sans TC', sans-serif;
}

.gm-search button {
	border: none;
	background: #7FAE4A;
	width: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.gm-search button svg {
	width: 16px;
	height: 16px;
}

/* ===== Middle section: activities + login cards + about, one continuous gradient (from 首頁bg.png) ===== */
.gm-middle {
	background: linear-gradient(180deg,#D4E7CD 0%,#D1E6CD 30%,#C5E5CC 40%,#B1E2CB 50%,#98DEC9 60%,#78D9C7 70%,#52D4C4 80%,#27CCC1 90%,#04C7BF 100%);
}

.gm-content-wrap {
	width: 100%;
	padding: 40px 4% 50px;
}

.gm-content-row {
	max-width: 1320px;
	margin: 0 auto;
	display: flex;
	gap: 28px;
	align-items: flex-start;
}

.gm-card {
	background: #FFFFFF;
	border-radius: 14px;
	box-shadow: 0 6px 22px rgba(20,60,40,0.12);
	padding: 28px 34px;
}

.gm-card-main {
	flex: 1;
	min-width: 0;
	min-height: 360px;
}

.gm-card-title {
	display: flex;
	align-items: center;
	gap: 18px;
	border-bottom: 1.5px solid #2E5B36;
	padding-bottom: 14px;
	margin-bottom: 18px;
}

.gm-card-title h2 {
	margin: 0;
	font-size: 26px;
	font-weight: 900;
	color: #1C4FA0;
	letter-spacing: 2px;
	font-family: 'GM Ming Bold', 'Noto Serif TC', serif;
}

.gm-card-title .slash {
	width: 44px;
	height: 30px;
	background: linear-gradient(135deg,transparent 46%,#1E5B2C 46%,#1E5B2C 54%,transparent 54%), linear-gradient(135deg,transparent 60%,#1E5B2C 60%,#1E5B2C 68%,transparent 68%);
}

.gm-card-placeholder {
	color: #1A1A1A;
	font-size: 15px;
	font-family: 'GM FangSong', 'FangSong', 'STFangsong', serif;
}

.gm-side {
	width: 300px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.gm-login-img {
	display: block;
	background: transparent;
	border-radius: 0;
	overflow: visible;
	box-shadow: none;
	transition: transform .15s ease;
}

.gm-login-img:hover {
	transform: translateY(-2px);
}

.gm-login-img img {
	width: 100%;
	height: auto;
	display: block;
	filter: drop-shadow(0 5px 4px rgba(0,0,0,0.24));
}

/* ===== About section ===== */
.gm-about-wrap {
	width: 100%;
	padding: 0 4% 56px;
}

.gm-about {
	max-width: 1320px;
	margin: 0 auto;
}

.gm-about .gm-card {
	min-height: 320px;
}

/* ===== Footer ===== */
.gm-footer {
	background: linear-gradient(90deg,#0B6B52 0%,#0F5C28 55%,#0F5C28 100%);
	padding: 16px 4%;
}

.gm-footer-row {
	max-width: 1320px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 48px;
	color: #FFFFFF;
}

.gm-footer-brand {
	display: flex;
	align-items: center;
	gap: 10px;
}

.gm-footer-brand img {
	height: 52px;
	width: auto;
}

.gm-footer-brand .name {
	display: flex;
	flex-direction: column;
}

.gm-footer-brand .name .zh {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 4px;
}

.gm-footer-brand .name .en {
	font-size: 12px;
	font-family: 'Noto Serif TC', serif;
	font-style: italic;
	color: #CFE9D6;
}

.gm-footer-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
}

.gm-footer-item img {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

@media (max-width:900px) {
	.gm-header {
		height: auto;
	}
	
	.gm-header-inner {
		flex-wrap: wrap;
		width: 100%;
		margin-left: 0;
	}
	
	.gm-header-logo {
		width: 100px;
	}
	
	.gm-nav {
		flex-wrap: wrap;
		order: 3;
		width: 100%;
	}
	
	.gm-nav a {
		min-width: 33.3%;
		padding: 10px 4px;
	}
	
	.gm-nav a.active {
		clip-path: none;
		padding: 10px 4px;
	}
	
	.gm-content-row {
		flex-direction: column;
	}
	
	.gm-side {
		width: 100%;
		flex-direction: row;
	}
	
	.gm-search {
		width: 60%;
	}
}

.gm-lang span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	font-weight: 700;
	font-size: 14px;
	font-family: 'Noto Serif TC', serif;
}

.gm-lang .zh {
	background: #9C3B2A;
	color: #fff;
}

.gm-lang .en-btn {
	background: #fff;
	color: #333;
}

.gm-card-title h2 {
	color: #0077B6;
}

.gm-sticky-wrap {
	height: 68px;
	z-index: 100;
	background: transparent;
	margin: 0;
	padding: 0;
}

.gm-hero {
	height: 54.5vw;
}

.gm-hero .gm-search {
	display: block;
	width: 26%;
	max-width: 340px;
	height: auto;
	margin: calc(-54.5vw + 84px) 3.5% 0 auto;
	background: transparent;
	border: 0;
	box-shadow: none;
	overflow: visible;
}

.gm-hero .gm-search img {
	display: block;
	width: 100%;
	height: auto;
}

.gm-about .gm-card {
	min-height: 500px;
}

.gm-middle {
	background: url('/wp-content/uploads/gm-site-assets/guang-ming-home-background.png') center/100% 100% no-repeat;
}

@media(max-width:900px) {
	.gm-sticky-wrap {
		height: auto;
	}
	
	.gm-hero {
		margin-top: 0;
	}
	
	.gm-hero .gm-search {
		display: none;
	}
}

@media(max-width:600px) {
	.gm-header-inner {
		width: 100%;
		display: flex;
		flex-wrap: wrap;
	}
	
	.gm-header-logo {
		width: 72px;
		height: 58px;
	}
	
	.gm-header-logo img {
		height: 48px;
	}
	
	.gm-lang {
		margin-left: auto;
		height: 58px;
	}
	
	.gm-nav {
		order: 3;
		display: flex;
		width: 100%;
		flex: 0 0 100%;
		flex-wrap: wrap;
	}
	
	.gm-nav a {
		flex: 0 0 50%;
		width: 50%;
		min-width: 0;
		min-height: 52px;
		box-sizing: border-box;
		padding: 5px 8px;
		font-size: 13px;
	}
	
	.gm-nav a .en {
		font-size: 9px;
	}
	
	.gm-nav a.active {
		clip-path: none;
		padding: 5px 8px;
	}
	
	.gm-side {
		width: 100%;
		flex-direction: column;
		align-items: center;
	}
	
	.gm-login-img {
		width: 100%;
		max-width: 320px;
	}
	
	.gm-hero {
		height: 54.5vw;
	}
	
	.gm-content-wrap {
		padding: 30px 5% 32px;
	}
	
	.gm-about-wrap {
		padding: 0 5% 40px;
	}
	
	.gm-card {
		padding: 24px 20px;
	}
	
	.gm-card-title h2 {
		font-size: 24px;
	}
	
	.gm-footer-row {
		justify-content: flex-start;
		gap: 18px;
	}
	
	.gm-footer-item {
		font-size: 12px;
	}
}

@media(max-width:600px) {
	.gm-card-main {
		width: 100%;
		box-sizing: border-box;
	}
	
	.gm-content-row {
		width: 100%;
	}
	
	.gm-about {
		width: 100%;
	}
	
	.gm-about .gm-card {
		width: 100%;
		box-sizing: border-box;
	}
}

/* Header refinement: original artwork and arrow-shaped hover, 2026-10-10 */
.gm-header-inner {
	width: 67%;
	background-image: url('/wp-content/uploads/gm-site-assets/guang-ming-header-toning.png');
}

.gm-header-logo {
	width: 76px;
	min-width: 76px;
	flex: 0 0 76px;
	align-self: stretch;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3px 7px;
}

.gm-header-logo img {
	display: block;
	height: 100%;
	max-height: 60px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
}

.gm-nav a {
	background: transparent;
	transition: color .15s ease, filter .15s ease;
}

.gm-nav a.active,.gm-nav a:hover,.gm-nav a:focus-visible {
	background-color: transparent;
	background-image: url('/wp-content/uploads/gm-site-assets/guang-ming-header-arrow.png');
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	clip-path: none;
	color: #fff;
	padding: 0 22px 0 24px;
	outline-offset: -3px;
}

.gm-nav a.active .en,.gm-nav a:hover .en,.gm-nav a:focus-visible .en {
	color: #eafcfd;
}

.gm-nav a:hover:not(.active) {
	background-color: transparent;
}

@media(max-width:900px) {
	.gm-header-logo {
		width: 76px;
		min-width: 76px;
		flex-basis: 76px;
	}
	
	.gm-nav a.active,.gm-nav a:hover,.gm-nav a:focus-visible {
		background-image: url('/wp-content/uploads/gm-site-assets/guang-ming-header-arrow.png');
		background-size: 100% 100%;
		clip-path: none;
		padding: 10px 23px;
	}
}

@media(max-width:600px) {
	.gm-header-logo {
		width: 72px;
		min-width: 72px;
		flex-basis: 72px;
		height: 58px;
	}
	
	.gm-header-logo img {
		max-height: 50px;
	}
	
	.gm-nav a.active,.gm-nav a:hover,.gm-nav a:focus-visible {
		padding: 5px 23px;
	}
}

/* Let the transparent header artwork reveal the hero; robust arrow hover. */
.gm-sticky-wrap .gm-site {
	background: transparent;
}

.gm-sticky-wrap + .gm-site {
	margin-top: -68px;
	background: transparent;
}

.gm-sticky-wrap + .gm-site .gm-hero {
	margin-top: 0;
}

.gm-nav a:hover:not(.active),.gm-nav a:focus-visible:not(.active) {
	background: #04bfc1 url('/wp-content/uploads/gm-site-assets/guang-ming-header-arrow.png') center/100% 100% no-repeat !important;
	clip-path: polygon(0 0,calc(100% - 24px) 0,100% 50%,calc(100% - 24px) 100%,0 100%,24px 50%) !important;
	color: #fff !important;
}

.gm-nav a:hover:not(.active) .en,.gm-nav a:focus-visible:not(.active) .en {
	color: #eafcfd !important;
}

@media(max-width:900px) {
	.gm-sticky-wrap + .gm-site {
		margin-top: 0;
	}
}

/* Header tuning: hover-only arrows, joined menu, cyan behind the small logo. */
.gm-header {
	background: url('/wp-content/uploads/gm-site-assets/guang-ming-header-toning.png') right center / calc(67% + 80px) 100% no-repeat;
}

.gm-header-inner {
	background: transparent;
}

.gm-nav a:hover:not(.active),.gm-nav a:focus-visible:not(.active) {
	background: #04bfc1 url('/wp-content/uploads/gm-site-assets/guang-ming-header-arrow.png') center / 100% 100% no-repeat !important;
	clip-path: polygon(0 0,calc(100% - 24px) 0,100% 50%,calc(100% - 24px) 100%,0 100%,24px 50%) !important;
	color: #fff !important;
}

.gm-nav a:hover:not(.active) .en,.gm-nav a:focus-visible:not(.active) .en {
	color: #eafcfd !important;
}

@media(max-width:900px) {
	.gm-header {
		background-size: 100% 100%;
	}
}

/* Continuous art layer: transparent hero over the supplied home background. */
.gm-sticky-wrap + .gm-site {
	background-color: #04C7BF;
	background-image: url('/wp-content/uploads/gm-site-assets/guang-ming-home-background.png'), linear-gradient(to bottom,#D4E7CD 0,#D4E7CD 38vw,#04C7BF 130vw);
	background-size: 100% auto, 100% 100%;
	background-position: center 38vw, center top;
	background-repeat: no-repeat;
}

.gm-middle {
	background: transparent;
}

.gm-hero {
	background: transparent;
}

/* Supplied title-line artwork and exact rasterized Ming headings. Body remains editable. */
.gm-card-title {
	display: block;
	width: 320px;
	max-width: 100%;
	height: 60px;
	background: url('/wp-content/uploads/gm-site-assets/gm-title-line.png') left bottom / 100% auto no-repeat;
	border: 0;
	padding: 0;
	margin-bottom: 18px;
}

.gm-card-title h2 {
	margin: 0;
	padding: 2px 0 0;
	line-height: 1;
	font-size: 0;
}

.gm-card-title h2 img {
	display: block;
	width: 196px;
	height: auto;
	max-width: 78%;
}

.gm-card-title .slash {
	display: none;
}

.gm-card p {
	font-family: 'DFFangSongW4-B5', '華康仿宋體W4', 'FangSong', 'STFangsong', serif;
	font-size: 16px;
	line-height: 1.8;
	color: #000;
}

@media(max-width:600px) {
	.gm-card-title {
		width: 300px;
		height: 55px;
	}
	
	.gm-card-title h2 img {
		width: 180px;
	}
}

/* Mobile trial only: the original homepage keeps its current rules. */
.gm-mobile-trial .gm-mobile-menu {
	display: none;
}

/* The full-width WordPress template already gives the page the viewport width.
   100vw includes a classic scrollbar and caused 8px of horizontal overflow. */
.gm-site {
	width: 100%;
	max-width: 100%;
}

.gm-header,.gm-hero,.gm-middle,.gm-footer {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

/* The English headings need a wider desktop title treatment. Chinese headings
   keep the compact dimensions declared on the two title blocks. */
@media (min-width: 901px) {
	.gm-mobile-trial .gm-side {
		width: 300px !important;
		flex: 0 0 300px !important;
		flex-direction: column !important;
		gap: 22px !important;
	}

	.gm-mobile-trial .gm-login-img {
		width: 100% !important;
		max-width: 300px !important;
		flex: none !important;
	}

	.gm-mobile-trial.gm-en-page .gm-card-title {
		width: 320px !important;
		height: 60px !important;
		margin-bottom: 18px !important;
	}

	.gm-mobile-trial.gm-en-page .gm-card-title h2 img {
		width: 196px !important;
	}

	.gm-mobile-trial .gm-card-placeholder {
		font-size: 16px !important;
	}
}

@media (max-width: 600px) {
	.gm-mobile-trial .gm-header {
		position: relative;
	}

	.gm-mobile-trial .gm-mobile-menu[open] .gm-mobile-links {
		position: absolute;
		top: 58px;
		left: 0;
		width: 100% !important;
		margin: 0 !important;
	}
}

/* Published activity dates and usable contact links. */
.gm-card .gm-event {
	display: grid;
	grid-template-columns: 90px minmax(0, 1fr);
	gap: 12px;
	margin: 0;
	padding: 5px 0;
	border-bottom: 1px solid rgba(46, 91, 54, .18);
	font-size: 16px;
	line-height: 1.55;
}
.gm-card .gm-event:last-child { border-bottom: 0; }
.gm-event time { white-space: nowrap; }
.gm-side .gm-login-note {
	flex: 0 0 auto !important;
	width: 100%;
	max-width: 300px;
	margin: 0;
	color: #124b42;
	font-size: 12px;
	line-height: 1.5;
	text-align: center;
}
.gm-footer-item a { color: inherit; text-decoration: none; }
.gm-footer-item a:hover, .gm-footer-item a:focus-visible { text-decoration: underline; }
.gm-lang a { display: flex; align-items: center; justify-content: center; width: 46px; color: inherit; text-decoration: none; font-weight: 700; font-size: 14px; font-family: 'Noto Serif TC', serif; }
.gm-en-page .gm-lang .zh { background: #fff; color: #333; }
.gm-en-page .gm-lang .en-btn { background: #9c3b2a; color: #fff; }
.gm-en-page .gm-card-title h2.gm-en-title { padding-top: 4px; color: #064b6b; font-family: Georgia, serif; font-size: 24px !important; font-weight: 700; line-height: 1.2; letter-spacing: 0; }
.gm-en-page .gm-card .gm-event,.gm-en-page .gm-card .gm-card-placeholder,.gm-en-page .gm-login-note { font-family: Georgia, serif; }
.gm-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.gm-hero .gm-search { position: relative; top: 0; right: auto; }
.gm-hero .gm-search input { position: absolute; left: 4%; top: 12%; width: 76%; height: 76%; padding: 0 6px; border: 0; border-radius: 12px; background: transparent; color: #173c42; font-size: 14px; }
.gm-hero .gm-search input:focus-visible { outline: 2px solid #168b86; background: rgba(255,255,255,.65); }
.gm-hero .gm-search button { position: absolute; right: 0; top: 0; width: 18%; height: 100%; padding: 0; border: 0; border-radius: 50%; background: transparent; color: transparent; cursor: pointer; }
.gm-mobile-search-panel { display: none; }
@media (max-width: 600px) {
	.gm-card .gm-event {
		grid-template-columns: 66px minmax(0, 1fr);
		gap: 7px;
		padding: 4px 0;
		font-size: 11.2px;
	}
	.gm-mobile-trial .gm-side { flex-wrap: wrap !important; }
	.gm-side .gm-login-note { flex: 0 0 100% !important; max-width: none; font-size: 11px; }
	.gm-en-page .gm-card-title h2.gm-en-title { font-size: 18px !important; }
	.gm-en-page .gm-card-title { width: 240px !important; height: 46px !important; }
	.gm-en-page .gm-card .gm-event { grid-template-columns: 42px minmax(0, 1fr); }
	.gm-mobile-trial .gm-mobile-search-panel { display: block; flex: 0 0 48px !important; width: 48px !important; min-width: 48px !important; margin-left: 0 !important; }
	.gm-mobile-trial .gm-mobile-search-panel summary { padding: 0; }
	.gm-search-icon { position: relative; display: block; width: 36px; height: 36px; border-radius: 50%; background: #88bf36; box-shadow: 0 1px 2px rgba(0,0,0,.22); }
	.gm-search-glass { position: absolute; left: 9px; top: 8px; width: 15px; height: 15px; border: 3px solid #fff; border-radius: 50%; }
	.gm-search-glass::after { content: ''; position: absolute; left: 11px; top: 11px; width: 3px; height: 10px; border-radius: 2px; background: #fff; transform: rotate(-45deg); }
	.gm-mobile-search-form { position: absolute; top: 58px; left: 0; z-index: 310; display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 14px; background: #b4eaf0; box-shadow: 0 7px 15px rgba(0,50,55,.24); }
	.gm-mobile-search-form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
	.gm-mobile-search-form input { flex: 1; min-width: 0; height: 36px; padding: 4px 10px; border: 1px solid #4b9ca5; border-radius: 8px; background: #fff; font-size: 15px; }
	.gm-mobile-search-form button { flex: 0 0 auto; height: 36px; padding: 0 14px; border: 0; border-radius: 8px; background: #168b86; color: #fff; font-size: 14px; cursor: pointer; }
}

@media (max-width:600px) {
	.gm-mobile-trial-wrap {
		height: 58px !important;
		z-index: 200;
	}
	
	.gm-mobile-trial-wrap + .gm-site.gm-mobile-trial {
		margin-top: 0;
	}
	
	.gm-mobile-trial .gm-header {
		height: 58px;
		min-height: 58px;
	}
	
	.gm-mobile-trial .gm-header-inner {
		width: 100%;
		height: 58px;
		margin: 0;
		display: flex;
		flex-wrap: nowrap;
		align-items: stretch;
	}
	
	.gm-mobile-trial .gm-header-logo {
		width: 72px;
		min-width: 72px;
		height: 58px;
		flex: 0 0 72px;
	}
	
	.gm-mobile-trial .gm-nav {
		display: none;
	}
	
	.gm-mobile-trial .gm-mobile-menu {
		display: block;
		order: 2;
		flex: 0 0 58px;
		width: 58px;
		min-width: 0;
		margin-left: auto;
	}
	
	.gm-mobile-trial .gm-mobile-menu summary {
		height: 58px;
		display: flex;
		align-items: center;
		justify-content: center;
		list-style: none;
		cursor: pointer;
		background: rgba(0,157,169,.18);
		font-size: 27px;
		color: #064b59;
	}
	
	.gm-mobile-trial .gm-mobile-menu summary::-webkit-details-marker {
		display: none;
	}
	
	.gm-mobile-trial .gm-mobile-links {
		display: none;
	}
	
	.gm-mobile-trial .gm-mobile-menu[open] .gm-mobile-links {
		width: 100vw;
		margin-left: calc(150px - 100vw);
		display: grid;
		grid-template-columns: repeat(2,minmax(0,1fr));
		background: #b4eaf0;
		box-shadow: 0 7px 15px rgba(0,50,55,.24);
		z-index: 300;
	}
	
	.gm-mobile-trial .gm-mobile-links a {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		min-height: 56px;
		padding: 7px 4px;
		border-bottom: 1px solid rgba(0,92,99,.18);
		font-weight: 700;
		font-size: 14px;
		color: #073d50;
	}
	
	.gm-mobile-trial .gm-mobile-links a .en {
		font-size: 10px;
		font-weight: 400;
	}
	
	.gm-mobile-trial .gm-lang {
		order: 3;
		margin: 0;
		height: 58px;
	}
	
	.gm-mobile-trial .gm-content-row {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		min-width: 0;
	}
	
	.gm-mobile-trial .gm-side {
		width: 100%;
		min-width: 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 18px;
		margin: 0;
	}
	
	.gm-mobile-trial .gm-login-img {
		display: block;
		width: 100%;
		max-width: 320px;
		margin: 0 auto;
	}
	
	.gm-mobile-trial .gm-login-img img {
		width: 100%;
		max-width: 100%;
	}
	
	.gm-mobile-trial .gm-card-main {
		min-height: 210px;
	}
	
	.gm-mobile-trial .gm-about .gm-card {
		min-height: 260px;
	}
	
	.gm-mobile-trial .gm-search {
		display: none;
	}
}

/* Full-glyph WOFF2 converted from the MOE Standard Kai TTF; no glyphs removed. */
@font-face {
	font-family: 'GM MOE Kai';
	src: url('/wp-content/uploads/gm-fonts/gm-moe-kai.woff2') format('woff2');
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

/* Chinese activity details and introduction: 標楷體, 2pt above their previous sizes. */
.gm-site:not(.gm-en-page) .gm-card .gm-event {
	grid-template-columns: 105px minmax(0, 1fr);
	font-family: 'DFKai-SB', 'BiauKai', '標楷體', 'GM MOE Kai', 'Kaiti TC', 'KaiTi', 'STKaiti', serif;
	font-size: 14pt;
}

.gm-site:not(.gm-en-page) .gm-about .gm-card-placeholder {
	font-family: 'DFKai-SB', 'BiauKai', '標楷體', 'GM MOE Kai', 'Kaiti TC', 'KaiTi', 'STKaiti', serif;
	font-size: 14pt !important;
}

@media (max-width: 600px) {
	.gm-site:not(.gm-en-page) .gm-card .gm-event {
		grid-template-columns: 72px minmax(0, 1fr);
		font-family: 'GM MOE Kai', serif;
		font-size: 10.4pt;
	}

	.gm-site:not(.gm-en-page) .gm-about .gm-card-placeholder {
		font-family: 'GM MOE Kai', serif;
		font-size: 10.4pt !important;
	}
}

.gm-copyright {
	margin: 14px 0 0;
	color: #FFFFFF;
	text-align: center;
	font-size: 12px;
	line-height: 1.5;
}
.gm-legal-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: baseline;
	gap: 2px 10px;
	margin: 14px auto 0;
}
.gm-legal-row .gm-copyright { margin: 0; }
.gm-font-source {
	color: #D7EADC;
	font-size: 11px;
	line-height: 1.5;
	text-decoration: none;
}
.gm-font-source:hover,
.gm-font-source:focus-visible { text-decoration: underline; }

/* Keep anchored section headings clear of the sticky navigation. */
#news, #about { scroll-margin-top: 88px; }

/* The introduction is a full article; its card grows with the text. */
.gm-about-article { max-width: 920px; }
.gm-about-article h3,
.gm-about-article h4 {
	font-family: 'GM Ming Bold', 'Noto Serif TC', serif;
	font-weight: 900;
	color: #174D72;
	line-height: 1.45;
}
.gm-about-article h3 { margin: 0 0 .8em; font-size: 22px; }
.gm-about-article h4 { margin: 1.7em 0 .65em; font-size: 18px; }
.gm-site:not(.gm-en-page) .gm-about-article p {
	margin: 0 0 1.1em;
	font-family: 'DFKai-SB', 'BiauKai', '標楷體', 'GM MOE Kai', 'Kaiti TC', 'KaiTi', 'STKaiti', serif;
	font-size: 14pt;
	line-height: 1.85;
	color: #111;
}

@media (max-width:600px) {
	.gm-mobile-trial .gm-mobile-links .gm-menu-search { grid-column: 1 / -1; }
	.gm-mobile-trial .gm-mobile-links .gm-menu-search > summary {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		min-height: 56px;
		height: auto;
		padding: 7px 4px;
		border-bottom: 1px solid rgba(0,92,99,.18);
		background: transparent;
		font-size: 14px;
		font-weight: 700;
		color: #073d50;
	}
	.gm-mobile-trial .gm-menu-search summary .en { font-size: 10px; font-weight: 400; }
	.gm-menu-search-form { display: flex; gap: 8px; padding: 8px 12px 12px; }
	.gm-menu-search-form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
	.gm-menu-search-form input { flex: 1; min-width: 0; height: 36px; padding: 4px 10px; border: 1px solid #4b9ca5; border-radius: 8px; background: #fff; font-size: 15px; }
	.gm-menu-search-form button { flex: 0 0 auto; height: 36px; padding: 0 14px; border: 0; border-radius: 8px; background: #168b86; color: #fff; font-size: 14px; cursor: pointer; }
}
.gm-about-article a { color: #075B87; text-decoration: underline; text-underline-offset: 2px; }
.gm-about-article a:focus-visible { outline: 2px solid #075B87; outline-offset: 2px; }
@media (max-width: 600px) {
	#news, #about { scroll-margin-top: 74px; }
	.gm-about-article h3 { font-size: 17px; }
	.gm-about-article h4 { font-size: 15px; }
	.gm-site:not(.gm-en-page) .gm-about-article p {
		font-family: 'GM MOE Kai', serif;
		font-size: 10.4pt;
	}
}

