/* =========================================================================
   Tour Cambodia – giao diện chính (nạp cho cả website và Trình chỉnh sửa).
   Màu, font, khoảng cách lấy từ theme.json → đổi trong Giao diện → Trình chỉnh sửa → Kiểu.
   ========================================================================= */

:root {
	--tc-primary: var(--wp--preset--color--primary);
	--tc-primary-dark: var(--wp--preset--color--primary-dark);
	--tc-primary-light: var(--wp--preset--color--primary-light);
	--tc-price: var(--wp--preset--color--price);
	--tc-text: var(--wp--preset--color--contrast);
	--tc-muted: var(--wp--preset--color--muted);
	--tc-border: var(--wp--preset--color--border);
	--tc-surface: var(--wp--preset--color--surface);
	--tc-highlight: var(--wp--preset--color--highlight);
	--tc-secondary: var(--wp--preset--color--secondary);
	--tc-secondary-dark: var(--wp--preset--color--secondary-dark);
	--tc-secondary-light: var(--wp--preset--color--secondary-light);
	--tc-accent: var(--wp--preset--color--accent);
	--tc-radius: 12px;
	--tc-shadow: 0 6px 24px rgba(16, 24, 40, 0.08);
	--tc-shadow-hover: 0 14px 36px rgba(16, 24, 40, 0.14);
	--tc-sticky-top: var(--wp-admin--admin-bar--height, 0px);
	--tc-topbar-h: 32px;
}

html {
	scroll-behavior: smooth;
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* Header / main / footer liền nhau, không có khoảng trắng mặc định. */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}

img {
	max-width: 100%;
	height: auto;
}

:focus-visible {
	outline: 2px solid var(--tc-secondary);
	outline-offset: 2px;
}

.screen-reader-text:not(:focus) {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

/* ---------------------------------------------------------------- Header */

/* Header dính khi cuộn; thanh trên cùng (email, hotline) trượt khuất, chỉ giữ thanh menu cam. */
.tc-site-header {
	position: sticky;
	top: calc(var(--tc-sticky-top) - var(--tc-topbar-h));
	z-index: 100;
}

@media (max-width: 600px) {
	.admin-bar .tc-site-header {
		top: calc(0px - var(--tc-topbar-h));
	}
}

.tc-topbar.tc-topbar {
	display: flex;
	align-items: center;
	height: var(--tc-topbar-h);
	padding-block: 0;
	overflow: hidden;
	font-size: 12.5px;
	box-sizing: border-box;
}

.tc-topbar > * {
	width: 100%;
}

.tc-topbar a {
	color: inherit;
	text-decoration: none;
}

.tc-topbar a:hover {
	text-decoration: underline;
}

.tc-topbar__contact {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
}

.tc-topbar__contact a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.tc-topbar__contact a::before {
	content: "";
	width: 14px;
	height: 14px;
	background: currentColor;
	-webkit-mask: var(--tc-ico) center / contain no-repeat;
	mask: var(--tc-ico) center / contain no-repeat;
}

.tc-topbar__contact a[href^="mailto:"] {
	--tc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E");
}

.tc-topbar__contact a[href^="tel:"] {
	--tc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E");
	font-weight: 600;
}

.tc-topbar .wp-block-social-links {
	gap: 12px;
}

@media (max-width: 600px) {
	.tc-topbar__contact a[href^="mailto:"],
	.tc-topbar .wp-block-social-links {
		display: none;
	}

	.tc-topbar__contact {
		justify-content: center;
		width: 100%;
	}
}

.tc-header {
	padding-block: 6px;
	transition: padding 0.2s ease;
	border-bottom: 3px solid var(--tc-accent);
	box-shadow: 0 4px 18px rgba(14, 30, 91, 0.1);
}

.tc-header__inner {
	min-height: 50px;
	gap: 16px;
}

.tc-brand {
	gap: 12px;
	min-width: 0;
}

.tc-brand__text.tc-brand__text {
	gap: 0;
	min-width: 0;
}

.tc-brand .wp-block-site-logo img {
	border-radius: 10px;
	background: #fff;
}

.tc-brand__title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.2px;
	white-space: nowrap;
}

.tc-brand__title a {
	color: inherit;
	text-decoration: none !important;
}

/* Chưa tải logo: hiện biểu tượng đền Angkor trước tên website. */
.tc-brand:not(:has(.wp-block-site-logo img)) .tc-brand__title a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.tc-brand:not(:has(.wp-block-site-logo img)) .tc-brand__title a::before {
	content: "";
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath fill='%23D8301A' d='M20 5c-2.2 4-3.2 7.4-3.2 11.6V30h6.4V16.6C23.2 12.4 22.2 9 20 5zM11.5 13c-1.8 3-2.5 5.4-2.5 8.6V30h5v-8.4c0-3.2-.8-5.6-2.5-8.6zM28.5 13c-1.7 3-2.5 5.4-2.5 8.6V30h5v-8.4c0-3.2-.7-5.6-2.5-8.6zM5 30h30v3.5H5zM3 34h34v2H3z'/%3E%3C/svg%3E") center / 28px no-repeat;
}

