/* MTE Pro Site */
.mte {
	--mte-sand: #c8873a;
	--mte-sand-dark: #a86c26;
	--mte-ink: #1f2a30;
	--mte-muted: #5d6870;
	--mte-cream: #faf6f0;
	--mte-line: #e8dfd2;
	--mte-radius: 14px;
	--mte-shadow: 0 8px 28px rgba(31, 42, 48, .10);
	color: var(--mte-ink);
	font-size: 16px;
	line-height: 1.6;
}
.mte *, .mte *::before, .mte *::after { box-sizing: border-box; }
.mte h1, .mte h2, .mte h3 { color: inherit; margin: 0 0 .4em; line-height: 1.2; letter-spacing: -.01em; }
.mte p { margin: 0 0 1em; }
.mte a { text-decoration: none; }

/* Full-width breakout inside the theme container */
.mte-full { width: 100vw; position: relative; left: 50%; margin-left: -50vw; }
.mte-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Hero */
.mte-hero {
	min-height: 78vh; display: flex; align-items: center;
	background: var(--mte-ink) center/cover no-repeat; color: #fff;
}
.mte-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,24,28,.78) 0%, rgba(20,24,28,.45) 55%, rgba(20,24,28,.15) 100%); }
.mte-hero__inner { position: relative; max-width: 1180px; width: 100%; margin: 0 auto; padding: 96px 20px; }
.mte-hero h1 { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 760px; color: #fff; }
.mte-hero__sub { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 620px; opacity: .92; }
.mte-eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600; color: #f1c58f; }

/* Buttons */
.mte-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.mte-actions--center { justify-content: center; }
.mte-btn {
	display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 600;
	background: var(--mte-sand); color: #fff !important; border: 2px solid var(--mte-sand);
	transition: background .2s, transform .2s;
}
.mte-btn:hover { background: var(--mte-sand-dark); border-color: var(--mte-sand-dark); transform: translateY(-1px); }
.mte-btn--ghost { background: transparent; border-color: rgba(255,255,255,.85); }
.mte-btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.mte-btn--outline { background: transparent; color: var(--mte-sand-dark) !important; }
.mte-btn--outline:hover { background: var(--mte-sand); color: #fff !important; }
.mte-link { color: var(--mte-sand-dark); font-weight: 600; }
.mte-link:hover { color: var(--mte-ink); }

/* Trust bar */
.mte-trust {
	list-style: none; margin: -32px auto 0; padding: 18px 24px; max-width: 1080px; position: relative;
	display: flex; flex-wrap: wrap; justify-content: space-around; gap: 10px 24px;
	background: #fff; border-radius: var(--mte-radius); box-shadow: var(--mte-shadow); font-weight: 600;
}
.mte-trust li { margin: 0; }
.mte-trust li::before { content: "✓"; color: var(--mte-sand); margin-right: 8px; }

/* Sections */
.mte-section { padding: 72px 0 8px; }
.mte-section--sand { background: var(--mte-cream); padding: 64px 0; margin-top: 64px; }
.mte-head { text-align: center; max-width: 720px; margin: 0 auto 32px; }
.mte-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.mte-head p { color: var(--mte-muted); }
.mte-head h2::after { content: ""; display: block; width: 56px; height: 3px; background: var(--mte-sand); margin: 14px auto 0; border-radius: 3px; }
.mte-note { font-size: .9rem; }
.mte-narrow { max-width: 820px; margin: 0 auto; }
.mte-center { text-align: center; margin-top: 28px; }

/* Grid + cards */
.mte-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; }
.mte-card { background: #fff; border-radius: var(--mte-radius); overflow: hidden; box-shadow: var(--mte-shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.mte-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(31,42,48,.16); }
.mte-card[hidden] { display: none; }
.mte-card__img { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--mte-line); overflow: hidden; }
.mte-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.mte-card:hover .mte-card__img img { transform: scale(1.05); }
.mte-badge { position: absolute; top: 14px; left: 14px; background: rgba(31,42,48,.85); color: #fff; font-size: .8rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.mte-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.mte-card__meta { font-size: .82rem; color: var(--mte-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.mte-card__title { font-size: 1.15rem; }
.mte-card__title a { color: var(--mte-ink); }
.mte-card__title a:hover { color: var(--mte-sand-dark); }
.mte-card__excerpt { color: var(--mte-muted); font-size: .95rem; }
.mte-card__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--mte-line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mte-price { font-size: 1.3rem; font-weight: 700; color: var(--mte-ink); }
.mte-price small { font-size: .75rem; font-weight: 500; color: var(--mte-muted); }
.mte-price--req { font-size: .95rem; color: var(--mte-muted); }
.mte-card--post .mte-link { margin-top: auto; }

/* Filters */
.mte-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.mte-filters__label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mte-muted); margin-right: 10px; font-weight: 600; }
.mte-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mte-chips button {
	border: 1px solid var(--mte-line); background: #fff; color: var(--mte-ink); padding: 8px 16px; border-radius: 999px;
	font: inherit; font-size: .9rem; cursor: pointer; transition: all .2s;
}
.mte-chips button:hover { border-color: var(--mte-sand); }
.mte-chips button.is-active { background: var(--mte-ink); border-color: var(--mte-ink); color: #fff; }
.mte-select select { border: 1px solid var(--mte-line); border-radius: 999px; padding: 8px 16px; font: inherit; font-size: .9rem; background: #fff; }
.mte-empty { text-align: center; color: var(--mte-muted); padding: 24px 0; }

/* Cities */
.mte-cities { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.mte-city { background: #fff; border: 1px solid var(--mte-line); border-radius: var(--mte-radius); padding: 22px; text-align: center; color: var(--mte-ink); transition: all .2s; }
.mte-city strong { display: block; font-size: 1.15rem; }
.mte-city span { color: var(--mte-muted); font-size: .9rem; }
.mte-city:hover { border-color: var(--mte-sand); transform: translateY(-3px); box-shadow: var(--mte-shadow); }

/* Why */
.mte-why { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.mte-why__item { padding: 26px; border-radius: var(--mte-radius); background: var(--mte-cream); }
.mte-why__icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: var(--mte-sand); color: #fff; margin-bottom: 12px; }
.mte-why__item h3 { font-size: 1.1rem; }
.mte-why__item p { color: var(--mte-muted); margin: 0; }

/* FAQ */
.mte-faq details { border-bottom: 1px solid var(--mte-line); padding: 16px 0; }
.mte-faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; position: relative; padding-right: 32px; }
.mte-faq summary::-webkit-details-marker { display: none; }
.mte-faq summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 1.5rem; color: var(--mte-sand); transition: transform .2s; }
.mte-faq details[open] summary::after { transform: rotate(45deg); }
.mte-faq details p { margin: 10px 0 0; color: var(--mte-muted); }

/* CTA */
.mte-cta { background: var(--mte-ink); color: #fff; text-align: center; padding: 72px 0; margin-top: 72px; }
.mte-cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.mte-cta p { opacity: .85; }

/* Theme (TravelTour) spacing on the plugin homepage: no title bar, no gap under the header */
body.mte-home .traveltour-page-title-wrap,
body.mte-home .traveltour-page-title-container,
body.mte-home .entry-header,
body.mte-home .page-header { display: none !important; }
body.mte-home .traveltour-content-container,
body.mte-home .traveltour-content-area,
body.mte-home .traveltour-content-wrap,
body.mte-home .traveltour-page-wrapper,
body.mte-home .traveltour-single-article,
body.mte-home .traveltour-content-area > .traveltour-container,
body.mte-home .site-content,
body.mte-home .entry-content { padding-top: 0 !important; margin-top: 0 !important; }
body.mte-home .traveltour-page-wrapper { padding-bottom: 0 !important; }
body.mte-home .mte > .mte-hero:first-child { margin-top: 0; }
html:has(body.mte-home), body.mte-home { overflow-x: hidden; }

/* Tablet */
@media (max-width: 960px) {
	.mte-hero { min-height: 60vh; }
	.mte-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
	.mte-why { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 640px) {
	.mte { font-size: 15px; }
	.mte-hero { min-height: 0; background-position: 60% center; }
	.mte-hero::before { background: linear-gradient(180deg, rgba(20,24,28,.55) 0%, rgba(20,24,28,.80) 100%); }
	.mte-hero__inner { padding: 64px 18px 72px; }
	.mte-hero h1 { font-size: 1.85rem; }
	.mte-hero__sub { font-size: 1rem; }
	.mte-eyebrow { font-size: .7rem; letter-spacing: .1em; }
	.mte-actions { flex-direction: column; gap: 10px; }
	.mte-actions .mte-btn { width: 100%; text-align: center; padding: 13px 20px; }
	.mte-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin: -28px 12px 0; padding: 14px 16px; font-size: .82rem; }
	.mte-section { padding: 48px 0 0; }
	.mte-section--sand { padding: 44px 0; margin-top: 48px; }
	.mte-head { margin-bottom: 22px; }
	.mte-head h2 { font-size: 1.5rem; }
	.mte-grid { grid-template-columns: 1fr; gap: 18px; }
	.mte-card__body { padding: 16px 18px 18px; }
	.mte-price { font-size: 1.15rem; }
	.mte-filters { flex-direction: column; align-items: stretch; gap: 12px; }
	.mte-chips { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; scrollbar-width: none; }
	.mte-chips::-webkit-scrollbar { display: none; }
	.mte-chips button { flex: 0 0 auto; }
	.mte-chips .mte-filters__label { flex: 0 0 auto; }
	.mte-select { display: flex; align-items: center; justify-content: space-between; }
	.mte-filters > * { min-width: 0; max-width: 100%; }
	.mte-select select { flex: 1; min-width: 0; width: 100%; margin-left: 10px; }
	.mte-card__img { aspect-ratio: 16 / 9; }
	.mte-cities { grid-template-columns: 1fr 1fr; gap: 10px; }
	.mte-city { padding: 16px 10px; }
	.mte-why { grid-template-columns: 1fr; gap: 12px; }
	.mte-why__item { padding: 18px; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; }
	.mte-why__icon { grid-row: span 2; margin: 0; }
	.mte-faq summary { font-size: 1rem; }
	.mte-cta { padding: 52px 0; margin-top: 52px; }
}
.mte-cta__email { margin-top: 18px; font-size: .95rem; }
.mte-cta__email a { color: #f1c58f; text-decoration: underline; }
