/* the cookie bar and the notes shown in place of content that waits for consent */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000; max-height: 80vh; overflow: auto; background: var(--dark); color: #fff; border-top: 3px solid var(--accent); font-size: 15px; line-height: 1.5; }
.consent[hidden], .consent-settings[hidden] { display: none; }
.consent-inner { max-width: var(--max-width); margin: 0 auto; padding: 16px; display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; align-items: center; }
.consent-title { margin: 0 0 4px; color: #fff; font-size: 19px; }
.consent-text p { margin: 0; }
.consent-settings small { display: block; color: #bbb; font-size: 13px; }
.consent-text a, .consent-link { color: #fff; }
.consent-text a:hover, .consent-link:hover { color: var(--accent); }
.consent-actions { display: flex; gap: 10px; grid-row: span 2; }
/* agreeing and refusing look exactly the same */
.consent-button { font: 700 15px/1 "Lato", sans-serif; min-width: 140px; padding: 13px 18px; border: 2px solid var(--accent); background: var(--accent); color: #fff; cursor: pointer; }
.consent-button:hover, .consent-button:focus-visible { background: #c96505; border-color: #c96505; }
.consent-link, .consent-open { font: inherit; padding: 0; border: 0; background: none; text-decoration: underline; cursor: pointer; }
.consent-link { justify-self: start; }
.consent-settings { grid-column: 1 / -1; margin: 8px 0 0; padding: 12px 0 0; border: 0; border-top: 1px solid #555; display: grid; gap: 8px; }
.consent-settings label { display: flex; gap: 10px; align-items: baseline; }
.consent-settings .consent-button { justify-self: start; margin-top: 4px; }
.consent-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.consent-open { color: inherit; }
.consent-open:hover { color: var(--accent); }

.consent-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 200px; margin: 12px 0; padding: 20px; background: var(--bg-light); color: var(--text); text-align: center; font-size: 15px; }
.consent-ph p { margin: 0; }
.consent-ph-fill { position: absolute; inset: 0; z-index: 1; min-height: 0; margin: 0; overflow: auto; }
/* a frame that waits takes no room of its own, unless its box is what gives it its size */
iframe[data-consent][data-src] { display: none; }

@media (max-width: 720px) {
  .consent-inner { grid-template-columns: 1fr; }
  .consent-actions { grid-row: auto; }
  .consent-button { flex: 1; min-width: 0; }
}
@media print { .consent { display: none; } }
