/* Redesign 2026-10 — loaded after uikit. Remove the 'redesign' enqueue in functions.php to revert. */

/*= Page background */
html,
body {
	background: #1d1f26;
	color: #e7e4ef;
}
.uk-section {
	background: transparent;
	padding-top: 12px;
}

/*= Header: large logo left, prominent search */
#header .site-topbar {
	background: #1d1f26;
	padding-top: 12px;
	padding-bottom: 12px;
}
#navbar {
	gap: 20px;
}
.site-logo-left {
	flex: none;
	margin-right: auto;
}
.uk-logo.site-logo-left > img {
	height: 84px;
	width: auto;
}
.site-search {
	position: relative;
	max-width: 720px;
	min-width: 220px;
	margin: 0 auto;
}
.site-search-input {
	width: 100%;
	height: 48px;
	box-sizing: border-box;
	padding: 0 56px 0 20px;
	border: 2px solid #cbaf3d;
	border-radius: 24px;
	background: #F8F8FF;
	color: #000000;
	font-size: 1.05rem;
	outline: none;
}
.site-search-input:focus {
	border-color: #FF6600;
	box-shadow: 0 0 0 3px rgba(255,102,0,0.25);
}
.site-search-btn {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: #FF6600;
	color: #ffffff;
	cursor: pointer;
}

/*= Category menu below search, gold divider */
.site-category-nav {
	border-top: 2px solid #cbaf3d;
	border-bottom: 2px solid #cbaf3d;
}

/*= Popular tags */
/* plugin prints inline colors, hence !important */
.popular-tags .tag {
	margin: 0 6px 8px 0;
	padding: 0 14px;
	border: 1px solid #FF6600;
	border-radius: 999px;
	background-color: #2a2d36 !important;
	color: #e7e4ef !important;
	font-weight: 600;
	text-transform: none;
	transition: background-color .15s, color .15s;
}
.popular-tags .tag:hover {
	background-color: #FF6600 !important;
	color: #ffffff !important;
}
.popular-tags .tag-home,
.popular-tags .tag-home:hover {
	border-color: #CC0000;
	background-color: #CC0000 !important;
	color: #ffffff !important;
}

/*= H1 bar between tags and content */
.page-h1-bar {
	margin: 4px 0 16px;
	padding: 14px 24px;
	background: linear-gradient(135deg, #93c3ad 0%, #b9dccb 100%);
	border-radius: 10px;
	box-shadow: 0 6px 18px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.35);
	color: #1d1f26;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.2px;
	text-align: center;
}

/*= Video cards */
article.nangpoonline {
	margin-bottom: 14px;
}
article.nangpoonline .uk-card {
	height: 100%;
	overflow: hidden;
	border: 2px solid #FF6600;
	border-radius: 10px;
	background: #F8F8FF;
	box-shadow: 0 4px 12px rgba(0,0,0,0.35);
	transition: transform .2s, box-shadow .2s;
}
article.nangpoonline .uk-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 22px rgba(255,102,0,0.3);
}
article.nangpoonline .uk-inline-clip {
	display: block;
}
article.nangpoonline img.uk-thumbnail.thumb-x {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	padding: 0;
	border: 0;
	border-bottom: 2px solid #FF6600;
	border-radius: 0;
	box-shadow: none;
}
article.nangpoonline .uk-card-header {
	padding: 8px 10px 10px;
	border: 0;
}
article.nangpoonline .header-custom-x {
	white-space: normal;
	line-height: 1.4;
	font-size: .85rem !important;
}
article.nangpoonline .header-custom-x a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	white-space: normal;
	min-height: 2.8em;
	color: #000000 !important;
	font-weight: 600;
	text-decoration: none;
}
article.nangpoonline .uk-card:hover .header-custom-x a {
	color: #CC0000 !important;
}

