/* Consent bar. Deliberately quiet: it is a question, not a campaign.
   Colours, font and rounding come from the theme's own values so it reads as
   part of the site rather than a bolted-on widget. */
.ttc-consent {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: #fff;
  border-top: 1px solid #d3d3d3;
  box-shadow: 0 -0.4rem 1.6rem rgba(0, 0, 0, .10);
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               Roboto, sans-serif;
  color: #1a2428;
  animation: ttc-consent-in .28s ease-out;
}
.ttc-consent[hidden] { display: none; }

@keyframes ttc-consent-in {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .ttc-consent { animation: none; }
}

.ttc-consent__in {
  max-width: 120rem;
  margin: 0 auto;
  padding: 1.6rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.ttc-consent__text {
  margin: 0;
  font-size: 1.4rem;
  line-height: 2rem;
  font-weight: 400;
}
.ttc-consent__text a { color: #d9620f; text-decoration: underline; }
.ttc-consent__buttons {
  margin-left: auto;
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}
.ttc-consent__btn {
  padding: 1rem 2.4rem;
  border: 0;
  border-radius: 1.7rem;
  background: #fd7d23;
  color: #fff;
  font-family: inherit;
  font-size: 1.4rem;
  line-height: 1.8rem;
  font-weight: 700;
  letter-spacing: -.02em;
  cursor: pointer;
  transition: background .3s ease;
}
.ttc-consent__btn:hover { background: #d9620f; }
.ttc-consent__btn--ghost {
  background: #f8f8f8;
  color: #1a2428;
  box-shadow: 0 0 0 1px #d3d3d3 inset;
  font-weight: 500;
}
.ttc-consent__btn--ghost:hover { background: #e5e5e5; }
.ttc-consent__btn:focus-visible {
  outline: 2px solid #1a2428;
  outline-offset: 2px;
}

/* On a phone the buttons go full width and sit under the text — a bar that
   eats the screen is worse than the question it asks. */
@media (max-width: 700px) {
  .ttc-consent__in {
    flex-direction: column;
    align-items: stretch;
    gap: 1.2rem;
    padding: 1.4rem 1.6rem calc(1.4rem + env(safe-area-inset-bottom));
  }
  .ttc-consent__text { font-size: 1.3rem; line-height: 1.9rem; }
  .ttc-consent__buttons { margin-left: 0; }
  .ttc-consent__btn { flex: 1; padding: 1.2rem 1rem; }
}
