:root{--brand-accent:#d11b8d}
/* Modal primitives with focus management in dialogs.js. */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0009;
  font-family: var(--font-geist-sans), Arial, sans-serif;
}
.site-dialog {
  position: relative;
  outline: none;
  max-height: 96dvh;
}
.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  border: 0;
  border-radius: 50%;
  background: #888;
  color: white;
  width: 20px;
  height: 20px;
  font-size: 16px;
  line-height: 18px;
  z-index: 2;
}
.video-dialog .modal-close,
.gallery-dialog .modal-close {
  right: -10px;
  top: -10px;
  background: #fff;
  color: #211b25;
  width: 28px;
  height: 28px;
  line-height: 26px;
  font-size: 22px;
}
/* Cookie banner matches the desktop and mobile layouts of the source. */
.cookie-banner {
  position: fixed;
  bottom: 40px;
  left: 40px;
  z-index: 120;
  width: 440px;
  padding: 24px 27px 20px;
  border-radius: 6px;
  background: white;
  box-shadow: 0 0 12px #00000018;
  font-family: var(--font-geist-sans), Arial, sans-serif;
  color: #212121;
}
.cookie-banner h2 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: 0;
}
.cookie-banner p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 24px;
}
.cookie-actions {
  display: flex;
  gap: 8px;
}
.cookie-actions button {
  border: 2px solid #d11b8d;
  background: #d11b8d;
  color: white;
  flex: 1;
  height: 44px;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}
.cookie-actions .cookie-customise {
  color: #d11b8d;
  background: white;
}
.cookie-categories details {
  padding: 16px 0;
  border-top: 1px solid #eee;
}
.cookie-categories summary {
  cursor: pointer;
  font-weight: 600;
}
.cookie-categories summary span {
  float: right;
  color: #d11b8d;
  font-size: 12px;
}
.cookie-categories details p {
  margin: 12px 0 0;
  line-height: 22px;
}
.cookie-categories input {
  accent-color: #d11b8d;
}
@media (max-width: 767px) {
  .cookie-banner {
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 20px 25px;
    border-radius: 6px;
  }
  .cookie-banner h2 {
    margin-bottom: 12px;
  }
  .cookie-banner p {
    line-height: 24px;
    margin-bottom: 16px;
  }
  .cookie-actions {
    flex-direction: column;
    gap: 10px;
  }
  .cookie-actions button {
    flex: 0 0 44px;
  }
  .cookie-accept {
    order: -1;
  }
  .auth-dialog {
    max-width: none;
    width: 100%;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
    padding: 76px 24px 32px;
  }
  .auth-heading {
    margin-bottom: 28px;
  }
  .auth-dialog .modal-close {
    top: 24px;
    right: 24px;
  }
  .statement-copy {
    width: 280px;
    margin: auto;
  }
  .gallery-prev {
    left: 0;
  }
  .gallery-next {
    right: 0;
  }
}
.cookie-settings-link{font:inherit;cursor:pointer;background:none;border:0;text-align:left;padding:0}
.cookie-categories label{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0}
.cookie-categories input{width:20px;height:20px;accent-color:#d11b8d}
/* Preferences stay above the initial cookie notice. */
.modal-overlay.consent-overlay{z-index:130}
.cookie-actions button,
.preference-actions button {
  border-color: var(--brand-accent);
}
.cookie-actions .cookie-accept,
.cookie-actions .cookie-reject,
.preference-actions button:last-child {
  background: var(--brand-accent);
}
.cookie-actions .cookie-customise,
.preference-actions button:not(:last-child) {
  color: var(--brand-accent);
}
