/* Home journey sizing is owned here; never apply photo sizing to nested icons. */
.home-page .journey-cover-facts,.home-page .journey-location,.home-page .journey-author-photo,.home-page .journey-carousel-footer{display:none}
@media(max-width:900px){
 .home-page #community.home-journeys{padding:24px 0;background:var(--home-dark)}
 .home-page #community>.wrap{width:calc(100% - 32px);display:block}
 .home-page #community .section-heading{display:block;margin:0 0 16px}
 .home-page #community .section-heading .home-kicker{display:none}
 .home-page #community .section-heading h2{font-size:26px;line-height:1.18;letter-spacing:0;max-width:none;margin:0}
 .home-page #community .section-heading p:not(.home-kicker){font-size:15px;line-height:1.5;margin:8px 0 0}
 .home-page #community .section-heading p br{display:none}
 .home-page #community .text-link{align-items:center;gap:8px;font-size:14px;line-height:1.4;min-height:44px;margin:12px 0 0;font-weight:600}
 .home-page #community .text-link span{font-size:22px;line-height:1;text-decoration:none}
 .home-page #community .journey-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
 .home-page #community .journey-cover{height:auto;aspect-ratio:auto;overflow:hidden}
 .home-page #community .journey-cover .card-image-button{display:block;position:relative;aspect-ratio:16/9;height:auto;width:100%;padding:0}
 .home-page #community .card-image-button>img,.home-page #community .journey-no-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
 .home-page #community .journey-tag{top:10px;bottom:auto;left:10px;max-width:calc(100% - 74px);padding:5px 8px;font-size:12px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .home-page #community .journey-bookmark{display:grid;place-items:center;top:8px;right:8px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0}
 .home-page #community .journey-bookmark img{display:block;width:22px;height:22px;max-width:none;object-fit:contain;transform:none}
 .home-page #community .journey-body{padding:12px 14px}
 .home-page #community .journey-body h3,.home-page #community .journey-body .card-title{font-size:17px;line-height:1.35;min-height:0;letter-spacing:0;margin:0;padding:0;overflow-wrap:anywhere}
 .home-page #community .journey-body .card-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
 .home-page #community .journey-meta{font-size:13px;line-height:1.4;gap:6px 12px;margin:8px 0}
 .home-page #community .journey-meta>span{gap:5px;white-space:normal}
 .home-page #community .journey-meta img{width:16px;height:16px;flex:0 0 16px;object-fit:contain}
 .home-page #community .journey-author{font-size:13px;line-height:1.4;gap:8px;min-height:26px}
 .home-page #community .journey-author .idea-label{flex-basis:auto;font-size:12px;padding:0;margin-left:auto}
 .home-page #community .journey-note{margin:14px 0 0}
}
@media(max-width:600px){
 .home-page #community .journey-grid{grid-template-columns:minmax(0,1fr);gap:14px}
}

