*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.8;
	color: var(--color-paragraph);
	background: var(--color-white);
}

img { max-width: 100%; height: auto; display: block; }

.bt-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none !important;
}
a {
	color: var(--color-link);
	text-decoration: none;
	transition: color var(--transition);
}

a:hover {
	color: var(--color-link-hover);
}
ul { margin: 0; padding: 0; list-style: none; }

/* Restore editor lists / spacing inside post content */
.entry-content ul,
.visa-detail__body ul,
.blog-single__content ul,
.page-content__body ul {
	list-style: disc;
	margin: 0 0 1em;
	padding-left: 1.4em;
}

.entry-content ol,
.visa-detail__body ol,
.blog-single__content ol,
.page-content__body ol {
	list-style: decimal;
	margin: 0 0 1em;
	padding-left: 1.4em;
}

.entry-content li,
.visa-detail__body li,
.blog-single__content li,
.page-content__body li {
	margin: 0 0 0.45em;
	padding-left: 0.15em;
	line-height: 1.7;
}

.entry-content li:last-child,
.visa-detail__body li:last-child,
.blog-single__content li:last-child,
.page-content__body li:last-child {
	margin-bottom: 0;
}

.entry-content p,
.visa-detail__body p,
.blog-single__content p,
.page-content__body p {
	margin: 0 0 1em;
}

.entry-content p:last-child,
.visa-detail__body p:last-child,
.blog-single__content p:last-child,
.page-content__body p:last-child {
	margin-bottom: 0;
}

/* Editor tables — clear borders + header fill */
.entry-content .wp-block-table,
.visa-detail__body .wp-block-table,
.blog-single__content .wp-block-table,
.page-content__body .wp-block-table,
.entry-content .table-wrap,
.visa-detail__body .table-wrap,
.blog-single__content .table-wrap,
.page-content__body .table-wrap {
	margin: 0 0 1.25em;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.entry-content table,
.visa-detail__body table,
.blog-single__content table,
.page-content__body table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 0 0 1.25em;
	border: 1px solid #E4E0F0;
	border-radius: 12px;
	overflow: hidden;
	background: #FFFFFF;
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--color-gray-700, #4A4D63);
	box-shadow: 0 4px 14px rgba(44, 34, 88, 0.04);
}

.entry-content .wp-block-table table,
.visa-detail__body .wp-block-table table,
.blog-single__content .wp-block-table table,
.page-content__body .wp-block-table table {
	margin-bottom: 0;
}

.entry-content thead th,
.visa-detail__body thead th,
.blog-single__content thead th,
.page-content__body thead th,
.entry-content tr:first-child th,
.visa-detail__body tr:first-child th,
.blog-single__content tr:first-child th,
.page-content__body tr:first-child th {
	background: linear-gradient(90deg, #6A32FF 0%, #8B4DFF 100%);
	color: #FFFFFF;
	font-weight: 700;
	text-align: left;
	padding: 12px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
	border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.entry-content thead th:last-child,
.visa-detail__body thead th:last-child,
.blog-single__content thead th:last-child,
.page-content__body thead th:last-child,
.entry-content tr:first-child th:last-child,
.visa-detail__body tr:first-child th:last-child,
.blog-single__content tr:first-child th:last-child,
.page-content__body tr:first-child th:last-child {
	border-right: 0;
}

.entry-content th,
.visa-detail__body th,
.blog-single__content th,
.page-content__body th,
.entry-content td,
.visa-detail__body td,
.blog-single__content td,
.page-content__body td {
	padding: 11px 14px;
	border-bottom: 1px solid #EDE9F7;
	border-right: 1px solid #EDE9F7;
	vertical-align: top;
	text-align: left;
}

.entry-content th:last-child,
.visa-detail__body th:last-child,
.blog-single__content th:last-child,
.page-content__body th:last-child,
.entry-content td:last-child,
.visa-detail__body td:last-child,
.blog-single__content td:last-child,
.page-content__body td:last-child {
	border-right: 0;
}

.entry-content tbody tr:nth-child(even) td,
.visa-detail__body tbody tr:nth-child(even) td,
.blog-single__content tbody tr:nth-child(even) td,
.page-content__body tbody tr:nth-child(even) td,
.entry-content tr:nth-child(even) td,
.visa-detail__body tr:nth-child(even) td,
.blog-single__content tr:nth-child(even) td,
.page-content__body tr:nth-child(even) td {
	background: #F8F6FD;
}

.entry-content tbody tr:hover td,
.visa-detail__body tbody tr:hover td,
.blog-single__content tbody tr:hover td,
.page-content__body tbody tr:hover td {
	background: #F1ECFF;
}

.entry-content tbody tr:last-child td,
.visa-detail__body tbody tr:last-child td,
.blog-single__content tbody tr:last-child td,
.page-content__body tbody tr:last-child td,
.entry-content tr:last-child td,
.visa-detail__body tr:last-child td,
.blog-single__content tr:last-child td,
.page-content__body tr:last-child td {
	border-bottom: 0;
}

.entry-content tbody tr:last-child td strong,
.visa-detail__body tbody tr:last-child td strong,
.blog-single__content tbody tr:last-child td strong,
.page-content__body tbody tr:last-child td strong,
.entry-content tbody tr:last-child td b,
.visa-detail__body tbody tr:last-child td b,
.blog-single__content tbody tr:last-child td b,
.page-content__body tbody tr:last-child td b {
	color: var(--color-heading, #2C2258);
}

.entry-content figcaption,
.visa-detail__body figcaption,
.blog-single__content figcaption,
.page-content__body figcaption {
	margin-top: 8px;
	font-size: 0.82rem;
	color: var(--color-gray-500, #8A8DA3);
	text-align: center;
}

@media (max-width: 767px) {
	.entry-content table,
	.visa-detail__body table,
	.blog-single__content table,
	.page-content__body table {
		font-size: 0.86rem;
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.entry-content th,
	.visa-detail__body th,
	.blog-single__content th,
	.page-content__body th,
	.entry-content td,
	.visa-detail__body td,
	.blog-single__content td,
	.page-content__body td {
		padding: 10px 12px;
		white-space: nowrap;
	}
}

.container,
.bling-tour-section__frame,
.search-tour-shell {
	width: min(100% - var(--layout-gutter), var(--layout-max));
	margin-inline: auto;
}

.site-main { min-height: 50vh; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Section spacing — đồng bộ khoảng cách giữa các khối */
.section {
	padding-top: var(--section-gap);
	padding-bottom: var(--section-gap);
}

.section__cta { text-align: center; margin-top: 36px; }
.section__empty { text-align: center; color: var(--color-gray-400); padding: 48px 20px; }
