/* Web community pages from the 2026 web designs: one-line section tabs on a full-width bar (901px and wider,
   where all six fit) and the shorter hero (768px and wider). Phones keep their own layouts. */
@media(min-width:901px){
.community-page{--cw-bar:#fff;--cw-line:#e7f1f5;--cw-ink:#0b315c;--cw-accent:#007f94}
html[data-theme=dark] .community-page{--cw-bar:#1d2327;--cw-line:#2c363b;--cw-ink:#e8f3f8;--cw-accent:#80ded1}
/* The bar runs edge to edge while the tabs stay on the page grid; the shadows paint it without widening the page. */
.community-page .community-navigation{flex-wrap:nowrap;gap:0 16px;padding:0;border-bottom:0;background:var(--cw-bar);box-shadow:0 0 0 100vmax var(--cw-bar),0 1px 0 100vmax var(--cw-line);clip-path:inset(0 -100vmax -1px)}
.community-page .community-navigation .community-tabs{flex:1 1 auto;gap:26px;overflow-x:auto;scrollbar-width:none}
.community-page .community-navigation .community-tabs::-webkit-scrollbar{display:none}
.community-page .community-tabs>a{flex:none;gap:8px;min-height:56px;padding:0 4px;border-bottom:3px solid transparent;color:var(--cw-ink);box-sizing:border-box}
.community-page .community-tabs>a:hover{background:transparent;color:var(--cw-accent)}
.community-page .community-tabs>a[aria-current=page]{border-bottom-color:var(--cw-accent);color:var(--cw-accent)}
.community-page .community-tabs>a small{display:none}
.community-page .community-tabs>a strong{font-size:15px;font-weight:700;line-height:1.2;white-space:nowrap}
.community-page .community-tab-icon{width:20px;height:20px;flex-basis:20px;mask-size:20px 20px;color:inherit}
.community-page .community-more-nav{flex:none;font-size:15px;font-weight:700;color:var(--cw-ink)}
.community-page .community-more-nav summary{min-height:56px;padding:0 4px}
/* The dark theme paints every community tab link in the accent; only the current one should be. */
html[data-theme=dark] .community-page .community-tabs>a:not([aria-current=page]):not(:hover){color:var(--cw-ink)!important}
html[data-theme=dark] .community-page .community-tabs>a:hover{background:transparent}
.community-page:is([data-community-view=people],[data-community-view=buddies],[data-community-view=following],[data-community-view=followers],[data-community-view=connections]) .community-navigation+*{margin-top:22px}
}

/* Roamers, Travel Buddies, Feed and connections: compact hero without the value chips. */
@media(min-width:768px){
.community-page:is([data-community-view=people],[data-community-view=buddies],[data-community-view=following],[data-community-view=followers],[data-community-view=connections]) .community-heading{min-height:0;padding-block:30px}
.community-page:is([data-community-view=people],[data-community-view=buddies],[data-community-view=following],[data-community-view=followers],[data-community-view=connections]) .community-heading .eyebrow{display:block;font-size:13px;font-weight:700;letter-spacing:.14em;margin-bottom:10px}
.community-page:is([data-community-view=people],[data-community-view=buddies],[data-community-view=following],[data-community-view=followers],[data-community-view=connections]) .community-heading h1{margin-bottom:10px}
.community-page:is([data-community-view=people],[data-community-view=buddies],[data-community-view=following],[data-community-view=followers],[data-community-view=connections]) .community-intro{max-width:620px;font-size:17px;color:#edf6f9}
.community-page:is([data-community-view=people],[data-community-view=buddies],[data-community-view=following],[data-community-view=followers],[data-community-view=connections]) .community-values{display:none}
.community-page:is([data-community-view=people],[data-community-view=buddies],[data-community-view=following],[data-community-view=followers],[data-community-view=connections]) .community-hand{font-size:38px;margin-right:4%;text-shadow:0 2px 10px #00000059}
}
/* Web: Discover lives in the header's Community menu; the tab bar keeps the people pages. Phones keep their pills. */
@media(min-width:768px){.community-tabs>a[href="community.html"]{display:none}}

/* Flags in front of each country on multi-country journey cards. */
.community-page :is(.dh-country,.cd-location) .place-flag{display:inline-block;width:16px;height:12px;margin:0 4px 0 0;vertical-align:-1px;border-radius:2px;object-fit:cover;box-shadow:0 0 0 1px rgba(11,49,92,.14)}
