#mp-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  /* Stay above home slideshow / overlays (e.g. style.css uses z-index up to ~1500) */
  z-index: 2147483647;
  background: #1a1a1a;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  line-height: 1.2;
  padding: 3px 10px;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.18);
}

/* Bootstrap (and other page CSS) often sets margin on `p` — that skews height and alignment */
#mp-cookie-banner,
#mp-cookie-banner * {
  box-sizing: border-box;
}

#mp-cookie-banner .mp-cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
}

#mp-cookie-banner .mp-cookie-text {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
  padding: 0;
  line-height: 1.2;
  align-self: center;
}

#mp-cookie-banner .mp-cookie-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  align-items: center;
}

#mp-cookie-banner button {
  cursor: pointer;
  font: inherit;
  margin: 0;
  padding: 5px 14px;
  border-radius: 0;
  font-weight: 600;
  font-size: 11px;
  line-height: 1.25;
  vertical-align: middle;
  transition: opacity 0.15s ease, background-color 0.15s ease;
}

#mp-cookie-banner button:hover {
  opacity: 0.92;
}

#mp-cookie-banner button:focus {
  outline-offset: 1px;
}

#mp-cookie-banner .mp-cookie-reject:focus {
  outline: 2px solid #fff;
}

#mp-cookie-banner .mp-cookie-accept:focus {
  outline: 2px solid #1a1a1a;
}

#mp-cookie-banner .mp-cookie-reject {
  background: transparent;
  color: #fff;
  /* Same border width as Accept so both buttons share one height */
  border: 1px solid #fff;
}

#mp-cookie-banner .mp-cookie-accept {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #fff;
}

@media (max-width: 540px) {
  #mp-cookie-banner {
    padding: 3px 8px;
    font-size: 10px;
  }

  #mp-cookie-banner .mp-cookie-inner {
    gap: 8px 10px;
  }
}
