/*
#4F8786
#87654f
#5e4737
#575787
#3d3d5e
*/

/* Change the highlight color for the entire webpage */
::selection {
	background: #F1BA2C;
	/* Change the background color of the highlight */
	color: #fff;
	/* Change the text color when highlighted */
}

/* For compatibility with older Firefox versions */
::-moz-selection {
	background: #F1BA2C;
	color: #fff;
}

* {
	touch-action: pan-y;
}

a {
	text-decoration: none !important;
}

a.disabled {
	pointer-events: none;
	cursor: default;
	color: #DDD;
}

#divLogo {
	margin-top: 1rem;
}

#divLogo img {
	width: 150px;
}

#divLogo h1 {
	text-align: left;
	font-size: 1.4rem;
	letter-spacing: 0rem;
	color: #333;
	margin-top: 0.2rem;
}

#divLogo p {
	text-align: left;
	font-size: 1.2rem;
	letter-spacing: 0rem;
	margin-top: -0.3rem;
}

#navbarNavDropdown {
	justify-content: right;
	margin-top: 1rem;
}

.navbar-brand {
	margin: 0 auto;
	width: 100%
}

.navbar-elixir {
	/* background-color: transparent; */
	/* background-color: #FFF; */
	background-color: rgba(255, 255, 255, 1);
	/* box-shadow: none; */
}

.navbar-expand-lg .navbar-collapse {
	display: block !important;
	flex-basis: auto !important;
	align-items: end;
}

.navbar-nav {
	display: inline-flex;
}

.ass-font-sm {
	padding: 5px;
	font-size: 14px;
}

.ass-font-md {
	padding: 5px;
	font-size: 16px;
}

.ass-font-lg {
	padding: 5px;
	padding-right: 10px;
	font-size: 18px;
}

.divSearchBox {
	padding: 0 0.5rem;
	background-color: #FFF;
	border-radius: 25px;
	border: 1px solid #CCC;
	margin-left: 1rem;
	margin-right: 1rem;
	max-width: 28rem;
}

@media (max-width:767px) {
	#znav-container .navbar {
		flex-wrap: wrap !important;
		justify-content: center !important;
		text-align: center !important;
	}

	#divLogo {
		flex: 0 0 100% !important;
		width: 100% !important;
		max-width: 100% !important;
		justify-content: center !important;
		margin-top: 0.5rem;
		margin-bottom: 0.25rem;
	}

	#divLogo img {
		margin-left: auto;
		margin-right: auto;
		display: block;
	}

	.divSearchBox {
		margin-left: 0.5rem;
		margin-right: 0.5rem;
		max-width: none;
		order: 2;
		flex: 1 1 auto;
	}

	#znav-container .navbar-collapse {
		order: 3;
		flex-grow: 0;
	}
}

.divSearchBox input, .divSearchBox input:focus {
	background: none;
	border: none;
	box-shadow: none !important;
	height: 2.2rem;
	font-size: 0.9rem;
	font-weight: 600;
}

#accordionExample {
	width: 95%;
}

#bannerVideo {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	transform: translate(-50%, -50%);
	/* Centers the video responsively */
	z-index: -1;
	/* Pushes the video behind the content */
	object-fit: cover;
	/* Ensures the video covers the container while maintaining aspect ratio */

}

.breadcrumb {
	margin-bottom: 0;
}

.content-overlay {
	position: fixed;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	transform: translate(-50%, -50%);
	/* Centers the video responsively */
	z-index: 1;
	/* Ensures content is above the video */
	object-fit: cover;
	/* Ensures the video covers the container while maintaining aspect ratio */
	/* Add styling for your content here, e.g., padding, text-align, flexbox for centering */
	background: rgba(1, 9, 54, 0.5);
	/* Optional: Adds a dark overlay for better text contrast */
}

.glow-text {
	text-shadow: 2px 2px 5px #FFF;
}

.page-title {
	font-size: 3rem !important;
}


.home-block {
	background-color: #FFFFFF;
	border-radius: 25px;
	padding-top: 50px;
	margin-top: -50px;
	height: 100%;
}

