/**
 * Custom CSS – Immidox Theme (evisavietnam)
 * Ghi đè / tùy chỉnh giao diện. Load sau style chính.
 * Cập nhật: 2026-01-28
 */

/* ==========================================================================
   1. HEADER & NAVIGATION
   ========================================================================== */

/* Tránh pseudo-element ::before đè lên nút Apply Now */
.header-style-one .header-lower .outer-box::before {
	z-index: 0;
}

.header-style-one .header-lower .main-box,
.header-style-one .header-lower .menu-area,
.header-style-one .header-lower .menu-area .btn-box {
	position: relative;
	z-index: 1;
}

/* Menu desktop: tránh CONTACT wrap xuống dòng */
.header-style-one .header-lower .menu-area .main-menu .navigation {
	display: flex;
	flex-wrap: nowrap;
	white-space: nowrap;
}

.header-style-one .header-lower .menu-area .main-menu .navigation>li>a {
	white-space: nowrap;
	padding-left: 12px;
	padding-right: 12px;
	font-size: 16px;
	font-weight: 700;
}

#payment_method_onepay {
	display: none !important;
}

@media only screen and (max-width: 1499px) {
	.header-style-one .header-lower .menu-area .main-menu .navigation>li>a {
		padding-left: 10px;
		padding-right: 10px;
		font-size: 14px;
	}
}

.header-style-one .header-lower .menu-area .main-menu {
	margin-right: 350px;
}

@media only screen and (max-width: 1749px) {
	.header-style-one .header-lower .menu-area .main-menu {
		margin-right: 80px;
	}
}

/* Menu mobile sớm hơn (breakpoint 1400px) */
@media only screen and (max-width: 1399px) {

	.header-style-one .header-lower .menu-area .main-menu,
	.sticky-header .main-menu {
		display: none !important;
	}

	.header-style-one .menu-area .mobile-nav-toggler {
		display: block !important;
		padding: 10px;
	}

	.header-style-one .header-lower .menu-area {
		display: flex !important;
		align-items: center;
		justify-content: flex-end;
		gap: 8px;
		background: transparent !important;
		box-shadow: none !important;
		border-radius: 0;
		overflow: visible;
	}

	.header-style-one .header-lower .menu-area .btn-box {
		clip-path: none;
	}
}

.sticky-header .nav-right {
	display: flex;
    align-items: center;
}

/* Luôn hiển thị nút Apply Now kể cả trên mobile */
.header-style-one .header-lower .menu-area .btn-box,
.sticky-header .nav-right .btn-box-li .btn-box {
	display: flex !important;
	align-items: center;
}

/* Sticky header: nút Apply Now trong nav-right (trước icon search) */
.sticky-header .nav-right .btn-box-li {
	display: inline-flex;
	align-items: center;
	width: 100% !important;
	border-radius: 10px;
    padding: 10px;
	background: #bc9c22;
    color: #fff;
}

.sticky-header .nav-right .btn-box-li:hover {
	background: #1e593c;
	color: #fff;
}

.sticky-header .nav-right .btn-box-li .btn-box a {
	white-space: nowrap;
	font-size: 16px;
	font-weight: 600;
	border-radius: unset;
	color: #fff;
}

.header-style-one .header-lower .menu-area .btn-box a {
	white-space: nowrap;
	font-size: 16px;
	font-weight: 600;
	border-radius: 8px;
}

.navSidebar-button {
	display: none !important;
}

@media only screen and (max-width: 767px) {
	.header-style-one .header-lower .menu-area .btn-box a,
	.sticky-header .nav-right .btn-box-li .btn-box a {
		padding: 8px 14px;
		font-size: 13px;
	}

	.navSidebar-button {
		display: none !important;
	}
}

/* Sticky header mobile: nút Apply Now luôn hiển thị */
@media only screen and (max-width: 1399px) {
	.sticky-header .nav-right .btn-box-li .btn-box {
		display: flex !important;
	}
}

/* Header-top: tránh admin bar / plugin đè lên email */
.header-top {
	position: relative;
	z-index: 99;
}

