@import url("https://fonts.googleapis.com/css?family=Oswald|Roboto:400,700");
body {
  font-size: 14px;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
}

h1 {
  font-size: 2rem;
  margin-bottom: .5em;
}

p {
  font-family: 'Roboto', sans-serif;
  font-size: .8rem;
}

.container {
  max-width: 1024px;
  width: 90%;
  margin: 0 auto;
}

.timeline-item {
  padding: 3em 2em 2em;
  position: relative;
  color: rgba(0, 0, 0, 0.7);
  border-left: 2px solid rgba(0, 0, 0, 0.3);
}
.timeline-item p {
  font-size: 1rem;
  margin-bottom: 1em;
}
.timeline-item a {
  color: rgba(0, 0, 0, 0.7);
}
.timeline-item .intro-meta,
.timeline-item .intro-meta a,
.timeline-item .label-row a,
.timeline-item .label-row span {
  font-family: 'Oswald', sans-serif;
  font-size: .9rem;
}
.timeline-item h2 {
  margin-bottom: .9em;
}
.timeline-item ul {
  margin: .35em 0 1.2em 1.25em;
  padding-left: 1em;
  list-style: disc;
}
.timeline-item li {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  margin-bottom: .55em;
}
.label-row {
  display: flex;
  flex-wrap: wrap;
  gap: .6em;
}
.label-row a,
.label-row span {
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.3);
  padding: .35em .65em;
}
.label-row a {
  text-decoration: none;
}
.language-switch {
  display: flex;
  gap: .45em;
  margin: -.25em 0 .9em;
  font-family: 'Oswald', sans-serif;
  font-size: .9rem;
}
.language-switch a,
.language-switch span {
  border: 1px solid rgba(0, 0, 0, 0.3);
  padding: .25em .55em;
  text-decoration: none;
  color: rgba(0, 0, 0, 0.7);
}
.language-switch span {
  background: rgba(0, 0, 0, 0.08);
}
.modal {
  display: none;
  position: fixed;
  z-index: 10;
  inset: 0;
  overflow: auto;
  background: rgba(255, 255, 255, 0.94);
}
.modal:target {
  display: block;
}
.modal-dialog {
  max-width: 760px;
  width: 86%;
  margin: 4em auto;
  padding: 2em;
  color: rgba(0, 0, 0, 0.7);
  background: white;
  border-left: 2px solid rgba(0, 0, 0, 0.3);
}
.modal-dialog h1,
.modal-dialog h2 {
  font-family: 'Oswald', sans-serif;
}
.modal-dialog h1 {
  font-size: 2rem;
  margin-bottom: .7em;
}
.modal-dialog h2 {
  font-size: 1.25rem;
  margin: 1.25em 0 .45em;
}
.modal-dialog p,
.modal-dialog li {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
}
.modal-dialog p {
  margin-bottom: 1em;
}
.modal-dialog ol,
.modal-dialog ul {
  margin: .35em 0 1.2em 1.25em;
  padding-left: 1em;
}
.modal-dialog ol {
  list-style: decimal;
}
.modal-dialog ul {
  list-style: disc;
}
.modal-dialog li {
  margin-bottom: .55em;
}
.evidence-comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1em;
  margin: .5em 0 1.4em;
}
.evidence-comparison figure {
  margin: 0;
}
.evidence-comparison img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: contain;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: #fff;
}
.evidence-comparison figcaption {
  margin-top: .45em;
  font-family: 'Roboto', sans-serif;
  font-size: .85rem;
  color: rgba(0, 0, 0, 0.65);
}
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .75em;
  margin: .75em 0 1.2em;
}
.evidence-thumb {
  appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.22);
  background: #fff;
  padding: .5em;
  cursor: pointer;
  text-align: left;
  color: rgba(0, 0, 0, 0.7);
  font-family: 'Roboto', sans-serif;
}
.evidence-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
  margin-bottom: .45em;
  background: #fff;
}
.evidence-thumb span {
  display: block;
  font-size: .85rem;
}
.case-lightbox {
  display: none;
  position: fixed;
  z-index: 30;
  inset: 0;
  background: rgba(255, 255, 255, 0.96);
  padding: 2em;
  overflow: auto;
}
.case-lightbox.is-open {
  display: block;
}
.case-lightbox-dialog {
  max-width: 1100px;
  margin: 0 auto;
}
.case-lightbox img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  margin: 1em auto;
  object-fit: contain;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: #fff;
}
.case-lightbox-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  color: rgba(0, 0, 0, 0.7);
}
.case-lightbox-close {
  float: right;
  font-family: 'Oswald', sans-serif;
  border: 1px solid rgba(0, 0, 0, 0.3);
  background: #fff;
  color: rgba(0, 0, 0, 0.7);
  padding: .35em .65em;
  cursor: pointer;
}
body.lightbox-open {
  overflow: hidden;
}
.modal-close {
  float: right;
  font-family: 'Oswald', sans-serif;
  font-size: .9rem;
  color: rgba(0, 0, 0, 0.7);
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.3);
  padding: .35em .65em;
}
.timeline-item::before {
  content: attr(date-is);
  position: absolute;
  left: 2em;
  font-weight: bold;
  top: 1em;
  display: block;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: .785rem;
}
.timeline-item::after {
  width: 10px;
  height: 10px;
  display: block;
  top: 1em;
  position: absolute;
  left: -7px;
  border-radius: 10px;
  content: '';
  border: 2px solid rgba(0, 0, 0, 0.3);
  background: white;
}
.timeline-item:last-child {
  -o-border-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 60%, transparent) 1 100%;
     border-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.3) 60%, transparent) 1 100%;
     border-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 60%, transparent) 1 100%;
}
