/* Frontend composition: shared gutters, quiet surfaces and focused account forms. */
:root { --line:#e4eaf2; --muted:#5f6e86; --shadow:0 5px 20px #182b5006; background:#f7f9fc; }
body { background:#f7f9fc; font-size:16px; }
.page-width { width:calc(100% - 64px); max-width:1440px; }
.header-inner { gap:26px; height:86px; }
.primary-nav { gap:24px; }
.header-utilities { gap:14px; }
.live-strip { background:#f0f5fc; font-size:13px; }
.live-strip-inner { min-height:30px; }
.ticker { font-size:13px; }
.ticker-inner { min-height:40px; }
.ticker-label::before,.ticker-list li { animation:none; }
.button { border-radius:24px; box-shadow:none; }
.button-primary:hover { box-shadow:none; }
.button-outline { border-color:#c9d9ef; background:#fff; }
.header-signup { border-radius:24px; }
.header-account-menu { position:relative; order:1; }
.header-account-menu summary { display:flex; align-items:center; gap:7px; cursor:pointer; min-height:40px; border-radius:9px; font-size:13px; list-style:none; }
.header-account-menu summary::-webkit-details-marker { display:none; }
.header-account-menu summary>.icon { width:13px; height:13px; transform:rotate(90deg); }
.account-menu-name { max-width:90px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.account-menu-popover { position:absolute; z-index:45; top:calc(100% + 10px); right:0; min-width:210px; padding:8px; border:1px solid var(--line); border-radius:12px; background:#fff; box-shadow:0 12px 40px #1427511a; }
.account-menu-popover>strong { display:block; padding:10px; font-size:13px; overflow-wrap:anywhere; }
.account-menu-popover>a,.account-menu-popover button { display:flex; align-items:center; gap:8px; padding:10px; border-radius:7px; width:100%; font-size:13px; text-align:left; }
.account-menu-popover>a:hover,.account-menu-popover button:hover { background:#f1f5fb; }
.account-menu-popover .logout-form { display:flex; margin-top:5px; padding-top:5px; border-top:1px solid var(--line); }
.header-account-menu summary:focus-visible { outline:3px solid #427bf6; outline-offset:3px; }
.panel,.box { border-radius:14px; box-shadow:none; }

/* An illustrated masthead, with real breathing room on every side. */
.hero[data-art="full"] { width:calc(100% - 64px); max-width:1440px; min-height:294px; margin:22px auto 0; border:1px solid #d8e9f5; border-radius:18px; background-position:center 63%; }
.hero[data-art="full"]::before { background:linear-gradient(90deg,#f0f9ff 0%,#f0f9fff0 23%,#edf8ff9c 40%,#edf8ff00 63%); }
.hero[data-art="full"] .hero-inner { width:100%; padding:28px 36px; min-height:294px; }
.hero[data-art="full"] .hero-content { width:510px; max-width:52%; padding:0; }
.hero[data-art="full"] h1 { font-size:34px; line-height:1.4; letter-spacing:-1.25px; }
.hero[data-art="full"] .hero-eyebrow { background:none; border:0; padding:0; font-size:13px; font-weight:700; letter-spacing:.4px; margin-bottom:12px; color:#305e95; }
.hero[data-art="full"] .hero-text { font-size:15px; max-width:400px; margin-top:10px; line-height:1.8; }
.hero[data-art="full"] .hero-actions { margin-top:20px; }
.hero[data-art="full"] .hero-actions .button { min-height:42px; padding:10px 18px; font-size:13px; }
.hero-slim { width:calc(100% - 64px); max-width:1440px; margin:20px auto 0; border:1px solid var(--line); border-radius:14px; }
.hero-slim .hero-inner { width:100%; padding:18px 24px; }

.page-layout { grid-template-columns:212px minmax(0,1fr) 264px; gap:24px; padding-top:28px; }
.main-column { gap:30px; }
.section-heading { margin-bottom:14px; }
.section-heading h1,.section-heading h2 { font-size:21px; font-weight:750; letter-spacing:-.6px; }
.category-rail { padding:18px 12px 14px; top:104px; }
.rail-label { letter-spacing:.7px; padding:0 10px 15px; }
.rail-link { font-size:14px; gap:11px; padding:10px 12px; min-height:46px; }
.rail-link + .rail-link { margin-top:6px; }
.rail-link:hover:not(.is-active) { background:#f6f8fb; color:var(--ink); }
.rail-link.is-active { background:#edf3ff; }
.top-stories { gap:16px; grid-template-columns:1.08fr 1fr; }
.lead-story,.lead-story.is-text-only { background:#fff; border:1px solid var(--line); border-radius:14px; min-height:0; }
.lead-story.is-text-only { border-top:3px solid #739bef; }
.lead-story .lead-copy,.lead-story.is-text-only .lead-copy { padding:22px; gap:12px; }
.lead-story .lead-copy>strong,.lead-story.is-text-only .lead-copy>strong { font-size:24px; line-height:1.5; letter-spacing:-.7px; -webkit-line-clamp:5; }
.lead-story .lead-summary,.lead-story.is-text-only .lead-summary { font-size:14px; line-height:1.8; -webkit-line-clamp:3; }
.lead-story>img { max-height:174px; object-fit:cover; }
.lead-foot { margin-top:6px; }
.top-stories>.story-list { padding:4px 18px; }
.top-stories .story-row { padding:15px 0; gap:14px; }
.story-row strong { font-size:14px; line-height:1.65; }
.top-stories .story-thumb { width:64px; flex:0 0 64px; height:56px; border-radius:8px; }
.story-meta { font-size:13px; line-height:1.7; }
.news-copy { padding:16px; }
.news-copy h3 { font-size:15px; line-height:1.7; }
.news-copy>p { font-size:13px; line-height:1.75; -webkit-line-clamp:2; }
.news-image { height:132px; }
.news-card:hover,.lead-story:hover,.forum-tile:hover { transform:none; }
.forum-grid { gap:10px; }
.forum-tile { border:1px solid transparent; border-radius:12px; min-height:82px; padding:14px 8px; }
.forum-tile:hover { border-color:#cbdcf6; }
.conversation-panel { margin-top:14px; padding:20px; }
.conversation-heading { padding:0 0 12px; }
.conversation-heading h3 { font-size:15px; }
.conversation-empty.community-start { display:flex; align-items:flex-start; text-align:left; gap:16px; padding:24px 0 4px; }
.community-start-icon { display:grid; place-items:center; width:42px; height:42px; flex:none; background:#f0f5ff; border-radius:13px; color:#5082d8; }
.community-start-icon .icon { margin:0; width:22px; height:22px; }
.community-start h4 { margin:0 0 7px; font-size:15px; font-weight:600; color:var(--ink); }
.community-start p { font-size:13px; line-height:1.8; }
.community-prompts { display:flex; gap:18px; flex-wrap:wrap; margin-top:14px; }
.community-prompts a { display:inline-flex; align-items:center; gap:6px; font-size:13px; color:var(--blue-dark); font-weight:600; }
.community-prompts a:hover { text-decoration:underline; }
.community-prompts .icon { width:14px; height:14px; margin:0; }
.welcome-panel { padding:18px; background:linear-gradient(150deg,#edf5ff,#fff 75%); }
.sidebar>* { min-width:0; }
.sidebar>.advertisement { order:-1; }
#community-boards { scroll-margin-top:110px; }
.welcome-panel .member-art { height:72px; margin:0 auto 8px; }
.welcome-panel .member-art img { width:108px; height:72px; object-fit:contain; }
.welcome-panel h2 { font-size:17px; line-height:1.5; }
.welcome-panel>p { font-size:13px; margin-top:6px; }
.member-actions { gap:8px; margin-top:16px; }
.member-actions .button { min-height:40px; font-size:13px; padding:9px 10px; }
.membership-link { font-size:13px; margin-top:14px; }
.welcome-spark { display:none; }
.weather-facts { font-size:13px; }
.ad-slot { background:#f0f4f9; }
.ad-slot h2 { font-size:15px; }
.site-footer { margin-top:44px; padding-block:28px; }

/* The home feed gets the reading room; detailed category navigation stays on boards. */
.home-screen .page-layout { grid-template-columns:212px minmax(0,1fr) 280px; gap:26px; padding-top:24px; }
.home-screen .main-column { gap:40px; }
.home-screen .section-heading h2 { font-size:24px; }
.home-news-tabs { gap:26px; border-bottom:1px solid var(--line); margin-bottom:24px; overflow:auto; scrollbar-width:thin; }
.home-news-tabs button { flex:none; font-size:14px; padding:0 0 12px; }
.home-news-stage { display:grid; }
.home-news-panel { grid-area:1/1; min-width:0; }
/* Preserve the news module's height when switching, without moving the next section. */
.home-news-panel[hidden] { display:block!important; visibility:hidden; pointer-events:none; }
.home-screen .top-stories { grid-template-columns:1.1fr 1fr; gap:30px; }
.home-screen .lead-story { border:0; border-radius:0; background:transparent; }
.home-screen .lead-story .lead-copy { padding:0; }
.home-screen .lead-story>img { border-radius:12px; margin-bottom:16px; }
.home-screen .lead-story .lead-copy>strong { font-size:27px; line-height:1.55; -webkit-line-clamp:4; }
.home-screen .lead-summary { font-size:15px; line-height:1.9; }
.home-screen .top-stories>.story-list { border-left:1px solid var(--line); padding:0 0 0 26px; }
.home-screen .top-stories .story-row:first-child { padding-top:0; }
.home-screen .top-stories .story-row strong { font-size:16px; }
.home-screen .top-stories .story-thumb { flex-basis:82px; width:82px; height:70px; }
.home-news-more { display:flex; justify-content:flex-end; align-items:center; gap:7px; padding-top:22px; font-size:13px; color:var(--muted); }
.home-news-more:hover { color:var(--blue-dark); }
.home-news-more .icon { width:15px; height:15px; }
.home-news .news-card { border:0; border-radius:0; background:transparent; box-shadow:none; }
.home-news .news-image { border-radius:12px; }
.home-news .news-copy { padding:16px 0 0; }
.home-news .news-copy h3 { font-size:17px; }
.home-screen .welcome-panel { display:grid; grid-template-columns:58px minmax(0,1fr); gap:0 12px; text-align:left; padding:22px; background:#fff; }
.home-screen .welcome-panel .member-art { grid-row:1/3; margin:0; width:58px; height:65px; }
.home-screen .welcome-panel .member-art img { width:78px; height:65px; }
.home-screen .welcome-panel h2 { font-size:16px; align-self:end; }
.home-screen .welcome-panel>p { font-size:13px; }
.home-screen .welcome-panel .member-actions { grid-column:1/-1; }
.home-screen .welcome-panel .membership-link { display:none; }
.weather-details summary,.fx-details summary { cursor:pointer; padding:12px 18px; border-top:1px solid var(--line); color:#435a78; font-size:14px; }
.weather-details summary:hover,.fx-details summary:hover { color:var(--blue-dark); background:#f2f6fc; }
.home-screen .weather-now { padding:18px; }
.home-screen .weather-temp>strong { font-size:36px; }
.home-screen .news-section { padding-bottom:30px; border-bottom:1px solid var(--line); }
.home-screen .forum-grid { gap:14px; }
.home-screen .conversation-panel { margin-top:20px; padding:24px; }

/* Account pages intentionally have one task and no feed chrome. */
.auth-screen { min-height:100vh; background:#fff; }
.account-header { display:flex; align-items:center; justify-content:space-between; height:100px; max-width:1200px; }
.account-header-links { display:flex; gap:28px; align-items:center; }
.account-home { display:inline-flex; align-items:center; gap:7px; font-size:13px; color:#56677e; }
.account-home .icon { width:16px; transform:rotate(180deg); }
.account-home:hover { color:var(--blue-dark); }
.account-layout { max-width:1120px; display:grid; grid-template-columns:1fr 1fr; border:1px solid var(--line); border-radius:22px; overflow:hidden; margin-top:16px; min-height:620px; }
.account-story { position:relative; overflow:hidden; background:#edf6ff; min-height:100%; padding:44px; isolation:isolate; }
.account-story-copy { position:relative; z-index:2; }
.account-eyebrow { font-size:13px; font-weight:700; letter-spacing:1.4px; color:#376795; }
.account-story h2 { margin:20px 0 16px; font-size:39px; line-height:1.3; letter-spacing:-1.5px; color:#173454; word-break:keep-all; }
.account-story-copy>p { max-width:360px; font-size:14px; line-height:1.9; color:#556d85; }
.account-story ul { display:grid; gap:13px; margin-top:26px; font-size:13px; color:#334e69; }
.account-story li { display:flex; align-items:center; gap:11px; }
.account-story li .icon { width:17px; height:17px; color:#5487bc; }
.account-illustration { position:absolute; z-index:0; left:0; bottom:0; width:100%; max-width:none; height:310px; object-fit:cover; object-position:76% bottom; mask-image:linear-gradient(transparent,#000 25%); }
.account-location { position:absolute; bottom:22px; left:28px; z-index:2; display:flex; align-items:center; gap:7px; font-size:13px; font-weight:600; letter-spacing:1.3px; color:#244c71; background:#ffffffdb; padding:7px 10px; border-radius:6px; }
.account-location .icon { width:13px; height:13px; }
.account-form-panel { align-self:center; padding:32px 48px; min-width:0; }
.account-form-intro { margin-bottom:22px; }
.account-form-mark { display:none; }
.account-form-intro h1 { font-size:25px; letter-spacing:-.8px; line-height:1.5; font-weight:750; word-break:keep-all; }
.account-form-intro>p { font-size:13px; color:var(--muted); margin-top:7px; line-height:1.8; }
.account-form-panel .stacked-form { gap:14px; }
.account-form-panel .field { gap:7px; }
.account-form-panel .field>label { font-size:13px; font-weight:600; }
.account-form-panel .field input:not([type=checkbox]) { width:100%; min-width:0; min-height:47px; padding:11px 13px; border:1px solid #d6dfe9; background:#fff; border-radius:9px; font-size:15px; transition:border-color 140ms,box-shadow 140ms; }
.account-form-panel .field input:focus { border-color:#5685e4; box-shadow:0 0 0 3px color-mix(in srgb, var(--blue) 5%, transparent); outline:none; }
.account-form-panel .field input[aria-invalid=true] { border-color:#cf6464; background:#fffafa; }
.account-password { position:relative; }
.account-form-panel .account-password input { padding-right:68px!important; }
.account-password button { position:absolute; right:6px; top:4px; bottom:4px; min-width:50px; padding:0 8px; border-radius:6px; color:#536983; font-size:13px; font-weight:600; }
.account-password button:hover { background:#f1f5fa; color:var(--blue-dark); }
.account-form-panel .field-hint,.account-form-panel .field-error { font-size:13px; line-height:1.7; margin:0; }
.account-form-panel .field-error { color:#b63f3f; }
.account-form-panel .check { display:flex; align-items:flex-start; gap:10px; font-size:13px!important; font-weight:400!important; line-height:1.9; color:#58677b; }
.account-agree input { flex:none; width:16px; height:16px; margin:4px 0 0; accent-color:var(--blue); }
.account-agree a { color:var(--blue-dark); text-decoration:underline; text-underline-offset:3px; }
.account-submit { width:100%; min-height:47px; justify-content:space-between; padding-inline:18px; border-radius:24px; margin-top:2px; }
.account-submit:disabled { opacity:.65; cursor:wait; }
.account-free { font-size:13px; text-align:center; color:var(--muted); margin-top:-6px; }
.account-form-panel .auth-switch { padding-top:22px; margin-top:24px; border-top:1px solid var(--line); font-size:13px; text-align:center; }
.auth-switch a { font-weight:600; margin-left:5px; }
.auth-error-summary { padding:11px 13px; margin-bottom:20px; font-size:13px; border-radius:8px; }
.account-footer { display:flex; justify-content:center; gap:14px; padding:24px; font-size:13px; color:#5f6e86; }

@media (max-width:1399px) {
  .header-inner { gap:20px; }
  .primary-nav { gap:20px; }
  .search-form { width:180px; }
  .page-layout { grid-template-columns:190px minmax(0,1fr) 248px; gap:20px; }
  .rail-link { font-size:13px; gap:9px; }
  .top-stories { grid-template-columns:1fr 1fr; gap:14px; }
  .lead-story .lead-copy,.lead-story.is-text-only .lead-copy { padding:20px; }
  .lead-story .lead-copy>strong,.lead-story.is-text-only .lead-copy>strong { font-size:22px; }
}
@media (min-width:960px) and (max-width:1199px) {
  .header-inner { gap:16px; flex-wrap:wrap; height:auto; min-height:86px; padding-block:10px; }
  .brand { flex-basis:132px; }
  .brand img { width:132px; }
  .primary-nav { gap:17px; }
  .nav-link { font-size:14px; }
  .search-form { display:flex; }
  .header-utilities { gap:12px; }
  .page-layout { grid-template-columns:minmax(0,1fr); gap:22px; }
  .sidebar { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-column:auto; align-items:start; }
  .sidebar-footnote { grid-column:1/-1; }
  .hero[data-art="full"] h1 { font-size:30px; }
  .hero[data-art="full"] .hero-content { max-width:58%; }
  .home-screen .page-layout { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:959px) {
  .page-width { width:calc(100% - 40px); }
  .header-inner { height:auto; }
  .hero[data-art="full"],.hero-slim { width:calc(100% - 40px); }
  .page-layout { grid-template-columns:minmax(0,1fr); gap:24px; }
  .category-rail { top:auto; padding:9px; }
  .category-rail .rail-link { margin:0 6px 0 0; }
  .hero[data-art="full"] .hero-inner { padding:25px 28px; }
  .hero[data-art="full"] .hero-content { max-width:60%; }
  .hero[data-art="full"] h1 { font-size:28px; }
  .hero[data-art="full"] .hero-text { font-size:14px; }
  .top-stories { grid-template-columns:1fr 1fr; }
  .sidebar { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; }
  .sidebar-footnote { grid-column:1/-1; }
  .account-layout { grid-template-columns:.9fr 1fr; }
  .account-story { padding:30px; }
  .account-story h2 { font-size:32px; }
  .account-form-panel { padding:32px; }
  .account-form-intro h1 { font-size:23px; }
  .home-screen .page-layout { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:719px) {
  .account-header { height:84px; }
  .account-header .brand,.account-header .brand img { width:124px; flex-basis:124px; height:62px; }
  .account-header-links { gap:16px; }
  .account-layout { display:flex; flex-direction:column-reverse; border:0; border-radius:0; margin-top:10px; min-height:0; max-width:460px; }
  .account-form-panel { padding:16px 4px 28px; width:100%; }
  .account-story { min-height:0; padding:24px; border-radius:16px; margin-top:12px; }
  .account-story-copy { max-width:68%; }
  .account-story h2 { font-size:23px; margin:10px 0 0; }
  .account-eyebrow { font-size:13px; letter-spacing:.8px; }
  .account-story-copy>p,.account-story ul,.account-location { display:none; }
  .account-illustration { height:100%; width:100%; object-position:73% bottom; mask-image:linear-gradient(90deg,transparent 35%,#000 75%); }
  .account-form-intro h1 { font-size:25px; }
  .account-form-panel .field input:not([type=checkbox]) { font-size:16px; }
}
@media (max-width:620px) {
  .live-strip { display:none; }
  .page-width { width:calc(100% - 32px); }
  .hero[data-art="full"],.hero-slim { width:calc(100% - 32px); margin-top:16px; }
  .header-inner { height:auto; gap:0 10px; padding-top:8px; }
  .header-utilities { gap:10px; }
  .header-login { display:inline-flex; font-size:13px; }
  .logout-form { display:flex; order:1; }
  .account-menu-name,.header-account-menu summary>.icon { display:none; }
  .header-account-menu summary { width:34px; justify-content:center; }
  .header-signup { font-size:13px; padding:8px 11px; min-height:36px; }
  .header-signup .icon { display:none; }
  .primary-nav { gap:24px; }
  .search-form { width:100%; }
  .nav-link { font-size:13px; }
  .live-strip { font-size:13px; }
  .live-strip-inner { min-height:28px; }
  .ticker-inner { gap:9px; min-height:38px; }
  .ticker { font-size:13px; }
  .ticker-label { font-size:13px; padding:2px 7px; }
  .ticker-controls button { width:25px; height:28px; }
  .hero[data-art="full"] { min-height:0; padding-bottom:78px; background-size:auto 142px; background-position:76% bottom; border-radius:14px; }
  .hero[data-art="full"]::before { background:linear-gradient(#f0f9ff 0%,#f0f9ff 65%,#f0f9ff00 88%); }
  .hero[data-art="full"] .hero-inner { padding:24px; min-height:0; }
  .hero[data-art="full"] .hero-content { width:100%; max-width:100%; }
  .hero[data-art="full"] h1 { font-size:26px; line-height:1.4; }
  .hero[data-art="full"] .hero-eyebrow { font-size:13px; margin-bottom:10px; }
  .hero[data-art="full"] .hero-text { font-size:13px; max-width:300px; margin-top:9px; }
  .hero[data-art="full"] .hero-actions { margin-top:16px; gap:8px; }
  .hero[data-art="full"] .hero-actions .button { padding:9px 12px; font-size:13px; min-height:40px; }
  .page-layout { padding-top:20px; gap:22px; }
  .main-column { gap:28px; }
  .section-heading h1,.section-heading h2 { font-size:20px; }
  .top-stories { grid-template-columns:1fr; gap:12px; }
  .lead-story .lead-copy>strong,.lead-story.is-text-only .lead-copy>strong { font-size:22px; -webkit-line-clamp:4; }
  .lead-story .lead-summary { -webkit-line-clamp:2; }
  .lead-story .lead-copy,.lead-story.is-text-only .lead-copy { padding:20px; }
  .top-stories .story-row { padding:14px 0; }
  .story-row strong { font-size:14px; }
  .forum-grid { grid-template-columns:repeat(6,minmax(0,1fr)); gap:8px; }
  .forum-tile { min-width:0; min-height:76px; padding:12px 4px; gap:8px; }
  .forum-tile { grid-column:span 2; }
  .forum-tile:nth-last-child(-n+2) { grid-column:span 3; }
  .forum-tile span { font-size:13px; overflow-wrap:normal; word-break:normal; }
  .forum-tile .icon { width:18px; height:18px; }
  .conversation-panel { padding:18px; }
  .conversation-empty.community-start { padding:20px 0 4px; gap:12px; }
  .community-start-icon { display:none; }
  .community-prompts { gap:12px; }
  .sidebar { grid-template-columns:1fr; }
  .welcome-panel { grid-template-columns:70px minmax(0,1fr); gap:0 10px; }
  .welcome-panel .member-art,.welcome-panel .member-art img { width:70px; height:62px; }
  .member-actions { flex-wrap:wrap; }
  .member-actions .button { flex:1; }
  .sidebar-footnote { grid-column:auto; }
  .hero-slim .hero-inner { padding:18px; }
  .account-home { font-size:13px; }
  .account-home .icon { display:none; }
  .account-header-links { gap:14px; }
  .account-footer { font-size:13px; gap:10px; padding:22px 12px; }
  .home-screen .page-layout { padding-top:28px; }
  .home-screen .main-column { gap:32px; }
  .home-screen .section-heading h2 { font-size:22px; }
  .home-screen .top-stories { grid-template-columns:1fr; gap:24px; }
  .home-screen .lead-story .lead-copy>strong { font-size:23px; -webkit-line-clamp:3; }
  .home-screen .lead-summary { -webkit-line-clamp:2; }
  .home-screen .top-stories>.story-list { border-left:0; border-top:1px solid var(--line); padding:18px 0 0; }
  .home-screen .top-stories .story-row strong { font-size:15px; }
  .home-screen .top-stories .story-thumb { width:70px; flex-basis:70px; height:60px; }
  .home-news-tabs { gap:22px; margin-bottom:20px; }
  .home-news .news-card { gap:16px; }
  .home-news .news-image { height:116px; }
  .home-news .news-copy { padding:0; }
  .home-news .news-copy h3 { font-size:15px; }
  .home-screen .forum-grid { gap:8px; }
  .home-screen .conversation-panel { padding:18px; }
}
@media (max-width:370px) {
  .header-inner>.brand,.header-inner>.brand img { width:96px; flex-basis:96px; }
  .header-inner { column-gap:6px; }
  .header-signup { padding-inline:9px; }
  .header-signup .icon { display:block; }
  .header-write-label { display:none; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation:none!important; transition:none!important; }
}

/* Clear, labeled navigation with large targets for every age. */
.nav-link { font-size:16px; }
.rail-link { font-size:15px; min-height:46px; }
.header-login { font-size:14px; min-height:44px; }
.header-signup { font-size:14px; min-height:44px; }
.language-switch a { min-height:44px; display:flex; align-items:center; padding-inline:3px; }
.home-news-tabs button { font-size:15px; min-height:44px; }
.account-menu-name { display:inline; max-width:none; }
.header-account-menu summary { font-size:14px; min-height:44px; width:auto; padding-inline:5px; }
.account-menu-popover>a,.account-menu-popover button { font-size:15px; min-height:46px; }
.forum-tile span { font-size:14px; }
.community-prompts a { font-size:14px; min-height:44px; }
.home-screen .member-actions .button { min-height:44px; font-size:14px; }
@media (max-width:1199px) and (min-width:621px) {
  .primary-nav { gap:30px; }
}
@media (max-width:620px) {
  .header-inner { gap:8px; padding-top:10px; }
  .header-inner>.brand,.header-inner>.brand img { width:140px; flex-basis:140px; }
  .header-login,.header-signup,.header-account-menu { order:0; }
  .header-login { padding:8px 2px; }
  .header-signup { font-size:13px; padding:9px 13px; }
  .header-signup:has(.header-write-label) { display:none; }
  .account-menu-name { display:inline; }
  .header-account-menu summary>.icon { display:block; }
  .header-account-menu summary { width:auto; gap:6px; }
  .language-switch { order:2; margin-left:auto; }
  .search-form { order:2; width:calc(100% - 128px); height:44px; margin:0; }
  .primary-nav { display:grid; grid-template-columns:.8fr .9fr 1.1fr 1fr 1.5fr; width:100%; height:auto; gap:2px; padding:6px 0 10px; overflow:visible; white-space:normal; }
  .nav-link { min-height:46px; justify-content:center; font-size:14px; text-align:center; padding:8px 3px; border-radius:9px; background:transparent; white-space:normal; line-height:1.4; }
  .nav-link.is-active { background:#eaf2ff; color:var(--blue-dark); }
  .nav-link.is-active>span::after { display:none; }
  .category-rail { flex-wrap:wrap; overflow:visible; margin-inline:0; padding:12px; border:1px solid var(--line); border-radius:12px; }
  .category-rail .rail-link { flex:1 0 calc(50% - 12px); margin:0; min-height:44px; font-size:14px; }
  .home-news-tabs { gap:6px; flex-wrap:wrap; overflow:visible; border-bottom:0; margin-bottom:20px; }
  .home-news-tabs button { border:1px solid var(--line); border-radius:9px; padding:9px 13px; background:#fff; min-height:44px; font-size:14px; }
  .home-news-tabs button[aria-selected=true] { border-color:#a7c4f4; background:#edf4ff; }
  .ticker { display:none; }
  .home-screen .hero[data-art="full"] { margin-top:18px; }
  .account-header .language-switch { order:0; }
  .account-header .brand,.account-header .brand img { width:96px; flex-basis:96px; }
  .account-header-links { gap:12px; }
}
@media (max-width:370px) {
  .header-inner>.brand,.header-inner>.brand img { width:96px; flex-basis:96px; }
  .header-login { font-size:13px; }
  .header-signup { padding-inline:10px; }
}


/* One useful illustrated card replaces the full-width home banner. */
.home-news-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:16px; margin-bottom:20px; }
.home-news-heading p { font-size:13px; color:#526982; margin-bottom:6px; }
.home-news-heading h1 { font-size:29px; line-height:1.4; letter-spacing:-.8px; margin:0; }
.home-news-heading>.more-link { min-height:44px; }
.home-screen .sidebar>.advertisement { order:0; }
.neighborhood-card { padding:0; overflow:hidden; background:#fff; }
.neighborhood-scene { display:block; width:100%; height:auto; aspect-ratio:3/2; object-fit:cover; background:#e6f1f8; }
.neighborhood-weather { padding:18px 20px 0; }
.neighborhood-location { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.neighborhood-location h2 { display:flex; align-items:center; gap:5px; font-size:15px; font-weight:650; }
.neighborhood-location h2 .icon { width:15px; height:15px; color:#5f6e86; }
.neighborhood-location>span { font-size:13px; color:var(--muted); }
.neighborhood-conditions { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 0 4px; }
.neighborhood-conditions>p { display:flex; align-items:baseline; gap:10px; }
.neighborhood-conditions strong { font-size:36px; line-height:1.2; font-weight:650; letter-spacing:-1.5px; }
.neighborhood-conditions strong small { font-size:17px; font-weight:500; letter-spacing:0; }
.neighborhood-celsius { font-size:14px; color:var(--muted); }
.neighborhood-condition { display:flex; flex-direction:column; align-items:center; font-size:13px; color:#52627b; gap:2px; }
.neighborhood-condition .weather-icon { width:auto; height:auto; }
.neighborhood-condition .weather-icon .icon { width:26px; height:26px; }
.neighborhood-forecast summary { min-height:44px; cursor:pointer; display:flex; align-items:center; justify-content:space-between; font-size:13px; color:#52627b; list-style:none; }
.neighborhood-forecast summary::-webkit-details-marker { display:none; }
.neighborhood-forecast summary .icon { width:14px; height:14px; transform:rotate(90deg); }
.neighborhood-forecast[open] summary .icon { transform:rotate(-90deg); }
.neighborhood-forecast summary:hover { color:var(--blue-dark); }
.neighborhood-forecast summary:focus-visible { outline:2px solid var(--blue); outline-offset:2px; border-radius:5px; }
.neighborhood-forecast .weather-facts { padding:12px 0; }
.neighborhood-forecast .forecast { padding:12px 0; }
.neighborhood-forecast .widget-note { padding:0 0 14px; }
.neighborhood-weather-unavailable { padding:18px 0; font-size:14px; color:var(--muted); }
.neighborhood-join { border-top:1px solid var(--line); padding:18px 20px; background:#fbfcff; }
.neighborhood-join h3 { font-size:17px; line-height:1.5; margin:0 0 5px; }
.neighborhood-join>p { font-size:13px; line-height:1.7; color:var(--muted); }
.neighborhood-join>.button { width:100%; min-height:44px; margin-top:14px; font-size:14px; }
.neighborhood-join>.neighborhood-signin { text-align:center; margin-top:4px; display:flex; justify-content:center; align-items:center; gap:7px; flex-wrap:wrap; }
.neighborhood-signin a { display:inline-flex; align-items:center; min-height:36px; color:var(--blue-dark); font-weight:600; }
.neighborhood-member { border-top:1px solid var(--line); padding:14px 20px; font-size:14px; }
.neighborhood-member p { overflow-wrap:anywhere; }
.neighborhood-member a { display:flex; gap:6px; align-items:center; min-height:44px; font-weight:600; color:var(--blue-dark); }
.sidebar-ad-stack { display:grid; gap:14px; }
.ad-label { font-size:13px; color:var(--muted); }
.ad-placement { display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:22px; border-radius:12px; border:1px solid #d9e4ee; }
.ad-placement-primary { min-height:228px; background:#edf3f8; color:#355677; }
.ad-placement-eyebrow { font-size:13px; letter-spacing:.8px; color:#5a6e83; }
.ad-placement-primary>.icon { height:28px; width:28px; margin:17px 0 10px; }
.ad-placement-primary>strong { white-space:pre-line; font-size:23px; line-height:1.35; font-weight:650; letter-spacing:-.5px; }
.ad-placement-action { display:flex; gap:7px; align-items:center; margin-top:16px; font-size:13px; font-weight:600; }
.ad-placement .icon { flex:none; }
.ad-placement-action .icon,.ad-placement-secondary>span>.icon { width:14px; height:14px; }
.ad-placement-secondary { min-height:120px; background:#fcfaf5; border-color:#e7e2d7; gap:8px; padding:18px 14px; }
.ad-placement-secondary .ad-placement-eyebrow { color:#77694e; letter-spacing:.3px; }
.ad-placement-secondary strong { font-size:14px; line-height:1.55; }
.ad-placement-secondary>span:last-child { display:flex; align-items:center; gap:6px; font-size:13px; color:#665e50; }
.ad-placement:hover { border-color:#a4bfdc; }
@media (min-width:1200px) {
  .home-screen .page-layout { grid-template-columns:212px minmax(0,1fr) 300px; gap:26px; }
}
@media (min-width:621px) and (max-width:1199px) {
  .home-screen .sidebar { grid-template-columns:300px minmax(0,1fr); gap:24px; }
}
@media (max-width:620px) {
  .home-news-heading h1 { font-size:25px; }
  .home-news-heading { margin-bottom:18px; }
  .home-screen .page-layout { padding-top:24px; }
  .home-screen .sidebar { max-width:400px; width:100%; justify-self:center; }
}
.neighborhood-card { scroll-margin-top:120px; }
.neighborhood-forecast .weather-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
.neighborhood-signin a { min-height:44px; }
@media (max-width:620px) {
  .main-column>.neighborhood-card { width:100%; }
  .home-news-stage { display:block; }
  .home-news-panel[hidden] { display:none!important; }
}

/* The compact wordmark keeps the name readable at every size. */
.brand { display:flex; align-items:center; }
.brand:has(.brand-image) { width:168px; flex-basis:168px; }
.brand img.brand-image { flex:none; width:168px; height:56px; object-fit:contain; }
@media(max-width:1199px) {
  .brand:has(.brand-image) { width:144px; flex-basis:144px; }
  .brand img.brand-image { width:144px; height:48px; }
}
@media(max-width:620px) {
  .header-inner>.brand:has(.brand-image) { width:128px; flex-basis:128px; }
  .brand img.brand-image { width:128px; height:43px; }
  .account-header .brand:has(.brand-image) { width:100px; flex-basis:100px; }
  .account-header .brand img.brand-image { width:100px; height:34px; }
}

