/* Demo banner and notes (added for the DesyDigi portfolio; not part of the original coursework) */
.dd-demo { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 10px max(16px, env(safe-area-inset-left)); background: #F4F2EF; color: #1A1A1A; font: 500 14px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; text-align: left; }
.dd-demo a { color: #712E6F; font-weight: 600; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.dd-demo a:hover { text-decoration: underline; }
.dd-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); max-width: min(92vw, 440px); padding: 12px 18px; border-radius: 10px; background: #1A1A1A; color: #FFFFFF; font: 500 15px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 1000; }
.dd-note { max-width: 640px; margin: 48px auto; padding: 0 20px; text-align: center; }

/* give the banner its own row in the original page grid (body uses grid-template-areas) */
body { grid-template-areas: "demo" "header" "nav" "main" "footer"; grid-template-rows: auto auto auto 1fr auto; }
.dd-demo { grid-area: demo; }
.dd-toast { grid-area: auto; }
