/* ================================
   AI Travel Tools — Clean Article Layout V6
================================ */


/* ================================
   Article Hero
================================ */

.ait-article-hero-wrap {
	background:
		radial-gradient(circle at top left, rgba(77, 208, 200, 0.13), transparent 30%),
		radial-gradient(circle at top right, rgba(126, 87, 194, 0.11), transparent 28%),
		linear-gradient(135deg, #f8fdff 0%, #f8fafc 45%, #f4f2ff 100%);
	padding: clamp(2rem, 5vw, 4.5rem) 1rem;
	margin-top: 0 !important;
}

.ait-article-hero-card {
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 32px;
	box-shadow: 0 26px 72px rgba(15, 23, 42, 0.11);
	padding: clamp(1rem, 3vw, 2.25rem);
	gap: clamp(1.75rem, 4vw, 3.4rem);
	align-items: center;
	backdrop-filter: blur(10px);
}

.ait-article-hero-image-wrap {
	margin: 0;
	width: 100%;
	aspect-ratio: 1 / 1;
}

.ait-article-hero-image-wrap .wp-block-post-featured-image {
	margin: 0;
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
}

.ait-article-hero-image-wrap .wp-block-post-featured-image a {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 24px;
	overflow: hidden;
}

.ait-article-hero-image-wrap img {
	aspect-ratio: 1 / 1;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	border-radius: 24px;
	display: block;
	box-shadow: 0 18px 45px rgba(15, 23, 42, 0.13);
}

.ait-article-hero-content {
	max-width: 720px;
}


/* ================================
   Hero Meta
================================ */

.ait-article-meta {
	gap: 0.48rem;
	row-gap: 0.28rem;
	align-items: center;
	color: #64748b;
	font-size: 0.76rem;
	font-weight: 750;
	margin-bottom: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.105em;
}

.ait-article-meta p {
	margin: 0;
}

.ait-article-meta a {
	color: #334155;
	text-decoration: none;
}

.ait-article-meta time,
.ait-article-meta .wp-block-post-date,
.ait-article-meta .wp-block-post-author-name {
	color: #64748b;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 650;
	margin: 0;
}

.ait-reading-time {
	color: #64748b;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 750;
	white-space: nowrap;
}


/* ================================
   Hero Title / Excerpt
================================ */

.ait-article-title {
	color: #07142f;
	font-size: clamp(2rem, 3.28vw, 3.7rem);
	line-height: 1.035;
	letter-spacing: -0.052em;
	font-weight: 850;
	margin: 0 0 0.95rem;
}

.ait-article-excerpt {
	color: #475569;
	font-size: clamp(0.98rem, 1.13vw, 1.12rem);
	line-height: 1.56;
	max-width: 680px;
	margin-bottom: 1.35rem;
}

.ait-article-excerpt p {
	margin: 0;
}


/* ================================
   Feature Badges
================================ */

.ait-feature-strip {
	gap: 0.72rem !important;
	margin: 1.25rem 0 1.05rem !important;
	align-items: center;
}

.ait-feature-item {
	min-height: 78px !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center;
	min-width: 0;
	padding: 0.55rem 0.5rem !important;
	border-radius: 17px !important;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05) !important;
	border: 1px solid rgba(15, 23, 42, 0.08);
}

