/* Marrakech Holiday Booking: tour finder ([mh_tour_finder]). Dark band by default (Hellenium palette). */
.mh-finder {
	--f-bg: rgba(250,240,228,0.03); --f-line: rgba(250,240,228,0.14); --f-line2: rgba(250,240,228,0.26); --f-ink: #FAF0E4;
	--f-muted: rgba(232,220,206,0.72); --f-accent: #E8DCCE; --f-card: #36322A; --f-forest: #4C5246; --f-sage: #687062;
	--f-serif: 'Cormorant Garamond', Georgia, serif; --f-sans: 'Jost', system-ui, sans-serif;
	font-family: var(--f-sans); color: var(--f-ink); max-width: 1000px; margin: 0 auto; background: var(--f-bg);
	border: 1px solid var(--f-line); border-radius: 16px; padding: 30px 34px 26px; box-sizing: border-box;
}
.mh-finder--light { --f-bg: #FFFDF9; --f-line: #E6DCD0; --f-line2: #ACA696; --f-ink: #2E2A1E; --f-muted: #706758; --f-accent: #4C5246; --f-card: #FAF0E4; }
.mh-finder *, .mh-finder *::before { box-sizing: border-box; }
.mh-finder [hidden] { display: none !important; }
.mh-finder__progress { display: flex; align-items: center; gap: 16px; font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--f-muted); }
.mh-finder__bar { flex: 1; height: 3px; border-radius: 3px; background: var(--f-line); overflow: hidden; }
.mh-finder__bar i { display: block; height: 100%; background: var(--f-accent); transition: width .3s; }
.mh-finder__q { font-family: var(--f-serif); font-weight: 600; font-size: 28px; line-height: 1.2; margin: 18px 0 18px; color: var(--f-ink); outline: none; }
.mh-finder__opts { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.mh-finder__opts--4 { grid-template-columns: repeat(4, 1fr); }
.mh-finder__opt { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 15px;
	border: 1px solid var(--f-line); border-radius: 12px; background: rgba(250,240,228,0.02); color: var(--f-ink); font-family: var(--f-sans);
	transition: border-color .2s, background .2s; min-height: 92px; }
.mh-finder--light .mh-finder__opt { background: #FAF0E4; }
.mh-finder__opt:hover, .mh-finder__opt.is-on { border-color: var(--f-accent); background: rgba(250,240,228,0.07); }
.mh-finder--light .mh-finder__opt:hover, .mh-finder--light .mh-finder__opt.is-on { background: #F4ECDC; }
.mh-finder__opt:focus-visible { outline: 2px solid var(--f-accent); outline-offset: 2px; }
.mh-finder__num { font-family: var(--f-serif); font-size: 20px; font-weight: 600; color: var(--f-accent); line-height: 1; margin-bottom: 8px; }
.mh-finder__opt strong { font-size: 15px; font-weight: 600; line-height: 1.3; }
.mh-finder__opt small { font-size: 12.5px; line-height: 1.45; color: var(--f-muted); }
.mh-finder__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; font-size: 14px; }
.mh-finder__back, .mh-finder__again { all: unset; cursor: pointer; color: var(--f-muted); font-family: var(--f-sans); font-size: 14px; }
.mh-finder__back::before { content: '\2190\00a0'; }
.mh-finder__again::before { content: '\21BA\00a0'; }
.mh-finder__back:hover, .mh-finder__again:hover, .mh-finder__all:hover { color: var(--f-ink); }
.mh-finder__all { color: var(--f-muted); text-decoration: underline; text-underline-offset: 3px; }
.mh-finder__rhead { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 4px; border-top: 3px solid var(--f-line2); }
.mh-finder__rhead .mh-finder__q { margin: 18px 0; }
.mh-finder__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.mh-finder__chips span { font-size: 12px; padding: 6px 12px; border-radius: 20px; background: rgba(250,240,228,0.08); color: var(--f-muted); }
.mh-finder--light .mh-finder__chips span { background: #F4ECDC; }
.mh-finder__note { font-size: 13.5px; color: var(--f-muted); margin: -6px 0 16px; }
.mh-finder__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mh-fcard { background: var(--f-card); border: 1px solid var(--f-line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.mh-fcard__img { position: relative; display: block; aspect-ratio: 16 / 10; background: #4C5246 center / cover no-repeat; }
.mh-fcard__pill, .mh-fcard__best { position: absolute; font-size: 10.5px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; border-radius: 20px; padding: 5px 10px; }
.mh-fcard__pill { top: 12px; left: 12px; background: #FAF0E4; color: #2E2A1E; }
.mh-fcard__best { bottom: 12px; left: 12px; background: var(--f-forest); color: #FAF0E4; }
.mh-fcard__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mh-fcard h4 { font-family: var(--f-serif); font-size: 20px; font-weight: 600; line-height: 1.2; margin: 0; }
.mh-fcard h4 a { color: var(--f-ink); text-decoration: none; }
.mh-fcard__route { font-size: 12.5px; color: var(--f-muted); margin: 0; }
.mh-fcard ul { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--f-muted); }
.mh-fcard li::before { content: '\2713\00a0'; color: var(--f-accent); }
.mh-fcard__price { margin: auto 0 0; padding-top: 10px; font-size: 13px; color: var(--f-muted); }
.mh-fcard__price strong { font-size: 18px; color: var(--f-ink); }
.mh-fcard__go { font-size: 13.5px; font-weight: 500; color: var(--f-ink); text-decoration: none; }
.mh-fcard__go:hover { text-decoration: underline; }
.mh-finder__foot { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--f-line); }
.mh-finder__foot p { margin: 0; font-size: 14px; color: var(--f-muted); max-width: 440px; }
.mh-finder__foot div { display: flex; align-items: center; gap: 20px; }
.mh-finder__plan { display: inline-block; padding: 11px 20px; border-radius: 8px; background: var(--f-sage); color: #FAF0E4; font-size: 14px; font-weight: 500; text-decoration: none; }
.mh-finder__plan:hover { background: var(--f-forest); color: #FAF0E4; }
@media (max-width: 1024px) {
	.mh-finder__opts--4 { grid-template-columns: repeat(2, 1fr); }
	.mh-finder__cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
	.mh-finder { padding: 22px 18px 20px; border-radius: 14px; }
	.mh-finder__q { font-size: 24px; }
	.mh-finder__opts, .mh-finder__opts--4 { grid-template-columns: 1fr 1fr; gap: 10px; }
	.mh-finder__opt { min-height: 0; padding: 14px 13px; }
	.mh-finder__cards { grid-template-columns: 1fr; }
}
/* the theme sets its own fonts on h3, strong and small; keep the site fonts inside the finder */
.mh-finder.mh-finder * { font-family: var(--f-sans); }
.mh-finder.mh-finder .mh-finder__q, .mh-finder.mh-finder h4, .mh-finder.mh-finder h4 a, .mh-finder.mh-finder .mh-finder__num { font-family: var(--f-serif); }
.mh-finder__rhead { margin-bottom: 4px; }
@media (max-width: 767px) { .mh-finder__rhead { margin-bottom: 16px; } .mh-finder__rhead .mh-finder__q { margin-bottom: 10px; } }
