/* Cookie consent banner — bottom-fixed card, navy + gold accent.
   Stays out of the way on mobile (single column, full-width). */

.cc-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  max-width: 920px;
  margin: 0 auto;
  background: #ffffff;
  color: #0f2f4f;
  border: 1px solid rgba(15,47,79,0.08);
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(15,47,79,0.20);
  padding: 18px 22px;
  z-index: 10000;
  font-size: 14px;
  line-height: 1.5;
  animation: cc-slide-up .3s ease;
}
@keyframes cc-slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cc-banner__inner {
  display: flex; align-items: center; gap: 24px;
  flex-wrap: wrap;
}
.cc-banner__text { flex: 1 1 320px; min-width: 0; }
.cc-banner__text strong { display: block; font-size: 15px; margin-bottom: 4px; }
.cc-banner__text p { margin: 0; color: #4a5d75; font-size: 13.5px; }
.cc-banner__text a { color: #c9952a; text-decoration: underline; }
.cc-banner__actions {
  display: flex; gap: 8px; flex-wrap: wrap;
  flex-shrink: 0;
}

.cc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
  font-family: inherit;
}
.cc-btn--primary {
  background: linear-gradient(180deg, #e8c980, #d5a953);
  color: #0f2f4f;
}
.cc-btn--primary:hover { transform: translateY(-1px); }
.cc-btn--ghost {
  background: transparent;
  color: #0f2f4f;
  border-color: rgba(15,47,79,0.15);
}
.cc-btn--ghost:hover { background: rgba(15,47,79,0.04); }

.cc-settings {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(15,47,79,0.08);
}
.cc-settings__row { padding: 10px 0; }
.cc-settings__row label {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  row-gap: 2px;
  align-items: start;
  cursor: pointer;
}
.cc-settings__row label > input { margin-top: 4px; }
.cc-settings__row label > strong {
  font-size: 14px;
  color: #0f2f4f;
}
.cc-settings__row label > span {
  grid-column: 2;
  font-size: 12.5px; color: #6c7a8c; line-height: 1.4;
}
.cc-settings__footer {
  margin-top: 12px; text-align: right;
}

/* Placeholder shown in place of blocked iframes until consent given. */
.cc-blocked {
  background: linear-gradient(135deg, #f5f1e8, #ece5d3);
  border: 1px dashed rgba(201, 149, 42, 0.5);
  border-radius: 12px;
  padding: 28px 22px;
  text-align: center;
  color: #4a5d75;
  font-size: 14px;
}
.cc-blocked button {
  margin-top: 12px;
  background: linear-gradient(180deg, #e8c980, #d5a953);
  border: 0; color: #0f2f4f;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
}

@media (max-width: 640px) {
  .cc-banner {
    left: 12px; right: 12px; bottom: 12px;
    padding: 16px 18px;
  }
  .cc-banner__actions { width: 100%; }
  .cc-btn { flex: 1 1 auto; }
}