.tc-brand__tagline {
	margin: 0;
	opacity: 0.9;
	font-size: 12px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media (max-width: 480px) {
	.tc-brand__tagline {
		display: none;
	}

	.tc-brand__title {
		font-size: 1.1rem;
	}
}

.tc-header__nav {
	gap: 8px;
}

/* Menu chính */
.tc-nav .wp-block-navigation__container {
	gap: 2px;
}

.tc-nav .wp-block-navigation-item__content {
	padding: 8px 12px;
	border-radius: 8px;
	white-space: nowrap;
	text-decoration: none !important;
	transition: background-color 0.15s ease;
}

.tc-nav .wp-block-navigation-item__content:hover,
.tc-nav .current-menu-item > .wp-block-navigation-item__content {
	color: var(--tc-primary) !important;
}

.tc-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content:hover,
.tc-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .current-menu-item > .wp-block-navigation-item__content {
	background: var(--tc-secondary-light);
}

.tc-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container {
	background: #fff !important;
	color: var(--tc-text) !important;
	border: 0 !important;
	border-radius: 12px;
	box-shadow: var(--tc-shadow-hover);
	padding: 8px 0;
	min-width: 240px !important;
	text-transform: none;
}

.tc-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	color: var(--tc-text);
	font-weight: 500;
	padding: 9px 18px;
	border-radius: 0;
}

.tc-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	color: var(--tc-primary);
	background: var(--tc-primary-light);
}

.tc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-size: 1.05rem;
	padding: 10px 0;
}

.tc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	text-transform: none;
	font-weight: 500;
}

/* Màn hình vừa (máy tính bảng, laptop nhỏ): dùng menu dạng nút ☰ cho gọn. */
@media (min-width: 600px) and (max-width: 1023px) {
	.tc-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	.tc-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}

	.tc-nav .wp-block-navigation__responsive-container-close:not(.always-shown) {
		display: flex;
	}

	.tc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
		position: static;
		opacity: 1;
		visibility: visible;
		height: auto;
		width: auto;
		min-width: 0;
		border: 0;
		background: transparent;
		padding-left: 1rem;
	}
}




/* --------------------------------------------------- Tiêu đề section */

.is-style-tc-section {
	color: var(--tc-secondary);
	font-size: clamp(1.25rem, 2.4vw, 1.625rem);
	font-weight: 800;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	margin-bottom: 1.75rem;
}

.is-style-tc-section::after {
	content: "";
	display: block;
	width: 84px;
	height: 10px;
	margin-top: 10px;
	background:
		radial-gradient(circle, var(--tc-primary) 3.5px, transparent 4px) center / 12px 10px no-repeat,
		linear-gradient(var(--tc-accent), var(--tc-accent)) left center / 32px 2px no-repeat,
		linear-gradient(var(--tc-accent), var(--tc-accent)) right center / 32px 2px no-repeat;
}

.is-style-tc-section.has-text-align-center::after {
	margin-inline: auto;
}

.tc-kicker {
	color: var(--tc-primary);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 0.25rem;
}

/* ----------------------------------------------------------------- Hero */

.tc-hero-wrap {
	position: relative;
}

.tc-hero.wp-block-cover {
	padding-bottom: 110px;
}

.tc-hero__content > * {
	max-width: 680px;
}

.tc-hero__kicker {
	display: inline-block;
	margin: 0;
	padding: 6px 14px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 99px;
	background: rgba(255, 255, 255, 0.14);
	font-size: 13px;
	font-weight: 600;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.tc-hero .tc-hero__title {
	color: #fff;
	font-size: clamp(2rem, 5.2vw, 3.6rem);
	font-weight: 800;
	line-height: 1.1;
	margin-top: 1rem;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.tc-hero__text {
	font-size: clamp(1rem, 1.6vw, 1.15rem);
	opacity: 0.95;
}

.tc-btn-light .wp-block-button__link {
	color: #fff !important;
	border-color: rgba(255, 255, 255, 0.85) !important;
	background: transparent;
}

.tc-btn-light .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.14) !important;
}

.tc-hero-search {
	position: relative;
	z-index: 2;
	margin-top: -78px;
}

/* --------------------------------------------------- Ô tìm & lọc tour */

.tc-filter {
	display: grid;
	grid-template-columns: 2fr repeat(3, minmax(0, 1fr)) auto;
	gap: 12px;
	align-items: end;
	margin: 0;
	padding: 18px;
	background: #fff;
	border-radius: 16px;
	box-shadow: var(--tc-shadow-hover);
}

.tc-filter--bar {
	grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)) auto;
	margin-bottom: 2rem;
	border: 1px solid var(--tc-border);
	box-shadow: var(--tc-shadow);
}

.tc-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	min-width: 0;
}

.tc-field label {
	font-size: 13px;
	font-weight: 600;
	color: var(--tc-muted);
}

.tc-field abbr {
	color: var(--tc-price);
	text-decoration: none;
}

.tc-filter input,
.tc-filter select,
.tc-form input,
.tc-form select,
.tc-form textarea {
	width: 100%;
	height: 46px;
	padding: 0 14px;
	border: 1px solid #d6d9e0;
	border-radius: 10px;
	background: #fff;
	color: var(--tc-text);
	font: inherit;
	font-size: 15px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	box-sizing: border-box;
}

.tc-form textarea {
	height: auto;
	padding: 12px 14px;
	resize: vertical;
}

.tc-filter input:focus,
.tc-filter select:focus,
.tc-form input:focus,
.tc-form select:focus,
.tc-form textarea:focus {
	outline: none;
	border-color: var(--tc-primary);
	box-shadow: 0 0 0 3px rgba(26, 63, 208, 0.14);
}

