
/* === A3 Media Survey – Single canonical stylesheet === */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.8;
  background: #fff;
  color: #111;
}
/* Fixed vertical sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 240px;
  height: 100vh;
  background: #2b2b2b;
  color: #fff;
  overflow-y: auto;
  padding: 20px 14px 24px 14px;
  box-shadow: 2px 0 8px rgba(0,0,0,.15);
}
.brand {
  font-weight: 700;
  margin: 4px 6px 16px 6px;
  letter-spacing: .2px;
}
.nav {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
}
.nav a:hover, .nav a:focus {
  background: #3a3a3a;
  outline: none;
}
/* Main content area – ~70% width with breathing space */
.main {
  margin-left: 260px;        /* keep clear of left sidebar */
  padding: 32px 28px 64px 28px;
  max-width: 70vw;           /* ~70% of the viewport width */
}
@media (max-width: 1100px) {
  .main { max-width: calc(100vw - 300px); }
}
h1 { font-size: 28px; line-height: 1.25; margin: 0 0 18px; }
h2 { font-size: 20px; line-height: 1.35; margin: 28px 0 8px; }
h3 { font-size: 16px; line-height: 1.35; margin: 22px 0 6px; }
p  { margin: 10px 0; }
ul { padding-left: 20px; margin: 10px 0; }
img.top-image { max-width: 100%; height: auto; margin: 10px 0 24px; border-radius: 4px; }

.figure {
  margin: 8px 0 24px;
}
.figure img {
  max-width: 100%;
  height: auto;
  border: 1px solid #eee;
  border-radius: 6px;
}

/* Screenshot/Right-click overlay */
#screenshotOverlay {
  position: fixed;
  inset: 0;
  background: rgba(72,72,72,0.92);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5vw;
  z-index: 9999;
}
#screenshotOverlay.show { display: flex; }
#screenshotOverlay .message {
  font-size: clamp(22px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.3;
}
#screenshotOverlay .sub {
  margin-top: 10px;
  font-size: clamp(13px, 1.5vw, 18px);
  opacity: .9;
}

/* Small “toast” message if we also want for context menu (optional) */
#toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(0,0,0,.8);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
  z-index: 99999;
}
#toast.show { display: block; }

/* Make links within content obvious */
.main a { color: #0066cc; }
.main a:hover { text-decoration: underline; }
