/* Scoped improvements: preserve approved design and imagery. */
.yt-header .yt-nav .yt-project-subnav{position:relative;display:inline-flex;align-items:center;gap:4px}
.yt-header .yt-nav .yt-project-subnav>a{display:inline-flex;align-items:center}
.yt-header .yt-nav .yt-subnav-toggle{border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;padding:6px;line-height:1;min-width:26px;min-height:32px}
.yt-header .yt-nav .yt-subnav-items{display:none;position:absolute;top:100%;left:0;min-width:230px;background:#fff;box-shadow:0 14px 32px rgba(7,4,57,.15);border:1px solid rgba(7,4,57,.12);z-index:9999;padding:8px 0}
.yt-header .yt-nav .yt-subnav-items a{display:block!important;white-space:nowrap;color:#070439!important;text-decoration:none;padding:12px 16px;font-size:13px}
.yt-header .yt-nav .yt-subnav-items a:hover,.yt-header .yt-nav .yt-subnav-items a:focus-visible{background:#f3f2f8}
.yt-header .yt-nav .yt-project-subnav:hover .yt-subnav-items,.yt-header .yt-nav .yt-project-subnav:focus-within .yt-subnav-items,.yt-header .yt-nav .yt-project-subnav.is-open .yt-subnav-items{display:block}
.yt-header .yt-nav a:focus-visible,.yt-header .yt-nav button:focus-visible{outline:2px solid #070439;outline-offset:3px}
@media(max-width:800px){.yt-header .yt-nav .yt-project-subnav{display:flex;flex-wrap:wrap;width:100%;justify-content:space-between}.yt-header .yt-nav .yt-subnav-toggle{min-width:44px;min-height:44px}.yt-header .yt-nav .yt-subnav-items{position:static;order:3;width:100%;box-shadow:none;border:0;border-left:2px solid #070439;margin:0 0 8px 10px;background:transparent}.yt-header .yt-nav .yt-subnav-items a{padding:10px 14px;color:inherit!important}}
/* Keep page counters and gallery actions from overlapping back-links. */
.sf-controls{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:12px!important;flex-wrap:nowrap!important;position:relative!important;inset:auto!important;transform:none!important;margin:12px 0 0 auto!important;max-width:100%!important}
.sf-controls .sf-count{white-space:nowrap!important;min-width:44px!important;text-align:center!important;line-height:1.4!important}
.sf-controls button{flex:none!important;position:static!important;transform:none!important}
.sf-back{clear:both!important;display:block!important;position:relative!important;inset:auto!important;transform:none!important;margin-top:24px!important}
.sf-back a{display:inline-flex!important;align-items:center!important;max-width:100%!important;white-space:normal!important}
