/* =========================================================
   ISEM shared site components
   ใช้ร่วมกันกับหน้ารายละเอียดและหน้าใหม่
   ========================================================= */

/* หน้าเนื้อหาทั่วไป */

.page-shell {
	--page-accent: #9bf1ff;

	width: calc(100% - 6em);
	max-width: 65em;
	margin: 0 auto;
	padding: 4em 0 2em;
	background-color: #2a2f4a;
}

@media screen and (max-width: 736px) {
	.page-shell {
		width: calc(100% - 3em);
		padding: 3em 0 1em;
	}
}

@media screen and (max-width: 480px) {
	.page-shell {
		width: calc(100% - 2em);
		padding-top: 2.25em;
	}
}

.page-intro {
	color: rgba(255, 255, 255, 0.76);
	line-height: 1.8;
	margin-bottom: 1.75em;
	max-width: 60em;
}

/* Breadcrumb */

.content-breadcrumb {
	align-items: center;
	color: rgba(255, 255, 255, 0.5);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.82em;
	gap: 0.6em;
	margin-bottom: 1.75em;
}

.content-breadcrumb a {
	border-bottom-color: rgba(255, 255, 255, 0.25);
	color: rgba(255, 255, 255, 0.76);
}

.content-breadcrumb a:hover,
.content-breadcrumb a:focus {
	border-bottom-color: var(--page-accent);
	color: var(--page-accent);
}

/* กลุ่มเนื้อหา */

.content-stack {
	display: grid;
	gap: 2em;
}

.content-panel {
	background: #2e3450;
	border: 1px solid rgba(212, 212, 255, 0.16);
	box-shadow: 0 0.7em 1.8em rgba(0, 0, 0, 0.14);
	padding: 2em;
}

.content-panel-heading {
	margin-bottom: 1.6em;
}

.content-panel-heading h2 {
	font-size: 1.35em;
	line-height: 1.5;
	margin-bottom: 0.55em;
}

.content-panel-heading p:last-child {
	color: rgba(255, 255, 255, 0.66);
	line-height: 1.7;
	margin-bottom: 0;
}

.content-kicker {
	color: var(--page-accent);
	font-size: 0.76em;
	font-weight: 600;
	letter-spacing: 0.12em;
	margin-bottom: 0.7em;
}

/* แกลเลอรีกลาง */

.content-gallery {
	display: grid;
	gap: 1em;
}

.content-gallery-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-gallery-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-gallery-item {
	background: #20253d;
	border: 1px solid rgba(212, 212, 255, 0.14);
	display: block;
	min-width: 0;
	overflow: hidden;
	padding: 0.55em;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.content-gallery-item:hover {
	border-color: var(--page-accent);
	box-shadow: 0 0.8em 1.6em rgba(0, 0, 0, 0.2);
	transform: translateY(-0.15em);
}

.content-gallery-media {
	align-items: center;
	aspect-ratio: 16 / 9;
	display: flex;
	justify-content: center;
	overflow: hidden;
	width: 100%;
}

.content-gallery-media img {
	display: block;
	height: 100%;
	max-height: 100%;
	max-width: 100%;
	transition:
		opacity 0.2s ease,
		transform 0.3s ease;
	width: 100%;
}

.media-contain img {
	object-fit: contain;
}

.media-cover img {
	object-fit: cover;
}

.content-gallery-item:hover img {
	opacity: 0.9;
	transform: scale(1.02);
}

/* สีประจำหน้ารายละเอียดกลุ่มวิชา */

.course-detail-page {
	--page-accent: #6fc3df;
}

/* แท็บเล็ต */

@media screen and (max-width: 980px) {

	.content-gallery-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.content-gallery-balanced > :last-child:nth-child(odd) {
		grid-column: 1 / -1;
		justify-self: center;
		max-width: calc(50% - 0.5em);
		width: 100%;
	}

}

/* โทรศัพท์ */

@media screen and (max-width: 736px) {

	.content-panel {
		padding: 1.5em;
	}

	.content-gallery-2,
	.content-gallery-3 {
		grid-template-columns: 1fr;
		margin-left: auto;
		margin-right: auto;
		max-width: 34em;
	}

	.content-gallery-balanced > :last-child:nth-child(odd) {
		grid-column: auto;
		max-width: none;
	}

}

/* โทรศัพท์ขนาดเล็ก */

@media screen and (max-width: 480px) {

	.content-panel {
		padding: 1.2em;
	}

	.content-panel-heading h2 {
		font-size: 1.16em;
	}

	.content-gallery-item {
		padding: 0.4em;
	}

}

/* ผู้ใช้ที่ลดการเคลื่อนไหว */

@media (prefers-reduced-motion: reduce) {

	.content-gallery-item,
	.content-gallery-media img {
		transition: none;
	}

	.content-gallery-item:hover,
	.content-gallery-item:hover img {
		transform: none;
	}

}

/* วิดีโอที่ใช้ร่วมกันในหน้ากลุ่มวิชา */

.content-video {
	margin-left: auto;
	margin-right: auto;
	max-width: 56em;
}

.content-video .video-wrapper {
	border: 1px solid rgba(212, 212, 255, 0.16);
	box-shadow: 0 0.8em 1.8em rgba(0, 0, 0, 0.2);
}

/* แกลเลอรีจำนวนมาก */

.content-gallery-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.content-gallery-note {
	color: rgba(255, 255, 255, 0.58);
	font-size: 0.84em;
	margin-bottom: 1em;
}

@media screen and (max-width: 980px) {

	.content-gallery-4 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

}

@media screen and (max-width: 736px) {

	.content-gallery-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}

@media screen and (max-width: 480px) {

	.content-gallery-4 {
		grid-template-columns: 1fr;
	}

}

/* =========================================================
   Lightbox ใช้ร่วมกันกับแกลเลอรี
   ========================================================= */

body.lightbox-open {
	overflow: hidden;
}

.site-lightbox {
	align-items: center;
	display: none;
	inset: 0;
	justify-content: center;
	padding: 4.5rem 5rem 3rem;
	position: fixed;
	z-index: 20000;
}

.site-lightbox.is-open {
	display: flex;
}

.site-lightbox-backdrop {
	background: rgba(10, 13, 25, 0.94);
	inset: 0;
	position: absolute;
}

.site-lightbox-dialog {
	align-items: center;
	display: flex;
	height: 100%;
	justify-content: center;
	max-height: 100%;
	max-width: 100%;
	position: relative;
	width: 100%;
	z-index: 1;
}

.site-lightbox-figure {
	margin: 0;
	max-height: 100%;
	max-width: 100%;
	text-align: center;
}

.site-lightbox-image {
	background: #161a2c;
	box-shadow: 0 1em 3em rgba(0, 0, 0, 0.55);
	display: block;
	margin: 0 auto;
	max-height: calc(100vh - 10rem);
	max-width: min(88vw, 90rem);
	object-fit: contain;
}

.site-lightbox-caption {
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.9rem;
	line-height: 1.5;
	margin: 0.8rem auto 0;
	max-width: 60rem;
}

.site-lightbox-counter {
	background: rgba(36, 41, 67, 0.85);
	border-radius: 2rem;
	color: #ffffff;
	font-size: 0.82rem;
	left: 1rem;
	padding: 0.45rem 0.8rem;
	position: absolute;
	top: 1rem;
	z-index: 2;
}

/* ล้าง style ปุ่มเดิมของ template */

.site-lightbox button {
	align-items: center;
	border: 0;
	display: flex;
	height: 3.25rem;
	justify-content: center;
	letter-spacing: 0;
	line-height: 1;
	min-width: 0;
	padding: 0;
	text-transform: none;
	width: 3.25rem;
}

.site-lightbox button span {
	display: block;
	font-size: 2rem;
	line-height: 1;
}

.site-lightbox-close,
.site-lightbox-previous,
.site-lightbox-next {
	background: rgba(36, 41, 67, 0.9);
	border-radius: 50%;
	color: #ffffff;
	position: absolute;
	z-index: 3;
}

.site-lightbox-close {
	right: 1rem;
	top: 1rem;
}

.site-lightbox-previous {
	left: -4rem;
	top: 50%;
	transform: translateY(-50%);
}

.site-lightbox-next {
	right: -4rem;
	top: 50%;
	transform: translateY(-50%);
}

.site-lightbox-close:hover,
.site-lightbox-previous:hover,
.site-lightbox-next:hover {
	background: #9bf1ff;
	color: #242943;
}

.site-lightbox-previous[hidden],
.site-lightbox-next[hidden] {
	display: none;
}

@media screen and (max-width: 736px) {

	.site-lightbox {
		padding: 4rem 3.2rem 3rem;
	}

	.site-lightbox-image {
		max-height: calc(100vh - 9rem);
		max-width: 100%;
	}

	.site-lightbox-previous {
		left: -3rem;
	}

	.site-lightbox-next {
		right: -3rem;
	}

	.site-lightbox button {
		height: 2.75rem;
		width: 2.75rem;
	}

	.site-lightbox button span {
		font-size: 1.7rem;
	}

}

@media screen and (max-width: 480px) {

	.site-lightbox {
		padding: 4rem 2.6rem 3rem;
	}

	.site-lightbox-previous {
		left: -2.45rem;
	}

	.site-lightbox-next {
		right: -2.45rem;
	}

	.site-lightbox-caption {
		font-size: 0.8rem;
	}

}

@media (prefers-reduced-motion: reduce) {

	.site-lightbox * {
		transition: none !important;
	}

}
/* =========================================================
   TCAS / Admission page
   ========================================================= */

.tcas-page .admission-banner {
	background:
		linear-gradient(
			135deg,
			rgba(36, 41, 67, 0.96),
			rgba(45, 111, 135, 0.90)
		);
}

.tcas-page .admission-banner::after {
	background-color: transparent;
}

.tcas-page .admission-banner .inner {
	position: relative;
	z-index: 2;
}

.admission-alert {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 1.25rem;
	align-items: start;
	margin: 0 0 2rem;
	padding: 1.5rem;
	border-left: 0.35rem solid #f2c14e;
	background: rgba(242, 193, 78, 0.10);
}

.admission-alert > .icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: #f2c14e;
	color: #242943;
	font-size: 1.15rem;
}