.countnum {
	font-size: 3rem;
	font-weight: 600;
	/* color: #333; */

	color: #8668ad;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-image: -webkit-linear-gradient(0deg, #8668ad 0%, #55bbeb 100%);
}



.relative {
	position: relative;
}

.counter-icon {
	font-size: 6rem;
	position: absolute;
	left: -80px;
	right: 0;
	top: -50px;
	z-index: -1;
	opacity: 0.2;
}

#section-search {
	position: relative;
	border-right: thin #999 solid;
	/*background: url(../images/img_seach.png) right top no-repeat;*/
}

#search-count {
	border-left: 6px #CDE8DF solid;
	margin: 10px 0;
	padding-left: 10px;
}

#search-hint {
	border-left: 6px #4DB7E3 solid;
	padding-left: 10px;
}

#search-result {
	margin-top: 15px;
}

div:has(#search-result) {
	min-height: 500px;
}

#search-result .btn {
	min-width: 100%;
	margin: 0.5rem 0;
	padding: 1.5rem 0.2rem;
	font-size: 1rem;
	text-wrap: pretty;
	height: 100%;
	height: -moz-available;
	/* WebKit-based browsers will ignore this. */
	height: -webkit-fill-available;
	/* Mozilla-based browsers will ignore this. */
	height: fill-available;
}


.card-header {
	padding: 0;
}

.card-header button {
	font-weight: 400;
	padding: 12px 35px 12px 15px;
	display: inline-block;
	width: 100%;
	background-color: #4F8786;
	color: #ffffff;
	position: relative;
	text-decoration: none;
	cursor: pointer;
}

.card-header button.collapsed, .card-header button:hover {
	color: #ffffff;
	background-color: #999999;
	text-decoration: none;
}

.card-header button.btn {
	font-size: 1rem;
}

#navlist {
	list-style-type: none;
	margin: 0;
	padding: 0;
	width: 100%;
	background-color: #f1f1f1;
}

#navlist li a {
	display: block;
	padding: 8px 16px;
	text-decoration: none;
}

#navlist li a:hover {
	background-color: #555;
	color: white;
}

#navlist li .active {
	background-color: #4CAF50;
	color: white;
}

.znav-container a:not(.btn) {
	margin: 0.4rem 1.2rem;
	;
}

.znav-container .nohover, .znav-container .nohover:hover {
	border: none;
}

#sectionGlosses {
	min-height: 500px;
}

.vr {
	display: inline-block;
	align-self: stretch;
	width: 1px;
	min-height: 100% !important;
	background-color: currentcolor;
	opacity: .25;
}

/* Compact variant number menu */
.variant-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem 0.75rem;
	width: 100%;
	padding: 0.4rem 0.75rem;
	background: #f4f6fa;
	border: 1px solid #dce3ef;
	border-radius: 999px;
	max-width: max-content;
	margin-left: auto;
	margin-right: auto;
}

.variant-nav__label {
	font-size: 0.85rem;
	font-weight: 700;
	color: #1F2D5E;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.variant-nav__meta {
	font-size: 0.75rem;
	font-weight: 600;
	color: #64748b;
	padding: 0.15rem 0.5rem;
	background: #fff;
	border: 1px solid #dce3ef;
	border-radius: 999px;
	white-space: nowrap;
	line-height: 1.2;
}

.variant-nav__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.3rem;
}

.variant-nav__chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	height: 2rem;
	padding: 0 0.45rem;
	margin: 0;
	border: 1px solid #c9d3e4;
	border-radius: 999px;
	background: #fff;
	color: #475569;
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.variant-nav__chip:hover {
	border-color: #1F2D5E;
	color: #1F2D5E;
	background: #eef2f8;
}

.variant-nav__chip:focus-visible {
	outline: 2px solid #1F2D5E;
	outline-offset: 2px;
}

.variant-nav__chip.is-selected {
	background: #1F2D5E;
	border-color: #1F2D5E;
	color: #fff;
	box-shadow: 0 1px 2px rgba(31, 45, 94, 0.25);
}

.variant-nav__chip.is-selected:hover {
	background: #162247;
	border-color: #162247;
	color: #fff;
}

