[hidden] { display: none !important; }
.cookie-banner, .cookie-dialog { color: #173b3b; font: 15px/1.5 Arial, sans-serif; }
.cookie-banner { position: fixed; inset: auto 20px 20px; z-index: 100; background: #fff; border: 1px solid #dbe5df; border-radius: 16px; padding: 24px 28px; box-shadow: 0 12px 60px #123b3b30; display: flex; gap: 28px; align-items: center; max-width: 1240px; margin: 0 auto; }
.cookie-copy { flex: 1; }
.cookie-banner h2, .cookie-dialog h2 { font: 600 22px/1.2 Arial, sans-serif; letter-spacing: -.4px; margin: 0 0 10px; }
.cookie-banner p { margin: 0; font-size: 14px; }
.cookie-banner a, .cookie-dialog a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-button { background: #164f50; color: #fff; border: 1px solid #164f50; border-radius: 8px; min-height: 46px; padding: 12px 18px; font: 600 14px/1.3 Arial, sans-serif; cursor: pointer; }
.cookie-button:hover { background: #226869; }
.cookie-button.secondary { color: #164f50; background: #fff; border-color: #9db8af; }
.cookie-button.secondary:hover { background: #edf3ef; }
.cookie-button:focus-visible, .cookie-manage:focus-visible, .cookie-close:focus-visible, .cookie-dialog input:focus-visible { outline: 3px solid #c5a447; outline-offset: 3px; }
.cookie-manage { font: inherit; color: inherit; background: transparent; border: 0; padding: 12px 0; text-decoration: underline; cursor: pointer; min-height: 44px; }
.cookie-dialog { width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 28px; border: 1px solid #dbe5df; border-radius: 16px; overflow: auto; }
.cookie-dialog::backdrop { background: #102e2fb3; }
.cookie-dialog h2 { padding-right: 36px; }
.cookie-dialog p { margin: 10px 0 18px; }
#cookie-preferences-form { padding: 0; background: transparent; }
.cookie-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; background: transparent; color: #164f50; font-size: 28px; cursor: pointer; }
.cookie-category { display: flex; gap: 18px; justify-content: space-between; padding: 18px 0; margin: 0; border-top: 1px solid #dbe5df; font-weight: 400; }
.cookie-category strong { display: block; margin-bottom: 5px; font-size: 15px; }
.cookie-category small { font-size: 13px; display: block; line-height: 1.5; }
.cookie-category input { width: 23px; height: 23px; min-height: 23px; padding: 0; flex: 0 0 23px; accent-color: #164f50; cursor: pointer; margin: 2px 0 0; }
.cookie-required { white-space: nowrap; font-size: 12px; padding-top: 3px; color: #436653; }
.cookie-dialog .cookie-actions { margin-top: 18px; }
.cookie-dialog .cookie-actions .cookie-button { flex: 1 1 140px; }
.cookie-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
/* The neighborhood map is a local image and does not depend on consent. */
.local-neighborhood-map { margin: 0; position: relative; background: #eeeee7; }
.local-neighborhood-map img { width: 100%; height: auto; display: block; object-fit: cover; }
.local-neighborhood-map figcaption { position: absolute; bottom: 0; right: 0; background: #fffffff0; padding: 5px 12px; font: 12px/1.5 Arial,sans-serif; color: #41584e; }
@media (max-width: 600px) {
  .local-neighborhood-map img { height: 400px; object-position: 55% center; }
  .local-neighborhood-map figcaption { position: static; font-size: 11px; text-align: center; }
}
@media (max-width: 1050px) { .cookie-banner { align-items: stretch; flex-direction: column; gap: 18px; } .cookie-banner .cookie-actions > * { flex: 1; } }
@media (max-width: 600px) {
  .cookie-banner { inset: auto 10px 10px; padding: 20px; max-height: calc(100dvh - 20px); overflow: auto; gap: 14px; }
  .cookie-banner h2 { font-size: 19px; }
  .cookie-banner p { font-size: 13px; }
  .cookie-banner .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-banner .cookie-actions .secondary { grid-column: 1 / -1; }
  .cookie-button { padding: 11px 12px; }
  .cookie-dialog { padding: 24px 20px; }
}
