/* EXAMBOARD — base layout. Palette matches the Sarkari-style reference. */
:root {
  --red: #C90018;
  --navy: #142D52;
  --blue: #064B91;
  --green: #087A42;
  --orange: #D66A00;
  --bg: #FFFFFF;
  --light: #F7F7F7;
  --text: #111111;
  --line: #c9c9c9;
  --muted: #444444;
  --link: #064B91;
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--light);
  color: var(--text);
  font: 14px/1.45 Arial, Helvetica, sans-serif;
}

img { max-width: 100%; height: auto; }

a { color: var(--link); }
a:hover { color: var(--red); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 8px;
  top: -48px;
  background: #fff;
  color: #111;
  padding: 8px 12px;
  z-index: 30;
  font-weight: bold;
}

.skip:focus { top: 8px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  background: var(--bg);
  min-height: 100vh;
  box-shadow: 0 0 8px #0002;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topline {
  background: #202020;
  color: #fff;
  padding: 6px 15px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.masthead {
  text-align: center;
  padding: 13px 12px 10px;
  border-bottom: 1px solid #ddd;
}

.logo {
  font-size: clamp(28px, 5vw, 43px);
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--red);
  line-height: 1.1;
}

.logo span { color: #172f55; }

.tagline {
  font-size: 13px;
  font-weight: bold;
  margin: 5px 0 0;
  color: #222;
}

.subtag {
  font-size: 11px;
  color: #555;
  margin: 4px 0 0;
}

.demo-flag {
  display: inline-block;
  margin: 8px 0 0;
  padding: 3px 8px;
  background: #fff4f4;
  border: 1px solid var(--red);
  color: var(--red);
  font-size: 12px;
  font-weight: bold;
}

.nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background: var(--navy);
  border-top: 3px solid var(--red);
}

.nav a {
  color: #fff;
  text-decoration: none;
  padding: 12px 14px;
  font-weight: bold;
  font-size: 13px;
  border-right: 1px solid #ffffff25;
}

.nav a:hover,
.nav a.active {
  background: var(--red);
  color: #fff;
}

.menu-toggle { display: none; }

.hero-title { text-align: center; padding: 8px 10px 4px; }

.hero-title h1,
.page-head h1,
.detail h1 {
  font-size: 21px;
  color: var(--red);
  margin: 4px 0;
  font-weight: 800;
  line-height: 1.25;
}

.hero-title p,
.lede {
  font-size: 13px;
  margin: 4px 0 0;
  color: #222;
  line-height: 1.5;
}

.page-head { padding: 2px 12px 8px; }

.crumbs { font-size: 12px; padding: 10px 12px 0; }

.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 0;
  padding: 0;
}

.crumbs li:not(:last-child)::after {
  content: "›";
  margin: 0 6px;
  color: #555;
}

main { display: block; }

.disclaimer {
  margin: 0 12px 12px;
  border: 1px solid #aaa;
  background: #fffdf0;
  padding: 12px;
  font-size: 12px;
  line-height: 1.5;
}

.disclaimer b,
.demo-banner b { color: var(--red); }

.demo-banner {
  margin: 0 12px 12px;
  border: 1px solid #e2c48a;
  background: #fffdf0;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.45;
}

.footer {
  background: #202020;
  color: #eee;
  text-align: center;
  padding: 18px 12px;
  font-size: 12px;
}

.footer a { color: #fff; margin: 0 7px; display: inline-block; padding: 4px 0; }
.footer .footlogo { font-size: 21px; font-weight: bold; color: #fff; margin-bottom: 7px; }
.footer p { margin: 7px 0; color: #ddd; }

.prose { padding: 0 12px 8px; font-size: 14px; line-height: 1.6; }
.prose h2 { color: var(--navy); font-size: 18px; margin: 18px 0 6px; }
.prose h3 { color: var(--navy); font-size: 16px; margin: 14px 0 4px; }
.prose ul, .prose ol { padding-left: 20px; }
.prose li { margin: 4px 0; }

.about-brand {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 8px 0 12px;
}

.about-brand img { width: 72px; height: 72px; flex: 0 0 auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
