:root {
  --navy: #08294a;
  --red: #df1b2b;
  --muted: #50667d;
  --line: #dbe3ea;
}
* {
  box-sizing: border-box;
}
html {
  background: #eef4f8;
}
body {
  width: min(1500px, 100%);
  margin: auto;
  color: var(--navy);
  background: #fff;
  font-family: Arial, sans-serif;
}
.site-header {
  display: grid;
  grid-template-columns: 285px 1fr 260px;
  align-items: center;
  min-height: 70px;
  padding: 9px 46px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #fff 62%, #f4f8fb);
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.brand-mark {
  padding: 4px 7px;
  border: 2px solid var(--red);
  border-radius: 5px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}
.brand b,
.brand small {
  display: block;
}
.brand b {
  font-size: 20px;
}
.brand small {
  color: var(--muted);
  font-size: 9px;
}
.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 29px;
}
.desktop-nav a {
  position: relative;
  padding: 24px 0;
  color: inherit;
  font-size: 12px;
  text-decoration: none;
}
.desktop-nav .active {
  font-weight: 900;
}
.desktop-nav .active:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  height: 3px;
  background: var(--red);
}
.header-message {
  justify-self: end;
  font:
    12px/1.35 Georgia,
    serif;
}
.menu-button,
.mobile-nav {
  display: none;
}
main {
  padding: 12px 34px 6px;
}
.breadcrumbs {
  display: flex;
  gap: 11px;
  align-items: center;
  margin: 2px 0 12px;
  font-size: 11px;
}
.breadcrumbs a {
  color: #345f88;
  text-decoration: none;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 45px;
  align-items: end;
  margin-bottom: 13px;
}
.intro-grid h1 {
  margin: 0 0 7px;
  font:
    38px/0.98 Georgia,
    serif;
  letter-spacing: -1px;
}
.intro-grid p {
  max-width: 535px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.selectors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.selectors label {
  font-size: 10px;
  font-weight: 900;
}
.selectors select {
  display: block;
  width: 100%;
  height: 38px;
  margin-top: 6px;
  padding: 0 14px;
  border: 1px solid #cdd8e1;
  border-radius: 5px;
  color: var(--navy);
  background: #fff;
}
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1.03fr;
  gap: 12px;
}
.map-panel,
.ward-summary,
.evidence-section,
.meaning-grid > article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  padding: 13px 15px 5px;
}
.panel-heading h2,
.ward-summary h2,
.evidence-section h2,
.meaning-grid h2 {
  margin: 0;
  font:
    20px Georgia,
    serif;
}
.panel-heading p {
  margin: 3px 0;
  color: var(--muted);
  font-size: 10px;
}
.scale {
  display: grid;
  grid-template-columns: 14px 14px auto 14px 14px auto;
  gap: 4px;
  align-items: center;
  font-size: 9px;
}
.scale span,
.scale i {
  height: 12px;
  background: #d9eafb;
}
.scale span:nth-child(2) {
  background: #a7cdf1;
}
.scale i {
  background: #5d99d5;
}
.scale i:nth-of-type(2) {
  background: #1e5c9e;
}
#ward-map {
  height: 238px;
  background: #eef4f7;
}
.map-panel > footer {
  display: flex;
  justify-content: space-between;
  padding: 7px 14px;
  color: var(--muted);
  font-size: 9px;
}
.map-panel > footer a {
  color: inherit;
  text-decoration: none;
}
.ward-summary {
  display: grid;
  grid-template-columns: 1fr 210px;
  grid-template-rows: 1fr auto;
}
.summary-copy {
  padding: 14px 17px;
}
.ward-summary h2 {
  font-size: 24px;
}
.summary-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #335979;
  font-size: 11px;
}
.summary-meta i {
  height: 13px;
  border-left: 1px solid #9aacbc;
}
.summary-copy > p:last-child {
  margin: 20px 0 0;
  font-size: 12px;
  line-height: 1.55;
}
.ward-summary > img {
  width: 100%;
  height: 126px;
  object-fit: cover;
}
.ward-summary > aside {
  grid-column: 1/-1;
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 17px 14px;
  padding: 11px 14px;
  border-radius: 6px;
  color: #19558e;
  background: #eaf4fd;
}
.ward-summary > aside b {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #2877c5;
}
.ward-summary > aside p {
  margin: 0;
  font-size: 10px;
}
.evidence-section {
  margin-top: 10px;
  padding: 11px;
}
.evidence-section > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.evidence-section > header p {
  margin: 2px 0;
  color: var(--muted);
  font-size: 10px;
}
.evidence-section > header a,
.meaning-card a {
  color: #075da8;
  font-size: 10px;
  text-decoration: none;
}
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.metric-card {
  display: grid;
  grid-template-columns: 30px 1fr;
  min-height: 178px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.metric-icon {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  font-size: 17px;
}
.red {
  color: var(--red);
}
.green {
  color: #48a84e;
}
.blue {
  color: #2377c7;
}
.metric-card h3 {
  margin: 0;
  font-size: 12px;
}
.metric-card small {
  color: var(--muted);
  font-size: 9px;
}
.metric-card > strong {
  grid-column: 1/-1;
  margin-top: 10px;
  font:
    28px Georgia,
    serif;
}
.metric-card > p {
  grid-column: 1/-1;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}
.comparison,
.route-list {
  grid-column: 1/-1;
  align-self: end;
  margin-top: 9px;
  font-size: 8px;
}
.comparison span {
  display: grid;
  grid-template-columns: 68px 1fr 30px;
  gap: 5px;
  align-items: center;
  margin-top: 5px;
}
.comparison i {
  height: 7px;
  background: #9cc5e8;
}
.comparison span:first-child i {
  background: var(--red);
}
.comparison b {
  text-align: right;
}
.route-list {
  color: var(--muted);
  line-height: 1.5;
}
.meaning-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 10px;
  margin-top: 10px;
}
.meaning-grid > article {
  padding: 13px 15px;
}
.meaning-grid p {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}
.geo-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  text-align: center;
  font-size: 9px;
}
.geo-tabs > * {
  padding: 8px;
}
.geo-tabs b {
  border-bottom: 2px solid var(--red);
}
.meaning-card {
  background: linear-gradient(90deg, #f1faef, #fff);
}
.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 10px;
  padding: 14px 42px;
  color: #fff;
  background: var(--navy);
}
.site-footer b span {
  color: #ff3340;
}
.site-footer small,
.site-footer > span {
  font-size: 9px;
}
.site-footer > span {
  text-align: right;
}
@media (max-width: 800px) {
  body {
    padding-bottom: 62px;
  }
  .site-header {
    position: sticky;
    z-index: 2000;
    top: 0;
    grid-template-columns: 1fr auto;
    min-height: 62px;
    padding: 9px 14px;
    background: #fff;
  }
  .brand b {
    font-size: 17px;
  }
  .desktop-nav,
  .header-message {
    display: none;
  }
  .menu-button {
    display: grid;
    gap: 4px;
    width: 38px;
    padding: 8px;
    border: 0;
    background: transparent;
  }
  .menu-button i {
    height: 2px;
    background: var(--navy);
  }
  main {
    padding: 12px;
  }
  .breadcrumbs {
    overflow: auto;
    white-space: nowrap;
  }
  .intro-grid {
    display: block;
  }
  .intro-grid h1 {
    font-size: 34px;
  }
  .intro-grid h1 br {
    display: none;
  }
  .intro-grid p {
    font-size: 13px;
  }
  .selectors {
    grid-template-columns: 1fr;
    margin-top: 16px;
    gap: 10px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .ward-summary {
    grid-template-columns: 1fr 85px;
  }
  .ward-summary > img {
    height: 86px;
  }
  .summary-copy {
    padding: 13px;
  }
  .summary-copy > p:last-child {
    margin-top: 12px;
  }
  #ward-map {
    height: 265px;
  }
  .map-panel > footer {
    display: block;
  }
  .evidence-grid {
    grid-template-columns: 1fr 1fr;
  }
  .evidence-section > header {
    align-items: start;
  }
  .meaning-grid {
    grid-template-columns: 1fr;
  }
  .site-footer {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .site-footer small,
  .site-footer > span {
    display: none;
  }
  .mobile-nav {
    position: fixed;
    z-index: 3000;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: 62px;
    padding: 6px;
    border-top: 1px solid var(--line);
    background: #fff;
  }
  .mobile-nav a {
    display: grid;
    place-items: center;
    color: var(--navy);
    font-size: 9px;
    font-weight: 800;
    text-decoration: none;
  }
  .mobile-nav .active {
    color: var(--red);
  }
}
@media (max-width: 430px) {
  .evidence-grid {
    grid-template-columns: 1fr;
  }
  .metric-card {
    min-height: 150px;
  }
  .ward-summary {
    grid-template-columns: 1fr;
  }
  .ward-summary > img {
    display: none;
  }
}
.meaning-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.meaning-links a { font-weight: 800; }