.tc-form [aria-invalid="true"] {
	border-color: var(--tc-price);
}

.tc-filter button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 46px;
	padding: 0 22px;
	border: 0;
	cursor: pointer;
	white-space: nowrap;
}

@media (max-width: 960px) {
	.tc-filter,
	.tc-filter--bar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tc-field--keyword,
	.tc-field--submit {
		grid-column: 1 / -1;
	}

	.tc-field--submit button {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.tc-filter {
		gap: 10px;
		padding: 14px;
	}

	.tc-filter .tc-field label {
		font-size: 12px;
	}

	.tc-filter input,
	.tc-filter select {
		height: 42px;
		padding: 0 10px;
		font-size: 14px;
	}

	.tc-hero.wp-block-cover {
		padding-bottom: 90px;
	}

	.tc-hero-search {
		margin-top: -72px;
	}
}

/* ----------------------------------------------------------------- Tab */

.tc-tabs__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 20px;
	margin-bottom: 24px;
	border-bottom: 1px dashed #cfd3db;
}

.tc-tabs__label {
	color: var(--tc-muted);
	font-weight: 500;
}

.tc-tabs__nav {
	display: flex;
	gap: 4px 22px;
	overflow-x: auto;
	scrollbar-width: none;
	max-width: 100%;
}

.tc-tabs__nav::-webkit-scrollbar {
	display: none;
}

.tc-tabs__tab {
	appearance: none;
	margin: 0 0 -1px;
	padding: 10px 2px;
	border: 0;
	border-bottom: 3px solid transparent;
	background: none;
	color: var(--tc-muted);
	font: inherit;
	font-weight: 700;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
}

.tc-tabs__tab:hover {
	color: var(--tc-text);
}

.tc-tabs__tab[aria-selected="true"] {
	color: var(--tc-primary);
	border-bottom-color: var(--tc-primary);
}

.tc-tabs__more {
	margin: 24px 0 0;
	text-align: center;
}

.tc-tabs__more a,
.tc-col-head__more a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	white-space: nowrap;
}

.tc-empty {
	padding: 24px;
	border-radius: var(--tc-radius);
	background: var(--tc-surface);
	color: var(--tc-muted);
	text-align: center;
}

/* ------------------------------------------------------- Lưới & thẻ tour */

.tc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(16rem, 100%), 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tc-grid--posts {
	grid-template-columns: repeat(auto-fill, minmax(min(18rem, 100%), 1fr));
}

.wp-block-post-template.tc-grid {
	gap: 24px;
}

.tc-grid > li {
	display: flex;
	margin: 0;
}

.tc-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--tc-border);
	border-radius: var(--tc-radius);
	box-shadow: var(--tc-shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tc-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--tc-shadow-hover);
}

.tc-card > * + *,
.tc-card__body > * + *,
.tc-card__media > * + * {
	margin-block-start: 0;
}

.tc-card__media {
	position: relative;
	overflow: hidden;
}

.tc-card .wp-block-post-featured-image {
	margin: 0;
}

.tc-card .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.tc-card:hover .wp-block-post-featured-image img {
	transform: scale(1.05);
}

.tc-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 14px 16px 16px;
}

.tc-card__title {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
}

.tc-card__title a {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	color: var(--tc-text);
	text-decoration: none !important;
}

.tc-card__title a:hover {
	color: var(--tc-primary);
}

.tc-card .tc-price {
	margin-top: auto;
	padding-top: 10px;
	border-top: 1px dashed var(--tc-border);
}

/* Thẻ dạng hàng ngang (cột Lễ Tết / Biển đảo) */
.tc-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tc-list > li {
	margin: 0 !important;
}

.tc-card--row {
	flex-direction: row;
}

.tc-card--row .tc-card__media {
	flex: none;
	width: 38%;
	max-width: 190px;
}

.tc-card--row .wp-block-post-featured-image,
.tc-card--row .wp-block-post-featured-image a {
	height: 100%;
}

.tc-card--row .wp-block-post-featured-image img {
	height: 100%;
	min-height: 120px;
}

.tc-card--row .tc-card__body {
	gap: 4px;
	padding: 10px 14px;
}

.tc-card--row .tc-price {
	padding-top: 6px;
}

.tc-card--row .tc-badge {
	top: 8px;
	left: 8px;
	padding: 3px 8px;
	font-size: 11px;
}

.tc-col-head.tc-col-head {
	align-items: flex-start;
	margin-bottom: 1rem;
}

.tc-col-head .is-style-tc-section {
	margin: 0;
}

.tc-col-head__more {
	margin: 0.4rem 0 0;
}

.tc-two-cols {
	gap: 2rem 3rem;
}

/* Thẻ bài viết */
.tc-card--post .tc-card__body {
	gap: 6px;
}

.tc-card__date {
	color: var(--tc-muted);
}

.tc-card--post .wp-block-post-excerpt__excerpt {
	margin: 0;
	color: var(--tc-muted);
}

/* Nhãn giảm giá */
.tc-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
	padding: 5px 11px;
	border-radius: 99px;
	background: var(--tc-price);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	box-shadow: 0 4px 12px rgba(216, 48, 26, 0.35);
}

.tc-badge--hot {
	background: linear-gradient(135deg, var(--tc-accent), var(--tc-primary));
	box-shadow: 0 4px 12px rgba(216, 48, 26, 0.35);
}

