/* WISE Framework — download-first. No global html/body/header rules. */
section.wise-download-only {
    --wise-dl-main: #72205B;
    --wise-dl-dark: #571744;
    --wise-dl-light: #F7EDF4;
    width: 100%; max-width: 1250px; height: auto; min-height: 0; max-height: none; margin: 28px auto;
    border: 1px solid #e5d9e2; border-top: 4px solid var(--wise-dl-main);
    border-radius: 20px; overflow: hidden; background: #fff; color: #29232a;
    box-shadow: 0 12px 38px rgba(60, 25, 49, .07);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px; line-height: 1.65; text-align: left; scroll-margin-top: 100px;
}
.wise-download-only *, .wise-download-only *::before, .wise-download-only *::after { box-sizing: border-box; }
.wise-download-only .wise-dl-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 38px; padding: 38px; }
.wise-download-only .wise-dl-gallery { min-width: 0; align-self: center; }
.wise-download-only .wise-dl-preview-label { margin: 0 0 15px; color: #6b5063; font-size: 11px; font-weight: 750; letter-spacing: 1.7px; }
.wise-download-only .wise-dl-previews { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; align-items: start; }
.wise-download-only figure.wise-dl-preview { width: auto; min-width: 0; margin: 0; padding: 0; border: none; background: transparent; }
.wise-download-only .wise-dl-preview-link { position: relative; display: block; background: #fff; border: 1px solid #e4dae1; border-radius: 8px; overflow: hidden; box-shadow: 0 9px 24px rgba(40,20,33,.09); text-decoration: none; }
.wise-download-only .wise-dl-preview-link img { display: block; width: 100% !important; max-width: 100%; height: auto !important; aspect-ratio: 707 / 1000; object-fit: contain !important; object-position: center; margin: 0 !important; border: 0; filter: none; opacity: 1; }
.wise-download-only .wise-dl-preview-link:hover { border-color: var(--wise-dl-main); }
.wise-download-only .wise-dl-caption-icon { color: var(--wise-dl-main); margin-left: 4px; font-size: 16px; }
.wise-download-only .wise-dl-preview figcaption { margin: 12px 0 0; padding: 0; color: #4c4049; font-size: 13px; font-weight: 650; text-align: center; }
.wise-download-only .wise-dl-preview-note { margin: 18px 0 0; color: #766c73; font-size: 12px; line-height: 1.6; text-align: center; }
.wise-download-only .wise-dl-copy { min-width: 0; }
.wise-download-only .wise-dl-eyebrow { display: inline-block; padding: 5px 11px; border-radius: 20px; color: var(--wise-dl-main); background: var(--wise-dl-light); font-size: 10px; font-weight: 800; letter-spacing: 1.2px; }
.wise-download-only h2 { margin: 16px 0 12px !important; padding: 0; color: #29232a; font-family: inherit; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.16; font-weight: 760; letter-spacing: -.8px; text-transform: none; }
.wise-download-only h2 span { color: var(--wise-dl-main); }
.wise-download-only .wise-dl-subtitle { margin: 0 0 16px; font-size: 13px; font-weight: 650; color: #76616f; }
.wise-download-only .wise-dl-intro { margin: 0 0 20px; font-size: 14px; line-height: 1.75; color: #5c525a; }
.wise-download-only h3 { margin: 0 0 11px; padding: 0; font-family: inherit; font-size: 14px; line-height: 1.4; font-weight: 750; color: #342b32; }
.wise-download-only ul.wise-dl-topics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 15px; margin: 0; padding: 0; list-style: none; }
.wise-download-only .wise-dl-topics li { position: relative; margin: 0; padding: 0 0 0 18px; color: #5e505a; font-size: 12px; line-height: 1.5; list-style: none; }
.wise-download-only .wise-dl-topics li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--wise-dl-main); font-weight: 800; }
.wise-download-only .wise-dl-self-assessment { margin: 16px 0 22px; padding: 12px 14px; border-left: 3px solid #b985a8; border-radius: 0 8px 8px 0; background: #faf5f8; color: #62515c; font-size: 12px; line-height: 1.6; }
.wise-download-only .wise-dl-self-assessment strong { color: var(--wise-dl-main); }
.wise-download-only a.wise-dl-button { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 64px; padding: 17px 20px; border: 1px solid var(--wise-dl-main); border-radius: 12px; background: var(--wise-dl-main); color: #fff !important; font-size: 17px; line-height: 1.4; font-weight: 750; text-align: center; text-decoration: none !important; box-shadow: 0 7px 18px rgba(114,32,91,.17); transition: background .18s, box-shadow .18s; }
.wise-download-only .wise-dl-button svg, .wise-download-only .wise-dl-footer-button svg { flex: 0 0 24px; }
.wise-download-only a.wise-dl-button:hover { background: var(--wise-dl-dark); border-color: var(--wise-dl-dark); box-shadow: 0 9px 22px rgba(114,32,91,.22); }
.wise-download-only a:focus-visible, .wise-download-only button:focus-visible { outline: 3px solid #b16c9e; outline-offset: 4px; }
.wise-download-only .wise-dl-download-note, .wise-download-only .wise-dl-count { margin: 11px 0 0; color: #776773; font-size: 11px; line-height: 1.6; text-align: center; }
.wise-download-only .wise-dl-download-note span { padding: 0 4px; }
.wise-download-only .wise-dl-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 38px; background: #f8f1f6; border-top: 1px solid #eddfE8; }
.wise-download-only .wise-dl-footer strong { display: block; color: var(--wise-dl-main); font-size: 15px; font-weight: 750; line-height: 1.5; }
.wise-download-only .wise-dl-footer p { margin: 3px 0 0; font-size: 12px; line-height: 1.6; color: #75616d; }
.wise-download-only a.wise-dl-footer-button { display: inline-flex; flex: 0 0 auto; justify-content: center; align-items: center; gap: 9px; min-height: 48px; padding: 11px 18px; border: 1px solid #d7b6cb; border-radius: 9px; color: var(--wise-dl-main) !important; background: #fff; text-decoration: none !important; font-size: 14px; font-weight: 750; }
.wise-download-only a.wise-dl-footer-button:hover { border-color: var(--wise-dl-main); background: #fdf8fb; }
.wise-download-only dialog.wise-dl-dialog:not([open]) { display: none !important; }
.wise-download-only dialog.wise-dl-dialog { position: fixed; inset: 0; width: min(850px,calc(100vw - 24px)); max-width: none; height: auto; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 1px solid #e6d7e1; border-radius: 12px; background: #fff; color: #30232c; box-shadow: 0 12px 60px rgba(0,0,0,.25); overflow: auto; overscroll-behavior: contain; }
.wise-download-only .wise-dl-dialog::backdrop { background: rgba(28,17,25,.7); }
.wise-download-only .wise-dl-dialog-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #eee5eb; background: #fff; }
.wise-download-only .wise-dl-dialog-head strong { font-size: 14px; }
.wise-download-only button.wise-dl-dialog-close { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 8px 12px; border: 1px solid #dccbd6; border-radius: 7px; font: inherit; font-size: 13px; color: var(--wise-dl-main); background: #fff; cursor: pointer; }
.wise-download-only .wise-dl-dialog-close span { font-size: 23px; line-height: 1; }
.wise-download-only .wise-dl-dialog-body { background: #eee8ed; padding: 12px; }
.wise-download-only .wise-dl-dialog-body img { display: block; width: 100%; height: auto; object-fit: contain; margin: 0; border: 0; background: #fff; }
.wise-download-only .wise-dl-dialog-note { margin: 0; padding: 12px; font-size: 12px; text-align: center; }
@media (max-width: 950px) {
    .wise-download-only .wise-dl-layout { gap: 26px; padding: 28px; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); }
    .wise-download-only .wise-dl-previews { gap: 10px; }
    .wise-download-only .wise-dl-footer { padding: 22px 28px; }
}
@media (max-width: 760px) {
    section.wise-download-only { margin: 20px auto; border-radius: 14px; }
    .wise-download-only .wise-dl-layout { grid-template-columns: 1fr; padding: 25px 22px; gap: 30px; }
    .wise-download-only .wise-dl-copy { order: 0; }
    .wise-download-only .wise-dl-gallery { order: 1; max-width: 570px; width: 100%; margin: auto; }
    .wise-download-only h2 { font-size: 30px; }
    .wise-download-only .wise-dl-footer { align-items: stretch; flex-direction: column; padding: 22px; gap: 16px; }
    .wise-download-only .wise-dl-footer-button { width: 100%; }
}
@media (max-width: 380px) {
    .wise-download-only .wise-dl-layout { padding: 22px 16px; }
    .wise-download-only h2 { font-size: 27px; }
    .wise-download-only a.wise-dl-button { padding: 15px 12px; font-size: 15px; gap: 8px; }
    .wise-download-only ul.wise-dl-topics { grid-template-columns: 1fr; }
    .wise-download-only .wise-dl-preview figcaption { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .wise-download-only a { transition: none !important; } }
