/* MKT-418 proposal. Loaded only for menu_version=sitemap; classic rules stay intact. */
#xh-header.xh-menu-sitemap .xh-panel--directory { padding: 28px 40px 36px; }
#xh-header.xh-menu-sitemap .xm-layout { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 2fr); gap: 48px; max-width: 1120px; margin: auto; text-align: left; }
#xh-header.xh-menu-sitemap .xm-directory { min-width: 0; }
#xh-header.xh-menu-sitemap .xm-feature { margin: 0; min-width: 0; }
#xh-header.xh-menu-sitemap .xm-feature img { display: block; width: 100%; height: 190px; object-fit: cover; }
#xh-header.xh-menu-sitemap .xm-feature figcaption { margin-top: 14px; color: var(--x-ink); font: 400 18px/1.5 var(--x-font-head); }
#xh-header.xh-menu-sitemap .xm-eyebrow { margin: 0 0 8px; color: var(--xh-accent); font: 700 12px/1.3 var(--x-font-ui); letter-spacing: .14em; text-transform: uppercase; }
/* ui.min.css treats nested navigation lists as absolute legacy submenus.
 * Reset their geometry and decorations before applying the directory grid. */
#xh-header.xh-menu-sitemap .xm-list { position: static; inset: auto; width: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; list-style: none; padding: 0; margin: 0; border: 0; background: none; text-align: left; }
#xh-header.xh-menu-sitemap .xm-list::before,
#xh-header.xh-menu-sitemap .xm-list::after { content: none; }
#xh-header.xh-menu-sitemap .xm-list > li { display: block; min-width: 0; margin: 0; padding: 0; border-top: 1px solid var(--x-line); background: none; }
#xh-header.xh-menu-sitemap .xm-link { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 6px; width: 100%; height: 100%; min-height: 100px; margin: 0; padding: 18px 4px; border: 0; color: var(--x-ink); text-align: left; text-transform: none; letter-spacing: normal; }
#xh-header.xh-menu-sitemap .xm-link::after { content: none; }
#xh-header.xh-menu-sitemap .xm-title { color: var(--x-ink); font: 600 17px/1.3 var(--x-font-ui); overflow-wrap: anywhere; }
#xh-header.xh-menu-sitemap .xm-description { color: var(--x-ink-soft); font: 400 14px/1.5 var(--x-font-ui); }
#xh-header.xh-menu-sitemap a.xm-link:hover .xm-title { color: var(--xh-accent); text-decoration: underline; text-underline-offset: 5px; }
#xh-header.xh-menu-sitemap .xm-link[aria-disabled] { cursor: default; }
#xh-header.xh-menu-sitemap.xh-header--black .xm-description { color: #ded1c6; }
/* Discover and Offers: compact single-column links set the portrait image height. */
#xh-header.xh-menu-sitemap .xm-layout--compact { grid-template-columns: 200px minmax(0, 1fr); }
#xh-header.xh-menu-sitemap .xm-layout--compact .xm-list { grid-template-columns: minmax(0, 1fr); }
#xh-header.xh-menu-sitemap .xm-layout--compact .xm-link { min-height: 0; padding-block: 12px; }
#xh-header.xh-menu-sitemap .xm-layout--compact .xm-feature { position: relative; min-height: 0; }
#xh-header.xh-menu-sitemap .xm-layout--compact .xm-feature img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
#xh-header.xh-menu-sitemap .xm-layout--compact .xm-title { color: var(--xh-accent); font: 600 16px/1.15 var(--x-font-ui); letter-spacing: .14em; text-transform: uppercase; }
/* Offers keeps its complete portrait photo at its natural ratio in both states. */
#xh-header.xh-menu-sitemap #xh-panel-offers .xm-feature { align-self: start; }
#xh-header.xh-menu-sitemap #xh-panel-offers .xm-feature img { position: static; height: auto; aspect-ratio: auto; object-fit: contain; }
/* Wellness Programs expands on demand; Blog stays outside its disclosure. */
#xh-header.xh-menu-sitemap .xm-programs { margin: 0; padding: 0; border: 0; }
#xh-header.xh-menu-sitemap .xm-programs > .xm-link { position: relative; height: auto; padding-right: 36px; list-style: none; cursor: pointer; }
#xh-header.xh-menu-sitemap .xm-programs > .xm-link::-webkit-details-marker { display: none; }
#xh-header.xh-menu-sitemap .xm-programs > .xm-link::marker { content: ''; }
#xh-header.xh-menu-sitemap .xm-programs > .xm-link::after { content: '+'; position: absolute; top: 12px; right: 4px; color: var(--xh-accent); font: 400 22px/1 var(--x-font-ui); }
#xh-header.xh-menu-sitemap .xm-programs[open] > .xm-link::after { content: '−'; }
#xh-header.xh-menu-sitemap .xm-programs:not([open]) > .xm-sublist { display: none; }
#xh-header.xh-menu-sitemap .xm-list.xm-sublist { margin: 0 0 10px 12px; padding-left: 16px; border-left: 1px solid var(--x-line); }
#xh-header.xh-menu-sitemap .xm-sublist .xm-link { height: auto; min-height: 44px; padding-block: 10px; }
#xh-header.xh-menu-sitemap .xm-sublist .xm-title { margin: 0; font-size: 14px; letter-spacing: .08em; }
#xh-header.xh-menu-sitemap .xm-sublist .xm-description { margin: 0; font-size: 13px; }
@media (max-width: 1100px) {
    #xh-header.xh-menu-sitemap .xh-panel--directory { padding: 0 4px 22px; }
    #xh-header.xh-menu-sitemap .xm-layout { display: block; }
    #xh-header.xh-menu-sitemap .xm-feature, #xh-header.xh-menu-sitemap .xm-eyebrow { display: none; }
    #xh-header.xh-menu-sitemap .xm-link { min-height: 80px; padding: 16px 8px; }
    #xh-header.xh-menu-sitemap .xm-layout--compact .xm-title { font-size: 14px; }
}
@media (max-width: 600px) {
    #xh-header.xh-menu-sitemap .xm-list { grid-template-columns: minmax(0, 1fr); }
    #xh-header.xh-menu-sitemap .xm-link { min-height: 64px; padding: 14px 8px; }
    #xh-header.xh-menu-sitemap .xm-title { font-size: 16px; }
    #xh-header.xh-menu-sitemap .xm-description { font-size: 13px; }
}
