/* Cookie consent banner — MEPSI brand palette
   Dark brown #432812 / tan #d9bfa0 / tile bg #fbf3e9 / border #b8a898 */

.cc-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #fbf3e9;
  border-top: 3px solid #432812;
  box-shadow: 0 -2px 10px rgba(67, 40, 18, 0.25);
  padding: 16px 20px;
}

.cc-banner[hidden] {
  display: none;
}

.cc-banner__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cc-banner__text {
  margin: 0;
  color: #432812;
  font-size: 14px;
  line-height: 1.5;
  flex: 1 1 420px;
}

.cc-banner__text a {
  color: #432812;
  text-decoration: underline;
}

.cc-banner__actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.cc-btn {
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid #432812;
  font-family: inherit;
  white-space: nowrap;
}

.cc-btn--primary {
  background: #432812;
  color: #fbf3e9;
}

.cc-btn--primary:hover {
  background: #5a3a1e;
}

.cc-btn--ghost {
  background: transparent;
  color: #432812;
}

.cc-btn--ghost:hover {
  background: #d9bfa0;
}

/* Small "Cookie Settings" link for the footer, to reopen the banner */
.cc-settings-link {
  cursor: pointer;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
}

@media (max-width: 870px) {
  .cc-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .cc-banner__actions {
    justify-content: stretch;
  }
  .cc-btn {
    flex: 1;
  }
}
