/* Shared end-of-guide offers. Static content remains usable without JavaScript. */
.shelf-followup {
  margin: 40px 0 0;
  color: #2c1a0e;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left;
}
.shelf-followup, .shelf-followup * { box-sizing: border-box; }
.shelf-followup .shelf-next {
  display: block;
  margin: 0;
  padding: 28px;
  border: 1px solid #e3d8c8;
  border-radius: 16px;
  background: #fffaf3;
}
.shelf-followup h2 {
  margin: 0 0 22px;
  color: #2c1a0e;
  font: 700 20px/1.4 Inter, sans-serif;
  letter-spacing: normal;
  text-transform: none;
}
.shelf-followup h3 {
  margin: 0 0 10px;
  color: #2c1a0e;
  font: 700 18px/1.4 Inter, sans-serif;
  letter-spacing: normal;
  text-transform: none;
}
.shelf-followup p {
  max-width: 70ch;
  margin: 0 0 12px;
  color: #4b392a;
  font: 400 15px/1.7 Inter, sans-serif;
}
.shelf-followup .shelf-lesson-secondary {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid #e3d8c8;
}
.shelf-followup .shelf-action {
  display: inline-block;
  max-width: 100%;
  margin: 4px 0 12px;
  padding: 12px 18px;
  border: 1px solid #9c3e1c;
  border-radius: 10px;
  background: #9c3e1c;
  color: #fff;
  font: 600 15px/1.5 Inter, sans-serif;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.shelf-followup .shelf-action-secondary {
  background: transparent;
  color: #873416;
}
.shelf-followup .shelf-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 12px;
}
.shelf-followup .shelf-download-actions .shelf-action { margin: 0; }
.shelf-followup .shelf-action:hover { background: #783016; color: #fff; }
.shelf-followup .shelf-note { margin: 0; color: #695744; font-size: 13px; }
.shelf-followup .shelf-related {
  display: block;
  margin: 30px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.shelf-followup .shelf-related h2 { margin-bottom: 14px; font-size: 17px; }
.shelf-followup .shelf-related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.shelf-followup .shelf-related-list li { margin: 0; padding: 0; min-width: 0; }
.shelf-followup .shelf-related-list a {
  display: block;
  padding: 8px 0;
  color: #873416;
  font: 600 15px/1.5 Inter, sans-serif;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.shelf-followup .shelf-related-list a:hover strong { text-decoration: underline; }
.shelf-followup .shelf-related-list strong { display: block; font-weight: 600; }
.shelf-followup .shelf-related-list span {
  display: block;
  margin-top: 4px;
  color: #695744;
  font-size: 13px;
  font-weight: 400;
}
.shelf-followup a:focus-visible { outline: 3px solid #9c3e1c; outline-offset: 4px; }
.shelf-followup .shelf-all { display: inline-block; margin-top: 16px; color: #873416; font-size: 14px; }
@media (max-width: 600px) {
  .shelf-followup { margin-top: 28px; }
  .shelf-followup .shelf-next { padding: 20px 16px; }
  .shelf-followup .shelf-related-list { grid-template-columns: 1fr; gap: 2px; }
}
@media print { .shelf-followup { display: none; } }