.admission-alert h3 {
	margin: 0 0 0.4rem;
}

.admission-alert p {
	margin: 0;
}

.admission-eligibility {
	margin-bottom: 3rem;
}

.eligibility-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.eligibility-item {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 1rem;
	align-items: start;
	padding: 1.35rem;
	border: solid 1px rgba(212, 212, 255, 0.18);
	background: rgba(255, 255, 255, 0.045);
}

.eligibility-item > .icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.8rem;
	height: 2.8rem;
	border-radius: 50%;
	background: #6fc3df;
	color: #242943;
}

.eligibility-item h3 {
	margin: 0 0 0.65rem;
	font-size: 1.05rem;
}

.eligibility-item p {
	margin: 0;
	font-size: 0.94rem;
	line-height: 1.75;
}

.admission-inline-note {
	margin: 1.5rem 0 0;
	padding: 1rem 1.1rem;
	background: rgba(111, 195, 223, 0.10);
	font-size: 0.93rem;
}

.admission-inline-note .icon {
	margin-right: 0.45rem;
	color: #6fc3df;
}

.admission-rounds-section {
	scroll-margin-top: 5rem;
	margin-bottom: 3rem;
}

.admission-rounds-section .section-heading {
	max-width: 52rem;
	margin-bottom: 1.75rem;
}

.admission-rounds-section .section-heading h2 {
	margin-bottom: 0.6rem;
}

.admission-rounds-section .section-heading p:last-child {
	margin-bottom: 0;
}

.admission-rounds {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}

.admission-round {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: solid 1px rgba(212, 212, 255, 0.18);
	background: rgba(255, 255, 255, 0.055);
	box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.10);
}

.admission-round-header {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 1rem;
	align-items: center;
	padding: 1.35rem;
	border-bottom: solid 1px rgba(212, 212, 255, 0.15);
	background: rgba(111, 195, 223, 0.09);
}

.round-number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	background: #6fc3df;
	color: #242943;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.round-type {
	margin: 0 0 0.2rem;
	color: #9bf1ff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.admission-round-header h3 {
	margin: 0;
	font-size: 1.18rem;
	line-height: 1.4;
}

.admission-round-content {
	flex-grow: 1;
	padding: 1.5rem;
}

.admission-round-content > p:first-child {
	margin-top: 0;
}

.admission-round-content h4 {
	margin: 1.25rem 0 0.65rem;
	font-size: 0.95rem;
}

.admission-round-content ul {
	margin-bottom: 0;
	padding-left: 1.2rem;
}

.admission-round-content li {
	margin-bottom: 0.4rem;
}

.round-content-note {
	margin: 1.15rem 0 0;
	padding: 0.85rem 1rem;
	border-left: solid 0.25rem #f2c14e;
	background: rgba(242, 193, 78, 0.08);
	font-size: 0.88rem;
}

.admission-round-footer {
	padding: 1.25rem 1.5rem 1.5rem;
	border-top: solid 1px rgba(212, 212, 255, 0.15);

	background: rgba(0, 0, 0, 0.08);
}

.admission-round-footer p {
	min-height: 2.8rem;
	margin: 0 0 1rem;
	font-size: 0.86rem;
	opacity: 0.82;
}

.official-admission-links {
	margin-bottom: 0;
}

.official-links-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.official-link-card {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 1rem;
	align-items: center;
	padding: 1.35rem;
	border: solid 1px rgba(212, 212, 255, 0.20);
	background: rgba(255, 255, 255, 0.05);
	text-decoration: none;
	transition:
		transform 0.2s ease,
		background-color 0.2s ease,
		border-color 0.2s ease;
}

.official-link-card:hover {
	transform: translateY(-0.2rem);
	border-color: #6fc3df;
	background: rgba(111, 195, 223, 0.12);
}

.official-link-card > .icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	background: #6fc3df;
	color: #242943;
	font-size: 1.15rem;
}

.official-link-card strong {
	display: block;
	margin-bottom: 0.25rem;
	color: #ffffff;
	font-size: 1.05rem;
}

.official-link-card small {
	display: block;
	color: rgba(244, 244, 255, 0.75);
	font-size: 0.88rem;
	line-height: 1.65;
}

/* Tablet */

@media screen and (max-width: 980px) {

	.eligibility-grid {
		grid-template-columns: 1fr;
	}

	.admission-rounds {
		grid-template-columns: 1fr;
	}

	.admission-round-footer p {
		min-height: 0;
	}

}

/* Mobile */

@media screen and (max-width: 736px) {

	.admission-alert {
		grid-template-columns: 1fr;
		padding: 1.25rem;
	}

	.admission-alert > .icon {
		width: 2.7rem;
		height: 2.7rem;
	}

	.eligibility-item {
		grid-template-columns: 1fr;
		padding: 1.2rem;
	}

	.eligibility-item > .icon {
		width: 2.65rem;
		height: 2.65rem;
	}

	.admission-round-header {
		grid-template-columns: 1fr;
		padding: 1.2rem;
	}

	.round-number {
		width: 3.1rem;
		height: 3.1rem;
	}

	.admission-round-content {
		padding: 1.25rem;
	}

	.admission-round-footer {
		padding: 1.2rem;
	}

	.official-links-grid {
		grid-template-columns: 1fr;
	}

}

/* Small mobile */

@media screen and (max-width: 480px) {

	.official-link-card {
		grid-template-columns: 1fr;
		padding: 1.2rem;
	}

	.official-link-card > .icon {
		width: 3rem;
		height: 3rem;
	}

}

/* =========================================================
   Tuition page
   ========================================================= */

.tuition-page .tuition-banner {
	background:
		linear-gradient(
			135deg,
			rgba(36, 41, 67, 0.97),
			rgba(79, 111, 134, 0.90)
		);
}

.tuition-page .tuition-banner::after {
	background-color: transparent;
}

.tuition-page .tuition-banner .inner {
	position: relative;
	z-index: 2;
}

.tuition-source-notice {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 1.15rem;
	align-items: start;

	margin: 0 0 2rem;
	padding: 1.4rem;

	border-left: solid 0.35rem #6fc3df;

	background: rgba(111, 195, 223, 0.10);
}

.tuition-source-notice > .icon {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 3rem;
	height: 3rem;
	border-radius: 50%;

	background: #6fc3df;
	color: #242943;

	font-size: 1.1rem;
}

.tuition-source-notice h3 {
	margin: 0 0 0.4rem;
}

.tuition-source-notice p {
	margin: 0;
}

.tuition-overview {
	display: grid;
	grid-template-columns: minmax(17rem, 0.8fr) minmax(0, 1.2fr);
	gap: 2rem;
	align-items: stretch;

	margin-bottom: 3rem;
	scroll-margin-top: 5rem;
}

.tuition-main-rate {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	min-height: 23rem;
	padding: 2rem;

	border: solid 1px rgba(212, 212, 255, 0.22);
	border-top: solid 0.4rem #f2c14e;

	background:
		linear-gradient(
			145deg,
			rgba(242, 193, 78, 0.15),
			rgba(255, 255, 255, 0.045)
		);

	text-align: center;
}

