/* =========================
   SCYTHE SCHOOL — MAIN CSS
   (Fixed bullets + .checks lists)
   ========================= */

:root {
  --color-red: #d32f2f;
  --color-yellow: #fbc02d;
  --color-black: #000000;
  --color-white: #ffffff;
  --font-main: 'Montserrat', sans-serif;
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--color-white);
  color: var(--color-black);
  font-family: var(--font-main);
  text-align: left; /* IMPORTANT: don't center the whole document */
}

/* Explicit centering (instead of global body centering) */
header,
nav,
h1,
.lead,
footer {
  text-align: center;
}

/* =========================
   HEADER + NAV
   ========================= */

header {
  background: var(--color-black);
  padding: 20px 0;
}

/* If your nav uses ul/li anywhere, remove bullets ONLY in the nav */
header nav ul,
header nav ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

header nav li {
  margin: 0;
  padding: 0;
}

nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  align-items: center;
  padding: 0 16px;
}

nav a {
  color: var(--color-white);
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
}

nav a:hover {
  color: var(--color-yellow);
}

/* =========================
   MAIN CONTENT
   ========================= */

main {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

/* Typography */
h1 {
  color: var(--color-yellow);
  font-size: 3rem;
  margin: 0 0 20px;
}

h2 {
  color: var(--color-red);
  font-size: 1.8rem;
  margin: 40px 0 0;
}

/* Paragraphs */
p {
  font-size: 1.2rem;
  line-height: 1.85;
  margin: 18px auto;
  text-align: left;
}

.lead {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

blockquote {
  font-style: italic;
  margin: 40px auto;
  max-width: 700px;
  font-size: 1.15rem;
  text-align: left;
  padding-left: 16px;
  border-left: 4px solid rgba(0,0,0,0.15);
}

/* CTA Buttons */
.cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  background: var(--color-red);
  color: var(--color-white);
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.15s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

/* =========================
   BLOG LISTS (BASE)
   ========================= */

main ul,
main ol {
  list-style-position: outside;
  padding-left: 1.6rem;
  margin: 1rem 0;
  text-align: left;
}

main ul { list-style-type: disc; }
main ol { list-style-type: decimal; }

main li {
  display: list-item;
  margin: 0.35rem 0;
  line-height: 1.75;
}

main ul ul { list-style-type: circle; margin-top: 0.5rem; }
main ul ul ul { list-style-type: square; }

/* =========================
   IMPORTANT: .checks LISTS
   Your pages use <ul class="checks"> ... </ul>
   So we must force bullets back specifically for that class.
   ========================= */

ul.checks,
ol.checks {
  list-style-position: outside !important;
  padding-left: 1.6rem !important;
  margin: 1rem 0 !important;
  text-align: left !important;
}

ul.checks { list-style-type: disc !important; }
ol.checks { list-style-type: decimal !important; }

.checks > li {
  display: list-item !important;
  margin: 0.35rem 0 !important;
  line-height: 1.75 !important;
}

/* =========================
   EMERGENCY OVERRIDE (LAST)
   If any other stylesheet sets ul { list-style: none; }
   this restores bullets site-wide without affecting nav.
   ========================= */

main ul, main ol, main li,
ul, ol, li {
  /* Restore proper list behavior even if a theme reset is fighting you */
  list-style: revert !important;
}

header nav ul,
header nav ol {
  /* Keep nav clean */
  list-style: none !important;
}

/* =========================
   FOOTER
   ========================= */

footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: 20px;
  margin-top: 50px;
  font-size: 0.95rem;
}

footer a {
  color: var(--color-yellow);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
