/* Shared across every page: cookie banner + small utilities. */

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── Cookie banner ── */
.cookie-banner {
  position: fixed; z-index: 200; left: 16px; right: 16px; bottom: 16px;
  max-width: 760px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px;
  padding: 16px 20px;
  background: #1C2B3A; color: #fff;
  border-radius: 12px; border-left: 3px solid #C4973A;
  box-shadow: 0 16px 48px rgba(28, 43, 58, .35);
  font-family: 'DM Sans', sans-serif;
}
.cookie-banner[hidden] { display: none; }
.cookie-text { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .88); margin: 0; flex: 1; }
.cookie-text a { color: #E8C47A; text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  font: 500 13px/1 'DM Sans', sans-serif; letter-spacing: .02em;
  padding: 11px 18px; border-radius: 6px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.cookie-btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .45); }
.cookie-btn-ghost:hover { border-color: #fff; }
.cookie-btn-solid { background: #C4973A; color: #1C2B3A; border: 1px solid #C4973A; }
.cookie-btn-solid:hover { background: #E8C47A; border-color: #E8C47A; }
.cookie-btn:focus-visible, .cookie-text a:focus-visible { outline: 2px solid #E8C47A; outline-offset: 2px; }
@media (max-width: 640px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 14px; left: 12px; right: 12px; bottom: 12px; }
  .cookie-actions { justify-content: stretch; }
  .cookie-btn { flex: 1; padding: 13px 16px; }
}

/* Footer button styled like a link (used for "Cookie settings"). */
.link-button {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: inherit; text-decoration: none;
}
