/* Shared header only; page composition belongs to the existing styles. */
@layer fmrHeader {
html body #headerContainer {position:sticky!important;top:0!important;z-index:10000!important;height:auto!important;min-height:0!important;max-height:none!important;}
html body .header {height:auto!important;min-height:0!important;max-height:none!important;padding:0!important;}
html body .header>.container {width:100%!important;max-width:1760px!important;padding-inline:24px!important;overflow:visible!important;}
html body .header .header-container {display:grid!important;grid-template-columns:minmax(180px,260px) minmax(0,1fr) auto!important;align-items:center!important;gap:16px!important;width:100%!important;max-width:none!important;padding:12px 0!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;}
html body .header :is(.header-brand-wrap,.header-center-stack,.header-auth,.user-menu,.user-dropdown,.auth-buttons) {position:relative!important;inset:auto!important;transform:none!important;min-width:0!important;max-width:100%!important;width:auto!important;margin:0!important;grid-column:auto!important;grid-row:auto!important;overflow:visible!important;}
html body .header :is(.header-brand-topline,.logo-subtitle) {display:none!important;}
html body .header .logo {display:flex!important;gap:10px!important;min-width:0!important;max-width:100%!important;width:auto!important;overflow:visible!important;}
html body .header .logo-mark {width:48px!important;height:48px!important;min-width:48px!important;max-width:48px!important;max-height:48px!important;flex:0 0 48px!important;}
html body .header .logo-title {font-size:14px!important;line-height:1.25!important;white-space:normal!important;}
html body .header .header-nav-shell {position:static!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;justify-content:center!important;align-items:center!important;gap:4px!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;transform:none!important;overflow:visible!important;}
html body .header .nav-link {font-size:12px!important;line-height:1.25!important;padding:10px 7px!important;white-space:nowrap!important;min-width:0!important;flex:0 0 auto!important;}
html body .header .header-auth {display:flex!important;justify-self:end!important;}
html body .header .user-dropdown-toggle {display:flex!important;align-items:center!important;gap:8px!important;width:auto!important;min-width:0!important;max-width:260px!important;height:auto!important;min-height:44px!important;padding:10px 12px!important;overflow:visible!important;white-space:normal!important;}
html body .header #userName {display:block!important;font-size:14px!important;line-height:1.25!important;min-width:0!important;width:auto!important;max-width:none!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;overflow:visible!important;text-overflow:clip!important;}
html body .header .user-dropdown-toggle>i {position:static!important;font-size:14px!important;flex:0 0 auto!important;}
html body .header .header-menu-toggle {display:none!important;}
html body .header .dropdown-content {left:auto!important;right:0!important;min-width:240px!important;max-width:min(360px,calc(100vw - 32px))!important;}
@media(max-width:1439px) {
html body .header .header-container {grid-template-columns:minmax(0,1fr) auto 44px!important;gap:12px!important;}
html body .header .header-brand-wrap {grid-column:1!important;grid-row:1!important;}
html body .header .header-auth {grid-column:2!important;grid-row:1!important;}
html body .header .header-menu-toggle {display:flex!important;grid-column:3!important;grid-row:1!important;align-items:center!important;justify-content:center!important;width:44px!important;height:44px!important;padding:0!important;}
html body .header .header-center-stack {display:none!important;grid-column:1/-1!important;grid-row:2!important;}
html body .header .menu-open .header-center-stack,html body .header.menu-open .header-center-stack {display:block!important;}
html body .header .header-nav-shell {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;opacity:1!important;visibility:visible!important;max-height:none!important;}
html body .header .nav-link {font-size:14px!important;padding:12px 8px!important;text-align:center!important;}
}
@media(max-width:767px) {
html body .header>.container {padding-inline:12px!important;}
html body .header .header-container {grid-template-columns:40px minmax(0,1fr) 44px!important;gap:10px!important;padding:10px 0!important;}
html body .header .logo-copy {display:none!important;}
html body .header .logo-mark {width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important;max-height:40px!important;flex:0 0 40px!important;}
html body .header .user-dropdown-toggle {max-width:100%!important;padding:10px 8px!important;gap:6px!important;}
html body .header .header-nav-shell {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
html body .header .dropdown-content {position:fixed!important;top:var(--fmr-header-height,65px)!important;right:12px!important;left:auto!important;width:280px!important;min-width:0!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - var(--fmr-header-height,65px) - 12px)!important;overflow-y:auto!important;transform:none!important;}
}
@media(max-width:359px) {html body .header #userName{font-size:13px!important;}html body .header .user-dropdown-toggle{padding:8px 5px!important;gap:4px!important;}html body .header .user-dropdown-toggle>i{font-size:12px!important;}}
}
@layer fmrHeader {
}
@layer fmrHeader {
html body .header .header-container {grid-template-rows:auto!important;grid-auto-rows:auto!important;}
html body .header :is(.header-brand-wrap,.header-center-stack,.header-auth,.user-menu,.user-dropdown,.auth-buttons){height:auto!important;min-height:0!important;max-height:none!important;}
html body .header .header-menu-toggle {min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;overflow:visible!important;}
}
@layer fmrHeader {
}
@layer fmrHeader {html body .header .logo {height:auto!important;min-height:0!important;max-height:none!important;padding:0!important;align-items:center!important;}}
@layer fmrHeader {
html body .header :is(.header-center-stack,.header-nav-shell) {background:transparent!important;border:0!important;box-shadow:none!important;}
@media(min-width:1440px) {html body .header .nav-link{font-size:14px!important;padding:10px 8px!important;}}
}

@layer fmrHeader {
html.laptop-phone-mode body .header>.container {padding-inline:16px!important;}
html.laptop-phone-mode body .header .header-container {grid-template-columns:48px minmax(0,1fr) auto!important;gap:12px!important;padding:12px 0!important;}
html.laptop-phone-mode body .header .header-brand-wrap {grid-column:1!important;grid-row:1!important;}
html.laptop-phone-mode body .header .logo-copy {display:none!important;}
html.laptop-phone-mode body .header .header-menu-toggle {display:none!important;}
html.laptop-phone-mode body .header .header-center-stack {display:block!important;grid-column:2!important;grid-row:1!important;}
html.laptop-phone-mode body .header .header-auth {grid-column:3!important;grid-row:1!important;}
html.laptop-phone-mode body .header .header-nav-shell {display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:4px!important;}
html.laptop-phone-mode body .header .nav-link {font-size:13px!important;padding:10px 6px!important;}
html.laptop-phone-mode body .header .user-dropdown-toggle {max-width:240px!important;}
html.laptop-phone-mode body .header .dropdown-content {position:absolute!important;top:100%!important;right:0!important;left:auto!important;width:280px!important;max-height:70vh!important;overflow-y:auto!important;transform:none!important;font-size:14px!important;}
html.laptop-phone-mode body .header .dropdown-item {display:flex!important;align-items:center!important;gap:10px!important;}
html.laptop-phone-mode body .header .dropdown-item>i {position:static!important;flex:0 0 20px!important;width:20px!important;margin:0!important;}
}

@layer fmrHeader {html.laptop-phone-mode body .header .header-nav-shell::after {content:none!important;}}
/* Keep sticky relative to the document, without creating a body scroll container. */
@layer fmrHeader {
html body {overflow-x:clip!important;}
html body .header .logo-mark {display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;}
html body .header .logo-mark>img.logo-mark-img {display:block!important;position:static!important;width:100%!important;height:100%!important;min-width:0!important;max-width:100%!important;max-height:100%!important;margin:0!important;padding:0!important;border:0!important;box-sizing:border-box!important;object-fit:contain!important;object-position:center!important;transform:none!important;flex:0 1 auto!important;}
html body #homeNewsSlider .ioc-news-slide__content p {font-size:clamp(16px,calc(18px * var(--fmr-monitor-scale,1)),18px)!important;line-height:1.5!important;margin:16px 0 20px!important;max-width:65ch!important;}
}
