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

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

/* Theme variables */
:root {
  --header-bg-color: #308340;
  --link-color: #1a7f3a;
  --link-hover-color: #145c2a;
  --side-bg-color: #eef6ee;
  --list-bullet-color: #308340;
  --hero-bg-color: #f0faf4;
  --btn-bg-color: #308340;
  --btn-text-color: #fff;
  --blog-bg-color: #f9f9f9;
}

/* Reset & globals */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  font-family: 'Lato', sans-serif;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
}

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

header .logo {
  max-width: 150px;
  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 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: white;
  text-decoration: none;
}

.top-menu a:hover {
  text-decoration: underline;
}

/* Layout */
.layout {
  display: flex;
  flex: 1;
}

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

.side-nav ul {
  list-style: none;
}

.side-nav li + li {
  margin-top: 0.5rem;
}

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

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

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

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

.hero-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

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

.btn-primary:hover {
  opacity: 0.9;
}

/* Intro & Resources */
.intro h2,
.resources h2,
.blog-teaser h2 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1rem;
}

.intro p,
.resources p {
  margin-bottom: 1.5rem;
}

/* Styled Lists */
.styled-list {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.styled-list li {
  margin-bottom: 0.5rem;
}

.styled-list li::marker {
  color: var(--list-bullet-color);
}

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

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

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

.teaser-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

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

.teaser-item h3 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 0.75rem;
}

.teaser-item p {
  font-size: 0.95rem;
  color: #555;
}

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

.teaser-item a:hover {
  color: var(--link-hover-color);
  text-decoration: underline;
}