.tuition-rate-label {
	margin: 0 0 0.6rem;

	color: #f2c14e;

	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.tuition-rate-number {
	margin: 0;

	color: #ffffff;

	font-size: clamp(3.4rem, 7vw, 5.8rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
}

.tuition-rate-unit {
	margin: 0.5rem 0 1.6rem;

	color: #ffffff;

	font-size: 1.05rem;
	font-weight: 600;
}

.tuition-rate-program {
	margin: 0;
	padding-top: 1.25rem;

	border-top: solid 1px rgba(212, 212, 255, 0.22);

	color: rgba(244, 244, 255, 0.78);

	font-size: 0.9rem;
	line-height: 1.7;
}

.tuition-rate-details {
	display: flex;
	flex-direction: column;
	justify-content: center;

	padding: 2rem;

	border: solid 1px rgba(212, 212, 255, 0.18);

	background: rgba(255, 255, 255, 0.045);
}

.tuition-rate-details h2 {
	margin-bottom: 1rem;
}

.tuition-rate-details p:last-child {
	margin-bottom: 0;
}

.tuition-cases,
.tuition-other-fees,
.tuition-conditions,
.tuition-source {
	margin-bottom: 3rem;
}

.tuition-case-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.tuition-case-card {
	padding: 1.4rem;

	border: solid 1px rgba(212, 212, 255, 0.20);
	border-top: solid 0.3rem #6fc3df;

	background: rgba(255, 255, 255, 0.045);
}

.tuition-case-card > .icon {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 3rem;
	height: 3rem;
	margin-bottom: 1rem;
	border-radius: 50%;

	background: #6fc3df;
	color: #242943;
}

.tuition-case-card h3 {
	margin: 0 0 0.75rem;

	font-size: 1rem;
	line-height: 1.55;
}

.tuition-case-rate {
	margin: 0 0 0.55rem;

	color: #f2c14e;

	font-size: 1.5rem;
	font-weight: 700;
}

.tuition-case-card p:last-child {
	margin-bottom: 0;

	font-size: 0.9rem;
	line-height: 1.7;
}

.fee-group-title {
	margin: 2rem 0 1rem;
	padding-bottom: 0.65rem;

	border-bottom: solid 1px rgba(212, 212, 255, 0.20);

	font-size: 1.05rem;
}

.fee-group-title:first-of-type {
	margin-top: 0;
}

.fee-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.fee-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 1rem;
	align-items: center;

	min-width: 0;
	padding: 1.2rem;

	border: solid 1px rgba(212, 212, 255, 0.17);

	background: rgba(255, 255, 255, 0.04);
}

.fee-item h4 {
	margin: 0 0 0.3rem;

	font-size: 0.94rem;
	line-height: 1.55;
}

.fee-item h4:last-child {
	margin-bottom: 0;
}

.fee-item > div > p {
	margin: 0;

	color: rgba(244, 244, 255, 0.67);

	font-size: 0.82rem;
	line-height: 1.6;
}

.fee-amount {
	min-width: 6.8rem;
	margin: 0;

	text-align: right;
}

.fee-amount strong {
	display: block;

	color: #f2c14e;

	font-size: 1.25rem;
	line-height: 1.2;
}

.fee-amount span {
	display: block;
	margin-top: 0.2rem;

	color: rgba(244, 244, 255, 0.67);

	font-size: 0.72rem;
	line-height: 1.4;
}

.fee-amount-text strong {
	font-size: 1rem;
}

.tuition-condition-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.tuition-condition-grid article {
	padding: 1.4rem;

	border: solid 1px rgba(233, 130, 142, 0.28);
	border-left: solid 0.3rem #e9828e;

	background: rgba(233, 130, 142, 0.07);
}

.tuition-condition-grid h3 {
	margin: 0 0 0.7rem;

	font-size: 1rem;
}

.tuition-condition-grid p {
	margin: 0;
}

.tuition-source > p {
	max-width: 55rem;
}

/* Tablet */

@media screen and (max-width: 980px) {

	.tuition-overview {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.tuition-main-rate {
		min-height: 20rem;
	}

	.tuition-case-grid {
		grid-template-columns: 1fr;
	}

	.fee-list {
		grid-template-columns: 1fr;
	}

}

/* Mobile */

@media screen and (max-width: 736px) {

	.tuition-source-notice {
		grid-template-columns: 1fr;
		padding: 1.2rem;
	}

	.tuition-source-notice > .icon {
		width: 2.7rem;
		height: 2.7rem;
	}

	.tuition-main-rate {
		min-height: 18rem;
		padding: 1.5rem 1.2rem;
	}

	.tuition-rate-details {
		padding: 1.4rem 1.2rem;
	}

	.tuition-case-card {
		padding: 1.2rem;
	}

	.tuition-condition-grid {
		grid-template-columns: 1fr;
	}

}

/* Small mobile */

@media screen and (max-width: 480px) {

	.fee-item {
		grid-template-columns: 1fr;
	}

	.fee-amount {
		min-width: 0;
		padding-top: 0.8rem;

		border-top: solid 1px rgba(212, 212, 255, 0.14);

		text-align: left;
	}

}

/* =========================================================
   Staff page
   ========================================================= */

.staff-page .staff-banner {
	background:
		linear-gradient(
			135deg,
			rgba(36, 41, 67, 0.97),
			rgba(92, 74, 120, 0.90)
		);
}

.staff-page .staff-banner::after {
	background-color: transparent;
}

.staff-page .staff-banner .inner {
	position: relative;
	z-index: 2;
}

.staff-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}

.staff-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;

	border: solid 1px rgba(212, 212, 255, 0.20);
	border-top: solid 0.3rem #6fc3df;

	background: rgba(255, 255, 255, 0.05);

	box-shadow: 0 0.9rem 2rem rgba(0, 0, 0, 0.14);
}

.staff-card-lead {
	border-top-color: #f2c14e;
}

.staff-photo {
	overflow: hidden;

	border-bottom: solid 1px rgba(212, 212, 255, 0.17);

	background: rgba(0, 0, 0, 0.12);
}

.staff-photo img {
	display: block;

	width: 100%;
	aspect-ratio: 1 / 1;

	object-fit: cover;
	object-position: center;
}

.staff-card-content {
	display: flex;
	flex: 1;
	flex-direction: column;

	padding: 1.35rem;
}

.staff-card-content h3 {
	margin: 0 0 1rem;

	color: #ffffff;

	font-size: 1.08rem;
	line-height: 1.5;
}

.staff-role {
	align-self: flex-start;

	margin: 0 0 0.75rem;
	padding: 0.35rem 0.7rem;

	border: solid 1px rgba(242, 193, 78, 0.35);
	border-radius: 2rem;

	background: rgba(242, 193, 78, 0.11);
	color: #f2c14e;

	font-size: 0.76rem;
	font-weight: 700;
	line-height: 1.4;
}

.staff-degree {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.75rem;
	align-items: start;

	margin-bottom: 1.25rem;
}

.staff-degree > .icon {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 2rem;
	height: 2rem;
	border-radius: 50%;

	background: rgba(111, 195, 223, 0.13);
	color: #6fc3df;

	font-size: 0.78rem;
}

.staff-degree p {
	margin: 0;

	color: rgba(244, 244, 255, 0.76);

	font-size: 0.86rem;
	line-height: 1.65;
}

.staff-email {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.6rem;
	align-items: center;

	margin-top: auto;
	padding-top: 1rem;

	border-top: solid 1px rgba(212, 212, 255, 0.16);

	font-size: 0.82rem;
	line-height: 1.5;

	overflow-wrap: anywhere;
	word-break: break-word;
}

.staff-email > .icon {
	color: #6fc3df;
}

/* Tablet */

@media screen and (max-width: 980px) {

	.staff-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}

/* Mobile */

@media screen and (max-width: 736px) {

	.staff-grid {
		grid-template-columns: 1fr;
		gap: 1.25rem;

		max-width: 32rem;
		margin-right: auto;
		margin-left: auto;
	}

	.staff-card-content {
		padding: 1.2rem;
	}

}

/* Small mobile */

@media screen and (max-width: 480px) {

	.staff-card-content h3 {
		font-size: 1rem;
	}

	.staff-degree p,
	.staff-email {
		font-size: 0.8rem;
	}

}

/* =========================================================
   Program format and related page links
   ========================================================= */

.program-format-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.program-format-item {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 1rem;
	align-items: start;

	padding: 1.35rem;

	border: solid 1px rgba(212, 212, 255, 0.18);

	background: rgba(255, 255, 255, 0.045);
}

.program-format-item > .icon {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 3rem;
	height: 3rem;
	border-radius: 50%;

	background: rgba(111, 195, 223, 0.15);
	color: #6fc3df;
}

.program-format-item h3 {
	margin: 0 0 0.5rem;

	font-size: 1rem;
	line-height: 1.5;
}

.program-format-item p {
	margin: 0;

	color: rgba(244, 244, 255, 0.75);

	font-size: 0.9rem;
	line-height: 1.7;
}

.related-pages-section {
	margin-top: 3rem;
}

.related-page-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.related-page-link {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 1rem;
	align-items: center;

	min-width: 0;
	padding: 1.25rem;

	border: solid 1px rgba(212, 212, 255, 0.20);

	background: rgba(255, 255, 255, 0.045);

	text-decoration: none;

	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease;
}

.related-page-content {
	min-width: 0;
}

.related-page-arrow {
	color: #6fc3df;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1;
	transition: transform 0.2s ease;
}

.related-page-link:hover .related-page-arrow {
	transform: translateX(0.25rem);
}

.related-page-link:hover {
	transform: translateY(-0.15rem);

	border-color: #6fc3df;

	background: rgba(111, 195, 223, 0.10);
}

.related-page-link > .icon {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 3rem;
	height: 3rem;
	border-radius: 50%;

	background: #6fc3df;
	color: #242943;
}

.related-page-link strong {
	display: block;

	color: #ffffff;

	font-size: 0.96rem;
	line-height: 1.5;
}

.related-page-link small {
	display: block;
	margin-top: 0.25rem;

	color: rgba(244, 244, 255, 0.67);

	font-size: 0.8rem;
	line-height: 1.5;
}

.related-page-link-back {
	border-color: rgba(242, 193, 78, 0.28);

	background: rgba(242, 193, 78, 0.07);
}

.related-page-link-back > .icon {
	background: #f2c14e;
}

/* Mobile */

@media screen and (max-width: 736px) {

	.program-format-grid,
	.related-page-links {
		grid-template-columns: 1fr;
	}

}

/* Small mobile */

@media screen and (max-width: 480px) {

	.program-format-item {
		grid-template-columns: 1fr;
	}

	.related-page-link {
		grid-template-columns: auto minmax(0, 1fr) auto;
		gap: 0.75rem;
		padding: 1rem;
	}

	.related-page-link > .icon {
		width: 2.5rem;
		height: 2.5rem;
	}

}

/* =========================================================
   PLO PAGE
   ========================================================= */

.plo-2565-banner,
.plo-2570-banner {
	background:
		linear-gradient(
			135deg,
			rgba(25, 39, 68, 0.94),
			rgba(52, 89, 121, 0.88)
		),
		url("../../images/banner.jpg") center center / cover no-repeat;
}
.plo-2565-banner .image,
.plo-2570-banner .image {
	display: none;
}
.plo-2565-banner .banner-kicker,
.plo-2570-banner .banner-kicker {
	margin: 0 0 0.75rem;
	color: #f2c15f;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.5;
	text-transform: uppercase;
}

.plo-section {
	overflow: hidden;
}

.plo-panel-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 1.75rem;
}

.plo-panel-heading > div {
	min-width: 0;
}

.plo-panel-heading .general-info-heading {
	margin-bottom: 0;
}

