:root {
  --bg-color: #f5f0e6;
  --primary-green: #2d4a2e;
  --secondary-green: #9eb25e;
  --accent-red: #a3442c;
  --text-color: #2b2b2b;
  --font-main: 'Inter', 'Segoe UI', sans-serif;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a,
a:visited,
a:hover,
a:focus,
a:active {
  color: #1a73e8 !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color: var(--accent-red) !important;
  outline: none !important;
}


/* Header */
header {
  background-color: white;
  text-align: center;
  padding: 2rem 1rem 1rem;
  border-bottom: 1px solid #ddd;
}

header img {
  height: 128px;
  margin-bottom: 0.3rem;
}

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

header .slogan {
  color: var(--accent-red);
  font-size: 1.2rem;
  font-weight: 600;
  font-style: italic;
}

/* Navigation menu */
.main-menu {
  list-style: none;
  margin: 1rem auto 0 auto;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.main-menu li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s;
}

.main-menu li a:hover,
.main-menu li a:focus {
  color: #007BFF;
  outline: none;
}

.main-menu li a[aria-current="page"] {
  color: #0056b3;
  font-weight: 700;
}

/* Main content */
main {
  flex: 1;
  max-width: 700px;
  margin: 2rem auto;
  padding: 0 1rem;
  color: var(--primary-green);
  font-size: 1.1rem;
}

main h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

main p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

#page ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 10px 0;
}

#page ul li {
    margin-bottom: 6px;
    line-height: 1.5;
}

#page h2,
#page h3 {
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    line-height: 1.3;
}

.post-date, time {
  display: block;
  color: #666;
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.latest-posts ul {
  list-style: none;       /* remove bullets */
  padding-left: 0;        /* remove default padding */
  margin-top: 1rem;
}

.latest-posts li {
  margin-bottom: 1.2rem; /* space between posts */
}

.latest-posts li a {
  font-weight: 600;
  color: var(--primary-green);
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.latest-posts li a:hover {
  color: var(--accent-red);
  text-decoration: underline; /* subtle hover effect */
}

.latest-posts li span.post-date,
.latest-posts li time.post-date {
  display: block;
  color: #666;
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 0.2rem;
}

/* Footer */
footer {
  background-color: white;
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
  color: #666;
  border-top: 1px solid #ddd;
  margin-top: auto;
}

