/*
 * Hande marketing site: cookie consent banner + preferences control.
 * Colours follow the site palette (see v3.css / homepage tokens).
 * The "Cookie preferences" footer control inherits the styling of the
 * links it sits next to, so it blends into each page's footer.
 */

.hcc {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #163d34;
  color: #f2f5ee;
  padding: 18px 0;
  box-shadow: 0 -8px 30px rgba(22, 61, 52, 0.25);
}

.hcc-box {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

.hcc[hidden] { display: none; }

.hcc-title {
  font-family: 'Manrope', 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 0 0 6px;
}

.hcc-text {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #d6e2d3;
}

.hcc-text a { color: #d5f283; text-decoration: underline; }
.hcc-text a:focus-visible { outline: 3px solid #d5f283; outline-offset: 2px; }

.hcc-current {
  margin: 0 0 12px;
  font-size: 13px;
  color: #a9bfa8;
}

.hcc-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hcc-accept,
.hcc-reject {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 650;
  padding: 11px 18px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.hcc-accept {
  background: #d5f283;
  color: #163d34;
  border: 1px solid #d5f283;
}

.hcc-accept:hover { background: #e4ffa3; transform: translateY(-1px); }

.hcc-reject {
  background: transparent;
  color: #f2f5ee;
  border: 1px solid #6d857a;
}

.hcc-reject:hover { background: #1d4a3f; }

.hcc-accept:focus-visible,
.hcc-reject:focus-visible {
  outline: 3px solid #d5f283;
  outline-offset: 2px;
}

@media (max-width: 520px) {
  .hcc { padding: 14px 0; }
  .hcc-box { padding: 0 16px; }
  .hcc-actions .hcc-accept,
  .hcc-actions .hcc-reject { width: 100%; }
}

/* Footer "Cookie preferences" control: looks like the links around it. */
.hcc-prefs {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: inherit;
  color: inherit;
  text-decoration: inherit;
  cursor: pointer;
  display: inline;
}