.plo-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-height: 2.4rem;
	padding: 0.45rem 0.9rem;
	border: 1px solid rgba(155, 241, 255, 0.28);
	border-radius: 999px;
	background: rgba(155, 241, 255, 0.08);
	color: #9bf1ff;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}

.plo-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.plo-card {
	--plo-accent: #9bf1ff;

	position: relative;
	display: grid;
	grid-template-columns: 4.75rem minmax(0, 1fr);
	align-items: start;
	gap: 1.2rem;
	min-width: 0;
	padding: 1.4rem;
	border: 1px solid rgba(212, 212, 255, 0.16);
	border-top: 4px solid var(--plo-accent);
	background: rgba(255, 255, 255, 0.045);
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.plo-card:hover {
	border-color: var(--plo-accent);
	background: rgba(255, 255, 255, 0.07);
	box-shadow: 0 0.8rem 1.8rem rgba(0, 0, 0, 0.16);
	transform: translateY(-0.15rem);
}

.plo-card:nth-child(2) {
	--plo-accent: #6fc3df;
}

.plo-card:nth-child(3) {
	--plo-accent: #f2c15f;
}

.plo-card:nth-child(4) {
	--plo-accent: #8d82c4;
}

.plo-card:nth-child(5) {
	--plo-accent: #87c5a4;
}

.plo-card:nth-child(6) {
	--plo-accent: #ec8d81;
}

.plo-number {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	align-self: start;
	width: 4.75rem;
	min-height: 4.75rem;
	border: 1px solid color-mix(
		in srgb,
		var(--plo-accent) 55%,
		transparent
	);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.055);
	color: var(--plo-accent);
	text-align: center;
}

.plo-number span {
	display: block;
	margin-bottom: 0.15rem;
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	line-height: 1;
}

.plo-number strong {
	display: block;
	color: inherit;
	font-size: 1.6rem;
	font-weight: 800;
	line-height: 1;
}

.plo-card-content {
	min-width: 0;
}

.plo-card-content h3 {
	margin: 0 0 0.7rem;
	color: #ffffff;
	font-size: 1.02rem;
	line-height: 1.55;
}

.plo-card-content p {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.9rem;
	line-height: 1.8;
}

@media screen and (max-width: 980px) {

	.plo-grid {
		grid-template-columns: 1fr;
	}

}

@media screen and (max-width: 736px) {

	.plo-panel-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.75rem;
	}

	.plo-count {
		white-space: normal;
	}

	.plo-card {
		grid-template-columns: 4rem minmax(0, 1fr);
		gap: 1rem;
		padding: 1.2rem;
	}

	.plo-number {
		width: 4rem;
		min-height: 4rem;
	}

	.plo-number strong {
		font-size: 1.35rem;
	}

	.plo-card-content h3 {
		font-size: 0.98rem;
	}

}

@media screen and (max-width: 480px) {

	.plo-card {
		display: block;
	}

	.plo-number {
		width: auto;
		min-height: 0;
		margin-bottom: 1rem;
		padding: 0.65rem 0.85rem;
		border-radius: 999px;
		flex-direction: row;
		justify-content: flex-start;
		gap: 0.4rem;
	}

	.plo-number span {
		margin: 0;
	}

	.plo-number strong {
		font-size: 0.9rem;
	}

	.plo-card-content p {
		overflow-wrap: anywhere;
	}


}
/* =========================================================
   CURRICULUM STRUCTURE
   ใช้ร่วมกันได้ทั้งหลักสูตร 2565 และ 2570
   ========================================================= */

.structure-2565-banner,
.structure-2570-banner {
	background:
		linear-gradient(
			135deg,
			rgba(25, 39, 68, 0.98),
			rgba(55, 94, 124, 0.94)
		);
}

.structure-2565-banner .banner-kicker,
.structure-2570-banner .banner-kicker {
	margin: 0 0 0.75rem;
	color: #f2c15f;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.5;
	text-transform: uppercase;
}

.curriculum-structure-content {
	display: grid;
	gap: 2rem;
}

.curriculum-credit-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.curriculum-credit-card {
	position: relative;
	min-width: 0;
	padding: 1.35rem;
	border: 1px solid rgba(212, 212, 255, 0.16);
	border-top: 4px solid #6fc3df;
	background: rgba(255, 255, 255, 0.045);
}

.curriculum-credit-card:nth-child(3) {
	border-top-color: #87c5a4;
}

.curriculum-credit-card:nth-child(4) {
	border-top-color: #8d82c4;
}

.curriculum-credit-total {
	border-top-color: #f2c15f;
	background: rgba(242, 193, 95, 0.08);
}

.curriculum-credit-number {
	display: block;
	margin-bottom: 0.65rem;
	color: rgba(255, 255, 255, 0.46);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1;
}

.curriculum-credit-label {
	display: block;
	min-height: 3rem;
	margin-bottom: 0.7rem;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.55;
}

.curriculum-credit-card strong {
	display: block;
	color: #9bf1ff;
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.1;
}

.curriculum-credit-total strong {
	color: #f2c15f;
}

.curriculum-credit-card strong small {
	font-size: 0.7rem;
	font-weight: 700;
}

.curriculum-credit-card p {
	margin: 0.45rem 0 0;
	color: rgba(255, 255, 255, 0.54);
	font-size: 0.76rem;
	line-height: 1.5;
}

.structure-standard-note {
	margin: 0 0 1.5rem;
	padding: 1rem 1.15rem;
	border-left: 4px solid #9bf1ff;
	background: rgba(155, 241, 255, 0.06);
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.75;
}

.curriculum-structure-stack {
	display: grid;
	gap: 1.4rem;
}

.curriculum-structure-block {
	overflow: hidden;
	border: 1px solid rgba(212, 212, 255, 0.16);
	background: rgba(255, 255, 255, 0.03);
}

.curriculum-structure-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.3rem 1.4rem;
	border-bottom: 1px solid rgba(212, 212, 255, 0.13);
	background: rgba(255, 255, 255, 0.05);
}

.curriculum-structure-heading > div {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-width: 0;
}

.curriculum-structure-heading h3 {
	margin: 0;
	color: #ffffff;
	font-size: 1.08rem;
	line-height: 1.5;
}

.curriculum-structure-heading .content-kicker {
	margin-bottom: 0.15rem;
}

.curriculum-structure-index {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: #9bf1ff;
	color: #242943;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1;
}

.curriculum-structure-total {
	flex: 0 0 auto;
	padding: 0.5rem 0.8rem;
	border: 1px solid rgba(155, 241, 255, 0.25);
	border-radius: 999px;
	background: rgba(155, 241, 255, 0.08);
	color: #9bf1ff;
	font-size: 0.8rem;
	line-height: 1.4;
	text-align: center;
}

.curriculum-structure-block > .table-wrapper {
	margin: 0;
	padding: 0 1.4rem 1.4rem;
}

.curriculum-structure-table {
	width: 100%;
	margin: 0;
}

.curriculum-structure-table thead {
	border-bottom: 0;
}

.curriculum-structure-table th {
	padding: 0.85rem 1rem;
	background: rgba(155, 241, 255, 0.09);
	color: #ffffff;
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.5;
}

.curriculum-structure-table th:last-child {
	width: 13rem;
	text-align: right;
}

.curriculum-structure-table tbody tr {
	border-color: rgba(212, 212, 255, 0.1);
	background: transparent;
}

.curriculum-structure-table tbody tr:nth-child(2n + 1) {
	background: rgba(255, 255, 255, 0.025);
}

.curriculum-structure-table td {
	padding: 0.85rem 1rem;
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.65;
	vertical-align: top;
}

.curriculum-structure-table td:last-child {
	width: 13rem;
	color: #9bf1ff;
	font-weight: 700;
	text-align: right;
	white-space: nowrap;
}

.curriculum-subgroup {
	margin: 1.4rem;
	border: 1px solid rgba(212, 212, 255, 0.13);
	background: rgba(0, 0, 0, 0.08);
}

.curriculum-subgroup + .curriculum-subgroup {
	margin-top: 0;
}

.curriculum-subgroup-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.1rem;
	border-bottom: 1px solid rgba(212, 212, 255, 0.12);
	background: rgba(255, 255, 255, 0.045);
}

.curriculum-subgroup-heading h4 {
	margin: 0;
	color: #ffffff;
	font-size: 0.96rem;
	line-height: 1.5;
}

.curriculum-subgroup-heading strong {
	flex: 0 0 auto;
	color: #9bf1ff;
	font-size: 0.84rem;
	line-height: 1.5;
	text-align: right;
}

.curriculum-subgroup .table-wrapper {
	margin: 0;
	padding: 0;
}

.curriculum-subgroup-compact .curriculum-subgroup-heading {
	border-bottom: 0;
}

.curriculum-structure-description {
	margin: 0;
	padding: 1.35rem 1.4rem;
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.8;
}

@media screen and (max-width: 980px) {

	.curriculum-credit-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}

@media screen and (max-width: 736px) {

	.curriculum-credit-grid {
		grid-template-columns: 1fr;
	}

	.curriculum-credit-label {
		min-height: 0;
	}

	.curriculum-structure-heading {
		align-items: flex-start;
		flex-direction: column;
		padding: 1.15rem;
	}

	.curriculum-structure-total {
		margin-left: 3.75rem;
		white-space: normal;
	}

	.curriculum-subgroup {
		margin: 1rem;
	}

	.curriculum-subgroup + .curriculum-subgroup {
		margin-top: 0;
	}

	.curriculum-subgroup-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.curriculum-subgroup-heading strong {
		text-align: left;
	}

	.curriculum-structure-block > .table-wrapper {
		padding: 0 1rem 1rem;
	}

	.curriculum-structure-table {
		min-width: 34rem;
	}

	.curriculum-structure-table th:last-child,
	.curriculum-structure-table td:last-child {
		width: 11rem;
	}

}

