/* Tân Vinh Mỹ news archive and native article pages. */

body.noithat-blog-view {
	background: #fff;
	color: var(--tvm-ink);
	font-family: var(--tvm-body);
	overflow-x: clip;
}

.noithat-blog-view .site-main#content,
.noithat-blog-view .page-content,
.noithat-blog-view .entry-content {
	margin: 0;
	max-width: none;
	padding: 0;
	width: 100%;
}

.noithat-blog-view .site-main > .page-header,
.noithat-blog-view .site-main > .page-header + .page-content > p:empty {
	display: none;
}

.tvm-news-container {
	box-sizing: border-box;
	margin-inline: auto;
	max-width: 1200px;
	width: calc(100% - 64px);
}

.tvm-news-archive,
.tvm-article-page {
	background: #fff;
	color: #211a15;
}

.tvm-news-archive .tvm-news-filter,
.tvm-news-archive .tvm-news-card__media,
.tvm-news-archive .tvm-news-pagination__page,
.tvm-news-archive .tvm-news-pagination__arrow {
	text-decoration: none;
}

.tvm-news-hero {
	background-color: #271c14;
	background-image: var(--tvm-news-hero-image);
	background-position: center 54%;
	background-repeat: no-repeat;
	background-size: cover;
	box-sizing: border-box;
	color: #fff;
	height: 242px;
	position: relative;
}

.tvm-news-hero__overlay {
	background: rgba(23, 14, 8, 0.66);
	inset: 0;
	position: absolute;
}

.tvm-news-hero__inner {
	height: 100%;
	position: relative;
	z-index: 1;
}

.tvm-news-breadcrumbs {
	align-items: center;
	display: flex;
	font-size: 12px;
	font-weight: 500;
	gap: 10px;
	left: 0;
	line-height: 1.4;
	position: absolute;
	top: 34px;
}

.tvm-news-breadcrumbs a,
.tvm-news-breadcrumbs span {
	color: rgba(255, 255, 255, 0.92);
	text-decoration: none;
}

.tvm-news-breadcrumbs a:hover,
.tvm-news-breadcrumbs a:focus-visible {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tvm-news-breadcrumbs i {
	color: rgba(255, 255, 255, 0.68);
	font-size: 8px;
}

.tvm-news-hero__copy {
	left: 50%;
	position: absolute;
	text-align: center;
	top: 54%;
	transform: translate(-50%, -50%);
	width: min(760px, 90%);
}

.tvm-news-hero__copy h1 {
	color: #fff;
	font-family: var(--tvm-display);
	font-size: clamp(36px, 3.5vw, 42px);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.08;
	margin: 0 0 14px;
	text-wrap: balance;
}

.tvm-news-hero__copy p {
	color: rgba(255, 255, 255, 0.93);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
	margin: 0;
	text-wrap: pretty;
}

.tvm-news-toolbar-wrap {
	margin-top: -38px;
	max-width: 1120px;
	position: relative;
	width: calc(100% - 128px);
	z-index: 3;
}

.tvm-news-toolbar {
	align-items: center;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 6px 16px rgba(52, 35, 22, 0.1);
	display: flex;
	gap: 18px;
	min-height: 73px;
	padding: 10px 16px;
}

.tvm-news-filters {
	align-items: center;
	display: flex;
	flex: 1 1 auto;
	gap: 5px;
	min-width: 0;
}

.tvm-news-filter {
	align-items: center;
	border-radius: 8px;
	color: #342a22;
	display: inline-flex;
	font-size: 12px;
	font-weight: 600;
	gap: 9px;
	height: 36px;
	justify-content: center;
	line-height: 1.2;
	padding-inline: 12px;
	text-decoration: none;
	transition: background-color 180ms ease-out, color 180ms ease-out;
	white-space: nowrap;
}

.tvm-news-filter i {
	color: #8a5526;
	font-size: 15px;
	transition: color 180ms ease-out;
}

.tvm-news-filter:hover,
.tvm-news-filter:focus-visible {
	background: #f8f2ec;
	color: #6f431c;
}

.tvm-news-filter.is-active {
	background: #81511f;
	color: #fff;
	padding-inline: 15px;
}

.tvm-news-filter.is-active i {
	color: #fff;
}

.tvm-news-search {
	align-items: center;
	background: #fff;
	border: 1px solid #ddd8d2;
	border-radius: 9px;
	display: flex;
	flex: 0 0 180px;
	height: 36px;
	overflow: hidden;
}

.tvm-news-search:focus-within {
	border-color: #875421;
	box-shadow: 0 0 0 3px rgba(135, 84, 33, 0.13);
}

.tvm-news-search input {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: #2c241e;
	font-family: inherit;
	font-size: 12px;
	height: 100%;
	min-width: 0;
	outline: 0;
	padding: 0 4px 0 15px;
	width: 100%;
}

.tvm-news-search input::placeholder {
	color: #6b655f;
	opacity: 1;
}

.tvm-news-search button {
	align-items: center;
	background: transparent;
	border: 0;
	box-shadow: none;
	color: #625c56;
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 36px;
	height: 36px;
	justify-content: center;
	padding: 0;
}

.tvm-news-search button:hover,
.tvm-news-search button:focus-visible {
	background: #f8f2ec;
	color: #75491d;
}

.tvm-news-listing {
	padding: 27px 0 23px;
}

.tvm-news-grid {
	display: grid;
	gap: 22px 17px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tvm-news-card {
	background: #fff;
	border: 1px solid #e8e3dd;
	border-radius: 9px;
	box-shadow: 0 2px 6px rgba(46, 32, 21, 0.055);
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	transition: border-color 180ms ease-out, transform 180ms ease-out;
}

.tvm-news-card:hover,
.tvm-news-card:focus-within {
	border-color: #d2c2b1;
	transform: translateY(-3px);
}

.tvm-news-card__media {
	aspect-ratio: 1.16 / 1;
	background: #eee9e4;
	display: block;
	overflow: hidden;
	position: relative;
}

.tvm-news-card__media img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
	width: 100%;
}

.tvm-news-card:nth-child(-n + 4) .tvm-news-card__media {
	aspect-ratio: 1.04 / 1;
}

.tvm-news-card:hover .tvm-news-card__media img,
.tvm-news-card:focus-within .tvm-news-card__media img {
	transform: scale(1.035);
}

.tvm-news-card__tag {
	background: rgba(91, 54, 22, 0.94);
	border-radius: 6px;
	bottom: 11px;
	color: #fff;
	font-size: 10px;
	font-weight: 600;
	left: 11px;
	line-height: 1.2;
	max-width: calc(100% - 22px);
	padding: 6px 9px;
	position: absolute;
	white-space: nowrap;
}

.tvm-news-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 18px 15px 15px;
}

