.study-intro {
  padding: 1.3rem 0 clamp(2rem, 4.2vw, 4rem);
  border-block: 1px solid var(--line);
  background: var(--soft-green);
}

.study-crumbs ol, .study-topics {
  padding: 0;
  margin: 0;
  list-style: none;
}

.study-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem .6rem;
  margin-bottom: clamp(1.5rem, 3.5vw, 3rem);
  color: var(--muted);
  font-size: .9rem;
}

.study-crumbs li + li::before { margin-right: .6rem; content: "/"; }
.study-crumbs a, .study-layout a:not(.button), .study-footer-nav a { text-underline-offset: .2em; }
.study-intro h1 { max-width: 21ch; font-size: clamp(2.6rem, 5.6vw, 5.2rem); line-height: 1.03; }
.study-lead { max-width: 65ch; margin-top: .9rem; font-size: clamp(1.1rem, 1.5vw, 1.3rem); }

.study-jumps { display: flex; flex-wrap: wrap; gap: .35rem 1.35rem; margin-top: 1rem; }
.study-jumps a { padding-block: .2rem; font-weight: 700; text-underline-offset: .2em; }

.study-layout {
  display: grid;
  grid-template-columns: minmax(0, 50rem) minmax(14rem, 22rem);
  align-items: start;
  justify-content: space-between;
  gap: clamp(1.5rem, 5.2vw, 5rem);
  padding-block: clamp(2rem, 4.8vw, 4rem);
}

.study-layout h2 { margin-bottom: .85rem; font-size: clamp(1.8rem, 3.1vw, 2.6rem); line-height: 1.1; }
.study-layout h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1.12; }
.study-layout p { max-width: 71ch; }
.study-layout p + p, .study-layout p + .button { margin-top: .75rem; }
.study-content > section + section { margin-top: 2.4rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.study-content section > ol { padding-left: 1.4rem; }
.study-content section > ol > li + li { margin-top: .5rem; }
.study-aside {
  display: grid;
  gap: 1.75rem;
  padding: clamp(1.2rem, 2vw, 1.75rem);
  border-radius: .7rem;
  background: var(--soft-green);
}
.study-aside h2 { font-size: 1.55rem; }
.study-aside section + section { border-top: 1px solid #c5cebd; padding-top: 1.4rem; }
.study-aside ul { padding-left: 1.2rem; margin: .6rem 0; }
.study-aside li + li { margin-top: .5rem; }

.study-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  margin-top: 1.2rem;
}

.study-topics li {
  position: relative;
  border: 1px solid var(--line);
  border-radius: .65rem;
  padding: 1.1rem;
  background: var(--white);
}
.study-topics li:hover, .study-topics li:focus-within { border-color: #5b735b; }
.study-topics li a::after { position: absolute; inset: 0; content: ""; }
.study-topics h3 { font-size: 1.32rem; line-height: 1.2; }
.study-topics p { margin-top: .4rem; }
.study-count, .study-reference { color: var(--muted); font-size: .93rem; }
.study-count { font-weight: 700; }
.study-table { width: 100%; margin: 1.25rem 0 .65rem; border-collapse: collapse; line-height: 1.4; }
.study-table caption { margin-bottom: .6rem; text-align: left; font-weight: 700; }
.study-table th, .study-table td { padding: .65rem .7rem; text-align: left; vertical-align: top; border: 1px solid var(--line); }
.study-table thead th { background: var(--soft-green); }
.study-question {
  margin-top: 1.35rem;
  padding: clamp(1rem, 2.5vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--white);
  scroll-margin-top: 1rem;
}
.study-number { color: #486449; }
.study-scene { width: min(100%, 36rem); height: auto; margin-top: 1.05rem; border-radius: .5rem; }
.study-question fieldset { min-width: 0; margin: 1rem 0; padding: 0; border: 0; }
.study-question legend { margin-bottom: .7rem; padding: 0; font-weight: 700; }
.study-choice {
  display: flex;
  min-height: 2.75rem;
  align-items: flex-start;
  gap: .65rem;
  padding: .6rem .75rem;
  margin-block: .35rem;
  border: 1px solid var(--line);
  border-radius: .4rem;
  cursor: pointer;
}
.study-choice input { flex: 0 0 auto; width: 1rem; height: 1rem; margin: .25rem 0 0; accent-color: var(--forest); }
.study-choice:has(input:checked) { border-color: var(--forest); background: var(--soft-green); }
.study-question:has(details[open]) .study-choice[data-correct] { border: 2px solid #3a6d42; padding: calc(.6rem - 1px) calc(.75rem - 1px); }
.study-question summary { min-height: 2.75rem; padding: .6rem 0; font-weight: 700; cursor: pointer; }
.study-question details { border-top: 1px solid var(--line); }
.study-question details[open] p:first-of-type { margin-top: .3rem; }
.study-footer-nav { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-weight: 700; }

@media (max-width: 50rem) {
  .study-layout { grid-template-columns: 1fr; }
}
@media (max-width: 32rem) {
  .study-intro h1 { font-size: clamp(1.9rem, 10vw, 2.6rem); overflow-wrap: anywhere; }
  .study-topics { grid-template-columns: 1fr; }
  .study-table { font-size: .94rem; }
  .study-table th, .study-table td { padding: .5rem .36rem; }
}
