.cmh-online-library .smvo-catalogue-grid {
    display: grid !important; grid-template-columns: repeat(6,minmax(0,1fr)) !important;
    gap: 26px 16px !important; margin: 22px 0; overflow: visible;
}
.cmh-online-library .smvo-catalogue-grid > .cmh-mgg-card { min-width: 0; width: 100%; }
.cmh-online-library .smvo-catalogue-grid img { width: 100%; height: auto; aspect-ratio: 2/3; object-fit: cover; }
.cmh-online-library .smvo-results-heading { margin: 22px 0 16px; }
.cmh-online-library .smvo-results-heading h3 { margin: 0 0 8px; font-size: 24px; }
.cmh-online-library .smvo-results-heading p { color: #becbdf; }
.cmh-online-library .smvo-results-heading a { color: #ffb7ce; }
.cmh-online-library .smvo-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 28px 0; }
.cmh-online-library .smvo-pagination a,
.cmh-online-library .smvo-pagination span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; padding: 8px 12px; border-radius: 9px; }
.cmh-online-library .smvo-pagination a { color: #fff; border: 1px solid #56657e; text-decoration: none; }
.cmh-online-library .smvo-pagination [aria-current] { background: #af2354; color: #fff; font-weight: 800; }
.smvo-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media(max-width:1050px) { .cmh-online-library .smvo-catalogue-grid { grid-template-columns: repeat(4,minmax(0,1fr)) !important; } }
@media(max-width:700px) {
    .cmh-online-library .smvo-catalogue-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 22px 12px !important; }
}
@media(max-width:480px) { .cmh-online-library .smvo-catalogue-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; } }

/* Compact guidance below the catalogue. */
.cmh-mgg-main section.cmh-mgg-panel.smvo-viewing-guide {
    box-sizing: border-box;
    margin: 30px 0 20px !important;
    padding: 20px 24px !important;
    border: 1px solid rgba(148,163,184,.18) !important;
    border-radius: 14px !important;
    background: #111824 !important;
    box-shadow: none !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
    text-align: left;
}
.cmh-mgg-main .smvo-viewing-guide h2 {
    margin: 0 0 9px !important;
    color: #e9eef7 !important;
    font: 650 16px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
    letter-spacing: -.015em !important;
}
.cmh-mgg-main .smvo-viewing-guide p {
    max-width: 92ch;
    margin: 0 !important;
    color: #b8c4d5 !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
    font-weight: 400 !important;
}
.cmh-mgg-main .smvo-viewing-guide p + p {
    margin-top: 14px !important;
    padding-top: 12px;
    border-top: 1px solid rgba(148,163,184,.14);
}
.cmh-mgg-main .smvo-viewing-guide a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    color: #f3b2c8 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    line-height: 1.5;
}
.cmh-mgg-main .smvo-viewing-guide a:hover { color: #ffd8e5 !important; text-decoration: underline !important; }
.cmh-mgg-main .smvo-viewing-guide a:focus-visible { outline: 2px solid #ff96b6; outline-offset: 4px; border-radius: 3px; }
.cmh-online-library .smvo-pagination a:focus-visible { outline: 2px solid #ff96b6; outline-offset: 3px; }
@media(max-width:600px) {
    .cmh-mgg-main section.cmh-mgg-panel.smvo-viewing-guide { padding: 17px 16px !important; }
    .cmh-mgg-main .smvo-viewing-guide h2 { font-size: 15px !important; }
    .cmh-mgg-main .smvo-viewing-guide a { min-height: 44px; }
}

/* v1.0.64: compact return CTA, subtle hover and catalogue suggestions. */
html body .cmh-online-library .smvo-results-heading a {
 display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border:1px solid #df3b65;
 border-radius:9px;background:#a91e46;color:#fff;font-size:13px;font-weight:700;line-height:1.4;text-decoration:none;
}
html body .cmh-online-library .smvo-results-heading a::before {content:'←';font-size:16px;}
html body .cmh-online-library .smvo-results-heading a:hover {background:#c82753;}
html body .cmh-online-library .smvo-results-heading a:focus-visible {outline:2px solid #ffb7ce;outline-offset:3px;}
@media(hover:hover) and (pointer:fine) {
 [data-smvo-catalogue] .cmh-mgg-card {position:relative;transition:transform .2s ease!important;}
 [data-smvo-catalogue] .cmh-mgg-card:hover {transform:scale(1.025)!important;z-index:2;}
 [data-smvo-catalogue] .cmh-online-library-track {padding-top:7px;padding-bottom:7px;}
 [data-smvo-catalogue] .smvo-mouse-dragging .cmh-mgg-card {transform:none!important;}
}
@media(prefers-reduced-motion:reduce) {
 [data-smvo-catalogue] .cmh-mgg-card,[data-smvo-catalogue] .cmh-mgg-card:hover {transform:none!important;transition:none!important;}
}
.cmh-online-library-filters .smvo-suggest-field {position:relative;overflow:visible;}
.smvo-suggest-field .smvo-vod-suggestions {position:absolute;z-index:1000;top:100%;left:0;width:max(100%,300px);max-width:calc(100vw - 40px);max-height:400px;overflow:auto;box-sizing:border-box;background:#171923;color:#fff;border:1px solid #ffffff30;border-radius:10px;padding:8px;box-shadow:0 12px 30px #0008;}
.smvo-suggest-field .smvo-vod-suggestions[hidden] {display:none!important;}
.smvo-suggest-field .smvo-vod-suggestions a {display:block;padding:10px;border-radius:7px;color:#fff;text-decoration:none;font-size:14px;line-height:1.4;}
.smvo-suggest-field .smvo-vod-suggestions a:hover,.smvo-suggest-field .smvo-vod-suggestions a:focus {background:#a91e46;outline:none;}
.smvo-suggest-field .smvo-vod-suggestions small {display:block;font-size:12px;color:#cbd0df;}
.smvo-suggest-field .smvo-search-status {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
