/* Mobile Journey: native horizontal paging; pagination, not the whole toolbar, is centered. */
.mobile-journey { --mj-blue:#00a3e5; --mj-inset:24px; width:100%; max-width:680px; margin:0 auto; padding:0 0 42px; background:#fff; color:#19232b; box-sizing:border-box; overflow:hidden; }
.mobile-journey[hidden] { display:none; }
.mobile-journey * { box-sizing:border-box; }
.mj-intro { margin:0 0 28px; padding:48px var(--mj-inset) 40px; min-height:260px; position:relative; isolation:isolate; }
/* A quiet mountain backdrop behind the heading, fading out before the cards. */
.mj-intro::before { content:''; position:absolute; inset:0; z-index:-1; background:url('../attached_assets/Journey mobile.png') center 35% / cover no-repeat; opacity:.26; -webkit-mask-image:linear-gradient(to bottom,transparent,#000 12%,#000 50%,transparent 95%); mask-image:linear-gradient(to bottom,transparent,#000 12%,#000 50%,transparent 95%); pointer-events:none; }
.mj-intro::after { content:''; position:absolute; left:var(--mj-inset); right:var(--mj-inset); bottom:0; height:1px; background:linear-gradient(to right,#e1e7ec 70%,transparent); }
.mj-eyebrow { margin:0 0 10px; font-size:11px; font-weight:650; letter-spacing:.16em; text-transform:uppercase; color:#8996a1; line-height:1.5; }
.mobile-journey #journey-title { margin:0 0 19px; font-size:36px; line-height:1.2; letter-spacing:-.04em; font-weight:750; }
.mj-intro-copy { margin:0; font-size:15px; color:#7d8994; line-height:1.75; word-break:keep-all; }
.mobile-journey strong { font-weight:700; }
.mj-viewport { display:flex; align-items:stretch; gap:22px; padding:0 var(--mj-inset); overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scroll-padding-inline:var(--mj-inset); scrollbar-width:none; -webkit-overflow-scrolling:touch; }
.mj-viewport::-webkit-scrollbar { display:none; }
/* Extra trailing space allows the final card to reach its centered snap point. */
.mj-viewport::after { content:''; flex:0 0 2px; align-self:stretch; }
.mj-entry { display:flex; flex-direction:column; flex:0 0 calc(100% - 24px); min-width:0; scroll-snap-align:center; position:relative; padding:18px 14px 14px; border:1px solid #dce7ee; background:#fff; opacity:.3; transition:opacity .16s ease-out; }
.mj-entry:first-child { scroll-snap-align:start; }
/* Equal-height cards keep spare space above the photo, without changing its crop. */
.mj-entry > *,.mj-entry::before { flex-shrink:0; }
.mj-entry.is-active { opacity:1; }
.mj-entry::before { content:''; display:block; width:29px; height:2px; background:var(--mj-blue); margin-bottom:16px; }
.mj-meta { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 12px; margin:0; font-size:11px; line-height:1.5; color:#98a1a8; }
.mj-category { color:var(--mj-blue); font-weight:650; }
.mj-entry h3 { margin:12px 0 19px; font-size:21px; line-height:1.5; letter-spacing:-.035em; font-weight:700; word-break:keep-all; overflow-wrap:anywhere; white-space:normal; text-wrap:balance; }
.mj-description { margin:0 0 17px; font-size:14px; line-height:1.85; color:#707f8b; word-break:keep-all; overflow-wrap:anywhere; white-space:normal; }
.mj-location { display:flex; align-items:flex-start; gap:7px; margin:0 0 16px; font-size:11px; line-height:1.7; color:#939fa9; white-space:normal; overflow-wrap:anywhere; }
.mj-location svg { flex:0 0 12px; width:12px; height:16px; margin-top:2px; }
.mj-location span { min-width:0; }
.mj-location:has(+ .mj-related-link),.mj-description:has(+ .mj-related-link) { margin-bottom:0; }
.mj-related-link { display:flex; align-items:center; gap:0; width:fit-content; max-width:100%; min-height:44px; margin:0 0 12px; color:#2483b3; font-size:13px; line-height:1.6; font-weight:600; text-decoration:none; overflow-wrap:anywhere; transition:color .16s ease,transform .16s ease; }
.mj-related-link:hover { color:#006eaa; text-decoration:none; transform:translateY(-1px); }
.mj-related-link:focus-visible { outline:2px solid var(--mj-blue); outline-offset:3px; }
.mj-related-link span { flex-shrink:0; }
/* Let the photo meet the card border while retaining the copy's inner spacing. */
.mj-entry:has(.mj-photo) { padding-bottom:0; }
.mj-photo { width:calc(100% + 28px); margin:auto -14px 0; aspect-ratio:var(--mj-image-ratio,1.7777778); overflow:hidden; }
.mj-photo img { display:block; width:100%; height:100%; object-fit:cover; }
.mj-photo.has-fade { mask-image:linear-gradient(to right,transparent,rgba(0,0,0,.2) calc(var(--mj-image-fade) * .4),#000 var(--mj-image-fade)); }
.mj-controls { --mj-dots-width:60px; position:relative; width:100%; height:64px; margin:24px 0 0; }
.mj-pagination { position:absolute; width:var(--mj-dots-width); left:50%; bottom:0; transform:translateX(-50%); height:44px; }
.mj-count { position:absolute; left:0; right:0; top:-16px; color:var(--mj-blue); text-align:center; font-size:12px; line-height:1; font-variant-numeric:tabular-nums; }
.mj-dots { height:44px; overflow:hidden; }
.mj-dots.has-before { mask-image:linear-gradient(to right,transparent,#000 12px); }
.mj-dots.has-after { mask-image:linear-gradient(to left,transparent,#000 12px); }
.mj-dots.has-before.has-after { mask-image:linear-gradient(to right,transparent,#000 12px,#000 calc(100% - 12px),transparent); }
.mj-dot-track { display:flex; height:44px; align-items:center; width:max-content; transition:transform .4s ease; }
.mj-controls button { position:absolute; display:grid; place-items:center; bottom:0; width:44px; height:44px; padding:0; border:0; background:none; cursor:pointer; color:#fff; font:inherit; }
.mj-prev { left:calc(50% - var(--mj-dots-width) / 2 - 44px); }
.mj-next { left:calc(50% + var(--mj-dots-width) / 2); }
.mj-auto { left:calc(50% + var(--mj-dots-width) / 2 + 44px); }
.mj-controls > button::before { content:''; position:absolute; inset:6px; border-radius:50%; background:#e5e8eb; }
.mj-controls > button:disabled { opacity:.4; cursor:default; }
.mj-controls > button:hover:not(:disabled)::before { background:#b5ccd9; }
.mj-prev span,.mj-next span { position:relative; width:10px; height:10px; border-top:2px solid white; border-right:2px solid white; }
.mj-prev span { transform:translateX(2px) rotate(-135deg); }
.mj-next span { transform:translateX(-2px) rotate(45deg); }
.mj-auto span { position:relative; width:9px; height:12px; border-left:2px solid white; border-right:2px solid white; }
.mj-auto[aria-pressed="true"] span { width:0; height:0; border-top:6px solid transparent; border-bottom:6px solid transparent; border-left:9px solid white; border-right:0; transform:translateX(1px); }
.mj-controls .mj-dot { position:relative; flex:0 0 20px; width:20px; height:44px; }
.mj-dot span { width:6px; height:6px; border-radius:10px; background:#cbd2d8; transition:width .3s,background .3s; }
.mj-dot.is-active span { width:18px; height:7px; background:var(--mj-blue); }
.mobile-journey button:focus-visible,.mj-viewport:focus-visible { outline:2px solid var(--mj-blue); outline-offset:-2px; }
.mj-noscript { padding:0 24px; }
@media(min-width:600px) { .mj-entry { flex-basis:calc(100% - 40px); } .mj-viewport::after { flex-basis:18px; } }
@media(prefers-reduced-motion:reduce) { .mj-entry,.mj-dot-track,.mj-dot span,.mj-related-link { transition:none; } .mj-related-link:hover { transform:none; } }
