/* Readable, responsive paper illustrations in the Exams landing page style. */
.clone-article {
  --clone-blue: #2563eb;
  --clone-border: #e5e7eb;
}

.clone-languages {
  margin-bottom: 1rem;
  font: 0.9rem/1.6 Inter, system-ui, sans-serif;
}

.clone-languages [aria-current="page"] {
  color: #111827;
  font-weight: 700;
  text-decoration: none;
}

.clone-article .clone-hero img {
  float: none;
  margin: 0;
  width: 100%;
  max-width: 960px;
  height: auto;
}

.clone-explainer {
  clear: both;
  margin: 1.75rem 0;
  padding: 1.4rem;
  border: 1px solid var(--clone-border);
  border-radius: 12px;
  background-color: #fafafa;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, .055) 1px, transparent 1px);
  background-size: 28px 28px;
  color: #111827;
  font-family: Inter, system-ui, sans-serif;
}

.clone-article .clone-explainer h3 {
  margin: 0 0 1rem;
  color: #111827;
  font-size: 1.25rem;
}

.clone-example-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.clone-paper {
  min-width: 0;
  padding: 1.25rem;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--clone-border);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.clone-paper-new {
  border-color: #e6c56b;
}

.clone-label {
  font-weight: 700;
  min-height: 2.2rem;
}

.clone-tag {
  display: inline-block;
  padding: .15rem .55rem;
  border-radius: 6px;
  background: #fef3c7;
  color: #713f12;
}

.clone-article .clone-equation {
  margin: .8rem 0 1rem;
  text-align: start;
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  font-weight: 600;
  color: var(--clone-blue);
}

.clone-working {
  min-height: 4rem;
  color: #334155;
}

.clone-small,
.clone-explainer figcaption {
  font-size: .9rem;
  line-height: 1.6;
  color: #475569;
}

.clone-reviewed {
  color: #166534;
  font-size: .9rem;
}

.clone-answer-lines {
  height: 4rem;
  margin-bottom: .85rem;
  background: repeating-linear-gradient(transparent, transparent 30px, #cbd5e1 31px, transparent 32px);
}

.clone-explainer figcaption {
  margin-top: 1rem;
}

.clone-article .clone-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  margin: 1.25rem 0 1.75rem;
  padding: 0;
  list-style: none;
  font-family: Inter, system-ui, sans-serif;
}

.clone-steps li {
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--clone-border);
  border-radius: 12px;
  background: #fff;
}

.clone-step-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clone-blue);
}

.clone-article .clone-steps h3 {
  margin: .3rem 0 .5rem;
  color: #111827;
}

.clone-article .clone-steps p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.65;
}

.clone-article[dir="rtl"],
[dir="rtl"] > .clone-article {
  text-align: start;
}

@media (max-width: 640px) {
  .clone-explainer { padding: .85rem; }
  .clone-example-pair,
  .clone-article .clone-steps { grid-template-columns: 1fr; }
  .clone-paper { padding: 1rem; }
  .clone-steps li { display: flex; align-items: baseline; gap: .8rem; }
}