/* ==========================================================================
   2. WOOCOMMERCE / CHECKOUT
   ========================================================================== */

.wc-block-components-checkout-place-order-button {
	padding: 16px 48px;
	min-width: 160px;
	font-weight: 700;
	text-transform: uppercase;
	color: #fff;
	background: #ffaa17;
	border: none;
	cursor: pointer;
	border-radius: 8px;
	font-size: 15px;
	transition: all 0.3s ease;
	text-align: center;
	box-shadow: none !important;
	outline: none !important;
}

.wc-block-components-checkout-place-order-button:hover {
	background: #041E42;
	color: #fff;
	outline: none;
	box-shadow: none;
}

#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
	background-color: unset;
}


/* ==========================================================================
   3. ELEMENTOR
   ========================================================================== */

.elementor-icon-list-icon svg {
	width: 20px;
	height: 20px;
}


/* ==========================================================================
   4. BANNER / SLIDER (Banner With Left Text)
   ========================================================================== */

/* Banner full screen: không bị đẩy xuống/sang phải, ảnh không scale và không animation */
.banner-section {
	overflow: hidden;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.banner-section .banner-carousel .slide-item .image-layer {
	left: 0 !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100% !important;
	height: 100% !important;
	background-size: cover !important;
	background-position: top right !important;
	background-repeat: no-repeat !important;
	background-attachment: scroll !important;
	transform: none !important;
	transition: none !important;
	-webkit-transform: none !important;
	-webkit-transition: none !important;
}

.banner-section .banner-carousel .active .slide-item .image-layer {
	transform: none !important;
	-webkit-transform: none !important;
}

.banner-carousel .active .slide-item .image-layer {
	transform: scale(1) !important;
	-webkit-transform: scale(1) !important;
}

.blog-details-content .news-block-one .inner-box .image-box img {
	width: 100%;
}

.sidebar-page-container {
    padding: 50px 0px;
}

/* Fix hiển thị trên tablet/mobile */
@media only screen and (max-width: 991px) {
	.banner-section .banner-carousel .slide-item {
		min-height: 400px;
		padding: 80px 20px 120px;
	}

	.banner-section .banner-carousel .slide-item .image-layer {
		background-size: cover !important;
		background-position: top right !important;
		transform: none !important;
	}
}

@media only screen and (max-width: 575px) {
	.banner-section .banner-carousel .slide-item {
		min-height: 380px;
		padding: 60px 16px 90px;
	}

	.banner-section .banner-carousel .slide-item .image-layer {
		background-position: 79% top !important;
	}
}


/* ==========================================================================
   5. THANK YOU PAGE – Desktop & All
   ========================================================================== */

/* Tránh URL dài (Passport Link, Photo Link) tràn ra ngoài, overlap cột Total */
.woocommerce-order-details .woocommerce-table--order-details {
	table-layout: fixed;
}
.woocommerce-order-details .woocommerce-table--order-details td.product-name {
	word-break: break-all;
	overflow-wrap: break-word;
	max-width: 1px; /* Force column shrink, allow wrap */
}
.woocommerce-order-details .woocommerce-table--order-details td.product-name a,
.woocommerce-order-details .woocommerce-table--order-details .wc-item-meta a {
	word-break: break-all;
	overflow-wrap: break-word;
}
/* Item meta (Traveler info) – nhóm rõ ràng, link đẹp hơn */
.woocommerce-order-details .wc-item-meta {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid #eee;
	font-size: 0.9em;
}
.woocommerce-order-details .wc-item-meta .wc-item-meta-label {
	font-weight: 600;
	color: #333;
}
.woocommerce-order-details .wc-item-meta a {
	text-decoration: underline;
}

/* ==========================================================================
   5b. THANK YOU PAGE – Mobile
   ========================================================================== */

@media only screen and (max-width: 767px) {

	/* Tránh cắt Total, overflow */
	.woocommerce-order,
	.woocommerce-order-details {
		overflow-x: hidden;
		padding-left: 0;
		padding-right: 0;
	}

	.woocommerce-order .woocommerce-order-overview {
		padding-left: 0;
		padding-right: 0;
	}

	/* Order details table – scroll ngang nếu cần, hoặc stack layout */
	.woocommerce-order-details .woocommerce-table--order-details {
		display: block;
	}

	.woocommerce-order-details .woocommerce-table--order-details thead {
		display: none;
	}

	.woocommerce-order-details .woocommerce-table--order-details tbody,
	.woocommerce-order-details .woocommerce-table--order-details tfoot {
		display: block;
	}

	.woocommerce-order-details .woocommerce-table--order-details tr {
		display: block;
		border-bottom: 1px solid #eee;
		padding: 12px 0;
	}

	.woocommerce-order-details .woocommerce-table--order-details td,
	.woocommerce-order-details .woocommerce-table--order-details th {
		display: block;
		text-align: left !important;
		padding: 4px 0;
		border: none;
	}

	.woocommerce-order-details .woocommerce-table--order-details td.product-total,
	.woocommerce-order-details .woocommerce-table--order-details th:first-child {
		font-weight: 600;
	}

	.woocommerce-order-details .woocommerce-table--order-details td.product-total::before {
		content: "Total: ";
		font-weight: 600;
		display: inline;
	}

	/* Tfoot totals – label trước giá */
	.woocommerce-order-details .woocommerce-table--order-details tfoot tr {
		display: flex;
		justify-content: space-between;
		align-items: baseline;
		flex-wrap: wrap;
		gap: 4px;
	}

	.woocommerce-order-details .woocommerce-table--order-details tfoot th {
		flex: 0 0 auto;
	}

	.woocommerce-order-details .woocommerce-table--order-details tfoot td {
		flex: 0 0 auto;
		white-space: nowrap;
	}

	/* URL dài (Passport Link, Selfie Link) – break để không tràn */
	.woocommerce-order-details .product-name,
	.woocommerce-order-details .product-name a {
		word-break: break-all;
		overflow-wrap: anywhere;
		max-width: 100%;
	}

	/* Scroll to top – không bị cắt trên Thank You */
	.scroll-to-top {
		right: 10px !important;
		display: none !important;
	}

	.woocommerce table.shop_table tbody th,
	.woocommerce table.shop_table tfoot td,
	.woocommerce table.shop_table tfoot th,
	.woocommerce-order-details .woocommerce-table--order-details tfoot td,
	body.woocommerce-order-received .woocommerce-table--order-details th,
	body.woocommerce-order-received .woocommerce-table--order-details td {
		border-top: unset !important;
		border-bottom: unset !important;
	}
}

/* ==========================================================================
   6. VISA WIZARD & PLUGIN
   ========================================================================== */

/* Override cho e-visa wizard, form, modal... tại đây nếu cần */


/* ==========================================================================
   6. PRELOADER – Logo Loading (circle animation)
   ========================================================================== */

/* Logo type: ẩn spinner mặc định, logo 150x150 + vòng xoay bên ngoài */
.handle-preloader .animation-preloader.preloader-logo-type .spinner {
	display: none;
}

.handle-preloader .animation-preloader.preloader-logo-type .preloader-logo-wrap {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 0;
	width: 170px;
	height: 170px;
}

/* Vòng tròn xoay bên ngoài logo (lớn hơn logo để bao quanh) */
.handle-preloader .animation-preloader .preloader-logo-ring {
	position: absolute;
	width: 170px;
	height: 170px;
	border-radius: 50%;
	border: 3px solid rgba(255, 255, 255, 0.25);
	border-top-color: #fff;
	animation: preloader-circle-spin 1s linear infinite;
	box-sizing: border-box;
}

/* Logo cố định 150x150 ở giữa */
.handle-preloader .animation-preloader .preloader-logo-img {
	width: 150px;
	height: 150px;
	object-fit: contain;
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	padding: 12px;
}

.handle-preloader .animation-preloader .preloader-logo-placeholder .preloader-logo-img {
	width: auto;
	height: auto;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.6);
	text-transform: uppercase;
	letter-spacing: 2px;
	padding: 0;
}