.tc-badge--inline {
	position: static;
	display: inline-block;
}

/* Thông tin tour */
.tc-meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--tc-muted);
	font-size: 13.5px;
}

.tc-meta__item {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
}

.tc-meta .tc-icon {
	flex: none;
	color: var(--tc-secondary);
}

.tc-meta__value {
	color: var(--tc-text);
	font-weight: 500;
}

.tc-meta__promo {
	margin-top: 4px;
	padding: 6px 10px;
	border-radius: 8px;
	background: var(--tc-highlight);
	color: #8a5a00;
	font-weight: 500;
}

.tc-meta__promo .tc-icon {
	color: #d97706;
}

.tc-meta--grid {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 8px 22px;
	font-size: 14px;
}

/* Giá */
.tc-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 8px;
	color: var(--tc-muted);
	font-size: 14px;
}

.tc-price__old {
	color: #98a2b3;
}

.tc-price__value {
	color: var(--tc-price);
	font-size: 1.15rem;
	font-weight: 800;
}

.tc-price--large .tc-price__value {
	font-size: 1.75rem;
}

/* --------------------------------------------------- Vì sao chọn chúng tôi */

.tc-features {
	gap: 24px;
}

.tc-feature {
	padding: 28px 20px;
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--tc-shadow);
	text-align: center;
	transition: transform 0.2s ease;
}

.tc-feature:hover {
	transform: translateY(-4px);
}

.tc-feature__icon {
	margin: 0 auto 12px;
}

.tc-feature__icon img {
	width: 72px;
	height: 72px;
}

.tc-feature h3 {
	margin: 0 0 6px;
	font-size: 1.05rem;
}

.tc-feature p {
	margin: 0;
}

@media (min-width: 600px) and (max-width: 781px) {
	.wp-block-columns.tc-features {
		flex-wrap: wrap !important;
	}

	.wp-block-columns.tc-features > .wp-block-column {
		flex-basis: calc(50% - 12px) !important;
	}
}

/* ------------------------------------------------------------ Giới thiệu */

.tc-about__img img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 18px;
	box-shadow: var(--tc-shadow-hover);
}

/* ----------------------------------------------------- Cảm nhận khách hàng */

.is-style-tc-box {
	padding: 24px;
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--tc-shadow);
}

.tc-review {
	height: 100%;
}

.tc-review__stars {
	margin: 0;
	color: #f59e0b;
	letter-spacing: 3px;
}

.tc-review__text {
	font-style: italic;
}

.tc-review__author {
	margin-bottom: 0;
	color: var(--tc-muted);
}

.tc-review__author strong {
	color: var(--tc-text);
}

/* ------------------------------------------------------------------- CTA */

.tc-cta h2 {
	margin-top: 0;
}

.tc-cta .wp-block-buttons {
	gap: 12px;
}

@media (max-width: 781px) {
	.tc-cta .wp-block-buttons {
		justify-content: flex-start !important;
	}
}

.tc-inline-cta {
	margin-block: 2.5rem;
	border-radius: 16px;
}

.tc-inline-cta p {
	margin: 0;
}

/* ------------------------------------------------------------- Breadcrumb */

.tc-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--tc-muted);
	font-size: 13px;
}

.tc-breadcrumbs li + li::before {
	content: "›";
	margin-right: 8px;
	color: #98a2b3;
}

.tc-breadcrumbs a {
	color: var(--tc-muted);
}

.tc-breadcrumbs a:hover {
	color: var(--tc-primary);
}

.tc-breadcrumbs [aria-current] span {
	color: var(--tc-text);
	font-weight: 500;
}

/* ------------------------------------------------------- Đầu trang con */

.tc-page-hero {
	background-image: radial-gradient(circle at 92% -30%, rgba(26, 63, 208, 0.16), transparent 45%);
}

.tc-page-hero h1,
.tc-page-hero .wp-block-query-title,
.tc-page-hero .wp-block-post-title {
	margin: 0.6rem 0 0.25rem;
	font-size: clamp(1.6rem, 3.6vw, 2.25rem);
}

.tc-page-hero .wp-block-term-description p {
	margin: 0;
}

.tc-search-page {
	max-width: 640px;
	margin-top: 1rem;
}

/* ------------------------------------------------------------ Phân trang */

.tc-pagination {
	gap: 6px;
	margin-top: 2.5rem;
}

.tc-pagination .page-numbers,
.tc-pagination a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--tc-border);
	border-radius: 10px;
	color: var(--tc-text);
	text-decoration: none !important;
}

.tc-pagination a:hover {
	border-color: var(--tc-primary);
	color: var(--tc-primary);
}

.tc-pagination .page-numbers.current {
	border-color: var(--tc-primary);
	background: var(--tc-primary);
	color: #fff;
}

/* ------------------------------------------------------ Trang chi tiết tour */

.tc-tour-head {
	margin-bottom: 1.5rem;
}

.tc-tour-title {
	margin: 0.6rem 0 0.75rem;
	font-size: clamp(1.5rem, 3vw, 2.125rem);
}

.tc-tour-layout {
	gap: 2rem 2.5rem;
}

.tc-tour-cover {
	margin-top: 0;
}

.tc-tour-cover img {
	border-radius: 16px;
}

.tc-tour-content h2 {
	margin-top: 2.25rem;
	padding-left: 12px;
	border-left: 4px solid var(--tc-accent);
	font-size: 1.35rem;
}

