/* Sitewide consent banner refinement: preserve legibility while reducing its
   mobile first-fold cost. This candidate remains in normal document flow. */
body #vobomConsentV201.is-open .vc-panel {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  column-gap: 16px !important;
  row-gap: 4px !important;
}
body #vobomConsentV201 .vc-title {
  font-size: 16px !important;
  line-height: 1.3 !important;
}
body #vobomConsentV201 .vc-copy {
  font-size: 15px !important;
  line-height: 1.4 !important;
}
body #vobomConsentV201 .vc-policy {
  font-size: 15px !important;
  line-height: 1.4 !important;
}
body #vobomConsentV201 .vc-actions {
  gap: 8px !important;
}
body #vobomConsentV201 .vc-actions button {
  min-height: 44px !important;
  padding: 8px 12px !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
}

@media (max-width: 900px) {
  body #vobomConsentV201.is-open .vc-panel {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    grid-template-areas: "title" "copy" "actions" !important;
    row-gap: 5px !important;
    padding: 10px 12px !important;
  }
  body #vobomConsentV201 .vc-title {
    max-width: calc(100% - 68px) !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
  }
  body #vobomConsentV201 .vc-copy {
    max-width: none !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
  }
  body #vobomConsentV201 .vc-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 8px !important;
    margin-top: 4px !important;
  }
  body #vobomConsentV201 .vc-actions button {
    width: 100% !important;
    min-height: 46px !important;
    padding: 7px 8px !important;
    font-size: 15px !important;
  }
  body #vobomConsentV201 .vc-policy {
    grid-column: 1 / -1 !important;
    text-align: center !important;
    font-size: 15px !important;
    padding: 1px !important;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  /* The existing tablet language chip sits lower than it does on phones.
     Move it into the reserved top-right pocket and keep copy clear of it. */
  body:has(#vobomConsentV201.is-open) .vobom-language-switcher {
    position: fixed !important;
    top: 4px !important;
    right: 8px !important;
  }
  body #vobomConsentV201 .vc-title,
  body #vobomConsentV201 .vc-copy {
    max-width: calc(100% - 108px) !important;
  }
}
