:root {
	--navy: var(--wp--preset--color--navy, #0E2A47);
	--navy-dark: var(--wp--preset--color--navy-dark, #081A2E);
	--gold: var(--wp--preset--color--gold, #C9972C);
	--gold-light: var(--wp--preset--color--gold-light, #E3B35C);
	--orange: var(--wp--preset--color--orange, #F4791F);
	--cream: var(--wp--preset--color--cream, #FAF6EE);
	--text: var(--wp--preset--color--text, #1A1A1A);
	--text-muted: var(--wp--preset--color--text-muted, #6B7280);
	--font-heading: 'Poppins', sans-serif;
	--font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--cream);
	color: var(--text);
	font-family: var(--font-body);
	line-height: 1.6;
}

h1, h2, h3, h4 {
	font-family: var(--font-heading);
	color: var(--navy);
	margin: 0 0 .5em;
}

a { color: var(--navy); }

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Header */
.site-header {
	background: var(--navy);
	color: #fff;
	padding: 16px 0;
}
.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.site-header .site-title,
.site-header .site-title a {
	color: #fff;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.4rem;
	text-decoration: none;
}
.primary-menu {
	list-style: none;
	display: flex;
	gap: 28px;
	margin: 0;
	padding: 0;
}
.primary-menu a {
	color: #fff;
	text-decoration: none;
	font-size: .95rem;
}
.primary-menu a:hover { color: var(--gold-light); }

/* Hero */
.hero {
	position: relative;
	background:
		radial-gradient(ellipse 900px 500px at 50% -10%, rgba(227,179,92,.35) 0%, rgba(227,179,92,0) 60%),
		linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
	color: #fff;
	padding: 120px 0 140px;
	text-align: center;
	overflow: hidden;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1.5px);
	background-size: 28px 28px;
	opacity: .5;
	pointer-events: none;
}
.hero::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -1px;
	height: 80px;
	background: var(--cream);
	clip-path: polygon(0 100%, 100% 100%, 100% 40%, 75% 90%, 50% 45%, 25% 90%, 0 40%);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
	color: #fff;
	font-size: clamp(2rem, 4vw, 3rem);
	max-width: 820px;
	margin: 0 auto 16px;
}
.hero .subheading {
	color: var(--gold-light);
	text-transform: uppercase;
	letter-spacing: .08em;
	font-size: .9rem;
	margin-bottom: 20px;
}
.btn {
	display: inline-block;
	background: linear-gradient(135deg, var(--gold-light), var(--gold));
	color: var(--navy-dark);
	font-weight: 600;
	padding: 14px 32px;
	border-radius: 999px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	box-shadow: 0 10px 24px -8px rgba(201,151,44,.6);
	transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover {
	background: linear-gradient(135deg, var(--gold), var(--gold-light));
	transform: translateY(-2px);
	box-shadow: 0 14px 28px -8px rgba(201,151,44,.7);
}

/* Feature grid */
.feature-grid {
	padding: 48px 0 80px;
	background: var(--cream);
	position: relative;
	margin-top: -1px;
}
.feature-grid .grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
}
.feature-grid .card {
	text-align: center;
	background: #fff;
	border-radius: 16px;
	padding: 32px 20px;
	box-shadow: 0 8px 24px -12px rgba(14,42,71,.18);
	transition: transform .18s ease, box-shadow .18s ease;
}
.feature-grid .card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 32px -14px rgba(14,42,71,.28);
}
.feature-grid .card .icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--gold-light), var(--gold));
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 18px -6px rgba(201,151,44,.55);
}
.feature-grid .card .icon svg {
	width: 28px;
	height: 28px;
	stroke: var(--navy-dark);
}
.feature-grid .card h3 {
	font-size: 1.05rem;
}
.feature-grid .card p {
	color: var(--text-muted);
	font-size: .92rem;
	margin: 0;
}

@media (max-width: 880px) {
	.feature-grid .grid { grid-template-columns: repeat(2, 1fr); }
	.primary-menu { display: none; }
}

/* Destination single */
.destination-hero {
	background:
		radial-gradient(ellipse 700px 300px at 50% -20%, rgba(227,179,92,.3) 0%, rgba(227,179,92,0) 65%),
		linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
	color: #fff;
	padding: 72px 0;
	text-align: center;
	position: relative;
}
.destination-hero::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -1px;
	height: 36px;
	background: var(--cream);
	clip-path: polygon(0 100%, 100% 100%, 100% 55%, 50% 100%, 0 55%);
}
.destination-hero h1 { color: #fff; }
.destination-hero .subheading {
	color: var(--gold-light);
	text-transform: uppercase;
	letter-spacing: .08em;
	font-size: .9rem;
}
.destination-section { padding: 48px 0; }
.destination-section h2 {
	border-left: 4px solid var(--gold);
	padding-left: 12px;
}
.destination-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 12px;
}
.destination-gallery img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	border-radius: 8px;
}
/* Destination/country/tour card (dùng ở trang chủ, Destinations, taxonomy country) */
.dest-card {
	display: block;
	text-decoration: none;
	color: var(--text);
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 8px 20px -12px rgba(14,42,71,.2);
	transition: transform .18s ease, box-shadow .18s ease;
}
.dest-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 16px 28px -12px rgba(14,42,71,.3);
}
.dest-card .thumb {
	height: 170px;
	width: 100%;
	object-fit: cover;
	display: block;
	background: linear-gradient(135deg, var(--navy) 0%, var(--gold) 150%);
}
.dest-card .thumb-placeholder {
	height: 170px;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 60%, var(--gold) 150%);
}
.dest-card .thumb-placeholder svg {
	width: 36px;
	height: 36px;
	stroke: var(--gold-light);
	opacity: .9;
}
.dest-card .dest-card-body {
	padding: 16px 18px;
}
.dest-card .dest-card-body h3,
.dest-card .dest-card-body h4 {
	margin: 0;
	font-size: 1.05rem;
}
.dest-card .dest-card-body .tag {
	display: inline-block;
	margin-top: 6px;
	font-size: .75rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--gold);
	font-weight: 600;
}
.destination-gallery.cards {
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.history-item, .highlight-item {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e5decf;
}
.history-item h4, .highlight-item h4 {
	color: var(--navy);
	margin-bottom: 4px;
}

/* Search widget (trong hero) */
.search-widget {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	background: #fff;
	border-radius: 16px;
	padding: 20px;
	margin: 40px auto 0;
	max-width: 920px;
	box-shadow: 0 20px 40px -16px rgba(0,0,0,.35);
	text-align: left;
}
.search-widget .field {
	flex: 1 1 160px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.search-widget label {
	font-size: .72rem;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--text-muted);
	font-weight: 600;
}
.search-widget select,
.search-widget input {
	border: 1px solid #e5decf;
	border-radius: 8px;
	padding: 10px;
	font-family: var(--font-body);
	font-size: .9rem;
	color: var(--text);
	background: #fff;
}
.search-widget input:disabled { background: #f5f2ec; color: var(--text-muted); cursor: not-allowed; }
.search-widget .soon {
	text-transform: none;
	font-weight: 400;
	color: var(--gold);
	font-size: .68rem;
	letter-spacing: 0;
}
.search-widget .btn {
	align-self: flex-end;
	box-shadow: none;
	padding: 10px 28px;
}

/* Stat counter */
.stat-counter {
	background: var(--navy-dark);
	padding: 56px 0;
}
.stat-counter .grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	text-align: center;
}
.stat-counter .number {
	font-family: var(--font-heading);
	font-size: 2.4rem;
	font-weight: 700;
	background: linear-gradient(135deg, var(--gold-light), var(--gold));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.stat-counter .label {
	color: #cbd5e1;
	font-size: .85rem;
	text-transform: uppercase;
	letter-spacing: .05em;
	margin-top: 4px;
}

/* Testimonials */
.testimonials { padding: 72px 0; }
.testimonials h2 { text-align: center; margin-bottom: 32px; }
.testimonial-track {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 8px;
}
.testimonial-card {
	scroll-snap-align: start;
	flex: 0 0 320px;
	background: #fff;
	border-radius: 14px;
	padding: 28px;
	box-shadow: 0 8px 24px -14px rgba(14,42,71,.2);
}
.testimonial-card .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-card .quote { color: var(--text); font-style: italic; min-height: 80px; }
.testimonial-card .author { font-weight: 600; color: var(--navy); margin: 0; }
.testimonial-card .author span { font-weight: 400; color: var(--text-muted); }

/* Instagram-style gallery */
.ig-gallery { padding: 0 0 80px; }
.ig-gallery h2 { text-align: center; margin-bottom: 32px; }
.ig-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
}
.ig-tile { aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; }
.ig-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--navy) 0%, var(--gold) 180%);
	opacity: .85;
}

