/* Shared upper navigation. Native details preserve dropdown access without JavaScript. */
body:has(#site-header.public-topnav):not(.admin-route) { --header: 84px; padding-left: 0; }
#site-header#site-header.public-topnav { position: fixed; inset: 0 0 auto; z-index: 60; display: block; width: 100%; height: var(--header); margin: 0; padding: 0; border: 0; border-bottom: 1px solid #e9e8e5; border-radius: 0; background: #fffffff5; box-shadow: none; backdrop-filter: blur(18px); color: #4b4e49; }
#site-header#site-header.public-topnav .header-inner { display: flex; align-items: center; justify-content: space-between; width: min(1320px,calc(100% - 80px)); height: 100%; min-height: 0; margin: auto; padding: 0; gap: clamp(22px,2.4vw,36px); }
#site-header#site-header.public-topnav .navigation-brand-row { display: flex; align-items: center; flex: 0 0 154px; min-width: 0; }
#site-header#site-header.public-topnav .header-inner .brand { display: block; flex: 0 0 154px; width: 154px; min-width: 0; max-width: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; }
#site-header#site-header.public-topnav .brand img { display: block; width: 100%; height: auto; padding: 0; background: none; }
#site-header#site-header.public-topnav .header-navigation { position: static; inset: auto; display: flex; flex: 1; align-items: center; justify-content: flex-end; min-width: 0; width: auto; height: 100%; max-height: none; padding: 0; gap: 28px; border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
#site-header#site-header.public-topnav .main-nav { display: block; flex: 0 1 auto; min-width: 0; width: auto; max-width: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; overflow: visible; }
#site-header#site-header.public-topnav .public-nav-list { list-style: none; margin: 0; padding: 0; }
#site-header#site-header.public-topnav .main-nav > .public-nav-list { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 2px clamp(12px,1.65vw,24px); }
#site-header#site-header.public-topnav .public-nav-item { position: relative; list-style: none; margin: 0; padding: 0; }
#site-header#site-header.public-topnav .public-nav-row { position: relative; display: flex; align-items: center; width: 100%; min-height: 40px; padding: 9px 0; gap: 6px; border: 0; border-radius: 0; color: #666960; background: transparent; font: 400 14px/1.45 'PT Sans',Arial,sans-serif; text-align: left; white-space: nowrap; text-decoration: none; transition: color .2s,background .2s; }
#site-header#site-header.public-topnav .public-nav-row:hover { color: #ad303e; }
#site-header#site-header.public-topnav .main-nav > .public-nav-list > li > .public-nav-row,
#site-header#site-header.public-topnav summary.public-nav-row { font-weight: 700; }
#site-header#site-header.public-topnav .public-nav-row[aria-current] { color: #aa303e; font-weight: 700; }
#site-header#site-header.public-topnav .main-nav > .public-nav-list > .public-nav-item > .public-nav-row[aria-current]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: #b33846; }
#site-header#site-header.public-topnav .public-nav-icon { display: none; }
#site-header#site-header.public-topnav .public-nav-label { flex: 1; min-width: 0; }
#site-header#site-header.public-topnav .public-nav-group { position: relative; padding: 0; border: 0; margin: 0; }
#site-header#site-header.public-topnav summary.public-nav-row { list-style: none; user-select: none; }
#site-header#site-header.public-topnav summary.public-nav-row::-webkit-details-marker { display: none; }
#site-header#site-header.public-topnav .public-nav-chevron { display: grid; place-items: center; flex: 0 0 14px; color: #91948b; transition: transform .2s; }
#site-header#site-header.public-topnav .public-nav-chevron svg { width: 14px; height: 14px; }
#site-header#site-header.public-topnav details[open] > summary .public-nav-chevron { transform: rotate(180deg); }
#site-header#site-header.public-topnav details[open] > summary, #site-header#site-header.public-topnav details.has-active-page > summary { color: #a72e3c; }
#site-header#site-header.public-topnav details:not([open]) > .public-nav-children { display: none; }
#site-header#site-header.public-topnav .main-nav > .public-nav-list > li > details > .public-nav-children { position: absolute; top: calc(100% + 10px); left: -18px; z-index: 3; display: block; width: max-content; min-width: 275px; max-width: min(340px,calc(100vw - 40px)); max-height: calc(100dvh - var(--header) - 36px); padding: 9px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; border: 1px solid #e7e4df; border-radius: 10px; background: #fff; box-shadow: 0 16px 46px #242c3514,0 3px 8px #242c3506; }
#site-header#site-header.public-topnav .main-nav > .public-nav-list > li:last-child > details > .public-nav-children { left: auto; right: -12px; }
#site-header#site-header.public-topnav .public-nav-children .public-nav-row { min-height: 40px; padding: 10px 12px; gap: 13px; border-radius: 6px; color: #64685f; font-size: 14px; line-height: 1.45; white-space: normal; }
#site-header#site-header.public-topnav .public-nav-children .public-nav-row:hover { background: #f7f6f3; color: #aa303e; }
#site-header#site-header.public-topnav .public-nav-children .public-nav-row[aria-current] { background: #faf0f2; color: #aa303e; }
#site-header#site-header.public-topnav .public-nav-children .public-nav-row::after { display: none; }
#site-header#site-header.public-topnav .public-nav-children .public-nav-children { position: static; width: auto; min-width: 0; max-width: none; margin: 4px 0 5px 14px; padding: 0 0 0 9px; border: 0; border-left: 1px solid #e5e2dc; border-radius: 0; background: transparent; box-shadow: none; }
#site-header#site-header.public-topnav .public-nav-children .public-nav-children .public-nav-row { font-size: 13px; }
#site-header#site-header.public-topnav .header-actions { display: flex; flex: 0 0 auto; align-items: center; justify-content: flex-end; min-width: 0; max-width: 100%; margin: 0; padding: 0 0 0 23px; gap: 0; border: 0; border-left: 1px solid #e9e7e2; background: transparent; }
#site-header#site-header.public-topnav .language-switch { display: flex; align-items: center; justify-content: flex-start; gap: 2px; width: fit-content; padding: 0; border: 0; margin: 0; }
#site-header#site-header.public-topnav .language-switch button { display: grid; place-items: center; min-width: 28px; height: 31px; padding: 0 5px; border: 0; border-radius: 5px; background: transparent; color: #84867d; font: 400 11px/1 'PT Sans',Arial,sans-serif; }
#site-header#site-header.public-topnav .language-switch button:hover { background: #f6f4f0; color: #a62e3b; }
#site-header#site-header.public-topnav .language-switch button[aria-pressed="true"] { background: #fbf2f3; color: #a72e3c; }
#site-header#site-header.public-topnav .customer-navigation { display: flex; flex: 0 0 auto; align-items: center; justify-content: flex-end; margin-left: -14px; }
#site-header#site-header.public-topnav .customer-navigation:empty { display: none; }
#site-header#site-header.public-topnav .public-customer-avatar { display: grid; place-items: center; width: 39px; height: 39px; padding: 0; border: 1px solid #dbdcd6; border-radius: 50%; background: #f8f8f5; color: #777e70; transition: background .2s,border-color .2s,color .2s; }
#site-header#site-header.public-topnav .public-customer-avatar:hover { background: #fbf1f3; border-color: #d8b6bd; color: #aa303e; }
#site-header#site-header.public-topnav .public-customer-avatar svg { width: 20px; height: 20px; }
#site-header#site-header.public-topnav .public-nav-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
#site-header#site-header.public-topnav .menu-toggle, #site-header#site-header.public-topnav .navigation-backdrop { display: none; }
#site-header#site-header.public-topnav :is(a,button,summary):focus-visible { outline: 2px solid #b33948; outline-offset: 4px; border-radius: 5px; }
body:has(#site-header.public-topnav) section[id] { scroll-margin-top: calc(var(--header) + 20px); }
/* The principal links use the viewport centre, independent of unequal side controls. */
@media (min-width: 1101px) {
  #site-header#site-header.public-topnav .header-inner { position: relative; }
  #site-header#site-header.public-topnav .main-nav { position: absolute; left: 50%; top: 50%; width: max-content; max-width: calc(100% - 400px); transform: translate(-50%,-50%); }
  #site-header#site-header.public-topnav .main-nav > .public-nav-list { justify-content: center; }
}
@media (max-width: 1250px) and (min-width: 1101px) {
  #site-header#site-header.public-topnav .header-inner { width: calc(100% - 48px); gap: 22px; }
  #site-header#site-header.public-topnav .navigation-brand-row { flex-basis: 140px; }
  #site-header#site-header.public-topnav .header-navigation { gap: 18px; }
  #site-header#site-header.public-topnav .main-nav > .public-nav-list { gap: 1px 13px; }
  #site-header#site-header.public-topnav .public-nav-row { font-size: 13px; }
  #site-header#site-header.public-topnav .header-actions { padding-left: 16px; }
}
@media (max-width: 1100px) {
  body:has(#site-header.public-topnav):not(.admin-route) { --header: 72px; }
  #site-header#site-header.public-topnav .header-inner { position: relative; display: grid; grid-template-columns: 1fr auto auto; width: calc(100% - 44px); gap: 13px; }
  #site-header#site-header.public-topnav .navigation-brand-row { grid-column: 1; grid-row: 1; min-width: 0; }
  #site-header#site-header.public-topnav .header-inner .brand { width: 143px; flex-basis: 143px; }
  #site-header#site-header.public-topnav .menu-toggle { grid-column: 2; grid-row: 1; display: grid; place-items: center; width: 37px; height: 37px; padding: 0; border: 1px solid #e3e2dc; border-radius: 7px; background: transparent; color: #747c6d; }
  #site-header#site-header.public-topnav .menu-toggle svg { width: 20px; height: 20px; }
  #site-header#site-header.public-topnav .menu-toggle path { transition: transform .2s; }
  #site-header#site-header.public-topnav.navigation-is-open .menu-toggle .nav-bar-top { transform: translateY(5px) rotate(45deg); transform-origin: center; }
  #site-header#site-header.public-topnav.navigation-is-open .menu-toggle .nav-bar-bottom { transform: translateY(-5px) rotate(-45deg); transform-origin: center; }
  #site-header#site-header.public-topnav .customer-navigation { grid-column: 3; grid-row: 1; margin-left: 0; }
  #site-header#site-header.public-topnav .public-customer-avatar { width: 37px; height: 37px; }
  #site-header#site-header.public-topnav .header-navigation { position: fixed; inset: var(--header) 0 auto; z-index: 3; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; width: 100%; height: auto; max-height: calc(100dvh - var(--header) - 16px); padding: 12px max(22px,5vw) 20px; gap: 13px; overflow: hidden; visibility: hidden; opacity: 0; transform: translateY(-8px); border: 0; border-bottom: 1px solid #e5e3dd; border-radius: 0 0 12px 12px; background: #fff; box-shadow: 0 16px 32px #28302810; transition: transform 220ms cubic-bezier(.2,.65,.25,1),opacity 220ms,visibility 220ms; }
  #site-header#site-header.public-topnav .header-navigation.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  #site-header#site-header.public-topnav .main-nav { flex: 0 1 auto; width: 100%; min-height: 0; max-height: calc(100dvh - var(--header) - 106px); overflow-y: auto; overscroll-behavior: contain; scroll-padding-block: 12px; scrollbar-width: thin; }
  #site-header#site-header.public-topnav .main-nav > .public-nav-list { display: block; }
  #site-header#site-header.public-topnav .public-nav-row { min-height: 42px; padding: 11px 8px; border-radius: 6px; font-size: 15px; }
  #site-header#site-header.public-topnav .public-nav-row:hover { background: #f7f6f3; }
  #site-header#site-header.public-topnav .main-nav > .public-nav-list > .public-nav-item > .public-nav-row[aria-current]::after { display: none; }
  #site-header#site-header.public-topnav .public-nav-icon { display: grid; place-items: center; flex: 0 0 20px; margin-right: 7px; }
  #site-header#site-header.public-topnav .public-nav-chevron { margin-left: auto; }
  #site-header#site-header.public-topnav .main-nav > .public-nav-list > li > details > .public-nav-children, #site-header#site-header.public-topnav .main-nav > .public-nav-list > li:last-child > details > .public-nav-children { position: static; width: auto; min-width: 0; max-width: none; max-height: none; margin: 3px 0 9px 20px; padding: 0 0 0 16px; overflow: visible; border: 0; border-left: 1px solid #e5e3dd; border-radius: 0; background: transparent; box-shadow: none; }
  #site-header#site-header.public-topnav .public-nav-children .public-nav-row { min-height: 40px; padding: 9px 10px; font-size: 14px; }
  #site-header#site-header.public-topnav .public-nav-children .public-nav-children { margin-left: 11px; padding-left: 10px; }
  #site-header#site-header.public-topnav .header-actions { justify-content: flex-start; width: 100%; padding: 14px 8px 0; border: 0; border-top: 1px solid #eceae4; }
  #site-header#site-header.public-topnav .language-switch { gap: 7px; }
  #site-header#site-header.public-topnav .language-switch button { min-width: 35px; height: 30px; font-size: 12px; }
  #site-header#site-header.public-topnav .navigation-backdrop:not([hidden]) { position: fixed; inset: var(--header) 0 0; z-index: 1; display: block; width: 100%; height: calc(100dvh - var(--header)); padding: 0; border: 0; border-radius: 0; background: #31372c2b; backdrop-filter: blur(2px); touch-action: none; }
}
@media (max-width: 380px) {
  #site-header#site-header.public-topnav .header-inner { width: calc(100% - 32px); gap: 10px; }
  #site-header#site-header.public-topnav .header-inner .brand { width: 132px; }
}
@media (prefers-reduced-motion: reduce) {
  #site-header#site-header.public-topnav, #site-header#site-header.public-topnav * { transition: none !important; scroll-behavior: auto; }
}

#site-header#site-header.public-topnav details:not([open]) > .public-nav-children { display: none !important; }
@media (prefers-reduced-motion: no-preference) {
  #site-header#site-header.public-topnav .main-nav > .public-nav-list > li > details[open] > .public-nav-children { animation: public-dropdown-enter 170ms ease-out; }
}
@keyframes public-dropdown-enter { from { opacity: .3; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

/* In-page contents belong above an article, leaving the full width for comparisons. */
.standalone-page #detail-content .interior-body { display: block; width: min(1200px,calc(100% - var(--inner-gutter) * 2)); }
.standalone-page #detail-content .interior-copy { width: 100%; max-width: none; }
.standalone-page #detail-content .interior-copy > .legacy-section { max-width: 860px; margin-right: auto; margin-left: auto; }
.standalone-page #detail-content .interior-contents { width: 100%; margin: 0 0 36px; padding: 0; border: 0; border-top: 1px solid #e8e5df; border-bottom: 1px solid #e8e5df; }
.standalone-page #detail-content .interior-contents > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 47px; padding: 12px 0; list-style: none; color: #64665e; font-size: 13px; line-height: 1.5; font-weight: 400; cursor: pointer; }
.standalone-page #detail-content .interior-contents > summary::-webkit-details-marker { display: none; }
.standalone-page #detail-content .interior-contents > summary svg { width: 17px; height: 17px; color: #8e9286; transition: transform .2s; }
.standalone-page #detail-content .interior-contents[open] > summary svg { transform: rotate(180deg); }
.standalone-page #detail-content .interior-index { position: static; display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; flex: 0 1 auto; gap: 9px; width: 100%; max-height: none; margin: 0; padding: 1px 2px 16px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-padding-inline: 4px; scrollbar-width: thin; border: 0; }
.standalone-page #detail-content .interior-index a { display: block; flex: 0 0 auto; max-width: min(470px,80vw); padding: 8px 11px; border: 1px solid #e6e3dc; border-radius: 5px; background: #fff; color: #77786f; font-size: 13px; line-height: 1.45; white-space: normal; text-decoration: none; }
.standalone-page #detail-content .interior-index a:hover { border-color: #d5b9bd; background: #fbf7f7; color: #a9303e; }
.standalone-page #detail-content .interior-contents > summary:focus-visible, .standalone-page #detail-content .interior-index a:focus-visible { outline: 2px solid #b52632; outline-offset: 3px; }
.standalone-page #detail-content [data-anchor-focus]:focus { outline: none; }
.standalone-page #detail-content [data-anchor-focus]:focus > h2:first-child { color: #a72f3d; }
@media (max-width: 700px) {
  .standalone-page #detail-content .interior-contents { margin-bottom: 27px; }
  .standalone-page #detail-content .interior-index { padding-bottom: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .standalone-page #detail-content .interior-contents > summary svg { transition: none; }
}
.standalone-page #detail-content .interior-contents:not([open]) > .interior-index { display: none; }