@keyframes preloader-circle-spin {
	to {
		transform: rotate(360deg);
	}
}

@media screen and (max-width: 500px) {

	.handle-preloader .animation-preloader.preloader-logo-type .preloader-logo-wrap,
	.handle-preloader .animation-preloader .preloader-logo-ring {
		width: 120px;
		height: 120px;
	}

	.handle-preloader .animation-preloader .preloader-logo-img {
		width: 100px;
		height: 100px;
	}
}


/* ==========================================================================
   7. MISC / UTILITY
   ========================================================================== */

/* Custom rules khác */

.working-block-one .inner-box {
	background-color: #e3e3e3;
}

/* Main Menu */

.main-menu .navigation>li>a {
	text-transform: none;
	font-size: 18px;
}

.header-top {
	background: #1e593c;
}

.btn-1 {
	box-shadow: none;
}

.banner-carousel .owl-nav button {
	background: rgba(255, 255, 255, 0.1);
	width: 45px;
	height: 45px;
	display: flex;
	align-content: center;
	justify-content: center;
	align-items: center;
	color: #c8c2c2;
	opacity: 0.5;
}

.banner-carousel .owl-nav button span {
	font-size: 16px;
}

.team-block-one .inner-box .designation {
	margin-bottom: 10px;
}

/* Căn giữa hình ảnh team block */
.team-block-one .inner-box .image-box {
	display: block;
	margin-left: auto !important;
	margin-right: auto !important;
	left: 0;
	right: 0;
}