.tvm-news-card__title {
	color: #221b16;
	font-family: var(--tvm-display);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -0.012em;
	line-height: 1.45;
	margin: 0 0 10px;
	min-height: 2.9em;
	text-wrap: pretty;
}

.tvm-news-card__title a {
	color: inherit;
	text-decoration: none;
}

.tvm-news-card__title a:hover,
.tvm-news-card__title a:focus-visible {
	color: #75491d;
}

.tvm-news-card__excerpt {
	color: #57504a;
	display: -webkit-box;
	font-size: 13px;
	line-height: 1.65;
	margin: 0 0 10px;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.tvm-news-card:nth-child(-n + 4) .tvm-news-card__excerpt {
	-webkit-line-clamp: 4;
}

.tvm-news-card:nth-child(n + 5) .tvm-news-card__excerpt {
	line-height: 1.64;
	margin-bottom: 8px;
}

.tvm-news-card__meta {
	align-items: center;
	color: #5e5751;
	display: flex;
	font-size: 10px;
	gap: 9px;
	line-height: 1.3;
	margin-top: auto;
	white-space: nowrap;
}

.tvm-news-card__meta span {
	align-items: center;
	display: inline-flex;
	gap: 5px;
}

.tvm-news-card__meta i {
	color: #6d645d;
	font-size: 10px;
}

.tvm-news-card__meta-dot {
	background: #4e4842;
	border-radius: 50%;
	height: 3px;
	width: 3px;
}

.tvm-news-pagination {
	align-items: center;
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-top: 20px;
}

.tvm-news-pagination__page,
.tvm-news-pagination__arrow {
	align-items: center;
	border-radius: 6px;
	color: #2d251f;
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	height: 28px;
	justify-content: center;
	text-decoration: none;
	width: 28px;
}

.tvm-news-pagination__page:hover,
.tvm-news-pagination__page:focus-visible,
.tvm-news-pagination__arrow:hover,
.tvm-news-pagination__arrow:focus-visible {
	background: #f5eee7;
	color: #75491d;
}

.tvm-news-pagination__page.is-current {
	background: #81511f;
	color: #fff;
}

.tvm-news-empty {
	align-items: center;
	border: 1px solid #e6dfd8;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	margin: 10px auto 8px;
	max-width: 680px;
	padding: 54px 28px;
	text-align: center;
}

.tvm-news-empty > i {
	color: #95602d;
	font-size: 34px;
	margin-bottom: 15px;
}

.tvm-news-empty h2 {
	font-size: 24px;
	margin: 0 0 8px;
}

.tvm-news-empty p {
	color: #5b544e;
	line-height: 1.65;
	margin: 0 0 22px;
}

.tvm-news-empty a {
	background: #75491d;
	border-radius: 7px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	padding: 11px 18px;
	text-decoration: none;
}

.tvm-newsletter {
	background: #fff;
	padding: 0;
}

.tvm-newsletter__inner {
	align-items: center;
	background: #faf8f6;
	border-radius: 14px 14px 0 0;
	display: grid;
	gap: 18px;
	grid-template-columns: 58px 305px minmax(260px, 1fr);
	max-width: 1080px;
	min-height: 125px;
	overflow: hidden;
	padding: 18px 160px 18px 36px;
	position: relative;
	width: calc(100% - 164px);
}

.tvm-newsletter__icon {
	align-items: center;
	background: #ae7135;
	border-radius: 50%;
	color: #fff;
	display: flex;
	font-size: 26px;
	height: 54px;
	justify-content: center;
	width: 54px;
}

.tvm-newsletter__copy {
	position: relative;
	z-index: 1;
}

.tvm-newsletter__copy h2 {
	color: #281f18;
	font-family: var(--tvm-display);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0 0 8px;
}

.tvm-newsletter__copy p {
	color: #554e48;
	font-size: 12px;
	line-height: 1.65;
	margin: 0;
	max-width: 330px;
}

.tvm-newsletter__form {
	min-width: 0;
	position: relative;
	z-index: 2;
}

.tvm-newsletter__honeypot {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.tvm-newsletter__control {
	background: #fff;
	border-radius: 7px;
	display: flex;
	height: 44px;
	overflow: hidden;
}

.tvm-newsletter__control:focus-within {
	box-shadow: 0 0 0 3px rgba(129, 81, 31, 0.16);
}

.tvm-newsletter__control input {
	background: #fff;
	border: 0;
	box-shadow: none;
	color: #2d251f;
	font-family: inherit;
	font-size: 12px;
	min-width: 0;
	outline: 0;
	padding: 0 16px;
	width: 100%;
}

.tvm-newsletter__control input::placeholder {
	color: #6c6660;
	opacity: 1;
}

.tvm-newsletter__control button {
	background: #8a5725;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	flex: 0 0 128px;
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	padding: 0 20px;
	transition: background-color 180ms ease-out;
}

.tvm-newsletter__control button:hover,
.tvm-newsletter__control button:focus-visible {
	background: #704318;
}

.tvm-newsletter__control button:disabled {
	cursor: wait;
	opacity: 0.72;
}

.tvm-newsletter__status {
	font-size: 11px;
	font-weight: 600;
	line-height: 1.35;
	margin: 6px 0 0;
	min-height: 15px;
}

.tvm-newsletter__status.is-error {
	color: #9b2f27;
}

.tvm-newsletter__status.is-success {
	color: #286536;
}

.tvm-newsletter__decoration {
	bottom: -27px;
	height: 158px;
	object-fit: cover;
	object-position: right bottom;
	position: absolute;
	right: -3px;
	width: 205px;
	z-index: 1;
}

/* Native article detail. */
.tvm-article-hero {
	background: #f8f5f1;
	padding: 38px 0 44px;
}

.tvm-article-breadcrumbs {
	align-items: center;
	color: #625b54;
	display: flex;
	font-size: 12px;
	gap: 9px;
	margin-bottom: 28px;
}

.tvm-article-breadcrumbs a {
	color: #625b54;
	text-decoration: none;
}

.tvm-article-breadcrumbs a:hover,
.tvm-article-breadcrumbs a:focus-visible {
	color: #75491d;
}

.tvm-article-breadcrumbs i {
	font-size: 8px;
}

.tvm-article-hero__content {
	max-width: 920px;
}

.tvm-article-hero__category {
	color: #80501f;
	font-size: 13px;
	font-weight: 700;
	margin: 0 0 12px;
}

.tvm-article-hero h1 {
	color: #211913;
	font-family: var(--tvm-display);
	font-size: clamp(36px, 4.3vw, 58px);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.13;
	margin: 0 0 20px;
	text-wrap: balance;
}

.tvm-article-hero__meta {
	align-items: center;
	color: #5a534d;
	display: flex;
	font-size: 13px;
	gap: 14px;
}

.tvm-article-hero__meta span {
	align-items: center;
	display: inline-flex;
	gap: 6px;
}

.tvm-article-layout {
	display: grid;
	gap: 56px;
	grid-template-columns: minmax(0, 1fr) 294px;
	padding: 50px 0 60px;
}

.tvm-article-main {
	min-width: 0;
}

.tvm-article-featured {
	border-radius: 10px;
	margin-bottom: 34px;
	overflow: hidden;
}

.tvm-article-featured img {
	display: block;
	height: auto;
	max-height: 560px;
	object-fit: cover;
	width: 100%;
}

.tvm-article-content {
	color: #403933;
	font-size: 16px;
	line-height: 1.82;
	max-width: 74ch;
}

.tvm-article-content > :first-child {
	margin-top: 0;
}

.tvm-article-content p,
.tvm-article-content ul,
.tvm-article-content ol {
	margin: 0 0 22px;
}

.tvm-article-content h2,
.tvm-article-content h3 {
	color: #211913;
	font-family: var(--tvm-display);
	letter-spacing: -0.02em;
	line-height: 1.25;
	text-wrap: balance;
}

.tvm-article-content h2 {
	font-size: 30px;
	margin: 42px 0 16px;
}

.tvm-article-content h3 {
	font-size: 23px;
	margin: 32px 0 13px;
}

.tvm-article-content li {
	margin-bottom: 8px;
}

.tvm-article-sidebar {
	align-self: start;
	position: sticky;
	top: 100px;
}

.tvm-article-sidebar__section {
	border-bottom: 1px solid #e7e0d9;
	padding: 0 0 25px;
}

.tvm-article-sidebar__section + .tvm-article-sidebar__section {
	padding-top: 25px;
}

.tvm-article-sidebar h2 {
	color: #241c16;
	font-size: 17px;
	margin: 0 0 14px;
}

.tvm-article-sidebar__link {
	align-items: center;
	color: #4d4640;
	display: flex;
	font-size: 13px;
	font-weight: 600;
	justify-content: space-between;
	line-height: 1.45;
	padding: 9px 0;
	text-decoration: none;
}

.tvm-article-sidebar__link i {
	color: #8a5725;
	font-size: 10px;
}

.tvm-article-sidebar__link:hover,
.tvm-article-sidebar__link:focus-visible {
	color: #75491d;
}

.tvm-related-news {
	background: #f9f7f4;
	padding: 54px 0 60px;
}

.tvm-related-news__heading {
	color: #211913;
	font-family: var(--tvm-display);
	font-size: 32px;
	letter-spacing: -0.02em;
	margin: 0 0 26px;
	text-align: center;
}

.tvm-related-news .tvm-news-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tvm-related-news .tvm-news-card__media {
	aspect-ratio: 1.45 / 1;
}

.tvm-related-news + .tvm-newsletter {
	padding-top: 50px;
}

.noithat-blog-view a:focus-visible,
.noithat-blog-view button:focus-visible,
.noithat-blog-view input:focus-visible {
	outline: 2px solid #9b6734;
	outline-offset: 3px;
}

@media (max-width: 1199px) {
	.tvm-news-filter {
		font-size: 11px;
		gap: 7px;
		padding-inline: 9px;
	}

	.tvm-news-filter.is-active {
		padding-inline: 11px;
	}

	.tvm-news-search {
		flex-basis: 180px;
	}

	.tvm-news-grid {
		gap: 22px 15px;
	}

	.tvm-news-card__body {
		padding: 13px 12px 10px;
	}

	.tvm-news-card__title {
		font-size: 14px;
	}

	.tvm-news-card__excerpt {
		font-size: 11px;
		line-height: 1.8;
	}

	.tvm-newsletter__inner {
		grid-template-columns: 54px 270px minmax(240px, 1fr);
		padding-left: 26px;
		padding-right: 138px;
	}

	.tvm-newsletter__decoration {
		width: 205px;
	}
}

@media (max-width: 900px) {
	.tvm-news-toolbar-wrap {
		width: calc(100% - 32px);
	}

	.tvm-news-toolbar {
		align-items: stretch;
		flex-direction: column;
		gap: 10px;
		padding: 12px;
	}

	.tvm-news-filters {
		overflow-x: auto;
		padding-bottom: 2px;
		scrollbar-width: thin;
	}

	.tvm-news-filter,
	.tvm-news-filter.is-active {
		flex: 0 0 auto;
		font-size: 12px;
		height: 44px;
		padding-inline: 13px;
	}

	.tvm-news-search {
		flex-basis: 44px;
		height: 44px;
		width: 100%;
	}

	.tvm-news-search button {
		flex-basis: 44px;
		height: 44px;
	}

	.tvm-news-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tvm-news-card__title {
		font-size: 16px;
	}

	.tvm-news-card__excerpt {
		font-size: 14px;
	}

	.tvm-news-card:nth-child(-n + 4) .tvm-news-card__excerpt {
		-webkit-line-clamp: 3;
	}

	.tvm-newsletter__inner {
		gap: 10px 18px;
		grid-template-columns: 58px 1fr;
		padding: 24px 170px 22px 30px;
		width: calc(100% - 64px);
	}

	.tvm-newsletter__form {
		grid-column: 1 / -1;
	}

	.tvm-article-layout {
		gap: 36px;
		grid-template-columns: minmax(0, 1fr) 240px;
	}
}

@media (max-width: 767px) {
	.tvm-news-container {
		width: calc(100% - 32px);
	}

	.tvm-news-hero {
		background-position: 66% center;
		height: 326px;
	}

	.tvm-news-breadcrumbs {
		top: 24px;
	}

	.tvm-news-hero__copy {
		top: 55%;
		width: 94%;
	}

	.tvm-news-hero__copy h1 {
		font-size: clamp(34px, 10vw, 43px);
		margin-bottom: 12px;
	}

	.tvm-news-hero__copy p {
		font-size: 14px;
	}

	.tvm-news-toolbar-wrap {
		margin-top: -30px;
	}

	.tvm-news-toolbar {
		border-radius: 13px;
	}

	.tvm-news-listing {
		padding: 40px 0;
	}

	.tvm-news-pagination {
		margin-top: 28px;
	}

	.tvm-newsletter {
		padding-top: 0;
	}

	.tvm-newsletter__inner {
		border-radius: 12px 12px 0 0;
		grid-template-columns: 54px 1fr;
		padding: 26px 22px 24px;
		width: calc(100% - 32px);
	}

	.tvm-newsletter__icon {
		font-size: 23px;
		height: 52px;
		width: 52px;
	}

	.tvm-newsletter__copy h2 {
		font-size: 22px;
	}

	.tvm-newsletter__decoration {
		display: none;
	}

	.tvm-newsletter__control button {
		flex-basis: 108px;
		padding-inline: 12px;
	}

	.tvm-article-hero {
		padding: 28px 0 34px;
	}

	.tvm-article-breadcrumbs {
		margin-bottom: 22px;
	}

	.tvm-article-hero h1 {
		font-size: clamp(34px, 10vw, 46px);
	}

	.tvm-article-layout {
		display: block;
		padding: 34px 0 46px;
	}

	.tvm-article-featured {
		margin-bottom: 27px;
	}

	.tvm-article-content {
		font-size: 15px;
	}

	.tvm-article-content h2 {
		font-size: 27px;
	}

	.tvm-article-sidebar {
		margin-top: 42px;
		position: static;
	}

	.tvm-related-news {
		padding: 44px 0 50px;
	}

	.tvm-related-news .tvm-news-grid {
		display: flex;
		overflow-x: auto;
		padding: 0 1px 10px;
		scroll-snap-type: x mandatory;
	}

	.tvm-related-news .tvm-news-card {
		flex: 0 0 282px;
		scroll-snap-align: start;
	}
}

@media (max-width: 580px) {
	.tvm-news-grid {
		grid-template-columns: 1fr;
	}

	.tvm-news-card__media {
		aspect-ratio: 1.32 / 1;
	}

	.tvm-news-card__body {
		padding: 17px 15px 15px;
	}

	.tvm-news-card__title {
		font-size: 18px;
		min-height: 0;
	}

	.tvm-news-card__excerpt {
		font-size: 14px;
	}

	.tvm-newsletter__control {
		height: auto;
		overflow: visible;
	}

	.tvm-newsletter__control input {
		border-radius: 7px 0 0 7px;
		height: 46px;
	}

	.tvm-newsletter__control button {
		border-radius: 0 7px 7px 0;
		min-height: 46px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tvm-news-card,
	.tvm-news-card__media img,
	.tvm-news-filter,
	.tvm-news-filter i,
	.tvm-newsletter__control button {
		transition-duration: 0.01ms !important;
	}

	.tvm-news-card:hover,
	.tvm-news-card:focus-within,
	.tvm-news-card:hover .tvm-news-card__media img,
	.tvm-news-card:focus-within .tvm-news-card__media img {
		transform: none;
	}
}
