/**
 * WP Column Layout — flex 66/33, spacing theo m?u (pill category, sidebar #F9F9F9, grid 2 c?t).
 */

.wcl-wrap {
	box-sizing: border-box;
	max-width: 1200px !important;
	margin: 0 auto;
	padding: 32px 24px 48px;
	font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.wcl-wrap *,
.wcl-wrap *::before,
.wcl-wrap *::after {
	box-sizing: border-box;
}

.wcl-row {
	display: flex;
	align-items: flex-start;
	gap: 36px;
}

.wcl-col--main {
	flex: 1 1 66%;
	max-width: 100%;
	min-width: 0;
}

.wcl-col--side {
	flex: 1 1 33%;
	max-width: 100%;
	min-width: 0;
}

/* Category pills */
.wcl-category-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 28px;
}

.wcl-category-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 18px;
	font-family: "Inter", system-ui, sans-serif;
	font-weight: 500;
	font-size: 15px;
	line-height: 1.5;
	text-decoration: none;
	color: #1c1c1c;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 50px;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.wcl-category-pill:hover {
	border-color: #b0b0b0;
	color: #000;
}

.wcl-category-pill--active {
	color: #fff;
	background: #E19239;
	border-color: #E19239;
}

.wcl-category-pill--active:hover {
	color: #fff;
	background: #E19239;
	border-color: #E19239;
}

/* Tag pills — link (gi?ng nút), click = l?c bài theo tag qua ?wcl_tag=slug */
.wcl-tag-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 28px;
}

.wcl-tag-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	font-family: "Inter", system-ui, sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 1.5;
	text-decoration: none;
	color: #187bcd;
	background: #fff;
	border: 1px solid #b8d4f0;
	border-radius: 50px;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.wcl-tag-pill:hover {
	color: #0d5a9e;
	border-color: #187bcd;
	background: #f0f7ff;
}

.wcl-tag-pill--active {
	color: #fff;
	background: #187bcd;
	border-color: #187bcd;
}

.wcl-tag-pill--active:hover {
	color: #fff;
	background: #156bb3;
	border-color: #156bb3;
}

/* Post grid — CSS Grid (2 c?t c? d?nh) tránh flex-wrap l?ch hàng khi ?nh/tiêu d? cao khác nhau */
.wcl-post-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 20px;
	row-gap: 40px;
	align-items: start;
}