.tc-tour-content h3 {
	font-size: 1.1rem;
}

.tc-tour-form {
	margin-top: 2.5rem;
}

@media (max-width: 781px) {
	.tc-tour-aside {
		order: -1;
	}
}

/* Lịch trình theo ngày (block Chi tiết) */
.is-style-tc-day,
.tc-tour-content .wp-block-details {
	margin-block: 10px;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--tc-border);
	border-radius: 12px;
	background: #fff;
}

.is-style-tc-day > summary,
.tc-tour-content .wp-block-details > summary {
	position: relative;
	padding: 14px 52px 14px 18px;
	background: var(--tc-surface);
	font-weight: 700;
	list-style: none;
	cursor: pointer;
}

.is-style-tc-day > summary::-webkit-details-marker,
.tc-tour-content .wp-block-details > summary::-webkit-details-marker {
	display: none;
}

.is-style-tc-day > summary::after,
.tc-tour-content .wp-block-details > summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 16px;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--tc-secondary);
	color: #fff;
	font-weight: 700;
	line-height: 1;
	transform: translateY(-50%);
}

.is-style-tc-day[open] > summary,
.tc-tour-content .wp-block-details[open] > summary {
	color: var(--tc-secondary);
}

.is-style-tc-day[open] > summary::after,
.tc-tour-content .wp-block-details[open] > summary::after {
	content: "−";
}

.is-style-tc-day > :not(summary),
.tc-tour-content .wp-block-details > :not(summary) {
	margin-inline: 18px;
}

.is-style-tc-day > :last-child:not(summary),
.tc-tour-content .wp-block-details > :last-child:not(summary) {
	margin-bottom: 16px;
}

/* Danh sách ✓ / ✗ */
.is-style-tc-check,
.is-style-tc-cross {
	padding-left: 0;
	list-style: none;
}

.is-style-tc-check li,
.is-style-tc-cross li {
	position: relative;
	margin-bottom: 8px;
	padding-left: 30px;
}

.is-style-tc-check li::before,
.is-style-tc-cross li::before {
	content: "";
	position: absolute;
	top: 0.25em;
	left: 0;
	width: 20px;
	height: 20px;
	border-radius: 50%;
}

.is-style-tc-check li::before {
	background: #e3f6ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.is-style-tc-cross li::before {
	background: #fde8e8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* Khung giá & đặt tour */
.tc-booking-box {
	position: sticky;
	top: calc(var(--tc-sticky-top) + 84px);
	padding: 22px;
	border: 1px solid var(--tc-border);
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--tc-shadow-hover);
}

@media (max-width: 781px) {
	.tc-booking-box {
		position: static;
	}
}

.tc-booking-box__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	padding-bottom: 16px;
	border-bottom: 1px dashed var(--tc-border);
}

.tc-booking-box__label {
	width: 100%;
	color: var(--tc-muted);
	font-size: 13px;
}

.tc-booking-box__price del {
	color: #98a2b3;
}

.tc-booking-box__price strong {
	color: var(--tc-price);
	font-size: 1.9rem;
	font-weight: 800;
	line-height: 1.1;
}

.tc-booking-box__unit {
	color: var(--tc-muted);
	font-size: 14px;
}

.tc-booking-box__facts {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 16px 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
}

.tc-booking-box__facts li {
	display: grid;
	grid-template-columns: 20px auto 1fr;
	align-items: center;
	gap: 10px;
}

.tc-booking-box__facts span {
	color: var(--tc-muted);
}

.tc-booking-box__facts strong {
	font-weight: 600;
	text-align: right;
}

.tc-booking-box__facts .tc-icon {
	color: var(--tc-secondary);
}

.tc-booking-box__promo {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--tc-highlight);
	color: #8a5a00;
	font-size: 14px;
	font-weight: 500;
}

.tc-booking-box__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 16px;
}

.tc-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 18px;
	border-radius: 10px;
	font-weight: 700;
	text-decoration: none !important;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.tc-btn--primary {
	font-size: 1.05rem;
}

.tc-btn--outline {
	border: 2px solid var(--tc-secondary);
	color: var(--tc-secondary);
}

.tc-btn--outline:hover {
	background: var(--tc-secondary-light);
	color: var(--tc-secondary-dark);
}

.tc-btn--zalo {
	background: #0068ff;
	color: #fff;
}

.tc-btn--zalo:hover {
	background: #0052cc;
	color: #fff;
}

.tc-booking-box__note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 12px 0 0;
	color: var(--tc-muted);
	font-size: 13px;
}

.tc-booking-box__note .tc-icon {
	color: #16a34a;
}

/* Tour liên quan */
.tc-related {
	margin-top: 3.5rem;
}

/* ------------------------------------------------------------------ Form */

.tc-form-wrap {
	padding: clamp(18px, 3vw, 28px);
	border: 1px solid var(--tc-border);
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--tc-shadow);
	scroll-margin-top: 96px;
}

.tc-form-wrap--compact {
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.tc-form__title {
	margin: 0 0 6px;
	font-size: 1.35rem;
}

.tc-form__tour {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 16px;
	color: var(--tc-secondary);
	font-weight: 600;
}

.tc-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 16px;
}

.tc-field--full {
	grid-column: 1 / -1;
}

