/* Extend the approved paper material to the information-page reading panels.
   These are static sheets, not clickable cards. */
body main .information .information-body > section > div {
  box-sizing: border-box;
  min-width: 0;
  padding: clamp(18px, 2vw, 28px);
  border: 1px solid #bfd0e1;
  background-color: #f1f8fb;
  background-image: linear-gradient(rgba(250, 253, 254, .62), rgba(241, 249, 252, .68)),
    url('/images/brand/paper-fibre.webp');
  background-size: auto, cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 8px 22px rgba(18, 48, 82, .08);
}
body main .information .information-body > section > div > :first-child {
  margin-block-start: 0;
}
body main .information .information-body > section > div > :last-child {
  margin-block-end: 0;
}

/* Keep the actual plan text still and give the long list a paper surface. */
body main .work-plan .plan-list > li {
  padding-inline-end: clamp(12px, 1.6vw, 22px);
  background-color: #f1f8fb;
  background-image: linear-gradient(rgba(250, 253, 254, .68), rgba(239, 248, 251, .76)),
    url('/images/brand/paper-fibre.webp');
  background-size: auto, cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Navigation at the end of an individual case receives a clear paper edge. */
body main .case-page .case-navigation a {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid #b7ccdf;
  background-color: #f2f9fc;
  background-image: linear-gradient(rgba(255, 255, 255, .56), rgba(241, 249, 252, .64)),
    url('/images/brand/paper-fibre.webp');
  background-size: auto, cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 5px 14px rgba(18, 48, 82, .06);
  overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: no-preference) {
  body main .case-page .case-navigation a {
    transition: border-color 200ms ease, box-shadow 240ms cubic-bezier(.23, 1, .32, 1),
      background-color 200ms ease;
  }
}
@media (hover: hover) and (pointer: fine) {
  body main .case-page .case-navigation a:hover,
  body main .case-page .case-navigation a:focus-visible {
    border-color: #789bc4;
    box-shadow: 0 9px 20px rgba(18, 48, 82, .12);
  }
}
@media (hover: none) and (pointer: coarse) {
  body main .case-page .case-navigation a:is(:active, .motion-touch-active) {
    border-color: #789bc4;
    box-shadow: 0 9px 20px rgba(18, 48, 82, .12);
  }
}
@media (prefers-reduced-motion: reduce) {
  body main .case-page .case-navigation a { transition: none; }
}