/* Extra Images (style giống social icons) */
.team-extra-images {
	list-style: none;
	margin: 10px 0 15px 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.team-extra-images li {
	display: inline-block;
	overflow: hidden;
	box-shadow: 0 10px 50px rgba(34, 34, 34, 0.2);
	background: #fff;
}

.team-block-one .inner-box:hover .team-extra-images li {
	background: #fff;
}

.team-block-one .inner-box .team-extra-images li img {
	display: block;
	vertical-align: top;
}

.team-block-two .lower-content .team-extra-images,
.team-block-three .lower-content .team-extra-images {
	margin: 8px 0 12px 0;
}

.team-block-one .inner-box p {
	margin-bottom: 15px;
}

.team-extra-images {
	list-style: none;
	margin: 10px 0 15px 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}

.team-extra-images li {
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	box-shadow: 0 10px 50px rgba(34, 34, 34, 0.2);
	background: #fff
}

.team-extra-images li img {
	display: block;
	vertical-align: top;
	width: 70% !important;
	height: auto !important;
	border-radius: unset !important;
}

.team-block-one .inner-box .content-box {
	border-radius: 10px;
	padding-bottom: 30px;
}

/* Equal min-height cho content-box khi nhiều team block trong cùng hàng */
.team-section .row {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}

.team-section .row>[class*="col-"] {
	display: flex;
}

.team-section .team-block-one {
	flex: 1;
	display: flex;
	width: 100%;
}

.team-section .inner-box {
	flex: 1;
	display: flex;
	flex-direction: column;
	width: 100%;
}

.team-section .content-box {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.news-block-one .inner-box .lower-content h3 {
	margin-bottom: 5px;
}

.post-meta-author {
	margin-left: 5px;
	padding-left: 5px;
	border-left: 1px solid #bc9c22;
	color: #bc9c22;
}

.pagination li a {
	font-family: 'Poppins', sans-serif;
}

.immigro-blog-search-form {
	background-color: rgba(0, 0, 0, .03);
	border-color: rgba(0, 0, 0, .09);
	border-radius: 99px;
	box-shadow: none;
	color: currentColor !important;
	padding: 10px 15px;
	margin-bottom: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}

.immigro-blog-search-form input {
	width: 100%;
}

span.page-numbers.current {
	font-family: 'Poppins', sans-serif;
	border: 1px solid #bc9c22;
	background-color: #bc9c22;
	border-color: #bc9c22;
}

.wp-block-group__inner-container {
	padding: 10px;
}

/* .header-style-one .header-lower .menu-area .btn-box, .main-header.header-style-four .nav-right li.btn-box {
	display: block !important;
} */

.pricing-table {
	margin: 10px 0 !important;
}

.pricing-table th {
    background-color: #1e593c !important;
    color: #fff !important;
    text-align: center !important;
}

.pricing-table td {
	text-align: center !important;
}

.pricing-table tbody tr td:first-child {
	font-weight: 600 !important;
}

.banner-section .banner-carousel .owl-nav {
	display: none !important;
}

.mobile-menu .menu-box {
	background-color: #1e593c !important;
}

.icon-footer .elementor-widget-image {
	display: flex;
    align-items: center;
}

@media screen and (max-width: 1399px) {
	.header-style-one .header-lower .menu-area .btn-box a {
		background: unset !important;
	}
}

@media screen and (max-width: 768px) {
	.mobile-menu .nav-logo {
		padding: 10px 25px;
	}
	.header-top {
		display: none;
	}

	.header-top .info li a {
		font-size: 14px;
		text-align: left;
	}

	.header-top .info {
		text-align: left;
	}

	.header-lower .logo-box {
		padding: 10px 0;
	}

	.main-header .logo-box .logo {
		max-width: 150px;
	}

	.elementor-image-gallery .gallery.gallery-columns-3 .gallery-item {
		max-width: 50% !important;
	}

	.elementor-image-gallery .gallery-item {
		width: 50% !important;
	}

	.elementor-image-gallery .gallery-item img {
		margin: unset !important;
		width: 100% !important;
	}

	.scroll-to-top {
		right: -55px;
	}

	.banner-section {
		padding-bottom: 100px;
	}

	.woocommerce ul.order_details li {
		display: flex;
		align-items: center;
		float: left;
		gap: 10px;
		width: 100%;
	}

	.woocommerce ul.order_details {
		align-content: flex-start;
	}

	body.woocommerce-order-received .woocommerce-notice--success {
		line-height: normal;
	}

	body.woocommerce-order-received .woocommerce-order-details__title, body.woocommerce-order-received .woocommerce-column__title {
		width: 100%;
		text-align: center;
		display: block;
	}

	body.woocommerce-order-received .woocommerce-order .entry-title {
		margin-bottom: 10px;
	}

	.woocommerce .woocommerce-customer-details .woocommerce-customer-details--email, .woocommerce .woocommerce-customer-details .woocommerce-customer-details--phone {
		margin-bottom: 0px !important;
	}
	/* Sửa lỗi rớt chữ dọc tên dịch vụ trong bảng đơn hàng WooCommerce */
    .woocommerce-table__line-item.order_item td.woocommerce-table__product-name {
        word-break: normal !important;
        overflow-wrap: break-word !important;
        min-width: 100%; /* Đảm bảo cột có đủ không gian để hiển thị ngang */
    }
    
    .woocommerce-table__line-item.order_item td.woocommerce-table__product-name a {
        word-break: normal !important; 
        white-space: normal !important;
        display: inline;
    }
    
    /* Đảm bảo số lượng (x 1) nằm gọn gàng cạnh tên dịch vụ */
    .woocommerce-table__line-item.order_item td.woocommerce-table__product-name .product-quantity {
        white-space: nowrap;
    }
}

/* ==========================================================================
   6. MỤC LỤC TỰ ĐỘNG (BÀI VIẾT)
   ========================================================================== */

.immigro-post-toc {
	margin: 0 0 32px 0;
	padding: 24px 28px 20px;
	background: linear-gradient(135deg, #fafbfc 0%, #f1f3f5 100%);
	border: 1px solid #dee2e6;
	border-left: 5px solid #bc9c22;
	border-radius: 10px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
	position: relative;
	overflow: hidden;
}

.immigro-post-toc::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #bc9c22 0%, #d4af37 50%, #bc9c22 100%);
	opacity: 0.6;
}

.immigro-post-toc .toc-title {
	margin: 0 0 16px 0;
	padding-bottom: 12px;
	font-size: 19px;
	font-weight: 700;
	color: #1a1a1a;
	letter-spacing: 0.3px;
	border-bottom: 2px solid #e9ecef;
}

.immigro-post-toc .toc-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.immigro-post-toc .toc-item {
	margin: 0;
	padding: 10px 0 10px 12px;
	border-bottom: 1px dashed #e2e6ea;
	position: relative;
}

.immigro-post-toc .toc-item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 4px;
	background: #bc9c22;
	border-radius: 50%;
	opacity: 0.7;
}

.immigro-post-toc .toc-item:last-child {
	border-bottom: none;
}

.immigro-post-toc .toc-level-3 {
	padding-left: 24px;
}

.immigro-post-toc .toc-level-3::before {
	left: 12px;
	background: #8b7355;
	width: 3px;
	height: 3px;
}

.immigro-post-toc .toc-level-4 {
	padding-left: 36px;
}

.immigro-post-toc .toc-level-4::before {
	left: 24px;
	background: #6b5b4a;
	width: 3px;
	height: 3px;
}

.immigro-post-toc .toc-item a {
	color: #374151;
	text-decoration: none;
	transition: color 0.2s ease, padding-left 0.2s ease;
	display: inline-block;
	font-size: 15px;
	line-height: 1.5;
}

.immigro-post-toc .toc-item a:hover {
	color: #bc9c22;
	padding-left: 4px;
}

/* Căn chỉnh khi scroll tới heading (tránh bị che bởi sticky header) */
.single-post .blog-details-content h2[id],
.single-post .blog-details-content h3[id],
.single-post .blog-details-content h4[id],
.single .entry-content h2[id],
.single .entry-content h3[id],
.single .entry-content h4[id] {
	scroll-margin-top: 120px;
}

/* ==========================================================================
   7. BÀI VIẾT LIÊN QUAN (Related Posts – Slide 4 cột, tối đa 10)
   ========================================================================== */

.immigro-related-posts {
	margin-top: 50px;
	padding-top: 40px;
	border-top: 1px solid #e9ecef;
}

.immigro-related-posts .related-posts-title {
	font-family: "Poppins", Sans-serif;
	font-size: 32px;
	font-weight: 700;
	line-height: 48px;
	color: #222222;
	margin-bottom: 20px;
}

/* Khi < 2 bài: hiển thị grid tĩnh, không slide */
.immigro-related-posts .related-posts-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}

