/* Individual risk pages: scoped to avoid changing archives and occupation pages. */
.aov-risk-detail { background: #fff; }
.aov-risk-detail .aov-risk-detail__hero { padding-bottom: clamp(2.75rem,5vw,4.75rem); }
.aov-risk-detail__hero-grid { display: grid; gap: clamp(1.75rem,5vw,5rem); align-items: center; }
.aov-risk-detail__hero-grid--meta { grid-template-columns: minmax(0,1fr) minmax(16rem,22rem); }
.aov-risk-detail__intro { min-width: 0; max-width: 68rem; }
.aov-risk-detail h1 { max-width: 68rem; margin: 0 0 1.25rem; font-size: clamp(2rem,3.25vw,3.7rem); line-height: 1.08; letter-spacing: -.04em; overflow-wrap: anywhere; }
.aov-risk-detail__lead { max-width: 51rem; margin: 0 0 1.6rem; font-size: 1.08rem; line-height: 1.72; color: hsl(var(--muted-foreground)); }
.aov-risk-detail__actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.aov-risk-detail__actions svg { width: 1rem; height: 1rem; flex: 0 0 1rem; }
.aov-risk-detail__recovery { padding: 1.5rem; border: 1px solid hsl(var(--primary) / .18); border-radius: 1rem; background: rgba(255,255,255,.88); box-shadow: 0 18px 45px rgba(15,23,42,.07); }
.aov-risk-detail__recovery p { margin: 0; }
.aov-risk-detail .aov-risk-detail__recovery-label { margin-bottom: .45rem; color: hsl(var(--primary)); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.aov-risk-detail .aov-risk-detail__recovery-value { margin-bottom: .7rem; color: hsl(var(--foreground)); font-family: Poppins,system-ui,sans-serif; font-size: 1.2rem; font-weight: 700; line-height: 1.35; }
.aov-risk-detail__recovery p:last-child { color: hsl(var(--muted-foreground)); font-size: .82rem; line-height: 1.6; }
.aov-risk-detail__jumps { border-bottom: 1px solid hsl(var(--border)); background: #fff; }
.aov-risk-detail__jumps > div { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; padding-top: .6rem; padding-bottom: .6rem; }
.aov-risk-detail__jumps a { padding: .5rem 0; color: hsl(var(--muted-foreground)); font-size: .85rem; font-weight: 600; text-decoration: none; }
.aov-risk-detail__jumps a:hover { color: hsl(var(--primary)); }
.aov-risk-detail__section { padding: clamp(2.75rem,5vw,4.5rem) 0; scroll-margin-top: 7rem; }
.aov-risk-detail__section--soft { background: hsl(var(--muted) / .58); }
.aov-risk-detail__section-head { max-width: 58rem; margin-bottom: 1.6rem; }
.aov-risk-detail h2 { margin: 0 0 .8rem; font-size: clamp(1.55rem,2.3vw,2.25rem); line-height: 1.2; letter-spacing: -.03em; overflow-wrap: anywhere; }
.aov-risk-detail h3 { margin: 0 0 .85rem; font-size: 1.08rem; line-height: 1.4; }
.aov-risk-detail__section-head > p:last-child:not(.aov-home-eyebrow) { margin: 0; color: hsl(var(--muted-foreground)); line-height: 1.7; }
.aov-risk-detail__fact-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.aov-risk-detail__fact-grid--single { grid-template-columns: minmax(0,1fr); max-width: 56rem; }
.aov-risk-detail__fact-card { position: relative; min-width: 0; padding: 1.55rem 1.55rem 1.55rem 4.4rem; border: 1px solid hsl(var(--border)); border-radius: 1rem; background: #fff; }
.aov-risk-detail__fact-number { position: absolute; top: 1.45rem; left: 1.45rem; display: inline-grid; width: 2rem; height: 2rem; place-items: center; border-radius: 50%; background: hsl(var(--aov-blue-light)); color: hsl(var(--primary)); font-size: .82rem; font-weight: 700; }
.aov-risk-detail__fact-card--examples .aov-risk-detail__fact-number { background: hsl(var(--aov-orange-light)); color: hsl(var(--secondary)); }
.aov-risk-detail__fact-card ul { margin: 0; padding-left: 1.1rem; color: hsl(var(--muted-foreground)); font-size: .94rem; line-height: 1.72; list-style: disc; }
.aov-risk-detail__fact-card li + li { margin-top: .45rem; }
.aov-risk-detail__fact-card li::marker { color: hsl(var(--primary)); }
.aov-risk-detail__fact-card--examples li::marker { color: hsl(var(--secondary)); }
.aov-risk-detail__reading-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(17rem,.85fr); gap: clamp(2rem,5vw,4.5rem); align-items: start; max-width: 76rem; margin: 0 auto; }
.aov-risk-detail__reading-grid--context-only { grid-template-columns: minmax(0,45rem); justify-content: center; }
.aov-risk-detail__content, .aov-risk-detail__context { min-width: 0; scroll-margin-top: 7rem; }
.aov-risk-detail__prose { color: hsl(var(--muted-foreground)); font-size: 1rem; line-height: 1.82; }
.aov-risk-detail__prose > :first-child { margin-top: 0; }
.aov-risk-detail__prose :is(h2,h3,h4) { color: hsl(var(--foreground)); }
.aov-risk-detail__prose :is(h2,h3,h4):not(:first-child) { margin-top: 1.8rem; }
.aov-risk-detail__prose p { margin-bottom: 1rem; }
.aov-risk-detail__prose :is(ul,ol) { margin: 0 0 1rem; padding-left: 1.4rem; }
.aov-risk-detail__prose ul { list-style: disc; }
.aov-risk-detail__prose ol { list-style: decimal; }
.aov-risk-detail__prose :is(img,video,iframe) { max-width: 100%; }
.aov-risk-detail__prose img { height: auto; }
.aov-risk-detail__prose table { display: block; max-width: 100%; overflow-x: auto; }
.aov-risk-detail__prose a { overflow-wrap: anywhere; }
.aov-risk-detail__sources { margin-top: 2rem; border-top: 1px solid hsl(var(--border)); }
.aov-risk-detail__sources summary { position: relative; padding: 1rem 2rem 1rem 0; cursor: pointer; list-style: none; color: hsl(var(--muted-foreground)); font-size: .84rem; font-weight: 700; }
.aov-risk-detail__sources summary::-webkit-details-marker { display: none; }
.aov-risk-detail__sources summary::after { content: '+'; position: absolute; right: .4rem; color: hsl(var(--primary)); font-size: 1rem; }
.aov-risk-detail__sources[open] summary::after { content: '−'; }
.aov-risk-detail__sources ol { margin: .15rem 0 .75rem; padding-left: 1.25rem; font-size: .82rem; line-height: 1.65; }
.aov-risk-detail__sources li + li { margin-top: .5rem; }
.aov-risk-detail__sources a { color: hsl(var(--primary)); font-weight: 600; overflow-wrap: anywhere; }
.aov-risk-detail__sources li span { display: block; color: hsl(var(--muted-foreground)); }
.aov-risk-detail__sources p { margin: 0 0 .75rem; color: hsl(var(--muted-foreground)); font-size: .76rem; }
.aov-risk-detail__context { padding: 1.55rem; border: 1px solid hsl(var(--primary) / .16); border-radius: 1rem; background: hsl(var(--aov-blue-light)); }
.aov-risk-detail__context h2 { font-size: 1.3rem; line-height: 1.4; }
.aov-risk-detail__context > p:not(.aov-home-eyebrow) { color: hsl(var(--muted-foreground)); font-size: .9rem; line-height: 1.7; }
.aov-risk-detail__context ul { margin: 1.15rem 0; padding: 0; list-style: none; }
.aov-risk-detail__context li { position: relative; padding-left: 1.35rem; color: hsl(var(--foreground)); font-size: .87rem; line-height: 1.65; }
.aov-risk-detail__context li + li { margin-top: .6rem; }
.aov-risk-detail__context li::before { content: '✓'; position: absolute; left: 0; color: hsl(var(--aov-green)); font-weight: 700; }
.aov-risk-detail__context > a { display: inline-block; color: hsl(var(--primary)); font-size: .9rem; font-weight: 700; text-decoration: none; }
.aov-risk-detail__context > a:hover { text-decoration: underline; }
.aov-risk-detail__next { padding-top: 1rem; }
.aov-risk-detail__next-box { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 2rem; padding: clamp(1.5rem,3vw,2.5rem); border: 1px solid hsl(var(--primary) / .15); border-radius: 1.1rem; background: linear-gradient(135deg,hsl(var(--aov-blue-light)),#fff 55%,hsl(var(--aov-green-light))); }
.aov-risk-detail__next-box > div:first-child { max-width: 50rem; }
.aov-risk-detail__next-box p:last-child { margin: 0; color: hsl(var(--muted-foreground)); font-size: .94rem; line-height: 1.7; }
.aov-risk-detail__next-box .aov-risk-detail__actions { flex-direction: column; align-items: stretch; }
.aov-risk-detail__footnote { min-height: 1.2rem; padding-top: 1.4rem; color: hsl(var(--muted-foreground)); font-size: .75rem; }
.aov-risk-detail__footnote p { margin: 0; }
.aov-risk-detail :focus-visible { outline: 3px solid hsl(var(--primary)); outline-offset: 3px; }
@media (max-width: 1023px) {
  .aov-risk-detail__hero-grid--meta { grid-template-columns: minmax(0,1fr) minmax(14rem,18rem); }
  .aov-risk-detail__reading-grid { grid-template-columns: minmax(0,1fr); max-width: 52rem; }
  .aov-risk-detail__next-box { grid-template-columns: minmax(0,1fr); }
  .aov-risk-detail__next-box .aov-risk-detail__actions { flex-direction: row; }
}
@media (max-width: 759px) {
  .aov-risk-detail__hero-grid--meta, .aov-risk-detail__fact-grid { grid-template-columns: minmax(0,1fr); }
  .aov-risk-detail__recovery { max-width: 28rem; }
  .aov-risk-detail__fact-card { padding: 1.3rem 1.3rem 1.3rem 4rem; }
  .aov-risk-detail__fact-number { top: 1.2rem; left: 1.2rem; }
  .aov-risk-detail__actions > a { white-space: normal; }
  .aov-risk-detail__jumps > div { gap: .1rem 1rem; }
}
@media (max-width: 520px) {
  .aov-risk-detail__next-box .aov-risk-detail__actions { flex-direction: column; }
}