@media (prefers-reduced-motion: reduce) {
	.variant-nav__chip {
		transition: none;
	}
}

@media (max-width: 575.98px) {
	.variant-nav {
		border-radius: 1rem;
		max-width: 100%;
		padding: 0.5rem 0.65rem;
		gap: 0.4rem 0.55rem;
	}

	.variant-nav__chip {
		min-width: 1.85rem;
		height: 1.85rem;
		font-size: 0.8rem;
	}
}

/* Gloss handshape cards (H1 / H2) */
.handshape-panel {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: left;
	gap: 0.75rem;
	padding-top: 0.25rem;
}

.handshape-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.45rem;
	flex: 1 1 8rem;
	max-width: 10rem;
	min-width: 7.25rem;
	padding: 0.7rem 0.65rem 0.65rem;
	background: #f4f6fa;
	border: 1px solid #dce3ef;
	border-radius: 1rem;
	text-decoration: none !important;
	color: inherit;
	cursor: pointer;
	transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.handshape-card:hover {
	background: #fff;
	border-color: #1F2D5E;
	box-shadow: 0 4px 14px rgba(31, 45, 94, 0.1);
	transform: translateY(-2px);
}

.handshape-card:focus-visible {
	outline: 2px solid #1F2D5E;
	outline-offset: 2px;
}

.handshape-card__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.3rem;
	text-align: center;
}

.handshape-card__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.1rem;
	height: 1.35rem;
	padding: 0 0.45rem;
	border-radius: 999px;
	background: #1F2D5E;
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
}

.handshape-card__badge--h2 {
	background: #475569;
}

.handshape-card__title {
	font-size: 0.82rem;
	font-weight: 700;
	color: #1F2D5E;
	line-height: 1.25;
}

.handshape-card__figure {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 1;
	max-width: 5.5rem;
	padding: 0.45rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 0.75rem;
}

.handshape-card__figure img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 4.75rem;
	object-fit: contain;
}

.handshape-card__code {
	font-size: 0.72rem;
	font-weight: 600;
	color: #64748b;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
}

.handshape-card:hover .handshape-card__code {
	color: #1F2D5E;
}

@media (prefers-reduced-motion: reduce) {
	.handshape-card {
		transition: none;
	}

	.handshape-card:hover {
		transform: none;
	}
}

@media (max-width: 767.98px) {
	.handshape-panel {
		margin-top: 1rem;
		margin-bottom: 0.5rem;
	}

	.handshape-card {
		flex: 1 1 calc(50% - 0.4rem);
		max-width: none;
	}
}

/* Gloss sign ID + source metadata */
.gloss-meta {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	width: 100%;
	margin-top: 0.85rem;
	padding: 0.7rem 0.85rem;
	background: #f4f6fa;
	border: 1px solid #dce3ef;
	border-radius: 0.85rem;
	text-align: left;
}

.gloss-meta__row {
	display: grid;
	grid-template-columns: 5em 1fr;
	align-items: center;
	column-gap: 0.65rem;
	row-gap: 0.25rem;
}

.gloss-meta__row--name {
	align-items: start;
	padding-bottom: 0.55rem;
	border-bottom: 1px solid #e2e8f0;
}

.gloss-meta__row--source {
	align-items: start;
	padding-top: 0.55rem;
	border-top: 1px solid #e2e8f0;
}

.gloss-meta__row--remark {
	align-items: start;
	padding-top: 0.55rem;
	border-top: 1px solid #e2e8f0;
}

.gloss-meta__label {
	width: 5em;
	font-size: 1rem;
	font-weight: 700;
	color: #64748b;
	line-height: 1.45;
}

.gloss-meta__name {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	color: #1F2D5E;
	line-height: 1.35;
}

.gloss-meta__id {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	padding: 0.2rem 0.55rem;
	border-radius: 0.4rem;
	background: #fff;
	border: 1px solid #c9d3e4;
	color: #1F2D5E;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	word-break: break-all;
}

.gloss-meta__source {
	margin: 0;
	font-size: 1rem;
	font-weight: 500;
	color: #334155;
	line-height: 1.45;
}