.ait-feature-strip .ait-feature-item:nth-child(1) {
	background: linear-gradient(180deg, #fffaf0 0%, #fff7ed 100%) !important;
	border-color: rgba(245, 158, 11, 0.20) !important;
}

.ait-feature-strip .ait-feature-item:nth-child(2) {
	background: linear-gradient(180deg, #f1fffb 0%, #e7fbf6 100%) !important;
	border-color: rgba(34, 197, 154, 0.22) !important;
}

.ait-feature-strip .ait-feature-item:nth-child(3) {
	background: linear-gradient(180deg, #eff8ff 0%, #eaf4ff 100%) !important;
	border-color: rgba(59, 130, 246, 0.18) !important;
}

.ait-feature-strip .ait-feature-item:nth-child(4) {
	background: linear-gradient(180deg, #fff5f8 0%, #ffeef4 100%) !important;
	border-color: rgba(236, 72, 153, 0.18) !important;
}

/* Smart Itineraries custom pin icon */
.ait-feature-smart .ait-feature-pin {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	font-size: 0 !important;
	line-height: 1 !important;
}

.ait-feature-smart .ait-feature-pin::before {
	content: "";
	display: block;
	width: 1.55rem;
	height: 1.55rem;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%235fcfc7' d='M10.8 3.2c-2.9 0-5.2 2.3-5.2 5.1 0 3.9 4.25 8.67 4.9 9.4.16.19.44.19.61 0 .65-.73 4.9-5.5 4.9-9.4 0-2.8-2.34-5.1-5.21-5.1Zm0 7.45a2.15 2.15 0 1 1 0-4.3 2.15 2.15 0 0 1 0 4.3Z'/%3E%3Ccircle fill='%2387e3dc' cx='17.6' cy='4.8' r='1.08'/%3E%3Ccircle fill='%2387e3dc' cx='19.7' cy='7.3' r='.72'/%3E%3C/svg%3E");
	filter: drop-shadow(0 3px 8px rgba(95, 207, 199, 0.26));
}
.ait-feature-item p {
	margin: 0;
}

.ait-feature-icon {
	font-size: 0 !important;
	line-height: 0 !important;
	height: 22px !important;
	min-height: 22px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin-bottom: 0.32rem !important;
	color: transparent !important;
	text-shadow: none !important;
	filter: none !important;
}

.ait-feature-icon::before {
	display: inline-block;
	font-size: 1.25rem;
	line-height: 1;
	color: inherit;
}

/* AI-Powered */
.ait-feature-strip .ait-feature-item:nth-child(1) .ait-feature-icon::before {
	content: "✨";
	color: #f59e0b;
}

/* Smart Itineraries */
/* Smart Itineraries fallback only for old template */
.ait-feature-strip .ait-feature-item:nth-child(2) .ait-feature-icon:not(.ait-feature-pin)::before {
	content: "📍";
	color: #22b88f;
}

/* Real-World Insights */
.ait-feature-strip .ait-feature-item:nth-child(3) .ait-feature-icon::before {
	content: "🌐";
	color: #2563eb;
}

/* Better Trips */
.ait-feature-strip .ait-feature-item:nth-child(4) .ait-feature-icon::before {
	content: "❤️";
	color: #ef4444;
	font-size: 1.18rem;
}

.ait-feature-label {
	min-height: 32px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	color: #172033;
	font-size: 0.82rem !important;
	font-weight: 850 !important;
	line-height: 1.12 !important;
	letter-spacing: -0.015em;
}


/* ================================
   Process Flow
================================ */

.ait-process-flow {
	width: 100%;
	gap: 0.85rem !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 1rem 0 0.72rem !important;
}

.ait-process-step {
	margin: 0;
	min-height: 38px !important;
	padding: 0.42rem 1rem !important;
	border-radius: 16px !important;
	font-size: 1.07rem !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	white-space: nowrap;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.55rem !important;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05) !important;
	letter-spacing: -0.015em !important;
}

.ait-process-generate {
	background: linear-gradient(180deg, #f0efff 0%, #e8ecff 100%) !important;
	border: 1px solid rgba(148, 163, 184, 0.18) !important;
	color: #15314f !important;
}

.ait-process-refine {
	background: linear-gradient(180deg, #e7f9f6 0%, #d7efea 100%) !important;
	border: 1px solid rgba(45, 212, 191, 0.24) !important;
	color: #15314f !important;
}

.ait-process-test {
	background: linear-gradient(180deg, #e8f3ff 0%, #dbeaff 100%) !important;
	border: 1px solid rgba(96, 165, 250, 0.24) !important;
	color: #2550d8 !important;
	min-height: 32 !important;
}
/* ================================
   AI Travel Tools — Single Post HERO Process Flow
================================ */


.ait-process-arrow {
	margin: 0;
	color: #64748b !important;
	font-size: 1.55rem !important;
	font-weight: 700 !important;
	line-height: 1;
}

/* ================================
   AI Travel Tools — Process Pills Width Fix
   Put at the very end of article-layout.css
================================ */

@media (min-width: 782px) {
	.ait-process-flow {
		width: 100% !important;
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 0.75rem !important;
	}

	.ait-process-flow .ait-process-step {
		flex: 1 1 0 !important;
		min-width: 0 !important;
		max-width: none !important;
		width: auto !important;
		box-sizing: border-box !important;
		text-align: center !important;
		justify-content: center !important;
	}

	.ait-process-flow .ait-process-arrow {
		flex: 0 0 auto !important;
		margin: 0 !important;
		min-height: 32 !important;
	}
}

/* ================================
   Tested Badge
================================ */

.ait-tested-badge {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.05rem !important;

	width: fit-content !important;
	max-width: 100%;
	margin: 0.68rem auto 0.9rem !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 0.55rem 3rem !important;
	min-height: 40px !important;

	border-radius: 28px !important;
	background: linear-gradient(180deg, #effafa 0%, #e6f7fb 100%) !important;
	border: 1px solid rgba(45, 212, 191, 0.28) !important;

	color: #152f6c !important;
	font-size: 0 !important;
	font-weight: 600 !important;
	line-height: 1.1 !important;
	text-align: center !important;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045) !important;
}

.ait-tested-badge::before {
	content: "";
	display: inline-block;
	width: 23px;
	height: 23px;
	flex: 0 0 23px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cg fill="none" stroke="%2314b8c4" stroke-width="2.1" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M12 3l7 3v6c0 4.5-3 7.3-7 9-4-1.7-7-4.5-7-9V6l7-3z"/%3E%3Cpath d="M8.5 12.2l2.2 2.2 4.8-4.8"/%3E%3C/g%3E%3C/svg%3E');
}

.ait-tested-badge::after {
	content: "Tested on real trips — not just desk research";

	font-size: 0.96rem;
	line-height: 1.15;
	font-weight: 800;
	color: #152f6c;
}

.ait-flow-caption {
	display: none;
}


/* ================================
   Share Row
================================ */

.ait-share-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
	padding-top: 0.65rem !important;
	margin-top: 0.6rem !important;
	border-top: 1px solid rgba(15, 23, 42, 0.10);
}

.ait-share-label {
	color: #64748b;
	font-size: 0.86rem;
	font-weight: 650;
	margin-right: 0.2rem;
}

.ait-share-btn {
	width: 34px;
	height: 34px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-weight: 850;
	font-size: 0.8rem;
	color: #ffffff;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.13);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ait-share-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(15, 23, 42, 0.18);
	color: #ffffff;
}

.ait-share-telegram {
	background: #229ed9;
}

.ait-share-facebook {
	background: #1877f2;
}

.ait-share-x {
	background: #000000;
}

.ait-share-pinterest {
	background: #bd081c;
}

.ait-share-linkedin {
	background: #0a66c2;
}

.ait-article-byline {
	display: none;
}


/* ================================
   Main Post Content
================================ */

body.single-post .ait-post-content-wrap {
	background:
		radial-gradient(circle at top left, rgba(77, 208, 200, 0.12), transparent 28%),
		radial-gradient(circle at top right, rgba(126, 87, 194, 0.12), transparent 26%),
		linear-gradient(135deg, #f6fdff 0%, #f8fafc 45%, #f4f1ff 100%) !important;
	width: 100% !important;
	padding: clamp(2.4rem, 5vw, 4.75rem) 1rem !important;
}

body.single-post .ait-post-content-wrap > .wp-block-group {
	width: min(100%, 1280px) !important;
	max-width: none !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

body.single-post .ait-post-content.alignfull,
body.single-post .entry-content.ait-post-content.alignfull,
body.single-post .wp-block-post-content.ait-post-content.alignfull {
	width: min(100%, 1280px) !important;
	max-width: none !important;
	margin-left: auto !important;
	margin-right: auto !important;
	left: auto !important;
	right: auto !important;
	transform: none !important;
	padding: clamp(1.5rem, 3vw, 2.5rem) !important;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 32px;
	box-shadow: 0 26px 72px rgba(15, 23, 42, 0.11);
	backdrop-filter: blur(10px);
	box-sizing: border-box;
}

body.single-post .ait-post-content > * {
	width: auto;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-sizing: border-box;
}

body.single-post .ait-post-content > p,
body.single-post .ait-post-content > ul,
body.single-post .ait-post-content > ol,
body.single-post .ait-post-content > blockquote,
body.single-post .ait-post-content > pre,
body.single-post .ait-post-content > h2,
body.single-post .ait-post-content > h3,
body.single-post .ait-post-content > h4,
body.single-post .ait-post-content > h5,
body.single-post .ait-post-content > h6,
body.single-post .ait-post-content > .wp-block-heading,
body.single-post .ait-post-content > .wp-block-list,
body.single-post .ait-post-content > .wp-block-quote,
body.single-post .ait-post-content > .wp-block-pullquote,
body.single-post .ait-post-content > .wp-block-preformatted,
body.single-post .ait-post-content > .wp-block-code,
body.single-post .ait-post-content > .wp-block-rank-math-toc-block,
body.single-post .ait-post-content > .rank-math-block {
	width: min(100%, 760px) !important;
	max-width: 760px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

body.single-post .ait-post-content > .wp-block-image,
body.single-post .ait-post-content > .wp-block-gallery,
body.single-post .ait-post-content > .wp-block-table,
body.single-post .ait-post-content > .wp-block-cover,
body.single-post .ait-post-content > .wp-block-media-text,
body.single-post .ait-post-content > .wp-block-columns,
body.single-post .ait-post-content > figure {
	width: min(100%, 1120px) !important;
	max-width: 1120px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

body.single-post .ait-post-content .alignwide,
body.single-post .ait-post-content .alignfull {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

body.single-post .ait-post-content p,
body.single-post .ait-post-content li {
	font-size: 1.05rem;
	line-height: 1.72;
}

body.single-post .ait-post-content h2 {
	margin-top: 2.4rem;
}

body.single-post .ait-post-content h3 {
	margin-top: 1.9rem;
}

@media (min-width: 782px) {
	body.single-post .ait-post-content > .wp-block-image,
	body.single-post .ait-post-content > figure {
		text-align: center;
	}

	body.single-post .ait-post-content > .wp-block-image img,
	body.single-post .ait-post-content > figure img {
		display: block;
		max-width: 100% !important;
		width: auto;
		height: auto !important;
		max-height: 800px;
		object-fit: contain;
		margin-left: auto !important;
		margin-right: auto !important;
	}
}


/* ================================
   More Posts Section
================================ */

.ait-more-posts-wrap {
	background:
		radial-gradient(circle at top left, rgba(20, 184, 166, 0.14), transparent 27%),
		radial-gradient(circle at top right, rgba(99, 102, 241, 0.13), transparent 29%),
		linear-gradient(135deg, #eefcff 0%, #f8fafc 47%, #f3f0ff 100%);
	padding: clamp(3.2rem, 6vw, 5.4rem) 1rem;
}

.ait-more-posts-head {
	margin-bottom: 1.85rem;
	text-align: center;
}

.ait-more-posts-title {
	color: #07142f;
	font-size: clamp(2rem, 3vw, 3rem);
	line-height: 1.05;
	letter-spacing: -0.045em;
	font-weight: 850;
	margin-bottom: 0.45rem;
}

.ait-more-posts-subtitle {
	color: #64748b;
	font-size: 1rem;
	line-height: 1.55;
	max-width: 680px;
	margin: 0 auto;
}

.ait-more-posts-grid {
	gap: 1.25rem;
}

.ait-more-post-card {
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
	height: 100%;
	backdrop-filter: blur(8px);
}

.ait-more-post-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 56px rgba(15, 23, 42, 0.12);
	border-color: rgba(14, 165, 233, 0.24);
}

.ait-more-post-image {
	margin: 0;
	overflow: hidden;
}

.ait-more-post-image img {
	aspect-ratio: 1 / 1;
	width: 100%;
	height: auto;
	object-fit: cover;
	display: block;
	transition: transform 0.25s ease;
}

.ait-more-post-card:hover .ait-more-post-image img {
	transform: scale(1.035);
}

.ait-more-post-content {
	padding: 1.05rem 1.05rem 1.18rem;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.ait-more-post-meta {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 0.75rem !important;
	width: 100% !important;
	margin-bottom: 0.72rem !important;
	line-height: 1.2 !important;
}

.ait-more-post-meta > p {
	display: none !important;
}

.ait-more-post-meta .wp-block-post-terms,
.ait-more-post-meta > *:first-child {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	text-align: left !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	color: #64748b !important;
	font-size: 0.78rem !important;
	font-weight: 850 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.055em !important;
}

.ait-more-post-meta .wp-block-post-terms a,
.ait-more-post-meta > *:first-child a {
	color: #64748b !important;
	text-decoration: none !important;
}

.ait-more-post-meta .wp-block-post-date,
.ait-more-post-meta time,
.ait-more-post-meta > *:last-child {
	flex: 0 0 auto !important;
	margin-left: auto !important;
	text-align: right !important;
	white-space: nowrap !important;
	color: #64748b !important;
	font-size: 0.78rem !important;
	font-weight: 850 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.055em !important;
}

.ait-more-post-meta .wp-block-post-date {
	padding-left: 0.75rem !important;
}

.ait-more-post-meta .ait-reading-time {
	display: none !important;
}

.ait-more-post-card-title {
	font-size: 1.08rem;
	line-height: 1.18;
	font-weight: 850;
	letter-spacing: -0.028em;
	margin: 0 0 0.72rem;
	min-height: calc(1.08rem * 1.18 * 3);
	display: flex;
	align-items: center;
}

.ait-more-post-card-title a {
	color: #07142f;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ait-more-post-card-title a:hover {
	color: #0f766e;
}

.ait-more-post-excerpt {
	color: #475569;
	font-size: 0.86rem;
	line-height: 1.48;
	margin-bottom: 0.95rem;
}

.ait-more-post-excerpt p {
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ait-more-post-readmore,
.ait-more-post-content .wp-block-read-more,
.ait-more-post-content a.wp-block-read-more {
	display: inline-flex !important;
	visibility: visible !important;
	opacity: 1 !important;
	align-items: center !important;
	justify-content: center !important;
	align-self: center !important;
	margin-top: auto !important;
	color: #0f766e !important;
	font-size: 0.9rem !important;
	font-weight: 850 !important;
	text-decoration: none !important;
}

.ait-more-post-readmore:hover,
.ait-more-post-content .wp-block-read-more:hover,
.ait-more-post-content a.wp-block-read-more:hover {
	color: #115e59 !important;
	text-decoration: underline !important;
}


/* ================================
   Footer Gradient
================================ */

footer,
.wp-block-template-part footer,
footer.wp-block-template-part {
	background:
		radial-gradient(circle at top left, rgba(77, 208, 200, 0.12), transparent 28%),
		radial-gradient(circle at top right, rgba(126, 87, 194, 0.12), transparent 26%),
		linear-gradient(135deg, #f6fdff 0%, #f8fafc 45%, #f4f1ff 100%) !important;
	border-top: 1px solid rgba(15, 23, 42, 0.06);
}

footer .wp-block-group,
footer .wp-block-columns,
footer .wp-block-column {
	background: transparent !important;
}

footer .ait-footer-main {
	box-sizing: border-box;
	padding-left: clamp(1rem, 3vw, 2rem);
	padding-right: clamp(1rem, 3vw, 2rem);
}

footer .ait-footer-shell {
	display: block !important;
	width: min(100%, 1360px);
	max-width: 1360px;
	margin-inline: auto;
	padding: clamp(2rem, 3vw, 2.85rem);
	border-radius: 32px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	background:
		radial-gradient(circle at 14% 16%, rgba(126, 87, 194, 0.10), transparent 34%),
		radial-gradient(circle at 84% 84%, rgba(77, 208, 200, 0.09), transparent 32%),
		radial-gradient(circle at 52% 42%, rgba(255, 255, 255, 0.62), transparent 38%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.76) 100%) !important;
	box-shadow: 0 28px 68px rgba(15, 23, 42, 0.1);
	backdrop-filter: blur(10px);
}

footer .ait-footer-brand {
	display: block;
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: auto;
	margin-bottom: clamp(1.5rem, 2.6vw, 2rem);
	text-align: left;
}

footer .ait-footer-top {
	display: grid !important;
	grid-template-columns: minmax(260px, 0.82fr) minmax(620px, 1.18fr);
	width: 100%;
	max-width: none !important;
	align-items: start;
	gap: clamp(1.25rem, 3vw, 2.75rem);
}

footer .ait-footer-brand-left,
footer .ait-footer-brand-right {
	min-width: 0;
}

footer .ait-footer-brand-left {
	justify-self: start;
	align-self: start;
	width: 100%;
	max-width: none;
	margin-left: -2.25rem;
	text-align: left;
}

footer .ait-footer-brand-right {
	justify-self: end !important;
	align-self: start !important;
	flex-direction: column;
	align-items: flex-end !important;
	text-align: right !important;
	width: min(100%, 620px);
	max-width: 620px;
	margin-left: auto !important;
	margin-right: 0 !important;
}

footer .ait-footer-brand-top {
	gap: 0.85rem;
	align-items: center !important;
	justify-content: flex-start !important;
	text-align: left;
}

footer .ait-footer-brand-top .wp-block-site-logo {
	margin: 0;
	flex: 0 0 auto;
}

footer .ait-footer-site-name {
	margin: 0;
	font-size: clamp(1.55rem, 2.4vw, 2.1rem);
	line-height: 1.02;
	letter-spacing: -0.03em;
	font-weight: 780;
	color: #07142f;
}

footer .ait-footer-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.38rem;
	width: fit-content;
	max-width: none;
	margin: 0;
	margin-left: 0;
	margin-right: 0;
	margin-top: 1.45rem;
	margin-left: auto;
	margin-right: 0;
	padding: 0.34rem 0.66rem;
	min-height: 30px;
	border-radius: 12px;
	border: 1px solid rgba(45, 212, 191, 0.28);
	background: linear-gradient(180deg, #effafa 0%, #e6f7fb 100%);
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
	color: #152f6c;
	font-weight: 800;
	font-size: 0.83rem;
	line-height: 1.15;
	white-space: nowrap;
	align-self: flex-end;
	justify-self: end;
}

footer .ait-footer-badge::before {
	content: "";
	display: inline-block;
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	background-image: url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"%3E%3Cg fill=\"none\" stroke=\"%2314b8c4\" stroke-width=\"2.1\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpath d=\"M12 3l7 3v6c0 4.5-3 7.3-7 9-4-1.7-7-4.5-7-9V6l7-3z\"/%3E%3Cpath d=\"M8.5 12.2l2.2 2.2 4.8-4.8\"/%3E%3C/g%3E%3C/svg%3E');
}

footer .ait-footer-eeat,
footer .ait-footer-proof,
footer .ait-footer-bottom p {
	margin: 0;
}

footer .ait-footer-eeat {
	max-width: none;
	font-size: clamp(0.94rem, 0.82vw, 1rem);
	color: #334155;
	line-height: 1.34;
	text-align: right !important;
	margin-left: auto !important;
	margin-right: 0 !important;
	white-space: nowrap;
}

footer .ait-footer-proof {
	margin-top: 1.6rem;
	color: #526174;
	letter-spacing: 0.01em;
	text-align: left;
}

footer .ait-footer-link-columns {
	display: grid !important;
	width: 100%;
	max-width: none;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: clamp(0.9rem, 1.8vw, 1.45rem);
	align-items: start !important;
	align-content: start !important;
	justify-items: start;
	padding-top: clamp(1.35rem, 2.2vw, 1.7rem);
	border-top: 1px solid rgba(15, 23, 42, 0.08);
}

footer .ait-footer-link-columns > * {
	align-self: start !important;
	justify-self: start;
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

footer .ait-footer-column {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none;
	min-width: 0;
	align-self: start !important;
	justify-content: flex-start !important;
	margin: 0 !important;
}

footer .ait-footer-heading {
	margin: 0 0 0.9rem !important;
	padding: 0;
	color: #10223c;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	font-size: 0.78rem;
	line-height: 1.2;
}

footer .ait-footer-links {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
	display: grid;
	gap: 0.72rem;
}

footer .ait-footer-links li {
	margin: 0 !important;
	padding: 0;
	line-height: 1.45;
}

footer .ait-footer-links a {
	color: #10223c;
	text-decoration: none;
	font-weight: 560;
	font-size: clamp(0.94rem, 0.82vw, 0.99rem);
	line-height: 1.48;
	display: block;
}

footer .ait-footer-links a:hover,
footer .ait-footer-links a:focus-visible {
	color: #0f766e;
	text-decoration: none;
}

footer .ait-footer-bottom {
	display: flex !important;
	width: 100%;
	max-width: none !important;
	justify-content: space-between !important;
	align-items: center !important;
	gap: 2rem;
	flex-wrap: nowrap !important;
	padding-top: 1.35rem;
	margin-top: clamp(1.2rem, 2vw, 1.55rem);
	border-top: 1px solid rgba(15, 23, 42, 0.08);
}

footer .ait-footer-bottom > p:first-child {
	white-space: nowrap;
	flex: 0 0 auto;
}

footer .ait-footer-disclosure {
	max-width: none;
	color: #526174;
	line-height: 1.5;
	text-align: right;
	white-space: nowrap;
	margin-left: auto;
	flex: 0 0 auto;
}

@media (max-width: 1100px) {
	footer .ait-footer-top {
		grid-template-columns: 1fr;
		gap: 1.2rem;
	}

	footer .ait-footer-brand-right {
		justify-self: start;
		align-items: flex-start;
		text-align: left;
		max-width: none;
		margin-left: 0;
	}

	footer .ait-footer-eeat {
		text-align: left;
		white-space: normal;
	}

	footer .ait-footer-brand-left {
		margin-left: 0;
	}

	footer .ait-footer-badge {
		margin-left: 0;
		margin-right: auto;
		align-self: flex-start;
		justify-self: start;
	}

	footer .ait-footer-link-columns {
		grid-template-columns: repeat(3, minmax(160px, 1fr));
	}
}

@media (max-width: 920px) {
	footer .ait-footer-link-columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	footer .ait-footer-bottom {
		flex-direction: column;
		align-items: flex-start !important;
		flex-wrap: wrap !important;
	}

	footer .ait-footer-disclosure {
		text-align: left;
		white-space: normal;
	}
}

@media (max-width: 781px) {
	footer .ait-footer-main {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	footer .ait-footer-shell {
		padding: 1rem;
		border-radius: 24px;
	}

	footer .ait-footer-site-name {
		font-size: clamp(1.4rem, 7vw, 1.8rem);
	}

	footer .ait-footer-badge {
		width: fit-content;
		justify-content: flex-start;
		text-align: left;
		white-space: normal;
	}

	footer .ait-footer-link-columns {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	footer .ait-footer-disclosure {
		text-align: left;
		white-space: normal;
	}
}


/* ================================
   Mobile
================================ */

@media (max-width: 781px) {
	.ait-article-hero-wrap {
		padding: 1.25rem 1rem 2.25rem;
	}

	.ait-article-hero-card {
		border-radius: 24px;
		padding: 1rem;
	}

	.ait-article-title {
		font-size: clamp(1.85rem, 8.7vw, 2.75rem);
		line-height: 1.04;
	}

	.ait-article-meta {
		font-size: 0.68rem;
		gap: 0.35rem;
	}

	.ait-feature-strip {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 0.65rem !important;
	}

	.ait-feature-item {
		min-height: 78px !important;
		border-radius: 14px !important;
		padding: 0.55rem 0.5rem !important;
	}

	.ait-process-flow {
		display: grid !important;
		grid-template-columns: 1fr;
		gap: 0.65rem !important;
	}

	.ait-process-arrow {
		display: none;
	}

	.ait-process-step {
		width: 100% !important;
		min-height: 40px !important;
		white-space: normal;
		text-align: center;
		border-radius: 15px !important;
		font-size: 1rem !important;
	}

	.ait-tested-badge {
		width: 100% !important;
		border-radius: 16px !important;
	}

	.ait-tested-badge::after {
		font-size: 0.9rem;
	}

	.ait-share-row {
		justify-content: flex-start;
	}

	.ait-post-content,
	.ait-post-content > *,
	.ait-post-content > .wp-block-image,
	.ait-post-content > .wp-block-gallery,
	.ait-post-content > .wp-block-table,
	.ait-post-content > .wp-block-cover,
	.ait-post-content > .wp-block-media-text,
	.ait-post-content > .wp-block-columns,
	.ait-post-content > figure,
	.ait-post-content > .wp-block-rank-math-toc-block,
	.ait-post-content > .rank-math-block {
		max-width: 100% !important;
	}

	.ait-post-content p,
	.ait-post-content li {
		font-size: 1rem;
		line-height: 1.68;
	}

	.ait-more-posts-wrap {
		padding: 2.7rem 1rem;
	}

	.ait-more-posts-grid {
		grid-template-columns: 1fr !important;
	}

	.ait-more-post-card {
		border-radius: 22px;
	}

	.ait-more-post-meta {
		display: flex !important;
		flex-direction: row !important;
		justify-content: space-between !important;
	}

	.ait-more-post-meta .wp-block-post-terms,
	.ait-more-post-meta > *:first-child,
	.ait-more-post-meta .wp-block-post-date,
	.ait-more-post-meta time,
	.ait-more-post-meta > *:last-child {
		font-size: 0.76rem !important;
	}
}
/* =========================================
   AI Travel Tools — Single Post HERO Trust Badge Compatibility
========================================= */

.ait-tested-badge {
	width: 100% !important;
	max-width: 100% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-sizing: border-box !important;
}

.ait-tested-badge::before {
	flex: 0 0 23px !important;
}



/* =========================================
   AI Travel Tools — Mobile Hero Fix
========================================= */

@media (max-width: 781px) {
	.ait-article-hero-wrap {
		overflow-x: clip;
	}

	.ait-article-hero-card {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 1rem !important;
		align-items: stretch !important;
		box-sizing: border-box;
	}

	.ait-article-hero-card > * {
		min-width: 0;
	}

	.ait-article-hero-content {
		display: contents;
	}

	.ait-article-meta,
	.ait-article-title,
	.ait-article-excerpt,
	.ait-article-hero-image-wrap,
	.ait-feature-strip,
	.ait-process-flow,
	.ait-tested-badge,
	.ait-share-row {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		box-sizing: border-box;
	}

	.ait-article-meta {
		order: 1;
		row-gap: 0.35rem;
		justify-content: flex-start !important;
	}

	.ait-article-title {
		order: 2;
		font-size: clamp(1.75rem, 7.4vw, 2.45rem);
		overflow-wrap: anywhere;
	}

	.ait-article-excerpt {
		order: 3;
		margin-bottom: 0.15rem;
	}

	.ait-article-hero-image-wrap {
		order: 4;
		margin-top: 0.15rem;
	}

	.ait-article-hero-image-wrap .wp-block-post-featured-image,
	.ait-article-hero-image-wrap .wp-block-post-featured-image a,
	.ait-article-hero-image-wrap img {
		width: 100%;
		aspect-ratio: 1 / 1;
	}

	.ait-feature-strip {
		order: 5;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		align-items: stretch !important;
		margin: 0.35rem 0 0.95rem !important;
	}

	.ait-feature-item {
		min-width: 0;
		min-height: 74px !important;
	}

	.ait-feature-label {
		min-height: 0 !important;
		font-size: 0.8rem !important;
		line-height: 1.18 !important;
	}

	.ait-process-flow {
		order: 6;
		display: grid !important;
		grid-template-columns: minmax(0, 1fr);
		align-items: stretch !important;
		justify-content: stretch !important;
		gap: 0.6rem !important;
		margin: 0 0 0.8rem !important;
	}

	.ait-process-step {
		width: 100% !important;
		max-width: 100%;
		min-width: 0;
		padding: 1.82rem 0.95rem !important;
		line-height: 1.18 !important;
	}

	.ait-tested-badge {
		order: 7;
		margin: 0 0 0.85rem !important;
	}

	.ait-tested-badge::after {
		font-size: 0.9rem;
		line-height: 1.2;
	}

	.ait-share-row {
		order: 8;
		margin-top: 0 !important;
		padding-top: 0.8rem !important;
	}
}

@media (max-width: 480px) {
	.ait-feature-strip {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

/* ================================
   AI Travel Tools — Mobile Layout Polish
================================ */

@media (max-width: 781px) {
	header.wp-block-template-part .wp-block-group.alignwide {
		padding-top: 0.65rem !important;
		padding-bottom: 0.65rem !important;
		gap: 0.7rem !important;
		align-items: center !important;
	}

	header.wp-block-template-part .wp-block-site-logo {
		margin: 0;
		flex: 0 1 auto;
	}

	header.wp-block-template-part .wp-block-site-logo img,
	header.wp-block-template-part .custom-logo {
		width: clamp(92px, 28vw, 112px) !important;
		height: auto !important;
	}

	header.wp-block-template-part .wp-block-navigation {
		margin-left: auto;
	}

	header.wp-block-template-part .wp-block-navigation__responsive-container-open,
	header.wp-block-template-part .wp-block-navigation__responsive-container-close {
		min-width: 40px;
		min-height: 40px;
		padding: 0.35rem !important;
		border-radius: 999px;
		line-height: 0;
	}

	header.wp-block-template-part .wp-block-navigation__responsive-container-open svg,
	header.wp-block-template-part .wp-block-navigation__responsive-container-close svg {
		width: 20px;
		height: 20px;
	}

	.ait-article-hero-wrap {
		padding: 0.95rem 0.85rem 1.4rem;
	}

	.ait-article-hero-card {
		padding: 0.88rem !important;
		gap: 0.82rem !important;
		border-radius: 20px;
		box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
	}

	.ait-article-meta {
		gap: 0.26rem 0.38rem;
		row-gap: 0.26rem;
		margin-bottom: 0.35rem;
		font-size: 0.61rem;
		line-height: 1.22;
		letter-spacing: 0.075em;
	}

	.ait-article-title {
		font-size: clamp(1.48rem, 6.9vw, 2rem);
		line-height: 1.06;
		margin-bottom: 0.55rem;
	}

	.ait-article-excerpt {
		font-size: 0.95rem;
		line-height: 1.55;
		margin-bottom: 0.1rem;
	}

	.ait-article-hero-image-wrap {
		margin-top: 0.2rem;
	}

	.ait-article-hero-image-wrap .wp-block-post-featured-image a,
	.ait-article-hero-image-wrap img {
		border-radius: 18px;
	}

	.ait-feature-strip {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 0.55rem !important;
		margin: 0.2rem 0 0.8rem !important;
	}

	.ait-feature-item {
		min-height: 64px !important;
		padding: 0.48rem 0.42rem !important;
		border-radius: 14px !important;
	}

	.ait-feature-icon {
		height: 18px !important;
		min-height: 18px !important;
		margin-bottom: 0.18rem !important;
	}

	.ait-feature-icon::before {
		font-size: 1.05rem;
	}

	.ait-feature-label {
		font-size: 0.74rem !important;
		line-height: 1.14 !important;
	}

	.ait-process-flow {
		gap: 0.5rem !important;
		margin: 0 0 0.7rem !important;
	}

	.ait-process-arrow {
		display: none !important;
	}

	.ait-process-step {
		min-height: 36px !important;
		padding: 0.6rem 0.82rem !important;
		border-radius: 14px !important;
		font-size: 0.92rem !important;
		line-height: 1.15 !important;
	}

	.ait-tested-badge {
		padding: 0.55rem 0.78rem !important;
		border-radius: 14px !important;
		gap: 0.3rem !important;
		margin: 0 0 0.75rem !important;
		min-height: 0 !important;
	}

	.ait-tested-badge::before {
		width: 20px;
		height: 20px;
		flex: 0 0 20px !important;
	}

	.ait-tested-badge::after {
		font-size: 0.84rem;
		line-height: 1.2;
	}

	.ait-share-row {
		gap: 0.5rem;
		row-gap: 0.5rem;
		padding-top: 0.75rem !important;
		padding-bottom: 1rem !important;
		margin-bottom: 0.35rem !important;
	}

	.ait-share-label {
		font-size: 0.78rem;
	}

	.ait-share-btn {
		width: 32px;
		height: 32px;
		font-size: 0.74rem;
	}

	.ait-post-content {
		width: 100% !important;
		max-width: none !important;
		padding-inline: 1rem !important;
		box-sizing: border-box;
	}

	.ait-post-content > *,
	.ait-post-content > .wp-block-image,
	.ait-post-content > .wp-block-gallery,
	.ait-post-content > .wp-block-table,
	.ait-post-content > .wp-block-cover,
	.ait-post-content > .wp-block-media-text,
	.ait-post-content > .wp-block-columns,
	.ait-post-content > figure,
	.ait-post-content > .wp-block-rank-math-toc-block,
	.ait-post-content > .rank-math-block {
		max-width: 100% !important;
	}

	.ait-post-content p,
	.ait-post-content li {
		font-size: 0.98rem;
		line-height: 1.68;
	}

	.ait-post-content h2 {
		font-size: clamp(1.42rem, 6vw, 1.7rem);
		line-height: 1.14;
		margin-top: 2rem;
	}

	.ait-post-content h3 {
		font-size: clamp(1.18rem, 5vw, 1.35rem);
		line-height: 1.18;
		margin-top: 1.65rem;
	}

	.ait-post-content img {
		max-width: 100%;
		height: auto;
	}

	.ait-post-content figcaption {
		font-size: 0.79rem;
		line-height: 1.45;
		color: #64748b;
	}

	.ait-post-content .wp-block-table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	body.page main.wp-block-group {
		margin-top: var(--wp--preset--spacing--40) !important;
	}

	body.page main > .wp-block-group.alignfull {
		padding-top: 1.25rem !important;
		padding-bottom: 2rem !important;
	}

	body.page .wp-block-post-title,
	body.page .wp-block-post-content,
	body.page .wp-block-post-featured-image {
		width: min(calc(100% - 2rem), 44rem);
		max-width: 44rem;
		margin-left: auto !important;
		margin-right: auto !important;
	}

	body.page .wp-block-post-title {
		margin-bottom: 0.85rem !important;
		font-size: clamp(1.7rem, 7vw, 2.25rem);
		line-height: 1.08;
		letter-spacing: -0.04em;
	}

	body.page .wp-block-post-featured-image {
		margin-bottom: 1.1rem !important;
	}

	body.page .wp-block-post-content > * {
		max-width: 100% !important;
	}

	body.page .wp-block-post-content p,
	body.page .wp-block-post-content li {
		font-size: 0.98rem;
		line-height: 1.7;
	}

	body.page .wp-block-post-content h2 {
		font-size: clamp(1.4rem, 6vw, 1.7rem);
		line-height: 1.14;
	}

	body.page .wp-block-post-content h3 {
		font-size: clamp(1.16rem, 5vw, 1.34rem);
		line-height: 1.18;
	}

	body.page .wp-block-post-content img {
		max-width: 100%;
		height: auto;
	}

	body.page .wp-block-post-content figcaption {
		font-size: 0.79rem;
		line-height: 1.45;
		color: #64748b;
	}
}

@media (max-width: 360px) {
	.ait-feature-strip {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

/* ================================
   AI Travel Tools — Blog Cards and Mobile Content Final Fix
================================ */

.ait-blog-shell,
.ait-blog-query {
	width: 100%;
}

.ait-blog-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 1.35rem !important;
}

.ait-blog-card {
	display: flex !important;
	flex-direction: column !important;
	gap: 0.95rem !important;
	height: 100%;
	padding: 1rem !important;
	border-radius: 24px !important;
	background:
		radial-gradient(circle at bottom right, rgba(77, 208, 200, 0.12), transparent 28%),
		radial-gradient(circle at bottom left, rgba(126, 87, 194, 0.12), transparent 26%),
		linear-gradient(315deg, #f6fdff 0%, #f8fafc 45%, #f4f1ff 100%) !important;
	border: 1px solid rgba(15, 23, 42, 0.08) !important;
	box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08) !important;
	overflow: hidden;
}

.ait-blog-card-image {
	margin: 0 !important;
}

.ait-blog-card-image a {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 18px;
}

.ait-blog-card-image img {
	display: block;
	width: 100%;
	height: 100% !important;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.ait-blog-card-content {
	display: flex !important;
	flex-direction: column !important;
	gap: 0.72rem !important;
	height: 100%;
}

.ait-blog-card-category {
	margin: 0 !important;
	color: #64748b !important;
	font-size: 0.71rem !important;
	font-weight: 850 !important;
	line-height: 1.2 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
}

.ait-blog-card-category a {
	color: #64748b !important;
	text-decoration: none !important;
}

.ait-blog-card-title {
	margin: 0 !important;
	font-size: clamp(1.16rem, 1.35vw, 1.34rem) !important;
	line-height: 1.16 !important;
	letter-spacing: -0.03em !important;
}

.ait-blog-card-title a {
	color: #07142f;
	text-decoration: none;
}

.ait-blog-card-title a:hover {
	color: #0f766e;
}

.ait-blog-card-excerpt {
	margin: 0 !important;
	color: #475569;
	font-size: 0.92rem !important;
	line-height: 1.55 !important;
}

.ait-blog-card-excerpt .wp-block-post-excerpt__excerpt {
	margin-bottom: 0.55rem !important;
}

.ait-blog-card-excerpt .wp-block-post-excerpt__more-text {
	margin: 0 !important;
}

.ait-blog-card-excerpt .wp-block-post-excerpt__more-link {
	color: #0f766e;
	font-size: 0.9rem;
	font-weight: 800;
	text-decoration: none;
}

.ait-blog-card-excerpt .wp-block-post-excerpt__more-link:hover {
	color: #115e59;
	text-decoration: underline;
}

.ait-blog-card-meta {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 0.35rem !important;
	margin-top: auto !important;
	color: #64748b !important;
	font-size: 0.76rem !important;
	line-height: 1.25 !important;
}

.ait-blog-card-meta > * {
	margin: 0 !important;
}

.ait-blog-pagination {
	margin-top: var(--wp--preset--spacing--60) !important;
}

.ait-blog-no-results {
	color: #64748b;
}

@media (max-width: 1100px) {
	.ait-blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 781px) {
	.ait-process-flow {
		width: 100%;
		max-width: 100%;
		padding: 0;
		box-sizing: border-box;
		justify-self: stretch;
		overflow: clip;
	}

	.ait-process-flow > * {
		min-width: 0;
		max-width: 100%;
		box-sizing: border-box;
	}

	.ait-process-step {
		display: flex !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		align-self: stretch !important;
		margin: 0 !important;
		box-sizing: border-box;
		white-space: normal;
		overflow-wrap: anywhere;
	}

	.ait-post-content-wrap {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.ait-post-content,
	.ait-post-content.wp-block-post-content,
	.single .entry-content {
		width: 100% !important;
		max-width: none !important;
		padding-inline: 1rem !important;
		margin-left: auto !important;
		margin-right: auto !important;
		box-sizing: border-box;
	}

	.ait-post-content > *,
	.ait-post-content.wp-block-post-content > *,
	.single .entry-content > * {
		width: auto !important;
		max-width: none !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.ait-post-content .wp-block-image,
	.ait-post-content .wp-block-gallery,
	.ait-post-content .wp-block-table,
	.ait-post-content .wp-block-cover,
	.ait-post-content .wp-block-media-text,
	.ait-post-content .wp-block-columns,
	.ait-post-content figure,
	.ait-post-content .wp-block-rank-math-toc-block,
	.ait-post-content .rank-math-block {
		width: 100% !important;
		max-width: none !important;
	}

	.ait-blog-shell {
		padding-inline: 0;
	}

	.ait-blog-page-title {
		font-size: clamp(1.8rem, 8vw, 2.3rem);
	}

	.ait-blog-grid {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 1rem !important;
	}

	.ait-blog-card {
		padding: 0.95rem !important;
		border-radius: 22px !important;
		gap: 0.85rem !important;
	}

	.ait-blog-card-title {
		font-size: clamp(1.12rem, 5.4vw, 1.3rem) !important;
	}

	.ait-blog-card-excerpt {
		font-size: 0.9rem !important;
	}
}

/* ================================
   AI Travel Tools — Desktop Blog Restore and Mobile Content Card
================================ */

	.ait-blog-mobile-layout {
		display: block;
	}

	.ait-blog-desktop-layout {
		display: none;
	}

@media (min-width: 782px) {
	.ait-blog-mobile-layout {
		display: none;
	}

	.ait-blog-desktop-layout {
		display: block;
	}

	body.blog .ait-blog-shell,
	body.home .ait-blog-shell,
	body.blog main.wp-block-group.is-layout-constrained > .wp-block-group.alignwide.ait-blog-shell,
	body.home main.wp-block-group.is-layout-constrained > .wp-block-group.alignwide.ait-blog-shell {
		width: min(100% - 3rem, 1360px) !important;
		max-width: none !important;
		margin-inline: auto !important;
		padding-inline: 0 !important;
	}

	.ait-blog-desktop-layout,
	.ait-blog-desktop-layout .wp-block-query,
	.ait-blog-desktop-featured-query,
	.ait-blog-desktop-secondary-query,
	.ait-blog-desktop-grid-query {
		width: 100%;
		max-width: none !important;
	}

	.ait-blog-page-title {
		margin-bottom: 0.35rem;
		font-size: clamp(2.2rem, 3vw, 3rem);
		line-height: 1.04;
		letter-spacing: -0.045em;
	}

	.ait-blog-desktop-layout .wp-block-query {
		margin-top: 1.25rem;
	}

	.ait-blog-desktop-featured-card {
		display: grid !important;
		grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
		align-items: stretch;
		gap: 1.6rem !important;
		padding: 1.3rem !important;
		border-radius: 28px !important;
		min-height: 0;
		background:
			radial-gradient(circle at bottom right, rgba(77, 208, 200, 0.12), transparent 28%),
			radial-gradient(circle at bottom left, rgba(126, 87, 194, 0.12), transparent 26%),
			linear-gradient(315deg, #f6fdff 0%, #f8fafc 45%, #f4f1ff 100%) !important;
	}

	.ait-blog-desktop-featured-content {
		min-width: 0;
		display: flex !important;
		flex-direction: column !important;
		justify-content: center;
		align-items: flex-start;
		align-self: center;
		gap: 1rem !important;
		padding: 0.35rem 0;
	}

	.ait-blog-desktop-featured-card .ait-blog-card-title-featured {
		margin: 0 0 0.95rem !important;
	}

	.ait-blog-card-excerpt-featured {
		color: #475569 !important;
		font-size: clamp(1rem, 1vw, 1.08rem) !important;
		font-weight: 400 !important;
		line-height: 1.62 !important;
		max-width: 680px;
		margin-bottom: 0 !important;
	}

	.ait-blog-desktop-secondary-grid {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 1.5rem !important;
	}

	.ait-blog-desktop-grid {
		display: grid !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 1.45rem !important;
	}

	.ait-blog-desktop-layout .ait-blog-card {
		padding: 1.1rem !important;
		gap: 0.9rem !important;
		border-radius: 24px !important;
		min-width: 0;
	}

	.ait-blog-desktop-layout .ait-blog-card-title {
		font-size: clamp(1.08rem, 1.12vw, 1.28rem) !important;
		line-height: 1.16 !important;
		font-weight: 675 !important;
		letter-spacing: -0.02em !important;
		overflow-wrap: normal;
		word-break: normal;
		hyphens: auto;
	}

	.ait-blog-desktop-layout .ait-blog-card-title a {
		overflow-wrap: normal;
		word-break: normal;
		hyphens: auto;
	}

	.ait-blog-desktop-layout .ait-blog-card-category,
	body.archive .ait-archive-standard-category,
	body.category .ait-archive-standard-category {
		font-weight: 720 !important;
	}

	.ait-blog-desktop-layout .ait-blog-card-excerpt,
	body.archive .ait-archive-standard-excerpt,
	body.category .ait-archive-standard-excerpt {
		font-weight: 400 !important;
		color: #526174 !important;
	}

	.ait-blog-desktop-secondary-card .ait-blog-card-title,
	body.archive .ait-archive-grid > *:nth-child(2) .ait-archive-card-title,
	body.archive .ait-archive-grid > *:nth-child(3) .ait-archive-card-title,
	body.category .ait-archive-grid > *:nth-child(2) .ait-archive-card-title,
	body.category .ait-archive-grid > *:nth-child(3) .ait-archive-card-title {
		font-size: clamp(1.35rem, 1.65vw, 1.75rem) !important;
		line-height: 1.12 !important;
		font-weight: 490 !important;
		letter-spacing: 0.01em !important;
	}

	.ait-blog-desktop-grid-card .ait-blog-card-title,
	body.archive .ait-archive-grid > *:nth-child(n+4) .ait-archive-card-title,
	body.category .ait-archive-grid > *:nth-child(n+4) .ait-archive-card-title {
		font-size: clamp(1.08rem, 1.12vw, 1.28rem) !important;
		line-height: 1.16 !important;
		font-weight: 475 !important;
		letter-spacing: 0.01em !important;
	}

	.ait-blog-desktop-secondary-card .ait-blog-card-excerpt,
	body.archive .ait-archive-grid > *:nth-child(2) .ait-archive-standard-excerpt,
	body.archive .ait-archive-grid > *:nth-child(3) .ait-archive-standard-excerpt,
	body.category .ait-archive-grid > *:nth-child(2) .ait-archive-standard-excerpt,
	body.category .ait-archive-grid > *:nth-child(3) .ait-archive-standard-excerpt {
		font-size: clamp(0.92rem, 0.95vw, 1rem) !important;
		font-weight: 400 !important;
		line-height: 1.55 !important;
		color: #526174 !important;
	}

	.ait-blog-desktop-grid-card .ait-blog-card-excerpt,
	body.archive .ait-archive-grid > *:nth-child(n+4) .ait-archive-standard-excerpt,
	body.category .ait-archive-grid > *:nth-child(n+4) .ait-archive-standard-excerpt {
		font-size: clamp(0.84rem, 0.82vw, 0.92rem) !important;
		font-weight: 400 !important;
		line-height: 1.48 !important;
		color: #526174 !important;
	}

	.ait-blog-desktop-featured-card .ait-blog-card-category {
		font-size: 0.73rem !important;
		letter-spacing: 0.1em !important;
		font-weight: 720 !important;
	}

	.ait-blog-featured-top-meta {
		margin-bottom: 0.85rem !important;
	}

	.ait-blog-featured-top-meta .wp-block-post-terms,
	.ait-blog-featured-top-meta .wp-block-post-author-name,
	.ait-blog-featured-top-meta .wp-block-post-author-name a,
	.ait-blog-featured-top-meta .wp-block-post-terms a,
	.ait-blog-featured-top-meta .wp-block-shortcode,
	.ait-blog-featured-top-meta .ait-reading-time {
		color: #64748b !important;
		text-decoration: none !important;
	}

	.ait-blog-featured-top-meta .wp-block-post-author-name {
		margin: 0 !important;
	}

	.ait-blog-card-excerpt-featured .wp-block-post-excerpt__excerpt {
		margin-bottom: 0.7rem !important;
	}

	.ait-blog-card-excerpt-featured .wp-block-post-excerpt__more-link {
		color: #0f766e !important;
		font-size: inherit !important;
		font-weight: 800 !important;
		line-height: inherit !important;
		text-decoration: none !important;
	}

	.ait-blog-card-excerpt-featured .wp-block-post-excerpt__more-link:hover {
		color: #115e59 !important;
		text-decoration: underline !important;
	}

	.ait-blog-featured-date {
		align-self: center;
		margin: 0.25rem auto 0 !important;
		color: #475569 !important;
		font-size: clamp(0.98rem, 1.13vw, 1.12rem) !important;
		line-height: 1.56 !important;
		font-weight: 650 !important;
		text-align: center !important;
	}

	.ait-blog-desktop-featured-card .ait-blog-card-image,
	.ait-blog-desktop-featured-card .ait-blog-card-image a,
	.ait-blog-desktop-featured-card .ait-blog-card-image img {
		width: 100%;
		aspect-ratio: 1 / 1;
	}

	.ait-blog-desktop-secondary-card .ait-blog-card-image a,
	.ait-blog-desktop-secondary-card .ait-blog-card-image img,
	.ait-blog-desktop-grid-card .ait-blog-card-image a,
	.ait-blog-desktop-grid-card .ait-blog-card-image img {
		aspect-ratio: 1 / 1;
	}
}

@media (min-width: 782px) and (max-width: 1100px) {
	.ait-blog-desktop-featured-card {
		grid-template-columns: minmax(0, 1fr);
	}

	.ait-blog-desktop-secondary-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.ait-blog-desktop-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 781px) {
	.ait-blog-mobile-layout {
		display: block;
	}

	.ait-blog-desktop-layout {
		display: none;
	}

	.single-post .ait-post-content-wrap {
		background:
			radial-gradient(circle at top left, rgba(77, 208, 200, 0.12), transparent 28%),
			radial-gradient(circle at top right, rgba(126, 87, 194, 0.12), transparent 26%),
			linear-gradient(135deg, #f6fdff 0%, #f8fafc 45%, #f4f1ff 100%) !important;
		padding: 1rem 1rem 2rem !important;
	}

	.single-post .ait-post-content.alignfull,
	.single-post .entry-content.ait-post-content.alignfull,
	.single-post .wp-block-post-content.ait-post-content.alignfull {
		width: min(100%, 1280px) !important;
		max-width: none !important;
		margin-left: auto !important;
		margin-right: auto !important;
		left: auto !important;
		right: auto !important;
		transform: none !important;
		padding: clamp(1.35rem, 5vw, 2.2rem) !important;
		background: rgba(255, 255, 255, 0.96);
		border: 1px solid rgba(148, 163, 184, 0.18);
		border-radius: clamp(1.4rem, 5vw, 2.2rem);
		box-shadow: 0 20px 46px rgba(15, 23, 42, 0.08);
		box-sizing: border-box;
		overflow: visible;
	}

	.single-post .ait-post-content-wrap > .wp-block-group {
		width: min(100%, 1280px) !important;
		max-width: none !important;
		margin-left: auto !important;
		margin-right: auto !important;
		box-sizing: border-box;
	}

	.single-post .ait-post-content > *,
	.single-post .ait-post-content.wp-block-post-content > *,
	.single-post .entry-content.ait-post-content > * {
		width: auto !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		box-sizing: border-box;
	}

	.single-post .ait-post-content .wp-block-image,
	.single-post .ait-post-content .wp-block-gallery,
	.single-post .ait-post-content .wp-block-table,
	.single-post .ait-post-content .wp-block-cover,
	.single-post .ait-post-content .wp-block-media-text,
	.single-post .ait-post-content .wp-block-columns,
	.single-post .ait-post-content figure,
	.single-post .ait-post-content .wp-block-rank-math-toc-block,
	.single-post .ait-post-content .rank-math-block,
	.single-post .ait-post-content pre,
	.single-post .ait-post-content .wp-block-code {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
	}

	.single-post .ait-post-content img {
		display: block;
		max-width: 100% !important;
		height: auto !important;
	}

	.single-post .ait-post-content > p,
	.single-post .ait-post-content > ul,
	.single-post .ait-post-content > ol,
	.single-post .ait-post-content > blockquote,
	.single-post .ait-post-content > pre,
	.single-post .ait-post-content > h2,
	.single-post .ait-post-content > h3,
	.single-post .ait-post-content > h4,
	.single-post .ait-post-content > h5,
	.single-post .ait-post-content > h6,
	.single-post .ait-post-content > .wp-block-heading,
	.single-post .ait-post-content > .wp-block-list,
	.single-post .ait-post-content > .wp-block-quote,
	.single-post .ait-post-content > .wp-block-pullquote,
	.single-post .ait-post-content > .wp-block-preformatted,
	.single-post .ait-post-content > .wp-block-code,
	.single-post .ait-post-content > .wp-block-rank-math-toc-block,
	.single-post .ait-post-content > .rank-math-block {
		width: 100% !important;
		max-width: 100% !important;
	}

	.single-post .ait-post-content .wp-block-table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.single-post .ait-post-content .wp-block-table table {
		min-width: 100%;
	}

	.single-post .ait-post-content pre,
	.single-post .ait-post-content .wp-block-code {
		overflow-x: auto;
	}

	.single-post .ait-post-content .wp-element-caption,
	.single-post .ait-post-content figcaption {
		margin-top: 0.55rem !important;
	}
}
/* ================================
   AI Travel Tools — Blog Card Typography Polish
================================ */

@media (min-width: 782px) {
	body.home .ait-blog-desktop-layout .ait-blog-desktop-featured-card h2.ait-blog-card-title-featured,
	body.blog .ait-blog-desktop-layout .ait-blog-desktop-featured-card h2.ait-blog-card-title-featured,
	body.home .ait-blog-desktop-layout .ait-blog-desktop-featured-card h2.ait-blog-card-title-featured a,
	body.blog .ait-blog-desktop-layout .ait-blog-desktop-featured-card h2.ait-blog-card-title-featured a,
	body.archive .ait-archive-grid > *:first-child .ait-archive-card-title,
	body.archive .ait-archive-grid > *:first-child .ait-archive-card-title a,
	body.category .ait-archive-grid > *:first-child .ait-archive-card-title,
	body.category .ait-archive-grid > *:first-child .ait-archive-card-title a {
		font-size: clamp(2.25rem, 3.05vw, 3.7rem) !important;
		line-height: 1.04 !important;
		letter-spacing: -0.01em !important;
		font-weight: 490 !important;
		color: #07142f !important;
	}
}

/* ================================
   AI Travel Tools — Archive Cards
================================ */

.ait-archive-description {
	margin-top: 0.2rem !important;
	margin-bottom: 0.4rem !important;
	color: #64748b;
	font-size: 0.98rem;
	line-height: 1.65;
	max-width: 60rem;
}

.ait-archive-description p {
	margin: 0;
}

.ait-archive-featured-top-meta,
.ait-archive-featured-excerpt,
.ait-archive-featured-date {
	display: none;
}

@media (min-width: 782px) {
	body.archive .ait-archive-shell,
	body.category .ait-archive-shell,
	body.archive main.wp-block-group.is-layout-constrained > .wp-block-group.alignwide.ait-archive-shell,
	body.category main.wp-block-group.is-layout-constrained > .wp-block-group.alignwide.ait-archive-shell {
		width: min(100% - 3rem, 1360px) !important;
		max-width: none !important;
		margin-inline: auto !important;
		padding-inline: 0 !important;
	}

	body.archive .ait-archive-query,
	body.category .ait-archive-query {
		width: 100%;
		max-width: none !important;
	}

	body.archive .ait-archive-grid,
	body.category .ait-archive-grid {
		display: grid !important;
		grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
		gap: 1.45rem !important;
		list-style: none;
		padding: 0;
		margin: 1.25rem 0 0 !important;
	}

	body.archive .ait-archive-grid > *,
	body.category .ait-archive-grid > * {
		grid-column: span 4;
		min-width: 0;
	}

	body.archive .ait-archive-grid > *:first-child,
	body.category .ait-archive-grid > *:first-child {
		grid-column: 1 / -1;
	}

	body.archive .ait-archive-grid > *:nth-child(2),
	body.archive .ait-archive-grid > *:nth-child(3),
	body.category .ait-archive-grid > *:nth-child(2),
	body.category .ait-archive-grid > *:nth-child(3) {
		grid-column: span 6;
	}

	body.archive .ait-archive-card,
	body.category .ait-archive-card {
		min-width: 0;
	}

	body.archive .ait-archive-card .ait-blog-card-image a,
	body.archive .ait-archive-card .ait-blog-card-image img,
	body.category .ait-archive-card .ait-blog-card-image a,
	body.category .ait-archive-card .ait-blog-card-image img {
		width: 100%;
		aspect-ratio: 1 / 1;
	}

	body.archive .ait-archive-grid > *:first-child .ait-archive-card,
	body.category .ait-archive-grid > *:first-child .ait-archive-card {
		display: grid !important;
		grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
		align-items: stretch;
		gap: 1.6rem !important;
		padding: 1.3rem !important;
		border-radius: 28px !important;
		min-height: 0;
	}

	body.archive .ait-archive-grid > *:first-child .ait-archive-card-content,
	body.category .ait-archive-grid > *:first-child .ait-archive-card-content {
		min-width: 0;
		display: flex !important;
		flex-direction: column !important;
		justify-content: center;
		align-items: flex-start;
		align-self: center;
		gap: 1rem !important;
		padding: 0.35rem 0;
	}

	body.archive .ait-archive-grid > *:first-child .ait-archive-featured-top-meta,
	body.category .ait-archive-grid > *:first-child .ait-archive-featured-top-meta {
		display: flex !important;
		margin-bottom: 0.85rem !important;
	}

	body.archive .ait-archive-grid > *:first-child .ait-archive-featured-excerpt,
	body.archive .ait-archive-grid > *:first-child .ait-archive-featured-date,
	body.category .ait-archive-grid > *:first-child .ait-archive-featured-excerpt,
	body.category .ait-archive-grid > *:first-child .ait-archive-featured-date {
		display: block !important;
	}

	body.archive .ait-archive-grid > *:first-child .ait-archive-standard-category,
	body.archive .ait-archive-grid > *:first-child .ait-archive-standard-excerpt,
	body.archive .ait-archive-grid > *:first-child .ait-archive-standard-meta,
	body.category .ait-archive-grid > *:first-child .ait-archive-standard-category,
	body.category .ait-archive-grid > *:first-child .ait-archive-standard-excerpt,
	body.category .ait-archive-grid > *:first-child .ait-archive-standard-meta {
		display: none !important;
	}

}

@media (min-width: 782px) and (max-width: 1100px) {
	body.archive .ait-archive-grid,
	body.category .ait-archive-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	body.archive .ait-archive-grid > *,
	body.category .ait-archive-grid > * {
		grid-column: span 1 !important;
	}

	body.archive .ait-archive-grid > *:first-child,
	body.category .ait-archive-grid > *:first-child {
		grid-column: 1 / -1 !important;
	}

	body.archive .ait-archive-grid > *:first-child .ait-archive-card,
	body.category .ait-archive-grid > *:first-child .ait-archive-card {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

@media (max-width: 781px) {
	body.archive .ait-archive-grid,
	body.category .ait-archive-grid {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 1rem !important;
	}

	body.archive .ait-archive-grid > *,
	body.category .ait-archive-grid > * {
		grid-column: 1 / -1 !important;
	}

	body.home .ait-blog-card-title,
	body.blog .ait-blog-card-title,
	body.archive .ait-archive-card-title,
	body.category .ait-archive-card-title {
		font-size: clamp(1.12rem, 5.4vw, 1.3rem) !important;
		font-weight: 620 !important;
		line-height: 1.18 !important;
		letter-spacing: -0.014em !important;
	}

	body.home .ait-blog-card-excerpt,
	body.blog .ait-blog-card-excerpt,
	body.archive .ait-archive-standard-excerpt,
	body.category .ait-archive-standard-excerpt {
		font-size: 0.9rem !important;
		font-weight: 400 !important;
		line-height: 1.5 !important;
		color: #526174 !important;
	}

	body.home .ait-blog-card-category,
	body.blog .ait-blog-card-category,
	body.archive .ait-archive-standard-category,
	body.category .ait-archive-standard-category {
		font-weight: 720 !important;
	}
}

/* ================================
   AI Travel Tools — Single Content Architecture Fix
================================ */

body.single-post .ait-post-content-wrap {
	--ait-post-card-max: var(--wp--style--global--wide-size, 1340px);
	--ait-post-readable-max: 760px;
	--ait-post-wide-max: 1120px;
	background:
		radial-gradient(circle at top left, rgba(77, 208, 200, 0.12), transparent 28%),
		radial-gradient(circle at top right, rgba(126, 87, 194, 0.12), transparent 26%),
		linear-gradient(135deg, #f6fdff 0%, #f8fafc 45%, #f4f1ff 100%) !important;
	width: auto !important;
	max-width: none !important;
	margin-left: calc(var(--wp--style--root--padding-left) * -1) !important;
	margin-right: calc(var(--wp--style--root--padding-right) * -1) !important;
	padding: clamp(2.35rem, 5vw, 4.75rem) 1rem !important;
	box-sizing: border-box;
}

body.single-post .ait-post-content-wrap > .wp-block-group {
	width: min(100%, var(--ait-post-card-max)) !important;
	max-width: var(--ait-post-card-max) !important;
	margin-inline: auto !important;
}

body.single-post .ait-post-content.alignfull,
body.single-post .entry-content.ait-post-content.alignfull,
body.single-post .wp-block-post-content.ait-post-content.alignfull {
	width: min(100%, var(--ait-post-card-max)) !important;
	max-width: var(--ait-post-card-max) !important;
	margin-inline: auto !important;
	left: auto !important;
	right: auto !important;
	transform: none !important;
	padding: clamp(1.5rem, 3vw, 2.6rem) !important;
	background: rgba(255, 255, 255, 0.96) !important;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 32px;
	box-shadow: 0 26px 72px rgba(15, 23, 42, 0.11);
	backdrop-filter: blur(10px);
	box-sizing: border-box;
}

body.single-post .ait-post-content > * {
	width: auto;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-sizing: border-box;
}

body.single-post .ait-post-content > p,
body.single-post .ait-post-content > ul,
body.single-post .ait-post-content > ol,
body.single-post .ait-post-content > blockquote,
body.single-post .ait-post-content > pre,
body.single-post .ait-post-content > h2,
body.single-post .ait-post-content > h3,
body.single-post .ait-post-content > h4,
body.single-post .ait-post-content > h5,
body.single-post .ait-post-content > h6,
body.single-post .ait-post-content > .wp-block-heading,
body.single-post .ait-post-content > .wp-block-list,
body.single-post .ait-post-content > .wp-block-quote,
body.single-post .ait-post-content > .wp-block-pullquote,
body.single-post .ait-post-content > .wp-block-preformatted,
body.single-post .ait-post-content > .wp-block-code,
body.single-post .ait-post-content > .wp-block-rank-math-toc-block,
body.single-post .ait-post-content > .rank-math-block,
body.single-post .ait-post-content > #ez-toc-container,
body.single-post .ait-post-content > .ez-toc-container {
	width: min(100%, var(--ait-post-readable-max)) !important;
	max-width: var(--ait-post-readable-max) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

body.single-post .ait-post-content > .wp-block-image,
body.single-post .ait-post-content > figure.wp-block-image,
body.single-post .ait-post-content > figure:not(.wp-block-gallery):not(.blocks-gallery-grid) {
	width: min(100%, var(--ait-post-readable-max)) !important;
	max-width: var(--ait-post-readable-max) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

body.single-post .ait-post-content > .wp-block-gallery,
body.single-post .ait-post-content > .wp-block-table,
body.single-post .ait-post-content > .wp-block-cover,
body.single-post .ait-post-content > .wp-block-media-text,
body.single-post .ait-post-content > .wp-block-columns {
	width: min(100%, var(--ait-post-wide-max)) !important;
	max-width: var(--ait-post-wide-max) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

body.single-post .ait-post-content .alignwide,
body.single-post .ait-post-content .alignfull {
	width: 100% !important;
	max-width: 100% !important;
	margin-inline: auto !important;
}

body.single-post .ait-post-content p,
body.single-post .ait-post-content li,
body.single-post .ait-post-content table,
body.single-post .ait-post-content th,
body.single-post .ait-post-content td {
	font-size: 1.05rem;
	line-height: 1.72;
}

body.single-post .ait-post-content > #ez-toc-container,
body.single-post .ait-post-content > .ez-toc-container {
	display: block !important;
	float: none !important;
	clear: both;
	margin-top: 1.2rem !important;
	margin-bottom: 1.8rem !important;
	padding: 1rem 1.1rem !important;
	border-radius: 20px !important;
	border: 1px solid rgba(148, 163, 184, 0.18) !important;
	background: rgba(255, 255, 255, 0.82) !important;
	box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05) !important;
}

body.single-post .ait-post-content > #ez-toc-container ul,
body.single-post .ait-post-content > .ez-toc-container ul {
	padding-left: 1.05rem !important;
}

body.single-post .ait-post-content > .wp-block-image img,
body.single-post .ait-post-content > figure.wp-block-image img,
body.single-post .ait-post-content > figure:not(.wp-block-gallery):not(.blocks-gallery-grid) img {
	display: block;
	max-width: 100% !important;
	width: auto;
	height: auto !important;
	margin-inline: auto !important;
}

body.single-post .ait-post-content > .wp-block-image figcaption,
body.single-post .ait-post-content > figure.wp-block-image figcaption,
body.single-post .ait-post-content > figure:not(.wp-block-gallery):not(.blocks-gallery-grid) figcaption,
body.single-post .ait-post-content > .wp-block-image .wp-element-caption,
body.single-post .ait-post-content > figure.wp-block-image .wp-element-caption,
body.single-post .ait-post-content > figure:not(.wp-block-gallery):not(.blocks-gallery-grid) .wp-element-caption {
	width: 100%;
	max-width: 100%;
	margin: 0.65rem auto 0 !important;
	color: #64748b;
	font-size: 0.82rem !important;
	line-height: 1.5 !important;
	text-align: center;
}

body.single-post .ait-post-content .wp-block-table {
	display: block;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

body.single-post .ait-post-content .wp-block-table table {
	min-width: 100%;
	border-collapse: collapse;
}

body.single-post .ait-post-content .wp-block-gallery,
body.single-post .ait-post-content .wp-block-columns,
body.single-post .ait-post-content .wp-block-media-text {
	overflow: hidden;
}

body.single-post .ait-post-content pre,
body.single-post .ait-post-content .wp-block-code {
	overflow-x: auto;
}

@media (min-width: 782px) {
	body.single-post .ait-post-content > .wp-block-image,
	body.single-post .ait-post-content > figure.wp-block-image,
	body.single-post .ait-post-content > figure:not(.wp-block-gallery):not(.blocks-gallery-grid) {
		text-align: center;
	}

	body.single-post .ait-post-content > .wp-block-image img,
	body.single-post .ait-post-content > figure.wp-block-image img,
	body.single-post .ait-post-content > figure:not(.wp-block-gallery):not(.blocks-gallery-grid) img {
		max-height: 700px;
		object-fit: contain;
	}
}

@media (max-width: 781px) {
	body.single-post .ait-post-content-wrap {
		width: auto !important;
		max-width: none !important;
		margin-left: calc(var(--wp--style--root--padding-left) * -1) !important;
		margin-right: calc(var(--wp--style--root--padding-right) * -1) !important;
		padding: 1rem 1rem 2rem !important;
	}

	body.single-post .ait-post-content.alignfull,
	body.single-post .entry-content.ait-post-content.alignfull,
	body.single-post .wp-block-post-content.ait-post-content.alignfull {
		width: 100% !important;
		max-width: 100% !important;
		margin-inline: auto !important;
		padding: clamp(1.35rem, 5vw, 2rem) !important;
		border-radius: clamp(1.4rem, 5vw, 2.2rem);
		box-shadow: 0 20px 46px rgba(15, 23, 42, 0.08);
	}

	body.single-post .ait-post-content > p,
	body.single-post .ait-post-content > ul,
	body.single-post .ait-post-content > ol,
	body.single-post .ait-post-content > blockquote,
	body.single-post .ait-post-content > pre,
	body.single-post .ait-post-content > h2,
	body.single-post .ait-post-content > h3,
	body.single-post .ait-post-content > h4,
	body.single-post .ait-post-content > h5,
	body.single-post .ait-post-content > h6,
	body.single-post .ait-post-content > .wp-block-heading,
	body.single-post .ait-post-content > .wp-block-list,
	body.single-post .ait-post-content > .wp-block-quote,
	body.single-post .ait-post-content > .wp-block-pullquote,
	body.single-post .ait-post-content > .wp-block-preformatted,
	body.single-post .ait-post-content > .wp-block-code,
	body.single-post .ait-post-content > .wp-block-rank-math-toc-block,
	body.single-post .ait-post-content > .rank-math-block,
	body.single-post .ait-post-content > #ez-toc-container,
	body.single-post .ait-post-content > .ez-toc-container,
	body.single-post .ait-post-content > .wp-block-image,
	body.single-post .ait-post-content > figure.wp-block-image,
	body.single-post .ait-post-content > figure:not(.wp-block-gallery):not(.blocks-gallery-grid),
	body.single-post .ait-post-content > .wp-block-gallery,
	body.single-post .ait-post-content > .wp-block-table,
	body.single-post .ait-post-content > .wp-block-cover,
	body.single-post .ait-post-content > .wp-block-media-text,
	body.single-post .ait-post-content > .wp-block-columns {
		width: 100% !important;
		max-width: 100% !important;
	}

	body.single-post .ait-post-content .wp-block-gallery,
	body.single-post .ait-post-content .wp-block-table,
	body.single-post .ait-post-content .wp-block-cover,
	body.single-post .ait-post-content .wp-block-media-text,
	body.single-post .ait-post-content .wp-block-columns,
	body.single-post .ait-post-content pre,
	body.single-post .ait-post-content .wp-block-code {
		overflow-x: auto;
	}
}
/* ================================
   AI Travel Tools — Process Flow Final Alignment Fix
   Keep icons/text aligned without changing pill sizes
================================ */

.ait-process-step::before,
.ait-process-step::after {
	content: none !important;
	display: none !important;
}

.ait-process-step {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.7rem !important;
	font-size: 0.9rem !important;
	line-height: 1 !important;
	font-weight: 800 !important;
}

.ait-process-icon {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 1.25em !important;
	width: 1.25em !important;
	min-width: 1.25em !important;
	height: 1.25em !important;
	font-size: 1em !important;
	line-height: 1 !important;
	text-align: center !important;
}

.ait-process-label {
	display: inline-block !important;
	line-height: 1 !important;
	white-space: nowrap !important;
}

.ait-process-icon-refine {
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: contain !important;
	background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cg fill="none" stroke="%2315334f" stroke-width="2.1" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M4 6h16"/%3E%3Ccircle cx="9" cy="6" r="2.1" fill="%23ffffff"/%3E%3Cpath d="M4 12h16"/%3E%3Ccircle cx="15" cy="12" r="2.1" fill="%23ffffff"/%3E%3Cpath d="M4 18h16"/%3E%3Ccircle cx="11" cy="18" r="2.1" fill="%23ffffff"/%3E%3C/g%3E%3C/svg%3E') !important;
}

@media (max-width: 781px) {
	.ait-process-flow {
		gap: 0.62rem !important;
	}

	.ait-process-step {
		width: 100% !important;
		max-width: 100% !important;
		min-height: 46px !important;
		padding: 0.68rem 1rem !important;

		gap: 0.48rem !important;
	}

	.ait-process-icon {
		flex-basis: 1.18em !important;
		width: 1.18em !important;
		min-width: 1.18em !important;
		height: 1.18em !important;
	}

	.ait-process-icon-refine {
		width: 1.18em !important;
		min-width: 1.18em !important;
		height: 1.18em !important;
	}

	.ait-process-label {
		white-space: nowrap !important;
	}
}

/* ================================
   AI Travel Tools — 404 Page
================================ */

body.error404 .ait-404-main {
	margin-top: 0 !important;
}

body.error404 .ait-404-wrap {
	background:
		radial-gradient(circle at top left, rgba(77, 208, 200, 0.12), transparent 28%),
		radial-gradient(circle at top right, rgba(126, 87, 194, 0.12), transparent 26%),
		linear-gradient(135deg, #f6fdff 0%, #f8fafc 45%, #f4f1ff 100%) !important;
	width: 100% !important;
	max-width: 100vw !important;
	padding: clamp(1.85rem, 5vw, 4.5rem) clamp(1rem, 3vw, 2rem) clamp(2.5rem, 6vw, 5rem);
	margin-top: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-sizing: border-box;
	overflow-x: clip;
}

body.error404 .ait-404-shell {
	width: 100% !important;
	max-width: 1280px;
	margin-inline: auto !important;
	box-sizing: border-box;
}

body.error404 .ait-404-card {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	align-items: stretch;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 32px;
	box-shadow: 0 26px 72px rgba(15, 23, 42, 0.11);
	padding: clamp(1rem, 3vw, 2.3rem);
	gap: clamp(1.5rem, 4vw, 3.2rem);
	margin: 0;
	backdrop-filter: blur(10px);
	min-height: clamp(36rem, 46vw, 47rem);
}

body.error404 .ait-404-card > .wp-block-column {
	margin-top: 0 !important;
}

body.error404 .ait-404-media,
body.error404 .ait-404-content {
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

body.error404 .ait-404-media {
	align-self: stretch;
}

body.error404 .ait-404-content {
	position: relative;
	isolation: isolate;
	align-items: flex-start;
	justify-content: flex-start;
	gap: clamp(1.25rem, 2.8vw, 2rem);
	padding-block: clamp(0.55rem, 1vw, 0.95rem);
	overflow: hidden;
}

body.error404 .ait-404-content::before {
	content: "";
	position: absolute;
	inset: 12% -8% 10% auto;
	width: clamp(14rem, 38vw, 26rem);
	height: clamp(16rem, 42vw, 28rem);
	background:
		radial-gradient(circle at 35% 35%, rgba(77, 208, 200, 0.14), transparent 48%),
		radial-gradient(circle at 72% 62%, rgba(126, 87, 194, 0.1), transparent 52%);
	filter: blur(12px);
	pointer-events: none;
	z-index: 0;
}

body.error404 .ait-404-quote-wrap,
body.error404 .ait-404-content-block,
body.error404 .ait-404-category-links-wrap {
	position: relative;
	z-index: 1;
	width: 100%;
}

body.error404 .ait-404-quote-wrap {
	padding-top: clamp(1.25rem, 4.4vw, 3.25rem);
}

body.error404 .ait-404-content-block {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: 34.5rem;
	margin: 0 auto;
}

body.error404 .ait-404-category-links-wrap {
	margin-top: auto;
}

body.error404 .ait-404-image {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 100%;
	aspect-ratio: auto;
	object-fit: cover;
	border-radius: 28px;
	box-shadow: 0 18px 45px rgba(15, 23, 42, 0.13);
	background: linear-gradient(135deg, #e7f7f8 0%, #eef2ff 100%);
}

body.error404 .ait-404-title {
	margin: 0 0 0.9rem;
	color: #07142f;
	font-size: clamp(1.9rem, 2.4vw, 2.6rem);
	line-height: 1.06;
	letter-spacing: -0.04em;
	font-weight: 700;
}

body.error404 .ait-404-body {
	margin: 0 0 1rem;
	max-width: 34rem;
	color: #4d607a;
	font-size: 1.03rem;
	line-height: 1.7;
}

body.error404 .ait-404-quote {
	margin: 0;
	color: #12314e;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.8rem, 2.4vw, 3rem);
	line-height: 1.08;
	font-style: italic;
	font-weight: 500;
	letter-spacing: 0.01em;
	max-width: 15ch;
}

body.error404 .ait-404-search {
	width: 100%;
	margin: 0 0 1.1rem;
}

body.error404 .ait-404-search .wp-block-search__inside-wrapper {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

body.error404 .ait-404-search .wp-block-search__input {
	min-height: 58px;
	padding: 0 1.12rem;
	border-radius: 999px;
	border: 1px solid rgba(77, 208, 200, 0.45);
	background: rgba(255, 255, 255, 0.9);
	box-shadow:
		0 0 0 3px rgba(77, 208, 200, 0.08),
		0 12px 30px rgba(15, 23, 42, 0.04),
		inset 0 1px 0 rgba(255, 255, 255, 0.72);
	color: #07142f;
	font-size: 1rem;
}

body.error404 .ait-404-search .wp-block-search__input::placeholder {
	color: #7b8ea6;
}

body.error404 .ait-404-search .wp-block-search__input:focus,
body.error404 .ait-404-search .wp-block-search__input:focus-visible {
	outline: none;
	border-color: rgba(77, 208, 200, 0.8);
	box-shadow:
		0 0 0 4px rgba(77, 208, 200, 0.16),
		0 12px 30px rgba(15, 23, 42, 0.06),
		inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

body.error404 .ait-404-search .wp-block-search__button {
	min-height: 60px;
	padding: 0 2rem;
	border: 0 !important;
	border-radius: 999px !important;
	background: linear-gradient(135deg, #4dd0c8 0%, #b8d9ff 52%, #d9ccff 100%) !important;
	color: #0d2547 !important;
	font-size: 1.02rem;
	font-weight: 800;
	letter-spacing: 0.01em;
	box-shadow: 0 10px 22px rgba(77, 208, 200, 0.18);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.error404 .ait-404-search .wp-block-search__button:hover,
body.error404 .ait-404-search .wp-block-search__button:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 12px 24px rgba(77, 208, 200, 0.2);
}

body.error404 .ait-404-category-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	align-items: center;
}

body.error404 .ait-404-category-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 42px;
	padding: 0 1rem;
	border-radius: 999px;
	border: 1px solid rgba(148, 163, 184, 0.16);
	background: rgba(255, 255, 255, 0.8);
	color: #194969;
	font-size: 0.92rem;
	font-weight: 760;
	text-decoration: none;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

body.error404 .ait-404-category-link-primary {
	background: rgba(77, 208, 200, 0.12);
	color: #0f5862;
	border-color: rgba(77, 208, 200, 0.18);
}

body.error404 .ait-404-category-link:nth-child(2) {
	background: rgba(189, 244, 235, 0.56);
}

body.error404 .ait-404-category-link:nth-child(3) {
	background: rgba(191, 223, 255, 0.56);
}

body.error404 .ait-404-category-link:nth-child(4) {
	background: rgba(222, 212, 255, 0.56);
}

body.error404 .ait-404-category-link:hover,
body.error404 .ait-404-category-link:focus-visible {
	color: #0d7280;
	border-color: rgba(15, 143, 150, 0.28);
	background: rgba(255, 255, 255, 0.94);
}

@media (max-width: 920px) {
	body.error404 .ait-404-shell {
		width: 100% !important;
		max-width: none;
		margin-inline: auto;
		box-sizing: border-box;
	}

	body.error404 .ait-404-card {
		grid-template-columns: 1fr;
		gap: 1.3rem;
		min-height: 0;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	body.error404 .ait-404-content {
		order: 1;
		justify-content: flex-start;
		gap: 1rem;
		padding-block: 0;
		overflow: visible;
	}

	body.error404 .ait-404-media {
		order: 2;
	}

	body.error404 .ait-404-content-block {
		flex: 0 0 auto;
		max-width: none;
		margin-top: 0;
	}

	body.error404 .ait-404-category-links-wrap {
		margin-top: 0;
	}

	body.error404 .ait-404-image {
		height: auto;
		min-height: 0;
		aspect-ratio: 4 / 5;
		border-radius: 24px;
	}

	body.error404 .ait-404-search,
	body.error404 .ait-404-search form,
	body.error404 .ait-404-search .wp-block-search__inside-wrapper {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		box-sizing: border-box;
	}

	body.error404 .ait-404-search .wp-block-search__inside-wrapper {
		flex-direction: column;
		align-items: stretch;
	}

	body.error404 .ait-404-search .wp-block-search__input,
	body.error404 .ait-404-search .wp-block-search__button {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box;
	}

	body.error404 .ait-404-search .wp-block-search__button {
		margin: 0 !important;
		align-self: stretch;
		justify-content: center;
	}

	body.error404 .ait-404-category-links {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
		gap: 0.7rem;
	}

	body.error404 .ait-404-category-link {
		width: 100%;
		min-width: 0;
		min-height: 0;
		padding: 0.78rem 0.92rem;
		box-sizing: border-box;
		text-align: center;
		line-height: 1.2;
		white-space: normal;
	}
}

@media (max-width: 781px) {
	body.error404 .ait-404-wrap {
		padding: 1rem clamp(0.75rem, 4vw, 1rem) 2.2rem;
	}

	body.error404 .ait-404-shell {
		width: 100% !important;
		max-width: none;
		margin-inline: auto;
		box-sizing: border-box;
	}

	body.error404 .ait-404-card {
		grid-template-columns: 1fr;
		padding: clamp(0.95rem, 4.5vw, 1.3rem);
		gap: 1.15rem;
		border-radius: 26px;
		min-height: 0;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	body.error404 .ait-404-image {
		height: auto;
		min-height: 0;
		aspect-ratio: 4 / 5;
		border-radius: 22px;
	}

	body.error404 .ait-404-content {
		justify-content: flex-start;
		gap: 1rem;
		padding-block: 0;
		overflow: visible;
	}

	body.error404 .ait-404-content-block {
		flex: 0 0 auto;
		margin-top: 0;
		max-width: none;
	}

	body.error404 .ait-404-title {
		font-size: clamp(1.8rem, 8vw, 2.4rem);
		line-height: 1.08;
	}

	body.error404 .ait-404-body {
		max-width: none;
		font-size: 0.98rem;
	}

	body.error404 .ait-404-quote {
		font-size: clamp(1.55rem, 6.8vw, 2.15rem);
		line-height: 1.14;
		max-width: none;
	}

	body.error404 .ait-404-quote-wrap {
		padding-top: 0.15rem;
	}

	body.error404 .ait-404-search .wp-block-search__inside-wrapper {
		flex-direction: column;
		align-items: stretch;
		gap: 0.7rem;
	}

	body.error404 .ait-404-search .wp-block-search__button {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 460px) {
	body.error404 .ait-404-category-links {
		grid-template-columns: 1fr;
	}
}

/* ================================
   AI Travel Tools — Search Results
================================ */

body.search .ait-search-main {
	margin-top: 0 !important;
}

body.search .ait-search-wrap {
	background:
		radial-gradient(circle at top left, rgba(77, 208, 200, 0.12), transparent 28%),
		radial-gradient(circle at top right, rgba(126, 87, 194, 0.12), transparent 26%),
		linear-gradient(135deg, #f6fdff 0%, #f8fafc 45%, #f4f1ff 100%) !important;
	width: 100% !important;
	max-width: 100vw !important;
	padding: clamp(1.8rem, 4vw, 3.8rem) clamp(1rem, 3vw, 2rem) clamp(2.6rem, 5vw, 4.6rem);
	margin-top: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-sizing: border-box;
	overflow-x: clip;
}

body.search .ait-search-shell {
	width: 100% !important;
	max-width: 1360px;
	margin-inline: auto !important;
	box-sizing: border-box;
}

body.search .ait-search-header {
	margin-bottom: clamp(1.4rem, 3vw, 2.1rem);
	padding: clamp(1rem, 2.6vw, 1.45rem);
	border-radius: 30px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 22px 56px rgba(15, 23, 42, 0.08);
	backdrop-filter: blur(10px);
}

body.search .ait-search-header-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
	align-items: center;
	gap: 1.5rem;
}

body.search .ait-search-heading-group {
	display: grid;
	gap: 0.5rem;
	min-width: 0;
}

body.search .ait-search-title {
	margin: 0;
	color: #07142f;
	font-size: clamp(1.85rem, 2.45vw, 2.6rem);
	line-height: 1.08;
	letter-spacing: -0.03em;
	font-weight: 700;
}

body.search .ait-search-query-text {
	margin: 0;
	max-width: 42rem;
	color: #475569;
	font-size: clamp(1rem, 1.2vw, 1.18rem);
	line-height: 1.35;
	font-weight: 500;
	font-style: italic;
	letter-spacing: -0.01em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	word-break: break-word;
	overflow-wrap: anywhere;
}

body.search .ait-search-intro {
	margin: 0;
	max-width: 42rem;
	color: #4d607a;
	font-size: 0.98rem;
	line-height: 1.65;
}

body.search .ait-search-form {
	width: 100%;
	margin: 0;
}

body.search .ait-search-form form,
body.search .ait-search-form .wp-block-search__inside-wrapper {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

body.search .ait-search-form .wp-block-search__inside-wrapper {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

body.search .ait-search-form .wp-block-search__input {
	min-height: 58px;
	padding: 0 1.12rem;
	border-radius: 999px;
	border: 1px solid rgba(77, 208, 200, 0.42);
	background: rgba(255, 255, 255, 0.9);
	box-shadow:
		0 0 0 3px rgba(77, 208, 200, 0.08),
		0 12px 30px rgba(15, 23, 42, 0.04),
		inset 0 1px 0 rgba(255, 255, 255, 0.72);
	color: #07142f;
	font-size: 1rem;
	min-width: 0;
}

body.search .ait-search-form .wp-block-search__input::placeholder {
	color: #7b8ea6;
}

body.search .ait-search-form .wp-block-search__input:focus,
body.search .ait-search-form .wp-block-search__input:focus-visible {
	outline: none;
	border-color: rgba(77, 208, 200, 0.8);
	box-shadow:
		0 0 0 4px rgba(77, 208, 200, 0.16),
		0 12px 30px rgba(15, 23, 42, 0.06),
		inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

body.search .ait-search-form .wp-block-search__button {
	min-height: 58px;
	padding: 0 1.85rem;
	border: 0 !important;
	border-radius: 999px !important;
	background: linear-gradient(135deg, #4dd0c8 0%, #b8d9ff 52%, #d9ccff 100%) !important;
	color: #0d2547 !important;
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: 0.01em;
	box-shadow: 0 10px 22px rgba(77, 208, 200, 0.18);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.search .ait-search-form .wp-block-search__button:hover,
body.search .ait-search-form .wp-block-search__button:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 12px 24px rgba(77, 208, 200, 0.2);
}

body.search .ait-search-query {
	width: 100%;
	max-width: none !important;
}

body.search .ait-search-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 1.35rem !important;
	list-style: none;
	padding: 0;
	margin: 0;
}

body.search .ait-search-grid > * {
	min-width: 0;
}

body.search .ait-search-card {
	min-width: 0;
}

body.search .ait-search-card-content {
	min-width: 0;
}

body.search .ait-search-card-title {
	font-size: clamp(1.14rem, 1.22vw, 1.3rem) !important;
	line-height: 1.15 !important;
}

body.search .ait-search-card-excerpt {
	font-size: 0.91rem !important;
}

body.search .ait-search-card-meta {
	font-size: 0.76rem !important;
}

body.search .ait-search-pagination {
	margin-top: var(--wp--preset--spacing--60) !important;
}

body.search .ait-search-empty {
	margin-top: 1.2rem;
	padding: clamp(1.15rem, 3vw, 1.8rem);
	border-radius: 26px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
	text-align: center;
}

body.search .ait-search-empty-title {
	margin: 0 0 0.6rem;
	color: #07142f;
	font-size: clamp(1.4rem, 2.2vw, 1.8rem);
	line-height: 1.12;
}

body.search .ait-search-empty-body {
	margin: 0;
	color: #64748b;
	font-size: 0.96rem;
	line-height: 1.65;
}

body.search .ait-search-empty-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.7rem;
	margin-top: 1rem;
}

body.search .ait-search-empty-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 1rem;
	border-radius: 999px;
	border: 1px solid rgba(148, 163, 184, 0.16);
	background: rgba(255, 255, 255, 0.8);
	color: #194969;
	font-size: 0.92rem;
	font-weight: 760;
	text-decoration: none;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

body.search .ait-search-empty-link-primary {
	background: rgba(77, 208, 200, 0.12);
	color: #0f5862;
	border-color: rgba(77, 208, 200, 0.18);
}

body.search .ait-search-empty-link:nth-child(2) {
	background: rgba(189, 244, 235, 0.56);
}

body.search .ait-search-empty-link:nth-child(3) {
	background: rgba(191, 223, 255, 0.56);
}

body.search .ait-search-empty-link:nth-child(4) {
	background: rgba(222, 212, 255, 0.56);
}

body.search .ait-search-empty-link:hover,
body.search .ait-search-empty-link:focus-visible {
	color: #0d7280;
	border-color: rgba(15, 143, 150, 0.28);
	background: rgba(255, 255, 255, 0.94);
}

@media (min-width: 782px) and (max-width: 1100px) {
	body.search .ait-search-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 781px) {
	body.search .ait-search-wrap {
		padding: 1rem clamp(0.75rem, 4vw, 1rem) 2.2rem;
	}

	body.search .ait-search-shell {
		width: 100% !important;
		max-width: none;
		margin-inline: auto;
		box-sizing: border-box;
	}

	body.search .ait-search-header {
		padding: clamp(0.95rem, 4.5vw, 1.25rem);
		border-radius: 24px;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	body.search .ait-search-header-inner {
		grid-template-columns: 1fr;
		gap: 1rem;
		justify-items: stretch;
	}

	body.search .ait-search-heading-group {
		gap: 0.45rem;
	}

	body.search .ait-search-title {
		font-size: clamp(1.7rem, 7.2vw, 2.15rem);
		line-height: 1.1;
	}

	body.search .ait-search-query-text {
		font-size: clamp(0.96rem, 4.2vw, 1.06rem);
		line-height: 1.38;
	}

	body.search .ait-search-form .wp-block-search__inside-wrapper {
		flex-direction: column;
		align-items: stretch;
		gap: 0.7rem;
	}

	body.search .ait-search-form .wp-block-search__button {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		justify-content: center;
		margin: 0 !important;
	}

	body.search .ait-search-grid {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 1rem !important;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	body.search .ait-search-empty-links {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
		gap: 0.75rem;
	}

body.search .ait-search-empty-link {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		box-sizing: border-box;
		text-align: center;
		line-height: 1.2;
		white-space: normal;
	}

	body.search .ait-search-card,
	body.search .ait-search-empty {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
}

@media (max-width: 460px) {
	body.search .ait-search-empty-links {
		grid-template-columns: 1fr;
	}
}

/* ================================
   AI Travel Tools — Standard Pages
================================ */

body.page .ait-page-main {
	margin-top: 0 !important;
}

body.page .ait-page-wrap {
	background:
		radial-gradient(circle at top left, rgba(77, 208, 200, 0.12), transparent 28%),
		radial-gradient(circle at top right, rgba(126, 87, 194, 0.12), transparent 26%),
		linear-gradient(135deg, #f6fdff 0%, #f8fafc 45%, #f4f1ff 100%) !important;
	width: 100% !important;
	max-width: 100vw !important;
	padding: clamp(1.9rem, 4vw, 4rem) clamp(1rem, 3vw, 2rem) clamp(2.6rem, 5vw, 4.6rem);
	margin-top: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-sizing: border-box;
	overflow-x: clip;
}

body.page .ait-page-shell {
	width: 100% !important;
	max-width: 1160px;
	margin-inline: auto !important;
	box-sizing: border-box;
}

body.page .ait-page-card {
	display: grid;
	gap: 1.15rem;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 32px;
	box-shadow: 0 24px 64px rgba(15, 23, 42, 0.08);
	padding: clamp(1.35rem, 3vw, 2.6rem);
	backdrop-filter: blur(10px);
}

body.page .ait-page-title,
body.page .wp-block-post-title.ait-page-title {
	width: 100% !important;
	max-width: none !important;
	margin: 0 0 0.2rem !important;
	color: #07142f;
	font-size: clamp(2rem, 3vw, 3.15rem);
	line-height: 1.05;
	letter-spacing: -0.016em;
}

body.home .ait-page-title.wp-block-post-title {
	text-align: center;
	margin-inline: auto;
}

body.page .ait-page-content,
body.page .wp-block-post-content.ait-page-content {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	color: #334155;
	box-sizing: border-box;
}

body.page .ait-page-content > * {
	width: 100%;
	max-width: 100% !important;
}

body.page .ait-page-content > p,
body.page .ait-page-content > ul,
body.page .ait-page-content > ol,
body.page .ait-page-content > blockquote,
body.page .ait-page-content > pre,
body.page .ait-page-content > h2,
body.page .ait-page-content > h3,
body.page .ait-page-content > h4,
body.page .ait-page-content > h5,
body.page .ait-page-content > h6,
body.page .ait-page-content > .wp-block-heading,
body.page .ait-page-content > .wp-block-list,
body.page .ait-page-content > .wp-block-quote,
body.page .ait-page-content > .wp-block-pullquote,
body.page .ait-page-content > .wp-block-preformatted,
body.page .ait-page-content > .wp-block-code,
body.page .ait-page-content > .wp-block-table,
body.page .ait-page-content > .wp-block-image,
body.page .ait-page-content > figure:not(.wp-block-gallery):not(.blocks-gallery-grid) {
	width: min(100%, 760px) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

body.page .ait-page-content > .wp-block-gallery,
body.page .ait-page-content > .wp-block-columns,
body.page .ait-page-content > .wp-block-media-text,
body.page .ait-page-content > .wp-block-cover,
body.page .ait-page-content > .alignwide {
	width: min(100%, 980px) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

body.page .ait-page-content > .alignfull {
	width: 100% !important;
	max-width: 100% !important;
}

body.page .ait-page-content p,
body.page .ait-page-content li {
	font-size: 1rem;
	line-height: 1.72;
}

body.page .ait-page-content h2 {
	font-size: clamp(1.55rem, 2.15vw, 2rem);
	line-height: 1.12;
	letter-spacing: -0.03em;
}

body.page .ait-page-content h3 {
	font-size: clamp(1.24rem, 1.55vw, 1.48rem);
	line-height: 1.16;
	letter-spacing: -0.02em;
}

body.page .ait-page-content img {
	display: block;
	max-width: 100%;
	height: auto;
}

body.page .ait-page-content figcaption,
body.page .ait-page-content .wp-element-caption {
	margin-top: 0.55rem !important;
	font-size: 0.79rem;
	line-height: 1.45;
	color: #64748b;
}

body.page .ait-page-content .wp-block-table {
	display: block;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

@media (max-width: 781px) {
	body.page .ait-page-wrap {
		padding: 1rem clamp(0.75rem, 4vw, 1rem) 2.2rem;
	}

	body.page .ait-page-shell {
		width: 100% !important;
		max-width: none;
		margin-inline: auto;
		box-sizing: border-box;
	}

	body.page .ait-page-card {
		padding: clamp(1rem, 4.5vw, 1.35rem);
		border-radius: 26px;
		gap: 0.95rem;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	body.page .ait-page-title,
	body.page .wp-block-post-title.ait-page-title {
		font-size: clamp(1.8rem, 8vw, 2.35rem);
		line-height: 1.08;
		letter-spacing: -0.01em;
	}

	body.page .ait-page-content > p,
	body.page .ait-page-content > ul,
	body.page .ait-page-content > ol,
	body.page .ait-page-content > blockquote,
	body.page .ait-page-content > pre,
	body.page .ait-page-content > h2,
	body.page .ait-page-content > h3,
	body.page .ait-page-content > h4,
	body.page .ait-page-content > h5,
	body.page .ait-page-content > h6,
	body.page .ait-page-content > .wp-block-heading,
	body.page .ait-page-content > .wp-block-list,
	body.page .ait-page-content > .wp-block-quote,
	body.page .ait-page-content > .wp-block-pullquote,
	body.page .ait-page-content > .wp-block-preformatted,
	body.page .ait-page-content > .wp-block-code,
	body.page .ait-page-content > .wp-block-table,
	body.page .ait-page-content > .wp-block-image,
	body.page .ait-page-content > figure:not(.wp-block-gallery):not(.blocks-gallery-grid),
	body.page .ait-page-content > .wp-block-gallery,
	body.page .ait-page-content > .wp-block-columns,
	body.page .ait-page-content > .wp-block-media-text,
	body.page .ait-page-content > .wp-block-cover,
	body.page .ait-page-content > .alignwide {
		width: 100% !important;
		max-width: 100% !important;
	}
}
/* =========================================
   AI Travel Tools — Single Post Hero + More Posts Final Stabilization
========================================= */

@media (min-width: 782px) {
	body.single-post .ait-article-hero-wrap {
		padding-inline: clamp(1rem, 3vw, 2rem) !important;
	}

	body.single-post .ait-article-hero-card {
		display: grid !important;
		grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr) !important;
		width: min(100%, 1360px) !important;
		max-width: 1360px !important;
		margin-inline: auto !important;
		align-items: center !important;
		gap: clamp(1.75rem, 3vw, 2.6rem) !important;
		box-sizing: border-box !important;
	}

	body.single-post .ait-article-hero-card > * {
		min-width: 0 !important;
	}

	body.single-post .ait-article-hero-image-wrap {
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		justify-self: stretch !important;
		align-self: center !important;
	}

	body.single-post .ait-article-hero-image-wrap .wp-block-post-featured-image {
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		height: 100% !important;
	}

	body.single-post .ait-article-hero-image-wrap .wp-block-post-featured-image a,
	body.single-post .ait-article-hero-image-wrap img {
		width: 100% !important;
		height: 100% !important;
		aspect-ratio: 1 / 1 !important;
		object-fit: cover !important;
	}

	body.single-post .ait-article-hero-content {
		width: 100% !important;
		max-width: 720px !important;
		min-width: 0 !important;
		justify-self: start !important;
		align-self: center !important;
		margin: 0 !important;
	}

	body.single-post .ait-process-flow {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.42fr) !important;
		align-items: center !important;
		gap: 0.75rem !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 1rem 0 0.72rem !important;
	}

	body.single-post .ait-process-flow .ait-process-step {
		width: 100% !important;
		max-width: none !important;
		min-width: 0 !important;
		justify-content: center !important;
	}

	body.single-post .ait-process-flow .ait-process-arrow {
		flex: 0 0 auto !important;
		margin: 0 !important;
	}

	body.single-post .ait-tested-badge {
		width: 100% !important;
		max-width: 100% !important;
	}
}

body.single-post .ait-more-posts-wrap {
	box-sizing: border-box !important;
	overflow-x: clip !important;
	padding: clamp(4rem, 7vw, 6.25rem) clamp(1rem, 3vw, 2rem) !important;
}

body.single-post .ait-more-posts-head,
body.single-post .ait-more-posts-query {
	width: 100% !important;
	max-width: 1360px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box !important;
}

body.single-post .ait-more-posts-grid,
body.single-post .ait-more-posts-query .ait-more-posts-grid,
body.single-post .ait-more-posts-query .wp-block-post-template {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: clamp(1.2rem, 1.7vw, 1.6rem) !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 auto !important;
	padding: 0 !important;
	list-style: none !important;
	box-sizing: border-box !important;
}

body.single-post .ait-more-posts-grid > li,
body.single-post .ait-more-posts-query .wp-block-post-template > li {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}

body.single-post .ait-more-post-card {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
}

@media (max-width: 1200px) {
	body.single-post .ait-more-posts-grid,
	body.single-post .ait-more-posts-query .ait-more-posts-grid,
	body.single-post .ait-more-posts-query .wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 781px) {
	body.single-post .ait-more-posts-wrap {
		padding: 3rem 1rem !important;
	}

	body.single-post .ait-more-posts-grid,
	body.single-post .ait-more-posts-query .ait-more-posts-grid,
	body.single-post .ait-more-posts-query .wp-block-post-template {
		grid-template-columns: 1fr !important;
		gap: 1rem !important;
	}
}
.single-post .entry-content .ait-related-heading,
.single-post .wp-block-post-content .ait-related-heading {
  margin-top: 2.4rem;
  margin-bottom: 0.65rem;
  font-size: 1.9rem;
  line-height: 1.125;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #111827;
}