/* Universal site footer (html/_site-footer.php). Single source of truth for
   footer styling — edit here only, do not duplicate in a page's own <style>. */

.site-footer { background: #14171d; border-top: 1px solid #262b35; padding: 56px clamp(20px, 5vw, 72px) 28px; text-align: left; }
.footer-top { display: grid; grid-template-columns: minmax(240px, 1.4fr) 1fr 1fr 1fr minmax(220px, 1.3fr); gap: 40px; max-width: 1320px; margin: 0 auto 32px; }
.footer-brand { max-width: 320px; }
.footer-brand .nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; text-decoration: none; color: #e7ebf3; margin-bottom: 10px; }
.footer-brand .nav-brand svg { width: 22px; height: 22px; flex-shrink: 0; color: #4c9be6; }
.footer-brand p { color: #98a0ae; font-size: 14px; line-height: 1.6; }
.footer-social { display: flex; gap: 16px; margin-top: 18px; }
.footer-social a { color: #98a0ae; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; transition: color .2s; }
.footer-social a:hover { color: #4c9be6; }
.footer-social svg { width: 20px; height: 20px; }
.footer-col h4, .footer-subscribe h4 { font-size: 15px; font-weight: 700; color: #e7ebf3; margin: 0 0 16px; }
.footer-col a { display: block; color: #e7ebf3; text-decoration: none; font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: #4c9be6; }
.subscribe-form { display: flex; gap: 8px; }
.subscribe-form input { flex: 1; min-width: 0; background: #1b1f27; border: 1px solid #262b35; border-radius: 10px; padding: 10px 14px; color: #e7ebf3; font-size: 14px; }
.subscribe-form input::placeholder { color: #98a0ae; }
.subscribe-form input:focus-visible { outline: 2px solid #4c9be6; outline-offset: 2px; }
.subscribe-form button { flex: none; width: 42px; height: 42px; border: none; border-radius: 10px; background: linear-gradient(180deg, #5aa7ee, #3f86d4); color: #061018; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: opacity .2s; }
.subscribe-form button:hover { opacity: .9; }
.subscribe-form button:disabled { opacity: .5; cursor: default; }
.subscribe-form button svg { width: 18px; height: 18px; }
.subscribe-msg { margin: 10px 0 0; font-size: 14px; color: #4c9be6; }
.subscribe-msg.is-error { color: #f0a3a3; }
.footer-subscribe-thanks { color: #4c9be6; font-size: 14px; }
.footer-bottom { max-width: 1320px; margin: 0 auto; padding-top: 24px; border-top: 1px solid #262b35; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: #98a0ae; font-size: 13px; }
.footer-bottom a { color: #98a0ae; text-decoration: none; }
.footer-bottom a:hover { color: #4c9be6; }
.footer-legal { display: flex; gap: 20px; }
@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
}

/* Cookie consent banner (html/_cookie-banner.php). Dark-theme adaptation of the
   bottom-right mockup. Non-blocking region; hidden until cookie-consent.js shows it. */
.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  display: flex;
  gap: 16px;
  width: min(420px, calc(100vw - 40px));
  padding: 22px 24px;
  background: #14171d;
  border: 1px solid #262b35;
  border-radius: 16px;
  box-shadow: 0 18px 48px -12px rgba(0, 0, 0, .7);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-icon { flex-shrink: 0; color: #98a0ae; }
.cookie-banner-icon svg { width: 34px; height: 34px; }
.cookie-banner-title { margin: 2px 0 8px; font-size: 17px; line-height: 1.3; font-weight: 700; color: #e7ebf3; }
.cookie-banner-text { margin: 0 0 16px; font-size: 14px; line-height: 1.55; color: #98a0ae; }
.cookie-banner-text a { color: #9b91ea; text-decoration: none; font-weight: 600; }
.cookie-banner-text a:hover { text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-btn {
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: filter .15s, background .15s, border-color .15s;
}
.cookie-btn-allow { background: #6355cc; color: #ffffff; }
.cookie-btn-allow:hover { filter: brightness(1.08); }
.cookie-btn-decline { background: rgba(123, 111, 224, .14); color: #a99fee; }
.cookie-btn-decline:hover { background: rgba(123, 111, 224, .22); }
.cookie-btn:focus-visible,
.cookie-banner-text a:focus-visible { outline: 2px solid #7b6fe0; outline-offset: 2px; }

@media (max-width: 480px) {
  .cookie-banner { right: 12px; left: 12px; bottom: 12px; width: auto; }
  .cookie-btn { flex: 1 1 auto; }
}