/* Phones: swipe carousel (H1 design). */
@media(max-width:767px){
 .home-page #community.home-journeys{--hj-bg:#edf7fa;--hj-ink:#082f49;--hj-muted:#49616e;--hj-card:#fff;--hj-line:#d6e5e9;--hj-divider:#e0eff5;--hj-accent:#007385;--hj-chip:#04121fd9;padding:32px 0 28px;background:var(--hj-bg);color:var(--hj-ink)}
 html[data-theme=dark] .home-page #community.home-journeys{--hj-bg:#193438;--hj-ink:#edf4f5;--hj-muted:#bdcbd0;--hj-card:#1d2327;--hj-line:#435159;--hj-divider:#2c363b;--hj-accent:#80ded1;--hj-chip:#131719d9}
 .home-page #community>.wrap{width:auto;max-width:none;padding:0 16px;display:flex;flex-direction:column;align-items:stretch;gap:20px}
 .home-page #community>.wrap>*{min-width:0}
 .home-page #community .section-heading{margin:0}
 .home-page #community .section-heading h2{font-family:Georgia,'Times New Roman',serif;font-size:30px;line-height:1.1;font-weight:700;color:var(--hj-ink)}
 .home-page #community .section-heading p:not(.home-kicker){font-size:15px;line-height:1.5;color:var(--hj-muted);margin:8px 0 0}
 .home-page #community .section-heading .text-link{display:none}
 .home-page #community .journey-grid{display:flex;gap:14px;margin:0 -16px;padding:0 16px 4px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:16px;scrollbar-width:none;align-items:stretch}
 .home-page #community .journey-grid::-webkit-scrollbar{display:none}
 .home-page #community .journey-grid>.journey-status{flex:1;color:var(--hj-muted)}
 .home-page #community .journey-card{flex:0 0 min(286px,calc(100vw - 72px));display:flex;flex-direction:column;scroll-snap-align:start;border:1px solid var(--hj-line);border-radius:18px;background:var(--hj-card);color:var(--hj-ink);box-shadow:none;overflow:hidden}
 .home-page #community .journey-cover{position:relative;flex:none}
 .home-page #community .journey-cover .card-image-button{aspect-ratio:auto;height:214px;border-radius:0}
 .home-page #community .journey-tag{top:10px;left:10px;max-width:calc(100% - 72px);padding:6px 10px;border-radius:14px;background:var(--hj-chip);color:#fff;font-size:13px;font-weight:400}
 .home-page #community .journey-bookmark{top:8px;right:8px;border:0;border-radius:22px;background:var(--hj-chip)}
 .home-page #community .journey-bookmark img{width:20px;height:20px;filter:brightness(0) invert(1)}
 .home-page #community .journey-bookmark.saved{background:var(--hj-accent)}
 .home-page #community .journey-cover-facts{position:absolute;left:10px;bottom:10px;display:flex;gap:6px;pointer-events:none}
 .home-page #community .journey-cover-facts span{padding:5px 9px;border-radius:8px;background:#fff;color:#082f49;font-size:13px;font-weight:700;line-height:1.3}
 .home-page #community .journey-body{flex:1;display:flex;flex-direction:column;gap:8px;padding:14px 14px 16px}
 .home-page #community .journey-body h3,.home-page #community .journey-body .card-title{font-size:17px;line-height:1.3;color:var(--hj-ink);text-decoration:none;text-align:left;background:none;border:0}
 .home-page #community .journey-meta{display:none}
 .home-page #community .journey-location{display:flex;align-items:center;gap:6px;margin:0;font-size:14px;line-height:1.4;color:var(--hj-muted)}
 .home-page #community .journey-location svg{width:15px;height:15px;flex:none}
 .home-page #community .journey-location span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .home-page #community .journey-author{margin-top:auto;padding-top:10px;border-top:1px solid var(--hj-divider);display:flex;align-items:center;gap:8px;font-size:13px;color:var(--hj-muted)}
 .home-page #community .journey-author .avatar,.home-page #community .journey-author-photo,.home-page #community .journey-brand-avatar{width:32px;height:32px;flex:none;border-radius:16px;border:2px solid var(--hj-accent);box-sizing:border-box;object-fit:cover}
 .home-page #community .journey-author-photo{display:block}
 .home-page #community .journey-author:has(.journey-author-photo) .avatar{display:none}
 .home-page #community .journey-author>span:not(.avatar):not(.idea-label){color:var(--hj-ink);font-weight:700}
 .home-page #community .journey-author>span>span:first-child{color:var(--hj-muted);font-weight:400}
 .home-page #community .journey-author .idea-label{color:var(--hj-muted)}
 .home-page #community .journey-carousel-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}
 .home-page #community .journey-dots{display:flex;gap:6px;align-items:center}
 .home-page #community .journey-dots span{width:6px;height:6px;border-radius:3px;background:var(--hj-line);transition:width .2s}
 .home-page #community .journey-dots span.active{width:22px;background:var(--hj-accent)}
 .home-page #community .journey-see-all{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:0 0 0 auto;font-size:15px;font-weight:700;color:var(--hj-accent)}
 .home-page #community .journey-see-all span{font-size:18px;line-height:1}
 .home-page #community .journey-note{margin:0;color:var(--hj-muted)}
}
@media(max-width:767px) and (prefers-reduced-motion:reduce){.home-page #community .journey-dots span{transition:none}}
