:root {
  color-scheme: light;
  --bg: #ffffff;
  --paper: #ffffff;
  --ink: #111111;
  --muted: #6c757d;
  --line: #e5e5e5;
  --soft: #f7f7f7;
  --accent: #fdcc08;
  --accent-strong: #111111;
  --green: #2f6f62;
  --gold: #fdcc08;
  --danger: #9f3139;
  --shadow: none;
  font-family: Roboto, Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: #111111;
  font-weight: 700;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

button {
  font: inherit;
}

.main-header,
.main-footer {
  background: #111111;
}

.container,
.main-nav {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.main-nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 14px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  text-decoration: none;
}

.logo img {
  width: 300px;
  max-width: 100%;
  height: auto;
}

.header-language {
  position: relative;
  flex: 0 0 auto;
  margin-left: auto;
  margin-right: 0;
}

.language-select__button {
  height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #e9e9e9;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.language-select__button:hover,
.language-select__button:focus-visible,
.language-select.is-open .language-select__button {
  background: #242424;
  color: #ffffff;
  outline-color: rgba(253, 204, 8, 0.42);
}

.language-select__icon {
  width: 20px;
  height: 20px;
}

.language-select__label {
  min-width: 52px;
  text-align: left;
}

.language-select__chevron {
  width: 16px;
  height: 16px;
  transition: transform 160ms ease;
}

.language-select.is-open .language-select__chevron {
  transform: rotate(180deg);
}

.language-select__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: -35px;
  z-index: 30;
  min-width: 148px;
  padding: 6px;
  border: 1px solid #dedede;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.language-option {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #111111;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}

.language-option:hover,
.language-option:focus-visible,
.language-option.is-active {
  background: #fff4bd;
  color: #111111;
  outline: 0;
}

.language-option.is-active::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: auto;
  border-radius: 999px;
  background: var(--accent);
}

.main-nav-supported {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.main-nav ul,
.main-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav__primary,
.main-nav__secondary {
  display: flex;
  align-items: center;
}

.main-nav__primary {
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav__primary a {
  display: block;
  padding: 28px 7px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav__primary a:hover,
.main-nav__primary a:focus-visible,
.main-nav__primary .current-menu-parent a {
  background: var(--accent);
  color: #111111;
  outline: 0;
}

.main-nav__secondary {
  gap: 5px;
  margin-left: 4px;
}

.btn-squared {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  background: #2a2a2a;
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;
}

.btn-squared svg {
  width: 15px;
  height: 15px;
}

.btn-squared--bars svg {
  width: 17px;
}

.btn-squared:hover,
.btn-squared:focus-visible,
.btn-squared.open,
.btn-squared[aria-expanded="true"] {
  background: var(--accent);
  color: #111111;
  outline: 0;
}

.btn-squared--twitter:hover,
.btn-squared--twitter:focus-visible {
  background: #000000;
  color: #ffffff;
}

.btn-squared--linkedin:hover,
.btn-squared--linkedin:focus-visible {
  background: #0a66c2;
  color: #ffffff;
}

.nav-search-mobile,
.btn-squared--bars {
  display: none;
}

.main-footer {
  margin-top: 34px;
}

.footer-top {
  padding: 18px 0;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
}

.main-footer .logo img {
  width: 260px;
}

.main-footer,
.main-footer a {
  color: #ffffff;
  text-decoration: none;
}

.footer-copy-col,
.footer-small-links,
.footer-follow {
  color: #d6d6d6;
  font-size: 13px;
}

.footer-small-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.footer-small-links .delimiter {
  color: #777777;
}

.footer-follow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 36px;
}

.article-header {
  display: grid;
  gap: 16px;
  padding: 18px 0 14px;
  border-bottom: 1px solid var(--line);
}

.source-line,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}

.source-line span,
.meta-row span {
  display: inline-flex;
  align-items: center;
}

.source-line span + span::before,
.meta-row span + span::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 18px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-copy {
  width: 100%;
}

.kicker,
.section-label,
.section-heading p {
  margin: 0 0 10px;
  color: #222222;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  width:100%;
  margin: 0;
  font-size: 30px;
  font-weight: 800;
}

.deck {
  width:100%;
  margin: 12px 0 10px;
  color: #333333;
  font-size: 14px;
}

.lead-media {
  max-width: 800px;
  margin: 20px auto 24px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.lead-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

figcaption {
  padding: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.brief-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 20px 0 28px;
}

.brief-card {
  min-height: 130px;
  padding: 14px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 0;
  background: var(--paper);
}

.brief-card:nth-child(2) {
  border-top-color: var(--green);
}

.brief-card:nth-child(3) {
  border-top-color: var(--danger);
}

.brief-card:nth-child(4) {
  border-top-color: var(--gold);
}

.brief-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.brief-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.article-layout {
  display: block;
  margin-top: 18px;
}

.article-layout.is-bilingual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.story {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--paper);
  box-shadow: none;
}

.story h2 {
  margin: 24px 0 8px;
  font-size: 18px;
  font-weight: 800;
}

.story h2:first-of-type {
  margin-top: 0;
}

.story p {
  margin: 0 0 14px;
  color: #222222;
  font-size: 14px;
  line-height: 1.65;
}

.story .section-label {
  margin-bottom: 16px;
  color: #222222;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  padding-bottom: 4px;
}

.inline-media {
  margin: 22px 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--soft);
}

.inline-media img {
  width: 100%;
}

.timeline-section {
  margin: 30px 0 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fbfcfd;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 0;
  font-size: 18px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.step {
  display: grid;
  gap: 8px;
  min-height: 88px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.step span {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 900;
}

.step strong {
  align-self: end;
  font-size: 13px;
  line-height: 1.25;
}

.step:hover,
.step:focus-visible {
  border-color: var(--accent);
  outline: 2px solid rgba(91, 95, 199, 0.18);
  outline-offset: 2px;
}

.step.is-selected {
  border-color: #111111;
  background: #fff8d6;
}

.step.is-selected span {
  background: var(--accent);
  color: #111111;
}

.step-detail {
  margin-top: 12px;
  padding: 12px 14px;
  border-left: 3px solid var(--accent);
  border-radius: 0;
  background: var(--paper);
}

.step-detail p {
  margin: 0;
  color: #222222;
  font-size: 14px;
}

.article-source {
  margin: 28px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.article-source p {
  margin: 0 0 12px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .main-nav {
    width: 100%;
    min-height: 66px;
    padding: 0 12px;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .main-nav .logo {
    flex: 0 1 auto;
  }

  .main-nav .logo img {
    width: min(260px, 44vw);
  }

  .header-language {
    margin-left: auto;
    margin-right: 0;
  }

  .nav-search-mobile,
  .btn-squared--bars {
    display: inline-grid;
  }

  .main-nav-supported {
    display: none;
    flex: 0 0 100%;
    order: 4;
    padding: 0 0 12px;
  }

  .main-nav-supported.open {
    display: block;
  }

  .main-nav__primary,
  .main-nav__secondary {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .main-nav__primary a {
    padding: 10px 12px;
    border-top: 1px solid #2a2a2a;
    white-space: normal;
  }

  .main-nav__secondary {
    flex-direction: row;
    justify-content: center;
    margin: 12px 0 0;
  }

  .brief-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-layout.is-bilingual {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 22px, 1080px);
    padding: 28px 0;
  }

  .article-header {
    padding-top: 24px;
  }

  .footer-row {
    display: grid;
    justify-items: start;
  }

  .main-footer .logo img {
    width: min(260px, 78vw);
  }

  .header-language {
    width: auto;
  }

  .language-select__button {
    width: auto;
    justify-content: flex-start;
  }

  .language-select__label {
    min-width: 0;
  }

  .language-select__menu {
    width: 100%;
  }

  .language-select__button {
    gap: 6px;
    padding-left: 8px;
    padding-right: 7px;
    font-size: 12px;
  }

  .language-select__icon {
    width: 18px;
    height: 18px;
  }

  .language-select__chevron {
    width: 14px;
    height: 14px;
  }

  .source-line,
  .meta-row {
    display: grid;
    gap: 6px;
  }

  .source-line span + span::before,
  .meta-row span + span::before {
    content: none;
  }

  .brief-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .story,
  .timeline-section {
    padding: 0;
  }

  .timeline-section {
    padding: 14px;
  }

  .brief-card {
    min-height: 0;
  }
}
