/* WordPress integration and production theme refinements. */
body.admin-bar .site-header {
	top: 32px;
}

.moly-brand::before {
	display: none !important;
}

a.moly-brand > img {
	display: block;
	width: 210px;
	height: 66px;
	object-fit: cover;
}

.main-nav-list {
	display: flex;
	gap: 14px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav-list a {
	display: block;
	padding: 8px 4px;
	white-space: nowrap;
}

.home-search input,
.wp-tour-filter input {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid var(--line);
	border-radius: 8px;
	color: var(--ink);
	background: #fff;
}

.destination-card {
	position: relative;
}

.scenario-grid a {
	display: grid;
	gap: 6px;
	min-height: 160px;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(22, 44, 76, 0.06);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.scenario-grid a:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
}

.scenario-grid a span {
	font-size: 30px;
}

.scenario-grid a b {
	color: var(--navy-2);
	font-size: 17px;
}

.scenario-grid a small {
	color: var(--muted);
}

.empty-tours {
	grid-column: 1 / -1;
	max-width: 760px;
	margin: 0 auto;
	padding: clamp(28px, 5vw, 54px);
	border: 1px dashed #a9dadd;
	border-radius: 18px;
	text-align: center;
	background: #fff;
}

.empty-tours h1,
.empty-tours h2,
.empty-tours h3 {
	color: var(--navy-2);
}

.legal-copy {
	color: #b7f5f1 !important;
	font-size: 12px !important;
}

.archive-heading,
.content-header {
	max-width: 820px;
	margin: 0 auto clamp(28px, 5vw, 48px);
	text-align: center;
}

.archive-heading h1,
.content-header h1 {
	margin: 6px 0 10px;
	color: var(--navy-2);
	font-size: clamp(34px, 5vw, 58px);
	line-height: 1.15;
}

.archive-heading p:not(.eyebrow),
.content-header p:not(.eyebrow) {
	color: var(--muted);
}

.wp-tour-filter {
	max-width: 1240px;
	margin-right: auto;
	margin-left: auto;
}

.wp-tour-filter label span {
	display: block;
	margin-bottom: 5px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 700;
}

.archive-tour-grid {
	max-width: 1440px;
	margin: 0 auto;
}

.navigation.pagination {
	margin-top: 34px;
	text-align: center;
}

.nav-links {
	display: flex;
	gap: 8px;
	justify-content: center;
}

.page-numbers {
	padding: 8px 12px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fff;
}

.page-numbers.current {
	color: #fff;
	background: var(--navy);
}

.tour-single {
	padding-bottom: clamp(56px, 8vw, 100px);
	background: linear-gradient(180deg, var(--soft) 0, #fff 46%);
}

.tour-single-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
	gap: clamp(28px, 5vw, 70px);
	align-items: center;
	max-width: 1440px;
	margin: 0 auto;
	padding: clamp(34px, 6vw, 76px) clamp(18px, 5vw, 70px);
}

.tour-single-image {
	overflow: hidden;
	border-radius: 20px;
	box-shadow: var(--shadow);
}

.tour-single-image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.tour-single-summary h1 {
	margin: 8px 0 12px;
	color: var(--navy-2);
	font-size: clamp(34px, 4.6vw, 62px);
	line-height: 1.12;
}

.tour-lead {
	color: var(--muted);
	font-size: 17px;
}

.tour-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 24px 0;
}

.tour-facts div {
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
}

.tour-facts small,
.tour-facts strong {
	display: block;
}

.tour-facts small {
	color: var(--muted);
}

.tour-booking-box {
	display: flex;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	padding: 18px;
	border: 1px solid #ffd9cf;
	border-radius: 14px;
	background: #fff9f7;
}

.tour-booking-box small {
	display: block;
	color: var(--muted);
}

.tour-single-content {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
	gap: 28px;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 clamp(18px, 5vw, 70px);
}

.tour-main-content,
.tour-side-panel,
.content-page {
	padding: clamp(24px, 4vw, 42px);
	border: 1px solid var(--line);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 14px 36px rgba(0, 124, 136, 0.08);
}

.tour-main-content h2,
.tour-side-panel h2,
.entry-content h2 {
	color: var(--navy-2);
}

.tour-side-panel {
	align-self: start;
	position: sticky;
	top: 116px;
}

.tour-side-panel .btn {
	width: 100%;
	margin: 14px 0;
}

.content-page {
	max-width: 980px;
	margin: 0 auto;
}

.content-page .content-header {
	margin-top: 0;
}

.entry-content {
	font-size: 17px;
}

.entry-content img,
.article-hero img {
	height: auto;
	border-radius: 14px;
}

.article-single {
	max-width: 900px;
}

.article-grid article h2 {
	font-size: 22px;
}

.contact-editor-content {
	grid-template-columns: 1fr;
}

@media (max-width: 1160px) {
	.site-header.menu-open .main-nav-list {
		flex-wrap: wrap;
		justify-content: flex-start;
	}
}

@media (max-width: 820px) {
	body.admin-bar .site-header {
		top: 46px;
	}

	.tour-single-hero,
	.tour-single-content {
		grid-template-columns: 1fr;
	}

	.tour-side-panel {
		position: static;
	}

	.tour-booking-box {
		align-items: stretch;
		flex-direction: column;
	}
}

@media (max-width: 560px) {
	a.moly-brand > img {
		width: 158px;
		height: 50px;
	}

	.tour-facts {
		grid-template-columns: 1fr;
	}
}