.gloss-meta__remark {
	margin: 0;
	font-size: 1rem;
	font-weight: 500;
	color: #334155;
	line-height: 1.45;
}

.gloss-meta__categories {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35rem;
}

.gloss-meta__cat-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 1rem;
	font-weight: 600;
	color: #1F2D5E;
	text-decoration: none !important;
	line-height: 1.4;
	transition: color 160ms ease;
}

.gloss-meta__cat-link:hover {
	color: #F9960D;
}

.gloss-meta__cat-link i {
	font-size: 0.9rem;
	opacity: 0.8;
}

.gloss-meta__row--category {
	align-items: start;
	padding-bottom: 0.55rem;
	border-bottom: 1px solid #e2e8f0;
}

/* Reports / stats panel — clearly separated from gloss meta above */
#section-result {
	margin-top: 2rem;
	margin-bottom: 1.5rem;
	padding: 1.75rem 1.5rem 2rem;
	background: #e8eef6;
	border: 1px solid #c5d0e0;
	border-radius: 1rem;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

#section-result > .section-result__inner > h4 {
	color: #1F2D5E;
	margin-bottom: 1.25rem;
}

#section-result h5 {
	color: #334155;
	margin-top: 0.5rem;
	margin-bottom: 0;
}

.stat-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.stat-heading h5 {
	flex: 1 1 auto;
	margin: 0;
}

.stat-detail-btn {
	flex: 0 0 auto;
	min-width: 2.25rem;
	min-height: 2.25rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-color: #1F2D5E;
	color: #1F2D5E;
	cursor: pointer;
}

.stat-detail-btn:hover,
.stat-detail-btn:focus {
	background-color: #1F2D5E;
	border-color: #1F2D5E;
	color: #fff;
}

.stat-detail-table th,
.stat-detail-table td {
	vertical-align: middle;
	font-size: 0.95rem;
}

/* Keep detail modals above page overlays (gloss-close is 2001) */
#usageDetailModal,
#signFromDetailModal {
	z-index: 1060;
}

body.modal-open .modal-backdrop {
	z-index: 1050;
}

@media (max-width: 767.98px) {
	#section-result {
		margin-top: 1.5rem;
		padding: 1.25rem 1rem 1.5rem;
		border-radius: 0.85rem;
	}
}

.gloss-control {
	position: sticky;
	left: 0;
	width: 50px;
	font-size: 36px;
	color: #fff;
	text-align: center;
	text-shadow: #fff;
}

.gloss-control.left, .gloss-control.right {
	position: sticky;
	bottom: 50%;
	z-index: 5;
	display: inline-block;
	margin-top: -10px;
	/* background: #F9960D; */
	border-radius: 25px;
	width: 50px;
	height: 50px;
}

.btn-custom {
	border: 1px solid #DDD;
	opacity: 0;
	transition: opacity 0.5s ease-out;
	border-radius: 10px;
	/* Adjust padding here to avoid affecting max-height calculation */
}

.btn-custom:hover {
	background-image: linear-gradient(to top, #accbee 0%, #e7f0fd 100%);
}

.btn-custom.fade-in {
	/* Final shown state */
	opacity: 1;
}

.gloss-control.right {
	float: right;
}

.gloss-close, .gloss-top {
	position: fixed;
	right: 1rem;
	bottom: 3rem;
	z-index: 2001;
}

.gloss-close a, .gloss-top a {
	font-size: 1.3rem;
	border-radius: 50%;
	padding: 0.8rem 1.2rem;
	opacity: 0.8;
	border: none;
}

.background-footer {
	background-color: #F8E9DD;
}

@media (max-width:767px) {
	.gloss-control.left, .gloss-control.right {
		top: -40px;
	}

	#search-result .btn {
		font-size: 1.2rem;
		height: auto;
	}

}

