/* Basic reset and variables */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #228B22;
  --text: #333;
  --bg: #f4f4f4;
}

/* Basic styling */
body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}


/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo img {
  max-height: 100px;
  width: auto;
  margin-left: 1rem;
}


nav ul {
  display: flex;
  list-style: none;
  margin-right: 1rem;
}

nav li {
  margin-left: 0.5rem;
}

nav a {
  display: inline-block;
  color: var(--primary);
  text-decoration: none;
  padding: 0.5rem 1rem;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
}

nav a:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Main content */
main {
  padding: 2rem 0;
}

main .container {
  max-width: 800px;
}

h1 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

article {
  font-size: 1.1rem;
}

article h2, article h3 {
  color: var(--primary);
  margin: 1.5rem 0 1rem;
}

article p {
 margin-inline-start: 0rem;
}

article img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
}

article a {
  color: var(--primary);
  text-decoration: none;
}

article a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: #333;
  color: white;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.9rem;
}

/* Basic styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
}

/* Container styles */
.main-content-container {
  width: 100%;
  padding: 2rem 0;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.title-wrapper {
  padding: 0;
  margin: 0;
}

/* Header styles */
.main-navigation {
  width: 100%;
  padding: 1rem 0;
  position: relative;
  z-index: 100;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Logo styles */
.logo-image {
  max-height: 180px;
  width: auto;
  display: block;
}

/* Navigation styles */
.nav-links {
  display: flex;
  flex-direction: row;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: flex-end;
}

.nav-item {
  margin: 0 5px;
  display: inline-block;
}

.nav-link {
  display: inline-block;
  padding: 8px 16px;
  background-color: rgba(255, 255, 255, 0.9);
  color: #228B22;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background-color: #228B22;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Title styles */
.main-title {
  font-size: 2.5rem;
  color: #228B22;
  margin-bottom: 2rem;
  margin-top: 2rem;
  text-align: left;
  font-weight: bold;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* Content styles */
.content-body {
  font-size: 1.1rem;
  line-height: 1.7;
}

.content-body h1,
.content-body h2,
.content-body h3,
.content-body h4,
.content-body h5,
.content-body h6 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  color: #228B22;
}

.content-body a {
  color: #228B22;
  text-decoration: none;
}

.content-body a:hover {
  text-decoration: underline;
}

.content-body ul,
.content-body ol {
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

.content-body blockquote {
  border-left: 4px solid #228B22;
  padding-left: 1rem;
  font-style: italic;
  margin-left: 0;
  color: #555;
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Override any Ananke theme styles that might interfere */
/* .center.cf,
.mw7,
.mw8,
article,
.nested-copy-line-height,
.page-header,
.f1,
.header-content {
  max-width: 800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
} */

/*
  Navbar Styling for Ananke Theme
*/

/* 1. Ensure the main header bar is full-width with a white background.
      Ananke's <header class="bg-white ..."> usually handles the white background.
      These rules ensure it's truly end-to-end and override potential constraints. */
      header.bg-white { /* Targets Ananke's default header class */
        background-color: white !important; /* Explicitly set/ensure white background */
        width: 100%;                      /* Span the full viewport width */
        max-width: none !important;         /* Override any theme-imposed max-width */
        box-sizing: border-box;           /* Consistent box model for width/padding */
        margin-left: 0 !important;        /* Remove horizontal margins if theme centers the header block */
        margin-right: 0 !important;
        /* Ananke's 'pv4' class on header adds vertical padding.
           If you need specific horizontal padding for content *inside* the header,
           you can add it here, e.g., padding-left: 1rem; padding-right: 1rem;
           However, Ananke's internal structure (logo/nav divs) often manages this.
        */
    }
    
    /* Add other custom rules below */
    /* 2. Style the <nav> element for centered and wrapping navigation buttons.
          This targets the <nav> element within Ananke's header. */
    nav.bg-white {
        background-color: white;
        display: flex;           /* Enable flexbox layout */
        justify-content: center; /* Center nav items horizontally */
        align-items: center;     /* Vertically align items (useful if they have different heights) */
        flex-wrap: wrap;         /* Allow items to wrap to new lines on smaller screens */
        width: auto;             /* Make nav take full width of its container (e.g., Ananke's .w-67-ns div) */
        text-align: center !important; /* Override Tachyons text-alignment (like tr-ns) if it conflicts */
        padding-top: 0.5rem;     /* Adjust vertical padding for the nav area as needed */
        padding-bottom: 0.5rem;
        gap: 0.5rem 1rem;        /* Spacing between nav items: 0.5rem vertical, 1rem horizontal.
                                    This is often cleaner than margins on individual items for flex children. */
    }
    
