.pcore-site-language {
  position:relative;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:6px;
  min-width:34px;
  min-height:34px;
  padding:0 8px;
  box-sizing:border-box;
  border:1px solid #cfd9ec;
  border-radius:8px;
  background:#f0f4fc;
  color:#152238;
  font:700 12px/1.4 system-ui,"Nirmala UI",sans-serif;
  white-space:nowrap;
  flex:none;
}
.pcore-site-language:hover {background:#dce6f8}
.pcore-site-language:has(select:focus-visible) {outline:2px solid #5c8aff;outline-offset:2px}
.pcore-site-language select {
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  opacity:0;
  cursor:pointer;
  font-size:16px;
}
:is(html[data-pcore-theme="dark"],html[data-tutor-theme="dark"]) .pcore-site-language {
  border-color:#3c4b67;
  background:#1d283d;
  color:#f0f5ff;
}
:is(html[data-pcore-theme="dark"],html[data-tutor-theme="dark"]) .pcore-site-language:hover {background:#304263}

body:not(.wp-admin) :is(#masthead,#site-header,.site-header[role="banner"],.elementor-location-header) > .pcore-site-language {
  position:absolute;
  z-index:101;
  inset-inline-end:16px;
  top:100%;
  margin-block-start:5px;
}
.tutor-dashboard-header .pcore-site-language {align-self:center;margin-inline:4px}
@media(min-width:1500px){
  html body:not(.wp-admin) :is(#masthead,.site-header[role="banner"]) > .header-wrap > .header-wrap-inner,
  html body:not(.wp-admin) :is(#masthead,.site-header[role="banner"]) .menu-wrap > .layout-medium {
    max-width:min(1680px,calc(100vw - 320px))!important;
  }
  html body:not(.wp-admin) :is(#masthead,.site-header[role="banner"]) > .header-wrap > .header-wrap-inner,
  html body:not(.wp-admin).is-menu-bar :is(#masthead,.site-header[role="banner"]) .menu-wrap > .layout-medium {
    margin-inline:clamp(24px,3vw,56px) auto!important;
  }
  html body:not(.wp-admin) :is(#masthead,.site-header[role="banner"]) .header-wrap-inner .menu-wrap > .layout-medium {
    max-width:100%!important;
    margin-inline:0!important;
  }
  body:not(.wp-admin) :is(#masthead,#site-header,.site-header[role="banner"],.elementor-location-header) > .pcore-site-language {
    top:50%;
    margin-block-start:0;
    transform:translateY(-50%);
  }
}
html:is([data-pcore-site-language="si"],[data-pcore-site-language="ta"]) .pcore-public-learning-hero h1 {
  font-size:clamp(28px,5vw,64px)!important;
  line-height:1.25!important;
}
@media(max-width:767px){
  body:not(.wp-admin) :is(#masthead,#site-header,.site-header[role="banner"],.elementor-location-header) > .pcore-site-language {inset-inline-end:8px}
  .tutor-dashboard-header .pcore-site-language {flex:none;order:5;margin-inline:2px}
  .pcore-site-language {min-width:34px;padding:0;border-radius:8px}
  .pcore-site-language-current,.pcore-site-language-chevron {display:none}
}
/* The focused and hovered controls override theme-specific icon colors. */
@layer pcore-mobile-header {
  body:not(.wp-admin) :is(#masthead,#site-header,.site-header,.elementor-location-header,header[role="banner"]) :is(button.pcore-site-theme-toggle,label:has(>input[data-pcore-native-theme-toggle])):is(:hover,:focus-visible) {
    background:#234bc3!important;
    border-color:#234bc3!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    transition:none!important;
  }
  body:not(.wp-admin) :is(#masthead,#site-header,.site-header,.elementor-location-header,header[role="banner"]) :is(button.pcore-site-theme-toggle,label:has(>input[data-pcore-native-theme-toggle])):is(:hover,:focus-visible) :is(svg,path,circle,line,polyline) {
    fill:none!important;
    stroke:#fff!important;
  }
}
body:not(.wp-admin) :is(.site-header.clone,.elementor-sticky--active.elementor-location-header) {
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
