
/* Global settings */
body {
  font-family: 'Georgia', serif;
  background-color: #fdfdfb;
  color: #333;
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

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

header h1 {
  margin: 0;
  font-size: 2.2rem;
  color: #2f5d3b;
}

.header-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.site-icon {
  height: 192px;
  width: 192px;
}

@media (max-width: 600px) {
  .site-icon {
    height: 96px;
    width: 96px;
  }
}

/* Navigation */
nav {
  margin-top: 1rem;
}

nav a {
  margin: 0 1rem;
  text-decoration: none;
  color: #2f5d3b;
  font-weight: 500;
}

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

/* Main content layout */
main {
  max-width: 700px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Hero section */
.hero {
  padding: 3rem 1rem 0 1rem;
  background-color: #fafafa;
}

.hero .container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  border-bottom: 1px solid #ddd;
  padding-bottom: 3rem;
}

.hero-title {
  font-size: 2rem;
  font-weight: 600;
  color: #2f5d3b;
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: #2f5d3b;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #3b773f;
}

/* About section */
.about {
  max-width: 700px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.about h2 {
  font-size: 1.6rem;
  color: #2f5d3b;
  margin-bottom: 0.5rem;
}

.about p {
  color: #444;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Articles */
article {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #ddd;
}

.blog-post {
  display: flex;
  align-items: flex-start;
}

.blog-post-thumbnail {
  width: 150px;
  height: auto;
  margin-right: 1em;
  border-radius: 8px;
  flex-shrink: 0;
}

.blog-post-content {
  flex: 1;
}

article h2 {
  color: #2f5d3b;
  margin-top: 0;
  font-size: 1.5rem;
}

article h2 a {
  color: inherit;
  text-decoration: none;
}

article h2 a:hover {
  text-decoration: underline;
  color: #3b773f;
}

article h3 {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  color: #2f5d3b;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-weight: normal;
}

article h3 a {
  color: inherit;
  text-decoration: none;
}

article h3 a:hover {
  text-decoration: underline;
  color: #3b773f;
}

article p {
  margin-bottom: 0.5rem;
}

article ul {
  padding-left: 1.2em;
  margin-bottom: 1em;
}

article ul li {
  margin-bottom: 0.4em;
}

blockquote {
  font-style: italic;
  color: #666;
  border-left: 4px solid #cce4c9;
  padding-left: 1em;
  margin: 1em 0;
}

.post-thumbnail {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1em;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #888;
  border-top: 1px solid #eee;
}

footer a {
  color: inherit;
  text-decoration: underline;
}

/* Language switcher */
.lang-switcher {
  float: right;
  font-size: 0.9em;
  margin-top: -2em;
}

.lang-switcher a {
  margin-left: 1em;
  text-decoration: none;
  color: #2a7a2a;
  font-weight: bold;
  cursor: pointer;
}

/* Language display handling */
[data-lang] {
  display: none;
}

[data-lang].active {
  display: block;
}

/* Responsive layout */
@media (max-width: 600px) {
  header h1 {
    font-size: 1.6rem;
  }

  nav a {
    display: block;
    margin: 0.5rem 0;
  }

  .lang-switcher {
    float: none;
    margin-top: 1rem;
    text-align: center;
  }

  .blog-post {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .blog-post-thumbnail {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 1em auto;
  }

  .blog-post-content {
    text-align: left;
  }
}