@media (max-width: 560px) {
	.tc-form__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.tc-form__estimate {
	margin: 16px 0 0;
	padding: 12px 14px;
	border-radius: 10px;
	background: var(--tc-primary-light);
}

.tc-form__estimate strong {
	color: var(--tc-price);
	font-size: 1.1rem;
}

.tc-form__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin-top: 18px;
}

.tc-form__submit {
	min-width: 180px;
	border: 0;
	cursor: pointer;
}

.tc-form__submit[disabled] {
	opacity: 0.7;
	cursor: progress;
}

.tc-form__privacy {
	color: var(--tc-muted);
	font-size: 13px;
}

.tc-form__message {
	margin-top: 14px;
	padding: 12px 14px;
	border-radius: 10px;
	font-weight: 500;
}

.tc-form__message.is-success {
	background: #e7f6ec;
	color: #146c3a;
}

.tc-form__message.is-error {
	background: #fdecec;
	color: #a61b1b;
}

.tc-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.tc-form-wrap--compact .tc-form__submit {
	width: 100%;
}

/* ---------------------------------------------------------------- Footer */

.tc-footer {
	font-size: 14px;
}

.tc-footer p,
.tc-footer li {
	color: rgba(255, 255, 255, 0.76);
}

.tc-footer strong {
	color: #fff;
}

.tc-footer a {
	color: rgba(255, 255, 255, 0.9);
}

.tc-footer a:hover {
	color: #fff;
}

.tc-footer__cols {
	gap: 2rem 2.5rem;
}

.tc-footer__brand {
	margin-bottom: 0.75rem;
	font-size: 1.3rem;
	font-weight: 800;
}

.tc-footer__brand a {
	color: #fff;
	text-decoration: none;
}

.tc-footer__title {
	position: relative;
	margin: 0 0 1rem;
	padding-bottom: 10px;
	color: #fff;
	font-size: 0.95rem;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.tc-footer__title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 36px;
	height: 3px;
	border-radius: 3px;
	background: var(--tc-accent);
}

.tc-footer__links,
.tc-footer__contact {
	padding: 0;
	list-style: none;
}

.tc-footer__links li,
.tc-footer__contact li {
	margin: 0 0 8px;
}

.tc-footer__links a::before {
	content: "›";
	margin-right: 8px;
	color: var(--tc-accent);
	font-weight: 700;
}

.tc-footer__sep.wp-block-separator {
	margin-block: 2.5rem 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.12);
}

.tc-footer__bottom p {
	margin: 0;
}

.tc-footer .tc-form__grid {
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
}

.tc-footer .tc-field label {
	color: rgba(255, 255, 255, 0.7);
	font-size: 12px;
}

.tc-footer .tc-form input {
	height: 42px;
	border-color: rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	color-scheme: dark;
}

.tc-footer .tc-form input::placeholder {
	color: rgba(255, 255, 255, 0.45);
}

.tc-footer .tc-form__footer {
	margin-top: 12px;
}

/* --------------------------------------------- Nút liên hệ nổi (Zalo, gọi) */

