/* FEAT-001780: mobile-only three-zone Ask Cora header.
   Keep all language buttons within the middle column, regardless of
   how many languages the publisher supplies. Preserve the existing
   controls, link labels, keyboard order, and desktop/provider/embed UI. */
@media (max-width:767px) {
 html:not(.cora-embed) body:not(.provider-desk) .brandbar {
  display:grid;
  grid-template-columns:clamp(47px,14vw,66px) minmax(0,1fr) max-content;
  grid-template-rows:auto;
  column-gap:6px;
  row-gap:0;
  align-items:center;
  margin:0 0 5px;
 }
 html:not(.cora-embed) body:not(.provider-desk) .brand {
  grid-column:1;grid-row:1;
  min-width:0;align-self:center;
 }
 html:not(.cora-embed) body:not(.provider-desk) .brandlogo {
  display:block;height:auto;width:100%;max-width:66px;max-height:66px;
  object-fit:contain;
 }
 html:not(.cora-embed) body:not(.provider-desk) .brandtools {
  display:contents;
 }
 html:not(.cora-embed) body:not(.provider-desk) .brandtools .langs {
  grid-column:2;grid-row:1;
  display:flex;align-items:center;align-content:center;
  flex-wrap:wrap;justify-content:center;
  min-width:0;width:100%;padding:0;
  gap:1px 6px;
 }
 html:not(.cora-embed) body:not(.provider-desk) .brandtools .langs .langrow,
 html:not(.cora-embed) body:not(.provider-desk) .brandtools .langs .langrow:first-child,
 html:not(.cora-embed) body:not(.provider-desk) .brandtools .langs .langrow:last-child {
  display:contents;
  padding:0;
 }
 html:not(.cora-embed) body:not(.provider-desk) .brandtools .langs .lang {
  flex:0 0 auto;min-width:0;max-width:100%;
  padding:1px 0;margin:0;line-height:1.12;
  white-space:nowrap;font-size:clamp(10px,2.7vw,12px);
 }
 html:not(.cora-embed) body:not(.provider-desk) .brandtools .mycora-btn {
  grid-column:3;grid-row:1;justify-self:end;align-self:center;
  min-height:32px;padding:5px 7px;font-size:11px;white-space:nowrap;
  z-index:1;
 }
}
@media (max-width:360px) {
 html:not(.cora-embed) body:not(.provider-desk) .brandbar {
  grid-template-columns:47px minmax(0,1fr) max-content;
  column-gap:4px;
 }
 html:not(.cora-embed) body:not(.provider-desk) .brandtools .langs {
  column-gap:4px;row-gap:0;
 }
 html:not(.cora-embed) body:not(.provider-desk) .brandtools .langs .lang {
  font-size:10px;
 }
 html:not(.cora-embed) body:not(.provider-desk) .brandtools .mycora-btn {
  font-size:10px;padding:4px 6px;
 }
}
