body {
	padding-bottom: 0;
}

.ufa11k-footer-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 18px 30px;
	padding: 22px 20px;
	background: #080808;
	color: #fff;
	font-family: Kanit, sans-serif;
}

.ufa11k-footer-menu h2 {
	margin: 0;
	color: #ecd168;
	font-size: 18px;
	font-weight: 600;
}

.ufa11k-footer-menu ul,
.ufa11k-bottom-nav ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ufa11k-footer-menu a,
.ufa11k-bottom-nav a {
	color: inherit;
}

.ufa11k-footer-menu a:hover,
.ufa11k-footer-menu a:focus-visible {
	color: #ecd168;
}

.ufa11k-bottom-nav {
	display: none;
}

.ufa11k-modal[hidden] {
	display: none;
}

.ufa11k-modal {
	position: fixed;
	z-index: 999999;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 20px;
	font-family: Kanit, sans-serif;
}

.ufa11k-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgb(0 0 0 / 78%);
	opacity: 0;
	transition: opacity 180ms ease;
}

.ufa11k-modal__dialog {
	position: relative;
	width: min(100%, 420px);
	padding: 34px 26px 28px;
	border: 1px solid rgb(236 209 104 / 50%);
	border-radius: 16px;
	background: #111;
	box-shadow: 0 20px 80px rgb(0 0 0 / 50%);
	color: #fff;
	text-align: center;
	transform: translateY(12px) scale(.98);
	opacity: 0;
	transition: transform 180ms ease, opacity 180ms ease;
}

.ufa11k-modal.is-open .ufa11k-modal__backdrop {
	opacity: 1;
}

.ufa11k-modal.is-open .ufa11k-modal__dialog {
	transform: translateY(0) scale(1);
	opacity: 1;
}

.ufa11k-modal__close {
	position: absolute;
	top: 8px;
	right: 12px;
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.ufa11k-modal__mark {
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	margin: 0 auto 16px;
	border: 2px solid #ecd168;
	border-radius: 50%;
	color: #ecd168;
	font-size: 26px;
	font-weight: 700;
}

.ufa11k-modal__dialog h2 {
	margin: 0 0 22px;
	color: #ecd168;
	font-size: 22px;
	font-weight: 600;
}

.ufa11k-modal__register {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	padding: 9px 30px;
	border-radius: 8px;
	background: #00c925;
	color: #071008;
	font-size: 18px;
	font-weight: 600;
}

.ufa11k-modal__register:hover,
.ufa11k-modal__register:focus-visible {
	background: #19e342;
	color: #071008;
}

.ufa11k-posts,
.ufa11k-single,
.ufa11k-page,
.ufa11k-not-found {
	width: min(100% - 32px, 1100px);
	margin: 40px auto 64px;
	color: #fff;
	font-family: Kanit, sans-serif;
}

.ufa11k-posts__heading,
.ufa11k-page__title,
.ufa11k-single__title,
.ufa11k-not-found__title {
	margin: 0 0 24px;
	color: #ecd168;
	font-size: clamp(26px, 4vw, 38px);
	font-weight: 600;
}

.ufa11k-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.ufa11k-post-card {
	overflow: hidden;
	border: 1px solid rgb(236 209 104 / 25%);
	border-radius: 12px;
	background: rgb(12 12 12 / 88%);
}

.ufa11k-post-card__image img {
	display: block;
	width: 100%;
	height: 210px;
	object-fit: cover;
}

.ufa11k-post-card__body {
	padding: 18px;
}

.ufa11k-post-card__body h2 {
	margin: 0 0 10px;
	color: #ecd168;
	font-size: 21px;
	font-weight: 600;
}

.ufa11k-post-card__body h2 a {
	color: inherit;
}

.ufa11k-post-card__meta {
	margin-bottom: 10px;
	color: #bbb;
	font-size: 14px;
}

.ufa11k-post-card__excerpt {
	color: #eee;
	line-height: 1.75;
}

.ufa11k-pagination {
	margin-top: 30px;
}

.ufa11k-pagination .page-numbers {
	display: inline-block;
	margin: 0 4px;
	padding: 6px 12px;
	border: 1px solid rgb(236 209 104 / 35%);
	border-radius: 6px;
	color: #fff;
}

.ufa11k-pagination .current {
	background: #ecd168;
	color: #111;
}

.ufa11k-single__meta {
	margin: -12px 0 24px;
	color: #bbb;
}

.ufa11k-single__content,
.ufa11k-page__content {
	font-size: 17px;
	line-height: 1.9;
}

.ufa11k-single__content > *,
.ufa11k-page__content > * {
	margin-bottom: 1em;
}

.ufa11k-single__content h2,
.ufa11k-single__content h3,
.ufa11k-page__content h2,
.ufa11k-page__content h3 {
	color: #ecd168;
}

.ufa11k-single__content a,
.ufa11k-page__content a {
	color: #ecd168;
	text-decoration: underline;
}

.ufa11k-single__cta {
	margin-top: 32px;
	padding: 22px;
	border: 1px solid rgb(236 209 104 / 40%);
	border-radius: 12px;
	background: rgb(0 0 0 / 55%);
	text-align: center;
}

.ufa11k-single__cta a {
	display: inline-block;
	margin-top: 12px;
	padding: 9px 26px;
	border-radius: 7px;
	background: #00c925;
	color: #071008;
	font-weight: 600;
}

.ufa11k-post-navigation {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-top: 28px;
}

.ufa11k-post-navigation a {
	color: #ecd168;
}

.ufa11k-comments {
	margin-top: 40px;
}

@media (max-width: 767px) {
	body {
		padding-bottom: 62px;
	}

	.ufa11k-footer-menu {
		align-items: flex-start;
		flex-direction: column;
		padding-bottom: 26px;
	}

	.ufa11k-footer-menu ul {
		justify-content: flex-start;
		gap: 8px 18px;
	}

	.ufa11k-bottom-nav {
		position: fixed;
		z-index: 9990;
		right: 0;
		bottom: 0;
		left: 0;
		display: block;
		overflow-x: auto;
		border-top: 1px solid rgb(236 209 104 / 45%);
		background: #090909;
		color: #fff;
		font-family: Kanit, sans-serif;
		scrollbar-width: none;
	}

	.ufa11k-bottom-nav::-webkit-scrollbar {
		display: none;
	}

	.ufa11k-bottom-nav ul {
		width: max-content;
		min-width: 100%;
		flex-wrap: nowrap;
		justify-content: space-around;
		gap: 0;
	}

	.ufa11k-bottom-nav a {
		display: block;
		padding: 14px 13px;
		color: #fff;
		font-size: 13px;
		white-space: nowrap;
	}

	.ufa11k-bottom-nav [aria-current="page"] {
		color: #ecd168;
	}

	.ufa11k-post-grid {
		grid-template-columns: 1fr;
	}

	.ufa11k-post-card__image img {
		height: auto;
		max-height: 280px;
	}

	.ufa11k-post-navigation {
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ufa11k-modal *,
	.ufa11k-modal *::before,
	.ufa11k-modal *::after {
		transition-duration: .01ms !important;
	}
}
