/*
 * Trầm Hương Minh Lâm - Blog Archive
 * Theme child: phongthuy
 */

.thm-blog-archive {
	background: #fff;
	color: #17140f;
	padding: 0 0 70px;
}

.thm-blog-container {
	width: 100%;
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 15px;
}

.thm-blog-header {
	padding: 22px 0 26px;
}

.thm-blog-breadcrumb {
	margin-bottom: 18px;
	font-size: 14px;
	color: #777067;
}

.thm-blog-breadcrumb .woocommerce-breadcrumb {
	margin: 0;
	color: inherit;
}

.thm-blog-breadcrumb a {
	color: #777067;
}

.thm-blog-breadcrumb a:hover {
	color: #9b6a27;
}

.thm-breadcrumb-sep {
	display: inline-block;
	padding: 0 8px;
	color: #b9b0a4;
}

.thm-blog-heading {
	margin: 0;
	color: #c9a45f;
	font-size: 32px;
	line-height: 1.2;
	font-weight: 700;
}

.thm-blog-description {
	max-width: 850px;
	margin-top: 12px;
	color: #6b645c;
	font-size: 15px;
	line-height: 1.7;
}

.thm-blog-description p:last-child {
	margin-bottom: 0;
}

.thm-blog-list {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.thm-blog-card {
	display: grid;
	grid-template-columns: 350px minmax(0, 1fr);
	margin: 0;
	background: #f8f7f5;
	border: 1px solid #f1eee9;
	border-radius: 12px;
	overflow: hidden;
	transition:
		transform .25s ease,
		box-shadow .25s ease,
		border-color .25s ease;
}

.thm-blog-card:hover {
	transform: translateY(-2px);
	border-color: #eadfcf;
	box-shadow: 0 12px 32px rgba(35, 27, 18, .08);
}

.thm-blog-thumb {
	position: relative;
	display: block;
	min-height: 180px;
	overflow: hidden;
	background: #e9e4dd;
}

.thm-blog-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 220px;
	max-height: 220px;
	object-fit: cover;
	transition: transform .45s ease;
}

.thm-blog-card:hover .thm-blog-thumb img {
	transform: scale(1.045);
}

.thm-blog-no-thumb {
	width: 100%;
	height: 100%;
	min-height: 180px;
	background:
		linear-gradient(135deg, rgba(166, 119, 54, .14), rgba(23, 20, 15, .06));
}

.thm-blog-date {
	position: absolute;
	top: 0;
	left: 26px;
	z-index: 2;
	width: 45px;
	min-height: 55px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: #9a6a2b;
	color: #fff;
	text-align: center;
	text-transform: uppercase;
	line-height: 1;
}

.thm-blog-date::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -8px;
	width: 0;
	height: 0;
	border-left: 22px solid transparent;
	border-right: 23px solid transparent;
	border-top: 8px solid #9a6a2b;
}

.thm-blog-date strong {
	font-size: 15px;
	line-height: 1;
	font-weight: 700;
}

.thm-blog-date small {
	margin-top: 4px;
	color: #fff;
	font-size: 10px;
	line-height: 1;
	font-weight: 700;
}

.thm-blog-content {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 17px 25px 16px;
}

.thm-blog-title {
	margin: 0 0 8px;
	font-size: 20px;
	line-height: 1.38;
	font-weight: 700;
}

.thm-blog-title a {
	color: #916322;
	transition: color .2s ease;
}

.thm-blog-title a:hover {
	color: #b27c2f;
}

.thm-blog-excerpt {
	color: #625c54;
	font-size: 15px;
	line-height: 1.65;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.thm-blog-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: auto;
	padding-top: 22px;
}

.thm-blog-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 28px;
	color: #17140f;
	font-size: 14px;
	line-height: 1.4;
}

.thm-blog-meta span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.thm-blog-meta i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #a77734;
	font-size: 14px;
}
.thm-blog-meta i:before {
    font-size: 17px;
}
.thm-blog-more {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 112px;
	min-height: 40px;
	padding: 8px 18px;
	border: 1px solid #d9c8ae;
	border-radius: 999px;
	color: #936522;
	font-size: 11px;
	line-height: 1;
	font-weight: 700;
	letter-spacing: .03em;
	transition:
		background-color .2s ease,
		border-color .2s ease,
		color .2s ease;
}

.thm-blog-more:hover {
	background: #936522;
	border-color: #936522;
	color: #fff;
}

.thm-blog-pagination {
	margin-top: 42px;
}

.thm-blog-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.thm-blog-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	border: 1px solid #e1dbd2;
	border-radius: 50%;
	background: #fff;
	color: #17140f;
	font-size: 14px;
	font-weight: 600;
	transition: .2s ease;
}

.thm-blog-pagination .page-numbers.current,
.thm-blog-pagination a.page-numbers:hover {
	background: #936522;
	border-color: #936522;
	color: #fff;
}

.thm-blog-pagination .prev,
.thm-blog-pagination .next {
	font-size: 22px;
	font-weight: 400;
}

.thm-blog-empty {
	padding: 50px 20px;
	background: #f8f7f5;
	border-radius: 12px;
	text-align: center;
}

.thm-blog-empty h2 {
	margin: 0 0 8px;
	font-size: 24px;
}

.thm-blog-empty p {
	margin: 0;
	color: #6d665e;
}

/* Flatsome cleanup on this archive */
.thm-blog-archive .entry-content,
.thm-blog-archive .entry-summary {
	padding: 0;
}

/* Mobile only */
@media (max-width: 767px) {

	.thm-blog-archive {
		padding-bottom: 45px;
	}

	.thm-blog-container {
		padding-left: 15px;
		padding-right: 15px;
	}

	.thm-blog-header {
		padding: 16px 0 20px;
	}

	.thm-blog-breadcrumb {
		margin-bottom: 12px;
		font-size: 12px;
	}

	.thm-blog-heading {
		font-size: 26px;
	}

	.thm-blog-description {
		font-size: 14px;
	}

	.thm-blog-list {
		gap: 20px;
	}

	.thm-blog-card {
		display: block;
		border-radius: 10px;
	}

	.thm-blog-thumb {
		min-height: 0;
		aspect-ratio: 16 / 9;
	}

	.thm-blog-thumb img,
	.thm-blog-no-thumb {
		height: 100%;
		min-height: 0;
	}

	.thm-blog-date {
		left: 18px;
	}

	.thm-blog-content {
		padding: 15px 16px 16px;
	}

	.thm-blog-title {
		margin-bottom: 7px;
		font-size: 18px;
		line-height: 1.4;
	}

	.thm-blog-excerpt {
		font-size: 14px;
		line-height: 1.6;
		-webkit-line-clamp: 3;
	}

	.thm-blog-bottom {
		align-items: flex-end;
		gap: 12px;
		padding-top: 17px;
	}

	.thm-blog-meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 7px;
		font-size: 13px;
	}

	.thm-blog-meta i {
		width: 22px;
		height: 22px;
	}

	.thm-blog-more {
		min-width: auto;
		min-height: 36px;
		padding: 7px 14px;
		font-size: 10px;
	}

	.thm-blog-pagination {
		margin-top: 32px;
	}

	.thm-blog-pagination .page-numbers {
		width: 36px;
		height: 36px;
	}
}