@media screen and (max-width: 480px) {

	.curriculum-structure-heading > div {
		align-items: flex-start;
	}

	.curriculum-structure-index {
		width: 2.5rem;
		height: 2.5rem;
	}

	.curriculum-structure-total {
		margin-left: 0;
	}

	.curriculum-credit-card strong {
		font-size: 1.8rem;
	}

}
/* =========================================================
   SHARED SITE MENU
   ========================================================= */

/* ขยายพื้นที่ภายในเมนูจากค่าเดิมของ template */

#menu {
	padding: 2.5rem 2rem;
}

#menu > .inner {
	width: min(94vw, 80rem);
	max-width: 80rem;
	max-height: calc(100vh - 5rem);
	text-align: left;
}

#menu > .inner > :first-child {
	margin-top: 0;
}

#menu > .inner > :last-child {
	margin-bottom: 0;
}

#menu .menu-inner {
	width: 100%;
	max-height: calc(100vh - 5rem);
	overflow-x: hidden;
	overflow-y: auto;
	padding: 0.35rem 0.65rem 0.35rem 0.35rem;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

#menu .menu-inner::-webkit-scrollbar {
	width: 6px;
}

#menu .menu-inner::-webkit-scrollbar-track {
	background: transparent;
}

#menu .menu-inner::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.25);
}

/* กลุ่มเมนู 4 ส่วน */

#menu .menu-groups {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: stretch;
	gap: 1rem;
}

#menu .menu-group {
	min-width: 0;
	padding: 1.15rem;
	border: 1px solid rgba(212, 212, 255, 0.16);
	border-top: 4px solid #9bf1ff;
	background: rgba(255, 255, 255, 0.045);
}

#menu .menu-group:nth-child(2) {
	border-top-color: #6fc3df;
}

#menu .menu-group:nth-child(3) {
	border-top-color: #87c5a4;
}

#menu .menu-group:nth-child(4) {
	border-top-color: #f2c15f;
}

/* หัวข้อแต่ละกลุ่ม */

#menu .menu-group-heading {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	min-height: 4rem;
	margin-bottom: 0.8rem;
	padding-bottom: 0.8rem;
	border-bottom: 1px solid rgba(212, 212, 255, 0.14);
}

#menu .menu-group-heading > .icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: rgba(155, 241, 255, 0.12);
	color: #9bf1ff;
	font-size: 0.85rem;
	line-height: 1;
}

#menu .menu-group:nth-child(2)
.menu-group-heading > .icon {
	background: rgba(111, 195, 223, 0.12);
	color: #6fc3df;
}

#menu .menu-group:nth-child(3)
.menu-group-heading > .icon {
	background: rgba(135, 197, 164, 0.12);
	color: #87c5a4;
}

#menu .menu-group:nth-child(4)
.menu-group-heading > .icon {
	background: rgba(242, 193, 95, 0.12);
	color: #f2c15f;
}

#menu .menu-group-heading > .icon::before {
	display: block;
	margin: 0;
	line-height: 1;
}

#menu .menu-group-heading h2 {
	margin: 0;
	color: #ffffff;
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.55;
	text-transform: none;
}

/* ลิงก์ภายในกลุ่ม */

#menu .menu-group ul.links {
	margin: 0;
	padding: 0;
	list-style: none;
}

#menu .menu-group ul.links > li {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid rgba(212, 212, 255, 0.08);
}

#menu .menu-group ul.links > li:last-child {
	border-bottom: 0;
}

#menu .menu-group ul.links > li > a:not(.button) {
	position: relative;
	display: block;
	padding: 0.65rem 0.25rem 0.65rem 0.9rem;
	border: 0;
	color: rgba(255, 255, 255, 0.76);
	font-size: 0.76rem;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.55;
	text-align: left;
	text-transform: none;
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		padding-left 0.2s ease;
}

#menu .menu-group ul.links > li > a::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0.15rem;
	width: 0.28rem;
	height: 0.28rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	transform: translateY(-50%);
	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}

#menu .menu-group ul.links > li > a:hover,
#menu .menu-group ul.links > li > a:focus {
	padding-left: 1.05rem;
	background: rgba(255, 255, 255, 0.055);
	color: #ffffff;
}

#menu .menu-group ul.links > li > a:hover::before,
#menu .menu-group ul.links > li > a:focus::before {
	background: #9bf1ff;
	transform: translateY(-50%) scale(1.25);
}

/* หน้าที่กำลังเปิด */

#menu .menu-group ul.links > li.is-current > a,
#menu .menu-group ul.links > li > a[aria-current="page"] {
	background: rgba(155, 241, 255, 0.09);
	color: #9bf1ff;
	font-weight: 700;
}

#menu .menu-group ul.links > li.is-current > a::before,
#menu .menu-group ul.links > li > a[aria-current="page"]::before {
	background: #9bf1ff;
}

/* ปุ่มด้านล่าง */

#menu .menu-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

#menu .menu-actions .button {
	min-width: 12rem;
	margin: 0;
}

/* จอขนาดกลาง แสดง 2 คอลัมน์ */

@media screen and (max-width: 1100px) {

	#menu {
		padding: 2.5rem 1.5rem;
	}

	#menu > .inner {
		width: min(94vw, 54rem);
	}

	#menu .menu-groups {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	#menu .menu-group-heading {
		min-height: 3.4rem;
	}

}

/* โทรศัพท์ แสดง 1 คอลัมน์ */

@media screen and (max-width: 736px) {

	#menu {
		align-items: flex-start;
		padding: 3.5rem 1rem 1rem;
	}

	#menu > .inner {
		width: 100%;
		max-height: calc(100vh - 4.5rem);
	}

	#menu .menu-inner {
		max-height: calc(100vh - 4.5rem);
		padding: 0 0.4rem 1rem 0;
	}

	#menu .menu-groups {
		grid-template-columns: 1fr;
	}

	#menu .menu-group {
		padding: 1rem;
	}

	#menu .menu-group-heading {
		min-height: 0;
	}

	#menu .menu-actions {
		align-items: stretch;
		flex-direction: column;
	}

	#menu .menu-actions .button {
		width: 100%;
		min-width: 0;
	}

}

/* โทรศัพท์ขนาดเล็ก */

@media screen and (max-width: 480px) {

	#menu .menu-group-heading h2 {
		font-size: 0.84rem;
	}

	#menu .menu-group ul.links > li > a:not(.button) {
		font-size: 0.74rem;
	}

}
/* =========================================================
   GENERAL INFORMATION PAGE
   ========================================================= */

.general-info-2565-banner,
.general-info-2570-banner {
	background:
		linear-gradient(
			135deg,
			rgba(25, 39, 68, 0.98),
			rgba(56, 93, 121, 0.94)
		);
}

.general-info-2565-banner .banner-kicker,
.general-info-2570-banner .banner-kicker {
	margin: 0 0 0.75rem;
	color: #f2c15f;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.5;
	text-transform: uppercase;
}
.program-objective-intro {
	margin: 0 0 1.25rem;
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.8;
}
.general-info-stack {
	display: grid;
	gap: 2rem;
}

.general-info-panel {
	min-width: 0;
}

/* ไอคอนและชื่อภาษาอังกฤษอยู่บรรทัดเดียวกัน */

.info-section-label {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0 0 0.8rem;
	color: #9bf1ff;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.4;
	text-transform: uppercase;
}

.info-section-label .icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: rgba(155, 241, 255, 0.12);
	color: #9bf1ff;
	font-size: 0.9rem;
	line-height: 1;
}

.info-section-label .icon::before {
	display: block;
	margin: 0;
	line-height: 1;
}

.general-info-heading {
	margin-bottom: 1.5rem;
}

.general-info-heading h2 {
	font-size: 1.35rem;
	line-height: 1.5;
}

.bilingual-info-grid,
.degree-info-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.bilingual-info-item,
.degree-language-block {
	min-width: 0;
	padding: 1.35rem;
	border: 1px solid rgba(212, 212, 255, 0.16);
	background: rgba(255, 255, 255, 0.045);
}

.language-label {
	display: inline-block;
	margin-bottom: 0.7rem;
	color: #9bf1ff;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.bilingual-info-item p {
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
	line-height: 1.8;
}

.degree-language-block h3 {
	margin: 0 0 1rem;
	color: #9bf1ff;
	font-size: 1rem;
}

.degree-details {
	margin: 0;
}

.degree-details > div {
	display: grid;
	grid-template-columns: 5.5rem minmax(0, 1fr);
	gap: 0.85rem;
	padding: 0.8rem 0;
	border-top: 1px solid rgba(212, 212, 255, 0.12);
}

.degree-details > div:first-child {
	padding-top: 0;
	border-top: 0;
}

.degree-details > div:last-child {
	padding-bottom: 0;
}

.degree-details dt {
	color: rgba(255, 255, 255, 0.58);
	font-size: 0.82rem;
	font-weight: 600;
}

.degree-details dd {
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
	line-height: 1.7;
}

.general-info-prose {
	max-width: 62rem;
}

.general-info-prose p {
	color: rgba(255, 255, 255, 0.76);
	line-height: 1.85;
}

.general-info-prose p:last-child {
	margin-bottom: 0;
}

.program-objective-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	counter-reset: program-objective;
	list-style: none;
}

.program-objective-list li {
	position: relative;
	min-width: 0;
	padding: 1.25rem 1.25rem 1.25rem 4.15rem;
	border: 1px solid rgba(212, 212, 255, 0.16);
	background: rgba(255, 255, 255, 0.045);
	counter-increment: program-objective;
}

.program-objective-list li::before {
	content: counter(program-objective);
	position: absolute;
	top: 1.2rem;
	left: 1.15rem;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: #9bf1ff;
	color: #242943;
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1;
}