.tc-float {
	position: fixed;
	bottom: 20px;
	z-index: 90;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tc-float--left {
	left: 16px;
}

.tc-float--right {
	right: 16px;
	align-items: flex-end;
}

.tc-float__btn {
	position: relative;
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	color: #fff !important;
	text-decoration: none !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
	transition: transform 0.2s ease;
}

.tc-float__btn:hover {
	transform: scale(1.08);
}

.tc-float__btn--zalo {
	background: #0068ff;
}

.tc-float__zalo {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: -0.2px;
}

.tc-float__btn--messenger {
	background: linear-gradient(45deg, #0099ff, #a033ff 60%, #ff5280);
}

.tc-float__btn--phone {
	background: var(--tc-price);
}

.tc-float__btn--phone::before {
	content: "";
	position: absolute;
	inset: -6px;
	border: 2px solid rgba(224, 36, 36, 0.55);
	border-radius: 50%;
	animation: tc-pulse 1.6s ease-out infinite;
}

.tc-float__btn--phone .tc-icon {
	animation: tc-ring 1.6s ease-in-out infinite;
}

.tc-float__hotline {
	position: absolute;
	left: calc(100% + 10px);
	padding: 8px 14px;
	border-radius: 99px;
	background: var(--tc-price);
	box-shadow: 0 6px 18px rgba(224, 36, 36, 0.3);
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
}

.tc-float--right .tc-float__hotline {
	right: calc(100% + 10px);
	left: auto;
}

@keyframes tc-pulse {
	0% {
		transform: scale(0.9);
		opacity: 1;
	}

	100% {
		transform: scale(1.35);
		opacity: 0;
	}
}

@keyframes tc-ring {
	0%,
	50%,
	100% {
		transform: rotate(0);
	}

	10%,
	30% {
		transform: rotate(-14deg);
	}

	20%,
	40% {
		transform: rotate(14deg);
	}
}

@media (max-width: 1023px) {
	.tc-float__hotline {
		display: none;
	}
}

@media (max-width: 600px) {
	.tc-float {
		bottom: 14px;
		gap: 10px;
	}

	.tc-float__btn {
		width: 48px;
		height: 48px;
	}

	.tc-float__hotline {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tc-float__btn--phone::before,
	.tc-float__btn--phone .tc-icon {
		animation: none;
	}

	.tc-card,
	.tc-card .wp-block-post-featured-image img,
	.tc-feature {
		transition: none;
	}
}

/* --------------------------------------------------------------- 404, bài */

.tc-404__code {
	margin: 0;
	background: linear-gradient(135deg, var(--tc-primary), #f59e0b);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-size: clamp(5rem, 16vw, 9rem);
	font-weight: 800;
	line-height: 1;
}

.tc-post-meta {
	gap: 12px;
	color: var(--tc-muted);
}

.tc-post-meta p,
.tc-post-meta div {
	margin: 0;
}

/* Trong trình chỉnh sửa: nút nổi hiển thị tại chỗ để dễ chọn. */
.editor-styles-wrapper .tc-float {
	position: static;
	flex-direction: row;
}

/* Xem trước block "Nút liên hệ nổi" trong trình chỉnh sửa. */
.tc-float-preview {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border: 1px dashed #c5c9d2;
	border-radius: 12px;
	background: #fff;
	color: var(--tc-muted);
	font-size: 13px;
}

.tc-float-preview__dot {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
}

.tc-float-preview__dot.is-zalo {
	background: #0068ff;
}

.tc-float-preview__dot.is-messenger {
	background: linear-gradient(45deg, #0099ff, #a033ff 60%, #ff5280);
}

.tc-float-preview__dot.is-phone {
	background: var(--tc-price);
	font-size: 16px;
}

/* ------------------------------------------------ Logo, ngôn ngữ (header) */

.tc-logo img {
	width: 150px;
	height: auto;
	transition: width 0.2s ease;
}

/* Khi cuộn trang: header thu nhỏ cho gọn. */
.tc-scrolled .tc-header {
	padding-block: 2px;
}

.tc-scrolled .tc-logo img {
	width: 122px;
}

/* Đã có logo (logo đã chứa tên thương hiệu) → ẩn chữ tên website bên cạnh. */
.tc-brand:has(.wp-block-site-logo img) .tc-brand__text {
	display: none;
}

@media (max-width: 480px) {
	.tc-logo img {
		width: 118px;
	}
}

.tc-topbar__right.tc-topbar__right {
	gap: 14px;
}

.tc-lang {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	padding: 2px;
	border-radius: 99px;
	background: rgba(255, 255, 255, 0.18);
}

.tc-lang__item {
	padding: 1px 10px;
	border-radius: 99px;
	color: #fff !important;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.4px;
	text-decoration: none !important;
}

.tc-lang__item.is-active {
	background: #fff;
	color: var(--tc-primary-dark) !important;
}

@media (max-width: 600px) {
	.tc-topbar__contact.tc-topbar__contact {
		width: auto;
		justify-content: flex-start;
	}
}

/* -------------------------------------------------------- Slider banner */

.tc-slider {
	position: relative;
}

.tc-slider__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}

.tc-slider__track::-webkit-scrollbar {
	display: none;
}

.tc-slider__track > .wp-block-cover {
	flex: 0 0 100%;
	margin: 0 !important;
	scroll-snap-align: start;
}

/* Lớp tối bên trái để chữ trên ảnh luôn dễ đọc. Thứ tự lớp: ảnh → lớp tối → lớp phủ màu → chữ. */
.tc-hero.wp-block-cover {
	isolation: isolate;
}

.tc-hero .wp-block-cover__image-background {
	z-index: -1;
}

.tc-hero.wp-block-cover::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(90deg, rgba(10, 8, 6, 0.6) 0%, rgba(10, 8, 6, 0.25) 55%, rgba(10, 8, 6, 0) 85%);
	pointer-events: none;
}

.tc-hero .tc-hero__title,
.tc-hero .tc-hero__text {
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.tc-hero h2.tc-hero__title {
	color: #fff;
	font-size: clamp(1.9rem, 4.6vw, 3.25rem);
	font-weight: 800;
	line-height: 1.12;
}

.tc-slider__nav {
	position: absolute;
	top: 42%;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0 0 4px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.88);
	color: var(--tc-text);
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	box-shadow: var(--tc-shadow);
	transform: translateY(-50%);
	transition: background-color 0.15s ease;
}

.tc-slider__nav:hover {
	background: #fff;
}

.tc-slider__nav--prev {
	left: 18px;
}

.tc-slider__nav--next {
	right: 18px;
}

.tc-slider__dots {
	position: absolute;
	right: 0;
	bottom: 100px;
	left: 0;
	z-index: 3;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.tc-slider__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 99px;
	background: rgba(255, 255, 255, 0.55);
	cursor: pointer;
	transition: width 0.25s ease, background-color 0.25s ease;
}

.tc-slider__dot.is-active {
	width: 28px;
	background: #fff;
}

@media (max-width: 600px) {
	.tc-slider__nav {
		display: none;
	}

	.tc-slider__dots {
		bottom: 84px;
	}
}

/* Trong trình chỉnh sửa: các slide xếp dọc để dễ sửa. */
.tc-slider--editor .tc-slider__track {
	display: block;
	overflow: visible;
}

.tc-slider--editor .tc-slider__track > .wp-block-cover + .wp-block-cover {
	margin-top: 12px !important;
}

/* ------------------------------------------ Dải tour trượt ngang (Combo hot) */

.tc-carousel {
	position: relative;
}

.tc-carousel__track.tc-grid {
	grid-auto-flow: column;
	grid-template-columns: none;
	grid-auto-columns: calc((100% - 3 * 24px) / 4);
	overflow-x: auto;
	padding: 6px 2px 12px;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}

.tc-carousel__track::-webkit-scrollbar {
	display: none;
}

.tc-carousel__track > li {
	scroll-snap-align: start;
}

@media (max-width: 1100px) {
	.tc-carousel__track.tc-grid {
		grid-auto-columns: calc((100% - 2 * 24px) / 3);
	}
}

@media (max-width: 781px) {
	.tc-carousel__track.tc-grid {
		grid-auto-columns: calc((100% - 24px) / 2);
	}
}

@media (max-width: 560px) {
	.tc-carousel__track.tc-grid {
		grid-auto-columns: 86%;
		gap: 14px;
	}
}

.tc-carousel__nav {
	position: absolute;
	top: 32%;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0 0 4px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--tc-text);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	box-shadow: var(--tc-shadow-hover);
	transition: opacity 0.15s ease, color 0.15s ease;
}

.tc-carousel__nav:hover {
	color: var(--tc-primary);
}

.tc-carousel__nav[disabled] {
	opacity: 0;
	pointer-events: none;
}

.tc-carousel__nav--prev {
	left: -16px;
}

.tc-carousel__nav--next {
	right: -16px;
}

.tc-carousel.is-static .tc-carousel__nav {
	display: none;
}

@media (max-width: 1260px) {
	.tc-carousel__nav--prev {
		left: 4px;
	}

	.tc-carousel__nav--next {
		right: 4px;
	}
}

@media (max-width: 600px) {
	/* Banner trên điện thoại: bỏ nút phụ (đã có nút gọi nổi), chừa chỗ cho dấu chấm slider. */
	.tc-hero .tc-btn-light {
		display: none;
	}

	.tc-hero.wp-block-cover {
		padding-bottom: 118px;
	}

	.tc-slider__dots {
		bottom: 90px;
	}

	/* Thẻ tour dạng hàng ngang: chỉ hiện biểu tượng + giá trị cho gọn. */
	.tc-card--row .tc-meta__label {
		display: none;
	}
}


/* ---------------------------------------------------------- Popup tư vấn */

.tc-popup {
	width: min(760px, calc(100% - 32px));
	max-width: none;
	max-height: calc(100% - 32px);
	padding: 0;
	border: 0;
	border-radius: 20px;
	background: transparent;
	overflow: visible;
}

.tc-popup::backdrop {
	background: rgba(11, 26, 74, 0.55);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
}

.tc-popup[open] {
	animation: tc-popup-in 0.28s ease-out;
}

@keyframes tc-popup-in {
	from {
		opacity: 0;
		transform: translateY(18px) scale(0.98);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.tc-popup__box {
	position: relative;
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	overflow: hidden;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 30px 80px rgba(11, 26, 74, 0.35);
}

.tc-popup__box:focus {
	outline: none;
}

.tc-popup__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0 0 2px;
	border: 0;
	border-radius: 50%;
	background: var(--tc-surface);
	color: var(--tc-text);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.tc-popup__close:hover {
	background: var(--tc-secondary-light);
	color: var(--tc-primary);
}

.tc-popup__media {
	position: relative;
	min-height: 100%;
	background-color: var(--tc-secondary-dark);
	background-position: center;
	background-size: cover;
}

.tc-popup__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(11, 26, 74, 0) 40%, rgba(11, 26, 74, 0.55) 100%);
}

.tc-popup__badge {
	position: absolute;
	left: 16px;
	bottom: 16px;
	z-index: 1;
	padding: 6px 14px;
	border-radius: 99px;
	background: var(--tc-accent);
	color: var(--tc-secondary-dark);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.3px;
	text-transform: uppercase;
}

.tc-popup__body {
	padding: 30px 28px 18px;
}

.tc-popup__title {
	margin: 0 32px 8px 0;
	color: var(--tc-secondary-dark);
	font-size: 1.4rem;
	font-weight: 800;
	line-height: 1.3;
}

.tc-popup__text {
	margin: 0 0 16px;
	color: var(--tc-muted);
	font-size: 14px;
}

.tc-popup .tc-form__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 12px;
}

.tc-popup .tc-form input {
	height: 42px;
}

.tc-popup .tc-form__footer {
	margin-top: 14px;
}

.tc-popup__later {
	display: block;
	margin: 10px auto 0;
	padding: 4px 8px;
	border: 0;
	background: none;
	color: var(--tc-muted);
	font: inherit;
	font-size: 13px;
	text-decoration: underline;
	cursor: pointer;
}

.tc-popup-open {
	overflow: hidden;
}

/* Điện thoại: popup trượt lên từ dưới, bỏ ảnh. */
@media (max-width: 640px) {
	.tc-popup {
		width: 100%;
		max-height: 92%;
		margin: auto 0 0;
		border-radius: 20px 20px 0 0;
	}

	.tc-popup__box {
		grid-template-columns: minmax(0, 1fr);
		border-radius: 20px 20px 0 0;
	}

	.tc-popup__media {
		display: none;
	}

	.tc-popup__body {
		padding: 24px 18px 14px;
		overflow-y: auto;
	}

	.tc-popup .tc-form__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Xem trước block popup trong trình chỉnh sửa. */
.tc-popup-preview {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px;
	border: 1px dashed #b8c2dc;
	border-radius: 12px;
	background: #fff;
	color: var(--tc-muted);
	font-size: 13px;
}

.tc-popup-preview strong {
	color: var(--tc-secondary-dark);
}
