/* Shared V45 fixes: these do not affect the original design palette. */
.hla-page-shell--home .hla-home-event-photo{display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;overflow:hidden}
.hla-page-shell--home .hla-home-event-photo img{display:block!important;object-fit:contain!important;object-position:center center!important;width:auto!important;height:auto!important;max-width:85%!important;max-height:80%!important;margin:auto!important}
@media(max-width:840px){.hla-page-shell--home .hla-home-event-photo img{max-height:184px!important;max-width:100%!important}}
/* Language selection visually matches the appearance selector in the SAME sidebar row. */
.hla-nav-theme-entry{gap:9px}
.hla-nav-theme-entry .hla-theme-control,.hla-nav-theme-entry .hla-language-control{position:relative;flex:0 0 134px;width:134px;min-width:0}
.hla-language-control .hla-theme-trigger,.hla-theme-control .hla-theme-trigger{width:100%;min-height:42px;justify-content:center;gap:7px;white-space:nowrap}
.hla-language-control .hla-theme-menu{min-width:134px;z-index:110}
@media(min-width:1041px){html.hla-layout-left .hla-nav>ul>.hla-nav-theme-entry{display:flex!important;justify-content:center!important;flex-direction:row!important;gap:8px!important;padding-inline:4px!important}
html.hla-layout-left .hla-nav-theme-entry .hla-theme-control,html.hla-layout-left .hla-nav-theme-entry .hla-language-control{margin:0!important;flex:0 1 128px!important;width:128px!important}
html.hla-layout-left .hla-language-menu:not([hidden]){left:50%;right:auto;bottom:calc(100% + 8px);top:auto;transform:translateX(-50%)}
}
@media(max-width:530px){.hla-nav-theme-entry .hla-theme-control,.hla-nav-theme-entry .hla-language-control{flex:0 1 122px;width:122px}}
/* Override earlier V42 compact-selector sizing rules with equal controls. */
.hla-nav>ul>.hla-nav-theme-entry .hla-theme-control,
.hla-nav>ul>.hla-nav-theme-entry .hla-language-control{
 display:inline-flex!important;width:132px!important;max-width:132px!important;
 min-width:0!important;flex:0 1 132px!important;margin:0!important;
}
.hla-nav>ul>.hla-nav-theme-entry .hla-theme-trigger,
.hla-nav>ul>.hla-nav-theme-entry .hla-language-control .hla-theme-trigger{
 box-sizing:border-box!important;width:132px!important;min-width:0!important;
 min-height:40px!important;height:40px!important;padding:7px 9px!important;
 border-radius:11px!important;gap:6px!important;
}
.hla-nav>ul>.hla-nav-theme-entry .hla-language-control .hla-theme-icon{width:15px;height:15px;flex:0 0 15px}
.hla-nav>ul>.hla-nav-theme-entry .hla-language-menu:not([hidden]){min-width:132px!important;width:132px!important;left:0!important;right:auto!important}
@media(min-width:1041px){
 html.hla-layout-left .hla-nav>ul>.hla-nav-theme-entry .hla-theme-control,
 html.hla-layout-left .hla-nav>ul>.hla-nav-theme-entry .hla-language-control{width:calc(50% - 6px)!important;max-width:132px!important;flex:0 1 132px!important}
 html.hla-layout-left .hla-nav>ul>.hla-nav-theme-entry .hla-theme-trigger,
 html.hla-layout-left .hla-nav>ul>.hla-nav-theme-entry .hla-language-control .hla-theme-trigger{width:100%!important}
}
@media(max-width:550px){
 .hla-nav>ul>.hla-nav-theme-entry{display:flex!important;gap:8px;justify-content:center}
 .hla-nav>ul>.hla-nav-theme-entry .hla-theme-control,
 .hla-nav>ul>.hla-nav-theme-entry .hla-language-control{flex:0 1 132px!important;max-width:calc(50% - 6px)!important}
 .hla-nav>ul>.hla-nav-theme-entry .hla-theme-trigger,
 .hla-nav>ul>.hla-nav-theme-entry .hla-language-control .hla-theme-trigger{width:100%!important}
}

@media(min-width:1041px){
 html.hla-layout-left .hla-nav>ul>.hla-nav-theme-entry{width:100%!important;padding-inline:0!important;}
 html.hla-layout-left .hla-nav>ul>.hla-nav-theme-entry .hla-theme-control,
 html.hla-layout-left .hla-nav>ul>.hla-nav-theme-entry .hla-language-control{width:calc((100% - 8px)/2)!important;flex:0 1 calc((100% - 8px)/2)!important;max-width:132px!important;}
}
