/* style-40mini-1.css */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

:root {
  --header-bg-color: #e0f8e0; /* sampled from logomark background */
  --hero-bg-color: #d6f2d6;
  --teaser-bg-color: #f7fcf7;
  --font-primary: 'Roboto', sans-serif;
  --link-color: #2a7f62;
  --link-hover: #1f5e46;
  --nav-bg: #f1f9f1;
  --nav-link-color: #333;
  --nav-link-hover: #2a7f62;
  --list-marker: '✔';
  --btn-bg: #2a7f62;
  --btn-color: #fff;
  --btn-hover-bg: #1f5e46;
}

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

/* Base typography */
body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: #333;
  background: #fff;
}

/* Header & Top Menu */
.site-header {
  background-color: var(--header-bg-color);
  padding: 1rem;
  text-align: center;
}

.site-header .logomark {
  max-width: 200px;
  height: auto;
  display: block;
  margin: 0 auto 0.5rem;
}

.top-menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.top-menu a {
  text-decoration: none;
  color: var(--link-color);
  font-weight: 700;
}

.top-menu a:hover {
  color: var(--link-hover);
}

/* Hero Section */
.hero {
  background-color: var(--hero-bg-color);
  padding: 4rem 1rem;
  text-align: center;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.hero-content .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--btn-bg);
  color: var(--btn-color);
  text-decoration: none;
  font-weight: 700;
  border-radius: 0.5rem;
}

.hero-content .btn:hover {
  background-color: var(--btn-hover-bg);
}

/* Layout */
.layout {
  display: flex;
  min-height: calc(100vh - 260px); /* adjust for header, hero, footer */
}

/* Side Navigation */
.side-nav {
  width: 200px;
  background: var(--nav-bg);
  padding: 1rem;
}

.side-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.side-nav a {
  text-decoration: none;
  color: var(--nav-link-color);
}

.side-nav a:hover {
  color: var(--nav-link-hover);
  font-weight: 600;
}

/* Main Content */
.content {
  flex: 1;
  padding: 2rem;
}

.content h1,
.content h2 {
  margin-bottom: 1rem;
}

/* Styled Links */
.content a {
  color: var(--link-color);
  text-decoration: underline;
}

.content a:hover {
  color: var(--link-hover);
  text-decoration: none;
}

/* Styled Lists */
.styled-list {
  list-style: none;
  margin-left: 1rem;
}

.styled-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.styled-list li::before {
  content: var(--list-marker);
  position: absolute;
  left: 0;
  color: var(--link-color);
}

/* Blog Teaser */
.blog-teaser {
  background-color: var(--teaser-bg-color);
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 0.5rem;
}

.blog-teaser h2 {
  margin-bottom: 1rem;
}

.teasers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.teaser {
  padding: 1rem;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.teaser h3 {
  margin-bottom: 0.5rem;
}

.teaser p {
  margin-bottom: 0.75rem;
}

.teaser a {
  color: var(--link-color);
  font-weight: 700;
  text-decoration: none;
}

.teaser a:hover {
  color: var(--link-hover);
}

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