/* Answer pages (website/answers.py): one question, one page. Loads after
   landing.css and borrows its glossary hero and endorsement figure. Corners
   come from the shared scale in opsintel-ui.css. */
.ans-inner { max-width: 780px; margin: 0 auto; }

.ans-crumbs { font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.6); margin: 0 0 20px; }
.ans-crumbs a { color: #f59e0b; text-decoration: none; }
.ans-crumbs a:hover, .ans-crumbs a:focus-visible { text-decoration: underline; }

.ans-title { font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.1; }

.ans-direct {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  color: #ffffff;
  margin: 0;
  padding-left: 20px;
  border-left: 3px solid #f59e0b;
  text-wrap: pretty;
}

.ans-body { background: #f8fafc; padding: clamp(48px, 6vw, 80px) 24px; }

.ans-section { margin: 0 0 44px; }
.ans-section h2, .ans-sell h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0a1628;
  margin: 0 0 14px;
}
.ans-section p, .ans-section li, .ans-sell p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(10,22,40,0.78);
  text-wrap: pretty;
}
.ans-section p { margin: 0 0 14px; }
.ans-section ul { margin: 0; padding-left: 22px; list-style: disc; }
.ans-section li { margin: 0 0 10px; }
.ans-section a, .ans-sell a { color: #0a1628; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #f59e0b; }

.ans-sell {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #f59e0b;
  border-radius: var(--oi-r-panel);
  padding: 28px;
  margin: 0 0 12px;
}
.ans-sell p { margin: 0 0 14px; }
.ans-sell p:last-child { margin: 0; }
.ans-sell-link { font-weight: 700 !important; }

.ans-sell-link { display: inline-block; margin-right: 22px; }

.ans-more { margin: 56px 0 0; }

.ans-topic {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b45309;
  margin: 56px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f59e0b;
}
.ans-topic:first-child { margin-top: 0; }
.ans-topic + .ans-index-item { padding-top: 0; }

.ans-index-item { padding: 22px 0; border-bottom: 1px solid rgba(10,22,40,0.1); }
.ans-index-item:first-of-type { padding-top: 0; }
.ans-index-item summary { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; color: #0a1628; cursor: pointer; margin: 0 0 8px; }
.ans-index-item p { margin: 0 0 8px; font-size: 0.98rem; line-height: 1.65; color: rgba(10,22,40,0.75); }
.ans-index-item a { color: #0a1628; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #f59e0b; }

@media (max-width: 720px) {
  .ans-body { padding: 40px 16px; }
  .ans-crumbs { margin-top: 16px; }
  .ans-sell { padding: 22px 18px; }
  /* The quote's opening mark hangs left of the measure; on a phone that is off the screen. */
  .ans-body .endorsement-quote p:first-child::before { margin-left: 0; }
}
