/* ========== style.css ========== */

/* Global / base */
body {
  font-family: "Linux Libertine", "Georgia", serif;
  line-height: 1.6;
  background: #ffffff;
  color: #202122;
  margin: 0;
  padding: 0;
}

a {
  color: #0645ad;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header & Navigation */
header {
  background: #f8f9fa;
  border-bottom: 1px solid #a2a9b1;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

header .logo a {
  font-size: 20px;
  font-weight: bold;
  color: #000;
  text-decoration: none;
}

.menu-toggle {
  display: block;
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
}

nav {
  display: none;
  width: 100%;
  margin-top: 10px;
  flex-direction: column;
}

nav a {
  padding: 8px 0;
  border-top: 1px solid #d1d5da;
}

nav a:first-child {
  border-top: none;
}

/* Main content area */
main {
  max-width: 900px;
  margin: 20px auto;
  padding: 0 15px;
}

h1, h2, h3 {
  color: #000;
  margin-top: 20px;
}

p {
  margin: 10px 0;
}

img, table {
  max-width: 100%;
  height: auto;
  border-collapse: collapse;
}

/* Footer */
footer {
  text-align: center;
  font-size: 14px;
  padding: 15px;
  border-top: 1px solid #a2a9b1;
  background: #f8f9fa;
  margin-top: 40px;
}

/* ========== Responsive / Breakpoints ========== */

/* Tablet and up */
@media (min-width: 600px) {
  nav {
    display: flex !important;
    flex-direction: row;
    width: auto;
    margin-top: 0;
  }

  .menu-toggle {
    display: none;
  }

  nav a {
    padding: 0;
    margin-left: 15px;
    border: none;
  }
}

/* Force footer at bottom */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* Main content expands to fill space */
main {
  flex: 1;
  max-width: 900px;
  margin: 20px auto;
  padding: 0 15px;
}

/* Footer stays at bottom */
footer {
  text-align: center;
  font-size: 14px;
  padding: 15px;
  border-top: 1px solid #a2a9b1;
  background: #f8f9fa;
}

/* Table of Contents */
#toc { background: #f7f7f7; padding: 1em; border: 1px solid #ccc; }
#toc ul { list-style-type: none; margin-left: 1em; }
#toc li { line-height: 1.5; }
#toc a { text-decoration: none; color: #2653ad; }
#toc a:hover { text-decoration: underline; }

.bottom-nav {
  margin-top: 20px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
}


#disclaimer {
  background: #fff3cd;  /* light yellow */
  border: 1px solid #ffeeba;  /* matching yellow border */
  padding: 15px 20px;
  margin-top: 20px;
  border-radius: 4px;
  font-size: 14px;
  color: #856404;  /* dark yellow/brown text */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
