/* A paper preview connects the online reference to its designed print edition. */
.study-sheet-page > header { grid-template-columns: minmax(0, 1fr); }
.study-sheet-page h1 { max-width: 850px; font-size: clamp(2.8rem, 5vw, 4.7rem); line-height: 1.03; }
.study-sheet-page .print-controls { justify-content: flex-start; }
.resource-download { display: grid; grid-template-columns: minmax(160px, 260px) minmax(0, 1fr); gap: clamp(28px, 5vw, 76px); align-items: center; margin: 40px 0 52px; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line-strong); border-radius: 18px; background: var(--surface); }
.resource-preview { display: block; transform: rotate(-2deg); box-shadow: 0 18px 40px rgb(0 0 0 / 18%); transition: transform .2s ease; }
.resource-preview:hover { transform: rotate(0); }
.resource-preview img { display: block; width: 100%; height: auto; background: white; }
.resource-download-copy { max-width: 640px; }
.resource-download-copy h2 { margin: 10px 0 20px; font-size: clamp(1.8rem, 3.6vw, 3.1rem); line-height: 1.12; letter-spacing: -.04em; white-space: pre-line; scroll-margin-top: 110px; }
.resource-download-copy > p { color: var(--muted); line-height: 1.7; }
.resource-download-copy .resource-file-details { margin: 24px 0; font-size: .86rem; }
.resource-download-copy > a { color: var(--text-strong); font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
@media(max-width:600px) { .resource-download { grid-template-columns: 1fr; } .resource-preview { width: min(65%,220px); margin: 0 auto; } }
@media(prefers-reduced-motion:reduce) { .resource-preview { transition: none; transform: none; } }
@media print { .resource-download { display: none !important; } }