.program-objective-list p {
	margin: 0;
	color: rgba(255, 255, 255, 0.76);
	font-size: 0.9rem;
	line-height: 1.75;
}

.contact-map-link {
	margin: 0.8rem 0 0;
}

@media screen and (max-width: 980px) {

	.bilingual-info-grid,
	.degree-info-grid,
	.program-objective-list {
		grid-template-columns: 1fr;
	}

}

@media screen and (max-width: 736px) {

	.general-info-stack {
		gap: 1.5rem;
	}

	.info-section-label {
		font-size: 0.72rem;
		letter-spacing: 0.07em;
	}

	.general-info-heading h2 {
		font-size: 1.2rem;
	}

}

@media screen and (max-width: 480px) {

	.info-section-label {
		width: 100%;
	}

	.bilingual-info-item,
	.degree-language-block {
		padding: 1.1rem;
	}

	.degree-details > div {
		grid-template-columns: 1fr;
		gap: 0.25rem;
	}

	.program-objective-list li {
		padding: 3.8rem 1.1rem 1.1rem;
	}

	.program-objective-list li::before {
		top: 1.05rem;
		left: 1.05rem;
	}

}

/* =========================================================
   STUDY PLAN
   ใช้ร่วมกันกับ plan.html และ plan_2565.html
   ========================================================= */

/* Banner */

.plan-2565-banner,
.plan-2570-banner {
	background:
		linear-gradient(
			135deg,
			rgba(25, 39, 68, 0.98),
			rgba(55, 94, 124, 0.94)
		);
}

.plan-2565-banner .banner-kicker,
.plan-2570-banner .banner-kicker {
	margin: 0 0 0.75rem;
	color: #f2c15f;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.5;
	text-transform: uppercase;
}

/* ภาพรวมแผนการศึกษา */

.study-plan-overview-panel {
	margin-bottom: 2.5rem;
}

.study-plan-overview {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.9rem;
	margin-top: 1.75rem;
}

/* หน้า 2565 ไม่มีช่องรวมตลอดหลักสูตร จึงใช้ 4 คอลัมน์ */

:is(.study-plan-2565-page, .study-plan-2570-page) .study-plan-overview {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* รองรับกล่องของทั้งสองหน้า */

.study-plan-overview-item,
.study-plan-year-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 9rem;
	padding: 1.15rem;
	border: 1px solid rgba(212, 212, 255, 0.16);
	border-top: 4px solid #6fc3df;
	border-bottom-color: rgba(212, 212, 255, 0.16);
	background: rgba(255, 255, 255, 0.045);
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.study-plan-overview-item span,
.study-plan-year-link span {
	display: block;
	min-height: 2.8rem;
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.5;
}

.study-plan-overview-item strong,
.study-plan-year-link strong {
	display: block;
	color: #9bf1ff;
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.1;
}

.study-plan-overview-item small,
.study-plan-year-link small {
	display: block;
	margin-top: 0.35rem;
	color: rgba(255, 255, 255, 0.52);
	font-size: 0.75rem;
	line-height: 1.4;
}

/* สีของแต่ละชั้นปีในหน้า 2565 */

:is(.study-plan-2565-page, .study-plan-2570-page)
.study-plan-year-link:nth-child(2) {
	border-top-color: #87c5a4;
}

:is(.study-plan-2565-page, .study-plan-2570-page)
.study-plan-year-link:nth-child(2) strong {
	color: #87c5a4;
}

:is(.study-plan-2565-page, .study-plan-2570-page)
.study-plan-year-link:nth-child(3) {
	border-top-color: #8d82c4;
}

:is(.study-plan-2565-page, .study-plan-2570-page)
.study-plan-year-link:nth-child(3) strong {
	color: #b8afe5;
}

:is(.study-plan-2565-page, .study-plan-2570-page)
.study-plan-year-link:nth-child(4) {
	border-top-color: #ec8d81;
}

:is(.study-plan-2565-page, .study-plan-2570-page)
.study-plan-year-link:nth-child(4) strong {
	color: #ec8d81;
}

/* กล่องยอดรวมของหน้า 2570 */

.study-plan-overview-total {
	border-top-color: #f2c15f;
	background: rgba(242, 193, 95, 0.08);
	cursor: default;
}

.study-plan-overview-total strong {
	color: #f2c15f;
}

/* Hover เฉพาะกล่องที่เป็นลิงก์ */

.study-plan-year-link:hover,
.study-plan-year-link:focus {
	border-color: #9bf1ff;
	background: rgba(155, 241, 255, 0.08);
	box-shadow: 0 0.8rem 1.8rem rgba(0, 0, 0, 0.16);
	transform: translateY(-0.15rem);
}

.study-plan-year-link:hover span,
.study-plan-year-link:focus span {
	color: #ffffff;
}

.study-plan-year-link:hover strong,
.study-plan-year-link:focus strong {
	color: #f2c15f;
}

.study-plan-year-link:focus-visible {
	outline: 2px solid #9bf1ff;
	outline-offset: 3px;
}

/* กลุ่มชั้นปี */

.study-year-stack {
	display: grid;
	gap: 3rem;
}

.study-plan-year,
.study-year-section {
	margin-top: 3rem;
	scroll-margin-top: 5.5rem;
}

.study-year-stack .study-year-section {
	margin-top: 0;
}

/* หัวข้อชั้นปี รองรับทั้งสองรูปแบบ */

.study-plan-year-heading,
.study-year-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 1.25rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(212, 212, 255, 0.16);
}

.study-year-heading > div {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-width: 0;
}

.study-plan-year-heading .content-kicker,
.study-year-heading .content-kicker {
	margin-bottom: 0.35rem;
}

.study-plan-year-heading h2,
.study-year-heading h2 {
	margin: 0;
	color: #ffffff;
	font-size: 1.6rem;
	line-height: 1.4;
}

/* หมายเลขชั้นปีของหน้า 2565 */

.study-year-number {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: #9bf1ff;
	color: #242943;
	font-size: 1.1rem;
	font-weight: 800;
	line-height: 1;
}

/* ป้ายหน่วยกิต */

.study-plan-year-total,
.study-year-total,
.semester-credit,
.study-semester-heading > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-height: 2.25rem;
	padding: 0.45rem 0.85rem;
	border: 1px solid rgba(155, 241, 255, 0.25);
	border-radius: 999px;
	background: rgba(155, 241, 255, 0.08);
	color: #9bf1ff;
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	white-space: nowrap;
}

/* กล่องภาคการศึกษา */

.study-semester {
	margin-bottom: 1.5rem;
	padding: 2rem;
	overflow: hidden;
	border: 1px solid rgba(212, 212, 255, 0.16);
	background: #2e3450;
	box-shadow: 0 0.7rem 1.8rem rgba(0, 0, 0, 0.14);
}

.study-semester + .study-semester {
	margin-top: 1.5rem;
}

.cooperative-semester {
	border-top: 4px solid #87c5a4;
}

/* หัวภาคการศึกษา */

.study-semester .content-panel-heading,
.study-semester-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}

.study-semester .content-panel-heading > div {
	min-width: 0;
}

.study-semester .content-panel-heading .content-kicker {
	margin-bottom: 0.35rem;
}

.study-semester .content-panel-heading h3,
.study-semester-heading h3 {
	margin: 0;
	color: #ffffff;
	font-size: 1.15rem;
	line-height: 1.5;
}

/* พื้นที่ตาราง */

.study-semester > .table-wrapper,
.elective-options > .table-wrapper {
	width: 100%;
	margin: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.study-plan-table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
}

/* ตารางหน้า 2570 มี 4 คอลัมน์ */

.plan-2570-page .study-plan-table {
	min-width: 48rem;
}

/* ตารางหน้า 2565 มี 3 คอลัมน์ */

:is(.study-plan-2565-page, .study-plan-2570-page) .study-plan-table {
	min-width: 42rem;
}

.study-plan-table thead {
	border-bottom: 0;
}

.study-plan-table th {
	padding: 0.85rem 0.9rem;
	border: 0;
	background: rgba(155, 241, 255, 0.09);
	color: #ffffff;
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.5;
	vertical-align: middle;
}

.study-plan-table td {
	padding: 0.9rem;
	border: 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.88rem;
	line-height: 1.65;
	vertical-align: top;
}

.study-plan-table tbody tr {
	border-top: 1px solid rgba(212, 212, 255, 0.1);
	background: transparent;
}

.study-plan-table tbody tr:nth-child(2n + 1) {
	background: rgba(255, 255, 255, 0.025);
}

.study-plan-table tbody tr:hover {
	background: rgba(155, 241, 255, 0.045);
}

/* ความกว้างตารางหน้า 2570 */

.plan-2570-page .study-plan-table th:nth-child(1),
.plan-2570-page .study-plan-table td:nth-child(1) {
	width: 9.5rem;
}

.plan-2570-page .study-plan-table th:nth-child(3),
.plan-2570-page .study-plan-table td:nth-child(3) {
	width: 6rem;
	text-align: center;
	white-space: nowrap;
}

.plan-2570-page .study-plan-table th:nth-child(4),
.plan-2570-page .study-plan-table td:nth-child(4) {
	width: 8rem;
	text-align: center;
	white-space: nowrap;
}

/* ความกว้างตารางหน้า 2565 */

:is(.study-plan-2565-page, .study-plan-2570-page) .study-plan-table th:nth-child(1),
:is(.study-plan-2565-page, .study-plan-2570-page) .study-plan-table td:nth-child(1) {
	width: 10rem;
}

:is(.study-plan-2565-page, .study-plan-2570-page) .study-plan-table th:nth-child(3),
:is(.study-plan-2565-page, .study-plan-2570-page) .study-plan-table td:nth-child(3) {
	width: 10rem;
	text-align: center;
	white-space: nowrap;
}

