/* Footer stays viewport-wide while the browser scrolls the photo/story strip. */
.ig-footer-shell{background:var(--ig-bg,#fff)}body.imagus-fixed-footer.imagus-footer-ready{padding-bottom:var(--ig-fixed-footer-height,100px)}.imagus-fixed-footer.imagus-footer-ready .ig-footer-shell{position:fixed;left:0;right:0;bottom:0;z-index:50;width:100%;max-height:45svh;overflow-y:auto;border-top:1px solid var(--ig-line,#ddd);background:var(--ig-bg,#fff)}.imagus-fixed-footer .site-footer{border-top:0}.imagus-fixed-footer .imagus-consent-settings{padding-bottom:6px}.imagus-fixed-footer .ig-footer-shell .site-footer{min-width:0}.imagus-fixed-footer .ig-footer-shell .ig-legal-nav a{white-space:normal}
/* Pin the header to the viewport on both axes; keep its original space in flow. */
body.imagus-fixed-header.imagus-header-ready{border-top:0;padding-top:var(--ig-fixed-header-height,94px)}body.imagus-fixed-header.imagus-header-ready .site-header{position:fixed;top:var(--ig-adminbar-offset,0px);border-top:3px solid var(--ig-line,#ddd);left:0;right:0;width:100%;max-width:none;margin:0;z-index:80;background:var(--ig-bg,#fff)}html:has(.imagus-header-ready){scroll-padding-top:calc(var(--ig-fixed-header-height,94px) + var(--ig-adminbar-offset,0px) + 12px)}
@media(min-width:901px){body.imagus-fixed-header.imagus-header-ready:has(.ig-journal-page) .site-header{padding-left:max(32px,calc((100% - 1480px)/2 + 32px));padding-right:max(32px,calc((100% - 1480px)/2 + 32px))}}
/* Existing controls still drive the strip; a viewport dock proxies them. */
.imagus-page-layout-ready .ig-view-toolbar{display:none!important}.ig-scroll-dock{position:fixed;right:24px;bottom:12px;z-index:70;display:flex;gap:6px;background:var(--ig-bg,#fff);border:1px solid var(--ig-line,#ccc);padding:5px;box-shadow:0 3px 18px #0003}.imagus-footer-ready .ig-scroll-dock{bottom:calc(var(--ig-fixed-footer-height,100px) + 12px)}.ig-scroll-dock[hidden]{display:none!important}.ig-scroll-dock button{width:44px;height:44px;padding:0;border:1px solid var(--ig-line,#ccc);background:var(--ig-surface,#f5f6f1);color:var(--ig-ink,#242523);cursor:pointer}.ig-scroll-dock button:disabled{opacity:.35;cursor:default}.ig-scroll-dock button:focus-visible{outline:2px solid var(--ig-accent);outline-offset:2px}
/* Compact introductory space, without changing the configured title size. */
body .journal.ig-journal-page{margin-top:16px}body .ig-journal-page>header{margin-bottom:14px}body .ig-journal-page>header>.ig-eyebrow{margin:0 0 6px;font:10px/1.4 Arial,sans-serif;letter-spacing:.12em}body .ig-journal-page>header h1{margin-top:0;margin-bottom:10px}.imagus-page-layout-ready .ig-journal-main .is-horizontal [data-view-track]{padding-top:0}
/* Shortened previews fit the space between header and footer on typical desktops. */
@media(min-width:901px){.ig-journal-main .ig-compact-journal .journal-entry{display:flex;flex-direction:column;min-height:var(--ig-blog-card-height);padding-bottom:0}.ig-journal-main .ig-compact-journal .journal-entry .ig-blog-cover{flex:none}.ig-journal-main .ig-compact-journal .journal-entry .ig-blog-cover img{height:clamp(140px,calc(var(--ig-blog-card-height) * .42),300px);aspect-ratio:auto;object-fit:cover}.ig-journal-main .ig-compact-journal .ig-journal-card-heading{margin-top:14px}.ig-journal-main .ig-compact-journal .journal-entry .ig-post-categories{margin:8px 0}.ig-journal-main .ig-compact-journal .journal-entry>p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;line-height:1.65;font-size:16px;margin:8px 0}.ig-journal-main .ig-compact-journal .journal-entry .ig-read-more{margin-top:auto;align-self:flex-start}}
@media(max-width:600px){.ig-scroll-dock{right:12px}body .journal.ig-journal-page{margin-top:14px}}

/* Size follows vertical scroll position over 160px; reserve full height to prevent jumps. */
body.imagus-fixed-header.imagus-header-ready.imagus-header-dynamic .site-header{min-height:var(--ig-shrink-min);padding-top:var(--ig-shrink-pt);padding-bottom:var(--ig-shrink-pb)}
body.imagus-header-dynamic .site-header .site-brand .custom-logo{max-width:var(--ig-shrink-logo-w);max-height:var(--ig-shrink-logo-h);margin-bottom:var(--ig-shrink-logo-mb)}
body.imagus-header-dynamic .site-header .site-brand>span{font-size:var(--ig-shrink-tag)}
body.imagus-header-dynamic .site-header .site-name{font-size:var(--ig-shrink-name)}
@media(max-width:760px){body.imagus-header-dynamic .site-header #site-navigation{top:100%}}
