/* Mount Rangers – designed Trip Types page ([mr_trip_types_page]). */
.mtt { --o: #F04E10; --ob: #C2410C; --ink: #1E1514; --mut: #6b625f; --line: #EDE6E3; color: var(--ink); overflow-x: clip; }
.mtt-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.mtt-eyebrow { display: inline-block; color: var(--ob); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }

/* let the page run full width: hide the theme's own title bar on this page */
.mr-types-page .page-header, .mr-types-page .entry-header, .mr-types-page .breadcrumb-wrapper, .mr-types-page .tmp-breadcrumb { display: none !important; }
.mr-types-page .site-content > .container, .mr-types-page .content-area, .mr-types-page .site-main, .mr-types-page .entry-content { max-width: none !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }
.mr-types-page .site-content { padding-top: 0 !important; }
.mr-types-page .page-header-top { display: none !important; }
.mr-types-page .main-content-wrapper { margin-top: 0 !important; }
.mr-types-page #secondary { display: none; }
.mtt { width: 100vw; margin-left: calc(50% - 50vw); }

/* hero */
.mtt-hero { position: relative; min-height: min(78vh, 640px); display: flex; align-items: center; color: #fff; overflow: hidden; background: #1E1514; }
.mtt-hero__bg { position: absolute; inset: -4%; background: linear-gradient(90deg, rgba(20,12,10,.85) 0%, rgba(20,12,10,.5) 55%, rgba(20,12,10,.25) 100%), var(--mtt-hero) center/cover no-repeat; animation: mtt-kb 22s ease-in-out infinite alternate; will-change: transform; }
@keyframes mtt-kb { from { transform: scale(1) translate3d(0,0,0); } to { transform: scale(1.1) translate3d(-1.5%,-1%,0); } }
.mtt-hero__in { position: relative; padding-top: 56px; padding-bottom: 72px; width: 100%; }
.mtt-hero .mtt-eyebrow { color: #FFB48F; }
.mtt-hero__title { font-size: clamp(38px, 6vw, 72px); line-height: 1.04; margin: 8px 0 14px; color: #fff; max-width: 780px; letter-spacing: -.015em; }
.mtt-w { display: inline-block; }
.mtt-hl { color: #FF8A5B; background: linear-gradient(90deg, #FF8A5B, #FFC24D, #FF8A5B); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: mtt-shine 4s linear infinite; }
@keyframes mtt-shine { to { background-position: -200% 0; } }
.mtt-hero__sub { font-size: clamp(16px, 1.7vw, 20px); max-width: 600px; margin: 0 0 26px; color: rgba(255,255,255,.88); }
.mtt-hero__stats { display: flex; flex-wrap: wrap; gap: 10px; }
.mtt-hero__stats span { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); border-radius: 999px; padding: 8px 16px; font-size: 15px; }
.mtt-hero__stats b { color: #FFC24D; font-size: 17px; }
.mtt-hero__down { position: absolute; left: 50%; bottom: 18px; width: 44px; height: 44px; margin-left: -22px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); color: #fff !important; text-decoration: none !important; font-size: 20px; animation: mtt-bob 2s ease-in-out infinite; }
@keyframes mtt-bob { 50% { transform: translateY(6px); } }

/* moving word strip */
.mtt-strip { background: var(--ob); color: #fff; overflow: hidden; padding: 12px 0; white-space: nowrap; }
.mtt-strip__track { display: inline-flex; align-items: center; gap: 22px; animation: mtt-marquee 40s linear infinite; font-weight: 700; font-size: 17px; letter-spacing: .02em; }
.mtt-strip b { color: #FFC24D; font-size: 13px; }
@keyframes mtt-marquee { to { transform: translateX(-50%); } }

/* cards */
.mtt-sec { padding: 56px 0 64px; background: #FBF7F4; }
.mtt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; grid-auto-rows: 360px; }
.mtt-card { position: relative; display: block; border-radius: 22px; overflow: hidden; color: #fff !important; text-decoration: none !important; background: #2a201d; isolation: isolate;
	box-shadow: 0 10px 30px rgba(30,21,20,.12); transform: perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); transition: transform .25s ease, box-shadow .3s ease; }
.mtt-card--wide { grid-column: span 2; }
.mtt-card__img, .mtt-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.mtt-card__img img { object-fit: cover; transform: scale(1.04); transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.mtt-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,12,10,0) 30%, rgba(20,12,10,.55) 60%, rgba(20,12,10,.9) 100%); transition: background .4s; }
.mtt-card__num { position: absolute; top: 14px; right: 18px; font-size: 44px; font-weight: 800; line-height: 1; color: rgba(255,255,255,.28); letter-spacing: -.03em; }
.mtt-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.mtt-card__meta { align-self: flex-start; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; }
.mtt-card__name { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; }
.mtt-card__line { font-size: 15px; color: rgba(255,255,255,.88); max-width: 520px; }
.mtt-card__trips { font-size: 13px; color: #FFC24D; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s ease, opacity .4s ease; }
.mtt-card__cta { font-weight: 700; font-size: 15px; margin-top: 4px; }
.mtt-card__cta i { display: inline-block; font-style: normal; transition: transform .3s; }
.mtt-card:hover, .mtt-card:focus-visible { box-shadow: 0 22px 50px rgba(30,21,20,.28); }
.mtt-card:hover .mtt-card__img img, .mtt-card:focus-visible .mtt-card__img img { transform: scale(1.13); }
.mtt-card:hover .mtt-card__trips, .mtt-card:focus-visible .mtt-card__trips { max-height: 60px; opacity: 1; }
.mtt-card:hover .mtt-card__cta i { transform: translateX(6px); }
.mtt-card:focus-visible { outline: 3px solid var(--o); outline-offset: 3px; }

/* call to action */
.mtt-cta { padding: 56px 0; background: #fff; }
.mtt-cta__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: linear-gradient(120deg, #FFF4EE, #FFE6D8); border-radius: 24px; padding: 32px; max-width: 1168px; }
.mtt-cta h2 { margin: 4px 0 6px; font-size: clamp(22px, 2.8vw, 32px); color: var(--ink); line-height: 1.2; }
.mtt-cta p { margin: 0; color: var(--mut); }
.mtt-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.mtt-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 12px; padding: 14px 20px; font-weight: 700; text-decoration: none !important; transition: transform .2s, box-shadow .2s; }
.mtt-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.15); }
.mtt-btn--o { background: var(--ob); color: #fff !important; }
.mtt-btn--wa { background: #177A42; color: #fff !important; }

/* entrance animations (JS adds .mtt-js to <html>; without JS everything simply shows) */
.mtt-js .mtt-w, .mtt-js .mtt-up { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.mtt-js .mtt-in .mtt-w, .mtt-js .mtt-in .mtt-up { opacity: 1; transform: none; }
.mtt-js .mtt-card { opacity: 0; translate: 0 40px; transition: opacity .8s ease var(--d), translate .8s cubic-bezier(.2,.7,.2,1) var(--d), transform .25s ease, box-shadow .3s ease; }
.mtt-js .mtt-card.mtt-on { opacity: 1; translate: 0 0; }
.mtt-js .mtt-rv { opacity: 0; transform: translateY(30px) scale(.98); transition: opacity .8s ease, transform .8s ease; }
.mtt-js .mtt-rv.mtt-on { opacity: 1; transform: none; }

@media (max-width: 900px) {
	.mtt-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 320px; }
	.mtt-card--wide { grid-column: span 2; }
}
@media (max-width: 600px) {
	.mtt-grid { grid-template-columns: 1fr; grid-auto-rows: 300px; gap: 14px; }
	.mtt-card--wide { grid-column: auto; }
	.mtt-card__trips { max-height: 60px; opacity: 1; }
	.mtt-hero { min-height: 560px; }
	.mtt-cta__in { padding: 24px; }
	.mtt-sec { padding: 40px 0 48px; }
}
@media (prefers-reduced-motion: reduce) {
	.mtt-hero__bg, .mtt-hl, .mtt-strip__track, .mtt-hero__down { animation: none; }
	.mtt-js .mtt-w, .mtt-js .mtt-up, .mtt-js .mtt-card, .mtt-js .mtt-rv { opacity: 1; transform: none; translate: none; transition: none; }
}
