/* The Kiwi Dialectic - Cooperative Aotearoa Course - Black & White */

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Georgia', serif;
  background: #ffffff;
  color: #111111;
  line-height: 1.7;
}

header {
  background: #111111;
  color: #ffffff;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 4px solid #ffffff;
}

header .logo a {
  color: #ffffff;
  text-decoration: none;
  font-family: 'Arial Black', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

header nav {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

header nav a {
  color: #ffffff;
  text-decoration: none;
  font-family: sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

header nav a:hover { border-color: #ffffff; }

main { max-width: 900px; margin: 0 auto; padding: 2rem 1.5rem; }

.hero {
  border: 3px solid #111111;
  padding: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
}

.hero h1 {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 0.5rem;
  color: #333;
}

.hero h2 {
  font-family: 'Arial Black', sans-serif;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.hero .subtitle {
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto 2rem;
  color: #444;
}

.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary, .btn-secondary, .btn-subscribe {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-family: sans-serif;
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.btn-primary {
  background: #111111;
  color: #ffffff;
  border: 2px solid #111111;
}

.btn-primary:hover { background: #444; }

.btn-secondary {
  background: #ffffff;
  color: #111111;
  border: 2px solid #111111;
}

.btn-secondary:hover { background: #f0f0f0; }

.btn-subscribe {
  background: #111111;
  color: #ffffff;
  border: 2px solid #111111;
  font-size: 1rem;
  margin-top: 1rem;
}

.btn-subscribe:hover { background: #444; }

.modules-grid h3, .about h3, .subscribe h3 {
  font-family: 'Arial Black', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  border-bottom: 3px solid #111;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.card {
  display: block;
  border: 2px solid #111111;
  padding: 1.5rem;
  text-decoration: none;
  color: #111111;
  transition: background 0.2s;
}

.card:hover { background: #f5f5f5; }

.card .num {
  display: block;
  font-family: 'Arial Black', sans-serif;
  font-size: 2rem;
  color: #cccccc;
  margin-bottom: 0.5rem;
}

.card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.card p { font-size: 0.85rem; color: #555; }

.about, .subscribe {
  margin-bottom: 3rem;
  padding: 2rem;
  border-left: 5px solid #111;
}

.about p, .subscribe p { margin-bottom: 1rem; }

a { color: #111; }

/* Module pages */
.module-header {
  background: #111;
  color: #fff;
  padding: 2rem;
  margin-bottom: 2rem;
}

.module-header .module-num {
  font-family: 'Arial Black', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.module-header h1 {
  font-size: 1.8rem;
  font-family: 'Arial Black', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.module-header h2 {
  font-style: italic;
  font-size: 1.1rem;
  opacity: 0.85;
  margin-top: 0.3rem;
}

.freire-box {
  background: #f5f5f5;
  border-left: 5px solid #111;
  padding: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
}

.freire-box cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-size: 0.85rem;
  color: #555;
}

.section-block { margin: 2rem 0; }

.section-block h3 {
  font-family: 'Arial Black', sans-serif;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  border-bottom: 2px solid #111;
  padding-bottom: 0.3rem;
  margin-bottom: 1rem;
}

.section-block p { margin-bottom: 1rem; }

.section-block ul, .section-block ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.section-block li { margin-bottom: 0.4rem; }

.praxis-box {
  border: 3px solid #111;
  padding: 1.5rem;
  margin: 2rem 0;
}

.praxis-box h4 {
  font-family: 'Arial Black', sans-serif;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.sources { margin-top: 3rem; border-top: 2px solid #111; padding-top: 1.5rem; }

.sources h4 {
  font-family: sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.sources ul { margin-left: 1.5rem; }

.sources li { font-size: 0.85rem; margin-bottom: 0.5rem; }

.sources a { color: #111; }

.module-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 2px solid #111;
  flex-wrap: wrap;
  gap: 1rem;
}

.module-nav a {
  color: #111;
  text-decoration: none;
  font-family: sans-serif;
  font-size: 0.85rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 2px solid #111;
  padding: 0.5rem 1rem;
}

.module-nav a:hover { background: #111; color: #fff; }

footer {
  background: #111;
  color: #ccc;
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
  margin-top: 4rem;
}

footer a { color: #fff; }

.bilingual { color: #555; font-style: italic; font-size: 0.95em; }

@media (max-width: 600px) {
  .hero h2 { font-size: 1.4rem; }
  main { padding: 1rem; }
  .module-header { padding: 1.5rem 1rem; }
}
