/* TRJD consent banner - self-hosted, no framework
   Loaded sitewide via <link>. Mounts a fixed bar at the bottom of the
   viewport the first time a visitor lands. Hidden once a choice is stored. */

.trjd-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
  padding: 1rem 1.25rem;
  background: #050505;
  color: #f5f5f5;
  border-top: 1px solid #1DBED8;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1.45;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.35);
}

.trjd-consent.is-open { display: block; }

.trjd-consent__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.trjd-consent__text {
  flex: 1 1 320px;
  min-width: 0;
}

.trjd-consent__text p { margin: 0; }

.trjd-consent__text a {
  color: #1DBED8;
  text-decoration: underline;
}

.trjd-consent__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.trjd-consent__btn {
  appearance: none;
  border: 1px solid #1DBED8;
  background: transparent;
  color: #f5f5f5;
  padding: 0.55rem 1.1rem;
  border-radius: 4px;
  font: inherit;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.trjd-consent__btn:hover,
.trjd-consent__btn:focus { background: #1DBED8; color: #050505; outline: none; }

.trjd-consent__btn--primary {
  background: #1DBED8;
  color: #050505;
}

.trjd-consent__btn--primary:hover,
.trjd-consent__btn--primary:focus {
  background: #19a8bf;
  color: #050505;
}

@media (max-width: 600px) {
  .trjd-consent { font-size: 0.9rem; padding: 0.85rem 1rem; }
  .trjd-consent__inner { gap: 0.75rem; }
  .trjd-consent__actions { width: 100%; justify-content: stretch; }
  .trjd-consent__btn { flex: 1 1 auto; }
}