/*section search*/
@media (max-width:991px) {
	#section-search {
		position: fixed;
		z-index: 1030 !important;
		top: 0;
		left: 0;
		-webkit-transition: 0.3s;
		-o-transition: 0.3s;
		transition: 0.3s;
		-webkit-transform: translateX(-100%);
		-moz-transform: translateX(-100%);
		-ms-transform: translateX(-100%);
		-o-transform: translateX(-100%);
		transform: translateX(-100%);
		bottom: 0;
		width: 100%;
		padding: 40px 30px 40px 30px;
		overflow: auto;
		border: none;
	}

	#section-search.fh5co-awake {
		-webkit-transform: translateX(50px);
		-moz-transform: translateX(0px);
		-ms-transform: translateX(0px);
		-o-transform: translateX(0px);
		transform: translateX(0px);
	}

	#section-search .fh5co-offcanvass-close {
		position: absolute;
		right: 30px;
		top: 30px;
		text-transform: uppercase;
		font-size: 20px;
		letter-spacing: 2px;
		font-family: "Montserrat", arial, sans-serif;
		z-index: 99;
		float: left;
		color: #444;
		width: 30px;
		text-align: right;
		margin-right: 8px;
	}

	#section-search .fh5co-offcanvass-close i {
		font-size: 20px;
		float: right;
		margin-left: 10px;
		color: red;
	}

	#section-search .fh5co-offcanvass-close:hover, #section-search .fh5co-offcanvass-close:focus, #section-search .fh5co-offcanvass-close:active {
		outline: none;
		text-decoration: none;
	}

	.navbar-nav {
		text-align: center;
	}

	.znav-container ul li a:not(.btn) {
		margin-left: 0;
	}
}


@media (max-width: 61.99em) {
	#webtitle img {
		display: block;
		margin: 0.3em auto;
	}

	#webtitle span {
		display: block;
		white-space: normal;
		max-width: 100%;
		text-align: center;
	}

	#divLogoTitle {
		display: none;
	}
}

.background-color-purple {
	background-color: #6D78E0;
}

.background-color-red {
	background-color: #ED2D24
}

.background-color-light-blue {
	background-color: #4DB7E3;
}

.background-color-dark-grey {
	background-color: #333;
}

.text-dark-grey {
	color: #333;
}

.text-light-grey {
	color: #8C8C95;
}

.text-light-grey2 {
	color: #DDD;
}

.text-dark-blue {
	color: #1F2D5E;
}

.btn-dark-blue {
	color: #FFF;
	background-color: #1F2D5E;
}

.btn-dark-blue:hover {
	color: #FFF;
	background-color: #465da8;
}

footer, footer span, footer p {
	font-size: 0.875rem;
}

footer a {
	color: #DDD;
}

footer a:hover {
	color: #4DB7E3;
}

footer .mailto {
	color: #4DB7E3;
}

.footer-menu {
	list-style: none;
	margin-left: -20px;
}

.hidden {
	opacity: 0;
}


/* Search bar */
.search-container {
	margin-top: -90px;
	z-index: 10;
	position: relative;
}

.search-container-inside {
	margin-top: 40px;
	z-index: 10;
	position: relative;

}

.search-box {
	background: white;
	border-radius: 3rem;
	padding: 0.75rem;
	box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
}

.search-input {
	border: none;
	box-shadow: none !important;
	padding-left: 1.5rem;
	margin-left: 5px !important;
	background-color: #FFF;
	height: 2.4rem;
	font-size: 1rem;
	font-weight: 700;
}

.search-input-inside {
	border: 1px solid #1F2D5E;
	border-bottom-left-radius: 25px !important;
	border-top-left-radius: 25px !important;
	box-shadow: none !important;
	padding-left: 1.5rem;
	margin-left: 5px !important;
	background-color: #FFF;
	height: 2.4rem;
	font-size: 1rem;
	font-weight: 700;
}

.border-right-rounded {
	border-bottom-right-radius: 25px !important;
	border-top-right-radius: 25px !important;
}

#selectHandshape {
	height: 2.4rem;
	font-size: 1rem;
	font-weight: 700;
	padding: .375rem 1rem .375rem .75rem;
}

#selectHandshape::after {
	display: none;
}

.divSearchHandshape {
	min-width: 400px;
	position: absolute;
	inset: 0px 0px auto auto;
	transform: translate(0px, 60px);
}