.wcl-post {
	min-width: 0;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.wcl-post__media {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 8px;
	text-decoration: none;
	line-height: 0;
	aspect-ratio: 16 / 10;
	background: #ececec;
}

.wcl-post__thumb-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.wcl-post__thumb-placeholder {
	position: absolute;
	inset: 0;
	display: block;
	background: #ececec;
	border-radius: 8px;
}

.wcl-post__body {
	padding-top: 12px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.wcl-post__cat {
	display: inline-block;
	align-self: flex-start;
	background-color: #4f4f4f;
	border-radius: 90px;
	padding: 2px 8px;
	font-family: "Inter", system-ui, sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 150%;
	color: #fff;
}

span.wcl-post__cat {
	cursor: default;
}

.wcl-post__title {
	margin: 0;
	font-family: "Noto Serif JP", "Noto Serif", Georgia, serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 150%;
	text-transform: uppercase;
}

.wcl-post__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.wcl-post__title a:hover {
	color: #E19239;
}

.wcl-post-grid__empty {
	grid-column: 1 / -1;
	width: 100%;
	margin: 0;
	padding: 24px 0;
	color: #555;
}

/* Pagination — review-map style (#E19239 active th?ng nh?t accent) */
.wcl-pagination {
	margin-top: 40px;
	width: 100%;
}

.wcl-pagination__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.wcl-pagination__item {
	margin: 0;
	padding: 0;
}

.wcl-pagination__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	min-height: 48px;
	padding: 0 10px;
	box-sizing: border-box;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	text-decoration: none;
	color: #1c1c1c;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

a.wcl-pagination__btn:hover {
	background: #E19239;
	border-color: #E19239;
	color: #fff;
	font-weight: 700;
}

.wcl-pagination__btn--nav {
	min-width: auto;
	padding: 0 12px;
	gap: 4px;
}

.wcl-pagination__btn--current {
	background: #E19239;
	border-color: #E19239;
	color: #fff;
	cursor: default;
	font-weight: 700;
}

.wcl-pagination__btn--disabled {
	opacity: 0.45;
	cursor: not-allowed;
	pointer-events: none;
}

.wcl-pagination__chevron {
	font-weight: 700;
}

/* Sidebar */
.wcl-sidebox {
	background: #f9f9f9;
	padding: 20px 0px;
	border-radius: 4px;
}

.wcl-sidebox__heading {
	position: relative;
	margin: 0 0 16px;
	padding-left: 14px;
	font-family: "Inter", system-ui, sans-serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 1.45;
	color: #1c1c1c;
}

.wcl-sidebox__heading::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	bottom: 2px;
	width: 4px;
	background: #D97708;
}

.wcl-latest-list {
	margin: 0;
	padding: 0 0 0 40px;
	list-style-type: decimal;
	font-family: "Inter", system-ui, sans-serif;
	font-weight: 500;
	font-size: 18px;
	line-height: 1.5;
	color: #252525;
}

.wcl-latest-list__item {
	padding: 15px 0;
	border-bottom: 1px solid #eee;
	margin: 0;
}

.wcl-latest-list__item:first-child {
	padding-top: 0;
}

.wcl-latest-list__item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.wcl-latest-list__link {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	word-break: break-word;
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
	font-size: 18px;
	line-height: 1.5;
}

.wcl-latest-list__link:hover {
	color: #E19239;
}

.wcl-latest-list__empty {
	margin: 0;
	font-size: 14px;
	color: #666;
}

/* --- [wcl_latest_row] — hàng bài m?i nh?t; th? bài = .wcl-post (chung .wcl-wrap + .wcl-post* v?i column-layout) --- */
.wcl-lr-heading {
	margin: 0 0 20px;
	font-family: "Inter", system-ui, sans-serif;
	font-weight: 700;
	font-size: 22px;
	line-height: 1.4;
	color: #1c1c1c;
}

.wcl-lr-row {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: stretch;
}

.wcl-lr-row > .wcl-post {
	flex: 1 1 calc(25% - 15px);
	max-width: calc(25% - 15px);
	min-width: 0;
}

/* Nhi?u danh m?c: pill gi?ng .wcl-post__cat, x?p ngang */
.wcl-lr-row .wcl-post__cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.wcl-lr-row a.wcl-post__cat {
	text-decoration: none;
	color: #fff;
}

.wcl-lr-row a.wcl-post__cat:hover {
	opacity: 0.92;
}

/* 4 c?t h?p: tiêu d? nh? hon m?t chút, v?n cùng font/uppercase */
.wcl-lr-row .wcl-post__title {
	font-size: clamp(16px, 2.5vw, 22px);
}

.wcl-lr-row .wcl-post__title a {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	word-break: break-word;
}

.wcl-lr-empty {
	width: 100%;
	margin: 0;
	padding: 16px 0;
	color: #666;
	font-size: 15px;
}
.wcl-title{
	font-family: Noto Serif JP;
font-weight: 900;
font-size: 40px;
leading-trim: NONE;
line-height: 130%;
letter-spacing: 0%;
text-transform: uppercase;
color: #252525;
margin-bottom: 5px;
}
.wcl-description{
	margin-top: 0px;
	font-family: Noto Sans JP;
	font-weight: 500;
	font-style: Medium;
	font-size: 20px;
	leading-trim: NONE;
	line-height: 150%;
	letter-spacing: 0%;
	color: #D97708 !important;
}
.wp-block-column .entry-content.wp-block-post-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Xóa padding c?a constrained layout */
.is-layout-constrained > .has-global-padding,
.has-global-padding {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.wp-block-post-title a{
font-weight: 400 !important;;
font-size: 18px !important;
line-height: 150% !important;
letter-spacing: 0% !important;
color: #252525 !important;
}@media (max-width: 991px) {
	.wcl-lr-row > .wcl-post {
		flex: 1 1 calc(50% - 10px);
		max-width: calc(50% - 10px);
	}
		/* Hàng bài m?i nh?t: cu?n ngang, không hi?n thanh scrollbar */
		.wcl-lr-row {
			flex-wrap: nowrap;
			overflow-x: auto;
			overflow-y: hidden;
			-webkit-overflow-scrolling: touch;
			scroll-snap-type: x mandatory;
			overscroll-behavior-x: contain;
			scrollbar-width: none;
			-ms-overflow-style: none;
			gap: 16px;
			padding-bottom: 2px;
			margin-inline: -4px;
			padding-inline: 4px;
		}
	
		.wcl-lr-row::-webkit-scrollbar {
			display: none;
			width: 0;
			height: 0;
		}
	
		.wcl-lr-row > .wcl-post {
			flex: 0 0 auto;
			width: min(78vw, 280px);
			max-width: none;
			min-width: 220px;
			scroll-snap-align: start;
		}
}

@media (max-width: 475px) {
	.wcl-row {
		flex-direction: column;
		gap: 32px;
	}

	.wcl-col--main,
	.wcl-col--side {
		flex: 1 1 100%;
		max-width: 100%;
	}

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

	.wcl-wrap {
		padding: 24px 16px 40px;
	}



	.wcl-lr-wrap.wcl-wrap {
		padding: 20px 12px 28px;
	}
	.wcl-title{
		font-size: 24px;
	}
	.wcl-description{
		font-size: 16px;
	}
	.wcl-post__title{
		font-size: 20px;
	}
}