/* ชื่อวิชาและรหัสวิชา */

.study-plan-table td strong,
.course-title strong {
	display: block;
	color: #ffffff;
	font-weight: 700;
}

.study-plan-table td:first-child strong,
.course-code strong {
	color: #9bf1ff;
}

.study-plan-table td span,
.course-code span,
.course-title span {
	display: block;
	margin-top: 0.25rem;
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.78rem;
	line-height: 1.55;
}

.credit-cell {
	color: #f2c15f;
	font-weight: 700;
	text-align: center;
	white-space: nowrap;
}

/* แถวรวมหน่วยกิต รองรับทั้ง th และ td */

.study-plan-table tfoot {
	border-top: 0;
}

.study-plan-table tfoot tr {
	border-top: 2px solid rgba(155, 241, 255, 0.3);
}

.study-plan-table tfoot th,
.study-plan-table tfoot td {
	padding: 0.9rem;
	border: 0;
	background: rgba(155, 241, 255, 0.1);
	color: #ffffff;
	font-size: 0.86rem;
	font-weight: 700;
	line-height: 1.5;
}

.study-plan-table tfoot th[colspan="2"],
.study-plan-table tfoot td[colspan="2"] {
	text-align: right;
}

.study-plan-table tfoot th[colspan="2"] + th,
.study-plan-table tfoot td[colspan="2"] + td {
	color: #f2c15f;
	font-size: 1rem;
	text-align: center;
	white-space: nowrap;
}

/* หมายเหตุ */

.study-plan-notes,
.study-plan-note {
	margin-top: 1.25rem;
	padding: 1.1rem 1.2rem;
	border-left: 4px solid #9bf1ff;
	background: rgba(155, 241, 255, 0.06);
}

.study-plan-notes h4,
.study-plan-note h4 {
	margin: 0 0 0.75rem;
	color: #ffffff;
	font-size: 0.95rem;
	line-height: 1.5;
}

.study-plan-notes p,
.study-plan-note p {
	margin: 0 0 0.75rem;
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.82rem;
	line-height: 1.75;
}

.study-plan-notes p:last-child,
.study-plan-note p:last-child {
	margin-bottom: 0;
}

.study-plan-notes strong,
.study-plan-note strong {
	color: #9bf1ff;
}

.literacy-groups {
	padding: 0.75rem 0.85rem;
	border: 1px solid rgba(212, 212, 255, 0.12);
	background: rgba(0, 0, 0, 0.1);
	color: rgba(255, 255, 255, 0.6);
}

/* รายวิชาเฉพาะเลือกของหน้า 2565 */

.elective-options {
	margin-top: 1.25rem;
	padding: 1.15rem;
	border: 1px solid rgba(212, 212, 255, 0.13);
	background: rgba(0, 0, 0, 0.09);
}

.elective-options > h4 {
	margin: 0 0 1rem;
	color: #ffffff;
	font-size: 0.95rem;
	line-height: 1.5;
}

.elective-table {
	margin-bottom: 0;
}

/* Tablet */

@media screen and (max-width: 980px) {

	.study-plan-overview {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	:is(.study-plan-2565-page, .study-plan-2570-page) .study-plan-overview {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.study-plan-overview-total {
		grid-column: span 2;
	}

}

/* Mobile */

@media screen and (max-width: 736px) {

	.study-plan-overview,
	:is(.study-plan-2565-page, .study-plan-2570-page) .study-plan-overview {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.study-plan-overview-total {
		grid-column: 1 / -1;
	}

	.study-plan-overview-item,
	.study-plan-year-link {
		min-height: 7.5rem;
	}

	.study-plan-overview-item span,
	.study-plan-year-link span {
		min-height: 0;
	}

	.study-plan-year,
	.study-year-section {
		margin-top: 2.5rem;
	}

	.study-plan-year-heading,
	.study-year-heading,
	.study-semester .content-panel-heading,
	.study-semester-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.75rem;
	}

	.study-year-heading > div {
		align-items: flex-start;
	}

	.study-plan-year-total,
	.study-year-total,
	.semester-credit,
	.study-semester-heading > span {
		white-space: normal;
	}

	.study-semester {
		padding: 1.5rem;
	}

	.study-plan-notes,
	.study-plan-note {
		padding: 1rem;
	}

}

/* Small mobile */

@media screen and (max-width: 480px) {

	.study-plan-overview,
	:is(.study-plan-2565-page, .study-plan-2570-page) .study-plan-overview {
		grid-template-columns: 1fr;
	}

	.study-plan-overview-total {
		grid-column: auto;
	}

	.study-plan-overview-item,
	.study-plan-year-link {
		min-height: 0;
		padding: 1rem;
	}

	.study-plan-year-heading h2,
	.study-year-heading h2 {
		font-size: 1.35rem;
	}

	.study-year-number {
		width: 2.6rem;
		height: 2.6rem;
	}

	.study-semester {
		padding: 1.2rem;
	}

}

/* ลดการเคลื่อนไหว */

@media (prefers-reduced-motion: reduce) {

	.study-plan-overview-item,
	.study-plan-year-link {
		transition: none;
	}

	.study-plan-year-link:hover,
	.study-plan-year-link:focus {
		transform: none;
	}

}

/* =========================================================
   CURRICULUM DOCUMENT LIBRARY
   ========================================================= */

.curriculum-documents-banner {
	background:
		linear-gradient(
			135deg,
			rgba(25, 39, 68, 0.98),
			rgba(76, 70, 112, 0.94)
		);
}

.curriculum-documents-banner .banner-kicker {
	margin: 0 0 0.75rem;
	color: #f2c15f;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.5;
	text-transform: uppercase;
}

.curriculum-document-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.curriculum-document-card {
	display: grid;
	grid-template-columns: 4.5rem minmax(0, 1fr);
	align-items: start;
	gap: 1.2rem;
	min-width: 0;
	padding: 1.4rem;
	border: 1px solid rgba(212, 212, 255, 0.16);
	border-top: 4px solid #6fc3df;
	background: rgba(255, 255, 255, 0.045);
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.curriculum-document-card:hover {
	border-color: #9bf1ff;
	background: rgba(255, 255, 255, 0.065);
	box-shadow: 0 0.8rem 1.8rem rgba(0, 0, 0, 0.16);
	transform: translateY(-0.15rem);
}

.document-card-featured {
	grid-column: 1 / -1;
	border-top-color: #f2c15f;
	background: rgba(242, 193, 95, 0.06);
}

.document-card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4.5rem;
	height: 4.5rem;
	border-radius: 50%;
	background: rgba(111, 195, 223, 0.12);
	color: #6fc3df;
	font-size: 1.55rem;
	line-height: 1;
}

.document-card-featured .document-card-icon {
	background: rgba(242, 193, 95, 0.12);
	color: #f2c15f;
}

.document-card-content {
	min-width: 0;
}

.document-card-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.document-year,
.document-status {
	display: inline-flex;
	align-items: center;
	min-height: 1.85rem;
	padding: 0.3rem 0.65rem;
	border: 1px solid rgba(111, 195, 223, 0.24);
	border-radius: 999px;
	background: rgba(111, 195, 223, 0.08);
	color: #6fc3df;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1.3;
}

.document-status {
	border-color: rgba(212, 212, 255, 0.16);
	background: rgba(255, 255, 255, 0.045);
	color: rgba(255, 255, 255, 0.68);
}

.document-status-latest {
	border-color: rgba(242, 193, 95, 0.28);
	background: rgba(242, 193, 95, 0.1);
	color: #f2c15f;
}

.curriculum-document-card h3 {
	margin: 0 0 0.85rem;
	color: #ffffff;
	font-size: 1.15rem;
	line-height: 1.5;
}

.document-full-title {
	margin-bottom: 0.8rem;
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.92rem;
	line-height: 1.8;
}

.document-description {
	margin-bottom: 1rem;
	color: rgba(255, 255, 255, 0.58);
	font-size: 0.82rem;
	line-height: 1.65;
}

.document-file-info {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	min-width: 0;
	margin-bottom: 1.15rem;
	padding: 0.7rem 0.8rem;
	border: 1px solid rgba(212, 212, 255, 0.11);
	background: rgba(0, 0, 0, 0.1);
	color: rgba(255, 255, 255, 0.52);
	font-size: 0.72rem;
	line-height: 1.5;
}

.document-file-info .icon {
	flex: 0 0 auto;
	color: #ec8d81;
}

.document-file-info span:last-child {
	min-width: 0;
	overflow-wrap: anywhere;
}

.document-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin: 0;
}

.document-actions li {
	padding: 0;
}

.document-actions .button {
	margin: 0;
}

.document-access-note {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 1rem;
	align-items: start;
	margin-top: 1.5rem;
	padding: 1.15rem;
	border-left: 4px solid #9bf1ff;
	background: rgba(155, 241, 255, 0.06);
}

.document-access-note > .icon {
	color: #9bf1ff;
	font-size: 1.15rem;
	line-height: 1.5;
}

.document-access-note h3 {
	margin: 0 0 0.35rem;
	color: #ffffff;
	font-size: 0.92rem;
}

.document-access-note p {
	margin: 0;
	color: rgba(255, 255, 255, 0.64);
	font-size: 0.8rem;
	line-height: 1.7;
}

@media screen and (max-width: 980px) {

	.curriculum-document-grid {
		grid-template-columns: 1fr;
	}

	.document-card-featured {
		grid-column: auto;
	}

}

@media screen and (max-width: 736px) {

	.curriculum-document-card {
		grid-template-columns: 3.75rem minmax(0, 1fr);
		gap: 1rem;
		padding: 1.15rem;
	}

	.document-card-icon {
		width: 3.75rem;
		height: 3.75rem;
		font-size: 1.3rem;
	}

	.document-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.document-actions li,
	.document-actions .button {
		width: 100%;
	}

}

@media screen and (max-width: 480px) {

	.curriculum-document-card {
		display: block;
	}

	.document-card-icon {
		margin-bottom: 1rem;
	}

	.document-access-note {
		grid-template-columns: 1fr;
	}

}
/* ============================================================
   CONTACT / FEEDBACK / COMPLAINT PAGE
   ============================================================ */

.contact-feedback-page #main {
	padding-bottom: 0;
}