.immigro-related-posts .related-posts-grid .related-posts-item {
	flex: 1 1 calc(25% - 10px);
	max-width: calc(25% - 10px);
}

/* Luôn 2 cột: 1 bài chiếm cột trái, 2 bài mỗi cột 50% */

@media (max-width: 767px) {
	.immigro-related-posts .related-posts-grid .related-posts-item {
		flex: 1 1 100%;
		max-width: 100%;
	}
}

.immigro-related-posts .related-posts-wrapper.owl-carousel .owl-nav {
	display: none !important;
}

.immigro-related-posts .related-posts-wrapper.owl-carousel {
	position: relative;
}

.immigro-related-posts .related-posts-carousel.owl-carousel {
	position: relative;
}

.immigro-related-posts .related-posts-item {
	padding: 0 5px;
}

.immigro-related-posts .news-block-one {
	margin-bottom: 0;
	height: 100%;
}

.immigro-related-posts .news-block-one .inner-box {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow 0.3s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.immigro-related-posts .news-block-one .inner-box:hover {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.immigro-related-posts .news-block-one .image-box {
	margin: 0;
	overflow: hidden;
	border-radius: 8px 8px 0 0;
}

.immigro-related-posts .news-block-one .image-box img {
	width: 100%;
	height: auto;
	min-height: 250px;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: center;
	transition: transform 0.3s ease;
	border-radius: 8px 8px 0 0;
}

.immigro-related-posts .news-block-one .inner-box:hover .image-box img {
	transform: scale(1.05);
}

.immigro-related-posts .news-block-one .lower-content {
	padding: 18px !important;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.immigro-related-posts .news-block-one .lower-content h4 {
	margin: 0 0 10px 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.immigro-related-posts .news-block-one .lower-content h4 a {
	color: #222;
	text-decoration: none;
}

.immigro-related-posts .news-block-one .lower-content h4 a:hover {
	color: #bc9c22;
}

.immigro-related-posts .news-block-one .lower-content .post-info {
	margin-bottom: 10px;
	font-size: 13px;
	color: #bc9c22;
	font-weight: 500;
}

.immigro-related-posts .news-block-one .lower-content .post-info li {
	color: inherit;
}

.immigro-related-posts .news-block-one .lower-content .related-excerpt {
	font-size: 14px;
	line-height: 1.5;
	color: #676767;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.immigro-related-posts .owl-nav button {
	top: 35%;
}

body, p, table, th, tr, td {
    color: #000;
}

.news-block-one .post-info {
    display: none;
}

a {
    color: #bc9c22;
}

a:hover {
    color: #1E593C;
}

body {
  /* 1. Khoảng cách dòng thoáng (Line Height) */
  line-height: 1.6;

  /* 2. Khoảng cách từ chuẩn (Word Spacing) */
  word-spacing: 0.05em; /* Hơi rộng hơn mặc định xíu cho dễ đọc, hoặc để 'normal' */

  /* 3. Khoảng cách chữ cái (Letter Spacing) */
  letter-spacing: 0.01em; /* Giúp văn bản trông "sang" và thoáng hơn */

  /* Thêm: Chống răng cưa font chữ trên Mac/iOS */
  -webkit-font-smoothing: antialiased;
}

.sidebar-page-container .row {
    justify-content: center;
}

.wp-block-list {
    margin-left: 15px;
    color: #000;
}

.wp-block-list li, .wp-element-caption {
    color: #000;
}

.news-block-one .inner-box .image-box {
    /*border-bottom-left-radius: 0;*/
}

.page-title h1 {
    line-height: 55px;
}

.wp-block-list, .wp-block-heading {
    margin: 20px 0;
}

.sidebar-page-container .news-block-one .inner-box .lower-content h3 {
    font-size: 28px;
    font-weight: 500;
}

/* Container & Title */
.immigro-related-posts {
    padding: 40px 0;
}
.related-posts-title {
    color: #BC9C22; /* Màu cam chủ đạo */
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 30px;
}

/* Image Box */
.news-block-one .image-box {
    position: relative;
    border-radius: 12px; /* Bo góc ảnh theo mẫu */
    overflow: hidden;
    margin-bottom: 15px;
}
.news-block-one .image-box img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* Dải màu cam vắt ngang ảnh */
.image-overlay-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    background-color: rgba(255, 102, 0, 0.85); /* Màu cam bán trong suốt */
    color: #ffffff;
    text-align: center;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 600;
}

/* Nút Tags / Categories */
.post-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}
.pill-item {
    border: 1px solid #BC9C22;
    color: #BC9C22;
    background: transparent;
    padding: 4px 12px;
    border-radius: 20px; /* Bo tròn hoàn toàn tạo hình viên thuốc */
    font-size: 12px;
    font-weight: 500;
}

/* Title Bài Viết */
.news-block-one .lower-content h4 {
    margin: 0 0 15px;
}
.news-block-one .lower-content h4 a {
    color: #BC9C22;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.3s;
}
.news-block-one .lower-content h4 a:hover {
    color: #cc5200;
}

/* Meta Data (Date & Author) */
.post-meta-info {
    font-size: 13px;
    color: #888888; /* Màu xám cho ngày */
}
.meta-divider {
    margin: 0 5px;
}
.meta-author {
    color: #BC9C22; /* Màu cam cho tên tác giả */
    font-weight: 600;
}

/* Style cho mũi tên điều hướng Slider (Owl Carousel) */
.immigro-related-carousel .owl-nav {
    position: absolute;
    top: 40%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none; /* Tránh đè click vào ảnh */
}
.immigro-related-carousel .owl-nav button {
    pointer-events: auto;
    background: transparent !important;
    color: #333 !important;
    font-size: 36px !important;
}
.immigro-related-carousel .owl-nav button.owl-prev {
    margin-left: -40px; /* Đẩy mũi tên ra ngoài lề trái */
}
.immigro-related-carousel .owl-nav button.owl-next {
    margin-right: -40px; /* Đẩy mũi tên ra ngoài lề phải */
}

/* Tổng quan section */
.custom-recent-posts-wrapper {
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}
.custom-section-title {
    color: #BC9C22;
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
}

/* Card bài viết - Xóa viền trắng mặc định */
.custom-post-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Ảnh & Overlay ngang */
/* Ép kích thước cố định cho khung chứa ảnh */
.custom-post-image {
    position: relative;
    width: 100%;
    height: 200px; /* Bạn có thể thay đổi số này (vd: 180px, 220px) cho phù hợp mắt nhìn */
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    display: block;
}

/* Ép thẻ 'a' bọc ngoài lấp đầy khung */
.custom-post-image a {
    display: block;
    width: 100%;
    height: 100%;
}

/* Ép thẻ img lấp đầy khung và tự cắt phần thừa, không bị méo */
.custom-post-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important; /* Luôn lấy tâm ảnh làm chuẩn */
    display: block;
    margin: 0;
    border: none;
}
.custom-overlay-strip {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    background: rgba(255, 102, 0, 0.9); /* Màu cam chuẩn */
    color: #ffffff;
    text-align: center;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 600;
    z-index: 2;
}

/* Categories (Nút viền cam) */
.custom-post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.cat-pill-btn {
    border: 1px solid #BC9C22;
    color: #BC9C22;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}
.cat-pill-btn:hover {
    background: #BC9C22;
    color: #ffffff;
}

/* Tiêu đề & Meta */
.custom-post-title {
    margin: 0 0 10px;
    line-height: 1.4;
}
.custom-post-title a {
    color: #BC9C22;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}
.custom-post-title a:hover {
    color: #1E593C;
}
.custom-post-meta {
    font-size: 13px;
    color: #777;
    margin-top: 5px;
}
.meta-line {
    margin: 0 5px;
    color: #ccc;
}
.meta-author {
    color: #BC9C22;
    font-weight: 600;
}

/* Nút điều hướng Slider */
.immigro-recent-carousel .owl-nav {
    position: absolute;
    top: 35%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}
.immigro-recent-carousel .owl-nav button {
    background: none !important;
    color: #333 !important;
    font-size: 40px !important;
}
.immigro-recent-carousel .owl-nav button.owl-prev { margin-left: -35px; }
.immigro-recent-carousel .owl-nav button.owl-next { margin-right: -35px; }

/* CSS chia cột cho dạng Grid (khi số bài viết <= 4) */
.custom-recent-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 cột trên PC */
    gap: 25px; /* Khoảng cách giữa các bài giống với margin của carousel */
}

/* Responsive cho Tablet & Mobile */
@media (max-width: 991px) {
    .custom-recent-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 cột trên Tablet/Mobile ngang */
    }
}

@media (max-width: 599px) {
    .custom-recent-grid {
        grid-template-columns: 1fr; /* 1 cột trên Mobile dọc (chuẩn UX) */
    }
}

/* Fix lỗi ảnh bị tràn nếu có */
.custom-post-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.post-category-list {
    margin-bottom: 10px;
    gap: 10px;
    display: flex;
    flex-wrap: wrap;
}

.post-category-list .post-category-link {
    padding: 8px 10px;
    font-size: 14px;
    border-radius: 20px;
    border: 1px solid;
}

.news-block-one .inner-box {
    position: relative;
    display: block;
    background: unset;
    box-shadow: unset;
    border-radius: 15px;
    overflow: hidden;
}

.news-block-one .inner-box .lower-content {
    padding: 0;
    padding-top: 15px;
}