/* Additions for the static site. Breakdance's own styles stay in /wp-content/uploads/breakdance/css/. */

.cookie-banner {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 9999;
  max-width: 420px;
  margin-left: auto;
  padding: 16px 20px;
  border-radius: 12px;
  background: #121d23;
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner a { color: #f9c662; }
.cookie-banner__buttons { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }
.cookie-banner button {
  padding: 8px 16px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.cookie-banner .cookie-banner__accept { background: #f9c662; border-color: #f9c662; color: #121d23; }

/* Footer link that stands in for the old newsletter form until the mailing service's embed goes in. */
.breakdance .newsletter-embed a.newsletter-embed__link {
  display: inline-block;
  font-size: 16px;
  line-height: 1.4;
  padding: 10px 20px;
  border-radius: 999px;
  background: #121d23;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.breakdance .wp-block-cover .newsletter-embed a.newsletter-embed__link { background: #f9c662; color: #121d23; }

/* Blog post body: images and embeds from the old editor. */
.bde-rich-text img { max-width: 100%; height: auto; }
.bde-rich-text iframe { max-width: 100%; }

/* Newer / older links under a post list. */
.archive-pager { display: flex; justify-content: space-between; gap: 16px; width: 100%; margin-top: 32px; font-family: Poppins, sans-serif; font-weight: 600; }
.archive-pager a { color: inherit; }

/* Resource Centre cards: the button is now a link, and there is a message when nothing matches. */
a.custom-button { display: inline-block; color: #fff; text-decoration: none; }
a.custom-button:hover { color: #fff; }
.custom-empty { font-family: Poppins, sans-serif; padding: 16px 0; }

/* No blog post has a featured image, so hide the grey placeholder WordPress showed instead. */
.archive .ee-post-image-link,
.single .bde-image-28279-102 { display: none; }

/* Contact form: hidden trap field for spam bots, and the sent / not sent message. */
.contact-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.contact-status { margin: 16px 0; padding: 12px 16px; border-radius: 8px; font-weight: 600; }
.contact-status[hidden] { display: none; }
.contact-status--ok { background: #e3f4e8; color: #14532d; }
.contact-status--error { background: #fde8e8; color: #7f1d1d; }

/* Newsletter page until the mailing service's form is pasted in. */
.newsletter-placeholder { max-width: 640px; margin: 0 auto; padding: 40px 0; text-align: center; }
.wp-block-cover .newsletter-embed { text-align: center; margin-top: 16px; }

/* Page not found. */
.not-found { max-width: 640px; margin: 0 auto; padding: 120px 20px; text-align: center; font-family: Poppins, sans-serif; }
.not-found a { color: inherit; }
.breakdance .not-found h1 { font-size: 48px; line-height: 1.1; margin-bottom: 24px; }

/* The header logo links home; the link adds no box of its own so the Breakdance layout is unchanged. */
.site-logo-link { display: contents; }