.contact-feedback-page #contact-feedback > .inner {
	padding-top: 3.5rem;
	padding-bottom: 4rem;
}


/* ------------------------------------------------------------
   Banner
   ------------------------------------------------------------ */

.contact-feedback-banner .content {
	max-width: 48rem;
}

.contact-feedback-banner .content p {
	max-width: 42rem;
}


/* ------------------------------------------------------------
   Quick choice cards
   ------------------------------------------------------------ */

.feedback-choice-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	margin: 2.75rem 0 3rem;
}

.feedback-choice-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 16rem;
	padding: 1.75rem;
	border: solid 1px rgba(212, 212, 255, 0.18);
	border-bottom: solid 1px rgba(212, 212, 255, 0.18);
	background: rgba(255, 255, 255, 0.035);
	transition:
		transform 0.2s ease,
		background-color 0.2s ease,
		border-color 0.2s ease;
}

.feedback-choice-card:hover {
	transform: translateY(-0.2rem);
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(212, 212, 255, 0.38);
}

.feedback-choice-card .choice-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	margin-bottom: 1.25rem;
	border: solid 1px rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	font-size: 1.2rem;
}

.feedback-choice-card h3 {
	margin-bottom: 0.75rem;
}

.feedback-choice-card p {
	flex-grow: 1;
	margin-bottom: 1.5rem;
	color: rgba(244, 244, 255, 0.78);
	line-height: 1.75;
}

.feedback-choice-card .choice-link {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.feedback-choice-card .choice-link .icon {
	margin-left: 0.4rem;
}


/* ------------------------------------------------------------
   Feedback / complaint guide
   ------------------------------------------------------------ */

.feedback-guide {
	margin: 0 0 3rem;
	padding: 1.75rem;
	border-left: solid 3px #6fc3df;
	background: rgba(111, 195, 223, 0.07);
}

.feedback-guide .info-section-label {
	margin-bottom: 1.5rem;
}

.feedback-guide-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem;
}

.feedback-guide-grid > div + div {
	border-left: solid 1px rgba(212, 212, 255, 0.16);
	padding-left: 2rem;
}

.feedback-guide-grid h3 {
	margin-bottom: 0.65rem;
}

.feedback-guide-grid p {
	margin-bottom: 0;
	color: rgba(244, 244, 255, 0.78);
	line-height: 1.8;
}


/* ------------------------------------------------------------
   Main channel panels
   ------------------------------------------------------------ */

.feedback-channel-panel {
	margin-top: 2rem;
	padding: 2.5rem;
	scroll-margin-top: 5rem;
}

.feedback-channel-heading {
	display: flex;
	align-items: flex-start;
	gap: 1.35rem;
	margin-bottom: 1.25rem;
}

.feedback-channel-icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	margin-top: 0.15rem;
	border: solid 1px rgba(255, 255, 255, 0.22);
	border-radius: 50%;
	font-size: 1.25rem;
}

.feedback-channel-heading .content-kicker {
	margin-bottom: 0.25rem;
}

.feedback-channel-heading .major {
	margin-bottom: 0;
}

.feedback-channel-heading .major h2 {
	margin-bottom: 0;
}

.feedback-channel-intro {
	max-width: 55rem;
	margin-bottom: 2rem;
	font-size: 1.05rem;
	line-height: 1.85;
}


/* ------------------------------------------------------------
   Inquiry contact options
   ------------------------------------------------------------ */

.contact-option-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 2rem;
}

.contact-option {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: 6.25rem;
	padding: 1.25rem;
	border: solid 1px rgba(212, 212, 255, 0.17);
	border-bottom: solid 1px rgba(212, 212, 255, 0.17);
	background: rgba(255, 255, 255, 0.035);
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease;
}

a.contact-option:hover {
	background: rgba(255, 255, 255, 0.075);
	border-color: rgba(212, 212, 255, 0.35);
}

.contact-option > .icon {
	flex: 0 0 auto;
	width: 2.5rem;
	text-align: center;
	font-size: 1.25rem;
}

.contact-option > span:last-child {
	min-width: 0;
}

.contact-option strong,
.contact-option small {
	display: block;
}

.contact-option strong {
	margin-bottom: 0.25rem;
	color: #ffffff;
}

.contact-option small {
	color: rgba(244, 244, 255, 0.7);
	line-height: 1.5;
	word-break: break-word;
}

.contact-option-phone small a {
	border-bottom: 0;
}


/* ------------------------------------------------------------
   Feature list
   ------------------------------------------------------------ */

.feedback-feature-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin: 2rem 0;
}

.feedback-feature-list > div {
	display: flex;
	align-items: flex-start;
	gap: 0.9rem;
	padding: 1.25rem;
	border: solid 1px rgba(212, 212, 255, 0.14);
	background: rgba(255, 255, 255, 0.025);
}

.feedback-feature-list > div > .icon {
	flex: 0 0 auto;
	margin-top: 0.15rem;
	font-size: 1.15rem;
}

.feedback-feature-list p {
	margin: 0;
	line-height: 1.65;
}

.feedback-feature-list strong,
.feedback-feature-list p span {
	display: block;
}

.feedback-feature-list strong {
	margin-bottom: 0.35rem;
}

.feedback-feature-list p span {
	color: rgba(244, 244, 255, 0.7);
	font-size: 0.92rem;
}


/* ------------------------------------------------------------
   Form action
   ------------------------------------------------------------ */

.feedback-action {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: solid 1px rgba(212, 212, 255, 0.15);
}

.feedback-action .button {
	margin-bottom: 0.8rem;
}

.feedback-action p {
	margin-bottom: 0;
	color: rgba(244, 244, 255, 0.58);
	font-size: 0.85rem;
}


/* ------------------------------------------------------------
   Complaint notice
   ------------------------------------------------------------ */

.feedback-notice {
	display: flex;
	align-items: flex-start;
	gap: 0.9rem;
	margin-top: 1.75rem;
	padding: 1.25rem 1.4rem;
	border-left: solid 3px #e7b788;
	background: rgba(231, 183, 136, 0.07);
}

.feedback-notice > .icon {
	flex: 0 0 auto;
	margin-top: 0.2rem;
}

.feedback-notice p {
	margin: 0;
	line-height: 1.75;
}


/* ------------------------------------------------------------
   Alternative contact
   ------------------------------------------------------------ */

.feedback-alternative {
	display: flex;
	align-items: flex-start;
	gap: 1.25rem;
	margin-top: 2rem;
	padding: 1.5rem 1.75rem;
	border: solid 1px rgba(212, 212, 255, 0.15);
	background: rgba(255, 255, 255, 0.025);
}

.feedback-alternative > .icon {
	flex: 0 0 auto;
	margin-top: 0.2rem;
	font-size: 1.3rem;
}

.feedback-alternative h3 {
	margin-bottom: 0.45rem;
}

.feedback-alternative p {
	margin-bottom: 0;
	line-height: 1.7;
}


/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */

@media screen and (max-width: 980px) {

	.feedback-choice-grid,
	.feedback-feature-list {
		grid-template-columns: 1fr;
	}

	.feedback-choice-card {
		min-height: 0;
	}

	.contact-option-grid {
		grid-template-columns: 1fr;
	}

}


@media screen and (max-width: 736px) {

	.contact-feedback-page #contact-feedback > .inner {
		padding-top: 2.5rem;
		padding-bottom: 3rem;
	}

	.feedback-choice-grid {
		margin-top: 2rem;
	}

	.feedback-guide {
		padding: 1.35rem;
	}

	.feedback-guide-grid {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.feedback-guide-grid > div + div {
		padding-left: 0;
		padding-top: 1.25rem;
		border-left: 0;
		border-top: solid 1px rgba(212, 212, 255, 0.16);
	}

	.feedback-channel-panel {
		padding: 1.5rem;
	}

	.feedback-channel-heading {
		display: block;
	}

	.feedback-channel-icon {
		margin-bottom: 1rem;
	}

	.feedback-channel-intro {
		font-size: 1rem;
	}

	.feedback-alternative {
		padding: 1.25rem;
	}

}


@media screen and (max-width: 480px) {

	.feedback-choice-card {
		padding: 1.4rem;
	}

	.feedback-channel-panel {
		padding: 1.25rem;
	}

	.feedback-action .button {
		width: 100%;
		white-space: normal;
		height: auto;
		min-height: 3.5em;
		padding-top: 0.8em;
		padding-bottom: 0.8em;
		line-height: 1.5;
	}

}

/* ============================================================
   FOOTER QUICK LINKS
   ============================================================ */

#footer .footer-quick-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.5rem;
	margin: 0 0 1.5rem 0;
	padding: 0;
	list-style: none;
}

#footer .footer-quick-links li {
	margin: 0;
	padding: 0;
}

#footer .footer-quick-links a {
	border-bottom: 0;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.03em;
}

#footer .footer-quick-links a::before {
	margin-right: 0.6rem;
}

#footer .footer-quick-links a:hover {
	color: #9bf1ff;
}

@media screen and (max-width: 736px) {

	#footer .footer-quick-links {
		margin-bottom: 1.25rem;
	}

	#footer .footer-quick-links a {
		font-size: 0.85rem;
	}

}