.cb-language { position:relative; flex:none; margin-inline:4px; }
.cb-language summary {
  display:flex; align-items:center; gap:7px; min-height:40px;
  padding:0 10px; border:1px solid #dbe3df; border-radius:10px;
  background:#fff; color:#243042; font-size:14px; font-weight:650;
  white-space:nowrap; cursor:pointer; list-style:none;
}
.cb-language summary::-webkit-details-marker { display:none; }
.cb-language summary:hover, .cb-language[open] summary { background:#f4faf6; }
.cb-language summary:focus-visible { outline:3px solid #15803d; outline-offset:3px; }
.cb-language svg { width:16px; height:16px; flex:none; }
.cb-language .cb-language-arrow { margin-inline-start:auto; }
.cb-language-panel {
  position:absolute; z-index:40; top:calc(100% + 8px); right:0;
  min-width:190px; padding:5px; border:1px solid #dbe3df;
  border-radius:12px; background:#fff; box-shadow:0 12px 32px #172b2024;
}
.cb-language .cb-language-panel a {
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; min-height:36px; padding:7px 10px; border-radius:7px;
  color:#243042; font-size:14px; text-decoration:none; white-space:nowrap;
}
.cb-language .cb-language-panel a:hover,
.cb-language .cb-language-panel a[aria-current="true"] {
  background:#edf8f0; color:#166534;
}
header.cb-menu-open .cb-language { margin:4px 0; }
header.cb-menu-open .cb-language-panel {
  position:static; margin-top:6px; box-shadow:none;
}

/* ClearBlock language utility row */
header.nav > .cb-language-bar {
  display: flex;
  justify-content: flex-end;
  padding-block: 6px 0;
}
.cb-language-bar .cb-language {
  margin: 0;
  z-index: 45;
}
.cb-language-bar .cb-language summary {
  min-height: 30px;
  padding: 0 8px;
  gap: 5px;
  border-color: transparent;
  border-radius: 7px;
  background: transparent;
  font-size: 13px;
  line-height: 1;
}
.cb-language-bar .cb-language summary:hover,
.cb-language-bar .cb-language[open] summary {
  background: #edf8f0;
  color: #166534;
}
.cb-language-bar .cb-language svg {
  width: 14px;
  height: 14px;
}
header.nav .cb-language-bar .cb-language-panel {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  margin-top: 0;
  box-shadow: 0 12px 32px #172b2024;
}
@media (pointer: coarse) {
  .cb-language-bar .cb-language summary { min-height: 44px; }
}

/* ClearBlock desktop header spacing */
@media (min-width: 1101px) {
  header.nav > .cb-language-bar {
    padding-block: 6px 0;
  }
  header.nav > .cb-language-bar + .container.row {
    padding-top: 4px;
    padding-bottom: 14px;
  }
}

/* ClearBlock shared French header dimensions */
@media (min-width: 1101px) {
  header.nav > .cb-language-bar + .container.row {
    flex-wrap: nowrap;
    gap: 12px;
    padding-top: 4px;
    padding-bottom: 14px;
  }
  header.nav > .cb-language-bar + .container.row > .brand {
    flex: 0 0 280px;
    width: 280px;
    min-width: 0;
    padding: 0;
  }
  header.nav > .cb-language-bar + .container.row > .brand img {
    display: block;
    width: 280px;
    max-width: 100%;
    height: auto;
  }
  header.nav > .cb-language-bar + .container.row > #cb-main-navigation {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px;
  }
  header.nav > .cb-language-bar + .container.row > #cb-main-navigation > a {
    white-space: nowrap;
    padding-inline: 8px;
    font-size: 16px;
  }
}
