.jarjar-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(2.25in, 0.85fr);
  gap: 0.16in;
  align-items: stretch;
}

.jarjar-intro > * {
  margin-block: 0 0.08in;
}

.jarjar-intro .problem-setup {
  display: grid;
  align-content: center;
}

.problem-content .jarjar-intro .problem-setup p {
  font-size: 0.165in;
  line-height: 1.3;
}

.jarjar-figure {
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  min-height: 1.72in;
  border: 1px solid #8b6544;
  border-radius: 0.08in;
  background: #15191c;
}

.jarjar-figure img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: 50% 26%;
}

.problem-content .jarjar-figure figcaption {
  margin: 0;
  padding: 0.045in 0.08in;
  color: #fff7dd;
  background: #3d2820;
  font-size: 0.125in;
  line-height: 1.25;
  text-align: center;
}

.jarjar-data,
.jarjar-questions {
  margin-block: 0 0.08in;
  padding: 0.09in 0.14in;
}

.jarjar-data table {
  table-layout: fixed;
}

.jarjar-data th:first-child {
  width: 52%;
}

.jarjar-data :is(th, td):not(:first-child) {
  width: 24%;
  text-align: center;
}

.jarjar-data :is(th, td) {
  padding-block: 0.032in;
  font-size: 0.145in;
}

.jarjar-questions .problem-question-header {
  margin-bottom: 0.04in;
}

.jarjar-questions .problem-part {
  padding-block: 0.045in;
}

.jarjar-questions .problem-part + .problem-part {
  margin-top: 0.025in;
}

.problem-content .jarjar-questions .problem-part-copy p {
  font-size: 0.165in;
  line-height: 1.24;
}

@media (max-width: 700px) {
  .jarjar-intro {
    grid-template-columns: 1fr;
  }

  .jarjar-figure img {
    max-height: 13rem;
  }
}