@media (max-width: 61.99em) {
	.divSearchHandshape {
		min-width: 100vw;
	}
}

.handshape-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
}

.handshape-btn {
	border: none;
	background: #f8f9fa;
	border-radius: 0.75rem;
	padding: 12px;
	font-size: 1.5rem;
	transition: all 0.2s;
}

.handshape-btn:hover {
	background: #e9ecef;
	transform: scale(1.05);
}

.handshape-btn.active {
	background: #198754;
	color: white;
}

.rounded-pill {
	border-radius: 50px;
}

label {
	font-size: 1rem;
	color: #666;
	padding: 0.5rem 0;
}

.form-control {
	border-radius: 10px;
}

.pointer {
	cursor: pointer;
}

.resp-iframe-100 {
	width: 100%;
	aspect-ratio: 4 / 3;
	border: 0;
}

.news_card {
	transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
	/* Smooth transition for transform and shadow */
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);

}

.news_card:hover {
	/* On hover: move the element up by a certain amount (e.g., -10px) */
	transform: translateY(-10px);
	/* Optional: enhance the effect with a larger shadow */
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.news_card p {
	margin: 0;
}

#sectionCounter {
	background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.text-left {
	text-align: left;
}

/* Home about section */
.home-about-section-title {
	text-align: center;
	margin-bottom: 2.5rem;
	position: relative;
	padding-bottom: 0.625rem;
	color: #1F2D5E;
	font-size: 1.5rem;
	font-weight: 700;
}

.home-about-section-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 50px;
	height: 3px;
	background-color: #4DB7E3;
}

#sectionAbout .row > [class*="col-"] {
	display: flex;
	flex-direction: column;
}

#sectionAbout [data-zanim-timeline] {
	flex: 1;
	width: 100%;
	display: flex;
	flex-direction: column;
}

#sectionAbout [data-zanim-timeline] > .overflow-hidden {
	flex: 1;
	display: flex;
	flex-direction: column;
	width: 100%;
}

.home-about-card {
	background: #fff;
	padding: 1.875rem 1.25rem;
	border-radius: 8px;
	text-align: center;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
	flex: 1;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease;
}

.home-about-card:hover {
	transform: translateY(-5px);
}

.home-about-card i {
	font-size: 2.5rem;
	color: #4DB7E3;
	margin-bottom: 0.9375rem;
}

.home-about-card h4 {
	margin-bottom: 0.75rem;
	color: #1F2D5E;
	font-size: 1.125rem;
	font-weight: 700;
}

.home-about-card p {
	flex: 1;
	margin-bottom: 0;
	color: #666;
}

.home-about-features {
	background-color: #fff;
	padding: 2.5rem 1.5rem;
	border-radius: 12px;
	margin-bottom: 0;
}

.home-about-features-intro {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 1.5rem;
	color: #666;
}

.home-about-feature-item {
	background: #f8f9fa;
	padding: 1.25rem;
	border-radius: 6px;
	display: flex;
	align-items: center;
	gap: 0.9375rem;
	border-left: 4px solid #4DB7E3;
	flex: 1;
	width: 100%;
	height: 100%;
	min-height: 100%;
	color: inherit;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.home-about-feature-item:hover {
	background-color: #eef6fb;
	color: inherit;
	text-decoration: none;
}

.home-about-feature-item--clickable {
	cursor: pointer;
	border-left-color: #FDD428;
}

.home-about-feature-item--clickable:hover {
	background-color: #fff9e6;
	box-shadow: 0 2px 8px rgba(253, 212, 40, 0.35);
}

.home-about-feature-item--clickable > i:not(.home-about-feature-hint) {
	color: #e6a800;
}

.home-about-feature-item--clickable .home-about-feature-hint {
	color: #e6a800;
}

.home-about-feature-item--clickable:hover .home-about-feature-hint {
	color: #c99200;
	transform: scale(1.15);
}

.home-about-feature-item > i:not(.home-about-feature-hint) {
	font-size: 1.5rem;
	color: #4DB7E3;
	flex-shrink: 0;
}

.home-about-feature-item span {
	flex: 1;
	color: #1F2D5E;
	font-weight: 500;
}

.home-about-feature-hint {
	font-size: 1.125rem;
	color: #4DB7E3;
	flex-shrink: 0;
	margin-left: auto;
	transition: color 0.2s ease, transform 0.2s ease;
}

#variationModal .modal-body {
	padding: 1.5rem;
}

