/* Adams-Tech demo bar on template demos. Ours, not part of any client site,
   so it keeps the Adams-Tech colours whatever style the demo is showing. */
.atd-demo { background: #0a0b0f; color: #eef1f7; border-bottom: 1px solid #262a38; font: 500 0.9rem/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; }
.atd-demo-row, .atd-demo-tools { max-width: 1200px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; }
.atd-demo-row { justify-content: space-between; }
.atd-demo-tools { padding-top: 0; }
.atd-demo-home { display: inline-flex; align-items: center; gap: 8px; color: #eef1f7; text-decoration: none; font-weight: 700; }
.atd-demo-home:hover span, .atd-demo-home:focus-visible span { text-decoration: underline; }
.atd-demo-logo { flex: none; }
.atd-demo-tag { margin: 0; color: #aab2c5; flex: 1 1 200px; }
.atd-demo-tag b { color: #eef1f7; }
.atd-demo-cta { flex: none; text-decoration: none; font-weight: 700; color: #07121a; background: linear-gradient(120deg, #22d3ee, #a855f7); padding: 8px 16px; border-radius: 999px; }
.atd-demo-cta:hover { filter: brightness(1.07); }
.atd-demo-field { display: inline-flex; align-items: center; gap: 8px; color: #aab2c5; }
.atd-demo select, .atd-demo input[type="color"], .atd-demo-reset { font: inherit; color: #eef1f7; background: #14161f; border: 1px solid #646b85; border-radius: 8px; min-height: 36px; }
.atd-demo select { padding: 4px 8px; max-width: 62vw; }
.atd-demo input[type="color"] { width: 48px; padding: 3px; cursor: pointer; }
.atd-demo-reset { padding: 4px 14px; cursor: pointer; }
.atd-demo :focus-visible { outline: 2px solid #22d3ee; outline-offset: 2px; }
.atd-demo-msg { margin: 0; color: #aab2c5; flex: 1 1 260px; min-height: 1.4em; }
@media (max-width: 560px) {
  .atd-demo { font-size: 0.85rem; }
  .atd-demo-tag, .atd-demo-long { display: none; }
  .atd-demo-row, .atd-demo-tools { padding: 8px 14px; flex-wrap: nowrap; gap: 8px; }
  .atd-demo-tools { padding-top: 0; flex-wrap: wrap; }
  .atd-demo-cta { padding: 7px 14px; }
  .atd-demo-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .atd-demo-field:first-child { flex: 1 1 0; min-width: 0; }
  .atd-demo select { width: 100%; max-width: none; }
  .atd-demo-msg:empty { display: none; }
}
/* Photo credits under each demo: who took the stock photos, and their licences. */
.atd-credits { background: #0a0b0f; color: #aab2c5; border-top: 1px solid #262a38; font: 400 0.82rem/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; padding: 16px max(20px, env(safe-area-inset-right, 0px)) 18px max(20px, env(safe-area-inset-left, 0px)); }
.atd-credits p, .atd-credits ul { max-width: 1160px; margin: 0 auto; }
.atd-credits ul { padding: 6px 0 0 1.1em; display: grid; gap: 2px; }
.atd-credits a { color: #eef1f7; }
.atd-credits a:focus-visible { outline: 2px solid #22d3ee; outline-offset: 2px; }
