:root {
  color-scheme: light;
  --ink: #161616;
  --muted: #666;
  --line: #dedede;
  --paper: #fff;
  --soft: #f3f4f5;
  --brand: #004a84;
  --brand-dark: #003563;
  --accent: #e30a17;
  --content: 1180px;
}
* { box-sizing: border-box; }
html { background: #e9eaec; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 Arial, Helvetica, sans-serif;
  margin: 0 auto;
  min-height: 100vh;
}
a { color: inherit; }
img { display: block; height: auto; max-width: 100%; }
.site {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.topbar {
  background: var(--brand-dark);
  color: #fff;
  font-size: .74rem;
}
.topbar-inner {
  align-items: center;
  display: flex;
  gap: 1rem;
  margin: 0 auto;
  justify-content: center;
  padding: .4rem 1.25rem;
}
.today { color: var(--brand); display: block; font-weight: 700; }
.ticker {
  display: flex;
  gap: .8rem;
  list-style: none;
  margin: 0 0 0 auto;
  overflow-x: auto;
  padding: 0;
  scrollbar-width: none;
}
.ticker li { align-items: baseline; display: flex; flex: none; gap: .3rem; }
.ticker .name { font-weight: 700; letter-spacing: .03em; opacity: .8; }
.ticker .change { font-size: .72rem; font-weight: 700; }
.ticker .eur { font-size: .72rem; opacity: .75; }
.ticker .up { color: #5fd38d; }
.ticker .down { color: #ff7b7b; }
.ticker .flat { color: #cfd8e3; }
.masthead {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--content);
  padding: 1.45rem 1.25rem 1rem;
}
.brand {
  align-items: center;
  color: var(--brand);
  display: flex;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  gap: .6rem;
  letter-spacing: -.01em;
  line-height: .9;
  text-decoration: none;
}
.brand img { border-radius: .35rem; flex: none; height: 3.5rem; width: 3.5rem; }
.masthead p {
  color: var(--muted);
  font-size: .82rem;
  margin: 0 0 .15rem;
  text-align: right;
}
.search {
  display: flex;
  margin: 0 auto;
  max-width: var(--content);
  padding: 0 1.25rem .9rem;
}
.search input {
  border: 1px solid var(--line);
  border-radius: .2rem 0 0 .2rem;
  min-height: 2.5rem;
  padding: .55rem .75rem;
  width: min(22rem, 100%);
}
.search button {
  background: var(--brand);
  border: 0;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  padding: .55rem 1rem;
}
.categories {
  background: var(--brand);
  border-bottom: 3px solid var(--accent);
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 0 max(1.25rem, calc((100vw - var(--content)) / 2 + 1.25rem));
  scrollbar-width: none;
}
.categories a {
  color: #fff;
  flex: 0 0 auto;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .035em;
  padding: .72rem 1.1rem;
  text-decoration: none;
  text-transform: uppercase;
}
.categories a:hover { background: var(--brand-dark); }
.dev-release {
  background: #fdecea;
  border: 2px solid #c0392b;
  border-radius: 4px;
  color: #7b241c;
  margin: 1rem 0 1.5rem;
  padding: .9rem 1.1rem;
}
.dev-release strong {
  display: block;
  font-size: .95rem;
  letter-spacing: .02em;
  margin-bottom: .4rem;
  text-transform: uppercase;
}
.dev-release p { margin: 0 0 .5rem; }
.dev-release ul { margin: 0; padding-left: 1.2rem; }
.dev-release li { font-size: .88rem; }
.dev-badge {
  background: var(--accent);
  color: #fff;
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  margin: 0 0 .35rem;
  padding: .15rem .45rem;
  text-transform: uppercase;
}
.preview-notice {
  background: #fff4d8;
  border-bottom: 1px solid #efd48e;
  color: #5e4300;
  font-size: .82rem;
  font-weight: 700;
  padding: .55rem 1.25rem;
  text-align: center;
}
main {
  margin: 0 auto;
  max-width: var(--content);
  min-height: 65vh;
  padding: 1.5rem 1.25rem 4rem;
}
.page-heading {
  align-items: baseline;
  border-bottom: 4px solid var(--ink);
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.page-heading h1 {
  font-size: 1.55rem;
  letter-spacing: -.035em;
  margin: 0 0 .55rem;
}
.eyebrow, .category {
  color: var(--brand);
  font-size: .72rem !important;
  font-weight: 900 !important;
  letter-spacing: .08em;
  margin: 0 0 .4rem !important;
  text-transform: uppercase;
}
.lead-grid {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1.8fr) minmax(17rem, .85fr);
  padding-bottom: 1.5rem;
}
.story-link { display: block; text-decoration: none; }
.story-link:hover h2 { color: var(--brand); }
.story-image {
  background: #dfe2e5;
  margin: 0 0 .85rem;
  overflow: hidden;
}
.story-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}
.story-image figcaption { display: none; }
/* Upright portraits: any 16:9 crop cuts off the head, so show them whole. */
.story-image.media-portrait img { object-fit: contain; }
.story-image-placeholder {
  align-items: end;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgb(0 74 132 / 92%), rgb(0 35 70 / 94%)),
    repeating-linear-gradient(45deg, #fff2 0 1px, transparent 1px 18px);
  color: #fff;
  display: flex;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .12em;
  padding: 1rem;
  text-transform: uppercase;
}
.lead-story h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -.055em;
  line-height: 1.02;
  margin: 0;
}
.story-copy > p:not(.category) {
  color: var(--muted);
  margin: .6rem 0;
}
.story-copy time {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
}
.secondary-grid { display: grid; gap: 1rem; }
.secondary-story + .secondary-story {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.secondary-story h2 {
  font-size: 1.25rem;
  letter-spacing: -.025em;
  line-height: 1.15;
  margin: 0;
}
.secondary-story .story-copy > p:not(.category) {
  display: -webkit-box;
  font-size: .88rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.news-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 1.5rem;
}
.news-card {
  border-bottom: 3px solid var(--ink);
  padding-bottom: 1rem;
}
.news-card h2 {
  font-size: 1.2rem;
  letter-spacing: -.025em;
  line-height: 1.18;
  margin: 0;
}
.news-card .story-copy > p:not(.category) {
  display: -webkit-box;
  font-size: .86rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.article-page {
  margin: 1rem auto;
  max-width: 760px;
}
.article-page h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -.055em;
  line-height: 1.03;
  margin: 0;
}
.article-page > p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
}
.article-page .lede {
  color: #3f3f3f;
  font: 700 1.3rem/1.45 Arial, Helvetica, sans-serif;
}
.meta {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font: 700 .78rem/1.5 Arial, Helvetica, sans-serif !important;
  padding-bottom: .75rem;
}
.article-visual { margin: 1.25rem 0; }
.article-visual img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}
.article-visual.media-portrait { text-align: center; }
.article-visual.media-portrait img {
  aspect-ratio: auto;
  display: inline-block;
  max-height: 32rem;
  object-fit: contain;
  width: auto;
}
figcaption {
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.4;
  margin-top: .4rem;
}
.credit { display: block; font-size: .7rem; }
.correction {
  background: #eef4fa;
  border-left: 4px solid var(--brand);
  padding: .75rem 1rem;
}
.sources {
  border-top: 4px solid var(--ink);
  font-size: .88rem;
  margin-top: 2rem;
  padding-top: .75rem;
}
.sources a { color: var(--brand-dark); overflow-wrap: anywhere; }
.empty-news { padding: 4rem 0; text-align: center; }
footer.site {
  background: var(--ink);
  border: 0;
  color: #fff;
  gap: 1rem;
  justify-content: center;
  padding: 1.4rem;
}
footer.site a { font-size: .82rem; }
@media (max-width: 760px) {
  .masthead { align-items: flex-start; display: block; padding-top: 1rem; }
  .brand { font-size: 2.55rem; }
  .masthead p { margin-top: .45rem; text-align: left; }
  .search { padding-bottom: .7rem; }
  .search input { width: 100%; }
  .categories { padding: 0; }
  .categories a { padding: .7rem .85rem; }
  main { padding: 1rem .9rem 3.5rem; }
  .page-heading { display: block; }
  .eyebrow { margin-bottom: .1rem !important; }
  .lead-grid { display: block; }
  .secondary-grid {
    border-top: 1px solid var(--line);
    gap: .85rem;
    margin-top: 1rem;
    padding-top: 1rem;
  }
  .secondary-story .story-link {
    display: grid;
    gap: .75rem;
    grid-template-columns: 8.5rem minmax(0, 1fr);
  }
  .secondary-story .story-image { margin: 0; }
  .secondary-story h2 { font-size: 1.05rem; }
  .secondary-story .story-copy > p:not(.category) { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card .story-link {
    display: grid;
    gap: .85rem;
    grid-template-columns: 8.5rem minmax(0, 1fr);
  }
  .news-card .story-image { margin: 0; }
  .news-card .story-copy > p:not(.category) { display: none; }
  .article-page h1 { font-size: 2.1rem; }
  .article-page > p { font-size: 1rem; }
}
@media (max-width: 420px) {
  .preview-notice { text-align: left; }
  .ticker { margin-left: 0; }
  .lead-story h2 { font-size: 1.85rem; }
  .secondary-story .story-link,
  .news-card .story-link { grid-template-columns: 7.25rem minmax(0, 1fr); }
}
/* The story-copy paragraph rules would otherwise grey out and resize the badge. */
.story-copy > p.dev-badge,
.secondary-story .story-copy > p.dev-badge,
.news-card .story-copy > p.dev-badge {
  color: #fff;
  font-size: .68rem;
  line-height: 1.55;
  margin: 0 0 .35rem;
}
