/* Site footer. Dark, image-free, link-dense. */

.site-footer {
  margin-top: 120px;
  padding: 0 0 40px;
  background: var(--ink);
  color: #cfc9b9;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}

.foot-top {
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(216, 205, 184, .18);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}

/* Brand: logo on a light chip — the dark footer would swallow it bare. */
.foot-brand .brand { display: inline-flex; }
.foot-brand .brand-mark {
  display: inline-flex;
  background: var(--paper);
  border-radius: var(--r-sm);
  padding: 8px 12px;
}
.foot-brand .brand-mark img { height: 34px; width: auto; }
.foot-brand p {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.6;
  max-width: 300px;
  color: #cfc9b9;
}

.foot-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.foot-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(216, 205, 184, .22);
  display: grid;
  place-items: center;
  color: #cfc9b9;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.foot-social a:hover {
  background: var(--terra);
  border-color: var(--terra);
  color: #fff;
}

.foot-col h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #9c9889;
  margin: 6px 0 22px;
  font-weight: 500;
}
.foot-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.foot-col a {
  font-size: 14px;
  color: var(--paper);
  opacity: .85;
}
.foot-col a:hover { color: var(--terra-soft); opacity: 1; }

.foot-bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  color: #9c9889;
  text-transform: uppercase;
}
.foot-bottom .links { display: flex; gap: 30px; }
.foot-bottom a:hover { color: var(--paper); }

/* Responsive */
@media (max-width: 1100px) {
  .foot-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
  }
  .foot-brand { grid-column: span 3; }
  .foot-brand p { max-width: none; }
}

@media (max-width: 720px) {
  .site-footer {
    margin-top: 80px;
    padding: 0 0 30px;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
  }
  .foot-top { padding: 48px 0 32px; }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }
  .foot-brand { grid-column: span 2; }
  .foot-col h4 { margin: 0 0 14px; }
  .foot-col ul { gap: 9px; }
  .foot-col a { font-size: 13px; }
  .foot-bottom {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    font-size: 9.5px;
    text-align: left;
  }
  .foot-bottom .links { gap: 18px; flex-wrap: wrap; }
}

/* ---- Cookie consent banner (inc/cookie-consent.php) ---- */
.wst-cc {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 210;
  max-width: 880px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-md);
  box-shadow: 0 24px 60px -20px rgba(10, 40, 40, .5);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.wst-cc--in { opacity: 1; transform: none; pointer-events: auto; }
.wst-cc--dismissed { opacity: 0; transform: translateY(12px); pointer-events: none; }

.wst-cc__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 22px;
}
.wst-cc__text { flex: 1; min-width: 0; }
.wst-cc__title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: .65;
  margin: 0 0 4px;
}
.wst-cc__body {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--paper);
}
.wst-cc__body a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.wst-cc__body a:hover { color: var(--terra); }

.wst-cc__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.wst-cc__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 99px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.wst-cc__btn--reject {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255, 255, 255, .25);
}
.wst-cc__btn--reject:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .45);
}
.wst-cc__btn--accept {
  background: var(--paper);
  color: var(--ink);
}
.wst-cc__btn--accept:hover {
  background: var(--terra);
  color: var(--paper);
}

@media (max-width: 720px) {
  .wst-cc { left: 12px; right: 12px; bottom: 12px; }
  .wst-cc__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px 18px 18px;
  }
  .wst-cc__actions { justify-content: stretch; }
  .wst-cc__btn { flex: 1; }
}

/* ---- Cookie consent: expanded (customize) stage ---- */
.wst-cc__stage--detail .wst-cc__inner--detail {
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}
.wst-cc__cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
}
.wst-cc__cat { padding: 4px 0; }
.wst-cc__switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--paper);
}
.wst-cc__switch input { position: absolute; opacity: 0; pointer-events: none; }
.wst-cc__slider {
  position: relative;
  width: 34px;
  height: 20px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .2);
  transition: background .15s ease, border-color .15s ease;
  flex-shrink: 0;
}
.wst-cc__slider::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 14px; height: 14px;
  background: var(--paper);
  border-radius: 50%;
  transition: transform .18s ease;
}
.wst-cc__switch input:checked + .wst-cc__slider {
  background: var(--terra);
  border-color: var(--terra);
}
.wst-cc__switch input:checked + .wst-cc__slider::after {
  transform: translateX(14px);
}
.wst-cc__switch input:disabled + .wst-cc__slider {
  opacity: .55;
  cursor: not-allowed;
}
.wst-cc__switch input:disabled ~ .wst-cc__cat-name { opacity: .7; }
.wst-cc__cat-name { color: var(--paper); }
.wst-cc__req {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-left: 4px;
  font-weight: 400;
}
.wst-cc__cat-desc {
  margin: 6px 0 0 44px;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .65);
}

@media (max-width: 720px) {
  .wst-cc__cats { grid-template-columns: 1fr; gap: 10px; }
  .wst-cc__cat-desc { margin-left: 44px; }
}
