/* Presentation only. HubSpot continues to own consent and the controls. */
@media (max-width: 600px) {
  #hs-banner-parent #hs-eu-cookie-confirmation[role="dialog"] {
    --hs-banner-padding: 16px;
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    max-height: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    inset: 12px 12px auto;
    margin: 0 auto;
    overscroll-behavior: contain;
  }

  #hs-banner-parent #hs-eu-cookie-confirmation #hs-eu-policy-wording a {
    color: var(--hs-banner-accentColor, #cc0000);
    text-decoration: underline;
  }

  #hs-banner-parent #hs-eu-cookie-confirmation #hs-eu-cookie-confirmation-inner {
    gap: 12px;
  }

  #hs-banner-parent #hs-eu-cookie-confirmation #hs-eu-cookie-confirmation-buttons-area,
  #hs-banner-parent #hs-eu-cookie-confirmation #hs-eu-confirmation-button-group {
    width: 100%;
  }

  #hs-banner-parent #hs-eu-cookie-confirmation #hs-eu-confirmation-button-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  #hs-banner-parent #hs-eu-cookie-confirmation #hs-eu-opt-in-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  #hs-banner-parent #hs-eu-cookie-confirmation #hs-eu-cookie-settings-button,
  #hs-banner-parent #hs-eu-cookie-confirmation #hs-eu-confirmation-button,
  #hs-banner-parent #hs-eu-cookie-confirmation #hs-eu-decline-button {
    min-width: 0;
    width: 100%;
    min-height: 44px;
    height: auto;
    padding: 9px 8px;
  }

  #hs-banner-parent #hs-eu-cookie-confirmation button:focus-visible,
  #hs-banner-parent #hs-eu-cookie-confirmation a:focus-visible {
    outline: 2px solid var(--hs-banner-text-color, #15295a);
    outline-offset: 2px;
  }
}
