/* ==========================================================================
   MCEngine shared theme — card layout add-on (vendored locally).
   Loaded after styles/main/style.css by pages built on the centered container
   card (headings, lists, warning block, footer). Uses the design tokens defined
   in styles/main/style.css.
   ========================================================================== */

/* --- Centered card page layout --- */
body {
  display: flex;
  justify-content: center;
  padding: var(--space-4);
}

/* --- Main Container --- */
.container {
  max-width: 800px;
  width: 100%;
  background: var(--color-bg);
  padding: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  height: fit-content;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* --- Headings --- */
h1 {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text);
  margin-top: 0;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 20px;
}

h2 {
  color: var(--color-accent);
  font-size: 1.2rem;
  margin-top: 30px;
  margin-bottom: 10px;
  border-left: 4px solid var(--color-silver);
  padding-left: 10px;
}

/* --- Lists --- */
ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
}

li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* --- Warning block --- */
.warning {
  margin-top: 40px;
  padding: 24px;
  border: 1px solid #eadfb8;
  background: #faf3dd;
  color: #5b4708;
  text-align: center;
  border-radius: var(--radius-card);
}

.warning-title {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.warning p {
  margin: 6px 0;
}

/* --- Footer --- */
.footer {
  text-align: center;
  margin-top: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--color-text);
}