@media (max-width: 639px) {
	#navbar {
		gap: 10px;
	}
	.uk-logo.site-logo-left > img {
		height: 56px;
	}
	.site-search {
		flex-basis: 100%;
		max-width: none;
	}
}

/*= Single video: title */
.uk-article h1.title {
	margin-bottom: 10px;
	padding: 14px 20px;
	background: linear-gradient(135deg, #FF6600 0%, #ff8533 100%);
	border-radius: 10px;
	box-shadow: 0 6px 18px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.25);
	color: #ffffff;
	line-height: 1.5;
	text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.uk-article .uk-article-meta {
	color: #b9b9b9;
}
.uk-article .uk-article-meta a {
	color: #93c3ad;
}
.uk-article .colophon-message-body .content {
	color: #e7e4ef;
}

/*= Related videos */
.related-videos {
	background: #23262f;
	border-top: 2px solid #FF6600;
}
.related-title {
	margin: 0 0 24px;
	color: #F8F8FF;
	font-size: 1.35rem;
	font-weight: 700;
	text-align: center;
}
.related-title::after {
	content: "";
	display: block;
	width: 64px;
	height: 3px;
	margin: 10px auto 0;
	border-radius: 3px;
	background: #FF6600;
}
.related-videos .uk-slider-items {
	padding-top: 6px;
	padding-bottom: 6px;
}
.related-card {
	overflow: hidden;
	border: 2px solid #FF6600;
	border-radius: 10px;
	background: #F8F8FF;
	box-shadow: 0 4px 12px rgba(0,0,0,0.35);
	transition: transform .2s, box-shadow .2s;
}
.related-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 22px rgba(255,102,0,0.3);
}
.related-card img.uk-thumbnail.thumb-x {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	padding: 0;
	border: 0;
	border-bottom: 2px solid #FF6600;
	border-radius: 0;
}
.related-card .uk-card-body {
	padding: 8px 10px 10px;
}
.related-card .header-custom-x {
	margin: 0;
	white-space: normal;
	line-height: 1.4;
	font-size: .85rem !important;
}
.related-card .header-custom-x a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	white-space: normal;
	min-height: 2.8em;
	color: #000000 !important;
	font-weight: 600;
	text-decoration: none;
}
.related-card:hover .header-custom-x a {
	color: #CC0000 !important;
}
/* uikit 3.0.3 min.css shifts every center-left by -50px; reset both sides */
.related-videos .uk-slidenav {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	box-sizing: border-box;
	padding: 0;
	margin: 0 10px;
	top: 50%;
	transform: translateY(-50%);
	border-radius: 50%;
	background: #FF6600;
	color: #ffffff;
	box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.related-videos .uk-slidenav:hover {
	background: #CC0000;
	color: #ffffff;
}
.related-videos .uk-slidenav svg {
	width: 10px;
	height: 20px;
}
.related-videos .uk-dotnav > * > * {
	border-color: #858489;
}
.related-videos .uk-dotnav > .uk-active > * {
	border-color: #FF6600;
	background: #FF6600;
}

/*= Pagination */
.site-pagination {
	margin: 24px 0 8px;
}
.site-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-pagination .page-btn,
.site-pagination .page-dots {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	box-sizing: border-box;
	padding: 0 12px;
	border-radius: 999px;
	font-weight: 600;
}
.site-pagination .page-btn {
	border: 1px solid #FF6600;
	background: #2a2d36;
	color: #e7e4ef;
	text-decoration: none;
	transition: background-color .15s, color .15s;
}
.site-pagination a.page-btn:hover {
	background: #FF6600;
	color: #ffffff;
}
.site-pagination .page-btn.is-current {
	border-color: #CC0000;
	background: #CC0000;
	color: #ffffff;
}
.site-pagination .page-dots {
	min-width: 24px;
	padding: 0;
	color: #858489;
}
@media (max-width: 639px) {
	.site-pagination .page-btn {
		min-width: 36px;
		height: 36px;
		padding: 0 10px;
	}
}
