/* =========================
   Base Typography & Layout
   ========================= */

body {
  margin: 0;
  padding: 0;
  background: #f4f6f8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  color: #222;
  line-height: 1.6;
  text-align: left; /* remove global centering */
}

/* Links */

a {
  color: #003366;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* =========================
   Main Container
   ========================= */

#container {
  max-width: 1000px;
  margin: 60px auto;
  padding: 40px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.inner {
  width: 100%;
  margin: 0 auto;
}

/* =========================
   Headings
   ========================= */

h1 {
  font-size: 2.2rem;
  font-weight: normal;
  text-align: center;
  margin-top: 0;
  margin-bottom: 40px;
}

h2 {
  font-size: 1.3rem;
  margin-top: 0;
  border-bottom: 2px solid #eee;
  padding-bottom: 6px;
}

h3 {
  margin-bottom: 6px;
  font-weight: normal;
}

/* =========================
   Modern Layout (Replaces Floats)
   ========================= */

/* Row wrapper for paired sections */
.row {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

/* Keep class names but remove floats */
.boxlet,
.boxletr,
.doubleboxlet,
.leftbox,
.rightbox {
  float: none;
  width: 100%;
  text-align: left;
}

/* Half-width when used inside a row */
.boxlet.half {
  flex: 1;
}

/* Optional subtle card styling */
.boxlet,
.doubleboxlet,
.leftbox,
.rightbox {
  background: #fafafa;
  padding: 25px;
  border: 1px solid #eee;
  border-radius: 4px;
}

/* Responsive stacking */
@media (max-width: 800px) {
  .row {
    flex-direction: column;
  }
}

/* =========================
   Lists
   ========================= */

ul {
  padding-left: 20px;
}

li {
  margin-bottom: 6px;
}

/* =========================
   Paper Section (Preserved)
   ========================= */

.paper {
  width: 100%;
  text-align: left;
}

.paper h1,
.paper h2,
.paper h3 {
  color: #070;
  text-align: left;
}

.paper li {
  margin: 6pt 0;
}

/* =========================
   Remove Old Styling
   ========================= */

body {
  background-image: none; /* remove old gradient image */
}

/* Remove legacy fixed widths */
.outer {
  width: 100%;
}