@media (max-width: 880px) {
	.stat-counter .grid { grid-template-columns: repeat(2, 1fr); }
	.ig-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Article card (blog listing) */
.article-card {
	display: flex;
	flex-direction: column;
	height: 420px;
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	text-decoration: none;
	color: var(--text);
	box-shadow: 0 8px 20px -12px rgba(14,42,71,.2);
	transition: transform .18s ease, box-shadow .18s ease;
}
.article-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 16px 28px -12px rgba(14,42,71,.3);
}
.article-card .thumb,
.article-card .thumb-placeholder {
	height: 170px;
	flex-shrink: 0;
	width: 100%;
	object-fit: cover;
}
.article-card .thumb-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 60%, var(--gold) 150%);
}
.article-card .thumb-placeholder svg {
	width: 32px;
	height: 32px;
	stroke: var(--gold-light);
	opacity: .9;
}
.article-card .article-body {
	padding: 16px 18px;
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
}
.article-card .meta {
	color: var(--text-muted);
	font-size: .8rem;
	margin: 0 0 8px;
}
.article-card h3 {
	margin: 0 0 8px;
	font-size: 1.05rem;
	color: var(--navy);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.article-card .excerpt {
	color: var(--text-muted);
	font-size: .92rem;
	flex: 1;
	min-height: 0;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	margin: 0;
}
.article-card .read-more {
	margin-top: 12px;
	color: var(--gold);
	font-weight: 600;
	font-size: .9rem;
}

/* Footer */
.site-footer {
	background: var(--navy-dark);
	color: #cbd5e1;
	padding: 56px 0 24px;
	margin-top: 64px;
}
.site-footer .footer-cols {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin-bottom: 32px;
}
.site-footer h4 {
	color: var(--gold-light);
	font-size: 1rem;
}
.site-footer a { color: #cbd5e1; }
.site-footer .footer-bottom {
	border-top: 1px solid rgba(255,255,255,.1);
	padding-top: 16px;
	font-size: .85rem;
	text-align: center;
	color: var(--text-muted);
}
