/* Optional GA4 measurement: consent controls shared across all site pages. */
.ec-cookie-banner[hidden] { display: none !important; }
.ec-cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: min(850px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  color: #0b1530;
  background: #fff;
  border: 1px solid #dbe4f3;
  border-radius: 14px;
  box-shadow: 0 12px 48px rgba(5,21,56,.25);
  font: 14px/1.45 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
.ec-cookie-copy { flex: 1; min-width: 0; }
.ec-cookie-copy strong { display: block; font-size: 16px; margin-bottom: 5px; }
.ec-cookie-copy p { margin: 0 0 5px; color: #2c3a57; line-height: 1.5; }
.ec-cookie-copy a { color: #0241b1; text-decoration: underline; }
.ec-cookie-actions { display: flex; flex: 0 0 auto; gap: 8px; align-items: center; }
.ec-cookie-actions button {
  font: inherit; font-weight: 650; border-radius: 9px; padding: 11px 13px;
  cursor: pointer; line-height: 1.25; min-height: 44px;
}
.ec-cookie-reject { color: #172643; background: #fff; border: 1px solid #a8b6d0; }
.ec-cookie-accept { color: #fff; background: #0241b1; border: 1px solid #0241b1; }
.ec-cookie-settings {
  background: transparent; color: inherit; border: 0; padding: 2px 4px;
  font: inherit; text-decoration: underline; cursor: pointer;
}
.ec-cookie-actions button:focus-visible, .ec-cookie-settings:focus-visible,
.ec-cookie-copy a:focus-visible { outline: 3px solid #ffcc00; outline-offset: 2px; }
@media(max-width: 680px) {
  .ec-cookie-banner { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; max-height: 85vh; overflow-y: auto; }
  .ec-cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .ec-cookie-actions button { padding: 10px 8px; }
}
@media(max-width: 340px) {
  .ec-cookie-actions { grid-template-columns: 1fr; }
}