#variationModal .text-left {
	text-align: left;
}

/* Acknowledgements section */
.acknowledgement-section {
	padding: 60px 0;
	background-color: #f9f9f9;
	color: #333;
}

.ack-section-title {
	text-align: center;
	font-size: 2rem;
	color: #1F2D5E;
	margin-bottom: 15px;
}

.ack-section-intro {
	text-align: center;
	max-width: 800px;
	margin: 0 auto 40px auto;
	line-height: 1.6;
	color: #666;
}

.ack-main-partners {
	display: flex;
	justify-content: space-around;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 30px;
	margin-bottom: 40px;
}

.ack-main-partners > [data-zanim-timeline] {
	flex: 1;
	min-width: 280px;
	max-width: 450px;
	display: flex;
	flex-direction: column;
}

.ack-main-partners > [data-zanim-timeline],
.ack-orgs-grid > [data-zanim-timeline] {
	padding-top: 8px;
	margin-top: -8px;
}

.ack-main-partners [data-zanim-timeline] > .overflow-hidden,
.ack-orgs-grid [data-zanim-timeline] > .overflow-hidden {
	flex: 1;
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow: visible;
	transition: transform 0.3s ease;
}

.ack-main-partners > [data-zanim-timeline]:hover > .overflow-hidden,
.ack-orgs-grid > [data-zanim-timeline]:hover > .overflow-hidden {
	transform: translateY(-5px);
}

.ack-partner-card {
	text-align: center;
	width: 100%;
	flex: 1;
	height: 100%;
	background: #fff;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	transition: box-shadow 0.3s ease, border-color 0.3s ease;
	border: 1px solid transparent;
}

.ack-main-partners > [data-zanim-timeline]:hover .ack-partner-card {
	box-shadow: 0 10px 24px rgba(31, 45, 94, 0.12);
	border-color: #4DB7E3;
}

.ack-partner-card h3 {
	font-size: 1.2rem;
	color: #555;
	margin-bottom: 15px;
	border-bottom: 2px solid #eee;
	padding-bottom: 8px;
}

.ack-logo-wrapper {
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 15px;
}

.ack-partner-logo {
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
}

.ack-org-name {
	font-weight: bold;
	line-height: 1.5;
	font-size: 1.05rem;
	margin-bottom: 0;
	color: #1F2D5E;
}

.ack-org-logo-wrapper {
	height: 60px;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px;
}

.ack-org-logo {
	max-height: 60px;
	max-width: 100%;
	object-fit: contain;
}

.ack-divider {
	border: 0;
	height: 1px;
	background: #ddd;
	margin: 40px 0;
}

.ack-supporting-orgs h3 {
	text-align: center;
	font-size: 1.4rem;
	margin-bottom: 25px;
	color: #444;
}

.ack-supporting-orgs h3 small {
	font-size: 0.9rem;
	color: #888;
	font-weight: normal;
}

.ack-orgs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 20px;
	align-items: stretch;
}

.ack-orgs-grid > [data-zanim-timeline] {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.ack-org-item {
	background: #fff;
	border: 1px solid #eef0f2;
	border-radius: 6px;
	padding: 15px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	transition: box-shadow 0.3s ease, border-color 0.3s ease;
	flex: 1;
	width: 100%;
	height: 100%;
	min-height: 72px;
}

.ack-orgs-grid > [data-zanim-timeline]:hover .ack-org-item {
	box-shadow: 0 10px 24px rgba(31, 45, 94, 0.1);
	border-color: #4DB7E3;
}

.ack-org-item span {
	font-size: 0.95rem;
	line-height: 1.4;
	color: #444;
}

@media (max-width: 768px) {
	.ack-main-partners {
		flex-direction: column;
		align-items: center;
	}

	.ack-main-partners > [data-zanim-timeline] {
		width: 100%;
	}

}