/* CLEAN RESET — restore layout before centering */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;900&family=Merriweather:wght@300;400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f6f5f2;
  color: #1c1c1c;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.2px;
}

:root {
  --forest: #1f4d2c;
  --forest-light: #2b6a3a;
  --stone: #ffffff;
  --stone-soft: #f2f1ed;
  --border: #dad8d2;
  --text-muted: #5b5b5b;
}

/* --- Sidebar (unchanged) --- */

/* HIDE BURGER ICON ON DESKTOP (removes the empty tab) */
.topnav .icon {
  display: none !important;
}
.topnav {
  width: 260px;
  background: var(--stone);
  border-right: 1px solid var(--border);
  padding: 40px 25px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
}

.topnav a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 12px 10px;
  border-radius: 6px;
  color: var(--forest);
  transition: 0.25s ease;
}

.topnav a:hover {
  background: var(--stone-soft);
  color: var(--forest-light);
}

.topnav a.active {
  background: var(--forest);
  color: white;
  font-weight: 600;
}

/* --- PAGE WRAPPER — FIXED, SAFE, WORKS --- */
.page-wrapper {
  margin-left: 260px !important; /* FIX: ensures sidebar never overlaps content */
  padding: 60px;
  min-height: 100vh;
  display: block;
  width: calc(100% - 260px); /* ensures true remaining-space layout */
  overflow-x: hidden; /* prevents wide content from sliding under sidebar */
}


/* --- ACTUAL CONTENT COLUMN CENTERING --- */
.content {
  max-width: 900px;                /* readable width */
  margin-left: auto;               /* center-left */
  margin-right: auto;              /* center-right */
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* --- Block Title Styling --- */
.content strong {
  display: block;
  font-family: 'Merriweather', serif;
  font-size: 2.4rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--forest);
  background: var(--stone);
  padding: 18px 22px;
  border-left: 10px solid var(--forest);
  letter-spacing: 1px;
}

/* --- Card Blocks --- */
.card {
  background: white;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--forest);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.5px;
}

/* --- Paragraphs --- */
.content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #2a2a2a;
}

/* --- Images --- */
.content img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
