/* Shared desktop publication grid, header, and page hierarchy. */

:root{
  --publication-shell:1220px;
  --bn-page-gutter:30px
}
@media(min-width:1280px){:root{--bn-page-gutter:38px}}
@media(min-width:1600px){:root{--bn-page-gutter:44px}}

@media(min-width:721px){
  html body.publication-shell .wrap,
  html body.publication-shell .header-inner,
  html body.publication-shell .site-legal-footer-inner,
  html body.publication-shell .shell,
  html body.home-page .shell,
  html body.publication-shell :is(.content-shell,.method-shell,.record-shell,.updates-page,.puzzles-main,.sports-shell,.traffic-shell,.traffic-page,.ward-shell,.explore-main,.feedback-main,.beginner,.food-shell,.authority-shell){
    width:min(calc(100% - (var(--bn-page-gutter) * 2)),var(--publication-shell))!important;
    max-width:none!important;
    margin-inline:auto!important;
    padding-left:0!important;
    padding-right:0!important
  }
  html body .header,
  html body .site-header{
    min-height:68px
  }
  html body .header-inner,
  html body .site-header .header-inner{
    min-height:68px;
    align-items:center
  }
  html body .news-brand-logo{
    width:40px!important;
    height:auto!important;
    max-width:40px!important
  }
  html body .header-theme-toggle{
    display:grid!important;
    flex:0 0 36px;
    place-items:center;
    width:36px;
    height:36px;
    margin:0;
    padding:0;
    border:0;
    border-radius:8px;
    background:transparent;
    color:var(--navy,#071b35);
    cursor:pointer
  }
  html body .header-theme-toggle svg{
    width:18px;
    height:18px
  }
  html body .header-theme-toggle:focus-visible{
    outline:2px solid #0864c7;
    outline-offset:2px
  }
  html body .header-controls{
    display:flex!important;
    align-items:center!important;
    gap:12px!important
  }
  html body .header-controls .header-theme-toggle{
    margin-left:2px
  }
  html body .header-search{
    width:260px!important;
    flex:0 0 260px!important
  }
  html body .desktop-primary-nav{
    align-self:center!important
  }
}

@media(min-width:1100px){
  html body .header-search{width:280px!important;flex-basis:280px!important}
}

.breaking-now[hidden],
.breaking-now:empty,
.breaking-now.is-empty{
  display:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  min-height:0!important;
  height:0!important
}

html body .event-type{
  position:static!important;
  display:block;
  width:max-content;
  margin:0 0 6px;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--accent,#0864c7)!important;
  font:800 10px/1 Inter,Arial,sans-serif;
  letter-spacing:.08em;
  text-transform:uppercase;
  box-shadow:none!important
}

html body .news-kicker{
  margin:0 0 8px;
  color:var(--accent,#0864c7);
  font:800 11px/1 Inter,Arial,sans-serif;
  letter-spacing:.1em;
  text-transform:uppercase
}

html body .route-ask-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px
}
html body .route-ask-row .live-chip{margin:0}
html body .route-status-note{
  margin:4px 0 0;
  color:var(--muted,#657083);
  font-size:13px
}
html body .leaflet-control-attribution{
  font-size:10px!important;
  background:rgba(255,255,255,.72)!important;
  max-width:min(100%,280px)
}
html[data-theme="dark"] body .leaflet-control-attribution{
  background:rgba(16,21,23,.7)!important;
  color:#c5d0d6
}

@media(min-width:721px) and (max-width:900px){
  html body.home-page .home-main{padding-top:34px!important}
}

@media(min-width:901px){
  html body.home-page .breaking-now:not([hidden]):not(:empty):not(.is-empty){
    display:grid;
    grid-template-columns:minmax(0,1fr);
    align-items:stretch;
    gap:6px 0;
    padding:10px 16px;
    margin-bottom:16px;
    min-height:72px;
    max-height:90px;
    box-sizing:border-box
  }
  html body.home-page .breaking-now[data-count="2"] .breaking-list{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:0 20px
  }
  html body.home-page .breaking-now[data-count="2"] .breaking-row + .breaking-row{
    padding-left:20px;
    border-left:1px solid var(--line)
  }
  html body.home-page .home-main{padding-top:56px}
  html body.home-page .now-card{
    min-height:64px;
    max-height:76px;
    padding:10px 14px;
    gap:12px
  }
  html body.home-page .now-card .now-icon{width:28px;height:28px;flex-basis:28px}
  html body.home-page .now-card-copy strong{font-size:16px;line-height:1.15}
  html body.home-page .now-card-copy em{font-size:13px}
  html body.home-page .now-dots{margin:11px 0 16px;gap:20px}
  html body.home-page .lead-grid{
    grid-template-columns:minmax(0,1.35fr) minmax(260px,.58fr);
    gap:36px;
    align-items:start
  }
  html body.home-page .top-copy h1{
    font-size:clamp(36px,3vw,52px);
    line-height:1.05;
    white-space:nowrap
  }
  html body.home-page .top-image{max-height:360px}
  html body.home-page .pick-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px}
  html body.home-page .pick-card .pick-image,
  html body.home-page .pick-image{aspect-ratio:16/10}
  html body.home-page .explore-band,
  html body.home-page .home-work-band,
  html body.home-page .lower-grid{margin-top:56px}
}

@media(min-width:721px) and (max-width:1100px){
  html body.home-page .top-copy h1{white-space:normal}
}

/* News */
@media(min-width:761px){
  html body .updates-page{margin-top:44px}
  html body .news-mast{
    display:block!important;
    align-items:start!important;
    margin-bottom:28px
  }
  html body .news-mast h1{
    font-size:clamp(42px,4.4vw,56px)!important;
    line-height:1.05!important;
    white-space:nowrap
  }
  html body .news-mast p{
    max-width:42em!important;
    margin:14px 0 0!important;
    font-size:17px!important
  }
  html body .news-tools{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px 12px;
    margin:0 0 28px
  }
  html body .news-tools input{flex:0 1 260px;min-width:200px}
  html body .news-chips{flex:1 1 auto}
  html body .section-head{border-bottom:1px solid var(--line);margin-bottom:20px;padding-bottom:10px}
  html body .section-head span{display:none}
  html body .latest-card time{
    color:var(--muted,#657083);
    font:650 12px/1.2 Inter,Arial,sans-serif;
    text-align:right;
    white-space:nowrap
  }
  html body .original-grid{
    display:grid;
    grid-template-columns:minmax(0,1.2fr) minmax(0,.6fr) minmax(0,.6fr);
    gap:22px;
    align-items:start
  }
  html body .original-card:first-child strong{font-size:30px}
  html body .original-card:not(:first-child) p{display:none}
  html body .latest-card{
    grid-template-columns:120px minmax(0,1fr) 88px!important;
    gap:18px!important;
    padding:16px 0!important;
    align-items:center
  }
  html body .latest-card img{
    order:-1;
    width:120px;
    height:80px;
    aspect-ratio:3/2;
    object-fit:cover
  }
  html body .latest-card strong{font-size:20px!important}
  html body .latest-card p{font-size:14px}
}

/* Explore */
@media(min-width:721px){
  html body .explore-heading h1,
  html body .explore-main h1{
    white-space:nowrap;
    font-size:clamp(40px,4vw,54px)
  }
  html body .calendar-view select{
    min-height:36px;
    padding:0 28px 0 12px;
    border:1px solid var(--line,#dfe4ea);
    border-radius:10px;
    background:transparent;
    color:var(--ink,#152238);
    font:650 13px/1 Inter,Arial,sans-serif;
    box-shadow:none
  }
  html body .calendar-view{background:transparent}
  html body .event-copy{padding:12px 12px 14px}
  html body .event-copy h3{margin:4px 0 0;line-height:1.25}
  html body .event-meta{margin-bottom:2px}
  html body .event-place{margin-top:6px}
  html body .bored-copy{display:grid;gap:10px;padding-bottom:4px}
  html body .bored-copy p{margin:0}
  html body .idea-shuffle{
    justify-self:start;
    min-height:40px;
    padding:0 14px;
    border-radius:10px
  }
  html body .bored-actions{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px 12px;
    margin-top:8px
  }
  html body .bored-actions button{
    min-height:34px;
    padding:0 10px;
    border:1px solid var(--line,#dfe4ea);
    border-radius:8px;
    background:transparent;
    color:var(--ink,#152238);
    font:650 13px/1 Inter,Arial,sans-serif
  }
  html body .bored-actions .bored-maps{display:none}
  html body .bored-copy > .bored-maps{
    display:inline-flex;
    margin-top:2px;
    color:var(--accent,#0864c7);
    font:650 13px/1 Inter,Arial,sans-serif;
    text-decoration:none
  }
  html body .bored-card{align-content:start}
}

/* Elections */
@media(min-width:721px){
  html body .election-layout{
    display:block!important;
    grid-template-columns:none!important
  }
  html body #candidates .eyebrow{margin-bottom:8px}
  html body #candidates>h1{
    margin:0 0 12px!important;
    font-size:clamp(40px,4.4vw,56px)!important;
    line-height:1.05!important
  }
  html body .section-intro{margin-bottom:28px}
  html body .candidate-strip,
  html body .candidate-list{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:12px!important;
    margin:0 0 28px
  }
  html body .candidate-card{
    display:grid!important;
    grid-template-columns:1fr!important;
    justify-items:center;
    gap:8px!important;
    min-height:0!important;
    padding:12px 10px 14px!important;
    text-align:center;
    border-radius:12px
  }
  html body .candidate-thumb,
  html body .candidate-card .mini-placeholder{
    width:72px!important;
    height:72px!important;
    border-radius:50%
  }
  html body .candidate-card span{min-width:0}
  html body .candidate-card strong{font-size:14px}
  html body .issue-compare{margin:0 0 32px}
  html body .issue-compare h2{margin:0 0 12px;font:700 28px/1.15 var(--publication-serif,Georgia,serif)}
  html body .issue-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
  html body .issue-tabs button{
    min-height:36px;
    padding:0 12px;
    border:1px solid var(--line,#dfe4ea);
    border-radius:999px;
    background:transparent;
    color:var(--ink,#152238);
    font:650 13px/1 Inter,Arial,sans-serif;
    cursor:pointer
  }
  html body .issue-tabs button[aria-pressed="true"],
  html body .issue-tabs button[aria-selected="true"]{
    background:var(--navy,#071b35);
    color:#fff;
    border-color:var(--navy,#071b35)
  }
  html body .issue-compare-label{
    margin:0 0 12px;
    color:var(--muted,#657083);
    font:800 11px/1 Inter,Arial,sans-serif;
    letter-spacing:.08em;
    text-transform:uppercase
  }
  html body .issue-compare-card.is-active{border-color:var(--navy,#071b35)}
  html body .issue-compare-grid{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:12px
  }
  html body .issue-compare-card{
    padding:12px;
    border:1px solid var(--line,#dfe4ea);
    border-radius:12px;
    background:var(--paper,#fff)
  }
  html body .issue-compare-card strong{display:block;margin-bottom:6px;font:750 13px/1.2 Inter,Arial,sans-serif}
  html body .issue-compare-card p{margin:0;color:var(--muted,#657083);font:400 13px/1.35 Inter,Arial,sans-serif}
  html body .profile{margin-top:8px}
}

@media(min-width:721px) and (max-width:1100px){
  html body .issue-compare-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  html body .candidate-strip{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}

/* Traffic */
@media(min-width:721px){
  html body .traffic-page{
    width:min(calc(100% - (var(--bn-page-gutter) * 2)),var(--publication-shell))!important;
    margin-top:40px
  }
  html body .traffic-hero{
    display:block;
    margin-bottom:0
  }
  html body .traffic-page .traffic-kicker{margin:0 0 8px}
  html body .traffic-page h1{
    max-width:none;
    margin:8px 0 0;
    font-size:clamp(40px,4.6vw,60px);
    line-height:1.05;
    white-space:nowrap
  }
  html body .route-chips{margin:28px 0 10px}
  html body .route-origin{
    margin:0 0 0;
    font-size:12px;
    font-weight:500
  }
  html body .route-status{margin-top:16px}
  html body .route-stage{
    display:grid;
    grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);
    gap:20px;
    align-items:start;
    margin-top:20px
  }
  html body .route-map{height:360px;min-height:320px}
  html body .camera-preview{margin-top:0}
  html body .camera-preview-head{margin-bottom:10px}
  html body .camera-preview-meta{margin-top:8px}
  html body .camera-pucks{margin-top:12px}
  html body .map-credit{
    margin-top:8px;
    font-size:11px;
    opacity:.8
  }
}

@media(max-width:900px){
  html body .route-stage{display:block}
  html body .traffic-page h1{white-space:normal}
}
@media(max-width:760px){
  html body .news-mast h1,
  html body .explore-heading h1,
  html body .top-copy h1,
  html body .traffic-page h1{white-space:normal}
  html body .latest-card time{display:block;margin-top:6px;color:var(--muted,#657083);font:650 12px/1.2 Inter,Arial,sans-serif}
}

html[data-theme="dark"] body .header-theme-toggle{color:#edf4f8}
html[data-theme="dark"] body .issue-compare-card,
html[data-theme="dark"] body .issue-tabs button{background:#15212a;border-color:#30404b;color:#edf4f8}
html[data-theme="dark"] body .issue-tabs button[aria-pressed="true"],
html[data-theme="dark"] body .issue-tabs button[aria-selected="true"]{background:#edf4f8;color:#101517}
html[data-theme="dark"] body .issue-compare-card.is-active{border-color:#edf4f8}
html[data-theme="dark"] body .calendar-view select{color:#edf4f8;border-color:#30404b}
